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