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