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