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