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