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