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