]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fix the UserGuide problem by always posting a full redraw when the
[lyx.git] / src / ChangeLog
1 2003-03-18  John Levon  <levon@movementarian.org>
2
3         * text.C: top_y change means full repaint, fix
4         a drawing bug with cursor movement
5
6 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7
8         * lyxtext.h:
9         * text.C:
10         * text2.C: anchor row on setCursor
11
12 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
13  
14         * lyxtext.h: remove almost all mutable keywords
15         * text.C:
16         * text2.C:
17         * text3.C: remove const keywords accordingly
18
19 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
20
21         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
22         anon namespace
23         (TeXEnvironment): ditto
24         (TeXOnePar): ditto
25
26 2003-03-17  John Levon  <levon@movementarian.org>
27
28         * text.C (rowBreakPoint): remove attempt to fix displayed
29         math insets inside a manual label
30
31 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
32
33         * lyxtext.h: remove BufferView* as first arg from almost all class
34         functions.
35         * other files: adjust.
36
37 2003-03-17  John Levon  <levon@movementarian.org>
38
39         * lyxtext.h:
40         * undo_funcs.C:
41         * text2.C: more paint cleanups
42
43         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
44
45         * rowpainter.h:
46         * rowpainter.C: remove "smart" background painting code
47
48 2003-03-16  John Levon  <levon@movementarian.org>
49
50         * lyxtext.h:
51         * text.C:
52         * text2.C:
53         * text3.C: add helper functions for setting refresh_row/y
54
55 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
56
57         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
58         newline inset which *can* get inserted in the pass_thru layouts.
59         This is primarily for literate documents.
60
61 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
62
63         * buffer.C: increment LYX_FORMAT to 223
64
65 2003-03-14 André Pönitz <poenitz@gmx.net>
66
67         * textclass.h: prepare for environment handling, ws changes
68         * lyxlayout.C: read latexheader and latexfooter tags
69
70 2003-03-14  John Levon  <levon@movementarian.org>
71
72         * text2.C: rewrite ::status() a bit
73
74 2003-03-13  John Levon  <levon@movementarian.org>
75
76         * lyxtext.h: add some docs
77
78 2003-03-13  John Levon  <levon@movementarian.org>
79
80         * lyxtext.h:
81         * text.C:
82         * text2.C:
83         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
84
85 2003-03-13  John Levon  <levon@movementarian.org>
86
87         * text3.C: fix appendix redrawing
88
89 2003-03-13  John Levon  <levon@movementarian.org>
90
91         * text.C (setHeightOfRow):
92         * rowpainter.h:
93         * rowpainter.C: make appendix mark have the text
94           "Appendix" so the user knows what it is
95
96         * LColor.h:
97         * LColor.C: s/appendixline/appendix/ from above
98
99 2003-03-13  John Levon  <levon@movementarian.org>
100
101         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
102
103         * text.C: fix a getChar(pos) bug properly
104
105 2003-03-13  Angus Leeming  <leeming@lyx.org>
106
107         * commandtags.h:
108         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
109         Probably only temporary. Let's see how things pan out.
110
111         * BufferView.C (unlockInset):
112         * BufferView_pimpl.C (fitCursor):
113         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
114
115         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
116         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
117
118         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
119         new functions that convert ParagraphParameters to and from a string.
120
121         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
122         BufferView::Pimpl's dispatch.
123         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
124
125 2003-03-13 André Pönitz <poenitz@gmx.net>
126
127         * lyxfunc.C:
128         * text3.C:
129         * factory.C: make it aware of InsetEnv
130
131 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
132
133         * text2.C (setCursor): never ask for one past last
134         (setCursor): add some debugging messages.
135
136         * text.C (singleWidth): never ask for one past last
137         (singleWidth): ditto
138         (leftMargin): ditto
139         (rightMargin): ditto
140         (rowBreakPoint): ditto
141         (setHeightOfRow): ditto
142         (prepareToPrint): ditto
143
144         * rowpainter.C (paintBackground): never ask for one past last
145         (paintText): never ask for one past last
146
147         * paragraph_pimpl.C (getChar): make the assert stricter, never
148         allow the one past last pos to be taken
149
150         * paragraph.C (getChar): ws changes only
151
152         * lyxrow.C (nextRowIsAllInset): never ask for one past last
153         (numberOfSeparators): ditto
154         (numberOfHfills): ditto
155
156 2003-03-12  John Levon  <levon@movementarian.org>
157
158         * author.h:
159         * author.C:
160         * bufferparams.h:
161         * bufferparams.C:
162         * paragraph_funcs.C: fix per-buffer authorlists
163
164 2003-03-12  John Levon  <levon@movementarian.org>
165
166         * text.C: fix newline in right address
167
168 2003-03-12  Angus Leeming  <leeming@lyx.org>
169
170         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
171         duplicate those in LyXFunc::dispatch.
172
173         * commandtags.h:
174         * LyXAction.C:
175         * ToolbarDefaults.C:
176         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
177         Add LFUN_FONTFREE_UPDATE.
178
179         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
180         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
181
182         * bufferview_func.[Ch]: several new functions to facilliate
183         transfer of data to and from the character dialog.
184
185 2003-03-12  John Levon  <levon@movementarian.org>
186
187         * buffer.C:
188         * paragraph.h:
189         * paragraph.C:
190         * paragraph_funcs.C:
191         * paragraph_pimpl.C:
192         * sgml.C:
193         * tabular.C:
194         * text.C:
195         * text3.C: remove META_NEWLINE in favour of an inset
196
197         * rowpainter.h:
198         * rowpainter.C: remove paintNewline (done by inset)
199
200 2003-03-12  John Levon  <levon@movementarian.org>
201
202         * paragraph_pimpl.C: complain about bad getChar()s
203         for a while at least
204
205 2003-03-12  John Levon  <levon@movementarian.org>
206
207         * buffer.h:
208         * buffer.C: move paragraph read into a separate function,
209         a little renaming to reflect that.
210
211         * bufferparams.h:
212         * bufferparams.C: remove the author_ids map, not necessary now
213
214         * factory.h:
215         * factory.C: moved Buffer::readInset to here
216
217         * paragraph_funcs.h:
218         * paragraph_funcs.C: readParagraph free function moved from
219         buffer.C
220
221         * tabular.C: name change
222
223 2003-03-12  John Levon  <levon@movementarian.org>
224
225         * buffer.C:
226         * ParagraphParameters.C: move par params input to
227         a read() method
228
229         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
230         behave like a normal read from the stream wrt reading
231         a line vs. a \\token
232
233 2003-03-12  John Levon  <levon@movementarian.org>
234
235         * paragraph.C:
236         * ParagraphParameters.h:
237         * ParagraphParameters.C: move output code to a
238         ::write() method
239
240 2003-03-12  John Levon  <levon@movementarian.org>
241
242         * BufferView.C (insertLyXFile):
243         * buffer.h:
244         * buffer.C:
245         * tabular.C: use a parlist iterator for creating the
246           document.
247
248 2003-03-12  John Levon  <levon@movementarian.org>
249
250         * buffer.C: make current_change static local not
251           static file-scope
252
253 2003-03-12  John Levon  <levon@movementarian.org>
254
255         * buffer.C: fix insertStringAsLines for change tracking
256
257 2003-03-12  John Levon  <levon@movementarian.org>
258
259         * BufferView.C:
260         * tabular.C:
261         * buffer.h:
262         * buffer.C:
263         * bufferparams.h:
264         * bufferparams.C: move author list into params. Rename some
265           functions. Move the header reading into a separate token
266           loop. Move the header token reading into BufferParams.
267
268 2003-03-12  John Levon  <levon@movementarian.org>
269
270         * changes.C: put debug inside lyxerr.debugging() checks
271
272 2003-03-11 André Pönitz <poenitz@gmx.net>
273
274         * factory.C: make it aware of InsetHFill
275
276 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
277
278         * buffer.C (latexParagraphs): move function from here...
279         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
280         args.
281
282 2003-03-10  Angus Leeming  <leeming@lyx.org>
283
284         * LyXAction.C (init): fix bug in poplating array with multiple entries
285         with the same LFUN (spotted by JMarc).
286
287 2003-03-10  John Levon  <levon@movementarian.org>
288
289         * text.C:
290         * text2.C: move getColumnNearX() near its
291         only call site
292
293 2003-03-10  John Levon  <levon@movementarian.org>
294
295         * text.C: fix break before a minipage
296
297 2003-03-10  John Levon  <levon@movementarian.org>
298
299         * text.C: fix the last commit
300
301 2003-03-09  John Levon  <levon@movementarian.org>
302
303         * lyxtext.h:
304         * text.C:
305         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
306         bug 365 (don't break before insets unless needed). Don't
307         return a value > last under any circumstances.
308
309 2003-03-09  Angus Leeming  <leeming@lyx.org>
310
311         * BufferView_pimpl.C (trackChanges, dispatch): call
312         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
313
314 2003-03-09  Angus Leeming  <leeming@lyx.org>
315
316         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
317         than Dialogs::showAboutlyx().
318
319 2003-03-09  Angus Leeming  <leeming@lyx.org>
320
321         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
322         than Dialogs::showTabularCreate().
323
324 2003-03-09  John Levon  <levon@movementarian.org>
325
326         * lyxtext.h:
327         * text.C:
328         * text2.C: 3rd arg to nextBreakPoint was always the same.
329           Use references.
330
331 2003-03-08  John Levon  <levon@movementarian.org>
332
333         * lyxrow.C:
334         * paragraph.C:
335         * paragraph.h:
336         * rowpainter.C:
337         * text.C:
338         * text2.C: Remove the "main" bit from the "main body"
339           notion.
340
341 2003-03-08  John Levon  <levon@movementarian.org>
342
343         * text.C (leftMargin): The left margin of an empty
344         manual label paragraph should not include the label width
345         string length.
346
347         * text.C (prepareToPrint): don't attempt to measure hfills
348         for empty manual label paragraphs - the answer should be 0
349
350 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
351
352         * CutAndPaste.C: remove commented code and reindent.
353
354 2003-03-08  John Levon  <levon@movementarian.org>
355
356         * lyxfunc.h:
357         * lyxfunc.C: move reloadBuffer()
358
359         * BufferView.h:
360         * BufferView.C: to here
361
362         * lyxvc.C: add comment
363
364         * vc-backend.h:
365         * vc-backend.C: call bv->reload() to avoid
366           getStatus() check on MENURELOAD
367
368 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
369
370         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
371         to an old format .dep file.
372
373 2003-03-07  Angus Leeming  <leeming@lyx.org>
374
375         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
376         when the LFUN_MOUSE_RELEASE should have been handled by
377         inset->localDispatch.
378
379 2003-03-07  Angus Leeming  <leeming@lyx.org>
380
381         * BufferView_pimpl.C (dispatch):
382         * LyXAction.C (init):
383         * ToolbarDefaults.C (init):
384         * commandtags.h:
385         * lyxfunc.C (getStatus):
386         remove LFUN_INSET_GRAPHICS.
387
388         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
389
390 2003-03-07  Angus Leeming  <leeming@lyx.org>
391
392         * commandtags.h:
393         * LyXAction.C (init):
394         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
395
396         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
397
398         * commandtags.h:
399         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
400
401         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
402         localDispatch method LFUN_INSET_DIALOG_UPDATE.
403
404 2003-03-07  Angus Leeming  <leeming@lyx.org>
405
406         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
407         remove "ert".
408
409 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
410
411         * ParagraphList.C (front): new function
412         (back): implement
413
414 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
415
416         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
417         and top_row_offset_. removed var first_y.
418         * text.C (top_y):
419         * text2.C (LyXText, removeRow):
420         * text3.C:
421         * BufferView_pimpl.C:
422         use these methods instead of using first_y
423
424 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
425
426         * text2.C (pasteSelection): adjust for checkPastePossible
427
428         * CutAndPaste.C: remove Paragraph * buf and replace with
429         ParagraphList paragraphs.
430         (DeleteBuffer): delete
431         (cutSelection): change the tc type to textclass_type
432         (copySelection): change the tc type to textclass_type
433         (copySelection): adjust for ParagraphList
434         (pasteSelection): change the tc type to textclass_type
435         (pasteSelection): adjust for Paragraphlist
436         (nrOfParagraphs): simplify for ParagraphList
437         (checkPastePossible): simplify for ParagraphList
438         (checkPastePossible): remove unused arg
439
440         * ParagraphList.C (insert): handle the case where there are no
441         paragraphs yet.
442
443         * CutAndPaste.h: make CutAndPaste a namespace.
444
445         * text3.C (dispatch): adjust
446
447         * text.C (breakParagraph): add a ParagraphList as arg
448
449         * paragraph_funcs.C (breakParagraph): change to take a
450         BufferParams and a ParagraphList as args.
451         (breakParagraphConservative): ditto
452         (mergeParagraph): ditto
453         (TeXDeeper): add a ParagraphList arg
454         (TeXEnvironment): ditto
455         (TeXOnePar): ditto
456
457         * buffer.C (readLyXformat2): adjust
458         (insertStringAsLines): adjust
459         (latexParagraphs): adjust
460
461         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
462         (cutSelection): adjust
463         (pasteSelection): adjust
464
465         * BufferView_pimpl.C (insertInset): adjust
466
467 2003-03-05  Angus Leeming  <leeming@lyx.org>
468
469         * commandtags.h:
470         * LyXAction.C (init):
471         * BufferView_pimpl.C (dispatch):
472         * lyxfunc.C (getStatus):
473         remove LFUN_CHILD_INSERT.
474
475         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
476
477 2003-03-05  Angus Leeming  <leeming@lyx.org>
478
479         * commandtags.h:
480         * LyXAction.C (init):
481         * src/factory.C (createInset):
482         * lyxfunc.C (getStatus):
483         * text3.C (dispatch):
484         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
485
486         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
487
488 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
489
490         * ParagraphList.C (insert): handle insert right before end()
491         (erase): fix cases where it can be first or last paragraph.
492
493 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
494
495         * paragraph_funcs.C (TeXEnvironment): remove all usage of
496         Paragraph::next and Paragraph::previous
497         (TeXOnePar): ditto
498
499         * text.C (breakParagraph): adjust
500
501         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
502         BufferParams& as arg.
503         (breakParagraph): use ParagraphList::insert
504         (breakParagraphConservative): take a Buffer* instead of a
505         BufferParams& as arg.
506         (breakParagraphConservative): use ParagraphList::insert.
507
508         * buffer.C (insertStringAsLines): un-const it
509         (insertStringAsLines): adjust
510
511         * ParagraphList.C (insert): new function
512
513         * CutAndPaste.C (pasteSelection): adjust
514
515         * text.C (backspace): adjust
516
517         * tabular.C (SetMultiColumn): adjust
518
519         * CutAndPaste.C (cutSelection): adjust
520         (pasteSelection): adjust
521
522         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
523         Buffer const * as arg
524
525         * ParagraphList.C (erase): new function
526         * paragraph_funcs.C (mergeParagraph): use it
527         (mergeParagraph): make it take a Buffer* instead of a
528         BufferParams* as arg
529
530         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
531         as arg
532         (breakParagraphConservative): ditto
533
534         * paragraph.h: remove the breakParagraph friend
535
536         * paragraph.C (eraseIntern): new function
537         (setChange): new function
538
539         * paragraph_funcs.C (mergeParagraph): make it take a
540         ParagraphList::iterator instead of a Paragraph *, adjust
541         accordingly.
542
543         * paragraph.h: move an #endif so that the change tracking stuff
544         also works in the NO_NEXT case.
545
546 2003-03-04  Angus Leeming  <leeming@lyx.org>
547
548         * commandtags.h:
549         * LyXAction.C: new LFUN_INSET_MODIFY.
550
551         * BufferView_pimpl.C (dispatch): if an inset is found to be open
552         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
553
554 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
555
556         * several files: ws changes only
557
558         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
559         (TeXEnvironment): ditto
560         (TeXDeeper): ditto
561
562         * buffer.C (makeLaTeXFile): adjust
563         (latexParagraphs): make it take ParagraphList::iterator as args
564
565 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
566
567         * buffer.C (latexParagraphs): adjust
568
569         * paragraph.C (TeXOnePar): move function...
570         (optArgInset): move function...
571         (TeXEnvironment): move function...
572         * paragraph_pimpl.C (TeXDeeper): move function...
573         * paragraph_funcs.C: ...here
574
575         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
576
577 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
578
579         * buffer.C (readInset): remove compability code for old Figure and
580         InsetInfo insets
581
582 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
583
584         * buffer.C: ws changes
585         (readInset):
586
587         * BufferView_pimpl.C: ditto
588         * author.C: ditto
589         * buffer.h: ditto
590         * bufferlist.h: ditto
591         * changes.h: ditto
592         * lyxfunc.C: ditto
593
594 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
595
596         * converter.[Ch]: split into itself +
597         * graph.[Ch]
598         * format.[Ch]
599         * Makefile.am: += graph.[Ch] + format.[Ch]
600         * MenuBackend.C
601         * buffer.C
602         * exporter.C
603         * importer.C
604         * lyx_main.C
605         * lyxfunc.C
606         * lyxrc.C: added #include "format.h"
607
608 2003-02-27  Angus Leeming  <leeming@lyx.org>
609
610         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
611           a label.
612
613         * factory.C (createInset): add "label" to the factory.
614
615         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
616           string and do no more.
617
618 2003-02-27  Angus Leeming  <leeming@lyx.org>
619
620         * commandtags.h:
621         * LyXAction.C (init):
622         * factory.C (createInset):
623         * BufferView_pimpl.C (dispatch):
624           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
625
626         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
627
628         * lyxfunc.C (dispatch):
629         * text3.C (dispatch): pass name to params2string.
630
631 2003-02-26  Angus Leeming  <leeming@lyx.org>
632
633         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
634           blocks together.
635           Rearrange the ~includes. Strip out the unnecessary ones.
636
637         * factory.C (createInset): reformat.
638           create new insets for the various LFUN_XYZ_APPLY lfuns.
639
640 2003-02-26  John Levon  <levon@movementarian.org>
641
642         * lyxrow.h:
643         * lyxrow.C: add isParStart,isParEnd helpers
644
645         * paragraph.h: make isInserted/DeletedText take refs
646
647         * paragraph_funcs.h:
648         * paragraph_funcs.C: remove #if 0'd code
649
650         * lyxtext.h:
651         * text3.C:
652         * text2.C:
653         * text.C: use lyxrow helpers above.
654           Move draw and paint routines to RowPainter.
655           Make several methods use refs not pointers.
656           Make backgroundColor() const.
657           Add markChangeInDraw(), isInInset().
658           Merge changeRegionCase into changeCase.
659           Make workWidth() shouldn't-happen code into an Assert.
660
661         * rowpainter.h:
662         * rowpainter.C: new class for painting a row.
663
664         * vspace.h:
665         * vspace.C: make inPixels take a ref
666
667 2003-02-26  Angus Leeming  <leeming@lyx.org>
668
669         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
670         LFUN_REF_APPLY.
671
672 2003-02-25  John Levon  <levon@movementarian.org>
673
674         * ispell.C: give the forked command a more accurate name
675
676 2003-02-22  John Levon  <levon@movementarian.org>
677
678         * toc.h:
679         * toc.C: make TocItem store an id not a Paragraph *
680           (bug #913)
681
682 2003-02-21  Angus Leeming  <leeming@lyx.org>
683
684         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
685           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
686           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
687           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
688           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
689           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
690
691         * BufferView_pimpl.C (dispatch):
692         * LyXAction.C (init):
693         * factory.C (createInset):
694         * lyxfunc.C (getStatus, dispatch):
695         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
696
697 2003-02-21  Angus Leeming  <leeming@lyx.org>
698
699         * BufferView_pimpl.C (MenuInsertLyXFile):
700         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
701         * lyxfunc.C (menuNew, open, doImport):
702           no longer pass a LyXView & to fileDlg.
703
704 2003-02-21  Angus Leeming  <leeming@lyx.org>
705
706         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
707         * LyXAction.C: change, BIBKEY to BIBITEM.
708         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
709         Change InsetBibKey to InsetBibitem.
710         Change BIBKEY_CODE to BIBITEM_CODE.
711         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
712         * factory.C: replace insetbib.h with insetbibitem.h.
713         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
714         * paragraph.C: replace insetbib.h with insetbibitem.h.
715         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
716         Change bibkey() to bibitem().
717         * text.C: remove insetbib.h.
718         * text2.C: replace insetbib.h with insetbibitem.h.
719         change bibkey() to bibitem().
720         * text3.C: remove insetbib.h.
721         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
722
723 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
724
725         * lyxrc.C (output): enclose user email in quotes (in case there are
726         several words)
727
728 2003-02-18  John Levon  <levon@movementarian.org>
729
730         * buffer.h: add std::
731
732 2003-02-17  John Levon  <levon@movementarian.org>
733
734         * SpellBase.h:
735         * ispell.h:
736         * ispell.C:
737         * pspell.h:
738         * pspell.C: reworking. Especially in ispell, a large
739           number of clean ups and bug fixes.
740
741         * lyxfunc.C: fix revert to behave sensibly
742
743 2003-02-17 André Pönitz <poenitz@gmx.net>
744
745         * LyXAction.C:
746         * commandtags.h: new LFUN_INSERT_BIBKEY
747
748         * layout.h:
749         * lyxlayout.C:
750         * buffer.C:
751         * factory.C:
752         * text.C:
753         * text2.C:
754         * text3.C:
755         * paragraph.[Ch]:
756         * paragraph_func.C: remove special bibkey handling
757
758 2003-02-17  John Levon  <levon@movementarian.org>
759
760         * text.C (Delete): fix case where delete at the end of
761           the very first paragraph would not merge the pars
762
763 2003-02-17  John Levon  <levon@movementarian.org>
764
765         * lyxrow.C: fix lastPrintablePos()
766
767 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
768
769         * bufferparams.C (writeLaTeX): add a std:here
770
771         * buffer.C: and remove a using directive there
772
773 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
774
775         * buffer.C (makeLaTeXFile): move the code that generates the
776           preamble...
777
778         * bufferparams.C (writeLaTeX): ... in this new method
779
780         * LaTeXFeatures.C (getEncodingSet): make const
781           (getLanguages): make const
782
783         * MenuBackend.C (binding): returns the binding associated to this
784           action
785           (add): sets the status of each item by calling getStatus. Adds
786           some intelligence.
787           (read): add support for OptSubMenu
788           (expand): remove extra separator at the end of expanded menu
789
790 2003-02-15  John Levon  <levon@movementarian.org>
791
792         * BufferView.C:
793         * BufferView_pimpl.C:
794         * bufferlist.h:
795         * bufferlist.C: remove pointless BufferStorage bloat. Remove
796           inset code that had no actual effect. Remove unneeded status
797           code.
798
799 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
800
801         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
802           in preamble
803
804 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
805
806         * text.C (drawLengthMarker): also draw an arrow marker for
807           symbolic lengths (medskip...)
808
809 2003-02-14  John Levon  <levon@movementarian.org>
810
811         * tabular.h:
812         * tabular.C: better method names
813
814 2003-02-14  John Levon  <levon@movementarian.org>
815
816         * BufferView_pimpl.C:
817         * bufferlist.C:
818         * buffer.C:
819         * converter.C:
820         * lyx_cb.C:
821         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
822           it's a more accurate name. Remove some pointless uses.
823
824 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
825
826         * text2.C (LyXText): change order of initilizers to shut off
827           warnings
828
829 2003-02-14  John Levon  <levon@movementarian.org>
830
831         * buffer.C: use ParIterator for getParFromID()
832
833         * paragraph.h:
834         * paragraph.C:
835         * paragraph_pimpl.h:
836         * paragraph_pimpl.C: remove unused getParFromID()
837
838 2003-02-14  John Levon  <levon@movementarian.org>
839
840         * buffer.C: remove some very old #if 0'd parse code
841
842 2003-02-13  John Levon  <levon@movementarian.org>
843
844         * text.h:
845         * text.C:
846         * text2.C: move hfillExpansion(), numberOfSeparators(),
847           rowLast(), rowLastPrintable(), numberofHfills(),
848           numberOfLabelHfills() ...
849
850         * lyxrow.h:
851         * lyxrow.C: ... to member functions here.
852
853         * paragraph.h:
854         * paragraph.C:
855         * lyxtext.h:
856         * text.C: remove LyXText::beginningOfMainBody(), and call
857           p->beginningOfMainBody() directly. Move the check for
858           LABEL_MANUAL into the latter.
859
860         * text.h:
861         * text.C:
862         * text2.C:
863         * vspace.C:
864         * BufferView.h:
865         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
866
867         * text.h:
868         * text.C:
869         * text2.C:
870         * text3.C:
871         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
872           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
873
874 2003-02-13  John Levon  <levon@movementarian.org>
875
876         * CutAndPaste.C: remove debug
877
878 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
879
880         * paragraph.C (asString): remove two unused variables
881
882         * lyxtextclass.C (readTitleType):
883           (Read):
884           (LyXTextClass): handle new members titletype_ and titlename_
885
886         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
887
888 2003-02-09  John Levon  <levon@movementarian.org>
889
890         * buffer.h:
891         * buffer.C: replace hand-coded list with a map for the dep clean
892
893 2003-02-08  John Levon  <levon@movementarian.org>
894
895         * LaTeX.C: consolidate code into showRunMessage() helper
896
897 2003-02-08  John Levon  <levon@movementarian.org>
898
899         * lyxfind.C:
900         * lyxtext.h:
901         * text2.C:
902         * BufferView.C: change setSelectionOverString() to setSelectionRange()
903           and pass the size in explicitly
904
905         * BufferView_pimpl.h:
906         * BufferView_pimpl.C:
907         * BufferView.h:
908         * BufferView.C: add getCurrentChange()
909
910         * BufferView_pimpl.h:
911         * BufferView_pimpl.C: handle change lfuns
912
913         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
914           for changes. Mark pasted paragraphs as new.
915
916         * support/lyxtime.h:
917         * support/lyxtime.C:
918         * DepTable.C: abstract time_t as lyx::time_type
919
920         * LColor.h:
921         * LColor.C: add colours for new text, deleted text, changebars
922
923         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
924           package use "usenames" option.
925
926         * commandtags.h:
927         * lyxfunc.C:
928         * LyXAction.C: add change lfuns
929
930         * Makefile.am:
931         * author.h:
932         * author.C: author handling
933
934         * buffer.h:
935         * buffer.C: add a per-buffer author list, with first entry as
936           current author. Handle new .lyx tokens for change tracking. Output
937           author list to .lyx file. Output dvipost stuff to .tex preamble.
938           Bump lyx format to 222.
939
940         * bufferlist.h:
941         * bufferlist.C: add setCurrentAuthor() to reset current author details
942           in all buffers.
943
944         * bufferparams.h:
945         * bufferparams.C: add param for tracking
946
947         * bufferview_funcs.C: output change info in minibuffer
948
949         * Makefile.am:
950         * changes.h:
951         * changes.C: add change-tracking structure
952
953         * debug.h:
954         * debug.C: add CHANGES debug flag
955
956         * lyxfind.h:
957         * lyxfind.C: add code for finding the next change piece
958
959         * lyxrc.h:
960         * lyxrc.C: add user_name and user_email
961
962         * lyxrow.h:
963         * lyxrow.C: add a metric for the top of the text line
964
965         * lyxtext.h:
966         * text.C: implement accept/rejectChange()
967
968         * lyxtext.h:
969         * text.C: paint changebars. Paint new/deleted text in the chosen colours.
970           Strike through deleted text.
971
972         * paragraph.h:
973         * paragraph.C:
974         * paragraph_pimpl.h:
975         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
976           to the insert functions. Rework erase to mark text as deleted, adding
977           an eraseIntern() and a range-based erase(). Implement
978           per-paragraph change lookup and accept/reject.
979
980         * paragraph_funcs.C: Fixup paste for change tracking.
981
982         * tabular.C: mark added row/columns as new.
983
984         * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
985           text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
986
987         * text2.C: leave cursor at end of selection after a cut.
988
989 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
990
991         * text.C (getLengthMarkerHeight):
992         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
993         visible on screen too.
994
995 2003-02-07  John Levon  <levon@movementarian.org>
996
997         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
998
999 2003-02-05  Angus Leeming  <leeming@lyx.org>
1000
1001         * lyxserver.C (read_ready): revert my patch of 11 September last year
1002         as it sends PC cpu through the roof. Presumably this means that
1003         the lyxserver will no longer run on an Alpha...
1004
1005 2003-01-30  Angus Leeming  <leeming@lyx.org>
1006
1007         * factory.C (createInset): create an InsetCommandParam of type "index"
1008         and use it to 'do the right thing'.
1009
1010         * text2.C (getStringToIndex): ensure that cursor position is always
1011         reset to the reset_cursor position.
1012
1013 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1014
1015         * lyxfunc.C (getStatus): "buffer-export custom" should never be
1016         disabled.
1017
1018 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
1019
1020         * bufferview.C:
1021         * lyxcb.C:
1022         * lyxfunc.C: Output messages with identical spelling, punctuation,
1023         and spaces
1024
1025 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
1026
1027         * MenuBackend.C (expandFormats): List only viewable export formats
1028         in "View" menu
1029
1030         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1031         message
1032
1033         * lyxfunc.C (getStatus): Make sure that formats other than
1034         "fax" can also be disabled
1035
1036 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1037
1038         * text3.C (dispatch): put the lfuns that insert insets in 3
1039         groups, and call doInsertInset with appropriate arguments.
1040         (doInsertInset): new function, that creates an inset and inserts
1041         it according to some boolean parameters.
1042
1043 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1044
1045         * buffer.C (readFile): remember to pass on 'par' when calling
1046         readFile recursively.
1047
1048 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1049
1050         * MenuBackend.C (expandFormats): add "..." to import formats.
1051
1052 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
1053
1054         * paragraph.C (asString): Remove XForms RTL hacks.
1055
1056 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
1057         * buffer.C: fix typo
1058
1059 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
1060
1061         * Makefile.am (LIBS): delete var
1062         (lyx_LDADD): add @LIBS@ here instead.
1063
1064 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
1065
1066         * Clarify the meaning of "wheel mouse jump"
1067
1068 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1069
1070         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1071         tabular in a float
1072
1073 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1074
1075         * importer.C (Loaders): do not preallocate 3 elements in the
1076         vector, since one ends up with 6 elements otherwise
1077
1078 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1079
1080         * DepTable.C (write): write the file name as last element of the
1081         .dep file (because it may contain spaces)
1082         (read): read info in the right order
1083
1084 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1085
1086         * paragraph_pimpl.C (simpleTeXBlanks):
1087         (simpleTeXSpecialChars):
1088         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1089
1090         * tabular.C (latex): add some missing case statements. Reindent.
1091
1092         * MenuBackend.C (expandToc): remove unused variable.
1093
1094 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
1095
1096         * LColor.C:
1097         * LaTeX.C:
1098         * LyXAction.C:
1099         * MenuBackend.C:
1100         * buffer.C:
1101         * exporter.C:
1102         * lyxfunc.C:
1103         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1104         and the like.
1105
1106 2003-01-05  John Levon  <levon@movementarian.org>
1107
1108         * BufferView.h:
1109         * BufferView.C: add getEncoding()
1110
1111         * kbsequence.h:
1112         * kbsequence.C: do not store last keypress
1113
1114         * lyxfunc.h:
1115         * lyxfunc.C: store last keypress here instead. Pass encoding
1116           to getISOEncoded()
1117
1118 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1119
1120         * lyx_main.C (init): remove annoying error message when following
1121         symbolic links (bug #780)
1122
1123 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1124
1125         * text.C (insertChar):
1126         * lyxrc.C (getDescription): remove extra spaces
1127
1128 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1129
1130         * lyxrc.C (getDescription): remove extra spaces
1131
1132 2002-12-20  John Levon  <levon@movementarian.org>
1133
1134         * text3.C: hack fix for page up/down across tall rows
1135
1136 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1137
1138         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1139         not been invoked
1140
1141 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1142
1143         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1144         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1145         thesaurus is not compiled in
1146
1147 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
1148
1149         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
1150
1151 2002-12-16  Angus Leeming  <leeming@lyx.org>
1152
1153         * lyxrc.[Ch]:
1154         * lyx_main.C (init): remove override_x_deadkeys stuff.
1155
1156 2002-12-12  John Levon  <levon@movementarian.org>
1157
1158         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1159           insert. Only remove shift modifier under strict
1160           circumstances.
1161
1162 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1163
1164         * MenuBackend.C (expandToc): fix crash.
1165
1166 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1167
1168         * MenuBackend.C (expandToc): gettext on float names.
1169
1170 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1171
1172         * lyxlength.[Ch]: set default unit to UNIT_NONE,
1173         implement bool empty() [bug 490]
1174
1175 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1176
1177         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1178
1179 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1180
1181         * several files: ws changes
1182
1183 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1184
1185         * text2.C (setCounter): clean up a bit, use boost.format.
1186         (updateCounters): initialize par upon declaration.
1187
1188         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1189         if the layout exists. We do not just store the layout any more.
1190         (SwitchLayoutsBetweenClasses): use boost.format
1191
1192 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1193
1194         * converter.C (convert): if from and to files are the same, use a
1195         temporary files as intermediary
1196
1197 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1198
1199         * commandtags.h:
1200         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1201
1202 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
1203
1204         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1205
1206 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1207
1208         * tabular.C (asciiPrintCell): use string(size, char) instead of
1209         explicit loop.
1210
1211         * sgml.C (openTag): fix order of arguments to string constructor
1212         (closeTag): ditto
1213
1214         * lyxfunc.C (dispatch): use boost.format
1215
1216         * lots of files: change "c" -> 'c'
1217
1218 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
1219
1220         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1221
1222 2002-11-25  Angus Leeming  <leeming@lyx.org>
1223
1224         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1225
1226         * lyx_main.C (init): compile fix.
1227
1228 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1229
1230         * lyx_cb.C (start): boost.formatify
1231         do not include <iostream>
1232
1233         * lengthcommon.C: ws only
1234
1235         * boost-inst.C,BoostFormat.h: add more explict instantations
1236
1237 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1238
1239         * lots of files: handle USE_BOOST_FORMAT
1240
1241 2002-11-21  John Levon  <levon@movementarian.org>
1242
1243         * pspell.C: fix compile
1244
1245 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1246
1247         * lyxfunc.C (dispatch): use boost::format
1248         (open): ditto
1249         (doImport): ditto
1250
1251         * lyxfont.C (stateText): use boost::format
1252
1253         * lyx_main.C (LyX): use boost::format
1254         (init): ditto
1255         (queryUserLyXDir): ditto
1256         (readRcFile): ditto
1257         (parse_dbg): ditto
1258         (typedef boost::function): use the recommened syntax.
1259
1260         * importer.C (Import): use boost::format
1261
1262         * debug.C (showLevel): use boost::format
1263
1264         * converter.C (view): use boost::format
1265         (convert): ditto
1266         (move): ditto
1267         (scanLog): ditto
1268
1269         * bufferview_funcs.C (currentState): use boost::format
1270
1271         * bufferlist.C (emergencyWrite): use boost::format
1272
1273         * buffer.C (readLyXformat2): use boost::format
1274         (parseSingleLyXformat2Token): ditto
1275
1276         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1277
1278         * LaTeX.C (run): use boost::format
1279
1280         * Chktex.C (scanLogFile): use boost::format
1281
1282         * BufferView_pimpl.C (savePosition): use boost::format
1283         (restorePosition): ditto
1284         (MenuInsertLyXFile): ditto
1285
1286         * BoostFormat.h: help file for explicit instation.
1287
1288 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
1289
1290         * tabular.C (latex): Support for block alignment in fixed width
1291         columns.
1292
1293 2002-11-17  John Levon  <levon@movementarian.org>
1294
1295         * BufferView_pimpl.C:
1296         * lyx_cb.C:
1297         * lyxfunc.C: split filedialog into open/save
1298
1299 2002-11-08  Juergen Vigna  <jug@sad.it>
1300
1301         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1302         by my last patch (hopefully).
1303
1304 2002-11-08  John Levon  <levon@movementarian.org>
1305
1306         * iterators.h:
1307         * iterators.C:
1308         * buffer.h:
1309         * buffer.C:
1310         * paragraph.h:
1311         * paragraph.C:
1312         * toc.h:
1313         * toc.C: ParConstIterator, and use it (from Lars)
1314
1315 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
1316
1317         * lyxtextclass.[Ch]: revise and add doxygen comments
1318
1319 2002-11-07  John Levon  <levon@movementarian.org>
1320
1321         * text.C: fix progress value for spellchecker
1322
1323         * toc.C: fix navigate menu for insetwrap inside minipage
1324
1325         * paragraph_funcs.C: added FIXME for suspect code
1326
1327 2002-11-07  John Levon  <levon@movementarian.org>
1328
1329         * BufferView_pimpl.C: fix redrawing of insets
1330           on buffer switch
1331
1332 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1333
1334         * text2.C (updateCounters): fix bug 668
1335
1336 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
1337
1338         * text3.C (dispatch): Do not make the buffer dirty when moving the
1339         cursor.
1340
1341 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1342
1343         * vc-backend.C: STRCONV
1344         (scanMaster): ditto
1345
1346         * text2.C (setCounter): STRCONV
1347
1348         * paragraph.C (asString): STRCONV
1349
1350         * lyxlength.C (asString): STRCONV
1351         (asLatexString): ditto
1352
1353         * lyxgluelength.C (asString): STRCONV
1354         (asLatexString): ditto
1355
1356         * lyxfunc.C (dispatch): STRCONV
1357         (open): ditto
1358
1359         * lyxfont.C (stateText): STRCONV
1360
1361         * importer.C (Import): STRCONV
1362
1363         * counters.C (labelItem): STRCONV
1364         (numberLabel): ditto
1365         (numberLabel): remove unused ostringstream o
1366
1367         * chset.C: STRCONV
1368         (loadFile): ditto
1369
1370         * bufferview_funcs.C (currentState): STRCONV
1371
1372         * buffer.C (readFile): STRCONV
1373         (asciiParagraph): ditto
1374         (makeLaTeXFile): ditto
1375
1376         * Spacing.C (writeEnvirBegin): STRCONV
1377
1378         * LaTeXFeatures.C (getLanguages): STRCONV
1379         (getPackages): ditto
1380         (getMacros): ditto
1381         (getBabelOptions): ditto
1382         (getTClassPreamble): ditto
1383         (getLyXSGMLEntities): ditto
1384         (getIncludedFiles): ditto
1385
1386         * LaTeX.C: STRCONV
1387         (run): ditto
1388         (scanAuxFile): ditto
1389         (deplog): ditto
1390
1391         * LString.h: add the STRCONV macros
1392
1393         * BufferView_pimpl.C (savePosition): STRCONV
1394         (restorePosition): ditto
1395         (MenuInsertLyXFile): ditto
1396
1397         * vc-backend.C (scanMaster): change from submatch[...] to
1398         submatch.str(...)
1399
1400         * funcrequest.C: include config.h
1401
1402         * factory.C: include config.h
1403
1404         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1405
1406         * box.C: include config.h
1407
1408         * LaTeX.C (scanAuxFile): change from submatch[...] to
1409         submatch.str(...)
1410         (deplog): ditto
1411
1412 2002-10-25  Angus Leeming  <leeming@lyx.org>
1413
1414         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1415
1416         * ispell.[Ch] (setError): new method.
1417         * ispell.C (c-tor): move out child process into new class LaunchIspell.
1418         Use setError() insetead of goto END.
1419
1420         * lyx_cb.C (AutoSave): move out child process into new class
1421         AutoSaveBuffer.
1422
1423 2002-10-30  John Levon  <levon@movementarian.org>
1424
1425         * text3.C: make start appendix undoable
1426
1427 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
1428
1429         * lyxlength.C (inPixels): Fix returned value.
1430
1431         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1432         environment.
1433
1434 2002-10-24  Angus Leeming  <leeming@lyx.org>
1435
1436         * lyxgluelength.h: no need to forward declare BufferParams
1437         or BufferView, so don't.
1438
1439 2002-10-21  John Levon  <levon@movementarian.org>
1440
1441         * BufferView.C: menuUndo ->undo, redo
1442
1443         * BufferView.h: document, remove dead, make some methods private
1444
1445         * paragraph_funcs.h:
1446         * paragraph_funcs.C:
1447         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1448
1449         * buffer.h:
1450         * buffer.C:
1451         * sgml.h:
1452         * sgml.C: move sgml open/close tag into sgml.C
1453
1454         * bufferview_funcs.h: unused prototype
1455
1456         * lyxfunc.h:
1457         * lyxfunc.C: remove unused
1458
1459         * lyxtext.h:
1460         * text.C: remove unused
1461
1462 2002-10-21  John Levon  <levon@movementarian.org>
1463
1464         * BufferView.h:
1465         * BufferView.C:
1466         * BufferView_pimpl.h:
1467         * BufferView_pimpl.C: fix mouse wheel handling based on
1468           patch from Darren Freeman
1469
1470 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
1471
1472         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1473
1474 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
1475
1476         * lyxlength.C (inPixels): Fix hanfling of negative length.
1477         Fix LyXLength::MU case.
1478
1479 2002-10-16  John Levon  <levon@movementarian.org>
1480
1481         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1482
1483 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1484
1485         * converter.C (view): add support for $$i (file name) and $$p
1486         (file path) for the viewer command. If $$i is not specified, then
1487         it is appended to the command (for compatibility with old syntax)
1488
1489 2002-10-14  Juergen Vigna  <jug@sad.it>
1490
1491         * undo_funcs.C (textHandleUndo): alter the order in which the
1492         new undopar is added to the LyXText, as we have to set first
1493         the right prev/next and then add it as otherwise the rebuild of
1494         LyXText is not correct. Also reset the cursor to the right paragraph,
1495         with this IMO we could remove the hack in "redoParagraphs()".
1496
1497 2002-10-09  Angus Leeming  <leeming@lyx.org>
1498
1499         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1500         to turn off an optimisation if a new inset is to be inserted.
1501
1502 2002-10-11 André Pönitz <poenitz@gmx.net>
1503
1504         * lyxtext.h: make some functions public to allow access
1505         from inset/lyxtext for handling LFUN_PRIOR/NEXT
1506
1507 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1508
1509         * text3.C (dispatch): when changing layout, avoid an infinite loop
1510         [bug #652]
1511
1512 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1513
1514         * lyxrc.C (read): treat a viewer or converter command of "none" as
1515         if it were empty.
1516
1517         * MenuBackend.C (expandFormats): for an update, also allow the
1518         formats that are not viewable
1519
1520         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1521         script if it is newer than the lyxrc.defaults in user directory
1522
1523 2002-10-07 André Pönitz <poenitz@gmx.net>
1524
1525         * text.C: Vitaly Lipatov's small i18n fix
1526
1527 2002-09-25  Angus Leeming  <leeming@lyx.org>
1528
1529         * ispell.h: doxygen fix.
1530
1531 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
1532
1533         * buffer.h (readFile): Add a new argument to the method, to allow
1534         reading of old-format templates.
1535
1536 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
1537
1538         * toc.C (getTocList): Get TOC from InsetWrap.
1539
1540 2002-09-16  John Levon  <levon@movementarian.org>
1541
1542         * lyxfunc.C: check tabular for cut/copy too
1543
1544 2002-09-12  John Levon  <levon@movementarian.org>
1545
1546         * LyXAction.C: tidy
1547
1548         * factory.h:
1549         * factory.C: add header
1550
1551         * paragraph_funcs.h:
1552         * paragraph_funcs.C: cleanup
1553
1554 2002-09-11  John Levon  <levon@movementarian.org>
1555
1556         * PrinterParams.h: odd/even default to true
1557
1558 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
1559
1560         * PrinterParams.h: update printer parameters for new xforms dialog
1561
1562 2002-09-11  Angus Leeming  <leeming@lyx.org>
1563
1564         * lyxserver.C (read_ready): re-write to make it more transparent
1565         and to make it work in coherent fashion under Tru64 Unix.
1566
1567 2002-09-11  André Pönitz <poenitz@gmx.net>
1568
1569         * commandtags.h:
1570         * LyXAction.C:
1571         * text3.C: implement LFUN_WORDSEL
1572
1573 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1574
1575         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1576         make floatlist_ a boost::shared_ptr<FloatList>
1577
1578         * lyxtextclass.C: include FloatList.h
1579         (LyXTextClass): initialize floatlist_
1580         (TextClassTags): add TC_NOFLOAT
1581         (Read): match "nofloat" to TC_NOFLOAT and use it.
1582         (readFloat): modify call to floatlist_
1583         (floats): ditto
1584         (floats): ditto
1585
1586         * FloatList.[Ch] (FloatList): remove commented out float
1587         initialization.
1588         (erase): new function
1589
1590 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1591
1592         * MenuBackend.C (expandToc): fix crash when there is no document
1593         open
1594
1595 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
1596
1597         * many files: Add insetwrap.
1598
1599 2002-09-09  John Levon  <levon@movementarian.org>
1600
1601         * text2.C: remove confusing and awkward depth wraparound
1602
1603 2002-09-09  John Levon  <levon@movementarian.org>
1604
1605         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1606
1607         * buffer.h:
1608         * buffer.C: remove getIncludeonlyList()
1609
1610         * paragraph.C:
1611         * lyxfunc.C: remove headers
1612
1613 2002-09-09  Juergen Vigna  <jug@sad.it>
1614
1615         * text.C (getColumnNearX): fix form Michael this is most
1616         probably a cut&paste bug.
1617
1618 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1619
1620         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1621
1622         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1623         references, ws changes.
1624
1625         * text2.C (init): update counters after init
1626         (insertParagraph): no need to set counter on idividual paragraphs.
1627         (setCounter): access the counters object in the textclass object
1628         on in the buffer object.
1629         (updateCounters): ditto
1630
1631         * lyxtextclass.C: include counters.h, add variable ctrs_ as
1632         shared_ptr<Counters> to avoid loading counters.h in all
1633         compilation units.
1634         (LyXTextClass): initialize ctrs_
1635         (TextClassTags): add TC_COUNTER, and ...
1636         (Read): use it here.
1637         (CounterTags): new tags
1638         (readCounter): new function
1639         (counters): new funtion
1640         (defaultLayoutName): return a const reference
1641
1642         * counters.C (Counters): remove contructor
1643         (newCounter): remove a couple of unneeded statements.
1644         (newCounter): simplify a bit.
1645         (numberLabel): some small formatting changes.
1646
1647         * buffer.[Ch]: remove all traces of counters, move the Counters
1648         object to the LyXTextClass.
1649
1650 2002-09-06  Alain Castera  <castera@in2p3.fr>
1651
1652         * tabular.C: uses \tabularnewline; uses >{...} construct from array
1653         package to set the horizontal alignment on fixed width columns.
1654
1655         * lyx_sty.C:
1656         * lyx_sty.h: added tabularnewline macro def.
1657
1658         * LaTeXFeatures.C: added NeedTabularnewline macro feature
1659
1660 2002-09-06  John Levon  <levon@movementarian.org>
1661
1662         * LyXAction.C: tooltips for sub/superscript
1663
1664         * MenuBackend.C: a bit more verbose
1665
1666         * lyxfunc.C: tiny clean
1667
1668         * undo_funcs.C: document undo_frozen
1669
1670 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1671
1672         * counters.C (Counters): add missing algorithm counter.
1673
1674         * text2.C (setCounter): lookup the counter with layouts latexname
1675         instead of by section number.
1676         (setCounter): use a hackish way to lookup the correct enum
1677         counter.
1678         a float name->type change
1679         reset enum couners with counter name directly instead of depth value.
1680
1681         * counters.C (Counters): remove the push_backs, change to use the
1682         float type not the float name.
1683         (labelItem): remove unused string, float name->type change
1684
1685         * counters.h: don't include vector, loose the enums and sects vectors
1686
1687 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1688
1689         * lyxtextclass.C (TextClassTags): add TC_FLOAT
1690         (Read): add float->TC_FLOAT to textclassTags
1691         (Read): and handle it in the switch
1692         (readFloat): new function
1693
1694         * FloatList.C (FloatList): comment out the hardcoded float
1695         definitions.
1696
1697         * lyxlayout.h: ws change.
1698
1699 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
1700
1701         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1702
1703 2002-09-03  Angus Leeming  <leeming@lyx.org>
1704
1705         * BufferView_pimpl.h: qualified name is not allowed in member
1706         declaration: WorkArea & Pimpl::workarea() const;
1707
1708         * factory.C: added using std::endl directive.
1709
1710         * text3.C: added using std::find and std::vector directives.
1711
1712 2002-08-29  André Pönitz <poenitz@gmx.net>
1713
1714         * lyxtext.h:
1715         * text2.C: remove unused member number_of_rows
1716
1717         * Makefile.am:
1718         * BufferView2.C: remove file, move contents to...
1719         * BufferView.C: ... here
1720
1721         * BufferView_pimpl.C:
1722         * factory.C: move more inset creation to factory
1723
1724         * vspace.C: avoid direct usage of LyXText, ws changes
1725
1726         * BufferView.[Ch]:
1727                 don't provide direct access to WorkArea, use two simple
1728                 acessors haveSelction() and workHeight() instead
1729
1730
1731 2002-08-29  John Levon  <levon@movementarian.org>
1732
1733         * BufferView_pimpl.C (dispatch): do not continue when
1734           no buffer
1735
1736 2002-08-28  André Pönitz <poenitz@gmx.net>
1737
1738         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1739
1740         * BufferView.h:
1741         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1742
1743 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
1744
1745         * buffer.C: increment LYX_FORMAT to 221
1746
1747         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1748         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1749
1750         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1751
1752         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1753
1754 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1755
1756         * factory.C (createInset): use LyXTextClass::floats
1757
1758         * MenuBackend.C (expandFloatListInsert):
1759         (expandFloatInsert):
1760         (expandToc):
1761
1762         * text2.C (setCounter):
1763
1764         * LaTeXFeatures.C (useFloat):
1765         (getFloatDefinitions):
1766
1767         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1768
1769         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1770         floatlist_, with accessor floats().
1771
1772         * FloatList.h: remove global FloatList
1773
1774 2002-08-26  André Pönitz <poenitz@gmx.net>
1775
1776         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1777
1778         * BufferView.h:
1779         * BufferView2.C:
1780         * BufferView_pimpl.C:
1781         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1782
1783 2002-08-25  John Levon  <levon@movementarian.org>
1784
1785         * LyXAction.C: fix margin note description
1786
1787 2002-08-24  John Levon  <levon@movementarian.org>
1788
1789         * buffer.C:
1790         * bufferlist.C:
1791         * bufferview_funcs.C:
1792         * lyxfont.C:
1793         * undo_funcs.C: cleanups
1794
1795         * lyxfunc.C: disable CUT/COPY when no selection
1796
1797 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
1798
1799         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1800         in "enum UNIT"; e.g. PTW for Percent of TextWidth
1801
1802         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1803         Add backward compatibility to "mono", "gray" and "no".
1804
1805 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
1806
1807         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1808         (and file_format >= 200).
1809
1810 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1811
1812         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1813
1814 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1815
1816         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1817
1818 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
1819
1820         * BufferView_pimpl.C:
1821         * LyXAction.C:
1822         * buffer.C:
1823         * commandtags.h:
1824         * lyxfunc.C:
1825         * paragraph.[Ch]:
1826         * text2.C:
1827         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1828         inset and code to make it  work with the paragraph code. The inset
1829         can be anywhere in the paragraph, but will only do the expected
1830         thing in LaTeX if the layout file contains the parameter line
1831                         OptionalArgs    1
1832         (or more generally, a nonzero value) for that layout.
1833
1834 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1835
1836         * paragraph.h: remove the declaration of undefined counters class
1837         function.
1838
1839 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
1840
1841         * text2.C (setCounter):  fixed enumeration mis-count as reported by
1842         Dr. Richard Hawkins.
1843
1844 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1845
1846         * paragraph_funcs.h: remove some unneeded includes
1847
1848         * text.C (backspace): pasteParagraph now in global scipe
1849
1850         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1851         (pasteSelection): ditto
1852
1853         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1854         * paragraph_funcs.C (pasteParagraph): ... here
1855
1856 2002-08-20  André Pönitz <poenitz@gmx.net>
1857
1858         * commandtags.h: new LFUNs for swapping/copying table row/colums
1859
1860         * LyXAction.C:
1861         * lyxfunc.C: support for new lfuns
1862
1863 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1864
1865         * tabular.C:
1866         * buffer.[Ch]: remove NO_COMPABILITY stuff
1867
1868 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
1869
1870         * boost.C (throw_exception): new file, with helper function for
1871         boost compiled without exceptions.
1872
1873         * paragraph.h:
1874         * lyxlength.C:
1875         * buffer.C:
1876         * ParameterStruct.h:
1877         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1878
1879         * bufferlist.C (emergencyWriteAll): use boost bind
1880
1881         * BufferView_pimpl.C (moveCursorUpdate): remove inline
1882
1883         * text.C: include paragraph_funcs.h
1884         (breakParagraph): breakParagraph is now in global scope
1885
1886         * paragraph_funcs.[Ch]: new files
1887
1888         * paragraph.C (breakParagraph,breakParagraphConservative): move to
1889         global scope
1890
1891         * buffer.C: include paragraph_funcs.h
1892         (insertStringAsLines): breakParagraph is now in global scope
1893
1894         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1895         paragraph_funcs.C
1896
1897         * CutAndPaste.C: include paragraph_funcs.h
1898         (cutSelection): breakParagraphConservative is now in global scope
1899         (pasteSelection): ditto
1900
1901         * buffer.h: declare oprator== and operator!= for
1902         Buffer::inset_iterator
1903
1904         * bufferlist.C (emergencyWrite): don't use fmt(...)
1905
1906         * text3.C: add using std::endl
1907
1908         * BufferView.C (moveCursorUpdate): remove default arg
1909
1910 2002-08-20  André Pönitz <poenitz@gmx.net>
1911
1912         * buffer.[Ch]: move inline functions to .C
1913
1914         * BufferView2.C:
1915         * BufferView_pimpl.C:
1916         * text.C:
1917         * buffer.[Ch]: use improved inset_iterator
1918
1919         * buffer.C:
1920         * paragraph.[Ch]: write one paragraph at a time
1921
1922 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
1923
1924         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1925         style if style is not specified.
1926
1927 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1928
1929         * text2.C (setCounter): when searching for right label for a
1930         caption, make sure to recurse to parent insets (so that a caption
1931         in a minipage in a figure float works) (bug #568)
1932
1933 2002-08-20  André Pönitz <poenitz@gmx.net>
1934
1935         * text3.C: new file for LyXText::dispatch() and helpers
1936
1937         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1938
1939         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1940
1941 2002-08-19  André Pönitz <poenitz@gmx.net>
1942
1943         * lyxtext.h:
1944         * text.C: new LyXText::dispatch()
1945
1946         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1947
1948 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
1949
1950         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1951
1952         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1953         Hebrew text.
1954
1955 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1956
1957         * Makefile.am: use $(variables) instead of @substitutions@
1958
1959 2002-08-15  André Pönitz <poenitz@gmx.net>
1960
1961         * lyxfunc.C:
1962         * BufferView_pimpl.C: streamlining mathed <-> outer world
1963         interaction
1964
1965         * commandtags.h:
1966         * LyXAction.C: remove unused LFUN_MATH
1967
1968 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1969
1970         * paragraph.[Ch]: add some NO_NEXT ifdefs.
1971
1972 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1973
1974         * paragraph.C (Paragraph): reformat a bit
1975         (cutIntoMinibuffer): use builtin InsetList function instad of
1976         doing it manually.
1977         (getInset): ditto
1978
1979         * buffer.C: include boost/bind.hpp, add using std::for_each
1980         (writeFileAscii): use ParagraphList iterators
1981         (validate): use for_each for validate traversal of paragraphs
1982         (getBibkeyList): use ParagraphList iterators
1983         (resizeInsets): use for_each to resizeInsetsLyXText for all
1984         paragraphs.
1985         (getParFromID): use ParagraphList iterators
1986
1987         * BufferView2.C (lockInset): use paragraph list and iterators
1988
1989 2002-08-14  John Levon  <levon@movementarian.org>
1990
1991         * lyxserver.C: remove spurious xforms include
1992
1993 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1994
1995         * lyxfunc.C (getStatus): disable math-extern outside of math mode
1996
1997 2002-08-13  André Pönitz <poenitz@gmx.net>
1998
1999         * LyXAction.[Ch]:
2000         * lyxfunc.C: further cleaning
2001
2002 2002-08-13  André Pönitz <poenitz@gmx.net>
2003
2004         * funcrequest.h: new constructor
2005
2006         * funcrequest.C: move stuff here from .h
2007
2008         * Makefile.am:
2009         * BufferView_pimpl.C:
2010         * LyXAction.C:
2011         * toc.C:
2012         * lyxfunc.C: subsequent changes
2013
2014         * lyxfunc.h: new view() member function
2015
2016         * lyxfunc.C: subsequent changes
2017
2018 2002-08-13  Angus Leeming  <leeming@lyx.org>
2019
2020         * BufferView2.C:
2021         * BufferView_pimpl.C:
2022         * buffer.C:
2023         * converter.C:
2024         * importer.C:
2025         * lyxfunc.C:
2026         * lyxvc.C:
2027         * toc.C:
2028         * vc-backend.C:
2029         changes due to the changed LyXView interface that now returns references
2030         to member variables not pointers.
2031
2032 2002-08-13  Angus Leeming  <leeming@lyx.org>
2033
2034         * WordLangTuple (word, lang_code): return references to strings,
2035         not strings.
2036
2037         * BufferView.h:
2038         * SpellBase.h:
2039         * lyxtext.h: forward-declare WordLangTuple.
2040
2041         * BufferView2.C:
2042         * ispell.C:
2043         * pspell.C:
2044         * text.C: #include "WordLangTuple.h".
2045
2046         * lyxtext.h:
2047         * text.C: (selectNextWordToSpellcheck): constify return type.
2048
2049 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
2050
2051         * buffer.C:
2052         * buffer.h:
2053         * lyxtext.h:
2054         * paragraph.C:
2055         * paragraph_pimpl.h:
2056         * text.C:
2057         * text2.C:
2058         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2059         suggested by Angus.
2060         Made updateCounter always count from start of buffer, and removed
2061         second argument (par).
2062         Reverted floats number display to '#'. Perhaps I'll try again when the
2063         code base is sanitized a bit.
2064
2065 2002-08-12  Angus Leeming  <leeming@lyx.org>
2066
2067         * buffer.[Ch] (getLabelList): constify.
2068
2069 2002-08-07  André Pönitz <poenitz@gmx.net>
2070
2071         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2072
2073         * funcrequest.h: extension to keep mouse (x,y) position
2074
2075 2002-08-12  Juergen Vigna  <jug@sad.it>
2076
2077         * BufferView2.C (insertErrors): forbid undo when inserting error
2078         insets.
2079
2080         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2081
2082 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
2083
2084         * ParagraphList.[Ch]: new files
2085
2086         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2087
2088         * BufferView2.C (lockInset): ParagraphList changes
2089         * toc.C: ditto
2090         * text2.C: ditto
2091         * bufferlist.C: ditto
2092         * buffer.h: ditto
2093         * buffer.C: ditto
2094
2095 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2096
2097         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2098         unused class variable counter_,
2099
2100         * paragraph.[Ch] (getFirstCounter): delete unused function
2101
2102         * counters.C: include LAssert.h
2103         (reset): add a new function with no arg, change other version to
2104         not have def. arg and to not allow empty arg.
2105
2106         * text2.C (setCounter): remove empty arg from call to Counters::reset
2107
2108 2002-08-11  John Levon  <levon@movementarian.org>
2109
2110         * Makefile.am: add WordLangTuple.h
2111
2112 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2113
2114         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2115         lyxfunc.C lyxlex_pimpl.C: ws changes only.
2116
2117         * insets/insettext.C: InsetList changes
2118
2119         * graphics/GraphicsSupport.C (operator()): InsetList changes
2120
2121         * toc.C (getTocList): InsetList changes
2122
2123         * paragraph_pimpl.[Ch]: InsetList changes
2124
2125         * paragraph.[Ch]: InsetList changes
2126
2127         * buffer.C (inset_iterator): InsetList changes
2128         (setParagraph): ditto
2129         * buffer.h (inset_iterator): ditto
2130         * iterators.C (operator++): ditto
2131         * iterators.h: ditto
2132
2133         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2134
2135         * InsetList.[Ch]: new files, most InsetList handling moved out of
2136         paragraph.C.
2137
2138         * BufferView2.C (removeAutoInsets): InsetList changes
2139         (lockInset): ditto
2140         (ChangeInsets): ditto
2141
2142 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2143
2144         * paragraph_pimpl.h (empty): new function
2145
2146         * paragraph.[Ch] (empty): new function
2147
2148         * other files: use the new Paragraph::empty function
2149
2150 2002-08-09  John Levon  <levon@movementarian.org>
2151
2152         * lyxtext.h: remove unused refresh_height
2153
2154 2002-08-09  John Levon  <levon@movementarian.org>
2155
2156         * Makefile.am:
2157         * sgml.h:
2158         * sgml.C:
2159         * buffer.C:
2160         * paragraph.h:
2161         * paragraph.C: move sgml char escaping out of paragraph
2162
2163         * paragraph.h:
2164         * paragraph.C: remove id setter
2165
2166         * buffer.C:
2167         * paragraph.C:
2168         * paragraph_pimpl.C: remove dead tex_code_break_column
2169
2170         * bufferview_funcs.C: small cleanup
2171
2172         * lyxfunc.C: remove dead proto
2173
2174         * lyxtext.h: make some stuff private. Remove some dead stuff.
2175
2176         * lyxgluelength.C: make as[LyX]String() readable
2177
2178 2002-08-08  John Levon  <levon@movementarian.org>
2179
2180         * LyXAction.h:
2181         * LyXAction.C:
2182         * MenuBackend.C:
2183         * ToolbarDefaults.C:
2184         * lyxfunc.C:
2185         * lyxrc.C:
2186         * toc.C: lyxaction cleanup
2187
2188 2002-08-08  John Levon  <levon@movementarian.org>
2189
2190         * BufferView2.C: small cleanup
2191
2192         * lyxfind.h:
2193         * lyxfind.C: move unnecessary header into the .C
2194
2195 2002-08-08  John Levon  <levon@movementarian.org>
2196
2197         * funcrequest.h: just tedious nonsense
2198
2199         * lyx_main.h:
2200         * lyx_main.C: cleanups
2201
2202         * buffer.C:
2203         * vspace.C: remove dead header lyx_main.h
2204
2205 2002-08-07  Angus Leeming  <leeming@lyx.org>
2206
2207         * Paragraph.[Ch]:
2208         * paragraph_pimpl.h:
2209         Forward declare class Counters in paragraph.h by moving the ctrs member
2210         variable into Paragraph::Pimpl.
2211         (counters): new method, returning a reference to pimpl_->ctrs.
2212
2213         * text2.C: ensuing changes.
2214
2215 2002-08-07  John Levon  <levon@movementarian.org>
2216
2217         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2218
2219         * BufferView_pimpl.C: announce X selection on double/triple
2220           click
2221
2222         * lyx_main.C: use correct bool in batch dispatch
2223
2224         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2225
2226 2002-08-07  André Pönitz <poenitz@gmx.net>
2227
2228         * funcrequest.h: new class to wrap a kb_action and its argument
2229
2230         * BufferView.[Ch]:
2231         * BufferView_pimpl[Ch]:
2232         * LaTeX.C:
2233         * LyXAction.[Ch]:
2234         * lyxfunc.[Ch]:
2235         * lyxrc.C: subsequent changes
2236
2237
2238 2002-08-07  John Levon  <levon@movementarian.org>
2239
2240         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2241           document options change.
2242
2243 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
2244
2245         * counters.[Ch]
2246         * text2.C
2247         * paragraph.[Ch]
2248         * makefile.am: move counters functionality over from
2249         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2250
2251 2002-08-06  John Levon  <levon@movementarian.org>
2252
2253         * WordLangTuple.h: new file for word + language code tuple
2254
2255         * SpellBase.h:
2256         * pspell.h:
2257         * pspell.C:
2258         * ispell.h:
2259         * ispell.C:
2260         * lyxtext.h:
2261         * text.C:
2262         * text2.C:
2263         * BufferView.h:
2264         * BufferView2.C: use WordLangTuple
2265
2266         * layout.h:
2267         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2268
2269 2002-08-06  John Levon  <levon@movementarian.org>
2270
2271         * lyx_main.C: fix cmdline batch handling
2272
2273 2002-08-06  André Pönitz <poenitz@gmx.net>
2274
2275         * lyxrc.C: set default for show_banner to true
2276
2277 2002-08-06  John Levon  <levon@movementarian.org>
2278
2279         * pspell.C: fix a crash, and allow new aspell to work
2280
2281 2002-08-06  John Levon  <levon@movementarian.org>
2282
2283         * lyxfunc.C:
2284         * kbmap.C: small cleanup
2285
2286         * vspace.h:
2287         * vspace.C: add const
2288
2289 2002-08-05  John Levon  <levon@movementarian.org>
2290
2291         * LyXAction.C: back to tabular-insert
2292
2293 2002-08-04  John Levon  <levon@movementarian.org>
2294
2295         * BufferView.h:
2296         * BufferView.C: cosmetic change
2297
2298         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2299
2300         * bufferlist.C:
2301         * buffer.h:
2302         * buffer.C:
2303         * lyxcb.h:
2304         * lyxcb.C:
2305         * lyxserver.C:
2306         * lyxvc.C:
2307         * vc-backend.C:
2308         * BufferView2.C: purge all "Lyx" not "LyX" strings
2309
2310         * lyxcursor.h:
2311         * lyxcursor.C: attempt to add some documentation
2312
2313         * lyxfunc.C:
2314         * commandtags.h:
2315         * LyXAction.C:
2316         * ToolbarDefaults.C:
2317         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2318           merge with LFUN_TABULAR_INSERT
2319
2320         * Makefile.am:
2321         * SpellBase.h:
2322         * ispell.h:
2323         * ispell.C:
2324         * pspell.h:
2325         * pspell.C: split up i/pspell implementations into separate
2326           files, many cleanups
2327
2328         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2329
2330         * text2.C: some cleanup
2331
2332         * lyxfunc.C: don't check for isp_command == "none" any more, it
2333           didn't make any sense
2334
2335 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
2336
2337         * counters.[Ch]
2338         * text2.C
2339         * paragraph.[Ch]
2340         * makefile.am: move counters functionality over
2341         from text2.C/paragraph.[Ch] to counters.[Ch], and
2342         make proper C++.
2343 2002-08-02  John Levon  <levon@movementarian.org>
2344
2345         * buffer.C: s/lyxconvert/lyx2lyx/
2346
2347 2002-08-02  Angus Leeming  <leeming@lyx.org>
2348
2349         * lyxlex.C: revert John's change as it breaks reading of the user
2350         preamble.
2351
2352 2002-08-02  Angus Leeming  <leeming@lyx.org>
2353
2354         * importer.C (Import):
2355         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2356         changes due to LyXView::view() now returning a boost::shared_ptr.
2357
2358 2002-08-02  John Levon  <levon@movementarian.org>
2359
2360         * lyxlex.C: small cleanup
2361
2362 2002-08-02  John Levon  <levon@movementarian.org>
2363
2364         * text2.C (status): small cleanup, no logic change
2365
2366 2002-08-01  John Levon  <levon@movementarian.org>
2367
2368         * buffer.h:
2369         * buffer.C (writeFile): don't output alerts, caller
2370           handles this
2371
2372         * bufferlist.C:
2373         * lyx_cb.C: from above
2374
2375         * lyxfunc.C: allow to open non-existent files
2376
2377 2002-07-31  John Levon  <levon@movementarian.org>
2378
2379         * lyxserver.C: don't let incidental errors get
2380           in the way (errno)
2381
2382 2002-07-30  John Levon  <levon@movementarian.org>
2383
2384         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2385
2386 2002-07-30  John Levon  <levon@movementarian.org>
2387
2388         * lyxserver.h:
2389         * lyxserver.C: remove I/O callback too
2390
2391 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2392
2393         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2394         log.
2395
2396 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2397
2398         * many files: strip,frontStrip -> trim,ltrim,rtrim
2399
2400 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2401
2402         * PrinterParams.h: remove extern containsOnly, and include
2403         support/lstrings.h instead.
2404
2405         * LaTeX.C (scanAuxFile): modify because of strip changes
2406         (deplog): ditto
2407         * buffer.C (makeLaTeXFile): ditto
2408         * bufferparams.C (writeFile): ditt
2409         * lyxfont.C (stateText): ditto
2410         * lyxserver.C (read_ready): ditto
2411         * vc-backend.C (scanMaster): ditto
2412
2413         * BufferView_pimpl.h: ws changes
2414
2415         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2416
2417 2002-07-26  André Pönitz <poenitz@gmx.net>
2418
2419         * kb_sequence.C: remove unnedred usings
2420
2421 2002-07-26  Juergen Vigna  <jug@sad.it>
2422
2423         * lyxfind.C (LyXReplace): we have to check better if the returned
2424         text is not of theLockingInset()->getLockingInset().
2425
2426 2002-07-25  Juergen Vigna  <jug@sad.it>
2427
2428         * lyxfind.C (LyXReplace): don't replace if we don't get the
2429         right LyXText.
2430
2431         * undo_funcs.C (createUndo): remove debugging code.
2432
2433 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
2434
2435         * buffer.C (parseSingleLyXformat2Token): Use default placement
2436         when reading old floats.
2437
2438         * FloatList.C (FloatList): Change the default placement of figure
2439         and tables to "tbp".
2440
2441 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
2442
2443         * MenuBackend.C: using std::max
2444
2445 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2446
2447         * MenuBackend.C (expandToc):
2448         (expandToc2): code moved from xforms menu frontend. It is now
2449         generic and TOCs are transparent to menu frontends.
2450
2451 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2452
2453         * toc.C (getTocList): protect against buf=0
2454
2455         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2456         Menu as first parameter. Now, this calls itself recursively to
2457         expand a whole tree (this will be useful for TOC handling)
2458         (expandFloatInsert): remove 'wide' version of floats
2459
2460         * MenuBackend.h (submenuname): returns the name of the submenu.
2461         (submenu): returns the submenu itself, provided it has been
2462         created by MenuBackend::expand
2463
2464 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2465
2466         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2467         insets which have noFontChange == true. (bug #172)
2468
2469 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2470
2471         * BufferView_pimpl.C: add connection objects and use them...
2472         (Pimpl): here.
2473
2474 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2475
2476         * MenuBackend.C (expandLastfiles):
2477         (expandDocuments):
2478         (expandFormats):
2479         (expandFloatListInsert):
2480         (expandFloatInsert):
2481         (expand): split expand in parts
2482
2483 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
2484
2485         * lyx_gui.C: use lyx_gui::exit()
2486
2487 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
2488
2489         * LyXAction.C: show the failing pseudo action
2490
2491 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
2492
2493         * buffer.C (readFile): Run the lyxconvert script in order to read
2494         old files.
2495
2496 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
2497
2498         * LyXAction.C:
2499         * commandtags.h:
2500         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2501
2502 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
2503
2504         * LyXAction.C:
2505         * commandtags.h:
2506         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2507
2508 2002-07-22  Herbert Voss  <voss@lyx.org>
2509
2510         * lengthcommon.C:
2511         * lyxlength.[Ch]: add support for the vertical lengths
2512
2513 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
2514
2515         * toc.[Ch]: std:: fixes
2516
2517 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2518
2519         * lyxrc.C: do not include lyx_main.h
2520
2521         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2522         for layouts
2523
2524         * lyxrc.C:
2525         * encoding.C:
2526         * bufferlist.C:
2527         * BufferView2.C: include "lyxlex.h"
2528
2529         * tabular.h:
2530         * bufferparams.h: do not #include "lyxlex.h"
2531
2532         * lyxtextclasslist.C (Add): remove method
2533         (classlist): renamed to classlist_
2534
2535         * paragraph_pimpl.C:
2536         * paragraph.C:
2537         * text2.C:
2538         * CutAndPaste.C:
2539         * bufferview_funcs.C:
2540         * bufferlist.C:
2541         * text.C:
2542         * LaTeXFeatures.C:
2543         * buffer.C:
2544         * toc.C (getTocList): use BufferParams::getLyXTextClass
2545
2546         * toc.C (getTocList): use InsetFloat::addToToc
2547
2548         * toc.[Ch]: new files, containing helper functions to handle table
2549         of contents
2550
2551         * lyxfunc.C (dispatch): no need to remove spaces around command
2552         given as a string
2553         (getStatus): handle LFUN_SEQUENCE by returning the status of the
2554         first command of the sequence; it is not very clever, but I do not
2555         have a better idea, actually
2556
2557         * LyXAction.C (LookupFunc): make sure to remove space at the
2558         beginning and end of the command
2559
2560 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2561
2562         * MenuBackend.C (getMenubar): new method: return the menubar of
2563         this menu set
2564         (read): treat differently reading of menu and menubar (in
2565         particular, the menubar has no name now)
2566         (Menu::menubar): remove
2567
2568         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2569         saving is finished
2570
2571 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
2572
2573         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2574         a bibitem inset in a RTL paragraph.
2575
2576 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
2577
2578         * paragraph_pimpl.C: constify
2579
2580         * BufferView_pimpl.C:
2581         * LaTeX.C:
2582         * lyxfunc.C: fix dispatch in a nicer way
2583
2584 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2585
2586         * lyxfunc.C (dispatch):
2587         * BufferView_pimpl.C:
2588         * BufferView_pimpl.h:
2589         * BufferView.C:
2590         * BufferView.h: rename Dispatch() to dispatch()
2591
2592         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2593
2594         * lyxlayout.C (Read): honor DependsOn tag
2595
2596         * lyxlayout.[Ch] (depends_on): new method
2597
2598         * version.C.in: update lyx_docversion
2599
2600         * LaTeXFeatures.C (getMacros): only define \LyX when needed
2601
2602         * paragraph.C (validate): remove from here...
2603         * paragraph_pimpl.C (validate): ... and move here
2604         (isTextAt): make it const
2605
2606         * buffer.C (getLists): ws cleanup
2607
2608 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
2609
2610         * language.C (read): Use iso8859-1 encoding in latex_lang
2611         (this prevents LyX from crashing when using iso10646-1 encoding).
2612
2613 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2614
2615         * text2.C (toggleInset): if cursor is inside an inset, close the
2616         inset and leave cursor _after_ it
2617
2618 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
2619
2620         * lyxfunc.C: move minibuffer completion handling out of here
2621
2622 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
2623
2624         * BufferView_pimpl.C:
2625         * LaTeX.C: fix dispatch calls
2626
2627 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
2628
2629         * text.C (drawChars): Fix Arabic text rendering.
2630
2631 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
2632
2633         * LyXAction.C:
2634         * commandtags.h:
2635         * lyxfunc.C: remove message-push/pop
2636
2637         * lyxserver.C:
2638         * lyxfunc.h:
2639         * lyxfunc.C: rationalise some code by removing verboseDispatch
2640           in favour of a bool argument to dispatch()
2641
2642 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2643
2644         * lyx_main.C (init): make sure to read symlinks as absolute paths
2645
2646 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
2647
2648         * lyxfunc.h:
2649         * lyxfunc.C: no need for commandshortcut to be a member
2650
2651 2002-07-15  André Pönitz <poenitz@gmx.net>
2652
2653         * converter.C: add support for $$s (scripts from lib/scripts dir)
2654         * lyx_main.C: white space
2655
2656 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
2657
2658         * bufferlist.C:
2659         * lyxrc.h:
2660         * lyxrc.C: remove second exit confirmation
2661
2662 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
2663
2664         * BufferView.h:
2665         * BufferView.C:
2666         * BufferView2.C:
2667         * BufferView_pimpl.h:
2668         * BufferView_pimpl.C:
2669         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2670
2671 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2672
2673         * MenuBackend.C (expand): add numeric shortcuts to document menu
2674
2675         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2676
2677 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2678
2679         * lyxfont.C (setLyXFamily):
2680         (setLyXSeries):
2681         (setLyXShape):
2682         (setLyXSize):
2683         (setLyXMisc):
2684         (lyxRead):
2685         * debug.C (value):
2686         * buffer.C (asciiParagraph): use ascii_lowercase
2687
2688 2002-07-15  Mike Fabian  <mfabian@suse.de>
2689
2690         * lyxlex_pimpl.C (search_kw):
2691         * lyxlex.C (getLongString):
2692         * converter.h (operator<):
2693         * converter.C (operator<):
2694         * buffer.C (parseSingleLyXformat2Token):
2695         (asciiParagraph):
2696         * ToolbarDefaults.C (read):
2697         * MenuBackend.C (checkShortcuts):
2698         (read):
2699         * LColor.C (getFromGUIName):
2700         (getFromLyXName): use the compare_ascii_no_case instead of
2701         compare_no_case, because in turkish, 'i' is not the lowercase
2702         version of 'I', and thus turkish locale breaks parsing of tags.
2703
2704 2002-07-16  Angus Leeming  <leeming@lyx.org>
2705
2706         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2707         now takes a Buffer const & argument.
2708
2709 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
2710
2711         * BufferView.C (resize): check there's a buffer to resize
2712
2713 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
2714
2715         * lyxfunc.C: remove dead code
2716
2717         * lyxserver.h:
2718         * lyxserver.C: use lyx_guii::set_read_callback
2719
2720 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
2721
2722         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2723         an inset in a RTL paragraph.
2724
2725 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
2726
2727         * lyxfunc.C: repaint after a font size update
2728
2729 2002-07-15  André Pönitz <poenitz@gmx.net>
2730
2731         * lyxlength.C: inBP should be able to return negative values
2732
2733 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
2734
2735         * lyxfunc.C: use lyx_gui::update_fonts()
2736
2737 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
2738
2739         * lyxfunc.C: use lyx_gui::update_color()
2740
2741 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
2742
2743         * bufferlist.C:
2744         * lyxfunc.h:
2745         * lyxfunc.C:
2746         * lyxrc.h:
2747         * lyxrc.C: remove file->new asks for name option, and let
2748           buffer-new take an argument
2749
2750 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
2751
2752         * BufferView_pimpl.C: remove unneeded extra repaint()
2753
2754 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
2755
2756         * LyXAction.C: allow command-sequence with NoBuffer
2757
2758         * lyxfunc.C: don't insist on trailing ';' for command-sequence
2759
2760 2002-07-10  Angus Leeming  <leeming@lyx.org>
2761
2762         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2763
2764 2002-07-09  Angus Leeming  <leeming@lyx.org>
2765
2766         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2767
2768 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
2769
2770         * lengthcommon.h: whitespace
2771
2772         * lyxfunc.C: update scrollbar after goto paragraph
2773
2774         * lyxtext.h: factor out page break drawing, and fix it so
2775           page break/added space paints as selected nicely
2776
2777 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
2778
2779         * BufferView_pimpl.C: add FIXMEs, clean up a little
2780
2781 2002-07-09  André Pönitz <poenitz@gmx.net>
2782
2783         * lyxfont.[Ch]: support for wasy symbols
2784
2785 2002-07-08  André Pönitz <poenitz@gmx.net>
2786
2787         * BufferView_pimpl.C: apply John's patch for #93.
2788
2789 2002-07-05  Angus Leeming  <leeming@lyx.org>
2790
2791         * BufferView_pimpl.C (buffer): generate previews if desired.
2792
2793         * LColor.h: add "preview" to the color enum.
2794
2795         * LColor.C (LColor): add a corresponding entry to the items array.
2796
2797         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2798         with this buffer.
2799
2800 2002-07-05  Angus Leeming  <leeming@lyx.org>
2801
2802         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2803         The body of the code is now in the method that is passed an ostream &
2804         rather than a file name.
2805         Pass an additional only_preamble parameter, useful for the forthcoming
2806         preview stuff.
2807
2808 2002-07-03  André Pönitz <poenitz@gmx.net>
2809
2810         * lyxfunc.C: simplify getStatus() a bit for math stuff
2811
2812 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2813
2814         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2815
2816 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2817
2818         * text.C (changeRegionCase): do not change case of all the
2819         document when region ends at paragraph end (bug #461)
2820
2821 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2822
2823         * paragraph.C (startTeXParParams):
2824         (endTeXParParams): add \protect when necessary
2825
2826 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2827
2828         * BufferView_pimpl.C (workAreaExpose): remove warning
2829
2830 2002-06-27  Angus Leeming  <leeming@lyx.org>
2831
2832         * Makefile.am: add lyxlayout_ptr_fwd.h.
2833
2834 2002-06-26  André Pönitz <poenitz@gmx.net>
2835
2836         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2837
2838 2002-06-25  Angus Leeming  <leeming@lyx.org>
2839
2840         * lyxfunc.C (dispatch): Comment out the call to
2841         grfx::GCache::changeDisplay. The method no longer exists now that the
2842         pixmap generation part of the graphics loader has been moved into
2843         InsetGraphics.
2844
2845 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2846
2847         * text2.C: layout as layout
2848
2849         * text.C: layout as layout
2850
2851         * tabular.C (OldFormatRead): layout as layout
2852
2853         * paragraph_pimpl.C (TeXDeeper): layout as layout
2854         (realizeFont): layout as layout
2855
2856         * paragraph.C (writeFile): layout as layout
2857         (validate): layout as layout
2858         (getFont): layout as layout
2859         (getLabelFont): layout as layout
2860         (getLayoutFont): layout as layout
2861         (breakParagraph): layout as layout
2862         (stripLeadingSpaces): layout as layout
2863         (getEndLabel): layout as layout
2864         (getMaxDepthAfter): layout as layout
2865         (applyLayout): layout as layout
2866         (TeXOnePar): layout as layout
2867         (simpleTeXOnePar): layout as layout
2868         (TeXEnvironment): layout as layout
2869         (layout): layout as layout
2870         (layout): layout as layout
2871
2872         * lyxtextclass.C (compare_name): new functor to work with
2873         shared_ptr, layout as layout
2874         (Read): layout as layout
2875         (hasLayout): layout as layout
2876         (operator): layout as layout
2877         (delete_layout): layout as layout
2878         (defaultLayout): layout as layout
2879
2880         * lyxlayout_ptr_fwd.h: new file
2881
2882         * lyxlayout.C (Read): layout as layout
2883
2884         * lyx_cb.C (MenuInsertLabel): layout as layout
2885
2886         * bufferlist.C (newFile): layout as layout
2887
2888         * buffer.C (readLyXformat2): layout as layout
2889         (parseSingleLyXformat2Token): layout as layout
2890         (insertStringAsLines): layout as layout
2891         (asciiParagraph): layout as layout
2892         (latexParagraphs): layout as layout
2893         (makeLinuxDocFile): layout as layout
2894         (simpleLinuxDocOnePar): layout as layout
2895         (makeDocBookFile): layout as layout
2896         (simpleDocBookOnePar): layout as layout
2897         (getLists): layout as layout
2898
2899         * LaTeXFeatures.C (getTClassPreamble): layout as layout
2900
2901         * CutAndPaste.C (cutSelection): layout as layout
2902         (pasteSelection): layout as layout
2903         (SwitchLayoutsBetweenClasses): layout as layout
2904
2905         * BufferView_pimpl.C (Dispatch): layout as layout
2906         (smartQuote): layout as layout
2907
2908         * BufferView2.C (unlockInset): layout as layout
2909
2910 2002-06-24  André Pönitz <poenitz@gmx.net>
2911
2912         * lyxfunc.C: fix #487
2913
2914 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
2915
2916         * lyxrc.h:
2917         * lyxrc.C:
2918         * lyxfunc.C: remove display_shortcuts, show_banner
2919
2920 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
2921
2922         * Buffer_pimpl.C: oops, update on resize
2923
2924 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
2925
2926         * buffer.C:
2927         * converter.C:
2928         * exporter.C:
2929         * lyxfunc.C:
2930         * BufferView.h:
2931         * BufferView.C: use repaint()
2932
2933         * BufferView_pimpl.h:
2934         * BufferView_pimpl.C: s/updateScreen()/repaint()/
2935           as it's a clearer description. Remove superfluous
2936           redraws.
2937
2938 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
2939
2940         * text.C: fix bug 488. Not ideal, but getting
2941           getWord() to work properly for the insets that
2942           matter is more difficult ...
2943
2944 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
2945
2946         * BufferView_pimpl.C:
2947         * LyXAction.C:
2948         * commandtags.h:
2949         * lyxfunc.C: remove the six million index lyxfuncs to just
2950           one, and DTRT (bug 458)
2951
2952 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
2953
2954         * BufferView.h:
2955         * BufferView.C:
2956         * BufferView_pimpl.h:
2957         * BufferView_pimpl.C: clean up resize() stuff,
2958           and unnecessary updateScreen()s
2959
2960 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
2961
2962         * BufferView.h:
2963         * BufferView.C:
2964         * BufferView_pimpl.h:
2965         * BufferView_pimpl.C:
2966         * lyxfind.h:
2967         * lyxfind.C:
2968         * minibuffer.C: remove focus management of workarea,
2969           not needed. Use screen's greyOut()
2970
2971 2002-06-17  Herbert Voss  <voss@lyx.org>
2972
2973         * converter.C: (convert) do not post a message, when converting
2974         fails, let the calling function decide what to do in this case
2975
2976 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
2977
2978         * lyxfunc.C: tidy up a little
2979
2980 2002-06-16    <alstrup@diku.dk>
2981
2982         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2983         Got rid of FORMS_H_LOCATION include. Now we are
2984         GUII.
2985
2986 2002-06-15  LyX Development team  <lyx@rilke>
2987
2988         * buffer.[Ch] (sgmlOpenTag):
2989         (sgmlCloseTag): Added support for avoiding pernicious mixed
2990         content. Return number of lines written.
2991
2992         (makeLinuxDocFile):
2993         (makeDocBookFile): Fixed calls to sgml*Tag.
2994         Simple white space clean.
2995
2996         (simpleDocBookOnePar): Simple white space clean.
2997
2998         * tabular.[Ch] (docBook): Renamed to docbook and got another
2999         argument to related with the pernicious mixed content.
3000
3001         (docbookRow): Fixed calls for docbook inset method.
3002
3003 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
3004
3005         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3006         so it's X11 independent.
3007
3008         * kb*.[Ch]: ditto.
3009
3010         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3011
3012 2002-06-15  Lyx Development team  <lyx@electronia>
3013
3014         * intl.h: Renamed getTrans to getTransManager.
3015
3016 2002-06-14  Angus Leeming  <leeming@lyx.org>
3017
3018         * Makefile.am: nuke forgotten stl_string_fwd.h.
3019
3020 2002-06-12  Angus Leeming  <leeming@lyx.org>
3021
3022         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3023
3024 2002-06-13  Angus Leeming  <leeming@lyx.org>
3025
3026         * LaTeX.C:
3027         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3028
3029 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
3030
3031         * kbmap.C (getiso): add support for cyrillic and greek
3032
3033 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3034
3035         * BufferView.h:
3036         * BufferView.C:
3037         * BufferView_pimpl.h:
3038         * BufferView_pimpl.C: move bogus scrolling logic
3039           to xforms
3040
3041 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3042
3043         * lyxfunc.C:
3044         * BufferView_pimpl.C: view->resize() change
3045
3046 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3047
3048         * BufferView_pimpl.C: topCursorVisible
3049           prototype change
3050
3051 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3052
3053         * Makefile.am:
3054         * lyx_gui.h:
3055         * lyx_gui.C: move to frontends/
3056
3057         * main.C:
3058         * lyx_main.h:
3059         * lyx_main.C: changes from above
3060
3061 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3062
3063         * intl.C:
3064         * intl.h:
3065         * kbmap.C:
3066         * kbsequence.C:
3067         * lyx_cb.C:
3068         * lyx_main.C: minor tidy
3069
3070 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3071
3072         * BufferView_pimpl.h:
3073         * BufferView_pimpl.C:
3074         * BufferView.h:
3075         * BufferView.C: make painter() const,
3076           remove dead code
3077
3078         * BufferView2.C: use screen() accessor
3079
3080         * lyx_main.h:
3081         * lyx_main.C: some minor cleanup
3082
3083 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3084
3085         * BufferView_pimpl.h:
3086         * BufferView_pimpl.C: remove enter/leaveView,
3087           use workHeight()
3088
3089 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3090
3091         * BufferView.h:
3092         * BufferView.C:
3093         * BufferView2.C:
3094         * BufferView_pimpl.h:
3095         * BufferView_pimpl.C: only construct screen once,
3096           rename
3097
3098         * lyxrc.C: remove pointless comment
3099
3100 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
3101
3102         * BufferView.h:
3103         * BufferView.C: remove active() and belowMouse()
3104
3105         * BufferView_pimpl.h:
3106         * BufferView_pimpl.C: use workarea() not workarea_,
3107           and make it use a scoped_ptr instead
3108
3109 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
3110
3111         * lyx_gui.C: add debug message on BadWindow
3112
3113 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3114
3115         * sp_spell.C: fdopen is not part of the C++ standard.
3116
3117         * paragraph.C (InsetIterator): use >= instead of ==
3118
3119 2002-06-07  Angus Leeming  <leeming@lyx.org>
3120
3121         Fixes needed to compile with Compaq cxx 6.5.
3122         * BufferView_pimpl.C:
3123         * DepTable.C:
3124         * buffer.C:
3125         * converter.C:
3126         * encoding.C:
3127         * lyx_gui.C:
3128         * lyx_main.C:
3129         * lyxtextclasslist.C:
3130         * minibuffer.C:
3131         * sp_spell.C:
3132         * tabular_funcs.C:
3133         * vc-backend.C:
3134         all c-library variables have been moved into namespace std. Wrap
3135         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3136
3137         * lyxlength.C:
3138         * tabular-old.C:
3139         * tabular.C:
3140         Add a using std::abs declaration.
3141
3142         * kbmap.h (modifier_pair):
3143         * paragraph.h (InsetTable, InsetList):
3144         * lyxfont.h (FontBits):
3145         type definition made public.
3146
3147         * bufferlist.C (emergencyWriteAll): the compiler complains that
3148         there is more than one possible lyx::class_fun template to choose from.
3149         I re-named the void specialisation as lyx::void_class_fun.
3150
3151         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3152
3153         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3154         the compiler is is unable to find tostr in write_attribute.
3155
3156 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3157
3158         * buffer.C (sgmlError): hide #warning
3159
3160 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3161
3162         * xtl/*: get rid of xtl, which is not in use anyway
3163
3164         * LyXAction.C (init):
3165         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3166         were unimplemented xtl experimentation
3167
3168 2002-06-04  André Pönitz <poenitz@gmx.net>
3169
3170         * lyxfunc.C: disable array operation on simple formulae
3171
3172 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
3173
3174         * converter.C: constify a bit
3175
3176 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
3177
3178         * lyx_gui.C: check xforms version correctly
3179
3180 2002-04-30  Herbert Voss  <voss@lyx.org>
3181
3182         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3183         "keep" option
3184
3185 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
3186
3187         * lyxvc.C: fix bug 416 (make sure buffer is saved before
3188           attempt to register it with a VCS)
3189
3190 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3191
3192         * lyx_main.C (init): honor variables LYX_DIR_13x and
3193         LYX_USERDIR_13x
3194
3195 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
3196
3197         * buffer.h:
3198         * buffer.C:
3199         * lyx_main.C: fix a crash on bad command line,
3200           and give a useful exit status on error
3201
3202         * lyxfunc.C (doImport): allow -i lyx to work
3203
3204 2002-03-30  André Pönitz <poenitz@gmx.net>
3205
3206         * lyxfunc.C: mathed font changes
3207
3208 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
3209
3210         * LaTeX.C:
3211         * importer.h:
3212         * importer.C:
3213         * lyx_sty.h:
3214         * lyx_sty.C:
3215         * lyxlex.C:
3216         * lyxrow.h:
3217         * lyxtext.h:
3218         * paragraph.h:
3219         * paragraph.C:
3220         * texrow.h:
3221         * texrow.C:
3222         * text.C:
3223         * trans_mgr.h: srcdocs, and some minor cleanups
3224
3225 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3226
3227         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3228         call getFont all the time)
3229
3230 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3231
3232         * switch from SigC signals to boost::signals
3233
3234 2002-05-29  André Pönitz <poenitz@gmx.net>
3235
3236         * paragraph_pimpl.C (getChar): don't call size() too often...
3237
3238 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3239
3240         * paragraph_pimpl.C (insertChar): do not try to update tables when
3241         appending (pos == size())
3242
3243         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3244         in order to reduce drastically the number of comparisons needed to
3245         parse a large document
3246
3247 2002-05-29  André Pönitz <poenitz@gmx.net>
3248
3249         * text.C:
3250         * text2.C:
3251         * lyxtextclass.C:
3252         * sp_pspell.h:
3253         * textclasslist.[Ch]:
3254         * sp_ispell.h: whitespace change
3255
3256 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3257
3258         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3259         lyxaction directly now.
3260
3261 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
3262
3263         * trans.C:
3264         * lyxfont.C:
3265         * lyxvc.C: remove unused headers
3266
3267 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
3268
3269         * Makefile.am:
3270         * buffer.h:
3271         * undostack.h:
3272         * undostack.C:
3273         * undo_funcs.h:
3274         * undo_funcs.C: some cleanups. Use shared_ptr
3275           and a template for the undo stacks.
3276
3277 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
3278
3279         * BufferView_pimpl.h:
3280         * BufferView_pimpl.C:
3281         * kbmap.h:
3282         * kbmap.C:
3283         * kbsequence.h:
3284         * kbsequence.C:
3285         * lyxfunc.h:
3286         * lyxfunc.C:
3287         * text2.C: use key_state/mouse_state
3288
3289 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3290
3291         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3292         and LSubstring
3293
3294         * chset.C: change include order
3295         (loadFile): use boost regex and get rid of LRegex and LSubstring
3296
3297         * Makefile.am (BOOST_LIBS): new variable
3298         (lyx_LDADD): use it
3299
3300         * LaTeX.C: change include order.
3301         (scanAuxFile): use boost regex and get rid of LRegex and
3302         LSubstring
3303         (deplog): ditto
3304
3305 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
3306
3307         * ColorHandler.h:
3308         * ColorHandler.C:
3309         * FontInfo.h:
3310         * FontInfo.C: moved to frontends/xforms/
3311
3312         * FontLoader.h:
3313         * FontLoader.C: moved into frontends for GUIIzation
3314
3315         * Makefile.am:
3316         * lyx_gui.C:
3317         * lyxfont.C:
3318         * lyxfunc.C: changes from above
3319
3320 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
3321
3322         * LColor.C: remove spurious X include
3323
3324         * BufferView_pimpl.C:
3325         * Makefile.am:
3326         * font.h:
3327         * font.C:
3328         * text.C:
3329         * text2.C: move font metrics to frontends/
3330
3331 2002-05-24  Juergen Vigna  <jug@sad.it>
3332
3333         * undo_funcs.C (textHandleUndo): fix the cursor selection after
3334         setting the undo_cursor.
3335
3336         * ParagraphParameters.h: include local includes first.
3337
3338 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3339
3340         * BufferView_pimpl.C:
3341         * BufferView_pimpl.h:
3342         * Makefile.am:
3343         * WorkArea.h:
3344         * WorkArea.C:
3345         * screen.C: move WorkArea into frontends/
3346
3347         * lyxscreen.h:
3348         * screen.C:
3349         * text.C:
3350         * BufferView.C:
3351         * BufferView2.C: move LyXScreen into frontends/
3352
3353         * lyxlookup.h:
3354         * lyxlookup.C:
3355         * lyx_gui.C: move lyxlookup into frontends/xforms/
3356
3357 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3358
3359         * BufferView2.C:
3360         * BufferView_pimpl.C:
3361         * FontLoader.C:
3362         * LyXView.h:
3363         * LyXView.C:
3364         * Makefile.am:
3365         * WorkArea.C:
3366         * XFormsView.h:
3367         * XFormsView.C:
3368         * buffer.C:
3369         * bufferlist.C:
3370         * bufferview_funcs.C:
3371         * converter.C:
3372         * importer.C:
3373         * lyx_cb.C:
3374         * lyx_gui.C:
3375         * lyx_main.C:
3376         * lyx_find.C:
3377         * lyxfunc.C:
3378         * lyxvc.C:
3379         * minibuffer.C:
3380         * text.C:
3381         * text2.C:
3382         * trans.C:
3383         * vc-backend.C: move LyX/XFormsView into frontends/
3384
3385 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3386
3387         * Makefile.am:
3388         * PainterBase.C:
3389         * PainterBase.h:
3390         * Painter.C:
3391         * Painter.h:
3392         * WorkArea.C:
3393         * WorkArea.h:
3394         * screen.C:
3395         * tabular.C:
3396         * text.C:
3397         * text2.C: move Painter to frontends/
3398
3399 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3400
3401         * buffer.C: comment out some some code that depend upon lyx_format
3402         < 220
3403
3404         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3405         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3406
3407         * buffer.h (NO_COMPABILITY): turn off compability
3408
3409         * ColorHandler.C: include scoped_array.hpp
3410
3411         * font.C: Use more specific smart_ptr header.
3412         * Painter.C: ditto
3413         * gettext.C: ditto
3414         * ShareContainer.h: ditto
3415         * lyx_main.h: ditto
3416         * kbmap.h: ditto
3417         * FontInfo.h: ditto
3418         * BufferView_pimpl.h: ditto
3419         * ColorHandler.h: ditto
3420
3421         * kbmap.C (defkey): change call to shared_ptr::reset
3422
3423 2002-05-21  Juergen Vigna  <jug@sad.it>
3424
3425         * buffer.C (insertErtContents): fix to insert ert asis if it is
3426         non empty. Skip it completely if it contains only whitespaces.
3427
3428 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
3429
3430         * BufferView_pimpl.C:
3431         * BufferView2.C: clear selection on paste (bug 393)
3432
3433 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3434
3435         * DepTable.C: include ctime
3436
3437 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
3438
3439         * buffer.C (latexParagraphs): Add new argument (moving_arg).
3440
3441 2002-05-14  Juergen Vigna  <jug@sad.it>
3442
3443         * text.C (breakParagraph): fixed function to honor the keepempty
3444         layout in the right maner and also to permit the right breaking
3445         algorithm on empty or non empyt keepempty paragraphs.
3446
3447         * paragraph.C (breakParagraph): we have to check also if the par
3448         is really empty (!size()) for isempty otherwise we do the wrong
3449         paragraph break.
3450
3451 2002-05-10  Juergen Vigna  <jug@sad.it>
3452
3453         * buffer.[Ch] : The following are only changes to the ert
3454         compatibility read reading old LaTeX layout and font stuff and
3455         convert it to ERTInsets.
3456
3457         * buffer.h: added isErtInset().
3458
3459         * buffer.C (struct ErtComp): add a fromlayout bool to check
3460         if we're inside a LaTeX layout.
3461         (isErtInset): new helper function.
3462         (insertErtContents): look for other ert insets before this one
3463         and insert the contents there, so that we don't have subsequent
3464         ERT insets with nothing between them. This way we create only one
3465         inset with multiple paragraphs. Also check if we don't insert only
3466         spaces ' ' as they are ignored anyway afterwards in the .tex file
3467         so if we have only spaces we will ignore this latex part in the
3468         new file.
3469         (parseSingleLyXformat2Token \\layout): better compatibility when
3470         reading layout-latex stuff.
3471         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3472         language tag.
3473         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3474         stuff after reading the inset only get the information back from
3475         the stack.
3476
3477 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
3478
3479         * buffer.C (makeLaTeXFile): Put language options after loading babel.
3480
3481         * LaTeXFeatures.C (getBabelOptions): New method.
3482
3483 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3484
3485         * BufferView_pimpl.C (Dispatch): work around missing argument for
3486         'layout'
3487
3488 2002-05-08  Juergen Vigna  <jug@sad.it>
3489
3490         * text.C (leftMargin): handle paragraph leftindent.
3491
3492         * paragraph.C (writeFile): write the new \\leftindent tag.
3493         (validate): handle leftindent code.
3494         (TeXEnvironment): handle paragraphleftindent code again.
3495
3496         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3497
3498         * buffer.C (parseSingleLyXformat2Token): added compatibility code
3499         for paragrap_extra indent code and new token \\leftindent.
3500         (latexParagraphs): handle the leftindent as environment.
3501
3502         * ParameterStruct.h: added leftindent support.
3503
3504         * ParagraphParameters.C (leftIndent): added support functions for
3505         the paragraph left indent.
3506
3507         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3508         more appropriate.
3509
3510 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
3511
3512         * paragraph.C (isRightToLeftPar): Return false for a paragraph
3513         inside insetERT.
3514
3515         * text.C (computeBidiTables): No bidi in insetERT.
3516
3517         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3518         in RTL documents.
3519
3520 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3521
3522         * version.C.in: pre 5
3523
3524 2002-05-02  José Matos  <jamatos@fep.up.pt>
3525         * buffer.C (makeDocBookFile): white space changes, add newline to
3526         command styles.
3527         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3528
3529         * tabular.C (docBook): fix typo.
3530
3531 2002-05-03  Juergen Vigna  <jug@sad.it>
3532
3533         * screen.C (drawFromTo): recalculate the rowpointer if we had a
3534         change in LyXText as we can not be sure it was not freed.
3535         (drawOneRow): remove unused code.
3536
3537         * text.C (drawInset): redo the calculation of the need_break_row as
3538         it could have a row which was already freed.
3539         (draw): look at the return value of drawInset and return false if
3540         it also returned false.
3541         (paintRowText): look at the return value of draw and return false if
3542         it also returned false.
3543
3544         * lyxtext.h: added bool return type to drawInset() and draw() so that
3545         if we have a change in the row so that the rowbreak has to be redone
3546         we abort drawing as it will be called again.
3547
3548 2002-05-02  Juergen Vigna  <jug@sad.it>
3549
3550         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3551         a change in the maintext also if we're inside an inset.
3552         (Dispatch): set the cursor again after a break line and after the
3553         screen has been updated as it could be we're in a different row.
3554
3555         * text2.C (fixCursorAfterDelete): check to make sure we don't request
3556         to set the cursor behind the pargraph with > size().
3557         (setCursor): check also for the same paragraph when checking where
3558         to put the cursor if we have a NFR inset.
3559
3560         * buffer.C (parseSingleLyXformat2Token): move the compatibility
3561         parts of layout read further up as it still was in the wrong
3562         position.
3563
3564 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3565
3566         * screen.C (drawFromTo): change sine fullRebreak always return
3567         true.
3568
3569         * buffer.C (parseSingleLyXformat2Token): reindent some
3570
3571         * BufferView_pimpl.C (update): change since fullRebreak always
3572         return true.
3573         (Dispatch): git rid of the last hardcoded "Standard"s.
3574
3575 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3576
3577         * text2.[Ch] (fullRebreak): make it return void now that we always
3578         returned true.
3579
3580 2002-04-30  Juergen Vigna  <jug@sad.it>
3581
3582         * buffer.C (parseSingleLyXformat2Token): reset the font before the
3583         ert compatibility check for "latex" layout.
3584
3585 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
3586
3587         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3588         minipages: use col% instead of p%, and also use the current font.
3589         (makeLaTeXFile): Fix use babel condition.
3590         (parseSingleLyXformat2Token): Correct font when reading old floats.
3591
3592 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
3593
3594         * BufferView_pimpl.C (Dispatch): Check that float type exists when
3595         inserting list of floats.
3596
3597 2002-04-25  Herbert Voss  <voss@lyx.org>
3598
3599         * MenuBackend.C (expand): don't add the graphics extensions to the
3600         export menu
3601
3602 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3603
3604         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3605         non-existing layout, do not complain if it was the default layout
3606         of the original class (bug #342)
3607
3608 2002-04-24  Juergen Vigna  <jug@sad.it>
3609
3610         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3611         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3612
3613 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
3614
3615         * buffer.C (getBibkeyList): If using \bibliography, return the
3616         option field with the reference itself. Enables us to provide natbib
3617         support when using \bibliography.
3618
3619 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
3620
3621         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3622
3623         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3624         natbib is provided by the LaTeX class.
3625
3626 2002-04-23  Juergen Vigna  <jug@sad.it>
3627
3628         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3629         Wakeup functions.
3630
3631         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3632
3633 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3634
3635         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3636
3637         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3638         ensuremath around textordmasculine, textordfeminine and
3639         textdegree.
3640
3641 2002-04-19  Juergen Vigna  <jug@sad.it>
3642
3643         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3644         reinitializing the buffer otherwise row-dimensions may be wrong.
3645         (update): reset also the selection cursors if they do exits otherwise
3646         their x/y positions may be wrong.
3647
3648         * text2.C (cursorDown): don't enter the inset if we came from a row
3649         above and are one row over the inset.
3650
3651         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3652         really leaving an inset.
3653
3654 2002-04-18  Juergen Vigna  <jug@sad.it>
3655
3656         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3657         of the selected paragraph does not have the selected layout also if
3658         the last one had!
3659
3660         * text2.C (setLayout): fixed bug which did not change last selected
3661         paragraph.
3662
3663         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3664         changed the read and substituted \\end_float with \\end_inset!
3665
3666         * BufferView_pimpl.C (cursorPrevious):
3667         (cursorNext): fixed to make it work with rows heigher than the work
3668         area without moving the cursor only the draw of the row.
3669         (workAreaMotionNotify): fix jumping over high rows.
3670
3671 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3672
3673         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3674         Ressler.
3675
3676 2002-04-16  Juergen Vigna  <jug@sad.it>
3677
3678         * text2.C (setCursor): set also the irow().
3679         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3680         (cursorUp):
3681         (cursorDown): support for locking an inset if the x_fix value goes
3682         inside it. That way I can transverse insets too with cursor up/down.
3683
3684         * lyxrow.h: added irow helper function same as other (i) functions.
3685
3686         * BufferView_pimpl.C (cursorPrevious):
3687         (cursorNext): fixed for insets!
3688
3689 2002-04-15  Juergen Vigna  <jug@sad.it>
3690
3691         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3692         position otherwise it is wrong in some cases.
3693
3694         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3695         inside the inset before the call.
3696
3697 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
3698
3699         * buffer.[Ch] (getBibkeyList): make it const.
3700
3701 2002-04-12  Juergen Vigna  <jug@sad.it>
3702
3703         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3704
3705         * text2.C (getCursorX): new helper function
3706         (setCursor): compute also ix_
3707         (setCursorFromCoordinates): set also ix.
3708
3709         * lyxcursor.h: added ix_ and helper functions.
3710
3711         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3712
3713         * buffer.C (insertStringAsLines): dont break paragraph if the this
3714         paragraph is inside an inset which does not permit it!
3715
3716         * text.C (breakParagraph): honor keepempty flag and break the paragraph
3717         also with no chars on this paragraph.
3718         (paintRowText): only paint stuff if it's inside the workarea!
3719
3720         * paragraph.C (breakParagraph): honor keepempty flag and break the
3721         paragraph always below not above.
3722
3723         * BufferView2.C (unlockInset): update the paragraph layout on inset
3724         unlock as we changed paragraph in such a case.
3725
3726         * lyxfind.C (LyXFind): clear the former selection if not found!
3727
3728         * text2.C (insertInset): freeze Undo after setUndo so that it is not
3729         again called in insertChar().
3730
3731         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3732         an inset which uses the whole row!
3733         (rightMargin): ditto.
3734         (insertChar): force a rebreak if we inserted an inset!
3735
3736 2002-03-28  Herbert Voss  <voss@lyx.org>
3737
3738         * lyxlength.[Ch]: add inBP() to get the right PS-point
3739         units (BigPoint). With inPixels we have rounding errors
3740
3741 2002-04-11  Juergen Vigna  <jug@sad.it>
3742
3743         * text2.C (setCursorFromCoordinates): set iy to the right value.
3744         (setCursor): add check if row->previous exists!
3745
3746         * buffer.C (parseSingleLyXformat2Token): reset font after read of
3747         an old float_type as this was the case in the old code!
3748
3749         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3750
3751         * BufferView2.C (showLockedInsetCursor): use iy
3752         (fitLockedInsetCursor): ditto
3753
3754         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3755         locked insets as there we have the right value now.
3756
3757         * lyxcursor.C: added iy_ variable and iy functions to set to the
3758         baseline of cursor-y of the locked inset.
3759
3760         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3761         (setCursor): fixed for insets which need a full row.
3762
3763         * text.C (rowLastPrintable): don't ignore the last space when before
3764         an inset which needs a full row.
3765         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3766         as last character of a row when before a inset which needs a full row.
3767
3768 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3769
3770         * version.C.in: update date
3771
3772         * text2.C (fullRebreak): try to always return true and see what
3773         happens...
3774
3775 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3776
3777         * MenuBackend.C (expand): use Floating::listName
3778
3779         * FloatList.C (FloatList): add listName argument to the built-in
3780         floats
3781
3782         * Floating.[Ch]: add listName member, which is the 'List of XXX'
3783         text associated with the float.
3784
3785 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3786
3787         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3788
3789 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3790
3791         * ShareContainer.h: add a couple of missing typenames.
3792
3793 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
3794
3795         * lyxrc.C (getDescription): use _() correctly rather than N_().
3796
3797 2002-03-28  Herbert Voss  <voss@lyx.org>
3798
3799         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3800         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3801
3802 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3803
3804         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3805         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3806
3807 2002-03-29  Juergen Vigna  <jug@sad.it>
3808
3809         * lyxfunc.C (dispatch): add a missing fitCursor call.
3810
3811         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3812         it was scrolled by a cursor move, so return the bool status.
3813
3814         * BufferView.C (fitCursor): return the bool flag also to the outside
3815         world as this is needed.
3816
3817         * screen.C (toggleToggle): don't subtract the offset if it's positive.
3818
3819         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3820         call the edit() as it is not needed (and wrong) IMO.
3821         (workAreaButtonPress): set the screen_first variable before evt.
3822         unlock the inset as this may change screen_first and then we have
3823         a wrong y position for the click!
3824
3825 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3826
3827         * MenuBackend.C (expand): another translation that I missed
3828
3829 2002-03-28  Juergen Vigna  <jug@sad.it>
3830
3831         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3832
3833         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3834
3835 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3836
3837         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3838
3839         * MenuBackend.C (expand): fix export/view/update when there is no
3840         document open.
3841
3842 2002-03-27  Herbert Voss  <voss@lyx.org>
3843
3844         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3845         and text%
3846
3847 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3848
3849         * bufferview_funcs.C (currentState): only show paragraph number
3850         for is DEVEL_VERSION is set.
3851
3852         * lyxfunc.C (dispatch): put warning in INFO channel
3853
3854         * MenuBackend.C (expand): translate the name of floats
3855
3856         * FloatList.C (FloatList): mark the float names for translation
3857
3858         * converter.C (convert): use LibScriptSearch
3859
3860 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3861
3862         * MenuBackend.C (defaults): fix default menu (we might as well get
3863         rid of it...)
3864
3865 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3866
3867         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3868         directory.
3869
3870 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3871
3872         * lyxvc.C: reorder includes.
3873
3874 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
3875
3876         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3877           properly
3878
3879 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
3880
3881         * CutAndPaste.C: change layouts earlier on paste
3882           to avoid crashing when calling getFont()
3883
3884 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
3885
3886         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3887         irritating #error.
3888
3889 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3890
3891         * WorkArea.C: remove 'Pending' debug message.
3892
3893         * most files: ws cleanup
3894
3895         * buffer.[Ch]: ws changes
3896
3897         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3898
3899 2002-03-21  Juergen Vigna  <jug@sad.it>
3900
3901         * tabular.C (SetMultiColumn): collapse also the contents of the
3902         cells and set the last border right. Added a Buffer const * param.
3903
3904 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3905
3906         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3907         linking or not.
3908
3909 2002-03-19  Juergen Vigna  <jug@sad.it>
3910
3911         * text2.C (clearSelection): reset also xsel_cache.
3912
3913         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3914         where it needs to be called (John tells us to do so too :)
3915         (selectionLost): reset sel_cache.
3916
3917         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3918
3919 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3920
3921         * text2.C (setCursorIntern): put debuging code in INSETS channel
3922
3923 2002-03-19  André Pönitz <poenitz@gmx.net>
3924
3925         * lyxfunc.C: tiny whitespace change
3926
3927 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3928
3929         * ToolbarDefaults.C (init):
3930         * LyXAction.C (init):
3931         * commandtags.h:
3932         * BufferView_pimpl.C (Dispatch):
3933         * lyxfunc.C (dispatch): remove LFUN_DEPTH
3934
3935 2002-03-19  Allan Rae  <rae@lyx.org>
3936
3937         * exporter.C (Export): removeAutoInsets before doing anything else.
3938         While I've just introduced a dependency on BufferView this really is
3939         the best place to clean the buffer otherwise you need to cleanup in
3940         a dozen places before calling export or cleanup in a dozen functions
3941         that export calls.
3942
3943         * converter.C (runLaTeX):
3944         (scanLog): Better handling of removeAutoInsets and screen updates.
3945
3946         * lyxfunc.C (dispatch): small whitespace changes
3947
3948 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3949
3950         * WorkArea.C (C_WorkAreaEvent): return a value.
3951         (event_cb): return 1 if we handled the event, 0 otherwise.
3952
3953         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3954
3955 2002-03-18  Juergen Vigna  <jug@sad.it>
3956
3957         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3958         (GetAdditionalWidth): ditto.
3959         (RightLine): ditto.
3960         (LeftLine): ditto.
3961
3962         * BufferView2.C (copy): use getLyXText() so that we do it inside an
3963         inset if we're there actually (probably not used right now but this
3964         is the direction to go for unifying code).
3965         (paste): disable code to clear the selection.
3966
3967         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3968         inside an InsetText and move the check further up as it is in the
3969         wrong place.
3970
3971         * text2.C (pasteSelection): set a selection over the pasted text.
3972
3973 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
3974
3975         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3976         and libgraphics to build on Cygwin.
3977
3978 2002-03-15  Juergen Vigna  <jug@sad.it>
3979
3980         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3981         inserting an Inset into the paragraph. I know this is not the best
3982         fix but we already use current_view in CutAndPaste so we will remove
3983         all of it's using at the same time.
3984
3985         * buffer.C (sgmlError): deactivated function till it is rewritten in
3986         the right mode, now it can create problems.
3987
3988         * paragraph.C (isLineSeparator): check if getInset returns != 0,
3989         before accessing it.
3990
3991 2002-03-14  Juergen Vigna  <jug@sad.it>
3992
3993         * undo_funcs.C (textHandleUndo): do the right thing when updating
3994         the inset after the undo/redo.
3995
3996         * text2.C (setCursor): just some testcode for #44 not ready yet.
3997
3998         * undo_funcs.C (textHandleUndo): set the next() and previous()
3999         pointers of the paragraph to 0 before deleting otherwise we have
4000         problems with the Paragraph::[destructor].
4001
4002         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4003         on a paragraph insertion.
4004
4005 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4006
4007         * buffer.C (asciiParagraph): use += operator for char append to
4008         string.
4009
4010         * paragraph.C (getFontSettings): compare >= not just >
4011         (highestFontInRange): ditto
4012         (setFont): ditto
4013
4014 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4015
4016         * paragraph.C: change several algorithm to be more appripriate for
4017         the problem domain. This is lookip in FontList and in the InsetList.
4018
4019 2002-03-13  André Pönitz <poenitz@gmx.net>
4020
4021         * commandtags.h:
4022         * LyXAction.C: remove unused LFUN_MATH_MACROARG
4023
4024 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
4025
4026         * commandtags.h:
4027         * LyXAction.C:
4028         * lyxfunc.C:
4029         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4030
4031 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4032
4033         * Painter.C (display): anon helper function, adjust code for this
4034         change.
4035         (pixmap): remove function.
4036
4037         * Painter.h: remove private display variable.
4038
4039         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4040
4041 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
4042
4043         * WorkArea.[Ch]: remove figinset_canvas cruft.
4044
4045 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4046
4047         * lyxtextclass.C (operator): add one item cache optimization.
4048
4049         * bufferlist.h: doxy changes
4050
4051         * bufferlist.C: ws changes
4052
4053         * DepTable.[Ch] (ext_exist): place const in the right spot.
4054
4055         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4056         call resizeInsets.
4057         (workAreaExpose): call resizeInsets when the with BufferView changes.
4058         (Dispatch): adjust for protectedBlank removal
4059         (specialChar): call updateInset if the insert went ok.
4060
4061         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4062         specialChar instead.
4063
4064         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4065
4066         * BufferView.h: doxy change
4067
4068         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4069
4070         * lyxtextclass.C (operator[]): remove non-const version
4071         (defaultLayout): remove non-const version
4072
4073 2002-03-12  Juergen Vigna  <jug@sad.it>
4074
4075         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4076         did resize the LyXText too.
4077
4078         * buffer.C (readLyXformat2): set layout information on newly allocated
4079         paragraphs.
4080
4081         * tabular.C (OldFormatRead): set layout information on the paragraph.
4082
4083 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4084
4085         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4086
4087 2002-03-11  Juergen Vigna  <jug@sad.it>
4088
4089         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4090         plainly wrong.
4091         (resizeCurrentBuffer): force also the insets to resize themselfes.
4092         (moveCursorUpdate): fixed up for InsetText.
4093
4094 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
4095
4096         * commandtags.h:
4097         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4098         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4099         value of Dialogs::tooltipsEnabled().
4100         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4101
4102 2002-03-08  Juergen Vigna  <jug@sad.it>
4103
4104         * BufferView_pimpl.C (updateInset): update inset inside inset also
4105         if it isn't inside theLockingInset().
4106
4107 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4108
4109         * buffer.C (asciiParagraph): redo some of the word and line length
4110         handling.
4111         (getLists): look for Caption instead of caption.
4112
4113 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4114
4115         * buffer.C (Buffer): initialize niceFile to true
4116         (makeLaTeXFile):
4117         (makeLinuxDocFile):
4118         (makeDocBookFile): make sure niceFile is true on exit
4119
4120 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4121
4122         * buffer.C (makeLaTeXFile): escape ~ in \input@path
4123
4124 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
4125
4126         * LyXSendto.C: remove.
4127         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4128         * lyx_gui.C: remove now-redundant comment.
4129         * ColorHandler.h: remove forward declaration of class WorkArea.
4130         * lyxfunc.C: remove #include "WorkArea.h".
4131
4132 2002-03-07  Juergen Vigna  <jug@sad.it>
4133
4134         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4135         got moved away with the DEPM and also set the inset_owner always
4136         right which before could have been omitted.
4137
4138 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4139
4140         * buffer.C (parseSingleLyXformat2Token): use default layout is the
4141         wanted layout is not found.
4142
4143 2002-03-07  Juergen Vigna  <jug@sad.it>
4144
4145         * CutAndPaste.C (cutSelection): another layout settings forgotten.
4146
4147 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4148
4149         * paragraph.C (breakParagraph): use default layout not layout of
4150         prev paragraph.
4151         (Paragraph): clear ParagraphParameters.
4152
4153 2002-03-06  Juergen Vigna  <jug@sad.it>
4154
4155         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4156         otherwise it would not be a valid lenght. Fixed a special case in
4157         the minipage compatibility read where we end the document with a
4158         minipage.
4159
4160         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4161         was set as it could be 0 for InsetTexts first entry.
4162
4163 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4164
4165         * paragraph.C (writeFile): if layout is empty write out
4166         defaultLayoutName().
4167
4168         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4169         file without named layout we set layout to defaultLayoutName().
4170
4171 2002-03-06  Juergen Vigna  <jug@sad.it>
4172
4173         * CutAndPaste.C (copySelection): set layout for new paragraph.
4174
4175         * text.C (prepareToPrint): leave ERT inset left aligned
4176         (leftMargin): don't indent paragraphs inside ERT insets
4177
4178 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4179
4180         * paragraph.C (breakParagraph): dont call clear do the work manually
4181
4182         * paragraph.[Ch] (clear): remove function
4183
4184 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4185
4186         * paragraph.C (Paragraph): dont call clear, the work has already
4187         been done.
4188
4189         * lyxtextclass.C (operator): assert if n is empty
4190
4191         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4192         work manually instead.
4193
4194 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
4195
4196         * BufferView_pimpl.C: protect selectionLost against text == 0
4197
4198 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4199
4200         * text.C (breakParagraph): fix a setting layout to '0' problem.
4201
4202 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4203
4204         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4205         final location of file, for the included files, and graphics.
4206
4207 2002-03-05  Juergen Vigna  <jug@sad.it>
4208
4209         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4210
4211 2002-03-04  Juergen Vigna  <jug@sad.it>
4212
4213         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4214
4215         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4216         last column of multicolumn cells.
4217         (SetWidthOfMulticolCell): recalculate NMC and real columns.
4218
4219 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4220
4221         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4222         file if it doesn't go to a temporary file.
4223
4224         * buffer.C (sgmlOpenTag):
4225         (sgmlCloseTag):  remove extra newline insertion.
4226
4227 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4228
4229         * text.C (getRowNearY): comment out debug msg
4230
4231 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4232
4233         * text2.C: first -> first_y
4234
4235         * text.C (getRowNearY): add some attemts at a possible
4236         optimization, not working.
4237
4238         * tabular.[Ch]: add BufferParams to several function so that newly
4239         created paragraph can be initialized to he default layotu for the
4240         buffers textclass.
4241
4242         * tabular-old.C (ReadOld): add buf->params to call of Init
4243
4244         * screen.C: rename text->first to text->first_y
4245
4246         * paragraph.C (breakParagraph): always set layout in the broken
4247         paragraph
4248
4249         * lyxtextclass.C (Read): remove lowercase
4250         (hasLayout): ditto
4251         (operator): ditto
4252         (delete_layout): ditto
4253
4254         * lyxtext.h: rename first -> first_y
4255
4256         * lyxlayout.C (Read): remove lowercase
4257         (name): ditto
4258         (setName): ditto
4259         (obsoleted_by): ditto
4260
4261         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4262
4263         * buffer.C (insertErtContents): add params are to InsetERT
4264         (parseSingleLyXformat2Token): add code to check if a paragraphs
4265         layout really exist.
4266         (parseSingleLyXformat2Token): add params to several inset
4267         constructors
4268         (asciiParagraph): remove lowercase, do the layout comparisons with
4269         no_case
4270
4271         * BufferView_pimpl.C (cursorNext): first -> first_y
4272         (resizeCurrentBuffer): first -> first_y
4273         (updateScrollbar): first -> first_y
4274         (scrollCB): first -> first_y
4275         (workAreaMotionNotify): first -> first_y
4276         (workAreaButtonPress): first -> first_y
4277         (checkInsetHit): first -> first_y
4278         (cursorPrevious): first -> first_y
4279         (cursorNext): first -> first_y
4280         (Dispatch): add buffer_->params to severl inset contructors
4281
4282 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4283
4284         * lyxlayout.C (Read): remove some debug info that I forgot.
4285
4286         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4287         clean up the code slightly.
4288         (makeLinuxDocFile): ditto
4289         (makeDocBookFile): ditto
4290
4291         * text2.C: layout as string
4292
4293         * text.C: layout as string
4294
4295         * paragraph_pimpl.C: layout as string
4296
4297         * paragraph.[Ch]: layout as string
4298
4299         * lyxtextclasslist.[Ch]: layout as string
4300
4301         * lyxtextclass.[Ch]: layout as string
4302
4303         * lyxtext.h: layout as string
4304
4305         * lyxlayout.[Ch]: layout as string
4306
4307         * lyx_cb.C: layout as string
4308
4309         * bufferview_funcs.C: layout as string
4310
4311         * bufferparams.C: layout as string
4312
4313         * buffer.C: layout as string
4314
4315         * LyXView.[Ch]: layout as string
4316
4317         * LaTeXFeatures.[Ch]: layout as string
4318
4319         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4320
4321         * BufferView_pimpl.C: change current_layout to string, remove
4322         lyx::layout_type.
4323         (Dispatch):
4324         (smartQuote):
4325         (insertInset):
4326         (workAreaButtonRelease): layout as string
4327
4328         * BufferView2.C (unlockInset): adjust
4329
4330         * vspace.C (asLatexCommand): use an explict temp variable.
4331
4332 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
4333
4334         * Makefile.am: use FRONTEND_*
4335
4336 2002-03-01  Juergen Vigna  <jug@sad.it>
4337
4338         * tabular.C (SetWidthOfMulticolCell): changed to something better
4339         I hope but still work in progress.
4340         (recalculateMulticolumnsOfColumn): renamed function from
4341         recalculateMulticolCells as it is more appropriate now.
4342         (SetWidthOfCell): calculate multicols better.
4343
4344 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4345
4346         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4347
4348         * lyxfunc.C (processKeySym): print sequence also if it is
4349         `deleted' (complete)
4350
4351         * kbsequence.C (print): print sequence even if it is deleted
4352         (complete would be a better word, actually).
4353
4354         * lyxfunc.C (dispatch): print complete options after a prefix key
4355
4356         * vspace.C (asLatexCommand): rewrite in a slightly different form.
4357
4358 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
4359
4360         * text2.C (setCharFont): eliminate setCharFont code duplication.
4361
4362 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4363
4364         * BufferView_pimpl.C (Dispatch): remove bogus handling of
4365         LFUN_TABULAR_FEATURE (bug #177)
4366
4367 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
4368
4369         * Makefile.am: remove figure.h
4370
4371 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
4372
4373         * Bufferview_pimpl.C:
4374         * CutAndPasteC:
4375         * LaTeX.C:
4376         * LyXSendto.C:
4377         * buffer.C:
4378         * bufferlist.C:
4379         * converter.C:
4380         * language.C:
4381         * lyxfunc.C:
4382         * lyxvc.C:
4383         * paragraph.C:
4384         * text.C:
4385         * text2.C: remove #include "lyx_gui_misc.h".
4386
4387         * LaTeX.C: added #include <cstdio>
4388
4389 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4390
4391         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4392         that the paragraph following this one can have.
4393
4394         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4395
4396         * vspace.C (asLatexCommand): fix bogus gcc warning
4397
4398         * Makefile.am (lyx_SOURCES): remove vms_defines.h
4399
4400 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
4401
4402         * text2.C (setLayout): get rid of redundant code
4403
4404 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
4405
4406         * text2.C (incDepth): make sure depth cannot be increased beyond
4407         reasonable values.
4408
4409 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
4410
4411         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4412         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4413
4414         * PainterBase.h (image):
4415         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4416         a LyXImage const *.
4417
4418 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
4419
4420         * BufferView.C:
4421         * BufferView.h:
4422         * BufferView_pimpl.C:
4423         * BufferView_pimpl.h:
4424         * LaTeXFeatures.C:
4425         * LyXAction.C:
4426         * LyXView.C:
4427         * Makefile.am:
4428         * UpdateList.h:
4429         * UpdateList.C:
4430         * buffer.C:
4431         * figure.h:
4432         * figureForm.C:
4433         * figureForm.h:
4434         * figure_form.C:
4435         * figure_form.h:
4436         * lyx_cb.C:
4437         * lyx_gui.C:
4438         * lyx_gui_misc.C:
4439         * lyxfunc.C:
4440         * sp_base.h:
4441         * sp_ispell.h:
4442         * sp_pspell.h:
4443         * sp_spell.C: remove fig inset, and the crap house of
4444           cards that follows it
4445
4446 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
4447
4448         * Makefile.am:
4449         * lyxserver.C:
4450         * os2_defines.h:
4451         * os2_errortable.h:
4452         * nt_defines.h: move .h into support/
4453
4454         * vms_defines.h: remove
4455
4456         * WorkArea.C: add space in debug output
4457
4458         * text2.C:
4459         * paragraph.C:
4460         * buffer.C: add WITH_WARNINGS
4461
4462         * vc-backend.h:
4463         * vc-backend.C:
4464         * bufferlist.C: s/retrive/retrieve/, add docs
4465
4466         * vspace.h:
4467         * vspace.C:
4468         * kbmap.h:
4469         * lyxlength.h:
4470         * lyxgluelength.h:
4471         * length_common.h:
4472         * chset.h:
4473         * chset.C: add docs
4474
4475         * lyxgui.C: add ID to X error handler
4476
4477         * lyxtestclass.c: fix typo
4478
4479 2002-02-26  Juergen Vigna  <jug@sad.it>
4480
4481         * tabular_funcs.C (write_attribute): changed so that some default
4482         attributes are not written at all.
4483         (getTokenValue): set default values before trying to read the
4484         value so we have the return value always set as default if we don't
4485         find the token we search for.
4486
4487         * tabular.C (Write): write bools as bools not as strings!
4488
4489 2002-02-22  Juergen Vigna  <jug@sad.it>
4490
4491         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4492         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4493
4494         * text.C (leftMargin): don't add an indent for paragraphs inside
4495         tabular cells (fix #208).
4496
4497 2002-02-21  José Matos  <jamatos@fep.up.pt>
4498
4499         * tabular.C (docBook): fixed support for long tables.
4500
4501 2002-02-20  Juergen Vigna  <jug@sad.it>
4502
4503         * text2.C (getFont): get the drawing font of the Inset if this
4504         paragraph is inside an inset (only important for InsetERT for now).
4505
4506         * buffer.C (insertErtContents): use new lanugage params in ERT
4507         constructor.
4508
4509         * CutAndPaste.C: commenting out seemingly uneeded code.
4510
4511 2002-02-19  Allan Rae  <rae@lyx.org>
4512
4513         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4514         Iterators might be simple to use but they also get invalidated.
4515         (removeAutoInsets): renamed saved cursor tracking variables and added
4516         some comments to clarify what everything does.
4517
4518 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
4519
4520         * Chktex.C:
4521         * LaTeX.C:
4522         * LyXSendto.C:
4523         * converter.C:
4524         * lyx_cb.C:
4525         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4526         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4527
4528         * lyxfunc.C:
4529         * vc-backend.h: remove #include "support/syscall.h"
4530
4531         * LaTeX.C:
4532         * LyXSendto.C:
4533         * converter.C: rearrange #includes in Lars' approved fashion.
4534
4535         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4536         forward declare class Timeout in the header file.
4537
4538         * XFormsView.C: changes due to the above.
4539
4540         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4541         similar to LyXView.
4542
4543         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4544         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4545
4546 2002-02-18  José Matos  <jamatos@fep.up.pt>
4547
4548         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4549         insets contents.
4550
4551 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
4552
4553         * a lot of small ws changes
4554         * add a lot of using std::XXX
4555         * use std construcs some places where approp.
4556         * use some exisint stuff from lyxfunctional where approp.
4557         * Make file changes to use partial linking (lets test this now...)
4558
4559 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
4560
4561         * Chktex.C:
4562         * buffer.C:
4563         remove #include "support/syscontr.h" as it's redundant. Always has been.
4564
4565         * Chktex.C:
4566         * LaTeX.C:
4567         * LyXSendto.C:
4568         * converter.C:
4569         * lyx_cb.C:
4570         * vc-backend.C:
4571         change Systemcalls::System to Systemcalls::Wait and
4572         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4573         No change of functionality, just reflects the stripped down Systemcalls
4574         class.
4575
4576 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
4577
4578         * debug.[Ch]: add a GRAPHICS type to the enum.
4579
4580 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4581
4582         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4583
4584         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4585         there is an inset.
4586
4587 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4588
4589         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4590         match the changes below.
4591
4592         * text2.C (toggleInset): if there is not editable inset at cursor
4593         position, try to see if cursor is _inside_ a collapsable inset
4594         and close it.
4595
4596 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4597
4598         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4599         document menu has a nice checkbox
4600
4601 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4602
4603         * lyxlength.C (asLatexString): change PW to output as percent of
4604         \textwidth.
4605
4606         * lengthcommon.C: change '%' to 't%'
4607
4608         * lyxfunc.C (dispatch): a few comments from Martin
4609
4610 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
4611
4612         * WorkArea.h:
4613         * WorkArea.C:
4614         * BufferView_pimpl.h:
4615         * BufferView_pimpl.C: clear our selection when X tells us we've lost
4616           the X selection.
4617
4618 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4619
4620         * vspace.C (inPixels): fix compiler warning
4621
4622 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4623
4624         * lyxfunc.C (getStatus): fix status message for disabled commands.
4625
4626 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
4627
4628         * BufferView_pimpl.C: fix crash on close buffer
4629         during selection (#227)
4630
4631 2002-01-27  Herbert Voss  <voss@lyx.org>
4632
4633         * buffer.C: link old Figure to new graphic inset
4634
4635 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
4636
4637         * FontLoader.C (getFontinfo): Change the latex font names in order
4638         to match the names of type1inst.
4639
4640 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4641
4642         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4643
4644         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4645         (extchanged): ditto
4646         (ext_exist): ditto
4647         (remove_files_with_extension): ditto
4648         (remove_file): ditto
4649         (write): ditto
4650
4651         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4652         document is smaller than the work area height. Do not initialize
4653         static variables to 0.
4654
4655 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4656
4657         * lyx_gui.C (init): give the toolbar tooltips a normal font.
4658
4659         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4660         LFUN_LAYOUT_PARAGRAPHS.
4661
4662         * tabular.C (GetCellFromInset): new method. Finds an inset in a
4663         tabular. It is possible to provide a possible cell, which will
4664         typically be the actcell from the corresponding insettabular
4665
4666         * lyxfunc.C (getStatus): small cleanup; disable
4667         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4668         true
4669
4670 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4671
4672         * tabular.C (Validate): remove broken optimization (fixes bug #201)
4673
4674         * paragraph.C (startTeXParParams):
4675         (endTeXParParams): new methods. The LaTeX code to
4676         start/end paragraph formatting
4677         (simpleTeXOnePar): call startTeXParParams also when paragraph is
4678         empty (fixes bug #200)
4679
4680         * vspace.C (inPixels): adapt to the change below
4681         (inPixels): [later] more cleanups (remove unused variables)
4682
4683         * lyxlength.C (inPixels): change to use a width and a height as
4684         parameter.
4685
4686 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4687
4688         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4689         Replaced with \paperwidth
4690
4691         * DepTable.C (insert): add std:: qualifier
4692
4693 2002-01-18  Allan Rae  <rae@lyx.org>
4694
4695         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
4696         updated also?
4697
4698         * text.C (drawInset): Turned out I didn't know enough about how
4699         rebreaking worked.  This fixes most of the redraw problems.  I see
4700         an occasional cursor trail when a line is broken now and the cursor
4701         placement can seem out by a few pixels also after a rebreak.
4702
4703 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4704
4705         * buffer.C (parseSingleLyXformat2Token): update because minipage
4706         width is now a LyXLength
4707
4708         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4709
4710         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4711         math insets
4712
4713 2002-01-17  Juergen Vigna  <jug@sad.it>
4714
4715         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4716
4717         * BufferView2.C (lockInset): call edit() so that theLockingInset()
4718         is set correctly and the inset is updated correctly.
4719
4720 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4721
4722         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4723         the beginning of the loop.
4724
4725 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
4726
4727         * lyxrc.C: improve help for use_scalable_fonts
4728
4729 2002-01-17  Allan Rae  <rae@lyx.org>
4730
4731         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4732
4733 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4734
4735         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4736         make sure to set their inset_owner to the right value (bug #171)
4737
4738 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
4739
4740         * DepTable.h
4741         * DepTable.C: Implement mtime checking to reduce time spent doing
4742         CRCs.
4743
4744 2002-01-16  Juergen Vigna  <jug@sad.it>
4745
4746         * tabular.C (GetAdditionalHeight): one of error fixed.
4747
4748         * lyxrc.C (output): small fix in writing use_pspell.
4749
4750 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
4751
4752         * sp_base.h: #include LString.h
4753
4754 2002-01-16  Allan Rae  <rae@lyx.org>
4755
4756         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
4757         Can someone check this please?
4758
4759         * text.C (drawInset): It was possible that p.row would be removed by
4760         breakAgainOneRow upsetting a few other settings.  There may be another
4761         small tweak possible by setting need_break_row = 0 when p.row has been
4762         removed but I don't know enough about the logic here.
4763
4764 2002-01-15  Allan Rae  <rae@lyx.org>
4765
4766         * text.C (insertChar): removed conditional truism.
4767
4768         * BufferView2.C (removeAutoInsets): More tweaks.
4769         cur_par_prev could be a stray pointer.  Check for trailing empty line
4770         in case last line was cur_par and only had an error inset on it.
4771
4772 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4773
4774         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4775         absolute
4776
4777         * vc-backend.C (most methods):
4778         * exporter.C (Export):
4779         * converter.C (convert):
4780         (runLaTeX):
4781         * LyXSendto.C (SendtoApplyCB):
4782         * lyxfunc.C (dispatch):
4783         (menuNew):
4784         (open):
4785         (doImport):
4786         * lyx_cb.C (AutoSave):
4787         (InsertAsciiFile):
4788         * BufferView_pimpl.C (MenuInsertLyXFile):
4789         * buffer.C (runChktex): use Buffer::filePath().
4790
4791         * buffer.h: rename filename to filename_; rename filepath to
4792         filepath_ and make it private
4793         (filePath): new method
4794
4795         * buffer.C (writeFile): use fileName()
4796         (getLatexName):
4797
4798         * lyx_main.C (init): fix starting  of LyX when the binary is a
4799         link from so,ewhere else.
4800
4801         * minibuffer.C: include <cctype> for isprint
4802
4803 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
4804
4805         * buffer.C (parseSingleLyXformat2Token): changes associated with the
4806         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4807         name clash with InsetCollapsable's width function.
4808
4809 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4810
4811         * lastfiles.C: include <iterator>
4812
4813 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
4814
4815         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4816         std::count.
4817
4818         * buffer.C (makeLaTeXFile): ditto.
4819         Also make loop operation more transparent.
4820
4821 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
4822
4823         * ToolbarDefaults.C: remove trailing comma closing namespace.
4824
4825         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4826
4827         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4828         as in WorkArea.
4829
4830         * trans.C (Load): comment out unused variable, allowed.
4831
4832 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
4833
4834         * minibuffer.[Ch] (append_char): new method to recieve input from the
4835         drop-down completion browser. If a key was pressed, then recieve this
4836         char and append it to the existing string.
4837         (peek_event): modify the positioning data passed to the completion
4838         browser so that it can be placed above the minibuffer rather than below.
4839 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4840
4841         * LyXAction.C (init): alloe error-next for readonly documents.
4842
4843         * BufferView2.C (ChangeRefsIfUnique): use standard version of
4844         count.
4845
4846 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4847
4848         * bufferlist.C (readFile): create the buffer _after_ checking that
4849         the file exists.
4850
4851         * lyxfunc.C (verboseDispatch): fix handling of arguments
4852
4853         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4854
4855         * lyxrc.C: use string::erase() instead of initializing to "".
4856
4857
4858 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
4859
4860         * BufferView_pimpl.h:
4861         * BufferView_pimpl.C:
4862         * WorkArea.h:
4863         * WorkArea.C:
4864         * text2.C: tell X when we have made a selection for copying
4865
4866 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4867
4868         * BufferView_pimpl.C (MenuInsertLyXFile):
4869         * lyxfunc.C (menuNew):
4870         (open):
4871         (doImport): add shortcuts to directory buttons
4872
4873         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4874         open a float)
4875
4876         * lyxfunc.C (setStatusMessage):
4877         (getStatusMessage): new methods
4878         (getStatus):use setStatusMessage instead of setErrorMessage
4879         (dispatch): when function is disabled, set error message here
4880         [instead of in getStatus previously]
4881
4882         * BufferView_pimpl.C (workAreaButtonRelease): update
4883         toolbar/menubar here too.
4884
4885 2002-01-13  Allan Rae  <rae@lyx.org>
4886
4887         * BufferView2.C (removeAutoInsets): finished off earlier fix.
4888         Now seems indestructible.  Remaining task is to audit all other
4889         code affected by deleteEmptyParagraphMechanism.  One small quirk
4890         left is that an empty document with an error in the preamble can
4891         be made to report an error but no error box appears.  I don't know
4892         where it goes.
4893         (removeAutoInsets): Improved comments.
4894
4895 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
4896
4897         * Thesaurus.h:
4898         * Thesaurus.C: update for Aiksaurus 0.14
4899
4900 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4901
4902         * text2.C (firstParagraph): removed member function, all uses
4903         replaces with ownerParagraph
4904         (redoParagraphs): here
4905         (updateInset): here
4906         (toggleAppendix): here
4907         * BufferView2.C (insertErrors): here
4908         (setCursorFromRow): here
4909
4910 2002-01-13  Allan Rae  <rae@lyx.org>
4911
4912         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4913         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4914         There is still a way to segfault this although you may have to do this
4915         multiple times: Have an InsetERT with an unknown command in it.
4916         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4917         <down-arrow>, <Enter> again, View->DVI, BANG!
4918
4919         * text2.C (setCursor):
4920         (deleteEmptyParagraphMechanism):
4921         * lyxtext.h (setCursor):
4922         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4923         Making use of the return value may help fix other bugs.
4924
4925 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4926
4927         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4928
4929         * LyXView.C (updateMenubar): call MenuBar::update here
4930         (updateToolbar): but not here
4931         (showState): do not update toolbar/menubar
4932
4933         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4934         should need to care about that.
4935
4936         * lyxfunc.C (verboseDispatch): simplify a bit
4937         (getStatus): have a version which takes a pseudoaction, and
4938         another which requires a (kb_action,string).
4939
4940         * LyXAction.C (retrieveActionArg): make it work also when action
4941         is not a pseudo-action.
4942         (getActionName): simplify a bit
4943         (helpText):
4944
4945 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4946
4947         * lyxfunc.C (verboseDispatch): new families of methods with
4948         several ways to specify a command and a bool to indicate whether
4949         the command name and shortcut should be displayed in minibuffer
4950         (eventually, we could extend that to a finer bitmask like
4951         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4952         (dispatch): the pristine dispatch command which just, well,
4953         dispatchs! Note it still sets its result to minibuffer; I'm not
4954         sure we want that.
4955
4956         * lyxfunc.h: remove setHintMessage
4957
4958         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4959
4960 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4961
4962         * BufferView_pimpl.C (specialChar): delete new inset if we have
4963         not been able to insert it.
4964
4965         * kbmap.C: revert to using int instead of kb_action, since all we
4966         are dealing with is pseudo-actions.
4967
4968         * LyXAction.C (searchActionArg): change to return int instead of
4969         kb_action, since the result is a pseudoaction.
4970
4971 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
4972
4973         * buffer.C (insertErtContents): Fix (partially) the font bug.
4974
4975 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
4976
4977         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4978         as the other one is broken on my machine!
4979
4980 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
4981
4982         * commandtags.h:
4983         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4984
4985 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
4986
4987         * lyxrc.[Ch]: change names and descriptions of popup font variables to
4988         reflect their actual use. Provide compatibility code for older lyxrc
4989         files.
4990
4991         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4992         FL_NORMAL_STYLE.
4993         change names of popup font variables in line with the changes to lyxrc.C
4994
4995 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4996
4997         * buffer.C (asciiParagraph): avoid outputing a word twice after
4998         an inset.
4999
5000         * lyxrc.C (getDescription): document that document_path and
5001         template_path can be empty.
5002
5003 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5004
5005         * LaTeXFeatures.C (getMacros):
5006         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5007
5008         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5009
5010         * LaTeXFeatures.C (useFloat): require "float" here instead of in
5011         getPackages.
5012         (getPackages): rename feature "floats" to "float". Use an array to
5013         iterate over 'simple' features (i.e. just a \usepackage). Add
5014         handling of "amsmath" (renamed from "amsstyle").
5015
5016 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
5017
5018         * LaTeXFeatures.C (require): Prevent duplicate entries in the
5019         features list.
5020
5021 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
5022
5023         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5024         FuncStaus::FuncStatus & FuncStaus::some_method().
5025
5026 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
5027
5028         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5029         of the func_satus stuff. Edited and massaged in various ways by
5030         JMarc.
5031
5032         * lyxfunc.C (getStatus): use FuncStatus
5033
5034 2002-01-08  Juergen Vigna  <jug@sad.it>
5035
5036         * text.C (nextBreakPoint): use function Inset::isChar().
5037
5038         * paragraph.C (TeXOnePar): use function
5039         Inset::forceDefaultParagraphs.
5040
5041         * buffer.C (latexParagraphs): use function
5042         Inset::forceDefaultParagraphs.
5043
5044 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
5045
5046         * lyx_gui.C (init): set the style of the menu popups to
5047         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5048
5049 2002-01-07  Juergen Vigna  <jug@sad.it>
5050
5051         * text.C (setHeightOfRow): small fix
5052         (prepareToPrint): don't look at alignment if we don't have the place
5053         for doing it.
5054
5055 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
5056
5057         * box.C: New file. Move the Box methods and functions out of box.h,
5058         following Lars' suggestion.
5059
5060 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
5061
5062         * box.h: #include "support/LOstream.h", needed for inlined function.
5063
5064         * lyxtextclass.C:
5065         * lyxtextclasslist.C: added some using std declarations.
5066
5067 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
5068
5069         * box.h: make signed dimensions to allow insets wider than
5070           the screen (bug #162)
5071
5072         * BufferView_pimpl.C: add some insetHit debug
5073
5074 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
5075
5076         * vc-backend.C: add FIXME
5077
5078 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5079
5080         * lyxfunc.C (getStatus): enable code for showing math font status
5081         in toolbar/menu.
5082
5083 2002-01-07  Juergen Vigna  <jug@sad.it>
5084
5085         * text.C (nextBreakPoint): removed debug output not needed anymore.
5086
5087 2002-01-06  Juergen Vigna  <jug@sad.it>
5088
5089         * text.C (nextBreakPoint): fixed up this function we had this bug
5090         since ever but now hopefully we break row better.
5091         (insertChar): we have to check if an inset is the next char as it
5092         could now happen that a large inset is causing a break.
5093
5094 2002-01-05  Juergen Vigna  <jug@sad.it>
5095
5096         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5097         if it doesn't like to be drawed.
5098
5099 2002-01-04  Juergen Vigna  <jug@sad.it>
5100
5101         * BufferView2.C (lockInset): forgot to set a cursor.
5102
5103         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5104
5105 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
5106
5107         * FormMathsPanel.C:
5108         * FormMathsPanel.h
5109         * MathsSymbols.C:
5110         * form_maths_panel.C:
5111         * form_maths_panel.h:
5112         * form_maths_panel.fd: implemented sub- and super- buttons in math
5113         panel.
5114
5115         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5116         (or ^ space) to be used as in TeX (req'd by André).
5117
5118         * lyxfunc.C: Allow ^ and _ again to be used both as
5119         super/subscript (mathed) and as themselves (in text).
5120
5121 2002-01-03  Allan Rae  <rae@lyx.org>
5122
5123         * LyXView.C (updateWindowTitle): Setup a short icon title of either
5124         "LyX" or the filename of the current buffer if it has one.  This is a
5125         modified form of John Levon's patch.
5126
5127         * XFormsView.C (setWindowTitle): also set icon title.
5128
5129         * LyXView.h (setWindowTitle): signature changed.
5130         * XFormsView.h (setWindowTitle): ditto.
5131
5132 2002-01-02  Juergen Vigna  <jug@sad.it>
5133
5134         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5135
5136 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5137
5138         * screen.C (topCursorVisible): introduce a temp var for
5139         text->cursor.row(), handle the case where this row is null. (kindo
5140         hachish)
5141
5142         * text2.C (setCursor): add a couple of asserts.
5143
5144         * paragraph.h (inset_iterator): add -> operator
5145
5146         * paragraph.[Ch] (autoDeleteInsets): remove member function
5147
5148         * BufferView2.C (removeAutoInsets): rewrite to handle the old
5149         cursor pos correctly and handle inset deletion by itself.
5150         (insertErrors): move iterator declaration out of for expression
5151
5152         * lyxtextclass.C: add <algorithm>
5153
5154         * Makefile.am: added the new files to sources, removed layout.C
5155
5156         * layout.C: removed file
5157
5158         * layout.h: remove LYX_DUMMY_LAYOUT
5159
5160         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5161         layout.
5162
5163         * lyxlayout.[Ch]:
5164         * lyxtextclass.[Ch]:
5165         * lyxtextclasslist.[Ch]: new files
5166
5167         * include order changes to a lot of files, also changes because of
5168         the six new files.
5169
5170 2001-12-27  Juergen Vigna  <jug@sad.it>
5171
5172         * buffer.C (asciiParagraph): more fixes.
5173
5174         * tabular.C (ascii): make ascii export support export of only the
5175         data separated by a column-delimiter.
5176         (ascii): better support for ascii export.
5177
5178         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5179
5180 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5181
5182         * tabular_funcs.C: use a "using std::getline" instead of the
5183         previous fix from Angus (necessary for cxx + lyxstring)
5184
5185 2001-12-24  Juergen Vigna  <jug@sad.it>
5186
5187         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5188
5189         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5190         problems. First check a minipage also if we have some ert-contents
5191         (not only on par->size(), second set the right depth of the paragraph
5192         on the relink to the root-paragraph-list!
5193
5194         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5195         which then did not anymore update the main paragraphs on undo/redo!
5196
5197 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5198
5199         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5200         code. Support all font-changing funcs (even those which are not in
5201         menu currently). Support for reporting font settings in
5202         mathed (disabled until Andre provides a function on mathed's side).
5203
5204         * func_status.h (toggle): small helper function to set toggle
5205         state on a flag.
5206
5207 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
5208
5209         * tabular_funcs.C: getline -> std::getline
5210
5211 2001-12-21  Juergen Vigna  <jug@sad.it>
5212
5213         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5214         accessed and could be 0 (I couldn't generate this but it seems
5215         Michael could!).
5216
5217 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5218
5219         * tabular_funcs.C: add LIstream.h, move write_attribute to..
5220         * tabular_funcs.h: here and include iosfwd
5221
5222 2001-12-20  Juergen Vigna  <jug@sad.it>
5223
5224         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5225         inside inset but undo_par was.
5226
5227 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5228
5229         * Thesaurus.C: always include <config.h> in sources.
5230
5231         * Painter.h:
5232         * lyxlookup.h:
5233         * box.h: do not include <config.h> in header files
5234
5235         * text.C (paintLastRow): remove unused variable
5236
5237         * text.C (transformChar):
5238         (insertChar):
5239         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5240
5241         * Painter.C (text):
5242         * font.C (width): rewrite to use uppercase() instead of
5243         islower/toupper.
5244
5245         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5246
5247 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
5248
5249         * lyxfind.C: clean up of find failure position change
5250
5251 2001-12-20  Juergen Vigna  <jug@sad.it>
5252
5253         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5254
5255         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5256         (TeXRow): added to LaTeX a single tabular row.
5257         (TeXLongtableHeaderFooter): added to output LT-h/f data.
5258         (Latex): simplified and finally good LT-h/f support.
5259         (various_functions): just small adaptions for LT-h/f support.
5260
5261         * tabular_funcs.[hC]: added and moved here all not classfunctions
5262         of LyXTabular.
5263
5264 2001-12-19  Juergen Vigna  <jug@sad.it>
5265
5266         * tabular.[Ch]: better support for longtabular options (not finished
5267         yet!)
5268
5269 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5270
5271         * text.C (paintLastRow): use the label font instead of the font of
5272         the last character to compute the size of *_BOX. This makes more
5273         sense and avoids a crash with empty paragraphs.
5274         Use Painter::rectangle to draw EMPTY_BOX.
5275
5276 2001-12-19  Juergen Vigna  <jug@sad.it>
5277
5278         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5279         the paragraphs if the replaced paragraph is not the first one!
5280         Tried to delete not used paragraphs but does not work yet so for
5281         now it's inside #ifdef's and by default off!
5282
5283 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5284
5285         * MenuBackend.C: include "lyx_main.h" instead of declaring
5286         lastfiles (actually was declared as LastFiles* instead of a
5287         scoped_ptr).
5288
5289 2001-12-17  Juergen Vigna  <jug@sad.it>
5290
5291         * tabular.C (AppendColumn): applied John's fix
5292
5293 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
5294
5295         * BufferView.h:
5296         * BufferView.C:
5297         * BufferView_pimpl.h:
5298         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5299
5300         * Makefile.am:
5301         * box.h: new start of class for above
5302
5303         * lyxfunc.C: ignore space-only minibuffer dispatches.
5304           Show the command name when it doesn't exist
5305
5306         * minibuffer.C: don't add empty lines to the history
5307
5308         * minibuffer.C: add a space on dropdown completion
5309
5310 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
5311
5312         * text.C: fix line above/below drawing in insets
5313
5314 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5315
5316         * lyxlength.C (LyXLength): Initialize private variables.
5317
5318 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
5319
5320         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5321         when inserting error insets.
5322
5323 2001-12-13  Juergen Vigna  <jug@sad.it>
5324
5325         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5326         actually sometimes the before-paragraph.
5327         (setUndo): don't clear the redostack if we're not actually undoing!
5328
5329 2001-12-06  Juergen Vigna  <jug@sad.it>
5330
5331         * undo_funcs.C (textHandleUndo): well after John's hint I got here
5332         and fixed redoing of main paragraph, so we can use it now ;)
5333
5334         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5335
5336 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5337
5338         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5339         Juergen's request
5340
5341 2001-12-13  André Pönitz <poenitz@gmx.net>
5342
5343         * undostack.[Ch]:
5344         * undo_func.C: minor cleanup
5345
5346 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5347
5348         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5349         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5350         font in urw-fonts package which is marked as -urw-fontspecific and
5351         does not work (incidentally, changing the encoding in the
5352         fonts.dir of this package to -adobe-fontspecific fixes the
5353         problem).
5354
5355         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5356         is a crash when undoing first paragraph (Juergen, please take a
5357         look). THis does not mean the undo fix is wrong, just that it
5358         uncovers problems.
5359
5360         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5361         the (Paragraph*) version when needed instead of duplicating the
5362         code.
5363
5364         * text.C (workWidth): use Inset::parOwner to find out where the
5365         inset has been inserted. This is a huge performance gain for large
5366         documents with lots of insets. If Inset::parOwner is not set, fall
5367         back on the brute force method
5368
5369         * paragraph_pimpl.C (insertInset):
5370         * paragraph.C (Paragraph):
5371         (cutIntoMinibuffer): set parOwner of insets when
5372         inserting/removing them
5373
5374         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5375
5376 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
5377
5378         * commandtags.h:
5379         * LyXAction.C:
5380         * lyx_main.C:
5381         * lyxfunc.C:
5382         * mathed/formulabase.C:
5383         * mathed/math_cursor.[Ch]:
5384         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5385
5386
5387 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5388
5389         * lyxlength.[Ch] (operator!=): new function
5390
5391 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5392
5393         * text.C (workWidth): use Inset::parOwner to find out where the
5394         inset has been inserted. This is a huge performance gain for large
5395         documents with lots of insets. If Inset::parOwner is not set, fall
5396         back on the brute force method
5397
5398         * paragraph_pimpl.C (insertInset):
5399         * paragraph.C (Paragraph):
5400         (cutIntoMinibuffer): set parOwner of insets when
5401         inserting/removing them
5402
5403         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5404
5405 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5406
5407         * tabular-old.C (getTokenValue):
5408         * tabular.C (getTokenValue):
5409         (write_attribute): new versions for LyXLength
5410         (everywhere): adjust the use of widths
5411
5412         * tabular.h: change the type of widths from string to LyXLength
5413
5414 2001-12-11  Ben Stanley <bds02@uow.edu.au>
5415
5416         * paragraph.C: fixed missing line number count when exporting
5417         Environments to LaTeX file
5418
5419         * buffer.C: added informational message for checking line numbers.
5420
5421 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5422
5423         * text2.C (deleteEmptyParagraphMechanism): if there is only one
5424         paragraph, do the 'double space' part, but not the 'empty
5425         paragraph' one.
5426
5427         * text.C (workWidth): small optimization
5428         (getLengthMarkerHeight): use minimal size for negative lengths.
5429
5430 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
5431
5432         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5433
5434         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5435
5436 2001-12-11  André Pönitz <poenitz@gmx.net>
5437
5438         * FontLoader.C:
5439         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5440
5441 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
5442
5443         * text2.C: keep selection on a setFont()
5444
5445 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
5446
5447         * lyx_cb.C: another bv->text misuse, from insert label
5448
5449 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
5450
5451         * kbsequence.h:
5452         * kbsequence.C: re-instate nmodifier mask
5453
5454 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
5455
5456         * lyx_main.h: make lyxGUI private.
5457
5458 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
5459
5460         * lyxfind.C: place the cursor correctly on failed search
5461
5462 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5463
5464         * text.C (getLengthMarkerHeight): for small heights, the arrows
5465         are not always on top/bottom of the text
5466         (drawLengthMarker): smaller arrows; take the left margin in
5467         account; draw also vfills.
5468         (paintFirstRow):
5469         (paintLastRow): remove special code for vfill and standard spaces,
5470         since everything is handled in drawLengthMarker now.
5471
5472 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5473
5474         * buffer.C (insertErtContents): try to handle font and language
5475         interaction a bit better.g
5476
5477         * ColorHandler.C (updateColor): change the hash to cover the whole
5478         LColor enum, ws cleanup
5479         (getGCLinepars): ditto
5480         (getGCLinepars): only lookup in the linecache once.
5481
5482 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
5483
5484         * iterators.C (operator++): Make the iterator more robust
5485
5486         * BufferView2.C (removeAutoInsets): Use paragraph iterators
5487         (John's patch)
5488         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5489
5490 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5491
5492         * lyxtext.h:
5493         * text.C: better added space drawing
5494
5495 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5496
5497         * LyXView.C:
5498         * BufferView2.C: fix layout combo update on inset unlock
5499
5500 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5501
5502         * Makefile.am: don't compile unused files
5503
5504 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5505
5506         * lyxfunc.C:
5507         * commandtags.h:
5508         * LyXAction.C: remove old LFUN_LAYOUTNO
5509
5510 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5511
5512         * paragraph_pimpl.h:
5513         * paragraph_pimpl.C: isTextAt() doesn't need font param
5514
5515 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5516
5517         * lyxlex.h:
5518         * lyxlex.C: little cleanup
5519
5520 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5521
5522         * BufferView_pimpl.C: fix insertAscii for insets
5523
5524 2001-12-05  Juergen Vigna  <jug@sad.it>
5525
5526         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5527         set the right font on the "multi" paragraph paste!
5528
5529 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5530
5531         * trans_decl.h:
5532         * trans_mgr.[Ch]:
5533         * trans.[Ch]:
5534         * lyxgluelength.C:
5535         * lyxlength.C: remove out-commented code.
5536
5537         * BufferView_pimpl:
5538         * CutAndPaste.C:
5539         * DepTable.C:
5540         * buffer.C:
5541         * chset.C:
5542         * lastfiles.C:
5543         * lyxlex.C:
5544         * lyxlex_pimpl.C:
5545         * lyxserver.C:
5546         * screen.C:
5547         * tabular-old.C:
5548         * tabular.C:
5549         * text.C:
5550         * trans_mgr.C:
5551         * vc-backend.C: change "while(" to "while ("
5552
5553         * lyxlength.[Ch]: add zero function to check if length is zero or
5554         not
5555         * lyxgluelength.C: use it
5556
5557 2001-12-05  Allan Rae  <rae@lyx.org>
5558
5559         * lyxlength.C: Attempted a fix for the abs(int) header selection.
5560         Works for 2.95.3, from what I understand of Garst's reports this should
5561         work for other g++ versions.  We're screwed if the abs(int) definition
5562         changed between bugfix releases of gcc.
5563
5564 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
5565
5566         * text.C: fix chapter label offset !
5567
5568 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
5569
5570         * lyxtext.h:
5571         * text.C: fix hfill at end of line, clean up
5572
5573 2001-12-04  Juergen Vigna  <jug@sad.it>
5574
5575         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5576         that we force an update of the inset and it's owners if neccessary.
5577
5578 2001-12-03  Juergen Vigna  <jug@sad.it>
5579
5580         * text.C (rowLast): simplified code
5581
5582 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
5583
5584         * lyxfunc.C: fix show options on timeout
5585
5586 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5587
5588         * screen.C (topCursorVisible): scroll half a page when the cursor
5589         reached top of bottom of screen
5590
5591 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
5592
5593         * minibuffer.C: deactivate on loss of focus
5594
5595 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5596
5597         * vspace.[Ch] (operator!=): add operator.
5598
5599 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
5600
5601         * BufferView_pimpl.C: refuse to open an inset when
5602         there's a selection.
5603
5604 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
5605
5606         * BufferView_pimpl.C: allow to click on RHS of full row insets
5607
5608 2001-11-30  Juergen Vigna  <jug@sad.it>
5609
5610         * tabular.C (LyXTabular): add a same_id to set the same id's in the
5611         insets for undo reasons.
5612
5613 2001-11-28  André Pönitz <poenitz@gmx.net>
5614
5615         * vspace.[Ch]: cosmetical changes
5616
5617 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
5618
5619         * LyXAction.h:
5620         * LyXAction.C:
5621         * lyxfunc.h:
5622         * lyxfunc.C:
5623         * kbmap.h:
5624         * kbmap.C:
5625         * lyxrc.C:
5626         * kbsequence.h:
5627         * kbsequence.C: part re-write of old kb code
5628
5629         * Painter.C:
5630         * WorkArea.C: remove Lgb_bug_find_hack
5631
5632 2001-11-30  José Matos <jamatos@fep.up.pt>
5633
5634         * buffer.C (makeDocBookFile): add a comment to point a hack.
5635         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5636         Fixed a double write of labels.
5637
5638 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5639
5640         * LaTeX.C:
5641         * LaTeX.h Fixed bug in LaTeX class where it would not
5642         re-run latex if no depfiles were changed, but the .dvi was removed.
5643
5644 2001-11-28  André Pönitz <poenitz@gmx.net>
5645
5646         * all the files from the change on 2001/11/26:
5647         use lyx::layout_type instead of LyXTextClass::size_type
5648         use lyx::textclass_type instead of LyXTextClassList::size_type
5649
5650 2001-11-29  Juergen Vigna  <jug@sad.it>
5651
5652         * text.C: added support for paragraph::isFreeSpacing()
5653
5654         * buffer.C: same as above
5655
5656         * paragraph.h: inserted isFreeSpacing() function to enable
5657         FreeSpacing inside InsetERT.
5658
5659         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5660         of the paragraph's in the cut/copy buffer to 0!
5661
5662         * text2.C (removeRow): remove the assert as it can!
5663
5664         * lyxtext.h: added helper function firstRow returning firstrow and
5665         made firstrow private again.
5666
5667         * BufferView2.C (lockInset): don't relock if we're already locked!
5668
5669         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5670         the only paragraph.
5671         (removeRow): added Assert::(firstrow)
5672
5673         * debug.C: forgot to add INSETTEXT here.
5674
5675 2001-11-28  Juergen Vigna  <jug@sad.it>
5676
5677         * sp_spell.C (initialize): changed error text to more general
5678         spellchecker command use (not only ispell!)
5679
5680         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5681
5682         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5683
5684 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
5685
5686         * vspace.C: initialise lyxgluelength on failure
5687
5688 2001-11-28  Allan Rae  <rae@lyx.org>
5689
5690         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5691         declaration & definition that looks like a function declaration.
5692
5693 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5694
5695         * BufferView2.C (copy):
5696         (copyEnvironment): do not clear the selection when doing a copy.
5697
5698         * text.C (paintFirstRow): compilation fix
5699
5700 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
5701
5702         * tabular.C (Latex): correct line count when writing latex.
5703
5704 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
5705
5706         * paragraph_pimpl.h:
5707         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5708           bug a bit
5709
5710 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
5711
5712         * text.C:
5713         * LColor.h:
5714         * LColor.C: change vfillline->added_space
5715
5716         * text.C: add markers and text for added space
5717
5718         * vspace.C: fix comment
5719
5720 2001-11-28  André Pönitz <poenitz@gmx.net>
5721
5722         * paragraph.C: whitespace changes
5723         * all the other files from the change on 2001/11/26:
5724         change *::pos_type into lyx::pos_type
5725
5726 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5727
5728         * buffer.C (parseSingleLyXformat2Token): Set the language to the
5729         language of the document when inserting error insets.
5730
5731 2001-11-26  André Pönitz <poenitz@gmx.net>
5732
5733         * BufferView_pimpl.[Ch]:
5734         *       CutAndPaste.C:
5735         * buffer.[Ch]:
5736         * lyxcursor.[Ch]:
5737         * lyxfind.C:
5738         * lyxfunc.C:
5739         * lyxrow.[Ch]:
5740         * paragraph.[Ch]:
5741         * paragraph_pimpl.[Ch]:
5742         * sp_spell.C:
5743         * text.C:
5744         * text2.C: reduce header dependencies, introduce type for positions
5745
5746 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
5747
5748         * <various>: change to use Alert.h
5749
5750 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5751
5752         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5753         when encountering an unknown token.
5754         (readLyXformat2): Show an error message if there were unknown tokens.
5755
5756 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
5757
5758         * BufferView2.C:
5759         * BufferView_pimpl.C:
5760         * buffer.C:
5761         * paragraph.h:
5762         * text.C:
5763         * text2.C: use par->isInset()
5764
5765 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
5766
5767         * paragraph_pimpl.h:
5768         * paragraph_pimpl.C: cleanup
5769
5770 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5771
5772         * text2.C (removeRow):
5773         * text.C (setHeightOfRow): remove useless (and costly) call to
5774         getRow.
5775
5776 2001-11-20  Allan Rae  <rae@lyx.org>
5777
5778         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5779         Now need Inset*::checkInsertChar() to return true for appropriate
5780         cases so that the characters in the minibuffer will actually be
5781         inserted.
5782
5783 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5784
5785         * text.C: change the order of the includes.
5786         (workWidth): initialize it at once.
5787         (workWidth): make maxw unsigned
5788         (setHeightOfRow): remove unused variable (inset)
5789         (selectSelectedWord): remove unused variable (inset)
5790         (paintRowText): fix drawing of hfill characters, and clean up a bit.
5791
5792 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5793
5794         * lyxserver.C (emergencyCleanup): do not try to close pipes if
5795         server is not running.
5796         (openConnection):
5797         (closeConnection): add debug info when server is disabled.
5798
5799         * ColorHandler.C (getGCForeground): send debug message to GUI
5800         channel.
5801
5802         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5803
5804         * kbmap.C (bind): modify because return conventions of
5805         kb_sequence::parse have changed.
5806
5807         * kbsequence.C (parse): only ignore spaces and not any stupid
5808         control character. This avoids tests like s[i] <= ' ', which are
5809         guaranteed to fail with 8bit characters and signed chars.
5810         Change return code to string::npos when there have been no error
5811         (0 was a bad idea when error is at first character)
5812
5813 2001-11-14  José Matos  <jamatos@fep.up.pt>
5814
5815         * buffer.h:
5816         * buffer.C (simpleDocBookOnePar): removed unused argument.
5817
5818 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5819
5820         * text.C (selectNextWordToSpellcheck): do not test explicitely for
5821         insets which are part of a word. Paragraph::isLetter takes care of
5822         that now. Use Paragraph::isInset to identify insets.
5823         (selectSelectedWord): do not test for hyphenation break.
5824
5825         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5826         that protected spaces are considered as spaces.
5827
5828         * paragraph.C (isLetter): cleanup the code for ispell extras; use
5829         Inset::isLetter.
5830
5831 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
5832
5833         * lyxserver.h:
5834         * lyxserver.C: fix it. and small cleanup.
5835
5836 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
5837
5838         * BufferView_pimpl.C: use inline helpers
5839
5840         * LaTeXFeatures.h:
5841         * LaTeXFeatures.C: fix typos
5842
5843         * Spacing.h:
5844         * Spacing.C: move spacing_string into class
5845
5846         * ToolbarDefaults.C: move stuff into namespace anon
5847
5848         * layout.h: update enum
5849
5850         * lyxfunc.C: use better debug
5851
5852         * minibuffer.h: fix typo
5853
5854         * debug.h:
5855         * debug.C:
5856         * WorkArea.C: add and use Debug::WORKAREA
5857
5858         * lyxtext.h:
5859         * text.C:
5860         * text2.C: code re-organisation, inline helpers
5861
5862 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
5863
5864         * Layout.C: replaced a few cases of std::vector.size() == 0 with
5865         std::vector.empty().
5866
5867 2001-11-09  Allan Rae  <rae@lyx.org>
5868
5869         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5870         '\n's after tables.  Tabular and ERT inset work now makes this no
5871         longer necessary.
5872
5873 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
5874
5875         * minibuffer.h:
5876         * minibuffer.C: fix crash, improve drop-down completion
5877
5878 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
5879
5880         * lyxserver.h:
5881         * lyxserver.C: invalidate fd's when doing endPipe()
5882
5883 2001-11-08  José Matos  <jamatos@fep.up.pt>
5884
5885         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5886         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5887
5888         * paragraph.h:
5889         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5890
5891 2001-11-07  José Matos  <jamatos@fep.up.pt>
5892
5893         * buffer.h:
5894         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5895         const qualifier.
5896
5897         * buffer.C (sgmlOpenTag):
5898         * buffer.C (sgmlCloseTag): removed debug info.
5899
5900         * buffer.h (sgmlOpenTag):
5901         * buffer.h (sgmlCloseTag): made public.
5902
5903 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5904
5905         * buffer.C (saveParamsAsDefaults):
5906         * lyx_cb.C (MenuLayoutSave): remove
5907
5908         * LyXAction.C (init):
5909         * commandtags.h:
5910         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5911
5912 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5913
5914         * buffer.C (setPaperStuff): removed from here...
5915
5916         * bufferparams.C (setPaperStuff): ... and moved there.
5917
5918 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
5919
5920         * minibuffer.h:
5921         * minibuffer.C:
5922         * XFormsView.C: add support for drop-down completion
5923
5924 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
5925
5926         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5927         commands.
5928
5929 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5930
5931         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5932         disabled.
5933
5934 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
5935
5936         * lyx_main.C: change ref to known bugs
5937
5938 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
5939
5940         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5941         to work around older babel problems.
5942
5943 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
5944
5945         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5946
5947 2001-10-24  Juergen Vigna  <jug@sad.it>
5948
5949         * tabular-old.C (ReadOld): below variable changes reflected.
5950
5951         * tabular.[Ch]: added ltType struct for longtable header/footer
5952         defines and changed all instances where they are used. Added
5953         future support for double top/bottom rows.
5954
5955 2001-10-24  José Matos  <jamatos@fep.up.pt>
5956
5957         * buffer.h (docbookHandleCaption):
5958         * buffer.C (docbookHandleCaption): removed unused function.
5959         (makeDocBookFile): moved docbook supported version to v4.1.
5960
5961 2001-10-24  José Matos  <jamatos@fep.up.pt>
5962
5963         * tabular.h:
5964         * tabular.C (docbookRow): new function to export docbook code of a row.
5965         (DocBook): now honors the longtable flags.
5966
5967 2001-10-23  José Matos  <jamatos@fep.up.pt>
5968
5969         * LaTeXFeatures.h:
5970         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5971         of the lyx defined sgml entities used in a docbook/linuxdoc document.
5972
5973         * buffer.C (makeLinuxDocFile):
5974         (makeDocBookFile): reworked the preamble, more clean, and with
5975         support for lyx defined entities. Changed the document declaration
5976         to be more XML friendly.
5977
5978         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5979         if we need to output XML that should be done with a filter.
5980
5981 2001-10-22  Juergen Vigna  <jug@sad.it>
5982
5983         * sp_pspell.h (class PSpell): add alive function needed in the
5984         controller to see if the spellchecker could be started.
5985
5986 2001-10-22  Juergen Vigna  <jug@sad.it>
5987
5988         * buffer.C (insertStringAsLines): modify the font for inserting
5989         chars in certain conditions by calling checkInsertChar(font).
5990
5991 2001-10-19  Juergen Vigna  <jug@sad.it>
5992
5993         * text.C (workWidth): use getRow instead of wrong algorithm.
5994         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5995
5996 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
5997
5998         * lyxserver.h:
5999         * lyxserver.C:
6000         * lyx_main.h:
6001         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6002
6003 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6004
6005         * text.C (workWidth): do not search for the exact row when
6006         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6007         optimization for big documents.
6008
6009 2001-10-18  Juergen Vigna  <jug@sad.it>
6010
6011         * text.C (workWidth): new function with added Inset * parameter.
6012
6013 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6014
6015         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6016
6017         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6018         change return type of getColumnNearX.
6019
6020
6021         * text.C (changeRegionCase): use uppercase/lowercase instead of
6022         toupper/tolower.
6023         (leftMargin):
6024         (rightMargin): simplify code by factoring out the uses of
6025         textclasslist.
6026         (labelFill):
6027         (numberOfHfills):
6028         (setHeightOfRow):
6029         (appendParagraph): use Paragraph::size_type
6030
6031 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6032
6033         * vspace.C (asLatexString): add a missing break
6034
6035 2001-10-15  Herbert Voss  <voss@perce.de>
6036
6037         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6038
6039 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6040
6041         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6042         is not available.
6043
6044 2001-10-10  André Pönitz <poenitz@gmx.net>
6045
6046         * lyxfunc.C: removed greek_kb_flag.
6047
6048 2001-10-10  Herbert Voss  <voss@perce.de>
6049
6050         * lyx_main.C: delete global string help_lyxdir.
6051
6052 2001-10-09  Herbert Voss  <voss@perce.de>
6053
6054         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6055
6056         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6057
6058         * lyx_main.C: added global string help_lyxdir.
6059
6060         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6061
6062 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6063
6064         * lyxrc.C (set_font_norm_type): support iso8859-4
6065
6066 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
6067
6068         * LaTeX.C (deplog): add another regex for MikTeX
6069
6070 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6071
6072         * lyxrc.C (set_font_norm_type): support iso8859-3
6073
6074 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6075
6076         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6077
6078         * LaTeXFeatures.C: remove special case of french and index
6079
6080         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6081         before \begin{document}). This solves several incompatibilities.
6082
6083 2001-10-03  Garst Reese  <reese@isn.net>
6084
6085         * lyx_cb.C: change CheckTex error msg.
6086
6087 2001-10-03  José Matos  <jamatos@fep.up.pt>
6088
6089         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6090
6091 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6092
6093         * .cvsignore: update
6094
6095         * lyx_main.C (commandLineVersionInfo): use new style version info.
6096
6097         * buffer.C (writeFile):
6098         (makeLaTeXFile):
6099         (makeLinuxDocFile):
6100         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6101
6102         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6103
6104         * version.h: update to use stuff in version.C
6105
6106         * version.C.in: new file. Contains version information determined
6107         at compile time. This is a merging of version.h and
6108         version_info.h.in.
6109
6110 2001-10-03  Juergen Vigna  <jug@sad.it>
6111
6112         * BufferView_pimpl.C (update): don't change "dirty" status in
6113         updateInset call.
6114
6115 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
6116
6117         * WorkArea.C (c-tor): re-position version string slightly.
6118
6119 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
6120
6121         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6122         revert to previous code.
6123
6124         WorkArea.[Ch]: (show, destroySplash): methods removed.
6125
6126         WorkArea.C: rework code so that it's an amalgam of the codes before and
6127         after the splash screen was moved to WorkArea.
6128
6129 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6130
6131         * lyxrc.C (read):
6132         * vspace.C (inPixels):
6133         (lyx_advance):
6134         * kbmap.C (bind):
6135         * buffer.C (insertStringAsLines):
6136         (asciiParagraph): fix types to be large enough
6137
6138         * lyxlex_pimpl.h: change member status from short to int
6139
6140         * layout.h: fix type of endlabeltype
6141
6142         * kbmap.C (bind):
6143         * kbsequence.C (parse): change return type to string::size_type
6144
6145         * LaTeX.C (updateBibtexDependencies): comment out unneeded
6146         variable
6147
6148         * Bullet.C (bulletSize):
6149         (bulletEntry): do not use short ints as parameters
6150
6151         * BufferView2.C (insertLyXFile): change a char to an int.
6152
6153         * WorkArea.C (WorkArea): remove unneeded floats in computation
6154
6155 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
6156
6157         * buffer.C (asciiParagraph): Treat '\\' as other chars.
6158
6159         * paragraph.C (asString): Do not ignore newline/hfill chars when
6160         copying to the clipboard.
6161
6162 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
6163
6164         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6165         after a multi-line inset.
6166
6167 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
6168
6169         * paragraph.C (validate): Set NeedLyXFootnoteCode
6170
6171 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
6172
6173         * lyxfont.C (LyXSizeNames): changed increase-error to increase
6174         and decrease-error to decrease.
6175
6176 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6177
6178         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6179         it more readable (should be equivalent)
6180
6181 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6182
6183         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6184
6185 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6186
6187         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6188         of a cursor (row, etc.) after a character has been deleted
6189         (deleteEmptyParagraphMechanism): call the method above on _all_
6190         cursors held by the LyXText when a double space has been
6191         detected/deleted.
6192
6193 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
6194
6195         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6196         pixmap.
6197         (resizeCurrentBuff): remove code to destroy the old splash dialog.
6198
6199         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6200         background. Use greyOut() and the new show() methods to toggle between
6201         the foreground and background. Add code to remove the splash after
6202         its initial showing.
6203
6204         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6205         (create_forms): no longer call Dialogs::showSplash.
6206
6207 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6208
6209         * .cvsignore: add version_info.h
6210
6211 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6212
6213         * version_info.h.in: new file
6214
6215         * Makefile.am: add version_info.h.in
6216
6217         * lyx_main.C (commandLineVersionInfo): use version_info defined in
6218         version_info.h instead of VERSION_INFO
6219
6220 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
6221
6222         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6223         The ERT inset now returns string().
6224
6225 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
6226
6227         * lyxtext.h, text.C (selectNextWord): renamed as
6228         selectNextWordToSpellcheck.
6229
6230         * text.C (selectNextWordToSpellcheck): Modified to not select
6231         words inside an ERT inset.
6232
6233 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6234
6235         * lyx_cb.C (MenuLayoutSave): change a bit the question
6236
6237         * sp_base.h: include <sys/types.h>
6238
6239 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
6240
6241         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6242
6243 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
6244
6245         * several files: fix typos in user-visible strings
6246
6247 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6248
6249         * text2.C (pasteSelection): do not set the selection, since it
6250         will be cleared later. Actually, the intent was to fix the way the
6251         selection was set, but I figured rmoving the code was just as good.
6252
6253 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
6254
6255         * FontLoader.C (available): Check if font is available without
6256         loading the font.
6257
6258 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6259
6260         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6261
6262 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
6263
6264         * lyxrc.[Ch]: added display_graphics variable and associated code.
6265
6266 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6267
6268         * bufferparams.C (hasClassDefaults): new method. Returns true if
6269         the buffer parameters correspond to known class defaults
6270
6271 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
6272
6273         * XFormsView.C (show): set minimum size to the main window.
6274
6275 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6276
6277         * text2.C (copySelection):
6278         (cutSelection):
6279         * lyxfind.C (LyXReplace):
6280         * BufferView_pimpl.C (Dispatch): pass the correct flag to
6281         LyXText::selectionAsString.
6282
6283         * paragraph.C (asString): add "label" argument to the second form
6284
6285         * text2.C (selectionAsString): add "label" argument and pass it to
6286         Paragraph::asString.
6287
6288 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6289
6290         * lyx_main.C (commandLineHelp): remove version information
6291
6292 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
6293
6294         * lyx_main.C: add -version commandline option
6295
6296 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6297
6298         * paragraph.h: make the optional constructor arg required instead.
6299         some modifications to other files because of this.
6300
6301         * minibuffer.C (C_MiniBuffer_peek_event): make it static
6302
6303         * lyxserver.C (C_LyXComm_callback): make it static
6304
6305         * lyx_main.C (error_handler): make it static
6306
6307         * lyx_gui.C (LyX_XErrHandler): make it static
6308
6309         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6310
6311         * WorkArea.C: make the extern "C" methods static.
6312
6313         * Makefile.am (lyx_LDADD): simplify
6314
6315 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
6316
6317         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6318         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6319
6320         * LyXAction.C (init):
6321         * lyxfunc.C (dispatch): associated code removal.
6322
6323 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6324
6325         * lyxfont.h (isSymbolFont): shut off warning
6326
6327         * text.C (setHeightOfRow):
6328         (getVisibleRow): fix crash with empty paragraphs which have a
6329         bottom line
6330
6331 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
6332
6333         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6334         code.
6335
6336 2001-09-04  José Matos  <jamatos@fep.up.pt>
6337         * buffer.C
6338         * buffer.h
6339         * tabular.C (docbook): rename docBook method to docbook.
6340
6341 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
6342
6343         * Makefile.am: add dependencies to main.o.
6344
6345 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
6346
6347         * FontLoader.C (available): Return false if !lyxrc.use_gui
6348
6349 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
6350
6351         * FontInfo.C (query):
6352         * converter.C (view):
6353         * importer.C (Import):
6354         * exporter.C (Export): Can not -> cannot.
6355
6356 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
6357
6358         * BufferView_pimpl.C: allow to create index inset even if
6359           string is empty
6360
6361 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
6362
6363         * buffer.C (getLists): replace boost::tie code with an explicit pair
6364         as boost::tie can break some compilers.
6365
6366         * iterators.h: Added a std:: declaration to the return type of
6367         ParIterator::size.
6368
6369 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
6370
6371         * lyxrc.C: add help for view_dvi_paper_option, default to safe
6372           case.
6373
6374 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
6375
6376         * iterators.[Ch]: New files. Provide paragraph iterators.
6377
6378         * buffer.C (changeLanguage): Use paragraph iterators.
6379         (isMultiLingual): ditto
6380
6381         * BufferView2.C (ChangeInsets): Use paragraph iterators.
6382
6383 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
6384
6385         * FontLoader.C: Support for cmr font.
6386
6387 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
6388
6389         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6390         (available): New method.
6391
6392         * FontInfo.C (getFontname): Use scalable fonts even when
6393         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6394         found.
6395
6396 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
6397
6398         * converter.C (Formats::view): reverted! Incorrect fix.
6399
6400 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
6401
6402         * converter.C (Formats::view): only output the -paper option
6403         if the dvi viewer is xdvi, thereby fixing bug #233429.
6404
6405 2001-08-23  Herbert Voss  <voss@perce>
6406
6407         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6408
6409 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6410
6411         * Spacing.h (Spacing): Set space to Default on in the default
6412         constructor.
6413
6414 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6415
6416         * vc-backend.h (RCS::versionString): add RCS to version
6417         (CVS::versionString): add CVS to version
6418
6419         * vc-backend.C (scanMaster): do not add CVS to version.
6420         (scanMaster): do not add RCS to version
6421
6422         * lyxvc.C (versionString): new method
6423
6424         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6425
6426 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6427
6428         * Spacing.C (set): initialize fval
6429
6430 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
6431
6432         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6433         " or \.
6434
6435 2001-08-16  Juergen Vigna  <jug@sad.it>
6436
6437         * lyxfunc.C (dispatch): implemented the new FINISHED states.
6438
6439 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
6440
6441         * BufferView_pimpl.C:
6442         * figureForm.C:
6443         * lyxtext.h:
6444         * text2.C: setParagraph takes linespacing now
6445
6446 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
6447
6448         * LyxAction.C: add internal LFUN_CITATION_INSERT
6449
6450         * LyXView.C: actually apply fix
6451
6452         * bufferlist.C: fix open non-existent file
6453
6454         * lyxfind.C: fix indentation
6455
6456         * lyxfunc.C: remove unneeded assert, fix typo
6457
6458 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
6459
6460         * MenuBackend.C: use "Floatname List"
6461
6462 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
6463
6464         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6465         when converting LaTeX layout to insetERT.
6466         Generate a non-collapsed float when reading old float
6467
6468 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
6469
6470         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6471         ERT insets.
6472
6473 2001-08-13  Juergen Vigna  <jug@sad.it>
6474
6475         * text.C (fill): return 0 instead of 20 as this seems to be the more
6476         correct value.
6477
6478 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
6479
6480         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6481         lyxrc.font_norm.
6482
6483 2001-08-13  Juergen Vigna  <jug@sad.it>
6484
6485         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6486         casesensitive off.
6487         (SearchBackward): comment out the unlocking of the inset_owner this
6488         should not be needed!
6489
6490 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
6491
6492         * Many files: Remove inherit_language, and add latex_language
6493
6494         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6495         collapsible insets.
6496
6497 2001-08-10  Juergen Vigna  <jug@sad.it>
6498
6499         * text.C (prepareToPrint): fixed hfill-width in draw!
6500
6501         * BufferView2.C (selectLastWord): save the selection cursor as this
6502         now is cleared in the function LyXText::clearSelection!
6503
6504 2001-08-08  Juergen Vigna  <jug@sad.it>
6505
6506         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6507         BACKSPACE type functions.
6508
6509         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6510         is only cutted from the document but not put in the cut-buffer, where
6511         still the old stuff should be.
6512
6513         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6514
6515         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6516
6517         * tabular.C (SetWidthOfCell): fixed special case where the width
6518         was not updated!
6519         (LeftLine): handle '|' in align_special.
6520         (RightLine): ditto
6521         (LeftAlreadyDrawed): ditto
6522         (SetWidthOfCell): ditto
6523
6524 2001-08-07  Juergen Vigna  <jug@sad.it>
6525
6526         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6527
6528 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6529
6530         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6531         * lyxlex.[hC]: ditto
6532
6533 2001-08-06  Juergen Vigna  <jug@sad.it>
6534
6535         * text.C (getVisibleRow): fix up row clearing a bit.
6536
6537 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6538
6539         * minibuffer.C: make sure the X server sees the changes in the input.
6540
6541 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6542
6543         * paragraph.C (getFont): split into...
6544         (getLabelFont): this
6545         (getLayoutFont): and this
6546         * paragraph_pimpl.C (realizeFont): calling this
6547
6548         * text2.C (getFont): split into...
6549         (getLayoutFont): this
6550         (getLabelFont): and this
6551         (realizeFont): all three calling this
6552
6553         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6554         files where used.
6555
6556 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6557
6558         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6559
6560 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
6561
6562         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6563         layouts from the Quote inset insertion.
6564
6565 2001-08-03  Juergen Vigna  <jug@sad.it>
6566
6567         * BufferView_pimpl.C (update): do the fitCursor only at the end!
6568
6569         * screen.C (drawFromTo): don't call fitcursor here and do the loop
6570         only if status not is already CHANGED_IN_DRAW (second level).
6571
6572         * text.C (draw): don't set the need_break_row when inside an
6573         InsetText LyXText.
6574
6575 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6576
6577         * buffer.C (parseSingleLyXformat2Token): handle more latex
6578         conversion cases.
6579
6580         * bufferview_funcs.[hC]: change function names to
6581         begin with small char, adjust other files.
6582
6583 2001-08-02  André Pönitz <poenitz@gmx.net>
6584
6585         * lyxfunc.C:
6586         BufferView_pimpl.C: remove broken special code for math-greek
6587
6588 2001-08-02  Juergen Vigna  <jug@sad.it>
6589
6590         * BufferView_pimpl.C (update): redone this function so that we
6591         update the text again if there was a CHANGE_IN_DRAW.
6592
6593         * screen.C (cursorToggle): removed LyXText parameter and recoded.
6594         (drawFromTo): added a new internal bool which is used by draw() and
6595         redraw() function.
6596         (general): some cursor drawing problems fixed.
6597
6598 2001-08-01  Juergen Vigna  <jug@sad.it>
6599
6600         * lyxfind.C (LyXFind): fixed
6601         (SearchForward): ditto
6602         (SearchBackward): ditto
6603
6604         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6605         spurius drawing of the cursor in the main area.
6606
6607         * text2.C (status): small fix which could lead to a segfault!
6608         (clearSelection): remove unneeded BufferView param.
6609
6610 2001-08-01  André Pönitz <poenitz@gmx.net>
6611
6612         * lyxfunc.C: small change due to changed mathed interface
6613
6614 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6615
6616         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6617
6618 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
6619
6620         * lyxfunc.c: fail gracefully if file doesn't exist
6621
6622         * LyXSendto.C:
6623         * buffer.C:
6624         * lyxfunc.C:
6625         * BufferView_pimpl.C: IsDirWriteable() proto changed
6626
6627         * LyXView.C: fix updateWindowTitle() to store the last title
6628
6629 2001-07-31  Juergen Vigna  <jug@sad.it>
6630
6631         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6632         the font (wrong since using of Paragraph::highestFontInRange).
6633
6634         * paragraph.C (highestFontInRange): added a default_size parameter.
6635
6636         * text.C (getVisibleRow): minor clear row changes (still not perfect).
6637         (setHeightOfRow): reformat
6638
6639 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6640
6641         * converter.[hC] + affected files: move to (inital-char)lowercase
6642         function names.
6643
6644         * ParagraphParameters.C (ParagraphParameters): remove commented code
6645
6646         * PainterBase.[Ch]: remove commented code
6647
6648         * LaTeXFeatures.h: add "bool floats" for float.sty
6649
6650         * LaTeXFeatures.C (LaTeXFeatures): init floats
6651         (require): handle float
6652         (getPackages): do it with floats
6653
6654 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6655
6656         * BufferView_pimpl.C (Dispatch): improve handling of
6657         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6658
6659         * commandtags.h: #include lyxfont.h here temporarily to avoid
6660         keybinding bug.
6661
6662         * bufferlist.h: include LString.h here.
6663
6664 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6665
6666         * text2.C (getStringToIndex): new method.
6667
6668 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
6669
6670         * *: Reduced header file dependencies all over.
6671
6672 2001-07-30  Baruch Even  <baruch@lyx.org>
6673
6674         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6675
6676 2001-07-29  Baruch Even  <baruch@lyx.org>
6677
6678         * buffer.C (readInset): Changed GRAPHICS to Graphics.
6679
6680 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6681
6682         * ParameterStruct.h (endif): add a default constructor to make
6683         sure that all variables is initialized.
6684
6685         * ParagraphParameters.C (ParagraphParameters): adjust
6686
6687 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6688
6689         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6690         index; also, check that there is something to index, and that it
6691         does not span over several paragraphs.
6692         (doubleClick): use WHOLE_WORD_STRICT for double click.
6693
6694         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6695
6696         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6697         scheme.
6698
6699 2001-07-26  Baruch Even  <baruch@lyx.org>
6700
6701         * buffer.C (readInset): Changed to call up InsetGraphics when reading
6702         an InsetFig figure, backwards compatible reading of old figure code.
6703
6704 2001-07-27  Juergen Vigna  <jug@sad.it>
6705
6706         * text2.C: font.realize function adaption.
6707
6708         * text.C (draw): add a warnings lyxerr text if needed.
6709
6710         * layout.C: font.realize function adaption.
6711
6712         * language.C: add inherit_language and implement it's handlings
6713
6714         * bufferview_funcs.C (StyleReset): remove language parameter from
6715         font creation (should be language_inherit now).
6716
6717         * bufferparams.C (writeFile): handle ignore_language.
6718
6719         * paragraph.C (getFontSettings): the language has to be resolved
6720         otherwise we have problems in LyXFont!
6721
6722         * lyxfont.C (lyxWriteChanges): added document_language parameter
6723         (update): removed unneeded language parameter
6724
6725         * paragraph.C (validate): fixed wrong output of color-package when
6726         using interface colors for certain fonts in certain environments,
6727         which should not seen as that on the final output.
6728
6729 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
6730
6731         * BufferView_pimpl.C:
6732         * Thesaurus.h:
6733         * Thesaurus.C:
6734         * Makefile.am:
6735         * commandtags.h:
6736         * LyXAction.C: add thesaurus support
6737
6738         * lyxfind.h:
6739         * lyxfind.C: add "once" parameter, for thesaurus, to not
6740           move to the next match
6741
6742 2001-07-26  Juergen Vigna  <jug@sad.it>
6743
6744         * lyxfont.C (realize): honor ignore_language too!
6745         (resolved): ditto.
6746
6747         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6748
6749         * text.C (draw): one place more for ignore_language to not draw
6750         itself!
6751
6752 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
6753
6754         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6755
6756 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6757
6758         * buffer.C (parseSingleLyXformat2Token): a more general fix for
6759         the minipage conversion problem.
6760
6761 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6762
6763         * buffer.C (parseSingleLyXformat2Token): check minipage if we
6764         insert an inset.
6765
6766 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6767
6768         * BufferView.h: don't forward declare WorkArea
6769
6770         * BufferView.C: don't include WorkArea.h
6771
6772 2001-07-25  André Pönitz <poenitz@gmx.net>
6773
6774         * commandtags.h:
6775         * LyXAction.C:
6776         * lyxfunc.C:  new LFUN 'math-space'
6777
6778         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6779
6780 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6781
6782         * text2.C (toggleInset): call open/close
6783
6784 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6785
6786         * lyxfunc.C (dispatch): add debug for the disabled case
6787
6788         * font.C (buttonText): make similar to rectText
6789
6790         * buffer.C (readInset): comment out parsing of insetlist and
6791         insttheorem
6792
6793         * PainterBase.C (rectText): small correction
6794
6795         * BufferView_pimpl.C: comment out insettheorem and insetlist
6796         * LyXAction.C: ditto
6797         * commandtags.h: ditto
6798
6799 2001-07-24  Juergen Vigna  <jug@sad.it>
6800
6801         * text.C (draw): honor the ignore_language.
6802
6803         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6804
6805 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6806
6807         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6808         char inset.
6809
6810 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6811
6812         * lyxtext.h: remove unused (and unimplemented) methods
6813
6814 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6815
6816         * text.C (getVisibleRow): honor background color
6817
6818         * PainterBase.h:
6819         * Painter.h: remove default color argument for fillRectangle
6820
6821         * text.C (backgroundColor): new method
6822
6823 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6824
6825         * text.C (getVisibleRow): adjust
6826
6827         * font.[Ch] (rectText): new method, metrics
6828         (buttonText): new method, metrics
6829
6830         * PainterBase.[hC]: make rectText and buttonText always draw and take
6831         fewer paramteres.
6832
6833 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6834
6835         * ToolbarDefaults.C (read):
6836         * MenuBackend.C (read): allow escaping in all strings
6837
6838         * BufferView_pimpl.C (insertAndEditInset): new method.
6839         (Dispatch): use insertAndEditInset whenever appropriate.
6840
6841         * BufferView_pimpl.C (insertNote): removed
6842
6843         * BufferView_pimpl.C (smartQuote): new method, moved from
6844         BufferView; if an insetquote cannot be inserted, insert a '"'
6845         character instead.
6846
6847         * BufferView2.C: remove insertCorrectQuote();
6848
6849         * lyxfunc.C (getStatus): Add support for all remaingin
6850         inset-insert lfuns.
6851
6852         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6853
6854         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6855         command (necessary to pass " as parameter of self-insert.
6856
6857         * text.C (selectWordWhenUnderCursor):
6858         (selectWord): add word_location parameter
6859         (selectWordWhenUnderCursor): same + remove special code for word
6860         boundary.
6861         (selectNextWord): use kind() to guess type of insetspecialchar,
6862         not latex().
6863
6864         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6865         (insertErtContents): create ert insets as collapsed.
6866         (readInset): better compatibility code for Info inset.
6867
6868 2001-07-20  Juergen Vigna  <jug@sad.it>
6869
6870         * lyxfunc.C (dispatch): use always LyXFind now!
6871
6872         * text2.C (init): add a reinit flag so that the LyXText can be
6873         reinited instead of deleted and reallocated (used in InsetText).
6874
6875         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6876
6877         * text.C: ditto
6878
6879         * text2.C: ditto
6880
6881 2001-07-18  Juergen Vigna  <jug@sad.it>
6882
6883         * text.C (selectNextWord): handle insets inside inset by calling
6884         always the bv->text functions so that we can go up the_locking_inset!
6885
6886         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6887         in strange locations when inside an inset!
6888
6889         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6890         handling to include insets.
6891
6892         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6893
6894 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6895
6896         * LyXAction.C (init):
6897         * commandtags.h:
6898         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6899         LIGATURE_BREAK, since the name is so stupid.
6900
6901 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
6902
6903         * buffer.C (readInset): enable reading of new InsetNotes as well as old
6904         InsetInfos.
6905
6906         * FontLoader.C: remove FORMS_H_LOCATION cruft.
6907
6908         * sp_form.[Ch]: remove.
6909
6910         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6911
6912         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6913         InsetInfo.
6914
6915         * src/buffer.C (readInset): ditto.
6916
6917 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6918
6919         * BufferView_pimpl.C (specialChar): new method. Obsoletes
6920         menuSeparator(), endOfSentenceDot(), ldots() and
6921         hyphenationPoint(), which are therefore removed.
6922         (Dispatch): handle LFUN_HYPHENATION_BREAK.
6923
6924         * LyXAction.C (init):
6925         * commandtags.h: add LFUN_HYPHENATION_BREAK.
6926
6927         * paragraph.C (getWord): removed.
6928
6929         * BufferView_pimpl.C (Dispatch): use last word or selection for
6930         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6931
6932         * lyx_main.C (queryUserLyXDir): do not ask before creating
6933         user_dir, except if it has been named explicitely.
6934
6935 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
6936
6937         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6938         a document of zero size.
6939
6940 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
6941
6942         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6943         approriately in the c-tor and in require().
6944         (getPackages): output the appropriate LaTeX for natbib support.
6945
6946         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6947         variables "use_natbib" and "use_numerical_citations" when reading the
6948         LyX file.
6949         (readInset): read the various natbib cite commands.
6950         (validate): white-space change.
6951
6952         * bufferparams.[Ch]: new variables "bool use_natbib" and
6953         "bool use_numerical_citations".
6954         (writeFile): output them in the LyX file.
6955
6956 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6957
6958         * lyxfunc.C (getStatus): add support for all the inset insertion
6959         commands.
6960
6961         * text2.C (insertInset):
6962         * paragraph.C (insetAllowed):
6963         * BufferView_pimpl.C (insertInset): update to take in account the
6964         renaming of insertInsetAllowed
6965
6966         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6967
6968         * text2.C (getInset): new method. returns inset at cursor position.
6969
6970         * BufferView_pimpl.C (Dispatch): changes because of this.
6971
6972         * LyXAction.C (init): rename open-stuff to inset-toggle.
6973
6974         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6975
6976         * text2.C (toggleInset): renamed from openStuff; use
6977         Inset::open().
6978
6979 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
6980
6981         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6982
6983         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6984
6985 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
6986
6987         * buffer.C (readLyXformat2): Add filename to the error dialog
6988
6989 2001-07-18  Juergen Vigna  <jug@sad.it>
6990
6991         * tabular.C (GetCellNumber): put an assert here instead of the check!
6992
6993 2001-07-17  Juergen Vigna  <jug@sad.it>
6994
6995         * BufferView_pimpl.C (toggleSelection): adapted too.
6996
6997         * text.C (selectNextWord): adapted for use with insets.
6998         (selectSelectedWord): ditto
6999
7000 2001-07-17  Juergen Vigna  <jug@sad.it>
7001
7002         * sp_spell.C (PSpell): fix initialitation order.
7003
7004 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7005
7006         * paragraph.C: spacing
7007
7008 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
7009
7010         * sp_spell.C: repair language selection for pspell
7011
7012 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7013
7014         * lyxfunc.h: change more methods to begin with lower char.
7015
7016 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
7017
7018         * buffer.C (parseSingleLyXformat2Token): Generate error insets
7019         for unknown layouts.
7020
7021 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7022
7023         * buffer.C (readLyXformat2): Generate an error dialog if there are
7024         unknown layouts.
7025
7026 2001-07-16  Juergen Vigna  <jug@sad.it>
7027
7028         * sp_spell.C: always compile ISpell part.
7029
7030         * lyxrc.C: added use_pspell entry and it's handling.
7031
7032 2001-07-13  Juergen Vigna  <jug@sad.it>
7033
7034         * sp_spell.C: removed double includes.
7035
7036 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
7037
7038         Consistent use of Lsstream.h:
7039         * Lsstream.h: added using std::stringstream for consistencies sake.
7040
7041         * buffer.C: removed using std::stringstream
7042
7043         * lyxfont.C (stateText):
7044         * paragraph.C (asString):
7045         * text.C (selectNextWord, selectSelectedWord):
7046         * text2.C (setCounter):
7047         * vspace.C (asString, asLatexString):
7048         std::ostringstream -> ostringstream.
7049
7050 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
7051
7052         * LyXAction.C: add LFUN_HELP_ABOUTLYX
7053         * commandtags.h: add LFUN_HELP_ABOUTLYX
7054         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7055
7056 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
7057
7058         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7059         cursorToggle()
7060         * lyx_gui_misc.C: remove spellchecker
7061         * lyxfunc.C: showSpellchecker
7062         * sp_base.h: added
7063         * sp_ispell.h: added
7064         * sp_pspell.h: added
7065         * sp_spell.C: added
7066         * sp_form.[Ch]: removed
7067         * spellchecker.[Ch]: removed
7068
7069 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
7070
7071         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7072         is set.
7073         (simpleTeXSpecialChars): Simply print the input character without
7074         any special translation if pass_thru is set.
7075
7076         * layout.h: Added bool pass_thru to layout class for being able to
7077         implement pass through of a paragraph for Literate Programming.
7078
7079         * layout.C: add LT_PASS_THRU to LayoutTags enum.
7080         * layout.C (LyXLayout): set pass_thru to flase in constructor.
7081         * layout.C (Read): add "passthru" to list of layout tags and add
7082         code to set the pass_thru boolean when it is read.
7083
7084 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7085
7086         * trans_decl.h: remove allowed from KmodInfo
7087
7088         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7089         remove allowed code
7090         (Load): adjust
7091
7092         * paragraph_pimpl.C (erase): use boost::prior
7093
7094         * Painter.C (text): use data() instead of c_str() when length is
7095         also provided.
7096         * WorkArea.C (putClipboard): ditto
7097         * font.h (width): ditto
7098
7099         * BufferView2.C: use it-> instead of (*it). for iterators
7100         * texrow.C: ditto
7101         * paragraph_pimpl.C: ditto
7102         * paragraph.C: ditto
7103         * minibuffer.C: ditto
7104         * language.C: ditto
7105         * kbmap.C: ditto
7106         * encoding.C: ditto
7107         * counters.C: ditto
7108         * converter.C: ditto
7109         * chset.C: ditto
7110         * Variables.C: ditto
7111         * TextCache.C: ditto
7112         * MenuBackend.C: ditto
7113         * LyXAction.C: ditto
7114         * LColor.C: ditto
7115         * FloatList.C: ditto
7116         * DepTable.C: ditto
7117         * ColorHandler.C (LyXColorHandler): ditto
7118
7119 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7120
7121         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7122
7123         * text2.C (openStuff): reintroduce this method (which had been
7124         nuked in NEW_INSETS frenzy).
7125
7126         * lyxfunc.C (Dispatch): when an action has not been handled, use
7127         its name in the error message, not its number.
7128
7129         * paragraph.C (inInset): change method name to begin with lowercase.
7130
7131         * undo_funcs.C:
7132         * text2.C: updates because of this.
7133
7134 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7135
7136         * ToolbarDefaults.C (add): add spaces in error message
7137
7138 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7139
7140         * buffer.C (readLyXformat2): initialize the ert comp. variables.
7141         (readLyXformat2): rename return_par to first_par, use lyxlex's
7142         pushToken and remove the manual push handling.
7143         (parseSingleLyXformat2Token): add another ert comp. variable:
7144         in_tabular, rename return_par to first_par. handle newlines better
7145
7146 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7147
7148         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7149
7150 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7151
7152         * text2.C (getParFromID): removed
7153
7154         * buffer.C (getParFromID): new method moved form lyxtext.
7155         * BufferView2.C (insertErrors): adjust
7156         (setCursorFromRow): adjust
7157         * BufferView_pimpl.C (restorePosition): adjust
7158         * lyxfunc.C (Dispatch): adjust
7159         * undo_funcs.C (textUndo): adjust
7160         (textRedo): adjust
7161         (textHandleUndo): adjust
7162         (textHandleUndo): adjust
7163
7164 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7165
7166         * buffer.C: up' the LYX_FORMAT
7167
7168         * lyxfont.h: turn NO_LATEX on as default
7169
7170         * buffer.C (insertErtContents): new methods of tex style compability.
7171         (parseSingleLyXformat2Token): use it several places.
7172         * tabular.C (OldFormatRead): and here
7173
7174 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7175
7176         * text2.C: remove some commented code.
7177         reindent file.
7178
7179         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7180         * trans.C: changes because of the above.
7181
7182 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
7183
7184         * text2.C (setCounter): Fix counters bug with bibliography layout.
7185
7186 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7187
7188         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7189         own member functions
7190         (simpleTeXSpecialChars): ditto
7191
7192 2001-07-06  Juergen Vigna  <jug@sad.it>
7193
7194         * a lot of files: changed the access to LyXText::status and the
7195         call of undo-functions.
7196
7197         * undo.[Ch]: added a inset_id to the undo informations.
7198
7199         * undo_funcs.[Ch]: added and moved here all undo functions.
7200
7201         * lyxtext.h: give the status enum a weight, made status_ a private
7202         variable and made accessor functions for it, removed the whole bunch
7203         of undo-functions as they are now in their own file, make some
7204         functions publically available. Added function ownerParagraph with
7205         int parameter.
7206
7207         * paragraph.[Ch]: added "bool same_ids" to the constructor,
7208         made InInset() a const function, added getParFromID() function.
7209
7210         * buffer.[Ch]: added const version for inset_iterator functions,
7211         added getInsetFromID() function.
7212
7213         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7214         changed undo functions for new version.
7215
7216 2001-07-05  Juergen Vigna  <jug@sad.it>
7217
7218         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7219         unknow mechanism does not call the proper constructor but only this
7220         one also if I request the other!?
7221
7222 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7223
7224         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7225
7226         * text2.C (LyXText): use initialization lists.
7227
7228         * lyxtext.h (Selection): initialize set_ and mark_
7229         (init): remove method
7230
7231 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
7232
7233         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7234
7235 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7236
7237         * screen.[Ch]: change method names to begin with lowercase
7238
7239         * BufferView_pimpl.C (updateScrollbar): simplify further and
7240         hopefully make it a bit faster.
7241
7242 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7243
7244         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7245         calling directly xforms functions.
7246
7247         * Painter.C (Painter):
7248         * lyx_cb.C (MenuWrite):
7249         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7250         fl_display.
7251
7252         * lyx_gui.C: remove bogus guiruntime extern declaration.
7253
7254 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7255
7256         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7257         in NEW_INSETS
7258         (redoDrawingOfParagraph): ditto
7259         (redoParagraphs): ditto
7260         (cutSelection): don't create a object for CutAndPaste use the
7261         static method directly
7262         (pasteSelection): ditto
7263
7264         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7265         LyXview (+ rename)
7266
7267 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7268
7269         * modifications to some other files because of this.
7270
7271         * Makefile.am (lyx_SOURCES): add XFormsView
7272
7273         * XFormsView.[Ch]: new files
7274
7275         * LyXView.[Ch]: make LyXView a base class for the gui handling for
7276         the main window. Move the gui dependent stuff to XFormsView
7277
7278 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7279
7280         * tabular.C (GetCellInset): update cur_cell also in the row/col
7281         version of this function.
7282
7283         * lyxfunc.C: no need to include figure_form.h here.
7284
7285         * FontLoader.h:
7286         * lyxfunc.h:
7287         * lyxscreen.h:
7288         * text2.C:
7289         * lyxvc.C: no need to include forms.h here.
7290
7291 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7292
7293         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7294
7295         * lyxfunc.C (Dispatch):
7296         * Spacing.C (set):
7297         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7298         constructor argument.
7299
7300 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7301
7302         * paragraph.C (Paragraph): dont't clear, and just set layout.
7303         (makeSameLayout): use params's copy contructor.
7304
7305         * ParagraphParameters.[Ch] (makeSame): delete method
7306
7307 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
7308
7309         * Variables.[Ch]: fix indentation, rename set to isSet
7310
7311 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7312
7313         * lyxfunc.C (Dispatch): fix typo
7314
7315 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7316
7317         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7318         upper_bound.
7319
7320         * bufferlist.C: include assert.h for emergencyWrite().
7321
7322 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
7323
7324         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7325           give up at last (bug #425202) !
7326
7327 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
7328
7329         * lyx_gui_misc.C:
7330         * sp_form.h:
7331         * sp_form.C:
7332         * spellchecker.h:
7333         * spellchecker.C: strip spellchecker options and bring up
7334           preferences tab instead
7335
7336 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7337
7338         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7339         the istringstream constructor
7340
7341 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7342
7343         * paragraph.C (getLayout): fix return value
7344
7345         * paragraph.h: do not declare getLayout as inline.
7346
7347         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7348
7349 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7350
7351         * lyxcursor.h (operator<): new func
7352         (operator>): new func
7353         (operator>=): new func
7354         (operator<=): new func
7355
7356         * text.C (changeCase): use selection.start and selection.end
7357         (changeRegionCase): require from to be <= to. Require par to be a
7358         valid paragraph.
7359
7360         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7361
7362 2001-06-27  Juergen Vigna  <jug@sad.it>
7363
7364         * text.C (cursorLeftOneWord): changed to return the cursor and added
7365         overlay with BufferView * parameter which calls this one.
7366         (getWord): added
7367         (selectWord): use new getWord function.
7368         (changeCase): renamed from changeWordCase as and extended to work
7369         also on selections.
7370
7371         * lyxtext.h: added enum word_location
7372
7373         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7374         changeCase as this operates now also on selections.
7375
7376 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
7377
7378         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7379
7380         * many files: send debug output to Debug::INFO instead of
7381         Debug::ANY.
7382
7383         * converter.C (View):
7384         (Convert):
7385         (Move): send debug output to Debug::FILES instead of console.
7386
7387 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
7388
7389         * lyxfunc.C (getStatus): use func_status
7390
7391         * func_status.h: new header, describing the results of
7392         LyXFunc::getStatus;
7393
7394         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7395         LFUN_MATH_HALIGN.
7396
7397 2001-06-25  The LyX Project  <jug@sad.it>
7398
7399         * buffer.C (sgmlOpenTag):
7400         (sgmlCloseTag):
7401         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
7402
7403 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7404
7405         * text2.C: remove some dead code
7406
7407         * tabular.C (GetCellInset): store the last cell checked (gotten)
7408
7409         * tabular.h: add the helper for the speedup
7410
7411         * lyxtext.h: remove some dead code
7412
7413 2001-06-26  The LyX Project  <Asger>
7414
7415         * paragraph.C: Change export to LaTeX of alignment to
7416         \begin{center} and family for better roundtrip work with reLyX.
7417
7418         * Tune the math drawing a bit.
7419
7420 2001-06-25  The LyX Project  <Asger>
7421
7422         * LColor.C (LColor): New color for math background. New color
7423         for buttons.
7424
7425 2001-06-25  The LyX Project  <jug@sad.it>
7426
7427         * lyxfunc.C (MenuNew): remove extra check for .lyx file
7428
7429         * lyxfunc.C (Open):
7430         * bufferlist.C (newFile): do not restrict to files ending with
7431         .lyx
7432
7433         * BufferView_pimpl.C (MenuInsertLyXFile):
7434
7435 2001-06-24  The LyX Project  <jug@sad.it>
7436
7437         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7438         of compare_no_case
7439
7440 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7441
7442         * lyxtext.h: rename most methods to begin with a small char.
7443         Lots of changes because of this.
7444
7445         * paragraph.C (Paragraph): do not call fitToSize
7446         (erase): call Pimpl::erase
7447         (insertChar): call Pimpl::insertChar
7448         (insertInset): call Pipl::insertInset
7449         (breakParagraph): do not call fitToSize
7450         (breakParagraphConservative): do not call fitToSize
7451         (fitToSize): remove method
7452
7453         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7454
7455 2001-06-24  The LyX Project  <Asger>
7456
7457         * Fix Qt compilation^2
7458
7459 2001-06-24  The LyX Project  <jug@sad.it>
7460
7461         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7462         depthHook(getDepth()-1).
7463
7464         * paragraph.h:
7465         * ParagraphParameters.h:
7466         * ParameterStruct.h: change type of depth to unsigned int ==
7467         depth_type. Many adaptations to other files before of that.
7468
7469 2001-06-24  The LyX Project  <Asger>
7470
7471         * Fix Qt compilation.
7472
7473 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7474
7475         * paragraph.h: renamed several methods to begin with small letter.
7476         several changes to many parts of the code because of this.
7477
7478 2001-06-23  The LyX Project  <jug@sad.it>
7479
7480         * text2.C (InsertStringAsLines): renamed from InsertStringA;
7481         rewritten to discard all double spaces when KeepEmpty is off
7482         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7483         to only handle newlines but not fiddle with spaces and friends.
7484
7485         * lyxfunc.C (MenuNew): when doing 'new from template', use
7486         template_path as default directory
7487
7488 2001-06-23  The LyX Project  <Asger>
7489
7490         * Clean-up of header file includes all over
7491         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7492
7493 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7494
7495         * paragraph.h: renamed from lyxparagraph.h
7496
7497 2001-06-23  Asger  <lyx@violet.home.sad.it>
7498
7499         * Buffer.h: Removed Buffer::resize
7500         * BufferList.h: Removed BufferList::resize
7501         * LyXView.h: Added LyXView::resize. This way, we will only reflow
7502         the document lazily when we change the width, or the font settings.
7503
7504 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
7505
7506         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7507
7508 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
7509
7510         * buffer.h: remove out of date comment
7511
7512 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
7513
7514         * lyxscreen.h:
7515         * screen.C: fix "theoretical" GC leak
7516
7517 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7518
7519         * LaTeX.C (scanAuxFile):
7520         (deplog): remove trailing \r when reading stream (useful under
7521         win32)
7522
7523 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
7524
7525         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7526         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7527         and BufferView::theLockingInset(Inset*), so should use them and not
7528         access bv_->text->the_locking_inset directly.
7529
7530         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7531
7532 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
7533
7534         * Makefile.am:
7535         * tex-defs.h: remove old unused file
7536
7537 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
7538
7539         * BufferView_pimpl.C: fix typo, remove minibuffer message
7540           when buffer has loaded
7541
7542 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7543
7544         * lyxfunc.C (Dispatch): use stringstream
7545         (MenuNew): use stringstream
7546         (Open): use stringstream
7547
7548         * importer.C (Import): use stringstream
7549
7550         * bufferview_funcs.C (CurrentState): use stringstream
7551
7552         * LaTeX.C (run): use stringstream
7553
7554         * BufferView_pimpl.C (savePosition): use stringstream
7555         (restorePosition): use stringstream
7556         (MenuInsertLyXFile): use stringstream
7557
7558 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
7559
7560         * BufferView.C:
7561         * Bullet.C:
7562         * ColorHandler.C:
7563         * FontInfo.C:
7564         * FontLoader.C:
7565         * LColor.C:
7566         * LaTeXFeatures.C:
7567         * Painter.C:
7568         * gettext.C:
7569         * lyx_gui_misc.C:
7570         * lyxserver.C:
7571         * vspace.C: removed // -*- C++ -*- as first line.
7572
7573         * lyxfind.h:
7574         * version.h: added // -*- C++ -*- as first line.
7575
7576 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7577
7578         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7579
7580         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7581         of string
7582
7583 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7584
7585         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7586         of floats.
7587
7588 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7589
7590         * gettext.C: include LString.h even when --disable-nls is on.
7591
7592 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
7593
7594         * converter.h (Get): changed argument type from int to
7595         FormatList::size_type to avoid unnecessary conversion.
7596
7597         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7598         before using it.
7599
7600 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7601
7602         * gettext.h: include LString.h even when --disable-nls is on.
7603
7604 2001-06-07  Juergen Vigna  <jug@sad.it>
7605
7606         * text.C (BreakAgain): subst spaces with tabs.
7607
7608         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7609         (resizeInsetsLyXText): set force on resizeLyXText.
7610
7611 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7612
7613         * gettext.h (gettext_init):
7614         (locale_init): use a real definition instead of a macro
7615
7616 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
7617
7618         * Bufferview_pimpl.C:
7619         * LColor.h:
7620         * LColor.C: further lcolor tidies
7621
7622 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7623
7624         * BufferView_pimpl.C (updateScrollbar): simplify.
7625
7626         * BufferView2.C: don't include insets/insetinfo.h, change
7627         prototype for insertInset and call the Pimpl version. let
7628         updateInset call Pimpl version.
7629
7630         * BufferView.h: move inset_slept to BufferView::Pimpl, move
7631         gotoInset to BufferView::Pimpl
7632
7633 2001-06-01  Juergen Vigna  <jug@sad.it>
7634
7635         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7636         inside a LockingInset (is the update needed at all?).
7637
7638 2001-05-31  Juergen Vigna  <jug@sad.it>
7639
7640         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7641         here not the old one otherwise how should we compare it afterwards
7642         if it's the same!
7643
7644 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7645
7646         * lyxfont.C:
7647         * tabular.C:
7648         * tabular-old.C:
7649         * FontInfo.C: bring C functions into global namespace when
7650         necessary
7651
7652 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7653
7654         * LString.h: make sure config.h has been loaded before LString.h.
7655
7656         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7657         (one for each char read by EatLine!).
7658
7659         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7660         variables.
7661
7662 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7663
7664         * paragraph.C (BreakParagraph): set the inset_owner in the new par
7665         to the same as the par we break from
7666
7667 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7668
7669         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7670
7671         * MenuBackend.C (expand): also create menu entries for wide
7672         versions of the floats.
7673
7674         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7675
7676         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7677
7678         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7679         frontends/Makefile.am
7680
7681         * text2.C: adjust
7682         * text.C: adjust
7683
7684
7685         * tabular.C (getTokenValue): add std::
7686
7687         * tabular-old.C (getTokenValue): add std::
7688         (getTokenValue): ditto
7689         (getTokenValue): ditto
7690
7691         * screen.C (ToggleSelection): adjust
7692
7693         * lyxtext.h: put selection cursors inside a Selection struct.
7694
7695         * lyxfunc.C (moveCursorUpdate): adjust
7696
7697         * lyxfont.C (latexWriteStartChanges): add std::
7698
7699         * lyxfind.C: adjust
7700
7701         * font.h: delete with(char const *, LyXFont const &)
7702
7703         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7704
7705         * FontInfo.C (getFontname): add std::
7706
7707         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7708         (workAreaButtonPress): adjust
7709         (tripleClick): adjust
7710         (update): adjust
7711         (moveCursorUpdate): adjust
7712         (Dispatch): adjust
7713
7714         * BufferView2.C (gotoInset): adjust
7715
7716 2001-05-30  Juergen Vigna  <jug@sad.it>
7717
7718         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7719         to check pspell I add this as default as I now have new pspell
7720         libraries and they seem to use this.
7721
7722 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7723
7724         * text2.C (CutSelection): make the cursor valid before the call to
7725         ClearSelection.
7726
7727 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7728
7729         * kbsequence.C (parse): de-uglify a bit the parsing code, which
7730         relied on 0 terminated strings and other horrors. Bug found due to
7731         the new assert in lyxstring!
7732
7733         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7734         KP_ keys.
7735
7736 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7737
7738         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7739         to latinkeys.bind.
7740
7741         * lyxfunc.C (processKeySym): change method of getting to the
7742         self-insert char.
7743
7744         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7745         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7746         * BufferView_pimpl.[Ch]: here as private methods.
7747
7748 2001-05-28  Juergen Vigna  <jug@sad.it>
7749
7750         * text.C (SetHeightOfRow): added the update() call again as it is
7751         needed to initialize inset dimensions!
7752
7753 2001-05-16  Juergen Vigna  <jug@sad.it>
7754
7755         * text2.C (SetCharFont): Add new function with BufferView * and
7756         bool toggleall parameters for setting insets internal fonts.
7757         (SetFont): Freeze the undo as we may change fonts in Insets and
7758         all this change should be inside only one Undo!
7759
7760         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7761         setting font's in insets as for them we have the SetFont function!
7762
7763 2001-05-15  Juergen Vigna  <jug@sad.it>
7764
7765         * text2.C (ClearSelection): to be sure we REALLY don't have any
7766         selection anymore!
7767
7768         * tabular.C (TeXCellPreamble): fixed the left border problem for
7769         multicolumn cells.
7770
7771 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
7772
7773         * LaTeX.C (deplog): Make sure that the main .tex file is in the
7774         dependancy file
7775
7776 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7777
7778         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7779         LFUN_BREAKPARAGRAPH.
7780
7781         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7782         help test to "internal only", similar for LFUN_INSERT_URL
7783
7784         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7785         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7786         auto_region_delete and deadkeys.
7787
7788 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
7789
7790         * LColor.h:
7791         * LColor.C: remove some dead entries, tidy a little
7792
7793 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7794
7795         * lyxfunc.C (processKeySym): comment the Escape handling, remove
7796         commented code.
7797         (Dispatch): implement LFUN_ESCAPE
7798
7799         * commandtags.h: add LFUN_ESCAPE
7800
7801         * LyXAction.C (init): add entry for LFUN_ESCAPE
7802
7803         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7804         Remove commented code.
7805         (insertNote): moved here
7806         (open_new_inset): moved here
7807
7808         * BufferView[2].[Ch]: move insertNote and open_new_inset to
7809         BufferView_pimpl
7810
7811 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7812
7813         * kbmap.C (findbinding): clean it up and make it work correctly.
7814
7815         * lyx_main.C (init): do not pass argc and argv as parameters
7816
7817 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
7818
7819         * buffer.C: fix path for OS/2 & Win32
7820
7821         * lyx_gui.C:
7822         * lyx_main:
7823         * lyx_main.C: Added os:: class.
7824
7825         * os2_defines.h: update
7826
7827 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7828
7829         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7830         better by trying again with reduced state.
7831
7832 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7833
7834         * lyxrc.C (read): print error about invalid key sequence only when
7835         debugging (because not all latinX keysyms are known to some X
7836         servers)
7837
7838         * kbsequence.C (getiso): add a few std:: qualifiers
7839         (getiso): comment out extra return statement.
7840
7841 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7842
7843         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7844         handling.
7845         (Dispatch): enhance the accent inset a bit. (not perfect)
7846
7847 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7848
7849         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7850
7851 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7852
7853         * bufferlist.C (emergencyWrite): fix assert() call
7854
7855 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
7856
7857         * text.C (InsertChar): Added trivial patch to only send the "you
7858         can not do multiple spaces this way" message once during a
7859         session.
7860
7861 2001-05-08  Baruch Even  <baruch@lyx.org>
7862
7863         * Makefile.am: Changed order of libraries to get LyX to link properly
7864         with the gnome frontend.
7865
7866 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7867
7868         * LaTeXFeatures.h: add a std:: qualifier
7869
7870 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7871
7872         * paragraph.C (String): use stringstream
7873
7874 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7875
7876         * paragraph.C (writeFile): remove footflag arg
7877
7878         * buffer.C (makeLaTeXFile): use stringstream
7879         (latexParagraphs): remove footnot gurba
7880
7881         * LaTeXFeatures.C (getPackages): use stringstream
7882         (getMacros): likewise
7883         (getTClassPreamble): likewise
7884         (getFloatDefinitions): new method
7885
7886         * paragraph.C (writeFile): reindent
7887         (Erase): reindent
7888
7889         * WorkArea.h: revert the xpos + etc changes.
7890
7891         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7892
7893         * lyxparagraph.[Ch]: add copy constructor, remove Clone
7894
7895         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7896         (pasteSelection): likewise
7897         * text2.C (CreateUndo): likewise
7898
7899 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7900
7901         * minibuffer.C (peek_event): temporarily reduce the functionality
7902         of the minibuffer (to allow args on lfuns)
7903
7904         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7905         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7906
7907         * buffer.C (readInset): add compability reading of old float
7908         lists, add reading of new style float list.
7909         (readInset): avoid reevaluation of inscmd.getCmdName()
7910         (getLists): reindent
7911
7912         * MenuBackend.C (MenuItem): implement parsing of
7913         md_floatlistinsert and md_floatinsert.
7914         (expand::LastFiles): move initalizaton of iterators out of loop,
7915         avoid reevaluation.
7916         (expand::Documents): introduce typdedef vector<string> Strings,
7917         and use it.
7918         (expand::ExportFormats): introduce typedef vector<Format const *>
7919         Formats, and use it.
7920         (expand): implement FloatListInsert and FloatInsert.
7921
7922         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7923         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7924         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7925
7926         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7927         handling.
7928         (Dispatch::LFUN_FLOAT_LIST): implement
7929
7930 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
7931
7932         * LaTeX.C (run): Fix problem with --export code.
7933
7934 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
7935
7936         * BufferView.[Ch] (workarea): removed.
7937         (getClipboard) new method; wrapper for workarea()->getClipboard()
7938
7939         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7940         bug.
7941
7942         * WorkArea.h (width, height, xpos, ypos): These methods all
7943         returned the dimensions of the work_area sub-area of WorkArea,
7944         resulting in a position error if the WorkArea were resized. Now
7945         return the dimensions of the entire WorkArea.
7946
7947         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7948
7949 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7950
7951         * LaTeX.C (deplog): correct the syntax of regex reg1
7952
7953 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7954
7955         * undo.C: remove !NEW_INSETS cruft
7956
7957 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7958
7959         * text2.C: remove !NEW_INSETS cruft
7960
7961         * text.C: remove !NEW_INSETS cruft
7962
7963         * tabular.C: remove !NEW_INSETS cruft
7964
7965         * spellchecker.C: remove !NEW_INSETS cruft
7966
7967         * lyxtext.h: remove !NEW_INSETS cruft
7968
7969         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7970
7971         * lyxfunc.C: remove !NEW_INSETS cruft
7972
7973         * lyxfind.C: remove !NEW_INSETS cruft
7974
7975         * lyx_cb.C: remove !NEW_INSETS cruft
7976
7977         * figureForm.C: remove  !NEW_INSETS cruft
7978
7979         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7980
7981         * buffer.[Ch]: remove !NEW_INSETS cruft
7982
7983         * ToolbarDefaults.C: remove !NEW_INSETS cruft
7984
7985         * CutAndPaste.C: remove !NEW_INSETS cruft
7986
7987         * BufferView_pimpl.C: remove !NEW_INSETS cruft
7988
7989         * BufferView2.C: remove !NEW_INSETS cruft
7990
7991         * BufferView.h: remove !NEW_INSETS cruft
7992
7993 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7994
7995         * Lsstream.h: include LString.h before the sstream headers to
7996         fix problem with gcc 2.95.3 and lyxstring
7997
7998 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7999
8000         * lyx_main.C: add using directives when needed for C functions
8001         declared in std:: namespace.
8002
8003 2001-04-27  Juergen Vigna  <jug@sad.it>
8004
8005         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8006         (SetHeightOfRow): comment out the update call should not be needed!
8007
8008 2001-04-13  Juergen Vigna  <jug@sad.it>
8009
8010         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8011         (LyXTabular): tried to minimize operator= operations (and realized
8012         hopfully Lars wish).
8013
8014 2001-04-27  Juergen Vigna  <jug@sad.it>
8015
8016         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8017
8018 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8019
8020         * lyxfunc.C (Dispatch): hack to make listof algorithm work
8021
8022         * buffer.C (readInset): hack to make listof algorithm work
8023
8024         * BufferView_pimpl.C: hack to make listof algorithm work
8025
8026 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8027
8028         * LyXAction.C: removed all !NEW_INSETS cruft
8029         (init): moved lfun_item in method
8030
8031         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8032
8033 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
8034
8035         * BufferView2.C (theLockingInset): white space.
8036
8037 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8038
8039         * minibuffer.C: include <iostream>
8040
8041         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8042
8043         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8044
8045         * commandtags.h: add LFUN_TRANSPOSE_CHARS
8046
8047         * text.[Ch] (TransposeChars): new method
8048
8049 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8050
8051         * call message directly through LyXView instead of through LyXFunc
8052         * BufferView2.C: adjust
8053         * BufferView_pimpl.C: adjust
8054         * FontLoader.C: adjust
8055         * buffer.C: adjust
8056         * bufferview_funcs.C: adjust
8057         * converter.C: adjust
8058         * figureForm.C: adjust
8059         * importer.C: adjust
8060         * lyx_cb.C: adjust
8061         * lyx_gui_misc.C: adjust
8062         * lyxfunc.C: adjust
8063         * lyxvc.C: adjust
8064         * text2.C: adjust
8065         + more files in subdirs
8066
8067         * lyxparagraph.h (size): move up int file
8068         (GetLayout): ditto
8069
8070         * adjust all uses of Assert to lyx::Assert.
8071
8072         * BufferView2.C (ChangeCitationsIfUnique): adjust for
8073         lyxfunctional in namespace lyx
8074         * layout.C (hasLayout): ditto
8075         (GetLayout): ditto
8076         (GetLayout): ditto
8077         (delete_layout): ditto
8078         (NumberOfClass): ditto
8079         * converter.C (GetFormat): ditto
8080         (GetNumber): ditto
8081         (Add): ditto
8082         (Delete): ditto
8083         (SetViewer): ditto
8084         * bufferlist.C (getFileNames): ditto
8085         (emergencyWriteAll): ditto
8086         (exists): ditto
8087         (getBuffer): ditto
8088         * MenuBackend.C (hasSubmenu): ditto
8089         (hasMenu): ditto
8090         (getMenu): ditto
8091         * BufferView_pimpl.C (getInsetByCode): ditto
8092
8093 2001-04-18  Juergen Vigna  <jug@sad.it>
8094
8095         * vspace.C (asLatexString): fixed the 100% problem.
8096
8097 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8098
8099         * lyxfunc.C (Dispatch):
8100         * minibuffer.C:
8101         * minibuffer.h: add a few std:: qualifiers
8102
8103 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8104
8105         * minibuffer.[Ch]: reimplement so that commands is initiated and
8106         run from lyxfunc, simplified som handling, and made the completion
8107         and history code for complete. wip.
8108
8109         * lyxfunc.C (processKeySym): call message
8110         (miniDispatch): new temporary method
8111         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8112         (LFUN_MESSAGE): implement
8113         (LFUN_MESSAGE_PUSH): implement
8114         (LFUN_MESSAGE_POP): implement
8115         (initMiniBuffer): the initial/defualt minibuffer message.
8116
8117         * lyxfont.[Ch]: inline some more getters
8118
8119         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8120
8121         * lyx_gui_misc.[Ch] (WriteStatus): remove method
8122
8123         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8124         (AutoSave): use LFUN_MESSAGE
8125         (Reconfigure): ditto
8126
8127         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8128
8129         * figureForm.C: use LFUN_MESSAGE
8130
8131         * converter.C (runLaTeX): use LFUN_MESSAGE
8132
8133         * bufferview_funcs.C: use LFUN_MESSAGE
8134         (Melt): ditto
8135         (changeDepth): ditto
8136
8137         * bufferparams.h: use boost::
8138
8139         * bufferlist.h: inherit privately from noncopyable
8140
8141         * bufferlist.C (loadLyXFile): remove some commented code.
8142
8143         * buffer.C (runChktex): use LFUN_MESSAGE
8144
8145         * ShareContainer.h: inherit privately from noncopyable
8146
8147         * ParagraphParameters.[hC] (depth): inline it.
8148
8149         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8150         methods.
8151         (message): new method
8152         (messagePush): ditto
8153         (messagePop): ditto
8154         (show): init minibuffer
8155         (showState): direct call
8156
8157         * LaTeX.[Ch]: inherit privately from noncopyable
8158         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8159         instead of WriteStatus.
8160
8161         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8162
8163         * BufferView_pimpl.C (buffer): don't init minibuffer
8164         (workAreaButtonPress): use LFUN_MESSAGE
8165         (workAreaButtonRelease): ditto
8166         (savePosition): ditto
8167         (restorePosition): ditto
8168         (MenuInsertLyXFile): ditto
8169         (workAreaExpose): don't init minibuffer
8170         (update): remove commented code, simplify
8171
8172         * BufferView2.C (openStuff): use LFUN_MESSAGE
8173         (toggleFloat): ditto
8174         (menuUndo): ditto
8175         (menuRedo): ditto
8176         (copyEnvironment): ditto
8177         (pasteEnvironment): ditto
8178         (copy): ditto
8179         (cut): ditto
8180         (paste): ditto
8181         (gotoInset): ditto
8182         (updateInset): remove some commented code
8183
8184         * lastfiles.h: inherit privately from noncopyable
8185         * layout.h: ditto
8186         * lyx_gui.h: ditto
8187         * lyx_main.h: ditto
8188         * lyxlex.h: ditto
8189         * lyxlex_pimpl.h: ditto
8190
8191         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8192         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8193         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8194
8195         * LyXAction.h: inherit privately from noncopyable, add methods
8196         func_begin, func_end, returning iterators to the func map.
8197
8198         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8199         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8200         (func_begin): new method
8201         (func_end): new method
8202
8203         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8204         and not)
8205         (copySelection): ditto
8206         (pasteSelection): ditto
8207
8208         * BufferView.C: whitespace change
8209         * BufferView.h: inherit privately from noncopyable
8210
8211 2001-04-16  Allan Rae  <rae@lyx.org>
8212
8213         * tabular-old.C (l_getline):
8214         * spellchecker.C (sc_check_word):
8215         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8216         an unrecognised preprocessor directive.  So ensure they're wrapped.
8217
8218 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
8219
8220         * src/exporter.C (Export): Give an error message when path to file
8221         contains spaces.
8222
8223 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
8224
8225         * LaTeX.C (deplog): Always check that foundfile exists.
8226
8227 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8228
8229         * lyx_main.h:
8230         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8231
8232 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8233
8234         * tabular.[Ch] (getLabelList): implement new method
8235
8236         * minibuffer.h: comment ouf setTiimer
8237
8238         * minibuffer.C (ExecutingCB): constify res
8239         (peek_event): constify s
8240         (Set): constify ntext
8241         (Init): constify nicename
8242
8243         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8244
8245         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8246         (savePosition): use two params to Minibuffer::Set
8247         (restorePosition): ditto
8248
8249 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8250
8251         * lyx_main.C: include language.h
8252
8253         * Makefile.am (lyx_main.o): add language.h
8254
8255 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8256
8257         * exporter.C:
8258         * paragraph.C:
8259         * screen.C:
8260         * tabular.C:
8261         * CutAndPaste.C: include gettext.h
8262
8263         * lyxfont.h: remove old hack with ON and OFF.
8264
8265         * lyxparagraph.h:
8266         * lyxfont.h: do not include language.h...
8267
8268         * BufferView2.C:
8269         * LaTeXFeatures.C:
8270         * Painter.C:
8271         * bufferview_funcs.C:
8272         * font.C:
8273         * lyxfont.C:
8274         * text.C:
8275         * text2.C:
8276         * trans_mgr.C:
8277         * paragraph.C: ... but do it here instead
8278
8279 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8280
8281         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8282
8283         * tabular.C: small reformat
8284
8285         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8286         NEW_INSETS version
8287         (GetChar): ditto
8288         (BreakParagraph): ditto
8289         (SetOnlyLayout): ditto
8290         (SetLayout): ditto
8291
8292         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8293         with one arg less.
8294
8295         * lastfiles.C: removed most using decl, add std:: where needed
8296
8297         * buffer.C: ws changes
8298
8299         * MenuBackend.C (class compare_format): put into anon namespace
8300         (expand): constify label, names, action, action2
8301         (expand):
8302
8303         * text.C (SingleWidth): constify font
8304         (IsBoundary): constify rtl2
8305         (GetVisibleRow): constify ww
8306
8307         * LaTeX.C (deplog): constify logfile
8308
8309         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8310         start_x, end_x
8311         (workAreaExpose): constify widthChange, heightChange
8312
8313         * lyxrow.C (par): moved
8314         (height): moved
8315         (next): moved
8316         * lyxrow.h: as inlines here
8317
8318         * lyxfont.h (shape): moved from lyxfont.C
8319         (emph): moved from lyxfont.C
8320
8321         * lyxfont.C (LyXFont): use initialization list for all
8322         constructors
8323         (shape): move to lyxfont.h as inline
8324         (emph): move to lyxfont.h as inline
8325
8326
8327 2001-04-04  Juergen Vigna  <jug@sad.it>
8328
8329         * vspace.C: had to include stdio.h for use of sscanf
8330
8331 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
8332
8333         * BufferView.h:
8334         * BufferView_pimpl.h: remove xforms cruft. Both classes are
8335         independent of xforms.
8336
8337 2001-04-02  Juergen Vigna  <jug@sad.it>
8338
8339         * spellchecker.C: fixed namespace placing!
8340
8341 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
8342
8343         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8344         the LyXParagraph * is 0.
8345
8346 2001-03-29  Juergen Vigna  <jug@sad.it>
8347
8348         * vspace.C: added support for %, c%, p%, l%.
8349         (stringFromUnit): added helper function.
8350         (asLatexString): changed to give right results for the %-values.
8351
8352         * buffer.C: convert the widthp in a width%.
8353
8354 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
8355
8356         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8357         figureForm.[Ch].
8358
8359         * figureForm.[Ch]: stripped the FD_from_figure manipulation
8360         code out of lux_cb.[Ch], ready for its (imminent?) removal.
8361
8362         * lyx_cb.[Ch]: see above.
8363
8364         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8365         form1.[Ch].
8366
8367         * form1.[Ch]:
8368         * lyx.[Ch]: replaced by figure_form.[Ch].
8369
8370         * lyx_gui.C:
8371         * lyx_gui_misc.C:
8372         * lyxfunc.C: changed headers associated with above changes.
8373
8374 2001-03-27  Juergen Vigna  <jug@sad.it>
8375
8376         * BufferView_pimpl.C: set the temporary cursor right!
8377
8378 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
8379
8380         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8381
8382 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
8383
8384         * LString.h: removed "using std::getline"!
8385
8386         * BufferView_pimpl.C (Dispatch): changes due to changes in
8387         InsetInclude::Params.
8388
8389         * buffer.C (tag_name): removed redundant break statements as they were
8390         producing lots of warnings with my compiler.
8391
8392 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8393
8394         * LString.h: add "using std::getline" when using the real <string>.
8395
8396 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
8397
8398         * buffer.C: removed bitset usage.
8399         PAR_TAG moved to an anonymous name space.
8400         (tag_name): new funtion, also in the anonymous namespace.
8401         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8402         (makeDocBookFile): clean code. Completed transition from string arrays
8403         to string vectors.
8404         (SimpleDocBookOnePar): code clean.
8405
8406 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8407
8408         * tabular.C: add some comments.
8409
8410 2001-03-22  Juergen Vigna  <jug@sad.it>
8411
8412         * buffer.C (parseSingleLyXformat2Token): redone the minipage
8413         compatibility read a bit and fixed bug with minipage in different
8414         depth.
8415
8416 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
8417
8418         * buffer.C (pop_tag): removed.
8419         (push_tag): removed.
8420         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8421         array replaced with vector. Added support for CDATA sections.
8422         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8423         at any nest level.
8424         (makeDocBookFile): XML conformant declaration of CDATA section,
8425         fixed bug related to <emphasis> in the first paragraph char.
8426         (sgmlOpenTag): exclude empty tags.
8427         (sgmlCloseTag): ditto.
8428
8429         * buffer.h (pop_tag): removed.
8430         (push_tag): removed.
8431
8432 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
8433
8434         * language.h (Languages): added size_type and size().
8435
8436 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8437
8438         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8439         response on compability reading of minipages. One probliem is that
8440         the old usage of minipages was «flertydig»
8441
8442         * several files here and in subdirs: don't use static at file
8443         scope use anon namespaces instead.
8444
8445 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
8446
8447         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8448         LaTeX output. This is necessary for Literate document
8449         processing.
8450
8451 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8452
8453         * buffer.C: insert hfill when needed.
8454
8455         * tabular.C (l_getline): use string::erase, small whitespace change.
8456
8457         * BufferView_pimpl.C: try the anon namespace.
8458         * WorkArea.C: ditto
8459
8460 2001-03-16  Juergen Vigna  <jug@sad.it>
8461
8462         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8463         otherwise it won't open options-dialogs.
8464
8465         * buffer.C: honor pextraWidth(p) on converting minipages.
8466
8467         * tabular.C (l_getline): changed the functions to strip trailing \r.
8468
8469 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
8470
8471         * BufferView_pimpl.C:
8472         * minibuffer..C: added "using SigC::slot" declaration.
8473
8474 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8475
8476         * lyxlex_pimpl.h: noncopyable is in namespace boost.
8477
8478         * text2.C: ditto
8479
8480         * text.C: ditto
8481
8482         * paragraph.C: ditto
8483
8484         * lyxtext.h: NO_PEXTRA
8485
8486         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8487
8488         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8489         * ParameterStruct.h: ditto
8490         * ParagraphParameters.h: ditto
8491         * lyxparagraph.h: ditto
8492
8493 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8494
8495         * buffer.C: add compability for minipage alignment.
8496         (latexParagraphs): remove unwanted pextra check.
8497
8498         * several files: remove CXX_WORKING_NAMESPACES
8499
8500         * buffer.C (pop_tag): tie is in namespace boost
8501
8502         * BufferView.h: noncopyable is in namespace boost
8503         * lyxlex.h: ditto
8504         * lyx_main.h: ditto
8505         * lyx_gui.h: ditto
8506         * layout.h: ditto
8507         * lastfiles.h: ditto
8508         * bufferlist.h: ditto
8509         * ShareContainer.h: ditto
8510         * LyXView.h: ditto
8511         * LyXAction.h: ditto
8512         * LaTeX.h: ditto
8513
8514 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
8515
8516         * Merging changes from BRANCH_MVC back into HEAD.
8517
8518         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8519
8520 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
8521
8522         * BufferView_pimpl.C: change from intl.C
8523
8524         * combox.h:
8525         * combox.C:
8526         * Makefile.am: move combox.*
8527
8528         * form1.h:
8529         * form1.C:
8530         * lyx_gui.C:
8531         * intl.h:
8532         * intl.C: remove dialog (covered by prefs)
8533
8534 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
8535
8536         * lyxfunc.C (Dispatch): removed redundant break statement.
8537
8538 2001-03-14  Juergen Vigna  <jug@sad.it>
8539
8540         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8541
8542 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8543
8544         * buffer.C: add hack to fix compability reading of minipages.
8545
8546 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
8547
8548         * buffer.C (getLists): Cleanup.
8549
8550 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8551
8552         * lyxfont.C (update): don't honor toggleall on font size.
8553
8554 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
8555
8556         * bmtable.c:
8557         * bmtable.h:
8558         * Makefile.am: moved to frontends/xforms/
8559
8560         * lyx_gui_misc.C:
8561         * lyxfunc.C:
8562         * BufferView_pimpl.C: changes for moved mathpanel
8563
8564 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
8565
8566         * gettext.h: fix gettext_init() in --disable-nls
8567
8568 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8569
8570         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8571
8572 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
8573
8574         * lyx.C:
8575         * lyx.h: strip external form
8576
8577 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
8578
8579         * BufferView_pimpl.C: add comment, destroySplash()
8580
8581 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
8582
8583         * BufferView_pimpl.C:
8584         * LyXAction.C:
8585         * buffer.C:
8586         * commandtags.h:
8587         * lyxfunc.C: use re-worked insetinclude
8588
8589 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8590
8591         * buffer.C: add using std::stringstream.
8592
8593         * lyx_cb.C: readd using std::ios.
8594
8595         * buffer.C: add using std::map.
8596
8597         * BufferView_pimpl.C: add using std::vector.
8598
8599         * ShareContainer.h: add std:: to swap.
8600
8601         * buffer.h: add some typedefs
8602         * buffer.C (getLists): use them
8603         (getLists): renamed from getTocList.
8604         add a counter for the different float types and use it in the
8605         generated string.
8606         (getLists): use the same counter for the NEW_INSETS and the "non"
8607         NEW_INSETS
8608
8609         * lyx_cb.h: remove unused items, includes, using etc.
8610
8611         * ShareContainer.h: remove some commented code, add more comments
8612         and "documentation".
8613
8614 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8615
8616         * buffer.C (getTocList): make the list also when NEW_INSETS is
8617         defined.
8618
8619         * buffer.h: remove TocType
8620
8621         * buffer.C (getTocList): change to return a map<string,
8622         vector<TocItem> >, implement for dynamic number of list.
8623
8624         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8625         * text2.C (PasteSelection): adjust
8626         * CutAndPaste.C (pasteSelection): adjust
8627
8628         * FloatList.C (FloatList): update from the new_insets branch.
8629         * Floating.[Ch]: ditto
8630         * LaTeXFeatures.C: ditto
8631         * buffer.C: ditto
8632         * lyxlex_pimpl.C: ditto
8633
8634         * paragraph.C (Last): remove when NEW_INSETS is defined.
8635
8636         * other file: changes because of the above.
8637
8638 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8639
8640         * lyxparagraph.h: rename next to next_, previous to previous_,
8641         make them private for NEW_INSETS. Rename Next() to next(),
8642         Previous() to previous().
8643
8644         * other files: changes because of the above.
8645
8646 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
8647
8648         * BufferView.h:
8649         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8650         problem.
8651
8652 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8653
8654         * main.C (main): pass lyx_localedir to gettext_init().
8655
8656         * gettext.h: remove locale_init and gettext_init macros
8657
8658         * gettext.C (locale_init): new function
8659         (gettext_init): new function
8660
8661         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8662         setlocale().
8663
8664 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
8665
8666         * Moved credits to frontends:
8667         * credits.[Ch]: removed
8668         * credits_form.[Ch]: removed
8669         * lyx_gui_misc.C: remove credits stuff
8670         * Makefile.am:
8671
8672 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8673
8674         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8675
8676         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8677         unneeded destructor.
8678
8679         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8680         a standalone pointer again.
8681
8682         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8683
8684 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
8685
8686         * Makefile.am:
8687         * filedlg.h:
8688         * filedlg.C:
8689         * LyXAction.C:
8690         * ToolbarDefaults.C:
8691         * bufferlist.C:
8692         * commandtags.h:
8693         * form1.C:
8694         * form1.h:
8695         * lyx_cb.C:
8696         * lyx_cb.h:
8697         * lyxfunc.h:
8698         * lyxfunc.C:
8699         * BufferView_pimpl.C: use new file dialog in GUII
8700
8701         * lyx_cb.h:
8702         * lyx_cb.C: remove LayoutsCB to Toolbar
8703
8704 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8705
8706         * ShareContainer.h (get): add std:: qualifier
8707
8708 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8709
8710         * ShareContainer.h: define a proper ShareContainer::value_type
8711         type (and use typename to please compaq cxx)
8712
8713 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8714
8715         * lyxparagraph.h: move serveral local vars to
8716         ParameterStruct/ParagraphParameters., use ShareContainer in
8717         FontTable., make vars in FontTable private and add getter and
8718         setter.
8719
8720         * paragraph.C: changes because of the above.
8721
8722         * lyxfont.h: remove copy constructor and copy assignment. (the
8723         default ones is ok), move number inside FontBits. move inlines to
8724         lyxfont.C
8725
8726         * lyxfont.C: add number to initializaton of statics, move several
8727         inlines here. constify several local vars. some whitespace
8728         cleanup. Dont hide outerscope variables.
8729
8730         * Spacing.h: add two new constructors to match the set methods.
8731
8732         * ShareContainer.h: new file, will perhaps be moved to support
8733
8734         * ParameterStruct.h: new file
8735
8736         * ParagraphParameters.h: new file
8737
8738         * ParagraphParameters.C: new file
8739
8740         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8741         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8742
8743         * BufferView_pimpl.C: ParagraphParameter changes.
8744         * buffer.C: Likewise.
8745         * bufferview_funcs.C: Likewise.
8746         * text.C: Likewise.
8747         * text2.C: Likewise.
8748
8749 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8750
8751         * lyxfind.C (LyXReplace): do not redefine default argument in
8752         implementation.
8753         (IsStringInText): ditto
8754         (SearchForward): ditto
8755         (SearchBackward): ditto
8756
8757 2001-03-06  Juergen Vigna  <jug@sad.it>
8758
8759         * lyxfind.C (IsStringInText): put parentes around expressions.
8760
8761 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
8762
8763         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8764
8765 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
8766
8767         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8768
8769         * stl_string_fwd.h: add comment
8770
8771         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8772
8773         * tabular.h:
8774         * tabular.C: remove unused DocBook methods
8775
8776         * intl.C:
8777         * language.C:
8778         * paragraph.C:
8779         * buffer.C:
8780         killed DO_USE_DEFAULT_LANGUAGE
8781
8782 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8783
8784         * lyx_gui.C: do not include language.h.
8785
8786         * bufferview_funcs.C (ToggleAndShow): do not provide optional
8787         arguments in function implementation.
8788
8789 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8790
8791         * BufferView_pimpl.C: add <ctime>
8792
8793 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8794
8795         * BufferView_pimpl.C: add using std::find_if
8796
8797 2001-02-27  José Matos  <jamatos@fep.up.pt>
8798
8799         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8800         by OnlyPath.
8801
8802 2001-02-11  José Matos  <jamatos@fep.up.pt>
8803
8804         * buffer.C (makeDocBookFile): command styles now have a parameter as
8805         "title" by default.
8806
8807 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
8808
8809         * layout_forms.[Ch]: removed
8810         * lyx_cb.[Ch]: out character
8811         * lyx_gui.C: out character
8812         * lyx_gui_misc.C: out character
8813         * bufferview_funcs.C: : out character,
8814         added toggleall as parameter in ToggleAndShow
8815
8816 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
8817
8818         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8819
8820         * text2.C (SetCurrentFont): Disable number property at boundary.
8821
8822 2001-02-26  Juergen Vigna  <jug@sad.it>
8823
8824         * lyxfunc.C (getStatus): added a string argument override function so
8825         that this is correctly called from LyXFunc::Dispatch if it contains a
8826         do_not_use_argument which is used!
8827         (Dispatch): added check for "custom" export and call appropriate func.
8828
8829 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
8830
8831         * lyxrc.C: Add language_command_local, language_use_babel and
8832         language_global_options.
8833
8834         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8835
8836         * buffer.C (makeLaTeXFile): Use language_use_babel and
8837         language_global_options.
8838
8839 2001-02-23  Juergen Vigna  <jug@sad.it>
8840
8841         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8842         which works with LyXText and putted it inside BufferView. Here now we
8843         only call for that part the BufferView::Dispatch() function.
8844
8845         * BufferView.C (Dispatch): added.
8846
8847         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8848         functions which needs to use a LyXText over from LyXFunc.
8849         (MenuInsertLyXFile): added
8850         (getInsetByCode): added
8851         (moveCursorUpdate): added
8852         (static TEXT): added
8853
8854 2001-02-22  Juergen Vigna  <jug@sad.it>
8855
8856         * BufferView_pimpl.C (update): call a status update to see if LyXText
8857         needs it.
8858
8859 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8860
8861         * vc-backend.C (revert): implement for CVS
8862         (getLog): implement for CVS
8863
8864 2001-02-20  Juergen Vigna  <jug@sad.it>
8865
8866         * text2.C (ClearSelection): added BufferView param for inset_owner call
8867
8868         * lyxfunc.C (TEXT): added this function and use it instead of
8869         directly owner->view()-text of getLyXText().
8870
8871 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
8872
8873         * src/layout_forms.C: out preamble
8874         * src/layout_forms.h: out preamble
8875         * src/lyx_cb.C: out preamble
8876         * src/lyx_cb.h: out preamble
8877         * src/lyx_gui.C: out preamble
8878         * src/lyx_gui_misc.C: out preamble
8879         * src/lyxfunc.C: connect with guii preamble
8880
8881 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
8882
8883         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8884
8885 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
8886
8887         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8888         whether to run bibtex.
8889
8890 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
8891
8892         * Makefile.am (lyx_SOURCES): Remove BackStack.h
8893
8894 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8895
8896         * Makefile.am (lyx_SOURCES): removed bibforms.h
8897
8898         * vspace.h: doxygen
8899
8900         * text.C (GetVisibleRow): make several local vars const
8901
8902         * tabular.C: small cleanup.
8903
8904         * lyxserver.C (callback): use compare instead of strncmp
8905
8906         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8907         inlines to after class or to paragraph.C
8908
8909         * lyxfont.h: remove friend operator!=
8910
8911         * converter.h: move friend bool operator< to non friend and after
8912         class def.
8913
8914         * combox.h: small cleanup
8915
8916         * buffer.h: doxygen, remove unused constructor, move inclas inlies
8917         to inlines after class def.
8918
8919         * buffer.C (pop_tag): use string operations instead of strcmp
8920
8921         * bmtable.c: doxygen, small cleanup
8922
8923         * LaTeX.h: remove friend operator==
8924
8925 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
8926
8927         * screen.C:
8928         * lyxrc.[Ch]:
8929         * lyxfunc.C:
8930         * lyxfont.[Ch]:
8931         * lyx_cb.C:
8932         * intl.[Ch]:
8933         * commandtags.h:
8934         * buffer.C:
8935         * WorkArea.[Ch]:
8936         * LyXAction.C:
8937         * BufferView_pimpl.C:
8938         * BufferView.[Ch]: remove cruft
8939
8940 2001-02-14  Juergen Vigna  <jug@sad.it>
8941
8942         * lyxfunc.C: removed #if 0 unused code
8943
8944         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8945
8946         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8947
8948         * text2.C (SetSelection): added a BufferView * parameter
8949
8950 2001-02-13  Juergen Vigna  <jug@sad.it>
8951
8952         * lyxfunc.C (Dispatch): fixed protected blank problem.
8953         * BufferView2.C (protectedBlank): added LyxText * parameter.
8954
8955         * tabular.C (AppendRow): forgot to set row_info of newly added row.
8956         (AppendColumn): same as above for column_info.
8957
8958         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8959         (moveCursorUpdate): use a LyXText param for support of InsetText.
8960
8961         * BufferView_pimpl.C (doubleClick): added support for InsetText.
8962         (tripleClick): ditto
8963
8964         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8965
8966         * BufferView_pimpl.C (update): added LyXText param to honor insets.
8967
8968         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8969
8970         * text2.C (SetSelection): set correct update status if inset_owner
8971         (ToggleFree): ditto
8972
8973 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
8974
8975         * tabular.C: remove some commented code.
8976
8977 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
8978
8979         * BufferView_pimpl.C: call hideSplash()
8980
8981         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8982
8983         * include_form.h:
8984         * bibforms.h: remove
8985
8986         * lyxfunc.C:
8987         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8988           add LFUN_CHILD_CREATE
8989
8990         * counters.h: fix tiny typo
8991
8992         * lyx_cb.C:
8993         * lyx.h:
8994         * lyx_gui.C:
8995         * lyx.C: move splash to frontends/xforms/
8996
8997         * lyx_gui_misc.C: move Include and Bibform to frontends
8998
8999         * lyxvc.h: clarify comment
9000
9001         * vspace.C: tiny housekeeping
9002
9003 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
9004
9005         * text.C (PrepareToPrint): RTL Fix.
9006
9007         * paragraph.C (GetUChar): New method.
9008         (String):  Use GetUChar.
9009
9010         * buffer.C (asciiParagraph): Use GetUChar.
9011
9012 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
9013
9014         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9015
9016 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
9017
9018         * buffer.h:
9019         * buffer.C: rename to getLogName(), handle
9020           build log / latex log nicely
9021
9022 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9023
9024         * MenuBackend.C:
9025         * MenuBackend.h: remove support for reference menuitem type.
9026
9027 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
9028
9029         * BufferView_pimpl.C: housekeeping
9030         * BufferView_pimpl.h:
9031         * LyXView.h:
9032         * Makefile.am:
9033         * Timeout.C:
9034         * Timeout.h:
9035         * minibuffer.h: move Timeout GUI-I
9036
9037 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
9038
9039         * lyxrc.C (read): Update converters data-structures.
9040
9041 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
9042
9043         * LaTeX.h (operator!=): add operator != for Aux_Info
9044
9045 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
9046
9047         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9048
9049         * LaTeXLog.C: deleted, useful code moved to Buffer
9050
9051         * buffer.h:
9052         * buffer.C: new function getLatexLogName()
9053
9054         * lyx_gui_misc.C:
9055         * lyx_gui.C:
9056         * lyxvc.C:
9057         * lyxvc.h:
9058         * lyxfunc.C: use frontends for LaTeX and VC logs
9059
9060 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9061
9062         * LaTeX.h: yet another std:: that Allan forgot.
9063
9064         * Variables.C (set): renamed from isset(), because this clashes
9065         with some HP-UX macros (grr).
9066
9067 2001-02-06  Allan Rae  <rae@lyx.org>
9068
9069         * LaTeX.h: Another bug fix.  Missing std:: this time.
9070
9071 2001-02-04  Allan Rae  <rae@lyx.org>
9072
9073         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9074         floats problem. I've left it commented out because it's not quite
9075         correct.  It should also test that the current object is a table or
9076         figure inset.  But I haven't gotten around to figuring out how to do
9077         that.  I *think* it'll be something like: "table" == inset.type()
9078
9079         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9080         bool.
9081
9082 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
9083
9084         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9085         all the citation/databases/styles in the auxilary file.
9086         (run): Rerun latex if there was a babel language error.
9087
9088 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
9089
9090         * text.C (Backspace): Preserve the font when changing newline char
9091         with a space.
9092         (BreakParagraph): If the cursor is before a space, delete the space.
9093
9094         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9095
9096 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
9097
9098         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9099         new argument (code).
9100         (ChangeCitationsIfUnique): New method.
9101
9102         * paragraph.C (GetPositionOfInset): Handle bibkey.
9103
9104 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9105
9106         * BufferView_pimpl.h: change type of Position::par_pos to
9107         LyXParagraph::size_type.
9108
9109 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
9110
9111         * BufferView_pimpl.C (savePosition, restorePosition): Write
9112         messages to minibuffer.
9113
9114 2001-01-28  José Matos  <jamatos@fep.up.pt>
9115
9116         * buffer.C (makeDocBookFile): adds support for document language.
9117         A silly restriction on the name of LatexCommand types where removed.
9118         Added support for CDATA sections, allows to chars unescaped, used
9119         among others in code, to avoid escape < and >.
9120
9121 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
9122
9123         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9124         saved positions instrad of a stack. Furthermore, a position is
9125         stored using paragraph id/paragraph position.
9126
9127         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9128         Remove LFUN_REF_BACK.
9129
9130 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
9131
9132         * converter.C (dvipdfm_options): New method.
9133
9134 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9135
9136         * vspace.C (isValidLength): Fix for empty input string.
9137
9138 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9139
9140         * LyXAction.C (init): change description of LFUN_FIGURE to
9141         "Insert Graphics"
9142
9143 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9144
9145         * LaTeX.C: add using directive
9146
9147 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
9148
9149         * MenuBackend.C (expand): Fix the sorting of the formats.
9150
9151 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
9152
9153         * lyx_main.C: tiny error message fix
9154
9155 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9156
9157         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9158         calling fl_initialize(). This fixes the problem with ',' as
9159         decimal separator in text files.
9160
9161 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
9162
9163         * trans.C (process): Fix the keymap bug.
9164
9165 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
9166
9167         * LaTeX.C (scanAuxFiles): New method. Provides support for
9168         multiple bibliographies (when using the bibtopic/bibunits pacakges).
9169         (scanLogFile) Scan for "run BibTeX" messages.
9170
9171         * buffer.C (makeLaTeXFile): Do not load the ae package when using
9172         OT1 font encoding. Also, load the aecompl package if the ae
9173         package is loaded.
9174
9175         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9176
9177 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9178
9179         * texrow.C (increasePos): turn two error messages into debug
9180         messages.
9181
9182 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
9183
9184         * LaTeX.C (scanAux): Handle the \@input macro.
9185         (runBibTeX): Use scanAux().
9186
9187         * language.C (latex_options_): New field.
9188
9189         * LaTeXFeatures.C (getMacros): Add language macros.
9190
9191         * buffer.C (makeLaTeXFile): Small fix.
9192
9193 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9194
9195         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9196
9197         * text2.C: add a using directive.
9198
9199 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
9200
9201         * BufferView2.C:
9202         * lyx_gui_misc.h:
9203         * lyxfr1.C:
9204         * lyxfunc.C: kill LyXBell.
9205
9206 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
9207
9208         * text.C (IsBoundary): Remove the error message
9209
9210         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9211
9212         * lyxrc.C (setDefaults): Correct initialization value for
9213         font_norm_type.
9214
9215 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9216
9217         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9218         gotoError().
9219
9220         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9221         and GotoNextNote().
9222
9223         * src/LyXAction.C: Added reference-next.
9224
9225         * text.C (InsertChar): Use contains instead of strchr.
9226
9227         * lyx_cb.C (MenuInsertLabel): Enable default value code.
9228
9229 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
9230
9231         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9232         alignment commands (when needed).
9233
9234         * text.C (InsertChar): Add ':' to number separator chars.