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