]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ascii export of paragraphs, fix small compile problem.
[lyx.git] / src / ChangeLog
1 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2
3         * buffer.C (asciiParagraph): redo some of the word and line length
4         handling.
5         (getLists): look for Caption instead of caption.
6
7 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8
9         * buffer.C (Buffer): initialize niceFile to true
10         (makeLaTeXFile): 
11         (makeLinuxDocFile): 
12         (makeDocBookFile): make sure niceFile is true on exit
13
14 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15
16         * buffer.C (makeLaTeXFile): escape ~ in \input@path
17
18 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
19
20         * LyXSendto.C: remove.
21         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
22         * lyx_gui.C: remove now-redundant comment.
23         * ColorHandler.h: remove forward declaration of class WorkArea.
24         * lyxfunc.C: remove #include "WorkArea.h".
25
26 2002-03-07  Juergen Vigna  <jug@sad.it>
27
28         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
29         got moved away with the DEPM and also set the inset_owner always
30         right which before could have been omitted.
31
32 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
33
34         * buffer.C (parseSingleLyXformat2Token): use default layout is the
35         wanted layout is not found.
36
37 2002-03-07  Juergen Vigna  <jug@sad.it>
38
39         * CutAndPaste.C (cutSelection): another layout settings forgotten.
40
41 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
42
43         * paragraph.C (breakParagraph): use default layout not layout of
44         prev paragraph.
45         (Paragraph): clear ParagraphParameters.
46
47 2002-03-06  Juergen Vigna  <jug@sad.it>
48
49         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
50         otherwise it would not be a valid lenght. Fixed a special case in
51         the minipage compatibility read where we end the document with a
52         minipage.
53
54         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
55         was set as it could be 0 for InsetTexts first entry.
56
57 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
58
59         * paragraph.C (writeFile): if layout is empty write out
60         defaultLayoutName().
61
62         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
63         file without named layout we set layout to defaultLayoutName().
64
65 2002-03-06  Juergen Vigna  <jug@sad.it>
66
67         * CutAndPaste.C (copySelection): set layout for new paragraph.
68
69         * text.C (prepareToPrint): leave ERT inset left aligned
70         (leftMargin): don't indent paragraphs inside ERT insets
71
72 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
73
74         * paragraph.C (breakParagraph): dont call clear do the work manually
75
76         * paragraph.[Ch] (clear): remove function 
77
78 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
79
80         * paragraph.C (Paragraph): dont call clear, the work has already
81         been done.
82
83         * lyxtextclass.C (operator): assert if n is empty
84
85         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
86         work manually instead.
87
88 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
89
90         * BufferView_pimpl.C: protect selectionLost against text == 0
91  
92 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
93
94         * text.C (breakParagraph): fix a setting layout to '0' problem.
95
96 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
97
98         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
99         final location of file, for the included files, and graphics.
100
101 2002-03-05  Juergen Vigna  <jug@sad.it>
102
103         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
104
105 2002-03-04  Juergen Vigna  <jug@sad.it>
106
107         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
108
109         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
110         last column of multicolumn cells.
111         (SetWidthOfMulticolCell): recalculate NMC and real columns.
112
113 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
114
115         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
116         file if it doesn't go to a temporary file.
117
118         * buffer.C (sgmlOpenTag):
119         (sgmlCloseTag):  remove extra newline insertion.
120
121 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
122
123         * text.C (getRowNearY): comment out debug msg
124
125 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
126
127         * text2.C: first -> first_y
128
129         * text.C (getRowNearY): add some attemts at a possible
130         optimization, not working.
131
132         * tabular.[Ch]: add BufferParams to several function so that newly
133         created paragraph can be initialized to he default layotu for the
134         buffers textclass.
135
136         * tabular-old.C (ReadOld): add buf->params to call of Init
137
138         * screen.C: rename text->first to text->first_y
139
140         * paragraph.C (breakParagraph): always set layout in the broken
141         paragraph
142
143         * lyxtextclass.C (Read): remove lowercase
144         (hasLayout): ditto
145         (operator): ditto
146         (delete_layout): ditto
147
148         * lyxtext.h: rename first -> first_y
149
150         * lyxlayout.C (Read): remove lowercase
151         (name): ditto
152         (setName): ditto
153         (obsoleted_by): ditto
154
155         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
156
157         * buffer.C (insertErtContents): add params are to InsetERT
158         (parseSingleLyXformat2Token): add code to check if a paragraphs
159         layout really exist.
160         (parseSingleLyXformat2Token): add params to several inset
161         constructors
162         (asciiParagraph): remove lowercase, do the layout comparisons with
163         no_case
164
165         * BufferView_pimpl.C (cursorNext): first -> first_y
166         (resizeCurrentBuffer): first -> first_y
167         (updateScrollbar): first -> first_y
168         (scrollCB): first -> first_y
169         (workAreaMotionNotify): first -> first_y
170         (workAreaButtonPress): first -> first_y
171         (checkInsetHit): first -> first_y
172         (cursorPrevious): first -> first_y
173         (cursorNext): first -> first_y
174         (Dispatch): add buffer_->params to severl inset contructors
175
176 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
177
178         * lyxlayout.C (Read): remove some debug info that I forgot.
179
180         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
181         clean up the code slightly.
182         (makeLinuxDocFile): ditto
183         (makeDocBookFile): ditto
184
185         * text2.C: layout as string
186
187         * text.C: layout as string
188
189         * paragraph_pimpl.C: layout as string
190
191         * paragraph.[Ch]: layout as string
192
193         * lyxtextclasslist.[Ch]: layout as string
194
195         * lyxtextclass.[Ch]: layout as string
196
197         * lyxtext.h: layout as string
198
199         * lyxlayout.[Ch]: layout as string
200
201         * lyx_cb.C: layout as string
202
203         * bufferview_funcs.C: layout as string
204
205         * bufferparams.C: layout as string
206
207         * buffer.C: layout as string
208
209         * LyXView.[Ch]: layout as string
210
211         * LaTeXFeatures.[Ch]: layout as string
212
213         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
214
215         * BufferView_pimpl.C: change current_layout to string, remove
216         lyx::layout_type.
217         (Dispatch): 
218         (smartQuote): 
219         (insertInset): 
220         (workAreaButtonRelease): layout as string
221
222         * BufferView2.C (unlockInset): adjust
223
224         * vspace.C (asLatexCommand): use an explict temp variable.
225
226 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
227
228         * Makefile.am: use FRONTEND_*
229  
230 2002-03-01  Juergen Vigna  <jug@sad.it>
231
232         * tabular.C (SetWidthOfMulticolCell): changed to something better
233         I hope but still work in progress.
234         (recalculateMulticolumnsOfColumn): renamed function from
235         recalculateMulticolCells as it is more appropriate now.
236         (SetWidthOfCell): calculate multicols better.
237
238 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
239
240         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
241
242         * lyxfunc.C (processKeySym): print sequence also if it is
243         `deleted' (complete)
244
245         * kbsequence.C (print): print sequence even if it is deleted
246         (complete would be a better word, actually).
247
248         * lyxfunc.C (dispatch): print complete options after a prefix key
249
250         * vspace.C (asLatexCommand): rewrite in a slightly different form.
251
252 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
253
254         * text2.C (setCharFont): eliminate setCharFont code duplication.
255
256 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
257
258         * BufferView_pimpl.C (Dispatch): remove bogus handling of
259         LFUN_TABULAR_FEATURE (bug #177)
260
261 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
262
263         * Makefile.am: remove figure.h
264
265 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
266
267         * Bufferview_pimpl.C:
268         * CutAndPasteC:
269         * LaTeX.C:
270         * LyXSendto.C:
271         * buffer.C:
272         * bufferlist.C:
273         * converter.C:
274         * language.C:
275         * lyxfunc.C:
276         * lyxvc.C:
277         * paragraph.C:
278         * text.C:
279         * text2.C: remove #include "lyx_gui_misc.h".
280
281         * LaTeX.C: added #include <cstdio>
282
283 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
284
285         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
286         that the paragraph following this one can have.
287
288         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
289
290         * vspace.C (asLatexCommand): fix bogus gcc warning
291
292         * Makefile.am (lyx_SOURCES): remove vms_defines.h
293
294 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
295
296         * text2.C (setLayout): get rid of redundant code
297
298 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
299
300         * text2.C (incDepth): make sure depth cannot be increased beyond
301         reasonable values.
302
303 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
304
305         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
306         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
307
308         * PainterBase.h (image):
309         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
310         a LyXImage const *.
311
312 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
313
314         * BufferView.C:
315         * BufferView.h:
316         * BufferView_pimpl.C:
317         * BufferView_pimpl.h:
318         * LaTeXFeatures.C:
319         * LyXAction.C:
320         * LyXView.C:
321         * Makefile.am:
322         * UpdateList.h:
323         * UpdateList.C:
324         * buffer.C:
325         * figure.h:
326         * figureForm.C:
327         * figureForm.h:
328         * figure_form.C:
329         * figure_form.h:
330         * lyx_cb.C:
331         * lyx_gui.C:
332         * lyx_gui_misc.C:
333         * lyxfunc.C:
334         * sp_base.h:
335         * sp_ispell.h:
336         * sp_pspell.h:
337         * sp_spell.C: remove fig inset, and the crap house of
338           cards that follows it
339  
340 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
341
342         * Makefile.am:
343         * lyxserver.C:
344         * os2_defines.h:
345         * os2_errortable.h:
346         * nt_defines.h: move .h into support/
347
348         * vms_defines.h: remove
349
350         * WorkArea.C: add space in debug output
351
352         * text2.C:
353         * paragraph.C:
354         * buffer.C: add WITH_WARNINGS
355
356         * vc-backend.h:
357         * vc-backend.C:
358         * bufferlist.C: s/retrive/retrieve/, add docs
359
360         * vspace.h:
361         * vspace.C:
362         * kbmap.h:
363         * lyxlength.h:
364         * lyxgluelength.h:
365         * length_common.h:
366         * chset.h:
367         * chset.C: add docs
368
369         * lyxgui.C: add ID to X error handler
370
371         * lyxtestclass.c: fix typo
372
373 2002-02-26  Juergen Vigna  <jug@sad.it>
374
375         * tabular_funcs.C (write_attribute): changed so that some default
376         attributes are not written at all.
377         (getTokenValue): set default values before trying to read the
378         value so we have the return value always set as default if we don't
379         find the token we search for.
380
381         * tabular.C (Write): write bools as bools not as strings!
382
383 2002-02-22  Juergen Vigna  <jug@sad.it>
384
385         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
386         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
387
388         * text.C (leftMargin): don't add an indent for paragraphs inside
389         tabular cells (fix #208).
390
391 2002-02-21  José Matos  <jamatos@fep.up.pt>
392
393         * tabular.C (docBook): fixed support for long tables.
394
395 2002-02-20  Juergen Vigna  <jug@sad.it>
396
397         * text2.C (getFont): get the drawing font of the Inset if this
398         paragraph is inside an inset (only important for InsetERT for now).
399
400         * buffer.C (insertErtContents): use new lanugage params in ERT
401         constructor.
402
403         * CutAndPaste.C: commenting out seemingly uneeded code.
404
405 2002-02-19  Allan Rae  <rae@lyx.org>
406
407         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
408         Iterators might be simple to use but they also get invalidated.
409         (removeAutoInsets): renamed saved cursor tracking variables and added
410         some comments to clarify what everything does.
411
412 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
413
414         * Chktex.C:
415         * LaTeX.C:
416         * LyXSendto.C:
417         * converter.C:
418         * lyx_cb.C:
419         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
420         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
421
422         * lyxfunc.C:
423         * vc-backend.h: remove #include "support/syscall.h"
424
425         * LaTeX.C:
426         * LyXSendto.C:
427         * converter.C: rearrange #includes in Lars' approved fashion.
428
429         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
430         forward declare class Timeout in the header file.
431
432         * XFormsView.C: changes due to the above.
433
434         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
435         similar to LyXView.
436
437         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
438         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
439         
440 2002-02-18  José Matos  <jamatos@fep.up.pt>
441
442         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
443         insets contents.
444
445 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
446
447         * a lot of small ws changes
448         * add a lot of using std::XXX
449         * use std construcs some places where approp.
450         * use some exisint stuff from lyxfunctional where approp.
451         * Make file changes to use partial linking (lets test this now...)
452         
453 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
454
455         * Chktex.C:
456         * buffer.C:
457         remove #include "support/syscontr.h" as it's redundant. Always has been.
458         
459         * Chktex.C:
460         * LaTeX.C:
461         * LyXSendto.C:
462         * converter.C:
463         * lyx_cb.C:
464         * vc-backend.C:
465         change Systemcalls::System to Systemcalls::Wait and
466         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
467         No change of functionality, just reflects the stripped down Systemcalls
468         class.
469
470 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
471
472         * debug.[Ch]: add a GRAPHICS type to the enum.
473
474 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
475
476         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
477
478         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
479         there is an inset.
480
481 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
482
483         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
484         match the changes below.
485
486         * text2.C (toggleInset): if there is not editable inset at cursor
487         position, try to see if cursor is _inside_ a collapsable inset
488         and close it.
489
490 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
491
492         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
493         document menu has a nice checkbox
494
495 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
496
497         * lyxlength.C (asLatexString): change PW to output as percent of
498         \textwidth. 
499
500         * lengthcommon.C: change '%' to 't%'
501
502         * lyxfunc.C (dispatch): a few comments from Martin
503
504 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
505
506         * WorkArea.h:
507         * WorkArea.C:
508         * BufferView_pimpl.h:
509         * BufferView_pimpl.C: clear our selection when X tells us we've lost
510           the X selection.
511
512 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
513
514         * vspace.C (inPixels): fix compiler warning
515
516 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
517
518         * lyxfunc.C (getStatus): fix status message for disabled commands. 
519
520 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
521
522         * BufferView_pimpl.C: fix crash on close buffer 
523         during selection (#227)
524  
525 2002-01-27  Herbert Voss  <voss@lyx.org>
526
527         * buffer.C: link old Figure to new graphic inset
528
529 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
530
531         * FontLoader.C (getFontinfo): Change the latex font names in order
532         to match the names of type1inst.
533
534 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
535
536         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
537
538         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
539         (extchanged): ditto
540         (ext_exist): ditto
541         (remove_files_with_extension): ditto
542         (remove_file): ditto
543         (write): ditto
544
545         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
546         document is smaller than the work area height. Do not initialize
547         static variables to 0.
548
549 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
550
551         * lyx_gui.C (init): give the toolbar tooltips a normal font.
552
553         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
554         LFUN_LAYOUT_PARAGRAPHS. 
555
556         * tabular.C (GetCellFromInset): new method. Finds an inset in a
557         tabular. It is possible to provide a possible cell, which will
558         typically be the actcell from the corresponding insettabular
559
560         * lyxfunc.C (getStatus): small cleanup; disable
561         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
562         true
563
564 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
565
566         * tabular.C (Validate): remove broken optimization (fixes bug #201)
567
568         * paragraph.C (startTeXParParams): 
569         (endTeXParParams): new methods. The LaTeX code to
570         start/end paragraph formatting
571         (simpleTeXOnePar): call startTeXParParams also when paragraph is
572         empty (fixes bug #200)
573
574         * vspace.C (inPixels): adapt to the change below
575         (inPixels): [later] more cleanups (remove unused variables)
576
577         * lyxlength.C (inPixels): change to use a width and a height as
578         parameter.
579
580 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
581
582         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
583         Replaced with \paperwidth
584
585         * DepTable.C (insert): add std:: qualifier
586
587 2002-01-18  Allan Rae  <rae@lyx.org>
588
589         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
590         updated also?
591         
592         * text.C (drawInset): Turned out I didn't know enough about how 
593         rebreaking worked.  This fixes most of the redraw problems.  I see
594         an occasional cursor trail when a line is broken now and the cursor
595         placement can seem out by a few pixels also after a rebreak.
596
597 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
598
599         * buffer.C (parseSingleLyXformat2Token): update because minipage
600         width is now a LyXLength
601
602         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
603
604         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
605         math insets
606
607 2002-01-17  Juergen Vigna  <jug@sad.it>
608
609         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
610
611         * BufferView2.C (lockInset): call edit() so that theLockingInset()
612         is set correctly and the inset is updated correctly.
613
614 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
615
616         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
617         the beginning of the loop.
618
619 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
620
621         * lyxrc.C: improve help for use_scalable_fonts
622
623 2002-01-17  Allan Rae  <rae@lyx.org>
624
625         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
626
627 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
628
629         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
630         make sure to set their inset_owner to the right value (bug #171)
631
632 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
633
634         * DepTable.h 
635         * DepTable.C: Implement mtime checking to reduce time spent doing
636         CRCs. 
637
638 2002-01-16  Juergen Vigna  <jug@sad.it>
639
640         * tabular.C (GetAdditionalHeight): one of error fixed.
641
642         * lyxrc.C (output): small fix in writing use_pspell.
643
644 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
645
646         * sp_base.h: #include LString.h
647
648 2002-01-16  Allan Rae  <rae@lyx.org>
649
650         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
651         Can someone check this please?
652
653         * text.C (drawInset): It was possible that p.row would be removed by
654         breakAgainOneRow upsetting a few other settings.  There may be another
655         small tweak possible by setting need_break_row = 0 when p.row has been
656         removed but I don't know enough about the logic here.
657
658 2002-01-15  Allan Rae  <rae@lyx.org>
659
660         * text.C (insertChar): removed conditional truism.
661
662         * BufferView2.C (removeAutoInsets): More tweaks.
663         cur_par_prev could be a stray pointer.  Check for trailing empty line
664         in case last line was cur_par and only had an error inset on it.
665
666 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
667
668         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
669         absolute 
670
671         * vc-backend.C (most methods):
672         * exporter.C (Export): 
673         * converter.C (convert): 
674         (runLaTeX): 
675         * LyXSendto.C (SendtoApplyCB): 
676         * lyxfunc.C (dispatch): 
677         (menuNew): 
678         (open): 
679         (doImport): 
680         * lyx_cb.C (AutoSave): 
681         (InsertAsciiFile): 
682         * BufferView_pimpl.C (MenuInsertLyXFile): 
683         * buffer.C (runChktex): use Buffer::filePath().
684
685         * buffer.h: rename filename to filename_; rename filepath to
686         filepath_ and make it private
687         (filePath): new method
688
689         * buffer.C (writeFile): use fileName()
690         (getLatexName): 
691
692         * lyx_main.C (init): fix starting  of LyX when the binary is a
693         link from so,ewhere else.
694
695         * minibuffer.C: include <cctype> for isprint
696
697 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
698
699         * buffer.C (parseSingleLyXformat2Token): changes associated with the
700         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
701         name clash with InsetCollapsable's width function.
702
703 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
704
705         * lastfiles.C: include <iterator>
706
707 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
708
709         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
710         std::count.
711
712         * buffer.C (makeLaTeXFile): ditto.
713         Also make loop operation more transparent.
714
715 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
716
717         * ToolbarDefaults.C: remove trailing comma closing namespace.
718
719         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
720
721         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
722         as in WorkArea.
723
724         * trans.C (Load): comment out unused variable, allowed.
725
726 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
727
728         * minibuffer.[Ch] (append_char): new method to recieve input from the
729         drop-down completion browser. If a key was pressed, then recieve this
730         char and append it to the existing string.
731         (peek_event): modify the positioning data passed to the completion
732         browser so that it can be placed above the minibuffer rather than below.
733 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
734
735         * LyXAction.C (init): alloe error-next for readonly documents.
736
737         * BufferView2.C (ChangeRefsIfUnique): use standard version of
738         count.
739
740 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
741
742         * bufferlist.C (readFile): create the buffer _after_ checking that
743         the file exists.
744
745         * lyxfunc.C (verboseDispatch): fix handling of arguments
746
747         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
748
749         * lyxrc.C: use string::erase() instead of initializing to "".
750         
751
752 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
753
754         * BufferView_pimpl.h:
755         * BufferView_pimpl.C:
756         * WorkArea.h:
757         * WorkArea.C:
758         * text2.C: tell X when we have made a selection for copying
759
760 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
761
762         * BufferView_pimpl.C (MenuInsertLyXFile): 
763         * lyxfunc.C (menuNew): 
764         (open): 
765         (doImport): add shortcuts to directory buttons
766
767         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
768         open a float)
769
770         * lyxfunc.C (setStatusMessage):
771         (getStatusMessage): new methods
772         (getStatus):use setStatusMessage instead of setErrorMessage
773         (dispatch): when function is disabled, set error message here
774         [instead of in getStatus previously]
775
776         * BufferView_pimpl.C (workAreaButtonRelease): update
777         toolbar/menubar here too.
778
779 2002-01-13  Allan Rae  <rae@lyx.org>
780
781         * BufferView2.C (removeAutoInsets): finished off earlier fix.
782         Now seems indestructible.  Remaining task is to audit all other
783         code affected by deleteEmptyParagraphMechanism.  One small quirk
784         left is that an empty document with an error in the preamble can
785         be made to report an error but no error box appears.  I don't know
786         where it goes.
787         (removeAutoInsets): Improved comments.
788
789 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
790
791         * Thesaurus.h:
792         * Thesaurus.C: update for Aiksaurus 0.14
793
794 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
795
796         * text2.C (firstParagraph): removed member function, all uses
797         replaces with ownerParagraph
798         (redoParagraphs): here
799         (updateInset): here
800         (toggleAppendix): here
801         * BufferView2.C (insertErrors): here
802         (setCursorFromRow): here
803
804 2002-01-13  Allan Rae  <rae@lyx.org>
805
806         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
807         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
808         There is still a way to segfault this although you may have to do this
809         multiple times: Have an InsetERT with an unknown command in it. 
810         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
811         <down-arrow>, <Enter> again, View->DVI, BANG!
812
813         * text2.C (setCursor): 
814         (deleteEmptyParagraphMechanism): 
815         * lyxtext.h (setCursor): 
816         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
817         Making use of the return value may help fix other bugs.
818
819 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
820
821         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching. 
822
823         * LyXView.C (updateMenubar): call MenuBar::update here
824         (updateToolbar): but not here
825         (showState): do not update toolbar/menubar
826
827         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
828         should need to care about that.
829
830         * lyxfunc.C (verboseDispatch): simplify a bit
831         (getStatus): have a version which takes a pseudoaction, and
832         another which requires a (kb_action,string).
833
834         * LyXAction.C (retrieveActionArg): make it work also when action
835         is not a pseudo-action.
836         (getActionName): simplify a bit
837         (helpText): 
838
839 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
840
841         * lyxfunc.C (verboseDispatch): new families of methods with
842         several ways to specify a command and a bool to indicate whether
843         the command name and shortcut should be displayed in minibuffer
844         (eventually, we could extend that to a finer bitmask like
845         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
846         (dispatch): the pristine dispatch command which just, well,
847         dispatchs! Note it still sets its result to minibuffer; I'm not
848         sure we want that.
849
850         * lyxfunc.h: remove setHintMessage
851
852         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
853
854 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
855
856         * BufferView_pimpl.C (specialChar): delete new inset if we have
857         not been able to insert it.
858
859         * kbmap.C: revert to using int instead of kb_action, since all we
860         are dealing with is pseudo-actions.
861
862         * LyXAction.C (searchActionArg): change to return int instead of
863         kb_action, since the result is a pseudoaction.
864
865 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
866
867         * buffer.C (insertErtContents): Fix (partially) the font bug.
868
869 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
870
871         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
872         as the other one is broken on my machine!
873
874 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
875
876         * commandtags.h:
877         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
878
879 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
880
881         * lyxrc.[Ch]: change names and descriptions of popup font variables to
882         reflect their actual use. Provide compatibility code for older lyxrc
883         files.
884         
885         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
886         FL_NORMAL_STYLE.
887         change names of popup font variables in line with the changes to lyxrc.C
888
889 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
890
891         * buffer.C (asciiParagraph): avoid outputing a word twice after
892         an inset.
893
894         * lyxrc.C (getDescription): document that document_path and
895         template_path can be empty.
896
897 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
898
899         * LaTeXFeatures.C (getMacros): 
900         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
901         
902         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
903
904         * LaTeXFeatures.C (useFloat): require "float" here instead of in
905         getPackages. 
906         (getPackages): rename feature "floats" to "float". Use an array to
907         iterate over 'simple' features (i.e. just a \usepackage). Add
908         handling of "amsmath" (renamed from "amsstyle").
909
910 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
911
912         * LaTeXFeatures.C (require): Prevent duplicate entries in the
913         features list.
914
915 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
916
917         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
918         FuncStaus::FuncStatus & FuncStaus::some_method().
919
920 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
921
922         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
923         of the func_satus stuff. Edited and massaged in various ways by
924         JMarc.  
925
926         * lyxfunc.C (getStatus): use FuncStatus
927
928 2002-01-08  Juergen Vigna  <jug@sad.it>
929
930         * text.C (nextBreakPoint): use function Inset::isChar().
931
932         * paragraph.C (TeXOnePar): use function
933         Inset::forceDefaultParagraphs.
934
935         * buffer.C (latexParagraphs): use function
936         Inset::forceDefaultParagraphs.
937
938 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
939
940         * lyx_gui.C (init): set the style of the menu popups to
941         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
942
943 2002-01-07  Juergen Vigna  <jug@sad.it>
944
945         * text.C (setHeightOfRow): small fix
946         (prepareToPrint): don't look at alignment if we don't have the place
947         for doing it.
948
949 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
950
951         * box.C: New file. Move the Box methods and functions out of box.h,
952         following Lars' suggestion.
953
954 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
955
956         * box.h: #include "support/LOstream.h", needed for inlined function.
957
958         * lyxtextclass.C:
959         * lyxtextclasslist.C: added some using std declarations.
960
961 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
962
963         * box.h: make signed dimensions to allow insets wider than
964           the screen (bug #162)
965
966         * BufferView_pimpl.C: add some insetHit debug
967  
968 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
969
970         * vc-backend.C: add FIXME
971  
972 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
973
974         * lyxfunc.C (getStatus): enable code for showing math font status
975         in toolbar/menu.
976
977 2002-01-07  Juergen Vigna  <jug@sad.it>
978
979         * text.C (nextBreakPoint): removed debug output not needed anymore.
980
981 2002-01-06  Juergen Vigna  <jug@sad.it>
982
983         * text.C (nextBreakPoint): fixed up this function we had this bug
984         since ever but now hopefully we break row better.
985         (insertChar): we have to check if an inset is the next char as it
986         could now happen that a large inset is causing a break.
987
988 2002-01-05  Juergen Vigna  <jug@sad.it>
989
990         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
991         if it doesn't like to be drawed.
992
993 2002-01-04  Juergen Vigna  <jug@sad.it>
994
995         * BufferView2.C (lockInset): forgot to set a cursor.
996
997         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
998
999 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
1000
1001         * FormMathsPanel.C:
1002         * FormMathsPanel.h
1003         * MathsSymbols.C:
1004         * form_maths_panel.C:
1005         * form_maths_panel.h:
1006         * form_maths_panel.fd: implemented sub- and super- buttons in math
1007         panel. 
1008
1009         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
1010         (or ^ space) to be used as in TeX (req'd by André).
1011
1012         * lyxfunc.C: Allow ^ and _ again to be used both as
1013         super/subscript (mathed) and as themselves (in text).
1014
1015 2002-01-03  Allan Rae  <rae@lyx.org>
1016
1017         * LyXView.C (updateWindowTitle): Setup a short icon title of either
1018         "LyX" or the filename of the current buffer if it has one.  This is a
1019         modified form of John Levon's patch.
1020
1021         * XFormsView.C (setWindowTitle): also set icon title.
1022
1023         * LyXView.h (setWindowTitle): signature changed.
1024         * XFormsView.h (setWindowTitle): ditto.
1025
1026 2002-01-02  Juergen Vigna  <jug@sad.it>
1027
1028         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
1029
1030 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1031
1032         * screen.C (topCursorVisible): introduce a temp var for
1033         text->cursor.row(), handle the case where this row is null. (kindo
1034         hachish)
1035
1036         * text2.C (setCursor): add a couple of asserts.
1037
1038         * paragraph.h (inset_iterator): add -> operator 
1039
1040         * paragraph.[Ch] (autoDeleteInsets): remove member function 
1041
1042         * BufferView2.C (removeAutoInsets): rewrite to handle the old
1043         cursor pos correctly and handle inset deletion by itself.
1044         (insertErrors): move iterator declaration out of for expression
1045
1046         * lyxtextclass.C: add <algorithm>
1047
1048         * Makefile.am: added the new files to sources, removed layout.C
1049         
1050         * layout.C: removed file
1051         
1052         * layout.h: remove LYX_DUMMY_LAYOUT
1053
1054         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
1055         layout.
1056
1057         * lyxlayout.[Ch]:
1058         * lyxtextclass.[Ch]:
1059         * lyxtextclasslist.[Ch]: new files 
1060
1061         * include order changes to a lot of files, also changes because of
1062         the six new files.
1063         
1064 2001-12-27  Juergen Vigna  <jug@sad.it>
1065
1066         * buffer.C (asciiParagraph): more fixes.
1067
1068         * tabular.C (ascii): make ascii export support export of only the
1069         data separated by a column-delimiter.
1070         (ascii): better support for ascii export.
1071
1072         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
1073
1074 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1075
1076         * tabular_funcs.C: use a "using std::getline" instead of the
1077         previous fix from Angus (necessary for cxx + lyxstring)
1078
1079 2001-12-24  Juergen Vigna  <jug@sad.it>
1080
1081         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
1082
1083         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
1084         problems. First check a minipage also if we have some ert-contents
1085         (not only on par->size(), second set the right depth of the paragraph
1086         on the relink to the root-paragraph-list!
1087
1088         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
1089         which then did not anymore update the main paragraphs on undo/redo!
1090
1091 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1092
1093         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
1094         code. Support all font-changing funcs (even those which are not in
1095         menu currently). Support for reporting font settings in 
1096         mathed (disabled until Andre provides a function on mathed's side).
1097
1098         * func_status.h (toggle): small helper function to set toggle
1099         state on a flag.
1100
1101 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
1102
1103         * tabular_funcs.C: getline -> std::getline
1104
1105 2001-12-21  Juergen Vigna  <jug@sad.it>
1106
1107         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
1108         accessed and could be 0 (I couldn't generate this but it seems
1109         Michael could!).
1110
1111 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1112
1113         * tabular_funcs.C: add LIstream.h, move write_attribute to..
1114         * tabular_funcs.h: here and include iosfwd
1115
1116 2001-12-20  Juergen Vigna  <jug@sad.it>
1117
1118         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
1119         inside inset but undo_par was.
1120
1121 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1122
1123         * Thesaurus.C: always include <config.h> in sources.
1124
1125         * Painter.h: 
1126         * lyxlookup.h: 
1127         * box.h: do not include <config.h> in header files
1128
1129         * text.C (paintLastRow): remove unused variable
1130
1131         * text.C (transformChar): 
1132         (insertChar): 
1133         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
1134
1135         * Painter.C (text): 
1136         * font.C (width): rewrite to use uppercase() instead of
1137         islower/toupper. 
1138
1139         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
1140
1141 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
1142
1143         * lyxfind.C: clean up of find failure position change
1144
1145 2001-12-20  Juergen Vigna  <jug@sad.it>
1146
1147         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
1148
1149         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
1150         (TeXRow): added to LaTeX a single tabular row.
1151         (TeXLongtableHeaderFooter): added to output LT-h/f data.
1152         (Latex): simplified and finally good LT-h/f support.
1153         (various_functions): just small adaptions for LT-h/f support.
1154
1155         * tabular_funcs.[hC]: added and moved here all not classfunctions
1156         of LyXTabular.
1157
1158 2001-12-19  Juergen Vigna  <jug@sad.it>
1159
1160         * tabular.[Ch]: better support for longtabular options (not finished
1161         yet!)
1162
1163 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1164
1165         * text.C (paintLastRow): use the label font instead of the font of
1166         the last character to compute the size of *_BOX. This makes more
1167         sense and avoids a crash with empty paragraphs.
1168         Use Painter::rectangle to draw EMPTY_BOX.
1169
1170 2001-12-19  Juergen Vigna  <jug@sad.it>
1171
1172         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
1173         the paragraphs if the replaced paragraph is not the first one!
1174         Tried to delete not used paragraphs but does not work yet so for
1175         now it's inside #ifdef's and by default off!
1176
1177 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1178
1179         * MenuBackend.C: include "lyx_main.h" instead of declaring
1180         lastfiles (actually was declared as LastFiles* instead of a
1181         scoped_ptr).
1182
1183 2001-12-17  Juergen Vigna  <jug@sad.it>
1184
1185         * tabular.C (AppendColumn): applied John's fix
1186
1187 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
1188
1189         * BufferView.h: 
1190         * BufferView.C:
1191         * BufferView_pimpl.h:
1192         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
1193
1194         * Makefile.am:
1195         * box.h: new start of class for above
1196
1197         * lyxfunc.C: ignore space-only minibuffer dispatches.
1198           Show the command name when it doesn't exist
1199
1200         * minibuffer.C: don't add empty lines to the history
1201
1202         * minibuffer.C: add a space on dropdown completion
1203  
1204 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
1205
1206         * text.C: fix line above/below drawing in insets
1207
1208 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1209
1210         * lyxlength.C (LyXLength): Initialize private variables.
1211
1212 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
1213
1214         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language 
1215         when inserting error insets.
1216
1217 2001-12-13  Juergen Vigna  <jug@sad.it>
1218
1219         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
1220         actually sometimes the before-paragraph.
1221         (setUndo): don't clear the redostack if we're not actually undoing!
1222
1223 2001-12-06  Juergen Vigna  <jug@sad.it>
1224
1225         * undo_funcs.C (textHandleUndo): well after John's hint I got here
1226         and fixed redoing of main paragraph, so we can use it now ;)
1227
1228         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
1229
1230 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1231
1232         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
1233         Juergen's request
1234
1235 2001-12-13  André Pönitz <poenitz@gmx.net>
1236
1237         * undostack.[Ch]:
1238         * undo_func.C: minor cleanup
1239
1240 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1241
1242         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
1243         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
1244         font in urw-fonts package which is marked as -urw-fontspecific and
1245         does not work (incidentally, changing the encoding in the
1246         fonts.dir of this package to -adobe-fontspecific fixes the
1247         problem).
1248
1249         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
1250         is a crash when undoing first paragraph (Juergen, please take a
1251         look). THis does not mean the undo fix is wrong, just that it
1252         uncovers problems.
1253
1254         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
1255         the (Paragraph*) version when needed instead of duplicating the
1256         code.
1257
1258         * text.C (workWidth): use Inset::parOwner to find out where the
1259         inset has been inserted. This is a huge performance gain for large
1260         documents with lots of insets. If Inset::parOwner is not set, fall
1261         back on the brute force method
1262
1263         * paragraph_pimpl.C (insertInset): 
1264         * paragraph.C (Paragraph): 
1265         (cutIntoMinibuffer): set parOwner of insets when
1266         inserting/removing them
1267
1268         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1269
1270 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
1271
1272         * commandtags.h:
1273         * LyXAction.C:
1274         * lyx_main.C:
1275         * lyxfunc.C:
1276         * mathed/formulabase.C:
1277         * mathed/math_cursor.[Ch]:
1278         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
1279
1280
1281 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1282
1283         * lyxlength.[Ch] (operator!=): new function
1284
1285 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1286
1287         * text.C (workWidth): use Inset::parOwner to find out where the
1288         inset has been inserted. This is a huge performance gain for large
1289         documents with lots of insets. If Inset::parOwner is not set, fall
1290         back on the brute force method
1291
1292         * paragraph_pimpl.C (insertInset): 
1293         * paragraph.C (Paragraph): 
1294         (cutIntoMinibuffer): set parOwner of insets when
1295         inserting/removing them
1296
1297         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
1298
1299 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1300
1301         * tabular-old.C (getTokenValue): 
1302         * tabular.C (getTokenValue): 
1303         (write_attribute): new versions for LyXLength
1304         (everywhere): adjust the use of widths
1305
1306         * tabular.h: change the type of widths from string to LyXLength
1307
1308 2001-12-11  Ben Stanley <bds02@uow.edu.au>
1309
1310         * paragraph.C: fixed missing line number count when exporting
1311         Environments to LaTeX file
1312
1313         * buffer.C: added informational message for checking line numbers.
1314
1315 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1316
1317         * text2.C (deleteEmptyParagraphMechanism): if there is only one
1318         paragraph, do the 'double space' part, but not the 'empty
1319         paragraph' one.
1320
1321         * text.C (workWidth): small optimization
1322         (getLengthMarkerHeight): use minimal size for negative lengths. 
1323
1324 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
1325
1326         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
1327
1328         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
1329
1330 2001-12-11  André Pönitz <poenitz@gmx.net>
1331
1332         * FontLoader.C:
1333         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
1334
1335 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
1336
1337         * text2.C: keep selection on a setFont()
1338  
1339 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
1340
1341         * lyx_cb.C: another bv->text misuse, from insert label
1342  
1343 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
1344
1345         * kbsequence.h:
1346         * kbsequence.C: re-instate nmodifier mask
1347  
1348 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
1349
1350         * lyx_main.h: make lyxGUI private.
1351
1352 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
1353
1354         * lyxfind.C: place the cursor correctly on failed search
1355  
1356 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1357
1358         * text.C (getLengthMarkerHeight): for small heights, the arrows
1359         are not always on top/bottom of the text
1360         (drawLengthMarker): smaller arrows; take the left margin in
1361         account; draw also vfills.
1362         (paintFirstRow): 
1363         (paintLastRow): remove special code for vfill and standard spaces,
1364         since everything is handled in drawLengthMarker now.
1365
1366 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1367
1368         * buffer.C (insertErtContents): try to handle font and language
1369         interaction a bit better.g
1370
1371         * ColorHandler.C (updateColor): change the hash to cover the whole
1372         LColor enum, ws cleanup
1373         (getGCLinepars): ditto
1374         (getGCLinepars): only lookup in the linecache once.
1375
1376 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
1377
1378         * iterators.C (operator++): Make the iterator more robust
1379
1380         * BufferView2.C (removeAutoInsets): Use paragraph iterators
1381         (John's patch)
1382         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
1383
1384 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
1385
1386         * lyxtext.h:
1387         * text.C: better added space drawing
1388
1389 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
1390
1391         * LyXView.C:
1392         * BufferView2.C: fix layout combo update on inset unlock
1393
1394 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
1395
1396         * Makefile.am: don't compile unused files
1397
1398 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
1399
1400         * lyxfunc.C:
1401         * commandtags.h:
1402         * LyXAction.C: remove old LFUN_LAYOUTNO
1403
1404 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
1405
1406         * paragraph_pimpl.h:
1407         * paragraph_pimpl.C: isTextAt() doesn't need font param
1408
1409 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
1410
1411         * lyxlex.h:
1412         * lyxlex.C: little cleanup
1413
1414 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
1415
1416         * BufferView_pimpl.C: fix insertAscii for insets
1417  
1418 2001-12-05  Juergen Vigna  <jug@sad.it>
1419
1420         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
1421         set the right font on the "multi" paragraph paste!
1422
1423 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1424
1425         * trans_decl.h:
1426         * trans_mgr.[Ch]:
1427         * trans.[Ch]:
1428         * lyxgluelength.C:
1429         * lyxlength.C: remove out-commented code.
1430
1431         * BufferView_pimpl:
1432         * CutAndPaste.C: 
1433         * DepTable.C:
1434         * buffer.C:
1435         * chset.C:
1436         * lastfiles.C:
1437         * lyxlex.C:
1438         * lyxlex_pimpl.C:
1439         * lyxserver.C:
1440         * screen.C:
1441         * tabular-old.C:
1442         * tabular.C:
1443         * text.C:
1444         * trans_mgr.C:
1445         * vc-backend.C: change "while(" to "while ("
1446         
1447         * lyxlength.[Ch]: add zero function to check if length is zero or
1448         not
1449         * lyxgluelength.C: use it
1450         
1451 2001-12-05  Allan Rae  <rae@lyx.org>
1452
1453         * lyxlength.C: Attempted a fix for the abs(int) header selection.
1454         Works for 2.95.3, from what I understand of Garst's reports this should
1455         work for other g++ versions.  We're screwed if the abs(int) definition
1456         changed between bugfix releases of gcc.
1457
1458 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
1459
1460         * text.C: fix chapter label offset !
1461
1462 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
1463
1464         * lyxtext.h:
1465         * text.C: fix hfill at end of line, clean up
1466
1467 2001-12-04  Juergen Vigna  <jug@sad.it>
1468
1469         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
1470         that we force an update of the inset and it's owners if neccessary.
1471
1472 2001-12-03  Juergen Vigna  <jug@sad.it>
1473
1474         * text.C (rowLast): simplified code
1475
1476 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
1477
1478         * lyxfunc.C: fix show options on timeout
1479  
1480 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1481
1482         * screen.C (topCursorVisible): scroll half a page when the cursor
1483         reached top of bottom of screen
1484
1485 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
1486
1487         * minibuffer.C: deactivate on loss of focus
1488  
1489 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1490
1491         * vspace.[Ch] (operator!=): add operator. 
1492
1493 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
1494
1495         * BufferView_pimpl.C: refuse to open an inset when
1496         there's a selection.
1497
1498 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
1499
1500         * BufferView_pimpl.C: allow to click on RHS of full row insets
1501  
1502 2001-11-30  Juergen Vigna  <jug@sad.it>
1503
1504         * tabular.C (LyXTabular): add a same_id to set the same id's in the
1505         insets for undo reasons.
1506
1507 2001-11-28  André Pönitz <poenitz@gmx.net>
1508
1509         * vspace.[Ch]: cosmetical changes
1510
1511 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
1512
1513         * LyXAction.h:
1514         * LyXAction.C:
1515         * lyxfunc.h:
1516         * lyxfunc.C:
1517         * kbmap.h:
1518         * kbmap.C:
1519         * lyxrc.C:
1520         * kbsequence.h:
1521         * kbsequence.C: part re-write of old kb code
1522
1523         * Painter.C:
1524         * WorkArea.C: remove Lgb_bug_find_hack
1525
1526 2001-11-30  José Matos <jamatos@fep.up.pt>
1527
1528         * buffer.C (makeDocBookFile): add a comment to point a hack.
1529         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
1530         Fixed a double write of labels.
1531         
1532 2001-11-29 Ben Stanley <bds02@uow.edu.au>
1533
1534         * LaTeX.C:
1535         * LaTeX.h Fixed bug in LaTeX class where it would not
1536         re-run latex if no depfiles were changed, but the .dvi was removed.
1537
1538 2001-11-28  André Pönitz <poenitz@gmx.net>
1539
1540         * all the files from the change on 2001/11/26:
1541         use lyx::layout_type instead of LyXTextClass::size_type
1542         use lyx::textclass_type instead of LyXTextClassList::size_type
1543
1544 2001-11-29  Juergen Vigna  <jug@sad.it>
1545
1546         * text.C: added support for paragraph::isFreeSpacing()
1547
1548         * buffer.C: same as above
1549
1550         * paragraph.h: inserted isFreeSpacing() function to enable
1551         FreeSpacing inside InsetERT.
1552
1553         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
1554         of the paragraph's in the cut/copy buffer to 0!
1555
1556         * text2.C (removeRow): remove the assert as it can!
1557
1558         * lyxtext.h: added helper function firstRow returning firstrow and
1559         made firstrow private again.
1560
1561         * BufferView2.C (lockInset): don't relock if we're already locked!
1562
1563         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
1564         the only paragraph.
1565         (removeRow): added Assert::(firstrow)
1566
1567         * debug.C: forgot to add INSETTEXT here.
1568
1569 2001-11-28  Juergen Vigna  <jug@sad.it>
1570
1571         * sp_spell.C (initialize): changed error text to more general
1572         spellchecker command use (not only ispell!)
1573
1574         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
1575
1576         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
1577
1578 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
1579
1580         * vspace.C: initialise lyxgluelength on failure
1581
1582 2001-11-28  Allan Rae  <rae@lyx.org>
1583
1584         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
1585         declaration & definition that looks like a function declaration.
1586
1587 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1588
1589         * BufferView2.C (copy): 
1590         (copyEnvironment): do not clear the selection when doing a copy.
1591
1592         * text.C (paintFirstRow): compilation fix
1593
1594 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
1595
1596         * tabular.C (Latex): correct line count when writing latex.
1597
1598 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
1599
1600         * paragraph_pimpl.h:
1601         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
1602           bug a bit
1603
1604 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
1605
1606         * text.C: 
1607         * LColor.h:
1608         * LColor.C: change vfillline->added_space
1609  
1610         * text.C: add markers and text for added space
1611  
1612         * vspace.C: fix comment
1613
1614 2001-11-28  André Pönitz <poenitz@gmx.net>
1615
1616         * paragraph.C: whitespace changes
1617         * all the other files from the change on 2001/11/26:
1618         change *::pos_type into lyx::pos_type
1619         
1620 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
1621
1622         * buffer.C (parseSingleLyXformat2Token): Set the language to the
1623         language of the document when inserting error insets.
1624
1625 2001-11-26  André Pönitz <poenitz@gmx.net>
1626         
1627         * BufferView_pimpl.[Ch]:
1628         *       CutAndPaste.C:
1629         * buffer.[Ch]:
1630         * lyxcursor.[Ch]:
1631         * lyxfind.C:
1632         * lyxfunc.C:
1633         * lyxrow.[Ch]:
1634         * paragraph.[Ch]:
1635         * paragraph_pimpl.[Ch]:
1636         * sp_spell.C:
1637         * text.C:
1638         * text2.C: reduce header dependencies, introduce type for positions
1639
1640 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
1641
1642         * <various>: change to use Alert.h 
1643          
1644 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
1645
1646         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
1647         when encountering an unknown token.
1648         (readLyXformat2): Show an error message if there were unknown tokens.
1649
1650 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
1651
1652         * BufferView2.C:
1653         * BufferView_pimpl.C:
1654         * buffer.C:
1655         * paragraph.h:
1656         * text.C: 
1657         * text2.C: use par->isInset()
1658          
1659 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
1660
1661         * paragraph_pimpl.h:
1662         * paragraph_pimpl.C: cleanup 
1663          
1664 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1665
1666         * text2.C (removeRow): 
1667         * text.C (setHeightOfRow): remove useless (and costly) call to
1668         getRow. 
1669
1670 2001-11-20  Allan Rae  <rae@lyx.org>
1671
1672         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
1673         Now need Inset*::checkInsertChar() to return true for appropriate
1674         cases so that the characters in the minibuffer will actually be
1675         inserted.
1676
1677 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1678
1679         * text.C: change the order of the includes.
1680         (workWidth): initialize it at once.
1681         (workWidth): make maxw unsigned
1682         (setHeightOfRow): remove unused variable (inset)
1683         (selectSelectedWord): remove unused variable (inset)
1684         (paintRowText): fix drawing of hfill characters, and clean up a bit.
1685
1686 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1687
1688         * lyxserver.C (emergencyCleanup): do not try to close pipes if
1689         server is not running.
1690         (openConnection): 
1691         (closeConnection): add debug info when server is disabled.
1692
1693         * ColorHandler.C (getGCForeground): send debug message to GUI
1694         channel. 
1695
1696         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
1697
1698         * kbmap.C (bind): modify because return conventions of
1699         kb_sequence::parse have changed.
1700
1701         * kbsequence.C (parse): only ignore spaces and not any stupid
1702         control character. This avoids tests like s[i] <= ' ', which are
1703         guaranteed to fail with 8bit characters and signed chars.
1704         Change return code to string::npos when there have been no error
1705         (0 was a bad idea when error is at first character)
1706
1707 2001-11-14  José Matos  <jamatos@fep.up.pt>
1708
1709         * buffer.h:
1710         * buffer.C (simpleDocBookOnePar): removed unused argument.
1711
1712 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1713
1714         * text.C (selectNextWordToSpellcheck): do not test explicitely for
1715         insets which are part of a word. Paragraph::isLetter takes care of
1716         that now. Use Paragraph::isInset to identify insets.
1717         (selectSelectedWord): do not test for hyphenation break.
1718
1719         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
1720         that protected spaces are considered as spaces.
1721
1722         * paragraph.C (isLetter): cleanup the code for ispell extras; use
1723         Inset::isLetter. 
1724
1725 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
1726
1727         * lyxserver.h:
1728         * lyxserver.C: fix it. and small cleanup.
1729  
1730 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
1731
1732         * BufferView_pimpl.C: use inline helpers
1733  
1734         * LaTeXFeatures.h: 
1735         * LaTeXFeatures.C: fix typos
1736
1737         * Spacing.h:
1738         * Spacing.C: move spacing_string into class 
1739
1740         * ToolbarDefaults.C: move stuff into namespace anon
1741  
1742         * layout.h: update enum
1743
1744         * lyxfunc.C: use better debug
1745
1746         * minibuffer.h: fix typo
1747  
1748         * debug.h:
1749         * debug.C:
1750         * WorkArea.C: add and use Debug::WORKAREA
1751
1752         * lyxtext.h:
1753         * text.C: 
1754         * text2.C: code re-organisation, inline helpers
1755
1756 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
1757
1758         * Layout.C: replaced a few cases of std::vector.size() == 0 with
1759         std::vector.empty().
1760
1761 2001-11-09  Allan Rae  <rae@lyx.org>
1762
1763         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
1764         '\n's after tables.  Tabular and ERT inset work now makes this no
1765         longer necessary.
1766
1767 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
1768
1769         * minibuffer.h:
1770         * minibuffer.C: fix crash, improve drop-down completion 
1771  
1772 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
1773
1774         * lyxserver.h:
1775         * lyxserver.C: invalidate fd's when doing endPipe()
1776  
1777 2001-11-08  José Matos  <jamatos@fep.up.pt>
1778
1779         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
1780         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
1781
1782         * paragraph.h:
1783         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
1784
1785 2001-11-07  José Matos  <jamatos@fep.up.pt>
1786
1787         * buffer.h:
1788         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
1789         const qualifier.
1790
1791         * buffer.C (sgmlOpenTag):
1792         * buffer.C (sgmlCloseTag): removed debug info.
1793
1794         * buffer.h (sgmlOpenTag):
1795         * buffer.h (sgmlCloseTag): made public.
1796
1797 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1798
1799         * buffer.C (saveParamsAsDefaults): 
1800         * lyx_cb.C (MenuLayoutSave): remove
1801
1802         * LyXAction.C (init): 
1803         * commandtags.h: 
1804         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
1805
1806 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1807
1808         * buffer.C (setPaperStuff): removed from here...
1809
1810         * bufferparams.C (setPaperStuff): ... and moved there.  
1811
1812 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
1813
1814         * minibuffer.h:
1815         * minibuffer.C:
1816         * XFormsView.C: add support for drop-down completion
1817  
1818 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
1819
1820         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
1821         commands.
1822
1823 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1824
1825         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
1826         disabled. 
1827
1828 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
1829
1830         * lyx_main.C: change ref to known bugs
1831  
1832 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
1833
1834         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
1835         to work around older babel problems.
1836
1837 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
1838
1839         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
1840
1841 2001-10-24  Juergen Vigna  <jug@sad.it>
1842
1843         * tabular-old.C (ReadOld): below variable changes reflected.
1844
1845         * tabular.[Ch]: added ltType struct for longtable header/footer
1846         defines and changed all instances where they are used. Added
1847         future support for double top/bottom rows.
1848
1849 2001-10-24  José Matos  <jamatos@fep.up.pt>
1850
1851         * buffer.h (docbookHandleCaption):
1852         * buffer.C (docbookHandleCaption): removed unused function.
1853         (makeDocBookFile): moved docbook supported version to v4.1.
1854
1855 2001-10-24  José Matos  <jamatos@fep.up.pt>
1856
1857         * tabular.h:
1858         * tabular.C (docbookRow): new function to export docbook code of a row.
1859         (DocBook): now honors the longtable flags.
1860
1861 2001-10-23  José Matos  <jamatos@fep.up.pt>
1862
1863         * LaTeXFeatures.h:
1864         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
1865         of the lyx defined sgml entities used in a docbook/linuxdoc document.
1866
1867         * buffer.C (makeLinuxDocFile):
1868         (makeDocBookFile): reworked the preamble, more clean, and with
1869         support for lyx defined entities. Changed the document declaration
1870         to be more XML friendly.
1871
1872         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
1873         if we need to output XML that should be done with a filter.
1874         
1875 2001-10-22  Juergen Vigna  <jug@sad.it>
1876
1877         * sp_pspell.h (class PSpell): add alive function needed in the
1878         controller to see if the spellchecker could be started.
1879
1880 2001-10-22  Juergen Vigna  <jug@sad.it>
1881
1882         * buffer.C (insertStringAsLines): modify the font for inserting
1883         chars in certain conditions by calling checkInsertChar(font).
1884
1885 2001-10-19  Juergen Vigna  <jug@sad.it>
1886
1887         * text.C (workWidth): use getRow instead of wrong algorithm.
1888         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
1889
1890 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
1891
1892         * lyxserver.h:
1893         * lyxserver.C:
1894         * lyx_main.h:
1895         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
1896
1897 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1898
1899         * text.C (workWidth): do not search for the exact row when
1900         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
1901         optimization for big documents.
1902
1903 2001-10-18  Juergen Vigna  <jug@sad.it>
1904
1905         * text.C (workWidth): new function with added Inset * parameter.
1906
1907 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1908
1909         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
1910
1911         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
1912         change return type of getColumnNearX.
1913         
1914
1915         * text.C (changeRegionCase): use uppercase/lowercase instead of
1916         toupper/tolower. 
1917         (leftMargin): 
1918         (rightMargin): simplify code by factoring out the uses of
1919         textclasslist.
1920         (labelFill): 
1921         (numberOfHfills): 
1922         (setHeightOfRow): 
1923         (appendParagraph): use Paragraph::size_type
1924
1925 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1926
1927         * vspace.C (asLatexString): add a missing break
1928
1929 2001-10-15  Herbert Voss  <voss@perce.de>
1930
1931         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
1932
1933 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1934
1935         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
1936         is not available.
1937
1938 2001-10-10  André Pönitz <poenitz@gmx.net>
1939
1940         * lyxfunc.C: removed greek_kb_flag.
1941
1942 2001-10-10  Herbert Voss  <voss@perce.de>
1943
1944         * lyx_main.C: delete global string help_lyxdir.
1945
1946 2001-10-09  Herbert Voss  <voss@perce.de>
1947
1948         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
1949
1950         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
1951
1952         * lyx_main.C: added global string help_lyxdir.
1953
1954         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
1955
1956 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1957
1958         * lyxrc.C (set_font_norm_type): support iso8859-4
1959
1960 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
1961
1962         * LaTeX.C (deplog): add another regex for MikTeX
1963
1964 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1965
1966         * lyxrc.C (set_font_norm_type): support iso8859-3
1967
1968 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1969
1970         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
1971
1972         * LaTeXFeatures.C: remove special case of french and index
1973
1974         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
1975         before \begin{document}). This solves several incompatibilities.
1976
1977 2001-10-03  Garst Reese  <reese@isn.net>
1978
1979         * lyx_cb.C: change CheckTex error msg.
1980
1981 2001-10-03  José Matos  <jamatos@fep.up.pt>
1982
1983         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
1984
1985 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1986
1987         * .cvsignore: update
1988
1989         * lyx_main.C (commandLineVersionInfo): use new style version info.
1990
1991         * buffer.C (writeFile):
1992         (makeLaTeXFile):
1993         (makeLinuxDocFile):
1994         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
1995
1996         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
1997
1998         * version.h: update to use stuff in version.C
1999
2000         * version.C.in: new file. Contains version information determined
2001         at compile time. This is a merging of version.h and
2002         version_info.h.in.
2003
2004 2001-10-03  Juergen Vigna  <jug@sad.it>
2005
2006         * BufferView_pimpl.C (update): don't change "dirty" status in
2007         updateInset call.
2008
2009 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
2010
2011         * WorkArea.C (c-tor): re-position version string slightly.
2012
2013 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
2014
2015         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
2016         revert to previous code.
2017
2018         WorkArea.[Ch]: (show, destroySplash): methods removed.
2019
2020         WorkArea.C: rework code so that it's an amalgam of the codes before and
2021         after the splash screen was moved to WorkArea.
2022
2023 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2024
2025         * lyxrc.C (read): 
2026         * vspace.C (inPixels): 
2027         (lyx_advance): 
2028         * kbmap.C (bind): 
2029         * buffer.C (insertStringAsLines): 
2030         (asciiParagraph): fix types to be large enough
2031
2032         * lyxlex_pimpl.h: change member status from short to int
2033
2034         * layout.h: fix type of endlabeltype
2035
2036         * kbmap.C (bind): 
2037         * kbsequence.C (parse): change return type to string::size_type
2038
2039         * LaTeX.C (updateBibtexDependencies): comment out unneeded
2040         variable
2041
2042         * Bullet.C (bulletSize): 
2043         (bulletEntry): do not use short ints as parameters
2044
2045         * BufferView2.C (insertLyXFile): change a char to an int.
2046
2047         * WorkArea.C (WorkArea): remove unneeded floats in computation
2048
2049 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
2050
2051         * buffer.C (asciiParagraph): Treat '\\' as other chars.
2052
2053         * paragraph.C (asString): Do not ignore newline/hfill chars when
2054         copying to the clipboard.
2055
2056 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
2057
2058         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
2059         after a multi-line inset.
2060
2061 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
2062
2063         * paragraph.C (validate): Set NeedLyXFootnoteCode
2064
2065 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
2066
2067         * lyxfont.C (LyXSizeNames): changed increase-error to increase
2068         and decrease-error to decrease.
2069
2070 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2071
2072         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
2073         it more readable (should be equivalent)
2074
2075 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2076
2077         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
2078
2079 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2080
2081         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
2082         of a cursor (row, etc.) after a character has been deleted
2083         (deleteEmptyParagraphMechanism): call the method above on _all_
2084         cursors held by the LyXText when a double space has been
2085         detected/deleted.
2086  
2087 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
2088
2089         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
2090         pixmap.
2091         (resizeCurrentBuff): remove code to destroy the old splash dialog.
2092
2093         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
2094         background. Use greyOut() and the new show() methods to toggle between
2095         the foreground and background. Add code to remove the splash after
2096         its initial showing.
2097
2098         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
2099         (create_forms): no longer call Dialogs::showSplash.
2100
2101 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2102
2103         * .cvsignore: add version_info.h
2104
2105 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2106
2107         * version_info.h.in: new file
2108
2109         * Makefile.am: add version_info.h.in
2110
2111         * lyx_main.C (commandLineVersionInfo): use version_info defined in
2112         version_info.h instead of VERSION_INFO
2113
2114 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
2115
2116         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
2117         The ERT inset now returns string().
2118
2119 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
2120
2121         * lyxtext.h, text.C (selectNextWord): renamed as
2122         selectNextWordToSpellcheck.
2123
2124         * text.C (selectNextWordToSpellcheck): Modified to not select
2125         words inside an ERT inset.
2126
2127 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2128
2129         * lyx_cb.C (MenuLayoutSave): change a bit the question
2130
2131         * sp_base.h: include <sys/types.h>
2132
2133 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
2134
2135         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
2136
2137 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
2138
2139         * several files: fix typos in user-visible strings
2140
2141 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2142
2143         * text2.C (pasteSelection): do not set the selection, since it
2144         will be cleared later. Actually, the intent was to fix the way the
2145         selection was set, but I figured rmoving the code was just as good.
2146
2147 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
2148
2149         * FontLoader.C (available): Check if font is available without
2150         loading the font.
2151
2152 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2153
2154         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
2155
2156 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
2157
2158         * lyxrc.[Ch]: added display_graphics variable and associated code.
2159
2160 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2161
2162         * bufferparams.C (hasClassDefaults): new method. Returns true if
2163         the buffer parameters correspond to known class defaults
2164
2165 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
2166
2167         * XFormsView.C (show): set minimum size to the main window.
2168
2169 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2170
2171         * text2.C (copySelection): 
2172         (cutSelection): 
2173         * lyxfind.C (LyXReplace): 
2174         * BufferView_pimpl.C (Dispatch): pass the correct flag to
2175         LyXText::selectionAsString. 
2176
2177         * paragraph.C (asString): add "label" argument to the second form
2178
2179         * text2.C (selectionAsString): add "label" argument and pass it to
2180         Paragraph::asString. 
2181
2182 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2183
2184         * lyx_main.C (commandLineHelp): remove version information
2185
2186 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
2187
2188         * lyx_main.C: add -version commandline option
2189
2190 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2191
2192         * paragraph.h: make the optional constructor arg required instead.
2193         some modifications to other files because of this.
2194
2195         * minibuffer.C (C_MiniBuffer_peek_event): make it static
2196
2197         * lyxserver.C (C_LyXComm_callback): make it static
2198
2199         * lyx_main.C (error_handler): make it static
2200
2201         * lyx_gui.C (LyX_XErrHandler): make it static
2202
2203         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
2204
2205         * WorkArea.C: make the extern "C" methods static.
2206
2207         * Makefile.am (lyx_LDADD): simplify
2208
2209 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
2210
2211         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
2212         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
2213
2214         * LyXAction.C (init):
2215         * lyxfunc.C (dispatch): associated code removal.
2216
2217 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2218
2219         * lyxfont.h (isSymbolFont): shut off warning
2220
2221         * text.C (setHeightOfRow):
2222         (getVisibleRow): fix crash with empty paragraphs which have a
2223         bottom line
2224
2225 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
2226
2227         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
2228         code.
2229
2230 2001-09-04  José Matos  <jamatos@fep.up.pt>
2231         * buffer.C
2232         * buffer.h
2233         * tabular.C (docbook): rename docBook method to docbook.
2234
2235 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
2236
2237         * Makefile.am: add dependencies to main.o.
2238
2239 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
2240
2241         * FontLoader.C (available): Return false if !lyxrc.use_gui
2242
2243 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
2244
2245         * FontInfo.C (query):
2246         * converter.C (view):
2247         * importer.C (Import):
2248         * exporter.C (Export): Can not -> cannot.
2249
2250 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
2251
2252         * BufferView_pimpl.C: allow to create index inset even if
2253           string is empty
2254  
2255 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
2256
2257         * buffer.C (getLists): replace boost::tie code with an explicit pair
2258         as boost::tie can break some compilers.
2259
2260         * iterators.h: Added a std:: declaration to the return type of
2261         ParIterator::size.
2262
2263 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
2264
2265         * lyxrc.C: add help for view_dvi_paper_option, default to safe
2266           case.
2267  
2268 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
2269
2270         * iterators.[Ch]: New files. Provide paragraph iterators.
2271
2272         * buffer.C (changeLanguage): Use paragraph iterators.
2273         (isMultiLingual): ditto 
2274
2275         * BufferView2.C (ChangeInsets): Use paragraph iterators.
2276
2277 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
2278
2279         * FontLoader.C: Support for cmr font.
2280
2281 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
2282
2283         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
2284         (available): New method.
2285
2286         * FontInfo.C (getFontname): Use scalable fonts even when
2287         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
2288         found.
2289
2290 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
2291
2292         * converter.C (Formats::view): reverted! Incorrect fix.
2293
2294 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
2295
2296         * converter.C (Formats::view): only output the -paper option
2297         if the dvi viewer is xdvi, thereby fixing bug #233429.
2298
2299 2001-08-23  Herbert Voss  <voss@perce>
2300
2301         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
2302
2303 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
2304
2305         * Spacing.h (Spacing): Set space to Default on in the default
2306         constructor.
2307
2308 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2309
2310         * vc-backend.h (RCS::versionString): add RCS to version 
2311         (CVS::versionString): add CVS to version 
2312
2313         * vc-backend.C (scanMaster): do not add CVS to version.
2314         (scanMaster): do not add RCS to version
2315
2316         * lyxvc.C (versionString): new method
2317
2318         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
2319
2320 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2321
2322         * Spacing.C (set): initialize fval
2323
2324 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
2325
2326         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
2327         " or \.
2328
2329 2001-08-16  Juergen Vigna  <jug@sad.it>
2330
2331         * lyxfunc.C (dispatch): implemented the new FINISHED states.
2332
2333 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
2334
2335         * BufferView_pimpl.C: 
2336         * figureForm.C:
2337         * lyxtext.h:
2338         * text2.C: setParagraph takes linespacing now
2339  
2340 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
2341
2342         * LyxAction.C: add internal LFUN_CITATION_INSERT
2343
2344         * LyXView.C: actually apply fix
2345
2346         * bufferlist.C: fix open non-existent file
2347  
2348         * lyxfind.C: fix indentation
2349  
2350         * lyxfunc.C: remove unneeded assert, fix typo
2351  
2352 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
2353
2354         * MenuBackend.C: use "Floatname List"
2355
2356 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
2357
2358         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
2359         when converting LaTeX layout to insetERT.
2360         Generate a non-collapsed float when reading old float
2361
2362 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
2363
2364         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
2365         ERT insets.
2366
2367 2001-08-13  Juergen Vigna  <jug@sad.it>
2368
2369         * text.C (fill): return 0 instead of 20 as this seems to be the more
2370         correct value.
2371
2372 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
2373
2374         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
2375         lyxrc.font_norm.
2376
2377 2001-08-13  Juergen Vigna  <jug@sad.it>
2378
2379         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
2380         casesensitive off.
2381         (SearchBackward): comment out the unlocking of the inset_owner this
2382         should not be needed!
2383
2384 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
2385
2386         * Many files: Remove inherit_language, and add latex_language
2387
2388         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
2389         collapsible insets.
2390
2391 2001-08-10  Juergen Vigna  <jug@sad.it>
2392
2393         * text.C (prepareToPrint): fixed hfill-width in draw!
2394
2395         * BufferView2.C (selectLastWord): save the selection cursor as this
2396         now is cleared in the function LyXText::clearSelection!
2397
2398 2001-08-08  Juergen Vigna  <jug@sad.it>
2399
2400         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
2401         BACKSPACE type functions.
2402
2403         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
2404         is only cutted from the document but not put in the cut-buffer, where
2405         still the old stuff should be.
2406
2407         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
2408
2409         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
2410
2411         * tabular.C (SetWidthOfCell): fixed special case where the width
2412         was not updated!
2413         (LeftLine): handle '|' in align_special.
2414         (RightLine): ditto
2415         (LeftAlreadyDrawed): ditto
2416         (SetWidthOfCell): ditto
2417
2418 2001-08-07  Juergen Vigna  <jug@sad.it>
2419
2420         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
2421
2422 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2423
2424         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
2425         * lyxlex.[hC]: ditto
2426
2427 2001-08-06  Juergen Vigna  <jug@sad.it>
2428
2429         * text.C (getVisibleRow): fix up row clearing a bit.
2430
2431 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2432
2433         * minibuffer.C: make sure the X server sees the changes in the input.
2434
2435 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2436
2437         * paragraph.C (getFont): split into...
2438         (getLabelFont): this
2439         (getLayoutFont): and this
2440         * paragraph_pimpl.C (realizeFont): calling this
2441
2442         * text2.C (getFont): split into...
2443         (getLayoutFont): this
2444         (getLabelFont): and this
2445         (realizeFont): all three calling this
2446
2447         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
2448         files where used.
2449
2450 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2451
2452         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
2453
2454 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
2455
2456         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
2457         layouts from the Quote inset insertion.
2458
2459 2001-08-03  Juergen Vigna  <jug@sad.it>
2460
2461         * BufferView_pimpl.C (update): do the fitCursor only at the end!
2462
2463         * screen.C (drawFromTo): don't call fitcursor here and do the loop
2464         only if status not is already CHANGED_IN_DRAW (second level).
2465
2466         * text.C (draw): don't set the need_break_row when inside an
2467         InsetText LyXText.
2468
2469 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2470
2471         * buffer.C (parseSingleLyXformat2Token): handle more latex
2472         conversion cases.
2473
2474         * bufferview_funcs.[hC]: change function names to
2475         begin with small char, adjust other files.
2476
2477 2001-08-02  André Pönitz <poenitz@gmx.net>
2478
2479         * lyxfunc.C:
2480         BufferView_pimpl.C: remove broken special code for math-greek
2481
2482 2001-08-02  Juergen Vigna  <jug@sad.it>
2483
2484         * BufferView_pimpl.C (update): redone this function so that we
2485         update the text again if there was a CHANGE_IN_DRAW.
2486
2487         * screen.C (cursorToggle): removed LyXText parameter and recoded.
2488         (drawFromTo): added a new internal bool which is used by draw() and
2489         redraw() function.
2490         (general): some cursor drawing problems fixed.
2491
2492 2001-08-01  Juergen Vigna  <jug@sad.it>
2493
2494         * lyxfind.C (LyXFind): fixed
2495         (SearchForward): ditto
2496         (SearchBackward): ditto
2497
2498         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
2499         spurius drawing of the cursor in the main area.
2500
2501         * text2.C (status): small fix which could lead to a segfault!
2502         (clearSelection): remove unneeded BufferView param.
2503
2504 2001-08-01  André Pönitz <poenitz@gmx.net>
2505
2506         * lyxfunc.C: small change due to changed mathed interface
2507
2508 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2509
2510         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
2511
2512 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
2513  
2514         * lyxfunc.c: fail gracefully if file doesn't exist 
2515  
2516         * LyXSendto.C:
2517         * buffer.C:
2518         * lyxfunc.C:
2519         * BufferView_pimpl.C: IsDirWriteable() proto changed 
2520  
2521         * LyXView.C: fix updateWindowTitle() to store the last title
2522
2523 2001-07-31  Juergen Vigna  <jug@sad.it>
2524
2525         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
2526         the font (wrong since using of Paragraph::highestFontInRange).
2527
2528         * paragraph.C (highestFontInRange): added a default_size parameter.
2529
2530         * text.C (getVisibleRow): minor clear row changes (still not perfect).
2531         (setHeightOfRow): reformat
2532
2533 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2534
2535         * converter.[hC] + affected files: move to (inital-char)lowercase
2536         function names.
2537
2538         * ParagraphParameters.C (ParagraphParameters): remove commented code
2539
2540         * PainterBase.[Ch]: remove commented code
2541
2542         * LaTeXFeatures.h: add "bool floats" for float.sty
2543
2544         * LaTeXFeatures.C (LaTeXFeatures): init floats
2545         (require): handle float
2546         (getPackages): do it with floats
2547
2548 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2549
2550         * BufferView_pimpl.C (Dispatch): improve handling of
2551         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
2552
2553         * commandtags.h: #include lyxfont.h here temporarily to avoid
2554         keybinding bug.
2555
2556         * bufferlist.h: include LString.h here.
2557
2558 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2559
2560         * text2.C (getStringToIndex): new method.
2561
2562 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
2563
2564         * *: Reduced header file dependencies all over.
2565
2566 2001-07-30  Baruch Even  <baruch@lyx.org>
2567
2568         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
2569
2570 2001-07-29  Baruch Even  <baruch@lyx.org>
2571
2572         * buffer.C (readInset): Changed GRAPHICS to Graphics.
2573
2574 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2575
2576         * ParameterStruct.h (endif): add a default constructor to make
2577         sure that all variables is initialized.
2578
2579         * ParagraphParameters.C (ParagraphParameters): adjust
2580
2581 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2582
2583         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
2584         index; also, check that there is something to index, and that it
2585         does not span over several paragraphs.
2586         (doubleClick): use WHOLE_WORD_STRICT for double click.
2587
2588         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
2589
2590         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
2591         scheme.
2592
2593 2001-07-26  Baruch Even  <baruch@lyx.org>
2594
2595         * buffer.C (readInset): Changed to call up InsetGraphics when reading
2596         an InsetFig figure, backwards compatible reading of old figure code.
2597
2598 2001-07-27  Juergen Vigna  <jug@sad.it>
2599
2600         * text2.C: font.realize function adaption.
2601
2602         * text.C (draw): add a warnings lyxerr text if needed.
2603
2604         * layout.C: font.realize function adaption.
2605
2606         * language.C: add inherit_language and implement it's handlings
2607
2608         * bufferview_funcs.C (StyleReset): remove language parameter from
2609         font creation (should be language_inherit now).
2610
2611         * bufferparams.C (writeFile): handle ignore_language.
2612
2613         * paragraph.C (getFontSettings): the language has to be resolved
2614         otherwise we have problems in LyXFont!
2615
2616         * lyxfont.C (lyxWriteChanges): added document_language parameter
2617         (update): removed unneeded language parameter
2618
2619         * paragraph.C (validate): fixed wrong output of color-package when
2620         using interface colors for certain fonts in certain environments,
2621         which should not seen as that on the final output.
2622
2623 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
2624
2625         * BufferView_pimpl.C:
2626         * Thesaurus.h:
2627         * Thesaurus.C:
2628         * Makefile.am:
2629         * commandtags.h:
2630         * LyXAction.C: add thesaurus support
2631
2632         * lyxfind.h:
2633         * lyxfind.C: add "once" parameter, for thesaurus, to not
2634           move to the next match
2635   
2636 2001-07-26  Juergen Vigna  <jug@sad.it>
2637
2638         * lyxfont.C (realize): honor ignore_language too!
2639         (resolved): ditto.
2640
2641         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
2642
2643         * text.C (draw): one place more for ignore_language to not draw
2644         itself!
2645
2646 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
2647
2648         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
2649
2650 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2651
2652         * buffer.C (parseSingleLyXformat2Token): a more general fix for
2653         the minipage conversion problem.
2654
2655 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2656
2657         * buffer.C (parseSingleLyXformat2Token): check minipage if we
2658         insert an inset.
2659
2660 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2661
2662         * BufferView.h: don't forward declare WorkArea
2663
2664         * BufferView.C: don't include WorkArea.h
2665
2666 2001-07-25  André Pönitz <poenitz@gmx.net>
2667
2668         * commandtags.h:
2669         * LyXAction.C:
2670         * lyxfunc.C:  new LFUN 'math-space'
2671
2672         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
2673
2674 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2675
2676         * text2.C (toggleInset): call open/close
2677
2678 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2679
2680         * lyxfunc.C (dispatch): add debug for the disabled case
2681
2682         * font.C (buttonText): make similar to rectText
2683
2684         * buffer.C (readInset): comment out parsing of insetlist and
2685         insttheorem 
2686
2687         * PainterBase.C (rectText): small correction
2688
2689         * BufferView_pimpl.C: comment out insettheorem and insetlist
2690         * LyXAction.C: ditto
2691         * commandtags.h: ditto
2692
2693 2001-07-24  Juergen Vigna  <jug@sad.it>
2694
2695         * text.C (draw): honor the ignore_language.
2696
2697         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
2698
2699 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2700
2701         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
2702         char inset.
2703
2704 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2705
2706         * lyxtext.h: remove unused (and unimplemented) methods
2707
2708 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2709
2710         * text.C (getVisibleRow): honor background color
2711
2712         * PainterBase.h:
2713         * Painter.h: remove default color argument for fillRectangle
2714
2715         * text.C (backgroundColor): new method
2716
2717 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2718
2719         * text.C (getVisibleRow): adjust
2720
2721         * font.[Ch] (rectText): new method, metrics
2722         (buttonText): new method, metrics
2723
2724         * PainterBase.[hC]: make rectText and buttonText always draw and take
2725         fewer paramteres.
2726
2727 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2728
2729         * ToolbarDefaults.C (read): 
2730         * MenuBackend.C (read): allow escaping in all strings
2731
2732         * BufferView_pimpl.C (insertAndEditInset): new method.
2733         (Dispatch): use insertAndEditInset whenever appropriate.
2734
2735         * BufferView_pimpl.C (insertNote): removed
2736
2737         * BufferView_pimpl.C (smartQuote): new method, moved from
2738         BufferView; if an insetquote cannot be inserted, insert a '"'
2739         character instead.
2740
2741         * BufferView2.C: remove insertCorrectQuote();
2742
2743         * lyxfunc.C (getStatus): Add support for all remaingin
2744         inset-insert lfuns.
2745
2746         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
2747
2748         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
2749         command (necessary to pass " as parameter of self-insert.
2750
2751         * text.C (selectWordWhenUnderCursor):
2752         (selectWord): add word_location parameter
2753         (selectWordWhenUnderCursor): same + remove special code for word
2754         boundary.
2755         (selectNextWord): use kind() to guess type of insetspecialchar,
2756         not latex().
2757         
2758         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
2759         (insertErtContents): create ert insets as collapsed.
2760         (readInset): better compatibility code for Info inset.
2761
2762 2001-07-20  Juergen Vigna  <jug@sad.it>
2763
2764         * lyxfunc.C (dispatch): use always LyXFind now!
2765
2766         * text2.C (init): add a reinit flag so that the LyXText can be
2767         reinited instead of deleted and reallocated (used in InsetText).
2768
2769         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
2770
2771         * text.C: ditto
2772
2773         * text2.C: ditto
2774
2775 2001-07-18  Juergen Vigna  <jug@sad.it>
2776
2777         * text.C (selectNextWord): handle insets inside inset by calling
2778         always the bv->text functions so that we can go up the_locking_inset!
2779
2780         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
2781         in strange locations when inside an inset!
2782
2783         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
2784         handling to include insets.
2785
2786         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
2787
2788 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2789
2790         * LyXAction.C (init): 
2791         * commandtags.h: 
2792         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
2793         LIGATURE_BREAK, since the name is so stupid.
2794
2795 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
2796
2797         * buffer.C (readInset): enable reading of new InsetNotes as well as old
2798         InsetInfos.
2799
2800         * FontLoader.C: remove FORMS_H_LOCATION cruft.
2801
2802         * sp_form.[Ch]: remove.
2803
2804         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
2805
2806         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
2807         InsetInfo.
2808
2809         * src/buffer.C (readInset): ditto.
2810
2811 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2812
2813         * BufferView_pimpl.C (specialChar): new method. Obsoletes
2814         menuSeparator(), endOfSentenceDot(), ldots() and
2815         hyphenationPoint(), which are therefore removed.
2816         (Dispatch): handle LFUN_HYPHENATION_BREAK.
2817
2818         * LyXAction.C (init): 
2819         * commandtags.h: add LFUN_HYPHENATION_BREAK.
2820
2821         * paragraph.C (getWord): removed.
2822
2823         * BufferView_pimpl.C (Dispatch): use last word or selection for
2824         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
2825
2826         * lyx_main.C (queryUserLyXDir): do not ask before creating
2827         user_dir, except if it has been named explicitely.
2828
2829 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
2830
2831         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
2832         a document of zero size.
2833
2834 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
2835
2836         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
2837         approriately in the c-tor and in require().
2838         (getPackages): output the appropriate LaTeX for natbib support.
2839
2840         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
2841         variables "use_natbib" and "use_numerical_citations" when reading the
2842         LyX file.
2843         (readInset): read the various natbib cite commands.
2844         (validate): white-space change.
2845
2846         * bufferparams.[Ch]: new variables "bool use_natbib" and
2847         "bool use_numerical_citations".
2848         (writeFile): output them in the LyX file.
2849
2850 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2851
2852         * lyxfunc.C (getStatus): add support for all the inset insertion
2853         commands.
2854
2855         * text2.C (insertInset): 
2856         * paragraph.C (insetAllowed): 
2857         * BufferView_pimpl.C (insertInset): update to take in account the
2858         renaming of insertInsetAllowed
2859
2860         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
2861
2862         * text2.C (getInset): new method. returns inset at cursor position. 
2863
2864         * BufferView_pimpl.C (Dispatch): changes because of this.
2865
2866         * LyXAction.C (init): rename open-stuff to inset-toggle.
2867
2868         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
2869
2870         * text2.C (toggleInset): renamed from openStuff; use
2871         Inset::open().
2872
2873 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
2874
2875         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
2876
2877         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
2878
2879 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
2880
2881         * buffer.C (readLyXformat2): Add filename to the error dialog
2882
2883 2001-07-18  Juergen Vigna  <jug@sad.it>
2884
2885         * tabular.C (GetCellNumber): put an assert here instead of the check!
2886
2887 2001-07-17  Juergen Vigna  <jug@sad.it>
2888
2889         * BufferView_pimpl.C (toggleSelection): adapted too.
2890
2891         * text.C (selectNextWord): adapted for use with insets.
2892         (selectSelectedWord): ditto
2893
2894 2001-07-17  Juergen Vigna  <jug@sad.it>
2895
2896         * sp_spell.C (PSpell): fix initialitation order.
2897
2898 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2899
2900         * paragraph.C: spacing
2901
2902 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
2903
2904         * sp_spell.C: repair language selection for pspell
2905
2906 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2907
2908         * lyxfunc.h: change more methods to begin with lower char.
2909
2910 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
2911
2912         * buffer.C (parseSingleLyXformat2Token): Generate error insets
2913         for unknown layouts.
2914
2915 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
2916
2917         * buffer.C (readLyXformat2): Generate an error dialog if there are
2918         unknown layouts.
2919
2920 2001-07-16  Juergen Vigna  <jug@sad.it>
2921
2922         * sp_spell.C: always compile ISpell part.
2923
2924         * lyxrc.C: added use_pspell entry and it's handling.
2925
2926 2001-07-13  Juergen Vigna  <jug@sad.it>
2927
2928         * sp_spell.C: removed double includes.
2929
2930 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
2931
2932         Consistent use of Lsstream.h:
2933         * Lsstream.h: added using std::stringstream for consistencies sake.
2934
2935         * buffer.C: removed using std::stringstream
2936
2937         * lyxfont.C (stateText):
2938         * paragraph.C (asString):
2939         * text.C (selectNextWord, selectSelectedWord):
2940         * text2.C (setCounter):
2941         * vspace.C (asString, asLatexString):
2942         std::ostringstream -> ostringstream.
2943
2944 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
2945
2946         * LyXAction.C: add LFUN_HELP_ABOUTLYX
2947         * commandtags.h: add LFUN_HELP_ABOUTLYX
2948         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
2949
2950 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
2951
2952         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
2953         cursorToggle()
2954         * lyx_gui_misc.C: remove spellchecker
2955         * lyxfunc.C: showSpellchecker
2956         * sp_base.h: added
2957         * sp_ispell.h: added
2958         * sp_pspell.h: added
2959         * sp_spell.C: added
2960         * sp_form.[Ch]: removed
2961         * spellchecker.[Ch]: removed
2962
2963 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
2964
2965         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
2966         is set.
2967         (simpleTeXSpecialChars): Simply print the input character without
2968         any special translation if pass_thru is set.
2969
2970         * layout.h: Added bool pass_thru to layout class for being able to
2971         implement pass through of a paragraph for Literate Programming.
2972         
2973         * layout.C: add LT_PASS_THRU to LayoutTags enum.
2974         * layout.C (LyXLayout): set pass_thru to flase in constructor.
2975         * layout.C (Read): add "passthru" to list of layout tags and add
2976         code to set the pass_thru boolean when it is read.
2977
2978 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2979
2980         * trans_decl.h: remove allowed from KmodInfo
2981
2982         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
2983         remove allowed code 
2984         (Load): adjust
2985
2986         * paragraph_pimpl.C (erase): use boost::prior
2987
2988         * Painter.C (text): use data() instead of c_str() when length is
2989         also provided.
2990         * WorkArea.C (putClipboard): ditto
2991         * font.h (width): ditto
2992
2993         * BufferView2.C: use it-> instead of (*it). for iterators
2994         * texrow.C: ditto
2995         * paragraph_pimpl.C: ditto
2996         * paragraph.C: ditto
2997         * minibuffer.C: ditto
2998         * language.C: ditto
2999         * kbmap.C: ditto
3000         * encoding.C: ditto
3001         * counters.C: ditto
3002         * converter.C: ditto
3003         * chset.C: ditto
3004         * Variables.C: ditto
3005         * TextCache.C: ditto
3006         * MenuBackend.C: ditto
3007         * LyXAction.C: ditto
3008         * LColor.C: ditto
3009         * FloatList.C: ditto
3010         * DepTable.C: ditto
3011         * ColorHandler.C (LyXColorHandler): ditto
3012
3013 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3014
3015         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
3016
3017         * text2.C (openStuff): reintroduce this method (which had been
3018         nuked in NEW_INSETS frenzy).
3019
3020         * lyxfunc.C (Dispatch): when an action has not been handled, use
3021         its name in the error message, not its number.
3022
3023         * paragraph.C (inInset): change method name to begin with lowercase.
3024
3025         * undo_funcs.C:
3026         * text2.C: updates because of this.
3027
3028 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3029
3030         * ToolbarDefaults.C (add): add spaces in error message
3031
3032 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3033
3034         * buffer.C (readLyXformat2): initialize the ert comp. variables.
3035         (readLyXformat2): rename return_par to first_par, use lyxlex's
3036         pushToken and remove the manual push handling.
3037         (parseSingleLyXformat2Token): add another ert comp. variable:
3038         in_tabular, rename return_par to first_par. handle newlines better
3039
3040 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3041
3042         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
3043
3044 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3045
3046         * text2.C (getParFromID): removed
3047
3048         * buffer.C (getParFromID): new method moved form lyxtext.
3049         * BufferView2.C (insertErrors): adjust
3050         (setCursorFromRow): adjust
3051         * BufferView_pimpl.C (restorePosition): adjust
3052         * lyxfunc.C (Dispatch): adjust
3053         * undo_funcs.C (textUndo): adjust
3054         (textRedo): adjust
3055         (textHandleUndo): adjust
3056         (textHandleUndo): adjust
3057
3058 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3059
3060         * buffer.C: up' the LYX_FORMAT
3061
3062         * lyxfont.h: turn NO_LATEX on as default
3063
3064         * buffer.C (insertErtContents): new methods of tex style compability.
3065         (parseSingleLyXformat2Token): use it several places.
3066         * tabular.C (OldFormatRead): and here
3067
3068 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3069
3070         * text2.C: remove some commented code.
3071         reindent file.
3072
3073         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
3074         * trans.C: changes because of the above.
3075
3076 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
3077
3078         * text2.C (setCounter): Fix counters bug with bibliography layout.
3079
3080 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3081
3082         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
3083         own member functions
3084         (simpleTeXSpecialChars): ditto
3085
3086 2001-07-06  Juergen Vigna  <jug@sad.it>
3087
3088         * a lot of files: changed the access to LyXText::status and the
3089         call of undo-functions.
3090         
3091         * undo.[Ch]: added a inset_id to the undo informations.
3092
3093         * undo_funcs.[Ch]: added and moved here all undo functions.
3094
3095         * lyxtext.h: give the status enum a weight, made status_ a private
3096         variable and made accessor functions for it, removed the whole bunch
3097         of undo-functions as they are now in their own file, make some
3098         functions publically available. Added function ownerParagraph with
3099         int parameter.
3100
3101         * paragraph.[Ch]: added "bool same_ids" to the constructor,
3102         made InInset() a const function, added getParFromID() function.
3103
3104         * buffer.[Ch]: added const version for inset_iterator functions,
3105         added getInsetFromID() function.
3106
3107         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
3108         changed undo functions for new version.
3109
3110 2001-07-05  Juergen Vigna  <jug@sad.it>
3111
3112         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
3113         unknow mechanism does not call the proper constructor but only this
3114         one also if I request the other!?
3115
3116 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3117
3118         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
3119
3120         * text2.C (LyXText): use initialization lists.
3121
3122         * lyxtext.h (Selection): initialize set_ and mark_
3123         (init): remove method
3124
3125 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
3126
3127         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
3128
3129 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3130
3131         * screen.[Ch]: change method names to begin with lowercase 
3132
3133         * BufferView_pimpl.C (updateScrollbar): simplify further and
3134         hopefully make it a bit faster.
3135
3136 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3137
3138         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
3139         calling directly xforms functions.
3140
3141         * Painter.C (Painter): 
3142         * lyx_cb.C (MenuWrite): 
3143         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
3144         fl_display.
3145
3146         * lyx_gui.C: remove bogus guiruntime extern declaration.
3147
3148 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3149
3150         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
3151         in NEW_INSETS
3152         (redoDrawingOfParagraph): ditto
3153         (redoParagraphs): ditto
3154         (cutSelection): don't create a object for CutAndPaste use the
3155         static method directly
3156         (pasteSelection): ditto
3157
3158         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
3159         LyXview (+ rename)
3160
3161 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3162
3163         * modifications to some other files because of this.
3164         
3165         * Makefile.am (lyx_SOURCES): add XFormsView
3166
3167         * XFormsView.[Ch]: new files
3168
3169         * LyXView.[Ch]: make LyXView a base class for the gui handling for
3170         the main window. Move the gui dependent stuff to XFormsView
3171
3172 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3173
3174         * tabular.C (GetCellInset): update cur_cell also in the row/col
3175         version of this function.
3176
3177         * lyxfunc.C: no need to include figure_form.h here.
3178
3179         * FontLoader.h: 
3180         * lyxfunc.h: 
3181         * lyxscreen.h: 
3182         * text2.C: 
3183         * lyxvc.C: no need to include forms.h here.
3184
3185 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3186
3187         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
3188
3189         * lyxfunc.C (Dispatch): 
3190         * Spacing.C (set): 
3191         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
3192         constructor argument.
3193
3194 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3195
3196         * paragraph.C (Paragraph): dont't clear, and just set layout.
3197         (makeSameLayout): use params's copy contructor.
3198
3199         * ParagraphParameters.[Ch] (makeSame): delete method
3200
3201 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
3202
3203         * Variables.[Ch]: fix indentation, rename set to isSet
3204
3205 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3206
3207         * lyxfunc.C (Dispatch): fix typo
3208
3209 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3210
3211         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
3212         upper_bound. 
3213
3214         * bufferlist.C: include assert.h for emergencyWrite().
3215
3216 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
3217
3218         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
3219           give up at last (bug #425202) !
3220  
3221 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
3222
3223         * lyx_gui_misc.C:
3224         * sp_form.h:
3225         * sp_form.C:
3226         * spellchecker.h:
3227         * spellchecker.C: strip spellchecker options and bring up
3228           preferences tab instead
3229          
3230 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3231
3232         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
3233         the istringstream constructor
3234
3235 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3236
3237         * paragraph.C (getLayout): fix return value
3238
3239         * paragraph.h: do not declare getLayout as inline.
3240
3241         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
3242
3243 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3244
3245         * lyxcursor.h (operator<): new func
3246         (operator>): new func
3247         (operator>=): new func
3248         (operator<=): new func
3249
3250         * text.C (changeCase): use selection.start and selection.end
3251         (changeRegionCase): require from to be <= to. Require par to be a
3252         valid paragraph.
3253
3254         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
3255
3256 2001-06-27  Juergen Vigna  <jug@sad.it>
3257
3258         * text.C (cursorLeftOneWord): changed to return the cursor and added
3259         overlay with BufferView * parameter which calls this one.
3260         (getWord): added
3261         (selectWord): use new getWord function.
3262         (changeCase): renamed from changeWordCase as and extended to work
3263         also on selections.
3264
3265         * lyxtext.h: added enum word_location
3266
3267         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
3268         changeCase as this operates now also on selections.
3269
3270 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
3271
3272         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
3273
3274         * many files: send debug output to Debug::INFO instead of
3275         Debug::ANY. 
3276
3277         * converter.C (View): 
3278         (Convert): 
3279         (Move): send debug output to Debug::FILES instead of console.
3280
3281 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
3282
3283         * lyxfunc.C (getStatus): use func_status
3284
3285         * func_status.h: new header, describing the results of
3286         LyXFunc::getStatus;
3287
3288         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
3289         LFUN_MATH_HALIGN.
3290
3291 2001-06-25  The LyX Project  <jug@sad.it>
3292
3293         * buffer.C (sgmlOpenTag):
3294         (sgmlCloseTag):
3295         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
3296
3297 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3298
3299         * text2.C: remove some dead code
3300
3301         * tabular.C (GetCellInset): store the last cell checked (gotten)
3302
3303         * tabular.h: add the helper for the speedup
3304
3305         * lyxtext.h: remove some dead code
3306
3307 2001-06-26  The LyX Project  <Asger>
3308
3309         * paragraph.C: Change export to LaTeX of alignment to
3310         \begin{center} and family for better roundtrip work with reLyX.
3311
3312         * Tune the math drawing a bit.
3313
3314 2001-06-25  The LyX Project  <Asger>
3315
3316         * LColor.C (LColor): New color for math background. New color
3317         for buttons.
3318
3319 2001-06-25  The LyX Project  <jug@sad.it>
3320
3321         * lyxfunc.C (MenuNew): remove extra check for .lyx file
3322
3323         * lyxfunc.C (Open): 
3324         * bufferlist.C (newFile): do not restrict to files ending with
3325         .lyx
3326
3327         * BufferView_pimpl.C (MenuInsertLyXFile): 
3328
3329 2001-06-24  The LyX Project  <jug@sad.it>
3330
3331         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
3332         of compare_no_case
3333
3334 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3335
3336         * lyxtext.h: rename most methods to begin with a small char.
3337         Lots of changes because of this.
3338
3339         * paragraph.C (Paragraph): do not call fitToSize
3340         (erase): call Pimpl::erase
3341         (insertChar): call Pimpl::insertChar
3342         (insertInset): call Pipl::insertInset
3343         (breakParagraph): do not call fitToSize
3344         (breakParagraphConservative): do not call fitToSize
3345         (fitToSize): remove method
3346
3347         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
3348
3349 2001-06-24  The LyX Project  <Asger>
3350
3351         * Fix Qt compilation^2
3352
3353 2001-06-24  The LyX Project  <jug@sad.it>
3354
3355         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
3356         depthHook(getDepth()-1).
3357
3358         * paragraph.h: 
3359         * ParagraphParameters.h: 
3360         * ParameterStruct.h: change type of depth to unsigned int ==
3361         depth_type. Many adaptations to other files before of that.
3362
3363 2001-06-24  The LyX Project  <Asger>
3364
3365         * Fix Qt compilation.
3366
3367 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3368
3369         * paragraph.h: renamed several methods to begin with small letter.
3370         several changes to many parts of the code because of this.
3371
3372 2001-06-23  The LyX Project  <jug@sad.it>
3373
3374         * text2.C (InsertStringAsLines): renamed from InsertStringA;
3375         rewritten to discard all double spaces when KeepEmpty is off
3376         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
3377         to only handle newlines but not fiddle with spaces and friends.
3378
3379         * lyxfunc.C (MenuNew): when doing 'new from template', use
3380         template_path as default directory
3381
3382 2001-06-23  The LyX Project  <Asger>
3383
3384         * Clean-up of header file includes all over
3385         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
3386         
3387 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3388
3389         * paragraph.h: renamed from lyxparagraph.h
3390
3391 2001-06-23  Asger  <lyx@violet.home.sad.it>
3392
3393         * Buffer.h: Removed Buffer::resize
3394         * BufferList.h: Removed BufferList::resize
3395         * LyXView.h: Added LyXView::resize. This way, we will only reflow 
3396         the document lazily when we change the width, or the font settings.
3397
3398 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
3399
3400         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
3401
3402 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
3403
3404         * buffer.h: remove out of date comment
3405
3406 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
3407
3408         * lyxscreen.h:
3409         * screen.C: fix "theoretical" GC leak
3410  
3411 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3412
3413         * LaTeX.C (scanAuxFile):
3414         (deplog): remove trailing \r when reading stream (useful under
3415         win32)  
3416
3417 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
3418
3419         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
3420         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
3421         and BufferView::theLockingInset(Inset*), so should use them and not
3422         access bv_->text->the_locking_inset directly.
3423
3424         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
3425
3426 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
3427
3428         * Makefile.am:
3429         * tex-defs.h: remove old unused file
3430          
3431 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
3432
3433         * BufferView_pimpl.C: fix typo, remove minibuffer message
3434           when buffer has loaded
3435
3436 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3437
3438         * lyxfunc.C (Dispatch): use stringstream
3439         (MenuNew): use stringstream
3440         (Open): use stringstream
3441
3442         * importer.C (Import): use stringstream
3443
3444         * bufferview_funcs.C (CurrentState): use stringstream
3445
3446         * LaTeX.C (run): use stringstream
3447
3448         * BufferView_pimpl.C (savePosition): use stringstream
3449         (restorePosition): use stringstream
3450         (MenuInsertLyXFile): use stringstream
3451
3452 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
3453
3454         * BufferView.C:
3455         * Bullet.C:
3456         * ColorHandler.C:
3457         * FontInfo.C:
3458         * FontLoader.C:
3459         * LColor.C:
3460         * LaTeXFeatures.C:
3461         * Painter.C:
3462         * gettext.C:
3463         * lyx_gui_misc.C:
3464         * lyxserver.C:
3465         * vspace.C: removed // -*- C++ -*- as first line.
3466
3467         * lyxfind.h:
3468         * version.h: added // -*- C++ -*- as first line.
3469
3470 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3471
3472         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
3473
3474         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
3475         of string
3476
3477 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3478
3479         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
3480         of floats.
3481
3482 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3483
3484         * gettext.C: include LString.h even when --disable-nls is on. 
3485
3486 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
3487
3488         * converter.h (Get): changed argument type from int to
3489         FormatList::size_type to avoid unnecessary conversion.
3490
3491         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
3492         before using it.
3493
3494 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3495
3496         * gettext.h: include LString.h even when --disable-nls is on. 
3497
3498 2001-06-07  Juergen Vigna  <jug@sad.it>
3499
3500         * text.C (BreakAgain): subst spaces with tabs.
3501
3502         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
3503         (resizeInsetsLyXText): set force on resizeLyXText.
3504
3505 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3506
3507         * gettext.h (gettext_init): 
3508         (locale_init): use a real definition instead of a macro
3509
3510 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
3511
3512         * Bufferview_pimpl.C:
3513         * LColor.h:
3514         * LColor.C: further lcolor tidies
3515
3516 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3517
3518         * BufferView_pimpl.C (updateScrollbar): simplify.
3519
3520         * BufferView2.C: don't include insets/insetinfo.h, change
3521         prototype for insertInset and call the Pimpl version. let
3522         updateInset call Pimpl version.
3523
3524         * BufferView.h: move inset_slept to BufferView::Pimpl, move
3525         gotoInset to BufferView::Pimpl
3526
3527 2001-06-01  Juergen Vigna  <jug@sad.it>
3528
3529         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
3530         inside a LockingInset (is the update needed at all?).
3531
3532 2001-05-31  Juergen Vigna  <jug@sad.it>
3533
3534         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
3535         here not the old one otherwise how should we compare it afterwards
3536         if it's the same!
3537
3538 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3539
3540         * lyxfont.C: 
3541         * tabular.C:
3542         * tabular-old.C: 
3543         * FontInfo.C: bring C functions into global namespace when
3544         necessary
3545
3546 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3547
3548         * LString.h: make sure config.h has been loaded before LString.h.
3549
3550         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
3551         (one for each char read by EatLine!).
3552
3553         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
3554         variables. 
3555
3556 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3557
3558         * paragraph.C (BreakParagraph): set the inset_owner in the new par
3559         to the same as the par we break from
3560
3561 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3562
3563         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
3564
3565         * MenuBackend.C (expand): also create menu entries for wide
3566         versions of the floats.
3567
3568         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
3569
3570         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
3571
3572         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
3573         frontends/Makefile.am
3574
3575         * text2.C: adjust
3576         * text.C: adjust
3577         
3578
3579         * tabular.C (getTokenValue): add std::
3580
3581         * tabular-old.C (getTokenValue): add std::
3582         (getTokenValue): ditto
3583         (getTokenValue): ditto
3584
3585         * screen.C (ToggleSelection): adjust
3586
3587         * lyxtext.h: put selection cursors inside a Selection struct.
3588
3589         * lyxfunc.C (moveCursorUpdate): adjust
3590
3591         * lyxfont.C (latexWriteStartChanges): add std::
3592
3593         * lyxfind.C: adjust
3594
3595         * font.h: delete with(char const *, LyXFont const &)
3596
3597         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
3598
3599         * FontInfo.C (getFontname): add std::
3600
3601         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3602         (workAreaButtonPress): adjust
3603         (tripleClick): adjust
3604         (update): adjust
3605         (moveCursorUpdate): adjust
3606         (Dispatch): adjust
3607
3608         * BufferView2.C (gotoInset): adjust
3609
3610 2001-05-30  Juergen Vigna  <jug@sad.it>
3611
3612         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
3613         to check pspell I add this as default as I now have new pspell
3614         libraries and they seem to use this.
3615
3616 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3617
3618         * text2.C (CutSelection): make the cursor valid before the call to
3619         ClearSelection.
3620
3621 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3622
3623         * kbsequence.C (parse): de-uglify a bit the parsing code, which
3624         relied on 0 terminated strings and other horrors. Bug found due to
3625         the new assert in lyxstring!
3626
3627         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
3628         KP_ keys.
3629
3630 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3631
3632         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
3633         to latinkeys.bind.
3634
3635         * lyxfunc.C (processKeySym): change method of getting to the
3636         self-insert char.
3637
3638         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
3639         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
3640         * BufferView_pimpl.[Ch]: here as private methods.
3641
3642 2001-05-28  Juergen Vigna  <jug@sad.it>
3643
3644         * text.C (SetHeightOfRow): added the update() call again as it is
3645         needed to initialize inset dimensions!
3646
3647 2001-05-16  Juergen Vigna  <jug@sad.it>
3648
3649         * text2.C (SetCharFont): Add new function with BufferView * and
3650         bool toggleall parameters for setting insets internal fonts.
3651         (SetFont): Freeze the undo as we may change fonts in Insets and
3652         all this change should be inside only one Undo!
3653
3654         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
3655         setting font's in insets as for them we have the SetFont function!
3656
3657 2001-05-15  Juergen Vigna  <jug@sad.it>
3658
3659         * text2.C (ClearSelection): to be sure we REALLY don't have any
3660         selection anymore!
3661
3662         * tabular.C (TeXCellPreamble): fixed the left border problem for
3663         multicolumn cells.
3664
3665 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
3666
3667         * LaTeX.C (deplog): Make sure that the main .tex file is in the
3668         dependancy file
3669
3670 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3671
3672         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
3673         LFUN_BREAKPARAGRAPH.
3674
3675         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
3676         help test to "internal only", similar for LFUN_INSERT_URL
3677
3678         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
3679         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
3680         auto_region_delete and deadkeys. 
3681
3682 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
3683
3684         * LColor.h:
3685         * LColor.C: remove some dead entries, tidy a little
3686  
3687 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3688
3689         * lyxfunc.C (processKeySym): comment the Escape handling, remove
3690         commented code.
3691         (Dispatch): implement LFUN_ESCAPE
3692
3693         * commandtags.h: add LFUN_ESCAPE
3694
3695         * LyXAction.C (init): add entry for LFUN_ESCAPE
3696
3697         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
3698         Remove commented code.
3699         (insertNote): moved here
3700         (open_new_inset): moved here
3701
3702         * BufferView[2].[Ch]: move insertNote and open_new_inset to
3703         BufferView_pimpl
3704
3705 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3706
3707         * kbmap.C (findbinding): clean it up and make it work correctly.
3708
3709         * lyx_main.C (init): do not pass argc and argv as parameters
3710
3711 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
3712
3713         * buffer.C: fix path for OS/2 & Win32
3714
3715         * lyx_gui.C:
3716         * lyx_main:
3717         * lyx_main.C: Added os:: class.
3718         
3719         * os2_defines.h: update
3720
3721 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3722
3723         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
3724         better by trying again with reduced state.
3725
3726 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3727
3728         * lyxrc.C (read): print error about invalid key sequence only when
3729         debugging (because not all latinX keysyms are known to some X
3730         servers)
3731
3732         * kbsequence.C (getiso): add a few std:: qualifiers
3733         (getiso): comment out extra return statement.
3734
3735 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3736
3737         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
3738         handling.
3739         (Dispatch): enhance the accent inset a bit. (not perfect)
3740
3741 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3742
3743         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
3744
3745 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3746
3747         * bufferlist.C (emergencyWrite): fix assert() call
3748
3749 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
3750
3751         * text.C (InsertChar): Added trivial patch to only send the "you
3752         can not do multiple spaces this way" message once during a
3753         session.
3754
3755 2001-05-08  Baruch Even  <baruch@lyx.org>
3756
3757         * Makefile.am: Changed order of libraries to get LyX to link properly
3758         with the gnome frontend.
3759
3760 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3761
3762         * LaTeXFeatures.h: add a std:: qualifier
3763
3764 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3765
3766         * paragraph.C (String): use stringstream
3767
3768 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3769
3770         * paragraph.C (writeFile): remove footflag arg
3771
3772         * buffer.C (makeLaTeXFile): use stringstream
3773         (latexParagraphs): remove footnot gurba
3774
3775         * LaTeXFeatures.C (getPackages): use stringstream
3776         (getMacros): likewise
3777         (getTClassPreamble): likewise
3778         (getFloatDefinitions): new method
3779
3780         * paragraph.C (writeFile): reindent
3781         (Erase): reindent
3782
3783         * WorkArea.h: revert the xpos + etc changes.
3784
3785         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
3786
3787         * lyxparagraph.[Ch]: add copy constructor, remove Clone
3788
3789         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
3790         (pasteSelection): likewise
3791         * text2.C (CreateUndo): likewise
3792
3793 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3794
3795         * minibuffer.C (peek_event): temporarily reduce the functionality
3796         of the minibuffer (to allow args on lfuns)
3797
3798         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
3799         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
3800
3801         * buffer.C (readInset): add compability reading of old float
3802         lists, add reading of new style float list.
3803         (readInset): avoid reevaluation of inscmd.getCmdName()
3804         (getLists): reindent
3805
3806         * MenuBackend.C (MenuItem): implement parsing of
3807         md_floatlistinsert and md_floatinsert.
3808         (expand::LastFiles): move initalizaton of iterators out of loop,
3809         avoid reevaluation.
3810         (expand::Documents): introduce typdedef vector<string> Strings,
3811         and use it. 
3812         (expand::ExportFormats): introduce typedef vector<Format const *>
3813         Formats, and use it.
3814         (expand): implement FloatListInsert and FloatInsert.
3815
3816         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
3817         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
3818         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
3819
3820         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
3821         handling. 
3822         (Dispatch::LFUN_FLOAT_LIST): implement
3823
3824 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
3825  
3826         * LaTeX.C (run): Fix problem with --export code.
3827  
3828 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
3829
3830         * BufferView.[Ch] (workarea): removed.
3831         (getClipboard) new method; wrapper for workarea()->getClipboard()
3832
3833         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
3834         bug.
3835
3836         * WorkArea.h (width, height, xpos, ypos): These methods all
3837         returned the dimensions of the work_area sub-area of WorkArea,
3838         resulting in a position error if the WorkArea were resized. Now
3839         return the dimensions of the entire WorkArea.
3840
3841         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
3842
3843 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3844
3845         * LaTeX.C (deplog): correct the syntax of regex reg1
3846
3847 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3848
3849         * undo.C: remove !NEW_INSETS cruft
3850
3851 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3852
3853         * text2.C: remove !NEW_INSETS cruft
3854
3855         * text.C: remove !NEW_INSETS cruft
3856
3857         * tabular.C: remove !NEW_INSETS cruft
3858
3859         * spellchecker.C: remove !NEW_INSETS cruft
3860
3861         * lyxtext.h: remove !NEW_INSETS cruft
3862
3863         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
3864
3865         * lyxfunc.C: remove !NEW_INSETS cruft
3866
3867         * lyxfind.C: remove !NEW_INSETS cruft
3868
3869         * lyx_cb.C: remove !NEW_INSETS cruft
3870
3871         * figureForm.C: remove  !NEW_INSETS cruft
3872
3873         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
3874
3875         * buffer.[Ch]: remove !NEW_INSETS cruft
3876
3877         * ToolbarDefaults.C: remove !NEW_INSETS cruft
3878
3879         * CutAndPaste.C: remove !NEW_INSETS cruft
3880
3881         * BufferView_pimpl.C: remove !NEW_INSETS cruft
3882
3883         * BufferView2.C: remove !NEW_INSETS cruft
3884
3885         * BufferView.h: remove !NEW_INSETS cruft
3886
3887 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3888
3889         * Lsstream.h: include LString.h before the sstream headers to
3890         fix problem with gcc 2.95.3 and lyxstring
3891
3892 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3893
3894         * lyx_main.C: add using directives when needed for C functions
3895         declared in std:: namespace.
3896
3897 2001-04-27  Juergen Vigna  <jug@sad.it>
3898
3899         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
3900         (SetHeightOfRow): comment out the update call should not be needed!
3901
3902 2001-04-13  Juergen Vigna  <jug@sad.it>
3903
3904         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
3905         (LyXTabular): tried to minimize operator= operations (and realized
3906         hopfully Lars wish).
3907
3908 2001-04-27  Juergen Vigna  <jug@sad.it>
3909
3910         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
3911
3912 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3913
3914         * lyxfunc.C (Dispatch): hack to make listof algorithm work
3915
3916         * buffer.C (readInset): hack to make listof algorithm work
3917
3918         * BufferView_pimpl.C: hack to make listof algorithm work
3919
3920 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3921
3922         * LyXAction.C: removed all !NEW_INSETS cruft
3923         (init): moved lfun_item in method
3924
3925         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
3926
3927 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
3928
3929         * BufferView2.C (theLockingInset): white space.
3930
3931 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3932
3933         * minibuffer.C: include <iostream>
3934
3935         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
3936
3937         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
3938
3939         * commandtags.h: add LFUN_TRANSPOSE_CHARS
3940
3941         * text.[Ch] (TransposeChars): new method
3942
3943 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3944
3945         * call message directly through LyXView instead of through LyXFunc
3946         * BufferView2.C: adjust
3947         * BufferView_pimpl.C: adjust
3948         * FontLoader.C: adjust
3949         * buffer.C: adjust
3950         * bufferview_funcs.C: adjust
3951         * converter.C: adjust
3952         * figureForm.C: adjust
3953         * importer.C: adjust
3954         * lyx_cb.C: adjust
3955         * lyx_gui_misc.C: adjust
3956         * lyxfunc.C: adjust
3957         * lyxvc.C: adjust
3958         * text2.C: adjust
3959         + more files in subdirs
3960         
3961         * lyxparagraph.h (size): move up int file
3962         (GetLayout): ditto
3963
3964         * adjust all uses of Assert to lyx::Assert.
3965
3966         * BufferView2.C (ChangeCitationsIfUnique): adjust for
3967         lyxfunctional in namespace lyx
3968         * layout.C (hasLayout): ditto
3969         (GetLayout): ditto
3970         (GetLayout): ditto
3971         (delete_layout): ditto
3972         (NumberOfClass): ditto
3973         * converter.C (GetFormat): ditto
3974         (GetNumber): ditto
3975         (Add): ditto
3976         (Delete): ditto
3977         (SetViewer): ditto
3978         * bufferlist.C (getFileNames): ditto
3979         (emergencyWriteAll): ditto
3980         (exists): ditto
3981         (getBuffer): ditto
3982         * MenuBackend.C (hasSubmenu): ditto
3983         (hasMenu): ditto
3984         (getMenu): ditto
3985         * BufferView_pimpl.C (getInsetByCode): ditto
3986
3987 2001-04-18  Juergen Vigna  <jug@sad.it>
3988
3989         * vspace.C (asLatexString): fixed the 100% problem.
3990
3991 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3992
3993         * lyxfunc.C (Dispatch): 
3994         * minibuffer.C: 
3995         * minibuffer.h: add a few std:: qualifiers
3996
3997 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3998
3999         * minibuffer.[Ch]: reimplement so that commands is initiated and
4000         run from lyxfunc, simplified som handling, and made the completion
4001         and history code for complete. wip. 
4002
4003         * lyxfunc.C (processKeySym): call message
4004         (miniDispatch): new temporary method
4005         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
4006         (LFUN_MESSAGE): implement
4007         (LFUN_MESSAGE_PUSH): implement
4008         (LFUN_MESSAGE_POP): implement
4009         (initMiniBuffer): the initial/defualt minibuffer message.
4010
4011         * lyxfont.[Ch]: inline some more getters
4012
4013         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
4014
4015         * lyx_gui_misc.[Ch] (WriteStatus): remove method 
4016
4017         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
4018         (AutoSave): use LFUN_MESSAGE
4019         (Reconfigure): ditto
4020
4021         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
4022
4023         * figureForm.C: use LFUN_MESSAGE
4024
4025         * converter.C (runLaTeX): use LFUN_MESSAGE
4026
4027         * bufferview_funcs.C: use LFUN_MESSAGE
4028         (Melt): ditto
4029         (changeDepth): ditto
4030
4031         * bufferparams.h: use boost::
4032
4033         * bufferlist.h: inherit privately from noncopyable
4034
4035         * bufferlist.C (loadLyXFile): remove some commented code.
4036
4037         * buffer.C (runChktex): use LFUN_MESSAGE
4038
4039         * ShareContainer.h: inherit privately from noncopyable
4040
4041         * ParagraphParameters.[hC] (depth): inline it.
4042
4043         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
4044         methods.
4045         (message): new method
4046         (messagePush): ditto
4047         (messagePop): ditto
4048         (show): init minibuffer
4049         (showState): direct call
4050
4051         * LaTeX.[Ch]: inherit privately from noncopyable
4052         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
4053         instead of WriteStatus.
4054
4055         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
4056
4057         * BufferView_pimpl.C (buffer): don't init minibuffer
4058         (workAreaButtonPress): use LFUN_MESSAGE
4059         (workAreaButtonRelease): ditto
4060         (savePosition): ditto
4061         (restorePosition): ditto
4062         (MenuInsertLyXFile): ditto
4063         (workAreaExpose): don't init minibuffer
4064         (update): remove commented code, simplify
4065
4066         * BufferView2.C (openStuff): use LFUN_MESSAGE
4067         (toggleFloat): ditto
4068         (menuUndo): ditto
4069         (menuRedo): ditto
4070         (copyEnvironment): ditto
4071         (pasteEnvironment): ditto
4072         (copy): ditto
4073         (cut): ditto
4074         (paste): ditto
4075         (gotoInset): ditto
4076         (updateInset): remove some commented code
4077
4078         * lastfiles.h: inherit privately from noncopyable
4079         * layout.h: ditto
4080         * lyx_gui.h: ditto
4081         * lyx_main.h: ditto
4082         * lyxlex.h: ditto
4083         * lyxlex_pimpl.h: ditto
4084
4085         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
4086         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
4087         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4088
4089         * LyXAction.h: inherit privately from noncopyable, add methods
4090         func_begin, func_end, returning iterators to the func map.
4091
4092         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
4093         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
4094         (func_begin): new method
4095         (func_end): new method
4096
4097         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
4098         and not)
4099         (copySelection): ditto
4100         (pasteSelection): ditto
4101
4102         * BufferView.C: whitespace change
4103         * BufferView.h: inherit privately from noncopyable
4104
4105 2001-04-16  Allan Rae  <rae@lyx.org>
4106
4107         * tabular-old.C (l_getline): 
4108         * spellchecker.C (sc_check_word): 
4109         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
4110         an unrecognised preprocessor directive.  So ensure they're wrapped. 
4111
4112 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
4113
4114         * src/exporter.C (Export): Give an error message when path to file 
4115         contains spaces.
4116
4117 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
4118
4119         * LaTeX.C (deplog): Always check that foundfile exists.
4120
4121 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4122
4123         * lyx_main.h: 
4124         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name 
4125
4126 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4127
4128         * tabular.[Ch] (getLabelList): implement new method
4129
4130         * minibuffer.h: comment ouf setTiimer
4131
4132         * minibuffer.C (ExecutingCB): constify res
4133         (peek_event): constify s
4134         (Set): constify ntext
4135         (Init): constify nicename
4136
4137         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
4138
4139         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
4140         (savePosition): use two params to Minibuffer::Set
4141         (restorePosition): ditto
4142
4143 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4144
4145         * lyx_main.C: include language.h
4146
4147         * Makefile.am (lyx_main.o): add language.h
4148
4149 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4150
4151         * exporter.C: 
4152         * paragraph.C: 
4153         * screen.C: 
4154         * tabular.C: 
4155         * CutAndPaste.C: include gettext.h
4156
4157         * lyxfont.h: remove old hack with ON and OFF.
4158
4159         * lyxparagraph.h: 
4160         * lyxfont.h: do not include language.h...
4161
4162         * BufferView2.C: 
4163         * LaTeXFeatures.C: 
4164         * Painter.C: 
4165         * bufferview_funcs.C: 
4166         * font.C: 
4167         * lyxfont.C: 
4168         * text.C: 
4169         * text2.C: 
4170         * trans_mgr.C: 
4171         * paragraph.C: ... but do it here instead
4172
4173 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4174
4175         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
4176
4177         * tabular.C: small reformat
4178
4179         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
4180         NEW_INSETS version
4181         (GetChar): ditto
4182         (BreakParagraph): ditto
4183         (SetOnlyLayout): ditto
4184         (SetLayout): ditto
4185
4186         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
4187         with one arg less.
4188
4189         * lastfiles.C: removed most using decl, add std:: where needed
4190
4191         * buffer.C: ws changes
4192
4193         * MenuBackend.C (class compare_format): put into anon namespace
4194         (expand): constify label, names, action, action2
4195         (expand): 
4196
4197         * text.C (SingleWidth): constify font
4198         (IsBoundary): constify rtl2
4199         (GetVisibleRow): constify ww
4200
4201         * LaTeX.C (deplog): constify logfile
4202
4203         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
4204         start_x, end_x
4205         (workAreaExpose): constify widthChange, heightChange
4206
4207         * lyxrow.C (par): moved
4208         (height): moved
4209         (next): moved
4210         * lyxrow.h: as inlines here
4211
4212         * lyxfont.h (shape): moved from lyxfont.C
4213         (emph): moved from lyxfont.C
4214
4215         * lyxfont.C (LyXFont): use initialization list for all
4216         constructors
4217         (shape): move to lyxfont.h as inline
4218         (emph): move to lyxfont.h as inline
4219         
4220
4221 2001-04-04  Juergen Vigna  <jug@sad.it>
4222
4223         * vspace.C: had to include stdio.h for use of sscanf
4224
4225 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
4226
4227         * BufferView.h: 
4228         * BufferView_pimpl.h: remove xforms cruft. Both classes are
4229         independent of xforms.
4230
4231 2001-04-02  Juergen Vigna  <jug@sad.it>
4232
4233         * spellchecker.C: fixed namespace placing!
4234
4235 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
4236
4237         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
4238         the LyXParagraph * is 0.
4239
4240 2001-03-29  Juergen Vigna  <jug@sad.it>
4241
4242         * vspace.C: added support for %, c%, p%, l%.
4243         (stringFromUnit): added helper function.
4244         (asLatexString): changed to give right results for the %-values.
4245
4246         * buffer.C: convert the widthp in a width%.
4247
4248 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
4249
4250         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
4251         figureForm.[Ch].
4252
4253         * figureForm.[Ch]: stripped the FD_from_figure manipulation
4254         code out of lux_cb.[Ch], ready for its (imminent?) removal.
4255
4256         * lyx_cb.[Ch]: see above.
4257
4258         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
4259         form1.[Ch].
4260
4261         * form1.[Ch]:
4262         * lyx.[Ch]: replaced by figure_form.[Ch].
4263
4264         * lyx_gui.C:
4265         * lyx_gui_misc.C:
4266         * lyxfunc.C: changed headers associated with above changes.
4267
4268 2001-03-27  Juergen Vigna  <jug@sad.it>
4269
4270         * BufferView_pimpl.C: set the temporary cursor right!
4271
4272 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
4273
4274         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
4275
4276 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
4277
4278         * LString.h: removed "using std::getline"!
4279
4280         * BufferView_pimpl.C (Dispatch): changes due to changes in
4281         InsetInclude::Params.
4282
4283         * buffer.C (tag_name): removed redundant break statements as they were
4284         producing lots of warnings with my compiler.
4285
4286 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4287
4288         * LString.h: add "using std::getline" when using the real <string>.
4289
4290 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
4291
4292         * buffer.C: removed bitset usage.
4293         PAR_TAG moved to an anonymous name space.
4294         (tag_name): new funtion, also in the anonymous namespace.
4295         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
4296         (makeDocBookFile): clean code. Completed transition from string arrays
4297         to string vectors.
4298         (SimpleDocBookOnePar): code clean.
4299
4300 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4301
4302         * tabular.C: add some comments.
4303
4304 2001-03-22  Juergen Vigna  <jug@sad.it>
4305
4306         * buffer.C (parseSingleLyXformat2Token): redone the minipage
4307         compatibility read a bit and fixed bug with minipage in different
4308         depth.
4309
4310 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
4311
4312         * buffer.C (pop_tag): removed.
4313         (push_tag): removed.
4314         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
4315         array replaced with vector. Added support for CDATA sections.
4316         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
4317         at any nest level.
4318         (makeDocBookFile): XML conformant declaration of CDATA section,
4319         fixed bug related to <emphasis> in the first paragraph char.
4320         (sgmlOpenTag): exclude empty tags.
4321         (sgmlCloseTag): ditto.
4322         
4323         * buffer.h (pop_tag): removed.
4324         (push_tag): removed.
4325
4326 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
4327
4328         * language.h (Languages): added size_type and size().
4329
4330 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4331
4332         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
4333         response on compability reading of minipages. One probliem is that
4334         the old usage of minipages was «flertydig» 
4335
4336         * several files here and in subdirs: don't use static at file
4337         scope use anon namespaces instead.
4338
4339 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
4340
4341         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
4342         LaTeX output. This is necessary for Literate document
4343         processing.
4344
4345 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4346
4347         * buffer.C: insert hfill when needed.
4348
4349         * tabular.C (l_getline): use string::erase, small whitespace change.
4350
4351         * BufferView_pimpl.C: try the anon namespace.
4352         * WorkArea.C: ditto
4353
4354 2001-03-16  Juergen Vigna  <jug@sad.it>
4355
4356         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
4357         otherwise it won't open options-dialogs.
4358
4359         * buffer.C: honor pextraWidth(p) on converting minipages.
4360
4361         * tabular.C (l_getline): changed the functions to strip trailing \r.
4362
4363 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
4364
4365         * BufferView_pimpl.C:
4366         * minibuffer..C: added "using SigC::slot" declaration.
4367
4368 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4369
4370         * lyxlex_pimpl.h: noncopyable is in namespace boost.
4371
4372         * text2.C: ditto
4373
4374         * text.C: ditto
4375
4376         * paragraph.C: ditto
4377
4378         * lyxtext.h: NO_PEXTRA
4379
4380         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
4381
4382         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
4383         * ParameterStruct.h: ditto
4384         * ParagraphParameters.h: ditto 
4385         * lyxparagraph.h: ditto
4386
4387 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4388
4389         * buffer.C: add compability for minipage alignment.
4390         (latexParagraphs): remove unwanted pextra check.
4391
4392         * several files: remove CXX_WORKING_NAMESPACES
4393
4394         * buffer.C (pop_tag): tie is in namespace boost
4395
4396         * BufferView.h: noncopyable is in namespace boost
4397         * lyxlex.h: ditto
4398         * lyx_main.h: ditto
4399         * lyx_gui.h: ditto
4400         * layout.h: ditto
4401         * lastfiles.h: ditto
4402         * bufferlist.h: ditto
4403         * ShareContainer.h: ditto
4404         * LyXView.h: ditto
4405         * LyXAction.h: ditto
4406         * LaTeX.h: ditto
4407
4408 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
4409
4410         * Merging changes from BRANCH_MVC back into HEAD.
4411
4412         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
4413
4414 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
4415
4416         * BufferView_pimpl.C: change from intl.C
4417
4418         * combox.h:
4419         * combox.C:
4420         * Makefile.am: move combox.*
4421
4422         * form1.h:
4423         * form1.C:
4424         * lyx_gui.C:
4425         * intl.h:
4426         * intl.C: remove dialog (covered by prefs)
4427
4428 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
4429
4430         * lyxfunc.C (Dispatch): removed redundant break statement.
4431         
4432 2001-03-14  Juergen Vigna  <jug@sad.it>
4433
4434         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
4435
4436 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4437
4438         * buffer.C: add hack to fix compability reading of minipages.
4439
4440 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
4441
4442         * buffer.C (getLists): Cleanup.
4443
4444 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4445
4446         * lyxfont.C (update): don't honor toggleall on font size.
4447
4448 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
4449
4450         * bmtable.c:
4451         * bmtable.h:
4452         * Makefile.am: moved to frontends/xforms/
4453
4454         * lyx_gui_misc.C:
4455         * lyxfunc.C:
4456         * BufferView_pimpl.C: changes for moved mathpanel
4457
4458 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
4459
4460         * gettext.h: fix gettext_init() in --disable-nls
4461
4462 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4463
4464         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
4465
4466 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
4467
4468         * lyx.C:
4469         * lyx.h: strip external form
4470
4471 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
4472
4473         * BufferView_pimpl.C: add comment, destroySplash()
4474
4475 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
4476
4477         * BufferView_pimpl.C:
4478         * LyXAction.C:
4479         * buffer.C:
4480         * commandtags.h:
4481         * lyxfunc.C: use re-worked insetinclude
4482
4483 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4484
4485         * buffer.C: add using std::stringstream.
4486
4487         * lyx_cb.C: readd using std::ios.
4488
4489         * buffer.C: add using std::map.
4490
4491         * BufferView_pimpl.C: add using std::vector.
4492
4493         * ShareContainer.h: add std:: to swap.
4494
4495         * buffer.h: add some typedefs
4496         * buffer.C (getLists): use them
4497         (getLists): renamed from getTocList.
4498         add a counter for the different float types and use it in the
4499         generated string.
4500         (getLists): use the same counter for the NEW_INSETS and the "non"
4501         NEW_INSETS
4502
4503         * lyx_cb.h: remove unused items, includes, using etc.
4504
4505         * ShareContainer.h: remove some commented code, add more comments
4506         and "documentation".
4507
4508 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4509
4510         * buffer.C (getTocList): make the list also when NEW_INSETS is
4511         defined.
4512
4513         * buffer.h: remove TocType
4514
4515         * buffer.C (getTocList): change to return a map<string,
4516         vector<TocItem> >, implement for dynamic number of list.
4517
4518         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
4519         * text2.C (PasteSelection): adjust
4520         * CutAndPaste.C (pasteSelection): adjust
4521
4522         * FloatList.C (FloatList): update from the new_insets branch.
4523         * Floating.[Ch]: ditto
4524         * LaTeXFeatures.C: ditto
4525         * buffer.C: ditto
4526         * lyxlex_pimpl.C: ditto
4527         
4528         * paragraph.C (Last): remove when NEW_INSETS is defined.
4529
4530         * other file: changes because of the above.
4531
4532 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4533
4534         * lyxparagraph.h: rename next to next_, previous to previous_,
4535         make them private for NEW_INSETS. Rename Next() to next(),
4536         Previous() to previous().
4537
4538         * other files: changes because of the above.
4539
4540 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
4541
4542         * BufferView.h: 
4543         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
4544         problem.
4545
4546 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4547
4548         * main.C (main): pass lyx_localedir to gettext_init().
4549
4550         * gettext.h: remove locale_init and gettext_init macros
4551
4552         * gettext.C (locale_init): new function
4553         (gettext_init): new function
4554
4555         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
4556         setlocale().
4557
4558 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
4559
4560         * Moved credits to frontends:
4561         * credits.[Ch]: removed
4562         * credits_form.[Ch]: removed
4563         * lyx_gui_misc.C: remove credits stuff
4564         * Makefile.am:
4565
4566 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4567
4568         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
4569
4570         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
4571         unneeded destructor.
4572
4573         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
4574         a standalone pointer again.
4575
4576         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
4577
4578 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
4579
4580         * Makefile.am:
4581         * filedlg.h:
4582         * filedlg.C:
4583         * LyXAction.C:
4584         * ToolbarDefaults.C:
4585         * bufferlist.C:
4586         * commandtags.h:
4587         * form1.C:
4588         * form1.h:
4589         * lyx_cb.C:
4590         * lyx_cb.h:
4591         * lyxfunc.h:
4592         * lyxfunc.C:
4593         * BufferView_pimpl.C: use new file dialog in GUII
4594
4595         * lyx_cb.h:
4596         * lyx_cb.C: remove LayoutsCB to Toolbar
4597
4598 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4599
4600         * ShareContainer.h (get): add std:: qualifier
4601
4602 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4603
4604         * ShareContainer.h: define a proper ShareContainer::value_type
4605         type (and use typename to please compaq cxx)
4606
4607 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4608
4609         * lyxparagraph.h: move serveral local vars to
4610         ParameterStruct/ParagraphParameters., use ShareContainer in
4611         FontTable., make vars in FontTable private and add getter and
4612         setter.
4613
4614         * paragraph.C: changes because of the above.
4615
4616         * lyxfont.h: remove copy constructor and copy assignment. (the
4617         default ones is ok), move number inside FontBits. move inlines to
4618         lyxfont.C 
4619
4620         * lyxfont.C: add number to initializaton of statics, move several
4621         inlines here. constify several local vars. some whitespace
4622         cleanup. Dont hide outerscope variables.
4623
4624         * Spacing.h: add two new constructors to match the set methods.
4625
4626         * ShareContainer.h: new file, will perhaps be moved to support
4627
4628         * ParameterStruct.h: new file
4629
4630         * ParagraphParameters.h: new file
4631
4632         * ParagraphParameters.C: new file
4633
4634         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
4635         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
4636
4637         * BufferView_pimpl.C: ParagraphParameter changes.
4638         * buffer.C: Likewise.
4639         * bufferview_funcs.C: Likewise.
4640         * text.C: Likewise.
4641         * text2.C: Likewise.
4642         
4643 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4644
4645         * lyxfind.C (LyXReplace): do not redefine default argument in
4646         implementation. 
4647         (IsStringInText): ditto
4648         (SearchForward): ditto
4649         (SearchBackward): ditto
4650
4651 2001-03-06  Juergen Vigna  <jug@sad.it>
4652
4653         * lyxfind.C (IsStringInText): put parentes around expressions.
4654
4655 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
4656
4657         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
4658         
4659 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
4660
4661         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
4662
4663         * stl_string_fwd.h: add comment
4664
4665         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
4666
4667         * tabular.h:
4668         * tabular.C: remove unused DocBook methods
4669
4670         * intl.C:
4671         * language.C:
4672         * paragraph.C:
4673         * buffer.C:
4674         killed DO_USE_DEFAULT_LANGUAGE
4675
4676 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4677
4678         * lyx_gui.C: do not include language.h.
4679
4680         * bufferview_funcs.C (ToggleAndShow): do not provide optional
4681         arguments in function implementation.
4682
4683 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4684
4685         * BufferView_pimpl.C: add <ctime>
4686
4687 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4688
4689         * BufferView_pimpl.C: add using std::find_if
4690
4691 2001-02-27  José Matos  <jamatos@fep.up.pt>
4692         
4693         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
4694         by OnlyPath.
4695         
4696 2001-02-11  José Matos  <jamatos@fep.up.pt>
4697
4698         * buffer.C (makeDocBookFile): command styles now have a parameter as
4699         "title" by default.
4700
4701 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
4702
4703         * layout_forms.[Ch]: removed
4704         * lyx_cb.[Ch]: out character
4705         * lyx_gui.C: out character
4706         * lyx_gui_misc.C: out character
4707         * bufferview_funcs.C: : out character,
4708         added toggleall as parameter in ToggleAndShow
4709                    
4710 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
4711
4712         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
4713
4714         * text2.C (SetCurrentFont): Disable number property at boundary.
4715
4716 2001-02-26  Juergen Vigna  <jug@sad.it>
4717
4718         * lyxfunc.C (getStatus): added a string argument override function so
4719         that this is correctly called from LyXFunc::Dispatch if it contains a
4720         do_not_use_argument which is used!
4721         (Dispatch): added check for "custom" export and call appropriate func.
4722
4723 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
4724
4725         * lyxrc.C: Add language_command_local, language_use_babel and
4726         language_global_options.
4727
4728         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
4729
4730         * buffer.C (makeLaTeXFile): Use language_use_babel and 
4731         language_global_options.
4732
4733 2001-02-23  Juergen Vigna  <jug@sad.it>
4734
4735         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
4736         which works with LyXText and putted it inside BufferView. Here now we
4737         only call for that part the BufferView::Dispatch() function.
4738
4739         * BufferView.C (Dispatch): added.
4740
4741         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
4742         functions which needs to use a LyXText over from LyXFunc.
4743         (MenuInsertLyXFile): added
4744         (getInsetByCode): added
4745         (moveCursorUpdate): added
4746         (static TEXT): added
4747
4748 2001-02-22  Juergen Vigna  <jug@sad.it>
4749
4750         * BufferView_pimpl.C (update): call a status update to see if LyXText
4751         needs it.
4752
4753 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4754
4755         * vc-backend.C (revert): implement for CVS
4756         (getLog): implement for CVS
4757
4758 2001-02-20  Juergen Vigna  <jug@sad.it>
4759
4760         * text2.C (ClearSelection): added BufferView param for inset_owner call
4761
4762         * lyxfunc.C (TEXT): added this function and use it instead of
4763         directly owner->view()-text of getLyXText().
4764
4765 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
4766
4767         * src/layout_forms.C: out preamble
4768         * src/layout_forms.h: out preamble
4769         * src/lyx_cb.C: out preamble
4770         * src/lyx_cb.h: out preamble
4771         * src/lyx_gui.C: out preamble
4772         * src/lyx_gui_misc.C: out preamble
4773         * src/lyxfunc.C: connect with guii preamble
4774
4775 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
4776
4777         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
4778
4779 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
4780
4781         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
4782         whether to run bibtex.
4783
4784 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
4785
4786         * Makefile.am (lyx_SOURCES): Remove BackStack.h
4787
4788 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
4789
4790         * Makefile.am (lyx_SOURCES): removed bibforms.h
4791
4792         * vspace.h: doxygen
4793
4794         * text.C (GetVisibleRow): make several local vars const
4795
4796         * tabular.C: small cleanup.
4797
4798         * lyxserver.C (callback): use compare instead of strncmp
4799
4800         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
4801         inlines to after class or to paragraph.C
4802
4803         * lyxfont.h: remove friend operator!=
4804
4805         * converter.h: move friend bool operator< to non friend and after
4806         class def.
4807
4808         * combox.h: small cleanup
4809
4810         * buffer.h: doxygen, remove unused constructor, move inclas inlies
4811         to inlines after class def.
4812
4813         * buffer.C (pop_tag): use string operations instead of strcmp
4814
4815         * bmtable.c: doxygen, small cleanup
4816
4817         * LaTeX.h: remove friend operator==
4818
4819 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
4820
4821         * screen.C: 
4822         * lyxrc.[Ch]:
4823         * lyxfunc.C: 
4824         * lyxfont.[Ch]: 
4825         * lyx_cb.C: 
4826         * intl.[Ch]: 
4827         * commandtags.h: 
4828         * buffer.C: 
4829         * WorkArea.[Ch]: 
4830         * LyXAction.C: 
4831         * BufferView_pimpl.C:
4832         * BufferView.[Ch]: remove cruft
4833
4834 2001-02-14  Juergen Vigna  <jug@sad.it>
4835
4836         * lyxfunc.C: removed #if 0 unused code
4837
4838         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
4839
4840         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
4841
4842         * text2.C (SetSelection): added a BufferView * parameter
4843
4844 2001-02-13  Juergen Vigna  <jug@sad.it>
4845
4846         * lyxfunc.C (Dispatch): fixed protected blank problem.
4847         * BufferView2.C (protectedBlank): added LyxText * parameter.
4848
4849         * tabular.C (AppendRow): forgot to set row_info of newly added row.
4850         (AppendColumn): same as above for column_info.
4851
4852         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
4853         (moveCursorUpdate): use a LyXText param for support of InsetText.
4854
4855         * BufferView_pimpl.C (doubleClick): added support for InsetText.
4856         (tripleClick): ditto
4857
4858         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
4859
4860         * BufferView_pimpl.C (update): added LyXText param to honor insets.
4861
4862         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
4863
4864         * text2.C (SetSelection): set correct update status if inset_owner
4865         (ToggleFree): ditto
4866
4867 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
4868
4869         * tabular.C: remove some commented code.
4870
4871 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
4872
4873         * BufferView_pimpl.C: call hideSplash()
4874
4875         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
4876
4877         * include_form.h:
4878         * bibforms.h: remove
4879
4880         * lyxfunc.C:
4881         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
4882           add LFUN_CHILD_CREATE
4883
4884         * counters.h: fix tiny typo
4885         
4886         * lyx_cb.C:
4887         * lyx.h:
4888         * lyx_gui.C:
4889         * lyx.C: move splash to frontends/xforms/
4890
4891         * lyx_gui_misc.C: move Include and Bibform to frontends
4892
4893         * lyxvc.h: clarify comment
4894
4895         * vspace.C: tiny housekeeping
4896
4897 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
4898
4899         * text.C (PrepareToPrint): RTL Fix.
4900
4901         * paragraph.C (GetUChar): New method.
4902         (String):  Use GetUChar.
4903
4904         * buffer.C (asciiParagraph): Use GetUChar.
4905
4906 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
4907
4908         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
4909
4910 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
4911
4912         * buffer.h:
4913         * buffer.C: rename to getLogName(), handle
4914           build log / latex log nicely
4915
4916 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4917
4918         * MenuBackend.C: 
4919         * MenuBackend.h: remove support for reference menuitem type.
4920
4921 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
4922
4923         * BufferView_pimpl.C: housekeeping
4924         * BufferView_pimpl.h:
4925         * LyXView.h:
4926         * Makefile.am:
4927         * Timeout.C:
4928         * Timeout.h:
4929         * minibuffer.h: move Timeout GUI-I
4930                           
4931 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
4932
4933         * lyxrc.C (read): Update converters data-structures.
4934
4935 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
4936
4937         * LaTeX.h (operator!=): add operator != for Aux_Info 
4938
4939 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
4940
4941         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
4942
4943         * LaTeXLog.C: deleted, useful code moved to Buffer
4944
4945         * buffer.h:
4946         * buffer.C: new function getLatexLogName()
4947
4948         * lyx_gui_misc.C:
4949         * lyx_gui.C:
4950         * lyxvc.C:
4951         * lyxvc.h:
4952         * lyxfunc.C: use frontends for LaTeX and VC logs
4953
4954 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4955
4956         * LaTeX.h: yet another std:: that Allan forgot.
4957
4958         * Variables.C (set): renamed from isset(), because this clashes
4959         with some HP-UX macros (grr).
4960
4961 2001-02-06  Allan Rae  <rae@lyx.org>
4962
4963         * LaTeX.h: Another bug fix.  Missing std:: this time.
4964
4965 2001-02-04  Allan Rae  <rae@lyx.org>
4966
4967         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
4968         floats problem. I've left it commented out because it's not quite
4969         correct.  It should also test that the current object is a table or
4970         figure inset.  But I haven't gotten around to figuring out how to do
4971         that.  I *think* it'll be something like: "table" == inset.type()
4972
4973         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
4974         bool.
4975
4976 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
4977
4978         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
4979         all the citation/databases/styles in the auxilary file. 
4980         (run): Rerun latex if there was a babel language error.
4981
4982 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
4983
4984         * text.C (Backspace): Preserve the font when changing newline char
4985         with a space.
4986         (BreakParagraph): If the cursor is before a space, delete the space.
4987
4988         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
4989
4990 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
4991
4992         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
4993         new argument (code).
4994         (ChangeCitationsIfUnique): New method.
4995
4996         * paragraph.C (GetPositionOfInset): Handle bibkey.
4997
4998 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4999
5000         * BufferView_pimpl.h: change type of Position::par_pos to
5001         LyXParagraph::size_type. 
5002
5003 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
5004
5005         * BufferView_pimpl.C (savePosition, restorePosition): Write
5006         messages to minibuffer.
5007
5008 2001-01-28  José Matos  <jamatos@fep.up.pt>
5009
5010         * buffer.C (makeDocBookFile): adds support for document language.
5011         A silly restriction on the name of LatexCommand types where removed.
5012         Added support for CDATA sections, allows to chars unescaped, used
5013         among others in code, to avoid escape < and >.
5014         
5015 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
5016
5017         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
5018         saved positions instrad of a stack. Furthermore, a position is
5019         stored using paragraph id/paragraph position.
5020
5021         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
5022         Remove LFUN_REF_BACK.
5023
5024 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
5025
5026         * converter.C (dvipdfm_options): New method.
5027
5028 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
5029
5030         * vspace.C (isValidLength): Fix for empty input string.
5031
5032 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5033
5034         * LyXAction.C (init): change description of LFUN_FIGURE to
5035         "Insert Graphics"
5036
5037 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5038
5039         * LaTeX.C: add using directive
5040
5041 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
5042
5043         * MenuBackend.C (expand): Fix the sorting of the formats.
5044
5045 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
5046
5047         * lyx_main.C: tiny error message fix
5048
5049 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5050
5051         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
5052         calling fl_initialize(). This fixes the problem with ',' as
5053         decimal separator in text files.
5054
5055 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
5056
5057         * trans.C (process): Fix the keymap bug.
5058
5059 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
5060
5061         * LaTeX.C (scanAuxFiles): New method. Provides support for
5062         multiple bibliographies (when using the bibtopic/bibunits pacakges).
5063         (scanLogFile) Scan for "run BibTeX" messages.
5064
5065         * buffer.C (makeLaTeXFile): Do not load the ae package when using
5066         OT1 font encoding. Also, load the aecompl package if the ae
5067         package is loaded.
5068
5069         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
5070
5071 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5072
5073         * texrow.C (increasePos): turn two error messages into debug
5074         messages. 
5075
5076 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
5077
5078         * LaTeX.C (scanAux): Handle the \@input macro.
5079         (runBibTeX): Use scanAux().
5080
5081         * language.C (latex_options_): New field.
5082
5083         * LaTeXFeatures.C (getMacros): Add language macros.
5084
5085         * buffer.C (makeLaTeXFile): Small fix.
5086
5087 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5088
5089         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
5090
5091         * text2.C: add a using directive.
5092
5093 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
5094
5095         * BufferView2.C:
5096         * lyx_gui_misc.h:
5097         * lyxfr1.C:
5098         * lyxfunc.C: kill LyXBell.
5099
5100 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
5101
5102         * text.C (IsBoundary): Remove the error message
5103         
5104         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
5105
5106         * lyxrc.C (setDefaults): Correct initialization value for
5107         font_norm_type.
5108
5109 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5110
5111         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
5112         gotoError().
5113
5114         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
5115         and GotoNextNote().
5116
5117         * src/LyXAction.C: Added reference-next.
5118
5119         * text.C (InsertChar): Use contains instead of strchr.
5120
5121         * lyx_cb.C (MenuInsertLabel): Enable default value code.
5122
5123 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
5124
5125         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
5126         alignment commands (when needed).
5127
5128         * text.C (InsertChar): Add ':' to number separator chars.