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