]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix some namespace issues for gcc 3.4
[lyx.git] / src / ChangeLog
1 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * main.C: 
4         * lyx_main.C: 
5         * lyx_cb.C: 
6         * buffer.C: 
7         * LaTeX.C: use namespace alias for lyx::support::os
8
9 2003-09-16  Angus Leeming  <leeming@lyx.org>
10
11         * bufferparams.C:
12         * bufferview_funcs.C:
13         * factory.C:
14         * lyxfunc.C:
15         * paragraph_pimpl.C:
16         * rowpainter.C:
17         * text.C: add #include "LColor.h".
18
19 2003-09-16  Angus Leeming  <leeming@lyx.org>
20
21         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph, setUnderbar,
22         setNoun, setNumber, setColor, setLanguage): no longer return LyXFont &.
23         Store the FontBits::color variable as an int rather than as an LColor::color
24         so that we can move LColor.h out of the lyxfont.h header file.
25
26         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
27         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot string
28         calls together.
29
30         * lyxrc.C: add #include "LColor.h".
31
32 2003-09-15  Angus Leeming  <leeming@lyx.org>
33
34         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as a cow_ptr.
35
36 2003-09-15  Angus Leeming  <leeming@lyx.org>
37
38         * LColor.h: add an EnumLColor wrapper for LColor::color.
39
40         * lyxfont.[Ch] (color, setColor, realColor):
41         * lyxtext.h, text.C (backgroundColor):
42         pass EnumLColor args to/from the functions, rather than LColor::color ones.
43
44         * lyxfont.h:
45         * lyxtext.h: forward declare EnumLColor.
46
47         * lyx_main.C: add #include "LColor.h".
48
49 2003-09-15  Angus Leeming  <leeming@lyx.org>
50
51         * .cvsignore: add lyx-gtk.
52
53 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
54
55         * Chktex.C
56         * LaTeX.C
57         * LaTeXFeatures.C
58         * ParagraphParameters.C
59         * Spacing.C
60         * buffer.C
61         * bufferparams.C
62         * bufferview_funcs.C
63         * chset.C
64         * counters.C
65         * funcrequest.C
66         * lyxfont.C
67         * lyxgluelength.C
68         * lyxlength.C
69         * paragraph.C
70         * paragraph_funcs.C
71         * text3.C
72         * vc-backend.C: remove usage of STRCONV
73
74 2003-09-15  Angus Leeming  <leeming@lyx.org>
75
76         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
77         explicitly define the color passed to the painter.
78
79 2003-09-15  Angus Leeming  <leeming@lyx.org>
80
81         * bufferparams.C (BufferParams): reorder member initializers to avoid
82         compiler warning.
83
84 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
85
86         * CutAndPaste.C (pasteSelection): remove an outdated #warning
87         * text.C (updateRowPositions): remove an unusual nop
88
89 2003-09-12  André Pönitz  <poenitz@gmx.net>
90
91         * BufferView_pimpl.C:
92         * Bullet.C:
93         * layout.h:
94         * lyxfunc.C:
95         * lyxlayout.[Ch]:
96         * lyxtextclass.C:
97         * rowpainter.C:
98         * text.C:
99         * text2.C:
100         * Counters.[Ch]: finish the 'automatic counters' job
101
102 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
103
104         * aspell.C: include <boost/assert.cpp> (compile fix)
105
106 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
107
108         * boost.C (assertion_failed): use lyx::support::abort instead of
109         assert.
110
111 2003-09-10  Angus Leeming  <leeming@lyx.org>
112
113         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
114         _fwd progeny.
115
116 2003-09-09  Angus Leeming  <leeming@lyx.org>
117
118         134 files throughtout the source tree: replace 'using namespace abc;'
119         directives with the appropriate 'using abc::xyz;' declarations.
120
121 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
122
123         * boost.C (emergencyCleanup): moved here from LAssert.c
124         (assertion_failed): new function, called by BOOST_ASSERT
125
126         * several files: change Assert to BOOST_ASSERT
127
128 2003-09-09  Angus Leeming  <leeming@lyx.org>
129
130         * buffer.[Ch]: Add an Impl class and move Buffer's member
131         variables into it. As a result move several header files out of
132         buffer.h.
133
134         Add header files to lots of .C files all over the tree as a result.
135
136 2003-09-09  Angus Leeming  <leeming@lyx.org>
137
138         * buffer.[Ch]: make Buffer's member variables private. Add
139         accessor functions.
140
141         Lots of changes all over the tree as a result.
142
143 2003-09-08  Angus Leeming  <leeming@lyx.org>
144
145         * graph.C: #include <config.h>.
146
147 2003-09-08  Angus Leeming  <leeming@lyx.org>
148
149         * BranchList.C:
150         * BufferView.C:
151         * BufferView_pimpl.C:
152         * CutAndPaste.C:
153         * DepTable.C:
154         * LaTeX.C:
155         * LaTeXFeatures.C:
156         * LyXAction.C:
157         * MenuBackend.C:
158         * TextCache.C:
159         * aspell.C:
160         * buffer.C:
161         * bufferlist.C:
162         * changes.C:
163         * chset.C:
164         * converter.C:
165         * counters.C:
166         * debug.C:
167         * graph.C:
168         * ispell.C:
169         * lyx_cb.C:
170         * lyxfind.C:
171         * lyxfunc.C:
172         * lyxlex_pimpl.C:
173         * lyxrc.C:
174         * lyxrow.C:
175         * paragraph.C:
176         * rowpainter.C:
177         * texrow.C:
178         * text.C:
179         * text2.C:
180         * toc.C: remove redundant using directives.
181
182 2003-09-07  Angus Leeming  <leeming@lyx.org>
183
184         * LaTeXFeatures.h: remove #include "support/types.h".
185         * ToolbarBackend.h: remove #include <algorithm>.
186         * changes.h: remove #include <ctime>.
187         * debug.h: remove #include <iosfwd>.
188         * graph.h: remove #include "support/std_string.h".
189         * lyx_main.h: remove #include <csignal>.
190         * lyxlex_pimpl.h: remove #include <fstream>.
191         * sgml.h: remove #include <algorithm>, <utility>.
192         * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
193
194 2003-09-07  Angus Leeming  <leeming@lyx.org>
195
196         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
197
198         * converter.h: forward declare LatexRunParams.
199         * encoding.h: remove #include "lyxrc.h".
200         * lyxtext.h: remove #include "LColor.h".
201         * lyxtextclass.h: remove #include "support/types.h".
202         * trans.h: remove #include "tex-accent.h".
203         * trans_mgr.h: remove #include "tex-accent.h".
204         * insets/inset.h: remove #include "support/types.h", <vector>.
205         * insets/insetcollapsable.h: remove #include "LColor.h".
206         * insets/insetinclude.h: remove #include "dimension.h".
207         * insets/insetlatexaccent.h: remove #include "dimension.h".
208         * insets/insetoptarg.h:: remove #include "insettext.h".
209         * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
210
211         * insets/renderers.h: add #include "dimension.h".
212         * insets/updatableinset.h: add #include "support/types.h".
213
214         * many .C files: Associated changes.
215
216 2003-09-06  Angus Leeming  <leeming@lyx.org>
217
218         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
219         inside testInvariant.
220
221         * PrinterParams.C: new file.
222         * PrinterParams.[Ch]: move the function bodies out of line.
223
224 2003-09-06  Angus Leeming  <leeming@lyx.org>
225
226         * ParagraphParameters.h: forward declare ParameterStruct rather than
227         including its header file.
228         (depth): moved out-of-line.
229
230 2003-09-06  Angus Leeming  <leeming@lyx.org>
231
232         * BufferView_pimpl.h:
233         * kbmap.h:
234         * kbsequence.h:
235         * lyxfunc.h: forward declare LyXKeySym rather than
236         #include "frontends/LyXKeySym.h".
237
238         * BufferView_pimpl.C:
239         * kbmap.C:
240         * kbsequence.C:
241         * lyxfunc.C: associated changes.
242
243 2003-09-06  Angus Leeming  <leeming@lyx.org>
244
245         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
246         As a result, can remove the #include "insets/inset.h" from BufferView.h
247
248 2003-09-06  Angus Leeming  <leeming@lyx.org>
249
250         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
251         As a result, can remove the #include "insets/inset.h" from BufferView.h
252
253 2003-09-06  Angus Leeming  <leeming@lyx.org>
254
255         * buffer_funcs.C:
256         * buffer.h:
257         * bufferlist.C:
258         * BufferView.C:
259         * bufferview_funcs.C:
260         * BufferView_pimpl.C:
261         * CutAndPaste.C:
262         * lyx_cb.C:
263         * lyxfunc.C:
264         * paragraph.h:
265         * ParagraphParameters.C:
266         * tabular.C:
267         * text3.C:
268         * toc.C:
269         * undo_funcs.C:
270         * frontends/controllers/ControlDocument.C:
271         * insets/insetcaption.C: rearrange the #includes into some sort of
272         coherent order.
273
274         * buffer.h: remove #includes ErrorList.h, undo.h
275
276 2003-09-06  Angus Leeming  <leeming@lyx.org>
277
278         * support/types.h: add a 'depth_type' typedef, used to store the
279         nesting depth of a paragraph.
280
281         * paragraph.h:
282         * ParameterStruct.h: use this lyx::depth_type typedef rather than
283         defining explicitly.
284
285         * buffer.h:
286         * paragraph_funcs.h:
287         * ParagraphParameters.h:
288         * sgml.h: use lyx::depth_type rather than Paragraph or
289         ParameterStruct's depth_type.
290
291         * buffer.h
292         * paragraph_funcs.h: no need to #include paragraph.h anymore.
293
294         * BufferView.C:
295         * BufferView_pimpl.C:
296         * CutAndPaste.C:
297         * ParagraphParameters.C:
298         * buffer_funcs.C:
299         * bufferlist.C:
300         * bufferview_funcs.C:
301         * lyx_cb.C:
302         * lyxfunc.C:
303         * tabular.C:
304         * text3.C:
305         * toc.C:
306         * undo_funcs.C:
307         * frontends/LyXView.C:
308         * frontends/controllers/ControlDocument.C:
309         * frontends/controllers/ControlErrorList.C:
310         * insets/insetbibitem.C:
311         * insets/insetbranch.C:
312         * insets/insetcaption.C:
313         * insets/insetcollapsable.C:
314         * insets/insetenv.C:
315         * insets/insetert.C:
316         * insets/insetfloat.C:
317         * insets/insetfoot.C:
318         * insets/insetfootlike.C:
319         * insets/insetnewline.C:
320         * insets/insetquotes.C:
321         * insets/insettabular.C:
322         * insets/insettext.C:
323         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
324
325         * frontends/controllers/ControlChanges.C: #include "changes.h".
326
327 2003-09-06  Angus Leeming  <leeming@lyx.org>
328
329         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
330         #including paragraph.h.
331
332         * ParagraphList.h:
333         * RowList.h: deleted. Superfluous.
334
335         * CutAndPaste.h:
336         * iterators.h:
337         * lyxcursor.h:
338         * lyxtext.h:
339         * text_funcs.h:
340         * undo.h:
341         * undo_funcs.h:
342         * insets/inset.h:
343         * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
344
345         * paragraph.h: don't forward declare ParagraphList.
346
347         * buffer.h:
348         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
349         rather than ParagraphList.h. paragraph.h is still needed for the
350         Paragraph::depth_type parameters.
351
352         * textcursor.h: enable it to compile stand-alone in light of the
353         above changes.
354
355         * bufferview_funcs.C:
356         * iterators.C:
357         * lyxfunc.C:
358         * lyxrow_funcs.C:
359         * paragraph.C:
360         * rowpainter.C:
361         * text.C:
362         * text2.C:
363         * text3.C:
364         * text_funcs.C:
365         * textcursor.C:
366         * undo.C:
367         * frontends/controllers/ControlParagraph.C:
368         * frontends/controllers/ControlTabular.C:
369         * insets/insetmarginal.C:
370         * insets/insetminipage.C:
371         * insets/insetnote.C:
372         * insets/insetoptarg.C: add header files needed to compile again.
373
374 2003-09-06  Angus Leeming  <leeming@lyx.org>
375
376         * RowList_fwd.h: new file, forward-declaring Row rather than
377         #including lyxrow.h.
378
379         * lyxrow_funcs.h:
380         * lyxtext.h:
381         * paragraph.h:
382         * insets/insettext.h: use it instead of RowList.h
383
384         * bufferview_funcs.C:
385         * lyxfunc.C:
386         * lyxrow_funcs.C:
387         * paragraph.C:
388         * rowpainter.C:
389         * text.C:
390         * text2.C:
391         * text3.C: #include "RowList.h".
392
393 2003-09-05  Angus Leeming  <leeming@lyx.org>
394
395         * factory.C (createInset):
396         * vspace.C (c-tor): replace sscanf call with an istringstream.
397         * ispell.C: re-add missing HP/UX headers.
398         * lyxserver.C: re-add missing  os2 headers.
399
400 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
401
402         * BranchList.C:
403         * graph.C:
404         * ispell.C:
405         * lastfiles.C:
406         * lyx_cb.C:
407         * lyxserver.C:
408         * texrow.C:
409         * text3.C: re-add missing system headers, needed for 2.95.2.
410
411 2003-09-05  Angus Leeming  <leeming@lyx.org>
412
413         Changes most place everywhere due to the removal of using directives
414         from support/std_sstream.h.
415
416 2003-09-05  Angus Leeming  <leeming@lyx.org>
417
418         Replace LString.h with support/std_string.h,
419         Lsstream.h with support/std_sstream.h,
420         support/LIstream.h with support/std_istream.h,
421         support/LOstream.h with support/std_ostream.h.
422
423         Changes resulting throughout the tree.
424
425 2003-09-05  Angus Leeming  <leeming@lyx.org>
426
427         * sgml.h: ensure that the header file can be compiled stand-alone.
428         * *.C: strip out redundant #includes. (320 in total.)
429
430 2003-09-04  Angus Leeming  <leeming@lyx.org>
431
432         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
433         here (from getPackages).
434
435         * debug.[Ch]: add a new EXTERNAL tag.
436
437 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
438
439         * text2.C (cursorEnd): simplify
440         (setCursor): adjust
441         (getColumnNearX): adjust
442
443         * text.C (computeBidiTables): adjust
444         (fill): adjust
445
446         * rowpainter.C (paintChars): adjust
447         (paintSelection): adjust
448         (paintChangeBar): adjust
449         (paintText): adjust
450
451         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
452         lastPos instead.
453         (numberOfSeparators): adjust
454
455 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
456
457         * LyXAction.C:
458         * box.[Ch]:
459         * lfuns.h:
460         * lyxfunc.C:
461         * text3.C: Restricts the mouse click functionality
462         of insets like bibtex, include, toc and floatlist to the visible
463         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
464         up the dialogs. Cursor has to be in front of the inset (i.e.
465         start of row) for this to function.
466
467 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
468
469         * bufferview_funcs.C (currentState): output row information
470
471 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
472
473         * bufferview_funcs.C (currentState): output paragraph position
474
475 2003-09-04  Angus Leeming  <leeming@lyx.org>
476
477         * FloatList.h: move out #include "Floating.h".
478         * LaTeX.h: move out #include "DepTable.h".
479         * LyXAction.h: move out #include "funcrequest.h".
480         * buffer.h: move out #include "author.h", "iterators.h".
481         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
482         * lyx_main.h: move out #include "errorlist.h".
483         * lyxfunc.h: move out #include "FuncStatus.h".
484         * lyxtext: move out #include "lyxcursor.h".
485         * paragraph_pimpl.h: move out #include "counters.h".
486
487 2003-09-03  Angus Leeming  <leeming@lyx.org>
488
489         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
490         preamble_snippets list, enabling us to add snippets to the preamble only
491         if the snippet was not there already.
492
493 2003-09-04  Angus Leeming  <leeming@lyx.org>
494
495         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
496
497 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
498
499         * lyxfunc.C (dispatch): if fitCursor did something be sure to
500         update
501
502 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
503
504         * BranchList.C: point fix, earlier forgotten
505
506 2003-09-02  Angus Leeming  <leeming@lyx.org>
507
508         * box.C (contains): renamed from 'contained' after a fantastic
509         amount of hot air.
510
511 2003-09-02  John Levon  <levon@movementarian.org>
512
513         * BufferView.C:
514         * lyxcursor.h:
515         * lyxcursor.C:
516         * lyxfunc.C:
517         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
518
519 2003-09-02  John Levon  <levon@movementarian.org>
520
521         * text2.C: simplification of cursorEnd(), including partial
522         fix for bug 1376
523
524 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
525
526         * buffer.C (readFile): add a space
527
528 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
529
530         * BufferView_pimpl.C (update): remove bogus fitCursor() call
531
532 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
533
534         * buffer.C (readFile): new function, take a filename and a
535         ParagraphList::iterator
536         (readFile): adjust
537         (readFile): adjust, make it private. don't use setStream, make
538         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
539         always contain the filename.
540
541         * BufferView.C (insertLyXFile): simplify and make it work for
542         gzipped files.
543
544 2003-08-30  John Levon  <levon@movementarian.org>
545
546         * Makefile.am: fix dist (from Kayvan)
547
548 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
549
550         * most files: change to use const Buffer refs
551
552 2003-08-27  André Pönitz  <poenitz@gmx.net>
553
554         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
555         on top of ownerPar().
556
557 2003-08-27  John Levon  <levon@movementarian.org>
558
559         * funcrequest.C: properly initialise POD members
560
561 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
562
563         * lyxtext.h (top_y): move top_y from here
564         * text.C:
565         * text2.C:
566         * text3.C:
567         * BufferView.[Ch]:
568         * BufferView_pimpl.[Ch]: to here
569         * frontends/screen.C:
570         * insets/insettabular.C:
571         * insets/insettext.C: adjust
572         * rowpainter.[Ch] (paintRows): remove LyXText & argument
573
574 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
575
576         * BufferView.[Ch]:
577         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
578
579 2003-08-26  André Pönitz  <poenitz@gmx.net>
580
581         * paragraph_func.[Ch] (outerPar): new function
582
583         * paragraph.C:
584         * paragraph_funcs.C:
585         * paragraph_funcs.h:
586         * paragraph_pimpl.C:
587         * text2.C: remove Inset::par_owner
588
589 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
590
591         * lyxrow_funcs.C:
592         * lyxtext.h:
593         * text.C:
594         * text2.C: eliminates the needFullRow/display() stuff
595         altogether, putting the logic in metrics/draw in the insets.
596
597 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
598
599         * text2.C (redoParagraphInternal, redoParagraphs):
600         * text.C (redoParagraph): add a call to updateRowPositions at the
601         end of each 'metrics-like' call. Remove all others.
602         (getRow): remove the 'y-computing' version.
603         (getRowNearY): do not compute nor return the real y. Solve the
604         'y < 0' problem and simplify.
605
606 2003-08-22  Angus Leeming  <leeming@lyx.org>
607
608         * *.[Ch]: clean-up of licence and author blurbs.
609         Also move config.h out of a few .h files and into a few .C files.
610
611 2003-08-22  André Pönitz  <poenitz@gmx.net>
612
613         * lyxrow.[Ch]: add x_ and *fill_ members
614
615         * lyxtext.h:
616         * text.C:
617         * rowpainter.C:
618         * text2.C: adjust/remove prepareToPrint() calls
619
620 2003-08-22  André Pönitz  <poenitz@gmx.net>
621
622         * lyxrow.[Ch]: add  end_ member
623
624         * lyxrow_funcs.C: use LyXRow::end_
625
626         * lyxtext.h (singleWidth): add LyXFont parameter
627
628         * rowpainter.C:
629         * text2.C: adjust LyXText::singleWidth() calls
630
631         * text.C (redoParagraph): simplify row breaking logic
632
633
634 2003-08-19  André Pönitz  <poenitz@gmx.net>
635
636         * funcrequest.C: initialize button_ member
637
638         * text3.C:
639         * rowpainter.[Ch]: interface consolidation
640
641 2003-08-18  André Pönitz  <poenitz@gmx.net>
642
643         * BufferView.C:
644         * BufferView_pimpl.C:
645         * lyxfind.C:
646         * paragraph_funcs.C:
647         * rowpainter.C:
648         * text3.C: remove LyXScreen::draw() and fitCursor calls
649
650         * BranchList.h: remove spurious semicolons
651
652         * MenuBackend.C: fix branchlist related crash
653
654 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
655
656         * BranchList.[Ch]:
657         * InsetList.[Ch]:
658         * LColor.[Ch]:
659         * LyXAction.C:
660         * Makefile.am:
661         * MenuBackend.[Ch]:
662         * bufferparams.[Ch]:
663         * factory.C:
664         * lfuns.h:
665         * lyxfunc.C:
666         * text3.C: implements the 'branch inset'
667         idea. This allows the output of various versions of a document
668         from a single source version, selectively outputing or suppressing
669         output of parts of the text.
670         This implementation contains a 'branch list editor' in a separate
671         tab of the document settings dialog. Branches are user definable
672         and have a "display colour" to distinguish them on-screen.
673
674         ColorHandler was somewhat cleaned up.
675         (1) make possible a dynamically growing LColor list by allowing
676         the graphic context cache to grow along (vector);
677         (2) eliminate an IMHO unnecessary step in colour allocation.
678
679 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
680
681         * BufferView_pimpl.C: compile fix
682
683 2003-08-15  André Pönitz  <poenitz@gmx.net>
684
685         * rowpainter.C: remove extra metrics calls
686
687         * lyxtext.h: merge the two constructors into a single one,
688           pass reference to owner's par list
689
690         * BufferView_pimpl.C:
691         * text.C:
692         * text2.C: adjust
693
694 2003-08-15  André Pönitz  <poenitz@gmx.net>
695
696         * lyxrow_funcs.[Ch]:
697         * lyxtext.h:
698         * paragraph.h:
699         * paragraph_funcs.C:
700         * rowpainter.C:
701         * text.C:
702         * text2.C:
703         * text3.C:
704         * text_funcs.C: split LyXText::rowlist_ into individual
705         Paragraph::rows_ chunks
706
707         * BufferView.[Ch]:
708         * BufferView_pimpl.[Ch]:
709         * lyxfind.C:
710         * lyxtext.h:
711         * text3.C: remove toggleSelection()
712
713 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
714
715         * bufferlist.C: beautify two alerts (shorter text of buttons)
716         * buffer.C: Remove redundant ' ' from message
717         * tabular.h:
718         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
719         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
720         rename VALIGN_CENTER to VALIGN_MIDDLE
721
722 2003-08-11  André Pönitz  <poenitz@gmx.net>
723
724         * lyxtext.h (getPar):
725         * text.C: new function
726
727 2003-08-11  André Pönitz  <poenitz@gmx.net>
728
729         * Makefile.am:
730         * tracer.[Ch]: remove unneeded files
731
732         * InsetList.[Ch]: remove resizeInsetsLyXText()
733
734         * lyxtext.h:
735         * text.C:
736         * text2.C:
737         * text3.C: merge insertParagraphs() and appendParagraph()
738         remove breakAgain(), update()
739
740         * BufferView_pimpl.[Ch]:
741         * bufferview_funcs.[Ch]:
742         * lyxfunc.C:
743         * paragraph.[Ch]:
744         * rowpainter.C:
745         * tabular.C: adjust after text & InsetList changes.
746
747 2003-08-08  André Pönitz  <poenitz@gmx.net>
748
749         * text.C (insertChar, backspace): replace rowlist fiddling
750         with rebreak of full par
751
752         * lyxtext.h:
753         * text.C (breakAgainOneRow, redoHeightOfParagraph,
754         checkParagraph, updateInset): removed
755
756 2003-08-07  André Pönitz  <poenitz@gmx.net>
757
758         * paragraph.C:
759         * text3.C: merge some LFUN handlers, remove dead code
760
761 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
762
763         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
764
765 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
766
767         * text2.C (DEPM): fix part of bug 1255 and 1256
768
769 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
770
771         * BufferView_pimpl.C (workAreaDispatch): change to use
772         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
773         that are no mouse related.
774
775 2003-08-05  André Pönitz  <poenitz@gmx.net>
776
777         * BufferView.[Ch]:
778         * BufferView_pimpl.[Ch]:
779         * bufferview_funcs.C:
780         * text2.C:
781         * text3.C: rip out "deep update"
782
783         * textcursor.[Ch] (last_sel_cursor): remove unused member
784
785 2003-08-04  André Pönitz  <poenitz@gmx.net>
786
787         * BufferView.[Ch]:
788         * BufferView_pimpl.[Ch]:
789         * ParagraphParameters.C:
790         * bufferview_funcs.C:
791         * lyx_cb.C:
792         * lyxfind.C:
793         * lyxfunc.C:
794         * text.C:
795         * text2.C:
796         * text3.C: replace "complicated" BufferView::update(...) calls with
797         simpler ones.
798
799         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
800
801 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
802
803         * Makefile.am (lyx_SOURCES): add paper.h
804
805 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
806
807         * Makefile.am: move things around so that both lyx-qt and
808         lyx-xforms can be built (according to --with-frontend). Then lyx
809         is a symbolic link to lyx-[firstfrontend]
810
811 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
812
813         * Always use std::endl with lyxerr
814
815 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
816
817         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
818
819 2003-08-01  André Pönitz  <poenitz@gmx.net>
820
821         * BufferView.[Ch]:
822         * BufferView_pimpl.[Ch]:
823         * lyxfunc.C:
824         * text3.C: merge BufferView::repaint() and BufferView::update()
825
826 2003-08-01  José Matos  <jamatos@lyx.org>
827
828         * buffer.[Ch]: file_format is no longer a buffer data element.
829
830 2003-08-01  André Pönitz  <poenitz@gmx.net>
831
832         * BufferView.C:
833         * lyxtext.h:
834         * text.C:
835         * text2.C: make redoParagraph more independent of current cursor
836
837         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
838         * text.C:
839         * text2.C: remove unneeded members
840
841 2003-07-30  André Pönitz  <poenitz@gmx.net>
842
843         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
844
845         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
846           create a single function...
847
848         * paragraph_funcs.C (moveItem): ... here.
849
850         * text.C:
851           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
852
853 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
854
855         * LColor.[Ch]: Add comment and greyedout logical colors.
856
857 2003-07-30  André Pönitz  <poenitz@gmx.net>
858
859         * tabular.C: don't use Assert too heavily. This crashes where it
860           shouldn't
861
862 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
863
864         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
865         is disabled (bug 1232)
866
867 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
868
869         * factory.C: limited 'arg' scope
870
871 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
872
873         * factory.C: fixed Note submenu issues
874
875 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
876
877         * factory.C: submenu for Note/Comment/Greyedout
878
879 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
880
881         * lyx_main.C (LyX):
882         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
883
884 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
885
886         * LaTeXFeatures.C:
887         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
888         greyedout. Patch provided by Jürgen Spitzmüller.
889
890 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
891
892         * kbmap.C (read): fix error message when reading bind files
893
894 2003-07-29  Angus Leeming  <leeming@lyx.org>
895
896         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
897         certainly does not do what it purports to do. I am doing it, and
898         us, a favour by killing it.
899
900 2003-07-28  José Matos  <jamatos@lyx.org>
901
902         * buffer.C (readBody, do_writeFile):
903         * paragraph.C(readParagraph): \end_document replaces \the_end.
904
905 2003-07-29  André Pönitz  <poenitz@gmx.net>
906
907         * BufferView.[Ch]:
908         * BufferView_pimpl.[Ch]:
909         * lyxfunc.C:
910         * text2.C:
911         * text3.C:
912         * textcursor.[Ch]: remove toggleToggle & Co
913
914 2003-07-28  José Matos  <jamatos@fep.up.pt>
915
916         * buffer.C (readParagraph):
917         * params_func (readParToken, readParagraph):
918         * paragraph.C (write): \layout -> \begin_layout.
919
920 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
921
922         * lyxlex_pimpl.C (setFile): clean up slightly.
923
924         * bufferparams.h: add compressed var
925
926         * buffer_funcs.C (readFile): adjust for LyXLex change
927         (newFile): ditto + simplify
928
929         * buffer.C (writeFile): handle writing of compressed files
930
931         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
932         Check if the file is compressed and set a bufferparm if so.
933
934         * Makefile.am (lyx_LDADD): remove explicit -lz
935
936 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
937
938         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
939         makeDocBookFile): put the real LyX version in the first line of
940         the file
941
942         * version.h:
943         * version.C.in: remove lyx_docversion
944
945         * tabular.C (write_attribute): add a template-based version to
946         write enums properly
947
948 2003-07-28  André Pönitz  <poenitz@gmx.net>
949
950         * lyxtext.h:
951         * text.C:
952         * text2.C:
953         * text3.C: use doubles again for x-coordinates. They are needed.
954
955 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
956
957         * messages.C (getLocaleDir): use lyx_localedir()
958
959         * lyxlex_pimpl.C (setFile): compress stuff
960
961         * buffer.C (writeFile): add some compression stuff
962         (do_writeFile): new func, dont call expliti close... will this
963         breake anything?
964
965         * Makefile.am (lyx_LDADD): add -lz
966
967 2003-07-28  José Matos  <jamatos@fep.up.pt>
968
969         * buffer.C: increment file format.
970         * paragraph_funcs (readParagraph, readParToken):
971         * paragraph.C (readParagraph): add \end_layout.
972
973 2003-07-27  Angus Leeming  <leeming@lyx.org>
974
975         * Makefile.am: remove special casing for configure-time setting of
976         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
977
978         * lyx_main.C (init): remove all Jean-Marc's magic setting of
979         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
980
981 2003-07-26  André Pönitz  <poenitz@gmx.net>
982
983         * paragraph_func.[Ch]:
984         * paragraph.C (realizeFont): inline it whereever it is used
985
986         * rowpainter.C:
987         * text.C:
988         * text2.C:
989         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
990
991
992 2003-07-26  André Pönitz  <poenitz@gmx.net>
993
994         *       lyxtext.h:
995         * text.C:
996         * text2.C: get rid of LyXText::need_break_row
997
998 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
999
1000         * toc.[Ch]: put namespace toc inside namespace lyx
1001
1002         * MenuBackend.C (expandToc2): adjust for lyx::toc
1003         (expandToc): ditto
1004
1005         * lyxfunc.C (dispatch): adjust for lyx::find
1006
1007         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1008         lyx::find instead. Reorganize a bit.
1009         (LyXReplace): rename to replace
1010         (LyXFind): rename to find
1011
1012         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1013         (dispatch): ditto
1014
1015 2003-07-26  André Pönitz  <poenitz@gmx.net>
1016
1017         * text.C (setHeightOfRow): restrict scope of temporary variable
1018
1019         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1020           code (never has been used?)
1021
1022 2003-07-27  Asger Alstrup  <alstrup@local>
1023
1024         * text.C (fill): Optimise algorithm to exploit that we can reuse
1025         the LyXFont for many characters.
1026         (setHeightOfRow): Same thing.
1027         (rowBreakPoint): Same thing.
1028
1029 2003-07-26  Asger Alstrup  <alstrup@local>
1030
1031         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1032
1033         * text.C (singleWidth): Spurious font copying in hot-spot
1034         singleWidth avoided. Reorder tests for arabic for efficiency.
1035
1036         * text.C (fill): handle empty paragraphs better.
1037
1038 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1039
1040         * ispell.C:
1041         * encoding.h: add includes
1042
1043         * lyxrc.C: remove reading of bind files
1044
1045         * lyx_main.C (init): setup bindings and menus only if we have a
1046         gui.
1047
1048         * kbmap.C (read): new method. Do the actual reading of bind
1049         files.
1050
1051         * converter.C (dvipdfm_options):
1052         * bufferparams.C:
1053         * lyxrc.C (read):
1054         (output): adapt PAPER_* enums.
1055
1056         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1057
1058         * bufferparams.h: remove paper-related enums from there
1059
1060         * paper.h: New file. A trivial header file to hold paper-related
1061         enums. It should later expand to contain many paper-related
1062         horrors access.
1063
1064         * lyxrc.C: declare extern displayTranslator
1065
1066 2003-07-27  José Matos  <jamatos@fep.up.pt>
1067
1068         * tabular.[Ch] (linuxdoc): add support for tables and figures
1069         (linuxdoc).
1070
1071 2003-07-27  José Matos  <jamatos@fep.up.pt>
1072
1073         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1074         consistency in both functions.
1075         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1076
1077 2003-07-26  Asger Alstrup  <alstrup@local>
1078
1079         * rowpainter.C (paintRows): Change algorithm to work directly on
1080         the insets rather than asking every character in the document
1081         whether its an inset.
1082
1083 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1084
1085         * buffer.C (openFileWrite): factorize some code
1086
1087 2003-07-26  Angus Leeming  <leeming@lyx.org>
1088
1089         * lyx_cb.C:
1090         * lyx_main.[Ch]: replace occurances of system_tempdir with
1091         os::getTmpDir().
1092
1093 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1094
1095         * rename Inset to InsetOld
1096
1097 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1098
1099         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1100         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1101         which I think is a bit clearer. EDIT is gone, since it was
1102         premature optimisation, and broken for mathed anyway.
1103         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1104         with cursor positioning in insets as well (math insets still do not
1105         work, but that's a different story anyway.) It mysteriously
1106         crashes sometimes with undo in the first paragraph, but I'm fairly
1107         confident that this is a compiler bug.
1108
1109 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1110
1111         * paragraph.C (Paragraph): adjust for new clone return type
1112         (operator==): ditto
1113         (copyIntoMinibuffer): ditto
1114
1115 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1116
1117         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1118         by not having a special case, and always doing a full rebreak of
1119         the document after undo.
1120
1121 2003-07-23  Angus Leeming  <leeming@lyx.org>
1122
1123         * factory.C (createInset): InsetExternal::setParams now takes a
1124         Buffer const * arg.
1125
1126 2003-07-23  Angus Leeming  <leeming@lyx.org>
1127
1128         * factory.C (createInset): changed interface to the external and
1129         graphics mailers' string2params functions.
1130
1131 2003-07-23  Angus Leeming  <leeming@lyx.org>
1132
1133         * factory.C (createInset): pass a
1134         Buffer const * parameter to InsetExternalMailer's string2params.
1135
1136 2003-07-22  John Levon  <levon@movementarian.org>
1137
1138         * Thesaurus.h: include the right aiksaurus header
1139
1140 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1141
1142         * MenuBackend.C (expand): check menu shortcuts unconditionally
1143
1144 2003-07-21  Angus Leeming  <leeming@lyx.org>
1145
1146         * factory.C (createInset): pass a
1147         buffer_path parameter to InsetGraphicsMailer's string2params.
1148
1149 2003-07-21  Angus Leeming  <leeming@lyx.org>
1150
1151         * BufferView_pimpl.C (buffer):
1152         * buffer.C (d-tor):
1153         * lyx_main.C (LyX):
1154         * lyxfunc.C (dispatch):
1155         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1156         rather than the grfx shortcut.
1157
1158 2003-07-21  André Pönitz  <poenitz@gmx.net>
1159
1160         * rowpainter.C: remove unused variables
1161
1162         * tabular_funcs.C:
1163         * tabular_funcs.h: move to tabular.C
1164         * Makefile.am: adjust
1165
1166         * tabular.[Ch]: basic optical cleaning
1167
1168         * author.h: pass references, not values
1169
1170 2003-07-18  André Pönitz  <poenitz@gmx.net>
1171
1172         * lyxtext.h:
1173         * metricsinfo.C:
1174         * metricsinfo.h:
1175         * rowpainter.C:
1176         * text.C:
1177         * text2.C:
1178         * text3.C: two-phase drawing for InsetText and InsetTabular
1179         some float -> int changes.
1180
1181 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1182
1183         * lyx_main.C: fix the fix
1184
1185 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1186
1187         * lyx_main.C: fix a crash in batch mode if no files specified
1188         * converter.C: ws
1189
1190 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1191
1192         * format.[Ch] (papersize): moved to BufferParams
1193         * converter.[Ch] (dvips_options): moved to BufferParams
1194         (dvipdfm_options): moved to anon namespace
1195         * bufferparams.[Ch]: added above functions.
1196
1197 2003-07-17  André Pönitz  <poenitz@gmx.net>
1198
1199         * lyxtext.h:
1200         * rowpainter.C:
1201         * text2.C: don't call inset->update() anymore
1202
1203         * metricsinfo.[Ch]: add convenience constructor
1204
1205 2003-07-16  André Pönitz  <poenitz@gmx.net>
1206
1207         * lyxcursor.[Ch]:
1208         * lyxfunc.[Ch]:
1209         * text.C:
1210         * text2.C: replace the LyXCursor::irow_ member with
1211          on-demand computation of the value
1212
1213 2003-07-16  John Levon  <levon@movementarian.org>
1214
1215         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1216
1217 2003-07-15  André Pönitz  <poenitz@gmx.net>
1218
1219         * text.C:
1220         * text2.C: remove no more needed refresh_row
1221
1222 2003-07-15  André Pönitz  <poenitz@gmx.net>
1223
1224         * lyxtext.h:
1225         * rowpainter.C:
1226         * text2.C:
1227         * text3.C: refresh_status tristate -> need_update bool
1228
1229 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1230
1231         * lyxtext.h (init): remove reinit argument (act as if always true)
1232         * text2.C: adjust to that
1233
1234 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1235
1236         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1237         * text3.C: use it to delete selections in some cases
1238         (bugs 441, 673, 702, 954).
1239
1240 2003-07-14  André Pönitz  <poenitz@gmx.net>
1241
1242         * rowpainter.[Ch]: reduce interface
1243
1244 2003-07-14  André Pönitz  <poenitz@gmx.net>
1245
1246         * BufferView_pimpl.C:
1247         * text2.C: adjust after removing unused BufferView * argument
1248
1249 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1250
1251         * text2.C (init): fix a crash fired on resize
1252
1253 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1254
1255         * buffer.[Ch]: added new closing signal
1256         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1257         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1258         BufferView::Pimpl via the closing the signal
1259
1260 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1261
1262         * buffer.[Ch]: take out all bv-related from buffer
1263         * BufferView.C:
1264         * BufferView_pimpl.[Ch]: connect to new signals
1265         * CutAndPaste.C: removed useless asserts
1266         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1267         * lyxvc.[Ch]:
1268         * vc-backend.[Ch]:
1269         * lyxfunc.C: moved view-related funciontality from vc here
1270         * paragraph.C: removed outdated comments
1271         * text.C: ws
1272
1273 2003-07-10  André Pönitz  <poenitz@gmx.net>
1274
1275         * BufferView_pimpl.C:
1276         * tabular.h:
1277         * tabular_funcs.C:
1278         * text.C:
1279         * text2.C: remove InsetText::InnerCache, clean up consequences
1280
1281 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1282
1283         * ispell.C: fix two typos in error messages
1284
1285 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1286
1287         * Extend Note inset to other forms of annotation like Comment
1288         and Greyedout. Right button click gives dialog.
1289
1290         Files modified or added (+):
1291
1292         * insetnote.[Ch]
1293         * FormNote.[Ch]      +
1294         * ControlNote.[Ch]   +
1295         * form_note.fd       +
1296         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1297         frontends/controllers
1298         * xforms/Dialogs.C
1299         * factory.C
1300
1301 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1302
1303         * aspell.C: add missing namespace lyx::support
1304
1305 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1306
1307         * BufferView.[Ch] (newFile): Add
1308         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1309         * LaTeX.[Ch] (message): added this signal and use it
1310         * buffer.[Ch] (busy, message): added these signals and use them
1311         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1312         * converter.C:
1313         * exporter.C:
1314         * format.C:
1315         * importer.C: use buffer signals instead of direct bv calling
1316         * lyx_cb.[Ch] (ShowMessage): removed
1317         * lyx_main.C:
1318         * lyxfunc.C:
1319         * paragraph_funcs.C:
1320         * text2.C: use buffer signals
1321
1322 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1323
1324         * introduce namespace lyx::graphics
1325
1326 2003-07-02  André Pönitz  <poenitz@gmx.net>
1327
1328         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1329
1330 2003-07-01  André Pönitz  <poenitz@gmx.net>
1331
1332         * text.C:
1333         * text2.C:
1334         * text3.C:
1335         * text_funcs.[Ch]:
1336         * textcursor.h:
1337         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1338           text*.C to text_func.C
1339
1340 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1341
1342         * introduce namespace lyx::support
1343
1344 2003-06-30  André Pönitz  <poenitz@gmx.net>
1345
1346         * Chktex.C:
1347         * funcrequest.C:
1348         * lyxtext.h:
1349         * text.C: re-enable --with-included-string
1350
1351 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1352
1353         * textcursor.C: add <config.h>
1354
1355         * text.C (getWord): remove const from word_location arg
1356
1357         * lyxvc.C (getLogFile): fix const type order
1358
1359         * lyxtext.h: remove const from word_location arg, add arg name
1360
1361         * lyxlayout.h: currect type on labeltype.
1362
1363         * importer.C: correct \file
1364
1365         * converter.C (intToFormat): use std:: on ret val, ws changes
1366
1367         * bufferlist.h: correct \file
1368
1369         * buffer.C (makeLinuxDocFile): fix const type order
1370         (makeDocBookFile): ditto
1371         (fillWithBibKeys): use std:: on stdlib args.
1372
1373         * CutAndPaste.C: fix authors.
1374         (availableSelections): use std:: on return vector
1375
1376 2003-06-27  André Pönitz  <poenitz@gmx.net>
1377
1378         * BufferView_pimpl.C:
1379         * bufferview_funcs.C:
1380         * lyxcursor.C:
1381         * lyxcursor.h:
1382         * lyxfunc.C:
1383         * lyxtext.h:
1384         * rowpainter.C:
1385         * text.C:
1386         * text2.C:
1387         * text3.C: remove LyXCursor::row_ member
1388
1389         * lyxtext.h:
1390         * text.C: rename fullRebreak() to partialRebreak() and implement
1391           a fullRebreak() that really bereks fully
1392
1393         * textcursor.h: new struct for cursor-related data
1394
1395 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1396
1397         * lyx_main.C (LyX): get full path of document loaded on the
1398         command line
1399
1400 2003-06-26  André Pönitz  <poenitz@gmx.net>
1401
1402         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1403           remove unused/broken operator>,<,>=.
1404
1405         *       text.C: remove only use of broken operator<= in an Assert().
1406
1407 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1408
1409         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1410         moved errorlist_.clear to showErrorList
1411
1412 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1413
1414         * converter.C (scanLog, runLaTeX):
1415         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1416         move the bv->showErrorList call to the callers
1417         * lyxfunc.C: i.e. here...
1418         * text2.C: and here
1419         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1420         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1421         namespace, the second to...
1422         * buffer_funcs (BufferFormat, parseErrors): added
1423         * errorlist.C (ErrorList(TeXErrors const &)): removed
1424
1425 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1426
1427         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1428
1429 2003-06-24  "Garst R. Reese" <reese@isn.net>
1430
1431         * debug.C: fix typo
1432
1433 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1434
1435         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1436
1437         * version.C.in: change docversion to 1.4
1438
1439 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1440
1441         * buffer.C: fix a bug just introduced
1442
1443 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1444
1445         * buffer.[Ch]: added the parseError signal and use it, removed
1446         sgmlError
1447         * BufferView.[Ch] (addError): moved to ...
1448         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1449         to the Buffer::parseError signal to catch (guess what) parse errors
1450         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1451
1452 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1453
1454         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1455         ability to create a buffer and to return an existing one from
1456         the list. Moved these functions to...
1457         * buffer_funcs.[Ch]: added
1458         * BufferView.[Ch] (loadLyXFile): added
1459         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1460         job removed from bufferlist::loadLyXFile.
1461         * buffer.C (setReadOnly): make it work without view
1462         (i.e added an if (users))
1463
1464 2003-06-19  Angus Leeming  <leeming@lyx.org>
1465
1466         * lfuns.h:
1467         * LyXAction.C (init):
1468         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1469         with LFUN_DIALOG_SHOW <name> <data>.
1470
1471 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1472
1473         * CutAndPaste.C (availableSelections): small compilation fix for
1474         ancient (gcc 2.9x) compilers
1475
1476 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1477
1478         * text3.C (cursorNext): add tmp var
1479
1480         * text2.C (updateCounters): for function calling out of for clause
1481         (replaceSelectionWithString): ditto
1482         (insertStringAsParagraphs): ditto
1483         (getColumnNearX): add tmp var
1484         (setCursorFromCoordinates): add tmp var
1485         (cursorDownParagraph): add tmp var
1486         (deleteEmptyParagraphMechanism): add tmp var
1487
1488         * text.C (insertChar): add tmp var
1489
1490         * rowpainter.C (paintDepthBar): add tmp var
1491
1492         * CutAndPaste.C (availableSelections): potentially check all
1493         paragraphs in a cut to fill the shown strings.
1494
1495 2003-06-18  André Pönitz  <poenitz@gmx.net>
1496
1497         * kbmap.[Ch]: use vector<> instead of list<>
1498
1499 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1500
1501         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1502         pasteSelection with index
1503
1504         * text2.C (pasteSelection): modify, call pasteSelection with index
1505
1506         * paragraph.C (asString): reimplement version with no interval to
1507         call the one with interval.
1508
1509         * lyxtext.h: add index arg to pasteSelection
1510
1511         * MenuBackend.C (MenuItem): handle PasteRecent
1512         (Menu::read::Menutags): add md_pasterecent
1513         (read): handle it
1514         (expandPasteRecent): new function
1515         (expand): use it
1516
1517         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1518
1519         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1520         the limited stack
1521         (availableSelections): new function
1522
1523 2003-06-17  Angus Leeming  <leeming@lyx.org>
1524
1525         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1526
1527 2003-06-17  Angus Leeming  <leeming@lyx.org>
1528
1529         * lfuns.h:
1530         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1531
1532         * lyxfunc.C (dispatch): invoke it.
1533
1534 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1535
1536         * iterators.C (operator++, ParPosition): reintroduce some
1537         const_cast for the benefit of older compilers.
1538
1539 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1540
1541         * text3.C (dispatch): do not modify clipboard when doing
1542         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1543         LFUN_DELETE_SKIP on a selection selection
1544
1545 2003-06-16  André Pönitz  <poenitz@gmx.net>
1546
1547         * BufferView.C:
1548         * buffer.C:
1549         * buffer.h:
1550         * paragraph.C:
1551         * tabular.[Ch]: IU of clone() and getLabelList();
1552
1553 2003-06-13  André Pönitz  <poenitz@gmx.net>
1554
1555         * tabular.h: compactification
1556
1557 2003-06-12  André Pönitz  <poenitz@gmx.net>
1558
1559         * tabular.C:
1560         * tabular.h:
1561         * tabular_funcs.h: some renaming plus whitespace
1562
1563 2003-06-12  André Pönitz  <poenitz@gmx.net>
1564
1565         * BufferView.C:
1566         * BufferView_pimpl.C:
1567         * CutAndPaste.C:
1568         * buffer.C:
1569         * iterators.[Ch]:
1570         * lyxfunc.C:
1571         * text.C:
1572         * toc.C: Return a Paragraph & for ParIterator::operator*()
1573
1574 2003-06-11  John Levon  <levon@movementarian.org>
1575
1576         * lyx_main.C:
1577         * ToolbarBackend.h:
1578         * ToolbarBackend.C: add "Toolbars" section and
1579         put the flags there
1580
1581 2003-06-10  Angus Leeming  <leeming@lyx.org>
1582
1583         * lfuns.h:
1584         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1585
1586         * lyxfunc.C (dispatch): invoke it.
1587
1588 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1589
1590         * main.C: protect <ios> with HAVE_IOS
1591         (main): protect sync_with_stdio with HAVE_IOS
1592
1593 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1594
1595         * text2.C (cutSelection): adjust
1596         (pasteSelection): adjust
1597
1598         * messages.C: handle get of empty string
1599
1600         * main.C (main): use sync_with_stdio(false)
1601
1602         * lyxfunc.C (dispatch): adjust
1603
1604         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1605         (WriteAs): remove unneeded BufferView arg.
1606
1607         * bufferparams.h: use correct types on papersize, papersize2 and
1608         paperpackage.
1609
1610         * bufferparams.C (readToken): adjust for type
1611         (writeLaTeX): add missing cases to switch.
1612
1613         * bufferlist.C (quitWriteBuffer): adjust
1614         (close): adjust
1615
1616         * buffer.C (asciiParagraph): remove some commented code.
1617
1618         * CutAndPaste.C: remove current_view extern variable.
1619         (cutSelection): add BufferParams arg.
1620         (eraseSelection): add BufferParams arg.
1621         (pasteSelection): add Buffer const & arg
1622
1623 2003-06-07  John Levon  <levon@movementarian.org>
1624
1625         * buffer.C:
1626         * paragraph_funcs.C:
1627         * paragraph_pimpl.C:
1628         * text.C:
1629         * text2.C:
1630         * paragraph.h:
1631         * paragraph.C: allow InsetERT to freely space lines,
1632         and some consolidation of code
1633
1634 2003-06-06  José Matos  <jamatos@fep.up.pt>
1635
1636         * buffer.C (makeDocBookFile): fix bug #821
1637
1638 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1639
1640         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1641
1642 2003-06-04  Angus Leeming  <leeming@lyx.org>
1643
1644         * buffer.C: bump format to 224.
1645
1646 2003-06-05  André Pönitz  <poenitz@gmx.net>
1647
1648         * text2.C (redoParagraphs): remove two const_cast<>
1649
1650 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1651
1652         * ParagraphList.h: remove last remnants of NO_STD_LIST
1653
1654 2003-06-03  Angus Leeming  <leeming@lyx.org>
1655
1656         * factory.C (createInset): small change to the way InsetExternal's params
1657         are set.
1658
1659 2003-06-04  André Pönitz  <poenitz@gmx.net>
1660
1661         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1662
1663         * paragraph_pimpl.h:
1664         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1665
1666         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1667
1668         * undo_funcs.C: make some simple cases of undo work again
1669
1670 2003-06-03  John Levon  <levon@movementarian.org>
1671
1672         * ispell.C: HPUX doesn't have sys/select.h
1673         (from Albert Chin)
1674
1675 2003-06-03  John Levon  <levon@movementarian.org>
1676
1677         * CutAndPaste.C: update tabular and include inset
1678         buffer references
1679
1680         * buffer.h:
1681         * paragraph.h:
1682         * paragraph.C: remove owningBuffer(), don't pass Buffer
1683         to clone()
1684
1685         * factory.C: insetGraphicsParams changed
1686
1687 2003-06-02  John Levon  <levon@movementarian.org>
1688
1689         * LyXAction.C:
1690         * factory.C:
1691         * lfuns.h:
1692         * lyxfunc.C:
1693         * text3.C: remove insetparent
1694
1695 2003-06-02  John Levon  <levon@movementarian.org>
1696
1697         * buffer.h:
1698         * buffer.C: fix inset_iterator.end(), move out of line
1699         (bug 1149)
1700
1701 2003-06-01  John Levon  <levon@movementarian.org>
1702
1703         * text3.C: use a proper cut/paste when doing inset
1704         insert (from Jürgen Spitzmüller)
1705
1706 2003-06-01  John Levon  <levon@movementarian.org>
1707
1708         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1709
1710 2003-05-30  André Pönitz  <poenitz@gmx.net>
1711
1712         * rowpainter.C: unify second drawing phase
1713
1714 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1715
1716         * trans_mgr.C: remove one case of current_view
1717
1718         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1719
1720         * paragraph_funcs.h: remove paragraph.h include
1721
1722         * paragraph.h: delete NO_STD_LIST stuff
1723
1724         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1725
1726         * buffer.h: remove paragraph.h include
1727
1728         * ParagraphList.C: delete file
1729
1730         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1731
1732         * toc.C (getTocList): adjust
1733
1734         * paragraph_pimpl.C (validate): adjust
1735
1736         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1737
1738         * paragraph.C (Paragraph): adjust
1739         (getPositionOfInset): use const_iterator, adjust
1740         (bibitem): use const_iterator, adjust
1741         (setInsetOwner): adjust
1742
1743         * iterators.C (operator++): adjust
1744
1745         * InsetList.[Ch]: Replace selfmade iterator with standard
1746         vector::iterator also introduce const_iterator. Remove getPos,
1747         getInset and setInset from InsetTable. Adjust accordingly.
1748
1749         * BufferView.C (lockInset): adjust
1750         (ChangeInsets): adjust
1751
1752         * tabular.[Ch]: delete commented same_id functions
1753
1754 2003-05-28  John Levon  <levon@movementarian.org>
1755
1756         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1757
1758 2003-05-28  André Pönitz  <poenitz@gmx.net>
1759
1760         * metricsinfo.[Ch]: remove 'fullredraw' member
1761
1762 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1763
1764         * lyxtextclass.C (operator): remove caching.
1765
1766 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1767
1768         * text3.C: adjust
1769
1770         * text2.C (cursorBottom): adjust
1771         (setCounter): use ParagraphList::find, adjust
1772
1773         * text.C (workWidth): use ParagraphList::find, adjust
1774
1775         * lyxcursor.C (LyXCursor): adjust
1776
1777         * buffer.C (inset_iterator): adjust
1778
1779         * ParagraphList.h: make iterator(value_type) private, make
1780         ParagraphList a friend of iterator.
1781
1782         * ParagraphList.C (find): new function
1783
1784         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1785
1786 2003-05-27  André Pönitz  <poenitz@gmx.net>
1787
1788         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1789
1790 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1791
1792         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1793
1794 2003-05-26  John Levon  <levon@movementarian.org>
1795
1796         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1797
1798 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1799
1800         * remove same_id from function signatures, adjust.
1801
1802 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1803
1804         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1805
1806         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1807
1808         * paragraph.C (Paragraph): get rid of same_ids parameter
1809
1810         * ParagraphList.C (insert): adjust
1811         (push_back): adjust
1812
1813 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1814
1815         * paragraph_funcs.C (breakParagraph): adjust
1816         (breakParagraphConservative): adjust
1817
1818         * buffer.C (readParagraph): adjust
1819
1820         * ParagraphList.C (insert): take a reference instead of a pointer
1821         (insert): adjust
1822
1823         * paragraph.[Ch] (id): new function
1824
1825         * bufferlist.C (newFile): adjust
1826
1827         * ParagraphList.C (ParagraphList): adjust
1828         (assign): adjust
1829         (push_back): take a reference instead of a pointer.
1830
1831         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1832
1833         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1834         instead.
1835
1836         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1837         set else use old code.
1838
1839         * ParagraphList.C: remove all NO_NEXT code and only compile this
1840         code of NO_STD_LIST is set.
1841
1842 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1843
1844         * BufferView_pimpl.C:
1845         * TextCache.C:
1846         * TextCache.h:
1847         * bufferlist.C:
1848         * errorlist.h:
1849         * format.C:
1850         * format.h:
1851         * graph.C:
1852         * lyxfunc.C:
1853         * lyxrc.C:
1854         * graphics/GraphicsConverter.C:
1855         * graphics/PreviewLoader.C: header adjustment
1856
1857 2003-05-23  Angus Leeming  <leeming@lyx.org>
1858
1859         * LaTeXFeatures.[Ch] (useBabel): new method.
1860         * bufferparams.C (writeLaTeX): use it.
1861
1862 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1863
1864         * ParagraphList.h (set): remove unused function.
1865
1866 2003-05-23  André Pönitz  <poenitz@gmx.net>
1867
1868         * BufferView.C:
1869         * BufferView_pimpl.C:
1870         * buffer.C:
1871         * buffer.h:
1872         * lyxfunc.C:
1873         * undo_funcs.C: setUndo reworked
1874
1875         * iterators.[Ch]: add access to topmost ParagraphList
1876
1877         * lyxtext.[Ch] (workWidth): add a const
1878
1879 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1880
1881         * texrow.[Ch] (increasePos): remove function
1882         * exporter.C (export): removed unused var and outdated comment
1883
1884 2003-05-23  Angus Leeming  <leeming@lyx.org>
1885
1886         * latexrunparams.h: rename fragile as moving_arg.
1887         * paragraph.C (simpleTeXOnePar): ditto.
1888         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1889
1890 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1891
1892         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1893         (createUndo): ditto
1894         (textUndoOrRedo): comment out a currently unused var.
1895
1896         * paragraph.h (NO_NEXT): enable NO_NEXT
1897
1898         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1899
1900         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1901
1902         * exporter.C (Export): adjust for removeAutoInsets removal.
1903
1904         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1905
1906         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1907
1908         * BufferView.[Ch] (removeAutoInsets): delete function
1909
1910 2003-05-22  Angus Leeming  <leeming@lyx.org>
1911
1912         * latexrunparams.h: add a free_spacing variable.
1913
1914         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1915         to pass moving_arg, as the data is stored in runparams.fragile.
1916
1917         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1918         to Inset::latexOptional or to simpleTeXOnePar.
1919
1920         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1921         free_spacing arg to Inset::latexOptional.
1922
1923         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1924         free_spacing arg.
1925
1926 2003-05-22  Angus Leeming  <leeming@lyx.org>
1927
1928         * latexrunparams.h: add fragile and use_babel variables.
1929
1930         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1931         * buffer.C (makeLaTeXFile): store this returned value in
1932         runparams.use_babel, thus passing it to the inset::latex methods.
1933
1934         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1935         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1936
1937         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1938         longer has a fragile arg, as it is stored in runparams.fragile.
1939
1940         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1941         moving_arg parameter as the data is stored in runparams.fragile.
1942
1943         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1944         a fragile parameter as the data is stored in runparams.fragile.
1945
1946 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1947
1948         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1949
1950 2003-05-22  Angus Leeming  <leeming@lyx.org>
1951
1952         * latexrunparams.h: add a 'bool nice' which defaults to false.
1953
1954         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1955         now encapsulated within runparams.
1956
1957         * bufferlist.C (updateIncludedTeXfiles):
1958         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1959
1960 2003-05-22  Angus Leeming  <leeming@lyx.org>
1961
1962         * latexrunparams.h: new file containing struct LatexRunParams.
1963         * Makefile.am: add new file.
1964
1965         * LaTeX.[Ch] (c-tor, run):
1966         * buffer.[Ch] (makeLaTeXFile):
1967         * bufferlist.[Ch] (updateIncludedTeXfiles):
1968         * converter.C (convert, scanLog):
1969         * converter.[Ch] (runLaTeX):
1970         * exporter.C (Export):
1971         * paragraph.[Ch] (simpleTeXOnePar):
1972         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1973         * paragraph_funcs.[Ch] (latexParagraphs):
1974         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1975         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1976         pass around a LatexRunParams parameter.
1977
1978 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1979
1980         * paragraph.[Ch]: remove unused constructor
1981
1982         * ParagraphList.C (erase): new function, taking two iterators
1983
1984 2003-05-22  André Pönitz  <poenitz@gmx.net>
1985
1986         * undo_funcs.C: remove duplicated code
1987
1988         * iterator.[Ch]: operator=
1989
1990 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1991
1992         * tabular.C (SetMultiColumn): ws changes
1993
1994         * rowpainter.C (paintFirst): get rid of a ->previous
1995
1996         * lyx_cb.C (getPossibleLabel): parlist simplification
1997
1998         * BufferView.C (ChangeInsets): simplify slightly.
1999
2000 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2001
2002         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2003         * lfuns.h: new LFUN_SPACE
2004         * lyxfunc.C: protected space has a new lfun
2005         * paragraph_funcs.C: read new space insets
2006         * text3.C:
2007         * factory.C: handle new space insets
2008
2009 2003-05-22  André Pönitz  <poenitz@gmx.net>
2010
2011         * BufferView.C:
2012         * BufferView_pimpl.C:
2013         * buffer.[Ch]:
2014         * lyxfunc.C:
2015         * undo_funcs.C: return a ParIterator from getParFromID.
2016
2017         * iterators.[Ch]: add two const's
2018
2019 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2020
2021         * toc.C (getTocList): adjust
2022
2023         * iterators.[Ch]: rework for parlist
2024
2025         * buffer.C (par_iterator_begin): adjust
2026         (par_iterator_end): adjust
2027
2028         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2029
2030         * BufferView.C (removeAutoInsets): adjust
2031         (ChangeInsets): adjust
2032
2033 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2034
2035         * text.C (top_y): fix bug 1110
2036
2037 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2038
2039         * errorlist.[Ch]: added
2040         * buffer.C:
2041         * BufferView.[Ch]:
2042         * BufferView_pimpl.C:
2043         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2044         instead
2045
2046 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2047
2048         * Makefile.am: ensure that lyx is relinked upon changes to the
2049         various "convenience" libs.
2050
2051 2003-05-20  Angus Leeming  <leeming@lyx.org>
2052
2053         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2054         files are compiled in alphabetical order again.
2055
2056         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2057
2058 2003-05-19  Angus Leeming  <leeming@lyx.org>
2059
2060         * gettext.[Ch]: remove "char const * _(char const *)".
2061
2062 2003-05-19  André Pönitz  <poenitz@gmx.net>
2063
2064         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2065
2066         * Makefile.am:
2067         * BufferView.C:
2068         * DepTable.h:
2069         * LaTeXFeatures.C:
2070         * buffer.C:
2071         * lyxfont.C:
2072         * lyxlex.h:
2073         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2074
2075 2003-05-19  André Pönitz  <poenitz@gmx.net>
2076
2077         * buffer.C:
2078         * lyxlayout.[Ch]:
2079         * lyxtextclass.[Ch]:
2080         * paragraph.C:
2081         * paragraph_funcs.[Ch]:
2082         * text2.C:
2083         * text3.C: more insetenv work
2084
2085 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2086
2087         * ParagraphParameters.C (params2string): small bug fixed
2088
2089 2003-05-16  André Pönitz  <poenitz@gmx.net>
2090
2091         * debug.C:
2092         * bufferview_funcs.C: patch from Kornel Benko to prevent
2093           crash when _(...) is called twice in a statement
2094
2095 2003-05-16  André Pönitz  <poenitz@gmx.net>
2096
2097         * BufferView.C:
2098         * lyxfunc.C:
2099         * text.C:
2100         * text2.C:
2101         * text3.C:
2102         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2103
2104 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2105
2106         * lyx_main.C (init): remove spurious static_cast
2107
2108 2003-05-14  André Pönitz  <poenitz@gmx.net>
2109
2110         * BufferView.C: fix format string
2111
2112 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2113
2114         * BufferView.[Ch] (insertErrors): removed
2115         * BufferView.[Ch] (showErrorList): added
2116         * buffer.C (runChkTeX):
2117         * converter.C (scanLog): call showErrorList instead of inserterrors
2118
2119 2003-05-13  André Pönitz  <poenitz@gmx.net>
2120
2121         * BufferView_pimpl.C:
2122         * buffer.C:
2123         * bufferview_func.C:
2124         * MenuBackend.C:
2125         * lyxfunc.C:
2126         * lyxrc.C:
2127         * tex-accent.C:
2128         * text3.C:
2129         * toc.C:
2130         * tabular_funcs.h: tostr() from its own header
2131
2132         * ParagraphParameters.C:
2133         * ToolbarBackend.C:
2134         * bufferparams.C:
2135         * format.C:
2136         * lyxlex_pimpl.C:
2137         * text3.C: STRCONV()
2138
2139 2003-05-12  André Pönitz  <poenitz@gmx.net>
2140
2141         * BufferView.C:
2142         * BufferView_pimpl.C:
2143         * CutAndPaste.C:
2144         * LaTeX.C:
2145         * LaTeXFeatures.C:
2146         * ParagraphParameters.C:
2147         * buffer.C:
2148         * bufferlist.C:
2149         * bufferparams.C:
2150         * bufferview_funcs.C:
2151         * converter.C:
2152         * counters.C:
2153         * debug.C:
2154         * exporter.C:
2155         * format.C:
2156         * importer.C:
2157         * lyx_cb.C:
2158         * lyx_main.C:
2159         * lyxfont.C:
2160         * lyxfunc.C:
2161         * lyxvc.C:
2162         * paragraph.C:
2163         * paragraph_funcs.C:
2164         * tabular.C:
2165         * tabular_funcs.C:
2166         * text2.C:
2167         * text3.C:  boost::format -> bformat  all over the place
2168
2169
2170 2003-05-09  André Pönitz  <poenitz@gmx.net>
2171
2172         * LColor.[Ch]: Pimpl the #include <map> away
2173
2174 2003-05-09  John Levon  <levon@movementarian.org>
2175
2176         * bufferlist.C: never remove emergency saves
2177
2178 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2179
2180         * Makefile.am: better lib building
2181
2182 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2183
2184         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2185         instead.
2186         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2187         (simpleTeXSpecialChars): adjust
2188         (simpleTeXSpecialChars): adjust
2189         * paragraph.C (simpleTeXOnePar): adjust
2190         * buffer.C (makeLaTeXFile): adjust
2191
2192         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2193
2194         * text2.C (changeDepth): parlist cleanup
2195         (getColumnNearX): ditto
2196
2197         * rowpainter.C (getLabelFont): parlist cleanup
2198
2199         * bufferlist.C (newFile): parlist cleanup
2200
2201         * CutAndPaste.C (eraseSelection): parlist cleanup
2202
2203         * BufferView_pimpl.C (trackChanges): parlist cleanup
2204         (dispatch): ditto
2205
2206         * BufferView.C (lockInset): parlist cleanup.
2207         (ChangeInsets): ditto
2208
2209 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2210
2211         * CutAndPaste.h: Update file header.
2212
2213         * CutAndPaste.C: Update file header.
2214         Store the parts cut out of the Document in a limited_stack.
2215         (copySelection): adjust
2216         (pasteSelection): new function, takes the index in the limited stack.
2217         (nrOfParagraphs): adjust
2218         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2219         simplify error inset insertion.
2220         (checkPastePossible): adjust
2221
2222 2003-05-06  John Levon  <levon@movementarian.org>
2223
2224         * text2.C: don't cast wrap inset to float
2225
2226 2003-05-05  André Pönitz  <poenitz@gmx.net>
2227
2228         * iterator.C:
2229         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2230
2231         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2232           few naked Paragraph *.
2233
2234 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2235
2236         * bufferparams.C: Output warning if a document with missing
2237         TeX document class is loaded
2238         * exporter.C: Disable TeX exports if the document class is missing
2239         * lyxtextclass.C:
2240         * lyxtextclass.h:
2241         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2242         isTeXClassAvailable()
2243
2244 2003-05-03  John Levon  <levon@movementarian.org>
2245
2246         * BufferView.h:
2247         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2248         explicit cursor show/hide
2249
2250         * BufferView_pimpl.h:
2251         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2252         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2253
2254         * lyxfunc.C: hide cursor before dispatching.
2255
2256         * lyx_cb.C:
2257         * lyxfind.C:
2258         * text.C:
2259         * text3.C: remove explicit cursor hides
2260
2261 2003-05-02  André Pönitz  <poenitz@gmx.net>
2262
2263         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2264
2265         * undo_funcs.C:
2266         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2267           linked lists
2268
2269         * text2.C: tiny whitespace
2270
2271 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2272
2273         * undo_funcs.C: almost only ws changes.
2274
2275         * ParagraphList.C (splice): just return if pl is empty.
2276
2277 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2278
2279         * ParagraphList.C (splice): new function.
2280
2281         * CutAndPaste.C (pasteSelection): use it
2282
2283 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2284
2285         * CutAndPaste.C (pasteSelection): remove the last next and
2286         previous from this file.
2287
2288 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2289
2290         * CutAndPaste.C (pasteSelection): more clean up, user proper
2291         ParagraphList functions for pasteing.
2292
2293         * ParagraphList.C (insert): new function, three arg insert
2294
2295 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2296
2297         * ParagraphList.C (insert): new function, three arg insert
2298
2299         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2300         not on paragraphs.
2301
2302 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2303
2304         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2305
2306 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2307
2308         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2309
2310 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2313         (copySelection): clean up a bit.
2314         (pasteSelection): use make_pair
2315
2316         * ParagraphList.C (ParagraphList): implement copy constructor
2317         (operator=): implement, base on copy constructor.
2318         (assign): new func
2319
2320         * paragraph.C (erase): return a bool
2321
2322         * paragraph_pimpl.C (erasePos): remove function, move contents...
2323         (erase): ... here. Return a bool.
2324         (erase): call erase instead of erasePos.
2325
2326 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2327
2328         * ParagraphList.h: define PitPosPair
2329         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2330         ParagraphList, fix a bug on pasting multiple pars
2331         * text2.C: change interface to C&P
2332
2333 2003-04-30  André Pönitz  <poenitz@gmx.net>
2334
2335         * undo_func.C: revert part of yesterday's patch 2
2336
2337 2003-04-30  John Levon  <levon@movementarian.org>
2338
2339         * LColor.C: s/tabular/table/
2340
2341 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2342
2343         * text3.C (dispatch): do not convert iterator -> pointer
2344         * undo_funcs.C (setCursorParUndo): ditto
2345         * text_funcs.C (transposeChars): ditto
2346
2347         * text2.C (setLayout): ws changes only
2348
2349         * text.C (breakParagraph): do not convert iterator -> pointer
2350         (insertChar): ditto
2351         (acceptChange): ditto
2352         (rejectChange): ditto
2353         (changeCase): ditto
2354         (Delete): ditto
2355         (backspace): ditto
2356
2357         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2358         pointer
2359
2360 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2361
2362         * text3.C (gotoInset): YABG (yet another bad getChar)
2363
2364 2003-04-29  André Pönitz  <poenitz@gmx.net>
2365
2366         * paragraph.h: make operator= private unimplemented as long as
2367           it is unusable
2368
2369         * ParagraphList.C: whitespace
2370
2371         * paragraph.[Ch]:
2372         * paragraph_pimpl.[Ch]:
2373         * paragraph_funcs.C:
2374         * CutAndPaste.C:
2375         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2376
2377         * text2.C:
2378           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2379
2380 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2381
2382         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2383         * paragraph.[Ch] (erase):
2384         * paragraph_pimpl.[Ch] (erase): change return type and value
2385         * text2.C (cutSelection): some rework
2386
2387 2003-04-28  John Levon  <levon@movementarian.org>
2388
2389         * bufferlist.C: changes for unsaved changes dialog
2390
2391 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2392
2393         * bufferlist.C (newFile): set language (messages_) for new
2394         documents also.
2395
2396         * buffer.C (readFile): ws changes only.
2397
2398 2003-04-28  André Pönitz  <poenitz@gmx.net>
2399
2400         * undo_funcs.C:
2401         * lyxfunc.C:
2402         * buffer.[Ch]:
2403         * BufferView_pimpl.C:
2404         * BufferView.C: getParFromID related ParagraphList::iterator changes
2405
2406 2003-04-28  André Pönitz  <poenitz@gmx.net>
2407
2408         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2409           Changes
2410
2411 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2412
2413         * messages.C: remove one more localedir class variable.
2414
2415 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2416
2417         * messages.C (getLocaleDir): singleton generation function
2418         (Pimpl): use it.
2419         (Messages): add a default constructor.
2420
2421         * main.C (main): do not setup localedir here, do not call
2422         gettext_init.
2423
2424         * gettext.C (_): use it.
2425         (gettext_init): delete funciton
2426
2427 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2428
2429         * gettext.C (getLyXMessages): new singleton generating function.
2430
2431         * buffer.C (updateDocLang): adjust
2432
2433         * Makefile.am (messages.o): add target
2434         (main.o): remove target
2435
2436 2003-04-27  John Levon  <levon@movementarian.org>
2437
2438         * bufferlist.C:
2439         * lyx_cb.C:
2440         * lyxfunc.C:
2441         * lyxvc.C: specify cancel button in Alert::prompt
2442
2443 2003-04-26  John Levon  <levon@movementarian.org>
2444
2445         * text3.C:
2446         * lyxfunc.C:
2447         * lfuns.h:
2448         * LyXAction.C: add LFUN_INSET_SETTINGS
2449
2450         * lyxfunc.C: don't enable tabular-feature when there's
2451         just any locking inset
2452
2453 2003-04-26  John Levon  <levon@movementarian.org>
2454
2455         * bufferlist.C: re-add Cancel to buffer close question
2456
2457         * lyxfunc.C: fix import UI a bit
2458
2459 2003-04-25  John Levon  <levon@movementarian.org>
2460
2461         * gettext.C: remove the broken asserts for now
2462
2463 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2464
2465         * messages.C: make case where setlocale cannot comply work better.
2466
2467         * buffer.C (updateDocLang): new function
2468         (changeLanguage): use it
2469         (readFile): use it
2470
2471         * text2.C (setCounter): use B_ a bit.
2472
2473         * lyxlayout.C (Read): be sure to trim the label strings.
2474
2475         * messages.C (Messages): fix typo in comment
2476
2477         * buffer.C (readFile): set message_ after file is loaded.
2478         (makeDocBookFile): remove double return
2479         (changeLanguage): reset message_ upon language change.
2480         (B_): new func, use this to get translated buffer strings.
2481
2482         * main.C: add myself and Jean Marc as authors.
2483
2484 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2485
2486         * messages.[hC]: pimplify Messages, and three different pimpls to be
2487         used in different circumstances.
2488
2489         * gettext.[Ch]: change for use with new message code.
2490
2491 2003-04-24 André Pönitz <poenitz@gmx.net>
2492
2493         * factory.C: support for eqref
2494
2495 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2496
2497         * messages.[Ch]: add missing char
2498
2499         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2500
2501         * messages.[Ch]: New files
2502
2503 2003-04-18  John Levon  <levon@movementarian.org>
2504
2505         * BufferView.h:
2506         * BufferView.C:
2507         * BufferView_pimpl.C:
2508         * lfuns.h:
2509         * LyXAction.C:
2510         * lyxtext.h:
2511         * text2.C: remove layout-copy/paste (bug 778)
2512
2513 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2514
2515         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2516
2517 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2518
2519         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2520         if they succeed. Act accordingly.
2521
2522 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2523
2524         * text2.C (setCharFont): adjust
2525         (setCounter): adjust
2526         (insertStringAsLines): adjust
2527
2528         * text.C (leftMargin): adjust
2529         (setHeightOfRow): adjust
2530
2531         * rowpainter.C (paintFirst): adjust
2532         (paintLast): adjust
2533
2534         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2535         (outerHook): ditto
2536         (isFirstInSequence): ditto
2537         (getEndLabel): ditto
2538         (outerFont): adjust
2539
2540         * paragraph.C (getParLanguage): comment out some hard stuff.
2541
2542         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2543         (sgmlError): ditto
2544         (simpleDocBookOnePar): ditto
2545         (makeDocBookFile): use ParagraphList::iterator
2546
2547         * CutAndPaste.C (pasteSelection): adjust
2548
2549 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2550
2551         * text2.C (getFont): adjust
2552         (getLayoutFont): adjust
2553         (getLabelFont): adjust
2554
2555         * paragraph_funcs.C (TeXOnePar): adjust
2556
2557         * buffer.C (simpleLinuxDocOnePar): adjust
2558         (simpleDocBookOnePar): adjust
2559
2560         * CutAndPaste.C (pasteSelection): adjust
2561
2562         * BufferView.C (getEncoding): adjust
2563
2564         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2565
2566 2003-04-16  John Levon  <levon@movementarian.org>
2567
2568         * lyxfind.C: use parlist stuff for search/changes
2569
2570 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2571
2572         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2573
2574         * text2.C (deleteEmptyParagraphMechanism): adjust
2575
2576         * text2.[Ch] (ownerParagraph): delete func (both of them
2577
2578 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2579
2580         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2581
2582 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2583
2584         * ParagraphList.C: prepare for NO_NEXT
2585
2586 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2587
2588         * text2.C (getFont): adjust
2589         (getLayoutFont): adjust
2590         (getLabelFont): adjust
2591
2592         * paragraph.C (getFont): adjust
2593         (getLabelFont): adjust
2594         (getLayoutFont): adjust
2595
2596         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2597
2598 2003-04-15  John Levon  <levon@movementarian.org>
2599
2600         From Angus Leeming
2601
2602         * lyx_main.C: handle Include in .ui files
2603
2604 2003-04-15  John Levon  <levon@movementarian.org>
2605
2606         * MenuBackend.C: make the doc files length shorter
2607
2608         * ToolbarBackend.h:
2609         * ToolbarBackend.C: handle toolbar placement flags,
2610         Minibuffer
2611
2612 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2613
2614         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2615         adjust
2616
2617         * paragraph_funcs.C (TeXOnePar): adjust
2618
2619         * paragraph.C (getLabelFont): add outerfont arg, adjust
2620         (getLayoutFont): ditto
2621         (simpleTeXOnePar): adjust
2622
2623         * paragraph_pimpl.C (realizeFont): delete func
2624
2625 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2626
2627         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2628         row argument, constify cur argument.
2629
2630 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2631
2632         * text2.C (getFont): adjust
2633         (getLayoutFont): adjust
2634         (getLabelFont): adjust
2635
2636         * paragraph_funcs.C (TeXOnePar): adjust
2637         (outerFont): new func...
2638         (realizeFont): ...moved out from here, changed this to facilitate
2639         transition
2640
2641         * paragraph.C (getFont): take outerfont as arg, adjust
2642         (simpleTeXOnePar): add outerfont arg, adjust
2643
2644         * buffer.C (simpleLinuxDocOnePar): adjust
2645         (simpleDocBookOnePar): adjust
2646
2647         * CutAndPaste.C (pasteSelection): adjust
2648
2649         * BufferView.C (getEncoding): adjust
2650
2651 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2652
2653         * text2.C (setCharFont): adjust
2654         (setCounter): adjust
2655
2656         * text.C (leftMargin): adjust
2657         (setHeightOfRow): adjust
2658
2659         * rowpainter.C (paintFirst): adjust
2660         (paintLast): adjust
2661
2662         * paragraph_pimpl.C (realizeFont): adjust
2663
2664         * paragraph.C (isFirstInSequence): move from here...
2665         * paragraph_funcs.C (isFirstInSequence): ...to here
2666
2667         * paragraph.C (outerHook): move from here...
2668         * paragraph_funcs.C (outerHook): ...to here
2669
2670         * paragraph.C (depthHook): move from here...
2671         * paragraph_funcs.C (depthHook): ...to here
2672
2673         * paragraph.C (getEndLabel): move from here...
2674         * paragraph_funcs.C (getEndLabel): ...to here
2675
2676         * text2.C (realizeFont): move from here...
2677         * paragraph_funcs.C (realizeFont): ...to here
2678
2679 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2680
2681         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2682
2683 2003-04-14  Angus Leeming  <leeming@lyx.org>
2684
2685         * LColor.[Ch]: scrap LColor mathcursor.
2686
2687 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2688
2689         * lyxlex.[Ch] (text): delete function
2690         * trans.C (Load): adjust
2691         * paragraph_funcs.C (readParToken): adjust
2692
2693 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2694
2695         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2696         vector<char> instead of a char[].
2697
2698         * lyxlex_pimpl.C (getString): adjust
2699         (next): adjust
2700         (lex): use getString
2701         (eatLine): adjust
2702         (nextToken): adjust
2703
2704         * lyxlex.C (text): use pimpl_->getString()
2705         (getBool): ditto
2706         (findToken): ditto
2707
2708 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2709
2710         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2711         (makeFontEntriesLayoutSpecific): temp var for par.size()
2712         (setLayout): temp var for ownerParagraphs().end()
2713         (fullRebreak): temp var for rows().end()
2714         (selectionAsString): temp var for boost::next(startpit), realize
2715         that the while really is a regular for loop.
2716         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2717         setCursor in one place.
2718         (setParagraph): temp vr for ownerParagraphs().end()
2719         (updateCounters): make the while loop a for loop
2720         (cutSelection): temp var for ownerParagraphs().end()
2721         (updateInset): make the do {} while() a regular for loop
2722         (getCursorX): use temp vars
2723         (setCurrentFont): use temp vars
2724         (getColumnNearX): use temp vars
2725
2726 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2727
2728         * text.C (transformChar): use temp var for getChar
2729         (computeBidiTables): use temp var for row->par()
2730         (fill): move temp vars for row->par() and pit->layout() earlier in
2731         the function.
2732         (labelFill): use temp var for row->par()
2733         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2734         asc and desc, realize that pit never changes and that firstpit is
2735         just a duplicate and not needed. Exchange rit->par() with pit in a
2736         lot of places.
2737         (breakAgain): use a temp var for boost::next(rit)
2738         (breakAgainOneRow): ditto
2739         (breakParagraph): use a temp var for rows().begin()
2740         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2741         (cursorRightOneWord): use temp var for cursor.par() and
2742         cursor.pos(), remove usage of tmpcursor.
2743         (cursorLeftOneWord): use temp var for cursor.par() and
2744         cursor.pos() only set cur at end of function.
2745
2746 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2747
2748         * text.C, text2.C: exchange all usage of Paragraph::next with
2749         boost::next(ParagraphList::iterator)
2750
2751         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2752
2753         * text2.C (cursorTop): simplify implementation
2754         (cursorBottom): ditto
2755         (setParagraph): use ParagraphList::iterator
2756         (setCurrentFont): adjust
2757         (getColumnNearX): adjust
2758         (cursorRight): adjust
2759         (cursorLeft): remove usage of Paragraph::previous
2760         (cursorUpParagraph): ditto
2761         (deleteEmptyParagraphMechanism): slight cleanup
2762
2763         * text.C (isBoundary): take a Paragraph const & instead of a
2764         pointer as arg.
2765         (addressBreakPoint): ditto
2766         (leftMargin): remove usage of Paragraph::previous.
2767         (setHeightOfRow): ditto
2768         (cursorLeftOneWord): ditto
2769         (selectNextWordToSpellcheck): ditto
2770         (Delete): ditto
2771         (backspace): ditto
2772         (breakParagraph): remove one usage of Paragraph::next
2773         (redoParagraph): ditto
2774         (acceptChange): ditto
2775         (insertChar): adjust
2776         (rowBreakPoint): adjust
2777
2778         * bufferview_funcs.C (toggleAndShow): adjust
2779
2780 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2781
2782         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2783         methods to access it.
2784         * lyxtext.h:
2785         * text.C: Added updateRowPositions to compute all row positions.
2786         Make top_y and getRowNearY() to use the cached y position
2787
2788 2003-04-11  John Levon  <levon@movementarian.org>
2789
2790         * text.C (rowBreakPoint): reintroduce the labelEnd
2791         checks, code copied from the row fill stuff. Deep voodoo.
2792
2793         * text.C (fill): add a comment and debugging for the
2794         next poor soul.
2795
2796 2003-04-11  John Levon  <levon@movementarian.org>
2797
2798         * text.C: make sure fullrow insets get wrapped to the next line,
2799         even when they're in a manual label
2800
2801 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2802
2803         * text2.C (insertParagraph): make it take ParagraphList::iterator
2804         as arg.
2805         (setLayout): make it return ParagraphList::iterator
2806         (redoParagraphs): ditto
2807         (setCounter): ditto
2808         (checkParagraph): ditto
2809
2810         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2811
2812         * text2.C: adjust several funcs.
2813         (realizeFont): take a ParagraphList::iterator as arg.
2814         (getLayoutFont): ditto
2815         (getLabelFont): ditto
2816         (setCharFont): ditto
2817
2818         * text.C: adjust several funcs.
2819
2820 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2821
2822         * text.C (selectNextWordToSpellcheck): don't accidentally
2823         skip insets
2824
2825 2003-04-10  John Levon  <levon@movementarian.org>
2826
2827         * ToolbarBackend.C (getIcon): special handling for
2828         LFUN_MATH_DELIM
2829
2830 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2831
2832         * text2.C (cursorRight): a getChar assert fixed
2833
2834 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2835
2836         * text2.C (getFont): change to take a ParagraphList::iterator
2837         instead of Paragraph*
2838         Adjust several functions.
2839
2840         * text.C (transformChar): change to take a ParagraphList::iterator
2841         instead of Paragraph*
2842         (singleWidth): ditto
2843         Adjust several functions.
2844
2845         * rowpainter.C: adjust several functions
2846         * rowpainter.h:store a ParagraphList::iterator and not a
2847         Paragraph&.
2848
2849
2850 2003-04-09  John Levon  <levon@movementarian.org>
2851
2852         * lyxfunc.C:
2853         * lfuns.h:
2854         * LyXAction.h:
2855         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2856         and the "help" bits as well
2857
2858 2003-04-09  John Levon  <levon@movementarian.org>
2859
2860         * ToolbarBackend.h:
2861         * ToolbarBackend.C: allow multiple toolbars
2862
2863 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2864
2865         * undo_funcs.C (setCursorParUndo): adjust
2866
2867         * text_funcs.C (transposeChars): adjust
2868
2869         * text3.C (gotoNextInset): adjust
2870         (dispatch): adjust
2871
2872         * text2.C (setLayout): adjust
2873         (changeDepth): adjust
2874         (setFont): adjust
2875         (redoParagraphs): adjust
2876         (selectionAsString): adjust
2877         (setParagraph): adjust
2878         (insertInset): adjust
2879         (cutSelection): adjust
2880         (copySelection): adjust
2881         (pasteSelection): adjust
2882         (insertStringAsLines): adjust
2883         (updateInset): adjust
2884         (setCursor): change to take a ParagraphList::iterator parameter
2885         (setCursorIntern): change to take a ParagraphList::iterator parameter
2886         (setCurrentFont): adjust
2887         (cursorLeft): adjust
2888         (cursorRight): adjust
2889         (deleteEmptyParagraphMechanism): adjust
2890
2891         * text.C (breakParagraph): adjust
2892         (insertChar): adjust
2893         (acceptChange): adjust
2894         (rejectChange): adjust
2895         (selectNextWordToSpellcheck): adjust
2896         (changeCase): adjust
2897         (Delete): adjust
2898         (backspace): adjust
2899
2900         * lyxfind.C (SearchForward): adjust
2901         (SearchBackward): adjust
2902         (nextChange): adjust
2903
2904         * lyxcursor.C (par): adjust
2905
2906         * lyxcursor.h: store a ParagraphList::iterator instead of a
2907         Paragraph*
2908
2909         * lyx_cb.C (getPossibleLabel): adjust
2910
2911         * bufferview_funcs.C (toggleAndShow): adjust
2912
2913         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2914         (dispatch): adjust
2915
2916         * BufferView.C (removeAutoInsets): adjust
2917         (lockedInsetStoreUndo): adjust
2918
2919 2003-04-09  John Levon  <levon@movementarian.org>
2920
2921         * ToolbarBackend.C: try icon without argument
2922         if with argument fails
2923
2924 2003-04-08  John Levon  <levon@movementarian.org>
2925
2926         * ToolbarBackend.h:
2927         * ToolbarBackend.C: add getIcon(), handle tooltip,
2928         and change from "Icon" to "Item".
2929
2930 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2931
2932         * BufferView.C (lockInset): another bad getchar crunched
2933
2934 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2935
2936         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2937         again)
2938
2939 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2940
2941         * lyxfind.C (searchForward, searchBackwards): bug 782
2942
2943 2003-04-07  John Levon  <levon@movementarian.org>
2944
2945         * paragraph.C: remove dead comment
2946
2947         * text.C: remove troublesome depth-fiddling code
2948         in leftMargin() and rightMargin() (bug 1017)
2949
2950         * text.C: fix breaking of rows in nested lists
2951         (bug 1004)
2952
2953         * text2.C (updateCounters): fix up depth values
2954         (bug 1013)
2955
2956 2003-04-07  John Levon  <levon@movementarian.org>
2957
2958         * BufferView_pimpl.C: clear message when doc finishes resizing,
2959         and after a mouse event
2960
2961         * lyxfunc.C: clear message after exiting inset
2962
2963 2003-04-07  John Levon  <levon@movementarian.org>
2964
2965         * bufferview_funcs.C: show math status not outside
2966         status in the statusbar
2967
2968 2003-04-07  John Levon  <levon@movementarian.org>
2969
2970         * lyxfunc.C: note status changed after a depth change
2971
2972 2003-04-04  Angus Leeming  <leeming@lyx.org>
2973
2974         * LaTeX.h: move AuxInfo operator==, != out of line.
2975         Remove LaTeX virtual destructor; nothing derives from it.
2976         Move operator()() out of public area and rename it startscript().
2977         Change protected for private.
2978
2979 2003-04-04  Angus Leeming  <leeming@lyx.org>
2980
2981         * lyxfunc.C:
2982         * text2.C: remove unneeded #includes.
2983
2984 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2985
2986         * text2.C (dEPM): fix the heigth of the next row
2987
2988 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2989
2990         * text.C: squashed an invalid getChar requester + some ws changes
2991
2992 2003-04-03  John Levon  <levon@movementarian.org>
2993
2994         * bufferview_funcs.h:
2995         * bufferview_funcs.C:
2996         * lyxfunc.C:
2997         * lyxtext.h:
2998         * text2.C: make getStatus work for the env depth lfuns
2999
3000 2003-04-03  John Levon  <levon@movementarian.org>
3001
3002         * bufferview_funcs.h:
3003         * bufferview_funcs.C:
3004         * lyxfunc.C:
3005         * lyxtext.h:
3006         * text2.C: parlistize decDepth(), by merging it with incDepth()
3007
3008 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3009
3010         * lyxrow.h: store a ParagraphList::iterator instead of a
3011         Paragraph* and adjust other class functions to suit.
3012
3013         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3014         above.
3015
3016 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3017
3018         * text2.C (setCursor): do not anchor to cursor row for the time being
3019
3020 2003-04-02  John Levon  <levon@movementarian.org>
3021
3022         * LyXAction.C:
3023         * lfuns.h:
3024         * lyx_main.C:
3025         * lyxtext.h:
3026         * text.C:
3027         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3028
3029 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3030
3031         * paragraph.h: make ParagraphList and ParagraphList::iterator
3032         friends of Paragraph.
3033
3034         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3035
3036         * ParagraphList.C: Use the private next_ and previous_ from
3037         Paragraph.
3038
3039 2003-04-01  John Levon  <levon@movementarian.org>
3040
3041         * ToolbarBackend.h:
3042         * ToolbarBackend.C:
3043         * Makefile.am: rename, remove defaults gunk
3044
3045         * MenuBackend.h:
3046         * MenuBackend.C: remove defaults gunk
3047
3048         * Languages.h:
3049         * Languages.C: remove defaults gunk
3050
3051         * lyx_main.h:
3052         * lyx_main.C: error out if files couldn't be found.
3053
3054 2003-04-02  John Levon  <levon@movementarian.org>
3055
3056         * text2.C: make incDepth() use parlist
3057
3058 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3059
3060         * undo_funcs.C (firstUndoParagraph): adjust
3061
3062         * text3.C (gotoInset): adjust
3063         (dispatch): adjust, and rewrite loop.
3064
3065         * text2.C (init): adjust, and rewrite loop.
3066         (redoParagraphs): adjust
3067         (updateInset): adjust, and rewrite loop.
3068         (deleteEmptyParagraphMechanism): adjust
3069
3070         * tabular.C (LyXTabular): adjust
3071         (SetMultiColumn): adjust
3072         (TeXRow): adjust
3073
3074         * lyxtext.[Ch] (ownerParagraph): delete function
3075         (ownerParagraphs): new function returns a ParagraphList.
3076
3077         * BufferView.C (removeAutoInsets): adjust
3078         (insertErrors): adjust
3079         (setCursorFromRow): adjust
3080
3081 2003-04-01  Angus Leeming  <leeming@lyx.org>
3082
3083         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3084         in the frontends.
3085
3086 2003-04-02  John Levon  <levon@movementarian.org>
3087
3088         * lyxtext.h:
3089         * text.C:
3090         * Makefile.am:
3091         * text_funcs.h:
3092         * text_funcs.C: make transposeChars a free function
3093
3094         * lyxrow_funcs.C: remove wrong comment
3095
3096 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3097
3098         * lyxtext.h: adjust
3099         * rowpainter.C: adjust
3100         * text.C: adjust
3101         * text2.C: adjust
3102         * text3.C: adjust
3103
3104         * lyxrow_funcs. [Ch]: new files
3105
3106         * lyxrow.[Ch]: remove next and previous pointers
3107         (next,previous): remove accessor functions
3108         (isParEnd): move to lyxrow_funcs
3109         (lastPos): move to lyxrow_funcs
3110         (nextRowIsAllInset): move to lyxrow_funcs
3111         (lastPrintablePos): move to lyxrow_funcs
3112         (numberOfSeparators): move to lyxrow_funcs
3113         (numberOfHfills): move to lyxrow_funcs
3114         (numberOfLabelHfills): move to lyxrow_funcs
3115         (hfillExpansion): move to lyxrow_funcs
3116
3117         * lyxfunc.C: adjust
3118
3119         * bufferview_funcs.C (toggleAndShow): adjust
3120
3121         * RowList.h: Remove class RowList from file leave just a
3122         std::list<Row>.
3123
3124         * RowList.C: delete file
3125
3126         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3127         and lyxrow_funcs.h
3128
3129 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3130
3131         * text3.C (cursorPrevious): adjust
3132         (cursorNext): adjust
3133         (dispatch): adjust
3134
3135         * text2.C (redoHeightOfParagraph): adjust
3136         (redoDrawingOfParagraph): adjust
3137         (setCursor): adjust
3138
3139         * text.C (breakParagraph): adjust
3140         (insertChar): adjust
3141         (backspace): adjust
3142
3143         * rowpainter.C (RowPainter): adjust
3144         (leftMargin): simplify and adjust
3145         (most rowpainter functions): adjust.
3146
3147         * rowpainter.h: store the row as RowList::iterator not as Row*
3148
3149         * lyxcursor.C (row): taka RowList::iterator as arg
3150         (irow): ditto
3151
3152         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3153         of Row*.
3154
3155 2003-04-01  Angus Leeming  <leeming@lyx.org>
3156
3157         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3158         stuff like bool Bool.
3159
3160 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3161
3162         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3163         rewrite a loop
3164
3165 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3166
3167         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3168         RowList::iterator.
3169
3170         * lyxtext.h (rows): drop one version and leve a const variant that
3171         returns a RowList::iterator.
3172
3173 2003-03-31  Angus Leeming  <leeming@lyx.org>
3174
3175         * text.C (fill): ensure that the signature is the same as that in the
3176         header file.
3177
3178 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3179
3180         * text2.C (redoParagraphs): adjust
3181         (updateCounters): adjust
3182         (checkParagraph): adjust
3183         (getColumnNearX): adjust and reformat a bit.
3184
3185         * text.C (top_y): adjust
3186         (workWidth): adjust
3187         (leftMargin): adjust
3188         (prepareToPrint): adjust
3189         (getRow): adjust
3190         (getRowNearY): adjust
3191
3192         * lyxtext.h: make rowlist_ mutable.
3193
3194         * RowList.h: add const_iterator
3195         * RowList.C: adjust for RowList::const_iterator.
3196
3197         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3198         adjust.
3199
3200 2003-03-31  John Levon  <levon@movementarian.org>
3201
3202         * lyxrc.h:
3203         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3204
3205         * lyx_main.C: set default fonts from using lyx_gui funcs
3206
3207         * exporter.C: pdf_mode moved from lyxrc
3208
3209         * lyx_cb.C:
3210         * lyxfunc.C: changes from above
3211
3212 2003-03-31  John Levon  <levon@movementarian.org>
3213
3214         * lyx_main.C: fix to the last fix
3215
3216 2003-03-31  John Levon  <levon@movementarian.org>
3217
3218         * bufferlist.C: "Load original" -> "Load Original"
3219
3220         * converter.C:
3221         * exporter.C:
3222         * importer.C:
3223         * lyx_main.C:
3224         * format.C: more Alert cleanups
3225
3226 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3227
3228         * text2.C (removeParagraph): make it take a RowList::iterator as
3229         arg, adjust.
3230         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3231         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3232
3233         * text.C (anchor_row): make it take a RowList::iterator as arg,
3234         adjust.
3235         (computeBidiTables): make it take a const reference to Row instead
3236         of Row pointer, adjust.
3237         (leftMargin): make it take a RowList::iterator as arg, adjust.
3238         (rowBreakPoint): adjust
3239         (breakAgainOneRow): make it take a RowList::iterator as arg,
3240         adjust.
3241         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3242
3243         * bufferview_funcs.C (toggleAndShow): adjust
3244
3245 2003-03-30  John Levon  <levon@movementarian.org>
3246
3247         * Makefile.am:
3248         * BoostFormat.h:
3249         * boost-inst.C: moved to support
3250
3251         * several files: changes as a result
3252
3253 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3254
3255         * text2.C (LyXText): adjust.
3256         (init): adjust
3257         (removeRow): make it take a RowList::iterator as arg, adjust.
3258         (fullRebreak): adjust
3259         (deleteEmptyParagraphMechanism): adjust
3260         (clearPaint): adjust
3261         (postPaint): adjust
3262
3263         * text.C (top_y): adjust
3264         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3265         (breakAgain): make it take a RowList::iterator as arg, adjust.
3266         (breakParagraph): adjust
3267         (insertChar): adjust
3268         (backspace): adjust
3269
3270         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3271         need_break_row, and refresh_row.
3272
3273         * text3.C (dispatch): adjust
3274
3275         * text2.C (checkParagraph): adjust
3276         (setCursor): adjust
3277         (setCursorFromCoordinates): adjust
3278
3279         * text.C (top_y): adjust
3280         (workWidth): adjust
3281         (getRow): make it return a RowList::iterator, adjust
3282         (getRowNearY): make it return a RowList::iterator, adjust
3283
3284         * text2.C (init): adjust
3285         (insertRow): remove function
3286         (insertParagraph): adjust
3287         (redoParagraphs): adjust
3288         (fullRebreak): adjust
3289         (updateCounters): adjust
3290
3291         * text.C (top_y): rewrite to use RowList iterators.
3292         (top_y): adjust
3293         (setHeightOfRow): rewrite to sue RowList iterators.
3294         (appendParagraph): adjust
3295         (breakAgain): adjust
3296         (breakAgainOneRow): adjust
3297         (breakParagraph): adjust
3298         (getRow): adjust
3299         (getRowNearY): adjust, and remove commented code.
3300
3301         * lyxtext.h (firstRow): delete function
3302         (lastRow): delete function
3303         (rows): new function (const and non-const versions.)
3304         (insertRow): delete function
3305
3306         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3307
3308 2003-03-29  John Levon  <levon@movementarian.org>
3309
3310         * BufferView_pimpl.C: always update scrollbar top
3311         because pasting text when we're anchored could mean we
3312         miss an update altogether
3313
3314 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3315
3316         * text2.C (init): use rowlist_.end() and not 0.
3317         (insertRow): change to take a RowList::iterator as arg, adjust
3318         for this.
3319         (insertParagraph): change to take a RowList::iterator as arg,
3320         adjust for this.
3321         (redoParagraphs): remove some debug msgs.
3322
3323         * text.C (appendParagraph): change to take a RowList::iterator
3324         arg, adjust for this.
3325         (breakAgain): add an assert
3326         (breakAgainOneRow): ditto
3327
3328 2003-03-29  John Levon  <levon@movementarian.org>
3329
3330         * text2.C: do not clear selection after inc/decDepth
3331         (bug 550)
3332
3333 2003-03-29  John Levon  <levon@movementarian.org>
3334
3335         * BufferView.C:
3336         * buffer.C: fix broken strerrors according to Lars
3337
3338 2003-03-29  John Levon  <levon@movementarian.org>
3339
3340         * converters.C: more Alert cleanups
3341
3342 2003-03-29  John Levon  <levon@movementarian.org>
3343
3344         * bufferview_funcs.C: remove pointless Alert
3345
3346         * buffer.C: fix confusing error message when
3347         a template is chmoded 000
3348
3349 2003-03-29  John Levon  <levon@movementarian.org>
3350
3351         * BufferView.C:
3352         * BufferView.h:
3353         * BufferView_pimpl.C: Alert fixes
3354
3355         * Makefile.am:
3356         * tabular.C:
3357         * tabular-old.C: remove unused table compat reading
3358
3359 2003-03-29  John Levon  <levon@movementarian.org>
3360
3361         * BufferView.C:
3362         * buffer.C:
3363         * lyx_cb.h:
3364         * lyx_cb.C: more Alert cleanups
3365
3366         * lyxfunc.C: don't allow chktex if not latex document
3367
3368 2003-03-29  John Levon  <levon@movementarian.org>
3369
3370         * lyx_cb.C:
3371         * BufferView.C:
3372         * buffer.C: warnings pushed down from support/,
3373         kill err_alert
3374
3375 2003-03-29  John Levon  <levon@movementarian.org>
3376
3377         * lyxfunc.C: safety check for C-r (revert)
3378
3379 2003-03-29  John Levon  <levon@movementarian.org>
3380
3381         * bufferlist.h:
3382         * bufferlist.C: several UI fixes using Alert::prompt.
3383         Fix the pointless looping quit code. Fix stupid revert
3384         behaviour (bug 938)
3385
3386         * lyxvc.h:
3387         * lyxvc.C:
3388         * lyx_cb.C: use Alert::prompt
3389
3390         * lyx_main.C: remove a silly question
3391
3392         * lyxfunc.C: remove a couple of silly questions,
3393         use Alert::prompt
3394
3395 2003-03-28  John Levon  <levon@movementarian.org>
3396
3397         * text2.C: fix bug 974 (End on empty par)
3398
3399 2003-03-28  John Levon  <levon@movementarian.org>
3400
3401         * BufferView_pimpl.C:
3402         * LyXAction.C:
3403         * lfuns.h: remove do-nothing math greek lfuns
3404
3405 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3406
3407         * lyxgluelength.h (isValidGlueLength): add default arg on
3408         parameter 2. Remove default arg from friend in class.
3409
3410         * lyxlength.h (isValidLength): add default arg on parameter 2.
3411         Remove default arg from friend in class.
3412
3413         * text2.C (LyXText): adjust, initialize refresh_row.
3414         (init): adjust
3415         (removeRow): adjust
3416         (insertRow): adjust
3417         (insertParagraph): adjst
3418         (redoParagraphs): adjust
3419         (fullRebreak): adjust
3420         (updateCounters): adjust
3421         (deleteEmptyParagraphMechanism): first attempt at fixing a
3422         crashing bug.
3423
3424         * text.C (top_y): adjust
3425         (setHeightOfRow): adjust
3426         (getRow): adjust
3427         (getRowNearY): adjust
3428
3429         * lyxtext.h: include RowList.h
3430         (~LyXText): not needed anymore, deleted.
3431         (firstRow): modify for RowList
3432         (lastRow): new function
3433         Delete firstrow and lastrow class variables, add a Rowlist
3434         rowlist_ class variable.
3435
3436         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3437         paragraph is empty.
3438
3439         * RowList.C (insert): fix case where it == begin().
3440
3441 2003-03-26  Angus Leeming  <leeming@lyx.org>
3442
3443         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3444         the thesaurus dialog.
3445
3446 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3447
3448         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3449
3450         * RowList.[Ch]: new files
3451
3452         * ParagraphList.C (erase): handle the case where it == begin
3453         correctly.
3454
3455 2003-03-25  John Levon  <levon@movementarian.org>
3456
3457         * Makefile.am:
3458         * aspell_local.h:
3459         * aspell.C: add new aspell support
3460
3461         * lyxrc.h:
3462         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3463         have it accessible.
3464
3465 2003-03-25  Angus Leeming  <leeming@lyx.org>
3466
3467         * lfuns.h:
3468         * LyXAction.C (init): new LFUN_INSET_INSERT.
3469
3470         * BufferView_pimpl.C (dispatch): split out part of the
3471         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3472
3473         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3474         LFUN_INSET_APPLY.
3475
3476 2003-03-25  Angus Leeming  <leeming@lyx.org>
3477
3478         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3479
3480 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3481
3482         * text2.C:
3483         * text3.C: remove useless row->height(0)
3484
3485 2003-03-25  John Levon  <levon@movementarian.org>
3486
3487         * lyxtext.h:
3488         * text2.C:
3489         * text3.C: rename the refreshing stuff to better names
3490
3491 2003-03-24  John Levon  <levon@movementarian.org>
3492
3493         * BufferView_pimpl.h:
3494         * BufferView_pimpl.C: update layout choice on a mouse
3495         press/release
3496
3497 2003-03-23  John Levon  <levon@movementarian.org>
3498
3499         * Makefile.am: fix commandtags.h reference
3500
3501 2003-03-22  John Levon  <levon@movementarian.org>
3502
3503         * BufferView_pimpl.C:
3504         * lyxtext.h:
3505         * rowpainter.C:
3506         * rowpainter.h:
3507         * text.C:
3508         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3509
3510 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3511
3512         * lyxtext.h:
3513         * text.C: take the rtl methods out of line
3514
3515 2003-03-21 André Pönitz <poenitz@gmx.net>
3516
3517         * metricsinfo.[Ch]: new files containing structures to be passed around
3518         during the two-phase-drawing...
3519
3520 2003-03-21 André Pönitz <poenitz@gmx.net>
3521
3522         * lyxtextclass.C: read 'environment' tag.
3523
3524 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3525
3526         * text2.C (removeRow): fix bug 964
3527
3528 2003-03-20  John Levon  <levon@movementarian.org>
3529
3530         * rowpainter.C:
3531         * text.C:
3532         * text2.C: paint cleanups. Inset::update() dropped font
3533         parameter
3534
3535 2003-03-19  John Levon  <levon@movementarian.org>
3536
3537         * lyxfunc.C: only fitcursor/markDirty if available()
3538
3539 2003-03-19  John Levon  <levon@movementarian.org>
3540
3541         * commandtags.h: rename to ...
3542
3543         * lfuns.h: ... this, and renumber / cleanup
3544
3545 2003-03-19  John Levon  <levon@movementarian.org>
3546
3547         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3548         fit the cursor after an lfun
3549
3550         * BufferView.h:
3551         * BufferView.C:
3552         * BufferView_pimpl.h:
3553         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3554
3555         * LyXAction.C: layout-character should have ReadOnly
3556
3557         * ParagraphParameters.C:
3558         * buffer.C:
3559         * bufferview_funcs.C:
3560         * lyx_cb.C:
3561         * lyxfind.C:
3562         * lyxtext.h:
3563         * text.C:
3564         * text2.C:
3565         * text3.C:
3566         * undo_funcs.C: changes from above
3567
3568 2003-03-18  John Levon  <levon@movementarian.org>
3569
3570         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3571         remove it from update()
3572
3573         * lyxfunc.C: update layout choice after an lfun
3574
3575         * text3.C: remove extra updateLayoutChoice()s
3576
3577 2003-03-18  John Levon  <levon@movementarian.org>
3578
3579         * text.C: top_y change means full repaint, fix
3580         a drawing bug with cursor movement
3581
3582 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3583
3584         * lyxtext.h:
3585         * text.C:
3586         * text2.C: anchor row on setCursor
3587
3588 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3589
3590         * lyxtext.h: remove almost all mutable keywords
3591         * text.C:
3592         * text2.C:
3593         * text3.C: remove const keywords accordingly
3594
3595 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3596
3597         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3598         anon namespace
3599         (TeXEnvironment): ditto
3600         (TeXOnePar): ditto
3601
3602 2003-03-17  John Levon  <levon@movementarian.org>
3603
3604         * text.C (rowBreakPoint): remove attempt to fix displayed
3605         math insets inside a manual label
3606
3607 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3608
3609         * lyxtext.h: remove BufferView* as first arg from almost all class
3610         functions.
3611         * other files: adjust.
3612
3613 2003-03-17  John Levon  <levon@movementarian.org>
3614
3615         * lyxtext.h:
3616         * undo_funcs.C:
3617         * text2.C: more paint cleanups
3618
3619         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3620
3621         * rowpainter.h:
3622         * rowpainter.C: remove "smart" background painting code
3623
3624 2003-03-16  John Levon  <levon@movementarian.org>
3625
3626         * lyxtext.h:
3627         * text.C:
3628         * text2.C:
3629         * text3.C: add helper functions for setting refresh_row/y
3630
3631 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3632
3633         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3634         newline inset which *can* get inserted in the pass_thru layouts.
3635         This is primarily for literate documents.
3636
3637 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3638
3639         * buffer.C: increment LYX_FORMAT to 223
3640
3641 2003-03-14 André Pönitz <poenitz@gmx.net>
3642
3643         * textclass.h: prepare for environment handling, ws changes
3644         * lyxlayout.C: read latexheader and latexfooter tags
3645
3646 2003-03-14  John Levon  <levon@movementarian.org>
3647
3648         * text2.C: rewrite ::status() a bit
3649
3650 2003-03-13  John Levon  <levon@movementarian.org>
3651
3652         * lyxtext.h: add some docs
3653
3654 2003-03-13  John Levon  <levon@movementarian.org>
3655
3656         * lyxtext.h:
3657         * text.C:
3658         * text2.C:
3659         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3660
3661 2003-03-13  John Levon  <levon@movementarian.org>
3662
3663         * text3.C: fix appendix redrawing
3664
3665 2003-03-13  John Levon  <levon@movementarian.org>
3666
3667         * text.C (setHeightOfRow):
3668         * rowpainter.h:
3669         * rowpainter.C: make appendix mark have the text
3670           "Appendix" so the user knows what it is
3671
3672         * LColor.h:
3673         * LColor.C: s/appendixline/appendix/ from above
3674
3675 2003-03-13  John Levon  <levon@movementarian.org>
3676
3677         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3678
3679         * text.C: fix a getChar(pos) bug properly
3680
3681 2003-03-13  Angus Leeming  <leeming@lyx.org>
3682
3683         * commandtags.h:
3684         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3685         Probably only temporary. Let's see how things pan out.
3686
3687         * BufferView.C (unlockInset):
3688         * BufferView_pimpl.C (fitCursor):
3689         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3690
3691         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3692         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3693
3694         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3695         new functions that convert ParagraphParameters to and from a string.
3696
3697         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3698         BufferView::Pimpl's dispatch.
3699         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3700
3701 2003-03-13 André Pönitz <poenitz@gmx.net>
3702
3703         * lyxfunc.C:
3704         * text3.C:
3705         * factory.C: make it aware of InsetEnv
3706
3707 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3708
3709         * text2.C (setCursor): never ask for one past last
3710         (setCursor): add some debugging messages.
3711
3712         * text.C (singleWidth): never ask for one past last
3713         (singleWidth): ditto
3714         (leftMargin): ditto
3715         (rightMargin): ditto
3716         (rowBreakPoint): ditto
3717         (setHeightOfRow): ditto
3718         (prepareToPrint): ditto
3719
3720         * rowpainter.C (paintBackground): never ask for one past last
3721         (paintText): never ask for one past last
3722
3723         * paragraph_pimpl.C (getChar): make the assert stricter, never
3724         allow the one past last pos to be taken
3725
3726         * paragraph.C (getChar): ws changes only
3727
3728         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3729         (numberOfSeparators): ditto
3730         (numberOfHfills): ditto
3731
3732 2003-03-12  John Levon  <levon@movementarian.org>
3733
3734         * author.h:
3735         * author.C:
3736         * bufferparams.h:
3737         * bufferparams.C:
3738         * paragraph_funcs.C: fix per-buffer authorlists
3739
3740 2003-03-12  John Levon  <levon@movementarian.org>
3741
3742         * text.C: fix newline in right address
3743
3744 2003-03-12  Angus Leeming  <leeming@lyx.org>
3745
3746         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3747         duplicate those in LyXFunc::dispatch.
3748
3749         * commandtags.h:
3750         * LyXAction.C:
3751         * ToolbarDefaults.C:
3752         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3753         Add LFUN_FONTFREE_UPDATE.
3754
3755         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3756         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3757
3758         * bufferview_func.[Ch]: several new functions to facilliate
3759         transfer of data to and from the character dialog.
3760
3761 2003-03-12  John Levon  <levon@movementarian.org>
3762
3763         * buffer.C:
3764         * paragraph.h:
3765         * paragraph.C:
3766         * paragraph_funcs.C:
3767         * paragraph_pimpl.C:
3768         * sgml.C:
3769         * tabular.C:
3770         * text.C:
3771         * text3.C: remove META_NEWLINE in favour of an inset
3772
3773         * rowpainter.h:
3774         * rowpainter.C: remove paintNewline (done by inset)
3775
3776 2003-03-12  John Levon  <levon@movementarian.org>
3777
3778         * paragraph_pimpl.C: complain about bad getChar()s
3779         for a while at least
3780
3781 2003-03-12  John Levon  <levon@movementarian.org>
3782
3783         * buffer.h:
3784         * buffer.C: move paragraph read into a separate function,
3785         a little renaming to reflect that.
3786
3787         * bufferparams.h:
3788         * bufferparams.C: remove the author_ids map, not necessary now
3789
3790         * factory.h:
3791         * factory.C: moved Buffer::readInset to here
3792
3793         * paragraph_funcs.h:
3794         * paragraph_funcs.C: readParagraph free function moved from
3795         buffer.C
3796
3797         * tabular.C: name change
3798
3799 2003-03-12  John Levon  <levon@movementarian.org>
3800
3801         * buffer.C:
3802         * ParagraphParameters.C: move par params input to
3803         a read() method
3804
3805         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3806         behave like a normal read from the stream wrt reading
3807         a line vs. a \\token
3808
3809 2003-03-12  John Levon  <levon@movementarian.org>
3810
3811         * paragraph.C:
3812         * ParagraphParameters.h:
3813         * ParagraphParameters.C: move output code to a
3814         ::write() method
3815
3816 2003-03-12  John Levon  <levon@movementarian.org>
3817
3818         * BufferView.C (insertLyXFile):
3819         * buffer.h:
3820         * buffer.C:
3821         * tabular.C: use a parlist iterator for creating the
3822           document.
3823
3824 2003-03-12  John Levon  <levon@movementarian.org>
3825
3826         * buffer.C: make current_change static local not
3827           static file-scope
3828
3829 2003-03-12  John Levon  <levon@movementarian.org>
3830
3831         * buffer.C: fix insertStringAsLines for change tracking
3832
3833 2003-03-12  John Levon  <levon@movementarian.org>
3834
3835         * BufferView.C:
3836         * tabular.C:
3837         * buffer.h:
3838         * buffer.C:
3839         * bufferparams.h:
3840         * bufferparams.C: move author list into params. Rename some
3841           functions. Move the header reading into a separate token
3842           loop. Move the header token reading into BufferParams.
3843
3844 2003-03-12  John Levon  <levon@movementarian.org>
3845
3846         * changes.C: put debug inside lyxerr.debugging() checks
3847
3848 2003-03-11 André Pönitz <poenitz@gmx.net>
3849
3850         * factory.C: make it aware of InsetHFill
3851
3852 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3853
3854         * buffer.C (latexParagraphs): move function from here...
3855         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3856         args.
3857
3858 2003-03-10  Angus Leeming  <leeming@lyx.org>
3859
3860         * LyXAction.C (init): fix bug in poplating array with multiple entries
3861         with the same LFUN (spotted by JMarc).
3862
3863 2003-03-10  John Levon  <levon@movementarian.org>
3864
3865         * text.C:
3866         * text2.C: move getColumnNearX() near its
3867         only call site
3868
3869 2003-03-10  John Levon  <levon@movementarian.org>
3870
3871         * text.C: fix break before a minipage
3872
3873 2003-03-10  John Levon  <levon@movementarian.org>
3874
3875         * text.C: fix the last commit
3876
3877 2003-03-09  John Levon  <levon@movementarian.org>
3878
3879         * lyxtext.h:
3880         * text.C:
3881         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3882         bug 365 (don't break before insets unless needed). Don't
3883         return a value > last under any circumstances.
3884
3885 2003-03-09  Angus Leeming  <leeming@lyx.org>
3886
3887         * BufferView_pimpl.C (trackChanges, dispatch): call
3888         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3889
3890 2003-03-09  Angus Leeming  <leeming@lyx.org>
3891
3892         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3893         than Dialogs::showAboutlyx().
3894
3895 2003-03-09  Angus Leeming  <leeming@lyx.org>
3896
3897         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3898         than Dialogs::showTabularCreate().
3899
3900 2003-03-09  John Levon  <levon@movementarian.org>
3901
3902         * lyxtext.h:
3903         * text.C:
3904         * text2.C: 3rd arg to nextBreakPoint was always the same.
3905           Use references.
3906
3907 2003-03-08  John Levon  <levon@movementarian.org>
3908
3909         * lyxrow.C:
3910         * paragraph.C:
3911         * paragraph.h:
3912         * rowpainter.C:
3913         * text.C:
3914         * text2.C: Remove the "main" bit from the "main body"
3915           notion.
3916
3917 2003-03-08  John Levon  <levon@movementarian.org>
3918
3919         * text.C (leftMargin): The left margin of an empty
3920         manual label paragraph should not include the label width
3921         string length.
3922
3923         * text.C (prepareToPrint): don't attempt to measure hfills
3924         for empty manual label paragraphs - the answer should be 0
3925
3926 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3927
3928         * CutAndPaste.C: remove commented code and reindent.
3929
3930 2003-03-08  John Levon  <levon@movementarian.org>
3931
3932         * lyxfunc.h:
3933         * lyxfunc.C: move reloadBuffer()
3934
3935         * BufferView.h:
3936         * BufferView.C: to here
3937
3938         * lyxvc.C: add comment
3939
3940         * vc-backend.h:
3941         * vc-backend.C: call bv->reload() to avoid
3942           getStatus() check on MENURELOAD
3943
3944 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3945
3946         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3947         to an old format .dep file.
3948
3949 2003-03-07  Angus Leeming  <leeming@lyx.org>
3950
3951         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3952         when the LFUN_MOUSE_RELEASE should have been handled by
3953         inset->localDispatch.
3954
3955 2003-03-07  Angus Leeming  <leeming@lyx.org>
3956
3957         * BufferView_pimpl.C (dispatch):
3958         * LyXAction.C (init):
3959         * ToolbarDefaults.C (init):
3960         * commandtags.h:
3961         * lyxfunc.C (getStatus):
3962         remove LFUN_INSET_GRAPHICS.
3963
3964         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3965
3966 2003-03-07  Angus Leeming  <leeming@lyx.org>
3967
3968         * commandtags.h:
3969         * LyXAction.C (init):
3970         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3971
3972         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3973
3974         * commandtags.h:
3975         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3976
3977         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3978         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3979
3980 2003-03-07  Angus Leeming  <leeming@lyx.org>
3981
3982         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3983         remove "ert".
3984
3985 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3986
3987         * ParagraphList.C (front): new function
3988         (back): implement
3989
3990 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3991
3992         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3993         and top_row_offset_. removed var first_y.
3994         * text.C (top_y):
3995         * text2.C (LyXText, removeRow):
3996         * text3.C:
3997         * BufferView_pimpl.C:
3998         use these methods instead of using first_y
3999
4000 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4001
4002         * text2.C (pasteSelection): adjust for checkPastePossible
4003
4004         * CutAndPaste.C: remove Paragraph * buf and replace with
4005         ParagraphList paragraphs.
4006         (DeleteBuffer): delete
4007         (cutSelection): change the tc type to textclass_type
4008         (copySelection): change the tc type to textclass_type
4009         (copySelection): adjust for ParagraphList
4010         (pasteSelection): change the tc type to textclass_type
4011         (pasteSelection): adjust for Paragraphlist
4012         (nrOfParagraphs): simplify for ParagraphList
4013         (checkPastePossible): simplify for ParagraphList
4014         (checkPastePossible): remove unused arg
4015
4016         * ParagraphList.C (insert): handle the case where there are no
4017         paragraphs yet.
4018
4019         * CutAndPaste.h: make CutAndPaste a namespace.
4020
4021         * text3.C (dispatch): adjust
4022
4023         * text.C (breakParagraph): add a ParagraphList as arg
4024
4025         * paragraph_funcs.C (breakParagraph): change to take a
4026         BufferParams and a ParagraphList as args.
4027         (breakParagraphConservative): ditto
4028         (mergeParagraph): ditto
4029         (TeXDeeper): add a ParagraphList arg
4030         (TeXEnvironment): ditto
4031         (TeXOnePar): ditto
4032
4033         * buffer.C (readLyXformat2): adjust
4034         (insertStringAsLines): adjust
4035         (latexParagraphs): adjust
4036
4037         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4038         (cutSelection): adjust
4039         (pasteSelection): adjust
4040
4041         * BufferView_pimpl.C (insertInset): adjust
4042
4043 2003-03-05  Angus Leeming  <leeming@lyx.org>
4044
4045         * commandtags.h:
4046         * LyXAction.C (init):
4047         * BufferView_pimpl.C (dispatch):
4048         * lyxfunc.C (getStatus):
4049         remove LFUN_CHILD_INSERT.
4050
4051         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4052
4053 2003-03-05  Angus Leeming  <leeming@lyx.org>
4054
4055         * commandtags.h:
4056         * LyXAction.C (init):
4057         * src/factory.C (createInset):
4058         * lyxfunc.C (getStatus):
4059         * text3.C (dispatch):
4060         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4061
4062         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4063
4064 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * ParagraphList.C (insert): handle insert right before end()
4067         (erase): fix cases where it can be first or last paragraph.
4068
4069 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4072         Paragraph::next and Paragraph::previous
4073         (TeXOnePar): ditto
4074
4075         * text.C (breakParagraph): adjust
4076
4077         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4078         BufferParams& as arg.
4079         (breakParagraph): use ParagraphList::insert
4080         (breakParagraphConservative): take a Buffer* instead of a
4081         BufferParams& as arg.
4082         (breakParagraphConservative): use ParagraphList::insert.
4083
4084         * buffer.C (insertStringAsLines): un-const it
4085         (insertStringAsLines): adjust
4086
4087         * ParagraphList.C (insert): new function
4088
4089         * CutAndPaste.C (pasteSelection): adjust
4090
4091         * text.C (backspace): adjust
4092
4093         * tabular.C (SetMultiColumn): adjust
4094
4095         * CutAndPaste.C (cutSelection): adjust
4096         (pasteSelection): adjust
4097
4098         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4099         Buffer const * as arg
4100
4101         * ParagraphList.C (erase): new function
4102         * paragraph_funcs.C (mergeParagraph): use it
4103         (mergeParagraph): make it take a Buffer* instead of a
4104         BufferParams* as arg
4105
4106         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4107         as arg
4108         (breakParagraphConservative): ditto
4109
4110         * paragraph.h: remove the breakParagraph friend
4111
4112         * paragraph.C (eraseIntern): new function
4113         (setChange): new function
4114
4115         * paragraph_funcs.C (mergeParagraph): make it take a
4116         ParagraphList::iterator instead of a Paragraph *, adjust
4117         accordingly.
4118
4119         * paragraph.h: move an #endif so that the change tracking stuff
4120         also works in the NO_NEXT case.
4121
4122 2003-03-04  Angus Leeming  <leeming@lyx.org>
4123
4124         * commandtags.h:
4125         * LyXAction.C: new LFUN_INSET_MODIFY.
4126
4127         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4128         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4129
4130 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4131
4132         * several files: ws changes only
4133
4134         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4135         (TeXEnvironment): ditto
4136         (TeXDeeper): ditto
4137
4138         * buffer.C (makeLaTeXFile): adjust
4139         (latexParagraphs): make it take ParagraphList::iterator as args
4140
4141 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4142
4143         * buffer.C (latexParagraphs): adjust
4144
4145         * paragraph.C (TeXOnePar): move function...
4146         (optArgInset): move function...
4147         (TeXEnvironment): move function...
4148         * paragraph_pimpl.C (TeXDeeper): move function...
4149         * paragraph_funcs.C: ...here
4150
4151         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4152
4153 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * buffer.C (readInset): remove compability code for old Figure and
4156         InsetInfo insets
4157
4158 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4159
4160         * buffer.C: ws changes
4161         (readInset):
4162
4163         * BufferView_pimpl.C: ditto
4164         * author.C: ditto
4165         * buffer.h: ditto
4166         * bufferlist.h: ditto
4167         * changes.h: ditto
4168         * lyxfunc.C: ditto
4169
4170 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4171
4172         * converter.[Ch]: split into itself +
4173         * graph.[Ch]
4174         * format.[Ch]
4175         * Makefile.am: += graph.[Ch] + format.[Ch]
4176         * MenuBackend.C
4177         * buffer.C
4178         * exporter.C
4179         * importer.C
4180         * lyx_main.C
4181         * lyxfunc.C
4182         * lyxrc.C: added #include "format.h"
4183
4184 2003-02-27  Angus Leeming  <leeming@lyx.org>
4185
4186         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4187           a label.
4188
4189         * factory.C (createInset): add "label" to the factory.
4190
4191         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4192           string and do no more.
4193
4194 2003-02-27  Angus Leeming  <leeming@lyx.org>
4195
4196         * commandtags.h:
4197         * LyXAction.C (init):
4198         * factory.C (createInset):
4199         * BufferView_pimpl.C (dispatch):
4200           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4201
4202         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4203
4204         * lyxfunc.C (dispatch):
4205         * text3.C (dispatch): pass name to params2string.
4206
4207 2003-02-26  Angus Leeming  <leeming@lyx.org>
4208
4209         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4210           blocks together.
4211           Rearrange the ~includes. Strip out the unnecessary ones.
4212
4213         * factory.C (createInset): reformat.
4214           create new insets for the various LFUN_XYZ_APPLY lfuns.
4215
4216 2003-02-26  John Levon  <levon@movementarian.org>
4217
4218         * lyxrow.h:
4219         * lyxrow.C: add isParStart,isParEnd helpers
4220
4221         * paragraph.h: make isInserted/DeletedText take refs
4222
4223         * paragraph_funcs.h:
4224         * paragraph_funcs.C: remove #if 0'd code
4225
4226         * lyxtext.h:
4227         * text3.C:
4228         * text2.C:
4229         * text.C: use lyxrow helpers above.
4230           Move draw and paint routines to RowPainter.
4231           Make several methods use refs not pointers.
4232           Make backgroundColor() const.
4233           Add markChangeInDraw(), isInInset().
4234           Merge changeRegionCase into changeCase.
4235           Make workWidth() shouldn't-happen code into an Assert.
4236
4237         * rowpainter.h:
4238         * rowpainter.C: new class for painting a row.
4239
4240         * vspace.h:
4241         * vspace.C: make inPixels take a ref
4242
4243 2003-02-26  Angus Leeming  <leeming@lyx.org>
4244
4245         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4246         LFUN_REF_APPLY.
4247
4248 2003-02-25  John Levon  <levon@movementarian.org>
4249
4250         * ispell.C: give the forked command a more accurate name
4251
4252 2003-02-22  John Levon  <levon@movementarian.org>
4253
4254         * toc.h:
4255         * toc.C: make TocItem store an id not a Paragraph *
4256           (bug #913)
4257
4258 2003-02-21  Angus Leeming  <leeming@lyx.org>
4259
4260         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4261           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4262           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4263           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4264           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4265           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4266
4267         * BufferView_pimpl.C (dispatch):
4268         * LyXAction.C (init):
4269         * factory.C (createInset):
4270         * lyxfunc.C (getStatus, dispatch):
4271         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4272
4273 2003-02-21  Angus Leeming  <leeming@lyx.org>
4274
4275         * BufferView_pimpl.C (MenuInsertLyXFile):
4276         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4277         * lyxfunc.C (menuNew, open, doImport):
4278           no longer pass a LyXView & to fileDlg.
4279
4280 2003-02-21  Angus Leeming  <leeming@lyx.org>
4281
4282         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4283         * LyXAction.C: change, BIBKEY to BIBITEM.
4284         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4285         Change InsetBibKey to InsetBibitem.
4286         Change BIBKEY_CODE to BIBITEM_CODE.
4287         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4288         * factory.C: replace insetbib.h with insetbibitem.h.
4289         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4290         * paragraph.C: replace insetbib.h with insetbibitem.h.
4291         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4292         Change bibkey() to bibitem().
4293         * text.C: remove insetbib.h.
4294         * text2.C: replace insetbib.h with insetbibitem.h.
4295         change bibkey() to bibitem().
4296         * text3.C: remove insetbib.h.
4297         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4298
4299 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4300
4301         * lyxrc.C (output): enclose user email in quotes (in case there are
4302         several words)
4303
4304 2003-02-18  John Levon  <levon@movementarian.org>
4305
4306         * buffer.h: add std::
4307
4308 2003-02-17  John Levon  <levon@movementarian.org>
4309
4310         * SpellBase.h:
4311         * ispell.h:
4312         * ispell.C:
4313         * pspell.h:
4314         * pspell.C: reworking. Especially in ispell, a large
4315           number of clean ups and bug fixes.
4316
4317         * lyxfunc.C: fix revert to behave sensibly
4318
4319 2003-02-17 André Pönitz <poenitz@gmx.net>
4320
4321         * LyXAction.C:
4322         * commandtags.h: new LFUN_INSERT_BIBKEY
4323
4324         * layout.h:
4325         * lyxlayout.C:
4326         * buffer.C:
4327         * factory.C:
4328         * text.C:
4329         * text2.C:
4330         * text3.C:
4331         * paragraph.[Ch]:
4332         * paragraph_func.C: remove special bibkey handling
4333
4334 2003-02-17  John Levon  <levon@movementarian.org>
4335
4336         * text.C (Delete): fix case where delete at the end of
4337           the very first paragraph would not merge the pars
4338
4339 2003-02-17  John Levon  <levon@movementarian.org>
4340
4341         * lyxrow.C: fix lastPrintablePos()
4342
4343 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4344
4345         * bufferparams.C (writeLaTeX): add a std:here
4346
4347         * buffer.C: and remove a using directive there
4348
4349 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4350
4351         * buffer.C (makeLaTeXFile): move the code that generates the
4352           preamble...
4353
4354         * bufferparams.C (writeLaTeX): ... in this new method
4355
4356         * LaTeXFeatures.C (getEncodingSet): make const
4357           (getLanguages): make const
4358
4359         * MenuBackend.C (binding): returns the binding associated to this
4360           action
4361           (add): sets the status of each item by calling getStatus. Adds
4362           some intelligence.
4363           (read): add support for OptSubMenu
4364           (expand): remove extra separator at the end of expanded menu
4365
4366 2003-02-15  John Levon  <levon@movementarian.org>
4367
4368         * BufferView.C:
4369         * BufferView_pimpl.C:
4370         * bufferlist.h:
4371         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4372           inset code that had no actual effect. Remove unneeded status
4373           code.
4374
4375 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4376
4377         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4378           in preamble
4379
4380 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4381
4382         * text.C (drawLengthMarker): also draw an arrow marker for
4383           symbolic lengths (medskip...)
4384
4385 2003-02-14  John Levon  <levon@movementarian.org>
4386
4387         * tabular.h:
4388         * tabular.C: better method names
4389
4390 2003-02-14  John Levon  <levon@movementarian.org>
4391
4392         * BufferView_pimpl.C:
4393         * bufferlist.C:
4394         * buffer.C:
4395         * converter.C:
4396         * lyx_cb.C:
4397         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4398           it's a more accurate name. Remove some pointless uses.
4399
4400 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4401
4402         * text2.C (LyXText): change order of initilizers to shut off
4403           warnings
4404
4405 2003-02-14  John Levon  <levon@movementarian.org>
4406
4407         * buffer.C: use ParIterator for getParFromID()
4408
4409         * paragraph.h:
4410         * paragraph.C:
4411         * paragraph_pimpl.h:
4412         * paragraph_pimpl.C: remove unused getParFromID()
4413
4414 2003-02-14  John Levon  <levon@movementarian.org>
4415
4416         * buffer.C: remove some very old #if 0'd parse code
4417
4418 2003-02-13  John Levon  <levon@movementarian.org>
4419
4420         * text.h:
4421         * text.C:
4422         * text2.C: move hfillExpansion(), numberOfSeparators(),
4423           rowLast(), rowLastPrintable(), numberofHfills(),
4424           numberOfLabelHfills() ...
4425
4426         * lyxrow.h:
4427         * lyxrow.C: ... to member functions here.
4428
4429         * paragraph.h:
4430         * paragraph.C:
4431         * lyxtext.h:
4432         * text.C: remove LyXText::beginningOfMainBody(), and call
4433           p->beginningOfMainBody() directly. Move the check for
4434           LABEL_MANUAL into the latter.
4435
4436         * text.h:
4437         * text.C:
4438         * text2.C:
4439         * vspace.C:
4440         * BufferView.h:
4441         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4442
4443         * text.h:
4444         * text.C:
4445         * text2.C:
4446         * text3.C:
4447         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4448           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4449
4450 2003-02-13  John Levon  <levon@movementarian.org>
4451
4452         * CutAndPaste.C: remove debug
4453
4454 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4455
4456         * paragraph.C (asString): remove two unused variables
4457
4458         * lyxtextclass.C (readTitleType):
4459           (Read):
4460           (LyXTextClass): handle new members titletype_ and titlename_
4461
4462         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4463
4464 2003-02-09  John Levon  <levon@movementarian.org>
4465
4466         * buffer.h:
4467         * buffer.C: replace hand-coded list with a map for the dep clean
4468
4469 2003-02-08  John Levon  <levon@movementarian.org>
4470
4471         * LaTeX.C: consolidate code into showRunMessage() helper
4472
4473 2003-02-08  John Levon  <levon@movementarian.org>
4474
4475         * lyxfind.C:
4476         * lyxtext.h:
4477         * text2.C:
4478         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4479           and pass the size in explicitly
4480
4481         * BufferView_pimpl.h:
4482         * BufferView_pimpl.C:
4483         * BufferView.h:
4484         * BufferView.C: add getCurrentChange()
4485
4486         * BufferView_pimpl.h:
4487         * BufferView_pimpl.C: handle change lfuns
4488
4489         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4490           for changes. Mark pasted paragraphs as new.
4491
4492         * support/lyxtime.h:
4493         * support/lyxtime.C:
4494         * DepTable.C: abstract time_t as lyx::time_type
4495
4496         * LColor.h:
4497         * LColor.C: add colours for new text, deleted text, changebars
4498
4499         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4500           package use "usenames" option.
4501
4502         * commandtags.h:
4503         * lyxfunc.C:
4504         * LyXAction.C: add change lfuns
4505
4506         * Makefile.am:
4507         * author.h:
4508         * author.C: author handling
4509
4510         * buffer.h:
4511         * buffer.C: add a per-buffer author list, with first entry as
4512           current author. Handle new .lyx tokens for change tracking. Output
4513           author list to .lyx file. Output dvipost stuff to .tex preamble.
4514           Bump lyx format to 222.
4515
4516         * bufferlist.h:
4517         * bufferlist.C: add setCurrentAuthor() to reset current author details
4518           in all buffers.
4519
4520         * bufferparams.h:
4521         * bufferparams.C: add param for tracking
4522
4523         * bufferview_funcs.C: output change info in minibuffer
4524
4525         * Makefile.am:
4526         * changes.h:
4527         * changes.C: add change-tracking structure
4528
4529         * debug.h:
4530         * debug.C: add CHANGES debug flag
4531
4532         * lyxfind.h:
4533         * lyxfind.C: add code for finding the next change piece
4534
4535         * lyxrc.h:
4536         * lyxrc.C: add user_name and user_email
4537
4538         * lyxrow.h:
4539         * lyxrow.C: add a metric for the top of the text line
4540
4541         * lyxtext.h:
4542         * text.C: implement accept/rejectChange()
4543
4544         * lyxtext.h:
4545         * text.C: paint changebars. Paint new/deleted text in the chosen
4546         colours. Strike through deleted text.
4547
4548         * paragraph.h:
4549         * paragraph.C:
4550         * paragraph_pimpl.h:
4551         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4552           in the current change to the insert functions. Rework erase to
4553           mark text as deleted, adding an eraseIntern() and a range-based
4554           erase(). Implement per-paragraph change lookup and
4555           accept/reject.
4556
4557         * paragraph_funcs.C: Fixup paste for change tracking.
4558
4559         * tabular.C: mark added row/columns as new.
4560
4561         * text.C: fix rowLast() to never return -1. Don't allow
4562           spellchecking of deleted text. Track transpose changes. Don't
4563           allow paragraph break or merge where appropriate.
4564
4565         * text2.C: leave cursor at end of selection after a cut.
4566
4567 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4568
4569         * text.C (getLengthMarkerHeight):
4570         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4571         visible on screen too.
4572
4573 2003-02-07  John Levon  <levon@movementarian.org>
4574
4575         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4576
4577 2003-02-05  Angus Leeming  <leeming@lyx.org>
4578
4579         * lyxserver.C (read_ready): revert my patch of 11 September last year
4580         as it sends PC cpu through the roof. Presumably this means that
4581         the lyxserver will no longer run on an Alpha...
4582
4583 2003-01-30  Angus Leeming  <leeming@lyx.org>
4584
4585         * factory.C (createInset): create an InsetCommandParam of type "index"
4586         and use it to 'do the right thing'.
4587
4588         * text2.C (getStringToIndex): ensure that cursor position is always
4589         reset to the reset_cursor position.
4590
4591 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4592
4593         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4594         disabled.
4595
4596 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4597
4598         * bufferview.C:
4599         * lyxcb.C:
4600         * lyxfunc.C: Output messages with identical spelling, punctuation,
4601         and spaces
4602
4603 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4604
4605         * MenuBackend.C (expandFormats): List only viewable export formats
4606         in "View" menu
4607
4608         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4609         message
4610
4611         * lyxfunc.C (getStatus): Make sure that formats other than
4612         "fax" can also be disabled
4613
4614 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4615
4616         * text3.C (dispatch): put the lfuns that insert insets in 3
4617         groups, and call doInsertInset with appropriate arguments.
4618         (doInsertInset): new function, that creates an inset and inserts
4619         it according to some boolean parameters.
4620
4621 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4622
4623         * buffer.C (readFile): remember to pass on 'par' when calling
4624         readFile recursively.
4625
4626 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4627
4628         * MenuBackend.C (expandFormats): add "..." to import formats.
4629
4630 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4631
4632         * paragraph.C (asString): Remove XForms RTL hacks.
4633
4634 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4635         * buffer.C: fix typo
4636
4637 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4638
4639         * Makefile.am (LIBS): delete var
4640         (lyx_LDADD): add @LIBS@ here instead.
4641
4642 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4643
4644         * Clarify the meaning of "wheel mouse jump"
4645
4646 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4647
4648         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4649         tabular in a float
4650
4651 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4652
4653         * importer.C (Loaders): do not preallocate 3 elements in the
4654         vector, since one ends up with 6 elements otherwise
4655
4656 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4657
4658         * DepTable.C (write): write the file name as last element of the
4659         .dep file (because it may contain spaces)
4660         (read): read info in the right order
4661
4662 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4663
4664         * paragraph_pimpl.C (simpleTeXBlanks):
4665         (simpleTeXSpecialChars):
4666         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4667
4668         * tabular.C (latex): add some missing case statements. Reindent.
4669
4670         * MenuBackend.C (expandToc): remove unused variable.
4671
4672 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4673
4674         * LColor.C:
4675         * LaTeX.C:
4676         * LyXAction.C:
4677         * MenuBackend.C:
4678         * buffer.C:
4679         * exporter.C:
4680         * lyxfunc.C:
4681         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4682         and the like.
4683
4684 2003-01-05  John Levon  <levon@movementarian.org>
4685
4686         * BufferView.h:
4687         * BufferView.C: add getEncoding()
4688
4689         * kbsequence.h:
4690         * kbsequence.C: do not store last keypress
4691
4692         * lyxfunc.h:
4693         * lyxfunc.C: store last keypress here instead. Pass encoding
4694           to getISOEncoded()
4695
4696 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4697
4698         * lyx_main.C (init): remove annoying error message when following
4699         symbolic links (bug #780)
4700
4701 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4702
4703         * text.C (insertChar):
4704         * lyxrc.C (getDescription): remove extra spaces
4705
4706 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4707
4708         * lyxrc.C (getDescription): remove extra spaces
4709
4710 2002-12-20  John Levon  <levon@movementarian.org>
4711
4712         * text3.C: hack fix for page up/down across tall rows
4713
4714 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4715
4716         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4717         not been invoked
4718
4719 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4720
4721         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4722         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4723         thesaurus is not compiled in
4724
4725 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4726
4727         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4728
4729 2002-12-16  Angus Leeming  <leeming@lyx.org>
4730
4731         * lyxrc.[Ch]:
4732         * lyx_main.C (init): remove override_x_deadkeys stuff.
4733
4734 2002-12-12  John Levon  <levon@movementarian.org>
4735
4736         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4737           insert. Only remove shift modifier under strict
4738           circumstances.
4739
4740 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4741
4742         * MenuBackend.C (expandToc): fix crash.
4743
4744 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4745
4746         * MenuBackend.C (expandToc): gettext on float names.
4747
4748 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4749
4750         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4751         implement bool empty() [bug 490]
4752
4753 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4756
4757 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4758
4759         * several files: ws changes
4760
4761 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4762
4763         * text2.C (setCounter): clean up a bit, use boost.format.
4764         (updateCounters): initialize par upon declaration.
4765
4766         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4767         if the layout exists. We do not just store the layout any more.
4768         (SwitchLayoutsBetweenClasses): use boost.format
4769
4770 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4771
4772         * converter.C (convert): if from and to files are the same, use a
4773         temporary files as intermediary
4774
4775 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4776
4777         * commandtags.h:
4778         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4779
4780 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4781
4782         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4783
4784 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4785
4786         * tabular.C (asciiPrintCell): use string(size, char) instead of
4787         explicit loop.
4788
4789         * sgml.C (openTag): fix order of arguments to string constructor
4790         (closeTag): ditto
4791
4792         * lyxfunc.C (dispatch): use boost.format
4793
4794         * lots of files: change "c" -> 'c'
4795
4796 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4797
4798         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4799
4800 2002-11-25  Angus Leeming  <leeming@lyx.org>
4801
4802         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4803
4804         * lyx_main.C (init): compile fix.
4805
4806 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * lyx_cb.C (start): boost.formatify
4809         do not include <iostream>
4810
4811         * lengthcommon.C: ws only
4812
4813         * boost-inst.C,BoostFormat.h: add more explict instantations
4814
4815 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4816
4817         * lots of files: handle USE_BOOST_FORMAT
4818
4819 2002-11-21  John Levon  <levon@movementarian.org>
4820
4821         * pspell.C: fix compile
4822
4823 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4824
4825         * lyxfunc.C (dispatch): use boost::format
4826         (open): ditto
4827         (doImport): ditto
4828
4829         * lyxfont.C (stateText): use boost::format
4830
4831         * lyx_main.C (LyX): use boost::format
4832         (init): ditto
4833         (queryUserLyXDir): ditto
4834         (readRcFile): ditto
4835         (parse_dbg): ditto
4836         (typedef boost::function): use the recommened syntax.
4837
4838         * importer.C (Import): use boost::format
4839
4840         * debug.C (showLevel): use boost::format
4841
4842         * converter.C (view): use boost::format
4843         (convert): ditto
4844         (move): ditto
4845         (scanLog): ditto
4846
4847         * bufferview_funcs.C (currentState): use boost::format
4848
4849         * bufferlist.C (emergencyWrite): use boost::format
4850
4851         * buffer.C (readLyXformat2): use boost::format
4852         (parseSingleLyXformat2Token): ditto
4853
4854         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4855
4856         * LaTeX.C (run): use boost::format
4857
4858         * Chktex.C (scanLogFile): use boost::format
4859
4860         * BufferView_pimpl.C (savePosition): use boost::format
4861         (restorePosition): ditto
4862         (MenuInsertLyXFile): ditto
4863
4864         * BoostFormat.h: help file for explicit instation.
4865
4866 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4867
4868         * tabular.C (latex): Support for block alignment in fixed width
4869         columns.
4870
4871 2002-11-17  John Levon  <levon@movementarian.org>
4872
4873         * BufferView_pimpl.C:
4874         * lyx_cb.C:
4875         * lyxfunc.C: split filedialog into open/save
4876
4877 2002-11-08  Juergen Vigna  <jug@sad.it>
4878
4879         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4880         by my last patch (hopefully).
4881
4882 2002-11-08  John Levon  <levon@movementarian.org>
4883
4884         * iterators.h:
4885         * iterators.C:
4886         * buffer.h:
4887         * buffer.C:
4888         * paragraph.h:
4889         * paragraph.C:
4890         * toc.h:
4891         * toc.C: ParConstIterator, and use it (from Lars)
4892
4893 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4894
4895         * lyxtextclass.[Ch]: revise and add doxygen comments
4896
4897 2002-11-07  John Levon  <levon@movementarian.org>
4898
4899         * text.C: fix progress value for spellchecker
4900
4901         * toc.C: fix navigate menu for insetwrap inside minipage
4902
4903         * paragraph_funcs.C: added FIXME for suspect code
4904
4905 2002-11-07  John Levon  <levon@movementarian.org>
4906
4907         * BufferView_pimpl.C: fix redrawing of insets
4908           on buffer switch
4909
4910 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4911
4912         * text2.C (updateCounters): fix bug 668
4913
4914 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4915
4916         * text3.C (dispatch): Do not make the buffer dirty when moving the
4917         cursor.
4918
4919 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4920
4921         * vc-backend.C: STRCONV
4922         (scanMaster): ditto
4923
4924         * text2.C (setCounter): STRCONV
4925
4926         * paragraph.C (asString): STRCONV
4927
4928         * lyxlength.C (asString): STRCONV
4929         (asLatexString): ditto
4930
4931         * lyxgluelength.C (asString): STRCONV
4932         (asLatexString): ditto
4933
4934         * lyxfunc.C (dispatch): STRCONV
4935         (open): ditto
4936
4937         * lyxfont.C (stateText): STRCONV
4938
4939         * importer.C (Import): STRCONV
4940
4941         * counters.C (labelItem): STRCONV
4942         (numberLabel): ditto
4943         (numberLabel): remove unused ostringstream o
4944
4945         * chset.C: STRCONV
4946         (loadFile): ditto
4947
4948         * bufferview_funcs.C (currentState): STRCONV
4949
4950         * buffer.C (readFile): STRCONV
4951         (asciiParagraph): ditto
4952         (makeLaTeXFile): ditto
4953
4954         * Spacing.C (writeEnvirBegin): STRCONV
4955
4956         * LaTeXFeatures.C (getLanguages): STRCONV
4957         (getPackages): ditto
4958         (getMacros): ditto
4959         (getBabelOptions): ditto
4960         (getTClassPreamble): ditto
4961         (getLyXSGMLEntities): ditto
4962         (getIncludedFiles): ditto
4963
4964         * LaTeX.C: STRCONV
4965         (run): ditto
4966         (scanAuxFile): ditto
4967         (deplog): ditto
4968
4969         * LString.h: add the STRCONV macros
4970
4971         * BufferView_pimpl.C (savePosition): STRCONV
4972         (restorePosition): ditto
4973         (MenuInsertLyXFile): ditto
4974
4975         * vc-backend.C (scanMaster): change from submatch[...] to
4976         submatch.str(...)
4977
4978         * funcrequest.C: include config.h
4979
4980         * factory.C: include config.h
4981
4982         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4983
4984         * box.C: include config.h
4985
4986         * LaTeX.C (scanAuxFile): change from submatch[...] to
4987         submatch.str(...)
4988         (deplog): ditto
4989
4990 2002-10-25  Angus Leeming  <leeming@lyx.org>
4991
4992         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4993
4994         * ispell.[Ch] (setError): new method.
4995         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4996         Use setError() insetead of goto END.
4997
4998         * lyx_cb.C (AutoSave): move out child process into new class
4999         AutoSaveBuffer.
5000
5001 2002-10-30  John Levon  <levon@movementarian.org>
5002
5003         * text3.C: make start appendix undoable
5004
5005 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5006
5007         * lyxlength.C (inPixels): Fix returned value.
5008
5009         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5010         environment.
5011
5012 2002-10-24  Angus Leeming  <leeming@lyx.org>
5013
5014         * lyxgluelength.h: no need to forward declare BufferParams
5015         or BufferView, so don't.
5016
5017 2002-10-21  John Levon  <levon@movementarian.org>
5018
5019         * BufferView.C: menuUndo ->undo, redo
5020
5021         * BufferView.h: document, remove dead, make some methods private
5022
5023         * paragraph_funcs.h:
5024         * paragraph_funcs.C:
5025         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5026
5027         * buffer.h:
5028         * buffer.C:
5029         * sgml.h:
5030         * sgml.C: move sgml open/close tag into sgml.C
5031
5032         * bufferview_funcs.h: unused prototype
5033
5034         * lyxfunc.h:
5035         * lyxfunc.C: remove unused
5036
5037         * lyxtext.h:
5038         * text.C: remove unused
5039
5040 2002-10-21  John Levon  <levon@movementarian.org>
5041
5042         * BufferView.h:
5043         * BufferView.C:
5044         * BufferView_pimpl.h:
5045         * BufferView_pimpl.C: fix mouse wheel handling based on
5046           patch from Darren Freeman
5047
5048 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5049
5050         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5051
5052 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5053
5054         * lyxlength.C (inPixels): Fix hanfling of negative length.
5055         Fix LyXLength::MU case.
5056
5057 2002-10-16  John Levon  <levon@movementarian.org>
5058
5059         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5060
5061 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5062
5063         * converter.C (view): add support for $$i (file name) and $$p
5064         (file path) for the viewer command. If $$i is not specified, then
5065         it is appended to the command (for compatibility with old syntax)
5066
5067 2002-10-14  Juergen Vigna  <jug@sad.it>
5068
5069         * undo_funcs.C (textHandleUndo): alter the order in which the
5070         new undopar is added to the LyXText, as we have to set first
5071         the right prev/next and then add it as otherwise the rebuild of
5072         LyXText is not correct. Also reset the cursor to the right paragraph,
5073         with this IMO we could remove the hack in "redoParagraphs()".
5074
5075 2002-10-09  Angus Leeming  <leeming@lyx.org>
5076
5077         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5078         to turn off an optimisation if a new inset is to be inserted.
5079
5080 2002-10-11 André Pönitz <poenitz@gmx.net>
5081
5082         * lyxtext.h: make some functions public to allow access
5083         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5084
5085 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5086
5087         * text3.C (dispatch): when changing layout, avoid an infinite loop
5088         [bug #652]
5089
5090 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5091
5092         * lyxrc.C (read): treat a viewer or converter command of "none" as
5093         if it were empty.
5094
5095         * MenuBackend.C (expandFormats): for an update, also allow the
5096         formats that are not viewable
5097
5098         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5099         script if it is newer than the lyxrc.defaults in user directory
5100
5101 2002-10-07 André Pönitz <poenitz@gmx.net>
5102
5103         * text.C: Vitaly Lipatov's small i18n fix
5104
5105 2002-09-25  Angus Leeming  <leeming@lyx.org>
5106
5107         * ispell.h: doxygen fix.
5108
5109 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5110
5111         * buffer.h (readFile): Add a new argument to the method, to allow
5112         reading of old-format templates.
5113
5114 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5115
5116         * toc.C (getTocList): Get TOC from InsetWrap.
5117
5118 2002-09-16  John Levon  <levon@movementarian.org>
5119
5120         * lyxfunc.C: check tabular for cut/copy too
5121
5122 2002-09-12  John Levon  <levon@movementarian.org>
5123
5124         * LyXAction.C: tidy
5125
5126         * factory.h:
5127         * factory.C: add header
5128
5129         * paragraph_funcs.h:
5130         * paragraph_funcs.C: cleanup
5131
5132 2002-09-11  John Levon  <levon@movementarian.org>
5133
5134         * PrinterParams.h: odd/even default to true
5135
5136 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5137
5138         * PrinterParams.h: update printer parameters for new xforms dialog
5139
5140 2002-09-11  Angus Leeming  <leeming@lyx.org>
5141
5142         * lyxserver.C (read_ready): re-write to make it more transparent
5143         and to make it work in coherent fashion under Tru64 Unix.
5144
5145 2002-09-11  André Pönitz <poenitz@gmx.net>
5146
5147         * commandtags.h:
5148         * LyXAction.C:
5149         * text3.C: implement LFUN_WORDSEL
5150
5151 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5154         make floatlist_ a boost::shared_ptr<FloatList>
5155
5156         * lyxtextclass.C: include FloatList.h
5157         (LyXTextClass): initialize floatlist_
5158         (TextClassTags): add TC_NOFLOAT
5159         (Read): match "nofloat" to TC_NOFLOAT and use it.
5160         (readFloat): modify call to floatlist_
5161         (floats): ditto
5162         (floats): ditto
5163
5164         * FloatList.[Ch] (FloatList): remove commented out float
5165         initialization.
5166         (erase): new function
5167
5168 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5169
5170         * MenuBackend.C (expandToc): fix crash when there is no document
5171         open
5172
5173 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5174
5175         * many files: Add insetwrap.
5176
5177 2002-09-09  John Levon  <levon@movementarian.org>
5178
5179         * text2.C: remove confusing and awkward depth wraparound
5180
5181 2002-09-09  John Levon  <levon@movementarian.org>
5182
5183         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5184
5185         * buffer.h:
5186         * buffer.C: remove getIncludeonlyList()
5187
5188         * paragraph.C:
5189         * lyxfunc.C: remove headers
5190
5191 2002-09-09  Juergen Vigna  <jug@sad.it>
5192
5193         * text.C (getColumnNearX): fix form Michael this is most
5194         probably a cut&paste bug.
5195
5196 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5197
5198         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5199
5200         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5201         references, ws changes.
5202
5203         * text2.C (init): update counters after init
5204         (insertParagraph): no need to set counter on idividual paragraphs.
5205         (setCounter): access the counters object in the textclass object
5206         on in the buffer object.
5207         (updateCounters): ditto
5208
5209         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5210         shared_ptr<Counters> to avoid loading counters.h in all
5211         compilation units.
5212         (LyXTextClass): initialize ctrs_
5213         (TextClassTags): add TC_COUNTER, and ...
5214         (Read): use it here.
5215         (CounterTags): new tags
5216         (readCounter): new function
5217         (counters): new funtion
5218         (defaultLayoutName): return a const reference
5219
5220         * counters.C (Counters): remove contructor
5221         (newCounter): remove a couple of unneeded statements.
5222         (newCounter): simplify a bit.
5223         (numberLabel): some small formatting changes.
5224
5225         * buffer.[Ch]: remove all traces of counters, move the Counters
5226         object to the LyXTextClass.
5227
5228 2002-09-06  Alain Castera  <castera@in2p3.fr>
5229
5230         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5231         package to set the horizontal alignment on fixed width columns.
5232
5233         * lyx_sty.C:
5234         * lyx_sty.h: added tabularnewline macro def.
5235
5236         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5237
5238 2002-09-06  John Levon  <levon@movementarian.org>
5239
5240         * LyXAction.C: tooltips for sub/superscript
5241
5242         * MenuBackend.C: a bit more verbose
5243
5244         * lyxfunc.C: tiny clean
5245
5246         * undo_funcs.C: document undo_frozen
5247
5248 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * counters.C (Counters): add missing algorithm counter.
5251
5252         * text2.C (setCounter): lookup the counter with layouts latexname
5253         instead of by section number.
5254         (setCounter): use a hackish way to lookup the correct enum
5255         counter.
5256         a float name->type change
5257         reset enum couners with counter name directly instead of depth value.
5258
5259         * counters.C (Counters): remove the push_backs, change to use the
5260         float type not the float name.
5261         (labelItem): remove unused string, float name->type change
5262
5263         * counters.h: don't include vector, loose the enums and sects vectors
5264
5265 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5266
5267         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5268         (Read): add float->TC_FLOAT to textclassTags
5269         (Read): and handle it in the switch
5270         (readFloat): new function
5271
5272         * FloatList.C (FloatList): comment out the hardcoded float
5273         definitions.
5274
5275         * lyxlayout.h: ws change.
5276
5277 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5278
5279         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5280
5281 2002-09-03  Angus Leeming  <leeming@lyx.org>
5282
5283         * BufferView_pimpl.h: qualified name is not allowed in member
5284         declaration: WorkArea & Pimpl::workarea() const;
5285
5286         * factory.C: added using std::endl directive.
5287
5288         * text3.C: added using std::find and std::vector directives.
5289
5290 2002-08-29  André Pönitz <poenitz@gmx.net>
5291
5292         * lyxtext.h:
5293         * text2.C: remove unused member number_of_rows
5294
5295         * Makefile.am:
5296         * BufferView2.C: remove file, move contents to...
5297         * BufferView.C: ... here
5298
5299         * BufferView_pimpl.C:
5300         * factory.C: move more inset creation to factory
5301
5302         * vspace.C: avoid direct usage of LyXText, ws changes
5303
5304         * BufferView.[Ch]:
5305                 don't provide direct access to WorkArea, use two simple
5306                 acessors haveSelction() and workHeight() instead
5307
5308
5309 2002-08-29  John Levon  <levon@movementarian.org>
5310
5311         * BufferView_pimpl.C (dispatch): do not continue when
5312           no buffer
5313
5314 2002-08-28  André Pönitz <poenitz@gmx.net>
5315
5316         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5317
5318         * BufferView.h:
5319         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5320
5321 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5322
5323         * buffer.C: increment LYX_FORMAT to 221
5324
5325         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5326         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5327
5328         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5329
5330         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5331
5332 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5333
5334         * factory.C (createInset): use LyXTextClass::floats
5335
5336         * MenuBackend.C (expandFloatListInsert):
5337         (expandFloatInsert):
5338         (expandToc):
5339
5340         * text2.C (setCounter):
5341
5342         * LaTeXFeatures.C (useFloat):
5343         (getFloatDefinitions):
5344
5345         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5346
5347         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5348         floatlist_, with accessor floats().
5349
5350         * FloatList.h: remove global FloatList
5351
5352 2002-08-26  André Pönitz <poenitz@gmx.net>
5353
5354         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5355
5356         * BufferView.h:
5357         * BufferView2.C:
5358         * BufferView_pimpl.C:
5359         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5360
5361 2002-08-25  John Levon  <levon@movementarian.org>
5362
5363         * LyXAction.C: fix margin note description
5364
5365 2002-08-24  John Levon  <levon@movementarian.org>
5366
5367         * buffer.C:
5368         * bufferlist.C:
5369         * bufferview_funcs.C:
5370         * lyxfont.C:
5371         * undo_funcs.C: cleanups
5372
5373         * lyxfunc.C: disable CUT/COPY when no selection
5374
5375 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5376
5377         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5378         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5379
5380         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5381         Add backward compatibility to "mono", "gray" and "no".
5382
5383 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5384
5385         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5386         (and file_format >= 200).
5387
5388 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5389
5390         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5391
5392 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5393
5394         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5395
5396 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5397
5398         * BufferView_pimpl.C:
5399         * LyXAction.C:
5400         * buffer.C:
5401         * commandtags.h:
5402         * lyxfunc.C:
5403         * paragraph.[Ch]:
5404         * text2.C:
5405         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5406         inset and code to make it  work with the paragraph code. The inset
5407         can be anywhere in the paragraph, but will only do the expected
5408         thing in LaTeX if the layout file contains the parameter line
5409                         OptionalArgs    1
5410         (or more generally, a nonzero value) for that layout.
5411
5412 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5413
5414         * paragraph.h: remove the declaration of undefined counters class
5415         function.
5416
5417 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5418
5419         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5420         Dr. Richard Hawkins.
5421
5422 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5423
5424         * paragraph_funcs.h: remove some unneeded includes
5425
5426         * text.C (backspace): pasteParagraph now in global scipe
5427
5428         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5429         (pasteSelection): ditto
5430
5431         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5432         * paragraph_funcs.C (pasteParagraph): ... here
5433
5434 2002-08-20  André Pönitz <poenitz@gmx.net>
5435
5436         * commandtags.h: new LFUNs for swapping/copying table row/colums
5437
5438         * LyXAction.C:
5439         * lyxfunc.C: support for new lfuns
5440
5441 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5442
5443         * tabular.C:
5444         * buffer.[Ch]: remove NO_COMPABILITY stuff
5445
5446 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5447
5448         * boost.C (throw_exception): new file, with helper function for
5449         boost compiled without exceptions.
5450
5451         * paragraph.h:
5452         * lyxlength.C:
5453         * buffer.C:
5454         * ParameterStruct.h:
5455         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5456
5457         * bufferlist.C (emergencyWriteAll): use boost bind
5458
5459         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5460
5461         * text.C: include paragraph_funcs.h
5462         (breakParagraph): breakParagraph is now in global scope
5463
5464         * paragraph_funcs.[Ch]: new files
5465
5466         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5467         global scope
5468
5469         * buffer.C: include paragraph_funcs.h
5470         (insertStringAsLines): breakParagraph is now in global scope
5471
5472         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5473         paragraph_funcs.C
5474
5475         * CutAndPaste.C: include paragraph_funcs.h
5476         (cutSelection): breakParagraphConservative is now in global scope
5477         (pasteSelection): ditto
5478
5479         * buffer.h: declare oprator== and operator!= for
5480         Buffer::inset_iterator
5481
5482         * bufferlist.C (emergencyWrite): don't use fmt(...)
5483
5484         * text3.C: add using std::endl
5485
5486         * BufferView.C (moveCursorUpdate): remove default arg
5487
5488 2002-08-20  André Pönitz <poenitz@gmx.net>
5489
5490         * buffer.[Ch]: move inline functions to .C
5491
5492         * BufferView2.C:
5493         * BufferView_pimpl.C:
5494         * text.C:
5495         * buffer.[Ch]: use improved inset_iterator
5496
5497         * buffer.C:
5498         * paragraph.[Ch]: write one paragraph at a time
5499
5500 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5501
5502         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5503         style if style is not specified.
5504
5505 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5506
5507         * text2.C (setCounter): when searching for right label for a
5508         caption, make sure to recurse to parent insets (so that a caption
5509         in a minipage in a figure float works) (bug #568)
5510
5511 2002-08-20  André Pönitz <poenitz@gmx.net>
5512
5513         * text3.C: new file for LyXText::dispatch() and helpers
5514
5515         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5516
5517         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5518
5519 2002-08-19  André Pönitz <poenitz@gmx.net>
5520
5521         * lyxtext.h:
5522         * text.C: new LyXText::dispatch()
5523
5524         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5525
5526 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5527
5528         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5529
5530         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5531         Hebrew text.
5532
5533 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5534
5535         * Makefile.am: use $(variables) instead of @substitutions@
5536
5537 2002-08-15  André Pönitz <poenitz@gmx.net>
5538
5539         * lyxfunc.C:
5540         * BufferView_pimpl.C: streamlining mathed <-> outer world
5541         interaction
5542
5543         * commandtags.h:
5544         * LyXAction.C: remove unused LFUN_MATH
5545
5546 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5547
5548         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5549
5550 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5551
5552         * paragraph.C (Paragraph): reformat a bit
5553         (cutIntoMinibuffer): use builtin InsetList function instad of
5554         doing it manually.
5555         (getInset): ditto
5556
5557         * buffer.C: include boost/bind.hpp, add using std::for_each
5558         (writeFileAscii): use ParagraphList iterators
5559         (validate): use for_each for validate traversal of paragraphs
5560         (getBibkeyList): use ParagraphList iterators
5561         (resizeInsets): use for_each to resizeInsetsLyXText for all
5562         paragraphs.
5563         (getParFromID): use ParagraphList iterators
5564
5565         * BufferView2.C (lockInset): use paragraph list and iterators
5566
5567 2002-08-14  John Levon  <levon@movementarian.org>
5568
5569         * lyxserver.C: remove spurious xforms include
5570
5571 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5572
5573         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5574
5575 2002-08-13  André Pönitz <poenitz@gmx.net>
5576
5577         * LyXAction.[Ch]:
5578         * lyxfunc.C: further cleaning
5579
5580 2002-08-13  André Pönitz <poenitz@gmx.net>
5581
5582         * funcrequest.h: new constructor
5583
5584         * funcrequest.C: move stuff here from .h
5585
5586         * Makefile.am:
5587         * BufferView_pimpl.C:
5588         * LyXAction.C:
5589         * toc.C:
5590         * lyxfunc.C: subsequent changes
5591
5592         * lyxfunc.h: new view() member function
5593
5594         * lyxfunc.C: subsequent changes
5595
5596 2002-08-13  Angus Leeming  <leeming@lyx.org>
5597
5598         * BufferView2.C:
5599         * BufferView_pimpl.C:
5600         * buffer.C:
5601         * converter.C:
5602         * importer.C:
5603         * lyxfunc.C:
5604         * lyxvc.C:
5605         * toc.C:
5606         * vc-backend.C:
5607         changes due to the changed LyXView interface that now returns references
5608         to member variables not pointers.
5609
5610 2002-08-13  Angus Leeming  <leeming@lyx.org>
5611
5612         * WordLangTuple (word, lang_code): return references to strings,
5613         not strings.
5614
5615         * BufferView.h:
5616         * SpellBase.h:
5617         * lyxtext.h: forward-declare WordLangTuple.
5618
5619         * BufferView2.C:
5620         * ispell.C:
5621         * pspell.C:
5622         * text.C: #include "WordLangTuple.h".
5623
5624         * lyxtext.h:
5625         * text.C: (selectNextWordToSpellcheck): constify return type.
5626
5627 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5628
5629         * buffer.C:
5630         * buffer.h:
5631         * lyxtext.h:
5632         * paragraph.C:
5633         * paragraph_pimpl.h:
5634         * text.C:
5635         * text2.C:
5636         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5637         suggested by Angus.
5638         Made updateCounter always count from start of buffer, and removed
5639         second argument (par).
5640         Reverted floats number display to '#'. Perhaps I'll try again when the
5641         code base is sanitized a bit.
5642
5643 2002-08-12  Angus Leeming  <leeming@lyx.org>
5644
5645         * buffer.[Ch] (getLabelList): constify.
5646
5647 2002-08-07  André Pönitz <poenitz@gmx.net>
5648
5649         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5650
5651         * funcrequest.h: extension to keep mouse (x,y) position
5652
5653 2002-08-12  Juergen Vigna  <jug@sad.it>
5654
5655         * BufferView2.C (insertErrors): forbid undo when inserting error
5656         insets.
5657
5658         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5659
5660 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5661
5662         * ParagraphList.[Ch]: new files
5663
5664         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5665
5666         * BufferView2.C (lockInset): ParagraphList changes
5667         * toc.C: ditto
5668         * text2.C: ditto
5669         * bufferlist.C: ditto
5670         * buffer.h: ditto
5671         * buffer.C: ditto
5672
5673 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5674
5675         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5676         unused class variable counter_,
5677
5678         * paragraph.[Ch] (getFirstCounter): delete unused function
5679
5680         * counters.C: include LAssert.h
5681         (reset): add a new function with no arg, change other version to
5682         not have def. arg and to not allow empty arg.
5683
5684         * text2.C (setCounter): remove empty arg from call to Counters::reset
5685
5686 2002-08-11  John Levon  <levon@movementarian.org>
5687
5688         * Makefile.am: add WordLangTuple.h
5689
5690 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5693         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5694
5695         * insets/insettext.C: InsetList changes
5696
5697         * graphics/GraphicsSupport.C (operator()): InsetList changes
5698
5699         * toc.C (getTocList): InsetList changes
5700
5701         * paragraph_pimpl.[Ch]: InsetList changes
5702
5703         * paragraph.[Ch]: InsetList changes
5704
5705         * buffer.C (inset_iterator): InsetList changes
5706         (setParagraph): ditto
5707         * buffer.h (inset_iterator): ditto
5708         * iterators.C (operator++): ditto
5709         * iterators.h: ditto
5710
5711         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5712
5713         * InsetList.[Ch]: new files, most InsetList handling moved out of
5714         paragraph.C.
5715
5716         * BufferView2.C (removeAutoInsets): InsetList changes
5717         (lockInset): ditto
5718         (ChangeInsets): ditto
5719
5720 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5721
5722         * paragraph_pimpl.h (empty): new function
5723
5724         * paragraph.[Ch] (empty): new function
5725
5726         * other files: use the new Paragraph::empty function
5727
5728 2002-08-09  John Levon  <levon@movementarian.org>
5729
5730         * lyxtext.h: remove unused refresh_height
5731
5732 2002-08-09  John Levon  <levon@movementarian.org>
5733
5734         * Makefile.am:
5735         * sgml.h:
5736         * sgml.C:
5737         * buffer.C:
5738         * paragraph.h:
5739         * paragraph.C: move sgml char escaping out of paragraph
5740
5741         * paragraph.h:
5742         * paragraph.C: remove id setter
5743
5744         * buffer.C:
5745         * paragraph.C:
5746         * paragraph_pimpl.C: remove dead tex_code_break_column
5747
5748         * bufferview_funcs.C: small cleanup
5749
5750         * lyxfunc.C: remove dead proto
5751
5752         * lyxtext.h: make some stuff private. Remove some dead stuff.
5753
5754         * lyxgluelength.C: make as[LyX]String() readable
5755
5756 2002-08-08  John Levon  <levon@movementarian.org>
5757
5758         * LyXAction.h:
5759         * LyXAction.C:
5760         * MenuBackend.C:
5761         * ToolbarDefaults.C:
5762         * lyxfunc.C:
5763         * lyxrc.C:
5764         * toc.C: lyxaction cleanup
5765
5766 2002-08-08  John Levon  <levon@movementarian.org>
5767
5768         * BufferView2.C: small cleanup
5769
5770         * lyxfind.h:
5771         * lyxfind.C: move unnecessary header into the .C
5772
5773 2002-08-08  John Levon  <levon@movementarian.org>
5774
5775         * funcrequest.h: just tedious nonsense
5776
5777         * lyx_main.h:
5778         * lyx_main.C: cleanups
5779
5780         * buffer.C:
5781         * vspace.C: remove dead header lyx_main.h
5782
5783 2002-08-07  Angus Leeming  <leeming@lyx.org>
5784
5785         * Paragraph.[Ch]:
5786         * paragraph_pimpl.h:
5787         Forward declare class Counters in paragraph.h by moving the ctrs member
5788         variable into Paragraph::Pimpl.
5789         (counters): new method, returning a reference to pimpl_->ctrs.
5790
5791         * text2.C: ensuing changes.
5792
5793 2002-08-07  John Levon  <levon@movementarian.org>
5794
5795         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5796
5797         * BufferView_pimpl.C: announce X selection on double/triple
5798           click
5799
5800         * lyx_main.C: use correct bool in batch dispatch
5801
5802         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5803
5804 2002-08-07  André Pönitz <poenitz@gmx.net>
5805
5806         * funcrequest.h: new class to wrap a kb_action and its argument
5807
5808         * BufferView.[Ch]:
5809         * BufferView_pimpl[Ch]:
5810         * LaTeX.C:
5811         * LyXAction.[Ch]:
5812         * lyxfunc.[Ch]:
5813         * lyxrc.C: subsequent changes
5814
5815
5816 2002-08-07  John Levon  <levon@movementarian.org>
5817
5818         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5819           document options change.
5820
5821 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5822
5823         * counters.[Ch]
5824         * text2.C
5825         * paragraph.[Ch]
5826         * makefile.am: move counters functionality over from
5827         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5828
5829 2002-08-06  John Levon  <levon@movementarian.org>
5830
5831         * WordLangTuple.h: new file for word + language code tuple
5832
5833         * SpellBase.h:
5834         * pspell.h:
5835         * pspell.C:
5836         * ispell.h:
5837         * ispell.C:
5838         * lyxtext.h:
5839         * text.C:
5840         * text2.C:
5841         * BufferView.h:
5842         * BufferView2.C: use WordLangTuple
5843
5844         * layout.h:
5845         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5846
5847 2002-08-06  John Levon  <levon@movementarian.org>
5848
5849         * lyx_main.C: fix cmdline batch handling
5850
5851 2002-08-06  André Pönitz <poenitz@gmx.net>
5852
5853         * lyxrc.C: set default for show_banner to true
5854
5855 2002-08-06  John Levon  <levon@movementarian.org>
5856
5857         * pspell.C: fix a crash, and allow new aspell to work
5858
5859 2002-08-06  John Levon  <levon@movementarian.org>
5860
5861         * lyxfunc.C:
5862         * kbmap.C: small cleanup
5863
5864         * vspace.h:
5865         * vspace.C: add const
5866
5867 2002-08-05  John Levon  <levon@movementarian.org>
5868
5869         * LyXAction.C: back to tabular-insert
5870
5871 2002-08-04  John Levon  <levon@movementarian.org>
5872
5873         * BufferView.h:
5874         * BufferView.C: cosmetic change
5875
5876         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5877
5878         * bufferlist.C:
5879         * buffer.h:
5880         * buffer.C:
5881         * lyxcb.h:
5882         * lyxcb.C:
5883         * lyxserver.C:
5884         * lyxvc.C:
5885         * vc-backend.C:
5886         * BufferView2.C: purge all "Lyx" not "LyX" strings
5887
5888         * lyxcursor.h:
5889         * lyxcursor.C: attempt to add some documentation
5890
5891         * lyxfunc.C:
5892         * commandtags.h:
5893         * LyXAction.C:
5894         * ToolbarDefaults.C:
5895         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5896           merge with LFUN_TABULAR_INSERT
5897
5898         * Makefile.am:
5899         * SpellBase.h:
5900         * ispell.h:
5901         * ispell.C:
5902         * pspell.h:
5903         * pspell.C: split up i/pspell implementations into separate
5904           files, many cleanups
5905
5906         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5907
5908         * text2.C: some cleanup
5909
5910         * lyxfunc.C: don't check for isp_command == "none" any more, it
5911           didn't make any sense
5912
5913 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5914
5915         * counters.[Ch]
5916         * text2.C
5917         * paragraph.[Ch]
5918         * makefile.am: move counters functionality over
5919         from text2.C/paragraph.[Ch] to counters.[Ch], and
5920         make proper C++.
5921 2002-08-02  John Levon  <levon@movementarian.org>
5922
5923         * buffer.C: s/lyxconvert/lyx2lyx/
5924
5925 2002-08-02  Angus Leeming  <leeming@lyx.org>
5926
5927         * lyxlex.C: revert John's change as it breaks reading of the user
5928         preamble.
5929
5930 2002-08-02  Angus Leeming  <leeming@lyx.org>
5931
5932         * importer.C (Import):
5933         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5934         changes due to LyXView::view() now returning a boost::shared_ptr.
5935
5936 2002-08-02  John Levon  <levon@movementarian.org>
5937
5938         * lyxlex.C: small cleanup
5939
5940 2002-08-02  John Levon  <levon@movementarian.org>
5941
5942         * text2.C (status): small cleanup, no logic change
5943
5944 2002-08-01  John Levon  <levon@movementarian.org>
5945
5946         * buffer.h:
5947         * buffer.C (writeFile): don't output alerts, caller
5948           handles this
5949
5950         * bufferlist.C:
5951         * lyx_cb.C: from above
5952
5953         * lyxfunc.C: allow to open non-existent files
5954
5955 2002-07-31  John Levon  <levon@movementarian.org>
5956
5957         * lyxserver.C: don't let incidental errors get
5958           in the way (errno)
5959
5960 2002-07-30  John Levon  <levon@movementarian.org>
5961
5962         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5963
5964 2002-07-30  John Levon  <levon@movementarian.org>
5965
5966         * lyxserver.h:
5967         * lyxserver.C: remove I/O callback too
5968
5969 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5970
5971         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5972         log.
5973
5974 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5975
5976         * many files: strip,frontStrip -> trim,ltrim,rtrim
5977
5978 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5979
5980         * PrinterParams.h: remove extern containsOnly, and include
5981         support/lstrings.h instead.
5982
5983         * LaTeX.C (scanAuxFile): modify because of strip changes
5984         (deplog): ditto
5985         * buffer.C (makeLaTeXFile): ditto
5986         * bufferparams.C (writeFile): ditt
5987         * lyxfont.C (stateText): ditto
5988         * lyxserver.C (read_ready): ditto
5989         * vc-backend.C (scanMaster): ditto
5990
5991         * BufferView_pimpl.h: ws changes
5992
5993         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5994
5995 2002-07-26  André Pönitz <poenitz@gmx.net>
5996
5997         * kb_sequence.C: remove unnedred usings
5998
5999 2002-07-26  Juergen Vigna  <jug@sad.it>
6000
6001         * lyxfind.C (LyXReplace): we have to check better if the returned
6002         text is not of theLockingInset()->getLockingInset().
6003
6004 2002-07-25  Juergen Vigna  <jug@sad.it>
6005
6006         * lyxfind.C (LyXReplace): don't replace if we don't get the
6007         right LyXText.
6008
6009         * undo_funcs.C (createUndo): remove debugging code.
6010
6011 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6012
6013         * buffer.C (parseSingleLyXformat2Token): Use default placement
6014         when reading old floats.
6015
6016         * FloatList.C (FloatList): Change the default placement of figure
6017         and tables to "tbp".
6018
6019 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6020
6021         * MenuBackend.C: using std::max
6022
6023 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6024
6025         * MenuBackend.C (expandToc):
6026         (expandToc2): code moved from xforms menu frontend. It is now
6027         generic and TOCs are transparent to menu frontends.
6028
6029 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6030
6031         * toc.C (getTocList): protect against buf=0
6032
6033         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6034         Menu as first parameter. Now, this calls itself recursively to
6035         expand a whole tree (this will be useful for TOC handling)
6036         (expandFloatInsert): remove 'wide' version of floats
6037
6038         * MenuBackend.h (submenuname): returns the name of the submenu.
6039         (submenu): returns the submenu itself, provided it has been
6040         created by MenuBackend::expand
6041
6042 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6043
6044         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6045         insets which have noFontChange == true. (bug #172)
6046
6047 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6048
6049         * BufferView_pimpl.C: add connection objects and use them...
6050         (Pimpl): here.
6051
6052 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6053
6054         * MenuBackend.C (expandLastfiles):
6055         (expandDocuments):
6056         (expandFormats):
6057         (expandFloatListInsert):
6058         (expandFloatInsert):
6059         (expand): split expand in parts
6060
6061 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6062
6063         * lyx_gui.C: use lyx_gui::exit()
6064
6065 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6066
6067         * LyXAction.C: show the failing pseudo action
6068
6069 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6070
6071         * buffer.C (readFile): Run the lyxconvert script in order to read
6072         old files.
6073
6074 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6075
6076         * LyXAction.C:
6077         * commandtags.h:
6078         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6079
6080 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6081
6082         * LyXAction.C:
6083         * commandtags.h:
6084         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6085
6086 2002-07-22  Herbert Voss  <voss@lyx.org>
6087
6088         * lengthcommon.C:
6089         * lyxlength.[Ch]: add support for the vertical lengths
6090
6091 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6092
6093         * toc.[Ch]: std:: fixes
6094
6095 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6096
6097         * lyxrc.C: do not include lyx_main.h
6098
6099         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6100         for layouts
6101
6102         * lyxrc.C:
6103         * encoding.C:
6104         * bufferlist.C:
6105         * BufferView2.C: include "lyxlex.h"
6106
6107         * tabular.h:
6108         * bufferparams.h: do not #include "lyxlex.h"
6109
6110         * lyxtextclasslist.C (Add): remove method
6111         (classlist): renamed to classlist_
6112
6113         * paragraph_pimpl.C:
6114         * paragraph.C:
6115         * text2.C:
6116         * CutAndPaste.C:
6117         * bufferview_funcs.C:
6118         * bufferlist.C:
6119         * text.C:
6120         * LaTeXFeatures.C:
6121         * buffer.C:
6122         * toc.C (getTocList): use BufferParams::getLyXTextClass
6123
6124         * toc.C (getTocList): use InsetFloat::addToToc
6125
6126         * toc.[Ch]: new files, containing helper functions to handle table
6127         of contents
6128
6129         * lyxfunc.C (dispatch): no need to remove spaces around command
6130         given as a string
6131         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6132         first command of the sequence; it is not very clever, but I do not
6133         have a better idea, actually
6134
6135         * LyXAction.C (LookupFunc): make sure to remove space at the
6136         beginning and end of the command
6137
6138 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6139
6140         * MenuBackend.C (getMenubar): new method: return the menubar of
6141         this menu set
6142         (read): treat differently reading of menu and menubar (in
6143         particular, the menubar has no name now)
6144         (Menu::menubar): remove
6145
6146         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6147         saving is finished
6148
6149 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6150
6151         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6152         a bibitem inset in a RTL paragraph.
6153
6154 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6155
6156         * paragraph_pimpl.C: constify
6157
6158         * BufferView_pimpl.C:
6159         * LaTeX.C:
6160         * lyxfunc.C: fix dispatch in a nicer way
6161
6162 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6163
6164         * lyxfunc.C (dispatch):
6165         * BufferView_pimpl.C:
6166         * BufferView_pimpl.h:
6167         * BufferView.C:
6168         * BufferView.h: rename Dispatch() to dispatch()
6169
6170         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6171
6172         * lyxlayout.C (Read): honor DependsOn tag
6173
6174         * lyxlayout.[Ch] (depends_on): new method
6175
6176         * version.C.in: update lyx_docversion
6177
6178         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6179
6180         * paragraph.C (validate): remove from here...
6181         * paragraph_pimpl.C (validate): ... and move here
6182         (isTextAt): make it const
6183
6184         * buffer.C (getLists): ws cleanup
6185
6186 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6187
6188         * language.C (read): Use iso8859-1 encoding in latex_lang
6189         (this prevents LyX from crashing when using iso10646-1 encoding).
6190
6191 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6192
6193         * text2.C (toggleInset): if cursor is inside an inset, close the
6194         inset and leave cursor _after_ it
6195
6196 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6197
6198         * lyxfunc.C: move minibuffer completion handling out of here
6199
6200 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6201
6202         * BufferView_pimpl.C:
6203         * LaTeX.C: fix dispatch calls
6204
6205 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6206
6207         * text.C (drawChars): Fix Arabic text rendering.
6208
6209 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6210
6211         * LyXAction.C:
6212         * commandtags.h:
6213         * lyxfunc.C: remove message-push/pop
6214
6215         * lyxserver.C:
6216         * lyxfunc.h:
6217         * lyxfunc.C: rationalise some code by removing verboseDispatch
6218           in favour of a bool argument to dispatch()
6219
6220 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6221
6222         * lyx_main.C (init): make sure to read symlinks as absolute paths
6223
6224 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6225
6226         * lyxfunc.h:
6227         * lyxfunc.C: no need for commandshortcut to be a member
6228
6229 2002-07-15  André Pönitz <poenitz@gmx.net>
6230
6231         * converter.C: add support for $$s (scripts from lib/scripts dir)
6232         * lyx_main.C: white space
6233
6234 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6235
6236         * bufferlist.C:
6237         * lyxrc.h:
6238         * lyxrc.C: remove second exit confirmation
6239
6240 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6241
6242         * BufferView.h:
6243         * BufferView.C:
6244         * BufferView2.C:
6245         * BufferView_pimpl.h:
6246         * BufferView_pimpl.C:
6247         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6248
6249 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6250
6251         * MenuBackend.C (expand): add numeric shortcuts to document menu
6252
6253         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6254
6255 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6256
6257         * lyxfont.C (setLyXFamily):
6258         (setLyXSeries):
6259         (setLyXShape):
6260         (setLyXSize):
6261         (setLyXMisc):
6262         (lyxRead):
6263         * debug.C (value):
6264         * buffer.C (asciiParagraph): use ascii_lowercase
6265
6266 2002-07-15  Mike Fabian  <mfabian@suse.de>
6267
6268         * lyxlex_pimpl.C (search_kw):
6269         * lyxlex.C (getLongString):
6270         * converter.h (operator<):
6271         * converter.C (operator<):
6272         * buffer.C (parseSingleLyXformat2Token):
6273         (asciiParagraph):
6274         * ToolbarDefaults.C (read):
6275         * MenuBackend.C (checkShortcuts):
6276         (read):
6277         * LColor.C (getFromGUIName):
6278         (getFromLyXName): use the compare_ascii_no_case instead of
6279         compare_no_case, because in turkish, 'i' is not the lowercase
6280         version of 'I', and thus turkish locale breaks parsing of tags.
6281
6282 2002-07-16  Angus Leeming  <leeming@lyx.org>
6283
6284         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6285         now takes a Buffer const & argument.
6286
6287 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6288
6289         * BufferView.C (resize): check there's a buffer to resize
6290
6291 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6292
6293         * lyxfunc.C: remove dead code
6294
6295         * lyxserver.h:
6296         * lyxserver.C: use lyx_guii::set_read_callback
6297
6298 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6299
6300         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6301         an inset in a RTL paragraph.
6302
6303 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6304
6305         * lyxfunc.C: repaint after a font size update
6306
6307 2002-07-15  André Pönitz <poenitz@gmx.net>
6308
6309         * lyxlength.C: inBP should be able to return negative values
6310
6311 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6312
6313         * lyxfunc.C: use lyx_gui::update_fonts()
6314
6315 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6316
6317         * lyxfunc.C: use lyx_gui::update_color()
6318
6319 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6320
6321         * bufferlist.C:
6322         * lyxfunc.h:
6323         * lyxfunc.C:
6324         * lyxrc.h:
6325         * lyxrc.C: remove file->new asks for name option, and let
6326           buffer-new take an argument
6327
6328 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6329
6330         * BufferView_pimpl.C: remove unneeded extra repaint()
6331
6332 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6333
6334         * LyXAction.C: allow command-sequence with NoBuffer
6335
6336         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6337
6338 2002-07-10  Angus Leeming  <leeming@lyx.org>
6339
6340         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6341
6342 2002-07-09  Angus Leeming  <leeming@lyx.org>
6343
6344         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6345
6346 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6347
6348         * lengthcommon.h: whitespace
6349
6350         * lyxfunc.C: update scrollbar after goto paragraph
6351
6352         * lyxtext.h: factor out page break drawing, and fix it so
6353           page break/added space paints as selected nicely
6354
6355 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6356
6357         * BufferView_pimpl.C: add FIXMEs, clean up a little
6358
6359 2002-07-09  André Pönitz <poenitz@gmx.net>
6360
6361         * lyxfont.[Ch]: support for wasy symbols
6362
6363 2002-07-08  André Pönitz <poenitz@gmx.net>
6364
6365         * BufferView_pimpl.C: apply John's patch for #93.
6366
6367 2002-07-05  Angus Leeming  <leeming@lyx.org>
6368
6369         * BufferView_pimpl.C (buffer): generate previews if desired.
6370
6371         * LColor.h: add "preview" to the color enum.
6372
6373         * LColor.C (LColor): add a corresponding entry to the items array.
6374
6375         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6376         with this buffer.
6377
6378 2002-07-05  Angus Leeming  <leeming@lyx.org>
6379
6380         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6381         The body of the code is now in the method that is passed an ostream &
6382         rather than a file name.
6383         Pass an additional only_preamble parameter, useful for the forthcoming
6384         preview stuff.
6385
6386 2002-07-03  André Pönitz <poenitz@gmx.net>
6387
6388         * lyxfunc.C: simplify getStatus() a bit for math stuff
6389
6390 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6391
6392         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6393
6394 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6395
6396         * text.C (changeRegionCase): do not change case of all the
6397         document when region ends at paragraph end (bug #461)
6398
6399 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6400
6401         * paragraph.C (startTeXParParams):
6402         (endTeXParParams): add \protect when necessary
6403
6404 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6405
6406         * BufferView_pimpl.C (workAreaExpose): remove warning
6407
6408 2002-06-27  Angus Leeming  <leeming@lyx.org>
6409
6410         * Makefile.am: add lyxlayout_ptr_fwd.h.
6411
6412 2002-06-26  André Pönitz <poenitz@gmx.net>
6413
6414         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6415
6416 2002-06-25  Angus Leeming  <leeming@lyx.org>
6417
6418         * lyxfunc.C (dispatch): Comment out the call to
6419         grfx::GCache::changeDisplay. The method no longer exists now that the
6420         pixmap generation part of the graphics loader has been moved into
6421         InsetGraphics.
6422
6423 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6424
6425         * text2.C: layout as layout
6426
6427         * text.C: layout as layout
6428
6429         * tabular.C (OldFormatRead): layout as layout
6430
6431         * paragraph_pimpl.C (TeXDeeper): layout as layout
6432         (realizeFont): layout as layout
6433
6434         * paragraph.C (writeFile): layout as layout
6435         (validate): layout as layout
6436         (getFont): layout as layout
6437         (getLabelFont): layout as layout
6438         (getLayoutFont): layout as layout
6439         (breakParagraph): layout as layout
6440         (stripLeadingSpaces): layout as layout
6441         (getEndLabel): layout as layout
6442         (getMaxDepthAfter): layout as layout
6443         (applyLayout): layout as layout
6444         (TeXOnePar): layout as layout
6445         (simpleTeXOnePar): layout as layout
6446         (TeXEnvironment): layout as layout
6447         (layout): layout as layout
6448         (layout): layout as layout
6449
6450         * lyxtextclass.C (compare_name): new functor to work with
6451         shared_ptr, layout as layout
6452         (Read): layout as layout
6453         (hasLayout): layout as layout
6454         (operator): layout as layout
6455         (delete_layout): layout as layout
6456         (defaultLayout): layout as layout
6457
6458         * lyxlayout_ptr_fwd.h: new file
6459
6460         * lyxlayout.C (Read): layout as layout
6461
6462         * lyx_cb.C (MenuInsertLabel): layout as layout
6463
6464         * bufferlist.C (newFile): layout as layout
6465
6466         * buffer.C (readLyXformat2): layout as layout
6467         (parseSingleLyXformat2Token): layout as layout
6468         (insertStringAsLines): layout as layout
6469         (asciiParagraph): layout as layout
6470         (latexParagraphs): layout as layout
6471         (makeLinuxDocFile): layout as layout
6472         (simpleLinuxDocOnePar): layout as layout
6473         (makeDocBookFile): layout as layout
6474         (simpleDocBookOnePar): layout as layout
6475         (getLists): layout as layout
6476
6477         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6478
6479         * CutAndPaste.C (cutSelection): layout as layout
6480         (pasteSelection): layout as layout
6481         (SwitchLayoutsBetweenClasses): layout as layout
6482
6483         * BufferView_pimpl.C (Dispatch): layout as layout
6484         (smartQuote): layout as layout
6485
6486         * BufferView2.C (unlockInset): layout as layout
6487
6488 2002-06-24  André Pönitz <poenitz@gmx.net>
6489
6490         * lyxfunc.C: fix #487
6491
6492 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6493
6494         * lyxrc.h:
6495         * lyxrc.C:
6496         * lyxfunc.C: remove display_shortcuts, show_banner
6497
6498 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6499
6500         * Buffer_pimpl.C: oops, update on resize
6501
6502 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6503
6504         * buffer.C:
6505         * converter.C:
6506         * exporter.C:
6507         * lyxfunc.C:
6508         * BufferView.h:
6509         * BufferView.C: use repaint()
6510
6511         * BufferView_pimpl.h:
6512         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6513           as it's a clearer description. Remove superfluous
6514           redraws.
6515
6516 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6517
6518         * text.C: fix bug 488. Not ideal, but getting
6519           getWord() to work properly for the insets that
6520           matter is more difficult ...
6521
6522 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6523
6524         * BufferView_pimpl.C:
6525         * LyXAction.C:
6526         * commandtags.h:
6527         * lyxfunc.C: remove the six million index lyxfuncs to just
6528           one, and DTRT (bug 458)
6529
6530 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6531
6532         * BufferView.h:
6533         * BufferView.C:
6534         * BufferView_pimpl.h:
6535         * BufferView_pimpl.C: clean up resize() stuff,
6536           and unnecessary updateScreen()s
6537
6538 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6539
6540         * BufferView.h:
6541         * BufferView.C:
6542         * BufferView_pimpl.h:
6543         * BufferView_pimpl.C:
6544         * lyxfind.h:
6545         * lyxfind.C:
6546         * minibuffer.C: remove focus management of workarea,
6547           not needed. Use screen's greyOut()
6548
6549 2002-06-17  Herbert Voss  <voss@lyx.org>
6550
6551         * converter.C: (convert) do not post a message, when converting
6552         fails, let the calling function decide what to do in this case
6553
6554 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6555
6556         * lyxfunc.C: tidy up a little
6557
6558 2002-06-16    <alstrup@diku.dk>
6559
6560         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6561         Got rid of FORMS_H_LOCATION include. Now we are
6562         GUII.
6563
6564 2002-06-15  LyX Development team  <lyx@rilke>
6565
6566         * buffer.[Ch] (sgmlOpenTag):
6567         (sgmlCloseTag): Added support for avoiding pernicious mixed
6568         content. Return number of lines written.
6569
6570         (makeLinuxDocFile):
6571         (makeDocBookFile): Fixed calls to sgml*Tag.
6572         Simple white space clean.
6573
6574         (simpleDocBookOnePar): Simple white space clean.
6575
6576         * tabular.[Ch] (docBook): Renamed to docbook and got another
6577         argument to related with the pernicious mixed content.
6578
6579         (docbookRow): Fixed calls for docbook inset method.
6580
6581 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6582
6583         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6584         so it's X11 independent.
6585
6586         * kb*.[Ch]: ditto.
6587
6588         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6589
6590 2002-06-15  Lyx Development team  <lyx@electronia>
6591
6592         * intl.h: Renamed getTrans to getTransManager.
6593
6594 2002-06-14  Angus Leeming  <leeming@lyx.org>
6595
6596         * Makefile.am: nuke forgotten stl_string_fwd.h.
6597
6598 2002-06-12  Angus Leeming  <leeming@lyx.org>
6599
6600         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6601
6602 2002-06-13  Angus Leeming  <leeming@lyx.org>
6603
6604         * LaTeX.C:
6605         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6606
6607 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6608
6609         * kbmap.C (getiso): add support for cyrillic and greek
6610
6611 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6612
6613         * BufferView.h:
6614         * BufferView.C:
6615         * BufferView_pimpl.h:
6616         * BufferView_pimpl.C: move bogus scrolling logic
6617           to xforms
6618
6619 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6620
6621         * lyxfunc.C:
6622         * BufferView_pimpl.C: view->resize() change
6623
6624 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6625
6626         * BufferView_pimpl.C: topCursorVisible
6627           prototype change
6628
6629 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6630
6631         * Makefile.am:
6632         * lyx_gui.h:
6633         * lyx_gui.C: move to frontends/
6634
6635         * main.C:
6636         * lyx_main.h:
6637         * lyx_main.C: changes from above
6638
6639 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6640
6641         * intl.C:
6642         * intl.h:
6643         * kbmap.C:
6644         * kbsequence.C:
6645         * lyx_cb.C:
6646         * lyx_main.C: minor tidy
6647
6648 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6649
6650         * BufferView_pimpl.h:
6651         * BufferView_pimpl.C:
6652         * BufferView.h:
6653         * BufferView.C: make painter() const,
6654           remove dead code
6655
6656         * BufferView2.C: use screen() accessor
6657
6658         * lyx_main.h:
6659         * lyx_main.C: some minor cleanup
6660
6661 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6662
6663         * BufferView_pimpl.h:
6664         * BufferView_pimpl.C: remove enter/leaveView,
6665           use workHeight()
6666
6667 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6668
6669         * BufferView.h:
6670         * BufferView.C:
6671         * BufferView2.C:
6672         * BufferView_pimpl.h:
6673         * BufferView_pimpl.C: only construct screen once,
6674           rename
6675
6676         * lyxrc.C: remove pointless comment
6677
6678 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6679
6680         * BufferView.h:
6681         * BufferView.C: remove active() and belowMouse()
6682
6683         * BufferView_pimpl.h:
6684         * BufferView_pimpl.C: use workarea() not workarea_,
6685           and make it use a scoped_ptr instead
6686
6687 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6688
6689         * lyx_gui.C: add debug message on BadWindow
6690
6691 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6692
6693         * sp_spell.C: fdopen is not part of the C++ standard.
6694
6695         * paragraph.C (InsetIterator): use >= instead of ==
6696
6697 2002-06-07  Angus Leeming  <leeming@lyx.org>
6698
6699         Fixes needed to compile with Compaq cxx 6.5.
6700         * BufferView_pimpl.C:
6701         * DepTable.C:
6702         * buffer.C:
6703         * converter.C:
6704         * encoding.C:
6705         * lyx_gui.C:
6706         * lyx_main.C:
6707         * lyxtextclasslist.C:
6708         * minibuffer.C:
6709         * sp_spell.C:
6710         * tabular_funcs.C:
6711         * vc-backend.C:
6712         all c-library variables have been moved into namespace std. Wrap
6713         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6714
6715         * lyxlength.C:
6716         * tabular-old.C:
6717         * tabular.C:
6718         Add a using std::abs declaration.
6719
6720         * kbmap.h (modifier_pair):
6721         * paragraph.h (InsetTable, InsetList):
6722         * lyxfont.h (FontBits):
6723         type definition made public.
6724
6725         * bufferlist.C (emergencyWriteAll): the compiler complains that
6726         there is more than one possible lyx::class_fun template to choose from.
6727         I re-named the void specialisation as lyx::void_class_fun.
6728
6729         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6730
6731         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6732         the compiler is is unable to find tostr in write_attribute.
6733
6734 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6735
6736         * buffer.C (sgmlError): hide #warning
6737
6738 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6739
6740         * xtl/*: get rid of xtl, which is not in use anyway
6741
6742         * LyXAction.C (init):
6743         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6744         were unimplemented xtl experimentation
6745
6746 2002-06-04  André Pönitz <poenitz@gmx.net>
6747
6748         * lyxfunc.C: disable array operation on simple formulae
6749
6750 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6751
6752         * converter.C: constify a bit
6753
6754 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6755
6756         * lyx_gui.C: check xforms version correctly
6757
6758 2002-04-30  Herbert Voss  <voss@lyx.org>
6759
6760         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6761         "keep" option
6762
6763 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6764
6765         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6766           attempt to register it with a VCS)
6767
6768 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6769
6770         * lyx_main.C (init): honor variables LYX_DIR_13x and
6771         LYX_USERDIR_13x
6772
6773 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6774
6775         * buffer.h:
6776         * buffer.C:
6777         * lyx_main.C: fix a crash on bad command line,
6778           and give a useful exit status on error
6779
6780         * lyxfunc.C (doImport): allow -i lyx to work
6781
6782 2002-03-30  André Pönitz <poenitz@gmx.net>
6783
6784         * lyxfunc.C: mathed font changes
6785
6786 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6787
6788         * LaTeX.C:
6789         * importer.h:
6790         * importer.C:
6791         * lyx_sty.h:
6792         * lyx_sty.C:
6793         * lyxlex.C:
6794         * lyxrow.h:
6795         * lyxtext.h:
6796         * paragraph.h:
6797         * paragraph.C:
6798         * texrow.h:
6799         * texrow.C:
6800         * text.C:
6801         * trans_mgr.h: srcdocs, and some minor cleanups
6802
6803 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6804
6805         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6806         call getFont all the time)
6807
6808 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6809
6810         * switch from SigC signals to boost::signals
6811
6812 2002-05-29  André Pönitz <poenitz@gmx.net>
6813
6814         * paragraph_pimpl.C (getChar): don't call size() too often...
6815
6816 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6817
6818         * paragraph_pimpl.C (insertChar): do not try to update tables when
6819         appending (pos == size())
6820
6821         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6822         in order to reduce drastically the number of comparisons needed to
6823         parse a large document
6824
6825 2002-05-29  André Pönitz <poenitz@gmx.net>
6826
6827         * text.C:
6828         * text2.C:
6829         * lyxtextclass.C:
6830         * sp_pspell.h:
6831         * textclasslist.[Ch]:
6832         * sp_ispell.h: whitespace change
6833
6834 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6835
6836         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6837         lyxaction directly now.
6838
6839 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6840
6841         * trans.C:
6842         * lyxfont.C:
6843         * lyxvc.C: remove unused headers
6844
6845 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6846
6847         * Makefile.am:
6848         * buffer.h:
6849         * undostack.h:
6850         * undostack.C:
6851         * undo_funcs.h:
6852         * undo_funcs.C: some cleanups. Use shared_ptr
6853           and a template for the undo stacks.
6854
6855 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6856
6857         * BufferView_pimpl.h:
6858         * BufferView_pimpl.C:
6859         * kbmap.h:
6860         * kbmap.C:
6861         * kbsequence.h:
6862         * kbsequence.C:
6863         * lyxfunc.h:
6864         * lyxfunc.C:
6865         * text2.C: use key_state/mouse_state
6866
6867 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6868
6869         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6870         and LSubstring
6871
6872         * chset.C: change include order
6873         (loadFile): use boost regex and get rid of LRegex and LSubstring
6874
6875         * Makefile.am (BOOST_LIBS): new variable
6876         (lyx_LDADD): use it
6877
6878         * LaTeX.C: change include order.
6879         (scanAuxFile): use boost regex and get rid of LRegex and
6880         LSubstring
6881         (deplog): ditto
6882
6883 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6884
6885         * ColorHandler.h:
6886         * ColorHandler.C:
6887         * FontInfo.h:
6888         * FontInfo.C: moved to frontends/xforms/
6889
6890         * FontLoader.h:
6891         * FontLoader.C: moved into frontends for GUIIzation
6892
6893         * Makefile.am:
6894         * lyx_gui.C:
6895         * lyxfont.C:
6896         * lyxfunc.C: changes from above
6897
6898 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6899
6900         * LColor.C: remove spurious X include
6901
6902         * BufferView_pimpl.C:
6903         * Makefile.am:
6904         * font.h:
6905         * font.C:
6906         * text.C:
6907         * text2.C: move font metrics to frontends/
6908
6909 2002-05-24  Juergen Vigna  <jug@sad.it>
6910
6911         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6912         setting the undo_cursor.
6913
6914         * ParagraphParameters.h: include local includes first.
6915
6916 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6917
6918         * BufferView_pimpl.C:
6919         * BufferView_pimpl.h:
6920         * Makefile.am:
6921         * WorkArea.h:
6922         * WorkArea.C:
6923         * screen.C: move WorkArea into frontends/
6924
6925         * lyxscreen.h:
6926         * screen.C:
6927         * text.C:
6928         * BufferView.C:
6929         * BufferView2.C: move LyXScreen into frontends/
6930
6931         * lyxlookup.h:
6932         * lyxlookup.C:
6933         * lyx_gui.C: move lyxlookup into frontends/xforms/
6934
6935 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6936
6937         * BufferView2.C:
6938         * BufferView_pimpl.C:
6939         * FontLoader.C:
6940         * LyXView.h:
6941         * LyXView.C:
6942         * Makefile.am:
6943         * WorkArea.C:
6944         * XFormsView.h:
6945         * XFormsView.C:
6946         * buffer.C:
6947         * bufferlist.C:
6948         * bufferview_funcs.C:
6949         * converter.C:
6950         * importer.C:
6951         * lyx_cb.C:
6952         * lyx_gui.C:
6953         * lyx_main.C:
6954         * lyx_find.C:
6955         * lyxfunc.C:
6956         * lyxvc.C:
6957         * minibuffer.C:
6958         * text.C:
6959         * text2.C:
6960         * trans.C:
6961         * vc-backend.C: move LyX/XFormsView into frontends/
6962
6963 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6964
6965         * Makefile.am:
6966         * PainterBase.C:
6967         * PainterBase.h:
6968         * Painter.C:
6969         * Painter.h:
6970         * WorkArea.C:
6971         * WorkArea.h:
6972         * screen.C:
6973         * tabular.C:
6974         * text.C:
6975         * text2.C: move Painter to frontends/
6976
6977 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6978
6979         * buffer.C: comment out some some code that depend upon lyx_format
6980         < 220
6981
6982         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6983         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6984
6985         * buffer.h (NO_COMPABILITY): turn off compability
6986
6987         * ColorHandler.C: include scoped_array.hpp
6988
6989         * font.C: Use more specific smart_ptr header.
6990         * Painter.C: ditto
6991         * gettext.C: ditto
6992         * ShareContainer.h: ditto
6993         * lyx_main.h: ditto
6994         * kbmap.h: ditto
6995         * FontInfo.h: ditto
6996         * BufferView_pimpl.h: ditto
6997         * ColorHandler.h: ditto
6998
6999         * kbmap.C (defkey): change call to shared_ptr::reset
7000
7001 2002-05-21  Juergen Vigna  <jug@sad.it>
7002
7003         * buffer.C (insertErtContents): fix to insert ert asis if it is
7004         non empty. Skip it completely if it contains only whitespaces.
7005
7006 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7007
7008         * BufferView_pimpl.C:
7009         * BufferView2.C: clear selection on paste (bug 393)
7010
7011 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7012
7013         * DepTable.C: include ctime
7014
7015 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7016
7017         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7018
7019 2002-05-14  Juergen Vigna  <jug@sad.it>
7020
7021         * text.C (breakParagraph): fixed function to honor the keepempty
7022         layout in the right maner and also to permit the right breaking
7023         algorithm on empty or non empyt keepempty paragraphs.
7024
7025         * paragraph.C (breakParagraph): we have to check also if the par
7026         is really empty (!size()) for isempty otherwise we do the wrong
7027         paragraph break.
7028
7029 2002-05-10  Juergen Vigna  <jug@sad.it>
7030
7031         * buffer.[Ch] : The following are only changes to the ert
7032         compatibility read reading old LaTeX layout and font stuff and
7033         convert it to ERTInsets.
7034
7035         * buffer.h: added isErtInset().
7036
7037         * buffer.C (struct ErtComp): add a fromlayout bool to check
7038         if we're inside a LaTeX layout.
7039         (isErtInset): new helper function.
7040         (insertErtContents): look for other ert insets before this one
7041         and insert the contents there, so that we don't have subsequent
7042         ERT insets with nothing between them. This way we create only one
7043         inset with multiple paragraphs. Also check if we don't insert only
7044         spaces ' ' as they are ignored anyway afterwards in the .tex file
7045         so if we have only spaces we will ignore this latex part in the
7046         new file.
7047         (parseSingleLyXformat2Token \\layout): better compatibility when
7048         reading layout-latex stuff.
7049         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7050         language tag.
7051         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7052         stuff after reading the inset only get the information back from
7053         the stack.
7054
7055 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7056
7057         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7058
7059         * LaTeXFeatures.C (getBabelOptions): New method.
7060
7061 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7062
7063         * BufferView_pimpl.C (Dispatch): work around missing argument for
7064         'layout'
7065
7066 2002-05-08  Juergen Vigna  <jug@sad.it>
7067
7068         * text.C (leftMargin): handle paragraph leftindent.
7069
7070         * paragraph.C (writeFile): write the new \\leftindent tag.
7071         (validate): handle leftindent code.
7072         (TeXEnvironment): handle paragraphleftindent code again.
7073
7074         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7075
7076         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7077         for paragrap_extra indent code and new token \\leftindent.
7078         (latexParagraphs): handle the leftindent as environment.
7079
7080         * ParameterStruct.h: added leftindent support.
7081
7082         * ParagraphParameters.C (leftIndent): added support functions for
7083         the paragraph left indent.
7084
7085         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7086         more appropriate.
7087
7088 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7089
7090         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7091         inside insetERT.
7092
7093         * text.C (computeBidiTables): No bidi in insetERT.
7094
7095         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7096         in RTL documents.
7097
7098 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7099
7100         * version.C.in: pre 5
7101
7102 2002-05-02  José Matos  <jamatos@fep.up.pt>
7103         * buffer.C (makeDocBookFile): white space changes, add newline to
7104         command styles.
7105         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7106
7107         * tabular.C (docBook): fix typo.
7108
7109 2002-05-03  Juergen Vigna  <jug@sad.it>
7110
7111         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7112         change in LyXText as we can not be sure it was not freed.
7113         (drawOneRow): remove unused code.
7114
7115         * text.C (drawInset): redo the calculation of the need_break_row as
7116         it could have a row which was already freed.
7117         (draw): look at the return value of drawInset and return false if
7118         it also returned false.
7119         (paintRowText): look at the return value of draw and return false if
7120         it also returned false.
7121
7122         * lyxtext.h: added bool return type to drawInset() and draw() so that
7123         if we have a change in the row so that the rowbreak has to be redone
7124         we abort drawing as it will be called again.
7125
7126 2002-05-02  Juergen Vigna  <jug@sad.it>
7127
7128         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7129         a change in the maintext also if we're inside an inset.
7130         (Dispatch): set the cursor again after a break line and after the
7131         screen has been updated as it could be we're in a different row.
7132
7133         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7134         to set the cursor behind the pargraph with > size().
7135         (setCursor): check also for the same paragraph when checking where
7136         to put the cursor if we have a NFR inset.
7137
7138         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7139         parts of layout read further up as it still was in the wrong
7140         position.
7141
7142 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7143
7144         * screen.C (drawFromTo): change sine fullRebreak always return
7145         true.
7146
7147         * buffer.C (parseSingleLyXformat2Token): reindent some
7148
7149         * BufferView_pimpl.C (update): change since fullRebreak always
7150         return true.
7151         (Dispatch): git rid of the last hardcoded "Standard"s.
7152
7153 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7154
7155         * text2.[Ch] (fullRebreak): make it return void now that we always
7156         returned true.
7157
7158 2002-04-30  Juergen Vigna  <jug@sad.it>
7159
7160         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7161         ert compatibility check for "latex" layout.
7162
7163 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7164
7165         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7166         minipages: use col% instead of p%, and also use the current font.
7167         (makeLaTeXFile): Fix use babel condition.
7168         (parseSingleLyXformat2Token): Correct font when reading old floats.
7169
7170 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7171
7172         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7173         inserting list of floats.
7174
7175 2002-04-25  Herbert Voss  <voss@lyx.org>
7176
7177         * MenuBackend.C (expand): don't add the graphics extensions to the
7178         export menu
7179
7180 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7181
7182         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7183         non-existing layout, do not complain if it was the default layout
7184         of the original class (bug #342)
7185
7186 2002-04-24  Juergen Vigna  <jug@sad.it>
7187
7188         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7189         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7190
7191 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7192
7193         * buffer.C (getBibkeyList): If using \bibliography, return the
7194         option field with the reference itself. Enables us to provide natbib
7195         support when using \bibliography.
7196
7197 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7198
7199         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7200
7201         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7202         natbib is provided by the LaTeX class.
7203
7204 2002-04-23  Juergen Vigna  <jug@sad.it>
7205
7206         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7207         Wakeup functions.
7208
7209         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7210
7211 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7212
7213         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7214
7215         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7216         ensuremath around textordmasculine, textordfeminine and
7217         textdegree.
7218
7219 2002-04-19  Juergen Vigna  <jug@sad.it>
7220
7221         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7222         reinitializing the buffer otherwise row-dimensions may be wrong.
7223         (update): reset also the selection cursors if they do exits otherwise
7224         their x/y positions may be wrong.
7225
7226         * text2.C (cursorDown): don't enter the inset if we came from a row
7227         above and are one row over the inset.
7228
7229         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7230         really leaving an inset.
7231
7232 2002-04-18  Juergen Vigna  <jug@sad.it>
7233
7234         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7235         of the selected paragraph does not have the selected layout also if
7236         the last one had!
7237
7238         * text2.C (setLayout): fixed bug which did not change last selected
7239         paragraph.
7240
7241         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7242         changed the read and substituted \\end_float with \\end_inset!
7243
7244         * BufferView_pimpl.C (cursorPrevious):
7245         (cursorNext): fixed to make it work with rows heigher than the work
7246         area without moving the cursor only the draw of the row.
7247         (workAreaMotionNotify): fix jumping over high rows.
7248
7249 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7250
7251         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7252         Ressler.
7253
7254 2002-04-16  Juergen Vigna  <jug@sad.it>
7255
7256         * text2.C (setCursor): set also the irow().
7257         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7258         (cursorUp):
7259         (cursorDown): support for locking an inset if the x_fix value goes
7260         inside it. That way I can transverse insets too with cursor up/down.
7261
7262         * lyxrow.h: added irow helper function same as other (i) functions.
7263
7264         * BufferView_pimpl.C (cursorPrevious):
7265         (cursorNext): fixed for insets!
7266
7267 2002-04-15  Juergen Vigna  <jug@sad.it>
7268
7269         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7270         position otherwise it is wrong in some cases.
7271
7272         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7273         inside the inset before the call.
7274
7275 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7276
7277         * buffer.[Ch] (getBibkeyList): make it const.
7278
7279 2002-04-12  Juergen Vigna  <jug@sad.it>
7280
7281         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7282
7283         * text2.C (getCursorX): new helper function
7284         (setCursor): compute also ix_
7285         (setCursorFromCoordinates): set also ix.
7286
7287         * lyxcursor.h: added ix_ and helper functions.
7288
7289         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7290
7291         * buffer.C (insertStringAsLines): dont break paragraph if the this
7292         paragraph is inside an inset which does not permit it!
7293
7294         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7295         also with no chars on this paragraph.
7296         (paintRowText): only paint stuff if it's inside the workarea!
7297
7298         * paragraph.C (breakParagraph): honor keepempty flag and break the
7299         paragraph always below not above.
7300
7301         * BufferView2.C (unlockInset): update the paragraph layout on inset
7302         unlock as we changed paragraph in such a case.
7303
7304         * lyxfind.C (LyXFind): clear the former selection if not found!
7305
7306         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7307         again called in insertChar().
7308
7309         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7310         an inset which uses the whole row!
7311         (rightMargin): ditto.
7312         (insertChar): force a rebreak if we inserted an inset!
7313
7314 2002-03-28  Herbert Voss  <voss@lyx.org>
7315
7316         * lyxlength.[Ch]: add inBP() to get the right PS-point
7317         units (BigPoint). With inPixels we have rounding errors
7318
7319 2002-04-11  Juergen Vigna  <jug@sad.it>
7320
7321         * text2.C (setCursorFromCoordinates): set iy to the right value.
7322         (setCursor): add check if row->previous exists!
7323
7324         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7325         an old float_type as this was the case in the old code!
7326
7327         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7328
7329         * BufferView2.C (showLockedInsetCursor): use iy
7330         (fitLockedInsetCursor): ditto
7331
7332         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7333         locked insets as there we have the right value now.
7334
7335         * lyxcursor.C: added iy_ variable and iy functions to set to the
7336         baseline of cursor-y of the locked inset.
7337
7338         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7339         (setCursor): fixed for insets which need a full row.
7340
7341         * text.C (rowLastPrintable): don't ignore the last space when before
7342         an inset which needs a full row.
7343         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7344         as last character of a row when before a inset which needs a full row.
7345
7346 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7347
7348         * version.C.in: update date
7349
7350         * text2.C (fullRebreak): try to always return true and see what
7351         happens...
7352
7353 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7354
7355         * MenuBackend.C (expand): use Floating::listName
7356
7357         * FloatList.C (FloatList): add listName argument to the built-in
7358         floats
7359
7360         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7361         text associated with the float.
7362
7363 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7364
7365         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7366
7367 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7368
7369         * ShareContainer.h: add a couple of missing typenames.
7370
7371 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7372
7373         * lyxrc.C (getDescription): use _() correctly rather than N_().
7374
7375 2002-03-28  Herbert Voss  <voss@lyx.org>
7376
7377         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7378         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7379
7380 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7381
7382         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7383         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7384
7385 2002-03-29  Juergen Vigna  <jug@sad.it>
7386
7387         * lyxfunc.C (dispatch): add a missing fitCursor call.
7388
7389         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7390         it was scrolled by a cursor move, so return the bool status.
7391
7392         * BufferView.C (fitCursor): return the bool flag also to the outside
7393         world as this is needed.
7394
7395         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7396
7397         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7398         call the edit() as it is not needed (and wrong) IMO.
7399         (workAreaButtonPress): set the screen_first variable before evt.
7400         unlock the inset as this may change screen_first and then we have
7401         a wrong y position for the click!
7402
7403 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7404
7405         * MenuBackend.C (expand): another translation that I missed
7406
7407 2002-03-28  Juergen Vigna  <jug@sad.it>
7408
7409         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7410
7411         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7412
7413 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7414
7415         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7416
7417         * MenuBackend.C (expand): fix export/view/update when there is no
7418         document open.
7419
7420 2002-03-27  Herbert Voss  <voss@lyx.org>
7421
7422         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7423         and text%
7424
7425 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7426
7427         * bufferview_funcs.C (currentState): only show paragraph number
7428         for is DEVEL_VERSION is set.
7429
7430         * lyxfunc.C (dispatch): put warning in INFO channel
7431
7432         * MenuBackend.C (expand): translate the name of floats
7433
7434         * FloatList.C (FloatList): mark the float names for translation
7435
7436         * converter.C (convert): use LibScriptSearch
7437
7438 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7439
7440         * MenuBackend.C (defaults): fix default menu (we might as well get
7441         rid of it...)
7442
7443 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7444
7445         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7446         directory.
7447
7448 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7449
7450         * lyxvc.C: reorder includes.
7451
7452 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7453
7454         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7455           properly
7456
7457 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7458
7459         * CutAndPaste.C: change layouts earlier on paste
7460           to avoid crashing when calling getFont()
7461
7462 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7463
7464         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7465         irritating #error.
7466
7467 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7468
7469         * WorkArea.C: remove 'Pending' debug message.
7470
7471         * most files: ws cleanup
7472
7473         * buffer.[Ch]: ws changes
7474
7475         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7476
7477 2002-03-21  Juergen Vigna  <jug@sad.it>
7478
7479         * tabular.C (SetMultiColumn): collapse also the contents of the
7480         cells and set the last border right. Added a Buffer const * param.
7481
7482 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7483
7484         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7485         linking or not.
7486
7487 2002-03-19  Juergen Vigna  <jug@sad.it>
7488
7489         * text2.C (clearSelection): reset also xsel_cache.
7490
7491         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7492         where it needs to be called (John tells us to do so too :)
7493         (selectionLost): reset sel_cache.
7494
7495         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7496
7497 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7498
7499         * text2.C (setCursorIntern): put debuging code in INSETS channel
7500
7501 2002-03-19  André Pönitz <poenitz@gmx.net>
7502
7503         * lyxfunc.C: tiny whitespace change
7504
7505 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7506
7507         * ToolbarDefaults.C (init):
7508         * LyXAction.C (init):
7509         * commandtags.h:
7510         * BufferView_pimpl.C (Dispatch):
7511         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7512
7513 2002-03-19  Allan Rae  <rae@lyx.org>
7514
7515         * exporter.C (Export): removeAutoInsets before doing anything else.
7516         While I've just introduced a dependency on BufferView this really is
7517         the best place to clean the buffer otherwise you need to cleanup in
7518         a dozen places before calling export or cleanup in a dozen functions
7519         that export calls.
7520
7521         * converter.C (runLaTeX):
7522         (scanLog): Better handling of removeAutoInsets and screen updates.
7523
7524         * lyxfunc.C (dispatch): small whitespace changes
7525
7526 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7527
7528         * WorkArea.C (C_WorkAreaEvent): return a value.
7529         (event_cb): return 1 if we handled the event, 0 otherwise.
7530
7531         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7532
7533 2002-03-18  Juergen Vigna  <jug@sad.it>
7534
7535         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7536         (GetAdditionalWidth): ditto.
7537         (RightLine): ditto.
7538         (LeftLine): ditto.
7539
7540         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7541         inset if we're there actually (probably not used right now but this
7542         is the direction to go for unifying code).
7543         (paste): disable code to clear the selection.
7544
7545         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7546         inside an InsetText and move the check further up as it is in the
7547         wrong place.
7548
7549         * text2.C (pasteSelection): set a selection over the pasted text.
7550
7551 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7552
7553         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7554         and libgraphics to build on Cygwin.
7555
7556 2002-03-15  Juergen Vigna  <jug@sad.it>
7557
7558         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7559         inserting an Inset into the paragraph. I know this is not the best
7560         fix but we already use current_view in CutAndPaste so we will remove
7561         all of it's using at the same time.
7562
7563         * buffer.C (sgmlError): deactivated function till it is rewritten in
7564         the right mode, now it can create problems.
7565
7566         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7567         before accessing it.
7568
7569 2002-03-14  Juergen Vigna  <jug@sad.it>
7570
7571         * undo_funcs.C (textHandleUndo): do the right thing when updating
7572         the inset after the undo/redo.
7573
7574         * text2.C (setCursor): just some testcode for #44 not ready yet.
7575
7576         * undo_funcs.C (textHandleUndo): set the next() and previous()
7577         pointers of the paragraph to 0 before deleting otherwise we have
7578         problems with the Paragraph::[destructor].
7579
7580         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7581         on a paragraph insertion.
7582
7583 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7584
7585         * buffer.C (asciiParagraph): use += operator for char append to
7586         string.
7587
7588         * paragraph.C (getFontSettings): compare >= not just >
7589         (highestFontInRange): ditto
7590         (setFont): ditto
7591
7592 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7593
7594         * paragraph.C: change several algorithm to be more appripriate for
7595         the problem domain. This is lookip in FontList and in the InsetList.
7596
7597 2002-03-13  André Pönitz <poenitz@gmx.net>
7598
7599         * commandtags.h:
7600         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7601
7602 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7603
7604         * commandtags.h:
7605         * LyXAction.C:
7606         * lyxfunc.C:
7607         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7608
7609 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7610
7611         * Painter.C (display): anon helper function, adjust code for this
7612         change.
7613         (pixmap): remove function.
7614
7615         * Painter.h: remove private display variable.
7616
7617         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7618
7619 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7620
7621         * WorkArea.[Ch]: remove figinset_canvas cruft.
7622
7623 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7624
7625         * lyxtextclass.C (operator): add one item cache optimization.
7626
7627         * bufferlist.h: doxy changes
7628
7629         * bufferlist.C: ws changes
7630
7631         * DepTable.[Ch] (ext_exist): place const in the right spot.
7632
7633         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7634         call resizeInsets.
7635         (workAreaExpose): call resizeInsets when the with BufferView changes.
7636         (Dispatch): adjust for protectedBlank removal
7637         (specialChar): call updateInset if the insert went ok.
7638
7639         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7640         specialChar instead.
7641
7642         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7643
7644         * BufferView.h: doxy change
7645
7646         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7647
7648         * lyxtextclass.C (operator[]): remove non-const version
7649         (defaultLayout): remove non-const version
7650
7651 2002-03-12  Juergen Vigna  <jug@sad.it>
7652
7653         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7654         did resize the LyXText too.
7655
7656         * buffer.C (readLyXformat2): set layout information on newly allocated
7657         paragraphs.
7658
7659         * tabular.C (OldFormatRead): set layout information on the paragraph.
7660
7661 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7662
7663         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7664
7665 2002-03-11  Juergen Vigna  <jug@sad.it>
7666
7667         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7668         plainly wrong.
7669         (resizeCurrentBuffer): force also the insets to resize themselfes.
7670         (moveCursorUpdate): fixed up for InsetText.
7671
7672 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7673
7674         * commandtags.h:
7675         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7676         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7677         value of Dialogs::tooltipsEnabled().
7678         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7679
7680 2002-03-08  Juergen Vigna  <jug@sad.it>
7681
7682         * BufferView_pimpl.C (updateInset): update inset inside inset also
7683         if it isn't inside theLockingInset().
7684
7685 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7686
7687         * buffer.C (asciiParagraph): redo some of the word and line length
7688         handling.
7689         (getLists): look for Caption instead of caption.
7690
7691 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7692
7693         * buffer.C (Buffer): initialize niceFile to true
7694         (makeLaTeXFile):
7695         (makeLinuxDocFile):
7696         (makeDocBookFile): make sure niceFile is true on exit
7697
7698 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7699
7700         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7701
7702 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7703
7704         * LyXSendto.C: remove.
7705         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7706         * lyx_gui.C: remove now-redundant comment.
7707         * ColorHandler.h: remove forward declaration of class WorkArea.
7708         * lyxfunc.C: remove #include "WorkArea.h".
7709
7710 2002-03-07  Juergen Vigna  <jug@sad.it>
7711
7712         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7713         got moved away with the DEPM and also set the inset_owner always
7714         right which before could have been omitted.
7715
7716 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7717
7718         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7719         wanted layout is not found.
7720
7721 2002-03-07  Juergen Vigna  <jug@sad.it>
7722
7723         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7724
7725 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7726
7727         * paragraph.C (breakParagraph): use default layout not layout of
7728         prev paragraph.
7729         (Paragraph): clear ParagraphParameters.
7730
7731 2002-03-06  Juergen Vigna  <jug@sad.it>
7732
7733         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7734         otherwise it would not be a valid lenght. Fixed a special case in
7735         the minipage compatibility read where we end the document with a
7736         minipage.
7737
7738         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7739         was set as it could be 0 for InsetTexts first entry.
7740
7741 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7742
7743         * paragraph.C (writeFile): if layout is empty write out
7744         defaultLayoutName().
7745
7746         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7747         file without named layout we set layout to defaultLayoutName().
7748
7749 2002-03-06  Juergen Vigna  <jug@sad.it>
7750
7751         * CutAndPaste.C (copySelection): set layout for new paragraph.
7752
7753         * text.C (prepareToPrint): leave ERT inset left aligned
7754         (leftMargin): don't indent paragraphs inside ERT insets
7755
7756 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7757
7758         * paragraph.C (breakParagraph): dont call clear do the work manually
7759
7760         * paragraph.[Ch] (clear): remove function
7761
7762 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7763
7764         * paragraph.C (Paragraph): dont call clear, the work has already
7765         been done.
7766
7767         * lyxtextclass.C (operator): assert if n is empty
7768
7769         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7770         work manually instead.
7771
7772 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7773
7774         * BufferView_pimpl.C: protect selectionLost against text == 0
7775
7776 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7777
7778         * text.C (breakParagraph): fix a setting layout to '0' problem.
7779
7780 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7781
7782         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7783         final location of file, for the included files, and graphics.
7784
7785 2002-03-05  Juergen Vigna  <jug@sad.it>
7786
7787         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7788
7789 2002-03-04  Juergen Vigna  <jug@sad.it>
7790
7791         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7792
7793         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7794         last column of multicolumn cells.
7795         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7796
7797 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7798
7799         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7800         file if it doesn't go to a temporary file.
7801
7802         * buffer.C (sgmlOpenTag):
7803         (sgmlCloseTag):  remove extra newline insertion.
7804
7805 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7806
7807         * text.C (getRowNearY): comment out debug msg
7808
7809 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7810
7811         * text2.C: first -> first_y
7812
7813         * text.C (getRowNearY): add some attemts at a possible
7814         optimization, not working.
7815
7816         * tabular.[Ch]: add BufferParams to several function so that newly
7817         created paragraph can be initialized to he default layotu for the
7818         buffers textclass.
7819
7820         * tabular-old.C (ReadOld): add buf->params to call of Init
7821
7822         * screen.C: rename text->first to text->first_y
7823
7824         * paragraph.C (breakParagraph): always set layout in the broken
7825         paragraph
7826
7827         * lyxtextclass.C (Read): remove lowercase
7828         (hasLayout): ditto
7829         (operator): ditto
7830         (delete_layout): ditto
7831
7832         * lyxtext.h: rename first -> first_y
7833
7834         * lyxlayout.C (Read): remove lowercase
7835         (name): ditto
7836         (setName): ditto
7837         (obsoleted_by): ditto
7838
7839         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7840
7841         * buffer.C (insertErtContents): add params are to InsetERT
7842         (parseSingleLyXformat2Token): add code to check if a paragraphs
7843         layout really exist.
7844         (parseSingleLyXformat2Token): add params to several inset
7845         constructors
7846         (asciiParagraph): remove lowercase, do the layout comparisons with
7847         no_case
7848
7849         * BufferView_pimpl.C (cursorNext): first -> first_y
7850         (resizeCurrentBuffer): first -> first_y
7851         (updateScrollbar): first -> first_y
7852         (scrollCB): first -> first_y
7853         (workAreaMotionNotify): first -> first_y
7854         (workAreaButtonPress): first -> first_y
7855         (checkInsetHit): first -> first_y
7856         (cursorPrevious): first -> first_y
7857         (cursorNext): first -> first_y
7858         (Dispatch): add buffer_->params to severl inset contructors
7859
7860 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7861
7862         * lyxlayout.C (Read): remove some debug info that I forgot.
7863
7864         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7865         clean up the code slightly.
7866         (makeLinuxDocFile): ditto
7867         (makeDocBookFile): ditto
7868
7869         * text2.C: layout as string
7870
7871         * text.C: layout as string
7872
7873         * paragraph_pimpl.C: layout as string
7874
7875         * paragraph.[Ch]: layout as string
7876
7877         * lyxtextclasslist.[Ch]: layout as string
7878
7879         * lyxtextclass.[Ch]: layout as string
7880
7881         * lyxtext.h: layout as string
7882
7883         * lyxlayout.[Ch]: layout as string
7884
7885         * lyx_cb.C: layout as string
7886
7887         * bufferview_funcs.C: layout as string
7888
7889         * bufferparams.C: layout as string
7890
7891         * buffer.C: layout as string
7892
7893         * LyXView.[Ch]: layout as string
7894
7895         * LaTeXFeatures.[Ch]: layout as string
7896
7897         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7898
7899         * BufferView_pimpl.C: change current_layout to string, remove
7900         lyx::layout_type.
7901         (Dispatch):
7902         (smartQuote):
7903         (insertInset):
7904         (workAreaButtonRelease): layout as string
7905
7906         * BufferView2.C (unlockInset): adjust
7907
7908         * vspace.C (asLatexCommand): use an explict temp variable.
7909
7910 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7911
7912         * Makefile.am: use FRONTEND_*
7913
7914 2002-03-01  Juergen Vigna  <jug@sad.it>
7915
7916         * tabular.C (SetWidthOfMulticolCell): changed to something better
7917         I hope but still work in progress.
7918         (recalculateMulticolumnsOfColumn): renamed function from
7919         recalculateMulticolCells as it is more appropriate now.
7920         (SetWidthOfCell): calculate multicols better.
7921
7922 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7923
7924         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7925
7926         * lyxfunc.C (processKeySym): print sequence also if it is
7927         `deleted' (complete)
7928
7929         * kbsequence.C (print): print sequence even if it is deleted
7930         (complete would be a better word, actually).
7931
7932         * lyxfunc.C (dispatch): print complete options after a prefix key
7933
7934         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7935
7936 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7937
7938         * text2.C (setCharFont): eliminate setCharFont code duplication.
7939
7940 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7941
7942         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7943         LFUN_TABULAR_FEATURE (bug #177)
7944
7945 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7946
7947         * Makefile.am: remove figure.h
7948
7949 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7950
7951         * Bufferview_pimpl.C:
7952         * CutAndPasteC:
7953         * LaTeX.C:
7954         * LyXSendto.C:
7955         * buffer.C:
7956         * bufferlist.C:
7957         * converter.C:
7958         * language.C:
7959         * lyxfunc.C:
7960         * lyxvc.C:
7961         * paragraph.C:
7962         * text.C:
7963         * text2.C: remove #include "lyx_gui_misc.h".
7964
7965         * LaTeX.C: added #include <cstdio>
7966
7967 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7968
7969         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7970         that the paragraph following this one can have.
7971
7972         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7973
7974         * vspace.C (asLatexCommand): fix bogus gcc warning
7975
7976         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7977
7978 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7979
7980         * text2.C (setLayout): get rid of redundant code
7981
7982 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7983
7984         * text2.C (incDepth): make sure depth cannot be increased beyond
7985         reasonable values.
7986
7987 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7988
7989         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7990         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7991
7992         * PainterBase.h (image):
7993         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7994         a LyXImage const *.
7995
7996 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7997
7998         * BufferView.C:
7999         * BufferView.h:
8000         * BufferView_pimpl.C:
8001         * BufferView_pimpl.h:
8002         * LaTeXFeatures.C:
8003         * LyXAction.C:
8004         * LyXView.C:
8005         * Makefile.am:
8006         * UpdateList.h:
8007         * UpdateList.C:
8008         * buffer.C:
8009         * figure.h:
8010         * figureForm.C:
8011         * figureForm.h:
8012         * figure_form.C:
8013         * figure_form.h:
8014         * lyx_cb.C:
8015         * lyx_gui.C:
8016         * lyx_gui_misc.C:
8017         * lyxfunc.C:
8018         * sp_base.h:
8019         * sp_ispell.h:
8020         * sp_pspell.h:
8021         * sp_spell.C: remove fig inset, and the crap house of
8022           cards that follows it
8023
8024 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8025
8026         * Makefile.am:
8027         * lyxserver.C:
8028         * os2_defines.h:
8029         * os2_errortable.h:
8030         * nt_defines.h: move .h into support/
8031
8032         * vms_defines.h: remove
8033
8034         * WorkArea.C: add space in debug output
8035
8036         * text2.C:
8037         * paragraph.C:
8038         * buffer.C: add WITH_WARNINGS
8039
8040         * vc-backend.h:
8041         * vc-backend.C:
8042         * bufferlist.C: s/retrive/retrieve/, add docs
8043
8044         * vspace.h:
8045         * vspace.C:
8046         * kbmap.h:
8047         * lyxlength.h:
8048         * lyxgluelength.h:
8049         * length_common.h:
8050         * chset.h:
8051         * chset.C: add docs
8052
8053         * lyxgui.C: add ID to X error handler
8054
8055         * lyxtestclass.c: fix typo
8056
8057 2002-02-26  Juergen Vigna  <jug@sad.it>
8058
8059         * tabular_funcs.C (write_attribute): changed so that some default
8060         attributes are not written at all.
8061         (getTokenValue): set default values before trying to read the
8062         value so we have the return value always set as default if we don't
8063         find the token we search for.
8064
8065         * tabular.C (Write): write bools as bools not as strings!
8066
8067 2002-02-22  Juergen Vigna  <jug@sad.it>
8068
8069         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8070         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8071
8072         * text.C (leftMargin): don't add an indent for paragraphs inside
8073         tabular cells (fix #208).
8074
8075 2002-02-21  José Matos  <jamatos@fep.up.pt>
8076
8077         * tabular.C (docBook): fixed support for long tables.
8078
8079 2002-02-20  Juergen Vigna  <jug@sad.it>
8080
8081         * text2.C (getFont): get the drawing font of the Inset if this
8082         paragraph is inside an inset (only important for InsetERT for now).
8083
8084         * buffer.C (insertErtContents): use new lanugage params in ERT
8085         constructor.
8086
8087         * CutAndPaste.C: commenting out seemingly uneeded code.
8088
8089 2002-02-19  Allan Rae  <rae@lyx.org>
8090
8091         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8092         Iterators might be simple to use but they also get invalidated.
8093         (removeAutoInsets): renamed saved cursor tracking variables and added
8094         some comments to clarify what everything does.
8095
8096 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8097
8098         * Chktex.C:
8099         * LaTeX.C:
8100         * LyXSendto.C:
8101         * converter.C:
8102         * lyx_cb.C:
8103         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8104         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8105
8106         * lyxfunc.C:
8107         * vc-backend.h: remove #include "support/syscall.h"
8108
8109         * LaTeX.C:
8110         * LyXSendto.C:
8111         * converter.C: rearrange #includes in Lars' approved fashion.
8112
8113         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8114         forward declare class Timeout in the header file.
8115
8116         * XFormsView.C: changes due to the above.
8117
8118         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8119         similar to LyXView.
8120
8121         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8122         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8123
8124 2002-02-18  José Matos  <jamatos@fep.up.pt>
8125
8126         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8127         insets contents.
8128
8129 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8130
8131         * a lot of small ws changes
8132         * add a lot of using std::XXX
8133         * use std construcs some places where approp.
8134         * use some exisint stuff from lyxfunctional where approp.
8135         * Make file changes to use partial linking (lets test this now...)
8136
8137 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8138
8139         * Chktex.C:
8140         * buffer.C:
8141         remove #include "support/syscontr.h" as it's redundant. Always has been.
8142
8143         * Chktex.C:
8144         * LaTeX.C:
8145         * LyXSendto.C:
8146         * converter.C:
8147         * lyx_cb.C:
8148         * vc-backend.C:
8149         change Systemcalls::System to Systemcalls::Wait and
8150         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8151         No change of functionality, just reflects the stripped down Systemcalls
8152         class.
8153
8154 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8155
8156         * debug.[Ch]: add a GRAPHICS type to the enum.
8157
8158 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8159
8160         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8161
8162         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8163         there is an inset.
8164
8165 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8166
8167         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8168         match the changes below.
8169
8170         * text2.C (toggleInset): if there is not editable inset at cursor
8171         position, try to see if cursor is _inside_ a collapsable inset
8172         and close it.
8173
8174 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8175
8176         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8177         document menu has a nice checkbox
8178
8179 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8180
8181         * lyxlength.C (asLatexString): change PW to output as percent of
8182         \textwidth.
8183
8184         * lengthcommon.C: change '%' to 't%'
8185
8186         * lyxfunc.C (dispatch): a few comments from Martin
8187
8188 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8189
8190         * WorkArea.h:
8191         * WorkArea.C:
8192         * BufferView_pimpl.h:
8193         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8194           the X selection.
8195
8196 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8197
8198         * vspace.C (inPixels): fix compiler warning
8199
8200 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8201
8202         * lyxfunc.C (getStatus): fix status message for disabled commands.
8203
8204 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8205
8206         * BufferView_pimpl.C: fix crash on close buffer
8207         during selection (#227)
8208
8209 2002-01-27  Herbert Voss  <voss@lyx.org>
8210
8211         * buffer.C: link old Figure to new graphic inset
8212
8213 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8214
8215         * FontLoader.C (getFontinfo): Change the latex font names in order
8216         to match the names of type1inst.
8217
8218 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8219
8220         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8221
8222         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8223         (extchanged): ditto
8224         (ext_exist): ditto
8225         (remove_files_with_extension): ditto
8226         (remove_file): ditto
8227         (write): ditto
8228
8229         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8230         document is smaller than the work area height. Do not initialize
8231         static variables to 0.
8232
8233 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8234
8235         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8236
8237         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8238         LFUN_LAYOUT_PARAGRAPHS.
8239
8240         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8241         tabular. It is possible to provide a possible cell, which will
8242         typically be the actcell from the corresponding insettabular
8243
8244         * lyxfunc.C (getStatus): small cleanup; disable
8245         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8246         true
8247
8248 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8249
8250         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8251
8252         * paragraph.C (startTeXParParams):
8253         (endTeXParParams): new methods. The LaTeX code to
8254         start/end paragraph formatting
8255         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8256         empty (fixes bug #200)
8257
8258         * vspace.C (inPixels): adapt to the change below
8259         (inPixels): [later] more cleanups (remove unused variables)
8260
8261         * lyxlength.C (inPixels): change to use a width and a height as
8262         parameter.
8263
8264 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8265
8266         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8267         Replaced with \paperwidth
8268
8269         * DepTable.C (insert): add std:: qualifier
8270
8271 2002-01-18  Allan Rae  <rae@lyx.org>
8272
8273         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8274         updated also?
8275
8276         * text.C (drawInset): Turned out I didn't know enough about how
8277         rebreaking worked.  This fixes most of the redraw problems.  I see
8278         an occasional cursor trail when a line is broken now and the cursor
8279         placement can seem out by a few pixels also after a rebreak.
8280
8281 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8282
8283         * buffer.C (parseSingleLyXformat2Token): update because minipage
8284         width is now a LyXLength
8285
8286         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8287
8288         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8289         math insets
8290
8291 2002-01-17  Juergen Vigna  <jug@sad.it>
8292
8293         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8294
8295         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8296         is set correctly and the inset is updated correctly.
8297
8298 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8299
8300         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8301         the beginning of the loop.
8302
8303 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8304
8305         * lyxrc.C: improve help for use_scalable_fonts
8306
8307 2002-01-17  Allan Rae  <rae@lyx.org>
8308
8309         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8310
8311 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8312
8313         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8314         make sure to set their inset_owner to the right value (bug #171)
8315
8316 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8317
8318         * DepTable.h
8319         * DepTable.C: Implement mtime checking to reduce time spent doing
8320         CRCs.
8321
8322 2002-01-16  Juergen Vigna  <jug@sad.it>
8323
8324         * tabular.C (GetAdditionalHeight): one of error fixed.
8325
8326         * lyxrc.C (output): small fix in writing use_pspell.
8327
8328 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8329
8330         * sp_base.h: #include LString.h
8331
8332 2002-01-16  Allan Rae  <rae@lyx.org>
8333
8334         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8335         Can someone check this please?
8336
8337         * text.C (drawInset): It was possible that p.row would be removed by
8338         breakAgainOneRow upsetting a few other settings.  There may be another
8339         small tweak possible by setting need_break_row = 0 when p.row has been
8340         removed but I don't know enough about the logic here.
8341
8342 2002-01-15  Allan Rae  <rae@lyx.org>
8343
8344         * text.C (insertChar): removed conditional truism.
8345
8346         * BufferView2.C (removeAutoInsets): More tweaks.
8347         cur_par_prev could be a stray pointer.  Check for trailing empty line
8348         in case last line was cur_par and only had an error inset on it.
8349
8350 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8351
8352         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8353         absolute
8354
8355         * vc-backend.C (most methods):
8356         * exporter.C (Export):
8357         * converter.C (convert):
8358         (runLaTeX):
8359         * LyXSendto.C (SendtoApplyCB):
8360         * lyxfunc.C (dispatch):
8361         (menuNew):
8362         (open):
8363         (doImport):
8364         * lyx_cb.C (AutoSave):
8365         (InsertAsciiFile):
8366         * BufferView_pimpl.C (MenuInsertLyXFile):
8367         * buffer.C (runChktex): use Buffer::filePath().
8368
8369         * buffer.h: rename filename to filename_; rename filepath to
8370         filepath_ and make it private
8371         (filePath): new method
8372
8373         * buffer.C (writeFile): use fileName()
8374         (getLatexName):
8375
8376         * lyx_main.C (init): fix starting  of LyX when the binary is a
8377         link from so,ewhere else.
8378
8379         * minibuffer.C: include <cctype> for isprint
8380
8381 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8382
8383         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8384         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8385         name clash with InsetCollapsable's width function.
8386
8387 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8388
8389         * lastfiles.C: include <iterator>
8390
8391 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8392
8393         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8394         std::count.
8395
8396         * buffer.C (makeLaTeXFile): ditto.
8397         Also make loop operation more transparent.
8398
8399 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8400
8401         * ToolbarDefaults.C: remove trailing comma closing namespace.
8402
8403         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8404
8405         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8406         as in WorkArea.
8407
8408         * trans.C (Load): comment out unused variable, allowed.
8409
8410 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8411
8412         * minibuffer.[Ch] (append_char): new method to recieve input from the
8413         drop-down completion browser. If a key was pressed, then recieve this
8414         char and append it to the existing string.
8415         (peek_event): modify the positioning data passed to the completion
8416         browser so that it can be placed above the minibuffer rather than below.
8417 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8418
8419         * LyXAction.C (init): alloe error-next for readonly documents.
8420
8421         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8422         count.
8423
8424 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8425
8426         * bufferlist.C (readFile): create the buffer _after_ checking that
8427         the file exists.
8428
8429         * lyxfunc.C (verboseDispatch): fix handling of arguments
8430
8431         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8432
8433         * lyxrc.C: use string::erase() instead of initializing to "".
8434
8435
8436 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8437
8438         * BufferView_pimpl.h:
8439         * BufferView_pimpl.C:
8440         * WorkArea.h:
8441         * WorkArea.C:
8442         * text2.C: tell X when we have made a selection for copying
8443
8444 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8445
8446         * BufferView_pimpl.C (MenuInsertLyXFile):
8447         * lyxfunc.C (menuNew):
8448         (open):
8449         (doImport): add shortcuts to directory buttons
8450
8451         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8452         open a float)
8453
8454         * lyxfunc.C (setStatusMessage):
8455         (getStatusMessage): new methods
8456         (getStatus):use setStatusMessage instead of setErrorMessage
8457         (dispatch): when function is disabled, set error message here
8458         [instead of in getStatus previously]
8459
8460         * BufferView_pimpl.C (workAreaButtonRelease): update
8461         toolbar/menubar here too.
8462
8463 2002-01-13  Allan Rae  <rae@lyx.org>
8464
8465         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8466         Now seems indestructible.  Remaining task is to audit all other
8467         code affected by deleteEmptyParagraphMechanism.  One small quirk
8468         left is that an empty document with an error in the preamble can
8469         be made to report an error but no error box appears.  I don't know
8470         where it goes.
8471         (removeAutoInsets): Improved comments.
8472
8473 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8474
8475         * Thesaurus.h:
8476         * Thesaurus.C: update for Aiksaurus 0.14
8477
8478 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8479
8480         * text2.C (firstParagraph): removed member function, all uses
8481         replaces with ownerParagraph
8482         (redoParagraphs): here
8483         (updateInset): here
8484         (toggleAppendix): here
8485         * BufferView2.C (insertErrors): here
8486         (setCursorFromRow): here
8487
8488 2002-01-13  Allan Rae  <rae@lyx.org>
8489
8490         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8491         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8492         There is still a way to segfault this although you may have to do this
8493         multiple times: Have an InsetERT with an unknown command in it.
8494         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8495         <down-arrow>, <Enter> again, View->DVI, BANG!
8496
8497         * text2.C (setCursor):
8498         (deleteEmptyParagraphMechanism):
8499         * lyxtext.h (setCursor):
8500         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8501         Making use of the return value may help fix other bugs.
8502
8503 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8504
8505         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8506
8507         * LyXView.C (updateMenubar): call MenuBar::update here
8508         (updateToolbar): but not here
8509         (showState): do not update toolbar/menubar
8510
8511         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8512         should need to care about that.
8513
8514         * lyxfunc.C (verboseDispatch): simplify a bit
8515         (getStatus): have a version which takes a pseudoaction, and
8516         another which requires a (kb_action,string).
8517
8518         * LyXAction.C (retrieveActionArg): make it work also when action
8519         is not a pseudo-action.
8520         (getActionName): simplify a bit
8521         (helpText):
8522
8523 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8524
8525         * lyxfunc.C (verboseDispatch): new families of methods with
8526         several ways to specify a command and a bool to indicate whether
8527         the command name and shortcut should be displayed in minibuffer
8528         (eventually, we could extend that to a finer bitmask like
8529         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8530         (dispatch): the pristine dispatch command which just, well,
8531         dispatchs! Note it still sets its result to minibuffer; I'm not
8532         sure we want that.
8533
8534         * lyxfunc.h: remove setHintMessage
8535
8536         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8537
8538 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8539
8540         * BufferView_pimpl.C (specialChar): delete new inset if we have
8541         not been able to insert it.
8542
8543         * kbmap.C: revert to using int instead of kb_action, since all we
8544         are dealing with is pseudo-actions.
8545
8546         * LyXAction.C (searchActionArg): change to return int instead of
8547         kb_action, since the result is a pseudoaction.
8548
8549 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8550
8551         * buffer.C (insertErtContents): Fix (partially) the font bug.
8552
8553 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8554
8555         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8556         as the other one is broken on my machine!
8557
8558 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8559
8560         * commandtags.h:
8561         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8562
8563 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8564
8565         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8566         reflect their actual use. Provide compatibility code for older lyxrc
8567         files.
8568
8569         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8570         FL_NORMAL_STYLE.
8571         change names of popup font variables in line with the changes to lyxrc.C
8572
8573 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8574
8575         * buffer.C (asciiParagraph): avoid outputing a word twice after
8576         an inset.
8577
8578         * lyxrc.C (getDescription): document that document_path and
8579         template_path can be empty.
8580
8581 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8582
8583         * LaTeXFeatures.C (getMacros):
8584         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8585
8586         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8587
8588         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8589         getPackages.
8590         (getPackages): rename feature "floats" to "float". Use an array to
8591         iterate over 'simple' features (i.e. just a \usepackage). Add
8592         handling of "amsmath" (renamed from "amsstyle").
8593
8594 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8595
8596         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8597         features list.
8598
8599 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8600
8601         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8602         FuncStaus::FuncStatus & FuncStaus::some_method().
8603
8604 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8605
8606         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8607         of the func_satus stuff. Edited and massaged in various ways by
8608         JMarc.
8609
8610         * lyxfunc.C (getStatus): use FuncStatus
8611
8612 2002-01-08  Juergen Vigna  <jug@sad.it>
8613
8614         * text.C (nextBreakPoint): use function Inset::isChar().
8615
8616         * paragraph.C (TeXOnePar): use function
8617         Inset::forceDefaultParagraphs.
8618
8619         * buffer.C (latexParagraphs): use function
8620         Inset::forceDefaultParagraphs.
8621
8622 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8623
8624         * lyx_gui.C (init): set the style of the menu popups to
8625         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8626
8627 2002-01-07  Juergen Vigna  <jug@sad.it>
8628
8629         * text.C (setHeightOfRow): small fix
8630         (prepareToPrint): don't look at alignment if we don't have the place
8631         for doing it.
8632
8633 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8634
8635         * box.C: New file. Move the Box methods and functions out of box.h,
8636         following Lars' suggestion.
8637
8638 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8639
8640         * box.h: #include "support/LOstream.h", needed for inlined function.
8641
8642         * lyxtextclass.C:
8643         * lyxtextclasslist.C: added some using std declarations.
8644
8645 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8646
8647         * box.h: make signed dimensions to allow insets wider than
8648           the screen (bug #162)
8649
8650         * BufferView_pimpl.C: add some insetHit debug
8651
8652 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8653
8654         * vc-backend.C: add FIXME
8655
8656 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8657
8658         * lyxfunc.C (getStatus): enable code for showing math font status
8659         in toolbar/menu.
8660
8661 2002-01-07  Juergen Vigna  <jug@sad.it>
8662
8663         * text.C (nextBreakPoint): removed debug output not needed anymore.
8664
8665 2002-01-06  Juergen Vigna  <jug@sad.it>
8666
8667         * text.C (nextBreakPoint): fixed up this function we had this bug
8668         since ever but now hopefully we break row better.
8669         (insertChar): we have to check if an inset is the next char as it
8670         could now happen that a large inset is causing a break.
8671
8672 2002-01-05  Juergen Vigna  <jug@sad.it>
8673
8674         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8675         if it doesn't like to be drawed.
8676
8677 2002-01-04  Juergen Vigna  <jug@sad.it>
8678
8679         * BufferView2.C (lockInset): forgot to set a cursor.
8680
8681         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8682
8683 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8684
8685         * FormMathsPanel.C:
8686         * FormMathsPanel.h
8687         * MathsSymbols.C:
8688         * form_maths_panel.C:
8689         * form_maths_panel.h:
8690         * form_maths_panel.fd: implemented sub- and super- buttons in math
8691         panel.
8692
8693         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8694         (or ^ space) to be used as in TeX (req'd by André).
8695
8696         * lyxfunc.C: Allow ^ and _ again to be used both as
8697         super/subscript (mathed) and as themselves (in text).
8698
8699 2002-01-03  Allan Rae  <rae@lyx.org>
8700
8701         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8702         "LyX" or the filename of the current buffer if it has one.  This is a
8703         modified form of John Levon's patch.
8704
8705         * XFormsView.C (setWindowTitle): also set icon title.
8706
8707         * LyXView.h (setWindowTitle): signature changed.
8708         * XFormsView.h (setWindowTitle): ditto.
8709
8710 2002-01-02  Juergen Vigna  <jug@sad.it>
8711
8712         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8713
8714 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8715
8716         * screen.C (topCursorVisible): introduce a temp var for
8717         text->cursor.row(), handle the case where this row is null. (kindo
8718         hachish)
8719
8720         * text2.C (setCursor): add a couple of asserts.
8721
8722         * paragraph.h (inset_iterator): add -> operator
8723
8724         * paragraph.[Ch] (autoDeleteInsets): remove member function
8725
8726         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8727         cursor pos correctly and handle inset deletion by itself.
8728         (insertErrors): move iterator declaration out of for expression
8729
8730         * lyxtextclass.C: add <algorithm>
8731
8732         * Makefile.am: added the new files to sources, removed layout.C
8733
8734         * layout.C: removed file
8735
8736         * layout.h: remove LYX_DUMMY_LAYOUT
8737
8738         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8739         layout.
8740
8741         * lyxlayout.[Ch]:
8742         * lyxtextclass.[Ch]:
8743         * lyxtextclasslist.[Ch]: new files
8744
8745         * include order changes to a lot of files, also changes because of
8746         the six new files.
8747
8748 2001-12-27  Juergen Vigna  <jug@sad.it>
8749
8750         * buffer.C (asciiParagraph): more fixes.
8751
8752         * tabular.C (ascii): make ascii export support export of only the
8753         data separated by a column-delimiter.
8754         (ascii): better support for ascii export.
8755
8756         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8757
8758 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8759
8760         * tabular_funcs.C: use a "using std::getline" instead of the
8761         previous fix from Angus (necessary for cxx + lyxstring)
8762
8763 2001-12-24  Juergen Vigna  <jug@sad.it>
8764
8765         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8766
8767         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8768         problems. First check a minipage also if we have some ert-contents
8769         (not only on par->size(), second set the right depth of the paragraph
8770         on the relink to the root-paragraph-list!
8771
8772         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8773         which then did not anymore update the main paragraphs on undo/redo!
8774
8775 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8776
8777         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8778         code. Support all font-changing funcs (even those which are not in
8779         menu currently). Support for reporting font settings in
8780         mathed (disabled until Andre provides a function on mathed's side).
8781
8782         * func_status.h (toggle): small helper function to set toggle
8783         state on a flag.
8784
8785 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8786
8787         * tabular_funcs.C: getline -> std::getline
8788
8789 2001-12-21  Juergen Vigna  <jug@sad.it>
8790
8791         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8792         accessed and could be 0 (I couldn't generate this but it seems
8793         Michael could!).
8794
8795 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8796
8797         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8798         * tabular_funcs.h: here and include iosfwd
8799
8800 2001-12-20  Juergen Vigna  <jug@sad.it>
8801
8802         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8803         inside inset but undo_par was.
8804
8805 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8806
8807         * Thesaurus.C: always include <config.h> in sources.
8808
8809         * Painter.h:
8810         * lyxlookup.h:
8811         * box.h: do not include <config.h> in header files
8812
8813         * text.C (paintLastRow): remove unused variable
8814
8815         * text.C (transformChar):
8816         (insertChar):
8817         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8818
8819         * Painter.C (text):
8820         * font.C (width): rewrite to use uppercase() instead of
8821         islower/toupper.
8822
8823         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8824
8825 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8826
8827         * lyxfind.C: clean up of find failure position change
8828
8829 2001-12-20  Juergen Vigna  <jug@sad.it>
8830
8831         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8832
8833         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8834         (TeXRow): added to LaTeX a single tabular row.
8835         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8836         (Latex): simplified and finally good LT-h/f support.
8837         (various_functions): just small adaptions for LT-h/f support.
8838
8839         * tabular_funcs.[hC]: added and moved here all not classfunctions
8840         of LyXTabular.
8841
8842 2001-12-19  Juergen Vigna  <jug@sad.it>
8843
8844         * tabular.[Ch]: better support for longtabular options (not finished
8845         yet!)
8846
8847 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8848
8849         * text.C (paintLastRow): use the label font instead of the font of
8850         the last character to compute the size of *_BOX. This makes more
8851         sense and avoids a crash with empty paragraphs.
8852         Use Painter::rectangle to draw EMPTY_BOX.
8853
8854 2001-12-19  Juergen Vigna  <jug@sad.it>
8855
8856         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8857         the paragraphs if the replaced paragraph is not the first one!
8858         Tried to delete not used paragraphs but does not work yet so for
8859         now it's inside #ifdef's and by default off!
8860
8861 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8862
8863         * MenuBackend.C: include "lyx_main.h" instead of declaring
8864         lastfiles (actually was declared as LastFiles* instead of a
8865         scoped_ptr).
8866
8867 2001-12-17  Juergen Vigna  <jug@sad.it>
8868
8869         * tabular.C (AppendColumn): applied John's fix
8870
8871 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8872
8873         * BufferView.h:
8874         * BufferView.C:
8875         * BufferView_pimpl.h:
8876         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8877
8878         * Makefile.am:
8879         * box.h: new start of class for above
8880
8881         * lyxfunc.C: ignore space-only minibuffer dispatches.
8882           Show the command name when it doesn't exist
8883
8884         * minibuffer.C: don't add empty lines to the history
8885
8886         * minibuffer.C: add a space on dropdown completion
8887
8888 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8889
8890         * text.C: fix line above/below drawing in insets
8891
8892 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8893
8894         * lyxlength.C (LyXLength): Initialize private variables.
8895
8896 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8897
8898         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8899         when inserting error insets.
8900
8901 2001-12-13  Juergen Vigna  <jug@sad.it>
8902
8903         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8904         actually sometimes the before-paragraph.
8905         (setUndo): don't clear the redostack if we're not actually undoing!
8906
8907 2001-12-06  Juergen Vigna  <jug@sad.it>
8908
8909         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8910         and fixed redoing of main paragraph, so we can use it now ;)
8911
8912         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8913
8914 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8915
8916         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8917         Juergen's request
8918
8919 2001-12-13  André Pönitz <poenitz@gmx.net>
8920
8921         * undostack.[Ch]:
8922         * undo_func.C: minor cleanup
8923
8924 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8925
8926         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8927         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8928         font in urw-fonts package which is marked as -urw-fontspecific and
8929         does not work (incidentally, changing the encoding in the
8930         fonts.dir of this package to -adobe-fontspecific fixes the
8931         problem).
8932
8933         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8934         is a crash when undoing first paragraph (Juergen, please take a
8935         look). THis does not mean the undo fix is wrong, just that it
8936         uncovers problems.
8937
8938         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8939         the (Paragraph*) version when needed instead of duplicating the
8940         code.
8941
8942         * text.C (workWidth): use Inset::parOwner to find out where the
8943         inset has been inserted. This is a huge performance gain for large
8944         documents with lots of insets. If Inset::parOwner is not set, fall
8945         back on the brute force method
8946
8947         * paragraph_pimpl.C (insertInset):
8948         * paragraph.C (Paragraph):
8949         (cutIntoMinibuffer): set parOwner of insets when
8950         inserting/removing them
8951
8952         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8953
8954 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8955
8956         * commandtags.h:
8957         * LyXAction.C:
8958         * lyx_main.C:
8959         * lyxfunc.C:
8960         * mathed/formulabase.C:
8961         * mathed/math_cursor.[Ch]:
8962         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8963
8964
8965 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8966
8967         * lyxlength.[Ch] (operator!=): new function
8968
8969 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8970
8971         * text.C (workWidth): use Inset::parOwner to find out where the
8972         inset has been inserted. This is a huge performance gain for large
8973         documents with lots of insets. If Inset::parOwner is not set, fall
8974         back on the brute force method
8975
8976         * paragraph_pimpl.C (insertInset):
8977         * paragraph.C (Paragraph):
8978         (cutIntoMinibuffer): set parOwner of insets when
8979         inserting/removing them
8980
8981         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8982
8983 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8984
8985         * tabular-old.C (getTokenValue):
8986         * tabular.C (getTokenValue):
8987         (write_attribute): new versions for LyXLength
8988         (everywhere): adjust the use of widths
8989
8990         * tabular.h: change the type of widths from string to LyXLength
8991
8992 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8993
8994         * paragraph.C: fixed missing line number count when exporting
8995         Environments to LaTeX file
8996
8997         * buffer.C: added informational message for checking line numbers.
8998
8999 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9000
9001         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9002         paragraph, do the 'double space' part, but not the 'empty
9003         paragraph' one.
9004
9005         * text.C (workWidth): small optimization
9006         (getLengthMarkerHeight): use minimal size for negative lengths.
9007
9008 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9009
9010         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9011
9012         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9013
9014 2001-12-11  André Pönitz <poenitz@gmx.net>
9015
9016         * FontLoader.C:
9017         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9018
9019 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9020
9021         * text2.C: keep selection on a setFont()
9022
9023 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9024
9025         * lyx_cb.C: another bv->text misuse, from insert label
9026
9027 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9028
9029         * kbsequence.h:
9030         * kbsequence.C: re-instate nmodifier mask
9031
9032 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9033
9034         * lyx_main.h: make lyxGUI private.
9035
9036 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9037
9038         * lyxfind.C: place the cursor correctly on failed search
9039
9040 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9041
9042         * text.C (getLengthMarkerHeight): for small heights, the arrows
9043         are not always on top/bottom of the text
9044         (drawLengthMarker): smaller arrows; take the left margin in
9045         account; draw also vfills.
9046         (paintFirstRow):
9047         (paintLastRow): remove special code for vfill and standard spaces,
9048         since everything is handled in drawLengthMarker now.
9049
9050 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9051
9052         * buffer.C (insertErtContents): try to handle font and language
9053         interaction a bit better.g
9054
9055         * ColorHandler.C (updateColor): change the hash to cover the whole
9056         LColor enum, ws cleanup
9057         (getGCLinepars): ditto
9058         (getGCLinepars): only lookup in the linecache once.
9059
9060 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9061
9062         * iterators.C (operator++): Make the iterator more robust
9063
9064         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9065         (John's patch)
9066         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9067
9068 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9069
9070         * lyxtext.h:
9071         * text.C: better added space drawing
9072
9073 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9074
9075         * LyXView.C:
9076         * BufferView2.C: fix layout combo update on inset unlock
9077
9078 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9079
9080         * Makefile.am: don't compile unused files
9081
9082 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9083
9084         * lyxfunc.C:
9085         * commandtags.h:
9086         * LyXAction.C: remove old LFUN_LAYOUTNO
9087
9088 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9089
9090         * paragraph_pimpl.h:
9091         * paragraph_pimpl.C: isTextAt() doesn't need font param
9092
9093 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9094
9095         * lyxlex.h:
9096         * lyxlex.C: little cleanup
9097
9098 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9099
9100         * BufferView_pimpl.C: fix insertAscii for insets
9101
9102 2001-12-05  Juergen Vigna  <jug@sad.it>
9103
9104         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9105         set the right font on the "multi" paragraph paste!
9106
9107 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9108
9109         * trans_decl.h:
9110         * trans_mgr.[Ch]:
9111         * trans.[Ch]:
9112         * lyxgluelength.C:
9113         * lyxlength.C: remove out-commented code.
9114
9115         * BufferView_pimpl:
9116         * CutAndPaste.C:
9117         * DepTable.C:
9118         * buffer.C:
9119         * chset.C:
9120         * lastfiles.C:
9121         * lyxlex.C:
9122         * lyxlex_pimpl.C:
9123         * lyxserver.C:
9124         * screen.C:
9125         * tabular-old.C:
9126         * tabular.C:
9127         * text.C:
9128         * trans_mgr.C:
9129         * vc-backend.C: change "while(" to "while ("
9130
9131         * lyxlength.[Ch]: add zero function to check if length is zero or
9132         not
9133         * lyxgluelength.C: use it
9134
9135 2001-12-05  Allan Rae  <rae@lyx.org>
9136
9137         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9138         Works for 2.95.3, from what I understand of Garst's reports this should
9139         work for other g++ versions.  We're screwed if the abs(int) definition
9140         changed between bugfix releases of gcc.
9141
9142 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9143
9144         * text.C: fix chapter label offset !
9145
9146 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9147
9148         * lyxtext.h:
9149         * text.C: fix hfill at end of line, clean up
9150
9151 2001-12-04  Juergen Vigna  <jug@sad.it>
9152
9153         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9154         that we force an update of the inset and it's owners if neccessary.
9155
9156 2001-12-03  Juergen Vigna  <jug@sad.it>
9157
9158         * text.C (rowLast): simplified code
9159
9160 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9161
9162         * lyxfunc.C: fix show options on timeout
9163
9164 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9165
9166         * screen.C (topCursorVisible): scroll half a page when the cursor
9167         reached top of bottom of screen
9168
9169 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9170
9171         * minibuffer.C: deactivate on loss of focus
9172
9173 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9174
9175         * vspace.[Ch] (operator!=): add operator.
9176
9177 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9178
9179         * BufferView_pimpl.C: refuse to open an inset when
9180         there's a selection.
9181
9182 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9183
9184         * BufferView_pimpl.C: allow to click on RHS of full row insets
9185
9186 2001-11-30  Juergen Vigna  <jug@sad.it>
9187
9188         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9189         insets for undo reasons.
9190
9191 2001-11-28  André Pönitz <poenitz@gmx.net>
9192
9193         * vspace.[Ch]: cosmetical changes
9194
9195 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9196
9197         * LyXAction.h:
9198         * LyXAction.C:
9199         * lyxfunc.h:
9200         * lyxfunc.C:
9201         * kbmap.h:
9202         * kbmap.C:
9203         * lyxrc.C:
9204         * kbsequence.h:
9205         * kbsequence.C: part re-write of old kb code
9206
9207         * Painter.C:
9208         * WorkArea.C: remove Lgb_bug_find_hack
9209
9210 2001-11-30  José Matos <jamatos@fep.up.pt>
9211
9212         * buffer.C (makeDocBookFile): add a comment to point a hack.
9213         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9214         Fixed a double write of labels.
9215
9216 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9217
9218         * LaTeX.C:
9219         * LaTeX.h Fixed bug in LaTeX class where it would not
9220         re-run latex if no depfiles were changed, but the .dvi was removed.
9221
9222 2001-11-28  André Pönitz <poenitz@gmx.net>
9223
9224         * all the files from the change on 2001/11/26:
9225         use lyx::layout_type instead of LyXTextClass::size_type
9226         use lyx::textclass_type instead of LyXTextClassList::size_type
9227
9228 2001-11-29  Juergen Vigna  <jug@sad.it>
9229
9230         * text.C: added support for paragraph::isFreeSpacing()
9231
9232         * buffer.C: same as above
9233
9234         * paragraph.h: inserted isFreeSpacing() function to enable
9235         FreeSpacing inside InsetERT.
9236
9237         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9238         of the paragraph's in the cut/copy buffer to 0!
9239
9240         * text2.C (removeRow): remove the assert as it can!
9241
9242         * lyxtext.h: added helper function firstRow returning firstrow and
9243         made firstrow private again.
9244
9245         * BufferView2.C (lockInset): don't relock if we're already locked!
9246
9247         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9248         the only paragraph.
9249         (removeRow): added Assert::(firstrow)
9250
9251         * debug.C: forgot to add INSETTEXT here.
9252
9253 2001-11-28  Juergen Vigna  <jug@sad.it>
9254
9255         * sp_spell.C (initialize): changed error text to more general
9256         spellchecker command use (not only ispell!)
9257
9258         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9259
9260         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9261
9262 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9263
9264         * vspace.C: initialise lyxgluelength on failure
9265
9266 2001-11-28  Allan Rae  <rae@lyx.org>
9267
9268         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9269         declaration & definition that looks like a function declaration.
9270
9271 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9272
9273         * BufferView2.C (copy):
9274         (copyEnvironment): do not clear the selection when doing a copy.
9275
9276         * text.C (paintFirstRow): compilation fix
9277
9278 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9279
9280         * tabular.C (Latex): correct line count when writing latex.
9281
9282 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9283
9284         * paragraph_pimpl.h:
9285         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9286           bug a bit
9287
9288 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9289
9290         * text.C:
9291         * LColor.h:
9292         * LColor.C: change vfillline->added_space
9293
9294         * text.C: add markers and text for added space
9295
9296         * vspace.C: fix comment
9297
9298 2001-11-28  André Pönitz <poenitz@gmx.net>
9299
9300         * paragraph.C: whitespace changes
9301         * all the other files from the change on 2001/11/26:
9302         change *::pos_type into lyx::pos_type
9303
9304 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9305
9306         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9307         language of the document when inserting error insets.
9308
9309 2001-11-26  André Pönitz <poenitz@gmx.net>
9310
9311         * BufferView_pimpl.[Ch]:
9312         *       CutAndPaste.C:
9313         * buffer.[Ch]:
9314         * lyxcursor.[Ch]:
9315         * lyxfind.C:
9316         * lyxfunc.C:
9317         * lyxrow.[Ch]:
9318         * paragraph.[Ch]:
9319         * paragraph_pimpl.[Ch]:
9320         * sp_spell.C:
9321         * text.C:
9322         * text2.C: reduce header dependencies, introduce type for positions
9323
9324 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9325
9326         * <various>: change to use Alert.h
9327
9328 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9329
9330         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9331         when encountering an unknown token.
9332         (readLyXformat2): Show an error message if there were unknown tokens.
9333
9334 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9335
9336         * BufferView2.C:
9337         * BufferView_pimpl.C:
9338         * buffer.C:
9339         * paragraph.h:
9340         * text.C:
9341         * text2.C: use par->isInset()
9342
9343 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9344
9345         * paragraph_pimpl.h:
9346         * paragraph_pimpl.C: cleanup
9347
9348 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9349
9350         * text2.C (removeRow):
9351         * text.C (setHeightOfRow): remove useless (and costly) call to
9352         getRow.
9353
9354 2001-11-20  Allan Rae  <rae@lyx.org>
9355
9356         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9357         Now need Inset*::checkInsertChar() to return true for appropriate
9358         cases so that the characters in the minibuffer will actually be
9359         inserted.
9360
9361 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9362
9363         * text.C: change the order of the includes.
9364         (workWidth): initialize it at once.
9365         (workWidth): make maxw unsigned
9366         (setHeightOfRow): remove unused variable (inset)
9367         (selectSelectedWord): remove unused variable (inset)
9368         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9369
9370 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9371
9372         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9373         server is not running.
9374         (openConnection):
9375         (closeConnection): add debug info when server is disabled.
9376
9377         * ColorHandler.C (getGCForeground): send debug message to GUI
9378         channel.
9379
9380         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9381
9382         * kbmap.C (bind): modify because return conventions of
9383         kb_sequence::parse have changed.
9384
9385         * kbsequence.C (parse): only ignore spaces and not any stupid
9386         control character. This avoids tests like s[i] <= ' ', which are
9387         guaranteed to fail with 8bit characters and signed chars.
9388         Change return code to string::npos when there have been no error
9389         (0 was a bad idea when error is at first character)
9390
9391 2001-11-14  José Matos  <jamatos@fep.up.pt>
9392
9393         * buffer.h:
9394         * buffer.C (simpleDocBookOnePar): removed unused argument.
9395
9396 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9397
9398         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9399         insets which are part of a word. Paragraph::isLetter takes care of
9400         that now. Use Paragraph::isInset to identify insets.
9401         (selectSelectedWord): do not test for hyphenation break.
9402
9403         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9404         that protected spaces are considered as spaces.
9405
9406         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9407         Inset::isLetter.
9408
9409 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9410
9411         * lyxserver.h:
9412         * lyxserver.C: fix it. and small cleanup.
9413
9414 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9415
9416         * BufferView_pimpl.C: use inline helpers
9417
9418         * LaTeXFeatures.h:
9419         * LaTeXFeatures.C: fix typos
9420
9421         * Spacing.h:
9422         * Spacing.C: move spacing_string into class
9423
9424         * ToolbarDefaults.C: move stuff into namespace anon
9425
9426         * layout.h: update enum
9427
9428         * lyxfunc.C: use better debug
9429
9430         * minibuffer.h: fix typo
9431
9432         * debug.h:
9433         * debug.C:
9434         * WorkArea.C: add and use Debug::WORKAREA
9435
9436         * lyxtext.h:
9437         * text.C:
9438         * text2.C: code re-organisation, inline helpers
9439
9440 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9441
9442         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9443         std::vector.empty().
9444
9445 2001-11-09  Allan Rae  <rae@lyx.org>
9446
9447         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9448         '\n's after tables.  Tabular and ERT inset work now makes this no
9449         longer necessary.
9450
9451 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9452
9453         * minibuffer.h:
9454         * minibuffer.C: fix crash, improve drop-down completion
9455
9456 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9457
9458         * lyxserver.h:
9459         * lyxserver.C: invalidate fd's when doing endPipe()
9460
9461 2001-11-08  José Matos  <jamatos@fep.up.pt>
9462
9463         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9464         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9465
9466         * paragraph.h:
9467         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9468
9469 2001-11-07  José Matos  <jamatos@fep.up.pt>
9470
9471         * buffer.h:
9472         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9473         const qualifier.
9474
9475         * buffer.C (sgmlOpenTag):
9476         * buffer.C (sgmlCloseTag): removed debug info.
9477
9478         * buffer.h (sgmlOpenTag):
9479         * buffer.h (sgmlCloseTag): made public.
9480
9481 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9482
9483         * buffer.C (saveParamsAsDefaults):
9484         * lyx_cb.C (MenuLayoutSave): remove
9485
9486         * LyXAction.C (init):
9487         * commandtags.h:
9488         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9489
9490 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9491
9492         * buffer.C (setPaperStuff): removed from here...
9493
9494         * bufferparams.C (setPaperStuff): ... and moved there.
9495
9496 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9497
9498         * minibuffer.h:
9499         * minibuffer.C:
9500         * XFormsView.C: add support for drop-down completion
9501
9502 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9503
9504         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9505         commands.
9506
9507 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9508
9509         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9510         disabled.
9511
9512 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * lyx_main.C: change ref to known bugs
9515
9516 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9517
9518         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9519         to work around older babel problems.
9520
9521 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9522
9523         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9524
9525 2001-10-24  Juergen Vigna  <jug@sad.it>
9526
9527         * tabular-old.C (ReadOld): below variable changes reflected.
9528
9529         * tabular.[Ch]: added ltType struct for longtable header/footer
9530         defines and changed all instances where they are used. Added
9531         future support for double top/bottom rows.
9532
9533 2001-10-24  José Matos  <jamatos@fep.up.pt>
9534
9535         * buffer.h (docbookHandleCaption):
9536         * buffer.C (docbookHandleCaption): removed unused function.
9537         (makeDocBookFile): moved docbook supported version to v4.1.
9538
9539 2001-10-24  José Matos  <jamatos@fep.up.pt>
9540
9541         * tabular.h:
9542         * tabular.C (docbookRow): new function to export docbook code of a row.
9543         (DocBook): now honors the longtable flags.
9544
9545 2001-10-23  José Matos  <jamatos@fep.up.pt>
9546
9547         * LaTeXFeatures.h:
9548         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9549         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9550
9551         * buffer.C (makeLinuxDocFile):
9552         (makeDocBookFile): reworked the preamble, more clean, and with
9553         support for lyx defined entities. Changed the document declaration
9554         to be more XML friendly.
9555
9556         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9557         if we need to output XML that should be done with a filter.
9558
9559 2001-10-22  Juergen Vigna  <jug@sad.it>
9560
9561         * sp_pspell.h (class PSpell): add alive function needed in the
9562         controller to see if the spellchecker could be started.
9563
9564 2001-10-22  Juergen Vigna  <jug@sad.it>
9565
9566         * buffer.C (insertStringAsLines): modify the font for inserting
9567         chars in certain conditions by calling checkInsertChar(font).
9568
9569 2001-10-19  Juergen Vigna  <jug@sad.it>
9570
9571         * text.C (workWidth): use getRow instead of wrong algorithm.
9572         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9573
9574 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9575
9576         * lyxserver.h:
9577         * lyxserver.C:
9578         * lyx_main.h:
9579         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9580
9581 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9582
9583         * text.C (workWidth): do not search for the exact row when
9584         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9585         optimization for big documents.
9586
9587 2001-10-18  Juergen Vigna  <jug@sad.it>
9588
9589         * text.C (workWidth): new function with added Inset * parameter.
9590
9591 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9592
9593         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9594
9595         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9596         change return type of getColumnNearX.
9597
9598
9599         * text.C (changeRegionCase): use uppercase/lowercase instead of
9600         toupper/tolower.
9601         (leftMargin):
9602         (rightMargin): simplify code by factoring out the uses of
9603         textclasslist.
9604         (labelFill):
9605         (numberOfHfills):
9606         (setHeightOfRow):
9607         (appendParagraph): use Paragraph::size_type
9608
9609 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9610
9611         * vspace.C (asLatexString): add a missing break
9612
9613 2001-10-15  Herbert Voss  <voss@perce.de>
9614
9615         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9616
9617 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9618
9619         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9620         is not available.
9621
9622 2001-10-10  André Pönitz <poenitz@gmx.net>
9623
9624         * lyxfunc.C: removed greek_kb_flag.
9625
9626 2001-10-10  Herbert Voss  <voss@perce.de>
9627
9628         * lyx_main.C: delete global string help_lyxdir.
9629
9630 2001-10-09  Herbert Voss  <voss@perce.de>
9631
9632         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9633
9634         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9635
9636         * lyx_main.C: added global string help_lyxdir.
9637
9638         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9639
9640 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9641
9642         * lyxrc.C (set_font_norm_type): support iso8859-4
9643
9644 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9645
9646         * LaTeX.C (deplog): add another regex for MikTeX
9647
9648 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9649
9650         * lyxrc.C (set_font_norm_type): support iso8859-3
9651
9652 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9653
9654         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9655
9656         * LaTeXFeatures.C: remove special case of french and index
9657
9658         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9659         before \begin{document}). This solves several incompatibilities.
9660
9661 2001-10-03  Garst Reese  <reese@isn.net>
9662
9663         * lyx_cb.C: change CheckTex error msg.
9664
9665 2001-10-03  José Matos  <jamatos@fep.up.pt>
9666
9667         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9668
9669 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9670
9671         * .cvsignore: update
9672
9673         * lyx_main.C (commandLineVersionInfo): use new style version info.
9674
9675         * buffer.C (writeFile):
9676         (makeLaTeXFile):
9677         (makeLinuxDocFile):
9678         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9679
9680         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9681
9682         * version.h: update to use stuff in version.C
9683
9684         * version.C.in: new file. Contains version information determined
9685         at compile time. This is a merging of version.h and
9686         version_info.h.in.
9687
9688 2001-10-03  Juergen Vigna  <jug@sad.it>
9689
9690         * BufferView_pimpl.C (update): don't change "dirty" status in
9691         updateInset call.
9692
9693 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9694
9695         * WorkArea.C (c-tor): re-position version string slightly.
9696
9697 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9698
9699         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9700         revert to previous code.
9701
9702         WorkArea.[Ch]: (show, destroySplash): methods removed.
9703
9704         WorkArea.C: rework code so that it's an amalgam of the codes before and
9705         after the splash screen was moved to WorkArea.
9706
9707 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9708
9709         * lyxrc.C (read):
9710         * vspace.C (inPixels):
9711         (lyx_advance):
9712         * kbmap.C (bind):
9713         * buffer.C (insertStringAsLines):
9714         (asciiParagraph): fix types to be large enough
9715
9716         * lyxlex_pimpl.h: change member status from short to int
9717
9718         * layout.h: fix type of endlabeltype
9719
9720         * kbmap.C (bind):
9721         * kbsequence.C (parse): change return type to string::size_type
9722
9723         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9724         variable
9725
9726         * Bullet.C (bulletSize):
9727         (bulletEntry): do not use short ints as parameters
9728
9729         * BufferView2.C (insertLyXFile): change a char to an int.
9730
9731         * WorkArea.C (WorkArea): remove unneeded floats in computation
9732
9733 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9734
9735         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9736
9737         * paragraph.C (asString): Do not ignore newline/hfill chars when
9738         copying to the clipboard.
9739
9740 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9741
9742         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9743         after a multi-line inset.
9744
9745 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9746
9747         * paragraph.C (validate): Set NeedLyXFootnoteCode
9748
9749 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9750
9751         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9752         and decrease-error to decrease.
9753
9754 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9755
9756         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9757         it more readable (should be equivalent)
9758
9759 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9760
9761         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9762
9763 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9764
9765         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9766         of a cursor (row, etc.) after a character has been deleted
9767         (deleteEmptyParagraphMechanism): call the method above on _all_
9768         cursors held by the LyXText when a double space has been
9769         detected/deleted.
9770
9771 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9772
9773         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9774         pixmap.
9775         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9776
9777         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9778         background. Use greyOut() and the new show() methods to toggle between
9779         the foreground and background. Add code to remove the splash after
9780         its initial showing.
9781
9782         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9783         (create_forms): no longer call Dialogs::showSplash.
9784
9785 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9786
9787         * .cvsignore: add version_info.h
9788
9789 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9790
9791         * version_info.h.in: new file
9792
9793         * Makefile.am: add version_info.h.in
9794
9795         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9796         version_info.h instead of VERSION_INFO
9797
9798 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9799
9800         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9801         The ERT inset now returns string().
9802
9803 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9804
9805         * lyxtext.h, text.C (selectNextWord): renamed as
9806         selectNextWordToSpellcheck.
9807
9808         * text.C (selectNextWordToSpellcheck): Modified to not select
9809         words inside an ERT inset.
9810
9811 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9812
9813         * lyx_cb.C (MenuLayoutSave): change a bit the question
9814
9815         * sp_base.h: include <sys/types.h>
9816
9817 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9818
9819         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9820
9821 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9822
9823         * several files: fix typos in user-visible strings
9824
9825 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9826
9827         * text2.C (pasteSelection): do not set the selection, since it
9828         will be cleared later. Actually, the intent was to fix the way the
9829         selection was set, but I figured rmoving the code was just as good.
9830
9831 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9832
9833         * FontLoader.C (available): Check if font is available without
9834         loading the font.
9835
9836 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9837
9838         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9839
9840 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9841
9842         * lyxrc.[Ch]: added display_graphics variable and associated code.
9843
9844 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9845
9846         * bufferparams.C (hasClassDefaults): new method. Returns true if
9847         the buffer parameters correspond to known class defaults
9848
9849 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9850
9851         * XFormsView.C (show): set minimum size to the main window.
9852
9853 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9854
9855         * text2.C (copySelection):
9856         (cutSelection):
9857         * lyxfind.C (LyXReplace):
9858         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9859         LyXText::selectionAsString.
9860
9861         * paragraph.C (asString): add "label" argument to the second form
9862
9863         * text2.C (selectionAsString): add "label" argument and pass it to
9864         Paragraph::asString.
9865
9866 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9867
9868         * lyx_main.C (commandLineHelp): remove version information
9869
9870 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9871
9872         * lyx_main.C: add -version commandline option
9873
9874 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9875
9876         * paragraph.h: make the optional constructor arg required instead.
9877         some modifications to other files because of this.
9878
9879         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9880
9881         * lyxserver.C (C_LyXComm_callback): make it static
9882
9883         * lyx_main.C (error_handler): make it static
9884
9885         * lyx_gui.C (LyX_XErrHandler): make it static
9886
9887         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9888
9889         * WorkArea.C: make the extern "C" methods static.
9890
9891         * Makefile.am (lyx_LDADD): simplify
9892
9893 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9894
9895         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9896         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9897
9898         * LyXAction.C (init):
9899         * lyxfunc.C (dispatch): associated code removal.
9900
9901 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9902
9903         * lyxfont.h (isSymbolFont): shut off warning
9904
9905         * text.C (setHeightOfRow):
9906         (getVisibleRow): fix crash with empty paragraphs which have a
9907         bottom line
9908
9909 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9910
9911         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9912         code.
9913
9914 2001-09-04  José Matos  <jamatos@fep.up.pt>
9915         * buffer.C
9916         * buffer.h
9917         * tabular.C (docbook): rename docBook method to docbook.
9918
9919 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9920
9921         * Makefile.am: add dependencies to main.o.
9922
9923 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9924
9925         * FontLoader.C (available): Return false if !lyxrc.use_gui
9926
9927 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9928
9929         * FontInfo.C (query):
9930         * converter.C (view):
9931         * importer.C (Import):
9932         * exporter.C (Export): Can not -> cannot.
9933
9934 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9935
9936         * BufferView_pimpl.C: allow to create index inset even if
9937           string is empty
9938
9939 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9940
9941         * buffer.C (getLists): replace boost::tie code with an explicit pair
9942         as boost::tie can break some compilers.
9943
9944         * iterators.h: Added a std:: declaration to the return type of
9945         ParIterator::size.
9946
9947 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9948
9949         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9950           case.
9951
9952 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9953
9954         * iterators.[Ch]: New files. Provide paragraph iterators.
9955
9956         * buffer.C (changeLanguage): Use paragraph iterators.
9957         (isMultiLingual): ditto
9958
9959         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9960
9961 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9962
9963         * FontLoader.C: Support for cmr font.
9964
9965 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9966
9967         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9968         (available): New method.
9969
9970         * FontInfo.C (getFontname): Use scalable fonts even when
9971         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9972         found.
9973
9974 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9975
9976         * converter.C (Formats::view): reverted! Incorrect fix.
9977
9978 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9979
9980         * converter.C (Formats::view): only output the -paper option
9981         if the dvi viewer is xdvi, thereby fixing bug #233429.
9982
9983 2001-08-23  Herbert Voss  <voss@perce>
9984
9985         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9986
9987 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9988
9989         * Spacing.h (Spacing): Set space to Default on in the default
9990         constructor.
9991
9992 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9993
9994         * vc-backend.h (RCS::versionString): add RCS to version
9995         (CVS::versionString): add CVS to version
9996
9997         * vc-backend.C (scanMaster): do not add CVS to version.
9998         (scanMaster): do not add RCS to version
9999
10000         * lyxvc.C (versionString): new method
10001
10002         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10003
10004 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10005
10006         * Spacing.C (set): initialize fval
10007
10008 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10009
10010         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10011         " or \.
10012
10013 2001-08-16  Juergen Vigna  <jug@sad.it>
10014
10015         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10016
10017 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10018
10019         * BufferView_pimpl.C:
10020         * figureForm.C:
10021         * lyxtext.h:
10022         * text2.C: setParagraph takes linespacing now
10023
10024 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10025
10026         * LyxAction.C: add internal LFUN_CITATION_INSERT
10027
10028         * LyXView.C: actually apply fix
10029
10030         * bufferlist.C: fix open non-existent file
10031
10032         * lyxfind.C: fix indentation
10033
10034         * lyxfunc.C: remove unneeded assert, fix typo
10035
10036 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10037
10038         * MenuBackend.C: use "Floatname List"
10039
10040 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10041
10042         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10043         when converting LaTeX layout to insetERT.
10044         Generate a non-collapsed float when reading old float
10045
10046 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10047
10048         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10049         ERT insets.
10050
10051 2001-08-13  Juergen Vigna  <jug@sad.it>
10052
10053         * text.C (fill): return 0 instead of 20 as this seems to be the more
10054         correct value.
10055
10056 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10057
10058         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10059         lyxrc.font_norm.
10060
10061 2001-08-13  Juergen Vigna  <jug@sad.it>
10062
10063         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10064         casesensitive off.
10065         (SearchBackward): comment out the unlocking of the inset_owner this
10066         should not be needed!
10067
10068 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10069
10070         * Many files: Remove inherit_language, and add latex_language
10071
10072         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10073         collapsible insets.
10074
10075 2001-08-10  Juergen Vigna  <jug@sad.it>
10076
10077         * text.C (prepareToPrint): fixed hfill-width in draw!
10078
10079         * BufferView2.C (selectLastWord): save the selection cursor as this
10080         now is cleared in the function LyXText::clearSelection!
10081
10082 2001-08-08  Juergen Vigna  <jug@sad.it>
10083
10084         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10085         BACKSPACE type functions.
10086
10087         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10088         is only cutted from the document but not put in the cut-buffer, where
10089         still the old stuff should be.
10090
10091         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10092
10093         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10094
10095         * tabular.C (SetWidthOfCell): fixed special case where the width
10096         was not updated!
10097         (LeftLine): handle '|' in align_special.
10098         (RightLine): ditto
10099         (LeftAlreadyDrawed): ditto
10100         (SetWidthOfCell): ditto
10101
10102 2001-08-07  Juergen Vigna  <jug@sad.it>
10103
10104         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10105
10106 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10107
10108         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10109         * lyxlex.[hC]: ditto
10110
10111 2001-08-06  Juergen Vigna  <jug@sad.it>
10112
10113         * text.C (getVisibleRow): fix up row clearing a bit.
10114
10115 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10116
10117         * minibuffer.C: make sure the X server sees the changes in the input.
10118
10119 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10120
10121         * paragraph.C (getFont): split into...
10122         (getLabelFont): this
10123         (getLayoutFont): and this
10124         * paragraph_pimpl.C (realizeFont): calling this
10125
10126         * text2.C (getFont): split into...
10127         (getLayoutFont): this
10128         (getLabelFont): and this
10129         (realizeFont): all three calling this
10130
10131         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10132         files where used.
10133
10134 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10135
10136         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10137
10138 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10139
10140         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10141         layouts from the Quote inset insertion.
10142
10143 2001-08-03  Juergen Vigna  <jug@sad.it>
10144
10145         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10146
10147         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10148         only if status not is already CHANGED_IN_DRAW (second level).
10149
10150         * text.C (draw): don't set the need_break_row when inside an
10151         InsetText LyXText.
10152
10153 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10154
10155         * buffer.C (parseSingleLyXformat2Token): handle more latex
10156         conversion cases.
10157
10158         * bufferview_funcs.[hC]: change function names to
10159         begin with small char, adjust other files.
10160
10161 2001-08-02  André Pönitz <poenitz@gmx.net>
10162
10163         * lyxfunc.C:
10164         BufferView_pimpl.C: remove broken special code for math-greek
10165
10166 2001-08-02  Juergen Vigna  <jug@sad.it>
10167
10168         * BufferView_pimpl.C (update): redone this function so that we
10169         update the text again if there was a CHANGE_IN_DRAW.
10170
10171         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10172         (drawFromTo): added a new internal bool which is used by draw() and
10173         redraw() function.
10174         (general): some cursor drawing problems fixed.
10175
10176 2001-08-01  Juergen Vigna  <jug@sad.it>
10177
10178         * lyxfind.C (LyXFind): fixed
10179         (SearchForward): ditto
10180         (SearchBackward): ditto
10181
10182         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10183         spurius drawing of the cursor in the main area.
10184
10185         * text2.C (status): small fix which could lead to a segfault!
10186         (clearSelection): remove unneeded BufferView param.
10187
10188 2001-08-01  André Pönitz <poenitz@gmx.net>
10189
10190         * lyxfunc.C: small change due to changed mathed interface
10191
10192 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10193
10194         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10195
10196 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10197
10198         * lyxfunc.c: fail gracefully if file doesn't exist
10199
10200         * LyXSendto.C:
10201         * buffer.C:
10202         * lyxfunc.C:
10203         * BufferView_pimpl.C: IsDirWriteable() proto changed
10204
10205         * LyXView.C: fix updateWindowTitle() to store the last title
10206
10207 2001-07-31  Juergen Vigna  <jug@sad.it>
10208
10209         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10210         the font (wrong since using of Paragraph::highestFontInRange).
10211
10212         * paragraph.C (highestFontInRange): added a default_size parameter.
10213
10214         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10215         (setHeightOfRow): reformat
10216
10217 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10218
10219         * converter.[hC] + affected files: move to (inital-char)lowercase
10220         function names.
10221
10222         * ParagraphParameters.C (ParagraphParameters): remove commented code
10223
10224         * PainterBase.[Ch]: remove commented code
10225
10226         * LaTeXFeatures.h: add "bool floats" for float.sty
10227
10228         * LaTeXFeatures.C (LaTeXFeatures): init floats
10229         (require): handle float
10230         (getPackages): do it with floats
10231
10232 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10233
10234         * BufferView_pimpl.C (Dispatch): improve handling of
10235         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10236
10237         * commandtags.h: #include lyxfont.h here temporarily to avoid
10238         keybinding bug.
10239
10240         * bufferlist.h: include LString.h here.
10241
10242 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10243
10244         * text2.C (getStringToIndex): new method.
10245
10246 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10247
10248         * *: Reduced header file dependencies all over.
10249
10250 2001-07-30  Baruch Even  <baruch@lyx.org>
10251
10252         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10253
10254 2001-07-29  Baruch Even  <baruch@lyx.org>
10255
10256         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10257
10258 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10259
10260         * ParameterStruct.h (endif): add a default constructor to make
10261         sure that all variables is initialized.
10262
10263         * ParagraphParameters.C (ParagraphParameters): adjust
10264
10265 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10266
10267         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10268         index; also, check that there is something to index, and that it
10269         does not span over several paragraphs.
10270         (doubleClick): use WHOLE_WORD_STRICT for double click.
10271
10272         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10273
10274         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10275         scheme.
10276
10277 2001-07-26  Baruch Even  <baruch@lyx.org>
10278
10279         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10280         an InsetFig figure, backwards compatible reading of old figure code.
10281
10282 2001-07-27  Juergen Vigna  <jug@sad.it>
10283
10284         * text2.C: font.realize function adaption.
10285
10286         * text.C (draw): add a warnings lyxerr text if needed.
10287
10288         * layout.C: font.realize function adaption.
10289
10290         * language.C: add inherit_language and implement it's handlings
10291
10292         * bufferview_funcs.C (StyleReset): remove language parameter from
10293         font creation (should be language_inherit now).
10294
10295         * bufferparams.C (writeFile): handle ignore_language.
10296
10297         * paragraph.C (getFontSettings): the language has to be resolved
10298         otherwise we have problems in LyXFont!
10299
10300         * lyxfont.C (lyxWriteChanges): added document_language parameter
10301         (update): removed unneeded language parameter
10302
10303         * paragraph.C (validate): fixed wrong output of color-package when
10304         using interface colors for certain fonts in certain environments,
10305         which should not seen as that on the final output.
10306
10307 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10308
10309         * BufferView_pimpl.C:
10310         * Thesaurus.h:
10311         * Thesaurus.C:
10312         * Makefile.am:
10313         * commandtags.h:
10314         * LyXAction.C: add thesaurus support
10315
10316         * lyxfind.h:
10317         * lyxfind.C: add "once" parameter, for thesaurus, to not
10318           move to the next match
10319
10320 2001-07-26  Juergen Vigna  <jug@sad.it>
10321
10322         * lyxfont.C (realize): honor ignore_language too!
10323         (resolved): ditto.
10324
10325         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10326
10327         * text.C (draw): one place more for ignore_language to not draw
10328         itself!
10329
10330 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10331
10332         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10333
10334 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10335
10336         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10337         the minipage conversion problem.
10338
10339 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10340
10341         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10342         insert an inset.
10343
10344 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10345
10346         * BufferView.h: don't forward declare WorkArea
10347
10348         * BufferView.C: don't include WorkArea.h
10349
10350 2001-07-25  André Pönitz <poenitz@gmx.net>
10351
10352         * commandtags.h:
10353         * LyXAction.C:
10354         * lyxfunc.C:  new LFUN 'math-space'
10355
10356         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10357
10358 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10359
10360         * text2.C (toggleInset): call open/close
10361
10362 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10363
10364         * lyxfunc.C (dispatch): add debug for the disabled case
10365
10366         * font.C (buttonText): make similar to rectText
10367
10368         * buffer.C (readInset): comment out parsing of insetlist and
10369         insttheorem
10370
10371         * PainterBase.C (rectText): small correction
10372
10373         * BufferView_pimpl.C: comment out insettheorem and insetlist
10374         * LyXAction.C: ditto
10375         * commandtags.h: ditto
10376
10377 2001-07-24  Juergen Vigna  <jug@sad.it>
10378
10379         * text.C (draw): honor the ignore_language.
10380
10381         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10382
10383 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10384
10385         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10386         char inset.
10387
10388 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10389
10390         * lyxtext.h: remove unused (and unimplemented) methods
10391
10392 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10393
10394         * text.C (getVisibleRow): honor background color
10395
10396         * PainterBase.h:
10397         * Painter.h: remove default color argument for fillRectangle
10398
10399         * text.C (backgroundColor): new method
10400
10401 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10402
10403         * text.C (getVisibleRow): adjust
10404
10405         * font.[Ch] (rectText): new method, metrics
10406         (buttonText): new method, metrics
10407
10408         * PainterBase.[hC]: make rectText and buttonText always draw and take
10409         fewer paramteres.
10410
10411 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10412
10413         * ToolbarDefaults.C (read):
10414         * MenuBackend.C (read): allow escaping in all strings
10415
10416         * BufferView_pimpl.C (insertAndEditInset): new method.
10417         (Dispatch): use insertAndEditInset whenever appropriate.
10418
10419         * BufferView_pimpl.C (insertNote): removed
10420
10421         * BufferView_pimpl.C (smartQuote): new method, moved from
10422         BufferView; if an insetquote cannot be inserted, insert a '"'
10423         character instead.
10424
10425         * BufferView2.C: remove insertCorrectQuote();
10426
10427         * lyxfunc.C (getStatus): Add support for all remaingin
10428         inset-insert lfuns.
10429
10430         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10431
10432         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10433         command (necessary to pass " as parameter of self-insert.
10434
10435         * text.C (selectWordWhenUnderCursor):
10436         (selectWord): add word_location parameter
10437         (selectWordWhenUnderCursor): same + remove special code for word
10438         boundary.
10439         (selectNextWord): use kind() to guess type of insetspecialchar,
10440         not latex().
10441
10442         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10443         (insertErtContents): create ert insets as collapsed.
10444         (readInset): better compatibility code for Info inset.
10445
10446 2001-07-20  Juergen Vigna  <jug@sad.it>
10447
10448         * lyxfunc.C (dispatch): use always LyXFind now!
10449
10450         * text2.C (init): add a reinit flag so that the LyXText can be
10451         reinited instead of deleted and reallocated (used in InsetText).
10452
10453         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10454
10455         * text.C: ditto
10456
10457         * text2.C: ditto
10458
10459 2001-07-18  Juergen Vigna  <jug@sad.it>
10460
10461         * text.C (selectNextWord): handle insets inside inset by calling
10462         always the bv->text functions so that we can go up the_locking_inset!
10463
10464         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10465         in strange locations when inside an inset!
10466
10467         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10468         handling to include insets.
10469
10470         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10471
10472 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10473
10474         * LyXAction.C (init):
10475         * commandtags.h:
10476         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10477         LIGATURE_BREAK, since the name is so stupid.
10478
10479 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10480
10481         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10482         InsetInfos.
10483
10484         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10485
10486         * sp_form.[Ch]: remove.
10487
10488         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10489
10490         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10491         InsetInfo.
10492
10493         * src/buffer.C (readInset): ditto.
10494
10495 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10496
10497         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10498         menuSeparator(), endOfSentenceDot(), ldots() and
10499         hyphenationPoint(), which are therefore removed.
10500         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10501
10502         * LyXAction.C (init):
10503         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10504
10505         * paragraph.C (getWord): removed.
10506
10507         * BufferView_pimpl.C (Dispatch): use last word or selection for
10508         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10509
10510         * lyx_main.C (queryUserLyXDir): do not ask before creating
10511         user_dir, except if it has been named explicitely.
10512
10513 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10514
10515         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10516         a document of zero size.
10517
10518 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10519
10520         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10521         approriately in the c-tor and in require().
10522         (getPackages): output the appropriate LaTeX for natbib support.
10523
10524         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10525         variables "use_natbib" and "use_numerical_citations" when reading the
10526         LyX file.
10527         (readInset): read the various natbib cite commands.
10528         (validate): white-space change.
10529
10530         * bufferparams.[Ch]: new variables "bool use_natbib" and
10531         "bool use_numerical_citations".
10532         (writeFile): output them in the LyX file.
10533
10534 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10535
10536         * lyxfunc.C (getStatus): add support for all the inset insertion
10537         commands.
10538
10539         * text2.C (insertInset):
10540         * paragraph.C (insetAllowed):
10541         * BufferView_pimpl.C (insertInset): update to take in account the
10542         renaming of insertInsetAllowed
10543
10544         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10545
10546         * text2.C (getInset): new method. returns inset at cursor position.
10547
10548         * BufferView_pimpl.C (Dispatch): changes because of this.
10549
10550         * LyXAction.C (init): rename open-stuff to inset-toggle.
10551
10552         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10553
10554         * text2.C (toggleInset): renamed from openStuff; use
10555         Inset::open().
10556
10557 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10558
10559         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10560
10561         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10562
10563 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10564
10565         * buffer.C (readLyXformat2): Add filename to the error dialog
10566
10567 2001-07-18  Juergen Vigna  <jug@sad.it>
10568
10569         * tabular.C (GetCellNumber): put an assert here instead of the check!
10570
10571 2001-07-17  Juergen Vigna  <jug@sad.it>
10572
10573         * BufferView_pimpl.C (toggleSelection): adapted too.
10574
10575         * text.C (selectNextWord): adapted for use with insets.
10576         (selectSelectedWord): ditto
10577
10578 2001-07-17  Juergen Vigna  <jug@sad.it>
10579
10580         * sp_spell.C (PSpell): fix initialitation order.
10581
10582 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10583
10584         * paragraph.C: spacing
10585
10586 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10587
10588         * sp_spell.C: repair language selection for pspell
10589
10590 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10591
10592         * lyxfunc.h: change more methods to begin with lower char.
10593
10594 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10595
10596         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10597         for unknown layouts.
10598
10599 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10600
10601         * buffer.C (readLyXformat2): Generate an error dialog if there are
10602         unknown layouts.
10603
10604 2001-07-16  Juergen Vigna  <jug@sad.it>
10605
10606         * sp_spell.C: always compile ISpell part.
10607
10608         * lyxrc.C: added use_pspell entry and it's handling.
10609
10610 2001-07-13  Juergen Vigna  <jug@sad.it>
10611
10612         * sp_spell.C: removed double includes.
10613
10614 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10615
10616         Consistent use of Lsstream.h:
10617         * Lsstream.h: added using std::stringstream for consistencies sake.
10618
10619         * buffer.C: removed using std::stringstream
10620
10621         * lyxfont.C (stateText):
10622         * paragraph.C (asString):
10623         * text.C (selectNextWord, selectSelectedWord):
10624         * text2.C (setCounter):
10625         * vspace.C (asString, asLatexString):
10626         std::ostringstream -> ostringstream.
10627
10628 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10629
10630         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10631         * commandtags.h: add LFUN_HELP_ABOUTLYX
10632         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10633
10634 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10635
10636         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10637         cursorToggle()
10638         * lyx_gui_misc.C: remove spellchecker
10639         * lyxfunc.C: showSpellchecker
10640         * sp_base.h: added
10641         * sp_ispell.h: added
10642         * sp_pspell.h: added
10643         * sp_spell.C: added
10644         * sp_form.[Ch]: removed
10645         * spellchecker.[Ch]: removed
10646
10647 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10648
10649         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10650         is set.
10651         (simpleTeXSpecialChars): Simply print the input character without
10652         any special translation if pass_thru is set.
10653
10654         * layout.h: Added bool pass_thru to layout class for being able to
10655         implement pass through of a paragraph for Literate Programming.
10656
10657         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10658         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10659         * layout.C (Read): add "passthru" to list of layout tags and add
10660         code to set the pass_thru boolean when it is read.
10661
10662 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10663
10664         * trans_decl.h: remove allowed from KmodInfo
10665
10666         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10667         remove allowed code
10668         (Load): adjust
10669
10670         * paragraph_pimpl.C (erase): use boost::prior
10671
10672         * Painter.C (text): use data() instead of c_str() when length is
10673         also provided.
10674         * WorkArea.C (putClipboard): ditto
10675         * font.h (width): ditto
10676
10677         * BufferView2.C: use it-> instead of (*it). for iterators
10678         * texrow.C: ditto
10679         * paragraph_pimpl.C: ditto
10680         * paragraph.C: ditto
10681         * minibuffer.C: ditto
10682         * language.C: ditto
10683         * kbmap.C: ditto
10684         * encoding.C: ditto
10685         * counters.C: ditto
10686         * converter.C: ditto
10687         * chset.C: ditto
10688         * Variables.C: ditto
10689         * TextCache.C: ditto
10690         * MenuBackend.C: ditto
10691         * LyXAction.C: ditto
10692         * LColor.C: ditto
10693         * FloatList.C: ditto
10694         * DepTable.C: ditto
10695         * ColorHandler.C (LyXColorHandler): ditto
10696
10697 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10698
10699         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10700
10701         * text2.C (openStuff): reintroduce this method (which had been
10702         nuked in NEW_INSETS frenzy).
10703
10704         * lyxfunc.C (Dispatch): when an action has not been handled, use
10705         its name in the error message, not its number.
10706
10707         * paragraph.C (inInset): change method name to begin with lowercase.
10708
10709         * undo_funcs.C:
10710         * text2.C: updates because of this.
10711
10712 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10713
10714         * ToolbarDefaults.C (add): add spaces in error message
10715
10716 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10717
10718         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10719         (readLyXformat2): rename return_par to first_par, use lyxlex's
10720         pushToken and remove the manual push handling.
10721         (parseSingleLyXformat2Token): add another ert comp. variable:
10722         in_tabular, rename return_par to first_par. handle newlines better
10723
10724 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10725
10726         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10727
10728 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10729
10730         * text2.C (getParFromID): removed
10731
10732         * buffer.C (getParFromID): new method moved form lyxtext.
10733         * BufferView2.C (insertErrors): adjust
10734         (setCursorFromRow): adjust
10735         * BufferView_pimpl.C (restorePosition): adjust
10736         * lyxfunc.C (Dispatch): adjust
10737         * undo_funcs.C (textUndo): adjust
10738         (textRedo): adjust
10739         (textHandleUndo): adjust
10740         (textHandleUndo): adjust
10741
10742 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10743
10744         * buffer.C: up' the LYX_FORMAT
10745
10746         * lyxfont.h: turn NO_LATEX on as default
10747
10748         * buffer.C (insertErtContents): new methods of tex style compability.
10749         (parseSingleLyXformat2Token): use it several places.
10750         * tabular.C (OldFormatRead): and here
10751
10752 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10753
10754         * text2.C: remove some commented code.
10755         reindent file.
10756
10757         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10758         * trans.C: changes because of the above.
10759
10760 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10761
10762         * text2.C (setCounter): Fix counters bug with bibliography layout.
10763
10764 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10765
10766         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10767         own member functions
10768         (simpleTeXSpecialChars): ditto
10769
10770 2001-07-06  Juergen Vigna  <jug@sad.it>
10771
10772         * a lot of files: changed the access to LyXText::status and the
10773         call of undo-functions.
10774
10775         * undo.[Ch]: added a inset_id to the undo informations.
10776
10777         * undo_funcs.[Ch]: added and moved here all undo functions.
10778
10779         * lyxtext.h: give the status enum a weight, made status_ a private
10780         variable and made accessor functions for it, removed the whole bunch
10781         of undo-functions as they are now in their own file, make some
10782         functions publically available. Added function ownerParagraph with
10783         int parameter.
10784
10785         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10786         made InInset() a const function, added getParFromID() function.
10787
10788         * buffer.[Ch]: added const version for inset_iterator functions,
10789         added getInsetFromID() function.
10790
10791         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10792         changed undo functions for new version.
10793
10794 2001-07-05  Juergen Vigna  <jug@sad.it>
10795
10796         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10797         unknow mechanism does not call the proper constructor but only this
10798         one also if I request the other!?
10799
10800 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10801
10802         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10803
10804         * text2.C (LyXText): use initialization lists.
10805
10806         * lyxtext.h (Selection): initialize set_ and mark_
10807         (init): remove method
10808
10809 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10810
10811         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10812
10813 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10814
10815         * screen.[Ch]: change method names to begin with lowercase
10816
10817         * BufferView_pimpl.C (updateScrollbar): simplify further and
10818         hopefully make it a bit faster.
10819
10820 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10821
10822         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10823         calling directly xforms functions.
10824
10825         * Painter.C (Painter):
10826         * lyx_cb.C (MenuWrite):
10827         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10828         fl_display.
10829
10830         * lyx_gui.C: remove bogus guiruntime extern declaration.
10831
10832 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10833
10834         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10835         in NEW_INSETS
10836         (redoDrawingOfParagraph): ditto
10837         (redoParagraphs): ditto
10838         (cutSelection): don't create a object for CutAndPaste use the
10839         static method directly
10840         (pasteSelection): ditto
10841
10842         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10843         LyXview (+ rename)
10844
10845 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10846
10847         * modifications to some other files because of this.
10848
10849         * Makefile.am (lyx_SOURCES): add XFormsView
10850
10851         * XFormsView.[Ch]: new files
10852
10853         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10854         the main window. Move the gui dependent stuff to XFormsView
10855
10856 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10857
10858         * tabular.C (GetCellInset): update cur_cell also in the row/col
10859         version of this function.
10860
10861         * lyxfunc.C: no need to include figure_form.h here.
10862
10863         * FontLoader.h:
10864         * lyxfunc.h:
10865         * lyxscreen.h:
10866         * text2.C:
10867         * lyxvc.C: no need to include forms.h here.
10868
10869 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10870
10871         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10872
10873         * lyxfunc.C (Dispatch):
10874         * Spacing.C (set):
10875         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10876         constructor argument.
10877
10878 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10879
10880         * paragraph.C (Paragraph): dont't clear, and just set layout.
10881         (makeSameLayout): use params's copy contructor.
10882
10883         * ParagraphParameters.[Ch] (makeSame): delete method
10884
10885 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10886
10887         * Variables.[Ch]: fix indentation, rename set to isSet
10888
10889 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10890
10891         * lyxfunc.C (Dispatch): fix typo
10892
10893 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10894
10895         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10896         upper_bound.
10897
10898         * bufferlist.C: include assert.h for emergencyWrite().
10899
10900 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10901
10902         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10903           give up at last (bug #425202) !
10904
10905 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10906
10907         * lyx_gui_misc.C:
10908         * sp_form.h:
10909         * sp_form.C:
10910         * spellchecker.h:
10911         * spellchecker.C: strip spellchecker options and bring up
10912           preferences tab instead
10913
10914 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10915
10916         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10917         the istringstream constructor
10918
10919 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10920
10921         * paragraph.C (getLayout): fix return value
10922
10923         * paragraph.h: do not declare getLayout as inline.
10924
10925         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10926
10927 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10928
10929         * lyxcursor.h (operator<): new func
10930         (operator>): new func
10931         (operator>=): new func
10932         (operator<=): new func
10933
10934         * text.C (changeCase): use selection.start and selection.end
10935         (changeRegionCase): require from to be <= to. Require par to be a
10936         valid paragraph.
10937
10938         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10939
10940 2001-06-27  Juergen Vigna  <jug@sad.it>
10941
10942         * text.C (cursorLeftOneWord): changed to return the cursor and added
10943         overlay with BufferView * parameter which calls this one.
10944         (getWord): added
10945         (selectWord): use new getWord function.
10946         (changeCase): renamed from changeWordCase as and extended to work
10947         also on selections.
10948
10949         * lyxtext.h: added enum word_location
10950
10951         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10952         changeCase as this operates now also on selections.
10953
10954 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10955
10956         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10957
10958         * many files: send debug output to Debug::INFO instead of
10959         Debug::ANY.
10960
10961         * converter.C (View):
10962         (Convert):
10963         (Move): send debug output to Debug::FILES instead of console.
10964
10965 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10966
10967         * lyxfunc.C (getStatus): use func_status
10968
10969         * func_status.h: new header, describing the results of
10970         LyXFunc::getStatus;
10971
10972         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10973         LFUN_MATH_HALIGN.
10974
10975 2001-06-25  The LyX Project  <jug@sad.it>
10976
10977         * buffer.C (sgmlOpenTag):
10978         (sgmlCloseTag):
10979         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10980
10981 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10982
10983         * text2.C: remove some dead code
10984
10985         * tabular.C (GetCellInset): store the last cell checked (gotten)
10986
10987         * tabular.h: add the helper for the speedup
10988
10989         * lyxtext.h: remove some dead code
10990
10991 2001-06-26  The LyX Project  <Asger>
10992
10993         * paragraph.C: Change export to LaTeX of alignment to
10994         \begin{center} and family for better roundtrip work with reLyX.
10995
10996         * Tune the math drawing a bit.
10997
10998 2001-06-25  The LyX Project  <Asger>
10999
11000         * LColor.C (LColor): New color for math background. New color
11001         for buttons.
11002
11003 2001-06-25  The LyX Project  <jug@sad.it>
11004
11005         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11006
11007         * lyxfunc.C (Open):
11008         * bufferlist.C (newFile): do not restrict to files ending with
11009         .lyx
11010
11011         * BufferView_pimpl.C (MenuInsertLyXFile):
11012
11013 2001-06-24  The LyX Project  <jug@sad.it>
11014
11015         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11016         of compare_no_case
11017
11018 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11019
11020         * lyxtext.h: rename most methods to begin with a small char.
11021         Lots of changes because of this.
11022
11023         * paragraph.C (Paragraph): do not call fitToSize
11024         (erase): call Pimpl::erase
11025         (insertChar): call Pimpl::insertChar
11026         (insertInset): call Pipl::insertInset
11027         (breakParagraph): do not call fitToSize
11028         (breakParagraphConservative): do not call fitToSize
11029         (fitToSize): remove method
11030
11031         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11032
11033 2001-06-24  The LyX Project  <Asger>
11034
11035         * Fix Qt compilation^2
11036
11037 2001-06-24  The LyX Project  <jug@sad.it>
11038
11039         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11040         depthHook(getDepth()-1).
11041
11042         * paragraph.h:
11043         * ParagraphParameters.h:
11044         * ParameterStruct.h: change type of depth to unsigned int ==
11045         depth_type. Many adaptations to other files before of that.
11046
11047 2001-06-24  The LyX Project  <Asger>
11048
11049         * Fix Qt compilation.
11050
11051 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11052
11053         * paragraph.h: renamed several methods to begin with small letter.
11054         several changes to many parts of the code because of this.
11055
11056 2001-06-23  The LyX Project  <jug@sad.it>
11057
11058         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11059         rewritten to discard all double spaces when KeepEmpty is off
11060         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11061         to only handle newlines but not fiddle with spaces and friends.
11062
11063         * lyxfunc.C (MenuNew): when doing 'new from template', use
11064         template_path as default directory
11065
11066 2001-06-23  The LyX Project  <Asger>
11067
11068         * Clean-up of header file includes all over
11069         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11070
11071 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11072
11073         * paragraph.h: renamed from lyxparagraph.h
11074
11075 2001-06-23  Asger  <lyx@violet.home.sad.it>
11076
11077         * Buffer.h: Removed Buffer::resize
11078         * BufferList.h: Removed BufferList::resize
11079         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11080         the document lazily when we change the width, or the font settings.
11081
11082 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11083
11084         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11085
11086 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11087
11088         * buffer.h: remove out of date comment
11089
11090 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11091
11092         * lyxscreen.h:
11093         * screen.C: fix "theoretical" GC leak
11094
11095 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11096
11097         * LaTeX.C (scanAuxFile):
11098         (deplog): remove trailing \r when reading stream (useful under
11099         win32)
11100
11101 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11102
11103         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11104         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11105         and BufferView::theLockingInset(Inset*), so should use them and not
11106         access bv_->text->the_locking_inset directly.
11107
11108         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11109
11110 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11111
11112         * Makefile.am:
11113         * tex-defs.h: remove old unused file
11114
11115 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11116
11117         * BufferView_pimpl.C: fix typo, remove minibuffer message
11118           when buffer has loaded
11119
11120 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11121
11122         * lyxfunc.C (Dispatch): use stringstream
11123         (MenuNew): use stringstream
11124         (Open): use stringstream
11125
11126         * importer.C (Import): use stringstream
11127
11128         * bufferview_funcs.C (CurrentState): use stringstream
11129
11130         * LaTeX.C (run): use stringstream
11131
11132         * BufferView_pimpl.C (savePosition): use stringstream
11133         (restorePosition): use stringstream
11134         (MenuInsertLyXFile): use stringstream
11135
11136 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11137
11138         * BufferView.C:
11139         * Bullet.C:
11140         * ColorHandler.C:
11141         * FontInfo.C:
11142         * FontLoader.C:
11143         * LColor.C:
11144         * LaTeXFeatures.C:
11145         * Painter.C:
11146         * gettext.C:
11147         * lyx_gui_misc.C:
11148         * lyxserver.C:
11149         * vspace.C: removed // -*- C++ -*- as first line.
11150
11151         * lyxfind.h:
11152         * version.h: added // -*- C++ -*- as first line.
11153
11154 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11155
11156         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11157
11158         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11159         of string
11160
11161 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11162
11163         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11164         of floats.
11165
11166 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11167
11168         * gettext.C: include LString.h even when --disable-nls is on.
11169
11170 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11171
11172         * converter.h (Get): changed argument type from int to
11173         FormatList::size_type to avoid unnecessary conversion.
11174
11175         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11176         before using it.
11177
11178 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11179
11180         * gettext.h: include LString.h even when --disable-nls is on.
11181
11182 2001-06-07  Juergen Vigna  <jug@sad.it>
11183
11184         * text.C (BreakAgain): subst spaces with tabs.
11185
11186         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11187         (resizeInsetsLyXText): set force on resizeLyXText.
11188
11189 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11190
11191         * gettext.h (gettext_init):
11192         (locale_init): use a real definition instead of a macro
11193
11194 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11195
11196         * Bufferview_pimpl.C:
11197         * LColor.h:
11198         * LColor.C: further lcolor tidies
11199
11200 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11201
11202         * BufferView_pimpl.C (updateScrollbar): simplify.
11203
11204         * BufferView2.C: don't include insets/insetinfo.h, change
11205         prototype for insertInset and call the Pimpl version. let
11206         updateInset call Pimpl version.
11207
11208         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11209         gotoInset to BufferView::Pimpl
11210
11211 2001-06-01  Juergen Vigna  <jug@sad.it>
11212
11213         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11214         inside a LockingInset (is the update needed at all?).
11215
11216 2001-05-31  Juergen Vigna  <jug@sad.it>
11217
11218         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11219         here not the old one otherwise how should we compare it afterwards
11220         if it's the same!
11221
11222 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11223
11224         * lyxfont.C:
11225         * tabular.C:
11226         * tabular-old.C:
11227         * FontInfo.C: bring C functions into global namespace when
11228         necessary
11229
11230 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11231
11232         * LString.h: make sure config.h has been loaded before LString.h.
11233
11234         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11235         (one for each char read by EatLine!).
11236
11237         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11238         variables.
11239
11240 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11241
11242         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11243         to the same as the par we break from
11244
11245 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11246
11247         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11248
11249         * MenuBackend.C (expand): also create menu entries for wide
11250         versions of the floats.
11251
11252         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11253
11254         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11255
11256         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11257         frontends/Makefile.am
11258
11259         * text2.C: adjust
11260         * text.C: adjust
11261
11262
11263         * tabular.C (getTokenValue): add std::
11264
11265         * tabular-old.C (getTokenValue): add std::
11266         (getTokenValue): ditto
11267         (getTokenValue): ditto
11268
11269         * screen.C (ToggleSelection): adjust
11270
11271         * lyxtext.h: put selection cursors inside a Selection struct.
11272
11273         * lyxfunc.C (moveCursorUpdate): adjust
11274
11275         * lyxfont.C (latexWriteStartChanges): add std::
11276
11277         * lyxfind.C: adjust
11278
11279         * font.h: delete with(char const *, LyXFont const &)
11280
11281         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11282
11283         * FontInfo.C (getFontname): add std::
11284
11285         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11286         (workAreaButtonPress): adjust
11287         (tripleClick): adjust
11288         (update): adjust
11289         (moveCursorUpdate): adjust
11290         (Dispatch): adjust
11291
11292         * BufferView2.C (gotoInset): adjust
11293
11294 2001-05-30  Juergen Vigna  <jug@sad.it>
11295
11296         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11297         to check pspell I add this as default as I now have new pspell
11298         libraries and they seem to use this.
11299
11300 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11301
11302         * text2.C (CutSelection): make the cursor valid before the call to
11303         ClearSelection.
11304
11305 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11306
11307         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11308         relied on 0 terminated strings and other horrors. Bug found due to
11309         the new assert in lyxstring!
11310
11311         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11312         KP_ keys.
11313
11314 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11315
11316         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11317         to latinkeys.bind.
11318
11319         * lyxfunc.C (processKeySym): change method of getting to the
11320         self-insert char.
11321
11322         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11323         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11324         * BufferView_pimpl.[Ch]: here as private methods.
11325
11326 2001-05-28  Juergen Vigna  <jug@sad.it>
11327
11328         * text.C (SetHeightOfRow): added the update() call again as it is
11329         needed to initialize inset dimensions!
11330
11331 2001-05-16  Juergen Vigna  <jug@sad.it>
11332
11333         * text2.C (SetCharFont): Add new function with BufferView * and
11334         bool toggleall parameters for setting insets internal fonts.
11335         (SetFont): Freeze the undo as we may change fonts in Insets and
11336         all this change should be inside only one Undo!
11337
11338         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11339         setting font's in insets as for them we have the SetFont function!
11340
11341 2001-05-15  Juergen Vigna  <jug@sad.it>
11342
11343         * text2.C (ClearSelection): to be sure we REALLY don't have any
11344         selection anymore!
11345
11346         * tabular.C (TeXCellPreamble): fixed the left border problem for
11347         multicolumn cells.
11348
11349 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11350
11351         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11352         dependancy file
11353
11354 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11355
11356         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11357         LFUN_BREAKPARAGRAPH.
11358
11359         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11360         help test to "internal only", similar for LFUN_INSERT_URL
11361
11362         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11363         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11364         auto_region_delete and deadkeys.
11365
11366 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11367
11368         * LColor.h:
11369         * LColor.C: remove some dead entries, tidy a little
11370
11371 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11372
11373         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11374         commented code.
11375         (Dispatch): implement LFUN_ESCAPE
11376
11377         * commandtags.h: add LFUN_ESCAPE
11378
11379         * LyXAction.C (init): add entry for LFUN_ESCAPE
11380
11381         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11382         Remove commented code.
11383         (insertNote): moved here
11384         (open_new_inset): moved here
11385
11386         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11387         BufferView_pimpl
11388
11389 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11390
11391         * kbmap.C (findbinding): clean it up and make it work correctly.
11392
11393         * lyx_main.C (init): do not pass argc and argv as parameters
11394
11395 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11396
11397         * buffer.C: fix path for OS/2 & Win32
11398
11399         * lyx_gui.C:
11400         * lyx_main:
11401         * lyx_main.C: Added os:: class.
11402
11403         * os2_defines.h: update
11404
11405 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11406
11407         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11408         better by trying again with reduced state.
11409
11410 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11411
11412         * lyxrc.C (read): print error about invalid key sequence only when
11413         debugging (because not all latinX keysyms are known to some X
11414         servers)
11415
11416         * kbsequence.C (getiso): add a few std:: qualifiers
11417         (getiso): comment out extra return statement.
11418
11419 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11420
11421         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11422         handling.
11423         (Dispatch): enhance the accent inset a bit. (not perfect)
11424
11425 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11428
11429 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11430
11431         * bufferlist.C (emergencyWrite): fix assert() call
11432
11433 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11434
11435         * text.C (InsertChar): Added trivial patch to only send the "you
11436         can not do multiple spaces this way" message once during a
11437         session.
11438
11439 2001-05-08  Baruch Even  <baruch@lyx.org>
11440
11441         * Makefile.am: Changed order of libraries to get LyX to link properly
11442         with the gnome frontend.
11443
11444 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11445
11446         * LaTeXFeatures.h: add a std:: qualifier
11447
11448 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11449
11450         * paragraph.C (String): use stringstream
11451
11452 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11453
11454         * paragraph.C (writeFile): remove footflag arg
11455
11456         * buffer.C (makeLaTeXFile): use stringstream
11457         (latexParagraphs): remove footnot gurba
11458
11459         * LaTeXFeatures.C (getPackages): use stringstream
11460         (getMacros): likewise
11461         (getTClassPreamble): likewise
11462         (getFloatDefinitions): new method
11463
11464         * paragraph.C (writeFile): reindent
11465         (Erase): reindent
11466
11467         * WorkArea.h: revert the xpos + etc changes.
11468
11469         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11470
11471         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11472
11473         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11474         (pasteSelection): likewise
11475         * text2.C (CreateUndo): likewise
11476
11477 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11478
11479         * minibuffer.C (peek_event): temporarily reduce the functionality
11480         of the minibuffer (to allow args on lfuns)
11481
11482         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11483         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11484
11485         * buffer.C (readInset): add compability reading of old float
11486         lists, add reading of new style float list.
11487         (readInset): avoid reevaluation of inscmd.getCmdName()
11488         (getLists): reindent
11489
11490         * MenuBackend.C (MenuItem): implement parsing of
11491         md_floatlistinsert and md_floatinsert.
11492         (expand::LastFiles): move initalizaton of iterators out of loop,
11493         avoid reevaluation.
11494         (expand::Documents): introduce typdedef vector<string> Strings,
11495         and use it.
11496         (expand::ExportFormats): introduce typedef vector<Format const *>
11497         Formats, and use it.
11498         (expand): implement FloatListInsert and FloatInsert.
11499
11500         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11501         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11502         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11503
11504         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11505         handling.
11506         (Dispatch::LFUN_FLOAT_LIST): implement
11507
11508 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11509
11510         * LaTeX.C (run): Fix problem with --export code.
11511
11512 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11513
11514         * BufferView.[Ch] (workarea): removed.
11515         (getClipboard) new method; wrapper for workarea()->getClipboard()
11516
11517         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11518         bug.
11519
11520         * WorkArea.h (width, height, xpos, ypos): These methods all
11521         returned the dimensions of the work_area sub-area of WorkArea,
11522         resulting in a position error if the WorkArea were resized. Now
11523         return the dimensions of the entire WorkArea.
11524
11525         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11526
11527 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11528
11529         * LaTeX.C (deplog): correct the syntax of regex reg1
11530
11531 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11532
11533         * undo.C: remove !NEW_INSETS cruft
11534
11535 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11536
11537         * text2.C: remove !NEW_INSETS cruft
11538
11539         * text.C: remove !NEW_INSETS cruft
11540
11541         * tabular.C: remove !NEW_INSETS cruft
11542
11543         * spellchecker.C: remove !NEW_INSETS cruft
11544
11545         * lyxtext.h: remove !NEW_INSETS cruft
11546
11547         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11548
11549         * lyxfunc.C: remove !NEW_INSETS cruft
11550
11551         * lyxfind.C: remove !NEW_INSETS cruft
11552
11553         * lyx_cb.C: remove !NEW_INSETS cruft
11554
11555         * figureForm.C: remove  !NEW_INSETS cruft
11556
11557         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11558
11559         * buffer.[Ch]: remove !NEW_INSETS cruft
11560
11561         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11562
11563         * CutAndPaste.C: remove !NEW_INSETS cruft
11564
11565         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11566
11567         * BufferView2.C: remove !NEW_INSETS cruft
11568
11569         * BufferView.h: remove !NEW_INSETS cruft
11570
11571 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11572
11573         * Lsstream.h: include LString.h before the sstream headers to
11574         fix problem with gcc 2.95.3 and lyxstring
11575
11576 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11577
11578         * lyx_main.C: add using directives when needed for C functions
11579         declared in std:: namespace.
11580
11581 2001-04-27  Juergen Vigna  <jug@sad.it>
11582
11583         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11584         (SetHeightOfRow): comment out the update call should not be needed!
11585
11586 2001-04-13  Juergen Vigna  <jug@sad.it>
11587
11588         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11589         (LyXTabular): tried to minimize operator= operations (and realized
11590         hopfully Lars wish).
11591
11592 2001-04-27  Juergen Vigna  <jug@sad.it>
11593
11594         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11595
11596 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11597
11598         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11599
11600         * buffer.C (readInset): hack to make listof algorithm work
11601
11602         * BufferView_pimpl.C: hack to make listof algorithm work
11603
11604 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11605
11606         * LyXAction.C: removed all !NEW_INSETS cruft
11607         (init): moved lfun_item in method
11608
11609         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11610
11611 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11612
11613         * BufferView2.C (theLockingInset): white space.
11614
11615 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11616
11617         * minibuffer.C: include <iostream>
11618
11619         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11620
11621         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11622
11623         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11624
11625         * text.[Ch] (TransposeChars): new method
11626
11627 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11628
11629         * call message directly through LyXView instead of through LyXFunc
11630         * BufferView2.C: adjust
11631         * BufferView_pimpl.C: adjust
11632         * FontLoader.C: adjust
11633         * buffer.C: adjust
11634         * bufferview_funcs.C: adjust
11635         * converter.C: adjust
11636         * figureForm.C: adjust
11637         * importer.C: adjust
11638         * lyx_cb.C: adjust
11639         * lyx_gui_misc.C: adjust
11640         * lyxfunc.C: adjust
11641         * lyxvc.C: adjust
11642         * text2.C: adjust
11643         + more files in subdirs
11644
11645         * lyxparagraph.h (size): move up int file
11646         (GetLayout): ditto
11647
11648         * adjust all uses of Assert to lyx::Assert.
11649
11650         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11651         lyxfunctional in namespace lyx
11652         * layout.C (hasLayout): ditto
11653         (GetLayout): ditto
11654         (GetLayout): ditto
11655         (delete_layout): ditto
11656         (NumberOfClass): ditto
11657         * converter.C (GetFormat): ditto
11658         (GetNumber): ditto
11659         (Add): ditto
11660         (Delete): ditto
11661         (SetViewer): ditto
11662         * bufferlist.C (getFileNames): ditto
11663         (emergencyWriteAll): ditto
11664         (exists): ditto
11665         (getBuffer): ditto
11666         * MenuBackend.C (hasSubmenu): ditto
11667         (hasMenu): ditto
11668         (getMenu): ditto
11669         * BufferView_pimpl.C (getInsetByCode): ditto
11670
11671 2001-04-18  Juergen Vigna  <jug@sad.it>
11672
11673         * vspace.C (asLatexString): fixed the 100% problem.
11674
11675 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11676
11677         * lyxfunc.C (Dispatch):
11678         * minibuffer.C:
11679         * minibuffer.h: add a few std:: qualifiers
11680
11681 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11682
11683         * minibuffer.[Ch]: reimplement so that commands is initiated and
11684         run from lyxfunc, simplified som handling, and made the completion
11685         and history code for complete. wip.
11686
11687         * lyxfunc.C (processKeySym): call message
11688         (miniDispatch): new temporary method
11689         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11690         (LFUN_MESSAGE): implement
11691         (LFUN_MESSAGE_PUSH): implement
11692         (LFUN_MESSAGE_POP): implement
11693         (initMiniBuffer): the initial/defualt minibuffer message.
11694
11695         * lyxfont.[Ch]: inline some more getters
11696
11697         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11698
11699         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11700
11701         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11702         (AutoSave): use LFUN_MESSAGE
11703         (Reconfigure): ditto
11704
11705         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11706
11707         * figureForm.C: use LFUN_MESSAGE
11708
11709         * converter.C (runLaTeX): use LFUN_MESSAGE
11710
11711         * bufferview_funcs.C: use LFUN_MESSAGE
11712         (Melt): ditto
11713         (changeDepth): ditto
11714
11715         * bufferparams.h: use boost::
11716
11717         * bufferlist.h: inherit privately from noncopyable
11718
11719         * bufferlist.C (loadLyXFile): remove some commented code.
11720
11721         * buffer.C (runChktex): use LFUN_MESSAGE
11722
11723         * ShareContainer.h: inherit privately from noncopyable
11724
11725         * ParagraphParameters.[hC] (depth): inline it.
11726
11727         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11728         methods.
11729         (message): new method
11730         (messagePush): ditto
11731         (messagePop): ditto
11732         (show): init minibuffer
11733         (showState): direct call
11734
11735         * LaTeX.[Ch]: inherit privately from noncopyable
11736         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11737         instead of WriteStatus.
11738
11739         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11740
11741         * BufferView_pimpl.C (buffer): don't init minibuffer
11742         (workAreaButtonPress): use LFUN_MESSAGE
11743         (workAreaButtonRelease): ditto
11744         (savePosition): ditto
11745         (restorePosition): ditto
11746         (MenuInsertLyXFile): ditto
11747         (workAreaExpose): don't init minibuffer
11748         (update): remove commented code, simplify
11749
11750         * BufferView2.C (openStuff): use LFUN_MESSAGE
11751         (toggleFloat): ditto
11752         (menuUndo): ditto
11753         (menuRedo): ditto
11754         (copyEnvironment): ditto
11755         (pasteEnvironment): ditto
11756         (copy): ditto
11757         (cut): ditto
11758         (paste): ditto
11759         (gotoInset): ditto
11760         (updateInset): remove some commented code
11761
11762         * lastfiles.h: inherit privately from noncopyable
11763         * layout.h: ditto
11764         * lyx_gui.h: ditto
11765         * lyx_main.h: ditto
11766         * lyxlex.h: ditto
11767         * lyxlex_pimpl.h: ditto
11768
11769         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11770         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11771         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11772
11773         * LyXAction.h: inherit privately from noncopyable, add methods
11774         func_begin, func_end, returning iterators to the func map.
11775
11776         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11777         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11778         (func_begin): new method
11779         (func_end): new method
11780
11781         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11782         and not)
11783         (copySelection): ditto
11784         (pasteSelection): ditto
11785
11786         * BufferView.C: whitespace change
11787         * BufferView.h: inherit privately from noncopyable
11788
11789 2001-04-16  Allan Rae  <rae@lyx.org>
11790
11791         * tabular-old.C (l_getline):
11792         * spellchecker.C (sc_check_word):
11793         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11794         an unrecognised preprocessor directive.  So ensure they're wrapped.
11795
11796 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11797
11798         * src/exporter.C (Export): Give an error message when path to file
11799         contains spaces.
11800
11801 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11802
11803         * LaTeX.C (deplog): Always check that foundfile exists.
11804
11805 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11806
11807         * lyx_main.h:
11808         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11809
11810 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * tabular.[Ch] (getLabelList): implement new method
11813
11814         * minibuffer.h: comment ouf setTiimer
11815
11816         * minibuffer.C (ExecutingCB): constify res
11817         (peek_event): constify s
11818         (Set): constify ntext
11819         (Init): constify nicename
11820
11821         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11822
11823         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11824         (savePosition): use two params to Minibuffer::Set
11825         (restorePosition): ditto
11826
11827 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11828
11829         * lyx_main.C: include language.h
11830
11831         * Makefile.am (lyx_main.o): add language.h
11832
11833 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11834
11835         * exporter.C:
11836         * paragraph.C:
11837         * screen.C:
11838         * tabular.C:
11839         * CutAndPaste.C: include gettext.h
11840
11841         * lyxfont.h: remove old hack with ON and OFF.
11842
11843         * lyxparagraph.h:
11844         * lyxfont.h: do not include language.h...
11845
11846         * BufferView2.C:
11847         * LaTeXFeatures.C:
11848         * Painter.C:
11849         * bufferview_funcs.C:
11850         * font.C:
11851         * lyxfont.C:
11852         * text.C:
11853         * text2.C:
11854         * trans_mgr.C:
11855         * paragraph.C: ... but do it here instead
11856
11857 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11858
11859         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11860
11861         * tabular.C: small reformat
11862
11863         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11864         NEW_INSETS version
11865         (GetChar): ditto
11866         (BreakParagraph): ditto
11867         (SetOnlyLayout): ditto
11868         (SetLayout): ditto
11869
11870         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11871         with one arg less.
11872
11873         * lastfiles.C: removed most using decl, add std:: where needed
11874
11875         * buffer.C: ws changes
11876
11877         * MenuBackend.C (class compare_format): put into anon namespace
11878         (expand): constify label, names, action, action2
11879         (expand):
11880
11881         * text.C (SingleWidth): constify font
11882         (IsBoundary): constify rtl2
11883         (GetVisibleRow): constify ww
11884
11885         * LaTeX.C (deplog): constify logfile
11886
11887         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11888         start_x, end_x
11889         (workAreaExpose): constify widthChange, heightChange
11890
11891         * lyxrow.C (par): moved
11892         (height): moved
11893         (next): moved
11894         * lyxrow.h: as inlines here
11895
11896         * lyxfont.h (shape): moved from lyxfont.C
11897         (emph): moved from lyxfont.C
11898
11899         * lyxfont.C (LyXFont): use initialization list for all
11900         constructors
11901         (shape): move to lyxfont.h as inline
11902         (emph): move to lyxfont.h as inline
11903
11904
11905 2001-04-04  Juergen Vigna  <jug@sad.it>
11906
11907         * vspace.C: had to include stdio.h for use of sscanf
11908
11909 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11910
11911         * BufferView.h:
11912         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11913         independent of xforms.
11914
11915 2001-04-02  Juergen Vigna  <jug@sad.it>
11916
11917         * spellchecker.C: fixed namespace placing!
11918
11919 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11920
11921         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11922         the LyXParagraph * is 0.
11923
11924 2001-03-29  Juergen Vigna  <jug@sad.it>
11925
11926         * vspace.C: added support for %, c%, p%, l%.
11927         (stringFromUnit): added helper function.
11928         (asLatexString): changed to give right results for the %-values.
11929
11930         * buffer.C: convert the widthp in a width%.
11931
11932 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11933
11934         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11935         figureForm.[Ch].
11936
11937         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11938         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11939
11940         * lyx_cb.[Ch]: see above.
11941
11942         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11943         form1.[Ch].
11944
11945         * form1.[Ch]:
11946         * lyx.[Ch]: replaced by figure_form.[Ch].
11947
11948         * lyx_gui.C:
11949         * lyx_gui_misc.C:
11950         * lyxfunc.C: changed headers associated with above changes.
11951
11952 2001-03-27  Juergen Vigna  <jug@sad.it>
11953
11954         * BufferView_pimpl.C: set the temporary cursor right!
11955
11956 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11957
11958         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11959
11960 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11961
11962         * LString.h: removed "using std::getline"!
11963
11964         * BufferView_pimpl.C (Dispatch): changes due to changes in
11965         InsetInclude::Params.
11966
11967         * buffer.C (tag_name): removed redundant break statements as they were
11968         producing lots of warnings with my compiler.
11969
11970 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11971
11972         * LString.h: add "using std::getline" when using the real <string>.
11973
11974 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11975
11976         * buffer.C: removed bitset usage.
11977         PAR_TAG moved to an anonymous name space.
11978         (tag_name): new funtion, also in the anonymous namespace.
11979         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11980         (makeDocBookFile): clean code. Completed transition from string arrays
11981         to string vectors.
11982         (SimpleDocBookOnePar): code clean.
11983
11984 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11985
11986         * tabular.C: add some comments.
11987
11988 2001-03-22  Juergen Vigna  <jug@sad.it>
11989
11990         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11991         compatibility read a bit and fixed bug with minipage in different
11992         depth.
11993
11994 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11995
11996         * buffer.C (pop_tag): removed.
11997         (push_tag): removed.
11998         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11999         array replaced with vector. Added support for CDATA sections.
12000         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12001         at any nest level.
12002         (makeDocBookFile): XML conformant declaration of CDATA section,
12003         fixed bug related to <emphasis> in the first paragraph char.
12004         (sgmlOpenTag): exclude empty tags.
12005         (sgmlCloseTag): ditto.
12006
12007         * buffer.h (pop_tag): removed.
12008         (push_tag): removed.
12009
12010 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12011
12012         * language.h (Languages): added size_type and size().
12013
12014 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12015
12016         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12017         response on compability reading of minipages. One probliem is that
12018         the old usage of minipages was «flertydig»
12019
12020         * several files here and in subdirs: don't use static at file
12021         scope use anon namespaces instead.
12022
12023 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12024
12025         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12026         LaTeX output. This is necessary for Literate document
12027         processing.
12028
12029 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12030
12031         * buffer.C: insert hfill when needed.
12032
12033         * tabular.C (l_getline): use string::erase, small whitespace change.
12034
12035         * BufferView_pimpl.C: try the anon namespace.
12036         * WorkArea.C: ditto
12037
12038 2001-03-16  Juergen Vigna  <jug@sad.it>
12039
12040         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12041         otherwise it won't open options-dialogs.
12042
12043         * buffer.C: honor pextraWidth(p) on converting minipages.
12044
12045         * tabular.C (l_getline): changed the functions to strip trailing \r.
12046
12047 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12048
12049         * BufferView_pimpl.C:
12050         * minibuffer..C: added "using SigC::slot" declaration.
12051
12052 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12053
12054         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12055
12056         * text2.C: ditto
12057
12058         * text.C: ditto
12059
12060         * paragraph.C: ditto
12061
12062         * lyxtext.h: NO_PEXTRA
12063
12064         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12065
12066         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12067         * ParameterStruct.h: ditto
12068         * ParagraphParameters.h: ditto
12069         * lyxparagraph.h: ditto
12070
12071 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12072
12073         * buffer.C: add compability for minipage alignment.
12074         (latexParagraphs): remove unwanted pextra check.
12075
12076         * several files: remove CXX_WORKING_NAMESPACES
12077
12078         * buffer.C (pop_tag): tie is in namespace boost
12079
12080         * BufferView.h: noncopyable is in namespace boost
12081         * lyxlex.h: ditto
12082         * lyx_main.h: ditto
12083         * lyx_gui.h: ditto
12084         * layout.h: ditto
12085         * lastfiles.h: ditto
12086         * bufferlist.h: ditto
12087         * ShareContainer.h: ditto
12088         * LyXView.h: ditto
12089         * LyXAction.h: ditto
12090         * LaTeX.h: ditto
12091
12092 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12093
12094         * Merging changes from BRANCH_MVC back into HEAD.
12095
12096         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12097
12098 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * BufferView_pimpl.C: change from intl.C
12101
12102         * combox.h:
12103         * combox.C:
12104         * Makefile.am: move combox.*
12105
12106         * form1.h:
12107         * form1.C:
12108         * lyx_gui.C:
12109         * intl.h:
12110         * intl.C: remove dialog (covered by prefs)
12111
12112 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12113
12114         * lyxfunc.C (Dispatch): removed redundant break statement.
12115
12116 2001-03-14  Juergen Vigna  <jug@sad.it>
12117
12118         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12119
12120 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12121
12122         * buffer.C: add hack to fix compability reading of minipages.
12123
12124 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12125
12126         * buffer.C (getLists): Cleanup.
12127
12128 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12129
12130         * lyxfont.C (update): don't honor toggleall on font size.
12131
12132 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * bmtable.c:
12135         * bmtable.h:
12136         * Makefile.am: moved to frontends/xforms/
12137
12138         * lyx_gui_misc.C:
12139         * lyxfunc.C:
12140         * BufferView_pimpl.C: changes for moved mathpanel
12141
12142 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * gettext.h: fix gettext_init() in --disable-nls
12145
12146 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12147
12148         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12149
12150 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * lyx.C:
12153         * lyx.h: strip external form
12154
12155 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12156
12157         * BufferView_pimpl.C: add comment, destroySplash()
12158
12159 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12160
12161         * BufferView_pimpl.C:
12162         * LyXAction.C:
12163         * buffer.C:
12164         * commandtags.h:
12165         * lyxfunc.C: use re-worked insetinclude
12166
12167 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12168
12169         * buffer.C: add using std::stringstream.
12170
12171         * lyx_cb.C: readd using std::ios.
12172
12173         * buffer.C: add using std::map.
12174
12175         * BufferView_pimpl.C: add using std::vector.
12176
12177         * ShareContainer.h: add std:: to swap.
12178
12179         * buffer.h: add some typedefs
12180         * buffer.C (getLists): use them
12181         (getLists): renamed from getTocList.
12182         add a counter for the different float types and use it in the
12183         generated string.
12184         (getLists): use the same counter for the NEW_INSETS and the "non"
12185         NEW_INSETS
12186
12187         * lyx_cb.h: remove unused items, includes, using etc.
12188
12189         * ShareContainer.h: remove some commented code, add more comments
12190         and "documentation".
12191
12192 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12193
12194         * buffer.C (getTocList): make the list also when NEW_INSETS is
12195         defined.
12196
12197         * buffer.h: remove TocType
12198
12199         * buffer.C (getTocList): change to return a map<string,
12200         vector<TocItem> >, implement for dynamic number of list.
12201
12202         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12203         * text2.C (PasteSelection): adjust
12204         * CutAndPaste.C (pasteSelection): adjust
12205
12206         * FloatList.C (FloatList): update from the new_insets branch.
12207         * Floating.[Ch]: ditto
12208         * LaTeXFeatures.C: ditto
12209         * buffer.C: ditto
12210         * lyxlex_pimpl.C: ditto
12211
12212         * paragraph.C (Last): remove when NEW_INSETS is defined.
12213
12214         * other file: changes because of the above.
12215
12216 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12217
12218         * lyxparagraph.h: rename next to next_, previous to previous_,
12219         make them private for NEW_INSETS. Rename Next() to next(),
12220         Previous() to previous().
12221
12222         * other files: changes because of the above.
12223
12224 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12225
12226         * BufferView.h:
12227         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12228         problem.
12229
12230 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12231
12232         * main.C (main): pass lyx_localedir to gettext_init().
12233
12234         * gettext.h: remove locale_init and gettext_init macros
12235
12236         * gettext.C (locale_init): new function
12237         (gettext_init): new function
12238
12239         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12240         setlocale().
12241
12242 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12243
12244         * Moved credits to frontends:
12245         * credits.[Ch]: removed
12246         * credits_form.[Ch]: removed
12247         * lyx_gui_misc.C: remove credits stuff
12248         * Makefile.am:
12249
12250 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12251
12252         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12253
12254         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12255         unneeded destructor.
12256
12257         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12258         a standalone pointer again.
12259
12260         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12261
12262 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12263
12264         * Makefile.am:
12265         * filedlg.h:
12266         * filedlg.C:
12267         * LyXAction.C:
12268         * ToolbarDefaults.C:
12269         * bufferlist.C:
12270         * commandtags.h:
12271         * form1.C:
12272         * form1.h:
12273         * lyx_cb.C:
12274         * lyx_cb.h:
12275         * lyxfunc.h:
12276         * lyxfunc.C:
12277         * BufferView_pimpl.C: use new file dialog in GUII
12278
12279         * lyx_cb.h:
12280         * lyx_cb.C: remove LayoutsCB to Toolbar
12281
12282 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12283
12284         * ShareContainer.h (get): add std:: qualifier
12285
12286 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12287
12288         * ShareContainer.h: define a proper ShareContainer::value_type
12289         type (and use typename to please compaq cxx)
12290
12291 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12292
12293         * lyxparagraph.h: move serveral local vars to
12294         ParameterStruct/ParagraphParameters., use ShareContainer in
12295         FontTable., make vars in FontTable private and add getter and
12296         setter.
12297
12298         * paragraph.C: changes because of the above.
12299
12300         * lyxfont.h: remove copy constructor and copy assignment. (the
12301         default ones is ok), move number inside FontBits. move inlines to
12302         lyxfont.C
12303
12304         * lyxfont.C: add number to initializaton of statics, move several
12305         inlines here. constify several local vars. some whitespace
12306         cleanup. Dont hide outerscope variables.
12307
12308         * Spacing.h: add two new constructors to match the set methods.
12309
12310         * ShareContainer.h: new file, will perhaps be moved to support
12311
12312         * ParameterStruct.h: new file
12313
12314         * ParagraphParameters.h: new file
12315
12316         * ParagraphParameters.C: new file
12317
12318         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12319         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12320
12321         * BufferView_pimpl.C: ParagraphParameter changes.
12322         * buffer.C: Likewise.
12323         * bufferview_funcs.C: Likewise.
12324         * text.C: Likewise.
12325         * text2.C: Likewise.
12326
12327 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12328
12329         * lyxfind.C (LyXReplace): do not redefine default argument in
12330         implementation.
12331         (IsStringInText): ditto
12332         (SearchForward): ditto
12333         (SearchBackward): ditto
12334
12335 2001-03-06  Juergen Vigna  <jug@sad.it>
12336
12337         * lyxfind.C (IsStringInText): put parentes around expressions.
12338
12339 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12340
12341         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12342
12343 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12344
12345         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12346
12347         * stl_string_fwd.h: add comment
12348
12349         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12350
12351         * tabular.h:
12352         * tabular.C: remove unused DocBook methods
12353
12354         * intl.C:
12355         * language.C:
12356         * paragraph.C:
12357         * buffer.C:
12358         killed DO_USE_DEFAULT_LANGUAGE
12359
12360 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12361
12362         * lyx_gui.C: do not include language.h.
12363
12364         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12365         arguments in function implementation.
12366
12367 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12368
12369         * BufferView_pimpl.C: add <ctime>
12370
12371 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12372
12373         * BufferView_pimpl.C: add using std::find_if
12374
12375 2001-02-27  José Matos  <jamatos@fep.up.pt>
12376
12377         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12378         by OnlyPath.
12379
12380 2001-02-11  José Matos  <jamatos@fep.up.pt>
12381
12382         * buffer.C (makeDocBookFile): command styles now have a parameter as
12383         "title" by default.
12384
12385 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12386
12387         * layout_forms.[Ch]: removed
12388         * lyx_cb.[Ch]: out character
12389         * lyx_gui.C: out character
12390         * lyx_gui_misc.C: out character
12391         * bufferview_funcs.C: : out character,
12392         added toggleall as parameter in ToggleAndShow
12393
12394 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12395
12396         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12397
12398         * text2.C (SetCurrentFont): Disable number property at boundary.
12399
12400 2001-02-26  Juergen Vigna  <jug@sad.it>
12401
12402         * lyxfunc.C (getStatus): added a string argument override function so
12403         that this is correctly called from LyXFunc::Dispatch if it contains a
12404         do_not_use_argument which is used!
12405         (Dispatch): added check for "custom" export and call appropriate func.
12406
12407 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12408
12409         * lyxrc.C: Add language_command_local, language_use_babel and
12410         language_global_options.
12411
12412         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12413
12414         * buffer.C (makeLaTeXFile): Use language_use_babel and
12415         language_global_options.
12416
12417 2001-02-23  Juergen Vigna  <jug@sad.it>
12418
12419         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12420         which works with LyXText and putted it inside BufferView. Here now we
12421         only call for that part the BufferView::Dispatch() function.
12422
12423         * BufferView.C (Dispatch): added.
12424
12425         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12426         functions which needs to use a LyXText over from LyXFunc.
12427         (MenuInsertLyXFile): added
12428         (getInsetByCode): added
12429         (moveCursorUpdate): added
12430         (static TEXT): added
12431
12432 2001-02-22  Juergen Vigna  <jug@sad.it>
12433
12434         * BufferView_pimpl.C (update): call a status update to see if LyXText
12435         needs it.
12436
12437 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12438
12439         * vc-backend.C (revert): implement for CVS
12440         (getLog): implement for CVS
12441
12442 2001-02-20  Juergen Vigna  <jug@sad.it>
12443
12444         * text2.C (ClearSelection): added BufferView param for inset_owner call
12445
12446         * lyxfunc.C (TEXT): added this function and use it instead of
12447         directly owner->view()-text of getLyXText().
12448
12449 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12450
12451         * src/layout_forms.C: out preamble
12452         * src/layout_forms.h: out preamble
12453         * src/lyx_cb.C: out preamble
12454         * src/lyx_cb.h: out preamble
12455         * src/lyx_gui.C: out preamble
12456         * src/lyx_gui_misc.C: out preamble
12457         * src/lyxfunc.C: connect with guii preamble
12458
12459 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12460
12461         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12462
12463 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12464
12465         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12466         whether to run bibtex.
12467
12468 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12469
12470         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12471
12472 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12473
12474         * Makefile.am (lyx_SOURCES): removed bibforms.h
12475
12476         * vspace.h: doxygen
12477
12478         * text.C (GetVisibleRow): make several local vars const
12479
12480         * tabular.C: small cleanup.
12481
12482         * lyxserver.C (callback): use compare instead of strncmp
12483
12484         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12485         inlines to after class or to paragraph.C
12486
12487         * lyxfont.h: remove friend operator!=
12488
12489         * converter.h: move friend bool operator< to non friend and after
12490         class def.
12491
12492         * combox.h: small cleanup
12493
12494         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12495         to inlines after class def.
12496
12497         * buffer.C (pop_tag): use string operations instead of strcmp
12498
12499         * bmtable.c: doxygen, small cleanup
12500
12501         * LaTeX.h: remove friend operator==
12502
12503 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12504
12505         * screen.C:
12506         * lyxrc.[Ch]:
12507         * lyxfunc.C:
12508         * lyxfont.[Ch]:
12509         * lyx_cb.C:
12510         * intl.[Ch]:
12511         * commandtags.h:
12512         * buffer.C:
12513         * WorkArea.[Ch]:
12514         * LyXAction.C:
12515         * BufferView_pimpl.C:
12516         * BufferView.[Ch]: remove cruft
12517
12518 2001-02-14  Juergen Vigna  <jug@sad.it>
12519
12520         * lyxfunc.C: removed #if 0 unused code
12521
12522         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12523
12524         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12525
12526         * text2.C (SetSelection): added a BufferView * parameter
12527
12528 2001-02-13  Juergen Vigna  <jug@sad.it>
12529
12530         * lyxfunc.C (Dispatch): fixed protected blank problem.
12531         * BufferView2.C (protectedBlank): added LyxText * parameter.
12532
12533         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12534         (AppendColumn): same as above for column_info.
12535
12536         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12537         (moveCursorUpdate): use a LyXText param for support of InsetText.
12538
12539         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12540         (tripleClick): ditto
12541
12542         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12543
12544         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12545
12546         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12547
12548         * text2.C (SetSelection): set correct update status if inset_owner
12549         (ToggleFree): ditto
12550
12551 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12552
12553         * tabular.C: remove some commented code.
12554
12555 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12556
12557         * BufferView_pimpl.C: call hideSplash()
12558
12559         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12560
12561         * include_form.h:
12562         * bibforms.h: remove
12563
12564         * lyxfunc.C:
12565         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12566           add LFUN_CHILD_CREATE
12567
12568         * counters.h: fix tiny typo
12569
12570         * lyx_cb.C:
12571         * lyx.h:
12572         * lyx_gui.C:
12573         * lyx.C: move splash to frontends/xforms/
12574
12575         * lyx_gui_misc.C: move Include and Bibform to frontends
12576
12577         * lyxvc.h: clarify comment
12578
12579         * vspace.C: tiny housekeeping
12580
12581 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12582
12583         * text.C (PrepareToPrint): RTL Fix.
12584
12585         * paragraph.C (GetUChar): New method.
12586         (String):  Use GetUChar.
12587
12588         * buffer.C (asciiParagraph): Use GetUChar.
12589
12590 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12591
12592         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12593
12594 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12595
12596         * buffer.h:
12597         * buffer.C: rename to getLogName(), handle
12598           build log / latex log nicely
12599
12600 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12601
12602         * MenuBackend.C:
12603         * MenuBackend.h: remove support for reference menuitem type.
12604
12605 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12606
12607         * BufferView_pimpl.C: housekeeping
12608         * BufferView_pimpl.h:
12609         * LyXView.h:
12610         * Makefile.am:
12611         * Timeout.C:
12612         * Timeout.h:
12613         * minibuffer.h: move Timeout GUI-I
12614
12615 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12616
12617         * lyxrc.C (read): Update converters data-structures.
12618
12619 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12620
12621         * LaTeX.h (operator!=): add operator != for Aux_Info
12622
12623 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12624
12625         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12626
12627         * LaTeXLog.C: deleted, useful code moved to Buffer
12628
12629         * buffer.h:
12630         * buffer.C: new function getLatexLogName()
12631
12632         * lyx_gui_misc.C:
12633         * lyx_gui.C:
12634         * lyxvc.C:
12635         * lyxvc.h:
12636         * lyxfunc.C: use frontends for LaTeX and VC logs
12637
12638 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12639
12640         * LaTeX.h: yet another std:: that Allan forgot.
12641
12642         * Variables.C (set): renamed from isset(), because this clashes
12643         with some HP-UX macros (grr).
12644
12645 2001-02-06  Allan Rae  <rae@lyx.org>
12646
12647         * LaTeX.h: Another bug fix.  Missing std:: this time.
12648
12649 2001-02-04  Allan Rae  <rae@lyx.org>
12650
12651         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12652         floats problem. I've left it commented out because it's not quite
12653         correct.  It should also test that the current object is a table or
12654         figure inset.  But I haven't gotten around to figuring out how to do
12655         that.  I *think* it'll be something like: "table" == inset.type()
12656
12657         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12658         bool.
12659
12660 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12661
12662         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12663         all the citation/databases/styles in the auxilary file.
12664         (run): Rerun latex if there was a babel language error.
12665
12666 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12667
12668         * text.C (Backspace): Preserve the font when changing newline char
12669         with a space.
12670         (BreakParagraph): If the cursor is before a space, delete the space.
12671
12672         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12673
12674 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12675
12676         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12677         new argument (code).
12678         (ChangeCitationsIfUnique): New method.
12679
12680         * paragraph.C (GetPositionOfInset): Handle bibkey.
12681
12682 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12683
12684         * BufferView_pimpl.h: change type of Position::par_pos to
12685         LyXParagraph::size_type.
12686
12687 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12688
12689         * BufferView_pimpl.C (savePosition, restorePosition): Write
12690         messages to minibuffer.
12691
12692 2001-01-28  José Matos  <jamatos@fep.up.pt>
12693
12694         * buffer.C (makeDocBookFile): adds support for document language.
12695         A silly restriction on the name of LatexCommand types where removed.
12696         Added support for CDATA sections, allows to chars unescaped, used
12697         among others in code, to avoid escape < and >.
12698
12699 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12700
12701         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12702         saved positions instrad of a stack. Furthermore, a position is
12703         stored using paragraph id/paragraph position.
12704
12705         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12706         Remove LFUN_REF_BACK.
12707
12708 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12709
12710         * converter.C (dvipdfm_options): New method.
12711
12712 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12713
12714         * vspace.C (isValidLength): Fix for empty input string.
12715
12716 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12717
12718         * LyXAction.C (init): change description of LFUN_FIGURE to
12719         "Insert Graphics"
12720
12721 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12722
12723         * LaTeX.C: add using directive
12724
12725 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12726
12727         * MenuBackend.C (expand): Fix the sorting of the formats.
12728
12729 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12730
12731         * lyx_main.C: tiny error message fix
12732
12733 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12734
12735         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12736         calling fl_initialize(). This fixes the problem with ',' as
12737         decimal separator in text files.
12738
12739 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12740
12741         * trans.C (process): Fix the keymap bug.
12742
12743 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12744
12745         * LaTeX.C (scanAuxFiles): New method. Provides support for
12746         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12747         (scanLogFile) Scan for "run BibTeX" messages.
12748
12749         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12750         OT1 font encoding. Also, load the aecompl package if the ae
12751         package is loaded.
12752
12753         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12754
12755 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12756
12757         * texrow.C (increasePos): turn two error messages into debug
12758         messages.
12759
12760 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12761
12762         * LaTeX.C (scanAux): Handle the \@input macro.
12763         (runBibTeX): Use scanAux().
12764
12765         * language.C (latex_options_): New field.
12766
12767         * LaTeXFeatures.C (getMacros): Add language macros.
12768
12769         * buffer.C (makeLaTeXFile): Small fix.
12770
12771 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12772
12773         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12774
12775         * text2.C: add a using directive.
12776
12777 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12778
12779         * BufferView2.C:
12780         * lyx_gui_misc.h:
12781         * lyxfr1.C:
12782         * lyxfunc.C: kill LyXBell.
12783
12784 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12785
12786         * text.C (IsBoundary): Remove the error message
12787
12788         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12789
12790         * lyxrc.C (setDefaults): Correct initialization value for
12791         font_norm_type.
12792
12793 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12794
12795         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12796         gotoError().
12797
12798         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12799         and GotoNextNote().
12800
12801         * src/LyXAction.C: Added reference-next.
12802
12803         * text.C (InsertChar): Use contains instead of strchr.
12804
12805         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12806
12807 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12808
12809         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12810         alignment commands (when needed).
12811
12812         * text.C (InsertChar): Add ':' to number separator chars.