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