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