]> git.lyx.org Git - features.git/blob - src/ChangeLog
fix a crash on exit since nobody objected
[features.git] / src / ChangeLog
1 2003-12-01  John Levon  <levon@movementarian.org>
2
3         * BufferView_pimpl.C: fix a crash on exit with
4         a buffer open
5
6 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * BranchList.C: fix setSelected() method.
9
10 2003-11-28  André Pönitz  <poenitz@gmx.net>
11
12         * ParagraphParameters.[Ch]:
13         * ParameterStruct.h: remove space above/below from Paragraph to
14          InsetVSpace
15
16         * BufferView_pimpl.C:
17         * factory.C:
18         * lyxfunc.C:
19         * lyxtext.h:
20         * output_latex.C:
21         * paragraph.C:
22         * paragraph_funcs.C:
23         * rowpainter.[Ch]:
24         * text.C:
25         * text2.C:
26         * text3.C: adjust
27
28 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
29
30         * factory.C: Syntax change for CharStyles
31
32 2003-11-28  André Pönitz  <poenitz@gmx.net>
33
34         * BufferView.[Ch]:
35         * BufferView.[Ch]:
36         * buffer.[Ch]:
37         * buffer.[Ch]: move LyXText member
38
39 2003-11-28  André Pönitz  <poenitz@gmx.net>
40
41         * BufferView.[Ch]: make LyXText * text a private member
42
43         * BufferView_pimpl.C:
44         * cursor.C:
45         * iterators.C:
46         * lyx_cb.C:
47         * lyxfind.C:
48         * lyxtext.h:
49         * rowpainter.[Ch]:
50         * text.C:
51         * text2.C:
52         * undo.C: adjust
53
54         * output_plaintext.C: cleanup
55
56 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
57
58         * buffer.C: 
59         * lyxtextclass.[Ch]: parametrize SGML document header
60
61 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
62
63         * converter.[Ch]:
64         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
65         getFlavor().
66
67 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
68
69         * text2.C (setFont): rework using PosIterator (no more recursive)
70         (setCharFont): no more needed 
71         (setLayout): no more selection cursors fiddling (done by redoCursor)
72         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
73         destroy remaining ones)
74
75 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
76
77         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
78         * lyxtext.h: ditto
79         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
80         selection cursors
81         * lyxfunc.C: adjust
82         * text3.C: adjust + re-allow multi par depth changes
83         * textcursor.C: simplify a bit
84
85 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
86
87         * src/buffer.C:
88         * src/lyxlayout.C:
89         * src/lyxlayout.h:
90         * src/lyxtext.h:
91         * src/output_docbook.C:
92         * src/output_latex.C:
93         * src/paragraph.C:
94         * src/paragraph.h:
95         * src/sgml.C:
96         * src/sgml.h:
97         * src/text2.C: Introducing a number of tags parametrizing various
98         XML formats that we may want to support
99
100 2003-11-25  André Pönitz  <poenitz@gmx.net>
101
102         * InsetList.[Ch] (begein, end): inline as suggested by profiler
103
104         * lyxtext.h (leftMargin/rightMargin): simplify interface
105
106         * rowpainter.C:
107         * text.C:
108         * text2.C:
109         * text3.C: adjust
110
111 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
112
113         * lyxfunc.C (dispatch): propogate the bibtex databases from the
114         master file to any child files. Fixes bug 546.
115
116 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
117
118         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
119
120 2003-11-24  André Pönitz  <poenitz@gmx.net>
121
122         * rowpainter.C: simplification
123
124         * text2.C (updateCounters): remove call to redoParagraph on 
125         changed labels as this is far too expensive.
126
127 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
128
129         * converter.C (convert): fix a crash: this function gets
130         called with buffer == 0 from importer code.
131
132 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
133
134         * text3.C (cursorPrevious): make sure that we do not compare
135         iterators form different containers.
136         (cursorNext): ditto
137
138         * rowpainter.C (paintSelection): make sure that we do not compare
139         iterators from different containers.
140
141         * text3.C (dispatch): [PRIOR] make sure that we do not compare
142         iterators from different ParagraphList containers.
143         [NEXT] ditto
144
145         * text2.C (LyXText): change order of initialization slightly
146         (operator=): new function. copy all variables except cache_par_
147         (moveUp): make sure that we do not compare iterators from
148         different ParagraphList constainers.
149         (moveDown): ditto
150
151         * text.C (firstPar): new function
152         (lastPar): new function
153         (endPar): new function
154
155         * lyxtext.h: move things around and group public functions, public
156         variables, private functions, private variables
157
158 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
159
160         * factory.C: change call to InsetERT constructor to avoid
161         additional invocation of method status
162         * text2.C (toggleInset): remove redundant update() call
163         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
164         instead of a Bufferview pointer
165
166 2003-11-21  André Pönitz  <poenitz@gmx.net>
167
168         * rowpainter.C: simplification
169
170 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
171
172         * text3.C (dispatch): make possible to extend a word/row selection
173         with the mouse
174
175 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
176
177         * lyxtext.h: x0_,y0_ -> xo_,yo_
178         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
179         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
180         * rowpainter.C (paintRows): paint full paragraphs
181
182 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
183
184         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
185         screen coordinates)
186
187 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
188
189         * lyxtext.h: add x0_, y0_
190         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
191         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
192
193 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
194
195         * text2.C (setCursorIntern): move the x_target update here *
196         * text3.C: change some bv() to true/false in calls to
197         cursorUp/Down/Right/Left
198         * cursor.C: use helper function.
199
200 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
201
202         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
203         * paragraph_funcs.[Ch]: correct comment
204         * rowpainter.C: do not paint selections away from bv->cursor()
205         Fix a long standing selection painting bug.
206         * text3.C: generalize mouse-selection code to LyXTexts other that
207         top one
208         * textcursor.C: do not use y coords if we can use par offsets
209
210 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
211
212         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
213         cursor position after e.g. inset insert)
214
215 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
216
217         * lyxfind.C (replace): adjust to locking removal + some
218         code simplification
219
220 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
221
222         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
223         of the path
224
225 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
226
227         * lyxlayout.[Ch]:
228         * output_docbook.C: XML sanitation: new layout
229         parameters InnerTag and CommandDepth
230
231 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
232
233         * BufferView_pimpl.C:
234         * factory.C:
235         * text3.C: Fix the insertion and modification of button-style
236         insets
237
238 2003-11-13  André Pönitz  <poenitz@gmx.net>
239
240         * InsetList.[Ch]: remove deleteLyXText
241
242         * paragraph.[Ch]: cache beginOfBody position
243
244         * Bidi.C:
245         * text.C:
246         * text2.C:
247         * text3.C: remove superfluous update() calls
248
249         * vspace.C: cleanup
250
251 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
252
253         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
254         * BufferView.C (fitLockedInsetCursor): remove
255         * cursor.[Ch] (getDim): add
256         * text.C (getRowNearY): add faster version
257         * text3.C: remove some update calls
258
259 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
260
261         * LaTeXFeatures.C:
262         * LyXAction.C:
263         * MenuBackend.C:
264         * MenuBackend.h:
265         * dispatchresult.h:
266         * factory.C:
267         * lfuns.h:
268         * lyxfunc.C:
269         * lyxtextclass.C:
270         * lyxtextclass.h:
271         * text3.C: The Character Style /XML short element patch.
272
273 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
274
275         * text3.C:
276         * factory.C: Small step to solving 'unable to insert some insets'
277         problem
278
279 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
280
281         * cursor.[Ch] (updatePos): new function for updating the y
282         position of the tip inset
283         * bufferview_funcs.C (put_selection_at):
284         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
285
286 2003-11-11  André Pönitz  <poenitz@gmx.net>
287
288         * text.C: remove big comment on invalid Paragraph pointers as it is
289         not valid anymore
290
291 2003-11-11  André Pönitz  <poenitz@gmx.net>
292
293         * text_funcs.[Ch]: merge with ...
294
295         * text.C: ... this
296
297         * lyxtext.h:
298         * text2.C:
299         * text3.C: adjust
300
301         * Makefile.am: remove text_funcs.[Ch]
302
303 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
304
305         * cursor.C (getPos): return absolute cached y coord
306
307         * BufferView_pimpl.C (fitCursor): new simplistic code
308         (workAreaDispatch): add a fitCursor call
309
310 2003-11-10  André Pönitz  <poenitz@gmx.net>
311
312         * BufferView.[Ch]:
313         * BufferView_pimpl.[Ch]: merge update() and updateInset()
314
315 2003-11-10  André Pönitz  <poenitz@gmx.net>
316
317         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
318         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
319         indicate that the cursor needs to leave an inset
320
321         * lyxtext.h: remove inset locking
322
323         * cursor.[Ch]: re-implement functionality provided by inset locking
324
325         * BufferView.[Ch]:
326         * BufferView_pimpl.[Ch]:
327         * LyXAction.C:
328         * bufferview_funcs.[Ch]:
329         * factory.C:
330         * funcrequest.[Ch]:
331         * iterators.C:
332         * lyx_cb.C:
333         * lyxfind.C:
334         * lyxfunc.C:
335         * text.C:
336         * text2.C:
337         * text3.C:
338         * undo.C: adjust
339
340 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
341
342         * PosIterator.[Ch]: replace the stack with a vector, add inset
343         accesor
344         * iterators.[C]: adjust
345
346 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
347
348         * lyxfind.C (replaceAll): mark the buffer dirty if something was
349         replaced
350         * paragraph_funcs.C (readParToken): put the correct id in the
351         error item, not the id of the top paragraph
352
353 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
354
355         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
356         * bufferview_funcs.C (put_selection_at): use the above
357
358 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
359
360         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
361
362 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
363
364         * output_linuxdoc.h:
365         * output_plaintext.h:
366         * output.h:
367         * output_docbook.h: add #include statements
368
369 2003-11-05  José Matos  <jamatos@lyx.org>
370
371         * output_docbook.[Ch]:
372         * output_latex.[Ch]:
373         * output_linuxdoc.[Ch]:
374         * output_plaintext.[Ch]: New files for output formats.
375         * output.[Ch]: New file for helper functions.
376
377         * buffer.[Ch]:
378         * paragraph_funcs.[Ch]: output functions moved to new files.
379
380         * outputparams.h: rename of latexrunparams.h
381
382         * LaTeX.[Ch]:
383         * buffer.[Ch]:
384         * bufferlist.[Ch]:
385         * converter.[Ch]:
386         * exporter.C:
387         * paragraph.[Ch]:
388         * paragraph_funcs.[Ch]:
389         * paragraph_pimpl.[Ch]:
390         * tabular.[Ch]: rename ascii to plaintext
391         and LatexRunParams to OutputParams.
392
393 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
394
395         * iterators.[Ch] (text): require bv argument
396         * undo.C (recordUndo):
397         * lyxfunc.C (dispatch):
398         * bufferview_funcs.C (put_selection_at): adjust
399
400 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
401
402         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
403
404 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
405
406         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
407         nestings
408
409 2003-11-04  André Pönitz  <poenitz@gmx.net>
410
411         * cursor.[Ch]: restructure
412
413         * BufferView.[Ch]:
414         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
415
416         * iterators.[Ch] (asCursor): remove
417
418         * lfuns.h: remove LFUN_INSET_EDIT
419
420         * lyxfunc.C:
421         * tabular.C:
422         * text.C:
423         * text2.C:
424         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
425
426 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
427
428         * lyxfind.[Ch]: complete overhaul
429         * BufferView_pimpl.C:
430         * lyxfunc.C: adjust
431         * paragraph.[Ch] (insert): add
432
433 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
434
435         * BufferView.[Ch]:
436         * lyxtext.h:
437         * text.C: remove dead spellcheck code
438
439 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
440
441         * dispatchresult.h: add a val setter
442
443         * cursor.C (dispatch): use a tempvar for data_[i]
444
445 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
446
447         * PosIterator.[Ch]: compile fix
448
449 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
450
451         * text.C (cursorPar): deactivate the cursor cache
452
453 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
454
455         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
456
457 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
458
459         * text3.C (dispatch): adjust for new DisptchResult semantics.
460
461         * lyxfunc.C (dispatch): handle update when return from
462         Cursor::dispatch, adjust for new DispatchResult semantics.
463
464         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
465         DispatchResult(true) mean to not update. Add class functions for
466         setting dispatched and update, as well as reading.
467
468         * cursor.C (dispatch): don't handle update here
469
470 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
471
472         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
473         * trans_mgr.C: adjust
474
475         * paragraph_funcs.C (readParToken): exception safety
476
477         * lyxvc.h: store the vcs pointer in a scoped_ptr
478         * lyxvc.C: adjust
479
480         * lyxsocket.C (serverCallback): exception safety
481
482         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
483
484         * ispell.C (clone): make it return a auto_ptr
485
486         * factory.C (createInset): exception safety
487         (readInset): exception safety
488
489         * bufferlist.C (newBuffer): exception safety
490
491         * Thesaurus.C (Thesaurus): use initialization for aik_
492
493         * MenuBackend.C (expandToc): exception safety.
494
495 2003-11-03  André Pönitz  <poenitz@gmx.net>
496
497         * buffer.C:
498         * buffer.h:
499         * bufferview_funcs.C: remove getInsetFromId()
500
501         * lyxcursor.[Ch]:
502         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
503
504         * lyxfunc.C:
505         * text2.C:
506         * text3.C: adjust
507
508 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
509
510         * PosIterator.C (distance, advance): new
511         * bufferview_funcs.[Ch] (put_selection_at): new
512         * iterators.[Ch] (lockPath): new
513
514 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
515
516         * iterators.[Ch] (asPosIterator): added
517         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
518         * PosIterator.[Ch]: added
519
520 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
521
522         * text3.C:
523         * lyxfunc.C:
524         * cursor.C (dispatch):
525         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
526
527         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
528         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
529         contructor, add a class function dispatched. Remove operator>=
530
531 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
532
533         * debug.C: only use the default constructor for debugstream
534         (lyxerr) here.
535
536         * main.C (main): include debug.h and setup the lyxerr streambuf
537         here.
538
539 2003-10-31  José Matos  <jamatos@lyx.org>
540
541         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
542
543         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
544         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
545         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
546         * paragraph_pimpl.C (simpleTeXSpecialC):
547         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
548         add LatexRunParams argument.
549
550         * exporter.C (Export): change call accordingly.
551
552         * latexrunparams.h: add new member to take care of the other backends.
553 2003-10-30  José Matos  <jamatos@lyx.org>
554
555         * buffer.C (makeLinuxDocFile, makeDocBookFile):
556         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
557         factorise code for paragraph output.
558         * buffer.[Ch]:
559         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
560         move functions.
561
562 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
563
564         * text3.C (dispatch):
565         * lyxfunc.C (dispatch):
566         * cursor.C (dispatch):
567         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
568
569         * dispatchresult.h: make the dispatch_result_t ctor explicit
570
571 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
572
573         * sgml.[Ch]:
574         * buffer.C: small refactoring of docbook stuff
575
576 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
577
578         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
579         meaning.
580
581 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
582
583         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
584         operator dispatch_result_t, and operators for == != and >=
585
586         * cursor.C (dispatch): adjust for operator dispatch_result_t
587         removal. comment out call to update
588
589         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
590
591 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
592
593         * text3.C:
594         * text2.C:
595         * text.C:
596         * lyxtext.h:
597         * lyxfunc.C:
598         * cursor.C:
599         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
600         (dispatch):
601
602         * dispatchresult.h: new file, DispatchResult broken out of
603         insets/insetbase.h
604
605         * Makefile.am (lyx_SOURCES): add dispatchresult.h
606
607 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
608
609         * text.C (rowBreakPoint): put a hack inside #if 0
610
611 2003-10-28  André Pönitz  <poenitz@gmx.net>
612
613         * lyxtext.h:
614         * metricsinfo.C:
615         * paragraph_funcs.C:
616         * rowpainter.C:
617         * text.C:
618         * text2.C: general cleanup (lots of small stuff)
619
620 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
621
622         * text2.C (cursorEnd): simple fix to the "end key goes to one
623         before the end on last row" bug
624
625 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
626
627         * text.C (backspace): fix the "zombie characters"
628
629 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
630
631         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
632
633 2003-10-27  André Pönitz  <poenitz@gmx.net>
634
635         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
636
637         * factory.C: handle new InsetPagebreak, InsetLine
638
639         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
640         and move handling into new InsetPagebreak, InsetLine
641
642         * BufferView_pimpl.C:
643         * LyXAction.C:
644         * ParagraphParameters.C:
645         * ParameterStruct.h:
646         * lyxfunc.C:
647         * lyxtext.h:
648         * paragraph.C:
649         * paragraph.h:
650         * paragraph_funcs.C:
651         * paragraph_pimpl.C:
652         * rowpainter.C:
653         * text.C:
654         * text2.C:
655         * text3.C: adjust
656
657 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
658
659         * text.C:
660         * lyxrow_funcs.[Ch]:
661         * Bidi.C:
662         * paragraph.C:
663         * lyxtext.h:
664         * rowpainter.C:
665         * text2.C:
666         * text3.C: remove lastPos uses in favour of Row::endpos
667
668 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
669
670         * undo.C (performUndoOrRedo): fix two crashes by setting a
671         cursor by hand and reordering some calls. Use bv->lockInset instead
672         of inset->edit because the latter loses cursor information
673
674 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
675
676         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
677         by Martin
678         (rowBreakPoint): fix width. change point to point + 1.
679         Add a missing check.
680
681 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
682
683         * MenuBackend.C:
684         * lyxfunc.C: fix (at least partly) the problems
685         with the Nav menu and headers inside branch insets
686         reported by Kayvan
687
688 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
689
690         * paragraph.C (getChar): add strong asserts
691
692         * lyxrow_funcs.C (lastPos): remove hideous hack
693
694         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
695         (fill): adjust to that (avoid an infinite loop)
696
697 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
698
699         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
700
701 2003-10-23  André Pönitz  <poenitz@gmx.net>
702
703         * RowList_fwd.h: change list<> to vector<> to gain speed
704         after suggestion from Alfredo
705
706 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
707
708         * lyxtext.h: move the bidi stuff from here...
709         * text.C: and here
710         * text2.C: and here
711         * Bidi.[Ch]: ... to here
712
713 2003-10-23  André Pönitz  <poenitz@gmx.net>
714
715         * lyxtext.h:
716         * text.C (isLastRow, isFirstRow): new functions
717
718         * paragraph.h: new width cache member
719
720         * rowpainter.C: replace RowList::iterator with Row & where possible
721
722         * lyxfunc.C: replace several view()->text with a single call
723
724         * toc.C: fix 'unused' warning
725
726 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
727
728         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
729         when woring with stream::pos_type
730         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
731
732 2003-10-22  André Pönitz  <poenitz@gmx.net>
733
734         * lyxtext.h:
735         * text.C: use Row & instead of RowList::iterator
736
737         * lyxrow.h: rename end() to endpos()
738
739         * rowpainter.C:
740         * text.C:
741         * text2.C: adjust
742
743 2003-10-22  Angus Leeming  <leeming@lyx.org>
744
745         * buffer.[Ch] (fully_loaded): new member function, returning true
746         only when the file has been loaded fully.
747         Used to prevent the premature generation of previews and by the
748         citation inset to prevent computation of the natbib-style label.
749
750         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
751         templates are all set up.
752
753         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
754
755 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
756
757         * text.C: fixed an "oops" in the "is a bit silly"
758         bug fix
759
760 2003-10-21  André Pönitz  <poenitz@gmx.net>
761
762         * FuncStatus.[Ch]: small stuff, whitespace
763
764         * lyxfont.[Ch]: operator<<() for debug reasons
765
766         * lyxfunc.C:
767         * lyxrow_funcs.C:
768         * lyxtext.h: whitespace, spelling
769
770         * paragraph.C: naming of variables
771
772         * text.C:
773         * text2.C: small stuff
774
775
776 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
777
778         * text.C: (1) finish off the inset display() work;
779         (2) fix the "is a bit silly" bug (accessing char
780         past end of par).
781
782 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
783
784         * text.C: re-introduce display() for insets, fixing the
785         various bugs (stretch of line above, math inset
786         positioning, ...)
787
788 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
789
790         * text.C (rightMargin): remove spurious semicolon
791
792         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
793         1415)
794
795 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
796
797         * text3.C: fix one crash due to wrong cursor def
798
799 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
800
801         * vc-backend.C (scanMaster): make the regex static
802
803         * LaTeX.C (scanAuxFile): make the regexs static
804
805         * text3.C (doInsertInset, dispatch, dispatch):
806         * text2.C (cursorUp, cursorDown):
807         * text.C (selectNextWordToSpellcheck):
808         * BufferView_pimpl.C (dispatch):
809         * lyxfunc.C (dispatch):  localDispatch -> dispatch
810
811 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
812
813         * lyxsocket.C: include <cerrno>
814
815 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
816
817         * lyxfunc.C (dispatch): remove textcache stuff
818
819         * bufferlist.C (release): remove textcache stuff
820         (closeAll): ditto
821
822         * TextCache.C: delete file
823         * TextCache.h: delete file
824
825         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
826
827         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
828         delete of the bv_->text.
829         (resizeCurrentBuffer): remove texcache stuff
830         (workAreaResize): ditto
831
832 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
833
834         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
835         action.
836
837 2003-10-16  André Pönitz  <poenitz@gmx.net>
838
839         * lyxrow.[Ch]:
840         * paragraph.h:
841         * rowpainter.C:
842         * text.C:
843         * text2.C:
844         * text3.C: speed up by storing y positions per paragraph plus per-row
845         offset instead of having a 'full' y position in the row.
846
847 2003-10-15  André Pönitz  <poenitz@gmx.net>
848
849         * iterators.[Ch]:
850         * iterators.[Ch]:
851         * undo.[Ch]: make undo aware of inner insets
852
853 2003-10-14  Angus Leeming  <leeming@lyx.org>
854
855         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
856         static member functions LyX::ref() and LyX::cref.
857         (lastfiles): new accessor functions for the new lastfiles_ member var.
858         (addLyXView, views_): add a new LyXView to the list of views_.
859         (updateInset): loop over all LyXViews to call their own updateInset
860         member function, returning a pointer to the Buffer owning the inset.
861
862         * BufferView_pimpl.C (loadLyXFile):
863         * MenuBackend.C (expandLastfiles):
864         * bufferlist.C (MenuWrite, QuitLyX):
865         lastfiles is no longer a global variable.
866         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
867
868         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
869         static function. Access through LyX::cref().emergencyCleanup().
870
871 2003-10-14  André Pönitz  <poenitz@gmx.net>
872
873         * iterators.[Ch]: new direct access to innermost LyXText and Inset
874
875         * undo.[Ch]: restoring part of 'undo in insets'
876
877         * Makefile.am:
878         * undo_funcs.[Ch]: merge with undo.[Ch]
879
880         * tabular.C: small cleansing stuff
881
882 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
883
884         * paragraph_funcs.C (readParToken): report unknown insets as error
885         boxes. Use the outer paragraph as location (also for unknown
886         tokens).
887
888         * factory.C (readInset): do not abort on reading an unknown inset.
889         Eat it and return 0.
890
891 2003-10-13  Angus Leeming  <leeming@lyx.org>
892
893         * lyx_main.C (LyX): remove call to setDisplayTranslator().
894
895         * lyxrc.C: displayTranslator is now a function,
896         declared in GraphicsTypes.h.
897
898 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
899
900         * format.C: new placeholder $$a to pass the socket address.
901
902         * bufferlist.[Ch]: new function getBufferFromTmp.
903
904         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
905           files in the temporary dir.
906
907 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
908
909         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
910
911         * Makefile.am: add lyxsocket.[Ch].
912
913         * lyx_main.C (error_handler): handle SIGPIPE.
914
915 2003-10-13  André Pönitz  <poenitz@gmx.net>
916
917         * BufferView_pimpl.C:
918         * lyxtext.h:
919         * text.C:
920         * text2.C:
921         * text3.C:
922         * undo_funcs.[Ch]: use paroffset_type instead of
923           ParagraphList::iterators to prevent multiple conversion
924           (and get a more robust interface)
925
926 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
927
928         * lyxfunc.C (dispatch): RESULT -> dispatch_result
929         * lyxtext.h: ditto
930         * text3.C (dispatch): ditto
931
932 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
933
934         * LaTeX.C (handleFoundFile): move the static to smaller scope,
935         move the onlyfile, use onlyfile instead of foundfile in a couple
936         of places.
937
938         * DepTable.C (update): flush the error stream a bit more
939
940 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
941
942         * lyxserver.C (callback): adjust
943
944         * lyxfunc.C (getStatus): add a missing brace in commented code
945         (ensureBufferClean): reindent
946         (dispatch): delete version taking a string
947
948 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
949
950         * LaTeX.C (deplog): move found file handlig from here...
951         (handleFoundFile): .. to new function here.
952         (deplog): make sure to discover several files mentioned on the
953         same log line.
954
955 2003-10-10  André Pönitz  <poenitz@gmx.net>
956
957         * lyxfunc.C:
958         * lyxtext.h:
959         * tabular.C:
960         * text.C:
961         * text2.C:
962         * text3.C: fix some of the tabular crashes
963
964 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
965
966         * MenuBackend.C (binding): put debug message into Debug::KBMAP
967
968         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
969
970 2003-10-09  André Pönitz  <poenitz@gmx.net>
971
972         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
973
974         * BufferView.C:
975         * BufferView_pimpl.C:
976         * bufferview_funcs.C:
977         * lyx_cb.C:
978         * lyxcursor.C:
979         * lyxfind.C:
980         * lyxfunc.C:
981         * lyxtext.h:
982         * text.C:
983         * text2.C:
984         * text3.C:
985         * text_funcs.[Ch]:
986         * textcursor.[Ch]:
987         * undo_funcs.C: adjust
988
989 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
990
991         * text2.C (incrementItemDepth): new function, use a backtracking
992         algorithm to discover the correct item depth.
993         (resetEnumCounterIfNeeded): new function, use a backtracking
994         algorithm to discover if counter reset is needed.
995         (setCounter): use them. Simplify a bit. Add different labels for
996         different item depths for itemize.
997
998         * paragraph.C (Paragraph): remove initialization of enumdepth
999         (operator=): ditto
1000
1001         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1002         enumerate and itemize. Change the type of itemdepth to signed char.
1003
1004 2003-10-08  André Pönitz  <poenitz@gmx.net>
1005
1006         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1007           thing assignable.
1008         * text.C:
1009         * text2.C: adjust
1010
1011         * tabular.[Ch]: fix crash after 'row-insert'
1012
1013 2003-10-08  Angus Leeming  <leeming@lyx.org>
1014
1015         Fix doxygen warnings.
1016
1017         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1018         Remove CutAndPaste:: prefix from header file declaration.
1019
1020         * LColor.h (fill): remove LColor:: prefix from declaration.
1021
1022         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1023         use lyx::depth_type rather than Paragraph::depth_type so that
1024         header file and .C file match.
1025
1026         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1027
1028         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1029         * aspell.C: \file aspell_local.C -> \file aspell.C
1030         * gettext.C: \file gettext.C -> \file src/gettext.C
1031         * gettext.h: \file gettext.h -> \file src/gettext.h
1032         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1033         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1034         * text.C: \file text.C -> \file src/text.C
1035
1036         * toc.C: move comment so that doxygen is not confused.
1037
1038 2003-10-07  Angus Leeming  <leeming@lyx.org>
1039
1040         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1041
1042 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1043
1044         * aspell.C:
1045         * aspell_local.h: add forgotten std::string's.
1046
1047 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1048
1049         * LaTeXFeatures.C:
1050         * LyXAction.C:
1051         * factory.C:
1052         * lfuns.h:
1053         * lyxfunc.C:
1054         * text3.C: The Box patch. Fancybox support, minipage, parbox
1055
1056 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1057
1058         * CutAndPaste.h:
1059         * DepTable.h:
1060         * FloatList.h:
1061         * LaTeXFeatures.h:
1062         * ParagraphParameters.h:
1063         * TextCache.h:
1064         * Thesaurus.h:
1065         * bufferlist.h:
1066         * exporter.h:
1067         * importer.h:
1068         * lastfiles.h:
1069         * lyxfind.h:
1070         * lyxfont.h:
1071         * lyxlex.h:
1072         * lyxtextclasslist.h:
1073         * messages.h:
1074         * paragraph.h:
1075         * paragraph_pimpl.C:
1076         * textcursor.h: add <string> and other small fixes to make Lars'
1077         std::string patch compile with STLport.
1078
1079 2003-10-06  Angus Leeming  <leeming@lyx.org>
1080
1081         * LColor.h: Add missing #include <string>.
1082
1083 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1084
1085         * All most all file in all subdirs: Make <string> be the prefered
1086         way of getting to std::string, add using declarations.
1087
1088 2003-10-06  André Pönitz  <poenitz@gmx.net>
1089
1090         * metricsinfo.C: initialize LyXFont before changing attribute.
1091         (fixes the 'math in \emph is upright' bug)
1092
1093 2003-10-06  André Pönitz  <poenitz@gmx.net>
1094
1095         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1096
1097 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1098
1099         * graph.C:
1100         * paragraph_pimpl.C: Small fixes to build using STLport
1101
1102 2003-10-02  André Pönitz  <poenitz@gmx.net>
1103
1104         * lyxfunc.C:
1105         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1106
1107 2003-10-01  André Pönitz  <poenitz@gmx.net>
1108
1109         * factory.C: assert early
1110
1111 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1112
1113         * lyx_main.C: remove the global debug object
1114
1115         * debug.h: adjust for new debugstream
1116
1117         * debug.C: adjust for new debugstream and keep the global debug
1118         object here.
1119
1120 2003-09-22  Angus Leeming  <leeming@lyx.org>
1121
1122         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1123         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1124         an incomplete class LyXFont.
1125
1126 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1127
1128         * factory.C: bug fix in branches
1129
1130 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1131
1132         * lyxfunc.C (processKeySym): adjust
1133         (dispatch): adjust
1134         (dispatch): change arg name from ev to func, adjust
1135         (sendDispatchMessage): ditto
1136
1137         * lyx_main.C (defaultKeyBindings): adjust keybindings
1138         (deadKeyBindings): ditto
1139
1140         * kbsequence.C (addkey): return a FuncRequest
1141
1142         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1143
1144         * kbmap.C (bind): take a FuncRequest as arg, adjust
1145         (read): adjust
1146         (lookup): adjust
1147         (defkey): change to take a FuncRequest as arg, adjust
1148         (findbinding): take a FuncRequest as arg, adjust.
1149
1150         * funcrequest.h (operator=): added
1151
1152         * funcrequest.C (FuncRequest): default kb_action changed from
1153         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1154
1155         * buffer.C (dispatch): simplify
1156         (dispatch): adjust to take a FuncRequest as arg, adjust
1157
1158         * boost.C (assertion_failed): change assertion message slightly
1159
1160         * ToolbarBackend.C (read): simplify
1161
1162         * MenuBackend.C (binding): adjust call to findbinding, add a
1163         message if no binding is found.
1164         (read): simplify
1165         (expandToc): correct by adding a empty FuncRequest
1166
1167         * LyXAction.C: include <boost/assert.hpp>
1168         (isPseudoAction): delete function
1169         (LookupFunc): change name to...
1170         (lookupFunc): this. change return type to FuncRequest.
1171         (getActionName): take kb_action as arg, simplify
1172         (funcHasFlag): add an assert, simplify.
1173
1174 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1175
1176         * toc.C (action): return a FuncRequest, simplify
1177
1178         * lyxfunc.C (processKeySym): adjust
1179         (getStatus): delete version that takes an int.
1180         (getStatus): adjust
1181         (dispatch): delete version that takes action as int
1182         (dispatch): adjust
1183         (sendDispatchMessage): simplify and adjust
1184
1185         * funcrequest.C (getArg): take unsigned int as arg
1186
1187         * ToolbarBackend.C (read): adjust
1188         (add): delete version that takes func as a string.
1189         (getIton): take a FuncRequest as arg
1190
1191         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1192         action.
1193
1194         * MenuBackend.C (MenuItem): add a new construct that only takes a
1195         Kind, simplify the constructor use for submenus.
1196         (add): adjust
1197         (expandLastfiles): adjust
1198         (expandDocuments): adjust
1199         (expandFormats): adjust
1200         (expandFloatListInsert): adjust
1201         (expandFloatInsert): adjust
1202         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1203
1204         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1205         Remove class variables lyx_pseudo_map and lyx_arg_map
1206
1207         * LyXAction.C (searchActionArg): delete function
1208         (getPseudoAction): delete function
1209         (retrieveActionArg): delete function
1210         (LookupFunc): make it return kb_action, simplify.
1211         (getActionName): simplify
1212
1213         * factory.C (createInset): fix new bug
1214
1215 2003-09-19  Angus Leeming  <leeming@lyx.org>
1216
1217         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1218         masterFilename_ parameter in the include inset.
1219
1220         * factory.C (createInset): changes due to the changes to InsetInclude.
1221
1222 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1223
1224         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1225
1226 2003-09-18  Angus Leeming  <leeming@lyx.org>
1227
1228         * buffer.C:
1229         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1230         Inset::fillWithBibKeys.
1231         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1232
1233 2003-09-18  Angus Leeming  <leeming@lyx.org>
1234
1235         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1236         variables.
1237         (ctor): pass and store a 'Buffer const &'
1238         (buffer): new member function.
1239
1240         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1241         '*this' to the LaTeXFeatures ctor.
1242
1243 2003-09-18  Angus Leeming  <leeming@lyx.org>
1244
1245         * LColor.h:
1246         * lyxfont.C:
1247         * lyxfont.h:
1248         * lyxtext.h:
1249         * text.C: rename EnumLColor as LColor_color.
1250
1251 2003-09-18  Angus Leeming  <leeming@lyx.org>
1252
1253         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1254         remove #include "insets/insetbase.h" from cursor.h.
1255
1256 2003-09-18  Angus Leeming  <leeming@lyx.org>
1257
1258         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1259         InsetOld_code to remove #include "inset.h".
1260
1261         * iterators.C: add #include "insets/inset.h"
1262
1263 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1264
1265         * BufferView.C: remove more locking stuff that apparently doesn't
1266         do anything sensible.
1267
1268 2003-09-16  André Pönitz  <poenitz@gmx.net>
1269
1270         * paragraph.[Ch]:
1271         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1272           performance boost.
1273
1274 2003-09-16  Angus Leeming  <leeming@lyx.org>
1275
1276         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1277
1278         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1279         arg/return type.
1280
1281         * paragraph.h: remove #include "lyxfont.h". Forward declare
1282         LyXFont_size.
1283
1284 2003-09-16  Angus Leeming  <leeming@lyx.org>
1285
1286         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1287         of support/textutils.h.
1288         (isWord): move the contents of support/textutils.h's IsWordChar here.
1289
1290         * buffer.C:
1291         * lyxfind.C:
1292         * rowpainter.C:
1293         * text.C:
1294         * text2.C: add #include "paragraph.h".
1295
1296         * rowpainter.C:
1297         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1298
1299 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1300
1301         * main.C:
1302         * lyx_main.C:
1303         * lyx_cb.C:
1304         * buffer.C:
1305         * LaTeX.C: use namespace alias for lyx::support::os
1306
1307 2003-09-16  Angus Leeming  <leeming@lyx.org>
1308
1309         * bufferparams.C:
1310         * bufferview_funcs.C:
1311         * factory.C:
1312         * lyxfunc.C:
1313         * paragraph_pimpl.C:
1314         * rowpainter.C:
1315         * text.C: add #include "LColor.h".
1316
1317 2003-09-16  Angus Leeming  <leeming@lyx.org>
1318
1319         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1320         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1321         return LyXFont &.
1322         Store the FontBits::color variable as an int rather than as an
1323         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1324         file.
1325
1326         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1327         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1328         string calls together.
1329
1330         * lyxrc.C: add #include "LColor.h".
1331
1332 2003-09-15  Angus Leeming  <leeming@lyx.org>
1333
1334         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1335         a cow_ptr.
1336
1337 2003-09-15  Angus Leeming  <leeming@lyx.org>
1338
1339         * LColor.h: add an EnumLColor wrapper for LColor::color.
1340
1341         * lyxfont.[Ch] (color, setColor, realColor):
1342         * lyxtext.h, text.C (backgroundColor):
1343         pass EnumLColor args to/from the functions, rather than LColor::color
1344         ones.
1345
1346         * lyxfont.h:
1347         * lyxtext.h: forward declare EnumLColor.
1348
1349         * lyx_main.C: add #include "LColor.h".
1350
1351 2003-09-15  Angus Leeming  <leeming@lyx.org>
1352
1353         * .cvsignore: add lyx-gtk.
1354
1355 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1356
1357         * Chktex.C
1358         * LaTeX.C
1359         * LaTeXFeatures.C
1360         * ParagraphParameters.C
1361         * Spacing.C
1362         * buffer.C
1363         * bufferparams.C
1364         * bufferview_funcs.C
1365         * chset.C
1366         * counters.C
1367         * funcrequest.C
1368         * lyxfont.C
1369         * lyxgluelength.C
1370         * lyxlength.C
1371         * paragraph.C
1372         * paragraph_funcs.C
1373         * text3.C
1374         * vc-backend.C: remove usage of STRCONV
1375
1376 2003-09-15  Angus Leeming  <leeming@lyx.org>
1377
1378         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1379         explicitly define the color passed to the painter.
1380
1381 2003-09-15  Angus Leeming  <leeming@lyx.org>
1382
1383         * bufferparams.C (BufferParams): reorder member initializers to avoid
1384         compiler warning.
1385
1386 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1387
1388         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1389         * text.C (updateRowPositions): remove an unusual nop
1390
1391 2003-09-12  André Pönitz  <poenitz@gmx.net>
1392
1393         * BufferView_pimpl.C:
1394         * Bullet.C:
1395         * layout.h:
1396         * lyxfunc.C:
1397         * lyxlayout.[Ch]:
1398         * lyxtextclass.C:
1399         * rowpainter.C:
1400         * text.C:
1401         * text2.C:
1402         * Counters.[Ch]: finish the 'automatic counters' job
1403
1404 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1405
1406         * aspell.C: include <boost/assert.cpp> (compile fix)
1407
1408 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1409
1410         * boost.C (assertion_failed): use lyx::support::abort instead of
1411         assert.
1412
1413 2003-09-10  Angus Leeming  <leeming@lyx.org>
1414
1415         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1416         with their _fwd progeny.
1417
1418 2003-09-09  Angus Leeming  <leeming@lyx.org>
1419
1420         134 files throughtout the source tree: replace 'using namespace abc;'
1421         directives with the appropriate 'using abc::xyz;' declarations.
1422
1423 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1424
1425         * boost.C (emergencyCleanup): moved here from LAssert.c
1426         (assertion_failed): new function, called by BOOST_ASSERT
1427
1428         * several files: change Assert to BOOST_ASSERT
1429
1430 2003-09-09  Angus Leeming  <leeming@lyx.org>
1431
1432         * buffer.[Ch]: Add an Impl class and move Buffer's member
1433         variables into it. As a result move several header files out of
1434         buffer.h.
1435
1436         Add header files to lots of .C files all over the tree as a result.
1437
1438 2003-09-09  Angus Leeming  <leeming@lyx.org>
1439
1440         * buffer.[Ch]: make Buffer's member variables private. Add
1441         accessor functions.
1442
1443         Lots of changes all over the tree as a result.
1444
1445 2003-09-08  Angus Leeming  <leeming@lyx.org>
1446
1447         * graph.C: #include <config.h>.
1448
1449 2003-09-08  Angus Leeming  <leeming@lyx.org>
1450
1451         * BranchList.C:
1452         * BufferView.C:
1453         * BufferView_pimpl.C:
1454         * CutAndPaste.C:
1455         * DepTable.C:
1456         * LaTeX.C:
1457         * LaTeXFeatures.C:
1458         * LyXAction.C:
1459         * MenuBackend.C:
1460         * TextCache.C:
1461         * aspell.C:
1462         * buffer.C:
1463         * bufferlist.C:
1464         * changes.C:
1465         * chset.C:
1466         * converter.C:
1467         * counters.C:
1468         * debug.C:
1469         * graph.C:
1470         * ispell.C:
1471         * lyx_cb.C:
1472         * lyxfind.C:
1473         * lyxfunc.C:
1474         * lyxlex_pimpl.C:
1475         * lyxrc.C:
1476         * lyxrow.C:
1477         * paragraph.C:
1478         * rowpainter.C:
1479         * texrow.C:
1480         * text.C:
1481         * text2.C:
1482         * toc.C: remove redundant using directives.
1483
1484 2003-09-07  Angus Leeming  <leeming@lyx.org>
1485
1486         * LaTeXFeatures.h: remove #include "support/types.h".
1487         * ToolbarBackend.h: remove #include <algorithm>.
1488         * changes.h: remove #include <ctime>.
1489         * debug.h: remove #include <iosfwd>.
1490         * graph.h: remove #include "support/std_string.h".
1491         * lyx_main.h: remove #include <csignal>.
1492         * lyxlex_pimpl.h: remove #include <fstream>.
1493         * sgml.h: remove #include <algorithm>, <utility>.
1494         * toc.h: remove #include "support/std_ostream.h".
1495         Add #include <iosfwd>.
1496
1497 2003-09-07  Angus Leeming  <leeming@lyx.org>
1498
1499         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1500
1501         * converter.h: forward declare LatexRunParams.
1502         * encoding.h: remove #include "lyxrc.h".
1503         * lyxtext.h: remove #include "LColor.h".
1504         * lyxtextclass.h: remove #include "support/types.h".
1505         * trans.h: remove #include "tex-accent.h".
1506         * trans_mgr.h: remove #include "tex-accent.h".
1507         * insets/inset.h: remove #include "support/types.h", <vector>.
1508         * insets/insetcollapsable.h: remove #include "LColor.h".
1509         * insets/insetinclude.h: remove #include "dimension.h".
1510         * insets/insetlatexaccent.h: remove #include "dimension.h".
1511         * insets/insetoptarg.h:: remove #include "insettext.h".
1512         * insets/insettext.h: remove #include "dimension.h",
1513         <boost/shared_ptr.hpp>
1514
1515         * insets/renderers.h: add #include "dimension.h".
1516         * insets/updatableinset.h: add #include "support/types.h".
1517
1518         * many .C files: Associated changes.
1519
1520 2003-09-06  Angus Leeming  <leeming@lyx.org>
1521
1522         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1523         one, inside testInvariant.
1524
1525         * PrinterParams.C: new file.
1526         * PrinterParams.[Ch]: move the function bodies out of line.
1527
1528 2003-09-06  Angus Leeming  <leeming@lyx.org>
1529
1530         * ParagraphParameters.h: forward declare ParameterStruct rather than
1531         including its header file.
1532         (depth): moved out-of-line.
1533
1534 2003-09-06  Angus Leeming  <leeming@lyx.org>
1535
1536         * BufferView_pimpl.h:
1537         * kbmap.h:
1538         * kbsequence.h:
1539         * lyxfunc.h: forward declare LyXKeySym rather than
1540         #include "frontends/LyXKeySym.h".
1541
1542         * BufferView_pimpl.C:
1543         * kbmap.C:
1544         * kbsequence.C:
1545         * lyxfunc.C: associated changes.
1546
1547 2003-09-06  Angus Leeming  <leeming@lyx.org>
1548
1549         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1550         As a result, can remove the #include "insets/inset.h" from BufferView.h
1551
1552 2003-09-06  Angus Leeming  <leeming@lyx.org>
1553
1554         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1555         As a result, can remove the #include "insets/inset.h" from BufferView.h
1556
1557 2003-09-06  Angus Leeming  <leeming@lyx.org>
1558
1559         * buffer_funcs.C:
1560         * buffer.h:
1561         * bufferlist.C:
1562         * BufferView.C:
1563         * bufferview_funcs.C:
1564         * BufferView_pimpl.C:
1565         * CutAndPaste.C:
1566         * lyx_cb.C:
1567         * lyxfunc.C:
1568         * paragraph.h:
1569         * ParagraphParameters.C:
1570         * tabular.C:
1571         * text3.C:
1572         * toc.C:
1573         * undo_funcs.C:
1574         * frontends/controllers/ControlDocument.C:
1575         * insets/insetcaption.C: rearrange the #includes into some sort of
1576         coherent order.
1577
1578         * buffer.h: remove #includes ErrorList.h, undo.h
1579
1580 2003-09-06  Angus Leeming  <leeming@lyx.org>
1581
1582         * support/types.h: add a 'depth_type' typedef, used to store the
1583         nesting depth of a paragraph.
1584
1585         * paragraph.h:
1586         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1587         defining explicitly.
1588
1589         * buffer.h:
1590         * paragraph_funcs.h:
1591         * ParagraphParameters.h:
1592         * sgml.h: use lyx::depth_type rather than Paragraph or
1593         ParameterStruct's depth_type.
1594
1595         * buffer.h
1596         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1597
1598         * BufferView.C:
1599         * BufferView_pimpl.C:
1600         * CutAndPaste.C:
1601         * ParagraphParameters.C:
1602         * buffer_funcs.C:
1603         * bufferlist.C:
1604         * bufferview_funcs.C:
1605         * lyx_cb.C:
1606         * lyxfunc.C:
1607         * tabular.C:
1608         * text3.C:
1609         * toc.C:
1610         * undo_funcs.C:
1611         * frontends/LyXView.C:
1612         * frontends/controllers/ControlDocument.C:
1613         * frontends/controllers/ControlErrorList.C:
1614         * insets/insetbibitem.C:
1615         * insets/insetbranch.C:
1616         * insets/insetcaption.C:
1617         * insets/insetcollapsable.C:
1618         * insets/insetenv.C:
1619         * insets/insetert.C:
1620         * insets/insetfloat.C:
1621         * insets/insetfoot.C:
1622         * insets/insetfootlike.C:
1623         * insets/insetnewline.C:
1624         * insets/insetquotes.C:
1625         * insets/insettabular.C:
1626         * insets/insettext.C:
1627         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1628
1629         * frontends/controllers/ControlChanges.C: #include "changes.h".
1630
1631 2003-09-06  Angus Leeming  <leeming@lyx.org>
1632
1633         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1634         than #including paragraph.h.
1635
1636         * ParagraphList.h:
1637         * RowList.h: deleted. Superfluous.
1638
1639         * CutAndPaste.h:
1640         * iterators.h:
1641         * lyxcursor.h:
1642         * lyxtext.h:
1643         * text_funcs.h:
1644         * undo.h:
1645         * undo_funcs.h:
1646         * insets/inset.h:
1647         * insets/insettext.h: use ParagraphList_fwd.h rather than
1648         ParagraphList.h.
1649
1650         * paragraph.h: don't forward declare ParagraphList.
1651
1652         * buffer.h:
1653         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1654         rather than ParagraphList.h. paragraph.h is still needed for the
1655         Paragraph::depth_type parameters.
1656
1657         * textcursor.h: enable it to compile stand-alone in light of the
1658         above changes.
1659
1660         * bufferview_funcs.C:
1661         * iterators.C:
1662         * lyxfunc.C:
1663         * lyxrow_funcs.C:
1664         * paragraph.C:
1665         * rowpainter.C:
1666         * text.C:
1667         * text2.C:
1668         * text3.C:
1669         * text_funcs.C:
1670         * textcursor.C:
1671         * undo.C:
1672         * frontends/controllers/ControlParagraph.C:
1673         * frontends/controllers/ControlTabular.C:
1674         * insets/insetmarginal.C:
1675         * insets/insetminipage.C:
1676         * insets/insetnote.C:
1677         * insets/insetoptarg.C: add header files needed to compile again.
1678
1679 2003-09-06  Angus Leeming  <leeming@lyx.org>
1680
1681         * RowList_fwd.h: new file, forward-declaring Row rather than
1682         #including lyxrow.h.
1683
1684         * lyxrow_funcs.h:
1685         * lyxtext.h:
1686         * paragraph.h:
1687         * insets/insettext.h: use it instead of RowList.h
1688
1689         * bufferview_funcs.C:
1690         * lyxfunc.C:
1691         * lyxrow_funcs.C:
1692         * paragraph.C:
1693         * rowpainter.C:
1694         * text.C:
1695         * text2.C:
1696         * text3.C: #include "RowList.h".
1697
1698 2003-09-05  Angus Leeming  <leeming@lyx.org>
1699
1700         * factory.C (createInset):
1701         * vspace.C (c-tor): replace sscanf call with an istringstream.
1702         * ispell.C: re-add missing HP/UX headers.
1703         * lyxserver.C: re-add missing  os2 headers.
1704
1705 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1706
1707         * BranchList.C:
1708         * graph.C:
1709         * ispell.C:
1710         * lastfiles.C:
1711         * lyx_cb.C:
1712         * lyxserver.C:
1713         * texrow.C:
1714         * text3.C: re-add missing system headers, needed for 2.95.2.
1715
1716 2003-09-05  Angus Leeming  <leeming@lyx.org>
1717
1718         Changes most place everywhere due to the removal of using directives
1719         from support/std_sstream.h.
1720
1721 2003-09-05  Angus Leeming  <leeming@lyx.org>
1722
1723         Replace LString.h with support/std_string.h,
1724         Lsstream.h with support/std_sstream.h,
1725         support/LIstream.h with support/std_istream.h,
1726         support/LOstream.h with support/std_ostream.h.
1727
1728         Changes resulting throughout the tree.
1729
1730 2003-09-05  Angus Leeming  <leeming@lyx.org>
1731
1732         * sgml.h: ensure that the header file can be compiled stand-alone.
1733         * *.C: strip out redundant #includes. (320 in total.)
1734
1735 2003-09-04  Angus Leeming  <leeming@lyx.org>
1736
1737         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1738         here (from getPackages).
1739
1740         * debug.[Ch]: add a new EXTERNAL tag.
1741
1742 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1743
1744         * text2.C (cursorEnd): simplify
1745         (setCursor): adjust
1746         (getColumnNearX): adjust
1747
1748         * text.C (computeBidiTables): adjust
1749         (fill): adjust
1750
1751         * rowpainter.C (paintChars): adjust
1752         (paintSelection): adjust
1753         (paintChangeBar): adjust
1754         (paintText): adjust
1755
1756         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1757         lastPos instead.
1758         (numberOfSeparators): adjust
1759
1760 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1761
1762         * LyXAction.C:
1763         * box.[Ch]:
1764         * lfuns.h:
1765         * lyxfunc.C:
1766         * text3.C: Restricts the mouse click functionality
1767         of insets like bibtex, include, toc and floatlist to the visible
1768         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1769         up the dialogs. Cursor has to be in front of the inset (i.e.
1770         start of row) for this to function.
1771
1772 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1773
1774         * bufferview_funcs.C (currentState): output row information
1775
1776 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1777
1778         * bufferview_funcs.C (currentState): output paragraph position
1779
1780 2003-09-04  Angus Leeming  <leeming@lyx.org>
1781
1782         * FloatList.h: move out #include "Floating.h".
1783         * LaTeX.h: move out #include "DepTable.h".
1784         * LyXAction.h: move out #include "funcrequest.h".
1785         * buffer.h: move out #include "author.h", "iterators.h".
1786         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1787         * lyx_main.h: move out #include "errorlist.h".
1788         * lyxfunc.h: move out #include "FuncStatus.h".
1789         * lyxtext: move out #include "lyxcursor.h".
1790         * paragraph_pimpl.h: move out #include "counters.h".
1791
1792 2003-09-03  Angus Leeming  <leeming@lyx.org>
1793
1794         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1795         preamble_snippets list, enabling us to add snippets to the preamble
1796         only if the snippet was not there already.
1797
1798 2003-09-04  Angus Leeming  <leeming@lyx.org>
1799
1800         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1801
1802 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1803
1804         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1805         update
1806
1807 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1808
1809         * BranchList.C: point fix, earlier forgotten
1810
1811 2003-09-02  Angus Leeming  <leeming@lyx.org>
1812
1813         * box.C (contains): renamed from 'contained' after a fantastic
1814         amount of hot air.
1815
1816 2003-09-02  John Levon  <levon@movementarian.org>
1817
1818         * BufferView.C:
1819         * lyxcursor.h:
1820         * lyxcursor.C:
1821         * lyxfunc.C:
1822         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1823
1824 2003-09-02  John Levon  <levon@movementarian.org>
1825
1826         * text2.C: simplification of cursorEnd(), including partial
1827         fix for bug 1376
1828
1829 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1830
1831         * buffer.C (readFile): add a space
1832
1833 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1834
1835         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1836
1837 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1838
1839         * buffer.C (readFile): new function, take a filename and a
1840         ParagraphList::iterator
1841         (readFile): adjust
1842         (readFile): adjust, make it private. don't use setStream, make
1843         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1844         always contain the filename.
1845
1846         * BufferView.C (insertLyXFile): simplify and make it work for
1847         gzipped files.
1848
1849 2003-08-30  John Levon  <levon@movementarian.org>
1850
1851         * Makefile.am: fix dist (from Kayvan)
1852
1853 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1854
1855         * most files: change to use const Buffer refs
1856
1857 2003-08-27  André Pönitz  <poenitz@gmx.net>
1858
1859         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1860         on top of ownerPar().
1861
1862 2003-08-27  John Levon  <levon@movementarian.org>
1863
1864         * funcrequest.C: properly initialise POD members
1865
1866 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1867
1868         * lyxtext.h (top_y): move top_y from here
1869         * text.C:
1870         * text2.C:
1871         * text3.C:
1872         * BufferView.[Ch]:
1873         * BufferView_pimpl.[Ch]: to here
1874         * frontends/screen.C:
1875         * insets/insettabular.C:
1876         * insets/insettext.C: adjust
1877         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1878
1879 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1880
1881         * BufferView.[Ch]:
1882         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1883
1884 2003-08-26  André Pönitz  <poenitz@gmx.net>
1885
1886         * paragraph_func.[Ch] (outerPar): new function
1887
1888         * paragraph.C:
1889         * paragraph_funcs.C:
1890         * paragraph_funcs.h:
1891         * paragraph_pimpl.C:
1892         * text2.C: remove Inset::par_owner
1893
1894 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1895
1896         * lyxrow_funcs.C:
1897         * lyxtext.h:
1898         * text.C:
1899         * text2.C: eliminates the needFullRow/display() stuff
1900         altogether, putting the logic in metrics/draw in the insets.
1901
1902 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1903
1904         * text2.C (redoParagraphInternal, redoParagraphs):
1905         * text.C (redoParagraph): add a call to updateRowPositions at the
1906         end of each 'metrics-like' call. Remove all others.
1907         (getRow): remove the 'y-computing' version.
1908         (getRowNearY): do not compute nor return the real y. Solve the
1909         'y < 0' problem and simplify.
1910
1911 2003-08-22  Angus Leeming  <leeming@lyx.org>
1912
1913         * *.[Ch]: clean-up of licence and author blurbs.
1914         Also move config.h out of a few .h files and into a few .C files.
1915
1916 2003-08-22  André Pönitz  <poenitz@gmx.net>
1917
1918         * lyxrow.[Ch]: add x_ and *fill_ members
1919
1920         * lyxtext.h:
1921         * text.C:
1922         * rowpainter.C:
1923         * text2.C: adjust/remove prepareToPrint() calls
1924
1925 2003-08-22  André Pönitz  <poenitz@gmx.net>
1926
1927         * lyxrow.[Ch]: add  end_ member
1928
1929         * lyxrow_funcs.C: use LyXRow::end_
1930
1931         * lyxtext.h (singleWidth): add LyXFont parameter
1932
1933         * rowpainter.C:
1934         * text2.C: adjust LyXText::singleWidth() calls
1935
1936         * text.C (redoParagraph): simplify row breaking logic
1937
1938
1939 2003-08-19  André Pönitz  <poenitz@gmx.net>
1940
1941         * funcrequest.C: initialize button_ member
1942
1943         * text3.C:
1944         * rowpainter.[Ch]: interface consolidation
1945
1946 2003-08-18  André Pönitz  <poenitz@gmx.net>
1947
1948         * BufferView.C:
1949         * BufferView_pimpl.C:
1950         * lyxfind.C:
1951         * paragraph_funcs.C:
1952         * rowpainter.C:
1953         * text3.C: remove LyXScreen::draw() and fitCursor calls
1954
1955         * BranchList.h: remove spurious semicolons
1956
1957         * MenuBackend.C: fix branchlist related crash
1958
1959 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1960
1961         * BranchList.[Ch]:
1962         * InsetList.[Ch]:
1963         * LColor.[Ch]:
1964         * LyXAction.C:
1965         * Makefile.am:
1966         * MenuBackend.[Ch]:
1967         * bufferparams.[Ch]:
1968         * factory.C:
1969         * lfuns.h:
1970         * lyxfunc.C:
1971         * text3.C: implements the 'branch inset'
1972         idea. This allows the output of various versions of a document
1973         from a single source version, selectively outputing or suppressing
1974         output of parts of the text.
1975         This implementation contains a 'branch list editor' in a separate
1976         tab of the document settings dialog. Branches are user definable
1977         and have a "display colour" to distinguish them on-screen.
1978
1979         ColorHandler was somewhat cleaned up.
1980         (1) make possible a dynamically growing LColor list by allowing
1981         the graphic context cache to grow along (vector);
1982         (2) eliminate an IMHO unnecessary step in colour allocation.
1983
1984 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1985
1986         * BufferView_pimpl.C: compile fix
1987
1988 2003-08-15  André Pönitz  <poenitz@gmx.net>
1989
1990         * rowpainter.C: remove extra metrics calls
1991
1992         * lyxtext.h: merge the two constructors into a single one,
1993           pass reference to owner's par list
1994
1995         * BufferView_pimpl.C:
1996         * text.C:
1997         * text2.C: adjust
1998
1999 2003-08-15  André Pönitz  <poenitz@gmx.net>
2000
2001         * lyxrow_funcs.[Ch]:
2002         * lyxtext.h:
2003         * paragraph.h:
2004         * paragraph_funcs.C:
2005         * rowpainter.C:
2006         * text.C:
2007         * text2.C:
2008         * text3.C:
2009         * text_funcs.C: split LyXText::rowlist_ into individual
2010         Paragraph::rows_ chunks
2011
2012         * BufferView.[Ch]:
2013         * BufferView_pimpl.[Ch]:
2014         * lyxfind.C:
2015         * lyxtext.h:
2016         * text3.C: remove toggleSelection()
2017
2018 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2019
2020         * bufferlist.C: beautify two alerts (shorter text of buttons)
2021         * buffer.C: Remove redundant ' ' from message
2022         * tabular.h:
2023         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2024         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2025         rename VALIGN_CENTER to VALIGN_MIDDLE
2026
2027 2003-08-11  André Pönitz  <poenitz@gmx.net>
2028
2029         * lyxtext.h (getPar):
2030         * text.C: new function
2031
2032 2003-08-11  André Pönitz  <poenitz@gmx.net>
2033
2034         * Makefile.am:
2035         * tracer.[Ch]: remove unneeded files
2036
2037         * InsetList.[Ch]: remove resizeInsetsLyXText()
2038
2039         * lyxtext.h:
2040         * text.C:
2041         * text2.C:
2042         * text3.C: merge insertParagraphs() and appendParagraph()
2043         remove breakAgain(), update()
2044
2045         * BufferView_pimpl.[Ch]:
2046         * bufferview_funcs.[Ch]:
2047         * lyxfunc.C:
2048         * paragraph.[Ch]:
2049         * rowpainter.C:
2050         * tabular.C: adjust after text & InsetList changes.
2051
2052 2003-08-08  André Pönitz  <poenitz@gmx.net>
2053
2054         * text.C (insertChar, backspace): replace rowlist fiddling
2055         with rebreak of full par
2056
2057         * lyxtext.h:
2058         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2059         checkParagraph, updateInset): removed
2060
2061 2003-08-07  André Pönitz  <poenitz@gmx.net>
2062
2063         * paragraph.C:
2064         * text3.C: merge some LFUN handlers, remove dead code
2065
2066 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2067
2068         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2069
2070 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2071
2072         * text2.C (DEPM): fix part of bug 1255 and 1256
2073
2074 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2075
2076         * BufferView_pimpl.C (workAreaDispatch): change to use
2077         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2078         that are no mouse related.
2079
2080 2003-08-05  André Pönitz  <poenitz@gmx.net>
2081
2082         * BufferView.[Ch]:
2083         * BufferView_pimpl.[Ch]:
2084         * bufferview_funcs.C:
2085         * text2.C:
2086         * text3.C: rip out "deep update"
2087
2088         * textcursor.[Ch] (last_sel_cursor): remove unused member
2089
2090 2003-08-04  André Pönitz  <poenitz@gmx.net>
2091
2092         * BufferView.[Ch]:
2093         * BufferView_pimpl.[Ch]:
2094         * ParagraphParameters.C:
2095         * bufferview_funcs.C:
2096         * lyx_cb.C:
2097         * lyxfind.C:
2098         * lyxfunc.C:
2099         * text.C:
2100         * text2.C:
2101         * text3.C: replace "complicated" BufferView::update(...) calls with
2102         simpler ones.
2103
2104         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2105
2106 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2107
2108         * Makefile.am (lyx_SOURCES): add paper.h
2109
2110 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2111
2112         * Makefile.am: move things around so that both lyx-qt and
2113         lyx-xforms can be built (according to --with-frontend). Then lyx
2114         is a symbolic link to lyx-[firstfrontend]
2115
2116 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2117
2118         * Always use std::endl with lyxerr
2119
2120 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2121
2122         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2123
2124 2003-08-01  André Pönitz  <poenitz@gmx.net>
2125
2126         * BufferView.[Ch]:
2127         * BufferView_pimpl.[Ch]:
2128         * lyxfunc.C:
2129         * text3.C: merge BufferView::repaint() and BufferView::update()
2130
2131 2003-08-01  José Matos  <jamatos@lyx.org>
2132
2133         * buffer.[Ch]: file_format is no longer a buffer data element.
2134
2135 2003-08-01  André Pönitz  <poenitz@gmx.net>
2136
2137         * BufferView.C:
2138         * lyxtext.h:
2139         * text.C:
2140         * text2.C: make redoParagraph more independent of current cursor
2141
2142         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2143         * text.C:
2144         * text2.C: remove unneeded members
2145
2146 2003-07-30  André Pönitz  <poenitz@gmx.net>
2147
2148         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2149
2150         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2151           create a single function...
2152
2153         * paragraph_funcs.C (moveItem): ... here.
2154
2155         * text.C:
2156           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2157
2158 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2159
2160         * LColor.[Ch]: Add comment and greyedout logical colors.
2161
2162 2003-07-30  André Pönitz  <poenitz@gmx.net>
2163
2164         * tabular.C: don't use Assert too heavily. This crashes where it
2165           shouldn't
2166
2167 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2168
2169         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2170         is disabled (bug 1232)
2171
2172 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2173
2174         * factory.C: limited 'arg' scope
2175
2176 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2177
2178         * factory.C: fixed Note submenu issues
2179
2180 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2181
2182         * factory.C: submenu for Note/Comment/Greyedout
2183
2184 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2185
2186         * lyx_main.C (LyX):
2187         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2188
2189 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2190
2191         * LaTeXFeatures.C:
2192         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2193         greyedout. Patch provided by Jürgen Spitzmüller.
2194
2195 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2196
2197         * kbmap.C (read): fix error message when reading bind files
2198
2199 2003-07-29  Angus Leeming  <leeming@lyx.org>
2200
2201         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2202         certainly does not do what it purports to do. I am doing it, and
2203         us, a favour by killing it.
2204
2205 2003-07-28  José Matos  <jamatos@lyx.org>
2206
2207         * buffer.C (readBody, do_writeFile):
2208         * paragraph.C(readParagraph): \end_document replaces \the_end.
2209
2210 2003-07-29  André Pönitz  <poenitz@gmx.net>
2211
2212         * BufferView.[Ch]:
2213         * BufferView_pimpl.[Ch]:
2214         * lyxfunc.C:
2215         * text2.C:
2216         * text3.C:
2217         * textcursor.[Ch]: remove toggleToggle & Co
2218
2219 2003-07-28  José Matos  <jamatos@fep.up.pt>
2220
2221         * buffer.C (readParagraph):
2222         * params_func (readParToken, readParagraph):
2223         * paragraph.C (write): \layout -> \begin_layout.
2224
2225 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2226
2227         * lyxlex_pimpl.C (setFile): clean up slightly.
2228
2229         * bufferparams.h: add compressed var
2230
2231         * buffer_funcs.C (readFile): adjust for LyXLex change
2232         (newFile): ditto + simplify
2233
2234         * buffer.C (writeFile): handle writing of compressed files
2235
2236         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2237         Check if the file is compressed and set a bufferparm if so.
2238
2239         * Makefile.am (lyx_LDADD): remove explicit -lz
2240
2241 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2242
2243         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2244         makeDocBookFile): put the real LyX version in the first line of
2245         the file
2246
2247         * version.h:
2248         * version.C.in: remove lyx_docversion
2249
2250         * tabular.C (write_attribute): add a template-based version to
2251         write enums properly
2252
2253 2003-07-28  André Pönitz  <poenitz@gmx.net>
2254
2255         * lyxtext.h:
2256         * text.C:
2257         * text2.C:
2258         * text3.C: use doubles again for x-coordinates. They are needed.
2259
2260 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2261
2262         * messages.C (getLocaleDir): use lyx_localedir()
2263
2264         * lyxlex_pimpl.C (setFile): compress stuff
2265
2266         * buffer.C (writeFile): add some compression stuff
2267         (do_writeFile): new func, dont call expliti close... will this
2268         breake anything?
2269
2270         * Makefile.am (lyx_LDADD): add -lz
2271
2272 2003-07-28  José Matos  <jamatos@fep.up.pt>
2273
2274         * buffer.C: increment file format.
2275         * paragraph_funcs (readParagraph, readParToken):
2276         * paragraph.C (readParagraph): add \end_layout.
2277
2278 2003-07-27  Angus Leeming  <leeming@lyx.org>
2279
2280         * Makefile.am: remove special casing for configure-time setting of
2281         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2282
2283         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2284         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2285
2286 2003-07-26  André Pönitz  <poenitz@gmx.net>
2287
2288         * paragraph_func.[Ch]:
2289         * paragraph.C (realizeFont): inline it whereever it is used
2290
2291         * rowpainter.C:
2292         * text.C:
2293         * text2.C:
2294         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2295
2296
2297 2003-07-26  André Pönitz  <poenitz@gmx.net>
2298
2299         *       lyxtext.h:
2300         * text.C:
2301         * text2.C: get rid of LyXText::need_break_row
2302
2303 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2304
2305         * toc.[Ch]: put namespace toc inside namespace lyx
2306
2307         * MenuBackend.C (expandToc2): adjust for lyx::toc
2308         (expandToc): ditto
2309
2310         * lyxfunc.C (dispatch): adjust for lyx::find
2311
2312         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2313         lyx::find instead. Reorganize a bit.
2314         (LyXReplace): rename to replace
2315         (LyXFind): rename to find
2316
2317         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2318         (dispatch): ditto
2319
2320 2003-07-26  André Pönitz  <poenitz@gmx.net>
2321
2322         * text.C (setHeightOfRow): restrict scope of temporary variable
2323
2324         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2325           code (never has been used?)
2326
2327 2003-07-27  Asger Alstrup  <alstrup@local>
2328
2329         * text.C (fill): Optimise algorithm to exploit that we can reuse
2330         the LyXFont for many characters.
2331         (setHeightOfRow): Same thing.
2332         (rowBreakPoint): Same thing.
2333
2334 2003-07-26  Asger Alstrup  <alstrup@local>
2335
2336         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2337
2338         * text.C (singleWidth): Spurious font copying in hot-spot
2339         singleWidth avoided. Reorder tests for arabic for efficiency.
2340
2341         * text.C (fill): handle empty paragraphs better.
2342
2343 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2344
2345         * ispell.C:
2346         * encoding.h: add includes
2347
2348         * lyxrc.C: remove reading of bind files
2349
2350         * lyx_main.C (init): setup bindings and menus only if we have a
2351         gui.
2352
2353         * kbmap.C (read): new method. Do the actual reading of bind
2354         files.
2355
2356         * converter.C (dvipdfm_options):
2357         * bufferparams.C:
2358         * lyxrc.C (read):
2359         (output): adapt PAPER_* enums.
2360
2361         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2362
2363         * bufferparams.h: remove paper-related enums from there
2364
2365         * paper.h: New file. A trivial header file to hold paper-related
2366         enums. It should later expand to contain many paper-related
2367         horrors access.
2368
2369         * lyxrc.C: declare extern displayTranslator
2370
2371 2003-07-27  José Matos  <jamatos@fep.up.pt>
2372
2373         * tabular.[Ch] (linuxdoc): add support for tables and figures
2374         (linuxdoc).
2375
2376 2003-07-27  José Matos  <jamatos@fep.up.pt>
2377
2378         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2379         consistency in both functions.
2380         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2381
2382 2003-07-26  Asger Alstrup  <alstrup@local>
2383
2384         * rowpainter.C (paintRows): Change algorithm to work directly on
2385         the insets rather than asking every character in the document
2386         whether its an inset.
2387
2388 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2389
2390         * buffer.C (openFileWrite): factorize some code
2391
2392 2003-07-26  Angus Leeming  <leeming@lyx.org>
2393
2394         * lyx_cb.C:
2395         * lyx_main.[Ch]: replace occurances of system_tempdir with
2396         os::getTmpDir().
2397
2398 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2399
2400         * rename Inset to InsetOld
2401
2402 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2403
2404         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2405         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2406         which I think is a bit clearer. EDIT is gone, since it was
2407         premature optimisation, and broken for mathed anyway.
2408         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2409         with cursor positioning in insets as well (math insets still do not
2410         work, but that's a different story anyway.) It mysteriously
2411         crashes sometimes with undo in the first paragraph, but I'm fairly
2412         confident that this is a compiler bug.
2413
2414 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2415
2416         * paragraph.C (Paragraph): adjust for new clone return type
2417         (operator==): ditto
2418         (copyIntoMinibuffer): ditto
2419
2420 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2421
2422         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2423         by not having a special case, and always doing a full rebreak of
2424         the document after undo.
2425
2426 2003-07-23  Angus Leeming  <leeming@lyx.org>
2427
2428         * factory.C (createInset): InsetExternal::setParams now takes a
2429         Buffer const * arg.
2430
2431 2003-07-23  Angus Leeming  <leeming@lyx.org>
2432
2433         * factory.C (createInset): changed interface to the external and
2434         graphics mailers' string2params functions.
2435
2436 2003-07-23  Angus Leeming  <leeming@lyx.org>
2437
2438         * factory.C (createInset): pass a
2439         Buffer const * parameter to InsetExternalMailer's string2params.
2440
2441 2003-07-22  John Levon  <levon@movementarian.org>
2442
2443         * Thesaurus.h: include the right aiksaurus header
2444
2445 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2446
2447         * MenuBackend.C (expand): check menu shortcuts unconditionally
2448
2449 2003-07-21  Angus Leeming  <leeming@lyx.org>
2450
2451         * factory.C (createInset): pass a
2452         buffer_path parameter to InsetGraphicsMailer's string2params.
2453
2454 2003-07-21  Angus Leeming  <leeming@lyx.org>
2455
2456         * BufferView_pimpl.C (buffer):
2457         * buffer.C (d-tor):
2458         * lyx_main.C (LyX):
2459         * lyxfunc.C (dispatch):
2460         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2461         rather than the grfx shortcut.
2462
2463 2003-07-21  André Pönitz  <poenitz@gmx.net>
2464
2465         * rowpainter.C: remove unused variables
2466
2467         * tabular_funcs.C:
2468         * tabular_funcs.h: move to tabular.C
2469         * Makefile.am: adjust
2470
2471         * tabular.[Ch]: basic optical cleaning
2472
2473         * author.h: pass references, not values
2474
2475 2003-07-18  André Pönitz  <poenitz@gmx.net>
2476
2477         * lyxtext.h:
2478         * metricsinfo.C:
2479         * metricsinfo.h:
2480         * rowpainter.C:
2481         * text.C:
2482         * text2.C:
2483         * text3.C: two-phase drawing for InsetText and InsetTabular
2484         some float -> int changes.
2485
2486 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2487
2488         * lyx_main.C: fix the fix
2489
2490 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2491
2492         * lyx_main.C: fix a crash in batch mode if no files specified
2493         * converter.C: ws
2494
2495 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2496
2497         * format.[Ch] (papersize): moved to BufferParams
2498         * converter.[Ch] (dvips_options): moved to BufferParams
2499         (dvipdfm_options): moved to anon namespace
2500         * bufferparams.[Ch]: added above functions.
2501
2502 2003-07-17  André Pönitz  <poenitz@gmx.net>
2503
2504         * lyxtext.h:
2505         * rowpainter.C:
2506         * text2.C: don't call inset->update() anymore
2507
2508         * metricsinfo.[Ch]: add convenience constructor
2509
2510 2003-07-16  André Pönitz  <poenitz@gmx.net>
2511
2512         * lyxcursor.[Ch]:
2513         * lyxfunc.[Ch]:
2514         * text.C:
2515         * text2.C: replace the LyXCursor::irow_ member with
2516          on-demand computation of the value
2517
2518 2003-07-16  John Levon  <levon@movementarian.org>
2519
2520         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2521
2522 2003-07-15  André Pönitz  <poenitz@gmx.net>
2523
2524         * text.C:
2525         * text2.C: remove no more needed refresh_row
2526
2527 2003-07-15  André Pönitz  <poenitz@gmx.net>
2528
2529         * lyxtext.h:
2530         * rowpainter.C:
2531         * text2.C:
2532         * text3.C: refresh_status tristate -> need_update bool
2533
2534 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2535
2536         * lyxtext.h (init): remove reinit argument (act as if always true)
2537         * text2.C: adjust to that
2538
2539 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2540
2541         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2542         * text3.C: use it to delete selections in some cases
2543         (bugs 441, 673, 702, 954).
2544
2545 2003-07-14  André Pönitz  <poenitz@gmx.net>
2546
2547         * rowpainter.[Ch]: reduce interface
2548
2549 2003-07-14  André Pönitz  <poenitz@gmx.net>
2550
2551         * BufferView_pimpl.C:
2552         * text2.C: adjust after removing unused BufferView * argument
2553
2554 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2555
2556         * text2.C (init): fix a crash fired on resize
2557
2558 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2559
2560         * buffer.[Ch]: added new closing signal
2561         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2562         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2563         BufferView::Pimpl via the closing the signal
2564
2565 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2566
2567         * buffer.[Ch]: take out all bv-related from buffer
2568         * BufferView.C:
2569         * BufferView_pimpl.[Ch]: connect to new signals
2570         * CutAndPaste.C: removed useless asserts
2571         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2572         * lyxvc.[Ch]:
2573         * vc-backend.[Ch]:
2574         * lyxfunc.C: moved view-related funciontality from vc here
2575         * paragraph.C: removed outdated comments
2576         * text.C: ws
2577
2578 2003-07-10  André Pönitz  <poenitz@gmx.net>
2579
2580         * BufferView_pimpl.C:
2581         * tabular.h:
2582         * tabular_funcs.C:
2583         * text.C:
2584         * text2.C: remove InsetText::InnerCache, clean up consequences
2585
2586 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2587
2588         * ispell.C: fix two typos in error messages
2589
2590 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2591
2592         * Extend Note inset to other forms of annotation like Comment
2593         and Greyedout. Right button click gives dialog.
2594
2595         Files modified or added (+):
2596
2597         * insetnote.[Ch]
2598         * FormNote.[Ch]      +
2599         * ControlNote.[Ch]   +
2600         * form_note.fd       +
2601         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2602         frontends/controllers
2603         * xforms/Dialogs.C
2604         * factory.C
2605
2606 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2607
2608         * aspell.C: add missing namespace lyx::support
2609
2610 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2611
2612         * BufferView.[Ch] (newFile): Add
2613         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2614         * LaTeX.[Ch] (message): added this signal and use it
2615         * buffer.[Ch] (busy, message): added these signals and use them
2616         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2617         * converter.C:
2618         * exporter.C:
2619         * format.C:
2620         * importer.C: use buffer signals instead of direct bv calling
2621         * lyx_cb.[Ch] (ShowMessage): removed
2622         * lyx_main.C:
2623         * lyxfunc.C:
2624         * paragraph_funcs.C:
2625         * text2.C: use buffer signals
2626
2627 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2628
2629         * introduce namespace lyx::graphics
2630
2631 2003-07-02  André Pönitz  <poenitz@gmx.net>
2632
2633         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2634
2635 2003-07-01  André Pönitz  <poenitz@gmx.net>
2636
2637         * text.C:
2638         * text2.C:
2639         * text3.C:
2640         * text_funcs.[Ch]:
2641         * textcursor.h:
2642         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2643           text*.C to text_func.C
2644
2645 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2646
2647         * introduce namespace lyx::support
2648
2649 2003-06-30  André Pönitz  <poenitz@gmx.net>
2650
2651         * Chktex.C:
2652         * funcrequest.C:
2653         * lyxtext.h:
2654         * text.C: re-enable --with-included-string
2655
2656 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2657
2658         * textcursor.C: add <config.h>
2659
2660         * text.C (getWord): remove const from word_location arg
2661
2662         * lyxvc.C (getLogFile): fix const type order
2663
2664         * lyxtext.h: remove const from word_location arg, add arg name
2665
2666         * lyxlayout.h: currect type on labeltype.
2667
2668         * importer.C: correct \file
2669
2670         * converter.C (intToFormat): use std:: on ret val, ws changes
2671
2672         * bufferlist.h: correct \file
2673
2674         * buffer.C (makeLinuxDocFile): fix const type order
2675         (makeDocBookFile): ditto
2676         (fillWithBibKeys): use std:: on stdlib args.
2677
2678         * CutAndPaste.C: fix authors.
2679         (availableSelections): use std:: on return vector
2680
2681 2003-06-27  André Pönitz  <poenitz@gmx.net>
2682
2683         * BufferView_pimpl.C:
2684         * bufferview_funcs.C:
2685         * lyxcursor.C:
2686         * lyxcursor.h:
2687         * lyxfunc.C:
2688         * lyxtext.h:
2689         * rowpainter.C:
2690         * text.C:
2691         * text2.C:
2692         * text3.C: remove LyXCursor::row_ member
2693
2694         * lyxtext.h:
2695         * text.C: rename fullRebreak() to partialRebreak() and implement
2696           a fullRebreak() that really bereks fully
2697
2698         * textcursor.h: new struct for cursor-related data
2699
2700 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2701
2702         * lyx_main.C (LyX): get full path of document loaded on the
2703         command line
2704
2705 2003-06-26  André Pönitz  <poenitz@gmx.net>
2706
2707         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2708           remove unused/broken operator>,<,>=.
2709
2710         *       text.C: remove only use of broken operator<= in an Assert().
2711
2712 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2713
2714         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2715         moved errorlist_.clear to showErrorList
2716
2717 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2718
2719         * converter.C (scanLog, runLaTeX):
2720         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2721         move the bv->showErrorList call to the callers
2722         * lyxfunc.C: i.e. here...
2723         * text2.C: and here
2724         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2725         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2726         namespace, the second to...
2727         * buffer_funcs (BufferFormat, parseErrors): added
2728         * errorlist.C (ErrorList(TeXErrors const &)): removed
2729
2730 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2731
2732         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2733
2734 2003-06-24  "Garst R. Reese" <reese@isn.net>
2735
2736         * debug.C: fix typo
2737
2738 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2739
2740         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2741
2742         * version.C.in: change docversion to 1.4
2743
2744 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2745
2746         * buffer.C: fix a bug just introduced
2747
2748 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2749
2750         * buffer.[Ch]: added the parseError signal and use it, removed
2751         sgmlError
2752         * BufferView.[Ch] (addError): moved to ...
2753         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2754         to the Buffer::parseError signal to catch (guess what) parse errors
2755         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2756
2757 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2758
2759         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2760         ability to create a buffer and to return an existing one from
2761         the list. Moved these functions to...
2762         * buffer_funcs.[Ch]: added
2763         * BufferView.[Ch] (loadLyXFile): added
2764         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2765         job removed from bufferlist::loadLyXFile.
2766         * buffer.C (setReadOnly): make it work without view
2767         (i.e added an if (users))
2768
2769 2003-06-19  Angus Leeming  <leeming@lyx.org>
2770
2771         * lfuns.h:
2772         * LyXAction.C (init):
2773         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2774         with LFUN_DIALOG_SHOW <name> <data>.
2775
2776 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2777
2778         * CutAndPaste.C (availableSelections): small compilation fix for
2779         ancient (gcc 2.9x) compilers
2780
2781 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2782
2783         * text3.C (cursorNext): add tmp var
2784
2785         * text2.C (updateCounters): for function calling out of for clause
2786         (replaceSelectionWithString): ditto
2787         (insertStringAsParagraphs): ditto
2788         (getColumnNearX): add tmp var
2789         (setCursorFromCoordinates): add tmp var
2790         (cursorDownParagraph): add tmp var
2791         (deleteEmptyParagraphMechanism): add tmp var
2792
2793         * text.C (insertChar): add tmp var
2794
2795         * rowpainter.C (paintDepthBar): add tmp var
2796
2797         * CutAndPaste.C (availableSelections): potentially check all
2798         paragraphs in a cut to fill the shown strings.
2799
2800 2003-06-18  André Pönitz  <poenitz@gmx.net>
2801
2802         * kbmap.[Ch]: use vector<> instead of list<>
2803
2804 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2805
2806         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2807         pasteSelection with index
2808
2809         * text2.C (pasteSelection): modify, call pasteSelection with index
2810
2811         * paragraph.C (asString): reimplement version with no interval to
2812         call the one with interval.
2813
2814         * lyxtext.h: add index arg to pasteSelection
2815
2816         * MenuBackend.C (MenuItem): handle PasteRecent
2817         (Menu::read::Menutags): add md_pasterecent
2818         (read): handle it
2819         (expandPasteRecent): new function
2820         (expand): use it
2821
2822         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2823
2824         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2825         the limited stack
2826         (availableSelections): new function
2827
2828 2003-06-17  Angus Leeming  <leeming@lyx.org>
2829
2830         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2831
2832 2003-06-17  Angus Leeming  <leeming@lyx.org>
2833
2834         * lfuns.h:
2835         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2836
2837         * lyxfunc.C (dispatch): invoke it.
2838
2839 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2840
2841         * iterators.C (operator++, ParPosition): reintroduce some
2842         const_cast for the benefit of older compilers.
2843
2844 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2845
2846         * text3.C (dispatch): do not modify clipboard when doing
2847         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2848         LFUN_DELETE_SKIP on a selection selection
2849
2850 2003-06-16  André Pönitz  <poenitz@gmx.net>
2851
2852         * BufferView.C:
2853         * buffer.C:
2854         * buffer.h:
2855         * paragraph.C:
2856         * tabular.[Ch]: IU of clone() and getLabelList();
2857
2858 2003-06-13  André Pönitz  <poenitz@gmx.net>
2859
2860         * tabular.h: compactification
2861
2862 2003-06-12  André Pönitz  <poenitz@gmx.net>
2863
2864         * tabular.C:
2865         * tabular.h:
2866         * tabular_funcs.h: some renaming plus whitespace
2867
2868 2003-06-12  André Pönitz  <poenitz@gmx.net>
2869
2870         * BufferView.C:
2871         * BufferView_pimpl.C:
2872         * CutAndPaste.C:
2873         * buffer.C:
2874         * iterators.[Ch]:
2875         * lyxfunc.C:
2876         * text.C:
2877         * toc.C: Return a Paragraph & for ParIterator::operator*()
2878
2879 2003-06-11  John Levon  <levon@movementarian.org>
2880
2881         * lyx_main.C:
2882         * ToolbarBackend.h:
2883         * ToolbarBackend.C: add "Toolbars" section and
2884         put the flags there
2885
2886 2003-06-10  Angus Leeming  <leeming@lyx.org>
2887
2888         * lfuns.h:
2889         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2890
2891         * lyxfunc.C (dispatch): invoke it.
2892
2893 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2894
2895         * main.C: protect <ios> with HAVE_IOS
2896         (main): protect sync_with_stdio with HAVE_IOS
2897
2898 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2899
2900         * text2.C (cutSelection): adjust
2901         (pasteSelection): adjust
2902
2903         * messages.C: handle get of empty string
2904
2905         * main.C (main): use sync_with_stdio(false)
2906
2907         * lyxfunc.C (dispatch): adjust
2908
2909         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2910         (WriteAs): remove unneeded BufferView arg.
2911
2912         * bufferparams.h: use correct types on papersize, papersize2 and
2913         paperpackage.
2914
2915         * bufferparams.C (readToken): adjust for type
2916         (writeLaTeX): add missing cases to switch.
2917
2918         * bufferlist.C (quitWriteBuffer): adjust
2919         (close): adjust
2920
2921         * buffer.C (asciiParagraph): remove some commented code.
2922
2923         * CutAndPaste.C: remove current_view extern variable.
2924         (cutSelection): add BufferParams arg.
2925         (eraseSelection): add BufferParams arg.
2926         (pasteSelection): add Buffer const & arg
2927
2928 2003-06-07  John Levon  <levon@movementarian.org>
2929
2930         * buffer.C:
2931         * paragraph_funcs.C:
2932         * paragraph_pimpl.C:
2933         * text.C:
2934         * text2.C:
2935         * paragraph.h:
2936         * paragraph.C: allow InsetERT to freely space lines,
2937         and some consolidation of code
2938
2939 2003-06-06  José Matos  <jamatos@fep.up.pt>
2940
2941         * buffer.C (makeDocBookFile): fix bug #821
2942
2943 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2944
2945         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2946
2947 2003-06-04  Angus Leeming  <leeming@lyx.org>
2948
2949         * buffer.C: bump format to 224.
2950
2951 2003-06-05  André Pönitz  <poenitz@gmx.net>
2952
2953         * text2.C (redoParagraphs): remove two const_cast<>
2954
2955 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2956
2957         * ParagraphList.h: remove last remnants of NO_STD_LIST
2958
2959 2003-06-03  Angus Leeming  <leeming@lyx.org>
2960
2961         * factory.C (createInset): small change to the way InsetExternal's params
2962         are set.
2963
2964 2003-06-04  André Pönitz  <poenitz@gmx.net>
2965
2966         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2967
2968         * paragraph_pimpl.h:
2969         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2970
2971         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2972
2973         * undo_funcs.C: make some simple cases of undo work again
2974
2975 2003-06-03  John Levon  <levon@movementarian.org>
2976
2977         * ispell.C: HPUX doesn't have sys/select.h
2978         (from Albert Chin)
2979
2980 2003-06-03  John Levon  <levon@movementarian.org>
2981
2982         * CutAndPaste.C: update tabular and include inset
2983         buffer references
2984
2985         * buffer.h:
2986         * paragraph.h:
2987         * paragraph.C: remove owningBuffer(), don't pass Buffer
2988         to clone()
2989
2990         * factory.C: insetGraphicsParams changed
2991
2992 2003-06-02  John Levon  <levon@movementarian.org>
2993
2994         * LyXAction.C:
2995         * factory.C:
2996         * lfuns.h:
2997         * lyxfunc.C:
2998         * text3.C: remove insetparent
2999
3000 2003-06-02  John Levon  <levon@movementarian.org>
3001
3002         * buffer.h:
3003         * buffer.C: fix inset_iterator.end(), move out of line
3004         (bug 1149)
3005
3006 2003-06-01  John Levon  <levon@movementarian.org>
3007
3008         * text3.C: use a proper cut/paste when doing inset
3009         insert (from Jürgen Spitzmüller)
3010
3011 2003-06-01  John Levon  <levon@movementarian.org>
3012
3013         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3014
3015 2003-05-30  André Pönitz  <poenitz@gmx.net>
3016
3017         * rowpainter.C: unify second drawing phase
3018
3019 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3020
3021         * trans_mgr.C: remove one case of current_view
3022
3023         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3024
3025         * paragraph_funcs.h: remove paragraph.h include
3026
3027         * paragraph.h: delete NO_STD_LIST stuff
3028
3029         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3030
3031         * buffer.h: remove paragraph.h include
3032
3033         * ParagraphList.C: delete file
3034
3035         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3036
3037         * toc.C (getTocList): adjust
3038
3039         * paragraph_pimpl.C (validate): adjust
3040
3041         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3042
3043         * paragraph.C (Paragraph): adjust
3044         (getPositionOfInset): use const_iterator, adjust
3045         (bibitem): use const_iterator, adjust
3046         (setInsetOwner): adjust
3047
3048         * iterators.C (operator++): adjust
3049
3050         * InsetList.[Ch]: Replace selfmade iterator with standard
3051         vector::iterator also introduce const_iterator. Remove getPos,
3052         getInset and setInset from InsetTable. Adjust accordingly.
3053
3054         * BufferView.C (lockInset): adjust
3055         (ChangeInsets): adjust
3056
3057         * tabular.[Ch]: delete commented same_id functions
3058
3059 2003-05-28  John Levon  <levon@movementarian.org>
3060
3061         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3062
3063 2003-05-28  André Pönitz  <poenitz@gmx.net>
3064
3065         * metricsinfo.[Ch]: remove 'fullredraw' member
3066
3067 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3068
3069         * lyxtextclass.C (operator): remove caching.
3070
3071 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3072
3073         * text3.C: adjust
3074
3075         * text2.C (cursorBottom): adjust
3076         (setCounter): use ParagraphList::find, adjust
3077
3078         * text.C (workWidth): use ParagraphList::find, adjust
3079
3080         * lyxcursor.C (LyXCursor): adjust
3081
3082         * buffer.C (inset_iterator): adjust
3083
3084         * ParagraphList.h: make iterator(value_type) private, make
3085         ParagraphList a friend of iterator.
3086
3087         * ParagraphList.C (find): new function
3088
3089         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3090
3091 2003-05-27  André Pönitz  <poenitz@gmx.net>
3092
3093         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3094
3095 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3096
3097         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3098
3099 2003-05-26  John Levon  <levon@movementarian.org>
3100
3101         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3102
3103 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3104
3105         * remove same_id from function signatures, adjust.
3106
3107 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3108
3109         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3110
3111         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3112
3113         * paragraph.C (Paragraph): get rid of same_ids parameter
3114
3115         * ParagraphList.C (insert): adjust
3116         (push_back): adjust
3117
3118 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3119
3120         * paragraph_funcs.C (breakParagraph): adjust
3121         (breakParagraphConservative): adjust
3122
3123         * buffer.C (readParagraph): adjust
3124
3125         * ParagraphList.C (insert): take a reference instead of a pointer
3126         (insert): adjust
3127
3128         * paragraph.[Ch] (id): new function
3129
3130         * bufferlist.C (newFile): adjust
3131
3132         * ParagraphList.C (ParagraphList): adjust
3133         (assign): adjust
3134         (push_back): take a reference instead of a pointer.
3135
3136         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3137
3138         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3139         instead.
3140
3141         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3142         set else use old code.
3143
3144         * ParagraphList.C: remove all NO_NEXT code and only compile this
3145         code of NO_STD_LIST is set.
3146
3147 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3148
3149         * BufferView_pimpl.C:
3150         * TextCache.C:
3151         * TextCache.h:
3152         * bufferlist.C:
3153         * errorlist.h:
3154         * format.C:
3155         * format.h:
3156         * graph.C:
3157         * lyxfunc.C:
3158         * lyxrc.C:
3159         * graphics/GraphicsConverter.C:
3160         * graphics/PreviewLoader.C: header adjustment
3161
3162 2003-05-23  Angus Leeming  <leeming@lyx.org>
3163
3164         * LaTeXFeatures.[Ch] (useBabel): new method.
3165         * bufferparams.C (writeLaTeX): use it.
3166
3167 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3168
3169         * ParagraphList.h (set): remove unused function.
3170
3171 2003-05-23  André Pönitz  <poenitz@gmx.net>
3172
3173         * BufferView.C:
3174         * BufferView_pimpl.C:
3175         * buffer.C:
3176         * buffer.h:
3177         * lyxfunc.C:
3178         * undo_funcs.C: setUndo reworked
3179
3180         * iterators.[Ch]: add access to topmost ParagraphList
3181
3182         * lyxtext.[Ch] (workWidth): add a const
3183
3184 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3185
3186         * texrow.[Ch] (increasePos): remove function
3187         * exporter.C (export): removed unused var and outdated comment
3188
3189 2003-05-23  Angus Leeming  <leeming@lyx.org>
3190
3191         * latexrunparams.h: rename fragile as moving_arg.
3192         * paragraph.C (simpleTeXOnePar): ditto.
3193         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3194
3195 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3196
3197         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3198         (createUndo): ditto
3199         (textUndoOrRedo): comment out a currently unused var.
3200
3201         * paragraph.h (NO_NEXT): enable NO_NEXT
3202
3203         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3204
3205         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3206
3207         * exporter.C (Export): adjust for removeAutoInsets removal.
3208
3209         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3210
3211         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3212
3213         * BufferView.[Ch] (removeAutoInsets): delete function
3214
3215 2003-05-22  Angus Leeming  <leeming@lyx.org>
3216
3217         * latexrunparams.h: add a free_spacing variable.
3218
3219         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3220         to pass moving_arg, as the data is stored in runparams.fragile.
3221
3222         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3223         to Inset::latexOptional or to simpleTeXOnePar.
3224
3225         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3226         free_spacing arg to Inset::latexOptional.
3227
3228         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3229         free_spacing arg.
3230
3231 2003-05-22  Angus Leeming  <leeming@lyx.org>
3232
3233         * latexrunparams.h: add fragile and use_babel variables.
3234
3235         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3236         * buffer.C (makeLaTeXFile): store this returned value in
3237         runparams.use_babel, thus passing it to the inset::latex methods.
3238
3239         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3240         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3241
3242         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3243         longer has a fragile arg, as it is stored in runparams.fragile.
3244
3245         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3246         moving_arg parameter as the data is stored in runparams.fragile.
3247
3248         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3249         a fragile parameter as the data is stored in runparams.fragile.
3250
3251 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3252
3253         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3254
3255 2003-05-22  Angus Leeming  <leeming@lyx.org>
3256
3257         * latexrunparams.h: add a 'bool nice' which defaults to false.
3258
3259         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3260         now encapsulated within runparams.
3261
3262         * bufferlist.C (updateIncludedTeXfiles):
3263         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3264
3265 2003-05-22  Angus Leeming  <leeming@lyx.org>
3266
3267         * latexrunparams.h: new file containing struct LatexRunParams.
3268         * Makefile.am: add new file.
3269
3270         * LaTeX.[Ch] (c-tor, run):
3271         * buffer.[Ch] (makeLaTeXFile):
3272         * bufferlist.[Ch] (updateIncludedTeXfiles):
3273         * converter.C (convert, scanLog):
3274         * converter.[Ch] (runLaTeX):
3275         * exporter.C (Export):
3276         * paragraph.[Ch] (simpleTeXOnePar):
3277         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3278         * paragraph_funcs.[Ch] (latexParagraphs):
3279         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3280         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3281         pass around a LatexRunParams parameter.
3282
3283 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3284
3285         * paragraph.[Ch]: remove unused constructor
3286
3287         * ParagraphList.C (erase): new function, taking two iterators
3288
3289 2003-05-22  André Pönitz  <poenitz@gmx.net>
3290
3291         * undo_funcs.C: remove duplicated code
3292
3293         * iterator.[Ch]: operator=
3294
3295 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3296
3297         * tabular.C (SetMultiColumn): ws changes
3298
3299         * rowpainter.C (paintFirst): get rid of a ->previous
3300
3301         * lyx_cb.C (getPossibleLabel): parlist simplification
3302
3303         * BufferView.C (ChangeInsets): simplify slightly.
3304
3305 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3306
3307         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3308         * lfuns.h: new LFUN_SPACE
3309         * lyxfunc.C: protected space has a new lfun
3310         * paragraph_funcs.C: read new space insets
3311         * text3.C:
3312         * factory.C: handle new space insets
3313
3314 2003-05-22  André Pönitz  <poenitz@gmx.net>
3315
3316         * BufferView.C:
3317         * BufferView_pimpl.C:
3318         * buffer.[Ch]:
3319         * lyxfunc.C:
3320         * undo_funcs.C: return a ParIterator from getParFromID.
3321
3322         * iterators.[Ch]: add two const's
3323
3324 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3325
3326         * toc.C (getTocList): adjust
3327
3328         * iterators.[Ch]: rework for parlist
3329
3330         * buffer.C (par_iterator_begin): adjust
3331         (par_iterator_end): adjust
3332
3333         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3334
3335         * BufferView.C (removeAutoInsets): adjust
3336         (ChangeInsets): adjust
3337
3338 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3339
3340         * text.C (top_y): fix bug 1110
3341
3342 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3343
3344         * errorlist.[Ch]: added
3345         * buffer.C:
3346         * BufferView.[Ch]:
3347         * BufferView_pimpl.C:
3348         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3349         instead
3350
3351 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * Makefile.am: ensure that lyx is relinked upon changes to the
3354         various "convenience" libs.
3355
3356 2003-05-20  Angus Leeming  <leeming@lyx.org>
3357
3358         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3359         files are compiled in alphabetical order again.
3360
3361         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3362
3363 2003-05-19  Angus Leeming  <leeming@lyx.org>
3364
3365         * gettext.[Ch]: remove "char const * _(char const *)".
3366
3367 2003-05-19  André Pönitz  <poenitz@gmx.net>
3368
3369         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3370
3371         * Makefile.am:
3372         * BufferView.C:
3373         * DepTable.h:
3374         * LaTeXFeatures.C:
3375         * buffer.C:
3376         * lyxfont.C:
3377         * lyxlex.h:
3378         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3379
3380 2003-05-19  André Pönitz  <poenitz@gmx.net>
3381
3382         * buffer.C:
3383         * lyxlayout.[Ch]:
3384         * lyxtextclass.[Ch]:
3385         * paragraph.C:
3386         * paragraph_funcs.[Ch]:
3387         * text2.C:
3388         * text3.C: more insetenv work
3389
3390 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3391
3392         * ParagraphParameters.C (params2string): small bug fixed
3393
3394 2003-05-16  André Pönitz  <poenitz@gmx.net>
3395
3396         * debug.C:
3397         * bufferview_funcs.C: patch from Kornel Benko to prevent
3398           crash when _(...) is called twice in a statement
3399
3400 2003-05-16  André Pönitz  <poenitz@gmx.net>
3401
3402         * BufferView.C:
3403         * lyxfunc.C:
3404         * text.C:
3405         * text2.C:
3406         * text3.C:
3407         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3408
3409 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3410
3411         * lyx_main.C (init): remove spurious static_cast
3412
3413 2003-05-14  André Pönitz  <poenitz@gmx.net>
3414
3415         * BufferView.C: fix format string
3416
3417 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3418
3419         * BufferView.[Ch] (insertErrors): removed
3420         * BufferView.[Ch] (showErrorList): added
3421         * buffer.C (runChkTeX):
3422         * converter.C (scanLog): call showErrorList instead of inserterrors
3423
3424 2003-05-13  André Pönitz  <poenitz@gmx.net>
3425
3426         * BufferView_pimpl.C:
3427         * buffer.C:
3428         * bufferview_func.C:
3429         * MenuBackend.C:
3430         * lyxfunc.C:
3431         * lyxrc.C:
3432         * tex-accent.C:
3433         * text3.C:
3434         * toc.C:
3435         * tabular_funcs.h: tostr() from its own header
3436
3437         * ParagraphParameters.C:
3438         * ToolbarBackend.C:
3439         * bufferparams.C:
3440         * format.C:
3441         * lyxlex_pimpl.C:
3442         * text3.C: STRCONV()
3443
3444 2003-05-12  André Pönitz  <poenitz@gmx.net>
3445
3446         * BufferView.C:
3447         * BufferView_pimpl.C:
3448         * CutAndPaste.C:
3449         * LaTeX.C:
3450         * LaTeXFeatures.C:
3451         * ParagraphParameters.C:
3452         * buffer.C:
3453         * bufferlist.C:
3454         * bufferparams.C:
3455         * bufferview_funcs.C:
3456         * converter.C:
3457         * counters.C:
3458         * debug.C:
3459         * exporter.C:
3460         * format.C:
3461         * importer.C:
3462         * lyx_cb.C:
3463         * lyx_main.C:
3464         * lyxfont.C:
3465         * lyxfunc.C:
3466         * lyxvc.C:
3467         * paragraph.C:
3468         * paragraph_funcs.C:
3469         * tabular.C:
3470         * tabular_funcs.C:
3471         * text2.C:
3472         * text3.C:  boost::format -> bformat  all over the place
3473
3474
3475 2003-05-09  André Pönitz  <poenitz@gmx.net>
3476
3477         * LColor.[Ch]: Pimpl the #include <map> away
3478
3479 2003-05-09  John Levon  <levon@movementarian.org>
3480
3481         * bufferlist.C: never remove emergency saves
3482
3483 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3484
3485         * Makefile.am: better lib building
3486
3487 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3488
3489         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3490         instead.
3491         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3492         (simpleTeXSpecialChars): adjust
3493         (simpleTeXSpecialChars): adjust
3494         * paragraph.C (simpleTeXOnePar): adjust
3495         * buffer.C (makeLaTeXFile): adjust
3496
3497         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3498
3499         * text2.C (changeDepth): parlist cleanup
3500         (getColumnNearX): ditto
3501
3502         * rowpainter.C (getLabelFont): parlist cleanup
3503
3504         * bufferlist.C (newFile): parlist cleanup
3505
3506         * CutAndPaste.C (eraseSelection): parlist cleanup
3507
3508         * BufferView_pimpl.C (trackChanges): parlist cleanup
3509         (dispatch): ditto
3510
3511         * BufferView.C (lockInset): parlist cleanup.
3512         (ChangeInsets): ditto
3513
3514 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3515
3516         * CutAndPaste.h: Update file header.
3517
3518         * CutAndPaste.C: Update file header.
3519         Store the parts cut out of the Document in a limited_stack.
3520         (copySelection): adjust
3521         (pasteSelection): new function, takes the index in the limited stack.
3522         (nrOfParagraphs): adjust
3523         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3524         simplify error inset insertion.
3525         (checkPastePossible): adjust
3526
3527 2003-05-06  John Levon  <levon@movementarian.org>
3528
3529         * text2.C: don't cast wrap inset to float
3530
3531 2003-05-05  André Pönitz  <poenitz@gmx.net>
3532
3533         * iterator.C:
3534         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3535
3536         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3537           few naked Paragraph *.
3538
3539 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3540
3541         * bufferparams.C: Output warning if a document with missing
3542         TeX document class is loaded
3543         * exporter.C: Disable TeX exports if the document class is missing
3544         * lyxtextclass.C:
3545         * lyxtextclass.h:
3546         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3547         isTeXClassAvailable()
3548
3549 2003-05-03  John Levon  <levon@movementarian.org>
3550
3551         * BufferView.h:
3552         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3553         explicit cursor show/hide
3554
3555         * BufferView_pimpl.h:
3556         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3557         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3558
3559         * lyxfunc.C: hide cursor before dispatching.
3560
3561         * lyx_cb.C:
3562         * lyxfind.C:
3563         * text.C:
3564         * text3.C: remove explicit cursor hides
3565
3566 2003-05-02  André Pönitz  <poenitz@gmx.net>
3567
3568         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3569
3570         * undo_funcs.C:
3571         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3572           linked lists
3573
3574         * text2.C: tiny whitespace
3575
3576 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3577
3578         * undo_funcs.C: almost only ws changes.
3579
3580         * ParagraphList.C (splice): just return if pl is empty.
3581
3582 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3583
3584         * ParagraphList.C (splice): new function.
3585
3586         * CutAndPaste.C (pasteSelection): use it
3587
3588 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3589
3590         * CutAndPaste.C (pasteSelection): remove the last next and
3591         previous from this file.
3592
3593 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3594
3595         * CutAndPaste.C (pasteSelection): more clean up, user proper
3596         ParagraphList functions for pasteing.
3597
3598         * ParagraphList.C (insert): new function, three arg insert
3599
3600 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3601
3602         * ParagraphList.C (insert): new function, three arg insert
3603
3604         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3605         not on paragraphs.
3606
3607 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3608
3609         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3610
3611 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3612
3613         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3614
3615 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3616
3617         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3618         (copySelection): clean up a bit.
3619         (pasteSelection): use make_pair
3620
3621         * ParagraphList.C (ParagraphList): implement copy constructor
3622         (operator=): implement, base on copy constructor.
3623         (assign): new func
3624
3625         * paragraph.C (erase): return a bool
3626
3627         * paragraph_pimpl.C (erasePos): remove function, move contents...
3628         (erase): ... here. Return a bool.
3629         (erase): call erase instead of erasePos.
3630
3631 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3632
3633         * ParagraphList.h: define PitPosPair
3634         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3635         ParagraphList, fix a bug on pasting multiple pars
3636         * text2.C: change interface to C&P
3637
3638 2003-04-30  André Pönitz  <poenitz@gmx.net>
3639
3640         * undo_func.C: revert part of yesterday's patch 2
3641
3642 2003-04-30  John Levon  <levon@movementarian.org>
3643
3644         * LColor.C: s/tabular/table/
3645
3646 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3647
3648         * text3.C (dispatch): do not convert iterator -> pointer
3649         * undo_funcs.C (setCursorParUndo): ditto
3650         * text_funcs.C (transposeChars): ditto
3651
3652         * text2.C (setLayout): ws changes only
3653
3654         * text.C (breakParagraph): do not convert iterator -> pointer
3655         (insertChar): ditto
3656         (acceptChange): ditto
3657         (rejectChange): ditto
3658         (changeCase): ditto
3659         (Delete): ditto
3660         (backspace): ditto
3661
3662         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3663         pointer
3664
3665 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3666
3667         * text3.C (gotoInset): YABG (yet another bad getChar)
3668
3669 2003-04-29  André Pönitz  <poenitz@gmx.net>
3670
3671         * paragraph.h: make operator= private unimplemented as long as
3672           it is unusable
3673
3674         * ParagraphList.C: whitespace
3675
3676         * paragraph.[Ch]:
3677         * paragraph_pimpl.[Ch]:
3678         * paragraph_funcs.C:
3679         * CutAndPaste.C:
3680         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3681
3682         * text2.C:
3683           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3684
3685 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3686
3687         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3688         * paragraph.[Ch] (erase):
3689         * paragraph_pimpl.[Ch] (erase): change return type and value
3690         * text2.C (cutSelection): some rework
3691
3692 2003-04-28  John Levon  <levon@movementarian.org>
3693
3694         * bufferlist.C: changes for unsaved changes dialog
3695
3696 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * bufferlist.C (newFile): set language (messages_) for new
3699         documents also.
3700
3701         * buffer.C (readFile): ws changes only.
3702
3703 2003-04-28  André Pönitz  <poenitz@gmx.net>
3704
3705         * undo_funcs.C:
3706         * lyxfunc.C:
3707         * buffer.[Ch]:
3708         * BufferView_pimpl.C:
3709         * BufferView.C: getParFromID related ParagraphList::iterator changes
3710
3711 2003-04-28  André Pönitz  <poenitz@gmx.net>
3712
3713         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3714           Changes
3715
3716 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3717
3718         * messages.C: remove one more localedir class variable.
3719
3720 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * messages.C (getLocaleDir): singleton generation function
3723         (Pimpl): use it.
3724         (Messages): add a default constructor.
3725
3726         * main.C (main): do not setup localedir here, do not call
3727         gettext_init.
3728
3729         * gettext.C (_): use it.
3730         (gettext_init): delete funciton
3731
3732 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * gettext.C (getLyXMessages): new singleton generating function.
3735
3736         * buffer.C (updateDocLang): adjust
3737
3738         * Makefile.am (messages.o): add target
3739         (main.o): remove target
3740
3741 2003-04-27  John Levon  <levon@movementarian.org>
3742
3743         * bufferlist.C:
3744         * lyx_cb.C:
3745         * lyxfunc.C:
3746         * lyxvc.C: specify cancel button in Alert::prompt
3747
3748 2003-04-26  John Levon  <levon@movementarian.org>
3749
3750         * text3.C:
3751         * lyxfunc.C:
3752         * lfuns.h:
3753         * LyXAction.C: add LFUN_INSET_SETTINGS
3754
3755         * lyxfunc.C: don't enable tabular-feature when there's
3756         just any locking inset
3757
3758 2003-04-26  John Levon  <levon@movementarian.org>
3759
3760         * bufferlist.C: re-add Cancel to buffer close question
3761
3762         * lyxfunc.C: fix import UI a bit
3763
3764 2003-04-25  John Levon  <levon@movementarian.org>
3765
3766         * gettext.C: remove the broken asserts for now
3767
3768 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3769
3770         * messages.C: make case where setlocale cannot comply work better.
3771
3772         * buffer.C (updateDocLang): new function
3773         (changeLanguage): use it
3774         (readFile): use it
3775
3776         * text2.C (setCounter): use B_ a bit.
3777
3778         * lyxlayout.C (Read): be sure to trim the label strings.
3779
3780         * messages.C (Messages): fix typo in comment
3781
3782         * buffer.C (readFile): set message_ after file is loaded.
3783         (makeDocBookFile): remove double return
3784         (changeLanguage): reset message_ upon language change.
3785         (B_): new func, use this to get translated buffer strings.
3786
3787         * main.C: add myself and Jean Marc as authors.
3788
3789 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3790
3791         * messages.[hC]: pimplify Messages, and three different pimpls to be
3792         used in different circumstances.
3793
3794         * gettext.[Ch]: change for use with new message code.
3795
3796 2003-04-24 André Pönitz <poenitz@gmx.net>
3797
3798         * factory.C: support for eqref
3799
3800 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * messages.[Ch]: add missing char
3803
3804         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3805
3806         * messages.[Ch]: New files
3807
3808 2003-04-18  John Levon  <levon@movementarian.org>
3809
3810         * BufferView.h:
3811         * BufferView.C:
3812         * BufferView_pimpl.C:
3813         * lfuns.h:
3814         * LyXAction.C:
3815         * lyxtext.h:
3816         * text2.C: remove layout-copy/paste (bug 778)
3817
3818 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3819
3820         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3821
3822 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3823
3824         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3825         if they succeed. Act accordingly.
3826
3827 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * text2.C (setCharFont): adjust
3830         (setCounter): adjust
3831         (insertStringAsLines): adjust
3832
3833         * text.C (leftMargin): adjust
3834         (setHeightOfRow): adjust
3835
3836         * rowpainter.C (paintFirst): adjust
3837         (paintLast): adjust
3838
3839         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3840         (outerHook): ditto
3841         (isFirstInSequence): ditto
3842         (getEndLabel): ditto
3843         (outerFont): adjust
3844
3845         * paragraph.C (getParLanguage): comment out some hard stuff.
3846
3847         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3848         (sgmlError): ditto
3849         (simpleDocBookOnePar): ditto
3850         (makeDocBookFile): use ParagraphList::iterator
3851
3852         * CutAndPaste.C (pasteSelection): adjust
3853
3854 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * text2.C (getFont): adjust
3857         (getLayoutFont): adjust
3858         (getLabelFont): adjust
3859
3860         * paragraph_funcs.C (TeXOnePar): adjust
3861
3862         * buffer.C (simpleLinuxDocOnePar): adjust
3863         (simpleDocBookOnePar): adjust
3864
3865         * CutAndPaste.C (pasteSelection): adjust
3866
3867         * BufferView.C (getEncoding): adjust
3868
3869         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3870
3871 2003-04-16  John Levon  <levon@movementarian.org>
3872
3873         * lyxfind.C: use parlist stuff for search/changes
3874
3875 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3876
3877         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3878
3879         * text2.C (deleteEmptyParagraphMechanism): adjust
3880
3881         * text2.[Ch] (ownerParagraph): delete func (both of them
3882
3883 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3884
3885         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3886
3887 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3888
3889         * ParagraphList.C: prepare for NO_NEXT
3890
3891 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3892
3893         * text2.C (getFont): adjust
3894         (getLayoutFont): adjust
3895         (getLabelFont): adjust
3896
3897         * paragraph.C (getFont): adjust
3898         (getLabelFont): adjust
3899         (getLayoutFont): adjust
3900
3901         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3902
3903 2003-04-15  John Levon  <levon@movementarian.org>
3904
3905         From Angus Leeming
3906
3907         * lyx_main.C: handle Include in .ui files
3908
3909 2003-04-15  John Levon  <levon@movementarian.org>
3910
3911         * MenuBackend.C: make the doc files length shorter
3912
3913         * ToolbarBackend.h:
3914         * ToolbarBackend.C: handle toolbar placement flags,
3915         Minibuffer
3916
3917 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3918
3919         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3920         adjust
3921
3922         * paragraph_funcs.C (TeXOnePar): adjust
3923
3924         * paragraph.C (getLabelFont): add outerfont arg, adjust
3925         (getLayoutFont): ditto
3926         (simpleTeXOnePar): adjust
3927
3928         * paragraph_pimpl.C (realizeFont): delete func
3929
3930 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3931
3932         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3933         row argument, constify cur argument.
3934
3935 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3936
3937         * text2.C (getFont): adjust
3938         (getLayoutFont): adjust
3939         (getLabelFont): adjust
3940
3941         * paragraph_funcs.C (TeXOnePar): adjust
3942         (outerFont): new func...
3943         (realizeFont): ...moved out from here, changed this to facilitate
3944         transition
3945
3946         * paragraph.C (getFont): take outerfont as arg, adjust
3947         (simpleTeXOnePar): add outerfont arg, adjust
3948
3949         * buffer.C (simpleLinuxDocOnePar): adjust
3950         (simpleDocBookOnePar): adjust
3951
3952         * CutAndPaste.C (pasteSelection): adjust
3953
3954         * BufferView.C (getEncoding): adjust
3955
3956 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3957
3958         * text2.C (setCharFont): adjust
3959         (setCounter): adjust
3960
3961         * text.C (leftMargin): adjust
3962         (setHeightOfRow): adjust
3963
3964         * rowpainter.C (paintFirst): adjust
3965         (paintLast): adjust
3966
3967         * paragraph_pimpl.C (realizeFont): adjust
3968
3969         * paragraph.C (isFirstInSequence): move from here...
3970         * paragraph_funcs.C (isFirstInSequence): ...to here
3971
3972         * paragraph.C (outerHook): move from here...
3973         * paragraph_funcs.C (outerHook): ...to here
3974
3975         * paragraph.C (depthHook): move from here...
3976         * paragraph_funcs.C (depthHook): ...to here
3977
3978         * paragraph.C (getEndLabel): move from here...
3979         * paragraph_funcs.C (getEndLabel): ...to here
3980
3981         * text2.C (realizeFont): move from here...
3982         * paragraph_funcs.C (realizeFont): ...to here
3983
3984 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3985
3986         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3987
3988 2003-04-14  Angus Leeming  <leeming@lyx.org>
3989
3990         * LColor.[Ch]: scrap LColor mathcursor.
3991
3992 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3993
3994         * lyxlex.[Ch] (text): delete function
3995         * trans.C (Load): adjust
3996         * paragraph_funcs.C (readParToken): adjust
3997
3998 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3999
4000         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4001         vector<char> instead of a char[].
4002
4003         * lyxlex_pimpl.C (getString): adjust
4004         (next): adjust
4005         (lex): use getString
4006         (eatLine): adjust
4007         (nextToken): adjust
4008
4009         * lyxlex.C (text): use pimpl_->getString()
4010         (getBool): ditto
4011         (findToken): ditto
4012
4013 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4014
4015         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4016         (makeFontEntriesLayoutSpecific): temp var for par.size()
4017         (setLayout): temp var for ownerParagraphs().end()
4018         (fullRebreak): temp var for rows().end()
4019         (selectionAsString): temp var for boost::next(startpit), realize
4020         that the while really is a regular for loop.
4021         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4022         setCursor in one place.
4023         (setParagraph): temp vr for ownerParagraphs().end()
4024         (updateCounters): make the while loop a for loop
4025         (cutSelection): temp var for ownerParagraphs().end()
4026         (updateInset): make the do {} while() a regular for loop
4027         (getCursorX): use temp vars
4028         (setCurrentFont): use temp vars
4029         (getColumnNearX): use temp vars
4030
4031 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4032
4033         * text.C (transformChar): use temp var for getChar
4034         (computeBidiTables): use temp var for row->par()
4035         (fill): move temp vars for row->par() and pit->layout() earlier in
4036         the function.
4037         (labelFill): use temp var for row->par()
4038         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4039         asc and desc, realize that pit never changes and that firstpit is
4040         just a duplicate and not needed. Exchange rit->par() with pit in a
4041         lot of places.
4042         (breakAgain): use a temp var for boost::next(rit)
4043         (breakAgainOneRow): ditto
4044         (breakParagraph): use a temp var for rows().begin()
4045         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4046         (cursorRightOneWord): use temp var for cursor.par() and
4047         cursor.pos(), remove usage of tmpcursor.
4048         (cursorLeftOneWord): use temp var for cursor.par() and
4049         cursor.pos() only set cur at end of function.
4050
4051 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4052
4053         * text.C, text2.C: exchange all usage of Paragraph::next with
4054         boost::next(ParagraphList::iterator)
4055
4056         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4057
4058         * text2.C (cursorTop): simplify implementation
4059         (cursorBottom): ditto
4060         (setParagraph): use ParagraphList::iterator
4061         (setCurrentFont): adjust
4062         (getColumnNearX): adjust
4063         (cursorRight): adjust
4064         (cursorLeft): remove usage of Paragraph::previous
4065         (cursorUpParagraph): ditto
4066         (deleteEmptyParagraphMechanism): slight cleanup
4067
4068         * text.C (isBoundary): take a Paragraph const & instead of a
4069         pointer as arg.
4070         (addressBreakPoint): ditto
4071         (leftMargin): remove usage of Paragraph::previous.
4072         (setHeightOfRow): ditto
4073         (cursorLeftOneWord): ditto
4074         (selectNextWordToSpellcheck): ditto
4075         (Delete): ditto
4076         (backspace): ditto
4077         (breakParagraph): remove one usage of Paragraph::next
4078         (redoParagraph): ditto
4079         (acceptChange): ditto
4080         (insertChar): adjust
4081         (rowBreakPoint): adjust
4082
4083         * bufferview_funcs.C (toggleAndShow): adjust
4084
4085 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4086
4087         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4088         methods to access it.
4089         * lyxtext.h:
4090         * text.C: Added updateRowPositions to compute all row positions.
4091         Make top_y and getRowNearY() to use the cached y position
4092
4093 2003-04-11  John Levon  <levon@movementarian.org>
4094
4095         * text.C (rowBreakPoint): reintroduce the labelEnd
4096         checks, code copied from the row fill stuff. Deep voodoo.
4097
4098         * text.C (fill): add a comment and debugging for the
4099         next poor soul.
4100
4101 2003-04-11  John Levon  <levon@movementarian.org>
4102
4103         * text.C: make sure fullrow insets get wrapped to the next line,
4104         even when they're in a manual label
4105
4106 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4107
4108         * text2.C (insertParagraph): make it take ParagraphList::iterator
4109         as arg.
4110         (setLayout): make it return ParagraphList::iterator
4111         (redoParagraphs): ditto
4112         (setCounter): ditto
4113         (checkParagraph): ditto
4114
4115         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4116
4117         * text2.C: adjust several funcs.
4118         (realizeFont): take a ParagraphList::iterator as arg.
4119         (getLayoutFont): ditto
4120         (getLabelFont): ditto
4121         (setCharFont): ditto
4122
4123         * text.C: adjust several funcs.
4124
4125 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4126
4127         * text.C (selectNextWordToSpellcheck): don't accidentally
4128         skip insets
4129
4130 2003-04-10  John Levon  <levon@movementarian.org>
4131
4132         * ToolbarBackend.C (getIcon): special handling for
4133         LFUN_MATH_DELIM
4134
4135 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4136
4137         * text2.C (cursorRight): a getChar assert fixed
4138
4139 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4140
4141         * text2.C (getFont): change to take a ParagraphList::iterator
4142         instead of Paragraph*
4143         Adjust several functions.
4144
4145         * text.C (transformChar): change to take a ParagraphList::iterator
4146         instead of Paragraph*
4147         (singleWidth): ditto
4148         Adjust several functions.
4149
4150         * rowpainter.C: adjust several functions
4151         * rowpainter.h:store a ParagraphList::iterator and not a
4152         Paragraph&.
4153
4154
4155 2003-04-09  John Levon  <levon@movementarian.org>
4156
4157         * lyxfunc.C:
4158         * lfuns.h:
4159         * LyXAction.h:
4160         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4161         and the "help" bits as well
4162
4163 2003-04-09  John Levon  <levon@movementarian.org>
4164
4165         * ToolbarBackend.h:
4166         * ToolbarBackend.C: allow multiple toolbars
4167
4168 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4169
4170         * undo_funcs.C (setCursorParUndo): adjust
4171
4172         * text_funcs.C (transposeChars): adjust
4173
4174         * text3.C (gotoNextInset): adjust
4175         (dispatch): adjust
4176
4177         * text2.C (setLayout): adjust
4178         (changeDepth): adjust
4179         (setFont): adjust
4180         (redoParagraphs): adjust
4181         (selectionAsString): adjust
4182         (setParagraph): adjust
4183         (insertInset): adjust
4184         (cutSelection): adjust
4185         (copySelection): adjust
4186         (pasteSelection): adjust
4187         (insertStringAsLines): adjust
4188         (updateInset): adjust
4189         (setCursor): change to take a ParagraphList::iterator parameter
4190         (setCursorIntern): change to take a ParagraphList::iterator parameter
4191         (setCurrentFont): adjust
4192         (cursorLeft): adjust
4193         (cursorRight): adjust
4194         (deleteEmptyParagraphMechanism): adjust
4195
4196         * text.C (breakParagraph): adjust
4197         (insertChar): adjust
4198         (acceptChange): adjust
4199         (rejectChange): adjust
4200         (selectNextWordToSpellcheck): adjust
4201         (changeCase): adjust
4202         (Delete): adjust
4203         (backspace): adjust
4204
4205         * lyxfind.C (SearchForward): adjust
4206         (SearchBackward): adjust
4207         (nextChange): adjust
4208
4209         * lyxcursor.C (par): adjust
4210
4211         * lyxcursor.h: store a ParagraphList::iterator instead of a
4212         Paragraph*
4213
4214         * lyx_cb.C (getPossibleLabel): adjust
4215
4216         * bufferview_funcs.C (toggleAndShow): adjust
4217
4218         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4219         (dispatch): adjust
4220
4221         * BufferView.C (removeAutoInsets): adjust
4222         (lockedInsetStoreUndo): adjust
4223
4224 2003-04-09  John Levon  <levon@movementarian.org>
4225
4226         * ToolbarBackend.C: try icon without argument
4227         if with argument fails
4228
4229 2003-04-08  John Levon  <levon@movementarian.org>
4230
4231         * ToolbarBackend.h:
4232         * ToolbarBackend.C: add getIcon(), handle tooltip,
4233         and change from "Icon" to "Item".
4234
4235 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4236
4237         * BufferView.C (lockInset): another bad getchar crunched
4238
4239 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4242         again)
4243
4244 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4245
4246         * lyxfind.C (searchForward, searchBackwards): bug 782
4247
4248 2003-04-07  John Levon  <levon@movementarian.org>
4249
4250         * paragraph.C: remove dead comment
4251
4252         * text.C: remove troublesome depth-fiddling code
4253         in leftMargin() and rightMargin() (bug 1017)
4254
4255         * text.C: fix breaking of rows in nested lists
4256         (bug 1004)
4257
4258         * text2.C (updateCounters): fix up depth values
4259         (bug 1013)
4260
4261 2003-04-07  John Levon  <levon@movementarian.org>
4262
4263         * BufferView_pimpl.C: clear message when doc finishes resizing,
4264         and after a mouse event
4265
4266         * lyxfunc.C: clear message after exiting inset
4267
4268 2003-04-07  John Levon  <levon@movementarian.org>
4269
4270         * bufferview_funcs.C: show math status not outside
4271         status in the statusbar
4272
4273 2003-04-07  John Levon  <levon@movementarian.org>
4274
4275         * lyxfunc.C: note status changed after a depth change
4276
4277 2003-04-04  Angus Leeming  <leeming@lyx.org>
4278
4279         * LaTeX.h: move AuxInfo operator==, != out of line.
4280         Remove LaTeX virtual destructor; nothing derives from it.
4281         Move operator()() out of public area and rename it startscript().
4282         Change protected for private.
4283
4284 2003-04-04  Angus Leeming  <leeming@lyx.org>
4285
4286         * lyxfunc.C:
4287         * text2.C: remove unneeded #includes.
4288
4289 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4290
4291         * text2.C (dEPM): fix the heigth of the next row
4292
4293 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4294
4295         * text.C: squashed an invalid getChar requester + some ws changes
4296
4297 2003-04-03  John Levon  <levon@movementarian.org>
4298
4299         * bufferview_funcs.h:
4300         * bufferview_funcs.C:
4301         * lyxfunc.C:
4302         * lyxtext.h:
4303         * text2.C: make getStatus work for the env depth lfuns
4304
4305 2003-04-03  John Levon  <levon@movementarian.org>
4306
4307         * bufferview_funcs.h:
4308         * bufferview_funcs.C:
4309         * lyxfunc.C:
4310         * lyxtext.h:
4311         * text2.C: parlistize decDepth(), by merging it with incDepth()
4312
4313 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4314
4315         * lyxrow.h: store a ParagraphList::iterator instead of a
4316         Paragraph* and adjust other class functions to suit.
4317
4318         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4319         above.
4320
4321 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4322
4323         * text2.C (setCursor): do not anchor to cursor row for the time being
4324
4325 2003-04-02  John Levon  <levon@movementarian.org>
4326
4327         * LyXAction.C:
4328         * lfuns.h:
4329         * lyx_main.C:
4330         * lyxtext.h:
4331         * text.C:
4332         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4333
4334 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * paragraph.h: make ParagraphList and ParagraphList::iterator
4337         friends of Paragraph.
4338
4339         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4340
4341         * ParagraphList.C: Use the private next_ and previous_ from
4342         Paragraph.
4343
4344 2003-04-01  John Levon  <levon@movementarian.org>
4345
4346         * ToolbarBackend.h:
4347         * ToolbarBackend.C:
4348         * Makefile.am: rename, remove defaults gunk
4349
4350         * MenuBackend.h:
4351         * MenuBackend.C: remove defaults gunk
4352
4353         * Languages.h:
4354         * Languages.C: remove defaults gunk
4355
4356         * lyx_main.h:
4357         * lyx_main.C: error out if files couldn't be found.
4358
4359 2003-04-02  John Levon  <levon@movementarian.org>
4360
4361         * text2.C: make incDepth() use parlist
4362
4363 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4364
4365         * undo_funcs.C (firstUndoParagraph): adjust
4366
4367         * text3.C (gotoInset): adjust
4368         (dispatch): adjust, and rewrite loop.
4369
4370         * text2.C (init): adjust, and rewrite loop.
4371         (redoParagraphs): adjust
4372         (updateInset): adjust, and rewrite loop.
4373         (deleteEmptyParagraphMechanism): adjust
4374
4375         * tabular.C (LyXTabular): adjust
4376         (SetMultiColumn): adjust
4377         (TeXRow): adjust
4378
4379         * lyxtext.[Ch] (ownerParagraph): delete function
4380         (ownerParagraphs): new function returns a ParagraphList.
4381
4382         * BufferView.C (removeAutoInsets): adjust
4383         (insertErrors): adjust
4384         (setCursorFromRow): adjust
4385
4386 2003-04-01  Angus Leeming  <leeming@lyx.org>
4387
4388         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4389         in the frontends.
4390
4391 2003-04-02  John Levon  <levon@movementarian.org>
4392
4393         * lyxtext.h:
4394         * text.C:
4395         * Makefile.am:
4396         * text_funcs.h:
4397         * text_funcs.C: make transposeChars a free function
4398
4399         * lyxrow_funcs.C: remove wrong comment
4400
4401 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4402
4403         * lyxtext.h: adjust
4404         * rowpainter.C: adjust
4405         * text.C: adjust
4406         * text2.C: adjust
4407         * text3.C: adjust
4408
4409         * lyxrow_funcs. [Ch]: new files
4410
4411         * lyxrow.[Ch]: remove next and previous pointers
4412         (next,previous): remove accessor functions
4413         (isParEnd): move to lyxrow_funcs
4414         (lastPos): move to lyxrow_funcs
4415         (nextRowIsAllInset): move to lyxrow_funcs
4416         (lastPrintablePos): move to lyxrow_funcs
4417         (numberOfSeparators): move to lyxrow_funcs
4418         (numberOfHfills): move to lyxrow_funcs
4419         (numberOfLabelHfills): move to lyxrow_funcs
4420         (hfillExpansion): move to lyxrow_funcs
4421
4422         * lyxfunc.C: adjust
4423
4424         * bufferview_funcs.C (toggleAndShow): adjust
4425
4426         * RowList.h: Remove class RowList from file leave just a
4427         std::list<Row>.
4428
4429         * RowList.C: delete file
4430
4431         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4432         and lyxrow_funcs.h
4433
4434 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * text3.C (cursorPrevious): adjust
4437         (cursorNext): adjust
4438         (dispatch): adjust
4439
4440         * text2.C (redoHeightOfParagraph): adjust
4441         (redoDrawingOfParagraph): adjust
4442         (setCursor): adjust
4443
4444         * text.C (breakParagraph): adjust
4445         (insertChar): adjust
4446         (backspace): adjust
4447
4448         * rowpainter.C (RowPainter): adjust
4449         (leftMargin): simplify and adjust
4450         (most rowpainter functions): adjust.
4451
4452         * rowpainter.h: store the row as RowList::iterator not as Row*
4453
4454         * lyxcursor.C (row): taka RowList::iterator as arg
4455         (irow): ditto
4456
4457         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4458         of Row*.
4459
4460 2003-04-01  Angus Leeming  <leeming@lyx.org>
4461
4462         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4463         stuff like bool Bool.
4464
4465 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4466
4467         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4468         rewrite a loop
4469
4470 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4471
4472         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4473         RowList::iterator.
4474
4475         * lyxtext.h (rows): drop one version and leve a const variant that
4476         returns a RowList::iterator.
4477
4478 2003-03-31  Angus Leeming  <leeming@lyx.org>
4479
4480         * text.C (fill): ensure that the signature is the same as that in the
4481         header file.
4482
4483 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4484
4485         * text2.C (redoParagraphs): adjust
4486         (updateCounters): adjust
4487         (checkParagraph): adjust
4488         (getColumnNearX): adjust and reformat a bit.
4489
4490         * text.C (top_y): adjust
4491         (workWidth): adjust
4492         (leftMargin): adjust
4493         (prepareToPrint): adjust
4494         (getRow): adjust
4495         (getRowNearY): adjust
4496
4497         * lyxtext.h: make rowlist_ mutable.
4498
4499         * RowList.h: add const_iterator
4500         * RowList.C: adjust for RowList::const_iterator.
4501
4502         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4503         adjust.
4504
4505 2003-03-31  John Levon  <levon@movementarian.org>
4506
4507         * lyxrc.h:
4508         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4509
4510         * lyx_main.C: set default fonts from using lyx_gui funcs
4511
4512         * exporter.C: pdf_mode moved from lyxrc
4513
4514         * lyx_cb.C:
4515         * lyxfunc.C: changes from above
4516
4517 2003-03-31  John Levon  <levon@movementarian.org>
4518
4519         * lyx_main.C: fix to the last fix
4520
4521 2003-03-31  John Levon  <levon@movementarian.org>
4522
4523         * bufferlist.C: "Load original" -> "Load Original"
4524
4525         * converter.C:
4526         * exporter.C:
4527         * importer.C:
4528         * lyx_main.C:
4529         * format.C: more Alert cleanups
4530
4531 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4532
4533         * text2.C (removeParagraph): make it take a RowList::iterator as
4534         arg, adjust.
4535         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4536         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4537
4538         * text.C (anchor_row): make it take a RowList::iterator as arg,
4539         adjust.
4540         (computeBidiTables): make it take a const reference to Row instead
4541         of Row pointer, adjust.
4542         (leftMargin): make it take a RowList::iterator as arg, adjust.
4543         (rowBreakPoint): adjust
4544         (breakAgainOneRow): make it take a RowList::iterator as arg,
4545         adjust.
4546         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4547
4548         * bufferview_funcs.C (toggleAndShow): adjust
4549
4550 2003-03-30  John Levon  <levon@movementarian.org>
4551
4552         * Makefile.am:
4553         * BoostFormat.h:
4554         * boost-inst.C: moved to support
4555
4556         * several files: changes as a result
4557
4558 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4559
4560         * text2.C (LyXText): adjust.
4561         (init): adjust
4562         (removeRow): make it take a RowList::iterator as arg, adjust.
4563         (fullRebreak): adjust
4564         (deleteEmptyParagraphMechanism): adjust
4565         (clearPaint): adjust
4566         (postPaint): adjust
4567
4568         * text.C (top_y): adjust
4569         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4570         (breakAgain): make it take a RowList::iterator as arg, adjust.
4571         (breakParagraph): adjust
4572         (insertChar): adjust
4573         (backspace): adjust
4574
4575         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4576         need_break_row, and refresh_row.
4577
4578         * text3.C (dispatch): adjust
4579
4580         * text2.C (checkParagraph): adjust
4581         (setCursor): adjust
4582         (setCursorFromCoordinates): adjust
4583
4584         * text.C (top_y): adjust
4585         (workWidth): adjust
4586         (getRow): make it return a RowList::iterator, adjust
4587         (getRowNearY): make it return a RowList::iterator, adjust
4588
4589         * text2.C (init): adjust
4590         (insertRow): remove function
4591         (insertParagraph): adjust
4592         (redoParagraphs): adjust
4593         (fullRebreak): adjust
4594         (updateCounters): adjust
4595
4596         * text.C (top_y): rewrite to use RowList iterators.
4597         (top_y): adjust
4598         (setHeightOfRow): rewrite to sue RowList iterators.
4599         (appendParagraph): adjust
4600         (breakAgain): adjust
4601         (breakAgainOneRow): adjust
4602         (breakParagraph): adjust
4603         (getRow): adjust
4604         (getRowNearY): adjust, and remove commented code.
4605
4606         * lyxtext.h (firstRow): delete function
4607         (lastRow): delete function
4608         (rows): new function (const and non-const versions.)
4609         (insertRow): delete function
4610
4611         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4612
4613 2003-03-29  John Levon  <levon@movementarian.org>
4614
4615         * BufferView_pimpl.C: always update scrollbar top
4616         because pasting text when we're anchored could mean we
4617         miss an update altogether
4618
4619 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4620
4621         * text2.C (init): use rowlist_.end() and not 0.
4622         (insertRow): change to take a RowList::iterator as arg, adjust
4623         for this.
4624         (insertParagraph): change to take a RowList::iterator as arg,
4625         adjust for this.
4626         (redoParagraphs): remove some debug msgs.
4627
4628         * text.C (appendParagraph): change to take a RowList::iterator
4629         arg, adjust for this.
4630         (breakAgain): add an assert
4631         (breakAgainOneRow): ditto
4632
4633 2003-03-29  John Levon  <levon@movementarian.org>
4634
4635         * text2.C: do not clear selection after inc/decDepth
4636         (bug 550)
4637
4638 2003-03-29  John Levon  <levon@movementarian.org>
4639
4640         * BufferView.C:
4641         * buffer.C: fix broken strerrors according to Lars
4642
4643 2003-03-29  John Levon  <levon@movementarian.org>
4644
4645         * converters.C: more Alert cleanups
4646
4647 2003-03-29  John Levon  <levon@movementarian.org>
4648
4649         * bufferview_funcs.C: remove pointless Alert
4650
4651         * buffer.C: fix confusing error message when
4652         a template is chmoded 000
4653
4654 2003-03-29  John Levon  <levon@movementarian.org>
4655
4656         * BufferView.C:
4657         * BufferView.h:
4658         * BufferView_pimpl.C: Alert fixes
4659
4660         * Makefile.am:
4661         * tabular.C:
4662         * tabular-old.C: remove unused table compat reading
4663
4664 2003-03-29  John Levon  <levon@movementarian.org>
4665
4666         * BufferView.C:
4667         * buffer.C:
4668         * lyx_cb.h:
4669         * lyx_cb.C: more Alert cleanups
4670
4671         * lyxfunc.C: don't allow chktex if not latex document
4672
4673 2003-03-29  John Levon  <levon@movementarian.org>
4674
4675         * lyx_cb.C:
4676         * BufferView.C:
4677         * buffer.C: warnings pushed down from support/,
4678         kill err_alert
4679
4680 2003-03-29  John Levon  <levon@movementarian.org>
4681
4682         * lyxfunc.C: safety check for C-r (revert)
4683
4684 2003-03-29  John Levon  <levon@movementarian.org>
4685
4686         * bufferlist.h:
4687         * bufferlist.C: several UI fixes using Alert::prompt.
4688         Fix the pointless looping quit code. Fix stupid revert
4689         behaviour (bug 938)
4690
4691         * lyxvc.h:
4692         * lyxvc.C:
4693         * lyx_cb.C: use Alert::prompt
4694
4695         * lyx_main.C: remove a silly question
4696
4697         * lyxfunc.C: remove a couple of silly questions,
4698         use Alert::prompt
4699
4700 2003-03-28  John Levon  <levon@movementarian.org>
4701
4702         * text2.C: fix bug 974 (End on empty par)
4703
4704 2003-03-28  John Levon  <levon@movementarian.org>
4705
4706         * BufferView_pimpl.C:
4707         * LyXAction.C:
4708         * lfuns.h: remove do-nothing math greek lfuns
4709
4710 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * lyxgluelength.h (isValidGlueLength): add default arg on
4713         parameter 2. Remove default arg from friend in class.
4714
4715         * lyxlength.h (isValidLength): add default arg on parameter 2.
4716         Remove default arg from friend in class.
4717
4718         * text2.C (LyXText): adjust, initialize refresh_row.
4719         (init): adjust
4720         (removeRow): adjust
4721         (insertRow): adjust
4722         (insertParagraph): adjst
4723         (redoParagraphs): adjust
4724         (fullRebreak): adjust
4725         (updateCounters): adjust
4726         (deleteEmptyParagraphMechanism): first attempt at fixing a
4727         crashing bug.
4728
4729         * text.C (top_y): adjust
4730         (setHeightOfRow): adjust
4731         (getRow): adjust
4732         (getRowNearY): adjust
4733
4734         * lyxtext.h: include RowList.h
4735         (~LyXText): not needed anymore, deleted.
4736         (firstRow): modify for RowList
4737         (lastRow): new function
4738         Delete firstrow and lastrow class variables, add a Rowlist
4739         rowlist_ class variable.
4740
4741         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4742         paragraph is empty.
4743
4744         * RowList.C (insert): fix case where it == begin().
4745
4746 2003-03-26  Angus Leeming  <leeming@lyx.org>
4747
4748         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4749         the thesaurus dialog.
4750
4751 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4752
4753         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4754
4755         * RowList.[Ch]: new files
4756
4757         * ParagraphList.C (erase): handle the case where it == begin
4758         correctly.
4759
4760 2003-03-25  John Levon  <levon@movementarian.org>
4761
4762         * Makefile.am:
4763         * aspell_local.h:
4764         * aspell.C: add new aspell support
4765
4766         * lyxrc.h:
4767         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4768         have it accessible.
4769
4770 2003-03-25  Angus Leeming  <leeming@lyx.org>
4771
4772         * lfuns.h:
4773         * LyXAction.C (init): new LFUN_INSET_INSERT.
4774
4775         * BufferView_pimpl.C (dispatch): split out part of the
4776         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4777
4778         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4779         LFUN_INSET_APPLY.
4780
4781 2003-03-25  Angus Leeming  <leeming@lyx.org>
4782
4783         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4784
4785 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4786
4787         * text2.C:
4788         * text3.C: remove useless row->height(0)
4789
4790 2003-03-25  John Levon  <levon@movementarian.org>
4791
4792         * lyxtext.h:
4793         * text2.C:
4794         * text3.C: rename the refreshing stuff to better names
4795
4796 2003-03-24  John Levon  <levon@movementarian.org>
4797
4798         * BufferView_pimpl.h:
4799         * BufferView_pimpl.C: update layout choice on a mouse
4800         press/release
4801
4802 2003-03-23  John Levon  <levon@movementarian.org>
4803
4804         * Makefile.am: fix commandtags.h reference
4805
4806 2003-03-22  John Levon  <levon@movementarian.org>
4807
4808         * BufferView_pimpl.C:
4809         * lyxtext.h:
4810         * rowpainter.C:
4811         * rowpainter.h:
4812         * text.C:
4813         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4814
4815 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4816
4817         * lyxtext.h:
4818         * text.C: take the rtl methods out of line
4819
4820 2003-03-21 André Pönitz <poenitz@gmx.net>
4821
4822         * metricsinfo.[Ch]: new files containing structures to be passed around
4823         during the two-phase-drawing...
4824
4825 2003-03-21 André Pönitz <poenitz@gmx.net>
4826
4827         * lyxtextclass.C: read 'environment' tag.
4828
4829 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4830
4831         * text2.C (removeRow): fix bug 964
4832
4833 2003-03-20  John Levon  <levon@movementarian.org>
4834
4835         * rowpainter.C:
4836         * text.C:
4837         * text2.C: paint cleanups. Inset::update() dropped font
4838         parameter
4839
4840 2003-03-19  John Levon  <levon@movementarian.org>
4841
4842         * lyxfunc.C: only fitcursor/markDirty if available()
4843
4844 2003-03-19  John Levon  <levon@movementarian.org>
4845
4846         * commandtags.h: rename to ...
4847
4848         * lfuns.h: ... this, and renumber / cleanup
4849
4850 2003-03-19  John Levon  <levon@movementarian.org>
4851
4852         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4853         fit the cursor after an lfun
4854
4855         * BufferView.h:
4856         * BufferView.C:
4857         * BufferView_pimpl.h:
4858         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4859
4860         * LyXAction.C: layout-character should have ReadOnly
4861
4862         * ParagraphParameters.C:
4863         * buffer.C:
4864         * bufferview_funcs.C:
4865         * lyx_cb.C:
4866         * lyxfind.C:
4867         * lyxtext.h:
4868         * text.C:
4869         * text2.C:
4870         * text3.C:
4871         * undo_funcs.C: changes from above
4872
4873 2003-03-18  John Levon  <levon@movementarian.org>
4874
4875         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4876         remove it from update()
4877
4878         * lyxfunc.C: update layout choice after an lfun
4879
4880         * text3.C: remove extra updateLayoutChoice()s
4881
4882 2003-03-18  John Levon  <levon@movementarian.org>
4883
4884         * text.C: top_y change means full repaint, fix
4885         a drawing bug with cursor movement
4886
4887 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4888
4889         * lyxtext.h:
4890         * text.C:
4891         * text2.C: anchor row on setCursor
4892
4893 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4894
4895         * lyxtext.h: remove almost all mutable keywords
4896         * text.C:
4897         * text2.C:
4898         * text3.C: remove const keywords accordingly
4899
4900 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4901
4902         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4903         anon namespace
4904         (TeXEnvironment): ditto
4905         (TeXOnePar): ditto
4906
4907 2003-03-17  John Levon  <levon@movementarian.org>
4908
4909         * text.C (rowBreakPoint): remove attempt to fix displayed
4910         math insets inside a manual label
4911
4912 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4913
4914         * lyxtext.h: remove BufferView* as first arg from almost all class
4915         functions.
4916         * other files: adjust.
4917
4918 2003-03-17  John Levon  <levon@movementarian.org>
4919
4920         * lyxtext.h:
4921         * undo_funcs.C:
4922         * text2.C: more paint cleanups
4923
4924         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4925
4926         * rowpainter.h:
4927         * rowpainter.C: remove "smart" background painting code
4928
4929 2003-03-16  John Levon  <levon@movementarian.org>
4930
4931         * lyxtext.h:
4932         * text.C:
4933         * text2.C:
4934         * text3.C: add helper functions for setting refresh_row/y
4935
4936 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4937
4938         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4939         newline inset which *can* get inserted in the pass_thru layouts.
4940         This is primarily for literate documents.
4941
4942 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4943
4944         * buffer.C: increment LYX_FORMAT to 223
4945
4946 2003-03-14 André Pönitz <poenitz@gmx.net>
4947
4948         * textclass.h: prepare for environment handling, ws changes
4949         * lyxlayout.C: read latexheader and latexfooter tags
4950
4951 2003-03-14  John Levon  <levon@movementarian.org>
4952
4953         * text2.C: rewrite ::status() a bit
4954
4955 2003-03-13  John Levon  <levon@movementarian.org>
4956
4957         * lyxtext.h: add some docs
4958
4959 2003-03-13  John Levon  <levon@movementarian.org>
4960
4961         * lyxtext.h:
4962         * text.C:
4963         * text2.C:
4964         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4965
4966 2003-03-13  John Levon  <levon@movementarian.org>
4967
4968         * text3.C: fix appendix redrawing
4969
4970 2003-03-13  John Levon  <levon@movementarian.org>
4971
4972         * text.C (setHeightOfRow):
4973         * rowpainter.h:
4974         * rowpainter.C: make appendix mark have the text
4975           "Appendix" so the user knows what it is
4976
4977         * LColor.h:
4978         * LColor.C: s/appendixline/appendix/ from above
4979
4980 2003-03-13  John Levon  <levon@movementarian.org>
4981
4982         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4983
4984         * text.C: fix a getChar(pos) bug properly
4985
4986 2003-03-13  Angus Leeming  <leeming@lyx.org>
4987
4988         * commandtags.h:
4989         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4990         Probably only temporary. Let's see how things pan out.
4991
4992         * BufferView.C (unlockInset):
4993         * BufferView_pimpl.C (fitCursor):
4994         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4995
4996         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4997         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4998
4999         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5000         new functions that convert ParagraphParameters to and from a string.
5001
5002         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5003         BufferView::Pimpl's dispatch.
5004         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5005
5006 2003-03-13 André Pönitz <poenitz@gmx.net>
5007
5008         * lyxfunc.C:
5009         * text3.C:
5010         * factory.C: make it aware of InsetEnv
5011
5012 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * text2.C (setCursor): never ask for one past last
5015         (setCursor): add some debugging messages.
5016
5017         * text.C (singleWidth): never ask for one past last
5018         (singleWidth): ditto
5019         (leftMargin): ditto
5020         (rightMargin): ditto
5021         (rowBreakPoint): ditto
5022         (setHeightOfRow): ditto
5023         (prepareToPrint): ditto
5024
5025         * rowpainter.C (paintBackground): never ask for one past last
5026         (paintText): never ask for one past last
5027
5028         * paragraph_pimpl.C (getChar): make the assert stricter, never
5029         allow the one past last pos to be taken
5030
5031         * paragraph.C (getChar): ws changes only
5032
5033         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5034         (numberOfSeparators): ditto
5035         (numberOfHfills): ditto
5036
5037 2003-03-12  John Levon  <levon@movementarian.org>
5038
5039         * author.h:
5040         * author.C:
5041         * bufferparams.h:
5042         * bufferparams.C:
5043         * paragraph_funcs.C: fix per-buffer authorlists
5044
5045 2003-03-12  John Levon  <levon@movementarian.org>
5046
5047         * text.C: fix newline in right address
5048
5049 2003-03-12  Angus Leeming  <leeming@lyx.org>
5050
5051         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5052         duplicate those in LyXFunc::dispatch.
5053
5054         * commandtags.h:
5055         * LyXAction.C:
5056         * ToolbarDefaults.C:
5057         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5058         Add LFUN_FONTFREE_UPDATE.
5059
5060         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5061         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5062
5063         * bufferview_func.[Ch]: several new functions to facilliate
5064         transfer of data to and from the character dialog.
5065
5066 2003-03-12  John Levon  <levon@movementarian.org>
5067
5068         * buffer.C:
5069         * paragraph.h:
5070         * paragraph.C:
5071         * paragraph_funcs.C:
5072         * paragraph_pimpl.C:
5073         * sgml.C:
5074         * tabular.C:
5075         * text.C:
5076         * text3.C: remove META_NEWLINE in favour of an inset
5077
5078         * rowpainter.h:
5079         * rowpainter.C: remove paintNewline (done by inset)
5080
5081 2003-03-12  John Levon  <levon@movementarian.org>
5082
5083         * paragraph_pimpl.C: complain about bad getChar()s
5084         for a while at least
5085
5086 2003-03-12  John Levon  <levon@movementarian.org>
5087
5088         * buffer.h:
5089         * buffer.C: move paragraph read into a separate function,
5090         a little renaming to reflect that.
5091
5092         * bufferparams.h:
5093         * bufferparams.C: remove the author_ids map, not necessary now
5094
5095         * factory.h:
5096         * factory.C: moved Buffer::readInset to here
5097
5098         * paragraph_funcs.h:
5099         * paragraph_funcs.C: readParagraph free function moved from
5100         buffer.C
5101
5102         * tabular.C: name change
5103
5104 2003-03-12  John Levon  <levon@movementarian.org>
5105
5106         * buffer.C:
5107         * ParagraphParameters.C: move par params input to
5108         a read() method
5109
5110         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5111         behave like a normal read from the stream wrt reading
5112         a line vs. a \\token
5113
5114 2003-03-12  John Levon  <levon@movementarian.org>
5115
5116         * paragraph.C:
5117         * ParagraphParameters.h:
5118         * ParagraphParameters.C: move output code to a
5119         ::write() method
5120
5121 2003-03-12  John Levon  <levon@movementarian.org>
5122
5123         * BufferView.C (insertLyXFile):
5124         * buffer.h:
5125         * buffer.C:
5126         * tabular.C: use a parlist iterator for creating the
5127           document.
5128
5129 2003-03-12  John Levon  <levon@movementarian.org>
5130
5131         * buffer.C: make current_change static local not
5132           static file-scope
5133
5134 2003-03-12  John Levon  <levon@movementarian.org>
5135
5136         * buffer.C: fix insertStringAsLines for change tracking
5137
5138 2003-03-12  John Levon  <levon@movementarian.org>
5139
5140         * BufferView.C:
5141         * tabular.C:
5142         * buffer.h:
5143         * buffer.C:
5144         * bufferparams.h:
5145         * bufferparams.C: move author list into params. Rename some
5146           functions. Move the header reading into a separate token
5147           loop. Move the header token reading into BufferParams.
5148
5149 2003-03-12  John Levon  <levon@movementarian.org>
5150
5151         * changes.C: put debug inside lyxerr.debugging() checks
5152
5153 2003-03-11 André Pönitz <poenitz@gmx.net>
5154
5155         * factory.C: make it aware of InsetHFill
5156
5157 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5158
5159         * buffer.C (latexParagraphs): move function from here...
5160         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5161         args.
5162
5163 2003-03-10  Angus Leeming  <leeming@lyx.org>
5164
5165         * LyXAction.C (init): fix bug in poplating array with multiple entries
5166         with the same LFUN (spotted by JMarc).
5167
5168 2003-03-10  John Levon  <levon@movementarian.org>
5169
5170         * text.C:
5171         * text2.C: move getColumnNearX() near its
5172         only call site
5173
5174 2003-03-10  John Levon  <levon@movementarian.org>
5175
5176         * text.C: fix break before a minipage
5177
5178 2003-03-10  John Levon  <levon@movementarian.org>
5179
5180         * text.C: fix the last commit
5181
5182 2003-03-09  John Levon  <levon@movementarian.org>
5183
5184         * lyxtext.h:
5185         * text.C:
5186         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5187         bug 365 (don't break before insets unless needed). Don't
5188         return a value > last under any circumstances.
5189
5190 2003-03-09  Angus Leeming  <leeming@lyx.org>
5191
5192         * BufferView_pimpl.C (trackChanges, dispatch): call
5193         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5194
5195 2003-03-09  Angus Leeming  <leeming@lyx.org>
5196
5197         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5198         than Dialogs::showAboutlyx().
5199
5200 2003-03-09  Angus Leeming  <leeming@lyx.org>
5201
5202         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5203         than Dialogs::showTabularCreate().
5204
5205 2003-03-09  John Levon  <levon@movementarian.org>
5206
5207         * lyxtext.h:
5208         * text.C:
5209         * text2.C: 3rd arg to nextBreakPoint was always the same.
5210           Use references.
5211
5212 2003-03-08  John Levon  <levon@movementarian.org>
5213
5214         * lyxrow.C:
5215         * paragraph.C:
5216         * paragraph.h:
5217         * rowpainter.C:
5218         * text.C:
5219         * text2.C: Remove the "main" bit from the "main body"
5220           notion.
5221
5222 2003-03-08  John Levon  <levon@movementarian.org>
5223
5224         * text.C (leftMargin): The left margin of an empty
5225         manual label paragraph should not include the label width
5226         string length.
5227
5228         * text.C (prepareToPrint): don't attempt to measure hfills
5229         for empty manual label paragraphs - the answer should be 0
5230
5231 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * CutAndPaste.C: remove commented code and reindent.
5234
5235 2003-03-08  John Levon  <levon@movementarian.org>
5236
5237         * lyxfunc.h:
5238         * lyxfunc.C: move reloadBuffer()
5239
5240         * BufferView.h:
5241         * BufferView.C: to here
5242
5243         * lyxvc.C: add comment
5244
5245         * vc-backend.h:
5246         * vc-backend.C: call bv->reload() to avoid
5247           getStatus() check on MENURELOAD
5248
5249 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5250
5251         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5252         to an old format .dep file.
5253
5254 2003-03-07  Angus Leeming  <leeming@lyx.org>
5255
5256         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5257         when the LFUN_MOUSE_RELEASE should have been handled by
5258         inset->localDispatch.
5259
5260 2003-03-07  Angus Leeming  <leeming@lyx.org>
5261
5262         * BufferView_pimpl.C (dispatch):
5263         * LyXAction.C (init):
5264         * ToolbarDefaults.C (init):
5265         * commandtags.h:
5266         * lyxfunc.C (getStatus):
5267         remove LFUN_INSET_GRAPHICS.
5268
5269         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5270
5271 2003-03-07  Angus Leeming  <leeming@lyx.org>
5272
5273         * commandtags.h:
5274         * LyXAction.C (init):
5275         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5276
5277         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5278
5279         * commandtags.h:
5280         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5281
5282         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5283         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5284
5285 2003-03-07  Angus Leeming  <leeming@lyx.org>
5286
5287         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5288         remove "ert".
5289
5290 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5291
5292         * ParagraphList.C (front): new function
5293         (back): implement
5294
5295 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5296
5297         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5298         and top_row_offset_. removed var first_y.
5299         * text.C (top_y):
5300         * text2.C (LyXText, removeRow):
5301         * text3.C:
5302         * BufferView_pimpl.C:
5303         use these methods instead of using first_y
5304
5305 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5306
5307         * text2.C (pasteSelection): adjust for checkPastePossible
5308
5309         * CutAndPaste.C: remove Paragraph * buf and replace with
5310         ParagraphList paragraphs.
5311         (DeleteBuffer): delete
5312         (cutSelection): change the tc type to textclass_type
5313         (copySelection): change the tc type to textclass_type
5314         (copySelection): adjust for ParagraphList
5315         (pasteSelection): change the tc type to textclass_type
5316         (pasteSelection): adjust for Paragraphlist
5317         (nrOfParagraphs): simplify for ParagraphList
5318         (checkPastePossible): simplify for ParagraphList
5319         (checkPastePossible): remove unused arg
5320
5321         * ParagraphList.C (insert): handle the case where there are no
5322         paragraphs yet.
5323
5324         * CutAndPaste.h: make CutAndPaste a namespace.
5325
5326         * text3.C (dispatch): adjust
5327
5328         * text.C (breakParagraph): add a ParagraphList as arg
5329
5330         * paragraph_funcs.C (breakParagraph): change to take a
5331         BufferParams and a ParagraphList as args.
5332         (breakParagraphConservative): ditto
5333         (mergeParagraph): ditto
5334         (TeXDeeper): add a ParagraphList arg
5335         (TeXEnvironment): ditto
5336         (TeXOnePar): ditto
5337
5338         * buffer.C (readLyXformat2): adjust
5339         (insertStringAsLines): adjust
5340         (latexParagraphs): adjust
5341
5342         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5343         (cutSelection): adjust
5344         (pasteSelection): adjust
5345
5346         * BufferView_pimpl.C (insertInset): adjust
5347
5348 2003-03-05  Angus Leeming  <leeming@lyx.org>
5349
5350         * commandtags.h:
5351         * LyXAction.C (init):
5352         * BufferView_pimpl.C (dispatch):
5353         * lyxfunc.C (getStatus):
5354         remove LFUN_CHILD_INSERT.
5355
5356         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5357
5358 2003-03-05  Angus Leeming  <leeming@lyx.org>
5359
5360         * commandtags.h:
5361         * LyXAction.C (init):
5362         * src/factory.C (createInset):
5363         * lyxfunc.C (getStatus):
5364         * text3.C (dispatch):
5365         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5366
5367         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5368
5369 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5370
5371         * ParagraphList.C (insert): handle insert right before end()
5372         (erase): fix cases where it can be first or last paragraph.
5373
5374 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5375
5376         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5377         Paragraph::next and Paragraph::previous
5378         (TeXOnePar): ditto
5379
5380         * text.C (breakParagraph): adjust
5381
5382         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5383         BufferParams& as arg.
5384         (breakParagraph): use ParagraphList::insert
5385         (breakParagraphConservative): take a Buffer* instead of a
5386         BufferParams& as arg.
5387         (breakParagraphConservative): use ParagraphList::insert.
5388
5389         * buffer.C (insertStringAsLines): un-const it
5390         (insertStringAsLines): adjust
5391
5392         * ParagraphList.C (insert): new function
5393
5394         * CutAndPaste.C (pasteSelection): adjust
5395
5396         * text.C (backspace): adjust
5397
5398         * tabular.C (SetMultiColumn): adjust
5399
5400         * CutAndPaste.C (cutSelection): adjust
5401         (pasteSelection): adjust
5402
5403         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5404         Buffer const * as arg
5405
5406         * ParagraphList.C (erase): new function
5407         * paragraph_funcs.C (mergeParagraph): use it
5408         (mergeParagraph): make it take a Buffer* instead of a
5409         BufferParams* as arg
5410
5411         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5412         as arg
5413         (breakParagraphConservative): ditto
5414
5415         * paragraph.h: remove the breakParagraph friend
5416
5417         * paragraph.C (eraseIntern): new function
5418         (setChange): new function
5419
5420         * paragraph_funcs.C (mergeParagraph): make it take a
5421         ParagraphList::iterator instead of a Paragraph *, adjust
5422         accordingly.
5423
5424         * paragraph.h: move an #endif so that the change tracking stuff
5425         also works in the NO_NEXT case.
5426
5427 2003-03-04  Angus Leeming  <leeming@lyx.org>
5428
5429         * commandtags.h:
5430         * LyXAction.C: new LFUN_INSET_MODIFY.
5431
5432         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5433         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5434
5435 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5436
5437         * several files: ws changes only
5438
5439         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5440         (TeXEnvironment): ditto
5441         (TeXDeeper): ditto
5442
5443         * buffer.C (makeLaTeXFile): adjust
5444         (latexParagraphs): make it take ParagraphList::iterator as args
5445
5446 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5447
5448         * buffer.C (latexParagraphs): adjust
5449
5450         * paragraph.C (TeXOnePar): move function...
5451         (optArgInset): move function...
5452         (TeXEnvironment): move function...
5453         * paragraph_pimpl.C (TeXDeeper): move function...
5454         * paragraph_funcs.C: ...here
5455
5456         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5457
5458 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5459
5460         * buffer.C (readInset): remove compability code for old Figure and
5461         InsetInfo insets
5462
5463 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5464
5465         * buffer.C: ws changes
5466         (readInset):
5467
5468         * BufferView_pimpl.C: ditto
5469         * author.C: ditto
5470         * buffer.h: ditto
5471         * bufferlist.h: ditto
5472         * changes.h: ditto
5473         * lyxfunc.C: ditto
5474
5475 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5476
5477         * converter.[Ch]: split into itself +
5478         * graph.[Ch]
5479         * format.[Ch]
5480         * Makefile.am: += graph.[Ch] + format.[Ch]
5481         * MenuBackend.C
5482         * buffer.C
5483         * exporter.C
5484         * importer.C
5485         * lyx_main.C
5486         * lyxfunc.C
5487         * lyxrc.C: added #include "format.h"
5488
5489 2003-02-27  Angus Leeming  <leeming@lyx.org>
5490
5491         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5492           a label.
5493
5494         * factory.C (createInset): add "label" to the factory.
5495
5496         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5497           string and do no more.
5498
5499 2003-02-27  Angus Leeming  <leeming@lyx.org>
5500
5501         * commandtags.h:
5502         * LyXAction.C (init):
5503         * factory.C (createInset):
5504         * BufferView_pimpl.C (dispatch):
5505           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5506
5507         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5508
5509         * lyxfunc.C (dispatch):
5510         * text3.C (dispatch): pass name to params2string.
5511
5512 2003-02-26  Angus Leeming  <leeming@lyx.org>
5513
5514         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5515           blocks together.
5516           Rearrange the ~includes. Strip out the unnecessary ones.
5517
5518         * factory.C (createInset): reformat.
5519           create new insets for the various LFUN_XYZ_APPLY lfuns.
5520
5521 2003-02-26  John Levon  <levon@movementarian.org>
5522
5523         * lyxrow.h:
5524         * lyxrow.C: add isParStart,isParEnd helpers
5525
5526         * paragraph.h: make isInserted/DeletedText take refs
5527
5528         * paragraph_funcs.h:
5529         * paragraph_funcs.C: remove #if 0'd code
5530
5531         * lyxtext.h:
5532         * text3.C:
5533         * text2.C:
5534         * text.C: use lyxrow helpers above.
5535           Move draw and paint routines to RowPainter.
5536           Make several methods use refs not pointers.
5537           Make backgroundColor() const.
5538           Add markChangeInDraw(), isInInset().
5539           Merge changeRegionCase into changeCase.
5540           Make workWidth() shouldn't-happen code into an Assert.
5541
5542         * rowpainter.h:
5543         * rowpainter.C: new class for painting a row.
5544
5545         * vspace.h:
5546         * vspace.C: make inPixels take a ref
5547
5548 2003-02-26  Angus Leeming  <leeming@lyx.org>
5549
5550         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5551         LFUN_REF_APPLY.
5552
5553 2003-02-25  John Levon  <levon@movementarian.org>
5554
5555         * ispell.C: give the forked command a more accurate name
5556
5557 2003-02-22  John Levon  <levon@movementarian.org>
5558
5559         * toc.h:
5560         * toc.C: make TocItem store an id not a Paragraph *
5561           (bug #913)
5562
5563 2003-02-21  Angus Leeming  <leeming@lyx.org>
5564
5565         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5566           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5567           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5568           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5569           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5570           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5571
5572         * BufferView_pimpl.C (dispatch):
5573         * LyXAction.C (init):
5574         * factory.C (createInset):
5575         * lyxfunc.C (getStatus, dispatch):
5576         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5577
5578 2003-02-21  Angus Leeming  <leeming@lyx.org>
5579
5580         * BufferView_pimpl.C (MenuInsertLyXFile):
5581         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5582         * lyxfunc.C (menuNew, open, doImport):
5583           no longer pass a LyXView & to fileDlg.
5584
5585 2003-02-21  Angus Leeming  <leeming@lyx.org>
5586
5587         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5588         * LyXAction.C: change, BIBKEY to BIBITEM.
5589         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5590         Change InsetBibKey to InsetBibitem.
5591         Change BIBKEY_CODE to BIBITEM_CODE.
5592         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5593         * factory.C: replace insetbib.h with insetbibitem.h.
5594         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5595         * paragraph.C: replace insetbib.h with insetbibitem.h.
5596         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5597         Change bibkey() to bibitem().
5598         * text.C: remove insetbib.h.
5599         * text2.C: replace insetbib.h with insetbibitem.h.
5600         change bibkey() to bibitem().
5601         * text3.C: remove insetbib.h.
5602         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5603
5604 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5605
5606         * lyxrc.C (output): enclose user email in quotes (in case there are
5607         several words)
5608
5609 2003-02-18  John Levon  <levon@movementarian.org>
5610
5611         * buffer.h: add std::
5612
5613 2003-02-17  John Levon  <levon@movementarian.org>
5614
5615         * SpellBase.h:
5616         * ispell.h:
5617         * ispell.C:
5618         * pspell.h:
5619         * pspell.C: reworking. Especially in ispell, a large
5620           number of clean ups and bug fixes.
5621
5622         * lyxfunc.C: fix revert to behave sensibly
5623
5624 2003-02-17 André Pönitz <poenitz@gmx.net>
5625
5626         * LyXAction.C:
5627         * commandtags.h: new LFUN_INSERT_BIBKEY
5628
5629         * layout.h:
5630         * lyxlayout.C:
5631         * buffer.C:
5632         * factory.C:
5633         * text.C:
5634         * text2.C:
5635         * text3.C:
5636         * paragraph.[Ch]:
5637         * paragraph_func.C: remove special bibkey handling
5638
5639 2003-02-17  John Levon  <levon@movementarian.org>
5640
5641         * text.C (Delete): fix case where delete at the end of
5642           the very first paragraph would not merge the pars
5643
5644 2003-02-17  John Levon  <levon@movementarian.org>
5645
5646         * lyxrow.C: fix lastPrintablePos()
5647
5648 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5649
5650         * bufferparams.C (writeLaTeX): add a std:here
5651
5652         * buffer.C: and remove a using directive there
5653
5654 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5655
5656         * buffer.C (makeLaTeXFile): move the code that generates the
5657           preamble...
5658
5659         * bufferparams.C (writeLaTeX): ... in this new method
5660
5661         * LaTeXFeatures.C (getEncodingSet): make const
5662           (getLanguages): make const
5663
5664         * MenuBackend.C (binding): returns the binding associated to this
5665           action
5666           (add): sets the status of each item by calling getStatus. Adds
5667           some intelligence.
5668           (read): add support for OptSubMenu
5669           (expand): remove extra separator at the end of expanded menu
5670
5671 2003-02-15  John Levon  <levon@movementarian.org>
5672
5673         * BufferView.C:
5674         * BufferView_pimpl.C:
5675         * bufferlist.h:
5676         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5677           inset code that had no actual effect. Remove unneeded status
5678           code.
5679
5680 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5681
5682         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5683           in preamble
5684
5685 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5686
5687         * text.C (drawLengthMarker): also draw an arrow marker for
5688           symbolic lengths (medskip...)
5689
5690 2003-02-14  John Levon  <levon@movementarian.org>
5691
5692         * tabular.h:
5693         * tabular.C: better method names
5694
5695 2003-02-14  John Levon  <levon@movementarian.org>
5696
5697         * BufferView_pimpl.C:
5698         * bufferlist.C:
5699         * buffer.C:
5700         * converter.C:
5701         * lyx_cb.C:
5702         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5703           it's a more accurate name. Remove some pointless uses.
5704
5705 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5706
5707         * text2.C (LyXText): change order of initilizers to shut off
5708           warnings
5709
5710 2003-02-14  John Levon  <levon@movementarian.org>
5711
5712         * buffer.C: use ParIterator for getParFromID()
5713
5714         * paragraph.h:
5715         * paragraph.C:
5716         * paragraph_pimpl.h:
5717         * paragraph_pimpl.C: remove unused getParFromID()
5718
5719 2003-02-14  John Levon  <levon@movementarian.org>
5720
5721         * buffer.C: remove some very old #if 0'd parse code
5722
5723 2003-02-13  John Levon  <levon@movementarian.org>
5724
5725         * text.h:
5726         * text.C:
5727         * text2.C: move hfillExpansion(), numberOfSeparators(),
5728           rowLast(), rowLastPrintable(), numberofHfills(),
5729           numberOfLabelHfills() ...
5730
5731         * lyxrow.h:
5732         * lyxrow.C: ... to member functions here.
5733
5734         * paragraph.h:
5735         * paragraph.C:
5736         * lyxtext.h:
5737         * text.C: remove LyXText::beginningOfMainBody(), and call
5738           p->beginningOfMainBody() directly. Move the check for
5739           LABEL_MANUAL into the latter.
5740
5741         * text.h:
5742         * text.C:
5743         * text2.C:
5744         * vspace.C:
5745         * BufferView.h:
5746         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5747
5748         * text.h:
5749         * text.C:
5750         * text2.C:
5751         * text3.C:
5752         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5753           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5754
5755 2003-02-13  John Levon  <levon@movementarian.org>
5756
5757         * CutAndPaste.C: remove debug
5758
5759 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5760
5761         * paragraph.C (asString): remove two unused variables
5762
5763         * lyxtextclass.C (readTitleType):
5764           (Read):
5765           (LyXTextClass): handle new members titletype_ and titlename_
5766
5767         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5768
5769 2003-02-09  John Levon  <levon@movementarian.org>
5770
5771         * buffer.h:
5772         * buffer.C: replace hand-coded list with a map for the dep clean
5773
5774 2003-02-08  John Levon  <levon@movementarian.org>
5775
5776         * LaTeX.C: consolidate code into showRunMessage() helper
5777
5778 2003-02-08  John Levon  <levon@movementarian.org>
5779
5780         * lyxfind.C:
5781         * lyxtext.h:
5782         * text2.C:
5783         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5784           and pass the size in explicitly
5785
5786         * BufferView_pimpl.h:
5787         * BufferView_pimpl.C:
5788         * BufferView.h:
5789         * BufferView.C: add getCurrentChange()
5790
5791         * BufferView_pimpl.h:
5792         * BufferView_pimpl.C: handle change lfuns
5793
5794         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5795           for changes. Mark pasted paragraphs as new.
5796
5797         * support/lyxtime.h:
5798         * support/lyxtime.C:
5799         * DepTable.C: abstract time_t as lyx::time_type
5800
5801         * LColor.h:
5802         * LColor.C: add colours for new text, deleted text, changebars
5803
5804         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5805           package use "usenames" option.
5806
5807         * commandtags.h:
5808         * lyxfunc.C:
5809         * LyXAction.C: add change lfuns
5810
5811         * Makefile.am:
5812         * author.h:
5813         * author.C: author handling
5814
5815         * buffer.h:
5816         * buffer.C: add a per-buffer author list, with first entry as
5817           current author. Handle new .lyx tokens for change tracking. Output
5818           author list to .lyx file. Output dvipost stuff to .tex preamble.
5819           Bump lyx format to 222.
5820
5821         * bufferlist.h:
5822         * bufferlist.C: add setCurrentAuthor() to reset current author details
5823           in all buffers.
5824
5825         * bufferparams.h:
5826         * bufferparams.C: add param for tracking
5827
5828         * bufferview_funcs.C: output change info in minibuffer
5829
5830         * Makefile.am:
5831         * changes.h:
5832         * changes.C: add change-tracking structure
5833
5834         * debug.h:
5835         * debug.C: add CHANGES debug flag
5836
5837         * lyxfind.h:
5838         * lyxfind.C: add code for finding the next change piece
5839
5840         * lyxrc.h:
5841         * lyxrc.C: add user_name and user_email
5842
5843         * lyxrow.h:
5844         * lyxrow.C: add a metric for the top of the text line
5845
5846         * lyxtext.h:
5847         * text.C: implement accept/rejectChange()
5848
5849         * lyxtext.h:
5850         * text.C: paint changebars. Paint new/deleted text in the chosen
5851         colours. Strike through deleted text.
5852
5853         * paragraph.h:
5854         * paragraph.C:
5855         * paragraph_pimpl.h:
5856         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5857           in the current change to the insert functions. Rework erase to
5858           mark text as deleted, adding an eraseIntern() and a range-based
5859           erase(). Implement per-paragraph change lookup and
5860           accept/reject.
5861
5862         * paragraph_funcs.C: Fixup paste for change tracking.
5863
5864         * tabular.C: mark added row/columns as new.
5865
5866         * text.C: fix rowLast() to never return -1. Don't allow
5867           spellchecking of deleted text. Track transpose changes. Don't
5868           allow paragraph break or merge where appropriate.
5869
5870         * text2.C: leave cursor at end of selection after a cut.
5871
5872 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5873
5874         * text.C (getLengthMarkerHeight):
5875         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5876         visible on screen too.
5877
5878 2003-02-07  John Levon  <levon@movementarian.org>
5879
5880         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5881
5882 2003-02-05  Angus Leeming  <leeming@lyx.org>
5883
5884         * lyxserver.C (read_ready): revert my patch of 11 September last year
5885         as it sends PC cpu through the roof. Presumably this means that
5886         the lyxserver will no longer run on an Alpha...
5887
5888 2003-01-30  Angus Leeming  <leeming@lyx.org>
5889
5890         * factory.C (createInset): create an InsetCommandParam of type "index"
5891         and use it to 'do the right thing'.
5892
5893         * text2.C (getStringToIndex): ensure that cursor position is always
5894         reset to the reset_cursor position.
5895
5896 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5897
5898         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5899         disabled.
5900
5901 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5902
5903         * bufferview.C:
5904         * lyxcb.C:
5905         * lyxfunc.C: Output messages with identical spelling, punctuation,
5906         and spaces
5907
5908 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5909
5910         * MenuBackend.C (expandFormats): List only viewable export formats
5911         in "View" menu
5912
5913         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5914         message
5915
5916         * lyxfunc.C (getStatus): Make sure that formats other than
5917         "fax" can also be disabled
5918
5919 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5920
5921         * text3.C (dispatch): put the lfuns that insert insets in 3
5922         groups, and call doInsertInset with appropriate arguments.
5923         (doInsertInset): new function, that creates an inset and inserts
5924         it according to some boolean parameters.
5925
5926 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5927
5928         * buffer.C (readFile): remember to pass on 'par' when calling
5929         readFile recursively.
5930
5931 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5932
5933         * MenuBackend.C (expandFormats): add "..." to import formats.
5934
5935 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5936
5937         * paragraph.C (asString): Remove XForms RTL hacks.
5938
5939 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5940         * buffer.C: fix typo
5941
5942 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5943
5944         * Makefile.am (LIBS): delete var
5945         (lyx_LDADD): add @LIBS@ here instead.
5946
5947 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5948
5949         * Clarify the meaning of "wheel mouse jump"
5950
5951 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5952
5953         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5954         tabular in a float
5955
5956 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5957
5958         * importer.C (Loaders): do not preallocate 3 elements in the
5959         vector, since one ends up with 6 elements otherwise
5960
5961 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5962
5963         * DepTable.C (write): write the file name as last element of the
5964         .dep file (because it may contain spaces)
5965         (read): read info in the right order
5966
5967 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5968
5969         * paragraph_pimpl.C (simpleTeXBlanks):
5970         (simpleTeXSpecialChars):
5971         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5972
5973         * tabular.C (latex): add some missing case statements. Reindent.
5974
5975         * MenuBackend.C (expandToc): remove unused variable.
5976
5977 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5978
5979         * LColor.C:
5980         * LaTeX.C:
5981         * LyXAction.C:
5982         * MenuBackend.C:
5983         * buffer.C:
5984         * exporter.C:
5985         * lyxfunc.C:
5986         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5987         and the like.
5988
5989 2003-01-05  John Levon  <levon@movementarian.org>
5990
5991         * BufferView.h:
5992         * BufferView.C: add getEncoding()
5993
5994         * kbsequence.h:
5995         * kbsequence.C: do not store last keypress
5996
5997         * lyxfunc.h:
5998         * lyxfunc.C: store last keypress here instead. Pass encoding
5999           to getISOEncoded()
6000
6001 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6002
6003         * lyx_main.C (init): remove annoying error message when following
6004         symbolic links (bug #780)
6005
6006 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6007
6008         * text.C (insertChar):
6009         * lyxrc.C (getDescription): remove extra spaces
6010
6011 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6012
6013         * lyxrc.C (getDescription): remove extra spaces
6014
6015 2002-12-20  John Levon  <levon@movementarian.org>
6016
6017         * text3.C: hack fix for page up/down across tall rows
6018
6019 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6020
6021         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6022         not been invoked
6023
6024 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6025
6026         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6027         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6028         thesaurus is not compiled in
6029
6030 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6031
6032         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6033
6034 2002-12-16  Angus Leeming  <leeming@lyx.org>
6035
6036         * lyxrc.[Ch]:
6037         * lyx_main.C (init): remove override_x_deadkeys stuff.
6038
6039 2002-12-12  John Levon  <levon@movementarian.org>
6040
6041         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6042           insert. Only remove shift modifier under strict
6043           circumstances.
6044
6045 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6046
6047         * MenuBackend.C (expandToc): fix crash.
6048
6049 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6050
6051         * MenuBackend.C (expandToc): gettext on float names.
6052
6053 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6054
6055         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6056         implement bool empty() [bug 490]
6057
6058 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6059
6060         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6061
6062 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6063
6064         * several files: ws changes
6065
6066 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6067
6068         * text2.C (setCounter): clean up a bit, use boost.format.
6069         (updateCounters): initialize par upon declaration.
6070
6071         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6072         if the layout exists. We do not just store the layout any more.
6073         (SwitchLayoutsBetweenClasses): use boost.format
6074
6075 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6076
6077         * converter.C (convert): if from and to files are the same, use a
6078         temporary files as intermediary
6079
6080 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6081
6082         * commandtags.h:
6083         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6084
6085 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6086
6087         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6088
6089 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6090
6091         * tabular.C (asciiPrintCell): use string(size, char) instead of
6092         explicit loop.
6093
6094         * sgml.C (openTag): fix order of arguments to string constructor
6095         (closeTag): ditto
6096
6097         * lyxfunc.C (dispatch): use boost.format
6098
6099         * lots of files: change "c" -> 'c'
6100
6101 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6102
6103         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6104
6105 2002-11-25  Angus Leeming  <leeming@lyx.org>
6106
6107         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6108
6109         * lyx_main.C (init): compile fix.
6110
6111 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * lyx_cb.C (start): boost.formatify
6114         do not include <iostream>
6115
6116         * lengthcommon.C: ws only
6117
6118         * boost-inst.C,BoostFormat.h: add more explict instantations
6119
6120 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * lots of files: handle USE_BOOST_FORMAT
6123
6124 2002-11-21  John Levon  <levon@movementarian.org>
6125
6126         * pspell.C: fix compile
6127
6128 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6129
6130         * lyxfunc.C (dispatch): use boost::format
6131         (open): ditto
6132         (doImport): ditto
6133
6134         * lyxfont.C (stateText): use boost::format
6135
6136         * lyx_main.C (LyX): use boost::format
6137         (init): ditto
6138         (queryUserLyXDir): ditto
6139         (readRcFile): ditto
6140         (parse_dbg): ditto
6141         (typedef boost::function): use the recommened syntax.
6142
6143         * importer.C (Import): use boost::format
6144
6145         * debug.C (showLevel): use boost::format
6146
6147         * converter.C (view): use boost::format
6148         (convert): ditto
6149         (move): ditto
6150         (scanLog): ditto
6151
6152         * bufferview_funcs.C (currentState): use boost::format
6153
6154         * bufferlist.C (emergencyWrite): use boost::format
6155
6156         * buffer.C (readLyXformat2): use boost::format
6157         (parseSingleLyXformat2Token): ditto
6158
6159         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6160
6161         * LaTeX.C (run): use boost::format
6162
6163         * Chktex.C (scanLogFile): use boost::format
6164
6165         * BufferView_pimpl.C (savePosition): use boost::format
6166         (restorePosition): ditto
6167         (MenuInsertLyXFile): ditto
6168
6169         * BoostFormat.h: help file for explicit instation.
6170
6171 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6172
6173         * tabular.C (latex): Support for block alignment in fixed width
6174         columns.
6175
6176 2002-11-17  John Levon  <levon@movementarian.org>
6177
6178         * BufferView_pimpl.C:
6179         * lyx_cb.C:
6180         * lyxfunc.C: split filedialog into open/save
6181
6182 2002-11-08  Juergen Vigna  <jug@sad.it>
6183
6184         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6185         by my last patch (hopefully).
6186
6187 2002-11-08  John Levon  <levon@movementarian.org>
6188
6189         * iterators.h:
6190         * iterators.C:
6191         * buffer.h:
6192         * buffer.C:
6193         * paragraph.h:
6194         * paragraph.C:
6195         * toc.h:
6196         * toc.C: ParConstIterator, and use it (from Lars)
6197
6198 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6199
6200         * lyxtextclass.[Ch]: revise and add doxygen comments
6201
6202 2002-11-07  John Levon  <levon@movementarian.org>
6203
6204         * text.C: fix progress value for spellchecker
6205
6206         * toc.C: fix navigate menu for insetwrap inside minipage
6207
6208         * paragraph_funcs.C: added FIXME for suspect code
6209
6210 2002-11-07  John Levon  <levon@movementarian.org>
6211
6212         * BufferView_pimpl.C: fix redrawing of insets
6213           on buffer switch
6214
6215 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6216
6217         * text2.C (updateCounters): fix bug 668
6218
6219 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6220
6221         * text3.C (dispatch): Do not make the buffer dirty when moving the
6222         cursor.
6223
6224 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6225
6226         * vc-backend.C: STRCONV
6227         (scanMaster): ditto
6228
6229         * text2.C (setCounter): STRCONV
6230
6231         * paragraph.C (asString): STRCONV
6232
6233         * lyxlength.C (asString): STRCONV
6234         (asLatexString): ditto
6235
6236         * lyxgluelength.C (asString): STRCONV
6237         (asLatexString): ditto
6238
6239         * lyxfunc.C (dispatch): STRCONV
6240         (open): ditto
6241
6242         * lyxfont.C (stateText): STRCONV
6243
6244         * importer.C (Import): STRCONV
6245
6246         * counters.C (labelItem): STRCONV
6247         (numberLabel): ditto
6248         (numberLabel): remove unused ostringstream o
6249
6250         * chset.C: STRCONV
6251         (loadFile): ditto
6252
6253         * bufferview_funcs.C (currentState): STRCONV
6254
6255         * buffer.C (readFile): STRCONV
6256         (asciiParagraph): ditto
6257         (makeLaTeXFile): ditto
6258
6259         * Spacing.C (writeEnvirBegin): STRCONV
6260
6261         * LaTeXFeatures.C (getLanguages): STRCONV
6262         (getPackages): ditto
6263         (getMacros): ditto
6264         (getBabelOptions): ditto
6265         (getTClassPreamble): ditto
6266         (getLyXSGMLEntities): ditto
6267         (getIncludedFiles): ditto
6268
6269         * LaTeX.C: STRCONV
6270         (run): ditto
6271         (scanAuxFile): ditto
6272         (deplog): ditto
6273
6274         * LString.h: add the STRCONV macros
6275
6276         * BufferView_pimpl.C (savePosition): STRCONV
6277         (restorePosition): ditto
6278         (MenuInsertLyXFile): ditto
6279
6280         * vc-backend.C (scanMaster): change from submatch[...] to
6281         submatch.str(...)
6282
6283         * funcrequest.C: include config.h
6284
6285         * factory.C: include config.h
6286
6287         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6288
6289         * box.C: include config.h
6290
6291         * LaTeX.C (scanAuxFile): change from submatch[...] to
6292         submatch.str(...)
6293         (deplog): ditto
6294
6295 2002-10-25  Angus Leeming  <leeming@lyx.org>
6296
6297         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6298
6299         * ispell.[Ch] (setError): new method.
6300         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6301         Use setError() insetead of goto END.
6302
6303         * lyx_cb.C (AutoSave): move out child process into new class
6304         AutoSaveBuffer.
6305
6306 2002-10-30  John Levon  <levon@movementarian.org>
6307
6308         * text3.C: make start appendix undoable
6309
6310 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6311
6312         * lyxlength.C (inPixels): Fix returned value.
6313
6314         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6315         environment.
6316
6317 2002-10-24  Angus Leeming  <leeming@lyx.org>
6318
6319         * lyxgluelength.h: no need to forward declare BufferParams
6320         or BufferView, so don't.
6321
6322 2002-10-21  John Levon  <levon@movementarian.org>
6323
6324         * BufferView.C: menuUndo ->undo, redo
6325
6326         * BufferView.h: document, remove dead, make some methods private
6327
6328         * paragraph_funcs.h:
6329         * paragraph_funcs.C:
6330         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6331
6332         * buffer.h:
6333         * buffer.C:
6334         * sgml.h:
6335         * sgml.C: move sgml open/close tag into sgml.C
6336
6337         * bufferview_funcs.h: unused prototype
6338
6339         * lyxfunc.h:
6340         * lyxfunc.C: remove unused
6341
6342         * lyxtext.h:
6343         * text.C: remove unused
6344
6345 2002-10-21  John Levon  <levon@movementarian.org>
6346
6347         * BufferView.h:
6348         * BufferView.C:
6349         * BufferView_pimpl.h:
6350         * BufferView_pimpl.C: fix mouse wheel handling based on
6351           patch from Darren Freeman
6352
6353 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6354
6355         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6356
6357 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6358
6359         * lyxlength.C (inPixels): Fix hanfling of negative length.
6360         Fix LyXLength::MU case.
6361
6362 2002-10-16  John Levon  <levon@movementarian.org>
6363
6364         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6365
6366 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6367
6368         * converter.C (view): add support for $$i (file name) and $$p
6369         (file path) for the viewer command. If $$i is not specified, then
6370         it is appended to the command (for compatibility with old syntax)
6371
6372 2002-10-14  Juergen Vigna  <jug@sad.it>
6373
6374         * undo_funcs.C (textHandleUndo): alter the order in which the
6375         new undopar is added to the LyXText, as we have to set first
6376         the right prev/next and then add it as otherwise the rebuild of
6377         LyXText is not correct. Also reset the cursor to the right paragraph,
6378         with this IMO we could remove the hack in "redoParagraphs()".
6379
6380 2002-10-09  Angus Leeming  <leeming@lyx.org>
6381
6382         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6383         to turn off an optimisation if a new inset is to be inserted.
6384
6385 2002-10-11 André Pönitz <poenitz@gmx.net>
6386
6387         * lyxtext.h: make some functions public to allow access
6388         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6389
6390 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6391
6392         * text3.C (dispatch): when changing layout, avoid an infinite loop
6393         [bug #652]
6394
6395 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6396
6397         * lyxrc.C (read): treat a viewer or converter command of "none" as
6398         if it were empty.
6399
6400         * MenuBackend.C (expandFormats): for an update, also allow the
6401         formats that are not viewable
6402
6403         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6404         script if it is newer than the lyxrc.defaults in user directory
6405
6406 2002-10-07 André Pönitz <poenitz@gmx.net>
6407
6408         * text.C: Vitaly Lipatov's small i18n fix
6409
6410 2002-09-25  Angus Leeming  <leeming@lyx.org>
6411
6412         * ispell.h: doxygen fix.
6413
6414 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6415
6416         * buffer.h (readFile): Add a new argument to the method, to allow
6417         reading of old-format templates.
6418
6419 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6420
6421         * toc.C (getTocList): Get TOC from InsetWrap.
6422
6423 2002-09-16  John Levon  <levon@movementarian.org>
6424
6425         * lyxfunc.C: check tabular for cut/copy too
6426
6427 2002-09-12  John Levon  <levon@movementarian.org>
6428
6429         * LyXAction.C: tidy
6430
6431         * factory.h:
6432         * factory.C: add header
6433
6434         * paragraph_funcs.h:
6435         * paragraph_funcs.C: cleanup
6436
6437 2002-09-11  John Levon  <levon@movementarian.org>
6438
6439         * PrinterParams.h: odd/even default to true
6440
6441 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6442
6443         * PrinterParams.h: update printer parameters for new xforms dialog
6444
6445 2002-09-11  Angus Leeming  <leeming@lyx.org>
6446
6447         * lyxserver.C (read_ready): re-write to make it more transparent
6448         and to make it work in coherent fashion under Tru64 Unix.
6449
6450 2002-09-11  André Pönitz <poenitz@gmx.net>
6451
6452         * commandtags.h:
6453         * LyXAction.C:
6454         * text3.C: implement LFUN_WORDSEL
6455
6456 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6457
6458         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6459         make floatlist_ a boost::shared_ptr<FloatList>
6460
6461         * lyxtextclass.C: include FloatList.h
6462         (LyXTextClass): initialize floatlist_
6463         (TextClassTags): add TC_NOFLOAT
6464         (Read): match "nofloat" to TC_NOFLOAT and use it.
6465         (readFloat): modify call to floatlist_
6466         (floats): ditto
6467         (floats): ditto
6468
6469         * FloatList.[Ch] (FloatList): remove commented out float
6470         initialization.
6471         (erase): new function
6472
6473 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6474
6475         * MenuBackend.C (expandToc): fix crash when there is no document
6476         open
6477
6478 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6479
6480         * many files: Add insetwrap.
6481
6482 2002-09-09  John Levon  <levon@movementarian.org>
6483
6484         * text2.C: remove confusing and awkward depth wraparound
6485
6486 2002-09-09  John Levon  <levon@movementarian.org>
6487
6488         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6489
6490         * buffer.h:
6491         * buffer.C: remove getIncludeonlyList()
6492
6493         * paragraph.C:
6494         * lyxfunc.C: remove headers
6495
6496 2002-09-09  Juergen Vigna  <jug@sad.it>
6497
6498         * text.C (getColumnNearX): fix form Michael this is most
6499         probably a cut&paste bug.
6500
6501 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6502
6503         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6504
6505         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6506         references, ws changes.
6507
6508         * text2.C (init): update counters after init
6509         (insertParagraph): no need to set counter on idividual paragraphs.
6510         (setCounter): access the counters object in the textclass object
6511         on in the buffer object.
6512         (updateCounters): ditto
6513
6514         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6515         shared_ptr<Counters> to avoid loading counters.h in all
6516         compilation units.
6517         (LyXTextClass): initialize ctrs_
6518         (TextClassTags): add TC_COUNTER, and ...
6519         (Read): use it here.
6520         (CounterTags): new tags
6521         (readCounter): new function
6522         (counters): new funtion
6523         (defaultLayoutName): return a const reference
6524
6525         * counters.C (Counters): remove contructor
6526         (newCounter): remove a couple of unneeded statements.
6527         (newCounter): simplify a bit.
6528         (numberLabel): some small formatting changes.
6529
6530         * buffer.[Ch]: remove all traces of counters, move the Counters
6531         object to the LyXTextClass.
6532
6533 2002-09-06  Alain Castera  <castera@in2p3.fr>
6534
6535         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6536         package to set the horizontal alignment on fixed width columns.
6537
6538         * lyx_sty.C:
6539         * lyx_sty.h: added tabularnewline macro def.
6540
6541         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6542
6543 2002-09-06  John Levon  <levon@movementarian.org>
6544
6545         * LyXAction.C: tooltips for sub/superscript
6546
6547         * MenuBackend.C: a bit more verbose
6548
6549         * lyxfunc.C: tiny clean
6550
6551         * undo_funcs.C: document undo_frozen
6552
6553 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6554
6555         * counters.C (Counters): add missing algorithm counter.
6556
6557         * text2.C (setCounter): lookup the counter with layouts latexname
6558         instead of by section number.
6559         (setCounter): use a hackish way to lookup the correct enum
6560         counter.
6561         a float name->type change
6562         reset enum couners with counter name directly instead of depth value.
6563
6564         * counters.C (Counters): remove the push_backs, change to use the
6565         float type not the float name.
6566         (labelItem): remove unused string, float name->type change
6567
6568         * counters.h: don't include vector, loose the enums and sects vectors
6569
6570 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6571
6572         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6573         (Read): add float->TC_FLOAT to textclassTags
6574         (Read): and handle it in the switch
6575         (readFloat): new function
6576
6577         * FloatList.C (FloatList): comment out the hardcoded float
6578         definitions.
6579
6580         * lyxlayout.h: ws change.
6581
6582 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6583
6584         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6585
6586 2002-09-03  Angus Leeming  <leeming@lyx.org>
6587
6588         * BufferView_pimpl.h: qualified name is not allowed in member
6589         declaration: WorkArea & Pimpl::workarea() const;
6590
6591         * factory.C: added using std::endl directive.
6592
6593         * text3.C: added using std::find and std::vector directives.
6594
6595 2002-08-29  André Pönitz <poenitz@gmx.net>
6596
6597         * lyxtext.h:
6598         * text2.C: remove unused member number_of_rows
6599
6600         * Makefile.am:
6601         * BufferView2.C: remove file, move contents to...
6602         * BufferView.C: ... here
6603
6604         * BufferView_pimpl.C:
6605         * factory.C: move more inset creation to factory
6606
6607         * vspace.C: avoid direct usage of LyXText, ws changes
6608
6609         * BufferView.[Ch]:
6610                 don't provide direct access to WorkArea, use two simple
6611                 acessors haveSelction() and workHeight() instead
6612
6613
6614 2002-08-29  John Levon  <levon@movementarian.org>
6615
6616         * BufferView_pimpl.C (dispatch): do not continue when
6617           no buffer
6618
6619 2002-08-28  André Pönitz <poenitz@gmx.net>
6620
6621         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6622
6623         * BufferView.h:
6624         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6625
6626 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6627
6628         * buffer.C: increment LYX_FORMAT to 221
6629
6630         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6631         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6632
6633         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6634
6635         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6636
6637 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6638
6639         * factory.C (createInset): use LyXTextClass::floats
6640
6641         * MenuBackend.C (expandFloatListInsert):
6642         (expandFloatInsert):
6643         (expandToc):
6644
6645         * text2.C (setCounter):
6646
6647         * LaTeXFeatures.C (useFloat):
6648         (getFloatDefinitions):
6649
6650         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6651
6652         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6653         floatlist_, with accessor floats().
6654
6655         * FloatList.h: remove global FloatList
6656
6657 2002-08-26  André Pönitz <poenitz@gmx.net>
6658
6659         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6660
6661         * BufferView.h:
6662         * BufferView2.C:
6663         * BufferView_pimpl.C:
6664         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6665
6666 2002-08-25  John Levon  <levon@movementarian.org>
6667
6668         * LyXAction.C: fix margin note description
6669
6670 2002-08-24  John Levon  <levon@movementarian.org>
6671
6672         * buffer.C:
6673         * bufferlist.C:
6674         * bufferview_funcs.C:
6675         * lyxfont.C:
6676         * undo_funcs.C: cleanups
6677
6678         * lyxfunc.C: disable CUT/COPY when no selection
6679
6680 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6681
6682         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6683         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6684
6685         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6686         Add backward compatibility to "mono", "gray" and "no".
6687
6688 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6689
6690         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6691         (and file_format >= 200).
6692
6693 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6694
6695         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6696
6697 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6698
6699         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6700
6701 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6702
6703         * BufferView_pimpl.C:
6704         * LyXAction.C:
6705         * buffer.C:
6706         * commandtags.h:
6707         * lyxfunc.C:
6708         * paragraph.[Ch]:
6709         * text2.C:
6710         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6711         inset and code to make it  work with the paragraph code. The inset
6712         can be anywhere in the paragraph, but will only do the expected
6713         thing in LaTeX if the layout file contains the parameter line
6714                         OptionalArgs    1
6715         (or more generally, a nonzero value) for that layout.
6716
6717 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6718
6719         * paragraph.h: remove the declaration of undefined counters class
6720         function.
6721
6722 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6723
6724         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6725         Dr. Richard Hawkins.
6726
6727 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6728
6729         * paragraph_funcs.h: remove some unneeded includes
6730
6731         * text.C (backspace): pasteParagraph now in global scipe
6732
6733         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6734         (pasteSelection): ditto
6735
6736         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6737         * paragraph_funcs.C (pasteParagraph): ... here
6738
6739 2002-08-20  André Pönitz <poenitz@gmx.net>
6740
6741         * commandtags.h: new LFUNs for swapping/copying table row/colums
6742
6743         * LyXAction.C:
6744         * lyxfunc.C: support for new lfuns
6745
6746 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * tabular.C:
6749         * buffer.[Ch]: remove NO_COMPABILITY stuff
6750
6751 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6752
6753         * boost.C (throw_exception): new file, with helper function for
6754         boost compiled without exceptions.
6755
6756         * paragraph.h:
6757         * lyxlength.C:
6758         * buffer.C:
6759         * ParameterStruct.h:
6760         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6761
6762         * bufferlist.C (emergencyWriteAll): use boost bind
6763
6764         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6765
6766         * text.C: include paragraph_funcs.h
6767         (breakParagraph): breakParagraph is now in global scope
6768
6769         * paragraph_funcs.[Ch]: new files
6770
6771         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6772         global scope
6773
6774         * buffer.C: include paragraph_funcs.h
6775         (insertStringAsLines): breakParagraph is now in global scope
6776
6777         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6778         paragraph_funcs.C
6779
6780         * CutAndPaste.C: include paragraph_funcs.h
6781         (cutSelection): breakParagraphConservative is now in global scope
6782         (pasteSelection): ditto
6783
6784         * buffer.h: declare oprator== and operator!= for
6785         Buffer::inset_iterator
6786
6787         * bufferlist.C (emergencyWrite): don't use fmt(...)
6788
6789         * text3.C: add using std::endl
6790
6791         * BufferView.C (moveCursorUpdate): remove default arg
6792
6793 2002-08-20  André Pönitz <poenitz@gmx.net>
6794
6795         * buffer.[Ch]: move inline functions to .C
6796
6797         * BufferView2.C:
6798         * BufferView_pimpl.C:
6799         * text.C:
6800         * buffer.[Ch]: use improved inset_iterator
6801
6802         * buffer.C:
6803         * paragraph.[Ch]: write one paragraph at a time
6804
6805 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6806
6807         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6808         style if style is not specified.
6809
6810 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6811
6812         * text2.C (setCounter): when searching for right label for a
6813         caption, make sure to recurse to parent insets (so that a caption
6814         in a minipage in a figure float works) (bug #568)
6815
6816 2002-08-20  André Pönitz <poenitz@gmx.net>
6817
6818         * text3.C: new file for LyXText::dispatch() and helpers
6819
6820         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6821
6822         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6823
6824 2002-08-19  André Pönitz <poenitz@gmx.net>
6825
6826         * lyxtext.h:
6827         * text.C: new LyXText::dispatch()
6828
6829         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6830
6831 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6832
6833         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6834
6835         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6836         Hebrew text.
6837
6838 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6839
6840         * Makefile.am: use $(variables) instead of @substitutions@
6841
6842 2002-08-15  André Pönitz <poenitz@gmx.net>
6843
6844         * lyxfunc.C:
6845         * BufferView_pimpl.C: streamlining mathed <-> outer world
6846         interaction
6847
6848         * commandtags.h:
6849         * LyXAction.C: remove unused LFUN_MATH
6850
6851 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6854
6855 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * paragraph.C (Paragraph): reformat a bit
6858         (cutIntoMinibuffer): use builtin InsetList function instad of
6859         doing it manually.
6860         (getInset): ditto
6861
6862         * buffer.C: include boost/bind.hpp, add using std::for_each
6863         (writeFileAscii): use ParagraphList iterators
6864         (validate): use for_each for validate traversal of paragraphs
6865         (getBibkeyList): use ParagraphList iterators
6866         (resizeInsets): use for_each to resizeInsetsLyXText for all
6867         paragraphs.
6868         (getParFromID): use ParagraphList iterators
6869
6870         * BufferView2.C (lockInset): use paragraph list and iterators
6871
6872 2002-08-14  John Levon  <levon@movementarian.org>
6873
6874         * lyxserver.C: remove spurious xforms include
6875
6876 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6877
6878         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6879
6880 2002-08-13  André Pönitz <poenitz@gmx.net>
6881
6882         * LyXAction.[Ch]:
6883         * lyxfunc.C: further cleaning
6884
6885 2002-08-13  André Pönitz <poenitz@gmx.net>
6886
6887         * funcrequest.h: new constructor
6888
6889         * funcrequest.C: move stuff here from .h
6890
6891         * Makefile.am:
6892         * BufferView_pimpl.C:
6893         * LyXAction.C:
6894         * toc.C:
6895         * lyxfunc.C: subsequent changes
6896
6897         * lyxfunc.h: new view() member function
6898
6899         * lyxfunc.C: subsequent changes
6900
6901 2002-08-13  Angus Leeming  <leeming@lyx.org>
6902
6903         * BufferView2.C:
6904         * BufferView_pimpl.C:
6905         * buffer.C:
6906         * converter.C:
6907         * importer.C:
6908         * lyxfunc.C:
6909         * lyxvc.C:
6910         * toc.C:
6911         * vc-backend.C:
6912         changes due to the changed LyXView interface that now returns references
6913         to member variables not pointers.
6914
6915 2002-08-13  Angus Leeming  <leeming@lyx.org>
6916
6917         * WordLangTuple (word, lang_code): return references to strings,
6918         not strings.
6919
6920         * BufferView.h:
6921         * SpellBase.h:
6922         * lyxtext.h: forward-declare WordLangTuple.
6923
6924         * BufferView2.C:
6925         * ispell.C:
6926         * pspell.C:
6927         * text.C: #include "WordLangTuple.h".
6928
6929         * lyxtext.h:
6930         * text.C: (selectNextWordToSpellcheck): constify return type.
6931
6932 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6933
6934         * buffer.C:
6935         * buffer.h:
6936         * lyxtext.h:
6937         * paragraph.C:
6938         * paragraph_pimpl.h:
6939         * text.C:
6940         * text2.C:
6941         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6942         suggested by Angus.
6943         Made updateCounter always count from start of buffer, and removed
6944         second argument (par).
6945         Reverted floats number display to '#'. Perhaps I'll try again when the
6946         code base is sanitized a bit.
6947
6948 2002-08-12  Angus Leeming  <leeming@lyx.org>
6949
6950         * buffer.[Ch] (getLabelList): constify.
6951
6952 2002-08-07  André Pönitz <poenitz@gmx.net>
6953
6954         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6955
6956         * funcrequest.h: extension to keep mouse (x,y) position
6957
6958 2002-08-12  Juergen Vigna  <jug@sad.it>
6959
6960         * BufferView2.C (insertErrors): forbid undo when inserting error
6961         insets.
6962
6963         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6964
6965 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6966
6967         * ParagraphList.[Ch]: new files
6968
6969         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6970
6971         * BufferView2.C (lockInset): ParagraphList changes
6972         * toc.C: ditto
6973         * text2.C: ditto
6974         * bufferlist.C: ditto
6975         * buffer.h: ditto
6976         * buffer.C: ditto
6977
6978 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6979
6980         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6981         unused class variable counter_,
6982
6983         * paragraph.[Ch] (getFirstCounter): delete unused function
6984
6985         * counters.C: include LAssert.h
6986         (reset): add a new function with no arg, change other version to
6987         not have def. arg and to not allow empty arg.
6988
6989         * text2.C (setCounter): remove empty arg from call to Counters::reset
6990
6991 2002-08-11  John Levon  <levon@movementarian.org>
6992
6993         * Makefile.am: add WordLangTuple.h
6994
6995 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6998         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6999
7000         * insets/insettext.C: InsetList changes
7001
7002         * graphics/GraphicsSupport.C (operator()): InsetList changes
7003
7004         * toc.C (getTocList): InsetList changes
7005
7006         * paragraph_pimpl.[Ch]: InsetList changes
7007
7008         * paragraph.[Ch]: InsetList changes
7009
7010         * buffer.C (inset_iterator): InsetList changes
7011         (setParagraph): ditto
7012         * buffer.h (inset_iterator): ditto
7013         * iterators.C (operator++): ditto
7014         * iterators.h: ditto
7015
7016         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7017
7018         * InsetList.[Ch]: new files, most InsetList handling moved out of
7019         paragraph.C.
7020
7021         * BufferView2.C (removeAutoInsets): InsetList changes
7022         (lockInset): ditto
7023         (ChangeInsets): ditto
7024
7025 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7026
7027         * paragraph_pimpl.h (empty): new function
7028
7029         * paragraph.[Ch] (empty): new function
7030
7031         * other files: use the new Paragraph::empty function
7032
7033 2002-08-09  John Levon  <levon@movementarian.org>
7034
7035         * lyxtext.h: remove unused refresh_height
7036
7037 2002-08-09  John Levon  <levon@movementarian.org>
7038
7039         * Makefile.am:
7040         * sgml.h:
7041         * sgml.C:
7042         * buffer.C:
7043         * paragraph.h:
7044         * paragraph.C: move sgml char escaping out of paragraph
7045
7046         * paragraph.h:
7047         * paragraph.C: remove id setter
7048
7049         * buffer.C:
7050         * paragraph.C:
7051         * paragraph_pimpl.C: remove dead tex_code_break_column
7052
7053         * bufferview_funcs.C: small cleanup
7054
7055         * lyxfunc.C: remove dead proto
7056
7057         * lyxtext.h: make some stuff private. Remove some dead stuff.
7058
7059         * lyxgluelength.C: make as[LyX]String() readable
7060
7061 2002-08-08  John Levon  <levon@movementarian.org>
7062
7063         * LyXAction.h:
7064         * LyXAction.C:
7065         * MenuBackend.C:
7066         * ToolbarDefaults.C:
7067         * lyxfunc.C:
7068         * lyxrc.C:
7069         * toc.C: lyxaction cleanup
7070
7071 2002-08-08  John Levon  <levon@movementarian.org>
7072
7073         * BufferView2.C: small cleanup
7074
7075         * lyxfind.h:
7076         * lyxfind.C: move unnecessary header into the .C
7077
7078 2002-08-08  John Levon  <levon@movementarian.org>
7079
7080         * funcrequest.h: just tedious nonsense
7081
7082         * lyx_main.h:
7083         * lyx_main.C: cleanups
7084
7085         * buffer.C:
7086         * vspace.C: remove dead header lyx_main.h
7087
7088 2002-08-07  Angus Leeming  <leeming@lyx.org>
7089
7090         * Paragraph.[Ch]:
7091         * paragraph_pimpl.h:
7092         Forward declare class Counters in paragraph.h by moving the ctrs member
7093         variable into Paragraph::Pimpl.
7094         (counters): new method, returning a reference to pimpl_->ctrs.
7095
7096         * text2.C: ensuing changes.
7097
7098 2002-08-07  John Levon  <levon@movementarian.org>
7099
7100         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7101
7102         * BufferView_pimpl.C: announce X selection on double/triple
7103           click
7104
7105         * lyx_main.C: use correct bool in batch dispatch
7106
7107         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7108
7109 2002-08-07  André Pönitz <poenitz@gmx.net>
7110
7111         * funcrequest.h: new class to wrap a kb_action and its argument
7112
7113         * BufferView.[Ch]:
7114         * BufferView_pimpl[Ch]:
7115         * LaTeX.C:
7116         * LyXAction.[Ch]:
7117         * lyxfunc.[Ch]:
7118         * lyxrc.C: subsequent changes
7119
7120
7121 2002-08-07  John Levon  <levon@movementarian.org>
7122
7123         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7124           document options change.
7125
7126 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7127
7128         * counters.[Ch]
7129         * text2.C
7130         * paragraph.[Ch]
7131         * makefile.am: move counters functionality over from
7132         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7133
7134 2002-08-06  John Levon  <levon@movementarian.org>
7135
7136         * WordLangTuple.h: new file for word + language code tuple
7137
7138         * SpellBase.h:
7139         * pspell.h:
7140         * pspell.C:
7141         * ispell.h:
7142         * ispell.C:
7143         * lyxtext.h:
7144         * text.C:
7145         * text2.C:
7146         * BufferView.h:
7147         * BufferView2.C: use WordLangTuple
7148
7149         * layout.h:
7150         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7151
7152 2002-08-06  John Levon  <levon@movementarian.org>
7153
7154         * lyx_main.C: fix cmdline batch handling
7155
7156 2002-08-06  André Pönitz <poenitz@gmx.net>
7157
7158         * lyxrc.C: set default for show_banner to true
7159
7160 2002-08-06  John Levon  <levon@movementarian.org>
7161
7162         * pspell.C: fix a crash, and allow new aspell to work
7163
7164 2002-08-06  John Levon  <levon@movementarian.org>
7165
7166         * lyxfunc.C:
7167         * kbmap.C: small cleanup
7168
7169         * vspace.h:
7170         * vspace.C: add const
7171
7172 2002-08-05  John Levon  <levon@movementarian.org>
7173
7174         * LyXAction.C: back to tabular-insert
7175
7176 2002-08-04  John Levon  <levon@movementarian.org>
7177
7178         * BufferView.h:
7179         * BufferView.C: cosmetic change
7180
7181         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7182
7183         * bufferlist.C:
7184         * buffer.h:
7185         * buffer.C:
7186         * lyxcb.h:
7187         * lyxcb.C:
7188         * lyxserver.C:
7189         * lyxvc.C:
7190         * vc-backend.C:
7191         * BufferView2.C: purge all "Lyx" not "LyX" strings
7192
7193         * lyxcursor.h:
7194         * lyxcursor.C: attempt to add some documentation
7195
7196         * lyxfunc.C:
7197         * commandtags.h:
7198         * LyXAction.C:
7199         * ToolbarDefaults.C:
7200         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7201           merge with LFUN_TABULAR_INSERT
7202
7203         * Makefile.am:
7204         * SpellBase.h:
7205         * ispell.h:
7206         * ispell.C:
7207         * pspell.h:
7208         * pspell.C: split up i/pspell implementations into separate
7209           files, many cleanups
7210
7211         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7212
7213         * text2.C: some cleanup
7214
7215         * lyxfunc.C: don't check for isp_command == "none" any more, it
7216           didn't make any sense
7217
7218 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7219
7220         * counters.[Ch]
7221         * text2.C
7222         * paragraph.[Ch]
7223         * makefile.am: move counters functionality over
7224         from text2.C/paragraph.[Ch] to counters.[Ch], and
7225         make proper C++.
7226 2002-08-02  John Levon  <levon@movementarian.org>
7227
7228         * buffer.C: s/lyxconvert/lyx2lyx/
7229
7230 2002-08-02  Angus Leeming  <leeming@lyx.org>
7231
7232         * lyxlex.C: revert John's change as it breaks reading of the user
7233         preamble.
7234
7235 2002-08-02  Angus Leeming  <leeming@lyx.org>
7236
7237         * importer.C (Import):
7238         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7239         changes due to LyXView::view() now returning a boost::shared_ptr.
7240
7241 2002-08-02  John Levon  <levon@movementarian.org>
7242
7243         * lyxlex.C: small cleanup
7244
7245 2002-08-02  John Levon  <levon@movementarian.org>
7246
7247         * text2.C (status): small cleanup, no logic change
7248
7249 2002-08-01  John Levon  <levon@movementarian.org>
7250
7251         * buffer.h:
7252         * buffer.C (writeFile): don't output alerts, caller
7253           handles this
7254
7255         * bufferlist.C:
7256         * lyx_cb.C: from above
7257
7258         * lyxfunc.C: allow to open non-existent files
7259
7260 2002-07-31  John Levon  <levon@movementarian.org>
7261
7262         * lyxserver.C: don't let incidental errors get
7263           in the way (errno)
7264
7265 2002-07-30  John Levon  <levon@movementarian.org>
7266
7267         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7268
7269 2002-07-30  John Levon  <levon@movementarian.org>
7270
7271         * lyxserver.h:
7272         * lyxserver.C: remove I/O callback too
7273
7274 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7275
7276         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7277         log.
7278
7279 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7280
7281         * many files: strip,frontStrip -> trim,ltrim,rtrim
7282
7283 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7284
7285         * PrinterParams.h: remove extern containsOnly, and include
7286         support/lstrings.h instead.
7287
7288         * LaTeX.C (scanAuxFile): modify because of strip changes
7289         (deplog): ditto
7290         * buffer.C (makeLaTeXFile): ditto
7291         * bufferparams.C (writeFile): ditt
7292         * lyxfont.C (stateText): ditto
7293         * lyxserver.C (read_ready): ditto
7294         * vc-backend.C (scanMaster): ditto
7295
7296         * BufferView_pimpl.h: ws changes
7297
7298         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7299
7300 2002-07-26  André Pönitz <poenitz@gmx.net>
7301
7302         * kb_sequence.C: remove unnedred usings
7303
7304 2002-07-26  Juergen Vigna  <jug@sad.it>
7305
7306         * lyxfind.C (LyXReplace): we have to check better if the returned
7307         text is not of theLockingInset()->getLockingInset().
7308
7309 2002-07-25  Juergen Vigna  <jug@sad.it>
7310
7311         * lyxfind.C (LyXReplace): don't replace if we don't get the
7312         right LyXText.
7313
7314         * undo_funcs.C (createUndo): remove debugging code.
7315
7316 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7317
7318         * buffer.C (parseSingleLyXformat2Token): Use default placement
7319         when reading old floats.
7320
7321         * FloatList.C (FloatList): Change the default placement of figure
7322         and tables to "tbp".
7323
7324 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7325
7326         * MenuBackend.C: using std::max
7327
7328 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7329
7330         * MenuBackend.C (expandToc):
7331         (expandToc2): code moved from xforms menu frontend. It is now
7332         generic and TOCs are transparent to menu frontends.
7333
7334 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7335
7336         * toc.C (getTocList): protect against buf=0
7337
7338         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7339         Menu as first parameter. Now, this calls itself recursively to
7340         expand a whole tree (this will be useful for TOC handling)
7341         (expandFloatInsert): remove 'wide' version of floats
7342
7343         * MenuBackend.h (submenuname): returns the name of the submenu.
7344         (submenu): returns the submenu itself, provided it has been
7345         created by MenuBackend::expand
7346
7347 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7348
7349         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7350         insets which have noFontChange == true. (bug #172)
7351
7352 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7353
7354         * BufferView_pimpl.C: add connection objects and use them...
7355         (Pimpl): here.
7356
7357 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7358
7359         * MenuBackend.C (expandLastfiles):
7360         (expandDocuments):
7361         (expandFormats):
7362         (expandFloatListInsert):
7363         (expandFloatInsert):
7364         (expand): split expand in parts
7365
7366 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7367
7368         * lyx_gui.C: use lyx_gui::exit()
7369
7370 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7371
7372         * LyXAction.C: show the failing pseudo action
7373
7374 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7375
7376         * buffer.C (readFile): Run the lyxconvert script in order to read
7377         old files.
7378
7379 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7380
7381         * LyXAction.C:
7382         * commandtags.h:
7383         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7384
7385 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7386
7387         * LyXAction.C:
7388         * commandtags.h:
7389         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7390
7391 2002-07-22  Herbert Voss  <voss@lyx.org>
7392
7393         * lengthcommon.C:
7394         * lyxlength.[Ch]: add support for the vertical lengths
7395
7396 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7397
7398         * toc.[Ch]: std:: fixes
7399
7400 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7401
7402         * lyxrc.C: do not include lyx_main.h
7403
7404         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7405         for layouts
7406
7407         * lyxrc.C:
7408         * encoding.C:
7409         * bufferlist.C:
7410         * BufferView2.C: include "lyxlex.h"
7411
7412         * tabular.h:
7413         * bufferparams.h: do not #include "lyxlex.h"
7414
7415         * lyxtextclasslist.C (Add): remove method
7416         (classlist): renamed to classlist_
7417
7418         * paragraph_pimpl.C:
7419         * paragraph.C:
7420         * text2.C:
7421         * CutAndPaste.C:
7422         * bufferview_funcs.C:
7423         * bufferlist.C:
7424         * text.C:
7425         * LaTeXFeatures.C:
7426         * buffer.C:
7427         * toc.C (getTocList): use BufferParams::getLyXTextClass
7428
7429         * toc.C (getTocList): use InsetFloat::addToToc
7430
7431         * toc.[Ch]: new files, containing helper functions to handle table
7432         of contents
7433
7434         * lyxfunc.C (dispatch): no need to remove spaces around command
7435         given as a string
7436         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7437         first command of the sequence; it is not very clever, but I do not
7438         have a better idea, actually
7439
7440         * LyXAction.C (LookupFunc): make sure to remove space at the
7441         beginning and end of the command
7442
7443 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7444
7445         * MenuBackend.C (getMenubar): new method: return the menubar of
7446         this menu set
7447         (read): treat differently reading of menu and menubar (in
7448         particular, the menubar has no name now)
7449         (Menu::menubar): remove
7450
7451         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7452         saving is finished
7453
7454 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7455
7456         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7457         a bibitem inset in a RTL paragraph.
7458
7459 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7460
7461         * paragraph_pimpl.C: constify
7462
7463         * BufferView_pimpl.C:
7464         * LaTeX.C:
7465         * lyxfunc.C: fix dispatch in a nicer way
7466
7467 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7468
7469         * lyxfunc.C (dispatch):
7470         * BufferView_pimpl.C:
7471         * BufferView_pimpl.h:
7472         * BufferView.C:
7473         * BufferView.h: rename Dispatch() to dispatch()
7474
7475         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7476
7477         * lyxlayout.C (Read): honor DependsOn tag
7478
7479         * lyxlayout.[Ch] (depends_on): new method
7480
7481         * version.C.in: update lyx_docversion
7482
7483         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7484
7485         * paragraph.C (validate): remove from here...
7486         * paragraph_pimpl.C (validate): ... and move here
7487         (isTextAt): make it const
7488
7489         * buffer.C (getLists): ws cleanup
7490
7491 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7492
7493         * language.C (read): Use iso8859-1 encoding in latex_lang
7494         (this prevents LyX from crashing when using iso10646-1 encoding).
7495
7496 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7497
7498         * text2.C (toggleInset): if cursor is inside an inset, close the
7499         inset and leave cursor _after_ it
7500
7501 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7502
7503         * lyxfunc.C: move minibuffer completion handling out of here
7504
7505 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7506
7507         * BufferView_pimpl.C:
7508         * LaTeX.C: fix dispatch calls
7509
7510 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7511
7512         * text.C (drawChars): Fix Arabic text rendering.
7513
7514 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7515
7516         * LyXAction.C:
7517         * commandtags.h:
7518         * lyxfunc.C: remove message-push/pop
7519
7520         * lyxserver.C:
7521         * lyxfunc.h:
7522         * lyxfunc.C: rationalise some code by removing verboseDispatch
7523           in favour of a bool argument to dispatch()
7524
7525 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7526
7527         * lyx_main.C (init): make sure to read symlinks as absolute paths
7528
7529 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7530
7531         * lyxfunc.h:
7532         * lyxfunc.C: no need for commandshortcut to be a member
7533
7534 2002-07-15  André Pönitz <poenitz@gmx.net>
7535
7536         * converter.C: add support for $$s (scripts from lib/scripts dir)
7537         * lyx_main.C: white space
7538
7539 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7540
7541         * bufferlist.C:
7542         * lyxrc.h:
7543         * lyxrc.C: remove second exit confirmation
7544
7545 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7546
7547         * BufferView.h:
7548         * BufferView.C:
7549         * BufferView2.C:
7550         * BufferView_pimpl.h:
7551         * BufferView_pimpl.C:
7552         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7553
7554 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7555
7556         * MenuBackend.C (expand): add numeric shortcuts to document menu
7557
7558         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7559
7560 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7561
7562         * lyxfont.C (setLyXFamily):
7563         (setLyXSeries):
7564         (setLyXShape):
7565         (setLyXSize):
7566         (setLyXMisc):
7567         (lyxRead):
7568         * debug.C (value):
7569         * buffer.C (asciiParagraph): use ascii_lowercase
7570
7571 2002-07-15  Mike Fabian  <mfabian@suse.de>
7572
7573         * lyxlex_pimpl.C (search_kw):
7574         * lyxlex.C (getLongString):
7575         * converter.h (operator<):
7576         * converter.C (operator<):
7577         * buffer.C (parseSingleLyXformat2Token):
7578         (asciiParagraph):
7579         * ToolbarDefaults.C (read):
7580         * MenuBackend.C (checkShortcuts):
7581         (read):
7582         * LColor.C (getFromGUIName):
7583         (getFromLyXName): use the compare_ascii_no_case instead of
7584         compare_no_case, because in turkish, 'i' is not the lowercase
7585         version of 'I', and thus turkish locale breaks parsing of tags.
7586
7587 2002-07-16  Angus Leeming  <leeming@lyx.org>
7588
7589         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7590         now takes a Buffer const & argument.
7591
7592 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7593
7594         * BufferView.C (resize): check there's a buffer to resize
7595
7596 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7597
7598         * lyxfunc.C: remove dead code
7599
7600         * lyxserver.h:
7601         * lyxserver.C: use lyx_guii::set_read_callback
7602
7603 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7604
7605         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7606         an inset in a RTL paragraph.
7607
7608 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7609
7610         * lyxfunc.C: repaint after a font size update
7611
7612 2002-07-15  André Pönitz <poenitz@gmx.net>
7613
7614         * lyxlength.C: inBP should be able to return negative values
7615
7616 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7617
7618         * lyxfunc.C: use lyx_gui::update_fonts()
7619
7620 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7621
7622         * lyxfunc.C: use lyx_gui::update_color()
7623
7624 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7625
7626         * bufferlist.C:
7627         * lyxfunc.h:
7628         * lyxfunc.C:
7629         * lyxrc.h:
7630         * lyxrc.C: remove file->new asks for name option, and let
7631           buffer-new take an argument
7632
7633 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7634
7635         * BufferView_pimpl.C: remove unneeded extra repaint()
7636
7637 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7638
7639         * LyXAction.C: allow command-sequence with NoBuffer
7640
7641         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7642
7643 2002-07-10  Angus Leeming  <leeming@lyx.org>
7644
7645         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7646
7647 2002-07-09  Angus Leeming  <leeming@lyx.org>
7648
7649         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7650
7651 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7652
7653         * lengthcommon.h: whitespace
7654
7655         * lyxfunc.C: update scrollbar after goto paragraph
7656
7657         * lyxtext.h: factor out page break drawing, and fix it so
7658           page break/added space paints as selected nicely
7659
7660 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7661
7662         * BufferView_pimpl.C: add FIXMEs, clean up a little
7663
7664 2002-07-09  André Pönitz <poenitz@gmx.net>
7665
7666         * lyxfont.[Ch]: support for wasy symbols
7667
7668 2002-07-08  André Pönitz <poenitz@gmx.net>
7669
7670         * BufferView_pimpl.C: apply John's patch for #93.
7671
7672 2002-07-05  Angus Leeming  <leeming@lyx.org>
7673
7674         * BufferView_pimpl.C (buffer): generate previews if desired.
7675
7676         * LColor.h: add "preview" to the color enum.
7677
7678         * LColor.C (LColor): add a corresponding entry to the items array.
7679
7680         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7681         with this buffer.
7682
7683 2002-07-05  Angus Leeming  <leeming@lyx.org>
7684
7685         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7686         The body of the code is now in the method that is passed an ostream &
7687         rather than a file name.
7688         Pass an additional only_preamble parameter, useful for the forthcoming
7689         preview stuff.
7690
7691 2002-07-03  André Pönitz <poenitz@gmx.net>
7692
7693         * lyxfunc.C: simplify getStatus() a bit for math stuff
7694
7695 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7696
7697         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7698
7699 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7700
7701         * text.C (changeRegionCase): do not change case of all the
7702         document when region ends at paragraph end (bug #461)
7703
7704 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7705
7706         * paragraph.C (startTeXParParams):
7707         (endTeXParParams): add \protect when necessary
7708
7709 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7710
7711         * BufferView_pimpl.C (workAreaExpose): remove warning
7712
7713 2002-06-27  Angus Leeming  <leeming@lyx.org>
7714
7715         * Makefile.am: add lyxlayout_ptr_fwd.h.
7716
7717 2002-06-26  André Pönitz <poenitz@gmx.net>
7718
7719         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7720
7721 2002-06-25  Angus Leeming  <leeming@lyx.org>
7722
7723         * lyxfunc.C (dispatch): Comment out the call to
7724         grfx::GCache::changeDisplay. The method no longer exists now that the
7725         pixmap generation part of the graphics loader has been moved into
7726         InsetGraphics.
7727
7728 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7729
7730         * text2.C: layout as layout
7731
7732         * text.C: layout as layout
7733
7734         * tabular.C (OldFormatRead): layout as layout
7735
7736         * paragraph_pimpl.C (TeXDeeper): layout as layout
7737         (realizeFont): layout as layout
7738
7739         * paragraph.C (writeFile): layout as layout
7740         (validate): layout as layout
7741         (getFont): layout as layout
7742         (getLabelFont): layout as layout
7743         (getLayoutFont): layout as layout
7744         (breakParagraph): layout as layout
7745         (stripLeadingSpaces): layout as layout
7746         (getEndLabel): layout as layout
7747         (getMaxDepthAfter): layout as layout
7748         (applyLayout): layout as layout
7749         (TeXOnePar): layout as layout
7750         (simpleTeXOnePar): layout as layout
7751         (TeXEnvironment): layout as layout
7752         (layout): layout as layout
7753         (layout): layout as layout
7754
7755         * lyxtextclass.C (compare_name): new functor to work with
7756         shared_ptr, layout as layout
7757         (Read): layout as layout
7758         (hasLayout): layout as layout
7759         (operator): layout as layout
7760         (delete_layout): layout as layout
7761         (defaultLayout): layout as layout
7762
7763         * lyxlayout_ptr_fwd.h: new file
7764
7765         * lyxlayout.C (Read): layout as layout
7766
7767         * lyx_cb.C (MenuInsertLabel): layout as layout
7768
7769         * bufferlist.C (newFile): layout as layout
7770
7771         * buffer.C (readLyXformat2): layout as layout
7772         (parseSingleLyXformat2Token): layout as layout
7773         (insertStringAsLines): layout as layout
7774         (asciiParagraph): layout as layout
7775         (latexParagraphs): layout as layout
7776         (makeLinuxDocFile): layout as layout
7777         (simpleLinuxDocOnePar): layout as layout
7778         (makeDocBookFile): layout as layout
7779         (simpleDocBookOnePar): layout as layout
7780         (getLists): layout as layout
7781
7782         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7783
7784         * CutAndPaste.C (cutSelection): layout as layout
7785         (pasteSelection): layout as layout
7786         (SwitchLayoutsBetweenClasses): layout as layout
7787
7788         * BufferView_pimpl.C (Dispatch): layout as layout
7789         (smartQuote): layout as layout
7790
7791         * BufferView2.C (unlockInset): layout as layout
7792
7793 2002-06-24  André Pönitz <poenitz@gmx.net>
7794
7795         * lyxfunc.C: fix #487
7796
7797 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7798
7799         * lyxrc.h:
7800         * lyxrc.C:
7801         * lyxfunc.C: remove display_shortcuts, show_banner
7802
7803 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7804
7805         * Buffer_pimpl.C: oops, update on resize
7806
7807 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7808
7809         * buffer.C:
7810         * converter.C:
7811         * exporter.C:
7812         * lyxfunc.C:
7813         * BufferView.h:
7814         * BufferView.C: use repaint()
7815
7816         * BufferView_pimpl.h:
7817         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7818           as it's a clearer description. Remove superfluous
7819           redraws.
7820
7821 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7822
7823         * text.C: fix bug 488. Not ideal, but getting
7824           getWord() to work properly for the insets that
7825           matter is more difficult ...
7826
7827 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7828
7829         * BufferView_pimpl.C:
7830         * LyXAction.C:
7831         * commandtags.h:
7832         * lyxfunc.C: remove the six million index lyxfuncs to just
7833           one, and DTRT (bug 458)
7834
7835 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7836
7837         * BufferView.h:
7838         * BufferView.C:
7839         * BufferView_pimpl.h:
7840         * BufferView_pimpl.C: clean up resize() stuff,
7841           and unnecessary updateScreen()s
7842
7843 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7844
7845         * BufferView.h:
7846         * BufferView.C:
7847         * BufferView_pimpl.h:
7848         * BufferView_pimpl.C:
7849         * lyxfind.h:
7850         * lyxfind.C:
7851         * minibuffer.C: remove focus management of workarea,
7852           not needed. Use screen's greyOut()
7853
7854 2002-06-17  Herbert Voss  <voss@lyx.org>
7855
7856         * converter.C: (convert) do not post a message, when converting
7857         fails, let the calling function decide what to do in this case
7858
7859 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7860
7861         * lyxfunc.C: tidy up a little
7862
7863 2002-06-16    <alstrup@diku.dk>
7864
7865         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7866         Got rid of FORMS_H_LOCATION include. Now we are
7867         GUII.
7868
7869 2002-06-15  LyX Development team  <lyx@rilke>
7870
7871         * buffer.[Ch] (sgmlOpenTag):
7872         (sgmlCloseTag): Added support for avoiding pernicious mixed
7873         content. Return number of lines written.
7874
7875         (makeLinuxDocFile):
7876         (makeDocBookFile): Fixed calls to sgml*Tag.
7877         Simple white space clean.
7878
7879         (simpleDocBookOnePar): Simple white space clean.
7880
7881         * tabular.[Ch] (docBook): Renamed to docbook and got another
7882         argument to related with the pernicious mixed content.
7883
7884         (docbookRow): Fixed calls for docbook inset method.
7885
7886 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7887
7888         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7889         so it's X11 independent.
7890
7891         * kb*.[Ch]: ditto.
7892
7893         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7894
7895 2002-06-15  Lyx Development team  <lyx@electronia>
7896
7897         * intl.h: Renamed getTrans to getTransManager.
7898
7899 2002-06-14  Angus Leeming  <leeming@lyx.org>
7900
7901         * Makefile.am: nuke forgotten stl_string_fwd.h.
7902
7903 2002-06-12  Angus Leeming  <leeming@lyx.org>
7904
7905         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7906
7907 2002-06-13  Angus Leeming  <leeming@lyx.org>
7908
7909         * LaTeX.C:
7910         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7911
7912 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7913
7914         * kbmap.C (getiso): add support for cyrillic and greek
7915
7916 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7917
7918         * BufferView.h:
7919         * BufferView.C:
7920         * BufferView_pimpl.h:
7921         * BufferView_pimpl.C: move bogus scrolling logic
7922           to xforms
7923
7924 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7925
7926         * lyxfunc.C:
7927         * BufferView_pimpl.C: view->resize() change
7928
7929 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7930
7931         * BufferView_pimpl.C: topCursorVisible
7932           prototype change
7933
7934 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7935
7936         * Makefile.am:
7937         * lyx_gui.h:
7938         * lyx_gui.C: move to frontends/
7939
7940         * main.C:
7941         * lyx_main.h:
7942         * lyx_main.C: changes from above
7943
7944 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7945
7946         * intl.C:
7947         * intl.h:
7948         * kbmap.C:
7949         * kbsequence.C:
7950         * lyx_cb.C:
7951         * lyx_main.C: minor tidy
7952
7953 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7954
7955         * BufferView_pimpl.h:
7956         * BufferView_pimpl.C:
7957         * BufferView.h:
7958         * BufferView.C: make painter() const,
7959           remove dead code
7960
7961         * BufferView2.C: use screen() accessor
7962
7963         * lyx_main.h:
7964         * lyx_main.C: some minor cleanup
7965
7966 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7967
7968         * BufferView_pimpl.h:
7969         * BufferView_pimpl.C: remove enter/leaveView,
7970           use workHeight()
7971
7972 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7973
7974         * BufferView.h:
7975         * BufferView.C:
7976         * BufferView2.C:
7977         * BufferView_pimpl.h:
7978         * BufferView_pimpl.C: only construct screen once,
7979           rename
7980
7981         * lyxrc.C: remove pointless comment
7982
7983 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7984
7985         * BufferView.h:
7986         * BufferView.C: remove active() and belowMouse()
7987
7988         * BufferView_pimpl.h:
7989         * BufferView_pimpl.C: use workarea() not workarea_,
7990           and make it use a scoped_ptr instead
7991
7992 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7993
7994         * lyx_gui.C: add debug message on BadWindow
7995
7996 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7997
7998         * sp_spell.C: fdopen is not part of the C++ standard.
7999
8000         * paragraph.C (InsetIterator): use >= instead of ==
8001
8002 2002-06-07  Angus Leeming  <leeming@lyx.org>
8003
8004         Fixes needed to compile with Compaq cxx 6.5.
8005         * BufferView_pimpl.C:
8006         * DepTable.C:
8007         * buffer.C:
8008         * converter.C:
8009         * encoding.C:
8010         * lyx_gui.C:
8011         * lyx_main.C:
8012         * lyxtextclasslist.C:
8013         * minibuffer.C:
8014         * sp_spell.C:
8015         * tabular_funcs.C:
8016         * vc-backend.C:
8017         all c-library variables have been moved into namespace std. Wrap
8018         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8019
8020         * lyxlength.C:
8021         * tabular-old.C:
8022         * tabular.C:
8023         Add a using std::abs declaration.
8024
8025         * kbmap.h (modifier_pair):
8026         * paragraph.h (InsetTable, InsetList):
8027         * lyxfont.h (FontBits):
8028         type definition made public.
8029
8030         * bufferlist.C (emergencyWriteAll): the compiler complains that
8031         there is more than one possible lyx::class_fun template to choose from.
8032         I re-named the void specialisation as lyx::void_class_fun.
8033
8034         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8035
8036         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8037         the compiler is is unable to find tostr in write_attribute.
8038
8039 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8040
8041         * buffer.C (sgmlError): hide #warning
8042
8043 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8044
8045         * xtl/*: get rid of xtl, which is not in use anyway
8046
8047         * LyXAction.C (init):
8048         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8049         were unimplemented xtl experimentation
8050
8051 2002-06-04  André Pönitz <poenitz@gmx.net>
8052
8053         * lyxfunc.C: disable array operation on simple formulae
8054
8055 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8056
8057         * converter.C: constify a bit
8058
8059 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8060
8061         * lyx_gui.C: check xforms version correctly
8062
8063 2002-04-30  Herbert Voss  <voss@lyx.org>
8064
8065         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8066         "keep" option
8067
8068 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8069
8070         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8071           attempt to register it with a VCS)
8072
8073 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8074
8075         * lyx_main.C (init): honor variables LYX_DIR_13x and
8076         LYX_USERDIR_13x
8077
8078 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8079
8080         * buffer.h:
8081         * buffer.C:
8082         * lyx_main.C: fix a crash on bad command line,
8083           and give a useful exit status on error
8084
8085         * lyxfunc.C (doImport): allow -i lyx to work
8086
8087 2002-03-30  André Pönitz <poenitz@gmx.net>
8088
8089         * lyxfunc.C: mathed font changes
8090
8091 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8092
8093         * LaTeX.C:
8094         * importer.h:
8095         * importer.C:
8096         * lyx_sty.h:
8097         * lyx_sty.C:
8098         * lyxlex.C:
8099         * lyxrow.h:
8100         * lyxtext.h:
8101         * paragraph.h:
8102         * paragraph.C:
8103         * texrow.h:
8104         * texrow.C:
8105         * text.C:
8106         * trans_mgr.h: srcdocs, and some minor cleanups
8107
8108 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8109
8110         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8111         call getFont all the time)
8112
8113 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8114
8115         * switch from SigC signals to boost::signals
8116
8117 2002-05-29  André Pönitz <poenitz@gmx.net>
8118
8119         * paragraph_pimpl.C (getChar): don't call size() too often...
8120
8121 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8122
8123         * paragraph_pimpl.C (insertChar): do not try to update tables when
8124         appending (pos == size())
8125
8126         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8127         in order to reduce drastically the number of comparisons needed to
8128         parse a large document
8129
8130 2002-05-29  André Pönitz <poenitz@gmx.net>
8131
8132         * text.C:
8133         * text2.C:
8134         * lyxtextclass.C:
8135         * sp_pspell.h:
8136         * textclasslist.[Ch]:
8137         * sp_ispell.h: whitespace change
8138
8139 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8140
8141         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8142         lyxaction directly now.
8143
8144 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8145
8146         * trans.C:
8147         * lyxfont.C:
8148         * lyxvc.C: remove unused headers
8149
8150 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8151
8152         * Makefile.am:
8153         * buffer.h:
8154         * undostack.h:
8155         * undostack.C:
8156         * undo_funcs.h:
8157         * undo_funcs.C: some cleanups. Use shared_ptr
8158           and a template for the undo stacks.
8159
8160 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8161
8162         * BufferView_pimpl.h:
8163         * BufferView_pimpl.C:
8164         * kbmap.h:
8165         * kbmap.C:
8166         * kbsequence.h:
8167         * kbsequence.C:
8168         * lyxfunc.h:
8169         * lyxfunc.C:
8170         * text2.C: use key_state/mouse_state
8171
8172 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8173
8174         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8175         and LSubstring
8176
8177         * chset.C: change include order
8178         (loadFile): use boost regex and get rid of LRegex and LSubstring
8179
8180         * Makefile.am (BOOST_LIBS): new variable
8181         (lyx_LDADD): use it
8182
8183         * LaTeX.C: change include order.
8184         (scanAuxFile): use boost regex and get rid of LRegex and
8185         LSubstring
8186         (deplog): ditto
8187
8188 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8189
8190         * ColorHandler.h:
8191         * ColorHandler.C:
8192         * FontInfo.h:
8193         * FontInfo.C: moved to frontends/xforms/
8194
8195         * FontLoader.h:
8196         * FontLoader.C: moved into frontends for GUIIzation
8197
8198         * Makefile.am:
8199         * lyx_gui.C:
8200         * lyxfont.C:
8201         * lyxfunc.C: changes from above
8202
8203 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8204
8205         * LColor.C: remove spurious X include
8206
8207         * BufferView_pimpl.C:
8208         * Makefile.am:
8209         * font.h:
8210         * font.C:
8211         * text.C:
8212         * text2.C: move font metrics to frontends/
8213
8214 2002-05-24  Juergen Vigna  <jug@sad.it>
8215
8216         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8217         setting the undo_cursor.
8218
8219         * ParagraphParameters.h: include local includes first.
8220
8221 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8222
8223         * BufferView_pimpl.C:
8224         * BufferView_pimpl.h:
8225         * Makefile.am:
8226         * WorkArea.h:
8227         * WorkArea.C:
8228         * screen.C: move WorkArea into frontends/
8229
8230         * lyxscreen.h:
8231         * screen.C:
8232         * text.C:
8233         * BufferView.C:
8234         * BufferView2.C: move LyXScreen into frontends/
8235
8236         * lyxlookup.h:
8237         * lyxlookup.C:
8238         * lyx_gui.C: move lyxlookup into frontends/xforms/
8239
8240 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8241
8242         * BufferView2.C:
8243         * BufferView_pimpl.C:
8244         * FontLoader.C:
8245         * LyXView.h:
8246         * LyXView.C:
8247         * Makefile.am:
8248         * WorkArea.C:
8249         * XFormsView.h:
8250         * XFormsView.C:
8251         * buffer.C:
8252         * bufferlist.C:
8253         * bufferview_funcs.C:
8254         * converter.C:
8255         * importer.C:
8256         * lyx_cb.C:
8257         * lyx_gui.C:
8258         * lyx_main.C:
8259         * lyx_find.C:
8260         * lyxfunc.C:
8261         * lyxvc.C:
8262         * minibuffer.C:
8263         * text.C:
8264         * text2.C:
8265         * trans.C:
8266         * vc-backend.C: move LyX/XFormsView into frontends/
8267
8268 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8269
8270         * Makefile.am:
8271         * PainterBase.C:
8272         * PainterBase.h:
8273         * Painter.C:
8274         * Painter.h:
8275         * WorkArea.C:
8276         * WorkArea.h:
8277         * screen.C:
8278         * tabular.C:
8279         * text.C:
8280         * text2.C: move Painter to frontends/
8281
8282 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8283
8284         * buffer.C: comment out some some code that depend upon lyx_format
8285         < 220
8286
8287         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8288         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8289
8290         * buffer.h (NO_COMPABILITY): turn off compability
8291
8292         * ColorHandler.C: include scoped_array.hpp
8293
8294         * font.C: Use more specific smart_ptr header.
8295         * Painter.C: ditto
8296         * gettext.C: ditto
8297         * ShareContainer.h: ditto
8298         * lyx_main.h: ditto
8299         * kbmap.h: ditto
8300         * FontInfo.h: ditto
8301         * BufferView_pimpl.h: ditto
8302         * ColorHandler.h: ditto
8303
8304         * kbmap.C (defkey): change call to shared_ptr::reset
8305
8306 2002-05-21  Juergen Vigna  <jug@sad.it>
8307
8308         * buffer.C (insertErtContents): fix to insert ert asis if it is
8309         non empty. Skip it completely if it contains only whitespaces.
8310
8311 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8312
8313         * BufferView_pimpl.C:
8314         * BufferView2.C: clear selection on paste (bug 393)
8315
8316 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8317
8318         * DepTable.C: include ctime
8319
8320 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8321
8322         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8323
8324 2002-05-14  Juergen Vigna  <jug@sad.it>
8325
8326         * text.C (breakParagraph): fixed function to honor the keepempty
8327         layout in the right maner and also to permit the right breaking
8328         algorithm on empty or non empyt keepempty paragraphs.
8329
8330         * paragraph.C (breakParagraph): we have to check also if the par
8331         is really empty (!size()) for isempty otherwise we do the wrong
8332         paragraph break.
8333
8334 2002-05-10  Juergen Vigna  <jug@sad.it>
8335
8336         * buffer.[Ch] : The following are only changes to the ert
8337         compatibility read reading old LaTeX layout and font stuff and
8338         convert it to ERTInsets.
8339
8340         * buffer.h: added isErtInset().
8341
8342         * buffer.C (struct ErtComp): add a fromlayout bool to check
8343         if we're inside a LaTeX layout.
8344         (isErtInset): new helper function.
8345         (insertErtContents): look for other ert insets before this one
8346         and insert the contents there, so that we don't have subsequent
8347         ERT insets with nothing between them. This way we create only one
8348         inset with multiple paragraphs. Also check if we don't insert only
8349         spaces ' ' as they are ignored anyway afterwards in the .tex file
8350         so if we have only spaces we will ignore this latex part in the
8351         new file.
8352         (parseSingleLyXformat2Token \\layout): better compatibility when
8353         reading layout-latex stuff.
8354         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8355         language tag.
8356         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8357         stuff after reading the inset only get the information back from
8358         the stack.
8359
8360 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8361
8362         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8363
8364         * LaTeXFeatures.C (getBabelOptions): New method.
8365
8366 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8367
8368         * BufferView_pimpl.C (Dispatch): work around missing argument for
8369         'layout'
8370
8371 2002-05-08  Juergen Vigna  <jug@sad.it>
8372
8373         * text.C (leftMargin): handle paragraph leftindent.
8374
8375         * paragraph.C (writeFile): write the new \\leftindent tag.
8376         (validate): handle leftindent code.
8377         (TeXEnvironment): handle paragraphleftindent code again.
8378
8379         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8380
8381         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8382         for paragrap_extra indent code and new token \\leftindent.
8383         (latexParagraphs): handle the leftindent as environment.
8384
8385         * ParameterStruct.h: added leftindent support.
8386
8387         * ParagraphParameters.C (leftIndent): added support functions for
8388         the paragraph left indent.
8389
8390         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8391         more appropriate.
8392
8393 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8394
8395         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8396         inside insetERT.
8397
8398         * text.C (computeBidiTables): No bidi in insetERT.
8399
8400         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8401         in RTL documents.
8402
8403 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8404
8405         * version.C.in: pre 5
8406
8407 2002-05-02  José Matos  <jamatos@fep.up.pt>
8408         * buffer.C (makeDocBookFile): white space changes, add newline to
8409         command styles.
8410         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8411
8412         * tabular.C (docBook): fix typo.
8413
8414 2002-05-03  Juergen Vigna  <jug@sad.it>
8415
8416         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8417         change in LyXText as we can not be sure it was not freed.
8418         (drawOneRow): remove unused code.
8419
8420         * text.C (drawInset): redo the calculation of the need_break_row as
8421         it could have a row which was already freed.
8422         (draw): look at the return value of drawInset and return false if
8423         it also returned false.
8424         (paintRowText): look at the return value of draw and return false if
8425         it also returned false.
8426
8427         * lyxtext.h: added bool return type to drawInset() and draw() so that
8428         if we have a change in the row so that the rowbreak has to be redone
8429         we abort drawing as it will be called again.
8430
8431 2002-05-02  Juergen Vigna  <jug@sad.it>
8432
8433         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8434         a change in the maintext also if we're inside an inset.
8435         (Dispatch): set the cursor again after a break line and after the
8436         screen has been updated as it could be we're in a different row.
8437
8438         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8439         to set the cursor behind the pargraph with > size().
8440         (setCursor): check also for the same paragraph when checking where
8441         to put the cursor if we have a NFR inset.
8442
8443         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8444         parts of layout read further up as it still was in the wrong
8445         position.
8446
8447 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8448
8449         * screen.C (drawFromTo): change sine fullRebreak always return
8450         true.
8451
8452         * buffer.C (parseSingleLyXformat2Token): reindent some
8453
8454         * BufferView_pimpl.C (update): change since fullRebreak always
8455         return true.
8456         (Dispatch): git rid of the last hardcoded "Standard"s.
8457
8458 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8459
8460         * text2.[Ch] (fullRebreak): make it return void now that we always
8461         returned true.
8462
8463 2002-04-30  Juergen Vigna  <jug@sad.it>
8464
8465         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8466         ert compatibility check for "latex" layout.
8467
8468 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8469
8470         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8471         minipages: use col% instead of p%, and also use the current font.
8472         (makeLaTeXFile): Fix use babel condition.
8473         (parseSingleLyXformat2Token): Correct font when reading old floats.
8474
8475 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8476
8477         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8478         inserting list of floats.
8479
8480 2002-04-25  Herbert Voss  <voss@lyx.org>
8481
8482         * MenuBackend.C (expand): don't add the graphics extensions to the
8483         export menu
8484
8485 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8486
8487         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8488         non-existing layout, do not complain if it was the default layout
8489         of the original class (bug #342)
8490
8491 2002-04-24  Juergen Vigna  <jug@sad.it>
8492
8493         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8494         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8495
8496 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8497
8498         * buffer.C (getBibkeyList): If using \bibliography, return the
8499         option field with the reference itself. Enables us to provide natbib
8500         support when using \bibliography.
8501
8502 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8503
8504         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8505
8506         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8507         natbib is provided by the LaTeX class.
8508
8509 2002-04-23  Juergen Vigna  <jug@sad.it>
8510
8511         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8512         Wakeup functions.
8513
8514         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8515
8516 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8517
8518         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8519
8520         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8521         ensuremath around textordmasculine, textordfeminine and
8522         textdegree.
8523
8524 2002-04-19  Juergen Vigna  <jug@sad.it>
8525
8526         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8527         reinitializing the buffer otherwise row-dimensions may be wrong.
8528         (update): reset also the selection cursors if they do exits otherwise
8529         their x/y positions may be wrong.
8530
8531         * text2.C (cursorDown): don't enter the inset if we came from a row
8532         above and are one row over the inset.
8533
8534         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8535         really leaving an inset.
8536
8537 2002-04-18  Juergen Vigna  <jug@sad.it>
8538
8539         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8540         of the selected paragraph does not have the selected layout also if
8541         the last one had!
8542
8543         * text2.C (setLayout): fixed bug which did not change last selected
8544         paragraph.
8545
8546         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8547         changed the read and substituted \\end_float with \\end_inset!
8548
8549         * BufferView_pimpl.C (cursorPrevious):
8550         (cursorNext): fixed to make it work with rows heigher than the work
8551         area without moving the cursor only the draw of the row.
8552         (workAreaMotionNotify): fix jumping over high rows.
8553
8554 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8555
8556         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8557         Ressler.
8558
8559 2002-04-16  Juergen Vigna  <jug@sad.it>
8560
8561         * text2.C (setCursor): set also the irow().
8562         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8563         (cursorUp):
8564         (cursorDown): support for locking an inset if the x_fix value goes
8565         inside it. That way I can transverse insets too with cursor up/down.
8566
8567         * lyxrow.h: added irow helper function same as other (i) functions.
8568
8569         * BufferView_pimpl.C (cursorPrevious):
8570         (cursorNext): fixed for insets!
8571
8572 2002-04-15  Juergen Vigna  <jug@sad.it>
8573
8574         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8575         position otherwise it is wrong in some cases.
8576
8577         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8578         inside the inset before the call.
8579
8580 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8581
8582         * buffer.[Ch] (getBibkeyList): make it const.
8583
8584 2002-04-12  Juergen Vigna  <jug@sad.it>
8585
8586         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8587
8588         * text2.C (getCursorX): new helper function
8589         (setCursor): compute also ix_
8590         (setCursorFromCoordinates): set also ix.
8591
8592         * lyxcursor.h: added ix_ and helper functions.
8593
8594         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8595
8596         * buffer.C (insertStringAsLines): dont break paragraph if the this
8597         paragraph is inside an inset which does not permit it!
8598
8599         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8600         also with no chars on this paragraph.
8601         (paintRowText): only paint stuff if it's inside the workarea!
8602
8603         * paragraph.C (breakParagraph): honor keepempty flag and break the
8604         paragraph always below not above.
8605
8606         * BufferView2.C (unlockInset): update the paragraph layout on inset
8607         unlock as we changed paragraph in such a case.
8608
8609         * lyxfind.C (LyXFind): clear the former selection if not found!
8610
8611         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8612         again called in insertChar().
8613
8614         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8615         an inset which uses the whole row!
8616         (rightMargin): ditto.
8617         (insertChar): force a rebreak if we inserted an inset!
8618
8619 2002-03-28  Herbert Voss  <voss@lyx.org>
8620
8621         * lyxlength.[Ch]: add inBP() to get the right PS-point
8622         units (BigPoint). With inPixels we have rounding errors
8623
8624 2002-04-11  Juergen Vigna  <jug@sad.it>
8625
8626         * text2.C (setCursorFromCoordinates): set iy to the right value.
8627         (setCursor): add check if row->previous exists!
8628
8629         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8630         an old float_type as this was the case in the old code!
8631
8632         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8633
8634         * BufferView2.C (showLockedInsetCursor): use iy
8635         (fitLockedInsetCursor): ditto
8636
8637         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8638         locked insets as there we have the right value now.
8639
8640         * lyxcursor.C: added iy_ variable and iy functions to set to the
8641         baseline of cursor-y of the locked inset.
8642
8643         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8644         (setCursor): fixed for insets which need a full row.
8645
8646         * text.C (rowLastPrintable): don't ignore the last space when before
8647         an inset which needs a full row.
8648         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8649         as last character of a row when before a inset which needs a full row.
8650
8651 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8652
8653         * version.C.in: update date
8654
8655         * text2.C (fullRebreak): try to always return true and see what
8656         happens...
8657
8658 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8659
8660         * MenuBackend.C (expand): use Floating::listName
8661
8662         * FloatList.C (FloatList): add listName argument to the built-in
8663         floats
8664
8665         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8666         text associated with the float.
8667
8668 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8669
8670         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8671
8672 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8673
8674         * ShareContainer.h: add a couple of missing typenames.
8675
8676 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8677
8678         * lyxrc.C (getDescription): use _() correctly rather than N_().
8679
8680 2002-03-28  Herbert Voss  <voss@lyx.org>
8681
8682         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8683         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8684
8685 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8686
8687         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8688         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8689
8690 2002-03-29  Juergen Vigna  <jug@sad.it>
8691
8692         * lyxfunc.C (dispatch): add a missing fitCursor call.
8693
8694         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8695         it was scrolled by a cursor move, so return the bool status.
8696
8697         * BufferView.C (fitCursor): return the bool flag also to the outside
8698         world as this is needed.
8699
8700         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8701
8702         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8703         call the edit() as it is not needed (and wrong) IMO.
8704         (workAreaButtonPress): set the screen_first variable before evt.
8705         unlock the inset as this may change screen_first and then we have
8706         a wrong y position for the click!
8707
8708 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8709
8710         * MenuBackend.C (expand): another translation that I missed
8711
8712 2002-03-28  Juergen Vigna  <jug@sad.it>
8713
8714         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8715
8716         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8717
8718 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8719
8720         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8721
8722         * MenuBackend.C (expand): fix export/view/update when there is no
8723         document open.
8724
8725 2002-03-27  Herbert Voss  <voss@lyx.org>
8726
8727         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8728         and text%
8729
8730 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8731
8732         * bufferview_funcs.C (currentState): only show paragraph number
8733         for is DEVEL_VERSION is set.
8734
8735         * lyxfunc.C (dispatch): put warning in INFO channel
8736
8737         * MenuBackend.C (expand): translate the name of floats
8738
8739         * FloatList.C (FloatList): mark the float names for translation
8740
8741         * converter.C (convert): use LibScriptSearch
8742
8743 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8744
8745         * MenuBackend.C (defaults): fix default menu (we might as well get
8746         rid of it...)
8747
8748 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8749
8750         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8751         directory.
8752
8753 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8754
8755         * lyxvc.C: reorder includes.
8756
8757 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8758
8759         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8760           properly
8761
8762 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8763
8764         * CutAndPaste.C: change layouts earlier on paste
8765           to avoid crashing when calling getFont()
8766
8767 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8768
8769         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8770         irritating #error.
8771
8772 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8773
8774         * WorkArea.C: remove 'Pending' debug message.
8775
8776         * most files: ws cleanup
8777
8778         * buffer.[Ch]: ws changes
8779
8780         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8781
8782 2002-03-21  Juergen Vigna  <jug@sad.it>
8783
8784         * tabular.C (SetMultiColumn): collapse also the contents of the
8785         cells and set the last border right. Added a Buffer const * param.
8786
8787 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8788
8789         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8790         linking or not.
8791
8792 2002-03-19  Juergen Vigna  <jug@sad.it>
8793
8794         * text2.C (clearSelection): reset also xsel_cache.
8795
8796         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8797         where it needs to be called (John tells us to do so too :)
8798         (selectionLost): reset sel_cache.
8799
8800         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8801
8802 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8803
8804         * text2.C (setCursorIntern): put debuging code in INSETS channel
8805
8806 2002-03-19  André Pönitz <poenitz@gmx.net>
8807
8808         * lyxfunc.C: tiny whitespace change
8809
8810 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8811
8812         * ToolbarDefaults.C (init):
8813         * LyXAction.C (init):
8814         * commandtags.h:
8815         * BufferView_pimpl.C (Dispatch):
8816         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8817
8818 2002-03-19  Allan Rae  <rae@lyx.org>
8819
8820         * exporter.C (Export): removeAutoInsets before doing anything else.
8821         While I've just introduced a dependency on BufferView this really is
8822         the best place to clean the buffer otherwise you need to cleanup in
8823         a dozen places before calling export or cleanup in a dozen functions
8824         that export calls.
8825
8826         * converter.C (runLaTeX):
8827         (scanLog): Better handling of removeAutoInsets and screen updates.
8828
8829         * lyxfunc.C (dispatch): small whitespace changes
8830
8831 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8832
8833         * WorkArea.C (C_WorkAreaEvent): return a value.
8834         (event_cb): return 1 if we handled the event, 0 otherwise.
8835
8836         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8837
8838 2002-03-18  Juergen Vigna  <jug@sad.it>
8839
8840         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8841         (GetAdditionalWidth): ditto.
8842         (RightLine): ditto.
8843         (LeftLine): ditto.
8844
8845         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8846         inset if we're there actually (probably not used right now but this
8847         is the direction to go for unifying code).
8848         (paste): disable code to clear the selection.
8849
8850         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8851         inside an InsetText and move the check further up as it is in the
8852         wrong place.
8853
8854         * text2.C (pasteSelection): set a selection over the pasted text.
8855
8856 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8857
8858         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8859         and libgraphics to build on Cygwin.
8860
8861 2002-03-15  Juergen Vigna  <jug@sad.it>
8862
8863         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8864         inserting an Inset into the paragraph. I know this is not the best
8865         fix but we already use current_view in CutAndPaste so we will remove
8866         all of it's using at the same time.
8867
8868         * buffer.C (sgmlError): deactivated function till it is rewritten in
8869         the right mode, now it can create problems.
8870
8871         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8872         before accessing it.
8873
8874 2002-03-14  Juergen Vigna  <jug@sad.it>
8875
8876         * undo_funcs.C (textHandleUndo): do the right thing when updating
8877         the inset after the undo/redo.
8878
8879         * text2.C (setCursor): just some testcode for #44 not ready yet.
8880
8881         * undo_funcs.C (textHandleUndo): set the next() and previous()
8882         pointers of the paragraph to 0 before deleting otherwise we have
8883         problems with the Paragraph::[destructor].
8884
8885         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8886         on a paragraph insertion.
8887
8888 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8889
8890         * buffer.C (asciiParagraph): use += operator for char append to
8891         string.
8892
8893         * paragraph.C (getFontSettings): compare >= not just >
8894         (highestFontInRange): ditto
8895         (setFont): ditto
8896
8897 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8898
8899         * paragraph.C: change several algorithm to be more appripriate for
8900         the problem domain. This is lookip in FontList and in the InsetList.
8901
8902 2002-03-13  André Pönitz <poenitz@gmx.net>
8903
8904         * commandtags.h:
8905         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8906
8907 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8908
8909         * commandtags.h:
8910         * LyXAction.C:
8911         * lyxfunc.C:
8912         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8913
8914 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8915
8916         * Painter.C (display): anon helper function, adjust code for this
8917         change.
8918         (pixmap): remove function.
8919
8920         * Painter.h: remove private display variable.
8921
8922         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8923
8924 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8925
8926         * WorkArea.[Ch]: remove figinset_canvas cruft.
8927
8928 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8929
8930         * lyxtextclass.C (operator): add one item cache optimization.
8931
8932         * bufferlist.h: doxy changes
8933
8934         * bufferlist.C: ws changes
8935
8936         * DepTable.[Ch] (ext_exist): place const in the right spot.
8937
8938         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8939         call resizeInsets.
8940         (workAreaExpose): call resizeInsets when the with BufferView changes.
8941         (Dispatch): adjust for protectedBlank removal
8942         (specialChar): call updateInset if the insert went ok.
8943
8944         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8945         specialChar instead.
8946
8947         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8948
8949         * BufferView.h: doxy change
8950
8951         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8952
8953         * lyxtextclass.C (operator[]): remove non-const version
8954         (defaultLayout): remove non-const version
8955
8956 2002-03-12  Juergen Vigna  <jug@sad.it>
8957
8958         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8959         did resize the LyXText too.
8960
8961         * buffer.C (readLyXformat2): set layout information on newly allocated
8962         paragraphs.
8963
8964         * tabular.C (OldFormatRead): set layout information on the paragraph.
8965
8966 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8967
8968         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8969
8970 2002-03-11  Juergen Vigna  <jug@sad.it>
8971
8972         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8973         plainly wrong.
8974         (resizeCurrentBuffer): force also the insets to resize themselfes.
8975         (moveCursorUpdate): fixed up for InsetText.
8976
8977 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8978
8979         * commandtags.h:
8980         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8981         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8982         value of Dialogs::tooltipsEnabled().
8983         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8984
8985 2002-03-08  Juergen Vigna  <jug@sad.it>
8986
8987         * BufferView_pimpl.C (updateInset): update inset inside inset also
8988         if it isn't inside theLockingInset().
8989
8990 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8991
8992         * buffer.C (asciiParagraph): redo some of the word and line length
8993         handling.
8994         (getLists): look for Caption instead of caption.
8995
8996 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8997
8998         * buffer.C (Buffer): initialize niceFile to true
8999         (makeLaTeXFile):
9000         (makeLinuxDocFile):
9001         (makeDocBookFile): make sure niceFile is true on exit
9002
9003 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9004
9005         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9006
9007 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9008
9009         * LyXSendto.C: remove.
9010         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9011         * lyx_gui.C: remove now-redundant comment.
9012         * ColorHandler.h: remove forward declaration of class WorkArea.
9013         * lyxfunc.C: remove #include "WorkArea.h".
9014
9015 2002-03-07  Juergen Vigna  <jug@sad.it>
9016
9017         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9018         got moved away with the DEPM and also set the inset_owner always
9019         right which before could have been omitted.
9020
9021 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9022
9023         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9024         wanted layout is not found.
9025
9026 2002-03-07  Juergen Vigna  <jug@sad.it>
9027
9028         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9029
9030 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9031
9032         * paragraph.C (breakParagraph): use default layout not layout of
9033         prev paragraph.
9034         (Paragraph): clear ParagraphParameters.
9035
9036 2002-03-06  Juergen Vigna  <jug@sad.it>
9037
9038         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9039         otherwise it would not be a valid lenght. Fixed a special case in
9040         the minipage compatibility read where we end the document with a
9041         minipage.
9042
9043         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9044         was set as it could be 0 for InsetTexts first entry.
9045
9046 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9047
9048         * paragraph.C (writeFile): if layout is empty write out
9049         defaultLayoutName().
9050
9051         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9052         file without named layout we set layout to defaultLayoutName().
9053
9054 2002-03-06  Juergen Vigna  <jug@sad.it>
9055
9056         * CutAndPaste.C (copySelection): set layout for new paragraph.
9057
9058         * text.C (prepareToPrint): leave ERT inset left aligned
9059         (leftMargin): don't indent paragraphs inside ERT insets
9060
9061 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9062
9063         * paragraph.C (breakParagraph): dont call clear do the work manually
9064
9065         * paragraph.[Ch] (clear): remove function
9066
9067 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9068
9069         * paragraph.C (Paragraph): dont call clear, the work has already
9070         been done.
9071
9072         * lyxtextclass.C (operator): assert if n is empty
9073
9074         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9075         work manually instead.
9076
9077 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9078
9079         * BufferView_pimpl.C: protect selectionLost against text == 0
9080
9081 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9082
9083         * text.C (breakParagraph): fix a setting layout to '0' problem.
9084
9085 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9086
9087         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9088         final location of file, for the included files, and graphics.
9089
9090 2002-03-05  Juergen Vigna  <jug@sad.it>
9091
9092         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9093
9094 2002-03-04  Juergen Vigna  <jug@sad.it>
9095
9096         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9097
9098         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9099         last column of multicolumn cells.
9100         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9101
9102 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9103
9104         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9105         file if it doesn't go to a temporary file.
9106
9107         * buffer.C (sgmlOpenTag):
9108         (sgmlCloseTag):  remove extra newline insertion.
9109
9110 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9111
9112         * text.C (getRowNearY): comment out debug msg
9113
9114 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9115
9116         * text2.C: first -> first_y
9117
9118         * text.C (getRowNearY): add some attemts at a possible
9119         optimization, not working.
9120
9121         * tabular.[Ch]: add BufferParams to several function so that newly
9122         created paragraph can be initialized to he default layotu for the
9123         buffers textclass.
9124
9125         * tabular-old.C (ReadOld): add buf->params to call of Init
9126
9127         * screen.C: rename text->first to text->first_y
9128
9129         * paragraph.C (breakParagraph): always set layout in the broken
9130         paragraph
9131
9132         * lyxtextclass.C (Read): remove lowercase
9133         (hasLayout): ditto
9134         (operator): ditto
9135         (delete_layout): ditto
9136
9137         * lyxtext.h: rename first -> first_y
9138
9139         * lyxlayout.C (Read): remove lowercase
9140         (name): ditto
9141         (setName): ditto
9142         (obsoleted_by): ditto
9143
9144         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9145
9146         * buffer.C (insertErtContents): add params are to InsetERT
9147         (parseSingleLyXformat2Token): add code to check if a paragraphs
9148         layout really exist.
9149         (parseSingleLyXformat2Token): add params to several inset
9150         constructors
9151         (asciiParagraph): remove lowercase, do the layout comparisons with
9152         no_case
9153
9154         * BufferView_pimpl.C (cursorNext): first -> first_y
9155         (resizeCurrentBuffer): first -> first_y
9156         (updateScrollbar): first -> first_y
9157         (scrollCB): first -> first_y
9158         (workAreaMotionNotify): first -> first_y
9159         (workAreaButtonPress): first -> first_y
9160         (checkInsetHit): first -> first_y
9161         (cursorPrevious): first -> first_y
9162         (cursorNext): first -> first_y
9163         (Dispatch): add buffer_->params to severl inset contructors
9164
9165 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9166
9167         * lyxlayout.C (Read): remove some debug info that I forgot.
9168
9169         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9170         clean up the code slightly.
9171         (makeLinuxDocFile): ditto
9172         (makeDocBookFile): ditto
9173
9174         * text2.C: layout as string
9175
9176         * text.C: layout as string
9177
9178         * paragraph_pimpl.C: layout as string
9179
9180         * paragraph.[Ch]: layout as string
9181
9182         * lyxtextclasslist.[Ch]: layout as string
9183
9184         * lyxtextclass.[Ch]: layout as string
9185
9186         * lyxtext.h: layout as string
9187
9188         * lyxlayout.[Ch]: layout as string
9189
9190         * lyx_cb.C: layout as string
9191
9192         * bufferview_funcs.C: layout as string
9193
9194         * bufferparams.C: layout as string
9195
9196         * buffer.C: layout as string
9197
9198         * LyXView.[Ch]: layout as string
9199
9200         * LaTeXFeatures.[Ch]: layout as string
9201
9202         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9203
9204         * BufferView_pimpl.C: change current_layout to string, remove
9205         lyx::layout_type.
9206         (Dispatch):
9207         (smartQuote):
9208         (insertInset):
9209         (workAreaButtonRelease): layout as string
9210
9211         * BufferView2.C (unlockInset): adjust
9212
9213         * vspace.C (asLatexCommand): use an explict temp variable.
9214
9215 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9216
9217         * Makefile.am: use FRONTEND_*
9218
9219 2002-03-01  Juergen Vigna  <jug@sad.it>
9220
9221         * tabular.C (SetWidthOfMulticolCell): changed to something better
9222         I hope but still work in progress.
9223         (recalculateMulticolumnsOfColumn): renamed function from
9224         recalculateMulticolCells as it is more appropriate now.
9225         (SetWidthOfCell): calculate multicols better.
9226
9227 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9228
9229         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9230
9231         * lyxfunc.C (processKeySym): print sequence also if it is
9232         `deleted' (complete)
9233
9234         * kbsequence.C (print): print sequence even if it is deleted
9235         (complete would be a better word, actually).
9236
9237         * lyxfunc.C (dispatch): print complete options after a prefix key
9238
9239         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9240
9241 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9242
9243         * text2.C (setCharFont): eliminate setCharFont code duplication.
9244
9245 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9246
9247         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9248         LFUN_TABULAR_FEATURE (bug #177)
9249
9250 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9251
9252         * Makefile.am: remove figure.h
9253
9254 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9255
9256         * Bufferview_pimpl.C:
9257         * CutAndPasteC:
9258         * LaTeX.C:
9259         * LyXSendto.C:
9260         * buffer.C:
9261         * bufferlist.C:
9262         * converter.C:
9263         * language.C:
9264         * lyxfunc.C:
9265         * lyxvc.C:
9266         * paragraph.C:
9267         * text.C:
9268         * text2.C: remove #include "lyx_gui_misc.h".
9269
9270         * LaTeX.C: added #include <cstdio>
9271
9272 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9273
9274         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9275         that the paragraph following this one can have.
9276
9277         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9278
9279         * vspace.C (asLatexCommand): fix bogus gcc warning
9280
9281         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9282
9283 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9284
9285         * text2.C (setLayout): get rid of redundant code
9286
9287 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9288
9289         * text2.C (incDepth): make sure depth cannot be increased beyond
9290         reasonable values.
9291
9292 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9293
9294         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9295         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9296
9297         * PainterBase.h (image):
9298         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9299         a LyXImage const *.
9300
9301 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * BufferView.C:
9304         * BufferView.h:
9305         * BufferView_pimpl.C:
9306         * BufferView_pimpl.h:
9307         * LaTeXFeatures.C:
9308         * LyXAction.C:
9309         * LyXView.C:
9310         * Makefile.am:
9311         * UpdateList.h:
9312         * UpdateList.C:
9313         * buffer.C:
9314         * figure.h:
9315         * figureForm.C:
9316         * figureForm.h:
9317         * figure_form.C:
9318         * figure_form.h:
9319         * lyx_cb.C:
9320         * lyx_gui.C:
9321         * lyx_gui_misc.C:
9322         * lyxfunc.C:
9323         * sp_base.h:
9324         * sp_ispell.h:
9325         * sp_pspell.h:
9326         * sp_spell.C: remove fig inset, and the crap house of
9327           cards that follows it
9328
9329 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9330
9331         * Makefile.am:
9332         * lyxserver.C:
9333         * os2_defines.h:
9334         * os2_errortable.h:
9335         * nt_defines.h: move .h into support/
9336
9337         * vms_defines.h: remove
9338
9339         * WorkArea.C: add space in debug output
9340
9341         * text2.C:
9342         * paragraph.C:
9343         * buffer.C: add WITH_WARNINGS
9344
9345         * vc-backend.h:
9346         * vc-backend.C:
9347         * bufferlist.C: s/retrive/retrieve/, add docs
9348
9349         * vspace.h:
9350         * vspace.C:
9351         * kbmap.h:
9352         * lyxlength.h:
9353         * lyxgluelength.h:
9354         * length_common.h:
9355         * chset.h:
9356         * chset.C: add docs
9357
9358         * lyxgui.C: add ID to X error handler
9359
9360         * lyxtestclass.c: fix typo
9361
9362 2002-02-26  Juergen Vigna  <jug@sad.it>
9363
9364         * tabular_funcs.C (write_attribute): changed so that some default
9365         attributes are not written at all.
9366         (getTokenValue): set default values before trying to read the
9367         value so we have the return value always set as default if we don't
9368         find the token we search for.
9369
9370         * tabular.C (Write): write bools as bools not as strings!
9371
9372 2002-02-22  Juergen Vigna  <jug@sad.it>
9373
9374         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9375         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9376
9377         * text.C (leftMargin): don't add an indent for paragraphs inside
9378         tabular cells (fix #208).
9379
9380 2002-02-21  José Matos  <jamatos@fep.up.pt>
9381
9382         * tabular.C (docBook): fixed support for long tables.
9383
9384 2002-02-20  Juergen Vigna  <jug@sad.it>
9385
9386         * text2.C (getFont): get the drawing font of the Inset if this
9387         paragraph is inside an inset (only important for InsetERT for now).
9388
9389         * buffer.C (insertErtContents): use new lanugage params in ERT
9390         constructor.
9391
9392         * CutAndPaste.C: commenting out seemingly uneeded code.
9393
9394 2002-02-19  Allan Rae  <rae@lyx.org>
9395
9396         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9397         Iterators might be simple to use but they also get invalidated.
9398         (removeAutoInsets): renamed saved cursor tracking variables and added
9399         some comments to clarify what everything does.
9400
9401 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9402
9403         * Chktex.C:
9404         * LaTeX.C:
9405         * LyXSendto.C:
9406         * converter.C:
9407         * lyx_cb.C:
9408         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9409         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9410
9411         * lyxfunc.C:
9412         * vc-backend.h: remove #include "support/syscall.h"
9413
9414         * LaTeX.C:
9415         * LyXSendto.C:
9416         * converter.C: rearrange #includes in Lars' approved fashion.
9417
9418         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9419         forward declare class Timeout in the header file.
9420
9421         * XFormsView.C: changes due to the above.
9422
9423         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9424         similar to LyXView.
9425
9426         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9427         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9428
9429 2002-02-18  José Matos  <jamatos@fep.up.pt>
9430
9431         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9432         insets contents.
9433
9434 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9435
9436         * a lot of small ws changes
9437         * add a lot of using std::XXX
9438         * use std construcs some places where approp.
9439         * use some exisint stuff from lyxfunctional where approp.
9440         * Make file changes to use partial linking (lets test this now...)
9441
9442 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9443
9444         * Chktex.C:
9445         * buffer.C:
9446         remove #include "support/syscontr.h" as it's redundant. Always has been.
9447
9448         * Chktex.C:
9449         * LaTeX.C:
9450         * LyXSendto.C:
9451         * converter.C:
9452         * lyx_cb.C:
9453         * vc-backend.C:
9454         change Systemcalls::System to Systemcalls::Wait and
9455         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9456         No change of functionality, just reflects the stripped down Systemcalls
9457         class.
9458
9459 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9460
9461         * debug.[Ch]: add a GRAPHICS type to the enum.
9462
9463 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9464
9465         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9466
9467         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9468         there is an inset.
9469
9470 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9471
9472         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9473         match the changes below.
9474
9475         * text2.C (toggleInset): if there is not editable inset at cursor
9476         position, try to see if cursor is _inside_ a collapsable inset
9477         and close it.
9478
9479 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9480
9481         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9482         document menu has a nice checkbox
9483
9484 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9485
9486         * lyxlength.C (asLatexString): change PW to output as percent of
9487         \textwidth.
9488
9489         * lengthcommon.C: change '%' to 't%'
9490
9491         * lyxfunc.C (dispatch): a few comments from Martin
9492
9493 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9494
9495         * WorkArea.h:
9496         * WorkArea.C:
9497         * BufferView_pimpl.h:
9498         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9499           the X selection.
9500
9501 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9502
9503         * vspace.C (inPixels): fix compiler warning
9504
9505 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9506
9507         * lyxfunc.C (getStatus): fix status message for disabled commands.
9508
9509 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9510
9511         * BufferView_pimpl.C: fix crash on close buffer
9512         during selection (#227)
9513
9514 2002-01-27  Herbert Voss  <voss@lyx.org>
9515
9516         * buffer.C: link old Figure to new graphic inset
9517
9518 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9519
9520         * FontLoader.C (getFontinfo): Change the latex font names in order
9521         to match the names of type1inst.
9522
9523 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9524
9525         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9526
9527         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9528         (extchanged): ditto
9529         (ext_exist): ditto
9530         (remove_files_with_extension): ditto
9531         (remove_file): ditto
9532         (write): ditto
9533
9534         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9535         document is smaller than the work area height. Do not initialize
9536         static variables to 0.
9537
9538 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9539
9540         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9541
9542         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9543         LFUN_LAYOUT_PARAGRAPHS.
9544
9545         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9546         tabular. It is possible to provide a possible cell, which will
9547         typically be the actcell from the corresponding insettabular
9548
9549         * lyxfunc.C (getStatus): small cleanup; disable
9550         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9551         true
9552
9553 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9554
9555         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9556
9557         * paragraph.C (startTeXParParams):
9558         (endTeXParParams): new methods. The LaTeX code to
9559         start/end paragraph formatting
9560         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9561         empty (fixes bug #200)
9562
9563         * vspace.C (inPixels): adapt to the change below
9564         (inPixels): [later] more cleanups (remove unused variables)
9565
9566         * lyxlength.C (inPixels): change to use a width and a height as
9567         parameter.
9568
9569 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9570
9571         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9572         Replaced with \paperwidth
9573
9574         * DepTable.C (insert): add std:: qualifier
9575
9576 2002-01-18  Allan Rae  <rae@lyx.org>
9577
9578         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9579         updated also?
9580
9581         * text.C (drawInset): Turned out I didn't know enough about how
9582         rebreaking worked.  This fixes most of the redraw problems.  I see
9583         an occasional cursor trail when a line is broken now and the cursor
9584         placement can seem out by a few pixels also after a rebreak.
9585
9586 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9587
9588         * buffer.C (parseSingleLyXformat2Token): update because minipage
9589         width is now a LyXLength
9590
9591         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9592
9593         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9594         math insets
9595
9596 2002-01-17  Juergen Vigna  <jug@sad.it>
9597
9598         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9599
9600         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9601         is set correctly and the inset is updated correctly.
9602
9603 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9604
9605         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9606         the beginning of the loop.
9607
9608 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9609
9610         * lyxrc.C: improve help for use_scalable_fonts
9611
9612 2002-01-17  Allan Rae  <rae@lyx.org>
9613
9614         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9615
9616 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9617
9618         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9619         make sure to set their inset_owner to the right value (bug #171)
9620
9621 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9622
9623         * DepTable.h
9624         * DepTable.C: Implement mtime checking to reduce time spent doing
9625         CRCs.
9626
9627 2002-01-16  Juergen Vigna  <jug@sad.it>
9628
9629         * tabular.C (GetAdditionalHeight): one of error fixed.
9630
9631         * lyxrc.C (output): small fix in writing use_pspell.
9632
9633 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9634
9635         * sp_base.h: #include LString.h
9636
9637 2002-01-16  Allan Rae  <rae@lyx.org>
9638
9639         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9640         Can someone check this please?
9641
9642         * text.C (drawInset): It was possible that p.row would be removed by
9643         breakAgainOneRow upsetting a few other settings.  There may be another
9644         small tweak possible by setting need_break_row = 0 when p.row has been
9645         removed but I don't know enough about the logic here.
9646
9647 2002-01-15  Allan Rae  <rae@lyx.org>
9648
9649         * text.C (insertChar): removed conditional truism.
9650
9651         * BufferView2.C (removeAutoInsets): More tweaks.
9652         cur_par_prev could be a stray pointer.  Check for trailing empty line
9653         in case last line was cur_par and only had an error inset on it.
9654
9655 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9656
9657         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9658         absolute
9659
9660         * vc-backend.C (most methods):
9661         * exporter.C (Export):
9662         * converter.C (convert):
9663         (runLaTeX):
9664         * LyXSendto.C (SendtoApplyCB):
9665         * lyxfunc.C (dispatch):
9666         (menuNew):
9667         (open):
9668         (doImport):
9669         * lyx_cb.C (AutoSave):
9670         (InsertAsciiFile):
9671         * BufferView_pimpl.C (MenuInsertLyXFile):
9672         * buffer.C (runChktex): use Buffer::filePath().
9673
9674         * buffer.h: rename filename to filename_; rename filepath to
9675         filepath_ and make it private
9676         (filePath): new method
9677
9678         * buffer.C (writeFile): use fileName()
9679         (getLatexName):
9680
9681         * lyx_main.C (init): fix starting  of LyX when the binary is a
9682         link from so,ewhere else.
9683
9684         * minibuffer.C: include <cctype> for isprint
9685
9686 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9687
9688         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9689         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9690         name clash with InsetCollapsable's width function.
9691
9692 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9693
9694         * lastfiles.C: include <iterator>
9695
9696 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9697
9698         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9699         std::count.
9700
9701         * buffer.C (makeLaTeXFile): ditto.
9702         Also make loop operation more transparent.
9703
9704 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9705
9706         * ToolbarDefaults.C: remove trailing comma closing namespace.
9707
9708         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9709
9710         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9711         as in WorkArea.
9712
9713         * trans.C (Load): comment out unused variable, allowed.
9714
9715 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9716
9717         * minibuffer.[Ch] (append_char): new method to recieve input from the
9718         drop-down completion browser. If a key was pressed, then recieve this
9719         char and append it to the existing string.
9720         (peek_event): modify the positioning data passed to the completion
9721         browser so that it can be placed above the minibuffer rather than below.
9722 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9723
9724         * LyXAction.C (init): alloe error-next for readonly documents.
9725
9726         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9727         count.
9728
9729 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9730
9731         * bufferlist.C (readFile): create the buffer _after_ checking that
9732         the file exists.
9733
9734         * lyxfunc.C (verboseDispatch): fix handling of arguments
9735
9736         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9737
9738         * lyxrc.C: use string::erase() instead of initializing to "".
9739
9740
9741 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9742
9743         * BufferView_pimpl.h:
9744         * BufferView_pimpl.C:
9745         * WorkArea.h:
9746         * WorkArea.C:
9747         * text2.C: tell X when we have made a selection for copying
9748
9749 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9750
9751         * BufferView_pimpl.C (MenuInsertLyXFile):
9752         * lyxfunc.C (menuNew):
9753         (open):
9754         (doImport): add shortcuts to directory buttons
9755
9756         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9757         open a float)
9758
9759         * lyxfunc.C (setStatusMessage):
9760         (getStatusMessage): new methods
9761         (getStatus):use setStatusMessage instead of setErrorMessage
9762         (dispatch): when function is disabled, set error message here
9763         [instead of in getStatus previously]
9764
9765         * BufferView_pimpl.C (workAreaButtonRelease): update
9766         toolbar/menubar here too.
9767
9768 2002-01-13  Allan Rae  <rae@lyx.org>
9769
9770         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9771         Now seems indestructible.  Remaining task is to audit all other
9772         code affected by deleteEmptyParagraphMechanism.  One small quirk
9773         left is that an empty document with an error in the preamble can
9774         be made to report an error but no error box appears.  I don't know
9775         where it goes.
9776         (removeAutoInsets): Improved comments.
9777
9778 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9779
9780         * Thesaurus.h:
9781         * Thesaurus.C: update for Aiksaurus 0.14
9782
9783 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9784
9785         * text2.C (firstParagraph): removed member function, all uses
9786         replaces with ownerParagraph
9787         (redoParagraphs): here
9788         (updateInset): here
9789         (toggleAppendix): here
9790         * BufferView2.C (insertErrors): here
9791         (setCursorFromRow): here
9792
9793 2002-01-13  Allan Rae  <rae@lyx.org>
9794
9795         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9796         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9797         There is still a way to segfault this although you may have to do this
9798         multiple times: Have an InsetERT with an unknown command in it.
9799         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9800         <down-arrow>, <Enter> again, View->DVI, BANG!
9801
9802         * text2.C (setCursor):
9803         (deleteEmptyParagraphMechanism):
9804         * lyxtext.h (setCursor):
9805         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9806         Making use of the return value may help fix other bugs.
9807
9808 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9809
9810         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9811
9812         * LyXView.C (updateMenubar): call MenuBar::update here
9813         (updateToolbar): but not here
9814         (showState): do not update toolbar/menubar
9815
9816         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9817         should need to care about that.
9818
9819         * lyxfunc.C (verboseDispatch): simplify a bit
9820         (getStatus): have a version which takes a pseudoaction, and
9821         another which requires a (kb_action,string).
9822
9823         * LyXAction.C (retrieveActionArg): make it work also when action
9824         is not a pseudo-action.
9825         (getActionName): simplify a bit
9826         (helpText):
9827
9828 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9829
9830         * lyxfunc.C (verboseDispatch): new families of methods with
9831         several ways to specify a command and a bool to indicate whether
9832         the command name and shortcut should be displayed in minibuffer
9833         (eventually, we could extend that to a finer bitmask like
9834         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9835         (dispatch): the pristine dispatch command which just, well,
9836         dispatchs! Note it still sets its result to minibuffer; I'm not
9837         sure we want that.
9838
9839         * lyxfunc.h: remove setHintMessage
9840
9841         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9842
9843 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9844
9845         * BufferView_pimpl.C (specialChar): delete new inset if we have
9846         not been able to insert it.
9847
9848         * kbmap.C: revert to using int instead of kb_action, since all we
9849         are dealing with is pseudo-actions.
9850
9851         * LyXAction.C (searchActionArg): change to return int instead of
9852         kb_action, since the result is a pseudoaction.
9853
9854 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9855
9856         * buffer.C (insertErtContents): Fix (partially) the font bug.
9857
9858 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9859
9860         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9861         as the other one is broken on my machine!
9862
9863 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9864
9865         * commandtags.h:
9866         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9867
9868 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9869
9870         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9871         reflect their actual use. Provide compatibility code for older lyxrc
9872         files.
9873
9874         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9875         FL_NORMAL_STYLE.
9876         change names of popup font variables in line with the changes to lyxrc.C
9877
9878 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9879
9880         * buffer.C (asciiParagraph): avoid outputing a word twice after
9881         an inset.
9882
9883         * lyxrc.C (getDescription): document that document_path and
9884         template_path can be empty.
9885
9886 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9887
9888         * LaTeXFeatures.C (getMacros):
9889         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9890
9891         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9892
9893         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9894         getPackages.
9895         (getPackages): rename feature "floats" to "float". Use an array to
9896         iterate over 'simple' features (i.e. just a \usepackage). Add
9897         handling of "amsmath" (renamed from "amsstyle").
9898
9899 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9900
9901         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9902         features list.
9903
9904 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9905
9906         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9907         FuncStaus::FuncStatus & FuncStaus::some_method().
9908
9909 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9910
9911         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9912         of the func_satus stuff. Edited and massaged in various ways by
9913         JMarc.
9914
9915         * lyxfunc.C (getStatus): use FuncStatus
9916
9917 2002-01-08  Juergen Vigna  <jug@sad.it>
9918
9919         * text.C (nextBreakPoint): use function Inset::isChar().
9920
9921         * paragraph.C (TeXOnePar): use function
9922         Inset::forceDefaultParagraphs.
9923
9924         * buffer.C (latexParagraphs): use function
9925         Inset::forceDefaultParagraphs.
9926
9927 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9928
9929         * lyx_gui.C (init): set the style of the menu popups to
9930         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9931
9932 2002-01-07  Juergen Vigna  <jug@sad.it>
9933
9934         * text.C (setHeightOfRow): small fix
9935         (prepareToPrint): don't look at alignment if we don't have the place
9936         for doing it.
9937
9938 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9939
9940         * box.C: New file. Move the Box methods and functions out of box.h,
9941         following Lars' suggestion.
9942
9943 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9944
9945         * box.h: #include "support/LOstream.h", needed for inlined function.
9946
9947         * lyxtextclass.C:
9948         * lyxtextclasslist.C: added some using std declarations.
9949
9950 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9951
9952         * box.h: make signed dimensions to allow insets wider than
9953           the screen (bug #162)
9954
9955         * BufferView_pimpl.C: add some insetHit debug
9956
9957 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9958
9959         * vc-backend.C: add FIXME
9960
9961 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9962
9963         * lyxfunc.C (getStatus): enable code for showing math font status
9964         in toolbar/menu.
9965
9966 2002-01-07  Juergen Vigna  <jug@sad.it>
9967
9968         * text.C (nextBreakPoint): removed debug output not needed anymore.
9969
9970 2002-01-06  Juergen Vigna  <jug@sad.it>
9971
9972         * text.C (nextBreakPoint): fixed up this function we had this bug
9973         since ever but now hopefully we break row better.
9974         (insertChar): we have to check if an inset is the next char as it
9975         could now happen that a large inset is causing a break.
9976
9977 2002-01-05  Juergen Vigna  <jug@sad.it>
9978
9979         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9980         if it doesn't like to be drawed.
9981
9982 2002-01-04  Juergen Vigna  <jug@sad.it>
9983
9984         * BufferView2.C (lockInset): forgot to set a cursor.
9985
9986         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9987
9988 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9989
9990         * FormMathsPanel.C:
9991         * FormMathsPanel.h
9992         * MathsSymbols.C:
9993         * form_maths_panel.C:
9994         * form_maths_panel.h:
9995         * form_maths_panel.fd: implemented sub- and super- buttons in math
9996         panel.
9997
9998         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9999         (or ^ space) to be used as in TeX (req'd by André).
10000
10001         * lyxfunc.C: Allow ^ and _ again to be used both as
10002         super/subscript (mathed) and as themselves (in text).
10003
10004 2002-01-03  Allan Rae  <rae@lyx.org>
10005
10006         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10007         "LyX" or the filename of the current buffer if it has one.  This is a
10008         modified form of John Levon's patch.
10009
10010         * XFormsView.C (setWindowTitle): also set icon title.
10011
10012         * LyXView.h (setWindowTitle): signature changed.
10013         * XFormsView.h (setWindowTitle): ditto.
10014
10015 2002-01-02  Juergen Vigna  <jug@sad.it>
10016
10017         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10018
10019 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10020
10021         * screen.C (topCursorVisible): introduce a temp var for
10022         text->cursor.row(), handle the case where this row is null. (kindo
10023         hachish)
10024
10025         * text2.C (setCursor): add a couple of asserts.
10026
10027         * paragraph.h (inset_iterator): add -> operator
10028
10029         * paragraph.[Ch] (autoDeleteInsets): remove member function
10030
10031         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10032         cursor pos correctly and handle inset deletion by itself.
10033         (insertErrors): move iterator declaration out of for expression
10034
10035         * lyxtextclass.C: add <algorithm>
10036
10037         * Makefile.am: added the new files to sources, removed layout.C
10038
10039         * layout.C: removed file
10040
10041         * layout.h: remove LYX_DUMMY_LAYOUT
10042
10043         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10044         layout.
10045
10046         * lyxlayout.[Ch]:
10047         * lyxtextclass.[Ch]:
10048         * lyxtextclasslist.[Ch]: new files
10049
10050         * include order changes to a lot of files, also changes because of
10051         the six new files.
10052
10053 2001-12-27  Juergen Vigna  <jug@sad.it>
10054
10055         * buffer.C (asciiParagraph): more fixes.
10056
10057         * tabular.C (ascii): make ascii export support export of only the
10058         data separated by a column-delimiter.
10059         (ascii): better support for ascii export.
10060
10061         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10062
10063 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10064
10065         * tabular_funcs.C: use a "using std::getline" instead of the
10066         previous fix from Angus (necessary for cxx + lyxstring)
10067
10068 2001-12-24  Juergen Vigna  <jug@sad.it>
10069
10070         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10071
10072         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10073         problems. First check a minipage also if we have some ert-contents
10074         (not only on par->size(), second set the right depth of the paragraph
10075         on the relink to the root-paragraph-list!
10076
10077         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10078         which then did not anymore update the main paragraphs on undo/redo!
10079
10080 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10081
10082         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10083         code. Support all font-changing funcs (even those which are not in
10084         menu currently). Support for reporting font settings in
10085         mathed (disabled until Andre provides a function on mathed's side).
10086
10087         * func_status.h (toggle): small helper function to set toggle
10088         state on a flag.
10089
10090 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10091
10092         * tabular_funcs.C: getline -> std::getline
10093
10094 2001-12-21  Juergen Vigna  <jug@sad.it>
10095
10096         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10097         accessed and could be 0 (I couldn't generate this but it seems
10098         Michael could!).
10099
10100 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10101
10102         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10103         * tabular_funcs.h: here and include iosfwd
10104
10105 2001-12-20  Juergen Vigna  <jug@sad.it>
10106
10107         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10108         inside inset but undo_par was.
10109
10110 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10111
10112         * Thesaurus.C: always include <config.h> in sources.
10113
10114         * Painter.h:
10115         * lyxlookup.h:
10116         * box.h: do not include <config.h> in header files
10117
10118         * text.C (paintLastRow): remove unused variable
10119
10120         * text.C (transformChar):
10121         (insertChar):
10122         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10123
10124         * Painter.C (text):
10125         * font.C (width): rewrite to use uppercase() instead of
10126         islower/toupper.
10127
10128         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10129
10130 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10131
10132         * lyxfind.C: clean up of find failure position change
10133
10134 2001-12-20  Juergen Vigna  <jug@sad.it>
10135
10136         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10137
10138         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10139         (TeXRow): added to LaTeX a single tabular row.
10140         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10141         (Latex): simplified and finally good LT-h/f support.
10142         (various_functions): just small adaptions for LT-h/f support.
10143
10144         * tabular_funcs.[hC]: added and moved here all not classfunctions
10145         of LyXTabular.
10146
10147 2001-12-19  Juergen Vigna  <jug@sad.it>
10148
10149         * tabular.[Ch]: better support for longtabular options (not finished
10150         yet!)
10151
10152 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10153
10154         * text.C (paintLastRow): use the label font instead of the font of
10155         the last character to compute the size of *_BOX. This makes more
10156         sense and avoids a crash with empty paragraphs.
10157         Use Painter::rectangle to draw EMPTY_BOX.
10158
10159 2001-12-19  Juergen Vigna  <jug@sad.it>
10160
10161         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10162         the paragraphs if the replaced paragraph is not the first one!
10163         Tried to delete not used paragraphs but does not work yet so for
10164         now it's inside #ifdef's and by default off!
10165
10166 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10167
10168         * MenuBackend.C: include "lyx_main.h" instead of declaring
10169         lastfiles (actually was declared as LastFiles* instead of a
10170         scoped_ptr).
10171
10172 2001-12-17  Juergen Vigna  <jug@sad.it>
10173
10174         * tabular.C (AppendColumn): applied John's fix
10175
10176 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10177
10178         * BufferView.h:
10179         * BufferView.C:
10180         * BufferView_pimpl.h:
10181         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10182
10183         * Makefile.am:
10184         * box.h: new start of class for above
10185
10186         * lyxfunc.C: ignore space-only minibuffer dispatches.
10187           Show the command name when it doesn't exist
10188
10189         * minibuffer.C: don't add empty lines to the history
10190
10191         * minibuffer.C: add a space on dropdown completion
10192
10193 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * text.C: fix line above/below drawing in insets
10196
10197 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10198
10199         * lyxlength.C (LyXLength): Initialize private variables.
10200
10201 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10202
10203         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10204         when inserting error insets.
10205
10206 2001-12-13  Juergen Vigna  <jug@sad.it>
10207
10208         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10209         actually sometimes the before-paragraph.
10210         (setUndo): don't clear the redostack if we're not actually undoing!
10211
10212 2001-12-06  Juergen Vigna  <jug@sad.it>
10213
10214         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10215         and fixed redoing of main paragraph, so we can use it now ;)
10216
10217         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10218
10219 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10220
10221         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10222         Juergen's request
10223
10224 2001-12-13  André Pönitz <poenitz@gmx.net>
10225
10226         * undostack.[Ch]:
10227         * undo_func.C: minor cleanup
10228
10229 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10230
10231         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10232         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10233         font in urw-fonts package which is marked as -urw-fontspecific and
10234         does not work (incidentally, changing the encoding in the
10235         fonts.dir of this package to -adobe-fontspecific fixes the
10236         problem).
10237
10238         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10239         is a crash when undoing first paragraph (Juergen, please take a
10240         look). THis does not mean the undo fix is wrong, just that it
10241         uncovers problems.
10242
10243         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10244         the (Paragraph*) version when needed instead of duplicating the
10245         code.
10246
10247         * text.C (workWidth): use Inset::parOwner to find out where the
10248         inset has been inserted. This is a huge performance gain for large
10249         documents with lots of insets. If Inset::parOwner is not set, fall
10250         back on the brute force method
10251
10252         * paragraph_pimpl.C (insertInset):
10253         * paragraph.C (Paragraph):
10254         (cutIntoMinibuffer): set parOwner of insets when
10255         inserting/removing them
10256
10257         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10258
10259 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10260
10261         * commandtags.h:
10262         * LyXAction.C:
10263         * lyx_main.C:
10264         * lyxfunc.C:
10265         * mathed/formulabase.C:
10266         * mathed/math_cursor.[Ch]:
10267         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10268
10269
10270 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10271
10272         * lyxlength.[Ch] (operator!=): new function
10273
10274 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10275
10276         * text.C (workWidth): use Inset::parOwner to find out where the
10277         inset has been inserted. This is a huge performance gain for large
10278         documents with lots of insets. If Inset::parOwner is not set, fall
10279         back on the brute force method
10280
10281         * paragraph_pimpl.C (insertInset):
10282         * paragraph.C (Paragraph):
10283         (cutIntoMinibuffer): set parOwner of insets when
10284         inserting/removing them
10285
10286         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10287
10288 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10289
10290         * tabular-old.C (getTokenValue):
10291         * tabular.C (getTokenValue):
10292         (write_attribute): new versions for LyXLength
10293         (everywhere): adjust the use of widths
10294
10295         * tabular.h: change the type of widths from string to LyXLength
10296
10297 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10298
10299         * paragraph.C: fixed missing line number count when exporting
10300         Environments to LaTeX file
10301
10302         * buffer.C: added informational message for checking line numbers.
10303
10304 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10305
10306         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10307         paragraph, do the 'double space' part, but not the 'empty
10308         paragraph' one.
10309
10310         * text.C (workWidth): small optimization
10311         (getLengthMarkerHeight): use minimal size for negative lengths.
10312
10313 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10314
10315         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10316
10317         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10318
10319 2001-12-11  André Pönitz <poenitz@gmx.net>
10320
10321         * FontLoader.C:
10322         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10323
10324 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10325
10326         * text2.C: keep selection on a setFont()
10327
10328 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * lyx_cb.C: another bv->text misuse, from insert label
10331
10332 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10333
10334         * kbsequence.h:
10335         * kbsequence.C: re-instate nmodifier mask
10336
10337 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10338
10339         * lyx_main.h: make lyxGUI private.
10340
10341 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10342
10343         * lyxfind.C: place the cursor correctly on failed search
10344
10345 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10346
10347         * text.C (getLengthMarkerHeight): for small heights, the arrows
10348         are not always on top/bottom of the text
10349         (drawLengthMarker): smaller arrows; take the left margin in
10350         account; draw also vfills.
10351         (paintFirstRow):
10352         (paintLastRow): remove special code for vfill and standard spaces,
10353         since everything is handled in drawLengthMarker now.
10354
10355 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10356
10357         * buffer.C (insertErtContents): try to handle font and language
10358         interaction a bit better.g
10359
10360         * ColorHandler.C (updateColor): change the hash to cover the whole
10361         LColor enum, ws cleanup
10362         (getGCLinepars): ditto
10363         (getGCLinepars): only lookup in the linecache once.
10364
10365 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10366
10367         * iterators.C (operator++): Make the iterator more robust
10368
10369         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10370         (John's patch)
10371         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10372
10373 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * lyxtext.h:
10376         * text.C: better added space drawing
10377
10378 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10379
10380         * LyXView.C:
10381         * BufferView2.C: fix layout combo update on inset unlock
10382
10383 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10384
10385         * Makefile.am: don't compile unused files
10386
10387 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10388
10389         * lyxfunc.C:
10390         * commandtags.h:
10391         * LyXAction.C: remove old LFUN_LAYOUTNO
10392
10393 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * paragraph_pimpl.h:
10396         * paragraph_pimpl.C: isTextAt() doesn't need font param
10397
10398 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * lyxlex.h:
10401         * lyxlex.C: little cleanup
10402
10403 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * BufferView_pimpl.C: fix insertAscii for insets
10406
10407 2001-12-05  Juergen Vigna  <jug@sad.it>
10408
10409         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10410         set the right font on the "multi" paragraph paste!
10411
10412 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10413
10414         * trans_decl.h:
10415         * trans_mgr.[Ch]:
10416         * trans.[Ch]:
10417         * lyxgluelength.C:
10418         * lyxlength.C: remove out-commented code.
10419
10420         * BufferView_pimpl:
10421         * CutAndPaste.C:
10422         * DepTable.C:
10423         * buffer.C:
10424         * chset.C:
10425         * lastfiles.C:
10426         * lyxlex.C:
10427         * lyxlex_pimpl.C:
10428         * lyxserver.C:
10429         * screen.C:
10430         * tabular-old.C:
10431         * tabular.C:
10432         * text.C:
10433         * trans_mgr.C:
10434         * vc-backend.C: change "while(" to "while ("
10435
10436         * lyxlength.[Ch]: add zero function to check if length is zero or
10437         not
10438         * lyxgluelength.C: use it
10439
10440 2001-12-05  Allan Rae  <rae@lyx.org>
10441
10442         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10443         Works for 2.95.3, from what I understand of Garst's reports this should
10444         work for other g++ versions.  We're screwed if the abs(int) definition
10445         changed between bugfix releases of gcc.
10446
10447 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10448
10449         * text.C: fix chapter label offset !
10450
10451 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10452
10453         * lyxtext.h:
10454         * text.C: fix hfill at end of line, clean up
10455
10456 2001-12-04  Juergen Vigna  <jug@sad.it>
10457
10458         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10459         that we force an update of the inset and it's owners if neccessary.
10460
10461 2001-12-03  Juergen Vigna  <jug@sad.it>
10462
10463         * text.C (rowLast): simplified code
10464
10465 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * lyxfunc.C: fix show options on timeout
10468
10469 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10470
10471         * screen.C (topCursorVisible): scroll half a page when the cursor
10472         reached top of bottom of screen
10473
10474 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10475
10476         * minibuffer.C: deactivate on loss of focus
10477
10478 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10479
10480         * vspace.[Ch] (operator!=): add operator.
10481
10482 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10483
10484         * BufferView_pimpl.C: refuse to open an inset when
10485         there's a selection.
10486
10487 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10488
10489         * BufferView_pimpl.C: allow to click on RHS of full row insets
10490
10491 2001-11-30  Juergen Vigna  <jug@sad.it>
10492
10493         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10494         insets for undo reasons.
10495
10496 2001-11-28  André Pönitz <poenitz@gmx.net>
10497
10498         * vspace.[Ch]: cosmetical changes
10499
10500 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10501
10502         * LyXAction.h:
10503         * LyXAction.C:
10504         * lyxfunc.h:
10505         * lyxfunc.C:
10506         * kbmap.h:
10507         * kbmap.C:
10508         * lyxrc.C:
10509         * kbsequence.h:
10510         * kbsequence.C: part re-write of old kb code
10511
10512         * Painter.C:
10513         * WorkArea.C: remove Lgb_bug_find_hack
10514
10515 2001-11-30  José Matos <jamatos@fep.up.pt>
10516
10517         * buffer.C (makeDocBookFile): add a comment to point a hack.
10518         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10519         Fixed a double write of labels.
10520
10521 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10522
10523         * LaTeX.C:
10524         * LaTeX.h Fixed bug in LaTeX class where it would not
10525         re-run latex if no depfiles were changed, but the .dvi was removed.
10526
10527 2001-11-28  André Pönitz <poenitz@gmx.net>
10528
10529         * all the files from the change on 2001/11/26:
10530         use lyx::layout_type instead of LyXTextClass::size_type
10531         use lyx::textclass_type instead of LyXTextClassList::size_type
10532
10533 2001-11-29  Juergen Vigna  <jug@sad.it>
10534
10535         * text.C: added support for paragraph::isFreeSpacing()
10536
10537         * buffer.C: same as above
10538
10539         * paragraph.h: inserted isFreeSpacing() function to enable
10540         FreeSpacing inside InsetERT.
10541
10542         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10543         of the paragraph's in the cut/copy buffer to 0!
10544
10545         * text2.C (removeRow): remove the assert as it can!
10546
10547         * lyxtext.h: added helper function firstRow returning firstrow and
10548         made firstrow private again.
10549
10550         * BufferView2.C (lockInset): don't relock if we're already locked!
10551
10552         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10553         the only paragraph.
10554         (removeRow): added Assert::(firstrow)
10555
10556         * debug.C: forgot to add INSETTEXT here.
10557
10558 2001-11-28  Juergen Vigna  <jug@sad.it>
10559
10560         * sp_spell.C (initialize): changed error text to more general
10561         spellchecker command use (not only ispell!)
10562
10563         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10564
10565         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10566
10567 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * vspace.C: initialise lyxgluelength on failure
10570
10571 2001-11-28  Allan Rae  <rae@lyx.org>
10572
10573         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10574         declaration & definition that looks like a function declaration.
10575
10576 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10577
10578         * BufferView2.C (copy):
10579         (copyEnvironment): do not clear the selection when doing a copy.
10580
10581         * text.C (paintFirstRow): compilation fix
10582
10583 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10584
10585         * tabular.C (Latex): correct line count when writing latex.
10586
10587 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10588
10589         * paragraph_pimpl.h:
10590         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10591           bug a bit
10592
10593 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10594
10595         * text.C:
10596         * LColor.h:
10597         * LColor.C: change vfillline->added_space
10598
10599         * text.C: add markers and text for added space
10600
10601         * vspace.C: fix comment
10602
10603 2001-11-28  André Pönitz <poenitz@gmx.net>
10604
10605         * paragraph.C: whitespace changes
10606         * all the other files from the change on 2001/11/26:
10607         change *::pos_type into lyx::pos_type
10608
10609 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10610
10611         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10612         language of the document when inserting error insets.
10613
10614 2001-11-26  André Pönitz <poenitz@gmx.net>
10615
10616         * BufferView_pimpl.[Ch]:
10617         *       CutAndPaste.C:
10618         * buffer.[Ch]:
10619         * lyxcursor.[Ch]:
10620         * lyxfind.C:
10621         * lyxfunc.C:
10622         * lyxrow.[Ch]:
10623         * paragraph.[Ch]:
10624         * paragraph_pimpl.[Ch]:
10625         * sp_spell.C:
10626         * text.C:
10627         * text2.C: reduce header dependencies, introduce type for positions
10628
10629 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10630
10631         * <various>: change to use Alert.h
10632
10633 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10634
10635         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10636         when encountering an unknown token.
10637         (readLyXformat2): Show an error message if there were unknown tokens.
10638
10639 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10640
10641         * BufferView2.C:
10642         * BufferView_pimpl.C:
10643         * buffer.C:
10644         * paragraph.h:
10645         * text.C:
10646         * text2.C: use par->isInset()
10647
10648 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * paragraph_pimpl.h:
10651         * paragraph_pimpl.C: cleanup
10652
10653 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10654
10655         * text2.C (removeRow):
10656         * text.C (setHeightOfRow): remove useless (and costly) call to
10657         getRow.
10658
10659 2001-11-20  Allan Rae  <rae@lyx.org>
10660
10661         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10662         Now need Inset*::checkInsertChar() to return true for appropriate
10663         cases so that the characters in the minibuffer will actually be
10664         inserted.
10665
10666 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10667
10668         * text.C: change the order of the includes.
10669         (workWidth): initialize it at once.
10670         (workWidth): make maxw unsigned
10671         (setHeightOfRow): remove unused variable (inset)
10672         (selectSelectedWord): remove unused variable (inset)
10673         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10674
10675 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10676
10677         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10678         server is not running.
10679         (openConnection):
10680         (closeConnection): add debug info when server is disabled.
10681
10682         * ColorHandler.C (getGCForeground): send debug message to GUI
10683         channel.
10684
10685         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10686
10687         * kbmap.C (bind): modify because return conventions of
10688         kb_sequence::parse have changed.
10689
10690         * kbsequence.C (parse): only ignore spaces and not any stupid
10691         control character. This avoids tests like s[i] <= ' ', which are
10692         guaranteed to fail with 8bit characters and signed chars.
10693         Change return code to string::npos when there have been no error
10694         (0 was a bad idea when error is at first character)
10695
10696 2001-11-14  José Matos  <jamatos@fep.up.pt>
10697
10698         * buffer.h:
10699         * buffer.C (simpleDocBookOnePar): removed unused argument.
10700
10701 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10702
10703         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10704         insets which are part of a word. Paragraph::isLetter takes care of
10705         that now. Use Paragraph::isInset to identify insets.
10706         (selectSelectedWord): do not test for hyphenation break.
10707
10708         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10709         that protected spaces are considered as spaces.
10710
10711         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10712         Inset::isLetter.
10713
10714 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10715
10716         * lyxserver.h:
10717         * lyxserver.C: fix it. and small cleanup.
10718
10719 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * BufferView_pimpl.C: use inline helpers
10722
10723         * LaTeXFeatures.h:
10724         * LaTeXFeatures.C: fix typos
10725
10726         * Spacing.h:
10727         * Spacing.C: move spacing_string into class
10728
10729         * ToolbarDefaults.C: move stuff into namespace anon
10730
10731         * layout.h: update enum
10732
10733         * lyxfunc.C: use better debug
10734
10735         * minibuffer.h: fix typo
10736
10737         * debug.h:
10738         * debug.C:
10739         * WorkArea.C: add and use Debug::WORKAREA
10740
10741         * lyxtext.h:
10742         * text.C:
10743         * text2.C: code re-organisation, inline helpers
10744
10745 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10746
10747         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10748         std::vector.empty().
10749
10750 2001-11-09  Allan Rae  <rae@lyx.org>
10751
10752         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10753         '\n's after tables.  Tabular and ERT inset work now makes this no
10754         longer necessary.
10755
10756 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * minibuffer.h:
10759         * minibuffer.C: fix crash, improve drop-down completion
10760
10761 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * lyxserver.h:
10764         * lyxserver.C: invalidate fd's when doing endPipe()
10765
10766 2001-11-08  José Matos  <jamatos@fep.up.pt>
10767
10768         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10769         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10770
10771         * paragraph.h:
10772         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10773
10774 2001-11-07  José Matos  <jamatos@fep.up.pt>
10775
10776         * buffer.h:
10777         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10778         const qualifier.
10779
10780         * buffer.C (sgmlOpenTag):
10781         * buffer.C (sgmlCloseTag): removed debug info.
10782
10783         * buffer.h (sgmlOpenTag):
10784         * buffer.h (sgmlCloseTag): made public.
10785
10786 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10787
10788         * buffer.C (saveParamsAsDefaults):
10789         * lyx_cb.C (MenuLayoutSave): remove
10790
10791         * LyXAction.C (init):
10792         * commandtags.h:
10793         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10794
10795 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10796
10797         * buffer.C (setPaperStuff): removed from here...
10798
10799         * bufferparams.C (setPaperStuff): ... and moved there.
10800
10801 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10802
10803         * minibuffer.h:
10804         * minibuffer.C:
10805         * XFormsView.C: add support for drop-down completion
10806
10807 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10808
10809         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10810         commands.
10811
10812 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10813
10814         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10815         disabled.
10816
10817 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * lyx_main.C: change ref to known bugs
10820
10821 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10822
10823         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10824         to work around older babel problems.
10825
10826 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10827
10828         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10829
10830 2001-10-24  Juergen Vigna  <jug@sad.it>
10831
10832         * tabular-old.C (ReadOld): below variable changes reflected.
10833
10834         * tabular.[Ch]: added ltType struct for longtable header/footer
10835         defines and changed all instances where they are used. Added
10836         future support for double top/bottom rows.
10837
10838 2001-10-24  José Matos  <jamatos@fep.up.pt>
10839
10840         * buffer.h (docbookHandleCaption):
10841         * buffer.C (docbookHandleCaption): removed unused function.
10842         (makeDocBookFile): moved docbook supported version to v4.1.
10843
10844 2001-10-24  José Matos  <jamatos@fep.up.pt>
10845
10846         * tabular.h:
10847         * tabular.C (docbookRow): new function to export docbook code of a row.
10848         (DocBook): now honors the longtable flags.
10849
10850 2001-10-23  José Matos  <jamatos@fep.up.pt>
10851
10852         * LaTeXFeatures.h:
10853         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10854         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10855
10856         * buffer.C (makeLinuxDocFile):
10857         (makeDocBookFile): reworked the preamble, more clean, and with
10858         support for lyx defined entities. Changed the document declaration
10859         to be more XML friendly.
10860
10861         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10862         if we need to output XML that should be done with a filter.
10863
10864 2001-10-22  Juergen Vigna  <jug@sad.it>
10865
10866         * sp_pspell.h (class PSpell): add alive function needed in the
10867         controller to see if the spellchecker could be started.
10868
10869 2001-10-22  Juergen Vigna  <jug@sad.it>
10870
10871         * buffer.C (insertStringAsLines): modify the font for inserting
10872         chars in certain conditions by calling checkInsertChar(font).
10873
10874 2001-10-19  Juergen Vigna  <jug@sad.it>
10875
10876         * text.C (workWidth): use getRow instead of wrong algorithm.
10877         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10878
10879 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10880
10881         * lyxserver.h:
10882         * lyxserver.C:
10883         * lyx_main.h:
10884         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10885
10886 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10887
10888         * text.C (workWidth): do not search for the exact row when
10889         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10890         optimization for big documents.
10891
10892 2001-10-18  Juergen Vigna  <jug@sad.it>
10893
10894         * text.C (workWidth): new function with added Inset * parameter.
10895
10896 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10897
10898         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10899
10900         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10901         change return type of getColumnNearX.
10902
10903
10904         * text.C (changeRegionCase): use uppercase/lowercase instead of
10905         toupper/tolower.
10906         (leftMargin):
10907         (rightMargin): simplify code by factoring out the uses of
10908         textclasslist.
10909         (labelFill):
10910         (numberOfHfills):
10911         (setHeightOfRow):
10912         (appendParagraph): use Paragraph::size_type
10913
10914 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10915
10916         * vspace.C (asLatexString): add a missing break
10917
10918 2001-10-15  Herbert Voss  <voss@perce.de>
10919
10920         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10921
10922 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10923
10924         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10925         is not available.
10926
10927 2001-10-10  André Pönitz <poenitz@gmx.net>
10928
10929         * lyxfunc.C: removed greek_kb_flag.
10930
10931 2001-10-10  Herbert Voss  <voss@perce.de>
10932
10933         * lyx_main.C: delete global string help_lyxdir.
10934
10935 2001-10-09  Herbert Voss  <voss@perce.de>
10936
10937         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10938
10939         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10940
10941         * lyx_main.C: added global string help_lyxdir.
10942
10943         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10944
10945 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10946
10947         * lyxrc.C (set_font_norm_type): support iso8859-4
10948
10949 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10950
10951         * LaTeX.C (deplog): add another regex for MikTeX
10952
10953 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10954
10955         * lyxrc.C (set_font_norm_type): support iso8859-3
10956
10957 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10958
10959         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10960
10961         * LaTeXFeatures.C: remove special case of french and index
10962
10963         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10964         before \begin{document}). This solves several incompatibilities.
10965
10966 2001-10-03  Garst Reese  <reese@isn.net>
10967
10968         * lyx_cb.C: change CheckTex error msg.
10969
10970 2001-10-03  José Matos  <jamatos@fep.up.pt>
10971
10972         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10973
10974 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10975
10976         * .cvsignore: update
10977
10978         * lyx_main.C (commandLineVersionInfo): use new style version info.
10979
10980         * buffer.C (writeFile):
10981         (makeLaTeXFile):
10982         (makeLinuxDocFile):
10983         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10984
10985         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10986
10987         * version.h: update to use stuff in version.C
10988
10989         * version.C.in: new file. Contains version information determined
10990         at compile time. This is a merging of version.h and
10991         version_info.h.in.
10992
10993 2001-10-03  Juergen Vigna  <jug@sad.it>
10994
10995         * BufferView_pimpl.C (update): don't change "dirty" status in
10996         updateInset call.
10997
10998 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10999
11000         * WorkArea.C (c-tor): re-position version string slightly.
11001
11002 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11003
11004         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11005         revert to previous code.
11006
11007         WorkArea.[Ch]: (show, destroySplash): methods removed.
11008
11009         WorkArea.C: rework code so that it's an amalgam of the codes before and
11010         after the splash screen was moved to WorkArea.
11011
11012 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11013
11014         * lyxrc.C (read):
11015         * vspace.C (inPixels):
11016         (lyx_advance):
11017         * kbmap.C (bind):
11018         * buffer.C (insertStringAsLines):
11019         (asciiParagraph): fix types to be large enough
11020
11021         * lyxlex_pimpl.h: change member status from short to int
11022
11023         * layout.h: fix type of endlabeltype
11024
11025         * kbmap.C (bind):
11026         * kbsequence.C (parse): change return type to string::size_type
11027
11028         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11029         variable
11030
11031         * Bullet.C (bulletSize):
11032         (bulletEntry): do not use short ints as parameters
11033
11034         * BufferView2.C (insertLyXFile): change a char to an int.
11035
11036         * WorkArea.C (WorkArea): remove unneeded floats in computation
11037
11038 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11039
11040         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11041
11042         * paragraph.C (asString): Do not ignore newline/hfill chars when
11043         copying to the clipboard.
11044
11045 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11046
11047         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11048         after a multi-line inset.
11049
11050 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11051
11052         * paragraph.C (validate): Set NeedLyXFootnoteCode
11053
11054 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11055
11056         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11057         and decrease-error to decrease.
11058
11059 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11060
11061         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11062         it more readable (should be equivalent)
11063
11064 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11065
11066         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11067
11068 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11069
11070         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11071         of a cursor (row, etc.) after a character has been deleted
11072         (deleteEmptyParagraphMechanism): call the method above on _all_
11073         cursors held by the LyXText when a double space has been
11074         detected/deleted.
11075
11076 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11077
11078         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11079         pixmap.
11080         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11081
11082         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11083         background. Use greyOut() and the new show() methods to toggle between
11084         the foreground and background. Add code to remove the splash after
11085         its initial showing.
11086
11087         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11088         (create_forms): no longer call Dialogs::showSplash.
11089
11090 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11091
11092         * .cvsignore: add version_info.h
11093
11094 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11095
11096         * version_info.h.in: new file
11097
11098         * Makefile.am: add version_info.h.in
11099
11100         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11101         version_info.h instead of VERSION_INFO
11102
11103 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11104
11105         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11106         The ERT inset now returns string().
11107
11108 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11109
11110         * lyxtext.h, text.C (selectNextWord): renamed as
11111         selectNextWordToSpellcheck.
11112
11113         * text.C (selectNextWordToSpellcheck): Modified to not select
11114         words inside an ERT inset.
11115
11116 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11117
11118         * lyx_cb.C (MenuLayoutSave): change a bit the question
11119
11120         * sp_base.h: include <sys/types.h>
11121
11122 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11123
11124         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11125
11126 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11127
11128         * several files: fix typos in user-visible strings
11129
11130 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11131
11132         * text2.C (pasteSelection): do not set the selection, since it
11133         will be cleared later. Actually, the intent was to fix the way the
11134         selection was set, but I figured rmoving the code was just as good.
11135
11136 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11137
11138         * FontLoader.C (available): Check if font is available without
11139         loading the font.
11140
11141 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11142
11143         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11144
11145 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11146
11147         * lyxrc.[Ch]: added display_graphics variable and associated code.
11148
11149 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11150
11151         * bufferparams.C (hasClassDefaults): new method. Returns true if
11152         the buffer parameters correspond to known class defaults
11153
11154 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11155
11156         * XFormsView.C (show): set minimum size to the main window.
11157
11158 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11159
11160         * text2.C (copySelection):
11161         (cutSelection):
11162         * lyxfind.C (LyXReplace):
11163         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11164         LyXText::selectionAsString.
11165
11166         * paragraph.C (asString): add "label" argument to the second form
11167
11168         * text2.C (selectionAsString): add "label" argument and pass it to
11169         Paragraph::asString.
11170
11171 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11172
11173         * lyx_main.C (commandLineHelp): remove version information
11174
11175 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11176
11177         * lyx_main.C: add -version commandline option
11178
11179 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11180
11181         * paragraph.h: make the optional constructor arg required instead.
11182         some modifications to other files because of this.
11183
11184         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11185
11186         * lyxserver.C (C_LyXComm_callback): make it static
11187
11188         * lyx_main.C (error_handler): make it static
11189
11190         * lyx_gui.C (LyX_XErrHandler): make it static
11191
11192         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11193
11194         * WorkArea.C: make the extern "C" methods static.
11195
11196         * Makefile.am (lyx_LDADD): simplify
11197
11198 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11199
11200         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11201         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11202
11203         * LyXAction.C (init):
11204         * lyxfunc.C (dispatch): associated code removal.
11205
11206 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11207
11208         * lyxfont.h (isSymbolFont): shut off warning
11209
11210         * text.C (setHeightOfRow):
11211         (getVisibleRow): fix crash with empty paragraphs which have a
11212         bottom line
11213
11214 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11215
11216         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11217         code.
11218
11219 2001-09-04  José Matos  <jamatos@fep.up.pt>
11220         * buffer.C
11221         * buffer.h
11222         * tabular.C (docbook): rename docBook method to docbook.
11223
11224 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11225
11226         * Makefile.am: add dependencies to main.o.
11227
11228 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11229
11230         * FontLoader.C (available): Return false if !lyxrc.use_gui
11231
11232 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11233
11234         * FontInfo.C (query):
11235         * converter.C (view):
11236         * importer.C (Import):
11237         * exporter.C (Export): Can not -> cannot.
11238
11239 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11240
11241         * BufferView_pimpl.C: allow to create index inset even if
11242           string is empty
11243
11244 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11245
11246         * buffer.C (getLists): replace boost::tie code with an explicit pair
11247         as boost::tie can break some compilers.
11248
11249         * iterators.h: Added a std:: declaration to the return type of
11250         ParIterator::size.
11251
11252 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11253
11254         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11255           case.
11256
11257 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11258
11259         * iterators.[Ch]: New files. Provide paragraph iterators.
11260
11261         * buffer.C (changeLanguage): Use paragraph iterators.
11262         (isMultiLingual): ditto
11263
11264         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11265
11266 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11267
11268         * FontLoader.C: Support for cmr font.
11269
11270 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11271
11272         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11273         (available): New method.
11274
11275         * FontInfo.C (getFontname): Use scalable fonts even when
11276         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11277         found.
11278
11279 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11280
11281         * converter.C (Formats::view): reverted! Incorrect fix.
11282
11283 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11284
11285         * converter.C (Formats::view): only output the -paper option
11286         if the dvi viewer is xdvi, thereby fixing bug #233429.
11287
11288 2001-08-23  Herbert Voss  <voss@perce>
11289
11290         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11291
11292 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11293
11294         * Spacing.h (Spacing): Set space to Default on in the default
11295         constructor.
11296
11297 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11298
11299         * vc-backend.h (RCS::versionString): add RCS to version
11300         (CVS::versionString): add CVS to version
11301
11302         * vc-backend.C (scanMaster): do not add CVS to version.
11303         (scanMaster): do not add RCS to version
11304
11305         * lyxvc.C (versionString): new method
11306
11307         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11308
11309 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11310
11311         * Spacing.C (set): initialize fval
11312
11313 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11314
11315         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11316         " or \.
11317
11318 2001-08-16  Juergen Vigna  <jug@sad.it>
11319
11320         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11321
11322 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11323
11324         * BufferView_pimpl.C:
11325         * figureForm.C:
11326         * lyxtext.h:
11327         * text2.C: setParagraph takes linespacing now
11328
11329 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11330
11331         * LyxAction.C: add internal LFUN_CITATION_INSERT
11332
11333         * LyXView.C: actually apply fix
11334
11335         * bufferlist.C: fix open non-existent file
11336
11337         * lyxfind.C: fix indentation
11338
11339         * lyxfunc.C: remove unneeded assert, fix typo
11340
11341 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11342
11343         * MenuBackend.C: use "Floatname List"
11344
11345 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11346
11347         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11348         when converting LaTeX layout to insetERT.
11349         Generate a non-collapsed float when reading old float
11350
11351 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11352
11353         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11354         ERT insets.
11355
11356 2001-08-13  Juergen Vigna  <jug@sad.it>
11357
11358         * text.C (fill): return 0 instead of 20 as this seems to be the more
11359         correct value.
11360
11361 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11362
11363         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11364         lyxrc.font_norm.
11365
11366 2001-08-13  Juergen Vigna  <jug@sad.it>
11367
11368         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11369         casesensitive off.
11370         (SearchBackward): comment out the unlocking of the inset_owner this
11371         should not be needed!
11372
11373 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11374
11375         * Many files: Remove inherit_language, and add latex_language
11376
11377         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11378         collapsible insets.
11379
11380 2001-08-10  Juergen Vigna  <jug@sad.it>
11381
11382         * text.C (prepareToPrint): fixed hfill-width in draw!
11383
11384         * BufferView2.C (selectLastWord): save the selection cursor as this
11385         now is cleared in the function LyXText::clearSelection!
11386
11387 2001-08-08  Juergen Vigna  <jug@sad.it>
11388
11389         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11390         BACKSPACE type functions.
11391
11392         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11393         is only cutted from the document but not put in the cut-buffer, where
11394         still the old stuff should be.
11395
11396         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11397
11398         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11399
11400         * tabular.C (SetWidthOfCell): fixed special case where the width
11401         was not updated!
11402         (LeftLine): handle '|' in align_special.
11403         (RightLine): ditto
11404         (LeftAlreadyDrawed): ditto
11405         (SetWidthOfCell): ditto
11406
11407 2001-08-07  Juergen Vigna  <jug@sad.it>
11408
11409         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11410
11411 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11412
11413         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11414         * lyxlex.[hC]: ditto
11415
11416 2001-08-06  Juergen Vigna  <jug@sad.it>
11417
11418         * text.C (getVisibleRow): fix up row clearing a bit.
11419
11420 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11421
11422         * minibuffer.C: make sure the X server sees the changes in the input.
11423
11424 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11425
11426         * paragraph.C (getFont): split into...
11427         (getLabelFont): this
11428         (getLayoutFont): and this
11429         * paragraph_pimpl.C (realizeFont): calling this
11430
11431         * text2.C (getFont): split into...
11432         (getLayoutFont): this
11433         (getLabelFont): and this
11434         (realizeFont): all three calling this
11435
11436         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11437         files where used.
11438
11439 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11440
11441         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11442
11443 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11444
11445         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11446         layouts from the Quote inset insertion.
11447
11448 2001-08-03  Juergen Vigna  <jug@sad.it>
11449
11450         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11451
11452         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11453         only if status not is already CHANGED_IN_DRAW (second level).
11454
11455         * text.C (draw): don't set the need_break_row when inside an
11456         InsetText LyXText.
11457
11458 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11459
11460         * buffer.C (parseSingleLyXformat2Token): handle more latex
11461         conversion cases.
11462
11463         * bufferview_funcs.[hC]: change function names to
11464         begin with small char, adjust other files.
11465
11466 2001-08-02  André Pönitz <poenitz@gmx.net>
11467
11468         * lyxfunc.C:
11469         BufferView_pimpl.C: remove broken special code for math-greek
11470
11471 2001-08-02  Juergen Vigna  <jug@sad.it>
11472
11473         * BufferView_pimpl.C (update): redone this function so that we
11474         update the text again if there was a CHANGE_IN_DRAW.
11475
11476         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11477         (drawFromTo): added a new internal bool which is used by draw() and
11478         redraw() function.
11479         (general): some cursor drawing problems fixed.
11480
11481 2001-08-01  Juergen Vigna  <jug@sad.it>
11482
11483         * lyxfind.C (LyXFind): fixed
11484         (SearchForward): ditto
11485         (SearchBackward): ditto
11486
11487         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11488         spurius drawing of the cursor in the main area.
11489
11490         * text2.C (status): small fix which could lead to a segfault!
11491         (clearSelection): remove unneeded BufferView param.
11492
11493 2001-08-01  André Pönitz <poenitz@gmx.net>
11494
11495         * lyxfunc.C: small change due to changed mathed interface
11496
11497 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11498
11499         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11500
11501 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11502
11503         * lyxfunc.c: fail gracefully if file doesn't exist
11504
11505         * LyXSendto.C:
11506         * buffer.C:
11507         * lyxfunc.C:
11508         * BufferView_pimpl.C: IsDirWriteable() proto changed
11509
11510         * LyXView.C: fix updateWindowTitle() to store the last title
11511
11512 2001-07-31  Juergen Vigna  <jug@sad.it>
11513
11514         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11515         the font (wrong since using of Paragraph::highestFontInRange).
11516
11517         * paragraph.C (highestFontInRange): added a default_size parameter.
11518
11519         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11520         (setHeightOfRow): reformat
11521
11522 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11523
11524         * converter.[hC] + affected files: move to (inital-char)lowercase
11525         function names.
11526
11527         * ParagraphParameters.C (ParagraphParameters): remove commented code
11528
11529         * PainterBase.[Ch]: remove commented code
11530
11531         * LaTeXFeatures.h: add "bool floats" for float.sty
11532
11533         * LaTeXFeatures.C (LaTeXFeatures): init floats
11534         (require): handle float
11535         (getPackages): do it with floats
11536
11537 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11538
11539         * BufferView_pimpl.C (Dispatch): improve handling of
11540         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11541
11542         * commandtags.h: #include lyxfont.h here temporarily to avoid
11543         keybinding bug.
11544
11545         * bufferlist.h: include LString.h here.
11546
11547 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11548
11549         * text2.C (getStringToIndex): new method.
11550
11551 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11552
11553         * *: Reduced header file dependencies all over.
11554
11555 2001-07-30  Baruch Even  <baruch@lyx.org>
11556
11557         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11558
11559 2001-07-29  Baruch Even  <baruch@lyx.org>
11560
11561         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11562
11563 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11564
11565         * ParameterStruct.h (endif): add a default constructor to make
11566         sure that all variables is initialized.
11567
11568         * ParagraphParameters.C (ParagraphParameters): adjust
11569
11570 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11571
11572         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11573         index; also, check that there is something to index, and that it
11574         does not span over several paragraphs.
11575         (doubleClick): use WHOLE_WORD_STRICT for double click.
11576
11577         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11578
11579         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11580         scheme.
11581
11582 2001-07-26  Baruch Even  <baruch@lyx.org>
11583
11584         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11585         an InsetFig figure, backwards compatible reading of old figure code.
11586
11587 2001-07-27  Juergen Vigna  <jug@sad.it>
11588
11589         * text2.C: font.realize function adaption.
11590
11591         * text.C (draw): add a warnings lyxerr text if needed.
11592
11593         * layout.C: font.realize function adaption.
11594
11595         * language.C: add inherit_language and implement it's handlings
11596
11597         * bufferview_funcs.C (StyleReset): remove language parameter from
11598         font creation (should be language_inherit now).
11599
11600         * bufferparams.C (writeFile): handle ignore_language.
11601
11602         * paragraph.C (getFontSettings): the language has to be resolved
11603         otherwise we have problems in LyXFont!
11604
11605         * lyxfont.C (lyxWriteChanges): added document_language parameter
11606         (update): removed unneeded language parameter
11607
11608         * paragraph.C (validate): fixed wrong output of color-package when
11609         using interface colors for certain fonts in certain environments,
11610         which should not seen as that on the final output.
11611
11612 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11613
11614         * BufferView_pimpl.C:
11615         * Thesaurus.h:
11616         * Thesaurus.C:
11617         * Makefile.am:
11618         * commandtags.h:
11619         * LyXAction.C: add thesaurus support
11620
11621         * lyxfind.h:
11622         * lyxfind.C: add "once" parameter, for thesaurus, to not
11623           move to the next match
11624
11625 2001-07-26  Juergen Vigna  <jug@sad.it>
11626
11627         * lyxfont.C (realize): honor ignore_language too!
11628         (resolved): ditto.
11629
11630         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11631
11632         * text.C (draw): one place more for ignore_language to not draw
11633         itself!
11634
11635 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11636
11637         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11638
11639 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11642         the minipage conversion problem.
11643
11644 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11645
11646         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11647         insert an inset.
11648
11649 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11650
11651         * BufferView.h: don't forward declare WorkArea
11652
11653         * BufferView.C: don't include WorkArea.h
11654
11655 2001-07-25  André Pönitz <poenitz@gmx.net>
11656
11657         * commandtags.h:
11658         * LyXAction.C:
11659         * lyxfunc.C:  new LFUN 'math-space'
11660
11661         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11662
11663 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11664
11665         * text2.C (toggleInset): call open/close
11666
11667 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11668
11669         * lyxfunc.C (dispatch): add debug for the disabled case
11670
11671         * font.C (buttonText): make similar to rectText
11672
11673         * buffer.C (readInset): comment out parsing of insetlist and
11674         insttheorem
11675
11676         * PainterBase.C (rectText): small correction
11677
11678         * BufferView_pimpl.C: comment out insettheorem and insetlist
11679         * LyXAction.C: ditto
11680         * commandtags.h: ditto
11681
11682 2001-07-24  Juergen Vigna  <jug@sad.it>
11683
11684         * text.C (draw): honor the ignore_language.
11685
11686         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11687
11688 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11689
11690         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11691         char inset.
11692
11693 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11694
11695         * lyxtext.h: remove unused (and unimplemented) methods
11696
11697 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11698
11699         * text.C (getVisibleRow): honor background color
11700
11701         * PainterBase.h:
11702         * Painter.h: remove default color argument for fillRectangle
11703
11704         * text.C (backgroundColor): new method
11705
11706 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11707
11708         * text.C (getVisibleRow): adjust
11709
11710         * font.[Ch] (rectText): new method, metrics
11711         (buttonText): new method, metrics
11712
11713         * PainterBase.[hC]: make rectText and buttonText always draw and take
11714         fewer paramteres.
11715
11716 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11717
11718         * ToolbarDefaults.C (read):
11719         * MenuBackend.C (read): allow escaping in all strings
11720
11721         * BufferView_pimpl.C (insertAndEditInset): new method.
11722         (Dispatch): use insertAndEditInset whenever appropriate.
11723
11724         * BufferView_pimpl.C (insertNote): removed
11725
11726         * BufferView_pimpl.C (smartQuote): new method, moved from
11727         BufferView; if an insetquote cannot be inserted, insert a '"'
11728         character instead.
11729
11730         * BufferView2.C: remove insertCorrectQuote();
11731
11732         * lyxfunc.C (getStatus): Add support for all remaingin
11733         inset-insert lfuns.
11734
11735         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11736
11737         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11738         command (necessary to pass " as parameter of self-insert.
11739
11740         * text.C (selectWordWhenUnderCursor):
11741         (selectWord): add word_location parameter
11742         (selectWordWhenUnderCursor): same + remove special code for word
11743         boundary.
11744         (selectNextWord): use kind() to guess type of insetspecialchar,
11745         not latex().
11746
11747         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11748         (insertErtContents): create ert insets as collapsed.
11749         (readInset): better compatibility code for Info inset.
11750
11751 2001-07-20  Juergen Vigna  <jug@sad.it>
11752
11753         * lyxfunc.C (dispatch): use always LyXFind now!
11754
11755         * text2.C (init): add a reinit flag so that the LyXText can be
11756         reinited instead of deleted and reallocated (used in InsetText).
11757
11758         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11759
11760         * text.C: ditto
11761
11762         * text2.C: ditto
11763
11764 2001-07-18  Juergen Vigna  <jug@sad.it>
11765
11766         * text.C (selectNextWord): handle insets inside inset by calling
11767         always the bv->text functions so that we can go up the_locking_inset!
11768
11769         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11770         in strange locations when inside an inset!
11771
11772         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11773         handling to include insets.
11774
11775         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11776
11777 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11778
11779         * LyXAction.C (init):
11780         * commandtags.h:
11781         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11782         LIGATURE_BREAK, since the name is so stupid.
11783
11784 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11785
11786         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11787         InsetInfos.
11788
11789         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11790
11791         * sp_form.[Ch]: remove.
11792
11793         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11794
11795         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11796         InsetInfo.
11797
11798         * src/buffer.C (readInset): ditto.
11799
11800 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11801
11802         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11803         menuSeparator(), endOfSentenceDot(), ldots() and
11804         hyphenationPoint(), which are therefore removed.
11805         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11806
11807         * LyXAction.C (init):
11808         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11809
11810         * paragraph.C (getWord): removed.
11811
11812         * BufferView_pimpl.C (Dispatch): use last word or selection for
11813         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11814
11815         * lyx_main.C (queryUserLyXDir): do not ask before creating
11816         user_dir, except if it has been named explicitely.
11817
11818 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11819
11820         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11821         a document of zero size.
11822
11823 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11824
11825         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11826         approriately in the c-tor and in require().
11827         (getPackages): output the appropriate LaTeX for natbib support.
11828
11829         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11830         variables "use_natbib" and "use_numerical_citations" when reading the
11831         LyX file.
11832         (readInset): read the various natbib cite commands.
11833         (validate): white-space change.
11834
11835         * bufferparams.[Ch]: new variables "bool use_natbib" and
11836         "bool use_numerical_citations".
11837         (writeFile): output them in the LyX file.
11838
11839 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11840
11841         * lyxfunc.C (getStatus): add support for all the inset insertion
11842         commands.
11843
11844         * text2.C (insertInset):
11845         * paragraph.C (insetAllowed):
11846         * BufferView_pimpl.C (insertInset): update to take in account the
11847         renaming of insertInsetAllowed
11848
11849         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11850
11851         * text2.C (getInset): new method. returns inset at cursor position.
11852
11853         * BufferView_pimpl.C (Dispatch): changes because of this.
11854
11855         * LyXAction.C (init): rename open-stuff to inset-toggle.
11856
11857         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11858
11859         * text2.C (toggleInset): renamed from openStuff; use
11860         Inset::open().
11861
11862 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11863
11864         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11865
11866         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11867
11868 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11869
11870         * buffer.C (readLyXformat2): Add filename to the error dialog
11871
11872 2001-07-18  Juergen Vigna  <jug@sad.it>
11873
11874         * tabular.C (GetCellNumber): put an assert here instead of the check!
11875
11876 2001-07-17  Juergen Vigna  <jug@sad.it>
11877
11878         * BufferView_pimpl.C (toggleSelection): adapted too.
11879
11880         * text.C (selectNextWord): adapted for use with insets.
11881         (selectSelectedWord): ditto
11882
11883 2001-07-17  Juergen Vigna  <jug@sad.it>
11884
11885         * sp_spell.C (PSpell): fix initialitation order.
11886
11887 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * paragraph.C: spacing
11890
11891 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11892
11893         * sp_spell.C: repair language selection for pspell
11894
11895 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11896
11897         * lyxfunc.h: change more methods to begin with lower char.
11898
11899 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11900
11901         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11902         for unknown layouts.
11903
11904 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11905
11906         * buffer.C (readLyXformat2): Generate an error dialog if there are
11907         unknown layouts.
11908
11909 2001-07-16  Juergen Vigna  <jug@sad.it>
11910
11911         * sp_spell.C: always compile ISpell part.
11912
11913         * lyxrc.C: added use_pspell entry and it's handling.
11914
11915 2001-07-13  Juergen Vigna  <jug@sad.it>
11916
11917         * sp_spell.C: removed double includes.
11918
11919 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11920
11921         Consistent use of Lsstream.h:
11922         * Lsstream.h: added using std::stringstream for consistencies sake.
11923
11924         * buffer.C: removed using std::stringstream
11925
11926         * lyxfont.C (stateText):
11927         * paragraph.C (asString):
11928         * text.C (selectNextWord, selectSelectedWord):
11929         * text2.C (setCounter):
11930         * vspace.C (asString, asLatexString):
11931         std::ostringstream -> ostringstream.
11932
11933 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11934
11935         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11936         * commandtags.h: add LFUN_HELP_ABOUTLYX
11937         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11938
11939 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11940
11941         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11942         cursorToggle()
11943         * lyx_gui_misc.C: remove spellchecker
11944         * lyxfunc.C: showSpellchecker
11945         * sp_base.h: added
11946         * sp_ispell.h: added
11947         * sp_pspell.h: added
11948         * sp_spell.C: added
11949         * sp_form.[Ch]: removed
11950         * spellchecker.[Ch]: removed
11951
11952 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11953
11954         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11955         is set.
11956         (simpleTeXSpecialChars): Simply print the input character without
11957         any special translation if pass_thru is set.
11958
11959         * layout.h: Added bool pass_thru to layout class for being able to
11960         implement pass through of a paragraph for Literate Programming.
11961
11962         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11963         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11964         * layout.C (Read): add "passthru" to list of layout tags and add
11965         code to set the pass_thru boolean when it is read.
11966
11967 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11968
11969         * trans_decl.h: remove allowed from KmodInfo
11970
11971         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11972         remove allowed code
11973         (Load): adjust
11974
11975         * paragraph_pimpl.C (erase): use boost::prior
11976
11977         * Painter.C (text): use data() instead of c_str() when length is
11978         also provided.
11979         * WorkArea.C (putClipboard): ditto
11980         * font.h (width): ditto
11981
11982         * BufferView2.C: use it-> instead of (*it). for iterators
11983         * texrow.C: ditto
11984         * paragraph_pimpl.C: ditto
11985         * paragraph.C: ditto
11986         * minibuffer.C: ditto
11987         * language.C: ditto
11988         * kbmap.C: ditto
11989         * encoding.C: ditto
11990         * counters.C: ditto
11991         * converter.C: ditto
11992         * chset.C: ditto
11993         * Variables.C: ditto
11994         * TextCache.C: ditto
11995         * MenuBackend.C: ditto
11996         * LyXAction.C: ditto
11997         * LColor.C: ditto
11998         * FloatList.C: ditto
11999         * DepTable.C: ditto
12000         * ColorHandler.C (LyXColorHandler): ditto
12001
12002 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12003
12004         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12005
12006         * text2.C (openStuff): reintroduce this method (which had been
12007         nuked in NEW_INSETS frenzy).
12008
12009         * lyxfunc.C (Dispatch): when an action has not been handled, use
12010         its name in the error message, not its number.
12011
12012         * paragraph.C (inInset): change method name to begin with lowercase.
12013
12014         * undo_funcs.C:
12015         * text2.C: updates because of this.
12016
12017 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12018
12019         * ToolbarDefaults.C (add): add spaces in error message
12020
12021 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12022
12023         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12024         (readLyXformat2): rename return_par to first_par, use lyxlex's
12025         pushToken and remove the manual push handling.
12026         (parseSingleLyXformat2Token): add another ert comp. variable:
12027         in_tabular, rename return_par to first_par. handle newlines better
12028
12029 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12030
12031         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12032
12033 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12034
12035         * text2.C (getParFromID): removed
12036
12037         * buffer.C (getParFromID): new method moved form lyxtext.
12038         * BufferView2.C (insertErrors): adjust
12039         (setCursorFromRow): adjust
12040         * BufferView_pimpl.C (restorePosition): adjust
12041         * lyxfunc.C (Dispatch): adjust
12042         * undo_funcs.C (textUndo): adjust
12043         (textRedo): adjust
12044         (textHandleUndo): adjust
12045         (textHandleUndo): adjust
12046
12047 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12048
12049         * buffer.C: up' the LYX_FORMAT
12050
12051         * lyxfont.h: turn NO_LATEX on as default
12052
12053         * buffer.C (insertErtContents): new methods of tex style compability.
12054         (parseSingleLyXformat2Token): use it several places.
12055         * tabular.C (OldFormatRead): and here
12056
12057 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12058
12059         * text2.C: remove some commented code.
12060         reindent file.
12061
12062         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12063         * trans.C: changes because of the above.
12064
12065 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12066
12067         * text2.C (setCounter): Fix counters bug with bibliography layout.
12068
12069 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12070
12071         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12072         own member functions
12073         (simpleTeXSpecialChars): ditto
12074
12075 2001-07-06  Juergen Vigna  <jug@sad.it>
12076
12077         * a lot of files: changed the access to LyXText::status and the
12078         call of undo-functions.
12079
12080         * undo.[Ch]: added a inset_id to the undo informations.
12081
12082         * undo_funcs.[Ch]: added and moved here all undo functions.
12083
12084         * lyxtext.h: give the status enum a weight, made status_ a private
12085         variable and made accessor functions for it, removed the whole bunch
12086         of undo-functions as they are now in their own file, make some
12087         functions publically available. Added function ownerParagraph with
12088         int parameter.
12089
12090         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12091         made InInset() a const function, added getParFromID() function.
12092
12093         * buffer.[Ch]: added const version for inset_iterator functions,
12094         added getInsetFromID() function.
12095
12096         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12097         changed undo functions for new version.
12098
12099 2001-07-05  Juergen Vigna  <jug@sad.it>
12100
12101         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12102         unknow mechanism does not call the proper constructor but only this
12103         one also if I request the other!?
12104
12105 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12106
12107         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12108
12109         * text2.C (LyXText): use initialization lists.
12110
12111         * lyxtext.h (Selection): initialize set_ and mark_
12112         (init): remove method
12113
12114 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12115
12116         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12117
12118 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12119
12120         * screen.[Ch]: change method names to begin with lowercase
12121
12122         * BufferView_pimpl.C (updateScrollbar): simplify further and
12123         hopefully make it a bit faster.
12124
12125 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12126
12127         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12128         calling directly xforms functions.
12129
12130         * Painter.C (Painter):
12131         * lyx_cb.C (MenuWrite):
12132         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12133         fl_display.
12134
12135         * lyx_gui.C: remove bogus guiruntime extern declaration.
12136
12137 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12138
12139         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12140         in NEW_INSETS
12141         (redoDrawingOfParagraph): ditto
12142         (redoParagraphs): ditto
12143         (cutSelection): don't create a object for CutAndPaste use the
12144         static method directly
12145         (pasteSelection): ditto
12146
12147         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12148         LyXview (+ rename)
12149
12150 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12151
12152         * modifications to some other files because of this.
12153
12154         * Makefile.am (lyx_SOURCES): add XFormsView
12155
12156         * XFormsView.[Ch]: new files
12157
12158         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12159         the main window. Move the gui dependent stuff to XFormsView
12160
12161 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12162
12163         * tabular.C (GetCellInset): update cur_cell also in the row/col
12164         version of this function.
12165
12166         * lyxfunc.C: no need to include figure_form.h here.
12167
12168         * FontLoader.h:
12169         * lyxfunc.h:
12170         * lyxscreen.h:
12171         * text2.C:
12172         * lyxvc.C: no need to include forms.h here.
12173
12174 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12175
12176         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12177
12178         * lyxfunc.C (Dispatch):
12179         * Spacing.C (set):
12180         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12181         constructor argument.
12182
12183 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12184
12185         * paragraph.C (Paragraph): dont't clear, and just set layout.
12186         (makeSameLayout): use params's copy contructor.
12187
12188         * ParagraphParameters.[Ch] (makeSame): delete method
12189
12190 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12191
12192         * Variables.[Ch]: fix indentation, rename set to isSet
12193
12194 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12195
12196         * lyxfunc.C (Dispatch): fix typo
12197
12198 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12199
12200         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12201         upper_bound.
12202
12203         * bufferlist.C: include assert.h for emergencyWrite().
12204
12205 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12206
12207         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12208           give up at last (bug #425202) !
12209
12210 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12211
12212         * lyx_gui_misc.C:
12213         * sp_form.h:
12214         * sp_form.C:
12215         * spellchecker.h:
12216         * spellchecker.C: strip spellchecker options and bring up
12217           preferences tab instead
12218
12219 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12220
12221         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12222         the istringstream constructor
12223
12224 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12225
12226         * paragraph.C (getLayout): fix return value
12227
12228         * paragraph.h: do not declare getLayout as inline.
12229
12230         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12231
12232 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12233
12234         * lyxcursor.h (operator<): new func
12235         (operator>): new func
12236         (operator>=): new func
12237         (operator<=): new func
12238
12239         * text.C (changeCase): use selection.start and selection.end
12240         (changeRegionCase): require from to be <= to. Require par to be a
12241         valid paragraph.
12242
12243         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12244
12245 2001-06-27  Juergen Vigna  <jug@sad.it>
12246
12247         * text.C (cursorLeftOneWord): changed to return the cursor and added
12248         overlay with BufferView * parameter which calls this one.
12249         (getWord): added
12250         (selectWord): use new getWord function.
12251         (changeCase): renamed from changeWordCase as and extended to work
12252         also on selections.
12253
12254         * lyxtext.h: added enum word_location
12255
12256         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12257         changeCase as this operates now also on selections.
12258
12259 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12260
12261         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12262
12263         * many files: send debug output to Debug::INFO instead of
12264         Debug::ANY.
12265
12266         * converter.C (View):
12267         (Convert):
12268         (Move): send debug output to Debug::FILES instead of console.
12269
12270 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12271
12272         * lyxfunc.C (getStatus): use func_status
12273
12274         * func_status.h: new header, describing the results of
12275         LyXFunc::getStatus;
12276
12277         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12278         LFUN_MATH_HALIGN.
12279
12280 2001-06-25  The LyX Project  <jug@sad.it>
12281
12282         * buffer.C (sgmlOpenTag):
12283         (sgmlCloseTag):
12284         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12285
12286 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12287
12288         * text2.C: remove some dead code
12289
12290         * tabular.C (GetCellInset): store the last cell checked (gotten)
12291
12292         * tabular.h: add the helper for the speedup
12293
12294         * lyxtext.h: remove some dead code
12295
12296 2001-06-26  The LyX Project  <Asger>
12297
12298         * paragraph.C: Change export to LaTeX of alignment to
12299         \begin{center} and family for better roundtrip work with reLyX.
12300
12301         * Tune the math drawing a bit.
12302
12303 2001-06-25  The LyX Project  <Asger>
12304
12305         * LColor.C (LColor): New color for math background. New color
12306         for buttons.
12307
12308 2001-06-25  The LyX Project  <jug@sad.it>
12309
12310         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12311
12312         * lyxfunc.C (Open):
12313         * bufferlist.C (newFile): do not restrict to files ending with
12314         .lyx
12315
12316         * BufferView_pimpl.C (MenuInsertLyXFile):
12317
12318 2001-06-24  The LyX Project  <jug@sad.it>
12319
12320         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12321         of compare_no_case
12322
12323 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12324
12325         * lyxtext.h: rename most methods to begin with a small char.
12326         Lots of changes because of this.
12327
12328         * paragraph.C (Paragraph): do not call fitToSize
12329         (erase): call Pimpl::erase
12330         (insertChar): call Pimpl::insertChar
12331         (insertInset): call Pipl::insertInset
12332         (breakParagraph): do not call fitToSize
12333         (breakParagraphConservative): do not call fitToSize
12334         (fitToSize): remove method
12335
12336         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12337
12338 2001-06-24  The LyX Project  <Asger>
12339
12340         * Fix Qt compilation^2
12341
12342 2001-06-24  The LyX Project  <jug@sad.it>
12343
12344         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12345         depthHook(getDepth()-1).
12346
12347         * paragraph.h:
12348         * ParagraphParameters.h:
12349         * ParameterStruct.h: change type of depth to unsigned int ==
12350         depth_type. Many adaptations to other files before of that.
12351
12352 2001-06-24  The LyX Project  <Asger>
12353
12354         * Fix Qt compilation.
12355
12356 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12357
12358         * paragraph.h: renamed several methods to begin with small letter.
12359         several changes to many parts of the code because of this.
12360
12361 2001-06-23  The LyX Project  <jug@sad.it>
12362
12363         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12364         rewritten to discard all double spaces when KeepEmpty is off
12365         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12366         to only handle newlines but not fiddle with spaces and friends.
12367
12368         * lyxfunc.C (MenuNew): when doing 'new from template', use
12369         template_path as default directory
12370
12371 2001-06-23  The LyX Project  <Asger>
12372
12373         * Clean-up of header file includes all over
12374         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12375
12376 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12377
12378         * paragraph.h: renamed from lyxparagraph.h
12379
12380 2001-06-23  Asger  <lyx@violet.home.sad.it>
12381
12382         * Buffer.h: Removed Buffer::resize
12383         * BufferList.h: Removed BufferList::resize
12384         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12385         the document lazily when we change the width, or the font settings.
12386
12387 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12388
12389         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12390
12391 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12392
12393         * buffer.h: remove out of date comment
12394
12395 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12396
12397         * lyxscreen.h:
12398         * screen.C: fix "theoretical" GC leak
12399
12400 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12401
12402         * LaTeX.C (scanAuxFile):
12403         (deplog): remove trailing \r when reading stream (useful under
12404         win32)
12405
12406 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12407
12408         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12409         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12410         and BufferView::theLockingInset(Inset*), so should use them and not
12411         access bv_->text->the_locking_inset directly.
12412
12413         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12414
12415 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * Makefile.am:
12418         * tex-defs.h: remove old unused file
12419
12420 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12421
12422         * BufferView_pimpl.C: fix typo, remove minibuffer message
12423           when buffer has loaded
12424
12425 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12426
12427         * lyxfunc.C (Dispatch): use stringstream
12428         (MenuNew): use stringstream
12429         (Open): use stringstream
12430
12431         * importer.C (Import): use stringstream
12432
12433         * bufferview_funcs.C (CurrentState): use stringstream
12434
12435         * LaTeX.C (run): use stringstream
12436
12437         * BufferView_pimpl.C (savePosition): use stringstream
12438         (restorePosition): use stringstream
12439         (MenuInsertLyXFile): use stringstream
12440
12441 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12442
12443         * BufferView.C:
12444         * Bullet.C:
12445         * ColorHandler.C:
12446         * FontInfo.C:
12447         * FontLoader.C:
12448         * LColor.C:
12449         * LaTeXFeatures.C:
12450         * Painter.C:
12451         * gettext.C:
12452         * lyx_gui_misc.C:
12453         * lyxserver.C:
12454         * vspace.C: removed // -*- C++ -*- as first line.
12455
12456         * lyxfind.h:
12457         * version.h: added // -*- C++ -*- as first line.
12458
12459 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12460
12461         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12462
12463         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12464         of string
12465
12466 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12467
12468         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12469         of floats.
12470
12471 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12472
12473         * gettext.C: include LString.h even when --disable-nls is on.
12474
12475 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12476
12477         * converter.h (Get): changed argument type from int to
12478         FormatList::size_type to avoid unnecessary conversion.
12479
12480         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12481         before using it.
12482
12483 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12484
12485         * gettext.h: include LString.h even when --disable-nls is on.
12486
12487 2001-06-07  Juergen Vigna  <jug@sad.it>
12488
12489         * text.C (BreakAgain): subst spaces with tabs.
12490
12491         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12492         (resizeInsetsLyXText): set force on resizeLyXText.
12493
12494 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12495
12496         * gettext.h (gettext_init):
12497         (locale_init): use a real definition instead of a macro
12498
12499 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * Bufferview_pimpl.C:
12502         * LColor.h:
12503         * LColor.C: further lcolor tidies
12504
12505 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12506
12507         * BufferView_pimpl.C (updateScrollbar): simplify.
12508
12509         * BufferView2.C: don't include insets/insetinfo.h, change
12510         prototype for insertInset and call the Pimpl version. let
12511         updateInset call Pimpl version.
12512
12513         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12514         gotoInset to BufferView::Pimpl
12515
12516 2001-06-01  Juergen Vigna  <jug@sad.it>
12517
12518         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12519         inside a LockingInset (is the update needed at all?).
12520
12521 2001-05-31  Juergen Vigna  <jug@sad.it>
12522
12523         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12524         here not the old one otherwise how should we compare it afterwards
12525         if it's the same!
12526
12527 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12528
12529         * lyxfont.C:
12530         * tabular.C:
12531         * tabular-old.C:
12532         * FontInfo.C: bring C functions into global namespace when
12533         necessary
12534
12535 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12536
12537         * LString.h: make sure config.h has been loaded before LString.h.
12538
12539         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12540         (one for each char read by EatLine!).
12541
12542         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12543         variables.
12544
12545 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12548         to the same as the par we break from
12549
12550 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12551
12552         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12553
12554         * MenuBackend.C (expand): also create menu entries for wide
12555         versions of the floats.
12556
12557         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12558
12559         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12560
12561         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12562         frontends/Makefile.am
12563
12564         * text2.C: adjust
12565         * text.C: adjust
12566
12567
12568         * tabular.C (getTokenValue): add std::
12569
12570         * tabular-old.C (getTokenValue): add std::
12571         (getTokenValue): ditto
12572         (getTokenValue): ditto
12573
12574         * screen.C (ToggleSelection): adjust
12575
12576         * lyxtext.h: put selection cursors inside a Selection struct.
12577
12578         * lyxfunc.C (moveCursorUpdate): adjust
12579
12580         * lyxfont.C (latexWriteStartChanges): add std::
12581
12582         * lyxfind.C: adjust
12583
12584         * font.h: delete with(char const *, LyXFont const &)
12585
12586         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12587
12588         * FontInfo.C (getFontname): add std::
12589
12590         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12591         (workAreaButtonPress): adjust
12592         (tripleClick): adjust
12593         (update): adjust
12594         (moveCursorUpdate): adjust
12595         (Dispatch): adjust
12596
12597         * BufferView2.C (gotoInset): adjust
12598
12599 2001-05-30  Juergen Vigna  <jug@sad.it>
12600
12601         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12602         to check pspell I add this as default as I now have new pspell
12603         libraries and they seem to use this.
12604
12605 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12606
12607         * text2.C (CutSelection): make the cursor valid before the call to
12608         ClearSelection.
12609
12610 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12611
12612         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12613         relied on 0 terminated strings and other horrors. Bug found due to
12614         the new assert in lyxstring!
12615
12616         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12617         KP_ keys.
12618
12619 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12620
12621         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12622         to latinkeys.bind.
12623
12624         * lyxfunc.C (processKeySym): change method of getting to the
12625         self-insert char.
12626
12627         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12628         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12629         * BufferView_pimpl.[Ch]: here as private methods.
12630
12631 2001-05-28  Juergen Vigna  <jug@sad.it>
12632
12633         * text.C (SetHeightOfRow): added the update() call again as it is
12634         needed to initialize inset dimensions!
12635
12636 2001-05-16  Juergen Vigna  <jug@sad.it>
12637
12638         * text2.C (SetCharFont): Add new function with BufferView * and
12639         bool toggleall parameters for setting insets internal fonts.
12640         (SetFont): Freeze the undo as we may change fonts in Insets and
12641         all this change should be inside only one Undo!
12642
12643         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12644         setting font's in insets as for them we have the SetFont function!
12645
12646 2001-05-15  Juergen Vigna  <jug@sad.it>
12647
12648         * text2.C (ClearSelection): to be sure we REALLY don't have any
12649         selection anymore!
12650
12651         * tabular.C (TeXCellPreamble): fixed the left border problem for
12652         multicolumn cells.
12653
12654 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12655
12656         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12657         dependancy file
12658
12659 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12660
12661         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12662         LFUN_BREAKPARAGRAPH.
12663
12664         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12665         help test to "internal only", similar for LFUN_INSERT_URL
12666
12667         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12668         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12669         auto_region_delete and deadkeys.
12670
12671 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12672
12673         * LColor.h:
12674         * LColor.C: remove some dead entries, tidy a little
12675
12676 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12677
12678         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12679         commented code.
12680         (Dispatch): implement LFUN_ESCAPE
12681
12682         * commandtags.h: add LFUN_ESCAPE
12683
12684         * LyXAction.C (init): add entry for LFUN_ESCAPE
12685
12686         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12687         Remove commented code.
12688         (insertNote): moved here
12689         (open_new_inset): moved here
12690
12691         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12692         BufferView_pimpl
12693
12694 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12695
12696         * kbmap.C (findbinding): clean it up and make it work correctly.
12697
12698         * lyx_main.C (init): do not pass argc and argv as parameters
12699
12700 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12701
12702         * buffer.C: fix path for OS/2 & Win32
12703
12704         * lyx_gui.C:
12705         * lyx_main:
12706         * lyx_main.C: Added os:: class.
12707
12708         * os2_defines.h: update
12709
12710 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12713         better by trying again with reduced state.
12714
12715 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12716
12717         * lyxrc.C (read): print error about invalid key sequence only when
12718         debugging (because not all latinX keysyms are known to some X
12719         servers)
12720
12721         * kbsequence.C (getiso): add a few std:: qualifiers
12722         (getiso): comment out extra return statement.
12723
12724 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12725
12726         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12727         handling.
12728         (Dispatch): enhance the accent inset a bit. (not perfect)
12729
12730 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12731
12732         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12733
12734 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12735
12736         * bufferlist.C (emergencyWrite): fix assert() call
12737
12738 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12739
12740         * text.C (InsertChar): Added trivial patch to only send the "you
12741         can not do multiple spaces this way" message once during a
12742         session.
12743
12744 2001-05-08  Baruch Even  <baruch@lyx.org>
12745
12746         * Makefile.am: Changed order of libraries to get LyX to link properly
12747         with the gnome frontend.
12748
12749 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12750
12751         * LaTeXFeatures.h: add a std:: qualifier
12752
12753 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12754
12755         * paragraph.C (String): use stringstream
12756
12757 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12758
12759         * paragraph.C (writeFile): remove footflag arg
12760
12761         * buffer.C (makeLaTeXFile): use stringstream
12762         (latexParagraphs): remove footnot gurba
12763
12764         * LaTeXFeatures.C (getPackages): use stringstream
12765         (getMacros): likewise
12766         (getTClassPreamble): likewise
12767         (getFloatDefinitions): new method
12768
12769         * paragraph.C (writeFile): reindent
12770         (Erase): reindent
12771
12772         * WorkArea.h: revert the xpos + etc changes.
12773
12774         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12775
12776         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12777
12778         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12779         (pasteSelection): likewise
12780         * text2.C (CreateUndo): likewise
12781
12782 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * minibuffer.C (peek_event): temporarily reduce the functionality
12785         of the minibuffer (to allow args on lfuns)
12786
12787         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12788         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12789
12790         * buffer.C (readInset): add compability reading of old float
12791         lists, add reading of new style float list.
12792         (readInset): avoid reevaluation of inscmd.getCmdName()
12793         (getLists): reindent
12794
12795         * MenuBackend.C (MenuItem): implement parsing of
12796         md_floatlistinsert and md_floatinsert.
12797         (expand::LastFiles): move initalizaton of iterators out of loop,
12798         avoid reevaluation.
12799         (expand::Documents): introduce typdedef vector<string> Strings,
12800         and use it.
12801         (expand::ExportFormats): introduce typedef vector<Format const *>
12802         Formats, and use it.
12803         (expand): implement FloatListInsert and FloatInsert.
12804
12805         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12806         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12807         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12808
12809         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12810         handling.
12811         (Dispatch::LFUN_FLOAT_LIST): implement
12812
12813 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12814
12815         * LaTeX.C (run): Fix problem with --export code.
12816
12817 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12818
12819         * BufferView.[Ch] (workarea): removed.
12820         (getClipboard) new method; wrapper for workarea()->getClipboard()
12821
12822         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12823         bug.
12824
12825         * WorkArea.h (width, height, xpos, ypos): These methods all
12826         returned the dimensions of the work_area sub-area of WorkArea,
12827         resulting in a position error if the WorkArea were resized. Now
12828         return the dimensions of the entire WorkArea.
12829
12830         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12831
12832 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12833
12834         * LaTeX.C (deplog): correct the syntax of regex reg1
12835
12836 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12837
12838         * undo.C: remove !NEW_INSETS cruft
12839
12840 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * text2.C: remove !NEW_INSETS cruft
12843
12844         * text.C: remove !NEW_INSETS cruft
12845
12846         * tabular.C: remove !NEW_INSETS cruft
12847
12848         * spellchecker.C: remove !NEW_INSETS cruft
12849
12850         * lyxtext.h: remove !NEW_INSETS cruft
12851
12852         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12853
12854         * lyxfunc.C: remove !NEW_INSETS cruft
12855
12856         * lyxfind.C: remove !NEW_INSETS cruft
12857
12858         * lyx_cb.C: remove !NEW_INSETS cruft
12859
12860         * figureForm.C: remove  !NEW_INSETS cruft
12861
12862         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12863
12864         * buffer.[Ch]: remove !NEW_INSETS cruft
12865
12866         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12867
12868         * CutAndPaste.C: remove !NEW_INSETS cruft
12869
12870         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12871
12872         * BufferView2.C: remove !NEW_INSETS cruft
12873
12874         * BufferView.h: remove !NEW_INSETS cruft
12875
12876 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12877
12878         * Lsstream.h: include LString.h before the sstream headers to
12879         fix problem with gcc 2.95.3 and lyxstring
12880
12881 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12882
12883         * lyx_main.C: add using directives when needed for C functions
12884         declared in std:: namespace.
12885
12886 2001-04-27  Juergen Vigna  <jug@sad.it>
12887
12888         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12889         (SetHeightOfRow): comment out the update call should not be needed!
12890
12891 2001-04-13  Juergen Vigna  <jug@sad.it>
12892
12893         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12894         (LyXTabular): tried to minimize operator= operations (and realized
12895         hopfully Lars wish).
12896
12897 2001-04-27  Juergen Vigna  <jug@sad.it>
12898
12899         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12900
12901 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12902
12903         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12904
12905         * buffer.C (readInset): hack to make listof algorithm work
12906
12907         * BufferView_pimpl.C: hack to make listof algorithm work
12908
12909 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12910
12911         * LyXAction.C: removed all !NEW_INSETS cruft
12912         (init): moved lfun_item in method
12913
12914         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12915
12916 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12917
12918         * BufferView2.C (theLockingInset): white space.
12919
12920 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12921
12922         * minibuffer.C: include <iostream>
12923
12924         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12925
12926         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12927
12928         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12929
12930         * text.[Ch] (TransposeChars): new method
12931
12932 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * call message directly through LyXView instead of through LyXFunc
12935         * BufferView2.C: adjust
12936         * BufferView_pimpl.C: adjust
12937         * FontLoader.C: adjust
12938         * buffer.C: adjust
12939         * bufferview_funcs.C: adjust
12940         * converter.C: adjust
12941         * figureForm.C: adjust
12942         * importer.C: adjust
12943         * lyx_cb.C: adjust
12944         * lyx_gui_misc.C: adjust
12945         * lyxfunc.C: adjust
12946         * lyxvc.C: adjust
12947         * text2.C: adjust
12948         + more files in subdirs
12949
12950         * lyxparagraph.h (size): move up int file
12951         (GetLayout): ditto
12952
12953         * adjust all uses of Assert to lyx::Assert.
12954
12955         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12956         lyxfunctional in namespace lyx
12957         * layout.C (hasLayout): ditto
12958         (GetLayout): ditto
12959         (GetLayout): ditto
12960         (delete_layout): ditto
12961         (NumberOfClass): ditto
12962         * converter.C (GetFormat): ditto
12963         (GetNumber): ditto
12964         (Add): ditto
12965         (Delete): ditto
12966         (SetViewer): ditto
12967         * bufferlist.C (getFileNames): ditto
12968         (emergencyWriteAll): ditto
12969         (exists): ditto
12970         (getBuffer): ditto
12971         * MenuBackend.C (hasSubmenu): ditto
12972         (hasMenu): ditto
12973         (getMenu): ditto
12974         * BufferView_pimpl.C (getInsetByCode): ditto
12975
12976 2001-04-18  Juergen Vigna  <jug@sad.it>
12977
12978         * vspace.C (asLatexString): fixed the 100% problem.
12979
12980 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12981
12982         * lyxfunc.C (Dispatch):
12983         * minibuffer.C:
12984         * minibuffer.h: add a few std:: qualifiers
12985
12986 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12987
12988         * minibuffer.[Ch]: reimplement so that commands is initiated and
12989         run from lyxfunc, simplified som handling, and made the completion
12990         and history code for complete. wip.
12991
12992         * lyxfunc.C (processKeySym): call message
12993         (miniDispatch): new temporary method
12994         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12995         (LFUN_MESSAGE): implement
12996         (LFUN_MESSAGE_PUSH): implement
12997         (LFUN_MESSAGE_POP): implement
12998         (initMiniBuffer): the initial/defualt minibuffer message.
12999
13000         * lyxfont.[Ch]: inline some more getters
13001
13002         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13003
13004         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13005
13006         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13007         (AutoSave): use LFUN_MESSAGE
13008         (Reconfigure): ditto
13009
13010         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13011
13012         * figureForm.C: use LFUN_MESSAGE
13013
13014         * converter.C (runLaTeX): use LFUN_MESSAGE
13015
13016         * bufferview_funcs.C: use LFUN_MESSAGE
13017         (Melt): ditto
13018         (changeDepth): ditto
13019
13020         * bufferparams.h: use boost::
13021
13022         * bufferlist.h: inherit privately from noncopyable
13023
13024         * bufferlist.C (loadLyXFile): remove some commented code.
13025
13026         * buffer.C (runChktex): use LFUN_MESSAGE
13027
13028         * ShareContainer.h: inherit privately from noncopyable
13029
13030         * ParagraphParameters.[hC] (depth): inline it.
13031
13032         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13033         methods.
13034         (message): new method
13035         (messagePush): ditto
13036         (messagePop): ditto
13037         (show): init minibuffer
13038         (showState): direct call
13039
13040         * LaTeX.[Ch]: inherit privately from noncopyable
13041         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13042         instead of WriteStatus.
13043
13044         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13045
13046         * BufferView_pimpl.C (buffer): don't init minibuffer
13047         (workAreaButtonPress): use LFUN_MESSAGE
13048         (workAreaButtonRelease): ditto
13049         (savePosition): ditto
13050         (restorePosition): ditto
13051         (MenuInsertLyXFile): ditto
13052         (workAreaExpose): don't init minibuffer
13053         (update): remove commented code, simplify
13054
13055         * BufferView2.C (openStuff): use LFUN_MESSAGE
13056         (toggleFloat): ditto
13057         (menuUndo): ditto
13058         (menuRedo): ditto
13059         (copyEnvironment): ditto
13060         (pasteEnvironment): ditto
13061         (copy): ditto
13062         (cut): ditto
13063         (paste): ditto
13064         (gotoInset): ditto
13065         (updateInset): remove some commented code
13066
13067         * lastfiles.h: inherit privately from noncopyable
13068         * layout.h: ditto
13069         * lyx_gui.h: ditto
13070         * lyx_main.h: ditto
13071         * lyxlex.h: ditto
13072         * lyxlex_pimpl.h: ditto
13073
13074         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13075         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13076         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13077
13078         * LyXAction.h: inherit privately from noncopyable, add methods
13079         func_begin, func_end, returning iterators to the func map.
13080
13081         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13082         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13083         (func_begin): new method
13084         (func_end): new method
13085
13086         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13087         and not)
13088         (copySelection): ditto
13089         (pasteSelection): ditto
13090
13091         * BufferView.C: whitespace change
13092         * BufferView.h: inherit privately from noncopyable
13093
13094 2001-04-16  Allan Rae  <rae@lyx.org>
13095
13096         * tabular-old.C (l_getline):
13097         * spellchecker.C (sc_check_word):
13098         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13099         an unrecognised preprocessor directive.  So ensure they're wrapped.
13100
13101 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13102
13103         * src/exporter.C (Export): Give an error message when path to file
13104         contains spaces.
13105
13106 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13107
13108         * LaTeX.C (deplog): Always check that foundfile exists.
13109
13110 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13111
13112         * lyx_main.h:
13113         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13114
13115 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13116
13117         * tabular.[Ch] (getLabelList): implement new method
13118
13119         * minibuffer.h: comment ouf setTiimer
13120
13121         * minibuffer.C (ExecutingCB): constify res
13122         (peek_event): constify s
13123         (Set): constify ntext
13124         (Init): constify nicename
13125
13126         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13127
13128         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13129         (savePosition): use two params to Minibuffer::Set
13130         (restorePosition): ditto
13131
13132 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13133
13134         * lyx_main.C: include language.h
13135
13136         * Makefile.am (lyx_main.o): add language.h
13137
13138 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13139
13140         * exporter.C:
13141         * paragraph.C:
13142         * screen.C:
13143         * tabular.C:
13144         * CutAndPaste.C: include gettext.h
13145
13146         * lyxfont.h: remove old hack with ON and OFF.
13147
13148         * lyxparagraph.h:
13149         * lyxfont.h: do not include language.h...
13150
13151         * BufferView2.C:
13152         * LaTeXFeatures.C:
13153         * Painter.C:
13154         * bufferview_funcs.C:
13155         * font.C:
13156         * lyxfont.C:
13157         * text.C:
13158         * text2.C:
13159         * trans_mgr.C:
13160         * paragraph.C: ... but do it here instead
13161
13162 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13165
13166         * tabular.C: small reformat
13167
13168         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13169         NEW_INSETS version
13170         (GetChar): ditto
13171         (BreakParagraph): ditto
13172         (SetOnlyLayout): ditto
13173         (SetLayout): ditto
13174
13175         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13176         with one arg less.
13177
13178         * lastfiles.C: removed most using decl, add std:: where needed
13179
13180         * buffer.C: ws changes
13181
13182         * MenuBackend.C (class compare_format): put into anon namespace
13183         (expand): constify label, names, action, action2
13184         (expand):
13185
13186         * text.C (SingleWidth): constify font
13187         (IsBoundary): constify rtl2
13188         (GetVisibleRow): constify ww
13189
13190         * LaTeX.C (deplog): constify logfile
13191
13192         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13193         start_x, end_x
13194         (workAreaExpose): constify widthChange, heightChange
13195
13196         * lyxrow.C (par): moved
13197         (height): moved
13198         (next): moved
13199         * lyxrow.h: as inlines here
13200
13201         * lyxfont.h (shape): moved from lyxfont.C
13202         (emph): moved from lyxfont.C
13203
13204         * lyxfont.C (LyXFont): use initialization list for all
13205         constructors
13206         (shape): move to lyxfont.h as inline
13207         (emph): move to lyxfont.h as inline
13208
13209
13210 2001-04-04  Juergen Vigna  <jug@sad.it>
13211
13212         * vspace.C: had to include stdio.h for use of sscanf
13213
13214 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13215
13216         * BufferView.h:
13217         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13218         independent of xforms.
13219
13220 2001-04-02  Juergen Vigna  <jug@sad.it>
13221
13222         * spellchecker.C: fixed namespace placing!
13223
13224 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13225
13226         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13227         the LyXParagraph * is 0.
13228
13229 2001-03-29  Juergen Vigna  <jug@sad.it>
13230
13231         * vspace.C: added support for %, c%, p%, l%.
13232         (stringFromUnit): added helper function.
13233         (asLatexString): changed to give right results for the %-values.
13234
13235         * buffer.C: convert the widthp in a width%.
13236
13237 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13238
13239         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13240         figureForm.[Ch].
13241
13242         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13243         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13244
13245         * lyx_cb.[Ch]: see above.
13246
13247         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13248         form1.[Ch].
13249
13250         * form1.[Ch]:
13251         * lyx.[Ch]: replaced by figure_form.[Ch].
13252
13253         * lyx_gui.C:
13254         * lyx_gui_misc.C:
13255         * lyxfunc.C: changed headers associated with above changes.
13256
13257 2001-03-27  Juergen Vigna  <jug@sad.it>
13258
13259         * BufferView_pimpl.C: set the temporary cursor right!
13260
13261 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13262
13263         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13264
13265 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13266
13267         * LString.h: removed "using std::getline"!
13268
13269         * BufferView_pimpl.C (Dispatch): changes due to changes in
13270         InsetInclude::Params.
13271
13272         * buffer.C (tag_name): removed redundant break statements as they were
13273         producing lots of warnings with my compiler.
13274
13275 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13276
13277         * LString.h: add "using std::getline" when using the real <string>.
13278
13279 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13280
13281         * buffer.C: removed bitset usage.
13282         PAR_TAG moved to an anonymous name space.
13283         (tag_name): new funtion, also in the anonymous namespace.
13284         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13285         (makeDocBookFile): clean code. Completed transition from string arrays
13286         to string vectors.
13287         (SimpleDocBookOnePar): code clean.
13288
13289 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13290
13291         * tabular.C: add some comments.
13292
13293 2001-03-22  Juergen Vigna  <jug@sad.it>
13294
13295         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13296         compatibility read a bit and fixed bug with minipage in different
13297         depth.
13298
13299 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13300
13301         * buffer.C (pop_tag): removed.
13302         (push_tag): removed.
13303         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13304         array replaced with vector. Added support for CDATA sections.
13305         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13306         at any nest level.
13307         (makeDocBookFile): XML conformant declaration of CDATA section,
13308         fixed bug related to <emphasis> in the first paragraph char.
13309         (sgmlOpenTag): exclude empty tags.
13310         (sgmlCloseTag): ditto.
13311
13312         * buffer.h (pop_tag): removed.
13313         (push_tag): removed.
13314
13315 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13316
13317         * language.h (Languages): added size_type and size().
13318
13319 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13320
13321         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13322         response on compability reading of minipages. One probliem is that
13323         the old usage of minipages was «flertydig»
13324
13325         * several files here and in subdirs: don't use static at file
13326         scope use anon namespaces instead.
13327
13328 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13329
13330         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13331         LaTeX output. This is necessary for Literate document
13332         processing.
13333
13334 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13335
13336         * buffer.C: insert hfill when needed.
13337
13338         * tabular.C (l_getline): use string::erase, small whitespace change.
13339
13340         * BufferView_pimpl.C: try the anon namespace.
13341         * WorkArea.C: ditto
13342
13343 2001-03-16  Juergen Vigna  <jug@sad.it>
13344
13345         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13346         otherwise it won't open options-dialogs.
13347
13348         * buffer.C: honor pextraWidth(p) on converting minipages.
13349
13350         * tabular.C (l_getline): changed the functions to strip trailing \r.
13351
13352 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13353
13354         * BufferView_pimpl.C:
13355         * minibuffer..C: added "using SigC::slot" declaration.
13356
13357 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13358
13359         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13360
13361         * text2.C: ditto
13362
13363         * text.C: ditto
13364
13365         * paragraph.C: ditto
13366
13367         * lyxtext.h: NO_PEXTRA
13368
13369         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13370
13371         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13372         * ParameterStruct.h: ditto
13373         * ParagraphParameters.h: ditto
13374         * lyxparagraph.h: ditto
13375
13376 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13377
13378         * buffer.C: add compability for minipage alignment.
13379         (latexParagraphs): remove unwanted pextra check.
13380
13381         * several files: remove CXX_WORKING_NAMESPACES
13382
13383         * buffer.C (pop_tag): tie is in namespace boost
13384
13385         * BufferView.h: noncopyable is in namespace boost
13386         * lyxlex.h: ditto
13387         * lyx_main.h: ditto
13388         * lyx_gui.h: ditto
13389         * layout.h: ditto
13390         * lastfiles.h: ditto
13391         * bufferlist.h: ditto
13392         * ShareContainer.h: ditto
13393         * LyXView.h: ditto
13394         * LyXAction.h: ditto
13395         * LaTeX.h: ditto
13396
13397 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13398
13399         * Merging changes from BRANCH_MVC back into HEAD.
13400
13401         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13402
13403 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13404
13405         * BufferView_pimpl.C: change from intl.C
13406
13407         * combox.h:
13408         * combox.C:
13409         * Makefile.am: move combox.*
13410
13411         * form1.h:
13412         * form1.C:
13413         * lyx_gui.C:
13414         * intl.h:
13415         * intl.C: remove dialog (covered by prefs)
13416
13417 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13418
13419         * lyxfunc.C (Dispatch): removed redundant break statement.
13420
13421 2001-03-14  Juergen Vigna  <jug@sad.it>
13422
13423         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13424
13425 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13426
13427         * buffer.C: add hack to fix compability reading of minipages.
13428
13429 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13430
13431         * buffer.C (getLists): Cleanup.
13432
13433 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13434
13435         * lyxfont.C (update): don't honor toggleall on font size.
13436
13437 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13438
13439         * bmtable.c:
13440         * bmtable.h:
13441         * Makefile.am: moved to frontends/xforms/
13442
13443         * lyx_gui_misc.C:
13444         * lyxfunc.C:
13445         * BufferView_pimpl.C: changes for moved mathpanel
13446
13447 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13448
13449         * gettext.h: fix gettext_init() in --disable-nls
13450
13451 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13452
13453         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13454
13455 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13456
13457         * lyx.C:
13458         * lyx.h: strip external form
13459
13460 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13461
13462         * BufferView_pimpl.C: add comment, destroySplash()
13463
13464 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13465
13466         * BufferView_pimpl.C:
13467         * LyXAction.C:
13468         * buffer.C:
13469         * commandtags.h:
13470         * lyxfunc.C: use re-worked insetinclude
13471
13472 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13473
13474         * buffer.C: add using std::stringstream.
13475
13476         * lyx_cb.C: readd using std::ios.
13477
13478         * buffer.C: add using std::map.
13479
13480         * BufferView_pimpl.C: add using std::vector.
13481
13482         * ShareContainer.h: add std:: to swap.
13483
13484         * buffer.h: add some typedefs
13485         * buffer.C (getLists): use them
13486         (getLists): renamed from getTocList.
13487         add a counter for the different float types and use it in the
13488         generated string.
13489         (getLists): use the same counter for the NEW_INSETS and the "non"
13490         NEW_INSETS
13491
13492         * lyx_cb.h: remove unused items, includes, using etc.
13493
13494         * ShareContainer.h: remove some commented code, add more comments
13495         and "documentation".
13496
13497 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13498
13499         * buffer.C (getTocList): make the list also when NEW_INSETS is
13500         defined.
13501
13502         * buffer.h: remove TocType
13503
13504         * buffer.C (getTocList): change to return a map<string,
13505         vector<TocItem> >, implement for dynamic number of list.
13506
13507         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13508         * text2.C (PasteSelection): adjust
13509         * CutAndPaste.C (pasteSelection): adjust
13510
13511         * FloatList.C (FloatList): update from the new_insets branch.
13512         * Floating.[Ch]: ditto
13513         * LaTeXFeatures.C: ditto
13514         * buffer.C: ditto
13515         * lyxlex_pimpl.C: ditto
13516
13517         * paragraph.C (Last): remove when NEW_INSETS is defined.
13518
13519         * other file: changes because of the above.
13520
13521 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13522
13523         * lyxparagraph.h: rename next to next_, previous to previous_,
13524         make them private for NEW_INSETS. Rename Next() to next(),
13525         Previous() to previous().
13526
13527         * other files: changes because of the above.
13528
13529 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13530
13531         * BufferView.h:
13532         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13533         problem.
13534
13535 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13536
13537         * main.C (main): pass lyx_localedir to gettext_init().
13538
13539         * gettext.h: remove locale_init and gettext_init macros
13540
13541         * gettext.C (locale_init): new function
13542         (gettext_init): new function
13543
13544         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13545         setlocale().
13546
13547 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13548
13549         * Moved credits to frontends:
13550         * credits.[Ch]: removed
13551         * credits_form.[Ch]: removed
13552         * lyx_gui_misc.C: remove credits stuff
13553         * Makefile.am:
13554
13555 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13556
13557         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13558
13559         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13560         unneeded destructor.
13561
13562         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13563         a standalone pointer again.
13564
13565         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13566
13567 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13568
13569         * Makefile.am:
13570         * filedlg.h:
13571         * filedlg.C:
13572         * LyXAction.C:
13573         * ToolbarDefaults.C:
13574         * bufferlist.C:
13575         * commandtags.h:
13576         * form1.C:
13577         * form1.h:
13578         * lyx_cb.C:
13579         * lyx_cb.h:
13580         * lyxfunc.h:
13581         * lyxfunc.C:
13582         * BufferView_pimpl.C: use new file dialog in GUII
13583
13584         * lyx_cb.h:
13585         * lyx_cb.C: remove LayoutsCB to Toolbar
13586
13587 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13588
13589         * ShareContainer.h (get): add std:: qualifier
13590
13591 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13592
13593         * ShareContainer.h: define a proper ShareContainer::value_type
13594         type (and use typename to please compaq cxx)
13595
13596 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13597
13598         * lyxparagraph.h: move serveral local vars to
13599         ParameterStruct/ParagraphParameters., use ShareContainer in
13600         FontTable., make vars in FontTable private and add getter and
13601         setter.
13602
13603         * paragraph.C: changes because of the above.
13604
13605         * lyxfont.h: remove copy constructor and copy assignment. (the
13606         default ones is ok), move number inside FontBits. move inlines to
13607         lyxfont.C
13608
13609         * lyxfont.C: add number to initializaton of statics, move several
13610         inlines here. constify several local vars. some whitespace
13611         cleanup. Dont hide outerscope variables.
13612
13613         * Spacing.h: add two new constructors to match the set methods.
13614
13615         * ShareContainer.h: new file, will perhaps be moved to support
13616
13617         * ParameterStruct.h: new file
13618
13619         * ParagraphParameters.h: new file
13620
13621         * ParagraphParameters.C: new file
13622
13623         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13624         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13625
13626         * BufferView_pimpl.C: ParagraphParameter changes.
13627         * buffer.C: Likewise.
13628         * bufferview_funcs.C: Likewise.
13629         * text.C: Likewise.
13630         * text2.C: Likewise.
13631
13632 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13633
13634         * lyxfind.C (LyXReplace): do not redefine default argument in
13635         implementation.
13636         (IsStringInText): ditto
13637         (SearchForward): ditto
13638         (SearchBackward): ditto
13639
13640 2001-03-06  Juergen Vigna  <jug@sad.it>
13641
13642         * lyxfind.C (IsStringInText): put parentes around expressions.
13643
13644 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13645
13646         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13647
13648 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13649
13650         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13651
13652         * stl_string_fwd.h: add comment
13653
13654         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13655
13656         * tabular.h:
13657         * tabular.C: remove unused DocBook methods
13658
13659         * intl.C:
13660         * language.C:
13661         * paragraph.C:
13662         * buffer.C:
13663         killed DO_USE_DEFAULT_LANGUAGE
13664
13665 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13666
13667         * lyx_gui.C: do not include language.h.
13668
13669         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13670         arguments in function implementation.
13671
13672 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13673
13674         * BufferView_pimpl.C: add <ctime>
13675
13676 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13677
13678         * BufferView_pimpl.C: add using std::find_if
13679
13680 2001-02-27  José Matos  <jamatos@fep.up.pt>
13681
13682         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13683         by OnlyPath.
13684
13685 2001-02-11  José Matos  <jamatos@fep.up.pt>
13686
13687         * buffer.C (makeDocBookFile): command styles now have a parameter as
13688         "title" by default.
13689
13690 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13691
13692         * layout_forms.[Ch]: removed
13693         * lyx_cb.[Ch]: out character
13694         * lyx_gui.C: out character
13695         * lyx_gui_misc.C: out character
13696         * bufferview_funcs.C: : out character,
13697         added toggleall as parameter in ToggleAndShow
13698
13699 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13700
13701         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13702
13703         * text2.C (SetCurrentFont): Disable number property at boundary.
13704
13705 2001-02-26  Juergen Vigna  <jug@sad.it>
13706
13707         * lyxfunc.C (getStatus): added a string argument override function so
13708         that this is correctly called from LyXFunc::Dispatch if it contains a
13709         do_not_use_argument which is used!
13710         (Dispatch): added check for "custom" export and call appropriate func.
13711
13712 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13713
13714         * lyxrc.C: Add language_command_local, language_use_babel and
13715         language_global_options.
13716
13717         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13718
13719         * buffer.C (makeLaTeXFile): Use language_use_babel and
13720         language_global_options.
13721
13722 2001-02-23  Juergen Vigna  <jug@sad.it>
13723
13724         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13725         which works with LyXText and putted it inside BufferView. Here now we
13726         only call for that part the BufferView::Dispatch() function.
13727
13728         * BufferView.C (Dispatch): added.
13729
13730         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13731         functions which needs to use a LyXText over from LyXFunc.
13732         (MenuInsertLyXFile): added
13733         (getInsetByCode): added
13734         (moveCursorUpdate): added
13735         (static TEXT): added
13736
13737 2001-02-22  Juergen Vigna  <jug@sad.it>
13738
13739         * BufferView_pimpl.C (update): call a status update to see if LyXText
13740         needs it.
13741
13742 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13743
13744         * vc-backend.C (revert): implement for CVS
13745         (getLog): implement for CVS
13746
13747 2001-02-20  Juergen Vigna  <jug@sad.it>
13748
13749         * text2.C (ClearSelection): added BufferView param for inset_owner call
13750
13751         * lyxfunc.C (TEXT): added this function and use it instead of
13752         directly owner->view()-text of getLyXText().
13753
13754 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13755
13756         * src/layout_forms.C: out preamble
13757         * src/layout_forms.h: out preamble
13758         * src/lyx_cb.C: out preamble
13759         * src/lyx_cb.h: out preamble
13760         * src/lyx_gui.C: out preamble
13761         * src/lyx_gui_misc.C: out preamble
13762         * src/lyxfunc.C: connect with guii preamble
13763
13764 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13765
13766         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13767
13768 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13769
13770         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13771         whether to run bibtex.
13772
13773 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13774
13775         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13776
13777 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13778
13779         * Makefile.am (lyx_SOURCES): removed bibforms.h
13780
13781         * vspace.h: doxygen
13782
13783         * text.C (GetVisibleRow): make several local vars const
13784
13785         * tabular.C: small cleanup.
13786
13787         * lyxserver.C (callback): use compare instead of strncmp
13788
13789         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13790         inlines to after class or to paragraph.C
13791
13792         * lyxfont.h: remove friend operator!=
13793
13794         * converter.h: move friend bool operator< to non friend and after
13795         class def.
13796
13797         * combox.h: small cleanup
13798
13799         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13800         to inlines after class def.
13801
13802         * buffer.C (pop_tag): use string operations instead of strcmp
13803
13804         * bmtable.c: doxygen, small cleanup
13805
13806         * LaTeX.h: remove friend operator==
13807
13808 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13809
13810         * screen.C:
13811         * lyxrc.[Ch]:
13812         * lyxfunc.C:
13813         * lyxfont.[Ch]:
13814         * lyx_cb.C:
13815         * intl.[Ch]:
13816         * commandtags.h:
13817         * buffer.C:
13818         * WorkArea.[Ch]:
13819         * LyXAction.C:
13820         * BufferView_pimpl.C:
13821         * BufferView.[Ch]: remove cruft
13822
13823 2001-02-14  Juergen Vigna  <jug@sad.it>
13824
13825         * lyxfunc.C: removed #if 0 unused code
13826
13827         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13828
13829         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13830
13831         * text2.C (SetSelection): added a BufferView * parameter
13832
13833 2001-02-13  Juergen Vigna  <jug@sad.it>
13834
13835         * lyxfunc.C (Dispatch): fixed protected blank problem.
13836         * BufferView2.C (protectedBlank): added LyxText * parameter.
13837
13838         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13839         (AppendColumn): same as above for column_info.
13840
13841         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13842         (moveCursorUpdate): use a LyXText param for support of InsetText.
13843
13844         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13845         (tripleClick): ditto
13846
13847         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13848
13849         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13850
13851         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13852
13853         * text2.C (SetSelection): set correct update status if inset_owner
13854         (ToggleFree): ditto
13855
13856 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13857
13858         * tabular.C: remove some commented code.
13859
13860 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13861
13862         * BufferView_pimpl.C: call hideSplash()
13863
13864         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13865
13866         * include_form.h:
13867         * bibforms.h: remove
13868
13869         * lyxfunc.C:
13870         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13871           add LFUN_CHILD_CREATE
13872
13873         * counters.h: fix tiny typo
13874
13875         * lyx_cb.C:
13876         * lyx.h:
13877         * lyx_gui.C:
13878         * lyx.C: move splash to frontends/xforms/
13879
13880         * lyx_gui_misc.C: move Include and Bibform to frontends
13881
13882         * lyxvc.h: clarify comment
13883
13884         * vspace.C: tiny housekeeping
13885
13886 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13887
13888         * text.C (PrepareToPrint): RTL Fix.
13889
13890         * paragraph.C (GetUChar): New method.
13891         (String):  Use GetUChar.
13892
13893         * buffer.C (asciiParagraph): Use GetUChar.
13894
13895 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13896
13897         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13898
13899 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13900
13901         * buffer.h:
13902         * buffer.C: rename to getLogName(), handle
13903           build log / latex log nicely
13904
13905 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13906
13907         * MenuBackend.C:
13908         * MenuBackend.h: remove support for reference menuitem type.
13909
13910 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13911
13912         * BufferView_pimpl.C: housekeeping
13913         * BufferView_pimpl.h:
13914         * LyXView.h:
13915         * Makefile.am:
13916         * Timeout.C:
13917         * Timeout.h:
13918         * minibuffer.h: move Timeout GUI-I
13919
13920 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13921
13922         * lyxrc.C (read): Update converters data-structures.
13923
13924 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13925
13926         * LaTeX.h (operator!=): add operator != for Aux_Info
13927
13928 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13929
13930         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13931
13932         * LaTeXLog.C: deleted, useful code moved to Buffer
13933
13934         * buffer.h:
13935         * buffer.C: new function getLatexLogName()
13936
13937         * lyx_gui_misc.C:
13938         * lyx_gui.C:
13939         * lyxvc.C:
13940         * lyxvc.h:
13941         * lyxfunc.C: use frontends for LaTeX and VC logs
13942
13943 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13944
13945         * LaTeX.h: yet another std:: that Allan forgot.
13946
13947         * Variables.C (set): renamed from isset(), because this clashes
13948         with some HP-UX macros (grr).
13949
13950 2001-02-06  Allan Rae  <rae@lyx.org>
13951
13952         * LaTeX.h: Another bug fix.  Missing std:: this time.
13953
13954 2001-02-04  Allan Rae  <rae@lyx.org>
13955
13956         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13957         floats problem. I've left it commented out because it's not quite
13958         correct.  It should also test that the current object is a table or
13959         figure inset.  But I haven't gotten around to figuring out how to do
13960         that.  I *think* it'll be something like: "table" == inset.type()
13961
13962         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13963         bool.
13964
13965 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13966
13967         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13968         all the citation/databases/styles in the auxilary file.
13969         (run): Rerun latex if there was a babel language error.
13970
13971 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13972
13973         * text.C (Backspace): Preserve the font when changing newline char
13974         with a space.
13975         (BreakParagraph): If the cursor is before a space, delete the space.
13976
13977         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13978
13979 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13980
13981         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13982         new argument (code).
13983         (ChangeCitationsIfUnique): New method.
13984
13985         * paragraph.C (GetPositionOfInset): Handle bibkey.
13986
13987 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13988
13989         * BufferView_pimpl.h: change type of Position::par_pos to
13990         LyXParagraph::size_type.
13991
13992 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13993
13994         * BufferView_pimpl.C (savePosition, restorePosition): Write
13995         messages to minibuffer.
13996
13997 2001-01-28  José Matos  <jamatos@fep.up.pt>
13998
13999         * buffer.C (makeDocBookFile): adds support for document language.
14000         A silly restriction on the name of LatexCommand types where removed.
14001         Added support for CDATA sections, allows to chars unescaped, used
14002         among others in code, to avoid escape < and >.
14003
14004 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14005
14006         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14007         saved positions instrad of a stack. Furthermore, a position is
14008         stored using paragraph id/paragraph position.
14009
14010         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14011         Remove LFUN_REF_BACK.
14012
14013 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14014
14015         * converter.C (dvipdfm_options): New method.
14016
14017 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14018
14019         * vspace.C (isValidLength): Fix for empty input string.
14020
14021 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14022
14023         * LyXAction.C (init): change description of LFUN_FIGURE to
14024         "Insert Graphics"
14025
14026 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14027
14028         * LaTeX.C: add using directive
14029
14030 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14031
14032         * MenuBackend.C (expand): Fix the sorting of the formats.
14033
14034 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14035
14036         * lyx_main.C: tiny error message fix
14037
14038 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14039
14040         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14041         calling fl_initialize(). This fixes the problem with ',' as
14042         decimal separator in text files.
14043
14044 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14045
14046         * trans.C (process): Fix the keymap bug.
14047
14048 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14049
14050         * LaTeX.C (scanAuxFiles): New method. Provides support for
14051         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14052         (scanLogFile) Scan for "run BibTeX" messages.
14053
14054         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14055         OT1 font encoding. Also, load the aecompl package if the ae
14056         package is loaded.
14057
14058         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14059
14060 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14061
14062         * texrow.C (increasePos): turn two error messages into debug
14063         messages.
14064
14065 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14066
14067         * LaTeX.C (scanAux): Handle the \@input macro.
14068         (runBibTeX): Use scanAux().
14069
14070         * language.C (latex_options_): New field.
14071
14072         * LaTeXFeatures.C (getMacros): Add language macros.
14073
14074         * buffer.C (makeLaTeXFile): Small fix.
14075
14076 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14077
14078         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14079
14080         * text2.C: add a using directive.
14081
14082 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14083
14084         * BufferView2.C:
14085         * lyx_gui_misc.h:
14086         * lyxfr1.C:
14087         * lyxfunc.C: kill LyXBell.
14088
14089 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14090
14091         * text.C (IsBoundary): Remove the error message
14092
14093         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14094
14095         * lyxrc.C (setDefaults): Correct initialization value for
14096         font_norm_type.
14097
14098 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14099
14100         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14101         gotoError().
14102
14103         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14104         and GotoNextNote().
14105
14106         * src/LyXAction.C: Added reference-next.
14107
14108         * text.C (InsertChar): Use contains instead of strchr.
14109
14110         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14111
14112 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14113
14114         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14115         alignment commands (when needed).
14116
14117         * text.C (InsertChar): Add ':' to number separator chars.