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