]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fixed insetAllowd for InsetText and Pasting multiple paragraphs inside
[lyx.git] / src / ChangeLog
1 2001-12-05  Juergen Vigna  <jug@sad.it>
2
3         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4         set the right font on the "multi" paragraph paste!
5
6 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7
8         * trans_decl.h:
9         * trans_mgr.[Ch]:
10         * trans.[Ch]:
11         * lyxgluelength.C:
12         * lyxlength.C: remove out-commented code.
13
14         * BufferView_pimpl:
15         * CutAndPaste.C: 
16         * DepTable.C:
17         * buffer.C:
18         * chset.C:
19         * lastfiles.C:
20         * lyxlex.C:
21         * lyxlex_pimpl.C:
22         * lyxserver.C:
23         * screen.C:
24         * tabular-old.C:
25         * tabular.C:
26         * text.C:
27         * trans_mgr.C:
28         * vc-backend.C: change "while(" to "while ("
29         
30         * lyxlength.[Ch]: add zero function to check if length is zero or
31         not
32         * lyxgluelength.C: use it
33         
34 2001-12-05  Allan Rae  <rae@lyx.org>
35
36         * lyxlength.C: Attempted a fix for the abs(int) header selection.
37         Works for 2.95.3, from what I understand of Garst's reports this should
38         work for other g++ versions.  We're screwed if the abs(int) definition
39         changed between bugfix releases of gcc.
40
41 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
42
43         * text.C: fix chapter label offset !
44
45 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
46
47         * lyxtext.h:
48         * text.C: fix hfill at end of line, clean up
49
50 2001-12-04  Juergen Vigna  <jug@sad.it>
51
52         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
53         that we force an update of the inset and it's owners if neccessary.
54
55 2001-12-03  Juergen Vigna  <jug@sad.it>
56
57         * text.C (rowLast): simplified code
58
59 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
60
61         * lyxfunc.C: fix show options on timeout
62  
63 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
64
65         * screen.C (topCursorVisible): scroll half a page when the cursor
66         reached top of bottom of screen
67
68 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
69
70         * minibuffer.C: deactivate on loss of focus
71  
72 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
73
74         * vspace.[Ch] (operator!=): add operator. 
75
76 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
77
78         * BufferView_pimpl.C: refuse to open an inset when
79         there's a selection.
80
81 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
82
83         * BufferView_pimpl.C: allow to click on RHS of full row insets
84  
85 2001-11-30  Juergen Vigna  <jug@sad.it>
86
87         * tabular.C (LyXTabular): add a same_id to set the same id's in the
88         insets for undo reasons.
89
90 2001-11-28  André Pönitz <poenitz@gmx.net>
91
92         * vspace.[Ch]: cosmetical changes
93
94 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
95
96         * LyXAction.h:
97         * LyXAction.C:
98         * lyxfunc.h:
99         * lyxfunc.C:
100         * kbmap.h:
101         * kbmap.C:
102         * lyxrc.C:
103         * kbsequence.h:
104         * kbsequence.C: part re-write of old kb code
105
106         * Painter.C:
107         * WorkArea.C: remove Lgb_bug_find_hack
108
109 2001-11-30  José Matos <jamatos@fep.up.pt>
110
111         * buffer.C (makeDocBookFile): add a comment to point a hack.
112         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
113         Fixed a double write of labels.
114         
115 2001-11-28  André Pönitz <poenitz@gmx.net>
116
117         * all the files from the change on 2001/11/26:
118         use lyx::layout_type instead of LyXTextClass::size_type
119         use lyx::textclass_type instead of LyXTextClassList::size_type
120
121 2001-11-29  Juergen Vigna  <jug@sad.it>
122
123         * text.C: added support for paragraph::isFreeSpacing()
124
125         * buffer.C: same as above
126
127         * paragraph.h: inserted isFreeSpacing() function to enable
128         FreeSpacing inside InsetERT.
129
130         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
131         of the paragraph's in the cut/copy buffer to 0!
132
133         * text2.C (removeRow): remove the assert as it can!
134
135         * lyxtext.h: added helper function firstRow returning firstrow and
136         made firstrow private again.
137
138         * BufferView2.C (lockInset): don't relock if we're already locked!
139
140         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
141         the only paragraph.
142         (removeRow): added Assert::(firstrow)
143
144         * debug.C: forgot to add INSETTEXT here.
145
146 2001-11-28  Juergen Vigna  <jug@sad.it>
147
148         * sp_spell.C (initialize): changed error text to more general
149         spellchecker command use (not only ispell!)
150
151         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
152
153         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
154
155 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
156
157         * vspace.C: initialise lyxgluelength on failure
158
159 2001-11-28  Allan Rae  <rae@lyx.org>
160
161         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
162         declaration & definition that looks like a function declaration.
163
164 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
165
166         * BufferView2.C (copy): 
167         (copyEnvironment): do not clear the selection when doing a copy.
168
169         * text.C (paintFirstRow): compilation fix
170
171 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
172
173         * tabular.C (Latex): correct line count when writing latex.
174
175 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
176
177         * paragraph_pimpl.h:
178         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
179           bug a bit
180
181 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
182
183         * text.C: 
184         * LColor.h:
185         * LColor.C: change vfillline->added_space
186  
187         * text.C: add markers and text for added space
188  
189         * vspace.C: fix comment
190
191 2001-11-28  André Pönitz <poenitz@gmx.net>
192
193         * paragraph.C: whitespace changes
194         * all the other files from the change on 2001/11/26:
195         change *::pos_type into lyx::pos_type
196         
197 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
198
199         * buffer.C (parseSingleLyXformat2Token): Set the language to the
200         language of the document when inserting error insets.
201
202 2001-11-26  André Pönitz <poenitz@gmx.net>
203         
204         * BufferView_pimpl.[Ch]:
205         *       CutAndPaste.C:
206         * buffer.[Ch]:
207         * lyxcursor.[Ch]:
208         * lyxfind.C:
209         * lyxfunc.C:
210         * lyxrow.[Ch]:
211         * paragraph.[Ch]:
212         * paragraph_pimpl.[Ch]:
213         * sp_spell.C:
214         * text.C:
215         * text2.C: reduce header dependencies, introduce type for positions
216
217 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
218
219         * <various>: change to use Alert.h 
220          
221 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
222
223         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
224         when encountering an unknown token.
225         (readLyXformat2): Show an error message if there were unknown tokens.
226
227 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
228
229         * BufferView2.C:
230         * BufferView_pimpl.C:
231         * buffer.C:
232         * paragraph.h:
233         * text.C: 
234         * text2.C: use par->isInset()
235          
236 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
237
238         * paragraph_pimpl.h:
239         * paragraph_pimpl.C: cleanup 
240          
241 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
242
243         * text2.C (removeRow): 
244         * text.C (setHeightOfRow): remove useless (and costly) call to
245         getRow. 
246
247 2001-11-20  Allan Rae  <rae@lyx.org>
248
249         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
250         Now need Inset*::checkInsertChar() to return true for appropriate
251         cases so that the characters in the minibuffer will actually be
252         inserted.
253
254 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
255
256         * text.C: change the order of the includes.
257         (workWidth): initialize it at once.
258         (workWidth): make maxw unsigned
259         (setHeightOfRow): remove unused variable (inset)
260         (selectSelectedWord): remove unused variable (inset)
261         (paintRowText): fix drawing of hfill characters, and clean up a bit.
262
263 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
264
265         * lyxserver.C (emergencyCleanup): do not try to close pipes if
266         server is not running.
267         (openConnection): 
268         (closeConnection): add debug info when server is disabled.
269
270         * ColorHandler.C (getGCForeground): send debug message to GUI
271         channel. 
272
273         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
274
275         * kbmap.C (bind): modify because return conventions of
276         kb_sequence::parse have changed.
277
278         * kbsequence.C (parse): only ignore spaces and not any stupid
279         control character. This avoids tests like s[i] <= ' ', which are
280         guaranteed to fail with 8bit characters and signed chars.
281         Change return code to string::npos when there have been no error
282         (0 was a bad idea when error is at first character)
283
284 2001-11-14  José Matos  <jamatos@fep.up.pt>
285
286         * buffer.h:
287         * buffer.C (simpleDocBookOnePar): removed unused argument.
288
289 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
290
291         * text.C (selectNextWordToSpellcheck): do not test explicitely for
292         insets which are part of a word. Paragraph::isLetter takes care of
293         that now. Use Paragraph::isInset to identify insets.
294         (selectSelectedWord): do not test for hyphenation break.
295
296         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
297         that protected spaces are considered as spaces.
298
299         * paragraph.C (isLetter): cleanup the code for ispell extras; use
300         Inset::isLetter. 
301
302 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
303
304         * lyxserver.h:
305         * lyxserver.C: fix it. and small cleanup.
306  
307 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
308
309         * BufferView_pimpl.C: use inline helpers
310  
311         * LaTeXFeatures.h: 
312         * LaTeXFeatures.C: fix typos
313
314         * Spacing.h:
315         * Spacing.C: move spacing_string into class 
316
317         * ToolbarDefaults.C: move stuff into namespace anon
318  
319         * layout.h: update enum
320
321         * lyxfunc.C: use better debug
322
323         * minibuffer.h: fix typo
324  
325         * debug.h:
326         * debug.C:
327         * WorkArea.C: add and use Debug::WORKAREA
328
329         * lyxtext.h:
330         * text.C: 
331         * text2.C: code re-organisation, inline helpers
332
333 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
334
335         * Layout.C: replaced a few cases of std::vector.size() == 0 with
336         std::vector.empty().
337
338 2001-11-09  Allan Rae  <rae@lyx.org>
339
340         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
341         '\n's after tables.  Tabular and ERT inset work now makes this no
342         longer necessary.
343
344 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
345
346         * minibuffer.h:
347         * minibuffer.C: fix crash, improve drop-down completion 
348  
349 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
350
351         * lyxserver.h:
352         * lyxserver.C: invalidate fd's when doing endPipe()
353  
354 2001-11-08  José Matos  <jamatos@fep.up.pt>
355
356         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
357         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
358
359         * paragraph.h:
360         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
361
362 2001-11-07  José Matos  <jamatos@fep.up.pt>
363
364         * buffer.h:
365         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
366         const qualifier.
367
368         * buffer.C (sgmlOpenTag):
369         * buffer.C (sgmlCloseTag): removed debug info.
370
371         * buffer.h (sgmlOpenTag):
372         * buffer.h (sgmlCloseTag): made public.
373
374 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
375
376         * buffer.C (saveParamsAsDefaults): 
377         * lyx_cb.C (MenuLayoutSave): remove
378
379         * LyXAction.C (init): 
380         * commandtags.h: 
381         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
382
383 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
384
385         * buffer.C (setPaperStuff): removed from here...
386
387         * bufferparams.C (setPaperStuff): ... and moved there.  
388
389 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
390
391         * minibuffer.h:
392         * minibuffer.C:
393         * XFormsView.C: add support for drop-down completion
394  
395 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
396
397         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
398         commands.
399
400 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
401
402         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
403         disabled. 
404
405 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
406
407         * lyx_main.C: change ref to known bugs
408  
409 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
410
411         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
412         to work around older babel problems.
413
414 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
415
416         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
417
418 2001-10-24  Juergen Vigna  <jug@sad.it>
419
420         * tabular-old.C (ReadOld): below variable changes reflected.
421
422         * tabular.[Ch]: added ltType struct for longtable header/footer
423         defines and changed all instances where they are used. Added
424         future support for double top/bottom rows.
425
426 2001-10-24  José Matos  <jamatos@fep.up.pt>
427
428         * buffer.h (docbookHandleCaption):
429         * buffer.C (docbookHandleCaption): removed unused function.
430         (makeDocBookFile): moved docbook supported version to v4.1.
431
432 2001-10-24  José Matos  <jamatos@fep.up.pt>
433
434         * tabular.h:
435         * tabular.C (docbookRow): new function to export docbook code of a row.
436         (DocBook): now honors the longtable flags.
437
438 2001-10-23  José Matos  <jamatos@fep.up.pt>
439
440         * LaTeXFeatures.h:
441         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
442         of the lyx defined sgml entities used in a docbook/linuxdoc document.
443
444         * buffer.C (makeLinuxDocFile):
445         (makeDocBookFile): reworked the preamble, more clean, and with
446         support for lyx defined entities. Changed the document declaration
447         to be more XML friendly.
448
449         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
450         if we need to output XML that should be done with a filter.
451         
452 2001-10-22  Juergen Vigna  <jug@sad.it>
453
454         * sp_pspell.h (class PSpell): add alive function needed in the
455         controller to see if the spellchecker could be started.
456
457 2001-10-22  Juergen Vigna  <jug@sad.it>
458
459         * buffer.C (insertStringAsLines): modify the font for inserting
460         chars in certain conditions by calling checkInsertChar(font).
461
462 2001-10-19  Juergen Vigna  <jug@sad.it>
463
464         * text.C (workWidth): use getRow instead of wrong algorithm.
465         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
466
467 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
468
469         * lyxserver.h:
470         * lyxserver.C:
471         * lyx_main.h:
472         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
473
474 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
475
476         * text.C (workWidth): do not search for the exact row when
477         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
478         optimization for big documents.
479
480 2001-10-18  Juergen Vigna  <jug@sad.it>
481
482         * text.C (workWidth): new function with added Inset * parameter.
483
484 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
485
486         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
487
488         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
489         change return type of getColumnNearX.
490         
491
492         * text.C (changeRegionCase): use uppercase/lowercase instead of
493         toupper/tolower. 
494         (leftMargin): 
495         (rightMargin): simplify code by factoring out the uses of
496         textclasslist.
497         (labelFill): 
498         (numberOfHfills): 
499         (setHeightOfRow): 
500         (appendParagraph): use Paragraph::size_type
501
502 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
503
504         * vspace.C (asLatexString): add a missing break
505
506 2001-10-15  Herbert Voss  <voss@perce.de>
507
508         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
509
510 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
511
512         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
513         is not available.
514
515 2001-10-10  André Pönitz <poenitz@gmx.net>
516
517         * lyxfunc.C: removed greek_kb_flag.
518
519 2001-10-10  Herbert Voss  <voss@perce.de>
520
521         * lyx_main.C: delete global string help_lyxdir.
522
523 2001-10-09  Herbert Voss  <voss@perce.de>
524
525         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
526
527         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
528
529         * lyx_main.C: added global string help_lyxdir.
530
531         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
532
533 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
534
535         * lyxrc.C (set_font_norm_type): support iso8859-4
536
537 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
538
539         * LaTeX.C (deplog): add another regex for MikTeX
540
541 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
542
543         * lyxrc.C (set_font_norm_type): support iso8859-3
544
545 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
546
547         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
548
549         * LaTeXFeatures.C: remove special case of french and index
550
551         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
552         before \begin{document}). This solves several incompatibilities.
553
554 2001-10-03  Garst Reese  <reese@isn.net>
555
556         * lyx_cb.C: change CheckTex error msg.
557
558 2001-10-03  José Matos  <jamatos@fep.up.pt>
559
560         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
561
562 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
563
564         * .cvsignore: update
565
566         * lyx_main.C (commandLineVersionInfo): use new style version info.
567
568         * buffer.C (writeFile):
569         (makeLaTeXFile):
570         (makeLinuxDocFile):
571         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
572
573         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
574
575         * version.h: update to use stuff in version.C
576
577         * version.C.in: new file. Contains version information determined
578         at compile time. This is a merging of version.h and
579         version_info.h.in.
580
581 2001-10-03  Juergen Vigna  <jug@sad.it>
582
583         * BufferView_pimpl.C (update): don't change "dirty" status in
584         updateInset call.
585
586 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
587
588         * WorkArea.C (c-tor): re-position version string slightly.
589
590 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
591
592         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
593         revert to previous code.
594
595         WorkArea.[Ch]: (show, destroySplash): methods removed.
596
597         WorkArea.C: rework code so that it's an amalgam of the codes before and
598         after the splash screen was moved to WorkArea.
599
600 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
601
602         * lyxrc.C (read): 
603         * vspace.C (inPixels): 
604         (lyx_advance): 
605         * kbmap.C (bind): 
606         * buffer.C (insertStringAsLines): 
607         (asciiParagraph): fix types to be large enough
608
609         * lyxlex_pimpl.h: change member status from short to int
610
611         * layout.h: fix type of endlabeltype
612
613         * kbmap.C (bind): 
614         * kbsequence.C (parse): change return type to string::size_type
615
616         * LaTeX.C (updateBibtexDependencies): comment out unneeded
617         variable
618
619         * Bullet.C (bulletSize): 
620         (bulletEntry): do not use short ints as parameters
621
622         * BufferView2.C (insertLyXFile): change a char to an int.
623
624         * WorkArea.C (WorkArea): remove unneeded floats in computation
625
626 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
627
628         * buffer.C (asciiParagraph): Treat '\\' as other chars.
629
630         * paragraph.C (asString): Do not ignore newline/hfill chars when
631         copying to the clipboard.
632
633 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
634
635         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
636         after a multi-line inset.
637
638 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
639
640         * paragraph.C (validate): Set NeedLyXFootnoteCode
641
642 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
643
644         * lyxfont.C (LyXSizeNames): changed increase-error to increase
645         and decrease-error to decrease.
646
647 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
648
649         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
650         it more readable (should be equivalent)
651
652 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
653
654         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
655
656 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
657
658         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
659         of a cursor (row, etc.) after a character has been deleted
660         (deleteEmptyParagraphMechanism): call the method above on _all_
661         cursors held by the LyXText when a double space has been
662         detected/deleted.
663  
664 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
665
666         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
667         pixmap.
668         (resizeCurrentBuff): remove code to destroy the old splash dialog.
669
670         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
671         background. Use greyOut() and the new show() methods to toggle between
672         the foreground and background. Add code to remove the splash after
673         its initial showing.
674
675         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
676         (create_forms): no longer call Dialogs::showSplash.
677
678 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
679
680         * .cvsignore: add version_info.h
681
682 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
683
684         * version_info.h.in: new file
685
686         * Makefile.am: add version_info.h.in
687
688         * lyx_main.C (commandLineVersionInfo): use version_info defined in
689         version_info.h instead of VERSION_INFO
690
691 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
692
693         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
694         The ERT inset now returns string().
695
696 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
697
698         * lyxtext.h, text.C (selectNextWord): renamed as
699         selectNextWordToSpellcheck.
700
701         * text.C (selectNextWordToSpellcheck): Modified to not select
702         words inside an ERT inset.
703
704 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
705
706         * lyx_cb.C (MenuLayoutSave): change a bit the question
707
708         * sp_base.h: include <sys/types.h>
709
710 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
711
712         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
713
714 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
715
716         * several files: fix typos in user-visible strings
717
718 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
719
720         * text2.C (pasteSelection): do not set the selection, since it
721         will be cleared later. Actually, the intent was to fix the way the
722         selection was set, but I figured rmoving the code was just as good.
723
724 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
725
726         * FontLoader.C (available): Check if font is available without
727         loading the font.
728
729 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
730
731         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
732
733 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
734
735         * lyxrc.[Ch]: added display_graphics variable and associated code.
736
737 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
738
739         * bufferparams.C (hasClassDefaults): new method. Returns true if
740         the buffer parameters correspond to known class defaults
741
742 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
743
744         * XFormsView.C (show): set minimum size to the main window.
745
746 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
747
748         * text2.C (copySelection): 
749         (cutSelection): 
750         * lyxfind.C (LyXReplace): 
751         * BufferView_pimpl.C (Dispatch): pass the correct flag to
752         LyXText::selectionAsString. 
753
754         * paragraph.C (asString): add "label" argument to the second form
755
756         * text2.C (selectionAsString): add "label" argument and pass it to
757         Paragraph::asString. 
758
759 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
760
761         * lyx_main.C (commandLineHelp): remove version information
762
763 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
764
765         * lyx_main.C: add -version commandline option
766
767 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
768
769         * paragraph.h: make the optional constructor arg required instead.
770         some modifications to other files because of this.
771
772         * minibuffer.C (C_MiniBuffer_peek_event): make it static
773
774         * lyxserver.C (C_LyXComm_callback): make it static
775
776         * lyx_main.C (error_handler): make it static
777
778         * lyx_gui.C (LyX_XErrHandler): make it static
779
780         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
781
782         * WorkArea.C: make the extern "C" methods static.
783
784         * Makefile.am (lyx_LDADD): simplify
785
786 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
787
788         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
789         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
790
791         * LyXAction.C (init):
792         * lyxfunc.C (dispatch): associated code removal.
793
794 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
795
796         * lyxfont.h (isSymbolFont): shut off warning
797
798         * text.C (setHeightOfRow):
799         (getVisibleRow): fix crash with empty paragraphs which have a
800         bottom line
801
802 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
803
804         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
805         code.
806
807 2001-09-04  José Matos  <jamatos@fep.up.pt>
808         * buffer.C
809         * buffer.h
810         * tabular.C (docbook): rename docBook method to docbook.
811
812 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
813
814         * Makefile.am: add dependencies to main.o.
815
816 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
817
818         * FontLoader.C (available): Return false if !lyxrc.use_gui
819
820 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
821
822         * FontInfo.C (query):
823         * converter.C (view):
824         * importer.C (Import):
825         * exporter.C (Export): Can not -> cannot.
826
827 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
828
829         * BufferView_pimpl.C: allow to create index inset even if
830           string is empty
831  
832 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
833
834         * buffer.C (getLists): replace boost::tie code with an explicit pair
835         as boost::tie can break some compilers.
836
837         * iterators.h: Added a std:: declaration to the return type of
838         ParIterator::size.
839
840 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
841
842         * lyxrc.C: add help for view_dvi_paper_option, default to safe
843           case.
844  
845 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
846
847         * iterators.[Ch]: New files. Provide paragraph iterators.
848
849         * buffer.C (changeLanguage): Use paragraph iterators.
850         (isMultiLingual): ditto 
851
852         * BufferView2.C (ChangeInsets): Use paragraph iterators.
853
854 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
855
856         * FontLoader.C: Support for cmr font.
857
858 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
859
860         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
861         (available): New method.
862
863         * FontInfo.C (getFontname): Use scalable fonts even when
864         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
865         found.
866
867 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
868
869         * converter.C (Formats::view): reverted! Incorrect fix.
870
871 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
872
873         * converter.C (Formats::view): only output the -paper option
874         if the dvi viewer is xdvi, thereby fixing bug #233429.
875
876 2001-08-23  Herbert Voss  <voss@perce>
877
878         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
879
880 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
881
882         * Spacing.h (Spacing): Set space to Default on in the default
883         constructor.
884
885 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
886
887         * vc-backend.h (RCS::versionString): add RCS to version 
888         (CVS::versionString): add CVS to version 
889
890         * vc-backend.C (scanMaster): do not add CVS to version.
891         (scanMaster): do not add RCS to version
892
893         * lyxvc.C (versionString): new method
894
895         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
896
897 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
898
899         * Spacing.C (set): initialize fval
900
901 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
902
903         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
904         " or \.
905
906 2001-08-16  Juergen Vigna  <jug@sad.it>
907
908         * lyxfunc.C (dispatch): implemented the new FINISHED states.
909
910 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
911
912         * BufferView_pimpl.C: 
913         * figureForm.C:
914         * lyxtext.h:
915         * text2.C: setParagraph takes linespacing now
916  
917 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
918
919         * LyxAction.C: add internal LFUN_CITATION_INSERT
920
921         * LyXView.C: actually apply fix
922
923         * bufferlist.C: fix open non-existent file
924  
925         * lyxfind.C: fix indentation
926  
927         * lyxfunc.C: remove unneeded assert, fix typo
928  
929 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
930
931         * MenuBackend.C: use "Floatname List"
932
933 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
934
935         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
936         when converting LaTeX layout to insetERT.
937         Generate a non-collapsed float when reading old float
938
939 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
940
941         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
942         ERT insets.
943
944 2001-08-13  Juergen Vigna  <jug@sad.it>
945
946         * text.C (fill): return 0 instead of 20 as this seems to be the more
947         correct value.
948
949 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
950
951         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
952         lyxrc.font_norm.
953
954 2001-08-13  Juergen Vigna  <jug@sad.it>
955
956         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
957         casesensitive off.
958         (SearchBackward): comment out the unlocking of the inset_owner this
959         should not be needed!
960
961 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
962
963         * Many files: Remove inherit_language, and add latex_language
964
965         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
966         collapsible insets.
967
968 2001-08-10  Juergen Vigna  <jug@sad.it>
969
970         * text.C (prepareToPrint): fixed hfill-width in draw!
971
972         * BufferView2.C (selectLastWord): save the selection cursor as this
973         now is cleared in the function LyXText::clearSelection!
974
975 2001-08-08  Juergen Vigna  <jug@sad.it>
976
977         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
978         BACKSPACE type functions.
979
980         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
981         is only cutted from the document but not put in the cut-buffer, where
982         still the old stuff should be.
983
984         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
985
986         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
987
988         * tabular.C (SetWidthOfCell): fixed special case where the width
989         was not updated!
990         (LeftLine): handle '|' in align_special.
991         (RightLine): ditto
992         (LeftAlreadyDrawed): ditto
993         (SetWidthOfCell): ditto
994
995 2001-08-07  Juergen Vigna  <jug@sad.it>
996
997         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
998
999 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1000
1001         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
1002         * lyxlex.[hC]: ditto
1003
1004 2001-08-06  Juergen Vigna  <jug@sad.it>
1005
1006         * text.C (getVisibleRow): fix up row clearing a bit.
1007
1008 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1009
1010         * minibuffer.C: make sure the X server sees the changes in the input.
1011
1012 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1013
1014         * paragraph.C (getFont): split into...
1015         (getLabelFont): this
1016         (getLayoutFont): and this
1017         * paragraph_pimpl.C (realizeFont): calling this
1018
1019         * text2.C (getFont): split into...
1020         (getLayoutFont): this
1021         (getLabelFont): and this
1022         (realizeFont): all three calling this
1023
1024         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
1025         files where used.
1026
1027 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1028
1029         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
1030
1031 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
1032
1033         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
1034         layouts from the Quote inset insertion.
1035
1036 2001-08-03  Juergen Vigna  <jug@sad.it>
1037
1038         * BufferView_pimpl.C (update): do the fitCursor only at the end!
1039
1040         * screen.C (drawFromTo): don't call fitcursor here and do the loop
1041         only if status not is already CHANGED_IN_DRAW (second level).
1042
1043         * text.C (draw): don't set the need_break_row when inside an
1044         InsetText LyXText.
1045
1046 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1047
1048         * buffer.C (parseSingleLyXformat2Token): handle more latex
1049         conversion cases.
1050
1051         * bufferview_funcs.[hC]: change function names to
1052         begin with small char, adjust other files.
1053
1054 2001-08-02  André Pönitz <poenitz@gmx.net>
1055
1056         * lyxfunc.C:
1057         BufferView_pimpl.C: remove broken special code for math-greek
1058
1059 2001-08-02  Juergen Vigna  <jug@sad.it>
1060
1061         * BufferView_pimpl.C (update): redone this function so that we
1062         update the text again if there was a CHANGE_IN_DRAW.
1063
1064         * screen.C (cursorToggle): removed LyXText parameter and recoded.
1065         (drawFromTo): added a new internal bool which is used by draw() and
1066         redraw() function.
1067         (general): some cursor drawing problems fixed.
1068
1069 2001-08-01  Juergen Vigna  <jug@sad.it>
1070
1071         * lyxfind.C (LyXFind): fixed
1072         (SearchForward): ditto
1073         (SearchBackward): ditto
1074
1075         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
1076         spurius drawing of the cursor in the main area.
1077
1078         * text2.C (status): small fix which could lead to a segfault!
1079         (clearSelection): remove unneeded BufferView param.
1080
1081 2001-08-01  André Pönitz <poenitz@gmx.net>
1082
1083         * lyxfunc.C: small change due to changed mathed interface
1084
1085 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1086
1087         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
1088
1089 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
1090  
1091         * lyxfunc.c: fail gracefully if file doesn't exist 
1092  
1093         * LyXSendto.C:
1094         * buffer.C:
1095         * lyxfunc.C:
1096         * BufferView_pimpl.C: IsDirWriteable() proto changed 
1097  
1098         * LyXView.C: fix updateWindowTitle() to store the last title
1099
1100 2001-07-31  Juergen Vigna  <jug@sad.it>
1101
1102         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
1103         the font (wrong since using of Paragraph::highestFontInRange).
1104
1105         * paragraph.C (highestFontInRange): added a default_size parameter.
1106
1107         * text.C (getVisibleRow): minor clear row changes (still not perfect).
1108         (setHeightOfRow): reformat
1109
1110 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1111
1112         * converter.[hC] + affected files: move to (inital-char)lowercase
1113         function names.
1114
1115         * ParagraphParameters.C (ParagraphParameters): remove commented code
1116
1117         * PainterBase.[Ch]: remove commented code
1118
1119         * LaTeXFeatures.h: add "bool floats" for float.sty
1120
1121         * LaTeXFeatures.C (LaTeXFeatures): init floats
1122         (require): handle float
1123         (getPackages): do it with floats
1124
1125 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1126
1127         * BufferView_pimpl.C (Dispatch): improve handling of
1128         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
1129
1130         * commandtags.h: #include lyxfont.h here temporarily to avoid
1131         keybinding bug.
1132
1133         * bufferlist.h: include LString.h here.
1134
1135 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1136
1137         * text2.C (getStringToIndex): new method.
1138
1139 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
1140
1141         * *: Reduced header file dependencies all over.
1142
1143 2001-07-30  Baruch Even  <baruch@lyx.org>
1144
1145         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
1146
1147 2001-07-29  Baruch Even  <baruch@lyx.org>
1148
1149         * buffer.C (readInset): Changed GRAPHICS to Graphics.
1150
1151 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1152
1153         * ParameterStruct.h (endif): add a default constructor to make
1154         sure that all variables is initialized.
1155
1156         * ParagraphParameters.C (ParagraphParameters): adjust
1157
1158 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1159
1160         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
1161         index; also, check that there is something to index, and that it
1162         does not span over several paragraphs.
1163         (doubleClick): use WHOLE_WORD_STRICT for double click.
1164
1165         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
1166
1167         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
1168         scheme.
1169
1170 2001-07-26  Baruch Even  <baruch@lyx.org>
1171
1172         * buffer.C (readInset): Changed to call up InsetGraphics when reading
1173         an InsetFig figure, backwards compatible reading of old figure code.
1174
1175 2001-07-27  Juergen Vigna  <jug@sad.it>
1176
1177         * text2.C: font.realize function adaption.
1178
1179         * text.C (draw): add a warnings lyxerr text if needed.
1180
1181         * layout.C: font.realize function adaption.
1182
1183         * language.C: add inherit_language and implement it's handlings
1184
1185         * bufferview_funcs.C (StyleReset): remove language parameter from
1186         font creation (should be language_inherit now).
1187
1188         * bufferparams.C (writeFile): handle ignore_language.
1189
1190         * paragraph.C (getFontSettings): the language has to be resolved
1191         otherwise we have problems in LyXFont!
1192
1193         * lyxfont.C (lyxWriteChanges): added document_language parameter
1194         (update): removed unneeded language parameter
1195
1196         * paragraph.C (validate): fixed wrong output of color-package when
1197         using interface colors for certain fonts in certain environments,
1198         which should not seen as that on the final output.
1199
1200 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
1201
1202         * BufferView_pimpl.C:
1203         * Thesaurus.h:
1204         * Thesaurus.C:
1205         * Makefile.am:
1206         * commandtags.h:
1207         * LyXAction.C: add thesaurus support
1208
1209         * lyxfind.h:
1210         * lyxfind.C: add "once" parameter, for thesaurus, to not
1211           move to the next match
1212   
1213 2001-07-26  Juergen Vigna  <jug@sad.it>
1214
1215         * lyxfont.C (realize): honor ignore_language too!
1216         (resolved): ditto.
1217
1218         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
1219
1220         * text.C (draw): one place more for ignore_language to not draw
1221         itself!
1222
1223 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
1224
1225         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
1226
1227 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1228
1229         * buffer.C (parseSingleLyXformat2Token): a more general fix for
1230         the minipage conversion problem.
1231
1232 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1233
1234         * buffer.C (parseSingleLyXformat2Token): check minipage if we
1235         insert an inset.
1236
1237 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1238
1239         * BufferView.h: don't forward declare WorkArea
1240
1241         * BufferView.C: don't include WorkArea.h
1242
1243 2001-07-25  André Pönitz <poenitz@gmx.net>
1244
1245         * commandtags.h:
1246         * LyXAction.C:
1247         * lyxfunc.C:  new LFUN 'math-space'
1248
1249         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
1250
1251 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1252
1253         * text2.C (toggleInset): call open/close
1254
1255 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1256
1257         * lyxfunc.C (dispatch): add debug for the disabled case
1258
1259         * font.C (buttonText): make similar to rectText
1260
1261         * buffer.C (readInset): comment out parsing of insetlist and
1262         insttheorem 
1263
1264         * PainterBase.C (rectText): small correction
1265
1266         * BufferView_pimpl.C: comment out insettheorem and insetlist
1267         * LyXAction.C: ditto
1268         * commandtags.h: ditto
1269
1270 2001-07-24  Juergen Vigna  <jug@sad.it>
1271
1272         * text.C (draw): honor the ignore_language.
1273
1274         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
1275
1276 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1277
1278         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
1279         char inset.
1280
1281 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1282
1283         * lyxtext.h: remove unused (and unimplemented) methods
1284
1285 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1286
1287         * text.C (getVisibleRow): honor background color
1288
1289         * PainterBase.h:
1290         * Painter.h: remove default color argument for fillRectangle
1291
1292         * text.C (backgroundColor): new method
1293
1294 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1295
1296         * text.C (getVisibleRow): adjust
1297
1298         * font.[Ch] (rectText): new method, metrics
1299         (buttonText): new method, metrics
1300
1301         * PainterBase.[hC]: make rectText and buttonText always draw and take
1302         fewer paramteres.
1303
1304 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1305
1306         * ToolbarDefaults.C (read): 
1307         * MenuBackend.C (read): allow escaping in all strings
1308
1309         * BufferView_pimpl.C (insertAndEditInset): new method.
1310         (Dispatch): use insertAndEditInset whenever appropriate.
1311
1312         * BufferView_pimpl.C (insertNote): removed
1313
1314         * BufferView_pimpl.C (smartQuote): new method, moved from
1315         BufferView; if an insetquote cannot be inserted, insert a '"'
1316         character instead.
1317
1318         * BufferView2.C: remove insertCorrectQuote();
1319
1320         * lyxfunc.C (getStatus): Add support for all remaingin
1321         inset-insert lfuns.
1322
1323         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
1324
1325         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
1326         command (necessary to pass " as parameter of self-insert.
1327
1328         * text.C (selectWordWhenUnderCursor):
1329         (selectWord): add word_location parameter
1330         (selectWordWhenUnderCursor): same + remove special code for word
1331         boundary.
1332         (selectNextWord): use kind() to guess type of insetspecialchar,
1333         not latex().
1334         
1335         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
1336         (insertErtContents): create ert insets as collapsed.
1337         (readInset): better compatibility code for Info inset.
1338
1339 2001-07-20  Juergen Vigna  <jug@sad.it>
1340
1341         * lyxfunc.C (dispatch): use always LyXFind now!
1342
1343         * text2.C (init): add a reinit flag so that the LyXText can be
1344         reinited instead of deleted and reallocated (used in InsetText).
1345
1346         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
1347
1348         * text.C: ditto
1349
1350         * text2.C: ditto
1351
1352 2001-07-18  Juergen Vigna  <jug@sad.it>
1353
1354         * text.C (selectNextWord): handle insets inside inset by calling
1355         always the bv->text functions so that we can go up the_locking_inset!
1356
1357         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
1358         in strange locations when inside an inset!
1359
1360         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
1361         handling to include insets.
1362
1363         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
1364
1365 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1366
1367         * LyXAction.C (init): 
1368         * commandtags.h: 
1369         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
1370         LIGATURE_BREAK, since the name is so stupid.
1371
1372 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
1373
1374         * buffer.C (readInset): enable reading of new InsetNotes as well as old
1375         InsetInfos.
1376
1377         * FontLoader.C: remove FORMS_H_LOCATION cruft.
1378
1379         * sp_form.[Ch]: remove.
1380
1381         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
1382
1383         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
1384         InsetInfo.
1385
1386         * src/buffer.C (readInset): ditto.
1387
1388 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1389
1390         * BufferView_pimpl.C (specialChar): new method. Obsoletes
1391         menuSeparator(), endOfSentenceDot(), ldots() and
1392         hyphenationPoint(), which are therefore removed.
1393         (Dispatch): handle LFUN_HYPHENATION_BREAK.
1394
1395         * LyXAction.C (init): 
1396         * commandtags.h: add LFUN_HYPHENATION_BREAK.
1397
1398         * paragraph.C (getWord): removed.
1399
1400         * BufferView_pimpl.C (Dispatch): use last word or selection for
1401         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
1402
1403         * lyx_main.C (queryUserLyXDir): do not ask before creating
1404         user_dir, except if it has been named explicitely.
1405
1406 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
1407
1408         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
1409         a document of zero size.
1410
1411 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
1412
1413         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
1414         approriately in the c-tor and in require().
1415         (getPackages): output the appropriate LaTeX for natbib support.
1416
1417         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
1418         variables "use_natbib" and "use_numerical_citations" when reading the
1419         LyX file.
1420         (readInset): read the various natbib cite commands.
1421         (validate): white-space change.
1422
1423         * bufferparams.[Ch]: new variables "bool use_natbib" and
1424         "bool use_numerical_citations".
1425         (writeFile): output them in the LyX file.
1426
1427 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1428
1429         * lyxfunc.C (getStatus): add support for all the inset insertion
1430         commands.
1431
1432         * text2.C (insertInset): 
1433         * paragraph.C (insetAllowed): 
1434         * BufferView_pimpl.C (insertInset): update to take in account the
1435         renaming of insertInsetAllowed
1436
1437         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
1438
1439         * text2.C (getInset): new method. returns inset at cursor position. 
1440
1441         * BufferView_pimpl.C (Dispatch): changes because of this.
1442
1443         * LyXAction.C (init): rename open-stuff to inset-toggle.
1444
1445         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
1446
1447         * text2.C (toggleInset): renamed from openStuff; use
1448         Inset::open().
1449
1450 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
1451
1452         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
1453
1454         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
1455
1456 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
1457
1458         * buffer.C (readLyXformat2): Add filename to the error dialog
1459
1460 2001-07-18  Juergen Vigna  <jug@sad.it>
1461
1462         * tabular.C (GetCellNumber): put an assert here instead of the check!
1463
1464 2001-07-17  Juergen Vigna  <jug@sad.it>
1465
1466         * BufferView_pimpl.C (toggleSelection): adapted too.
1467
1468         * text.C (selectNextWord): adapted for use with insets.
1469         (selectSelectedWord): ditto
1470
1471 2001-07-17  Juergen Vigna  <jug@sad.it>
1472
1473         * sp_spell.C (PSpell): fix initialitation order.
1474
1475 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1476
1477         * paragraph.C: spacing
1478
1479 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
1480
1481         * sp_spell.C: repair language selection for pspell
1482
1483 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1484
1485         * lyxfunc.h: change more methods to begin with lower char.
1486
1487 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
1488
1489         * buffer.C (parseSingleLyXformat2Token): Generate error insets
1490         for unknown layouts.
1491
1492 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
1493
1494         * buffer.C (readLyXformat2): Generate an error dialog if there are
1495         unknown layouts.
1496
1497 2001-07-16  Juergen Vigna  <jug@sad.it>
1498
1499         * sp_spell.C: always compile ISpell part.
1500
1501         * lyxrc.C: added use_pspell entry and it's handling.
1502
1503 2001-07-13  Juergen Vigna  <jug@sad.it>
1504
1505         * sp_spell.C: removed double includes.
1506
1507 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
1508
1509         Consistent use of Lsstream.h:
1510         * Lsstream.h: added using std::stringstream for consistencies sake.
1511
1512         * buffer.C: removed using std::stringstream
1513
1514         * lyxfont.C (stateText):
1515         * paragraph.C (asString):
1516         * text.C (selectNextWord, selectSelectedWord):
1517         * text2.C (setCounter):
1518         * vspace.C (asString, asLatexString):
1519         std::ostringstream -> ostringstream.
1520
1521 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
1522
1523         * LyXAction.C: add LFUN_HELP_ABOUTLYX
1524         * commandtags.h: add LFUN_HELP_ABOUTLYX
1525         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
1526
1527 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
1528
1529         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
1530         cursorToggle()
1531         * lyx_gui_misc.C: remove spellchecker
1532         * lyxfunc.C: showSpellchecker
1533         * sp_base.h: added
1534         * sp_ispell.h: added
1535         * sp_pspell.h: added
1536         * sp_spell.C: added
1537         * sp_form.[Ch]: removed
1538         * spellchecker.[Ch]: removed
1539
1540 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
1541
1542         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
1543         is set.
1544         (simpleTeXSpecialChars): Simply print the input character without
1545         any special translation if pass_thru is set.
1546
1547         * layout.h: Added bool pass_thru to layout class for being able to
1548         implement pass through of a paragraph for Literate Programming.
1549         
1550         * layout.C: add LT_PASS_THRU to LayoutTags enum.
1551         * layout.C (LyXLayout): set pass_thru to flase in constructor.
1552         * layout.C (Read): add "passthru" to list of layout tags and add
1553         code to set the pass_thru boolean when it is read.
1554
1555 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1556
1557         * trans_decl.h: remove allowed from KmodInfo
1558
1559         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
1560         remove allowed code 
1561         (Load): adjust
1562
1563         * paragraph_pimpl.C (erase): use boost::prior
1564
1565         * Painter.C (text): use data() instead of c_str() when length is
1566         also provided.
1567         * WorkArea.C (putClipboard): ditto
1568         * font.h (width): ditto
1569
1570         * BufferView2.C: use it-> instead of (*it). for iterators
1571         * texrow.C: ditto
1572         * paragraph_pimpl.C: ditto
1573         * paragraph.C: ditto
1574         * minibuffer.C: ditto
1575         * language.C: ditto
1576         * kbmap.C: ditto
1577         * encoding.C: ditto
1578         * counters.C: ditto
1579         * converter.C: ditto
1580         * chset.C: ditto
1581         * Variables.C: ditto
1582         * TextCache.C: ditto
1583         * MenuBackend.C: ditto
1584         * LyXAction.C: ditto
1585         * LColor.C: ditto
1586         * FloatList.C: ditto
1587         * DepTable.C: ditto
1588         * ColorHandler.C (LyXColorHandler): ditto
1589
1590 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1591
1592         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
1593
1594         * text2.C (openStuff): reintroduce this method (which had been
1595         nuked in NEW_INSETS frenzy).
1596
1597         * lyxfunc.C (Dispatch): when an action has not been handled, use
1598         its name in the error message, not its number.
1599
1600         * paragraph.C (inInset): change method name to begin with lowercase.
1601
1602         * undo_funcs.C:
1603         * text2.C: updates because of this.
1604
1605 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1606
1607         * ToolbarDefaults.C (add): add spaces in error message
1608
1609 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1610
1611         * buffer.C (readLyXformat2): initialize the ert comp. variables.
1612         (readLyXformat2): rename return_par to first_par, use lyxlex's
1613         pushToken and remove the manual push handling.
1614         (parseSingleLyXformat2Token): add another ert comp. variable:
1615         in_tabular, rename return_par to first_par. handle newlines better
1616
1617 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1618
1619         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
1620
1621 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1622
1623         * text2.C (getParFromID): removed
1624
1625         * buffer.C (getParFromID): new method moved form lyxtext.
1626         * BufferView2.C (insertErrors): adjust
1627         (setCursorFromRow): adjust
1628         * BufferView_pimpl.C (restorePosition): adjust
1629         * lyxfunc.C (Dispatch): adjust
1630         * undo_funcs.C (textUndo): adjust
1631         (textRedo): adjust
1632         (textHandleUndo): adjust
1633         (textHandleUndo): adjust
1634
1635 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1636
1637         * buffer.C: up' the LYX_FORMAT
1638
1639         * lyxfont.h: turn NO_LATEX on as default
1640
1641         * buffer.C (insertErtContents): new methods of tex style compability.
1642         (parseSingleLyXformat2Token): use it several places.
1643         * tabular.C (OldFormatRead): and here
1644
1645 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1646
1647         * text2.C: remove some commented code.
1648         reindent file.
1649
1650         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
1651         * trans.C: changes because of the above.
1652
1653 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
1654
1655         * text2.C (setCounter): Fix counters bug with bibliography layout.
1656
1657 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1658
1659         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
1660         own member functions
1661         (simpleTeXSpecialChars): ditto
1662
1663 2001-07-06  Juergen Vigna  <jug@sad.it>
1664
1665         * a lot of files: changed the access to LyXText::status and the
1666         call of undo-functions.
1667         
1668         * undo.[Ch]: added a inset_id to the undo informations.
1669
1670         * undo_funcs.[Ch]: added and moved here all undo functions.
1671
1672         * lyxtext.h: give the status enum a weight, made status_ a private
1673         variable and made accessor functions for it, removed the whole bunch
1674         of undo-functions as they are now in their own file, make some
1675         functions publically available. Added function ownerParagraph with
1676         int parameter.
1677
1678         * paragraph.[Ch]: added "bool same_ids" to the constructor,
1679         made InInset() a const function, added getParFromID() function.
1680
1681         * buffer.[Ch]: added const version for inset_iterator functions,
1682         added getInsetFromID() function.
1683
1684         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
1685         changed undo functions for new version.
1686
1687 2001-07-05  Juergen Vigna  <jug@sad.it>
1688
1689         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
1690         unknow mechanism does not call the proper constructor but only this
1691         one also if I request the other!?
1692
1693 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1694
1695         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
1696
1697         * text2.C (LyXText): use initialization lists.
1698
1699         * lyxtext.h (Selection): initialize set_ and mark_
1700         (init): remove method
1701
1702 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
1703
1704         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
1705
1706 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1707
1708         * screen.[Ch]: change method names to begin with lowercase 
1709
1710         * BufferView_pimpl.C (updateScrollbar): simplify further and
1711         hopefully make it a bit faster.
1712
1713 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1714
1715         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
1716         calling directly xforms functions.
1717
1718         * Painter.C (Painter): 
1719         * lyx_cb.C (MenuWrite): 
1720         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
1721         fl_display.
1722
1723         * lyx_gui.C: remove bogus guiruntime extern declaration.
1724
1725 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1726
1727         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
1728         in NEW_INSETS
1729         (redoDrawingOfParagraph): ditto
1730         (redoParagraphs): ditto
1731         (cutSelection): don't create a object for CutAndPaste use the
1732         static method directly
1733         (pasteSelection): ditto
1734
1735         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
1736         LyXview (+ rename)
1737
1738 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1739
1740         * modifications to some other files because of this.
1741         
1742         * Makefile.am (lyx_SOURCES): add XFormsView
1743
1744         * XFormsView.[Ch]: new files
1745
1746         * LyXView.[Ch]: make LyXView a base class for the gui handling for
1747         the main window. Move the gui dependent stuff to XFormsView
1748
1749 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1750
1751         * tabular.C (GetCellInset): update cur_cell also in the row/col
1752         version of this function.
1753
1754         * lyxfunc.C: no need to include figure_form.h here.
1755
1756         * FontLoader.h: 
1757         * lyxfunc.h: 
1758         * lyxscreen.h: 
1759         * text2.C: 
1760         * lyxvc.C: no need to include forms.h here.
1761
1762 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1763
1764         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
1765
1766         * lyxfunc.C (Dispatch): 
1767         * Spacing.C (set): 
1768         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
1769         constructor argument.
1770
1771 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1772
1773         * paragraph.C (Paragraph): dont't clear, and just set layout.
1774         (makeSameLayout): use params's copy contructor.
1775
1776         * ParagraphParameters.[Ch] (makeSame): delete method
1777
1778 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
1779
1780         * Variables.[Ch]: fix indentation, rename set to isSet
1781
1782 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1783
1784         * lyxfunc.C (Dispatch): fix typo
1785
1786 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1787
1788         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
1789         upper_bound. 
1790
1791         * bufferlist.C: include assert.h for emergencyWrite().
1792
1793 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
1794
1795         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
1796           give up at last (bug #425202) !
1797  
1798 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
1799
1800         * lyx_gui_misc.C:
1801         * sp_form.h:
1802         * sp_form.C:
1803         * spellchecker.h:
1804         * spellchecker.C: strip spellchecker options and bring up
1805           preferences tab instead
1806          
1807 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1808
1809         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
1810         the istringstream constructor
1811
1812 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1813
1814         * paragraph.C (getLayout): fix return value
1815
1816         * paragraph.h: do not declare getLayout as inline.
1817
1818         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
1819
1820 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1821
1822         * lyxcursor.h (operator<): new func
1823         (operator>): new func
1824         (operator>=): new func
1825         (operator<=): new func
1826
1827         * text.C (changeCase): use selection.start and selection.end
1828         (changeRegionCase): require from to be <= to. Require par to be a
1829         valid paragraph.
1830
1831         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
1832
1833 2001-06-27  Juergen Vigna  <jug@sad.it>
1834
1835         * text.C (cursorLeftOneWord): changed to return the cursor and added
1836         overlay with BufferView * parameter which calls this one.
1837         (getWord): added
1838         (selectWord): use new getWord function.
1839         (changeCase): renamed from changeWordCase as and extended to work
1840         also on selections.
1841
1842         * lyxtext.h: added enum word_location
1843
1844         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
1845         changeCase as this operates now also on selections.
1846
1847 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
1848
1849         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
1850
1851         * many files: send debug output to Debug::INFO instead of
1852         Debug::ANY. 
1853
1854         * converter.C (View): 
1855         (Convert): 
1856         (Move): send debug output to Debug::FILES instead of console.
1857
1858 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
1859
1860         * lyxfunc.C (getStatus): use func_status
1861
1862         * func_status.h: new header, describing the results of
1863         LyXFunc::getStatus;
1864
1865         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
1866         LFUN_MATH_HALIGN.
1867
1868 2001-06-25  The LyX Project  <jug@sad.it>
1869
1870         * buffer.C (sgmlOpenTag):
1871         (sgmlCloseTag):
1872         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
1873
1874 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1875
1876         * text2.C: remove some dead code
1877
1878         * tabular.C (GetCellInset): store the last cell checked (gotten)
1879
1880         * tabular.h: add the helper for the speedup
1881
1882         * lyxtext.h: remove some dead code
1883
1884 2001-06-26  The LyX Project  <Asger>
1885
1886         * paragraph.C: Change export to LaTeX of alignment to
1887         \begin{center} and family for better roundtrip work with reLyX.
1888
1889         * Tune the math drawing a bit.
1890
1891 2001-06-25  The LyX Project  <Asger>
1892
1893         * LColor.C (LColor): New color for math background. New color
1894         for buttons.
1895
1896 2001-06-25  The LyX Project  <jug@sad.it>
1897
1898         * lyxfunc.C (MenuNew): remove extra check for .lyx file
1899
1900         * lyxfunc.C (Open): 
1901         * bufferlist.C (newFile): do not restrict to files ending with
1902         .lyx
1903
1904         * BufferView_pimpl.C (MenuInsertLyXFile): 
1905
1906 2001-06-24  The LyX Project  <jug@sad.it>
1907
1908         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
1909         of compare_no_case
1910
1911 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1912
1913         * lyxtext.h: rename most methods to begin with a small char.
1914         Lots of changes because of this.
1915
1916         * paragraph.C (Paragraph): do not call fitToSize
1917         (erase): call Pimpl::erase
1918         (insertChar): call Pimpl::insertChar
1919         (insertInset): call Pipl::insertInset
1920         (breakParagraph): do not call fitToSize
1921         (breakParagraphConservative): do not call fitToSize
1922         (fitToSize): remove method
1923
1924         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
1925
1926 2001-06-24  The LyX Project  <Asger>
1927
1928         * Fix Qt compilation^2
1929
1930 2001-06-24  The LyX Project  <jug@sad.it>
1931
1932         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
1933         depthHook(getDepth()-1).
1934
1935         * paragraph.h: 
1936         * ParagraphParameters.h: 
1937         * ParameterStruct.h: change type of depth to unsigned int ==
1938         depth_type. Many adaptations to other files before of that.
1939
1940 2001-06-24  The LyX Project  <Asger>
1941
1942         * Fix Qt compilation.
1943
1944 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1945
1946         * paragraph.h: renamed several methods to begin with small letter.
1947         several changes to many parts of the code because of this.
1948
1949 2001-06-23  The LyX Project  <jug@sad.it>
1950
1951         * text2.C (InsertStringAsLines): renamed from InsertStringA;
1952         rewritten to discard all double spaces when KeepEmpty is off
1953         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
1954         to only handle newlines but not fiddle with spaces and friends.
1955
1956         * lyxfunc.C (MenuNew): when doing 'new from template', use
1957         template_path as default directory
1958
1959 2001-06-23  The LyX Project  <Asger>
1960
1961         * Clean-up of header file includes all over
1962         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
1963         
1964 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1965
1966         * paragraph.h: renamed from lyxparagraph.h
1967
1968 2001-06-23  Asger  <lyx@violet.home.sad.it>
1969
1970         * Buffer.h: Removed Buffer::resize
1971         * BufferList.h: Removed BufferList::resize
1972         * LyXView.h: Added LyXView::resize. This way, we will only reflow 
1973         the document lazily when we change the width, or the font settings.
1974
1975 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
1976
1977         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
1978
1979 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
1980
1981         * buffer.h: remove out of date comment
1982
1983 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
1984
1985         * lyxscreen.h:
1986         * screen.C: fix "theoretical" GC leak
1987  
1988 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1989
1990         * LaTeX.C (scanAuxFile):
1991         (deplog): remove trailing \r when reading stream (useful under
1992         win32)  
1993
1994 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
1995
1996         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
1997         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
1998         and BufferView::theLockingInset(Inset*), so should use them and not
1999         access bv_->text->the_locking_inset directly.
2000
2001         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
2002
2003 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
2004
2005         * Makefile.am:
2006         * tex-defs.h: remove old unused file
2007          
2008 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
2009
2010         * BufferView_pimpl.C: fix typo, remove minibuffer message
2011           when buffer has loaded
2012
2013 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2014
2015         * lyxfunc.C (Dispatch): use stringstream
2016         (MenuNew): use stringstream
2017         (Open): use stringstream
2018
2019         * importer.C (Import): use stringstream
2020
2021         * bufferview_funcs.C (CurrentState): use stringstream
2022
2023         * LaTeX.C (run): use stringstream
2024
2025         * BufferView_pimpl.C (savePosition): use stringstream
2026         (restorePosition): use stringstream
2027         (MenuInsertLyXFile): use stringstream
2028
2029 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
2030
2031         * BufferView.C:
2032         * Bullet.C:
2033         * ColorHandler.C:
2034         * FontInfo.C:
2035         * FontLoader.C:
2036         * LColor.C:
2037         * LaTeXFeatures.C:
2038         * Painter.C:
2039         * gettext.C:
2040         * lyx_gui_misc.C:
2041         * lyxserver.C:
2042         * vspace.C: removed // -*- C++ -*- as first line.
2043
2044         * lyxfind.h:
2045         * version.h: added // -*- C++ -*- as first line.
2046
2047 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2048
2049         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
2050
2051         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
2052         of string
2053
2054 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2055
2056         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
2057         of floats.
2058
2059 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2060
2061         * gettext.C: include LString.h even when --disable-nls is on. 
2062
2063 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
2064
2065         * converter.h (Get): changed argument type from int to
2066         FormatList::size_type to avoid unnecessary conversion.
2067
2068         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
2069         before using it.
2070
2071 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2072
2073         * gettext.h: include LString.h even when --disable-nls is on. 
2074
2075 2001-06-07  Juergen Vigna  <jug@sad.it>
2076
2077         * text.C (BreakAgain): subst spaces with tabs.
2078
2079         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
2080         (resizeInsetsLyXText): set force on resizeLyXText.
2081
2082 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2083
2084         * gettext.h (gettext_init): 
2085         (locale_init): use a real definition instead of a macro
2086
2087 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
2088
2089         * Bufferview_pimpl.C:
2090         * LColor.h:
2091         * LColor.C: further lcolor tidies
2092
2093 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2094
2095         * BufferView_pimpl.C (updateScrollbar): simplify.
2096
2097         * BufferView2.C: don't include insets/insetinfo.h, change
2098         prototype for insertInset and call the Pimpl version. let
2099         updateInset call Pimpl version.
2100
2101         * BufferView.h: move inset_slept to BufferView::Pimpl, move
2102         gotoInset to BufferView::Pimpl
2103
2104 2001-06-01  Juergen Vigna  <jug@sad.it>
2105
2106         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
2107         inside a LockingInset (is the update needed at all?).
2108
2109 2001-05-31  Juergen Vigna  <jug@sad.it>
2110
2111         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
2112         here not the old one otherwise how should we compare it afterwards
2113         if it's the same!
2114
2115 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2116
2117         * lyxfont.C: 
2118         * tabular.C:
2119         * tabular-old.C: 
2120         * FontInfo.C: bring C functions into global namespace when
2121         necessary
2122
2123 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2124
2125         * LString.h: make sure config.h has been loaded before LString.h.
2126
2127         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
2128         (one for each char read by EatLine!).
2129
2130         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
2131         variables. 
2132
2133 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2134
2135         * paragraph.C (BreakParagraph): set the inset_owner in the new par
2136         to the same as the par we break from
2137
2138 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2139
2140         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
2141
2142         * MenuBackend.C (expand): also create menu entries for wide
2143         versions of the floats.
2144
2145         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
2146
2147         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
2148
2149         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
2150         frontends/Makefile.am
2151
2152         * text2.C: adjust
2153         * text.C: adjust
2154         
2155
2156         * tabular.C (getTokenValue): add std::
2157
2158         * tabular-old.C (getTokenValue): add std::
2159         (getTokenValue): ditto
2160         (getTokenValue): ditto
2161
2162         * screen.C (ToggleSelection): adjust
2163
2164         * lyxtext.h: put selection cursors inside a Selection struct.
2165
2166         * lyxfunc.C (moveCursorUpdate): adjust
2167
2168         * lyxfont.C (latexWriteStartChanges): add std::
2169
2170         * lyxfind.C: adjust
2171
2172         * font.h: delete with(char const *, LyXFont const &)
2173
2174         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
2175
2176         * FontInfo.C (getFontname): add std::
2177
2178         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2179         (workAreaButtonPress): adjust
2180         (tripleClick): adjust
2181         (update): adjust
2182         (moveCursorUpdate): adjust
2183         (Dispatch): adjust
2184
2185         * BufferView2.C (gotoInset): adjust
2186
2187 2001-05-30  Juergen Vigna  <jug@sad.it>
2188
2189         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
2190         to check pspell I add this as default as I now have new pspell
2191         libraries and they seem to use this.
2192
2193 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2194
2195         * text2.C (CutSelection): make the cursor valid before the call to
2196         ClearSelection.
2197
2198 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2199
2200         * kbsequence.C (parse): de-uglify a bit the parsing code, which
2201         relied on 0 terminated strings and other horrors. Bug found due to
2202         the new assert in lyxstring!
2203
2204         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
2205         KP_ keys.
2206
2207 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2208
2209         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
2210         to latinkeys.bind.
2211
2212         * lyxfunc.C (processKeySym): change method of getting to the
2213         self-insert char.
2214
2215         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
2216         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
2217         * BufferView_pimpl.[Ch]: here as private methods.
2218
2219 2001-05-28  Juergen Vigna  <jug@sad.it>
2220
2221         * text.C (SetHeightOfRow): added the update() call again as it is
2222         needed to initialize inset dimensions!
2223
2224 2001-05-16  Juergen Vigna  <jug@sad.it>
2225
2226         * text2.C (SetCharFont): Add new function with BufferView * and
2227         bool toggleall parameters for setting insets internal fonts.
2228         (SetFont): Freeze the undo as we may change fonts in Insets and
2229         all this change should be inside only one Undo!
2230
2231         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
2232         setting font's in insets as for them we have the SetFont function!
2233
2234 2001-05-15  Juergen Vigna  <jug@sad.it>
2235
2236         * text2.C (ClearSelection): to be sure we REALLY don't have any
2237         selection anymore!
2238
2239         * tabular.C (TeXCellPreamble): fixed the left border problem for
2240         multicolumn cells.
2241
2242 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
2243
2244         * LaTeX.C (deplog): Make sure that the main .tex file is in the
2245         dependancy file
2246
2247 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2248
2249         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
2250         LFUN_BREAKPARAGRAPH.
2251
2252         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
2253         help test to "internal only", similar for LFUN_INSERT_URL
2254
2255         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
2256         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
2257         auto_region_delete and deadkeys. 
2258
2259 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
2260
2261         * LColor.h:
2262         * LColor.C: remove some dead entries, tidy a little
2263  
2264 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2265
2266         * lyxfunc.C (processKeySym): comment the Escape handling, remove
2267         commented code.
2268         (Dispatch): implement LFUN_ESCAPE
2269
2270         * commandtags.h: add LFUN_ESCAPE
2271
2272         * LyXAction.C (init): add entry for LFUN_ESCAPE
2273
2274         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
2275         Remove commented code.
2276         (insertNote): moved here
2277         (open_new_inset): moved here
2278
2279         * BufferView[2].[Ch]: move insertNote and open_new_inset to
2280         BufferView_pimpl
2281
2282 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2283
2284         * kbmap.C (findbinding): clean it up and make it work correctly.
2285
2286         * lyx_main.C (init): do not pass argc and argv as parameters
2287
2288 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
2289
2290         * buffer.C: fix path for OS/2 & Win32
2291
2292         * lyx_gui.C:
2293         * lyx_main:
2294         * lyx_main.C: Added os:: class.
2295         
2296         * os2_defines.h: update
2297
2298 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2299
2300         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
2301         better by trying again with reduced state.
2302
2303 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2304
2305         * lyxrc.C (read): print error about invalid key sequence only when
2306         debugging (because not all latinX keysyms are known to some X
2307         servers)
2308
2309         * kbsequence.C (getiso): add a few std:: qualifiers
2310         (getiso): comment out extra return statement.
2311
2312 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2313
2314         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
2315         handling.
2316         (Dispatch): enhance the accent inset a bit. (not perfect)
2317
2318 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2319
2320         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
2321
2322 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2323
2324         * bufferlist.C (emergencyWrite): fix assert() call
2325
2326 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
2327
2328         * text.C (InsertChar): Added trivial patch to only send the "you
2329         can not do multiple spaces this way" message once during a
2330         session.
2331
2332 2001-05-08  Baruch Even  <baruch@lyx.org>
2333
2334         * Makefile.am: Changed order of libraries to get LyX to link properly
2335         with the gnome frontend.
2336
2337 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2338
2339         * LaTeXFeatures.h: add a std:: qualifier
2340
2341 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2342
2343         * paragraph.C (String): use stringstream
2344
2345 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2346
2347         * paragraph.C (writeFile): remove footflag arg
2348
2349         * buffer.C (makeLaTeXFile): use stringstream
2350         (latexParagraphs): remove footnot gurba
2351
2352         * LaTeXFeatures.C (getPackages): use stringstream
2353         (getMacros): likewise
2354         (getTClassPreamble): likewise
2355         (getFloatDefinitions): new method
2356
2357         * paragraph.C (writeFile): reindent
2358         (Erase): reindent
2359
2360         * WorkArea.h: revert the xpos + etc changes.
2361
2362         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
2363
2364         * lyxparagraph.[Ch]: add copy constructor, remove Clone
2365
2366         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
2367         (pasteSelection): likewise
2368         * text2.C (CreateUndo): likewise
2369
2370 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2371
2372         * minibuffer.C (peek_event): temporarily reduce the functionality
2373         of the minibuffer (to allow args on lfuns)
2374
2375         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
2376         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
2377
2378         * buffer.C (readInset): add compability reading of old float
2379         lists, add reading of new style float list.
2380         (readInset): avoid reevaluation of inscmd.getCmdName()
2381         (getLists): reindent
2382
2383         * MenuBackend.C (MenuItem): implement parsing of
2384         md_floatlistinsert and md_floatinsert.
2385         (expand::LastFiles): move initalizaton of iterators out of loop,
2386         avoid reevaluation.
2387         (expand::Documents): introduce typdedef vector<string> Strings,
2388         and use it. 
2389         (expand::ExportFormats): introduce typedef vector<Format const *>
2390         Formats, and use it.
2391         (expand): implement FloatListInsert and FloatInsert.
2392
2393         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
2394         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
2395         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
2396
2397         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
2398         handling. 
2399         (Dispatch::LFUN_FLOAT_LIST): implement
2400
2401 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
2402  
2403         * LaTeX.C (run): Fix problem with --export code.
2404  
2405 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
2406
2407         * BufferView.[Ch] (workarea): removed.
2408         (getClipboard) new method; wrapper for workarea()->getClipboard()
2409
2410         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
2411         bug.
2412
2413         * WorkArea.h (width, height, xpos, ypos): These methods all
2414         returned the dimensions of the work_area sub-area of WorkArea,
2415         resulting in a position error if the WorkArea were resized. Now
2416         return the dimensions of the entire WorkArea.
2417
2418         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
2419
2420 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2421
2422         * LaTeX.C (deplog): correct the syntax of regex reg1
2423
2424 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2425
2426         * undo.C: remove !NEW_INSETS cruft
2427
2428 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2429
2430         * text2.C: remove !NEW_INSETS cruft
2431
2432         * text.C: remove !NEW_INSETS cruft
2433
2434         * tabular.C: remove !NEW_INSETS cruft
2435
2436         * spellchecker.C: remove !NEW_INSETS cruft
2437
2438         * lyxtext.h: remove !NEW_INSETS cruft
2439
2440         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
2441
2442         * lyxfunc.C: remove !NEW_INSETS cruft
2443
2444         * lyxfind.C: remove !NEW_INSETS cruft
2445
2446         * lyx_cb.C: remove !NEW_INSETS cruft
2447
2448         * figureForm.C: remove  !NEW_INSETS cruft
2449
2450         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
2451
2452         * buffer.[Ch]: remove !NEW_INSETS cruft
2453
2454         * ToolbarDefaults.C: remove !NEW_INSETS cruft
2455
2456         * CutAndPaste.C: remove !NEW_INSETS cruft
2457
2458         * BufferView_pimpl.C: remove !NEW_INSETS cruft
2459
2460         * BufferView2.C: remove !NEW_INSETS cruft
2461
2462         * BufferView.h: remove !NEW_INSETS cruft
2463
2464 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2465
2466         * Lsstream.h: include LString.h before the sstream headers to
2467         fix problem with gcc 2.95.3 and lyxstring
2468
2469 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2470
2471         * lyx_main.C: add using directives when needed for C functions
2472         declared in std:: namespace.
2473
2474 2001-04-27  Juergen Vigna  <jug@sad.it>
2475
2476         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
2477         (SetHeightOfRow): comment out the update call should not be needed!
2478
2479 2001-04-13  Juergen Vigna  <jug@sad.it>
2480
2481         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
2482         (LyXTabular): tried to minimize operator= operations (and realized
2483         hopfully Lars wish).
2484
2485 2001-04-27  Juergen Vigna  <jug@sad.it>
2486
2487         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
2488
2489 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2490
2491         * lyxfunc.C (Dispatch): hack to make listof algorithm work
2492
2493         * buffer.C (readInset): hack to make listof algorithm work
2494
2495         * BufferView_pimpl.C: hack to make listof algorithm work
2496
2497 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2498
2499         * LyXAction.C: removed all !NEW_INSETS cruft
2500         (init): moved lfun_item in method
2501
2502         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
2503
2504 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
2505
2506         * BufferView2.C (theLockingInset): white space.
2507
2508 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2509
2510         * minibuffer.C: include <iostream>
2511
2512         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
2513
2514         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
2515
2516         * commandtags.h: add LFUN_TRANSPOSE_CHARS
2517
2518         * text.[Ch] (TransposeChars): new method
2519
2520 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2521
2522         * call message directly through LyXView instead of through LyXFunc
2523         * BufferView2.C: adjust
2524         * BufferView_pimpl.C: adjust
2525         * FontLoader.C: adjust
2526         * buffer.C: adjust
2527         * bufferview_funcs.C: adjust
2528         * converter.C: adjust
2529         * figureForm.C: adjust
2530         * importer.C: adjust
2531         * lyx_cb.C: adjust
2532         * lyx_gui_misc.C: adjust
2533         * lyxfunc.C: adjust
2534         * lyxvc.C: adjust
2535         * text2.C: adjust
2536         + more files in subdirs
2537         
2538         * lyxparagraph.h (size): move up int file
2539         (GetLayout): ditto
2540
2541         * adjust all uses of Assert to lyx::Assert.
2542
2543         * BufferView2.C (ChangeCitationsIfUnique): adjust for
2544         lyxfunctional in namespace lyx
2545         * layout.C (hasLayout): ditto
2546         (GetLayout): ditto
2547         (GetLayout): ditto
2548         (delete_layout): ditto
2549         (NumberOfClass): ditto
2550         * converter.C (GetFormat): ditto
2551         (GetNumber): ditto
2552         (Add): ditto
2553         (Delete): ditto
2554         (SetViewer): ditto
2555         * bufferlist.C (getFileNames): ditto
2556         (emergencyWriteAll): ditto
2557         (exists): ditto
2558         (getBuffer): ditto
2559         * MenuBackend.C (hasSubmenu): ditto
2560         (hasMenu): ditto
2561         (getMenu): ditto
2562         * BufferView_pimpl.C (getInsetByCode): ditto
2563
2564 2001-04-18  Juergen Vigna  <jug@sad.it>
2565
2566         * vspace.C (asLatexString): fixed the 100% problem.
2567
2568 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2569
2570         * lyxfunc.C (Dispatch): 
2571         * minibuffer.C: 
2572         * minibuffer.h: add a few std:: qualifiers
2573
2574 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2575
2576         * minibuffer.[Ch]: reimplement so that commands is initiated and
2577         run from lyxfunc, simplified som handling, and made the completion
2578         and history code for complete. wip. 
2579
2580         * lyxfunc.C (processKeySym): call message
2581         (miniDispatch): new temporary method
2582         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
2583         (LFUN_MESSAGE): implement
2584         (LFUN_MESSAGE_PUSH): implement
2585         (LFUN_MESSAGE_POP): implement
2586         (initMiniBuffer): the initial/defualt minibuffer message.
2587
2588         * lyxfont.[Ch]: inline some more getters
2589
2590         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
2591
2592         * lyx_gui_misc.[Ch] (WriteStatus): remove method 
2593
2594         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
2595         (AutoSave): use LFUN_MESSAGE
2596         (Reconfigure): ditto
2597
2598         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
2599
2600         * figureForm.C: use LFUN_MESSAGE
2601
2602         * converter.C (runLaTeX): use LFUN_MESSAGE
2603
2604         * bufferview_funcs.C: use LFUN_MESSAGE
2605         (Melt): ditto
2606         (changeDepth): ditto
2607
2608         * bufferparams.h: use boost::
2609
2610         * bufferlist.h: inherit privately from noncopyable
2611
2612         * bufferlist.C (loadLyXFile): remove some commented code.
2613
2614         * buffer.C (runChktex): use LFUN_MESSAGE
2615
2616         * ShareContainer.h: inherit privately from noncopyable
2617
2618         * ParagraphParameters.[hC] (depth): inline it.
2619
2620         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
2621         methods.
2622         (message): new method
2623         (messagePush): ditto
2624         (messagePop): ditto
2625         (show): init minibuffer
2626         (showState): direct call
2627
2628         * LaTeX.[Ch]: inherit privately from noncopyable
2629         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
2630         instead of WriteStatus.
2631
2632         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
2633
2634         * BufferView_pimpl.C (buffer): don't init minibuffer
2635         (workAreaButtonPress): use LFUN_MESSAGE
2636         (workAreaButtonRelease): ditto
2637         (savePosition): ditto
2638         (restorePosition): ditto
2639         (MenuInsertLyXFile): ditto
2640         (workAreaExpose): don't init minibuffer
2641         (update): remove commented code, simplify
2642
2643         * BufferView2.C (openStuff): use LFUN_MESSAGE
2644         (toggleFloat): ditto
2645         (menuUndo): ditto
2646         (menuRedo): ditto
2647         (copyEnvironment): ditto
2648         (pasteEnvironment): ditto
2649         (copy): ditto
2650         (cut): ditto
2651         (paste): ditto
2652         (gotoInset): ditto
2653         (updateInset): remove some commented code
2654
2655         * lastfiles.h: inherit privately from noncopyable
2656         * layout.h: ditto
2657         * lyx_gui.h: ditto
2658         * lyx_main.h: ditto
2659         * lyxlex.h: ditto
2660         * lyxlex_pimpl.h: ditto
2661
2662         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
2663         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
2664         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2665
2666         * LyXAction.h: inherit privately from noncopyable, add methods
2667         func_begin, func_end, returning iterators to the func map.
2668
2669         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
2670         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2671         (func_begin): new method
2672         (func_end): new method
2673
2674         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
2675         and not)
2676         (copySelection): ditto
2677         (pasteSelection): ditto
2678
2679         * BufferView.C: whitespace change
2680         * BufferView.h: inherit privately from noncopyable
2681
2682 2001-04-16  Allan Rae  <rae@lyx.org>
2683
2684         * tabular-old.C (l_getline): 
2685         * spellchecker.C (sc_check_word): 
2686         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
2687         an unrecognised preprocessor directive.  So ensure they're wrapped. 
2688
2689 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
2690
2691         * src/exporter.C (Export): Give an error message when path to file 
2692         contains spaces.
2693
2694 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
2695
2696         * LaTeX.C (deplog): Always check that foundfile exists.
2697
2698 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2699
2700         * lyx_main.h: 
2701         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name 
2702
2703 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2704
2705         * tabular.[Ch] (getLabelList): implement new method
2706
2707         * minibuffer.h: comment ouf setTiimer
2708
2709         * minibuffer.C (ExecutingCB): constify res
2710         (peek_event): constify s
2711         (Set): constify ntext
2712         (Init): constify nicename
2713
2714         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
2715
2716         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
2717         (savePosition): use two params to Minibuffer::Set
2718         (restorePosition): ditto
2719
2720 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2721
2722         * lyx_main.C: include language.h
2723
2724         * Makefile.am (lyx_main.o): add language.h
2725
2726 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2727
2728         * exporter.C: 
2729         * paragraph.C: 
2730         * screen.C: 
2731         * tabular.C: 
2732         * CutAndPaste.C: include gettext.h
2733
2734         * lyxfont.h: remove old hack with ON and OFF.
2735
2736         * lyxparagraph.h: 
2737         * lyxfont.h: do not include language.h...
2738
2739         * BufferView2.C: 
2740         * LaTeXFeatures.C: 
2741         * Painter.C: 
2742         * bufferview_funcs.C: 
2743         * font.C: 
2744         * lyxfont.C: 
2745         * text.C: 
2746         * text2.C: 
2747         * trans_mgr.C: 
2748         * paragraph.C: ... but do it here instead
2749
2750 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2751
2752         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
2753
2754         * tabular.C: small reformat
2755
2756         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
2757         NEW_INSETS version
2758         (GetChar): ditto
2759         (BreakParagraph): ditto
2760         (SetOnlyLayout): ditto
2761         (SetLayout): ditto
2762
2763         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
2764         with one arg less.
2765
2766         * lastfiles.C: removed most using decl, add std:: where needed
2767
2768         * buffer.C: ws changes
2769
2770         * MenuBackend.C (class compare_format): put into anon namespace
2771         (expand): constify label, names, action, action2
2772         (expand): 
2773
2774         * text.C (SingleWidth): constify font
2775         (IsBoundary): constify rtl2
2776         (GetVisibleRow): constify ww
2777
2778         * LaTeX.C (deplog): constify logfile
2779
2780         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
2781         start_x, end_x
2782         (workAreaExpose): constify widthChange, heightChange
2783
2784         * lyxrow.C (par): moved
2785         (height): moved
2786         (next): moved
2787         * lyxrow.h: as inlines here
2788
2789         * lyxfont.h (shape): moved from lyxfont.C
2790         (emph): moved from lyxfont.C
2791
2792         * lyxfont.C (LyXFont): use initialization list for all
2793         constructors
2794         (shape): move to lyxfont.h as inline
2795         (emph): move to lyxfont.h as inline
2796         
2797
2798 2001-04-04  Juergen Vigna  <jug@sad.it>
2799
2800         * vspace.C: had to include stdio.h for use of sscanf
2801
2802 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
2803
2804         * BufferView.h: 
2805         * BufferView_pimpl.h: remove xforms cruft. Both classes are
2806         independent of xforms.
2807
2808 2001-04-02  Juergen Vigna  <jug@sad.it>
2809
2810         * spellchecker.C: fixed namespace placing!
2811
2812 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
2813
2814         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
2815         the LyXParagraph * is 0.
2816
2817 2001-03-29  Juergen Vigna  <jug@sad.it>
2818
2819         * vspace.C: added support for %, c%, p%, l%.
2820         (stringFromUnit): added helper function.
2821         (asLatexString): changed to give right results for the %-values.
2822
2823         * buffer.C: convert the widthp in a width%.
2824
2825 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
2826
2827         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
2828         figureForm.[Ch].
2829
2830         * figureForm.[Ch]: stripped the FD_from_figure manipulation
2831         code out of lux_cb.[Ch], ready for its (imminent?) removal.
2832
2833         * lyx_cb.[Ch]: see above.
2834
2835         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
2836         form1.[Ch].
2837
2838         * form1.[Ch]:
2839         * lyx.[Ch]: replaced by figure_form.[Ch].
2840
2841         * lyx_gui.C:
2842         * lyx_gui_misc.C:
2843         * lyxfunc.C: changed headers associated with above changes.
2844
2845 2001-03-27  Juergen Vigna  <jug@sad.it>
2846
2847         * BufferView_pimpl.C: set the temporary cursor right!
2848
2849 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
2850
2851         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
2852
2853 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
2854
2855         * LString.h: removed "using std::getline"!
2856
2857         * BufferView_pimpl.C (Dispatch): changes due to changes in
2858         InsetInclude::Params.
2859
2860         * buffer.C (tag_name): removed redundant break statements as they were
2861         producing lots of warnings with my compiler.
2862
2863 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2864
2865         * LString.h: add "using std::getline" when using the real <string>.
2866
2867 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
2868
2869         * buffer.C: removed bitset usage.
2870         PAR_TAG moved to an anonymous name space.
2871         (tag_name): new funtion, also in the anonymous namespace.
2872         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
2873         (makeDocBookFile): clean code. Completed transition from string arrays
2874         to string vectors.
2875         (SimpleDocBookOnePar): code clean.
2876
2877 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2878
2879         * tabular.C: add some comments.
2880
2881 2001-03-22  Juergen Vigna  <jug@sad.it>
2882
2883         * buffer.C (parseSingleLyXformat2Token): redone the minipage
2884         compatibility read a bit and fixed bug with minipage in different
2885         depth.
2886
2887 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
2888
2889         * buffer.C (pop_tag): removed.
2890         (push_tag): removed.
2891         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
2892         array replaced with vector. Added support for CDATA sections.
2893         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
2894         at any nest level.
2895         (makeDocBookFile): XML conformant declaration of CDATA section,
2896         fixed bug related to <emphasis> in the first paragraph char.
2897         (sgmlOpenTag): exclude empty tags.
2898         (sgmlCloseTag): ditto.
2899         
2900         * buffer.h (pop_tag): removed.
2901         (push_tag): removed.
2902
2903 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
2904
2905         * language.h (Languages): added size_type and size().
2906
2907 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2908
2909         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
2910         response on compability reading of minipages. One probliem is that
2911         the old usage of minipages was «flertydig» 
2912
2913         * several files here and in subdirs: don't use static at file
2914         scope use anon namespaces instead.
2915
2916 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
2917
2918         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
2919         LaTeX output. This is necessary for Literate document
2920         processing.
2921
2922 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2923
2924         * buffer.C: insert hfill when needed.
2925
2926         * tabular.C (l_getline): use string::erase, small whitespace change.
2927
2928         * BufferView_pimpl.C: try the anon namespace.
2929         * WorkArea.C: ditto
2930
2931 2001-03-16  Juergen Vigna  <jug@sad.it>
2932
2933         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
2934         otherwise it won't open options-dialogs.
2935
2936         * buffer.C: honor pextraWidth(p) on converting minipages.
2937
2938         * tabular.C (l_getline): changed the functions to strip trailing \r.
2939
2940 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
2941
2942         * BufferView_pimpl.C:
2943         * minibuffer..C: added "using SigC::slot" declaration.
2944
2945 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2946
2947         * lyxlex_pimpl.h: noncopyable is in namespace boost.
2948
2949         * text2.C: ditto
2950
2951         * text.C: ditto
2952
2953         * paragraph.C: ditto
2954
2955         * lyxtext.h: NO_PEXTRA
2956
2957         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
2958
2959         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
2960         * ParameterStruct.h: ditto
2961         * ParagraphParameters.h: ditto 
2962         * lyxparagraph.h: ditto
2963
2964 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2965
2966         * buffer.C: add compability for minipage alignment.
2967         (latexParagraphs): remove unwanted pextra check.
2968
2969         * several files: remove CXX_WORKING_NAMESPACES
2970
2971         * buffer.C (pop_tag): tie is in namespace boost
2972
2973         * BufferView.h: noncopyable is in namespace boost
2974         * lyxlex.h: ditto
2975         * lyx_main.h: ditto
2976         * lyx_gui.h: ditto
2977         * layout.h: ditto
2978         * lastfiles.h: ditto
2979         * bufferlist.h: ditto
2980         * ShareContainer.h: ditto
2981         * LyXView.h: ditto
2982         * LyXAction.h: ditto
2983         * LaTeX.h: ditto
2984
2985 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
2986
2987         * Merging changes from BRANCH_MVC back into HEAD.
2988
2989         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2990
2991 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
2992
2993         * BufferView_pimpl.C: change from intl.C
2994
2995         * combox.h:
2996         * combox.C:
2997         * Makefile.am: move combox.*
2998
2999         * form1.h:
3000         * form1.C:
3001         * lyx_gui.C:
3002         * intl.h:
3003         * intl.C: remove dialog (covered by prefs)
3004
3005 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
3006
3007         * lyxfunc.C (Dispatch): removed redundant break statement.
3008         
3009 2001-03-14  Juergen Vigna  <jug@sad.it>
3010
3011         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
3012
3013 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3014
3015         * buffer.C: add hack to fix compability reading of minipages.
3016
3017 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
3018
3019         * buffer.C (getLists): Cleanup.
3020
3021 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3022
3023         * lyxfont.C (update): don't honor toggleall on font size.
3024
3025 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
3026
3027         * bmtable.c:
3028         * bmtable.h:
3029         * Makefile.am: moved to frontends/xforms/
3030
3031         * lyx_gui_misc.C:
3032         * lyxfunc.C:
3033         * BufferView_pimpl.C: changes for moved mathpanel
3034
3035 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
3036
3037         * gettext.h: fix gettext_init() in --disable-nls
3038
3039 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3040
3041         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
3042
3043 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
3044
3045         * lyx.C:
3046         * lyx.h: strip external form
3047
3048 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
3049
3050         * BufferView_pimpl.C: add comment, destroySplash()
3051
3052 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
3053
3054         * BufferView_pimpl.C:
3055         * LyXAction.C:
3056         * buffer.C:
3057         * commandtags.h:
3058         * lyxfunc.C: use re-worked insetinclude
3059
3060 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3061
3062         * buffer.C: add using std::stringstream.
3063
3064         * lyx_cb.C: readd using std::ios.
3065
3066         * buffer.C: add using std::map.
3067
3068         * BufferView_pimpl.C: add using std::vector.
3069
3070         * ShareContainer.h: add std:: to swap.
3071
3072         * buffer.h: add some typedefs
3073         * buffer.C (getLists): use them
3074         (getLists): renamed from getTocList.
3075         add a counter for the different float types and use it in the
3076         generated string.
3077         (getLists): use the same counter for the NEW_INSETS and the "non"
3078         NEW_INSETS
3079
3080         * lyx_cb.h: remove unused items, includes, using etc.
3081
3082         * ShareContainer.h: remove some commented code, add more comments
3083         and "documentation".
3084
3085 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3086
3087         * buffer.C (getTocList): make the list also when NEW_INSETS is
3088         defined.
3089
3090         * buffer.h: remove TocType
3091
3092         * buffer.C (getTocList): change to return a map<string,
3093         vector<TocItem> >, implement for dynamic number of list.
3094
3095         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
3096         * text2.C (PasteSelection): adjust
3097         * CutAndPaste.C (pasteSelection): adjust
3098
3099         * FloatList.C (FloatList): update from the new_insets branch.
3100         * Floating.[Ch]: ditto
3101         * LaTeXFeatures.C: ditto
3102         * buffer.C: ditto
3103         * lyxlex_pimpl.C: ditto
3104         
3105         * paragraph.C (Last): remove when NEW_INSETS is defined.
3106
3107         * other file: changes because of the above.
3108
3109 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3110
3111         * lyxparagraph.h: rename next to next_, previous to previous_,
3112         make them private for NEW_INSETS. Rename Next() to next(),
3113         Previous() to previous().
3114
3115         * other files: changes because of the above.
3116
3117 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
3118
3119         * BufferView.h: 
3120         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
3121         problem.
3122
3123 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3124
3125         * main.C (main): pass lyx_localedir to gettext_init().
3126
3127         * gettext.h: remove locale_init and gettext_init macros
3128
3129         * gettext.C (locale_init): new function
3130         (gettext_init): new function
3131
3132         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
3133         setlocale().
3134
3135 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
3136
3137         * Moved credits to frontends:
3138         * credits.[Ch]: removed
3139         * credits_form.[Ch]: removed
3140         * lyx_gui_misc.C: remove credits stuff
3141         * Makefile.am:
3142
3143 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3144
3145         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
3146
3147         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
3148         unneeded destructor.
3149
3150         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
3151         a standalone pointer again.
3152
3153         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
3154
3155 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
3156
3157         * Makefile.am:
3158         * filedlg.h:
3159         * filedlg.C:
3160         * LyXAction.C:
3161         * ToolbarDefaults.C:
3162         * bufferlist.C:
3163         * commandtags.h:
3164         * form1.C:
3165         * form1.h:
3166         * lyx_cb.C:
3167         * lyx_cb.h:
3168         * lyxfunc.h:
3169         * lyxfunc.C:
3170         * BufferView_pimpl.C: use new file dialog in GUII
3171
3172         * lyx_cb.h:
3173         * lyx_cb.C: remove LayoutsCB to Toolbar
3174
3175 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3176
3177         * ShareContainer.h (get): add std:: qualifier
3178
3179 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3180
3181         * ShareContainer.h: define a proper ShareContainer::value_type
3182         type (and use typename to please compaq cxx)
3183
3184 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3185
3186         * lyxparagraph.h: move serveral local vars to
3187         ParameterStruct/ParagraphParameters., use ShareContainer in
3188         FontTable., make vars in FontTable private and add getter and
3189         setter.
3190
3191         * paragraph.C: changes because of the above.
3192
3193         * lyxfont.h: remove copy constructor and copy assignment. (the
3194         default ones is ok), move number inside FontBits. move inlines to
3195         lyxfont.C 
3196
3197         * lyxfont.C: add number to initializaton of statics, move several
3198         inlines here. constify several local vars. some whitespace
3199         cleanup. Dont hide outerscope variables.
3200
3201         * Spacing.h: add two new constructors to match the set methods.
3202
3203         * ShareContainer.h: new file, will perhaps be moved to support
3204
3205         * ParameterStruct.h: new file
3206
3207         * ParagraphParameters.h: new file
3208
3209         * ParagraphParameters.C: new file
3210
3211         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
3212         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
3213
3214         * BufferView_pimpl.C: ParagraphParameter changes.
3215         * buffer.C: Likewise.
3216         * bufferview_funcs.C: Likewise.
3217         * text.C: Likewise.
3218         * text2.C: Likewise.
3219         
3220 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3221
3222         * lyxfind.C (LyXReplace): do not redefine default argument in
3223         implementation. 
3224         (IsStringInText): ditto
3225         (SearchForward): ditto
3226         (SearchBackward): ditto
3227
3228 2001-03-06  Juergen Vigna  <jug@sad.it>
3229
3230         * lyxfind.C (IsStringInText): put parentes around expressions.
3231
3232 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
3233
3234         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
3235         
3236 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
3237
3238         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
3239
3240         * stl_string_fwd.h: add comment
3241
3242         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
3243
3244         * tabular.h:
3245         * tabular.C: remove unused DocBook methods
3246
3247         * intl.C:
3248         * language.C:
3249         * paragraph.C:
3250         * buffer.C:
3251         killed DO_USE_DEFAULT_LANGUAGE
3252
3253 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3254
3255         * lyx_gui.C: do not include language.h.
3256
3257         * bufferview_funcs.C (ToggleAndShow): do not provide optional
3258         arguments in function implementation.
3259
3260 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3261
3262         * BufferView_pimpl.C: add <ctime>
3263
3264 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3265
3266         * BufferView_pimpl.C: add using std::find_if
3267
3268 2001-02-27  José Matos  <jamatos@fep.up.pt>
3269         
3270         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
3271         by OnlyPath.
3272         
3273 2001-02-11  José Matos  <jamatos@fep.up.pt>
3274
3275         * buffer.C (makeDocBookFile): command styles now have a parameter as
3276         "title" by default.
3277
3278 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
3279
3280         * layout_forms.[Ch]: removed
3281         * lyx_cb.[Ch]: out character
3282         * lyx_gui.C: out character
3283         * lyx_gui_misc.C: out character
3284         * bufferview_funcs.C: : out character,
3285         added toggleall as parameter in ToggleAndShow
3286                    
3287 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
3288
3289         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
3290
3291         * text2.C (SetCurrentFont): Disable number property at boundary.
3292
3293 2001-02-26  Juergen Vigna  <jug@sad.it>
3294
3295         * lyxfunc.C (getStatus): added a string argument override function so
3296         that this is correctly called from LyXFunc::Dispatch if it contains a
3297         do_not_use_argument which is used!
3298         (Dispatch): added check for "custom" export and call appropriate func.
3299
3300 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
3301
3302         * lyxrc.C: Add language_command_local, language_use_babel and
3303         language_global_options.
3304
3305         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
3306
3307         * buffer.C (makeLaTeXFile): Use language_use_babel and 
3308         language_global_options.
3309
3310 2001-02-23  Juergen Vigna  <jug@sad.it>
3311
3312         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
3313         which works with LyXText and putted it inside BufferView. Here now we
3314         only call for that part the BufferView::Dispatch() function.
3315
3316         * BufferView.C (Dispatch): added.
3317
3318         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
3319         functions which needs to use a LyXText over from LyXFunc.
3320         (MenuInsertLyXFile): added
3321         (getInsetByCode): added
3322         (moveCursorUpdate): added
3323         (static TEXT): added
3324
3325 2001-02-22  Juergen Vigna  <jug@sad.it>
3326
3327         * BufferView_pimpl.C (update): call a status update to see if LyXText
3328         needs it.
3329
3330 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3331
3332         * vc-backend.C (revert): implement for CVS
3333         (getLog): implement for CVS
3334
3335 2001-02-20  Juergen Vigna  <jug@sad.it>
3336
3337         * text2.C (ClearSelection): added BufferView param for inset_owner call
3338
3339         * lyxfunc.C (TEXT): added this function and use it instead of
3340         directly owner->view()-text of getLyXText().
3341
3342 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
3343
3344         * src/layout_forms.C: out preamble
3345         * src/layout_forms.h: out preamble
3346         * src/lyx_cb.C: out preamble
3347         * src/lyx_cb.h: out preamble
3348         * src/lyx_gui.C: out preamble
3349         * src/lyx_gui_misc.C: out preamble
3350         * src/lyxfunc.C: connect with guii preamble
3351
3352 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
3353
3354         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
3355
3356 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
3357
3358         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
3359         whether to run bibtex.
3360
3361 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
3362
3363         * Makefile.am (lyx_SOURCES): Remove BackStack.h
3364
3365 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
3366
3367         * Makefile.am (lyx_SOURCES): removed bibforms.h
3368
3369         * vspace.h: doxygen
3370
3371         * text.C (GetVisibleRow): make several local vars const
3372
3373         * tabular.C: small cleanup.
3374
3375         * lyxserver.C (callback): use compare instead of strncmp
3376
3377         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
3378         inlines to after class or to paragraph.C
3379
3380         * lyxfont.h: remove friend operator!=
3381
3382         * converter.h: move friend bool operator< to non friend and after
3383         class def.
3384
3385         * combox.h: small cleanup
3386
3387         * buffer.h: doxygen, remove unused constructor, move inclas inlies
3388         to inlines after class def.
3389
3390         * buffer.C (pop_tag): use string operations instead of strcmp
3391
3392         * bmtable.c: doxygen, small cleanup
3393
3394         * LaTeX.h: remove friend operator==
3395
3396 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3397
3398         * screen.C: 
3399         * lyxrc.[Ch]:
3400         * lyxfunc.C: 
3401         * lyxfont.[Ch]: 
3402         * lyx_cb.C: 
3403         * intl.[Ch]: 
3404         * commandtags.h: 
3405         * buffer.C: 
3406         * WorkArea.[Ch]: 
3407         * LyXAction.C: 
3408         * BufferView_pimpl.C:
3409         * BufferView.[Ch]: remove cruft
3410
3411 2001-02-14  Juergen Vigna  <jug@sad.it>
3412
3413         * lyxfunc.C: removed #if 0 unused code
3414
3415         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
3416
3417         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
3418
3419         * text2.C (SetSelection): added a BufferView * parameter
3420
3421 2001-02-13  Juergen Vigna  <jug@sad.it>
3422
3423         * lyxfunc.C (Dispatch): fixed protected blank problem.
3424         * BufferView2.C (protectedBlank): added LyxText * parameter.
3425
3426         * tabular.C (AppendRow): forgot to set row_info of newly added row.
3427         (AppendColumn): same as above for column_info.
3428
3429         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
3430         (moveCursorUpdate): use a LyXText param for support of InsetText.
3431
3432         * BufferView_pimpl.C (doubleClick): added support for InsetText.
3433         (tripleClick): ditto
3434
3435         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
3436
3437         * BufferView_pimpl.C (update): added LyXText param to honor insets.
3438
3439         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
3440
3441         * text2.C (SetSelection): set correct update status if inset_owner
3442         (ToggleFree): ditto
3443
3444 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
3445
3446         * tabular.C: remove some commented code.
3447
3448 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
3449
3450         * BufferView_pimpl.C: call hideSplash()
3451
3452         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
3453
3454         * include_form.h:
3455         * bibforms.h: remove
3456
3457         * lyxfunc.C:
3458         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
3459           add LFUN_CHILD_CREATE
3460
3461         * counters.h: fix tiny typo
3462         
3463         * lyx_cb.C:
3464         * lyx.h:
3465         * lyx_gui.C:
3466         * lyx.C: move splash to frontends/xforms/
3467
3468         * lyx_gui_misc.C: move Include and Bibform to frontends
3469
3470         * lyxvc.h: clarify comment
3471
3472         * vspace.C: tiny housekeeping
3473
3474 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
3475
3476         * text.C (PrepareToPrint): RTL Fix.
3477
3478         * paragraph.C (GetUChar): New method.
3479         (String):  Use GetUChar.
3480
3481         * buffer.C (asciiParagraph): Use GetUChar.
3482
3483 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
3484
3485         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
3486
3487 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
3488
3489         * buffer.h:
3490         * buffer.C: rename to getLogName(), handle
3491           build log / latex log nicely
3492
3493 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3494
3495         * MenuBackend.C: 
3496         * MenuBackend.h: remove support for reference menuitem type.
3497
3498 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
3499
3500         * BufferView_pimpl.C: housekeeping
3501         * BufferView_pimpl.h:
3502         * LyXView.h:
3503         * Makefile.am:
3504         * Timeout.C:
3505         * Timeout.h:
3506         * minibuffer.h: move Timeout GUI-I
3507                           
3508 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
3509
3510         * lyxrc.C (read): Update converters data-structures.
3511
3512 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
3513
3514         * LaTeX.h (operator!=): add operator != for Aux_Info 
3515
3516 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
3517
3518         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
3519
3520         * LaTeXLog.C: deleted, useful code moved to Buffer
3521
3522         * buffer.h:
3523         * buffer.C: new function getLatexLogName()
3524
3525         * lyx_gui_misc.C:
3526         * lyx_gui.C:
3527         * lyxvc.C:
3528         * lyxvc.h:
3529         * lyxfunc.C: use frontends for LaTeX and VC logs
3530
3531 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3532
3533         * LaTeX.h: yet another std:: that Allan forgot.
3534
3535         * Variables.C (set): renamed from isset(), because this clashes
3536         with some HP-UX macros (grr).
3537
3538 2001-02-06  Allan Rae  <rae@lyx.org>
3539
3540         * LaTeX.h: Another bug fix.  Missing std:: this time.
3541
3542 2001-02-04  Allan Rae  <rae@lyx.org>
3543
3544         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
3545         floats problem. I've left it commented out because it's not quite
3546         correct.  It should also test that the current object is a table or
3547         figure inset.  But I haven't gotten around to figuring out how to do
3548         that.  I *think* it'll be something like: "table" == inset.type()
3549
3550         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
3551         bool.
3552
3553 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
3554
3555         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
3556         all the citation/databases/styles in the auxilary file. 
3557         (run): Rerun latex if there was a babel language error.
3558
3559 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
3560
3561         * text.C (Backspace): Preserve the font when changing newline char
3562         with a space.
3563         (BreakParagraph): If the cursor is before a space, delete the space.
3564
3565         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
3566
3567 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
3568
3569         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
3570         new argument (code).
3571         (ChangeCitationsIfUnique): New method.
3572
3573         * paragraph.C (GetPositionOfInset): Handle bibkey.
3574
3575 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3576
3577         * BufferView_pimpl.h: change type of Position::par_pos to
3578         LyXParagraph::size_type. 
3579
3580 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
3581
3582         * BufferView_pimpl.C (savePosition, restorePosition): Write
3583         messages to minibuffer.
3584
3585 2001-01-28  José Matos  <jamatos@fep.up.pt>
3586
3587         * buffer.C (makeDocBookFile): adds support for document language.
3588         A silly restriction on the name of LatexCommand types where removed.
3589         Added support for CDATA sections, allows to chars unescaped, used
3590         among others in code, to avoid escape < and >.
3591         
3592 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
3593
3594         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
3595         saved positions instrad of a stack. Furthermore, a position is
3596         stored using paragraph id/paragraph position.
3597
3598         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
3599         Remove LFUN_REF_BACK.
3600
3601 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
3602
3603         * converter.C (dvipdfm_options): New method.
3604
3605 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
3606
3607         * vspace.C (isValidLength): Fix for empty input string.
3608
3609 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3610
3611         * LyXAction.C (init): change description of LFUN_FIGURE to
3612         "Insert Graphics"
3613
3614 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3615
3616         * LaTeX.C: add using directive
3617
3618 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
3619
3620         * MenuBackend.C (expand): Fix the sorting of the formats.
3621
3622 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
3623
3624         * lyx_main.C: tiny error message fix
3625
3626 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3627
3628         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
3629         calling fl_initialize(). This fixes the problem with ',' as
3630         decimal separator in text files.
3631
3632 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
3633
3634         * trans.C (process): Fix the keymap bug.
3635
3636 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
3637
3638         * LaTeX.C (scanAuxFiles): New method. Provides support for
3639         multiple bibliographies (when using the bibtopic/bibunits pacakges).
3640         (scanLogFile) Scan for "run BibTeX" messages.
3641
3642         * buffer.C (makeLaTeXFile): Do not load the ae package when using
3643         OT1 font encoding. Also, load the aecompl package if the ae
3644         package is loaded.
3645
3646         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
3647
3648 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3649
3650         * texrow.C (increasePos): turn two error messages into debug
3651         messages. 
3652
3653 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
3654
3655         * LaTeX.C (scanAux): Handle the \@input macro.
3656         (runBibTeX): Use scanAux().
3657
3658         * language.C (latex_options_): New field.
3659
3660         * LaTeXFeatures.C (getMacros): Add language macros.
3661
3662         * buffer.C (makeLaTeXFile): Small fix.
3663
3664 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3665
3666         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
3667
3668         * text2.C: add a using directive.
3669
3670 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
3671
3672         * BufferView2.C:
3673         * lyx_gui_misc.h:
3674         * lyxfr1.C:
3675         * lyxfunc.C: kill LyXBell.
3676
3677 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
3678
3679         * text.C (IsBoundary): Remove the error message
3680         
3681         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
3682
3683         * lyxrc.C (setDefaults): Correct initialization value for
3684         font_norm_type.
3685
3686 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
3687
3688         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
3689         gotoError().
3690
3691         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
3692         and GotoNextNote().
3693
3694         * src/LyXAction.C: Added reference-next.
3695
3696         * text.C (InsertChar): Use contains instead of strchr.
3697
3698         * lyx_cb.C (MenuInsertLabel): Enable default value code.
3699
3700 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
3701
3702         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
3703         alignment commands (when needed).
3704
3705         * text.C (InsertChar): Add ':' to number separator chars.