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