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