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