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