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