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