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