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