]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
de10e188f1f9d5699c7be66cfc66eb86044dbb4d
[lyx.git] / src / ChangeLog
1 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2
3         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4         script if it is newer than the lyxrc.defaults in user directory
5
6 2002-10-07 André Pönitz <poenitz@gmx.net>
7
8         * text.C: Vitaly Lipatov's small i18n fix
9
10 2002-09-25  Angus Leeming  <leeming@lyx.org>
11
12         * ispell.h: doxygen fix.
13
14 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
15
16         * buffer.h (readFile): Add a new argument to the method, to allow
17         reading of old-format templates.
18
19 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
20
21         * toc.C (getTocList): Get TOC from InsetWrap.
22
23 2002-09-16  John Levon  <levon@movementarian.org>
24
25         * lyxfunc.C: check tabular for cut/copy too
26  
27 2002-09-12  John Levon  <levon@movementarian.org>
28
29         * LyXAction.C: tidy
30
31         * factory.h:
32         * factory.C: add header
33  
34         * paragraph_funcs.h:
35         * paragraph_funcs.C: cleanup
36  
37 2002-09-11  John Levon  <levon@movementarian.org>
38
39         * PrinterParams.h: odd/even default to true
40  
41 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
42
43         * PrinterParams.h: update printer parameters for new xforms dialog
44  
45 2002-09-11  Angus Leeming  <leeming@lyx.org>
46
47         * lyxserver.C (read_ready): re-write to make it more transparent
48         and to make it work in coherent fashion under Tru64 Unix.
49
50 2002-09-11  André Pönitz <poenitz@gmx.net>
51
52         * commandtags.h:
53         * LyXAction.C:
54         * text3.C: implement LFUN_WORDSEL
55
56 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
57
58         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
59         make floatlist_ a boost::shared_ptr<FloatList>
60
61         * lyxtextclass.C: include FloatList.h
62         (LyXTextClass): initialize floatlist_
63         (TextClassTags): add TC_NOFLOAT
64         (Read): match "nofloat" to TC_NOFLOAT and use it.
65         (readFloat): modify call to floatlist_
66         (floats): ditto
67         (floats): ditto
68
69         * FloatList.[Ch] (FloatList): remove commented out float
70         initialization.
71         (erase): new function
72
73 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
74
75         * MenuBackend.C (expandToc): fix crash when there is no document
76         open
77
78 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
79
80         * many files: Add insetwrap.
81
82 2002-09-09  John Levon  <levon@movementarian.org>
83
84         * text2.C: remove confusing and awkward depth wraparound
85
86 2002-09-09  John Levon  <levon@movementarian.org>
87
88         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
89
90         * buffer.h:
91         * buffer.C: remove getIncludeonlyList()
92
93         * paragraph.C:
94         * lyxfunc.C: remove headers
95
96 2002-09-09  Juergen Vigna  <jug@sad.it>
97
98         * text.C (getColumnNearX): fix form Michael this is most
99         probably a cut&paste bug.
100
101 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
102
103         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
104
105         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
106         references, ws changes.
107
108         * text2.C (init): update counters after init
109         (insertParagraph): no need to set counter on idividual paragraphs.
110         (setCounter): access the counters object in the textclass object
111         on in the buffer object.
112         (updateCounters): ditto
113
114         * lyxtextclass.C: include counters.h, add variable ctrs_ as
115         shared_ptr<Counters> to avoid loading counters.h in all
116         compilation units.
117         (LyXTextClass): initialize ctrs_
118         (TextClassTags): add TC_COUNTER, and ...
119         (Read): use it here.
120         (CounterTags): new tags
121         (readCounter): new function
122         (counters): new funtion
123         (defaultLayoutName): return a const reference
124
125         * counters.C (Counters): remove contructor
126         (newCounter): remove a couple of unneeded statements.
127         (newCounter): simplify a bit.
128         (numberLabel): some small formatting changes.
129
130         * buffer.[Ch]: remove all traces of counters, move the Counters
131         object to the LyXTextClass.
132
133 2002-09-06  Alain Castera  <castera@in2p3.fr>
134
135         * tabular.C: uses \tabularnewline; uses >{...} construct from array
136         package to set the horizontal alignment on fixed width columns.
137
138         * lyx_sty.C:
139         * lyx_sty.h: added tabularnewline macro def.
140
141         * LaTeXFeatures.C: added NeedTabularnewline macro feature
142
143 2002-09-06  John Levon  <levon@movementarian.org>
144
145         * LyXAction.C: tooltips for sub/superscript
146
147         * MenuBackend.C: a bit more verbose
148
149         * lyxfunc.C: tiny clean
150
151         * undo_funcs.C: document undo_frozen
152
153 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
154
155         * counters.C (Counters): add missing algorithm counter.
156
157         * text2.C (setCounter): lookup the counter with layouts latexname
158         instead of by section number.
159         (setCounter): use a hackish way to lookup the correct enum
160         counter.
161         a float name->type change
162         reset enum couners with counter name directly instead of depth value.
163
164         * counters.C (Counters): remove the push_backs, change to use the
165         float type not the float name.
166         (labelItem): remove unused string, float name->type change
167
168         * counters.h: don't include vector, loose the enums and sects vectors
169
170 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
171
172         * lyxtextclass.C (TextClassTags): add TC_FLOAT
173         (Read): add float->TC_FLOAT to textclassTags
174         (Read): and handle it in the switch
175         (readFloat): new function
176
177         * FloatList.C (FloatList): comment out the hardcoded float
178         definitions.
179
180         * lyxlayout.h: ws change.
181
182 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
183
184         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
185
186 2002-09-03  Angus Leeming  <leeming@lyx.org>
187
188         * BufferView_pimpl.h: qualified name is not allowed in member
189         declaration: WorkArea & Pimpl::workarea() const;
190
191         * factory.C: added using std::endl directive.
192
193         * text3.C: added using std::find and std::vector directives.
194
195 2002-08-29  André Pönitz <poenitz@gmx.net>
196
197         * lyxtext.h:
198         * text2.C: remove unused member number_of_rows
199
200         * Makefile.am:
201         * BufferView2.C: remove file, move contents to...
202         * BufferView.C: ... here
203
204         * BufferView_pimpl.C:
205         * factory.C: move more inset creation to factory
206
207         * vspace.C: avoid direct usage of LyXText, ws changes
208
209         * BufferView.[Ch]:
210                 don't provide direct access to WorkArea, use two simple
211                 acessors haveSelction() and workHeight() instead
212
213
214 2002-08-29  John Levon  <levon@movementarian.org>
215
216         * BufferView_pimpl.C (dispatch): do not continue when
217           no buffer
218
219 2002-08-28  André Pönitz <poenitz@gmx.net>
220
221         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
222
223         * BufferView.h:
224         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
225
226 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
227
228         * buffer.C: increment LYX_FORMAT to 221
229
230         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
231         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
232
233         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
234
235         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
236
237 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
238
239         * factory.C (createInset): use LyXTextClass::floats
240
241         * MenuBackend.C (expandFloatListInsert):
242         (expandFloatInsert):
243         (expandToc):
244
245         * text2.C (setCounter):
246
247         * LaTeXFeatures.C (useFloat):
248         (getFloatDefinitions):
249
250         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
251
252         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
253         floatlist_, with accessor floats().
254
255         * FloatList.h: remove global FloatList
256
257 2002-08-26  André Pönitz <poenitz@gmx.net>
258
259         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
260
261         * BufferView.h:
262         * BufferView2.C:
263         * BufferView_pimpl.C:
264         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
265
266 2002-08-25  John Levon  <levon@movementarian.org>
267
268         * LyXAction.C: fix margin note description
269
270 2002-08-24  John Levon  <levon@movementarian.org>
271
272         * buffer.C:
273         * bufferlist.C:
274         * bufferview_funcs.C:
275         * lyxfont.C:
276         * undo_funcs.C: cleanups
277
278         * lyxfunc.C: disable CUT/COPY when no selection
279
280 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
281
282         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
283         in "enum UNIT"; e.g. PTW for Percent of TextWidth
284
285         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
286         Add backward compatibility to "mono", "gray" and "no".
287
288 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
289
290         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
291         (and file_format >= 200).
292
293 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
294
295         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
296
297 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
298
299         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
300
301 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
302
303         * BufferView_pimpl.C:
304         * LyXAction.C:
305         * buffer.C:
306         * commandtags.h:
307         * lyxfunc.C:
308         * paragraph.[Ch]:
309         * text2.C:
310         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
311         inset and code to make it  work with the paragraph code. The inset
312         can be anywhere in the paragraph, but will only do the expected
313         thing in LaTeX if the layout file contains the parameter line
314                         OptionalArgs    1
315         (or more generally, a nonzero value) for that layout.
316
317 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
318
319         * paragraph.h: remove the declaration of undefined counters class
320         function.
321
322 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
323
324         * text2.C (setCounter):  fixed enumeration mis-count as reported by
325         Dr. Richard Hawkins.
326
327 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
328
329         * paragraph_funcs.h: remove some unneeded includes
330
331         * text.C (backspace): pasteParagraph now in global scipe
332
333         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
334         (pasteSelection): ditto
335
336         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
337         * paragraph_funcs.C (pasteParagraph): ... here
338
339 2002-08-20  André Pönitz <poenitz@gmx.net>
340
341         * commandtags.h: new LFUNs for swapping/copying table row/colums
342
343         * LyXAction.C:
344         * lyxfunc.C: support for new lfuns
345
346 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
347
348         * tabular.C:
349         * buffer.[Ch]: remove NO_COMPABILITY stuff
350
351 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
352
353         * boost.C (throw_exception): new file, with helper function for
354         boost compiled without exceptions.
355
356         * paragraph.h:
357         * lyxlength.C:
358         * buffer.C:
359         * ParameterStruct.h:
360         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
361
362         * bufferlist.C (emergencyWriteAll): use boost bind
363
364         * BufferView_pimpl.C (moveCursorUpdate): remove inline
365
366         * text.C: include paragraph_funcs.h
367         (breakParagraph): breakParagraph is now in global scope
368
369         * paragraph_funcs.[Ch]: new files
370
371         * paragraph.C (breakParagraph,breakParagraphConservative): move to
372         global scope
373
374         * buffer.C: include paragraph_funcs.h
375         (insertStringAsLines): breakParagraph is now in global scope
376
377         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
378         paragraph_funcs.C
379
380         * CutAndPaste.C: include paragraph_funcs.h
381         (cutSelection): breakParagraphConservative is now in global scope
382         (pasteSelection): ditto
383
384         * buffer.h: declare oprator== and operator!= for
385         Buffer::inset_iterator
386
387         * bufferlist.C (emergencyWrite): don't use fmt(...)
388
389         * text3.C: add using std::endl
390
391         * BufferView.C (moveCursorUpdate): remove default arg
392
393 2002-08-20  André Pönitz <poenitz@gmx.net>
394
395         * buffer.[Ch]: move inline functions to .C
396
397         * BufferView2.C:
398         * BufferView_pimpl.C:
399         * text.C:
400         * buffer.[Ch]: use improved inset_iterator
401
402         * buffer.C:
403         * paragraph.[Ch]: write one paragraph at a time
404
405 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
406
407         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
408         style if style is not specified.
409
410 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
411
412         * text2.C (setCounter): when searching for right label for a
413         caption, make sure to recurse to parent insets (so that a caption
414         in a minipage in a figure float works) (bug #568)
415
416 2002-08-20  André Pönitz <poenitz@gmx.net>
417
418         * text3.C: new file for LyXText::dispatch() and helpers
419
420         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
421
422         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
423
424 2002-08-19  André Pönitz <poenitz@gmx.net>
425
426         * lyxtext.h:
427         * text.C: new LyXText::dispatch()
428
429         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
430
431 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
432
433         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
434
435         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
436         Hebrew text.
437
438 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
439
440         * Makefile.am: use $(variables) instead of @substitutions@
441
442 2002-08-15  André Pönitz <poenitz@gmx.net>
443
444         * lyxfunc.C:
445         * BufferView_pimpl.C: streamlining mathed <-> outer world
446         interaction
447
448         * commandtags.h:
449         * LyXAction.C: remove unused LFUN_MATH
450
451 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
452
453         * paragraph.[Ch]: add some NO_NEXT ifdefs.
454
455 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
456
457         * paragraph.C (Paragraph): reformat a bit
458         (cutIntoMinibuffer): use builtin InsetList function instad of
459         doing it manually.
460         (getInset): ditto
461
462         * buffer.C: include boost/bind.hpp, add using std::for_each
463         (writeFileAscii): use ParagraphList iterators
464         (validate): use for_each for validate traversal of paragraphs
465         (getBibkeyList): use ParagraphList iterators
466         (resizeInsets): use for_each to resizeInsetsLyXText for all
467         paragraphs.
468         (getParFromID): use ParagraphList iterators
469
470         * BufferView2.C (lockInset): use paragraph list and iterators
471
472 2002-08-14  John Levon  <levon@movementarian.org>
473
474         * lyxserver.C: remove spurious xforms include
475
476 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
477
478         * lyxfunc.C (getStatus): disable math-extern outside of math mode
479
480 2002-08-13  André Pönitz <poenitz@gmx.net>
481
482         * LyXAction.[Ch]:
483         * lyxfunc.C: further cleaning
484
485 2002-08-13  André Pönitz <poenitz@gmx.net>
486
487         * funcrequest.h: new constructor
488
489         * funcrequest.C: move stuff here from .h
490
491         * Makefile.am:
492         * BufferView_pimpl.C:
493         * LyXAction.C:
494         * toc.C:
495         * lyxfunc.C: subsequent changes
496
497         * lyxfunc.h: new view() member function
498
499         * lyxfunc.C: subsequent changes
500
501 2002-08-13  Angus Leeming  <leeming@lyx.org>
502
503         * BufferView2.C:
504         * BufferView_pimpl.C:
505         * buffer.C:
506         * converter.C:
507         * importer.C:
508         * lyxfunc.C:
509         * lyxvc.C:
510         * toc.C:
511         * vc-backend.C:
512         changes due to the changed LyXView interface that now returns references
513         to member variables not pointers.
514
515 2002-08-13  Angus Leeming  <leeming@lyx.org>
516
517         * WordLangTuple (word, lang_code): return references to strings,
518         not strings.
519
520         * BufferView.h:
521         * SpellBase.h:
522         * lyxtext.h: forward-declare WordLangTuple.
523
524         * BufferView2.C:
525         * ispell.C:
526         * pspell.C:
527         * text.C: #include "WordLangTuple.h".
528
529         * lyxtext.h:
530         * text.C: (selectNextWordToSpellcheck): constify return type.
531
532 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
533
534         * buffer.C:
535         * buffer.h:
536         * lyxtext.h:
537         * paragraph.C:
538         * paragraph_pimpl.h:
539         * text.C:
540         * text2.C:
541         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
542         suggested by Angus.
543         Made updateCounter always count from start of buffer, and removed
544         second argument (par).
545         Reverted floats number display to '#'. Perhaps I'll try again when the
546         code base is sanitized a bit.
547
548 2002-08-12  Angus Leeming  <leeming@lyx.org>
549
550         * buffer.[Ch] (getLabelList): constify.
551
552 2002-08-07  André Pönitz <poenitz@gmx.net>
553
554         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
555
556         * funcrequest.h: extension to keep mouse (x,y) position
557
558 2002-08-12  Juergen Vigna  <jug@sad.it>
559
560         * BufferView2.C (insertErrors): forbid undo when inserting error
561         insets.
562
563         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
564
565 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
566
567         * ParagraphList.[Ch]: new files
568
569         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
570
571         * BufferView2.C (lockInset): ParagraphList changes
572         * toc.C: ditto
573         * text2.C: ditto
574         * bufferlist.C: ditto
575         * buffer.h: ditto
576         * buffer.C: ditto
577
578 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
579
580         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
581         unused class variable counter_,
582
583         * paragraph.[Ch] (getFirstCounter): delete unused function
584
585         * counters.C: include LAssert.h
586         (reset): add a new function with no arg, change other version to
587         not have def. arg and to not allow empty arg.
588
589         * text2.C (setCounter): remove empty arg from call to Counters::reset
590
591 2002-08-11  John Levon  <levon@movementarian.org>
592
593         * Makefile.am: add WordLangTuple.h
594
595 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
596
597         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
598         lyxfunc.C lyxlex_pimpl.C: ws changes only.
599
600         * insets/insettext.C: InsetList changes
601
602         * graphics/GraphicsSupport.C (operator()): InsetList changes
603
604         * toc.C (getTocList): InsetList changes
605
606         * paragraph_pimpl.[Ch]: InsetList changes
607
608         * paragraph.[Ch]: InsetList changes
609
610         * buffer.C (inset_iterator): InsetList changes
611         (setParagraph): ditto
612         * buffer.h (inset_iterator): ditto
613         * iterators.C (operator++): ditto
614         * iterators.h: ditto
615
616         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
617
618         * InsetList.[Ch]: new files, most InsetList handling moved out of
619         paragraph.C.
620
621         * BufferView2.C (removeAutoInsets): InsetList changes
622         (lockInset): ditto
623         (ChangeInsets): ditto
624
625 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
626
627         * paragraph_pimpl.h (empty): new function
628
629         * paragraph.[Ch] (empty): new function
630
631         * other files: use the new Paragraph::empty function
632
633 2002-08-09  John Levon  <levon@movementarian.org>
634
635         * lyxtext.h: remove unused refresh_height
636
637 2002-08-09  John Levon  <levon@movementarian.org>
638
639         * Makefile.am:
640         * sgml.h:
641         * sgml.C:
642         * buffer.C:
643         * paragraph.h:
644         * paragraph.C: move sgml char escaping out of paragraph
645
646         * paragraph.h:
647         * paragraph.C: remove id setter
648
649         * buffer.C:
650         * paragraph.C:
651         * paragraph_pimpl.C: remove dead tex_code_break_column
652
653         * bufferview_funcs.C: small cleanup
654
655         * lyxfunc.C: remove dead proto
656
657         * lyxtext.h: make some stuff private. Remove some dead stuff.
658
659         * lyxgluelength.C: make as[LyX]String() readable
660
661 2002-08-08  John Levon  <levon@movementarian.org>
662
663         * LyXAction.h:
664         * LyXAction.C:
665         * MenuBackend.C:
666         * ToolbarDefaults.C:
667         * lyxfunc.C:
668         * lyxrc.C:
669         * toc.C: lyxaction cleanup
670
671 2002-08-08  John Levon  <levon@movementarian.org>
672
673         * BufferView2.C: small cleanup
674
675         * lyxfind.h:
676         * lyxfind.C: move unnecessary header into the .C
677
678 2002-08-08  John Levon  <levon@movementarian.org>
679
680         * funcrequest.h: just tedious nonsense
681
682         * lyx_main.h:
683         * lyx_main.C: cleanups
684
685         * buffer.C:
686         * vspace.C: remove dead header lyx_main.h
687
688 2002-08-07  Angus Leeming  <leeming@lyx.org>
689
690         * Paragraph.[Ch]:
691         * paragraph_pimpl.h:
692         Forward declare class Counters in paragraph.h by moving the ctrs member
693         variable into Paragraph::Pimpl.
694         (counters): new method, returning a reference to pimpl_->ctrs.
695
696         * text2.C: ensuing changes.
697
698 2002-08-07  John Levon  <levon@movementarian.org>
699
700         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
701
702         * BufferView_pimpl.C: announce X selection on double/triple
703           click
704
705         * lyx_main.C: use correct bool in batch dispatch
706
707         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
708
709 2002-08-07  André Pönitz <poenitz@gmx.net>
710
711         * funcrequest.h: new class to wrap a kb_action and its argument
712
713         * BufferView.[Ch]:
714         * BufferView_pimpl[Ch]:
715         * LaTeX.C:
716         * LyXAction.[Ch]:
717         * lyxfunc.[Ch]:
718         * lyxrc.C: subsequent changes
719
720
721 2002-08-07  John Levon  <levon@movementarian.org>
722
723         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
724           document options change.
725
726 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
727
728         * counters.[Ch]
729         * text2.C
730         * paragraph.[Ch]
731         * makefile.am: move counters functionality over from
732         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
733
734 2002-08-06  John Levon  <levon@movementarian.org>
735
736         * WordLangTuple.h: new file for word + language code tuple
737
738         * SpellBase.h:
739         * pspell.h:
740         * pspell.C:
741         * ispell.h:
742         * ispell.C:
743         * lyxtext.h:
744         * text.C:
745         * text2.C:
746         * BufferView.h:
747         * BufferView2.C: use WordLangTuple
748
749         * layout.h:
750         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
751
752 2002-08-06  John Levon  <levon@movementarian.org>
753
754         * lyx_main.C: fix cmdline batch handling
755
756 2002-08-06  André Pönitz <poenitz@gmx.net>
757
758         * lyxrc.C: set default for show_banner to true
759
760 2002-08-06  John Levon  <levon@movementarian.org>
761
762         * pspell.C: fix a crash, and allow new aspell to work
763
764 2002-08-06  John Levon  <levon@movementarian.org>
765
766         * lyxfunc.C:
767         * kbmap.C: small cleanup
768
769         * vspace.h:
770         * vspace.C: add const
771
772 2002-08-05  John Levon  <levon@movementarian.org>
773
774         * LyXAction.C: back to tabular-insert
775
776 2002-08-04  John Levon  <levon@movementarian.org>
777
778         * BufferView.h:
779         * BufferView.C: cosmetic change
780
781         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
782
783         * bufferlist.C:
784         * buffer.h:
785         * buffer.C:
786         * lyxcb.h:
787         * lyxcb.C:
788         * lyxserver.C:
789         * lyxvc.C:
790         * vc-backend.C:
791         * BufferView2.C: purge all "Lyx" not "LyX" strings
792
793         * lyxcursor.h:
794         * lyxcursor.C: attempt to add some documentation
795
796         * lyxfunc.C:
797         * commandtags.h:
798         * LyXAction.C:
799         * ToolbarDefaults.C:
800         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
801           merge with LFUN_TABULAR_INSERT
802
803         * Makefile.am:
804         * SpellBase.h:
805         * ispell.h:
806         * ispell.C:
807         * pspell.h:
808         * pspell.C: split up i/pspell implementations into separate
809           files, many cleanups
810
811         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
812
813         * text2.C: some cleanup
814
815         * lyxfunc.C: don't check for isp_command == "none" any more, it
816           didn't make any sense
817
818 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
819
820         * counters.[Ch]
821         * text2.C
822         * paragraph.[Ch]
823         * makefile.am: move counters functionality over
824         from text2.C/paragraph.[Ch] to counters.[Ch], and
825         make proper C++.
826 2002-08-02  John Levon  <levon@movementarian.org>
827
828         * buffer.C: s/lyxconvert/lyx2lyx/
829
830 2002-08-02  Angus Leeming  <leeming@lyx.org>
831
832         * lyxlex.C: revert John's change as it breaks reading of the user
833         preamble.
834
835 2002-08-02  Angus Leeming  <leeming@lyx.org>
836
837         * importer.C (Import):
838         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
839         changes due to LyXView::view() now returning a boost::shared_ptr.
840
841 2002-08-02  John Levon  <levon@movementarian.org>
842
843         * lyxlex.C: small cleanup
844
845 2002-08-02  John Levon  <levon@movementarian.org>
846
847         * text2.C (status): small cleanup, no logic change
848
849 2002-08-01  John Levon  <levon@movementarian.org>
850
851         * buffer.h:
852         * buffer.C (writeFile): don't output alerts, caller
853           handles this
854
855         * bufferlist.C:
856         * lyx_cb.C: from above
857
858         * lyxfunc.C: allow to open non-existent files
859
860 2002-07-31  John Levon  <levon@movementarian.org>
861
862         * lyxserver.C: don't let incidental errors get
863           in the way (errno)
864
865 2002-07-30  John Levon  <levon@movementarian.org>
866
867         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
868
869 2002-07-30  John Levon  <levon@movementarian.org>
870
871         * lyxserver.h:
872         * lyxserver.C: remove I/O callback too
873
874 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
875
876         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
877         log.
878
879 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
880
881         * many files: strip,frontStrip -> trim,ltrim,rtrim
882
883 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
884
885         * PrinterParams.h: remove extern containsOnly, and include
886         support/lstrings.h instead.
887
888         * LaTeX.C (scanAuxFile): modify because of strip changes
889         (deplog): ditto
890         * buffer.C (makeLaTeXFile): ditto
891         * bufferparams.C (writeFile): ditt
892         * lyxfont.C (stateText): ditto
893         * lyxserver.C (read_ready): ditto
894         * vc-backend.C (scanMaster): ditto
895
896         * BufferView_pimpl.h: ws changes
897
898         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
899
900 2002-07-26  André Pönitz <poenitz@gmx.net>
901
902         * kb_sequence.C: remove unnedred usings
903
904 2002-07-26  Juergen Vigna  <jug@sad.it>
905
906         * lyxfind.C (LyXReplace): we have to check better if the returned
907         text is not of theLockingInset()->getLockingInset().
908
909 2002-07-25  Juergen Vigna  <jug@sad.it>
910
911         * lyxfind.C (LyXReplace): don't replace if we don't get the
912         right LyXText.
913
914         * undo_funcs.C (createUndo): remove debugging code.
915
916 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
917
918         * buffer.C (parseSingleLyXformat2Token): Use default placement
919         when reading old floats.
920
921         * FloatList.C (FloatList): Change the default placement of figure
922         and tables to "tbp".
923
924 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
925
926         * MenuBackend.C: using std::max
927
928 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
929
930         * MenuBackend.C (expandToc):
931         (expandToc2): code moved from xforms menu frontend. It is now
932         generic and TOCs are transparent to menu frontends.
933
934 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
935
936         * toc.C (getTocList): protect against buf=0
937
938         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
939         Menu as first parameter. Now, this calls itself recursively to
940         expand a whole tree (this will be useful for TOC handling)
941         (expandFloatInsert): remove 'wide' version of floats
942
943         * MenuBackend.h (submenuname): returns the name of the submenu.
944         (submenu): returns the submenu itself, provided it has been
945         created by MenuBackend::expand
946
947 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
948
949         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
950         insets which have noFontChange == true. (bug #172)
951
952 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
953
954         * BufferView_pimpl.C: add connection objects and use them...
955         (Pimpl): here.
956
957 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
958
959         * MenuBackend.C (expandLastfiles):
960         (expandDocuments):
961         (expandFormats):
962         (expandFloatListInsert):
963         (expandFloatInsert):
964         (expand): split expand in parts
965
966 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
967
968         * lyx_gui.C: use lyx_gui::exit()
969
970 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
971
972         * LyXAction.C: show the failing pseudo action
973
974 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
975
976         * buffer.C (readFile): Run the lyxconvert script in order to read
977         old files.
978
979 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
980
981         * LyXAction.C:
982         * commandtags.h:
983         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
984
985 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
986
987         * LyXAction.C:
988         * commandtags.h:
989         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
990
991 2002-07-22  Herbert Voss  <voss@lyx.org>
992
993         * lengthcommon.C:
994         * lyxlength.[Ch]: add support for the vertical lengths
995
996 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
997
998         * toc.[Ch]: std:: fixes
999
1000 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1001
1002         * lyxrc.C: do not include lyx_main.h
1003
1004         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1005         for layouts
1006
1007         * lyxrc.C:
1008         * encoding.C:
1009         * bufferlist.C:
1010         * BufferView2.C: include "lyxlex.h"
1011
1012         * tabular.h:
1013         * bufferparams.h: do not #include "lyxlex.h"
1014
1015         * lyxtextclasslist.C (Add): remove method
1016         (classlist): renamed to classlist_
1017
1018         * paragraph_pimpl.C:
1019         * paragraph.C:
1020         * text2.C:
1021         * CutAndPaste.C:
1022         * bufferview_funcs.C:
1023         * bufferlist.C:
1024         * text.C:
1025         * LaTeXFeatures.C:
1026         * buffer.C:
1027         * toc.C (getTocList): use BufferParams::getLyXTextClass
1028
1029         * toc.C (getTocList): use InsetFloat::addToToc
1030
1031         * toc.[Ch]: new files, containing helper functions to handle table
1032         of contents
1033
1034         * lyxfunc.C (dispatch): no need to remove spaces around command
1035         given as a string
1036         (getStatus): handle LFUN_SEQUENCE by returning the status of the
1037         first command of the sequence; it is not very clever, but I do not
1038         have a better idea, actually
1039
1040         * LyXAction.C (LookupFunc): make sure to remove space at the
1041         beginning and end of the command
1042
1043 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1044
1045         * MenuBackend.C (getMenubar): new method: return the menubar of
1046         this menu set
1047         (read): treat differently reading of menu and menubar (in
1048         particular, the menubar has no name now)
1049         (Menu::menubar): remove
1050
1051         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
1052         saving is finished
1053
1054 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
1055
1056         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
1057         a bibitem inset in a RTL paragraph.
1058
1059 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
1060
1061         * paragraph_pimpl.C: constify
1062
1063         * BufferView_pimpl.C:
1064         * LaTeX.C:
1065         * lyxfunc.C: fix dispatch in a nicer way
1066
1067 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1068
1069         * lyxfunc.C (dispatch):
1070         * BufferView_pimpl.C:
1071         * BufferView_pimpl.h:
1072         * BufferView.C:
1073         * BufferView.h: rename Dispatch() to dispatch()
1074
1075         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
1076
1077         * lyxlayout.C (Read): honor DependsOn tag
1078
1079         * lyxlayout.[Ch] (depends_on): new method
1080
1081         * version.C.in: update lyx_docversion
1082
1083         * LaTeXFeatures.C (getMacros): only define \LyX when needed
1084
1085         * paragraph.C (validate): remove from here...
1086         * paragraph_pimpl.C (validate): ... and move here
1087         (isTextAt): make it const
1088
1089         * buffer.C (getLists): ws cleanup
1090
1091 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
1092
1093         * language.C (read): Use iso8859-1 encoding in latex_lang
1094         (this prevents LyX from crashing when using iso10646-1 encoding).
1095
1096 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1097
1098         * text2.C (toggleInset): if cursor is inside an inset, close the
1099         inset and leave cursor _after_ it
1100
1101 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
1102
1103         * lyxfunc.C: move minibuffer completion handling out of here
1104
1105 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
1106
1107         * BufferView_pimpl.C:
1108         * LaTeX.C: fix dispatch calls
1109
1110 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
1111
1112         * text.C (drawChars): Fix Arabic text rendering.
1113
1114 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
1115
1116         * LyXAction.C:
1117         * commandtags.h:
1118         * lyxfunc.C: remove message-push/pop
1119
1120         * lyxserver.C:
1121         * lyxfunc.h:
1122         * lyxfunc.C: rationalise some code by removing verboseDispatch
1123           in favour of a bool argument to dispatch()
1124
1125 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1126
1127         * lyx_main.C (init): make sure to read symlinks as absolute paths
1128
1129 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
1130
1131         * lyxfunc.h:
1132         * lyxfunc.C: no need for commandshortcut to be a member
1133
1134 2002-07-15  André Pönitz <poenitz@gmx.net>
1135
1136         * converter.C: add support for $$s (scripts from lib/scripts dir)
1137         * lyx_main.C: white space
1138
1139
1140 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
1141
1142         * bufferlist.C:
1143         * lyxrc.h:
1144         * lyxrc.C: remove second exit confirmation
1145
1146 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
1147
1148         * BufferView.h:
1149         * BufferView.C:
1150         * BufferView2.C:
1151         * BufferView_pimpl.h:
1152         * BufferView_pimpl.C:
1153         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
1154
1155 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1156
1157         * MenuBackend.C (expand): add numeric shortcuts to document menu
1158
1159         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
1160
1161 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1162
1163         * lyxfont.C (setLyXFamily):
1164         (setLyXSeries):
1165         (setLyXShape):
1166         (setLyXSize):
1167         (setLyXMisc):
1168         (lyxRead):
1169         * debug.C (value):
1170         * buffer.C (asciiParagraph): use ascii_lowercase
1171
1172 2002-07-15  Mike Fabian  <mfabian@suse.de>
1173
1174         * lyxlex_pimpl.C (search_kw):
1175         * lyxlex.C (getLongString):
1176         * converter.h (operator<):
1177         * converter.C (operator<):
1178         * buffer.C (parseSingleLyXformat2Token):
1179         (asciiParagraph):
1180         * ToolbarDefaults.C (read):
1181         * MenuBackend.C (checkShortcuts):
1182         (read):
1183         * LColor.C (getFromGUIName):
1184         (getFromLyXName): use the compare_ascii_no_case instead of
1185         compare_no_case, because in turkish, 'i' is not the lowercase
1186         version of 'I', and thus turkish locale breaks parsing of tags.
1187
1188 2002-07-16  Angus Leeming  <leeming@lyx.org>
1189
1190         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
1191         now takes a Buffer const & argument.
1192
1193 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
1194
1195         * BufferView.C (resize): check there's a buffer to resize
1196
1197 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
1198
1199         * lyxfunc.C: remove dead code
1200
1201         * lyxserver.h:
1202         * lyxserver.C: use lyx_guii::set_read_callback
1203
1204 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
1205
1206         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
1207         an inset in a RTL paragraph.
1208
1209 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
1210
1211         * lyxfunc.C: repaint after a font size update
1212
1213 2002-07-15  André Pönitz <poenitz@gmx.net>
1214
1215         * lyxlength.C: inBP should be able to return negative values
1216
1217 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
1218
1219         * lyxfunc.C: use lyx_gui::update_fonts()
1220
1221 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
1222
1223         * lyxfunc.C: use lyx_gui::update_color()
1224
1225 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
1226
1227         * bufferlist.C:
1228         * lyxfunc.h:
1229         * lyxfunc.C:
1230         * lyxrc.h:
1231         * lyxrc.C: remove file->new asks for name option, and let
1232           buffer-new take an argument
1233
1234 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
1235
1236         * BufferView_pimpl.C: remove unneeded extra repaint()
1237
1238 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
1239
1240         * LyXAction.C: allow command-sequence with NoBuffer
1241
1242         * lyxfunc.C: don't insist on trailing ';' for command-sequence
1243
1244 2002-07-10  Angus Leeming  <leeming@lyx.org>
1245
1246         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
1247
1248 2002-07-09  Angus Leeming  <leeming@lyx.org>
1249
1250         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
1251
1252 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
1253
1254         * lengthcommon.h: whitespace
1255
1256         * lyxfunc.C: update scrollbar after goto paragraph
1257
1258         * lyxtext.h: factor out page break drawing, and fix it so
1259           page break/added space paints as selected nicely
1260
1261 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
1262
1263         * BufferView_pimpl.C: add FIXMEs, clean up a little
1264
1265 2002-07-09  André Pönitz <poenitz@gmx.net>
1266
1267         * lyxfont.[Ch]: support for wasy symbols
1268
1269 2002-07-08  André Pönitz <poenitz@gmx.net>
1270
1271         * BufferView_pimpl.C: apply John's patch for #93.
1272
1273 2002-07-05  Angus Leeming  <leeming@lyx.org>
1274
1275         * BufferView_pimpl.C (buffer): generate previews if desired.
1276
1277         * LColor.h: add "preview" to the color enum.
1278
1279         * LColor.C (LColor): add a corresponding entry to the items array.
1280
1281         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
1282         with this buffer.
1283
1284 2002-07-05  Angus Leeming  <leeming@lyx.org>
1285
1286         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
1287         The body of the code is now in the method that is passed an ostream &
1288         rather than a file name.
1289         Pass an additional only_preamble parameter, useful for the forthcoming
1290         preview stuff.
1291
1292 2002-07-03  André Pönitz <poenitz@gmx.net>
1293
1294         * lyxfunc.C: simplify getStatus() a bit for math stuff
1295
1296 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1297
1298         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
1299
1300 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1301
1302         * text.C (changeRegionCase): do not change case of all the
1303         document when region ends at paragraph end (bug #461)
1304
1305 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1306
1307         * paragraph.C (startTeXParParams):
1308         (endTeXParParams): add \protect when necessary
1309
1310 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1311
1312         * BufferView_pimpl.C (workAreaExpose): remove warning
1313
1314 2002-06-27  Angus Leeming  <leeming@lyx.org>
1315
1316         * Makefile.am: add lyxlayout_ptr_fwd.h.
1317
1318 2002-06-26  André Pönitz <poenitz@gmx.net>
1319
1320         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
1321
1322 2002-06-25  Angus Leeming  <leeming@lyx.org>
1323
1324         * lyxfunc.C (dispatch): Comment out the call to
1325         grfx::GCache::changeDisplay. The method no longer exists now that the
1326         pixmap generation part of the graphics loader has been moved into
1327         InsetGraphics.
1328
1329 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1330
1331         * text2.C: layout as layout
1332
1333         * text.C: layout as layout
1334
1335         * tabular.C (OldFormatRead): layout as layout
1336
1337         * paragraph_pimpl.C (TeXDeeper): layout as layout
1338         (realizeFont): layout as layout
1339
1340         * paragraph.C (writeFile): layout as layout
1341         (validate): layout as layout
1342         (getFont): layout as layout
1343         (getLabelFont): layout as layout
1344         (getLayoutFont): layout as layout
1345         (breakParagraph): layout as layout
1346         (stripLeadingSpaces): layout as layout
1347         (getEndLabel): layout as layout
1348         (getMaxDepthAfter): layout as layout
1349         (applyLayout): layout as layout
1350         (TeXOnePar): layout as layout
1351         (simpleTeXOnePar): layout as layout
1352         (TeXEnvironment): layout as layout
1353         (layout): layout as layout
1354         (layout): layout as layout
1355
1356         * lyxtextclass.C (compare_name): new functor to work with
1357         shared_ptr, layout as layout
1358         (Read): layout as layout
1359         (hasLayout): layout as layout
1360         (operator): layout as layout
1361         (delete_layout): layout as layout
1362         (defaultLayout): layout as layout
1363
1364         * lyxlayout_ptr_fwd.h: new file
1365
1366         * lyxlayout.C (Read): layout as layout
1367
1368         * lyx_cb.C (MenuInsertLabel): layout as layout
1369
1370         * bufferlist.C (newFile): layout as layout
1371
1372         * buffer.C (readLyXformat2): layout as layout
1373         (parseSingleLyXformat2Token): layout as layout
1374         (insertStringAsLines): layout as layout
1375         (asciiParagraph): layout as layout
1376         (latexParagraphs): layout as layout
1377         (makeLinuxDocFile): layout as layout
1378         (simpleLinuxDocOnePar): layout as layout
1379         (makeDocBookFile): layout as layout
1380         (simpleDocBookOnePar): layout as layout
1381         (getLists): layout as layout
1382
1383         * LaTeXFeatures.C (getTClassPreamble): layout as layout
1384
1385         * CutAndPaste.C (cutSelection): layout as layout
1386         (pasteSelection): layout as layout
1387         (SwitchLayoutsBetweenClasses): layout as layout
1388
1389         * BufferView_pimpl.C (Dispatch): layout as layout
1390         (smartQuote): layout as layout
1391
1392         * BufferView2.C (unlockInset): layout as layout
1393
1394 2002-06-24  André Pönitz <poenitz@gmx.net>
1395
1396         * lyxfunc.C: fix #487
1397
1398 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
1399
1400         * lyxrc.h:
1401         * lyxrc.C:
1402         * lyxfunc.C: remove display_shortcuts, show_banner
1403
1404 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
1405
1406         * Buffer_pimpl.C: oops, update on resize
1407
1408 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
1409
1410         * buffer.C:
1411         * converter.C:
1412         * exporter.C:
1413         * lyxfunc.C:
1414         * BufferView.h:
1415         * BufferView.C: use repaint()
1416
1417         * BufferView_pimpl.h:
1418         * BufferView_pimpl.C: s/updateScreen()/repaint()/
1419           as it's a clearer description. Remove superfluous
1420           redraws.
1421
1422 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
1423
1424         * text.C: fix bug 488. Not ideal, but getting
1425           getWord() to work properly for the insets that
1426           matter is more difficult ...
1427
1428 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
1429
1430         * BufferView_pimpl.C:
1431         * LyXAction.C:
1432         * commandtags.h:
1433         * lyxfunc.C: remove the six million index lyxfuncs to just
1434           one, and DTRT (bug 458)
1435
1436 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
1437
1438         * BufferView.h:
1439         * BufferView.C:
1440         * BufferView_pimpl.h:
1441         * BufferView_pimpl.C: clean up resize() stuff,
1442           and unnecessary updateScreen()s
1443
1444 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
1445
1446         * BufferView.h:
1447         * BufferView.C:
1448         * BufferView_pimpl.h:
1449         * BufferView_pimpl.C:
1450         * lyxfind.h:
1451         * lyxfind.C:
1452         * minibuffer.C: remove focus management of workarea,
1453           not needed. Use screen's greyOut()
1454
1455 2002-06-17  Herbert Voss  <voss@lyx.org>
1456
1457         * converter.C: (convert) do not post a message, when converting
1458         fails, let the calling function decide what to do in this case
1459
1460 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
1461
1462         * lyxfunc.C: tidy up a little
1463
1464 2002-06-16    <alstrup@diku.dk>
1465
1466         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
1467         Got rid of FORMS_H_LOCATION include. Now we are
1468         GUII.
1469
1470 2002-06-15  LyX Development team  <lyx@rilke>
1471
1472         * buffer.[Ch] (sgmlOpenTag):
1473         (sgmlCloseTag): Added support for avoiding pernicious mixed
1474         content. Return number of lines written.
1475
1476         (makeLinuxDocFile):
1477         (makeDocBookFile): Fixed calls to sgml*Tag.
1478         Simple white space clean.
1479
1480         (simpleDocBookOnePar): Simple white space clean.
1481
1482         * tabular.[Ch] (docBook): Renamed to docbook and got another
1483         argument to related with the pernicious mixed content.
1484
1485         (docbookRow): Fixed calls for docbook inset method.
1486
1487 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
1488
1489         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
1490         so it's X11 independent.
1491
1492         * kb*.[Ch]: ditto.
1493
1494         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
1495
1496 2002-06-15  Lyx Development team  <lyx@electronia>
1497
1498         * intl.h: Renamed getTrans to getTransManager.
1499
1500 2002-06-14  Angus Leeming  <leeming@lyx.org>
1501
1502         * Makefile.am: nuke forgotten stl_string_fwd.h.
1503
1504 2002-06-12  Angus Leeming  <leeming@lyx.org>
1505
1506         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
1507
1508 2002-06-13  Angus Leeming  <leeming@lyx.org>
1509
1510         * LaTeX.C:
1511         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
1512
1513 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
1514
1515         * kbmap.C (getiso): add support for cyrillic and greek
1516
1517 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1518
1519         * BufferView.h:
1520         * BufferView.C:
1521         * BufferView_pimpl.h:
1522         * BufferView_pimpl.C: move bogus scrolling logic
1523           to xforms
1524
1525 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1526
1527         * lyxfunc.C:
1528         * BufferView_pimpl.C: view->resize() change
1529
1530 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1531
1532         * BufferView_pimpl.C: topCursorVisible
1533           prototype change
1534
1535 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1536
1537         * Makefile.am:
1538         * lyx_gui.h:
1539         * lyx_gui.C: move to frontends/
1540
1541         * main.C:
1542         * lyx_main.h:
1543         * lyx_main.C: changes from above
1544
1545 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1546
1547         * intl.C:
1548         * intl.h:
1549         * kbmap.C:
1550         * kbsequence.C:
1551         * lyx_cb.C:
1552         * lyx_main.C: minor tidy
1553
1554 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1555
1556         * BufferView_pimpl.h:
1557         * BufferView_pimpl.C:
1558         * BufferView.h:
1559         * BufferView.C: make painter() const,
1560           remove dead code
1561
1562         * BufferView2.C: use screen() accessor
1563
1564         * lyx_main.h:
1565         * lyx_main.C: some minor cleanup
1566
1567 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1568
1569         * BufferView_pimpl.h:
1570         * BufferView_pimpl.C: remove enter/leaveView,
1571           use workHeight()
1572
1573 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1574
1575         * BufferView.h:
1576         * BufferView.C:
1577         * BufferView2.C:
1578         * BufferView_pimpl.h:
1579         * BufferView_pimpl.C: only construct screen once,
1580           rename
1581
1582         * lyxrc.C: remove pointless comment
1583
1584 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
1585
1586         * BufferView.h:
1587         * BufferView.C: remove active() and belowMouse()
1588
1589         * BufferView_pimpl.h:
1590         * BufferView_pimpl.C: use workarea() not workarea_,
1591           and make it use a scoped_ptr instead
1592
1593 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
1594
1595         * lyx_gui.C: add debug message on BadWindow
1596
1597 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1598
1599         * sp_spell.C: fdopen is not part of the C++ standard.
1600
1601         * paragraph.C (InsetIterator): use >= instead of ==
1602
1603 2002-06-07  Angus Leeming  <leeming@lyx.org>
1604
1605         Fixes needed to compile with Compaq cxx 6.5.
1606         * BufferView_pimpl.C:
1607         * DepTable.C:
1608         * buffer.C:
1609         * converter.C:
1610         * encoding.C:
1611         * lyx_gui.C:
1612         * lyx_main.C:
1613         * lyxtextclasslist.C:
1614         * minibuffer.C:
1615         * sp_spell.C:
1616         * tabular_funcs.C:
1617         * vc-backend.C:
1618         all c-library variables have been moved into namespace std. Wrap
1619         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1620
1621         * lyxlength.C:
1622         * tabular-old.C:
1623         * tabular.C:
1624         Add a using std::abs declaration.
1625
1626         * kbmap.h (modifier_pair):
1627         * paragraph.h (InsetTable, InsetList):
1628         * lyxfont.h (FontBits):
1629         type definition made public.
1630
1631         * bufferlist.C (emergencyWriteAll): the compiler complains that
1632         there is more than one possible lyx::class_fun template to choose from.
1633         I re-named the void specialisation as lyx::void_class_fun.
1634
1635         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
1636
1637         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
1638         the compiler is is unable to find tostr in write_attribute.
1639
1640 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1641
1642         * buffer.C (sgmlError): hide #warning
1643
1644 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1645
1646         * xtl/*: get rid of xtl, which is not in use anyway
1647
1648         * LyXAction.C (init):
1649         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
1650         were unimplemented xtl experimentation
1651
1652 2002-06-04  André Pönitz <poenitz@gmx.net>
1653
1654         * lyxfunc.C: disable array operation on simple formulae
1655
1656 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
1657
1658         * converter.C: constify a bit
1659
1660 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
1661
1662         * lyx_gui.C: check xforms version correctly
1663
1664 2002-04-30  Herbert Voss  <voss@lyx.org>
1665
1666         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
1667         "keep" option
1668
1669 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
1670
1671         * lyxvc.C: fix bug 416 (make sure buffer is saved before
1672           attempt to register it with a VCS)
1673
1674 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1675
1676         * lyx_main.C (init): honor variables LYX_DIR_13x and
1677         LYX_USERDIR_13x
1678
1679 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
1680
1681         * buffer.h:
1682         * buffer.C:
1683         * lyx_main.C: fix a crash on bad command line,
1684           and give a useful exit status on error
1685
1686         * lyxfunc.C (doImport): allow -i lyx to work
1687
1688 2002-03-30  André Pönitz <poenitz@gmx.net>
1689
1690         * lyxfunc.C: mathed font changes
1691
1692 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
1693
1694         * LaTeX.C:
1695         * importer.h:
1696         * importer.C:
1697         * lyx_sty.h:
1698         * lyx_sty.C:
1699         * lyxlex.C:
1700         * lyxrow.h:
1701         * lyxtext.h:
1702         * paragraph.h:
1703         * paragraph.C:
1704         * texrow.h:
1705         * texrow.C:
1706         * text.C:
1707         * trans_mgr.h: srcdocs, and some minor cleanups
1708
1709 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1710
1711         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
1712         call getFont all the time)
1713
1714 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1715
1716         * switch from SigC signals to boost::signals
1717
1718 2002-05-29  André Pönitz <poenitz@gmx.net>
1719
1720         * paragraph_pimpl.C (getChar): don't call size() too often...
1721
1722 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1723
1724         * paragraph_pimpl.C (insertChar): do not try to update tables when
1725         appending (pos == size())
1726
1727         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
1728         in order to reduce drastically the number of comparisons needed to
1729         parse a large document
1730
1731 2002-05-29  André Pönitz <poenitz@gmx.net>
1732
1733         * text.C:
1734         * text2.C:
1735         * lyxtextclass.C:
1736         * sp_pspell.h:
1737         * textclasslist.[Ch]:
1738         * sp_ispell.h: whitespace change
1739
1740 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1741
1742         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
1743         lyxaction directly now.
1744
1745 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
1746
1747         * trans.C:
1748         * lyxfont.C:
1749         * lyxvc.C: remove unused headers
1750
1751 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
1752
1753         * Makefile.am:
1754         * buffer.h:
1755         * undostack.h:
1756         * undostack.C:
1757         * undo_funcs.h:
1758         * undo_funcs.C: some cleanups. Use shared_ptr
1759           and a template for the undo stacks.
1760
1761 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
1762
1763         * BufferView_pimpl.h:
1764         * BufferView_pimpl.C:
1765         * kbmap.h:
1766         * kbmap.C:
1767         * kbsequence.h:
1768         * kbsequence.C:
1769         * lyxfunc.h:
1770         * lyxfunc.C:
1771         * text2.C: use key_state/mouse_state
1772
1773 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1774
1775         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
1776         and LSubstring
1777
1778         * chset.C: change include order
1779         (loadFile): use boost regex and get rid of LRegex and LSubstring
1780
1781         * Makefile.am (BOOST_LIBS): new variable
1782         (lyx_LDADD): use it
1783
1784         * LaTeX.C: change include order.
1785         (scanAuxFile): use boost regex and get rid of LRegex and
1786         LSubstring
1787         (deplog): ditto
1788
1789 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
1790
1791         * ColorHandler.h:
1792         * ColorHandler.C:
1793         * FontInfo.h:
1794         * FontInfo.C: moved to frontends/xforms/
1795
1796         * FontLoader.h:
1797         * FontLoader.C: moved into frontends for GUIIzation
1798
1799         * Makefile.am:
1800         * lyx_gui.C:
1801         * lyxfont.C:
1802         * lyxfunc.C: changes from above
1803
1804 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
1805
1806         * LColor.C: remove spurious X include
1807
1808         * BufferView_pimpl.C:
1809         * Makefile.am:
1810         * font.h:
1811         * font.C:
1812         * text.C:
1813         * text2.C: move font metrics to frontends/
1814
1815 2002-05-24  Juergen Vigna  <jug@sad.it>
1816
1817         * undo_funcs.C (textHandleUndo): fix the cursor selection after
1818         setting the undo_cursor.
1819
1820         * ParagraphParameters.h: include local includes first.
1821
1822 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1823
1824         * BufferView_pimpl.C:
1825         * BufferView_pimpl.h:
1826         * Makefile.am:
1827         * WorkArea.h:
1828         * WorkArea.C:
1829         * screen.C: move WorkArea into frontends/
1830
1831         * lyxscreen.h:
1832         * screen.C:
1833         * text.C:
1834         * BufferView.C:
1835         * BufferView2.C: move LyXScreen into frontends/
1836
1837         * lyxlookup.h:
1838         * lyxlookup.C:
1839         * lyx_gui.C: move lyxlookup into frontends/xforms/
1840
1841 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1842
1843         * BufferView2.C:
1844         * BufferView_pimpl.C:
1845         * FontLoader.C:
1846         * LyXView.h:
1847         * LyXView.C:
1848         * Makefile.am:
1849         * WorkArea.C:
1850         * XFormsView.h:
1851         * XFormsView.C:
1852         * buffer.C:
1853         * bufferlist.C:
1854         * bufferview_funcs.C:
1855         * converter.C:
1856         * importer.C:
1857         * lyx_cb.C:
1858         * lyx_gui.C:
1859         * lyx_main.C:
1860         * lyx_find.C:
1861         * lyxfunc.C:
1862         * lyxvc.C:
1863         * minibuffer.C:
1864         * text.C:
1865         * text2.C:
1866         * trans.C:
1867         * vc-backend.C: move LyX/XFormsView into frontends/
1868
1869 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1870
1871         * Makefile.am:
1872         * PainterBase.C:
1873         * PainterBase.h:
1874         * Painter.C:
1875         * Painter.h:
1876         * WorkArea.C:
1877         * WorkArea.h:
1878         * screen.C:
1879         * tabular.C:
1880         * text.C:
1881         * text2.C: move Painter to frontends/
1882
1883 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1884
1885         * buffer.C: comment out some some code that depend upon lyx_format
1886         < 220
1887
1888         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
1889         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
1890
1891         * buffer.h (NO_COMPABILITY): turn off compability
1892
1893         * ColorHandler.C: include scoped_array.hpp
1894
1895         * font.C: Use more specific smart_ptr header.
1896         * Painter.C: ditto
1897         * gettext.C: ditto
1898         * ShareContainer.h: ditto
1899         * lyx_main.h: ditto
1900         * kbmap.h: ditto
1901         * FontInfo.h: ditto
1902         * BufferView_pimpl.h: ditto
1903         * ColorHandler.h: ditto
1904
1905         * kbmap.C (defkey): change call to shared_ptr::reset
1906
1907 2002-05-21  Juergen Vigna  <jug@sad.it>
1908
1909         * buffer.C (insertErtContents): fix to insert ert asis if it is
1910         non empty. Skip it completely if it contains only whitespaces.
1911
1912 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
1913
1914         * BufferView_pimpl.C:
1915         * BufferView2.C: clear selection on paste (bug 393)
1916
1917 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1918
1919         * DepTable.C: include ctime
1920
1921 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
1922
1923         * buffer.C (latexParagraphs): Add new argument (moving_arg).
1924
1925 2002-05-14  Juergen Vigna  <jug@sad.it>
1926
1927         * text.C (breakParagraph): fixed function to honor the keepempty
1928         layout in the right maner and also to permit the right breaking
1929         algorithm on empty or non empyt keepempty paragraphs.
1930
1931         * paragraph.C (breakParagraph): we have to check also if the par
1932         is really empty (!size()) for isempty otherwise we do the wrong
1933         paragraph break.
1934
1935 2002-05-10  Juergen Vigna  <jug@sad.it>
1936
1937         * buffer.[Ch] : The following are only changes to the ert
1938         compatibility read reading old LaTeX layout and font stuff and
1939         convert it to ERTInsets.
1940
1941         * buffer.h: added isErtInset().
1942
1943         * buffer.C (struct ErtComp): add a fromlayout bool to check
1944         if we're inside a LaTeX layout.
1945         (isErtInset): new helper function.
1946         (insertErtContents): look for other ert insets before this one
1947         and insert the contents there, so that we don't have subsequent
1948         ERT insets with nothing between them. This way we create only one
1949         inset with multiple paragraphs. Also check if we don't insert only
1950         spaces ' ' as they are ignored anyway afterwards in the .tex file
1951         so if we have only spaces we will ignore this latex part in the
1952         new file.
1953         (parseSingleLyXformat2Token \\layout): better compatibility when
1954         reading layout-latex stuff.
1955         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
1956         language tag.
1957         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
1958         stuff after reading the inset only get the information back from
1959         the stack.
1960
1961 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
1962
1963         * buffer.C (makeLaTeXFile): Put language options after loading babel.
1964
1965         * LaTeXFeatures.C (getBabelOptions): New method.
1966
1967 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1968
1969         * BufferView_pimpl.C (Dispatch): work around missing argument for
1970         'layout'
1971
1972 2002-05-08  Juergen Vigna  <jug@sad.it>
1973
1974         * text.C (leftMargin): handle paragraph leftindent.
1975
1976         * paragraph.C (writeFile): write the new \\leftindent tag.
1977         (validate): handle leftindent code.
1978         (TeXEnvironment): handle paragraphleftindent code again.
1979
1980         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
1981
1982         * buffer.C (parseSingleLyXformat2Token): added compatibility code
1983         for paragrap_extra indent code and new token \\leftindent.
1984         (latexParagraphs): handle the leftindent as environment.
1985
1986         * ParameterStruct.h: added leftindent support.
1987
1988         * ParagraphParameters.C (leftIndent): added support functions for
1989         the paragraph left indent.
1990
1991         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
1992         more appropriate.
1993
1994 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
1995
1996         * paragraph.C (isRightToLeftPar): Return false for a paragraph
1997         inside insetERT.
1998
1999         * text.C (computeBidiTables): No bidi in insetERT.
2000
2001         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2002         in RTL documents.
2003
2004 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2005
2006         * version.C.in: pre 5
2007
2008 2002-05-02  José Matos  <jamatos@fep.up.pt>
2009         * buffer.C (makeDocBookFile): white space changes, add newline to
2010         command styles.
2011         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2012
2013         * tabular.C (docBook): fix typo.
2014
2015 2002-05-03  Juergen Vigna  <jug@sad.it>
2016
2017         * screen.C (drawFromTo): recalculate the rowpointer if we had a
2018         change in LyXText as we can not be sure it was not freed.
2019         (drawOneRow): remove unused code.
2020
2021         * text.C (drawInset): redo the calculation of the need_break_row as
2022         it could have a row which was already freed.
2023         (draw): look at the return value of drawInset and return false if
2024         it also returned false.
2025         (paintRowText): look at the return value of draw and return false if
2026         it also returned false.
2027
2028         * lyxtext.h: added bool return type to drawInset() and draw() so that
2029         if we have a change in the row so that the rowbreak has to be redone
2030         we abort drawing as it will be called again.
2031
2032 2002-05-02  Juergen Vigna  <jug@sad.it>
2033
2034         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2035         a change in the maintext also if we're inside an inset.
2036         (Dispatch): set the cursor again after a break line and after the
2037         screen has been updated as it could be we're in a different row.
2038
2039         * text2.C (fixCursorAfterDelete): check to make sure we don't request
2040         to set the cursor behind the pargraph with > size().
2041         (setCursor): check also for the same paragraph when checking where
2042         to put the cursor if we have a NFR inset.
2043
2044         * buffer.C (parseSingleLyXformat2Token): move the compatibility
2045         parts of layout read further up as it still was in the wrong
2046         position.
2047
2048 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2049
2050         * screen.C (drawFromTo): change sine fullRebreak always return
2051         true.
2052
2053         * buffer.C (parseSingleLyXformat2Token): reindent some
2054
2055         * BufferView_pimpl.C (update): change since fullRebreak always
2056         return true.
2057         (Dispatch): git rid of the last hardcoded "Standard"s.
2058
2059 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2060
2061         * text2.[Ch] (fullRebreak): make it return void now that we always
2062         returned true.
2063
2064 2002-04-30  Juergen Vigna  <jug@sad.it>
2065
2066         * buffer.C (parseSingleLyXformat2Token): reset the font before the
2067         ert compatibility check for "latex" layout.
2068
2069 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
2070
2071         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
2072         minipages: use col% instead of p%, and also use the current font.
2073         (makeLaTeXFile): Fix use babel condition.
2074         (parseSingleLyXformat2Token): Correct font when reading old floats.
2075
2076 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
2077
2078         * BufferView_pimpl.C (Dispatch): Check that float type exists when
2079         inserting list of floats.
2080
2081 2002-04-25  Herbert Voss  <voss@lyx.org>
2082
2083         * MenuBackend.C (expand): don't add the graphics extensions to the
2084         export menu
2085
2086 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2087
2088         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
2089         non-existing layout, do not complain if it was the default layout
2090         of the original class (bug #342)
2091
2092 2002-04-24  Juergen Vigna  <jug@sad.it>
2093
2094         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
2095         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
2096
2097 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
2098
2099         * buffer.C (getBibkeyList): If using \bibliography, return the
2100         option field with the reference itself. Enables us to provide natbib
2101         support when using \bibliography.
2102
2103 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
2104
2105         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
2106
2107         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
2108         natbib is provided by the LaTeX class.
2109
2110 2002-04-23  Juergen Vigna  <jug@sad.it>
2111
2112         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
2113         Wakeup functions.
2114
2115         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
2116
2117 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2118
2119         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
2120
2121         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
2122         ensuremath around textordmasculine, textordfeminine and
2123         textdegree.
2124
2125 2002-04-19  Juergen Vigna  <jug@sad.it>
2126
2127         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
2128         reinitializing the buffer otherwise row-dimensions may be wrong.
2129         (update): reset also the selection cursors if they do exits otherwise
2130         their x/y positions may be wrong.
2131
2132         * text2.C (cursorDown): don't enter the inset if we came from a row
2133         above and are one row over the inset.
2134
2135         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
2136         really leaving an inset.
2137
2138 2002-04-18  Juergen Vigna  <jug@sad.it>
2139
2140         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
2141         of the selected paragraph does not have the selected layout also if
2142         the last one had!
2143
2144         * text2.C (setLayout): fixed bug which did not change last selected
2145         paragraph.
2146
2147         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
2148         changed the read and substituted \\end_float with \\end_inset!
2149
2150         * BufferView_pimpl.C (cursorPrevious):
2151         (cursorNext): fixed to make it work with rows heigher than the work
2152         area without moving the cursor only the draw of the row.
2153         (workAreaMotionNotify): fix jumping over high rows.
2154
2155 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2156
2157         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
2158         Ressler.
2159
2160 2002-04-16  Juergen Vigna  <jug@sad.it>
2161
2162         * text2.C (setCursor): set also the irow().
2163         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
2164         (cursorUp):
2165         (cursorDown): support for locking an inset if the x_fix value goes
2166         inside it. That way I can transverse insets too with cursor up/down.
2167
2168         * lyxrow.h: added irow helper function same as other (i) functions.
2169
2170         * BufferView_pimpl.C (cursorPrevious):
2171         (cursorNext): fixed for insets!
2172
2173 2002-04-15  Juergen Vigna  <jug@sad.it>
2174
2175         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
2176         position otherwise it is wrong in some cases.
2177
2178         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
2179         inside the inset before the call.
2180
2181 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
2182
2183         * buffer.[Ch] (getBibkeyList): make it const.
2184
2185 2002-04-12  Juergen Vigna  <jug@sad.it>
2186
2187         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
2188
2189         * text2.C (getCursorX): new helper function
2190         (setCursor): compute also ix_
2191         (setCursorFromCoordinates): set also ix.
2192
2193         * lyxcursor.h: added ix_ and helper functions.
2194
2195         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
2196
2197         * buffer.C (insertStringAsLines): dont break paragraph if the this
2198         paragraph is inside an inset which does not permit it!
2199
2200         * text.C (breakParagraph): honor keepempty flag and break the paragraph
2201         also with no chars on this paragraph.
2202         (paintRowText): only paint stuff if it's inside the workarea!
2203
2204         * paragraph.C (breakParagraph): honor keepempty flag and break the
2205         paragraph always below not above.
2206
2207         * BufferView2.C (unlockInset): update the paragraph layout on inset
2208         unlock as we changed paragraph in such a case.
2209
2210         * lyxfind.C (LyXFind): clear the former selection if not found!
2211
2212         * text2.C (insertInset): freeze Undo after setUndo so that it is not
2213         again called in insertChar().
2214
2215         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
2216         an inset which uses the whole row!
2217         (rightMargin): ditto.
2218         (insertChar): force a rebreak if we inserted an inset!
2219
2220 2002-03-28  Herbert Voss  <voss@lyx.org>
2221
2222         * lyxlength.[Ch]: add inBP() to get the right PS-point
2223         units (BigPoint). With inPixels we have rounding errors
2224
2225 2002-04-11  Juergen Vigna  <jug@sad.it>
2226
2227         * text2.C (setCursorFromCoordinates): set iy to the right value.
2228         (setCursor): add check if row->previous exists!
2229
2230         * buffer.C (parseSingleLyXformat2Token): reset font after read of
2231         an old float_type as this was the case in the old code!
2232
2233         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
2234
2235         * BufferView2.C (showLockedInsetCursor): use iy
2236         (fitLockedInsetCursor): ditto
2237
2238         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
2239         locked insets as there we have the right value now.
2240
2241         * lyxcursor.C: added iy_ variable and iy functions to set to the
2242         baseline of cursor-y of the locked inset.
2243
2244         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
2245         (setCursor): fixed for insets which need a full row.
2246
2247         * text.C (rowLastPrintable): don't ignore the last space when before
2248         an inset which needs a full row.
2249         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
2250         as last character of a row when before a inset which needs a full row.
2251
2252 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2253
2254         * version.C.in: update date
2255
2256         * text2.C (fullRebreak): try to always return true and see what
2257         happens...
2258
2259 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2260
2261         * MenuBackend.C (expand): use Floating::listName
2262
2263         * FloatList.C (FloatList): add listName argument to the built-in
2264         floats
2265
2266         * Floating.[Ch]: add listName member, which is the 'List of XXX'
2267         text associated with the float.
2268
2269 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2270
2271         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
2272
2273 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2274
2275         * ShareContainer.h: add a couple of missing typenames.
2276
2277 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
2278
2279         * lyxrc.C (getDescription): use _() correctly rather than N_().
2280
2281 2002-03-28  Herbert Voss  <voss@lyx.org>
2282
2283         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
2284         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
2285
2286 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2287
2288         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
2289         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
2290
2291 2002-03-29  Juergen Vigna  <jug@sad.it>
2292
2293         * lyxfunc.C (dispatch): add a missing fitCursor call.
2294
2295         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
2296         it was scrolled by a cursor move, so return the bool status.
2297
2298         * BufferView.C (fitCursor): return the bool flag also to the outside
2299         world as this is needed.
2300
2301         * screen.C (toggleToggle): don't subtract the offset if it's positive.
2302
2303         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
2304         call the edit() as it is not needed (and wrong) IMO.
2305         (workAreaButtonPress): set the screen_first variable before evt.
2306         unlock the inset as this may change screen_first and then we have
2307         a wrong y position for the click!
2308
2309 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2310
2311         * MenuBackend.C (expand): another translation that I missed
2312
2313 2002-03-28  Juergen Vigna  <jug@sad.it>
2314
2315         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
2316
2317         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
2318
2319 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2320
2321         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
2322
2323         * MenuBackend.C (expand): fix export/view/update when there is no
2324         document open.
2325
2326 2002-03-27  Herbert Voss  <voss@lyx.org>
2327
2328         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
2329         and text%
2330
2331 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2332
2333         * bufferview_funcs.C (currentState): only show paragraph number
2334         for is DEVEL_VERSION is set.
2335
2336         * lyxfunc.C (dispatch): put warning in INFO channel
2337
2338         * MenuBackend.C (expand): translate the name of floats
2339
2340         * FloatList.C (FloatList): mark the float names for translation
2341
2342         * converter.C (convert): use LibScriptSearch
2343
2344 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2345
2346         * MenuBackend.C (defaults): fix default menu (we might as well get
2347         rid of it...)
2348
2349 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2350
2351         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
2352         directory.
2353
2354 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2355
2356         * lyxvc.C: reorder includes.
2357
2358 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
2359
2360         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
2361           properly
2362
2363 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
2364
2365         * CutAndPaste.C: change layouts earlier on paste
2366           to avoid crashing when calling getFont()
2367
2368 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
2369
2370         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
2371         irritating #error.
2372
2373 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2374
2375         * WorkArea.C: remove 'Pending' debug message.
2376
2377         * most files: ws cleanup
2378
2379         * buffer.[Ch]: ws changes
2380
2381         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
2382
2383 2002-03-21  Juergen Vigna  <jug@sad.it>
2384
2385         * tabular.C (SetMultiColumn): collapse also the contents of the
2386         cells and set the last border right. Added a Buffer const * param.
2387
2388 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2389
2390         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
2391         linking or not.
2392
2393 2002-03-19  Juergen Vigna  <jug@sad.it>
2394
2395         * text2.C (clearSelection): reset also xsel_cache.
2396
2397         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
2398         where it needs to be called (John tells us to do so too :)
2399         (selectionLost): reset sel_cache.
2400
2401         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
2402
2403 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2404
2405         * text2.C (setCursorIntern): put debuging code in INSETS channel
2406
2407 2002-03-19  André Pönitz <poenitz@gmx.net>
2408
2409         * lyxfunc.C: tiny whitespace change
2410
2411 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2412
2413         * ToolbarDefaults.C (init):
2414         * LyXAction.C (init):
2415         * commandtags.h:
2416         * BufferView_pimpl.C (Dispatch):
2417         * lyxfunc.C (dispatch): remove LFUN_DEPTH
2418
2419 2002-03-19  Allan Rae  <rae@lyx.org>
2420
2421         * exporter.C (Export): removeAutoInsets before doing anything else.
2422         While I've just introduced a dependency on BufferView this really is
2423         the best place to clean the buffer otherwise you need to cleanup in
2424         a dozen places before calling export or cleanup in a dozen functions
2425         that export calls.
2426
2427         * converter.C (runLaTeX):
2428         (scanLog): Better handling of removeAutoInsets and screen updates.
2429
2430         * lyxfunc.C (dispatch): small whitespace changes
2431
2432 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2433
2434         * WorkArea.C (C_WorkAreaEvent): return a value.
2435         (event_cb): return 1 if we handled the event, 0 otherwise.
2436
2437         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
2438
2439 2002-03-18  Juergen Vigna  <jug@sad.it>
2440
2441         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
2442         (GetAdditionalWidth): ditto.
2443         (RightLine): ditto.
2444         (LeftLine): ditto.
2445
2446         * BufferView2.C (copy): use getLyXText() so that we do it inside an
2447         inset if we're there actually (probably not used right now but this
2448         is the direction to go for unifying code).
2449         (paste): disable code to clear the selection.
2450
2451         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
2452         inside an InsetText and move the check further up as it is in the
2453         wrong place.
2454
2455         * text2.C (pasteSelection): set a selection over the pasted text.
2456
2457 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
2458
2459         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
2460         and libgraphics to build on Cygwin.
2461
2462 2002-03-15  Juergen Vigna  <jug@sad.it>
2463
2464         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
2465         inserting an Inset into the paragraph. I know this is not the best
2466         fix but we already use current_view in CutAndPaste so we will remove
2467         all of it's using at the same time.
2468
2469         * buffer.C (sgmlError): deactivated function till it is rewritten in
2470         the right mode, now it can create problems.
2471
2472         * paragraph.C (isLineSeparator): check if getInset returns != 0,
2473         before accessing it.
2474
2475 2002-03-14  Juergen Vigna  <jug@sad.it>
2476
2477         * undo_funcs.C (textHandleUndo): do the right thing when updating
2478         the inset after the undo/redo.
2479
2480         * text2.C (setCursor): just some testcode for #44 not ready yet.
2481
2482         * undo_funcs.C (textHandleUndo): set the next() and previous()
2483         pointers of the paragraph to 0 before deleting otherwise we have
2484         problems with the Paragraph::[destructor].
2485
2486         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
2487         on a paragraph insertion.
2488
2489 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2490
2491         * buffer.C (asciiParagraph): use += operator for char append to
2492         string.
2493
2494         * paragraph.C (getFontSettings): compare >= not just >
2495         (highestFontInRange): ditto
2496         (setFont): ditto
2497
2498 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2499
2500         * paragraph.C: change several algorithm to be more appripriate for
2501         the problem domain. This is lookip in FontList and in the InsetList.
2502
2503 2002-03-13  André Pönitz <poenitz@gmx.net>
2504
2505         * commandtags.h:
2506         * LyXAction.C: remove unused LFUN_MATH_MACROARG
2507
2508 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
2509
2510         * commandtags.h:
2511         * LyXAction.C:
2512         * lyxfunc.C:
2513         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
2514
2515 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2516
2517         * Painter.C (display): anon helper function, adjust code for this
2518         change.
2519         (pixmap): remove function.
2520
2521         * Painter.h: remove private display variable.
2522
2523         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
2524
2525 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
2526
2527         * WorkArea.[Ch]: remove figinset_canvas cruft.
2528
2529 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2530
2531         * lyxtextclass.C (operator): add one item cache optimization.
2532
2533         * bufferlist.h: doxy changes
2534
2535         * bufferlist.C: ws changes
2536
2537         * DepTable.[Ch] (ext_exist): place const in the right spot.
2538
2539         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
2540         call resizeInsets.
2541         (workAreaExpose): call resizeInsets when the with BufferView changes.
2542         (Dispatch): adjust for protectedBlank removal
2543         (specialChar): call updateInset if the insert went ok.
2544
2545         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
2546         specialChar instead.
2547
2548         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
2549
2550         * BufferView.h: doxy change
2551
2552         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
2553
2554         * lyxtextclass.C (operator[]): remove non-const version
2555         (defaultLayout): remove non-const version
2556
2557 2002-03-12  Juergen Vigna  <jug@sad.it>
2558
2559         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
2560         did resize the LyXText too.
2561
2562         * buffer.C (readLyXformat2): set layout information on newly allocated
2563         paragraphs.
2564
2565         * tabular.C (OldFormatRead): set layout information on the paragraph.
2566
2567 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
2568
2569         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
2570
2571 2002-03-11  Juergen Vigna  <jug@sad.it>
2572
2573         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
2574         plainly wrong.
2575         (resizeCurrentBuffer): force also the insets to resize themselfes.
2576         (moveCursorUpdate): fixed up for InsetText.
2577
2578 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
2579
2580         * commandtags.h:
2581         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
2582         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
2583         value of Dialogs::tooltipsEnabled().
2584         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
2585
2586 2002-03-08  Juergen Vigna  <jug@sad.it>
2587
2588         * BufferView_pimpl.C (updateInset): update inset inside inset also
2589         if it isn't inside theLockingInset().
2590
2591 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2592
2593         * buffer.C (asciiParagraph): redo some of the word and line length
2594         handling.
2595         (getLists): look for Caption instead of caption.
2596
2597 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2598
2599         * buffer.C (Buffer): initialize niceFile to true
2600         (makeLaTeXFile):
2601         (makeLinuxDocFile):
2602         (makeDocBookFile): make sure niceFile is true on exit
2603
2604 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2605
2606         * buffer.C (makeLaTeXFile): escape ~ in \input@path
2607
2608 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
2609
2610         * LyXSendto.C: remove.
2611         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
2612         * lyx_gui.C: remove now-redundant comment.
2613         * ColorHandler.h: remove forward declaration of class WorkArea.
2614         * lyxfunc.C: remove #include "WorkArea.h".
2615
2616 2002-03-07  Juergen Vigna  <jug@sad.it>
2617
2618         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
2619         got moved away with the DEPM and also set the inset_owner always
2620         right which before could have been omitted.
2621
2622 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2623
2624         * buffer.C (parseSingleLyXformat2Token): use default layout is the
2625         wanted layout is not found.
2626
2627 2002-03-07  Juergen Vigna  <jug@sad.it>
2628
2629         * CutAndPaste.C (cutSelection): another layout settings forgotten.
2630
2631 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2632
2633         * paragraph.C (breakParagraph): use default layout not layout of
2634         prev paragraph.
2635         (Paragraph): clear ParagraphParameters.
2636
2637 2002-03-06  Juergen Vigna  <jug@sad.it>
2638
2639         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
2640         otherwise it would not be a valid lenght. Fixed a special case in
2641         the minipage compatibility read where we end the document with a
2642         minipage.
2643
2644         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
2645         was set as it could be 0 for InsetTexts first entry.
2646
2647 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2648
2649         * paragraph.C (writeFile): if layout is empty write out
2650         defaultLayoutName().
2651
2652         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
2653         file without named layout we set layout to defaultLayoutName().
2654
2655 2002-03-06  Juergen Vigna  <jug@sad.it>
2656
2657         * CutAndPaste.C (copySelection): set layout for new paragraph.
2658
2659         * text.C (prepareToPrint): leave ERT inset left aligned
2660         (leftMargin): don't indent paragraphs inside ERT insets
2661
2662 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2663
2664         * paragraph.C (breakParagraph): dont call clear do the work manually
2665
2666         * paragraph.[Ch] (clear): remove function
2667
2668 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2669
2670         * paragraph.C (Paragraph): dont call clear, the work has already
2671         been done.
2672
2673         * lyxtextclass.C (operator): assert if n is empty
2674
2675         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
2676         work manually instead.
2677
2678 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
2679
2680         * BufferView_pimpl.C: protect selectionLost against text == 0
2681
2682 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2683
2684         * text.C (breakParagraph): fix a setting layout to '0' problem.
2685
2686 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
2687
2688         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
2689         final location of file, for the included files, and graphics.
2690
2691 2002-03-05  Juergen Vigna  <jug@sad.it>
2692
2693         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
2694
2695 2002-03-04  Juergen Vigna  <jug@sad.it>
2696
2697         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
2698
2699         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
2700         last column of multicolumn cells.
2701         (SetWidthOfMulticolCell): recalculate NMC and real columns.
2702
2703 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
2704
2705         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
2706         file if it doesn't go to a temporary file.
2707
2708         * buffer.C (sgmlOpenTag):
2709         (sgmlCloseTag):  remove extra newline insertion.
2710
2711 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2712
2713         * text.C (getRowNearY): comment out debug msg
2714
2715 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2716
2717         * text2.C: first -> first_y
2718
2719         * text.C (getRowNearY): add some attemts at a possible
2720         optimization, not working.
2721
2722         * tabular.[Ch]: add BufferParams to several function so that newly
2723         created paragraph can be initialized to he default layotu for the
2724         buffers textclass.
2725
2726         * tabular-old.C (ReadOld): add buf->params to call of Init
2727
2728         * screen.C: rename text->first to text->first_y
2729
2730         * paragraph.C (breakParagraph): always set layout in the broken
2731         paragraph
2732
2733         * lyxtextclass.C (Read): remove lowercase
2734         (hasLayout): ditto
2735         (operator): ditto
2736         (delete_layout): ditto
2737
2738         * lyxtext.h: rename first -> first_y
2739
2740         * lyxlayout.C (Read): remove lowercase
2741         (name): ditto
2742         (setName): ditto
2743         (obsoleted_by): ditto
2744
2745         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
2746
2747         * buffer.C (insertErtContents): add params are to InsetERT
2748         (parseSingleLyXformat2Token): add code to check if a paragraphs
2749         layout really exist.
2750         (parseSingleLyXformat2Token): add params to several inset
2751         constructors
2752         (asciiParagraph): remove lowercase, do the layout comparisons with
2753         no_case
2754
2755         * BufferView_pimpl.C (cursorNext): first -> first_y
2756         (resizeCurrentBuffer): first -> first_y
2757         (updateScrollbar): first -> first_y
2758         (scrollCB): first -> first_y
2759         (workAreaMotionNotify): first -> first_y
2760         (workAreaButtonPress): first -> first_y
2761         (checkInsetHit): first -> first_y
2762         (cursorPrevious): first -> first_y
2763         (cursorNext): first -> first_y
2764         (Dispatch): add buffer_->params to severl inset contructors
2765
2766 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2767
2768         * lyxlayout.C (Read): remove some debug info that I forgot.
2769
2770         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
2771         clean up the code slightly.
2772         (makeLinuxDocFile): ditto
2773         (makeDocBookFile): ditto
2774
2775         * text2.C: layout as string
2776
2777         * text.C: layout as string
2778
2779         * paragraph_pimpl.C: layout as string
2780
2781         * paragraph.[Ch]: layout as string
2782
2783         * lyxtextclasslist.[Ch]: layout as string
2784
2785         * lyxtextclass.[Ch]: layout as string
2786
2787         * lyxtext.h: layout as string
2788
2789         * lyxlayout.[Ch]: layout as string
2790
2791         * lyx_cb.C: layout as string
2792
2793         * bufferview_funcs.C: layout as string
2794
2795         * bufferparams.C: layout as string
2796
2797         * buffer.C: layout as string
2798
2799         * LyXView.[Ch]: layout as string
2800
2801         * LaTeXFeatures.[Ch]: layout as string
2802
2803         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
2804
2805         * BufferView_pimpl.C: change current_layout to string, remove
2806         lyx::layout_type.
2807         (Dispatch):
2808         (smartQuote):
2809         (insertInset):
2810         (workAreaButtonRelease): layout as string
2811
2812         * BufferView2.C (unlockInset): adjust
2813
2814         * vspace.C (asLatexCommand): use an explict temp variable.
2815
2816 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
2817
2818         * Makefile.am: use FRONTEND_*
2819
2820 2002-03-01  Juergen Vigna  <jug@sad.it>
2821
2822         * tabular.C (SetWidthOfMulticolCell): changed to something better
2823         I hope but still work in progress.
2824         (recalculateMulticolumnsOfColumn): renamed function from
2825         recalculateMulticolCells as it is more appropriate now.
2826         (SetWidthOfCell): calculate multicols better.
2827
2828 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2829
2830         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
2831
2832         * lyxfunc.C (processKeySym): print sequence also if it is
2833         `deleted' (complete)
2834
2835         * kbsequence.C (print): print sequence even if it is deleted
2836         (complete would be a better word, actually).
2837
2838         * lyxfunc.C (dispatch): print complete options after a prefix key
2839
2840         * vspace.C (asLatexCommand): rewrite in a slightly different form.
2841
2842 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
2843
2844         * text2.C (setCharFont): eliminate setCharFont code duplication.
2845
2846 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2847
2848         * BufferView_pimpl.C (Dispatch): remove bogus handling of
2849         LFUN_TABULAR_FEATURE (bug #177)
2850
2851 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
2852
2853         * Makefile.am: remove figure.h
2854
2855 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
2856
2857         * Bufferview_pimpl.C:
2858         * CutAndPasteC:
2859         * LaTeX.C:
2860         * LyXSendto.C:
2861         * buffer.C:
2862         * bufferlist.C:
2863         * converter.C:
2864         * language.C:
2865         * lyxfunc.C:
2866         * lyxvc.C:
2867         * paragraph.C:
2868         * text.C:
2869         * text2.C: remove #include "lyx_gui_misc.h".
2870
2871         * LaTeX.C: added #include <cstdio>
2872
2873 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2874
2875         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
2876         that the paragraph following this one can have.
2877
2878         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
2879
2880         * vspace.C (asLatexCommand): fix bogus gcc warning
2881
2882         * Makefile.am (lyx_SOURCES): remove vms_defines.h
2883
2884 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
2885
2886         * text2.C (setLayout): get rid of redundant code
2887
2888 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
2889
2890         * text2.C (incDepth): make sure depth cannot be increased beyond
2891         reasonable values.
2892
2893 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
2894
2895         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
2896         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
2897
2898         * PainterBase.h (image):
2899         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
2900         a LyXImage const *.
2901
2902 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
2903
2904         * BufferView.C:
2905         * BufferView.h:
2906         * BufferView_pimpl.C:
2907         * BufferView_pimpl.h:
2908         * LaTeXFeatures.C:
2909         * LyXAction.C:
2910         * LyXView.C:
2911         * Makefile.am:
2912         * UpdateList.h:
2913         * UpdateList.C:
2914         * buffer.C:
2915         * figure.h:
2916         * figureForm.C:
2917         * figureForm.h:
2918         * figure_form.C:
2919         * figure_form.h:
2920         * lyx_cb.C:
2921         * lyx_gui.C:
2922         * lyx_gui_misc.C:
2923         * lyxfunc.C:
2924         * sp_base.h:
2925         * sp_ispell.h:
2926         * sp_pspell.h:
2927         * sp_spell.C: remove fig inset, and the crap house of
2928           cards that follows it
2929
2930 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
2931
2932         * Makefile.am:
2933         * lyxserver.C:
2934         * os2_defines.h:
2935         * os2_errortable.h:
2936         * nt_defines.h: move .h into support/
2937
2938         * vms_defines.h: remove
2939
2940         * WorkArea.C: add space in debug output
2941
2942         * text2.C:
2943         * paragraph.C:
2944         * buffer.C: add WITH_WARNINGS
2945
2946         * vc-backend.h:
2947         * vc-backend.C:
2948         * bufferlist.C: s/retrive/retrieve/, add docs
2949
2950         * vspace.h:
2951         * vspace.C:
2952         * kbmap.h:
2953         * lyxlength.h:
2954         * lyxgluelength.h:
2955         * length_common.h:
2956         * chset.h:
2957         * chset.C: add docs
2958
2959         * lyxgui.C: add ID to X error handler
2960
2961         * lyxtestclass.c: fix typo
2962
2963 2002-02-26  Juergen Vigna  <jug@sad.it>
2964
2965         * tabular_funcs.C (write_attribute): changed so that some default
2966         attributes are not written at all.
2967         (getTokenValue): set default values before trying to read the
2968         value so we have the return value always set as default if we don't
2969         find the token we search for.
2970
2971         * tabular.C (Write): write bools as bools not as strings!
2972
2973 2002-02-22  Juergen Vigna  <jug@sad.it>
2974
2975         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
2976         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
2977
2978         * text.C (leftMargin): don't add an indent for paragraphs inside
2979         tabular cells (fix #208).
2980
2981 2002-02-21  José Matos  <jamatos@fep.up.pt>
2982
2983         * tabular.C (docBook): fixed support for long tables.
2984
2985 2002-02-20  Juergen Vigna  <jug@sad.it>
2986
2987         * text2.C (getFont): get the drawing font of the Inset if this
2988         paragraph is inside an inset (only important for InsetERT for now).
2989
2990         * buffer.C (insertErtContents): use new lanugage params in ERT
2991         constructor.
2992
2993         * CutAndPaste.C: commenting out seemingly uneeded code.
2994
2995 2002-02-19  Allan Rae  <rae@lyx.org>
2996
2997         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
2998         Iterators might be simple to use but they also get invalidated.
2999         (removeAutoInsets): renamed saved cursor tracking variables and added
3000         some comments to clarify what everything does.
3001
3002 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
3003
3004         * Chktex.C:
3005         * LaTeX.C:
3006         * LyXSendto.C:
3007         * converter.C:
3008         * lyx_cb.C:
3009         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3010         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3011
3012         * lyxfunc.C:
3013         * vc-backend.h: remove #include "support/syscall.h"
3014
3015         * LaTeX.C:
3016         * LyXSendto.C:
3017         * converter.C: rearrange #includes in Lars' approved fashion.
3018
3019         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3020         forward declare class Timeout in the header file.
3021
3022         * XFormsView.C: changes due to the above.
3023
3024         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3025         similar to LyXView.
3026
3027         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3028         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3029
3030 2002-02-18  José Matos  <jamatos@fep.up.pt>
3031
3032         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3033         insets contents.
3034
3035 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
3036
3037         * a lot of small ws changes
3038         * add a lot of using std::XXX
3039         * use std construcs some places where approp.
3040         * use some exisint stuff from lyxfunctional where approp.
3041         * Make file changes to use partial linking (lets test this now...)
3042
3043 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
3044
3045         * Chktex.C:
3046         * buffer.C:
3047         remove #include "support/syscontr.h" as it's redundant. Always has been.
3048
3049         * Chktex.C:
3050         * LaTeX.C:
3051         * LyXSendto.C:
3052         * converter.C:
3053         * lyx_cb.C:
3054         * vc-backend.C:
3055         change Systemcalls::System to Systemcalls::Wait and
3056         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
3057         No change of functionality, just reflects the stripped down Systemcalls
3058         class.
3059
3060 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
3061
3062         * debug.[Ch]: add a GRAPHICS type to the enum.
3063
3064 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3065
3066         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
3067
3068         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
3069         there is an inset.
3070
3071 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3072
3073         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
3074         match the changes below.
3075
3076         * text2.C (toggleInset): if there is not editable inset at cursor
3077         position, try to see if cursor is _inside_ a collapsable inset
3078         and close it.
3079
3080 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3081
3082         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
3083         document menu has a nice checkbox
3084
3085 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3086
3087         * lyxlength.C (asLatexString): change PW to output as percent of
3088         \textwidth.
3089
3090         * lengthcommon.C: change '%' to 't%'
3091
3092         * lyxfunc.C (dispatch): a few comments from Martin
3093
3094 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
3095
3096         * WorkArea.h:
3097         * WorkArea.C:
3098         * BufferView_pimpl.h:
3099         * BufferView_pimpl.C: clear our selection when X tells us we've lost
3100           the X selection.
3101
3102 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3103
3104         * vspace.C (inPixels): fix compiler warning
3105
3106 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3107
3108         * lyxfunc.C (getStatus): fix status message for disabled commands.
3109
3110 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
3111
3112         * BufferView_pimpl.C: fix crash on close buffer
3113         during selection (#227)
3114
3115 2002-01-27  Herbert Voss  <voss@lyx.org>
3116
3117         * buffer.C: link old Figure to new graphic inset
3118
3119 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
3120
3121         * FontLoader.C (getFontinfo): Change the latex font names in order
3122         to match the names of type1inst.
3123
3124 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3125
3126         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
3127
3128         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
3129         (extchanged): ditto
3130         (ext_exist): ditto
3131         (remove_files_with_extension): ditto
3132         (remove_file): ditto
3133         (write): ditto
3134
3135         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
3136         document is smaller than the work area height. Do not initialize
3137         static variables to 0.
3138
3139 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3140
3141         * lyx_gui.C (init): give the toolbar tooltips a normal font.
3142
3143         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
3144         LFUN_LAYOUT_PARAGRAPHS.
3145
3146         * tabular.C (GetCellFromInset): new method. Finds an inset in a
3147         tabular. It is possible to provide a possible cell, which will
3148         typically be the actcell from the corresponding insettabular
3149
3150         * lyxfunc.C (getStatus): small cleanup; disable
3151         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
3152         true
3153
3154 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3155
3156         * tabular.C (Validate): remove broken optimization (fixes bug #201)
3157
3158         * paragraph.C (startTeXParParams):
3159         (endTeXParParams): new methods. The LaTeX code to
3160         start/end paragraph formatting
3161         (simpleTeXOnePar): call startTeXParParams also when paragraph is
3162         empty (fixes bug #200)
3163
3164         * vspace.C (inPixels): adapt to the change below
3165         (inPixels): [later] more cleanups (remove unused variables)
3166
3167         * lyxlength.C (inPixels): change to use a width and a height as
3168         parameter.
3169
3170 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3171
3172         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
3173         Replaced with \paperwidth
3174
3175         * DepTable.C (insert): add std:: qualifier
3176
3177 2002-01-18  Allan Rae  <rae@lyx.org>
3178
3179         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
3180         updated also?
3181
3182         * text.C (drawInset): Turned out I didn't know enough about how
3183         rebreaking worked.  This fixes most of the redraw problems.  I see
3184         an occasional cursor trail when a line is broken now and the cursor
3185         placement can seem out by a few pixels also after a rebreak.
3186
3187 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3188
3189         * buffer.C (parseSingleLyXformat2Token): update because minipage
3190         width is now a LyXLength
3191
3192         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
3193
3194         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
3195         math insets
3196
3197 2002-01-17  Juergen Vigna  <jug@sad.it>
3198
3199         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
3200
3201         * BufferView2.C (lockInset): call edit() so that theLockingInset()
3202         is set correctly and the inset is updated correctly.
3203
3204 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3205
3206         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
3207         the beginning of the loop.
3208
3209 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
3210
3211         * lyxrc.C: improve help for use_scalable_fonts
3212
3213 2002-01-17  Allan Rae  <rae@lyx.org>
3214
3215         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
3216
3217 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3218
3219         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
3220         make sure to set their inset_owner to the right value (bug #171)
3221
3222 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
3223
3224         * DepTable.h
3225         * DepTable.C: Implement mtime checking to reduce time spent doing
3226         CRCs.
3227
3228 2002-01-16  Juergen Vigna  <jug@sad.it>
3229
3230         * tabular.C (GetAdditionalHeight): one of error fixed.
3231
3232         * lyxrc.C (output): small fix in writing use_pspell.
3233
3234 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
3235
3236         * sp_base.h: #include LString.h
3237
3238 2002-01-16  Allan Rae  <rae@lyx.org>
3239
3240         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
3241         Can someone check this please?
3242
3243         * text.C (drawInset): It was possible that p.row would be removed by
3244         breakAgainOneRow upsetting a few other settings.  There may be another
3245         small tweak possible by setting need_break_row = 0 when p.row has been
3246         removed but I don't know enough about the logic here.
3247
3248 2002-01-15  Allan Rae  <rae@lyx.org>
3249
3250         * text.C (insertChar): removed conditional truism.
3251
3252         * BufferView2.C (removeAutoInsets): More tweaks.
3253         cur_par_prev could be a stray pointer.  Check for trailing empty line
3254         in case last line was cur_par and only had an error inset on it.
3255
3256 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3257
3258         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
3259         absolute
3260
3261         * vc-backend.C (most methods):
3262         * exporter.C (Export):
3263         * converter.C (convert):
3264         (runLaTeX):
3265         * LyXSendto.C (SendtoApplyCB):
3266         * lyxfunc.C (dispatch):
3267         (menuNew):
3268         (open):
3269         (doImport):
3270         * lyx_cb.C (AutoSave):
3271         (InsertAsciiFile):
3272         * BufferView_pimpl.C (MenuInsertLyXFile):
3273         * buffer.C (runChktex): use Buffer::filePath().
3274
3275         * buffer.h: rename filename to filename_; rename filepath to
3276         filepath_ and make it private
3277         (filePath): new method
3278
3279         * buffer.C (writeFile): use fileName()
3280         (getLatexName):
3281
3282         * lyx_main.C (init): fix starting  of LyX when the binary is a
3283         link from so,ewhere else.
3284
3285         * minibuffer.C: include <cctype> for isprint
3286
3287 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
3288
3289         * buffer.C (parseSingleLyXformat2Token): changes associated with the
3290         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
3291         name clash with InsetCollapsable's width function.
3292
3293 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3294
3295         * lastfiles.C: include <iterator>
3296
3297 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
3298
3299         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
3300         std::count.
3301
3302         * buffer.C (makeLaTeXFile): ditto.
3303         Also make loop operation more transparent.
3304
3305 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
3306
3307         * ToolbarDefaults.C: remove trailing comma closing namespace.
3308
3309         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
3310
3311         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
3312         as in WorkArea.
3313
3314         * trans.C (Load): comment out unused variable, allowed.
3315
3316 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
3317
3318         * minibuffer.[Ch] (append_char): new method to recieve input from the
3319         drop-down completion browser. If a key was pressed, then recieve this
3320         char and append it to the existing string.
3321         (peek_event): modify the positioning data passed to the completion
3322         browser so that it can be placed above the minibuffer rather than below.
3323 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3324
3325         * LyXAction.C (init): alloe error-next for readonly documents.
3326
3327         * BufferView2.C (ChangeRefsIfUnique): use standard version of
3328         count.
3329
3330 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3331
3332         * bufferlist.C (readFile): create the buffer _after_ checking that
3333         the file exists.
3334
3335         * lyxfunc.C (verboseDispatch): fix handling of arguments
3336
3337         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
3338
3339         * lyxrc.C: use string::erase() instead of initializing to "".
3340
3341
3342 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
3343
3344         * BufferView_pimpl.h:
3345         * BufferView_pimpl.C:
3346         * WorkArea.h:
3347         * WorkArea.C:
3348         * text2.C: tell X when we have made a selection for copying
3349
3350 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3351
3352         * BufferView_pimpl.C (MenuInsertLyXFile):
3353         * lyxfunc.C (menuNew):
3354         (open):
3355         (doImport): add shortcuts to directory buttons
3356
3357         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
3358         open a float)
3359
3360         * lyxfunc.C (setStatusMessage):
3361         (getStatusMessage): new methods
3362         (getStatus):use setStatusMessage instead of setErrorMessage
3363         (dispatch): when function is disabled, set error message here
3364         [instead of in getStatus previously]
3365
3366         * BufferView_pimpl.C (workAreaButtonRelease): update
3367         toolbar/menubar here too.
3368
3369 2002-01-13  Allan Rae  <rae@lyx.org>
3370
3371         * BufferView2.C (removeAutoInsets): finished off earlier fix.
3372         Now seems indestructible.  Remaining task is to audit all other
3373         code affected by deleteEmptyParagraphMechanism.  One small quirk
3374         left is that an empty document with an error in the preamble can
3375         be made to report an error but no error box appears.  I don't know
3376         where it goes.
3377         (removeAutoInsets): Improved comments.
3378
3379 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
3380
3381         * Thesaurus.h:
3382         * Thesaurus.C: update for Aiksaurus 0.14
3383
3384 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3385
3386         * text2.C (firstParagraph): removed member function, all uses
3387         replaces with ownerParagraph
3388         (redoParagraphs): here
3389         (updateInset): here
3390         (toggleAppendix): here
3391         * BufferView2.C (insertErrors): here
3392         (setCursorFromRow): here
3393
3394 2002-01-13  Allan Rae  <rae@lyx.org>
3395
3396         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
3397         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
3398         There is still a way to segfault this although you may have to do this
3399         multiple times: Have an InsetERT with an unknown command in it.
3400         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
3401         <down-arrow>, <Enter> again, View->DVI, BANG!
3402
3403         * text2.C (setCursor):
3404         (deleteEmptyParagraphMechanism):
3405         * lyxtext.h (setCursor):
3406         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
3407         Making use of the return value may help fix other bugs.
3408
3409 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3410
3411         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
3412
3413         * LyXView.C (updateMenubar): call MenuBar::update here
3414         (updateToolbar): but not here
3415         (showState): do not update toolbar/menubar
3416
3417         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
3418         should need to care about that.
3419
3420         * lyxfunc.C (verboseDispatch): simplify a bit
3421         (getStatus): have a version which takes a pseudoaction, and
3422         another which requires a (kb_action,string).
3423
3424         * LyXAction.C (retrieveActionArg): make it work also when action
3425         is not a pseudo-action.
3426         (getActionName): simplify a bit
3427         (helpText):
3428
3429 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3430
3431         * lyxfunc.C (verboseDispatch): new families of methods with
3432         several ways to specify a command and a bool to indicate whether
3433         the command name and shortcut should be displayed in minibuffer
3434         (eventually, we could extend that to a finer bitmask like
3435         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
3436         (dispatch): the pristine dispatch command which just, well,
3437         dispatchs! Note it still sets its result to minibuffer; I'm not
3438         sure we want that.
3439
3440         * lyxfunc.h: remove setHintMessage
3441
3442         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
3443
3444 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3445
3446         * BufferView_pimpl.C (specialChar): delete new inset if we have
3447         not been able to insert it.
3448
3449         * kbmap.C: revert to using int instead of kb_action, since all we
3450         are dealing with is pseudo-actions.
3451
3452         * LyXAction.C (searchActionArg): change to return int instead of
3453         kb_action, since the result is a pseudoaction.
3454
3455 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
3456
3457         * buffer.C (insertErtContents): Fix (partially) the font bug.
3458
3459 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
3460
3461         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
3462         as the other one is broken on my machine!
3463
3464 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
3465
3466         * commandtags.h:
3467         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
3468
3469 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
3470
3471         * lyxrc.[Ch]: change names and descriptions of popup font variables to
3472         reflect their actual use. Provide compatibility code for older lyxrc
3473         files.
3474
3475         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
3476         FL_NORMAL_STYLE.
3477         change names of popup font variables in line with the changes to lyxrc.C
3478
3479 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3480
3481         * buffer.C (asciiParagraph): avoid outputing a word twice after
3482         an inset.
3483
3484         * lyxrc.C (getDescription): document that document_path and
3485         template_path can be empty.
3486
3487 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3488
3489         * LaTeXFeatures.C (getMacros):
3490         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
3491
3492         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
3493
3494         * LaTeXFeatures.C (useFloat): require "float" here instead of in
3495         getPackages.
3496         (getPackages): rename feature "floats" to "float". Use an array to
3497         iterate over 'simple' features (i.e. just a \usepackage). Add
3498         handling of "amsmath" (renamed from "amsstyle").
3499
3500 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
3501
3502         * LaTeXFeatures.C (require): Prevent duplicate entries in the
3503         features list.
3504
3505 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
3506
3507         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
3508         FuncStaus::FuncStatus & FuncStaus::some_method().
3509
3510 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
3511
3512         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
3513         of the func_satus stuff. Edited and massaged in various ways by
3514         JMarc.
3515
3516         * lyxfunc.C (getStatus): use FuncStatus
3517
3518 2002-01-08  Juergen Vigna  <jug@sad.it>
3519
3520         * text.C (nextBreakPoint): use function Inset::isChar().
3521
3522         * paragraph.C (TeXOnePar): use function
3523         Inset::forceDefaultParagraphs.
3524
3525         * buffer.C (latexParagraphs): use function
3526         Inset::forceDefaultParagraphs.
3527
3528 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
3529
3530         * lyx_gui.C (init): set the style of the menu popups to
3531         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
3532
3533 2002-01-07  Juergen Vigna  <jug@sad.it>
3534
3535         * text.C (setHeightOfRow): small fix
3536         (prepareToPrint): don't look at alignment if we don't have the place
3537         for doing it.
3538
3539 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
3540
3541         * box.C: New file. Move the Box methods and functions out of box.h,
3542         following Lars' suggestion.
3543
3544 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
3545
3546         * box.h: #include "support/LOstream.h", needed for inlined function.
3547
3548         * lyxtextclass.C:
3549         * lyxtextclasslist.C: added some using std declarations.
3550
3551 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
3552
3553         * box.h: make signed dimensions to allow insets wider than
3554           the screen (bug #162)
3555
3556         * BufferView_pimpl.C: add some insetHit debug
3557
3558 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
3559
3560         * vc-backend.C: add FIXME
3561
3562 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3563
3564         * lyxfunc.C (getStatus): enable code for showing math font status
3565         in toolbar/menu.
3566
3567 2002-01-07  Juergen Vigna  <jug@sad.it>
3568
3569         * text.C (nextBreakPoint): removed debug output not needed anymore.
3570
3571 2002-01-06  Juergen Vigna  <jug@sad.it>
3572
3573         * text.C (nextBreakPoint): fixed up this function we had this bug
3574         since ever but now hopefully we break row better.
3575         (insertChar): we have to check if an inset is the next char as it
3576         could now happen that a large inset is causing a break.
3577
3578 2002-01-05  Juergen Vigna  <jug@sad.it>
3579
3580         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
3581         if it doesn't like to be drawed.
3582
3583 2002-01-04  Juergen Vigna  <jug@sad.it>
3584
3585         * BufferView2.C (lockInset): forgot to set a cursor.
3586
3587         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
3588
3589 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
3590
3591         * FormMathsPanel.C:
3592         * FormMathsPanel.h
3593         * MathsSymbols.C:
3594         * form_maths_panel.C:
3595         * form_maths_panel.h:
3596         * form_maths_panel.fd: implemented sub- and super- buttons in math
3597         panel.
3598
3599         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
3600         (or ^ space) to be used as in TeX (req'd by André).
3601
3602         * lyxfunc.C: Allow ^ and _ again to be used both as
3603         super/subscript (mathed) and as themselves (in text).
3604
3605 2002-01-03  Allan Rae  <rae@lyx.org>
3606
3607         * LyXView.C (updateWindowTitle): Setup a short icon title of either
3608         "LyX" or the filename of the current buffer if it has one.  This is a
3609         modified form of John Levon's patch.
3610
3611         * XFormsView.C (setWindowTitle): also set icon title.
3612
3613         * LyXView.h (setWindowTitle): signature changed.
3614         * XFormsView.h (setWindowTitle): ditto.
3615
3616 2002-01-02  Juergen Vigna  <jug@sad.it>
3617
3618         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
3619
3620 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3621
3622         * screen.C (topCursorVisible): introduce a temp var for
3623         text->cursor.row(), handle the case where this row is null. (kindo
3624         hachish)
3625
3626         * text2.C (setCursor): add a couple of asserts.
3627
3628         * paragraph.h (inset_iterator): add -> operator
3629
3630         * paragraph.[Ch] (autoDeleteInsets): remove member function
3631
3632         * BufferView2.C (removeAutoInsets): rewrite to handle the old
3633         cursor pos correctly and handle inset deletion by itself.
3634         (insertErrors): move iterator declaration out of for expression
3635
3636         * lyxtextclass.C: add <algorithm>
3637
3638         * Makefile.am: added the new files to sources, removed layout.C
3639
3640         * layout.C: removed file
3641
3642         * layout.h: remove LYX_DUMMY_LAYOUT
3643
3644         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
3645         layout.
3646
3647         * lyxlayout.[Ch]:
3648         * lyxtextclass.[Ch]:
3649         * lyxtextclasslist.[Ch]: new files
3650
3651         * include order changes to a lot of files, also changes because of
3652         the six new files.
3653
3654 2001-12-27  Juergen Vigna  <jug@sad.it>
3655
3656         * buffer.C (asciiParagraph): more fixes.
3657
3658         * tabular.C (ascii): make ascii export support export of only the
3659         data separated by a column-delimiter.
3660         (ascii): better support for ascii export.
3661
3662         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
3663
3664 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3665
3666         * tabular_funcs.C: use a "using std::getline" instead of the
3667         previous fix from Angus (necessary for cxx + lyxstring)
3668
3669 2001-12-24  Juergen Vigna  <jug@sad.it>
3670
3671         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
3672
3673         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
3674         problems. First check a minipage also if we have some ert-contents
3675         (not only on par->size(), second set the right depth of the paragraph
3676         on the relink to the root-paragraph-list!
3677
3678         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
3679         which then did not anymore update the main paragraphs on undo/redo!
3680
3681 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3682
3683         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
3684         code. Support all font-changing funcs (even those which are not in
3685         menu currently). Support for reporting font settings in
3686         mathed (disabled until Andre provides a function on mathed's side).
3687
3688         * func_status.h (toggle): small helper function to set toggle
3689         state on a flag.
3690
3691 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
3692
3693         * tabular_funcs.C: getline -> std::getline
3694
3695 2001-12-21  Juergen Vigna  <jug@sad.it>
3696
3697         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
3698         accessed and could be 0 (I couldn't generate this but it seems
3699         Michael could!).
3700
3701 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3702
3703         * tabular_funcs.C: add LIstream.h, move write_attribute to..
3704         * tabular_funcs.h: here and include iosfwd
3705
3706 2001-12-20  Juergen Vigna  <jug@sad.it>
3707
3708         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
3709         inside inset but undo_par was.
3710
3711 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3712
3713         * Thesaurus.C: always include <config.h> in sources.
3714
3715         * Painter.h:
3716         * lyxlookup.h:
3717         * box.h: do not include <config.h> in header files
3718
3719         * text.C (paintLastRow): remove unused variable
3720
3721         * text.C (transformChar):
3722         (insertChar):
3723         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
3724
3725         * Painter.C (text):
3726         * font.C (width): rewrite to use uppercase() instead of
3727         islower/toupper.
3728
3729         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
3730
3731 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
3732
3733         * lyxfind.C: clean up of find failure position change
3734
3735 2001-12-20  Juergen Vigna  <jug@sad.it>
3736
3737         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
3738
3739         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
3740         (TeXRow): added to LaTeX a single tabular row.
3741         (TeXLongtableHeaderFooter): added to output LT-h/f data.
3742         (Latex): simplified and finally good LT-h/f support.
3743         (various_functions): just small adaptions for LT-h/f support.
3744
3745         * tabular_funcs.[hC]: added and moved here all not classfunctions
3746         of LyXTabular.
3747
3748 2001-12-19  Juergen Vigna  <jug@sad.it>
3749
3750         * tabular.[Ch]: better support for longtabular options (not finished
3751         yet!)
3752
3753 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3754
3755         * text.C (paintLastRow): use the label font instead of the font of
3756         the last character to compute the size of *_BOX. This makes more
3757         sense and avoids a crash with empty paragraphs.
3758         Use Painter::rectangle to draw EMPTY_BOX.
3759
3760 2001-12-19  Juergen Vigna  <jug@sad.it>
3761
3762         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
3763         the paragraphs if the replaced paragraph is not the first one!
3764         Tried to delete not used paragraphs but does not work yet so for
3765         now it's inside #ifdef's and by default off!
3766
3767 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3768
3769         * MenuBackend.C: include "lyx_main.h" instead of declaring
3770         lastfiles (actually was declared as LastFiles* instead of a
3771         scoped_ptr).
3772
3773 2001-12-17  Juergen Vigna  <jug@sad.it>
3774
3775         * tabular.C (AppendColumn): applied John's fix
3776
3777 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
3778
3779         * BufferView.h:
3780         * BufferView.C:
3781         * BufferView_pimpl.h:
3782         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
3783
3784         * Makefile.am:
3785         * box.h: new start of class for above
3786
3787         * lyxfunc.C: ignore space-only minibuffer dispatches.
3788           Show the command name when it doesn't exist
3789
3790         * minibuffer.C: don't add empty lines to the history
3791
3792         * minibuffer.C: add a space on dropdown completion
3793
3794 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
3795
3796         * text.C: fix line above/below drawing in insets
3797
3798 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3799
3800         * lyxlength.C (LyXLength): Initialize private variables.
3801
3802 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
3803
3804         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
3805         when inserting error insets.
3806
3807 2001-12-13  Juergen Vigna  <jug@sad.it>
3808
3809         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
3810         actually sometimes the before-paragraph.
3811         (setUndo): don't clear the redostack if we're not actually undoing!
3812
3813 2001-12-06  Juergen Vigna  <jug@sad.it>
3814
3815         * undo_funcs.C (textHandleUndo): well after John's hint I got here
3816         and fixed redoing of main paragraph, so we can use it now ;)
3817
3818         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
3819
3820 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3821
3822         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
3823         Juergen's request
3824
3825 2001-12-13  André Pönitz <poenitz@gmx.net>
3826
3827         * undostack.[Ch]:
3828         * undo_func.C: minor cleanup
3829
3830 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3831
3832         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
3833         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
3834         font in urw-fonts package which is marked as -urw-fontspecific and
3835         does not work (incidentally, changing the encoding in the
3836         fonts.dir of this package to -adobe-fontspecific fixes the
3837         problem).
3838
3839         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
3840         is a crash when undoing first paragraph (Juergen, please take a
3841         look). THis does not mean the undo fix is wrong, just that it
3842         uncovers problems.
3843
3844         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
3845         the (Paragraph*) version when needed instead of duplicating the
3846         code.
3847
3848         * text.C (workWidth): use Inset::parOwner to find out where the
3849         inset has been inserted. This is a huge performance gain for large
3850         documents with lots of insets. If Inset::parOwner is not set, fall
3851         back on the brute force method
3852
3853         * paragraph_pimpl.C (insertInset):
3854         * paragraph.C (Paragraph):
3855         (cutIntoMinibuffer): set parOwner of insets when
3856         inserting/removing them
3857
3858         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
3859
3860 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
3861
3862         * commandtags.h:
3863         * LyXAction.C:
3864         * lyx_main.C:
3865         * lyxfunc.C:
3866         * mathed/formulabase.C:
3867         * mathed/math_cursor.[Ch]:
3868         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
3869
3870
3871 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3872
3873         * lyxlength.[Ch] (operator!=): new function
3874
3875 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3876
3877         * text.C (workWidth): use Inset::parOwner to find out where the
3878         inset has been inserted. This is a huge performance gain for large
3879         documents with lots of insets. If Inset::parOwner is not set, fall
3880         back on the brute force method
3881
3882         * paragraph_pimpl.C (insertInset):
3883         * paragraph.C (Paragraph):
3884         (cutIntoMinibuffer): set parOwner of insets when
3885         inserting/removing them
3886
3887         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
3888
3889 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3890
3891         * tabular-old.C (getTokenValue):
3892         * tabular.C (getTokenValue):
3893         (write_attribute): new versions for LyXLength
3894         (everywhere): adjust the use of widths
3895
3896         * tabular.h: change the type of widths from string to LyXLength
3897
3898 2001-12-11  Ben Stanley <bds02@uow.edu.au>
3899
3900         * paragraph.C: fixed missing line number count when exporting
3901         Environments to LaTeX file
3902
3903         * buffer.C: added informational message for checking line numbers.
3904
3905 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3906
3907         * text2.C (deleteEmptyParagraphMechanism): if there is only one
3908         paragraph, do the 'double space' part, but not the 'empty
3909         paragraph' one.
3910
3911         * text.C (workWidth): small optimization
3912         (getLengthMarkerHeight): use minimal size for negative lengths.
3913
3914 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
3915
3916         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
3917
3918         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
3919
3920 2001-12-11  André Pönitz <poenitz@gmx.net>
3921
3922         * FontLoader.C:
3923         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
3924
3925 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
3926
3927         * text2.C: keep selection on a setFont()
3928
3929 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
3930
3931         * lyx_cb.C: another bv->text misuse, from insert label
3932
3933 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
3934
3935         * kbsequence.h:
3936         * kbsequence.C: re-instate nmodifier mask
3937
3938 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
3939
3940         * lyx_main.h: make lyxGUI private.
3941
3942 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
3943
3944         * lyxfind.C: place the cursor correctly on failed search
3945
3946 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3947
3948         * text.C (getLengthMarkerHeight): for small heights, the arrows
3949         are not always on top/bottom of the text
3950         (drawLengthMarker): smaller arrows; take the left margin in
3951         account; draw also vfills.
3952         (paintFirstRow):
3953         (paintLastRow): remove special code for vfill and standard spaces,
3954         since everything is handled in drawLengthMarker now.
3955
3956 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3957
3958         * buffer.C (insertErtContents): try to handle font and language
3959         interaction a bit better.g
3960
3961         * ColorHandler.C (updateColor): change the hash to cover the whole
3962         LColor enum, ws cleanup
3963         (getGCLinepars): ditto
3964         (getGCLinepars): only lookup in the linecache once.
3965
3966 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
3967
3968         * iterators.C (operator++): Make the iterator more robust
3969
3970         * BufferView2.C (removeAutoInsets): Use paragraph iterators
3971         (John's patch)
3972         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
3973
3974 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3975
3976         * lyxtext.h:
3977         * text.C: better added space drawing
3978
3979 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3980
3981         * LyXView.C:
3982         * BufferView2.C: fix layout combo update on inset unlock
3983
3984 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3985
3986         * Makefile.am: don't compile unused files
3987
3988 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3989
3990         * lyxfunc.C:
3991         * commandtags.h:
3992         * LyXAction.C: remove old LFUN_LAYOUTNO
3993
3994 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3995
3996         * paragraph_pimpl.h:
3997         * paragraph_pimpl.C: isTextAt() doesn't need font param
3998
3999 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
4000
4001         * lyxlex.h:
4002         * lyxlex.C: little cleanup
4003
4004 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
4005
4006         * BufferView_pimpl.C: fix insertAscii for insets
4007
4008 2001-12-05  Juergen Vigna  <jug@sad.it>
4009
4010         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4011         set the right font on the "multi" paragraph paste!
4012
4013 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4014
4015         * trans_decl.h:
4016         * trans_mgr.[Ch]:
4017         * trans.[Ch]:
4018         * lyxgluelength.C:
4019         * lyxlength.C: remove out-commented code.
4020
4021         * BufferView_pimpl:
4022         * CutAndPaste.C:
4023         * DepTable.C:
4024         * buffer.C:
4025         * chset.C:
4026         * lastfiles.C:
4027         * lyxlex.C:
4028         * lyxlex_pimpl.C:
4029         * lyxserver.C:
4030         * screen.C:
4031         * tabular-old.C:
4032         * tabular.C:
4033         * text.C:
4034         * trans_mgr.C:
4035         * vc-backend.C: change "while(" to "while ("
4036
4037         * lyxlength.[Ch]: add zero function to check if length is zero or
4038         not
4039         * lyxgluelength.C: use it
4040
4041 2001-12-05  Allan Rae  <rae@lyx.org>
4042
4043         * lyxlength.C: Attempted a fix for the abs(int) header selection.
4044         Works for 2.95.3, from what I understand of Garst's reports this should
4045         work for other g++ versions.  We're screwed if the abs(int) definition
4046         changed between bugfix releases of gcc.
4047
4048 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
4049
4050         * text.C: fix chapter label offset !
4051
4052 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
4053
4054         * lyxtext.h:
4055         * text.C: fix hfill at end of line, clean up
4056
4057 2001-12-04  Juergen Vigna  <jug@sad.it>
4058
4059         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
4060         that we force an update of the inset and it's owners if neccessary.
4061
4062 2001-12-03  Juergen Vigna  <jug@sad.it>
4063
4064         * text.C (rowLast): simplified code
4065
4066 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
4067
4068         * lyxfunc.C: fix show options on timeout
4069
4070 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4071
4072         * screen.C (topCursorVisible): scroll half a page when the cursor
4073         reached top of bottom of screen
4074
4075 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
4076
4077         * minibuffer.C: deactivate on loss of focus
4078
4079 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4080
4081         * vspace.[Ch] (operator!=): add operator.
4082
4083 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
4084
4085         * BufferView_pimpl.C: refuse to open an inset when
4086         there's a selection.
4087
4088 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
4089
4090         * BufferView_pimpl.C: allow to click on RHS of full row insets
4091
4092 2001-11-30  Juergen Vigna  <jug@sad.it>
4093
4094         * tabular.C (LyXTabular): add a same_id to set the same id's in the
4095         insets for undo reasons.
4096
4097 2001-11-28  André Pönitz <poenitz@gmx.net>
4098
4099         * vspace.[Ch]: cosmetical changes
4100
4101 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
4102
4103         * LyXAction.h:
4104         * LyXAction.C:
4105         * lyxfunc.h:
4106         * lyxfunc.C:
4107         * kbmap.h:
4108         * kbmap.C:
4109         * lyxrc.C:
4110         * kbsequence.h:
4111         * kbsequence.C: part re-write of old kb code
4112
4113         * Painter.C:
4114         * WorkArea.C: remove Lgb_bug_find_hack
4115
4116 2001-11-30  José Matos <jamatos@fep.up.pt>
4117
4118         * buffer.C (makeDocBookFile): add a comment to point a hack.
4119         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
4120         Fixed a double write of labels.
4121
4122 2001-11-29 Ben Stanley <bds02@uow.edu.au>
4123
4124         * LaTeX.C:
4125         * LaTeX.h Fixed bug in LaTeX class where it would not
4126         re-run latex if no depfiles were changed, but the .dvi was removed.
4127
4128 2001-11-28  André Pönitz <poenitz@gmx.net>
4129
4130         * all the files from the change on 2001/11/26:
4131         use lyx::layout_type instead of LyXTextClass::size_type
4132         use lyx::textclass_type instead of LyXTextClassList::size_type
4133
4134 2001-11-29  Juergen Vigna  <jug@sad.it>
4135
4136         * text.C: added support for paragraph::isFreeSpacing()
4137
4138         * buffer.C: same as above
4139
4140         * paragraph.h: inserted isFreeSpacing() function to enable
4141         FreeSpacing inside InsetERT.
4142
4143         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
4144         of the paragraph's in the cut/copy buffer to 0!
4145
4146         * text2.C (removeRow): remove the assert as it can!
4147
4148         * lyxtext.h: added helper function firstRow returning firstrow and
4149         made firstrow private again.
4150
4151         * BufferView2.C (lockInset): don't relock if we're already locked!
4152
4153         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
4154         the only paragraph.
4155         (removeRow): added Assert::(firstrow)
4156
4157         * debug.C: forgot to add INSETTEXT here.
4158
4159 2001-11-28  Juergen Vigna  <jug@sad.it>
4160
4161         * sp_spell.C (initialize): changed error text to more general
4162         spellchecker command use (not only ispell!)
4163
4164         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
4165
4166         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
4167
4168 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
4169
4170         * vspace.C: initialise lyxgluelength on failure
4171
4172 2001-11-28  Allan Rae  <rae@lyx.org>
4173
4174         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
4175         declaration & definition that looks like a function declaration.
4176
4177 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4178
4179         * BufferView2.C (copy):
4180         (copyEnvironment): do not clear the selection when doing a copy.
4181
4182         * text.C (paintFirstRow): compilation fix
4183
4184 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
4185
4186         * tabular.C (Latex): correct line count when writing latex.
4187
4188 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
4189
4190         * paragraph_pimpl.h:
4191         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
4192           bug a bit
4193
4194 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
4195
4196         * text.C:
4197         * LColor.h:
4198         * LColor.C: change vfillline->added_space
4199
4200         * text.C: add markers and text for added space
4201
4202         * vspace.C: fix comment
4203
4204 2001-11-28  André Pönitz <poenitz@gmx.net>
4205
4206         * paragraph.C: whitespace changes
4207         * all the other files from the change on 2001/11/26:
4208         change *::pos_type into lyx::pos_type
4209
4210 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4211
4212         * buffer.C (parseSingleLyXformat2Token): Set the language to the
4213         language of the document when inserting error insets.
4214
4215 2001-11-26  André Pönitz <poenitz@gmx.net>
4216
4217         * BufferView_pimpl.[Ch]:
4218         *       CutAndPaste.C:
4219         * buffer.[Ch]:
4220         * lyxcursor.[Ch]:
4221         * lyxfind.C:
4222         * lyxfunc.C:
4223         * lyxrow.[Ch]:
4224         * paragraph.[Ch]:
4225         * paragraph_pimpl.[Ch]:
4226         * sp_spell.C:
4227         * text.C:
4228         * text2.C: reduce header dependencies, introduce type for positions
4229
4230 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
4231
4232         * <various>: change to use Alert.h
4233
4234 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4235
4236         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
4237         when encountering an unknown token.
4238         (readLyXformat2): Show an error message if there were unknown tokens.
4239
4240 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
4241
4242         * BufferView2.C:
4243         * BufferView_pimpl.C:
4244         * buffer.C:
4245         * paragraph.h:
4246         * text.C:
4247         * text2.C: use par->isInset()
4248
4249 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
4250
4251         * paragraph_pimpl.h:
4252         * paragraph_pimpl.C: cleanup
4253
4254 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4255
4256         * text2.C (removeRow):
4257         * text.C (setHeightOfRow): remove useless (and costly) call to
4258         getRow.
4259
4260 2001-11-20  Allan Rae  <rae@lyx.org>
4261
4262         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
4263         Now need Inset*::checkInsertChar() to return true for appropriate
4264         cases so that the characters in the minibuffer will actually be
4265         inserted.
4266
4267 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4268
4269         * text.C: change the order of the includes.
4270         (workWidth): initialize it at once.
4271         (workWidth): make maxw unsigned
4272         (setHeightOfRow): remove unused variable (inset)
4273         (selectSelectedWord): remove unused variable (inset)
4274         (paintRowText): fix drawing of hfill characters, and clean up a bit.
4275
4276 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4277
4278         * lyxserver.C (emergencyCleanup): do not try to close pipes if
4279         server is not running.
4280         (openConnection):
4281         (closeConnection): add debug info when server is disabled.
4282
4283         * ColorHandler.C (getGCForeground): send debug message to GUI
4284         channel.
4285
4286         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
4287
4288         * kbmap.C (bind): modify because return conventions of
4289         kb_sequence::parse have changed.
4290
4291         * kbsequence.C (parse): only ignore spaces and not any stupid
4292         control character. This avoids tests like s[i] <= ' ', which are
4293         guaranteed to fail with 8bit characters and signed chars.
4294         Change return code to string::npos when there have been no error
4295         (0 was a bad idea when error is at first character)
4296
4297 2001-11-14  José Matos  <jamatos@fep.up.pt>
4298
4299         * buffer.h:
4300         * buffer.C (simpleDocBookOnePar): removed unused argument.
4301
4302 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4303
4304         * text.C (selectNextWordToSpellcheck): do not test explicitely for
4305         insets which are part of a word. Paragraph::isLetter takes care of
4306         that now. Use Paragraph::isInset to identify insets.
4307         (selectSelectedWord): do not test for hyphenation break.
4308
4309         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
4310         that protected spaces are considered as spaces.
4311
4312         * paragraph.C (isLetter): cleanup the code for ispell extras; use
4313         Inset::isLetter.
4314
4315 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
4316
4317         * lyxserver.h:
4318         * lyxserver.C: fix it. and small cleanup.
4319
4320 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
4321
4322         * BufferView_pimpl.C: use inline helpers
4323
4324         * LaTeXFeatures.h:
4325         * LaTeXFeatures.C: fix typos
4326
4327         * Spacing.h:
4328         * Spacing.C: move spacing_string into class
4329
4330         * ToolbarDefaults.C: move stuff into namespace anon
4331
4332         * layout.h: update enum
4333
4334         * lyxfunc.C: use better debug
4335
4336         * minibuffer.h: fix typo
4337
4338         * debug.h:
4339         * debug.C:
4340         * WorkArea.C: add and use Debug::WORKAREA
4341
4342         * lyxtext.h:
4343         * text.C:
4344         * text2.C: code re-organisation, inline helpers
4345
4346 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
4347
4348         * Layout.C: replaced a few cases of std::vector.size() == 0 with
4349         std::vector.empty().
4350
4351 2001-11-09  Allan Rae  <rae@lyx.org>
4352
4353         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
4354         '\n's after tables.  Tabular and ERT inset work now makes this no
4355         longer necessary.
4356
4357 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
4358
4359         * minibuffer.h:
4360         * minibuffer.C: fix crash, improve drop-down completion
4361
4362 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
4363
4364         * lyxserver.h:
4365         * lyxserver.C: invalidate fd's when doing endPipe()
4366
4367 2001-11-08  José Matos  <jamatos@fep.up.pt>
4368
4369         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
4370         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
4371
4372         * paragraph.h:
4373         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
4374
4375 2001-11-07  José Matos  <jamatos@fep.up.pt>
4376
4377         * buffer.h:
4378         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
4379         const qualifier.
4380
4381         * buffer.C (sgmlOpenTag):
4382         * buffer.C (sgmlCloseTag): removed debug info.
4383
4384         * buffer.h (sgmlOpenTag):
4385         * buffer.h (sgmlCloseTag): made public.
4386
4387 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4388
4389         * buffer.C (saveParamsAsDefaults):
4390         * lyx_cb.C (MenuLayoutSave): remove
4391
4392         * LyXAction.C (init):
4393         * commandtags.h:
4394         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
4395
4396 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4397
4398         * buffer.C (setPaperStuff): removed from here...
4399
4400         * bufferparams.C (setPaperStuff): ... and moved there.
4401
4402 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
4403
4404         * minibuffer.h:
4405         * minibuffer.C:
4406         * XFormsView.C: add support for drop-down completion
4407
4408 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
4409
4410         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
4411         commands.
4412
4413 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4414
4415         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
4416         disabled.
4417
4418 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
4419
4420         * lyx_main.C: change ref to known bugs
4421
4422 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
4423
4424         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
4425         to work around older babel problems.
4426
4427 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
4428
4429         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
4430
4431 2001-10-24  Juergen Vigna  <jug@sad.it>
4432
4433         * tabular-old.C (ReadOld): below variable changes reflected.
4434
4435         * tabular.[Ch]: added ltType struct for longtable header/footer
4436         defines and changed all instances where they are used. Added
4437         future support for double top/bottom rows.
4438
4439 2001-10-24  José Matos  <jamatos@fep.up.pt>
4440
4441         * buffer.h (docbookHandleCaption):
4442         * buffer.C (docbookHandleCaption): removed unused function.
4443         (makeDocBookFile): moved docbook supported version to v4.1.
4444
4445 2001-10-24  José Matos  <jamatos@fep.up.pt>
4446
4447         * tabular.h:
4448         * tabular.C (docbookRow): new function to export docbook code of a row.
4449         (DocBook): now honors the longtable flags.
4450
4451 2001-10-23  José Matos  <jamatos@fep.up.pt>
4452
4453         * LaTeXFeatures.h:
4454         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
4455         of the lyx defined sgml entities used in a docbook/linuxdoc document.
4456
4457         * buffer.C (makeLinuxDocFile):
4458         (makeDocBookFile): reworked the preamble, more clean, and with
4459         support for lyx defined entities. Changed the document declaration
4460         to be more XML friendly.
4461
4462         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
4463         if we need to output XML that should be done with a filter.
4464
4465 2001-10-22  Juergen Vigna  <jug@sad.it>
4466
4467         * sp_pspell.h (class PSpell): add alive function needed in the
4468         controller to see if the spellchecker could be started.
4469
4470 2001-10-22  Juergen Vigna  <jug@sad.it>
4471
4472         * buffer.C (insertStringAsLines): modify the font for inserting
4473         chars in certain conditions by calling checkInsertChar(font).
4474
4475 2001-10-19  Juergen Vigna  <jug@sad.it>
4476
4477         * text.C (workWidth): use getRow instead of wrong algorithm.
4478         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
4479
4480 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
4481
4482         * lyxserver.h:
4483         * lyxserver.C:
4484         * lyx_main.h:
4485         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
4486
4487 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4488
4489         * text.C (workWidth): do not search for the exact row when
4490         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
4491         optimization for big documents.
4492
4493 2001-10-18  Juergen Vigna  <jug@sad.it>
4494
4495         * text.C (workWidth): new function with added Inset * parameter.
4496
4497 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4498
4499         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
4500
4501         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
4502         change return type of getColumnNearX.
4503
4504
4505         * text.C (changeRegionCase): use uppercase/lowercase instead of
4506         toupper/tolower.
4507         (leftMargin):
4508         (rightMargin): simplify code by factoring out the uses of
4509         textclasslist.
4510         (labelFill):
4511         (numberOfHfills):
4512         (setHeightOfRow):
4513         (appendParagraph): use Paragraph::size_type
4514
4515 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4516
4517         * vspace.C (asLatexString): add a missing break
4518
4519 2001-10-15  Herbert Voss  <voss@perce.de>
4520
4521         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
4522
4523 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4524
4525         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
4526         is not available.
4527
4528 2001-10-10  André Pönitz <poenitz@gmx.net>
4529
4530         * lyxfunc.C: removed greek_kb_flag.
4531
4532 2001-10-10  Herbert Voss  <voss@perce.de>
4533
4534         * lyx_main.C: delete global string help_lyxdir.
4535
4536 2001-10-09  Herbert Voss  <voss@perce.de>
4537
4538         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
4539
4540         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
4541
4542         * lyx_main.C: added global string help_lyxdir.
4543
4544         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
4545
4546 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4547
4548         * lyxrc.C (set_font_norm_type): support iso8859-4
4549
4550 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
4551
4552         * LaTeX.C (deplog): add another regex for MikTeX
4553
4554 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4555
4556         * lyxrc.C (set_font_norm_type): support iso8859-3
4557
4558 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4559
4560         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
4561
4562         * LaTeXFeatures.C: remove special case of french and index
4563
4564         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
4565         before \begin{document}). This solves several incompatibilities.
4566
4567 2001-10-03  Garst Reese  <reese@isn.net>
4568
4569         * lyx_cb.C: change CheckTex error msg.
4570
4571 2001-10-03  José Matos  <jamatos@fep.up.pt>
4572
4573         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
4574
4575 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4576
4577         * .cvsignore: update
4578
4579         * lyx_main.C (commandLineVersionInfo): use new style version info.
4580
4581         * buffer.C (writeFile):
4582         (makeLaTeXFile):
4583         (makeLinuxDocFile):
4584         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
4585
4586         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
4587
4588         * version.h: update to use stuff in version.C
4589
4590         * version.C.in: new file. Contains version information determined
4591         at compile time. This is a merging of version.h and
4592         version_info.h.in.
4593
4594 2001-10-03  Juergen Vigna  <jug@sad.it>
4595
4596         * BufferView_pimpl.C (update): don't change "dirty" status in
4597         updateInset call.
4598
4599 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
4600
4601         * WorkArea.C (c-tor): re-position version string slightly.
4602
4603 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
4604
4605         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
4606         revert to previous code.
4607
4608         WorkArea.[Ch]: (show, destroySplash): methods removed.
4609
4610         WorkArea.C: rework code so that it's an amalgam of the codes before and
4611         after the splash screen was moved to WorkArea.
4612
4613 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4614
4615         * lyxrc.C (read):
4616         * vspace.C (inPixels):
4617         (lyx_advance):
4618         * kbmap.C (bind):
4619         * buffer.C (insertStringAsLines):
4620         (asciiParagraph): fix types to be large enough
4621
4622         * lyxlex_pimpl.h: change member status from short to int
4623
4624         * layout.h: fix type of endlabeltype
4625
4626         * kbmap.C (bind):
4627         * kbsequence.C (parse): change return type to string::size_type
4628
4629         * LaTeX.C (updateBibtexDependencies): comment out unneeded
4630         variable
4631
4632         * Bullet.C (bulletSize):
4633         (bulletEntry): do not use short ints as parameters
4634
4635         * BufferView2.C (insertLyXFile): change a char to an int.
4636
4637         * WorkArea.C (WorkArea): remove unneeded floats in computation
4638
4639 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
4640
4641         * buffer.C (asciiParagraph): Treat '\\' as other chars.
4642
4643         * paragraph.C (asString): Do not ignore newline/hfill chars when
4644         copying to the clipboard.
4645
4646 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
4647
4648         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
4649         after a multi-line inset.
4650
4651 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
4652
4653         * paragraph.C (validate): Set NeedLyXFootnoteCode
4654
4655 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
4656
4657         * lyxfont.C (LyXSizeNames): changed increase-error to increase
4658         and decrease-error to decrease.
4659
4660 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4661
4662         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
4663         it more readable (should be equivalent)
4664
4665 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4666
4667         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
4668
4669 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4670
4671         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
4672         of a cursor (row, etc.) after a character has been deleted
4673         (deleteEmptyParagraphMechanism): call the method above on _all_
4674         cursors held by the LyXText when a double space has been
4675         detected/deleted.
4676
4677 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
4678
4679         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
4680         pixmap.
4681         (resizeCurrentBuff): remove code to destroy the old splash dialog.
4682
4683         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
4684         background. Use greyOut() and the new show() methods to toggle between
4685         the foreground and background. Add code to remove the splash after
4686         its initial showing.
4687
4688         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
4689         (create_forms): no longer call Dialogs::showSplash.
4690
4691 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4692
4693         * .cvsignore: add version_info.h
4694
4695 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4696
4697         * version_info.h.in: new file
4698
4699         * Makefile.am: add version_info.h.in
4700
4701         * lyx_main.C (commandLineVersionInfo): use version_info defined in
4702         version_info.h instead of VERSION_INFO
4703
4704 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
4705
4706         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
4707         The ERT inset now returns string().
4708
4709 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
4710
4711         * lyxtext.h, text.C (selectNextWord): renamed as
4712         selectNextWordToSpellcheck.
4713
4714         * text.C (selectNextWordToSpellcheck): Modified to not select
4715         words inside an ERT inset.
4716
4717 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4718
4719         * lyx_cb.C (MenuLayoutSave): change a bit the question
4720
4721         * sp_base.h: include <sys/types.h>
4722
4723 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
4724
4725         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
4726
4727 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
4728
4729         * several files: fix typos in user-visible strings
4730
4731 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4732
4733         * text2.C (pasteSelection): do not set the selection, since it
4734         will be cleared later. Actually, the intent was to fix the way the
4735         selection was set, but I figured rmoving the code was just as good.
4736
4737 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
4738
4739         * FontLoader.C (available): Check if font is available without
4740         loading the font.
4741
4742 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4743
4744         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
4745
4746 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
4747
4748         * lyxrc.[Ch]: added display_graphics variable and associated code.
4749
4750 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4751
4752         * bufferparams.C (hasClassDefaults): new method. Returns true if
4753         the buffer parameters correspond to known class defaults
4754
4755 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
4756
4757         * XFormsView.C (show): set minimum size to the main window.
4758
4759 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4760
4761         * text2.C (copySelection):
4762         (cutSelection):
4763         * lyxfind.C (LyXReplace):
4764         * BufferView_pimpl.C (Dispatch): pass the correct flag to
4765         LyXText::selectionAsString.
4766
4767         * paragraph.C (asString): add "label" argument to the second form
4768
4769         * text2.C (selectionAsString): add "label" argument and pass it to
4770         Paragraph::asString.
4771
4772 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4773
4774         * lyx_main.C (commandLineHelp): remove version information
4775
4776 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
4777
4778         * lyx_main.C: add -version commandline option
4779
4780 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4781
4782         * paragraph.h: make the optional constructor arg required instead.
4783         some modifications to other files because of this.
4784
4785         * minibuffer.C (C_MiniBuffer_peek_event): make it static
4786
4787         * lyxserver.C (C_LyXComm_callback): make it static
4788
4789         * lyx_main.C (error_handler): make it static
4790
4791         * lyx_gui.C (LyX_XErrHandler): make it static
4792
4793         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
4794
4795         * WorkArea.C: make the extern "C" methods static.
4796
4797         * Makefile.am (lyx_LDADD): simplify
4798
4799 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
4800
4801         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
4802         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
4803
4804         * LyXAction.C (init):
4805         * lyxfunc.C (dispatch): associated code removal.
4806
4807 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4808
4809         * lyxfont.h (isSymbolFont): shut off warning
4810
4811         * text.C (setHeightOfRow):
4812         (getVisibleRow): fix crash with empty paragraphs which have a
4813         bottom line
4814
4815 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
4816
4817         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
4818         code.
4819
4820 2001-09-04  José Matos  <jamatos@fep.up.pt>
4821         * buffer.C
4822         * buffer.h
4823         * tabular.C (docbook): rename docBook method to docbook.
4824
4825 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
4826
4827         * Makefile.am: add dependencies to main.o.
4828
4829 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
4830
4831         * FontLoader.C (available): Return false if !lyxrc.use_gui
4832
4833 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
4834
4835         * FontInfo.C (query):
4836         * converter.C (view):
4837         * importer.C (Import):
4838         * exporter.C (Export): Can not -> cannot.
4839
4840 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
4841
4842         * BufferView_pimpl.C: allow to create index inset even if
4843           string is empty
4844
4845 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
4846
4847         * buffer.C (getLists): replace boost::tie code with an explicit pair
4848         as boost::tie can break some compilers.
4849
4850         * iterators.h: Added a std:: declaration to the return type of
4851         ParIterator::size.
4852
4853 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
4854
4855         * lyxrc.C: add help for view_dvi_paper_option, default to safe
4856           case.
4857
4858 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
4859
4860         * iterators.[Ch]: New files. Provide paragraph iterators.
4861
4862         * buffer.C (changeLanguage): Use paragraph iterators.
4863         (isMultiLingual): ditto
4864
4865         * BufferView2.C (ChangeInsets): Use paragraph iterators.
4866
4867 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
4868
4869         * FontLoader.C: Support for cmr font.
4870
4871 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
4872
4873         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
4874         (available): New method.
4875
4876         * FontInfo.C (getFontname): Use scalable fonts even when
4877         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
4878         found.
4879
4880 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
4881
4882         * converter.C (Formats::view): reverted! Incorrect fix.
4883
4884 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
4885
4886         * converter.C (Formats::view): only output the -paper option
4887         if the dvi viewer is xdvi, thereby fixing bug #233429.
4888
4889 2001-08-23  Herbert Voss  <voss@perce>
4890
4891         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
4892
4893 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
4894
4895         * Spacing.h (Spacing): Set space to Default on in the default
4896         constructor.
4897
4898 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4899
4900         * vc-backend.h (RCS::versionString): add RCS to version
4901         (CVS::versionString): add CVS to version
4902
4903         * vc-backend.C (scanMaster): do not add CVS to version.
4904         (scanMaster): do not add RCS to version
4905
4906         * lyxvc.C (versionString): new method
4907
4908         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
4909
4910 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4911
4912         * Spacing.C (set): initialize fval
4913
4914 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
4915
4916         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
4917         " or \.
4918
4919 2001-08-16  Juergen Vigna  <jug@sad.it>
4920
4921         * lyxfunc.C (dispatch): implemented the new FINISHED states.
4922
4923 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
4924
4925         * BufferView_pimpl.C:
4926         * figureForm.C:
4927         * lyxtext.h:
4928         * text2.C: setParagraph takes linespacing now
4929
4930 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
4931
4932         * LyxAction.C: add internal LFUN_CITATION_INSERT
4933
4934         * LyXView.C: actually apply fix
4935
4936         * bufferlist.C: fix open non-existent file
4937
4938         * lyxfind.C: fix indentation
4939
4940         * lyxfunc.C: remove unneeded assert, fix typo
4941
4942 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
4943
4944         * MenuBackend.C: use "Floatname List"
4945
4946 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
4947
4948         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
4949         when converting LaTeX layout to insetERT.
4950         Generate a non-collapsed float when reading old float
4951
4952 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
4953
4954         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
4955         ERT insets.
4956
4957 2001-08-13  Juergen Vigna  <jug@sad.it>
4958
4959         * text.C (fill): return 0 instead of 20 as this seems to be the more
4960         correct value.
4961
4962 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
4963
4964         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
4965         lyxrc.font_norm.
4966
4967 2001-08-13  Juergen Vigna  <jug@sad.it>
4968
4969         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
4970         casesensitive off.
4971         (SearchBackward): comment out the unlocking of the inset_owner this
4972         should not be needed!
4973
4974 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
4975
4976         * Many files: Remove inherit_language, and add latex_language
4977
4978         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
4979         collapsible insets.
4980
4981 2001-08-10  Juergen Vigna  <jug@sad.it>
4982
4983         * text.C (prepareToPrint): fixed hfill-width in draw!
4984
4985         * BufferView2.C (selectLastWord): save the selection cursor as this
4986         now is cleared in the function LyXText::clearSelection!
4987
4988 2001-08-08  Juergen Vigna  <jug@sad.it>
4989
4990         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
4991         BACKSPACE type functions.
4992
4993         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
4994         is only cutted from the document but not put in the cut-buffer, where
4995         still the old stuff should be.
4996
4997         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
4998
4999         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5000
5001         * tabular.C (SetWidthOfCell): fixed special case where the width
5002         was not updated!
5003         (LeftLine): handle '|' in align_special.
5004         (RightLine): ditto
5005         (LeftAlreadyDrawed): ditto
5006         (SetWidthOfCell): ditto
5007
5008 2001-08-07  Juergen Vigna  <jug@sad.it>
5009
5010         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5011
5012 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5013
5014         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5015         * lyxlex.[hC]: ditto
5016
5017 2001-08-06  Juergen Vigna  <jug@sad.it>
5018
5019         * text.C (getVisibleRow): fix up row clearing a bit.
5020
5021 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5022
5023         * minibuffer.C: make sure the X server sees the changes in the input.
5024
5025 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5026
5027         * paragraph.C (getFont): split into...
5028         (getLabelFont): this
5029         (getLayoutFont): and this
5030         * paragraph_pimpl.C (realizeFont): calling this
5031
5032         * text2.C (getFont): split into...
5033         (getLayoutFont): this
5034         (getLabelFont): and this
5035         (realizeFont): all three calling this
5036
5037         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5038         files where used.
5039
5040 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5041
5042         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5043
5044 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
5045
5046         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5047         layouts from the Quote inset insertion.
5048
5049 2001-08-03  Juergen Vigna  <jug@sad.it>
5050
5051         * BufferView_pimpl.C (update): do the fitCursor only at the end!
5052
5053         * screen.C (drawFromTo): don't call fitcursor here and do the loop
5054         only if status not is already CHANGED_IN_DRAW (second level).
5055
5056         * text.C (draw): don't set the need_break_row when inside an
5057         InsetText LyXText.
5058
5059 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5060
5061         * buffer.C (parseSingleLyXformat2Token): handle more latex
5062         conversion cases.
5063
5064         * bufferview_funcs.[hC]: change function names to
5065         begin with small char, adjust other files.
5066
5067 2001-08-02  André Pönitz <poenitz@gmx.net>
5068
5069         * lyxfunc.C:
5070         BufferView_pimpl.C: remove broken special code for math-greek
5071
5072 2001-08-02  Juergen Vigna  <jug@sad.it>
5073
5074         * BufferView_pimpl.C (update): redone this function so that we
5075         update the text again if there was a CHANGE_IN_DRAW.
5076
5077         * screen.C (cursorToggle): removed LyXText parameter and recoded.
5078         (drawFromTo): added a new internal bool which is used by draw() and
5079         redraw() function.
5080         (general): some cursor drawing problems fixed.
5081
5082 2001-08-01  Juergen Vigna  <jug@sad.it>
5083
5084         * lyxfind.C (LyXFind): fixed
5085         (SearchForward): ditto
5086         (SearchBackward): ditto
5087
5088         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
5089         spurius drawing of the cursor in the main area.
5090
5091         * text2.C (status): small fix which could lead to a segfault!
5092         (clearSelection): remove unneeded BufferView param.
5093
5094 2001-08-01  André Pönitz <poenitz@gmx.net>
5095
5096         * lyxfunc.C: small change due to changed mathed interface
5097
5098 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5099
5100         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
5101
5102 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
5103
5104         * lyxfunc.c: fail gracefully if file doesn't exist
5105
5106         * LyXSendto.C:
5107         * buffer.C:
5108         * lyxfunc.C:
5109         * BufferView_pimpl.C: IsDirWriteable() proto changed
5110
5111         * LyXView.C: fix updateWindowTitle() to store the last title
5112
5113 2001-07-31  Juergen Vigna  <jug@sad.it>
5114
5115         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
5116         the font (wrong since using of Paragraph::highestFontInRange).
5117
5118         * paragraph.C (highestFontInRange): added a default_size parameter.
5119
5120         * text.C (getVisibleRow): minor clear row changes (still not perfect).
5121         (setHeightOfRow): reformat
5122
5123 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5124
5125         * converter.[hC] + affected files: move to (inital-char)lowercase
5126         function names.
5127
5128         * ParagraphParameters.C (ParagraphParameters): remove commented code
5129
5130         * PainterBase.[Ch]: remove commented code
5131
5132         * LaTeXFeatures.h: add "bool floats" for float.sty
5133
5134         * LaTeXFeatures.C (LaTeXFeatures): init floats
5135         (require): handle float
5136         (getPackages): do it with floats
5137
5138 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5139
5140         * BufferView_pimpl.C (Dispatch): improve handling of
5141         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
5142
5143         * commandtags.h: #include lyxfont.h here temporarily to avoid
5144         keybinding bug.
5145
5146         * bufferlist.h: include LString.h here.
5147
5148 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5149
5150         * text2.C (getStringToIndex): new method.
5151
5152 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
5153
5154         * *: Reduced header file dependencies all over.
5155
5156 2001-07-30  Baruch Even  <baruch@lyx.org>
5157
5158         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
5159
5160 2001-07-29  Baruch Even  <baruch@lyx.org>
5161
5162         * buffer.C (readInset): Changed GRAPHICS to Graphics.
5163
5164 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5165
5166         * ParameterStruct.h (endif): add a default constructor to make
5167         sure that all variables is initialized.
5168
5169         * ParagraphParameters.C (ParagraphParameters): adjust
5170
5171 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5172
5173         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
5174         index; also, check that there is something to index, and that it
5175         does not span over several paragraphs.
5176         (doubleClick): use WHOLE_WORD_STRICT for double click.
5177
5178         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
5179
5180         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
5181         scheme.
5182
5183 2001-07-26  Baruch Even  <baruch@lyx.org>
5184
5185         * buffer.C (readInset): Changed to call up InsetGraphics when reading
5186         an InsetFig figure, backwards compatible reading of old figure code.
5187
5188 2001-07-27  Juergen Vigna  <jug@sad.it>
5189
5190         * text2.C: font.realize function adaption.
5191
5192         * text.C (draw): add a warnings lyxerr text if needed.
5193
5194         * layout.C: font.realize function adaption.
5195
5196         * language.C: add inherit_language and implement it's handlings
5197
5198         * bufferview_funcs.C (StyleReset): remove language parameter from
5199         font creation (should be language_inherit now).
5200
5201         * bufferparams.C (writeFile): handle ignore_language.
5202
5203         * paragraph.C (getFontSettings): the language has to be resolved
5204         otherwise we have problems in LyXFont!
5205
5206         * lyxfont.C (lyxWriteChanges): added document_language parameter
5207         (update): removed unneeded language parameter
5208
5209         * paragraph.C (validate): fixed wrong output of color-package when
5210         using interface colors for certain fonts in certain environments,
5211         which should not seen as that on the final output.
5212
5213 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
5214
5215         * BufferView_pimpl.C:
5216         * Thesaurus.h:
5217         * Thesaurus.C:
5218         * Makefile.am:
5219         * commandtags.h:
5220         * LyXAction.C: add thesaurus support
5221
5222         * lyxfind.h:
5223         * lyxfind.C: add "once" parameter, for thesaurus, to not
5224           move to the next match
5225
5226 2001-07-26  Juergen Vigna  <jug@sad.it>
5227
5228         * lyxfont.C (realize): honor ignore_language too!
5229         (resolved): ditto.
5230
5231         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
5232
5233         * text.C (draw): one place more for ignore_language to not draw
5234         itself!
5235
5236 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
5237
5238         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
5239
5240 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5241
5242         * buffer.C (parseSingleLyXformat2Token): a more general fix for
5243         the minipage conversion problem.
5244
5245 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5246
5247         * buffer.C (parseSingleLyXformat2Token): check minipage if we
5248         insert an inset.
5249
5250 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5251
5252         * BufferView.h: don't forward declare WorkArea
5253
5254         * BufferView.C: don't include WorkArea.h
5255
5256 2001-07-25  André Pönitz <poenitz@gmx.net>
5257
5258         * commandtags.h:
5259         * LyXAction.C:
5260         * lyxfunc.C:  new LFUN 'math-space'
5261
5262         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
5263
5264 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5265
5266         * text2.C (toggleInset): call open/close
5267
5268 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5269
5270         * lyxfunc.C (dispatch): add debug for the disabled case
5271
5272         * font.C (buttonText): make similar to rectText
5273
5274         * buffer.C (readInset): comment out parsing of insetlist and
5275         insttheorem
5276
5277         * PainterBase.C (rectText): small correction
5278
5279         * BufferView_pimpl.C: comment out insettheorem and insetlist
5280         * LyXAction.C: ditto
5281         * commandtags.h: ditto
5282
5283 2001-07-24  Juergen Vigna  <jug@sad.it>
5284
5285         * text.C (draw): honor the ignore_language.
5286
5287         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
5288
5289 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5290
5291         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
5292         char inset.
5293
5294 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5295
5296         * lyxtext.h: remove unused (and unimplemented) methods
5297
5298 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5299
5300         * text.C (getVisibleRow): honor background color
5301
5302         * PainterBase.h:
5303         * Painter.h: remove default color argument for fillRectangle
5304
5305         * text.C (backgroundColor): new method
5306
5307 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5308
5309         * text.C (getVisibleRow): adjust
5310
5311         * font.[Ch] (rectText): new method, metrics
5312         (buttonText): new method, metrics
5313
5314         * PainterBase.[hC]: make rectText and buttonText always draw and take
5315         fewer paramteres.
5316
5317 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5318
5319         * ToolbarDefaults.C (read):
5320         * MenuBackend.C (read): allow escaping in all strings
5321
5322         * BufferView_pimpl.C (insertAndEditInset): new method.
5323         (Dispatch): use insertAndEditInset whenever appropriate.
5324
5325         * BufferView_pimpl.C (insertNote): removed
5326
5327         * BufferView_pimpl.C (smartQuote): new method, moved from
5328         BufferView; if an insetquote cannot be inserted, insert a '"'
5329         character instead.
5330
5331         * BufferView2.C: remove insertCorrectQuote();
5332
5333         * lyxfunc.C (getStatus): Add support for all remaingin
5334         inset-insert lfuns.
5335
5336         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
5337
5338         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
5339         command (necessary to pass " as parameter of self-insert.
5340
5341         * text.C (selectWordWhenUnderCursor):
5342         (selectWord): add word_location parameter
5343         (selectWordWhenUnderCursor): same + remove special code for word
5344         boundary.
5345         (selectNextWord): use kind() to guess type of insetspecialchar,
5346         not latex().
5347
5348         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
5349         (insertErtContents): create ert insets as collapsed.
5350         (readInset): better compatibility code for Info inset.
5351
5352 2001-07-20  Juergen Vigna  <jug@sad.it>
5353
5354         * lyxfunc.C (dispatch): use always LyXFind now!
5355
5356         * text2.C (init): add a reinit flag so that the LyXText can be
5357         reinited instead of deleted and reallocated (used in InsetText).
5358
5359         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
5360
5361         * text.C: ditto
5362
5363         * text2.C: ditto
5364
5365 2001-07-18  Juergen Vigna  <jug@sad.it>
5366
5367         * text.C (selectNextWord): handle insets inside inset by calling
5368         always the bv->text functions so that we can go up the_locking_inset!
5369
5370         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
5371         in strange locations when inside an inset!
5372
5373         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
5374         handling to include insets.
5375
5376         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
5377
5378 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5379
5380         * LyXAction.C (init):
5381         * commandtags.h:
5382         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
5383         LIGATURE_BREAK, since the name is so stupid.
5384
5385 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
5386
5387         * buffer.C (readInset): enable reading of new InsetNotes as well as old
5388         InsetInfos.
5389
5390         * FontLoader.C: remove FORMS_H_LOCATION cruft.
5391
5392         * sp_form.[Ch]: remove.
5393
5394         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
5395
5396         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
5397         InsetInfo.
5398
5399         * src/buffer.C (readInset): ditto.
5400
5401 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5402
5403         * BufferView_pimpl.C (specialChar): new method. Obsoletes
5404         menuSeparator(), endOfSentenceDot(), ldots() and
5405         hyphenationPoint(), which are therefore removed.
5406         (Dispatch): handle LFUN_HYPHENATION_BREAK.
5407
5408         * LyXAction.C (init):
5409         * commandtags.h: add LFUN_HYPHENATION_BREAK.
5410
5411         * paragraph.C (getWord): removed.
5412
5413         * BufferView_pimpl.C (Dispatch): use last word or selection for
5414         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
5415
5416         * lyx_main.C (queryUserLyXDir): do not ask before creating
5417         user_dir, except if it has been named explicitely.
5418
5419 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
5420
5421         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
5422         a document of zero size.
5423
5424 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
5425
5426         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
5427         approriately in the c-tor and in require().
5428         (getPackages): output the appropriate LaTeX for natbib support.
5429
5430         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
5431         variables "use_natbib" and "use_numerical_citations" when reading the
5432         LyX file.
5433         (readInset): read the various natbib cite commands.
5434         (validate): white-space change.
5435
5436         * bufferparams.[Ch]: new variables "bool use_natbib" and
5437         "bool use_numerical_citations".
5438         (writeFile): output them in the LyX file.
5439
5440 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5441
5442         * lyxfunc.C (getStatus): add support for all the inset insertion
5443         commands.
5444
5445         * text2.C (insertInset):
5446         * paragraph.C (insetAllowed):
5447         * BufferView_pimpl.C (insertInset): update to take in account the
5448         renaming of insertInsetAllowed
5449
5450         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
5451
5452         * text2.C (getInset): new method. returns inset at cursor position.
5453
5454         * BufferView_pimpl.C (Dispatch): changes because of this.
5455
5456         * LyXAction.C (init): rename open-stuff to inset-toggle.
5457
5458         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
5459
5460         * text2.C (toggleInset): renamed from openStuff; use
5461         Inset::open().
5462
5463 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
5464
5465         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
5466
5467         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
5468
5469 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
5470
5471         * buffer.C (readLyXformat2): Add filename to the error dialog
5472
5473 2001-07-18  Juergen Vigna  <jug@sad.it>
5474
5475         * tabular.C (GetCellNumber): put an assert here instead of the check!
5476
5477 2001-07-17  Juergen Vigna  <jug@sad.it>
5478
5479         * BufferView_pimpl.C (toggleSelection): adapted too.
5480
5481         * text.C (selectNextWord): adapted for use with insets.
5482         (selectSelectedWord): ditto
5483
5484 2001-07-17  Juergen Vigna  <jug@sad.it>
5485
5486         * sp_spell.C (PSpell): fix initialitation order.
5487
5488 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5489
5490         * paragraph.C: spacing
5491
5492 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
5493
5494         * sp_spell.C: repair language selection for pspell
5495
5496 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5497
5498         * lyxfunc.h: change more methods to begin with lower char.
5499
5500 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
5501
5502         * buffer.C (parseSingleLyXformat2Token): Generate error insets
5503         for unknown layouts.
5504
5505 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
5506
5507         * buffer.C (readLyXformat2): Generate an error dialog if there are
5508         unknown layouts.
5509
5510 2001-07-16  Juergen Vigna  <jug@sad.it>
5511
5512         * sp_spell.C: always compile ISpell part.
5513
5514         * lyxrc.C: added use_pspell entry and it's handling.
5515
5516 2001-07-13  Juergen Vigna  <jug@sad.it>
5517
5518         * sp_spell.C: removed double includes.
5519
5520 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
5521
5522         Consistent use of Lsstream.h:
5523         * Lsstream.h: added using std::stringstream for consistencies sake.
5524
5525         * buffer.C: removed using std::stringstream
5526
5527         * lyxfont.C (stateText):
5528         * paragraph.C (asString):
5529         * text.C (selectNextWord, selectSelectedWord):
5530         * text2.C (setCounter):
5531         * vspace.C (asString, asLatexString):
5532         std::ostringstream -> ostringstream.
5533
5534 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
5535
5536         * LyXAction.C: add LFUN_HELP_ABOUTLYX
5537         * commandtags.h: add LFUN_HELP_ABOUTLYX
5538         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
5539
5540 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
5541
5542         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
5543         cursorToggle()
5544         * lyx_gui_misc.C: remove spellchecker
5545         * lyxfunc.C: showSpellchecker
5546         * sp_base.h: added
5547         * sp_ispell.h: added
5548         * sp_pspell.h: added
5549         * sp_spell.C: added
5550         * sp_form.[Ch]: removed
5551         * spellchecker.[Ch]: removed
5552
5553 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
5554
5555         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
5556         is set.
5557         (simpleTeXSpecialChars): Simply print the input character without
5558         any special translation if pass_thru is set.
5559
5560         * layout.h: Added bool pass_thru to layout class for being able to
5561         implement pass through of a paragraph for Literate Programming.
5562
5563         * layout.C: add LT_PASS_THRU to LayoutTags enum.
5564         * layout.C (LyXLayout): set pass_thru to flase in constructor.
5565         * layout.C (Read): add "passthru" to list of layout tags and add
5566         code to set the pass_thru boolean when it is read.
5567
5568 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5569
5570         * trans_decl.h: remove allowed from KmodInfo
5571
5572         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
5573         remove allowed code
5574         (Load): adjust
5575
5576         * paragraph_pimpl.C (erase): use boost::prior
5577
5578         * Painter.C (text): use data() instead of c_str() when length is
5579         also provided.
5580         * WorkArea.C (putClipboard): ditto
5581         * font.h (width): ditto
5582
5583         * BufferView2.C: use it-> instead of (*it). for iterators
5584         * texrow.C: ditto
5585         * paragraph_pimpl.C: ditto
5586         * paragraph.C: ditto
5587         * minibuffer.C: ditto
5588         * language.C: ditto
5589         * kbmap.C: ditto
5590         * encoding.C: ditto
5591         * counters.C: ditto
5592         * converter.C: ditto
5593         * chset.C: ditto
5594         * Variables.C: ditto
5595         * TextCache.C: ditto
5596         * MenuBackend.C: ditto
5597         * LyXAction.C: ditto
5598         * LColor.C: ditto
5599         * FloatList.C: ditto
5600         * DepTable.C: ditto
5601         * ColorHandler.C (LyXColorHandler): ditto
5602
5603 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5604
5605         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
5606
5607         * text2.C (openStuff): reintroduce this method (which had been
5608         nuked in NEW_INSETS frenzy).
5609
5610         * lyxfunc.C (Dispatch): when an action has not been handled, use
5611         its name in the error message, not its number.
5612
5613         * paragraph.C (inInset): change method name to begin with lowercase.
5614
5615         * undo_funcs.C:
5616         * text2.C: updates because of this.
5617
5618 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5619
5620         * ToolbarDefaults.C (add): add spaces in error message
5621
5622 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5623
5624         * buffer.C (readLyXformat2): initialize the ert comp. variables.
5625         (readLyXformat2): rename return_par to first_par, use lyxlex's
5626         pushToken and remove the manual push handling.
5627         (parseSingleLyXformat2Token): add another ert comp. variable:
5628         in_tabular, rename return_par to first_par. handle newlines better
5629
5630 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5631
5632         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
5633
5634 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5635
5636         * text2.C (getParFromID): removed
5637
5638         * buffer.C (getParFromID): new method moved form lyxtext.
5639         * BufferView2.C (insertErrors): adjust
5640         (setCursorFromRow): adjust
5641         * BufferView_pimpl.C (restorePosition): adjust
5642         * lyxfunc.C (Dispatch): adjust
5643         * undo_funcs.C (textUndo): adjust
5644         (textRedo): adjust
5645         (textHandleUndo): adjust
5646         (textHandleUndo): adjust
5647
5648 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5649
5650         * buffer.C: up' the LYX_FORMAT
5651
5652         * lyxfont.h: turn NO_LATEX on as default
5653
5654         * buffer.C (insertErtContents): new methods of tex style compability.
5655         (parseSingleLyXformat2Token): use it several places.
5656         * tabular.C (OldFormatRead): and here
5657
5658 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5659
5660         * text2.C: remove some commented code.
5661         reindent file.
5662
5663         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
5664         * trans.C: changes because of the above.
5665
5666 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
5667
5668         * text2.C (setCounter): Fix counters bug with bibliography layout.
5669
5670 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5671
5672         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
5673         own member functions
5674         (simpleTeXSpecialChars): ditto
5675
5676 2001-07-06  Juergen Vigna  <jug@sad.it>
5677
5678         * a lot of files: changed the access to LyXText::status and the
5679         call of undo-functions.
5680
5681         * undo.[Ch]: added a inset_id to the undo informations.
5682
5683         * undo_funcs.[Ch]: added and moved here all undo functions.
5684
5685         * lyxtext.h: give the status enum a weight, made status_ a private
5686         variable and made accessor functions for it, removed the whole bunch
5687         of undo-functions as they are now in their own file, make some
5688         functions publically available. Added function ownerParagraph with
5689         int parameter.
5690
5691         * paragraph.[Ch]: added "bool same_ids" to the constructor,
5692         made InInset() a const function, added getParFromID() function.
5693
5694         * buffer.[Ch]: added const version for inset_iterator functions,
5695         added getInsetFromID() function.
5696
5697         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
5698         changed undo functions for new version.
5699
5700 2001-07-05  Juergen Vigna  <jug@sad.it>
5701
5702         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
5703         unknow mechanism does not call the proper constructor but only this
5704         one also if I request the other!?
5705
5706 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5707
5708         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
5709
5710         * text2.C (LyXText): use initialization lists.
5711
5712         * lyxtext.h (Selection): initialize set_ and mark_
5713         (init): remove method
5714
5715 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
5716
5717         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
5718
5719 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5720
5721         * screen.[Ch]: change method names to begin with lowercase
5722
5723         * BufferView_pimpl.C (updateScrollbar): simplify further and
5724         hopefully make it a bit faster.
5725
5726 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5727
5728         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
5729         calling directly xforms functions.
5730
5731         * Painter.C (Painter):
5732         * lyx_cb.C (MenuWrite):
5733         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
5734         fl_display.
5735
5736         * lyx_gui.C: remove bogus guiruntime extern declaration.
5737
5738 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5739
5740         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
5741         in NEW_INSETS
5742         (redoDrawingOfParagraph): ditto
5743         (redoParagraphs): ditto
5744         (cutSelection): don't create a object for CutAndPaste use the
5745         static method directly
5746         (pasteSelection): ditto
5747
5748         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
5749         LyXview (+ rename)
5750
5751 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5752
5753         * modifications to some other files because of this.
5754
5755         * Makefile.am (lyx_SOURCES): add XFormsView
5756
5757         * XFormsView.[Ch]: new files
5758
5759         * LyXView.[Ch]: make LyXView a base class for the gui handling for
5760         the main window. Move the gui dependent stuff to XFormsView
5761
5762 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5763
5764         * tabular.C (GetCellInset): update cur_cell also in the row/col
5765         version of this function.
5766
5767         * lyxfunc.C: no need to include figure_form.h here.
5768
5769         * FontLoader.h:
5770         * lyxfunc.h:
5771         * lyxscreen.h:
5772         * text2.C:
5773         * lyxvc.C: no need to include forms.h here.
5774
5775 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5776
5777         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
5778
5779         * lyxfunc.C (Dispatch):
5780         * Spacing.C (set):
5781         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
5782         constructor argument.
5783
5784 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5785
5786         * paragraph.C (Paragraph): dont't clear, and just set layout.
5787         (makeSameLayout): use params's copy contructor.
5788
5789         * ParagraphParameters.[Ch] (makeSame): delete method
5790
5791 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
5792
5793         * Variables.[Ch]: fix indentation, rename set to isSet
5794
5795 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5796
5797         * lyxfunc.C (Dispatch): fix typo
5798
5799 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5800
5801         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
5802         upper_bound.
5803
5804         * bufferlist.C: include assert.h for emergencyWrite().
5805
5806 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
5807
5808         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
5809           give up at last (bug #425202) !
5810
5811 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
5812
5813         * lyx_gui_misc.C:
5814         * sp_form.h:
5815         * sp_form.C:
5816         * spellchecker.h:
5817         * spellchecker.C: strip spellchecker options and bring up
5818           preferences tab instead
5819
5820 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5821
5822         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
5823         the istringstream constructor
5824
5825 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5826
5827         * paragraph.C (getLayout): fix return value
5828
5829         * paragraph.h: do not declare getLayout as inline.
5830
5831         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
5832
5833 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5834
5835         * lyxcursor.h (operator<): new func
5836         (operator>): new func
5837         (operator>=): new func
5838         (operator<=): new func
5839
5840         * text.C (changeCase): use selection.start and selection.end
5841         (changeRegionCase): require from to be <= to. Require par to be a
5842         valid paragraph.
5843
5844         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
5845
5846 2001-06-27  Juergen Vigna  <jug@sad.it>
5847
5848         * text.C (cursorLeftOneWord): changed to return the cursor and added
5849         overlay with BufferView * parameter which calls this one.
5850         (getWord): added
5851         (selectWord): use new getWord function.
5852         (changeCase): renamed from changeWordCase as and extended to work
5853         also on selections.
5854
5855         * lyxtext.h: added enum word_location
5856
5857         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
5858         changeCase as this operates now also on selections.
5859
5860 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
5861
5862         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
5863
5864         * many files: send debug output to Debug::INFO instead of
5865         Debug::ANY.
5866
5867         * converter.C (View):
5868         (Convert):
5869         (Move): send debug output to Debug::FILES instead of console.
5870
5871 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
5872
5873         * lyxfunc.C (getStatus): use func_status
5874
5875         * func_status.h: new header, describing the results of
5876         LyXFunc::getStatus;
5877
5878         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
5879         LFUN_MATH_HALIGN.
5880
5881 2001-06-25  The LyX Project  <jug@sad.it>
5882
5883         * buffer.C (sgmlOpenTag):
5884         (sgmlCloseTag):
5885         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
5886
5887 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5888
5889         * text2.C: remove some dead code
5890
5891         * tabular.C (GetCellInset): store the last cell checked (gotten)
5892
5893         * tabular.h: add the helper for the speedup
5894
5895         * lyxtext.h: remove some dead code
5896
5897 2001-06-26  The LyX Project  <Asger>
5898
5899         * paragraph.C: Change export to LaTeX of alignment to
5900         \begin{center} and family for better roundtrip work with reLyX.
5901
5902         * Tune the math drawing a bit.
5903
5904 2001-06-25  The LyX Project  <Asger>
5905
5906         * LColor.C (LColor): New color for math background. New color
5907         for buttons.
5908
5909 2001-06-25  The LyX Project  <jug@sad.it>
5910
5911         * lyxfunc.C (MenuNew): remove extra check for .lyx file
5912
5913         * lyxfunc.C (Open):
5914         * bufferlist.C (newFile): do not restrict to files ending with
5915         .lyx
5916
5917         * BufferView_pimpl.C (MenuInsertLyXFile):
5918
5919 2001-06-24  The LyX Project  <jug@sad.it>
5920
5921         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
5922         of compare_no_case
5923
5924 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5925
5926         * lyxtext.h: rename most methods to begin with a small char.
5927         Lots of changes because of this.
5928
5929         * paragraph.C (Paragraph): do not call fitToSize
5930         (erase): call Pimpl::erase
5931         (insertChar): call Pimpl::insertChar
5932         (insertInset): call Pipl::insertInset
5933         (breakParagraph): do not call fitToSize
5934         (breakParagraphConservative): do not call fitToSize
5935         (fitToSize): remove method
5936
5937         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
5938
5939 2001-06-24  The LyX Project  <Asger>
5940
5941         * Fix Qt compilation^2
5942
5943 2001-06-24  The LyX Project  <jug@sad.it>
5944
5945         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
5946         depthHook(getDepth()-1).
5947
5948         * paragraph.h:
5949         * ParagraphParameters.h:
5950         * ParameterStruct.h: change type of depth to unsigned int ==
5951         depth_type. Many adaptations to other files before of that.
5952
5953 2001-06-24  The LyX Project  <Asger>
5954
5955         * Fix Qt compilation.
5956
5957 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5958
5959         * paragraph.h: renamed several methods to begin with small letter.
5960         several changes to many parts of the code because of this.
5961
5962 2001-06-23  The LyX Project  <jug@sad.it>
5963
5964         * text2.C (InsertStringAsLines): renamed from InsertStringA;
5965         rewritten to discard all double spaces when KeepEmpty is off
5966         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
5967         to only handle newlines but not fiddle with spaces and friends.
5968
5969         * lyxfunc.C (MenuNew): when doing 'new from template', use
5970         template_path as default directory
5971
5972 2001-06-23  The LyX Project  <Asger>
5973
5974         * Clean-up of header file includes all over
5975         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
5976
5977 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5978
5979         * paragraph.h: renamed from lyxparagraph.h
5980
5981 2001-06-23  Asger  <lyx@violet.home.sad.it>
5982
5983         * Buffer.h: Removed Buffer::resize
5984         * BufferList.h: Removed BufferList::resize
5985         * LyXView.h: Added LyXView::resize. This way, we will only reflow
5986         the document lazily when we change the width, or the font settings.
5987
5988 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
5989
5990         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
5991
5992 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
5993
5994         * buffer.h: remove out of date comment
5995
5996 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
5997
5998         * lyxscreen.h:
5999         * screen.C: fix "theoretical" GC leak
6000
6001 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6002
6003         * LaTeX.C (scanAuxFile):
6004         (deplog): remove trailing \r when reading stream (useful under
6005         win32)
6006
6007 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
6008
6009         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6010         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6011         and BufferView::theLockingInset(Inset*), so should use them and not
6012         access bv_->text->the_locking_inset directly.
6013
6014         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6015
6016 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
6017
6018         * Makefile.am:
6019         * tex-defs.h: remove old unused file
6020
6021 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
6022
6023         * BufferView_pimpl.C: fix typo, remove minibuffer message
6024           when buffer has loaded
6025
6026 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6027
6028         * lyxfunc.C (Dispatch): use stringstream
6029         (MenuNew): use stringstream
6030         (Open): use stringstream
6031
6032         * importer.C (Import): use stringstream
6033
6034         * bufferview_funcs.C (CurrentState): use stringstream
6035
6036         * LaTeX.C (run): use stringstream
6037
6038         * BufferView_pimpl.C (savePosition): use stringstream
6039         (restorePosition): use stringstream
6040         (MenuInsertLyXFile): use stringstream
6041
6042 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
6043
6044         * BufferView.C:
6045         * Bullet.C:
6046         * ColorHandler.C:
6047         * FontInfo.C:
6048         * FontLoader.C:
6049         * LColor.C:
6050         * LaTeXFeatures.C:
6051         * Painter.C:
6052         * gettext.C:
6053         * lyx_gui_misc.C:
6054         * lyxserver.C:
6055         * vspace.C: removed // -*- C++ -*- as first line.
6056
6057         * lyxfind.h:
6058         * version.h: added // -*- C++ -*- as first line.
6059
6060 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6061
6062         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
6063
6064         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
6065         of string
6066
6067 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6068
6069         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
6070         of floats.
6071
6072 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6073
6074         * gettext.C: include LString.h even when --disable-nls is on.
6075
6076 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
6077
6078         * converter.h (Get): changed argument type from int to
6079         FormatList::size_type to avoid unnecessary conversion.
6080
6081         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
6082         before using it.
6083
6084 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6085
6086         * gettext.h: include LString.h even when --disable-nls is on.
6087
6088 2001-06-07  Juergen Vigna  <jug@sad.it>
6089
6090         * text.C (BreakAgain): subst spaces with tabs.
6091
6092         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6093         (resizeInsetsLyXText): set force on resizeLyXText.
6094
6095 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6096
6097         * gettext.h (gettext_init):
6098         (locale_init): use a real definition instead of a macro
6099
6100 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
6101
6102         * Bufferview_pimpl.C:
6103         * LColor.h:
6104         * LColor.C: further lcolor tidies
6105
6106 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6107
6108         * BufferView_pimpl.C (updateScrollbar): simplify.
6109
6110         * BufferView2.C: don't include insets/insetinfo.h, change
6111         prototype for insertInset and call the Pimpl version. let
6112         updateInset call Pimpl version.
6113
6114         * BufferView.h: move inset_slept to BufferView::Pimpl, move
6115         gotoInset to BufferView::Pimpl
6116
6117 2001-06-01  Juergen Vigna  <jug@sad.it>
6118
6119         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
6120         inside a LockingInset (is the update needed at all?).
6121
6122 2001-05-31  Juergen Vigna  <jug@sad.it>
6123
6124         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
6125         here not the old one otherwise how should we compare it afterwards
6126         if it's the same!
6127
6128 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6129
6130         * lyxfont.C:
6131         * tabular.C:
6132         * tabular-old.C:
6133         * FontInfo.C: bring C functions into global namespace when
6134         necessary
6135
6136 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6137
6138         * LString.h: make sure config.h has been loaded before LString.h.
6139
6140         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
6141         (one for each char read by EatLine!).
6142
6143         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
6144         variables.
6145
6146 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6147
6148         * paragraph.C (BreakParagraph): set the inset_owner in the new par
6149         to the same as the par we break from
6150
6151 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6152
6153         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
6154
6155         * MenuBackend.C (expand): also create menu entries for wide
6156         versions of the floats.
6157
6158         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
6159
6160         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
6161
6162         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
6163         frontends/Makefile.am
6164
6165         * text2.C: adjust
6166         * text.C: adjust
6167
6168
6169         * tabular.C (getTokenValue): add std::
6170
6171         * tabular-old.C (getTokenValue): add std::
6172         (getTokenValue): ditto
6173         (getTokenValue): ditto
6174
6175         * screen.C (ToggleSelection): adjust
6176
6177         * lyxtext.h: put selection cursors inside a Selection struct.
6178
6179         * lyxfunc.C (moveCursorUpdate): adjust
6180
6181         * lyxfont.C (latexWriteStartChanges): add std::
6182
6183         * lyxfind.C: adjust
6184
6185         * font.h: delete with(char const *, LyXFont const &)
6186
6187         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
6188
6189         * FontInfo.C (getFontname): add std::
6190
6191         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6192         (workAreaButtonPress): adjust
6193         (tripleClick): adjust
6194         (update): adjust
6195         (moveCursorUpdate): adjust
6196         (Dispatch): adjust
6197
6198         * BufferView2.C (gotoInset): adjust
6199
6200 2001-05-30  Juergen Vigna  <jug@sad.it>
6201
6202         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
6203         to check pspell I add this as default as I now have new pspell
6204         libraries and they seem to use this.
6205
6206 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6207
6208         * text2.C (CutSelection): make the cursor valid before the call to
6209         ClearSelection.
6210
6211 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6212
6213         * kbsequence.C (parse): de-uglify a bit the parsing code, which
6214         relied on 0 terminated strings and other horrors. Bug found due to
6215         the new assert in lyxstring!
6216
6217         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
6218         KP_ keys.
6219
6220 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6221
6222         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
6223         to latinkeys.bind.
6224
6225         * lyxfunc.C (processKeySym): change method of getting to the
6226         self-insert char.
6227
6228         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
6229         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
6230         * BufferView_pimpl.[Ch]: here as private methods.
6231
6232 2001-05-28  Juergen Vigna  <jug@sad.it>
6233
6234         * text.C (SetHeightOfRow): added the update() call again as it is
6235         needed to initialize inset dimensions!
6236
6237 2001-05-16  Juergen Vigna  <jug@sad.it>
6238
6239         * text2.C (SetCharFont): Add new function with BufferView * and
6240         bool toggleall parameters for setting insets internal fonts.
6241         (SetFont): Freeze the undo as we may change fonts in Insets and
6242         all this change should be inside only one Undo!
6243
6244         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
6245         setting font's in insets as for them we have the SetFont function!
6246
6247 2001-05-15  Juergen Vigna  <jug@sad.it>
6248
6249         * text2.C (ClearSelection): to be sure we REALLY don't have any
6250         selection anymore!
6251
6252         * tabular.C (TeXCellPreamble): fixed the left border problem for
6253         multicolumn cells.
6254
6255 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
6256
6257         * LaTeX.C (deplog): Make sure that the main .tex file is in the
6258         dependancy file
6259
6260 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6261
6262         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
6263         LFUN_BREAKPARAGRAPH.
6264
6265         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
6266         help test to "internal only", similar for LFUN_INSERT_URL
6267
6268         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
6269         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
6270         auto_region_delete and deadkeys.
6271
6272 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
6273
6274         * LColor.h:
6275         * LColor.C: remove some dead entries, tidy a little
6276
6277 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6278
6279         * lyxfunc.C (processKeySym): comment the Escape handling, remove
6280         commented code.
6281         (Dispatch): implement LFUN_ESCAPE
6282
6283         * commandtags.h: add LFUN_ESCAPE
6284
6285         * LyXAction.C (init): add entry for LFUN_ESCAPE
6286
6287         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
6288         Remove commented code.
6289         (insertNote): moved here
6290         (open_new_inset): moved here
6291
6292         * BufferView[2].[Ch]: move insertNote and open_new_inset to
6293         BufferView_pimpl
6294
6295 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6296
6297         * kbmap.C (findbinding): clean it up and make it work correctly.
6298
6299         * lyx_main.C (init): do not pass argc and argv as parameters
6300
6301 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
6302
6303         * buffer.C: fix path for OS/2 & Win32
6304
6305         * lyx_gui.C:
6306         * lyx_main:
6307         * lyx_main.C: Added os:: class.
6308
6309         * os2_defines.h: update
6310
6311 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6312
6313         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
6314         better by trying again with reduced state.
6315
6316 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6317
6318         * lyxrc.C (read): print error about invalid key sequence only when
6319         debugging (because not all latinX keysyms are known to some X
6320         servers)
6321
6322         * kbsequence.C (getiso): add a few std:: qualifiers
6323         (getiso): comment out extra return statement.
6324
6325 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6326
6327         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
6328         handling.
6329         (Dispatch): enhance the accent inset a bit. (not perfect)
6330
6331 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6332
6333         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
6334
6335 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6336
6337         * bufferlist.C (emergencyWrite): fix assert() call
6338
6339 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
6340
6341         * text.C (InsertChar): Added trivial patch to only send the "you
6342         can not do multiple spaces this way" message once during a
6343         session.
6344
6345 2001-05-08  Baruch Even  <baruch@lyx.org>
6346
6347         * Makefile.am: Changed order of libraries to get LyX to link properly
6348         with the gnome frontend.
6349
6350 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6351
6352         * LaTeXFeatures.h: add a std:: qualifier
6353
6354 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6355
6356         * paragraph.C (String): use stringstream
6357
6358 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6359
6360         * paragraph.C (writeFile): remove footflag arg
6361
6362         * buffer.C (makeLaTeXFile): use stringstream
6363         (latexParagraphs): remove footnot gurba
6364
6365         * LaTeXFeatures.C (getPackages): use stringstream
6366         (getMacros): likewise
6367         (getTClassPreamble): likewise
6368         (getFloatDefinitions): new method
6369
6370         * paragraph.C (writeFile): reindent
6371         (Erase): reindent
6372
6373         * WorkArea.h: revert the xpos + etc changes.
6374
6375         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
6376
6377         * lyxparagraph.[Ch]: add copy constructor, remove Clone
6378
6379         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
6380         (pasteSelection): likewise
6381         * text2.C (CreateUndo): likewise
6382
6383 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6384
6385         * minibuffer.C (peek_event): temporarily reduce the functionality
6386         of the minibuffer (to allow args on lfuns)
6387
6388         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
6389         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
6390
6391         * buffer.C (readInset): add compability reading of old float
6392         lists, add reading of new style float list.
6393         (readInset): avoid reevaluation of inscmd.getCmdName()
6394         (getLists): reindent
6395
6396         * MenuBackend.C (MenuItem): implement parsing of
6397         md_floatlistinsert and md_floatinsert.
6398         (expand::LastFiles): move initalizaton of iterators out of loop,
6399         avoid reevaluation.
6400         (expand::Documents): introduce typdedef vector<string> Strings,
6401         and use it.
6402         (expand::ExportFormats): introduce typedef vector<Format const *>
6403         Formats, and use it.
6404         (expand): implement FloatListInsert and FloatInsert.
6405
6406         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
6407         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
6408         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
6409
6410         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
6411         handling.
6412         (Dispatch::LFUN_FLOAT_LIST): implement
6413
6414 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
6415
6416         * LaTeX.C (run): Fix problem with --export code.
6417
6418 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
6419
6420         * BufferView.[Ch] (workarea): removed.
6421         (getClipboard) new method; wrapper for workarea()->getClipboard()
6422
6423         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
6424         bug.
6425
6426         * WorkArea.h (width, height, xpos, ypos): These methods all
6427         returned the dimensions of the work_area sub-area of WorkArea,
6428         resulting in a position error if the WorkArea were resized. Now
6429         return the dimensions of the entire WorkArea.
6430
6431         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
6432
6433 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6434
6435         * LaTeX.C (deplog): correct the syntax of regex reg1
6436
6437 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6438
6439         * undo.C: remove !NEW_INSETS cruft
6440
6441 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6442
6443         * text2.C: remove !NEW_INSETS cruft
6444
6445         * text.C: remove !NEW_INSETS cruft
6446
6447         * tabular.C: remove !NEW_INSETS cruft
6448
6449         * spellchecker.C: remove !NEW_INSETS cruft
6450
6451         * lyxtext.h: remove !NEW_INSETS cruft
6452
6453         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
6454
6455         * lyxfunc.C: remove !NEW_INSETS cruft
6456
6457         * lyxfind.C: remove !NEW_INSETS cruft
6458
6459         * lyx_cb.C: remove !NEW_INSETS cruft
6460
6461         * figureForm.C: remove  !NEW_INSETS cruft
6462
6463         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
6464
6465         * buffer.[Ch]: remove !NEW_INSETS cruft
6466
6467         * ToolbarDefaults.C: remove !NEW_INSETS cruft
6468
6469         * CutAndPaste.C: remove !NEW_INSETS cruft
6470
6471         * BufferView_pimpl.C: remove !NEW_INSETS cruft
6472
6473         * BufferView2.C: remove !NEW_INSETS cruft
6474
6475         * BufferView.h: remove !NEW_INSETS cruft
6476
6477 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6478
6479         * Lsstream.h: include LString.h before the sstream headers to
6480         fix problem with gcc 2.95.3 and lyxstring
6481
6482 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6483
6484         * lyx_main.C: add using directives when needed for C functions
6485         declared in std:: namespace.
6486
6487 2001-04-27  Juergen Vigna  <jug@sad.it>
6488
6489         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
6490         (SetHeightOfRow): comment out the update call should not be needed!
6491
6492 2001-04-13  Juergen Vigna  <jug@sad.it>
6493
6494         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
6495         (LyXTabular): tried to minimize operator= operations (and realized
6496         hopfully Lars wish).
6497
6498 2001-04-27  Juergen Vigna  <jug@sad.it>
6499
6500         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
6501
6502 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6503
6504         * lyxfunc.C (Dispatch): hack to make listof algorithm work
6505
6506         * buffer.C (readInset): hack to make listof algorithm work
6507
6508         * BufferView_pimpl.C: hack to make listof algorithm work
6509
6510 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6511
6512         * LyXAction.C: removed all !NEW_INSETS cruft
6513         (init): moved lfun_item in method
6514
6515         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
6516
6517 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
6518
6519         * BufferView2.C (theLockingInset): white space.
6520
6521 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6522
6523         * minibuffer.C: include <iostream>
6524
6525         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
6526
6527         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
6528
6529         * commandtags.h: add LFUN_TRANSPOSE_CHARS
6530
6531         * text.[Ch] (TransposeChars): new method
6532
6533 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6534
6535         * call message directly through LyXView instead of through LyXFunc
6536         * BufferView2.C: adjust
6537         * BufferView_pimpl.C: adjust
6538         * FontLoader.C: adjust
6539         * buffer.C: adjust
6540         * bufferview_funcs.C: adjust
6541         * converter.C: adjust
6542         * figureForm.C: adjust
6543         * importer.C: adjust
6544         * lyx_cb.C: adjust
6545         * lyx_gui_misc.C: adjust
6546         * lyxfunc.C: adjust
6547         * lyxvc.C: adjust
6548         * text2.C: adjust
6549         + more files in subdirs
6550
6551         * lyxparagraph.h (size): move up int file
6552         (GetLayout): ditto
6553
6554         * adjust all uses of Assert to lyx::Assert.
6555
6556         * BufferView2.C (ChangeCitationsIfUnique): adjust for
6557         lyxfunctional in namespace lyx
6558         * layout.C (hasLayout): ditto
6559         (GetLayout): ditto
6560         (GetLayout): ditto
6561         (delete_layout): ditto
6562         (NumberOfClass): ditto
6563         * converter.C (GetFormat): ditto
6564         (GetNumber): ditto
6565         (Add): ditto
6566         (Delete): ditto
6567         (SetViewer): ditto
6568         * bufferlist.C (getFileNames): ditto
6569         (emergencyWriteAll): ditto
6570         (exists): ditto
6571         (getBuffer): ditto
6572         * MenuBackend.C (hasSubmenu): ditto
6573         (hasMenu): ditto
6574         (getMenu): ditto
6575         * BufferView_pimpl.C (getInsetByCode): ditto
6576
6577 2001-04-18  Juergen Vigna  <jug@sad.it>
6578
6579         * vspace.C (asLatexString): fixed the 100% problem.
6580
6581 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6582
6583         * lyxfunc.C (Dispatch):
6584         * minibuffer.C:
6585         * minibuffer.h: add a few std:: qualifiers
6586
6587 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6588
6589         * minibuffer.[Ch]: reimplement so that commands is initiated and
6590         run from lyxfunc, simplified som handling, and made the completion
6591         and history code for complete. wip.
6592
6593         * lyxfunc.C (processKeySym): call message
6594         (miniDispatch): new temporary method
6595         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
6596         (LFUN_MESSAGE): implement
6597         (LFUN_MESSAGE_PUSH): implement
6598         (LFUN_MESSAGE_POP): implement
6599         (initMiniBuffer): the initial/defualt minibuffer message.
6600
6601         * lyxfont.[Ch]: inline some more getters
6602
6603         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
6604
6605         * lyx_gui_misc.[Ch] (WriteStatus): remove method
6606
6607         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
6608         (AutoSave): use LFUN_MESSAGE
6609         (Reconfigure): ditto
6610
6611         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
6612
6613         * figureForm.C: use LFUN_MESSAGE
6614
6615         * converter.C (runLaTeX): use LFUN_MESSAGE
6616
6617         * bufferview_funcs.C: use LFUN_MESSAGE
6618         (Melt): ditto
6619         (changeDepth): ditto
6620
6621         * bufferparams.h: use boost::
6622
6623         * bufferlist.h: inherit privately from noncopyable
6624
6625         * bufferlist.C (loadLyXFile): remove some commented code.
6626
6627         * buffer.C (runChktex): use LFUN_MESSAGE
6628
6629         * ShareContainer.h: inherit privately from noncopyable
6630
6631         * ParagraphParameters.[hC] (depth): inline it.
6632
6633         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
6634         methods.
6635         (message): new method
6636         (messagePush): ditto
6637         (messagePop): ditto
6638         (show): init minibuffer
6639         (showState): direct call
6640
6641         * LaTeX.[Ch]: inherit privately from noncopyable
6642         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
6643         instead of WriteStatus.
6644
6645         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
6646
6647         * BufferView_pimpl.C (buffer): don't init minibuffer
6648         (workAreaButtonPress): use LFUN_MESSAGE
6649         (workAreaButtonRelease): ditto
6650         (savePosition): ditto
6651         (restorePosition): ditto
6652         (MenuInsertLyXFile): ditto
6653         (workAreaExpose): don't init minibuffer
6654         (update): remove commented code, simplify
6655
6656         * BufferView2.C (openStuff): use LFUN_MESSAGE
6657         (toggleFloat): ditto
6658         (menuUndo): ditto
6659         (menuRedo): ditto
6660         (copyEnvironment): ditto
6661         (pasteEnvironment): ditto
6662         (copy): ditto
6663         (cut): ditto
6664         (paste): ditto
6665         (gotoInset): ditto
6666         (updateInset): remove some commented code
6667
6668         * lastfiles.h: inherit privately from noncopyable
6669         * layout.h: ditto
6670         * lyx_gui.h: ditto
6671         * lyx_main.h: ditto
6672         * lyxlex.h: ditto
6673         * lyxlex_pimpl.h: ditto
6674
6675         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
6676         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
6677         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6678
6679         * LyXAction.h: inherit privately from noncopyable, add methods
6680         func_begin, func_end, returning iterators to the func map.
6681
6682         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
6683         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6684         (func_begin): new method
6685         (func_end): new method
6686
6687         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
6688         and not)
6689         (copySelection): ditto
6690         (pasteSelection): ditto
6691
6692         * BufferView.C: whitespace change
6693         * BufferView.h: inherit privately from noncopyable
6694
6695 2001-04-16  Allan Rae  <rae@lyx.org>
6696
6697         * tabular-old.C (l_getline):
6698         * spellchecker.C (sc_check_word):
6699         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
6700         an unrecognised preprocessor directive.  So ensure they're wrapped.
6701
6702 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
6703
6704         * src/exporter.C (Export): Give an error message when path to file
6705         contains spaces.
6706
6707 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
6708
6709         * LaTeX.C (deplog): Always check that foundfile exists.
6710
6711 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6712
6713         * lyx_main.h:
6714         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
6715
6716 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6717
6718         * tabular.[Ch] (getLabelList): implement new method
6719
6720         * minibuffer.h: comment ouf setTiimer
6721
6722         * minibuffer.C (ExecutingCB): constify res
6723         (peek_event): constify s
6724         (Set): constify ntext
6725         (Init): constify nicename
6726
6727         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
6728
6729         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
6730         (savePosition): use two params to Minibuffer::Set
6731         (restorePosition): ditto
6732
6733 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6734
6735         * lyx_main.C: include language.h
6736
6737         * Makefile.am (lyx_main.o): add language.h
6738
6739 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6740
6741         * exporter.C:
6742         * paragraph.C:
6743         * screen.C:
6744         * tabular.C:
6745         * CutAndPaste.C: include gettext.h
6746
6747         * lyxfont.h: remove old hack with ON and OFF.
6748
6749         * lyxparagraph.h:
6750         * lyxfont.h: do not include language.h...
6751
6752         * BufferView2.C:
6753         * LaTeXFeatures.C:
6754         * Painter.C:
6755         * bufferview_funcs.C:
6756         * font.C:
6757         * lyxfont.C:
6758         * text.C:
6759         * text2.C:
6760         * trans_mgr.C:
6761         * paragraph.C: ... but do it here instead
6762
6763 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6764
6765         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
6766
6767         * tabular.C: small reformat
6768
6769         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
6770         NEW_INSETS version
6771         (GetChar): ditto
6772         (BreakParagraph): ditto
6773         (SetOnlyLayout): ditto
6774         (SetLayout): ditto
6775
6776         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
6777         with one arg less.
6778
6779         * lastfiles.C: removed most using decl, add std:: where needed
6780
6781         * buffer.C: ws changes
6782
6783         * MenuBackend.C (class compare_format): put into anon namespace
6784         (expand): constify label, names, action, action2
6785         (expand):
6786
6787         * text.C (SingleWidth): constify font
6788         (IsBoundary): constify rtl2
6789         (GetVisibleRow): constify ww
6790
6791         * LaTeX.C (deplog): constify logfile
6792
6793         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
6794         start_x, end_x
6795         (workAreaExpose): constify widthChange, heightChange
6796
6797         * lyxrow.C (par): moved
6798         (height): moved
6799         (next): moved
6800         * lyxrow.h: as inlines here
6801
6802         * lyxfont.h (shape): moved from lyxfont.C
6803         (emph): moved from lyxfont.C
6804
6805         * lyxfont.C (LyXFont): use initialization list for all
6806         constructors
6807         (shape): move to lyxfont.h as inline
6808         (emph): move to lyxfont.h as inline
6809
6810
6811 2001-04-04  Juergen Vigna  <jug@sad.it>
6812
6813         * vspace.C: had to include stdio.h for use of sscanf
6814
6815 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
6816
6817         * BufferView.h:
6818         * BufferView_pimpl.h: remove xforms cruft. Both classes are
6819         independent of xforms.
6820
6821 2001-04-02  Juergen Vigna  <jug@sad.it>
6822
6823         * spellchecker.C: fixed namespace placing!
6824
6825 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
6826
6827         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
6828         the LyXParagraph * is 0.
6829
6830 2001-03-29  Juergen Vigna  <jug@sad.it>
6831
6832         * vspace.C: added support for %, c%, p%, l%.
6833         (stringFromUnit): added helper function.
6834         (asLatexString): changed to give right results for the %-values.
6835
6836         * buffer.C: convert the widthp in a width%.
6837
6838 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
6839
6840         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
6841         figureForm.[Ch].
6842
6843         * figureForm.[Ch]: stripped the FD_from_figure manipulation
6844         code out of lux_cb.[Ch], ready for its (imminent?) removal.
6845
6846         * lyx_cb.[Ch]: see above.
6847
6848         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
6849         form1.[Ch].
6850
6851         * form1.[Ch]:
6852         * lyx.[Ch]: replaced by figure_form.[Ch].
6853
6854         * lyx_gui.C:
6855         * lyx_gui_misc.C:
6856         * lyxfunc.C: changed headers associated with above changes.
6857
6858 2001-03-27  Juergen Vigna  <jug@sad.it>
6859
6860         * BufferView_pimpl.C: set the temporary cursor right!
6861
6862 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
6863
6864         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
6865
6866 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
6867
6868         * LString.h: removed "using std::getline"!
6869
6870         * BufferView_pimpl.C (Dispatch): changes due to changes in
6871         InsetInclude::Params.
6872
6873         * buffer.C (tag_name): removed redundant break statements as they were
6874         producing lots of warnings with my compiler.
6875
6876 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6877
6878         * LString.h: add "using std::getline" when using the real <string>.
6879
6880 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
6881
6882         * buffer.C: removed bitset usage.
6883         PAR_TAG moved to an anonymous name space.
6884         (tag_name): new funtion, also in the anonymous namespace.
6885         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
6886         (makeDocBookFile): clean code. Completed transition from string arrays
6887         to string vectors.
6888         (SimpleDocBookOnePar): code clean.
6889
6890 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6891
6892         * tabular.C: add some comments.
6893
6894 2001-03-22  Juergen Vigna  <jug@sad.it>
6895
6896         * buffer.C (parseSingleLyXformat2Token): redone the minipage
6897         compatibility read a bit and fixed bug with minipage in different
6898         depth.
6899
6900 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
6901
6902         * buffer.C (pop_tag): removed.
6903         (push_tag): removed.
6904         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
6905         array replaced with vector. Added support for CDATA sections.
6906         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
6907         at any nest level.
6908         (makeDocBookFile): XML conformant declaration of CDATA section,
6909         fixed bug related to <emphasis> in the first paragraph char.
6910         (sgmlOpenTag): exclude empty tags.
6911         (sgmlCloseTag): ditto.
6912
6913         * buffer.h (pop_tag): removed.
6914         (push_tag): removed.
6915
6916 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
6917
6918         * language.h (Languages): added size_type and size().
6919
6920 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6921
6922         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
6923         response on compability reading of minipages. One probliem is that
6924         the old usage of minipages was «flertydig»
6925
6926         * several files here and in subdirs: don't use static at file
6927         scope use anon namespaces instead.
6928
6929 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
6930
6931         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
6932         LaTeX output. This is necessary for Literate document
6933         processing.
6934
6935 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6936
6937         * buffer.C: insert hfill when needed.
6938
6939         * tabular.C (l_getline): use string::erase, small whitespace change.
6940
6941         * BufferView_pimpl.C: try the anon namespace.
6942         * WorkArea.C: ditto
6943
6944 2001-03-16  Juergen Vigna  <jug@sad.it>
6945
6946         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
6947         otherwise it won't open options-dialogs.
6948
6949         * buffer.C: honor pextraWidth(p) on converting minipages.
6950
6951         * tabular.C (l_getline): changed the functions to strip trailing \r.
6952
6953 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
6954
6955         * BufferView_pimpl.C:
6956         * minibuffer..C: added "using SigC::slot" declaration.
6957
6958 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6959
6960         * lyxlex_pimpl.h: noncopyable is in namespace boost.
6961
6962         * text2.C: ditto
6963
6964         * text.C: ditto
6965
6966         * paragraph.C: ditto
6967
6968         * lyxtext.h: NO_PEXTRA
6969
6970         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
6971
6972         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
6973         * ParameterStruct.h: ditto
6974         * ParagraphParameters.h: ditto
6975         * lyxparagraph.h: ditto
6976
6977 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6978
6979         * buffer.C: add compability for minipage alignment.
6980         (latexParagraphs): remove unwanted pextra check.
6981
6982         * several files: remove CXX_WORKING_NAMESPACES
6983
6984         * buffer.C (pop_tag): tie is in namespace boost
6985
6986         * BufferView.h: noncopyable is in namespace boost
6987         * lyxlex.h: ditto
6988         * lyx_main.h: ditto
6989         * lyx_gui.h: ditto
6990         * layout.h: ditto
6991         * lastfiles.h: ditto
6992         * bufferlist.h: ditto
6993         * ShareContainer.h: ditto
6994         * LyXView.h: ditto
6995         * LyXAction.h: ditto
6996         * LaTeX.h: ditto
6997
6998 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
6999
7000         * Merging changes from BRANCH_MVC back into HEAD.
7001
7002         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7003
7004 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
7005
7006         * BufferView_pimpl.C: change from intl.C
7007
7008         * combox.h:
7009         * combox.C:
7010         * Makefile.am: move combox.*
7011
7012         * form1.h:
7013         * form1.C:
7014         * lyx_gui.C:
7015         * intl.h:
7016         * intl.C: remove dialog (covered by prefs)
7017
7018 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
7019
7020         * lyxfunc.C (Dispatch): removed redundant break statement.
7021
7022 2001-03-14  Juergen Vigna  <jug@sad.it>
7023
7024         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7025
7026 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7027
7028         * buffer.C: add hack to fix compability reading of minipages.
7029
7030 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
7031
7032         * buffer.C (getLists): Cleanup.
7033
7034 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7035
7036         * lyxfont.C (update): don't honor toggleall on font size.
7037
7038 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
7039
7040         * bmtable.c:
7041         * bmtable.h:
7042         * Makefile.am: moved to frontends/xforms/
7043
7044         * lyx_gui_misc.C:
7045         * lyxfunc.C:
7046         * BufferView_pimpl.C: changes for moved mathpanel
7047
7048 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
7049
7050         * gettext.h: fix gettext_init() in --disable-nls
7051
7052 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7053
7054         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
7055
7056 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
7057
7058         * lyx.C:
7059         * lyx.h: strip external form
7060
7061 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
7062
7063         * BufferView_pimpl.C: add comment, destroySplash()
7064
7065 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
7066
7067         * BufferView_pimpl.C:
7068         * LyXAction.C:
7069         * buffer.C:
7070         * commandtags.h:
7071         * lyxfunc.C: use re-worked insetinclude
7072
7073 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7074
7075         * buffer.C: add using std::stringstream.
7076
7077         * lyx_cb.C: readd using std::ios.
7078
7079         * buffer.C: add using std::map.
7080
7081         * BufferView_pimpl.C: add using std::vector.
7082
7083         * ShareContainer.h: add std:: to swap.
7084
7085         * buffer.h: add some typedefs
7086         * buffer.C (getLists): use them
7087         (getLists): renamed from getTocList.
7088         add a counter for the different float types and use it in the
7089         generated string.
7090         (getLists): use the same counter for the NEW_INSETS and the "non"
7091         NEW_INSETS
7092
7093         * lyx_cb.h: remove unused items, includes, using etc.
7094
7095         * ShareContainer.h: remove some commented code, add more comments
7096         and "documentation".
7097
7098 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7099
7100         * buffer.C (getTocList): make the list also when NEW_INSETS is
7101         defined.
7102
7103         * buffer.h: remove TocType
7104
7105         * buffer.C (getTocList): change to return a map<string,
7106         vector<TocItem> >, implement for dynamic number of list.
7107
7108         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
7109         * text2.C (PasteSelection): adjust
7110         * CutAndPaste.C (pasteSelection): adjust
7111
7112         * FloatList.C (FloatList): update from the new_insets branch.
7113         * Floating.[Ch]: ditto
7114         * LaTeXFeatures.C: ditto
7115         * buffer.C: ditto
7116         * lyxlex_pimpl.C: ditto
7117
7118         * paragraph.C (Last): remove when NEW_INSETS is defined.
7119
7120         * other file: changes because of the above.
7121
7122 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7123
7124         * lyxparagraph.h: rename next to next_, previous to previous_,
7125         make them private for NEW_INSETS. Rename Next() to next(),
7126         Previous() to previous().
7127
7128         * other files: changes because of the above.
7129
7130 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
7131
7132         * BufferView.h:
7133         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
7134         problem.
7135
7136 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7137
7138         * main.C (main): pass lyx_localedir to gettext_init().
7139
7140         * gettext.h: remove locale_init and gettext_init macros
7141
7142         * gettext.C (locale_init): new function
7143         (gettext_init): new function
7144
7145         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
7146         setlocale().
7147
7148 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
7149
7150         * Moved credits to frontends:
7151         * credits.[Ch]: removed
7152         * credits_form.[Ch]: removed
7153         * lyx_gui_misc.C: remove credits stuff
7154         * Makefile.am:
7155
7156 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7157
7158         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
7159
7160         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
7161         unneeded destructor.
7162
7163         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
7164         a standalone pointer again.
7165
7166         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
7167
7168 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
7169
7170         * Makefile.am:
7171         * filedlg.h:
7172         * filedlg.C:
7173         * LyXAction.C:
7174         * ToolbarDefaults.C:
7175         * bufferlist.C:
7176         * commandtags.h:
7177         * form1.C:
7178         * form1.h:
7179         * lyx_cb.C:
7180         * lyx_cb.h:
7181         * lyxfunc.h:
7182         * lyxfunc.C:
7183         * BufferView_pimpl.C: use new file dialog in GUII
7184
7185         * lyx_cb.h:
7186         * lyx_cb.C: remove LayoutsCB to Toolbar
7187
7188 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7189
7190         * ShareContainer.h (get): add std:: qualifier
7191
7192 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7193
7194         * ShareContainer.h: define a proper ShareContainer::value_type
7195         type (and use typename to please compaq cxx)
7196
7197 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7198
7199         * lyxparagraph.h: move serveral local vars to
7200         ParameterStruct/ParagraphParameters., use ShareContainer in
7201         FontTable., make vars in FontTable private and add getter and
7202         setter.
7203
7204         * paragraph.C: changes because of the above.
7205
7206         * lyxfont.h: remove copy constructor and copy assignment. (the
7207         default ones is ok), move number inside FontBits. move inlines to
7208         lyxfont.C
7209
7210         * lyxfont.C: add number to initializaton of statics, move several
7211         inlines here. constify several local vars. some whitespace
7212         cleanup. Dont hide outerscope variables.
7213
7214         * Spacing.h: add two new constructors to match the set methods.
7215
7216         * ShareContainer.h: new file, will perhaps be moved to support
7217
7218         * ParameterStruct.h: new file
7219
7220         * ParagraphParameters.h: new file
7221
7222         * ParagraphParameters.C: new file
7223
7224         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
7225         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
7226
7227         * BufferView_pimpl.C: ParagraphParameter changes.
7228         * buffer.C: Likewise.
7229         * bufferview_funcs.C: Likewise.
7230         * text.C: Likewise.
7231         * text2.C: Likewise.
7232
7233 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7234
7235         * lyxfind.C (LyXReplace): do not redefine default argument in
7236         implementation.
7237         (IsStringInText): ditto
7238         (SearchForward): ditto
7239         (SearchBackward): ditto
7240
7241 2001-03-06  Juergen Vigna  <jug@sad.it>
7242
7243         * lyxfind.C (IsStringInText): put parentes around expressions.
7244
7245 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
7246
7247         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
7248
7249 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
7250
7251         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
7252
7253         * stl_string_fwd.h: add comment
7254
7255         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
7256
7257         * tabular.h:
7258         * tabular.C: remove unused DocBook methods
7259
7260         * intl.C:
7261         * language.C:
7262         * paragraph.C:
7263         * buffer.C:
7264         killed DO_USE_DEFAULT_LANGUAGE
7265
7266 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7267
7268         * lyx_gui.C: do not include language.h.
7269
7270         * bufferview_funcs.C (ToggleAndShow): do not provide optional
7271         arguments in function implementation.
7272
7273 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7274
7275         * BufferView_pimpl.C: add <ctime>
7276
7277 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7278
7279         * BufferView_pimpl.C: add using std::find_if
7280
7281 2001-02-27  José Matos  <jamatos@fep.up.pt>
7282
7283         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
7284         by OnlyPath.
7285
7286 2001-02-11  José Matos  <jamatos@fep.up.pt>
7287
7288         * buffer.C (makeDocBookFile): command styles now have a parameter as
7289         "title" by default.
7290
7291 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
7292
7293         * layout_forms.[Ch]: removed
7294         * lyx_cb.[Ch]: out character
7295         * lyx_gui.C: out character
7296         * lyx_gui_misc.C: out character
7297         * bufferview_funcs.C: : out character,
7298         added toggleall as parameter in ToggleAndShow
7299
7300 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
7301
7302         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
7303
7304         * text2.C (SetCurrentFont): Disable number property at boundary.
7305
7306 2001-02-26  Juergen Vigna  <jug@sad.it>
7307
7308         * lyxfunc.C (getStatus): added a string argument override function so
7309         that this is correctly called from LyXFunc::Dispatch if it contains a
7310         do_not_use_argument which is used!
7311         (Dispatch): added check for "custom" export and call appropriate func.
7312
7313 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
7314
7315         * lyxrc.C: Add language_command_local, language_use_babel and
7316         language_global_options.
7317
7318         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
7319
7320         * buffer.C (makeLaTeXFile): Use language_use_babel and
7321         language_global_options.
7322
7323 2001-02-23  Juergen Vigna  <jug@sad.it>
7324
7325         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
7326         which works with LyXText and putted it inside BufferView. Here now we
7327         only call for that part the BufferView::Dispatch() function.
7328
7329         * BufferView.C (Dispatch): added.
7330
7331         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
7332         functions which needs to use a LyXText over from LyXFunc.
7333         (MenuInsertLyXFile): added
7334         (getInsetByCode): added
7335         (moveCursorUpdate): added
7336         (static TEXT): added
7337
7338 2001-02-22  Juergen Vigna  <jug@sad.it>
7339
7340         * BufferView_pimpl.C (update): call a status update to see if LyXText
7341         needs it.
7342
7343 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7344
7345         * vc-backend.C (revert): implement for CVS
7346         (getLog): implement for CVS
7347
7348 2001-02-20  Juergen Vigna  <jug@sad.it>
7349
7350         * text2.C (ClearSelection): added BufferView param for inset_owner call
7351
7352         * lyxfunc.C (TEXT): added this function and use it instead of
7353         directly owner->view()-text of getLyXText().
7354
7355 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
7356
7357         * src/layout_forms.C: out preamble
7358         * src/layout_forms.h: out preamble
7359         * src/lyx_cb.C: out preamble
7360         * src/lyx_cb.h: out preamble
7361         * src/lyx_gui.C: out preamble
7362         * src/lyx_gui_misc.C: out preamble
7363         * src/lyxfunc.C: connect with guii preamble
7364
7365 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
7366
7367         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
7368
7369 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
7370
7371         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
7372         whether to run bibtex.
7373
7374 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
7375
7376         * Makefile.am (lyx_SOURCES): Remove BackStack.h
7377
7378 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
7379
7380         * Makefile.am (lyx_SOURCES): removed bibforms.h
7381
7382         * vspace.h: doxygen
7383
7384         * text.C (GetVisibleRow): make several local vars const
7385
7386         * tabular.C: small cleanup.
7387
7388         * lyxserver.C (callback): use compare instead of strncmp
7389
7390         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
7391         inlines to after class or to paragraph.C
7392
7393         * lyxfont.h: remove friend operator!=
7394
7395         * converter.h: move friend bool operator< to non friend and after
7396         class def.
7397
7398         * combox.h: small cleanup
7399
7400         * buffer.h: doxygen, remove unused constructor, move inclas inlies
7401         to inlines after class def.
7402
7403         * buffer.C (pop_tag): use string operations instead of strcmp
7404
7405         * bmtable.c: doxygen, small cleanup
7406
7407         * LaTeX.h: remove friend operator==
7408
7409 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
7410
7411         * screen.C:
7412         * lyxrc.[Ch]:
7413         * lyxfunc.C:
7414         * lyxfont.[Ch]:
7415         * lyx_cb.C:
7416         * intl.[Ch]:
7417         * commandtags.h:
7418         * buffer.C:
7419         * WorkArea.[Ch]:
7420         * LyXAction.C:
7421         * BufferView_pimpl.C:
7422         * BufferView.[Ch]: remove cruft
7423
7424 2001-02-14  Juergen Vigna  <jug@sad.it>
7425
7426         * lyxfunc.C: removed #if 0 unused code
7427
7428         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
7429
7430         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
7431
7432         * text2.C (SetSelection): added a BufferView * parameter
7433
7434 2001-02-13  Juergen Vigna  <jug@sad.it>
7435
7436         * lyxfunc.C (Dispatch): fixed protected blank problem.
7437         * BufferView2.C (protectedBlank): added LyxText * parameter.
7438
7439         * tabular.C (AppendRow): forgot to set row_info of newly added row.
7440         (AppendColumn): same as above for column_info.
7441
7442         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
7443         (moveCursorUpdate): use a LyXText param for support of InsetText.
7444
7445         * BufferView_pimpl.C (doubleClick): added support for InsetText.
7446         (tripleClick): ditto
7447
7448         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
7449
7450         * BufferView_pimpl.C (update): added LyXText param to honor insets.
7451
7452         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
7453
7454         * text2.C (SetSelection): set correct update status if inset_owner
7455         (ToggleFree): ditto
7456
7457 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
7458
7459         * tabular.C: remove some commented code.
7460
7461 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
7462
7463         * BufferView_pimpl.C: call hideSplash()
7464
7465         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
7466
7467         * include_form.h:
7468         * bibforms.h: remove
7469
7470         * lyxfunc.C:
7471         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
7472           add LFUN_CHILD_CREATE
7473
7474         * counters.h: fix tiny typo
7475
7476         * lyx_cb.C:
7477         * lyx.h:
7478         * lyx_gui.C:
7479         * lyx.C: move splash to frontends/xforms/
7480
7481         * lyx_gui_misc.C: move Include and Bibform to frontends
7482
7483         * lyxvc.h: clarify comment
7484
7485         * vspace.C: tiny housekeeping
7486
7487 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
7488
7489         * text.C (PrepareToPrint): RTL Fix.
7490
7491         * paragraph.C (GetUChar): New method.
7492         (String):  Use GetUChar.
7493
7494         * buffer.C (asciiParagraph): Use GetUChar.
7495
7496 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
7497
7498         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
7499
7500 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
7501
7502         * buffer.h:
7503         * buffer.C: rename to getLogName(), handle
7504           build log / latex log nicely
7505
7506 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7507
7508         * MenuBackend.C:
7509         * MenuBackend.h: remove support for reference menuitem type.
7510
7511 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
7512
7513         * BufferView_pimpl.C: housekeeping
7514         * BufferView_pimpl.h:
7515         * LyXView.h:
7516         * Makefile.am:
7517         * Timeout.C:
7518         * Timeout.h:
7519         * minibuffer.h: move Timeout GUI-I
7520
7521 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
7522
7523         * lyxrc.C (read): Update converters data-structures.
7524
7525 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
7526
7527         * LaTeX.h (operator!=): add operator != for Aux_Info
7528
7529 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
7530
7531         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
7532
7533         * LaTeXLog.C: deleted, useful code moved to Buffer
7534
7535         * buffer.h:
7536         * buffer.C: new function getLatexLogName()
7537
7538         * lyx_gui_misc.C:
7539         * lyx_gui.C:
7540         * lyxvc.C:
7541         * lyxvc.h:
7542         * lyxfunc.C: use frontends for LaTeX and VC logs
7543
7544 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7545
7546         * LaTeX.h: yet another std:: that Allan forgot.
7547
7548         * Variables.C (set): renamed from isset(), because this clashes
7549         with some HP-UX macros (grr).
7550
7551 2001-02-06  Allan Rae  <rae@lyx.org>
7552
7553         * LaTeX.h: Another bug fix.  Missing std:: this time.
7554
7555 2001-02-04  Allan Rae  <rae@lyx.org>
7556
7557         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
7558         floats problem. I've left it commented out because it's not quite
7559         correct.  It should also test that the current object is a table or
7560         figure inset.  But I haven't gotten around to figuring out how to do
7561         that.  I *think* it'll be something like: "table" == inset.type()
7562
7563         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
7564         bool.
7565
7566 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
7567
7568         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
7569         all the citation/databases/styles in the auxilary file.
7570         (run): Rerun latex if there was a babel language error.
7571
7572 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
7573
7574         * text.C (Backspace): Preserve the font when changing newline char
7575         with a space.
7576         (BreakParagraph): If the cursor is before a space, delete the space.
7577
7578         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
7579
7580 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
7581
7582         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
7583         new argument (code).
7584         (ChangeCitationsIfUnique): New method.
7585
7586         * paragraph.C (GetPositionOfInset): Handle bibkey.
7587
7588 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7589
7590         * BufferView_pimpl.h: change type of Position::par_pos to
7591         LyXParagraph::size_type.
7592
7593 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
7594
7595         * BufferView_pimpl.C (savePosition, restorePosition): Write
7596         messages to minibuffer.
7597
7598 2001-01-28  José Matos  <jamatos@fep.up.pt>
7599
7600         * buffer.C (makeDocBookFile): adds support for document language.
7601         A silly restriction on the name of LatexCommand types where removed.
7602         Added support for CDATA sections, allows to chars unescaped, used
7603         among others in code, to avoid escape < and >.
7604
7605 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
7606
7607         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
7608         saved positions instrad of a stack. Furthermore, a position is
7609         stored using paragraph id/paragraph position.
7610
7611         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
7612         Remove LFUN_REF_BACK.
7613
7614 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
7615
7616         * converter.C (dvipdfm_options): New method.
7617
7618 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
7619
7620         * vspace.C (isValidLength): Fix for empty input string.
7621
7622 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7623
7624         * LyXAction.C (init): change description of LFUN_FIGURE to
7625         "Insert Graphics"
7626
7627 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7628
7629         * LaTeX.C: add using directive
7630
7631 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
7632
7633         * MenuBackend.C (expand): Fix the sorting of the formats.
7634
7635 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
7636
7637         * lyx_main.C: tiny error message fix
7638
7639 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7640
7641         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
7642         calling fl_initialize(). This fixes the problem with ',' as
7643         decimal separator in text files.
7644
7645 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
7646
7647         * trans.C (process): Fix the keymap bug.
7648
7649 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
7650
7651         * LaTeX.C (scanAuxFiles): New method. Provides support for
7652         multiple bibliographies (when using the bibtopic/bibunits pacakges).
7653         (scanLogFile) Scan for "run BibTeX" messages.
7654
7655         * buffer.C (makeLaTeXFile): Do not load the ae package when using
7656         OT1 font encoding. Also, load the aecompl package if the ae
7657         package is loaded.
7658
7659         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
7660
7661 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7662
7663         * texrow.C (increasePos): turn two error messages into debug
7664         messages.
7665
7666 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
7667
7668         * LaTeX.C (scanAux): Handle the \@input macro.
7669         (runBibTeX): Use scanAux().
7670
7671         * language.C (latex_options_): New field.
7672
7673         * LaTeXFeatures.C (getMacros): Add language macros.
7674
7675         * buffer.C (makeLaTeXFile): Small fix.
7676
7677 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7678
7679         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
7680
7681         * text2.C: add a using directive.
7682
7683 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
7684
7685         * BufferView2.C:
7686         * lyx_gui_misc.h:
7687         * lyxfr1.C:
7688         * lyxfunc.C: kill LyXBell.
7689
7690 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
7691
7692         * text.C (IsBoundary): Remove the error message
7693
7694         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
7695
7696         * lyxrc.C (setDefaults): Correct initialization value for
7697         font_norm_type.
7698
7699 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7700
7701         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
7702         gotoError().
7703
7704         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
7705         and GotoNextNote().
7706
7707         * src/LyXAction.C: Added reference-next.
7708
7709         * text.C (InsertChar): Use contains instead of strchr.
7710
7711         * lyx_cb.C (MenuInsertLabel): Enable default value code.
7712
7713 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
7714
7715         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
7716         alignment commands (when needed).
7717
7718         * text.C (InsertChar): Add ':' to number separator chars.