]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Remove unused LColor::color framecolor variable from insetcollabsable.h
[lyx.git] / src / ChangeLog
1 2003-09-16  Angus Leeming  <leeming@lyx.org>
2
3         * bufferparams.C:
4         * bufferview_funcs.C:
5         * factory.C:
6         * lyxfunc.C:
7         * paragraph_pimpl.C:
8         * rowpainter.C:
9         * text.C: add #include "LColor.h".
10
11 2003-09-16  Angus Leeming  <leeming@lyx.org>
12
13         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph, setUnderbar,
14         setNoun, setNumber, setColor, setLanguage): no longer return LyXFont &.
15         Store the FontBits::color variable as an int rather than as an LColor::color
16         so that we can move LColor.h out of the lyxfont.h header file.
17
18         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
19         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot string
20         calls together.
21
22         * lyxrc.C: add #include "LColor.h".
23
24 2003-09-15  Angus Leeming  <leeming@lyx.org>
25
26         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as a cow_ptr.
27
28 2003-09-15  Angus Leeming  <leeming@lyx.org>
29
30         * LColor.h: add an EnumLColor wrapper for LColor::color.
31
32         * lyxfont.[Ch] (color, setColor, realColor):
33         * lyxtext.h, text.C (backgroundColor):
34         pass EnumLColor args to/from the functions, rather than LColor::color ones.
35
36         * lyxfont.h:
37         * lyxtext.h: forward declare EnumLColor.
38
39         * lyx_main.C: add #include "LColor.h".
40
41 2003-09-15  Angus Leeming  <leeming@lyx.org>
42
43         * .cvsignore: add lyx-gtk.
44
45 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
46
47         * Chktex.C
48         * LaTeX.C
49         * LaTeXFeatures.C
50         * ParagraphParameters.C
51         * Spacing.C
52         * buffer.C
53         * bufferparams.C
54         * bufferview_funcs.C
55         * chset.C
56         * counters.C
57         * funcrequest.C
58         * lyxfont.C
59         * lyxgluelength.C
60         * lyxlength.C
61         * paragraph.C
62         * paragraph_funcs.C
63         * text3.C
64         * vc-backend.C: remove usage of STRCONV
65
66 2003-09-15  Angus Leeming  <leeming@lyx.org>
67
68         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
69         explicitly define the color passed to the painter.
70
71 2003-09-15  Angus Leeming  <leeming@lyx.org>
72
73         * bufferparams.C (BufferParams): reorder member initializers to avoid
74         compiler warning.
75
76 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
77
78         * CutAndPaste.C (pasteSelection): remove an outdated #warning
79         * text.C (updateRowPositions): remove an unusual nop
80
81 2003-09-12  André Pönitz  <poenitz@gmx.net>
82
83         * BufferView_pimpl.C:
84         * Bullet.C:
85         * layout.h:
86         * lyxfunc.C:
87         * lyxlayout.[Ch]:
88         * lyxtextclass.C:
89         * rowpainter.C:
90         * text.C:
91         * text2.C:
92         * Counters.[Ch]: finish the 'automatic counters' job
93
94 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
95
96         * aspell.C: include <boost/assert.cpp> (compile fix)
97
98 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
99
100         * boost.C (assertion_failed): use lyx::support::abort instead of
101         assert.
102
103 2003-09-10  Angus Leeming  <leeming@lyx.org>
104
105         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
106         _fwd progeny.
107
108 2003-09-09  Angus Leeming  <leeming@lyx.org>
109
110         134 files throughtout the source tree: replace 'using namespace abc;'
111         directives with the appropriate 'using abc::xyz;' declarations.
112
113 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
114
115         * boost.C (emergencyCleanup): moved here from LAssert.c
116         (assertion_failed): new function, called by BOOST_ASSERT
117
118         * several files: change Assert to BOOST_ASSERT
119
120 2003-09-09  Angus Leeming  <leeming@lyx.org>
121
122         * buffer.[Ch]: Add an Impl class and move Buffer's member
123         variables into it. As a result move several header files out of
124         buffer.h.
125
126         Add header files to lots of .C files all over the tree as a result.
127
128 2003-09-09  Angus Leeming  <leeming@lyx.org>
129
130         * buffer.[Ch]: make Buffer's member variables private. Add
131         accessor functions.
132
133         Lots of changes all over the tree as a result.
134
135 2003-09-08  Angus Leeming  <leeming@lyx.org>
136
137         * graph.C: #include <config.h>.
138
139 2003-09-08  Angus Leeming  <leeming@lyx.org>
140
141         * BranchList.C:
142         * BufferView.C:
143         * BufferView_pimpl.C:
144         * CutAndPaste.C:
145         * DepTable.C:
146         * LaTeX.C:
147         * LaTeXFeatures.C:
148         * LyXAction.C:
149         * MenuBackend.C:
150         * TextCache.C:
151         * aspell.C:
152         * buffer.C:
153         * bufferlist.C:
154         * changes.C:
155         * chset.C:
156         * converter.C:
157         * counters.C:
158         * debug.C:
159         * graph.C:
160         * ispell.C:
161         * lyx_cb.C:
162         * lyxfind.C:
163         * lyxfunc.C:
164         * lyxlex_pimpl.C:
165         * lyxrc.C:
166         * lyxrow.C:
167         * paragraph.C:
168         * rowpainter.C:
169         * texrow.C:
170         * text.C:
171         * text2.C:
172         * toc.C: remove redundant using directives.
173
174 2003-09-07  Angus Leeming  <leeming@lyx.org>
175
176         * LaTeXFeatures.h: remove #include "support/types.h".
177         * ToolbarBackend.h: remove #include <algorithm>.
178         * changes.h: remove #include <ctime>.
179         * debug.h: remove #include <iosfwd>.
180         * graph.h: remove #include "support/std_string.h".
181         * lyx_main.h: remove #include <csignal>.
182         * lyxlex_pimpl.h: remove #include <fstream>.
183         * sgml.h: remove #include <algorithm>, <utility>.
184         * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
185
186 2003-09-07  Angus Leeming  <leeming@lyx.org>
187
188         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
189
190         * converter.h: forward declare LatexRunParams.
191         * encoding.h: remove #include "lyxrc.h".
192         * lyxtext.h: remove #include "LColor.h".
193         * lyxtextclass.h: remove #include "support/types.h".
194         * trans.h: remove #include "tex-accent.h".
195         * trans_mgr.h: remove #include "tex-accent.h".
196         * insets/inset.h: remove #include "support/types.h", <vector>.
197         * insets/insetcollapsable.h: remove #include "LColor.h".
198         * insets/insetinclude.h: remove #include "dimension.h".
199         * insets/insetlatexaccent.h: remove #include "dimension.h".
200         * insets/insetoptarg.h:: remove #include "insettext.h".
201         * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
202
203         * insets/renderers.h: add #include "dimension.h".
204         * insets/updatableinset.h: add #include "support/types.h".
205
206         * many .C files: Associated changes.
207
208 2003-09-06  Angus Leeming  <leeming@lyx.org>
209
210         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
211         inside testInvariant.
212
213         * PrinterParams.C: new file.
214         * PrinterParams.[Ch]: move the function bodies out of line.
215
216 2003-09-06  Angus Leeming  <leeming@lyx.org>
217
218         * ParagraphParameters.h: forward declare ParameterStruct rather than
219         including its header file.
220         (depth): moved out-of-line.
221
222 2003-09-06  Angus Leeming  <leeming@lyx.org>
223
224         * BufferView_pimpl.h:
225         * kbmap.h:
226         * kbsequence.h:
227         * lyxfunc.h: forward declare LyXKeySym rather than
228         #include "frontends/LyXKeySym.h".
229
230         * BufferView_pimpl.C:
231         * kbmap.C:
232         * kbsequence.C:
233         * lyxfunc.C: associated changes.
234
235 2003-09-06  Angus Leeming  <leeming@lyx.org>
236
237         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
238         As a result, can remove the #include "insets/inset.h" from BufferView.h
239
240 2003-09-06  Angus Leeming  <leeming@lyx.org>
241
242         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
243         As a result, can remove the #include "insets/inset.h" from BufferView.h
244
245 2003-09-06  Angus Leeming  <leeming@lyx.org>
246
247         * buffer_funcs.C:
248         * buffer.h:
249         * bufferlist.C:
250         * BufferView.C:
251         * bufferview_funcs.C:
252         * BufferView_pimpl.C:
253         * CutAndPaste.C:
254         * lyx_cb.C:
255         * lyxfunc.C:
256         * paragraph.h:
257         * ParagraphParameters.C:
258         * tabular.C:
259         * text3.C:
260         * toc.C:
261         * undo_funcs.C:
262         * frontends/controllers/ControlDocument.C:
263         * insets/insetcaption.C: rearrange the #includes into some sort of
264         coherent order.
265
266         * buffer.h: remove #includes ErrorList.h, undo.h
267
268 2003-09-06  Angus Leeming  <leeming@lyx.org>
269
270         * support/types.h: add a 'depth_type' typedef, used to store the
271         nesting depth of a paragraph.
272
273         * paragraph.h:
274         * ParameterStruct.h: use this lyx::depth_type typedef rather than
275         defining explicitly.
276
277         * buffer.h:
278         * paragraph_funcs.h:
279         * ParagraphParameters.h:
280         * sgml.h: use lyx::depth_type rather than Paragraph or
281         ParameterStruct's depth_type.
282
283         * buffer.h
284         * paragraph_funcs.h: no need to #include paragraph.h anymore.
285
286         * BufferView.C:
287         * BufferView_pimpl.C:
288         * CutAndPaste.C:
289         * ParagraphParameters.C:
290         * buffer_funcs.C:
291         * bufferlist.C:
292         * bufferview_funcs.C:
293         * lyx_cb.C:
294         * lyxfunc.C:
295         * tabular.C:
296         * text3.C:
297         * toc.C:
298         * undo_funcs.C:
299         * frontends/LyXView.C:
300         * frontends/controllers/ControlDocument.C:
301         * frontends/controllers/ControlErrorList.C:
302         * insets/insetbibitem.C:
303         * insets/insetbranch.C:
304         * insets/insetcaption.C:
305         * insets/insetcollapsable.C:
306         * insets/insetenv.C:
307         * insets/insetert.C:
308         * insets/insetfloat.C:
309         * insets/insetfoot.C:
310         * insets/insetfootlike.C:
311         * insets/insetnewline.C:
312         * insets/insetquotes.C:
313         * insets/insettabular.C:
314         * insets/insettext.C:
315         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
316
317         * frontends/controllers/ControlChanges.C: #include "changes.h".
318
319 2003-09-06  Angus Leeming  <leeming@lyx.org>
320
321         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
322         #including paragraph.h.
323
324         * ParagraphList.h:
325         * RowList.h: deleted. Superfluous.
326
327         * CutAndPaste.h:
328         * iterators.h:
329         * lyxcursor.h:
330         * lyxtext.h:
331         * text_funcs.h:
332         * undo.h:
333         * undo_funcs.h:
334         * insets/inset.h:
335         * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
336
337         * paragraph.h: don't forward declare ParagraphList.
338
339         * buffer.h:
340         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
341         rather than ParagraphList.h. paragraph.h is still needed for the
342         Paragraph::depth_type parameters.
343
344         * textcursor.h: enable it to compile stand-alone in light of the
345         above changes.
346
347         * bufferview_funcs.C:
348         * iterators.C:
349         * lyxfunc.C:
350         * lyxrow_funcs.C:
351         * paragraph.C:
352         * rowpainter.C:
353         * text.C:
354         * text2.C:
355         * text3.C:
356         * text_funcs.C:
357         * textcursor.C:
358         * undo.C:
359         * frontends/controllers/ControlParagraph.C:
360         * frontends/controllers/ControlTabular.C:
361         * insets/insetmarginal.C:
362         * insets/insetminipage.C:
363         * insets/insetnote.C:
364         * insets/insetoptarg.C: add header files needed to compile again.
365
366 2003-09-06  Angus Leeming  <leeming@lyx.org>
367
368         * RowList_fwd.h: new file, forward-declaring Row rather than
369         #including lyxrow.h.
370
371         * lyxrow_funcs.h:
372         * lyxtext.h:
373         * paragraph.h:
374         * insets/insettext.h: use it instead of RowList.h
375
376         * bufferview_funcs.C:
377         * lyxfunc.C:
378         * lyxrow_funcs.C:
379         * paragraph.C:
380         * rowpainter.C:
381         * text.C:
382         * text2.C:
383         * text3.C: #include "RowList.h".
384
385 2003-09-05  Angus Leeming  <leeming@lyx.org>
386
387         * factory.C (createInset):
388         * vspace.C (c-tor): replace sscanf call with an istringstream.
389         * ispell.C: re-add missing HP/UX headers.
390         * lyxserver.C: re-add missing  os2 headers.
391
392 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
393
394         * BranchList.C:
395         * graph.C:
396         * ispell.C:
397         * lastfiles.C:
398         * lyx_cb.C:
399         * lyxserver.C:
400         * texrow.C:
401         * text3.C: re-add missing system headers, needed for 2.95.2.
402
403 2003-09-05  Angus Leeming  <leeming@lyx.org>
404
405         Changes most place everywhere due to the removal of using directives
406         from support/std_sstream.h.
407
408 2003-09-05  Angus Leeming  <leeming@lyx.org>
409
410         Replace LString.h with support/std_string.h,
411         Lsstream.h with support/std_sstream.h,
412         support/LIstream.h with support/std_istream.h,
413         support/LOstream.h with support/std_ostream.h.
414
415         Changes resulting throughout the tree.
416
417 2003-09-05  Angus Leeming  <leeming@lyx.org>
418
419         * sgml.h: ensure that the header file can be compiled stand-alone.
420         * *.C: strip out redundant #includes. (320 in total.)
421
422 2003-09-04  Angus Leeming  <leeming@lyx.org>
423
424         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
425         here (from getPackages).
426
427         * debug.[Ch]: add a new EXTERNAL tag.
428
429 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
430
431         * text2.C (cursorEnd): simplify
432         (setCursor): adjust
433         (getColumnNearX): adjust
434
435         * text.C (computeBidiTables): adjust
436         (fill): adjust
437
438         * rowpainter.C (paintChars): adjust
439         (paintSelection): adjust
440         (paintChangeBar): adjust
441         (paintText): adjust
442
443         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
444         lastPos instead.
445         (numberOfSeparators): adjust
446
447 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
448
449         * LyXAction.C:
450         * box.[Ch]:
451         * lfuns.h:
452         * lyxfunc.C:
453         * text3.C: Restricts the mouse click functionality
454         of insets like bibtex, include, toc and floatlist to the visible
455         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
456         up the dialogs. Cursor has to be in front of the inset (i.e.
457         start of row) for this to function.
458
459 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
460
461         * bufferview_funcs.C (currentState): output row information
462
463 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
464
465         * bufferview_funcs.C (currentState): output paragraph position
466
467 2003-09-04  Angus Leeming  <leeming@lyx.org>
468
469         * FloatList.h: move out #include "Floating.h".
470         * LaTeX.h: move out #include "DepTable.h".
471         * LyXAction.h: move out #include "funcrequest.h".
472         * buffer.h: move out #include "author.h", "iterators.h".
473         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
474         * lyx_main.h: move out #include "errorlist.h".
475         * lyxfunc.h: move out #include "FuncStatus.h".
476         * lyxtext: move out #include "lyxcursor.h".
477         * paragraph_pimpl.h: move out #include "counters.h".
478
479 2003-09-03  Angus Leeming  <leeming@lyx.org>
480
481         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
482         preamble_snippets list, enabling us to add snippets to the preamble only
483         if the snippet was not there already.
484
485 2003-09-04  Angus Leeming  <leeming@lyx.org>
486
487         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
488
489 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
490
491         * lyxfunc.C (dispatch): if fitCursor did something be sure to
492         update
493
494 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
495
496         * BranchList.C: point fix, earlier forgotten
497
498 2003-09-02  Angus Leeming  <leeming@lyx.org>
499
500         * box.C (contains): renamed from 'contained' after a fantastic
501         amount of hot air.
502
503 2003-09-02  John Levon  <levon@movementarian.org>
504
505         * BufferView.C:
506         * lyxcursor.h:
507         * lyxcursor.C:
508         * lyxfunc.C:
509         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
510
511 2003-09-02  John Levon  <levon@movementarian.org>
512
513         * text2.C: simplification of cursorEnd(), including partial
514         fix for bug 1376
515
516 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
517
518         * buffer.C (readFile): add a space
519
520 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
521
522         * BufferView_pimpl.C (update): remove bogus fitCursor() call
523
524 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
525
526         * buffer.C (readFile): new function, take a filename and a
527         ParagraphList::iterator
528         (readFile): adjust
529         (readFile): adjust, make it private. don't use setStream, make
530         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
531         always contain the filename.
532
533         * BufferView.C (insertLyXFile): simplify and make it work for
534         gzipped files.
535
536 2003-08-30  John Levon  <levon@movementarian.org>
537
538         * Makefile.am: fix dist (from Kayvan)
539
540 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
541
542         * most files: change to use const Buffer refs
543
544 2003-08-27  André Pönitz  <poenitz@gmx.net>
545
546         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
547         on top of ownerPar().
548
549 2003-08-27  John Levon  <levon@movementarian.org>
550
551         * funcrequest.C: properly initialise POD members
552
553 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
554
555         * lyxtext.h (top_y): move top_y from here
556         * text.C:
557         * text2.C:
558         * text3.C:
559         * BufferView.[Ch]:
560         * BufferView_pimpl.[Ch]: to here
561         * frontends/screen.C:
562         * insets/insettabular.C:
563         * insets/insettext.C: adjust
564         * rowpainter.[Ch] (paintRows): remove LyXText & argument
565
566 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
567
568         * BufferView.[Ch]:
569         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
570
571 2003-08-26  André Pönitz  <poenitz@gmx.net>
572
573         * paragraph_func.[Ch] (outerPar): new function
574
575         * paragraph.C:
576         * paragraph_funcs.C:
577         * paragraph_funcs.h:
578         * paragraph_pimpl.C:
579         * text2.C: remove Inset::par_owner
580
581 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
582
583         * lyxrow_funcs.C:
584         * lyxtext.h:
585         * text.C:
586         * text2.C: eliminates the needFullRow/display() stuff
587         altogether, putting the logic in metrics/draw in the insets.
588
589 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
590
591         * text2.C (redoParagraphInternal, redoParagraphs):
592         * text.C (redoParagraph): add a call to updateRowPositions at the
593         end of each 'metrics-like' call. Remove all others.
594         (getRow): remove the 'y-computing' version.
595         (getRowNearY): do not compute nor return the real y. Solve the
596         'y < 0' problem and simplify.
597
598 2003-08-22  Angus Leeming  <leeming@lyx.org>
599
600         * *.[Ch]: clean-up of licence and author blurbs.
601         Also move config.h out of a few .h files and into a few .C files.
602
603 2003-08-22  André Pönitz  <poenitz@gmx.net>
604
605         * lyxrow.[Ch]: add x_ and *fill_ members
606
607         * lyxtext.h:
608         * text.C:
609         * rowpainter.C:
610         * text2.C: adjust/remove prepareToPrint() calls
611
612 2003-08-22  André Pönitz  <poenitz@gmx.net>
613
614         * lyxrow.[Ch]: add  end_ member
615
616         * lyxrow_funcs.C: use LyXRow::end_
617
618         * lyxtext.h (singleWidth): add LyXFont parameter
619
620         * rowpainter.C:
621         * text2.C: adjust LyXText::singleWidth() calls
622
623         * text.C (redoParagraph): simplify row breaking logic
624
625
626 2003-08-19  André Pönitz  <poenitz@gmx.net>
627
628         * funcrequest.C: initialize button_ member
629
630         * text3.C:
631         * rowpainter.[Ch]: interface consolidation
632
633 2003-08-18  André Pönitz  <poenitz@gmx.net>
634
635         * BufferView.C:
636         * BufferView_pimpl.C:
637         * lyxfind.C:
638         * paragraph_funcs.C:
639         * rowpainter.C:
640         * text3.C: remove LyXScreen::draw() and fitCursor calls
641
642         * BranchList.h: remove spurious semicolons
643
644         * MenuBackend.C: fix branchlist related crash
645
646 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
647
648         * BranchList.[Ch]:
649         * InsetList.[Ch]:
650         * LColor.[Ch]:
651         * LyXAction.C:
652         * Makefile.am:
653         * MenuBackend.[Ch]:
654         * bufferparams.[Ch]:
655         * factory.C:
656         * lfuns.h:
657         * lyxfunc.C:
658         * text3.C: implements the 'branch inset'
659         idea. This allows the output of various versions of a document
660         from a single source version, selectively outputing or suppressing
661         output of parts of the text.
662         This implementation contains a 'branch list editor' in a separate
663         tab of the document settings dialog. Branches are user definable
664         and have a "display colour" to distinguish them on-screen.
665
666         ColorHandler was somewhat cleaned up.
667         (1) make possible a dynamically growing LColor list by allowing
668         the graphic context cache to grow along (vector);
669         (2) eliminate an IMHO unnecessary step in colour allocation.
670
671 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
672
673         * BufferView_pimpl.C: compile fix
674
675 2003-08-15  André Pönitz  <poenitz@gmx.net>
676
677         * rowpainter.C: remove extra metrics calls
678
679         * lyxtext.h: merge the two constructors into a single one,
680           pass reference to owner's par list
681
682         * BufferView_pimpl.C:
683         * text.C:
684         * text2.C: adjust
685
686 2003-08-15  André Pönitz  <poenitz@gmx.net>
687
688         * lyxrow_funcs.[Ch]:
689         * lyxtext.h:
690         * paragraph.h:
691         * paragraph_funcs.C:
692         * rowpainter.C:
693         * text.C:
694         * text2.C:
695         * text3.C:
696         * text_funcs.C: split LyXText::rowlist_ into individual
697         Paragraph::rows_ chunks
698
699         * BufferView.[Ch]:
700         * BufferView_pimpl.[Ch]:
701         * lyxfind.C:
702         * lyxtext.h:
703         * text3.C: remove toggleSelection()
704
705 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
706
707         * bufferlist.C: beautify two alerts (shorter text of buttons)
708         * buffer.C: Remove redundant ' ' from message
709         * tabular.h:
710         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
711         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
712         rename VALIGN_CENTER to VALIGN_MIDDLE
713
714 2003-08-11  André Pönitz  <poenitz@gmx.net>
715
716         * lyxtext.h (getPar):
717         * text.C: new function
718
719 2003-08-11  André Pönitz  <poenitz@gmx.net>
720
721         * Makefile.am:
722         * tracer.[Ch]: remove unneeded files
723
724         * InsetList.[Ch]: remove resizeInsetsLyXText()
725
726         * lyxtext.h:
727         * text.C:
728         * text2.C:
729         * text3.C: merge insertParagraphs() and appendParagraph()
730         remove breakAgain(), update()
731
732         * BufferView_pimpl.[Ch]:
733         * bufferview_funcs.[Ch]:
734         * lyxfunc.C:
735         * paragraph.[Ch]:
736         * rowpainter.C:
737         * tabular.C: adjust after text & InsetList changes.
738
739 2003-08-08  André Pönitz  <poenitz@gmx.net>
740
741         * text.C (insertChar, backspace): replace rowlist fiddling
742         with rebreak of full par
743
744         * lyxtext.h:
745         * text.C (breakAgainOneRow, redoHeightOfParagraph,
746         checkParagraph, updateInset): removed
747
748 2003-08-07  André Pönitz  <poenitz@gmx.net>
749
750         * paragraph.C:
751         * text3.C: merge some LFUN handlers, remove dead code
752
753 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
754
755         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
756
757 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
758
759         * text2.C (DEPM): fix part of bug 1255 and 1256
760
761 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
762
763         * BufferView_pimpl.C (workAreaDispatch): change to use
764         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
765         that are no mouse related.
766
767 2003-08-05  André Pönitz  <poenitz@gmx.net>
768
769         * BufferView.[Ch]:
770         * BufferView_pimpl.[Ch]:
771         * bufferview_funcs.C:
772         * text2.C:
773         * text3.C: rip out "deep update"
774
775         * textcursor.[Ch] (last_sel_cursor): remove unused member
776
777 2003-08-04  André Pönitz  <poenitz@gmx.net>
778
779         * BufferView.[Ch]:
780         * BufferView_pimpl.[Ch]:
781         * ParagraphParameters.C:
782         * bufferview_funcs.C:
783         * lyx_cb.C:
784         * lyxfind.C:
785         * lyxfunc.C:
786         * text.C:
787         * text2.C:
788         * text3.C: replace "complicated" BufferView::update(...) calls with
789         simpler ones.
790
791         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
792
793 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
794
795         * Makefile.am (lyx_SOURCES): add paper.h
796
797 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
798
799         * Makefile.am: move things around so that both lyx-qt and
800         lyx-xforms can be built (according to --with-frontend). Then lyx
801         is a symbolic link to lyx-[firstfrontend]
802
803 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
804
805         * Always use std::endl with lyxerr
806
807 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
808
809         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
810
811 2003-08-01  André Pönitz  <poenitz@gmx.net>
812
813         * BufferView.[Ch]:
814         * BufferView_pimpl.[Ch]:
815         * lyxfunc.C:
816         * text3.C: merge BufferView::repaint() and BufferView::update()
817
818 2003-08-01  José Matos  <jamatos@lyx.org>
819
820         * buffer.[Ch]: file_format is no longer a buffer data element.
821
822 2003-08-01  André Pönitz  <poenitz@gmx.net>
823
824         * BufferView.C:
825         * lyxtext.h:
826         * text.C:
827         * text2.C: make redoParagraph more independent of current cursor
828
829         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
830         * text.C:
831         * text2.C: remove unneeded members
832
833 2003-07-30  André Pönitz  <poenitz@gmx.net>
834
835         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
836
837         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
838           create a single function...
839
840         * paragraph_funcs.C (moveItem): ... here.
841
842         * text.C:
843           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
844
845 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
846
847         * LColor.[Ch]: Add comment and greyedout logical colors.
848
849 2003-07-30  André Pönitz  <poenitz@gmx.net>
850
851         * tabular.C: don't use Assert too heavily. This crashes where it
852           shouldn't
853
854 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
855
856         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
857         is disabled (bug 1232)
858
859 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
860
861         * factory.C: limited 'arg' scope
862
863 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
864
865         * factory.C: fixed Note submenu issues
866
867 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
868
869         * factory.C: submenu for Note/Comment/Greyedout
870
871 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
872
873         * lyx_main.C (LyX):
874         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
875
876 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
877
878         * LaTeXFeatures.C:
879         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
880         greyedout. Patch provided by Jürgen Spitzmüller.
881
882 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
883
884         * kbmap.C (read): fix error message when reading bind files
885
886 2003-07-29  Angus Leeming  <leeming@lyx.org>
887
888         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
889         certainly does not do what it purports to do. I am doing it, and
890         us, a favour by killing it.
891
892 2003-07-28  José Matos  <jamatos@lyx.org>
893
894         * buffer.C (readBody, do_writeFile):
895         * paragraph.C(readParagraph): \end_document replaces \the_end.
896
897 2003-07-29  André Pönitz  <poenitz@gmx.net>
898
899         * BufferView.[Ch]:
900         * BufferView_pimpl.[Ch]:
901         * lyxfunc.C:
902         * text2.C:
903         * text3.C:
904         * textcursor.[Ch]: remove toggleToggle & Co
905
906 2003-07-28  José Matos  <jamatos@fep.up.pt>
907
908         * buffer.C (readParagraph):
909         * params_func (readParToken, readParagraph):
910         * paragraph.C (write): \layout -> \begin_layout.
911
912 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
913
914         * lyxlex_pimpl.C (setFile): clean up slightly.
915
916         * bufferparams.h: add compressed var
917
918         * buffer_funcs.C (readFile): adjust for LyXLex change
919         (newFile): ditto + simplify
920
921         * buffer.C (writeFile): handle writing of compressed files
922
923         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
924         Check if the file is compressed and set a bufferparm if so.
925
926         * Makefile.am (lyx_LDADD): remove explicit -lz
927
928 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
929
930         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
931         makeDocBookFile): put the real LyX version in the first line of
932         the file
933
934         * version.h:
935         * version.C.in: remove lyx_docversion
936
937         * tabular.C (write_attribute): add a template-based version to
938         write enums properly
939
940 2003-07-28  André Pönitz  <poenitz@gmx.net>
941
942         * lyxtext.h:
943         * text.C:
944         * text2.C:
945         * text3.C: use doubles again for x-coordinates. They are needed.
946
947 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
948
949         * messages.C (getLocaleDir): use lyx_localedir()
950
951         * lyxlex_pimpl.C (setFile): compress stuff
952
953         * buffer.C (writeFile): add some compression stuff
954         (do_writeFile): new func, dont call expliti close... will this
955         breake anything?
956
957         * Makefile.am (lyx_LDADD): add -lz
958
959 2003-07-28  José Matos  <jamatos@fep.up.pt>
960
961         * buffer.C: increment file format.
962         * paragraph_funcs (readParagraph, readParToken):
963         * paragraph.C (readParagraph): add \end_layout.
964
965 2003-07-27  Angus Leeming  <leeming@lyx.org>
966
967         * Makefile.am: remove special casing for configure-time setting of
968         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
969
970         * lyx_main.C (init): remove all Jean-Marc's magic setting of
971         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
972
973 2003-07-26  André Pönitz  <poenitz@gmx.net>
974
975         * paragraph_func.[Ch]:
976         * paragraph.C (realizeFont): inline it whereever it is used
977
978         * rowpainter.C:
979         * text.C:
980         * text2.C:
981         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
982
983
984 2003-07-26  André Pönitz  <poenitz@gmx.net>
985
986         *       lyxtext.h:
987         * text.C:
988         * text2.C: get rid of LyXText::need_break_row
989
990 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
991
992         * toc.[Ch]: put namespace toc inside namespace lyx
993
994         * MenuBackend.C (expandToc2): adjust for lyx::toc
995         (expandToc): ditto
996
997         * lyxfunc.C (dispatch): adjust for lyx::find
998
999         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1000         lyx::find instead. Reorganize a bit.
1001         (LyXReplace): rename to replace
1002         (LyXFind): rename to find
1003
1004         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1005         (dispatch): ditto
1006
1007 2003-07-26  André Pönitz  <poenitz@gmx.net>
1008
1009         * text.C (setHeightOfRow): restrict scope of temporary variable
1010
1011         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1012           code (never has been used?)
1013
1014 2003-07-27  Asger Alstrup  <alstrup@local>
1015
1016         * text.C (fill): Optimise algorithm to exploit that we can reuse
1017         the LyXFont for many characters.
1018         (setHeightOfRow): Same thing.
1019         (rowBreakPoint): Same thing.
1020
1021 2003-07-26  Asger Alstrup  <alstrup@local>
1022
1023         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1024
1025         * text.C (singleWidth): Spurious font copying in hot-spot
1026         singleWidth avoided. Reorder tests for arabic for efficiency.
1027
1028         * text.C (fill): handle empty paragraphs better.
1029
1030 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1031
1032         * ispell.C:
1033         * encoding.h: add includes
1034
1035         * lyxrc.C: remove reading of bind files
1036
1037         * lyx_main.C (init): setup bindings and menus only if we have a
1038         gui.
1039
1040         * kbmap.C (read): new method. Do the actual reading of bind
1041         files.
1042
1043         * converter.C (dvipdfm_options):
1044         * bufferparams.C:
1045         * lyxrc.C (read):
1046         (output): adapt PAPER_* enums.
1047
1048         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1049
1050         * bufferparams.h: remove paper-related enums from there
1051
1052         * paper.h: New file. A trivial header file to hold paper-related
1053         enums. It should later expand to contain many paper-related
1054         horrors access.
1055
1056         * lyxrc.C: declare extern displayTranslator
1057
1058 2003-07-27  José Matos  <jamatos@fep.up.pt>
1059
1060         * tabular.[Ch] (linuxdoc): add support for tables and figures
1061         (linuxdoc).
1062
1063 2003-07-27  José Matos  <jamatos@fep.up.pt>
1064
1065         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1066         consistency in both functions.
1067         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1068
1069 2003-07-26  Asger Alstrup  <alstrup@local>
1070
1071         * rowpainter.C (paintRows): Change algorithm to work directly on
1072         the insets rather than asking every character in the document
1073         whether its an inset.
1074
1075 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1076
1077         * buffer.C (openFileWrite): factorize some code
1078
1079 2003-07-26  Angus Leeming  <leeming@lyx.org>
1080
1081         * lyx_cb.C:
1082         * lyx_main.[Ch]: replace occurances of system_tempdir with
1083         os::getTmpDir().
1084
1085 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1086
1087         * rename Inset to InsetOld
1088
1089 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1090
1091         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1092         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1093         which I think is a bit clearer. EDIT is gone, since it was
1094         premature optimisation, and broken for mathed anyway.
1095         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1096         with cursor positioning in insets as well (math insets still do not
1097         work, but that's a different story anyway.) It mysteriously
1098         crashes sometimes with undo in the first paragraph, but I'm fairly
1099         confident that this is a compiler bug.
1100
1101 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1102
1103         * paragraph.C (Paragraph): adjust for new clone return type
1104         (operator==): ditto
1105         (copyIntoMinibuffer): ditto
1106
1107 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1108
1109         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1110         by not having a special case, and always doing a full rebreak of
1111         the document after undo.
1112
1113 2003-07-23  Angus Leeming  <leeming@lyx.org>
1114
1115         * factory.C (createInset): InsetExternal::setParams now takes a
1116         Buffer const * arg.
1117
1118 2003-07-23  Angus Leeming  <leeming@lyx.org>
1119
1120         * factory.C (createInset): changed interface to the external and
1121         graphics mailers' string2params functions.
1122
1123 2003-07-23  Angus Leeming  <leeming@lyx.org>
1124
1125         * factory.C (createInset): pass a
1126         Buffer const * parameter to InsetExternalMailer's string2params.
1127
1128 2003-07-22  John Levon  <levon@movementarian.org>
1129
1130         * Thesaurus.h: include the right aiksaurus header
1131
1132 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1133
1134         * MenuBackend.C (expand): check menu shortcuts unconditionally
1135
1136 2003-07-21  Angus Leeming  <leeming@lyx.org>
1137
1138         * factory.C (createInset): pass a
1139         buffer_path parameter to InsetGraphicsMailer's string2params.
1140
1141 2003-07-21  Angus Leeming  <leeming@lyx.org>
1142
1143         * BufferView_pimpl.C (buffer):
1144         * buffer.C (d-tor):
1145         * lyx_main.C (LyX):
1146         * lyxfunc.C (dispatch):
1147         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1148         rather than the grfx shortcut.
1149
1150 2003-07-21  André Pönitz  <poenitz@gmx.net>
1151
1152         * rowpainter.C: remove unused variables
1153
1154         * tabular_funcs.C:
1155         * tabular_funcs.h: move to tabular.C
1156         * Makefile.am: adjust
1157
1158         * tabular.[Ch]: basic optical cleaning
1159
1160         * author.h: pass references, not values
1161
1162 2003-07-18  André Pönitz  <poenitz@gmx.net>
1163
1164         * lyxtext.h:
1165         * metricsinfo.C:
1166         * metricsinfo.h:
1167         * rowpainter.C:
1168         * text.C:
1169         * text2.C:
1170         * text3.C: two-phase drawing for InsetText and InsetTabular
1171         some float -> int changes.
1172
1173 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1174
1175         * lyx_main.C: fix the fix
1176
1177 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1178
1179         * lyx_main.C: fix a crash in batch mode if no files specified
1180         * converter.C: ws
1181
1182 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1183
1184         * format.[Ch] (papersize): moved to BufferParams
1185         * converter.[Ch] (dvips_options): moved to BufferParams
1186         (dvipdfm_options): moved to anon namespace
1187         * bufferparams.[Ch]: added above functions.
1188
1189 2003-07-17  André Pönitz  <poenitz@gmx.net>
1190
1191         * lyxtext.h:
1192         * rowpainter.C:
1193         * text2.C: don't call inset->update() anymore
1194
1195         * metricsinfo.[Ch]: add convenience constructor
1196
1197 2003-07-16  André Pönitz  <poenitz@gmx.net>
1198
1199         * lyxcursor.[Ch]:
1200         * lyxfunc.[Ch]:
1201         * text.C:
1202         * text2.C: replace the LyXCursor::irow_ member with
1203          on-demand computation of the value
1204
1205 2003-07-16  John Levon  <levon@movementarian.org>
1206
1207         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1208
1209 2003-07-15  André Pönitz  <poenitz@gmx.net>
1210
1211         * text.C:
1212         * text2.C: remove no more needed refresh_row
1213
1214 2003-07-15  André Pönitz  <poenitz@gmx.net>
1215
1216         * lyxtext.h:
1217         * rowpainter.C:
1218         * text2.C:
1219         * text3.C: refresh_status tristate -> need_update bool
1220
1221 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1222
1223         * lyxtext.h (init): remove reinit argument (act as if always true)
1224         * text2.C: adjust to that
1225
1226 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1227
1228         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1229         * text3.C: use it to delete selections in some cases
1230         (bugs 441, 673, 702, 954).
1231
1232 2003-07-14  André Pönitz  <poenitz@gmx.net>
1233
1234         * rowpainter.[Ch]: reduce interface
1235
1236 2003-07-14  André Pönitz  <poenitz@gmx.net>
1237
1238         * BufferView_pimpl.C:
1239         * text2.C: adjust after removing unused BufferView * argument
1240
1241 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1242
1243         * text2.C (init): fix a crash fired on resize
1244
1245 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1246
1247         * buffer.[Ch]: added new closing signal
1248         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1249         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1250         BufferView::Pimpl via the closing the signal
1251
1252 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1253
1254         * buffer.[Ch]: take out all bv-related from buffer
1255         * BufferView.C:
1256         * BufferView_pimpl.[Ch]: connect to new signals
1257         * CutAndPaste.C: removed useless asserts
1258         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1259         * lyxvc.[Ch]:
1260         * vc-backend.[Ch]:
1261         * lyxfunc.C: moved view-related funciontality from vc here
1262         * paragraph.C: removed outdated comments
1263         * text.C: ws
1264
1265 2003-07-10  André Pönitz  <poenitz@gmx.net>
1266
1267         * BufferView_pimpl.C:
1268         * tabular.h:
1269         * tabular_funcs.C:
1270         * text.C:
1271         * text2.C: remove InsetText::InnerCache, clean up consequences
1272
1273 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1274
1275         * ispell.C: fix two typos in error messages
1276
1277 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1278
1279         * Extend Note inset to other forms of annotation like Comment
1280         and Greyedout. Right button click gives dialog.
1281
1282         Files modified or added (+):
1283
1284         * insetnote.[Ch]
1285         * FormNote.[Ch]      +
1286         * ControlNote.[Ch]   +
1287         * form_note.fd       +
1288         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1289         frontends/controllers
1290         * xforms/Dialogs.C
1291         * factory.C
1292
1293 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1294
1295         * aspell.C: add missing namespace lyx::support
1296
1297 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1298
1299         * BufferView.[Ch] (newFile): Add
1300         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1301         * LaTeX.[Ch] (message): added this signal and use it
1302         * buffer.[Ch] (busy, message): added these signals and use them
1303         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1304         * converter.C:
1305         * exporter.C:
1306         * format.C:
1307         * importer.C: use buffer signals instead of direct bv calling
1308         * lyx_cb.[Ch] (ShowMessage): removed
1309         * lyx_main.C:
1310         * lyxfunc.C:
1311         * paragraph_funcs.C:
1312         * text2.C: use buffer signals
1313
1314 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1315
1316         * introduce namespace lyx::graphics
1317
1318 2003-07-02  André Pönitz  <poenitz@gmx.net>
1319
1320         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1321
1322 2003-07-01  André Pönitz  <poenitz@gmx.net>
1323
1324         * text.C:
1325         * text2.C:
1326         * text3.C:
1327         * text_funcs.[Ch]:
1328         * textcursor.h:
1329         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1330           text*.C to text_func.C
1331
1332 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1333
1334         * introduce namespace lyx::support
1335
1336 2003-06-30  André Pönitz  <poenitz@gmx.net>
1337
1338         * Chktex.C:
1339         * funcrequest.C:
1340         * lyxtext.h:
1341         * text.C: re-enable --with-included-string
1342
1343 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1344
1345         * textcursor.C: add <config.h>
1346
1347         * text.C (getWord): remove const from word_location arg
1348
1349         * lyxvc.C (getLogFile): fix const type order
1350
1351         * lyxtext.h: remove const from word_location arg, add arg name
1352
1353         * lyxlayout.h: currect type on labeltype.
1354
1355         * importer.C: correct \file
1356
1357         * converter.C (intToFormat): use std:: on ret val, ws changes
1358
1359         * bufferlist.h: correct \file
1360
1361         * buffer.C (makeLinuxDocFile): fix const type order
1362         (makeDocBookFile): ditto
1363         (fillWithBibKeys): use std:: on stdlib args.
1364
1365         * CutAndPaste.C: fix authors.
1366         (availableSelections): use std:: on return vector
1367
1368 2003-06-27  André Pönitz  <poenitz@gmx.net>
1369
1370         * BufferView_pimpl.C:
1371         * bufferview_funcs.C:
1372         * lyxcursor.C:
1373         * lyxcursor.h:
1374         * lyxfunc.C:
1375         * lyxtext.h:
1376         * rowpainter.C:
1377         * text.C:
1378         * text2.C:
1379         * text3.C: remove LyXCursor::row_ member
1380
1381         * lyxtext.h:
1382         * text.C: rename fullRebreak() to partialRebreak() and implement
1383           a fullRebreak() that really bereks fully
1384
1385         * textcursor.h: new struct for cursor-related data
1386
1387 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1388
1389         * lyx_main.C (LyX): get full path of document loaded on the
1390         command line
1391
1392 2003-06-26  André Pönitz  <poenitz@gmx.net>
1393
1394         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1395           remove unused/broken operator>,<,>=.
1396
1397         *       text.C: remove only use of broken operator<= in an Assert().
1398
1399 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1400
1401         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1402         moved errorlist_.clear to showErrorList
1403
1404 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1405
1406         * converter.C (scanLog, runLaTeX):
1407         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1408         move the bv->showErrorList call to the callers
1409         * lyxfunc.C: i.e. here...
1410         * text2.C: and here
1411         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1412         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1413         namespace, the second to...
1414         * buffer_funcs (BufferFormat, parseErrors): added
1415         * errorlist.C (ErrorList(TeXErrors const &)): removed
1416
1417 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1418
1419         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1420
1421 2003-06-24  "Garst R. Reese" <reese@isn.net>
1422
1423         * debug.C: fix typo
1424
1425 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1426
1427         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1428
1429         * version.C.in: change docversion to 1.4
1430
1431 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1432
1433         * buffer.C: fix a bug just introduced
1434
1435 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1436
1437         * buffer.[Ch]: added the parseError signal and use it, removed
1438         sgmlError
1439         * BufferView.[Ch] (addError): moved to ...
1440         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1441         to the Buffer::parseError signal to catch (guess what) parse errors
1442         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1443
1444 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1445
1446         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1447         ability to create a buffer and to return an existing one from
1448         the list. Moved these functions to...
1449         * buffer_funcs.[Ch]: added
1450         * BufferView.[Ch] (loadLyXFile): added
1451         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1452         job removed from bufferlist::loadLyXFile.
1453         * buffer.C (setReadOnly): make it work without view
1454         (i.e added an if (users))
1455
1456 2003-06-19  Angus Leeming  <leeming@lyx.org>
1457
1458         * lfuns.h:
1459         * LyXAction.C (init):
1460         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1461         with LFUN_DIALOG_SHOW <name> <data>.
1462
1463 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1464
1465         * CutAndPaste.C (availableSelections): small compilation fix for
1466         ancient (gcc 2.9x) compilers
1467
1468 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1469
1470         * text3.C (cursorNext): add tmp var
1471
1472         * text2.C (updateCounters): for function calling out of for clause
1473         (replaceSelectionWithString): ditto
1474         (insertStringAsParagraphs): ditto
1475         (getColumnNearX): add tmp var
1476         (setCursorFromCoordinates): add tmp var
1477         (cursorDownParagraph): add tmp var
1478         (deleteEmptyParagraphMechanism): add tmp var
1479
1480         * text.C (insertChar): add tmp var
1481
1482         * rowpainter.C (paintDepthBar): add tmp var
1483
1484         * CutAndPaste.C (availableSelections): potentially check all
1485         paragraphs in a cut to fill the shown strings.
1486
1487 2003-06-18  André Pönitz  <poenitz@gmx.net>
1488
1489         * kbmap.[Ch]: use vector<> instead of list<>
1490
1491 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1492
1493         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1494         pasteSelection with index
1495
1496         * text2.C (pasteSelection): modify, call pasteSelection with index
1497
1498         * paragraph.C (asString): reimplement version with no interval to
1499         call the one with interval.
1500
1501         * lyxtext.h: add index arg to pasteSelection
1502
1503         * MenuBackend.C (MenuItem): handle PasteRecent
1504         (Menu::read::Menutags): add md_pasterecent
1505         (read): handle it
1506         (expandPasteRecent): new function
1507         (expand): use it
1508
1509         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1510
1511         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1512         the limited stack
1513         (availableSelections): new function
1514
1515 2003-06-17  Angus Leeming  <leeming@lyx.org>
1516
1517         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1518
1519 2003-06-17  Angus Leeming  <leeming@lyx.org>
1520
1521         * lfuns.h:
1522         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1523
1524         * lyxfunc.C (dispatch): invoke it.
1525
1526 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1527
1528         * iterators.C (operator++, ParPosition): reintroduce some
1529         const_cast for the benefit of older compilers.
1530
1531 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1532
1533         * text3.C (dispatch): do not modify clipboard when doing
1534         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1535         LFUN_DELETE_SKIP on a selection selection
1536
1537 2003-06-16  André Pönitz  <poenitz@gmx.net>
1538
1539         * BufferView.C:
1540         * buffer.C:
1541         * buffer.h:
1542         * paragraph.C:
1543         * tabular.[Ch]: IU of clone() and getLabelList();
1544
1545 2003-06-13  André Pönitz  <poenitz@gmx.net>
1546
1547         * tabular.h: compactification
1548
1549 2003-06-12  André Pönitz  <poenitz@gmx.net>
1550
1551         * tabular.C:
1552         * tabular.h:
1553         * tabular_funcs.h: some renaming plus whitespace
1554
1555 2003-06-12  André Pönitz  <poenitz@gmx.net>
1556
1557         * BufferView.C:
1558         * BufferView_pimpl.C:
1559         * CutAndPaste.C:
1560         * buffer.C:
1561         * iterators.[Ch]:
1562         * lyxfunc.C:
1563         * text.C:
1564         * toc.C: Return a Paragraph & for ParIterator::operator*()
1565
1566 2003-06-11  John Levon  <levon@movementarian.org>
1567
1568         * lyx_main.C:
1569         * ToolbarBackend.h:
1570         * ToolbarBackend.C: add "Toolbars" section and
1571         put the flags there
1572
1573 2003-06-10  Angus Leeming  <leeming@lyx.org>
1574
1575         * lfuns.h:
1576         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1577
1578         * lyxfunc.C (dispatch): invoke it.
1579
1580 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1581
1582         * main.C: protect <ios> with HAVE_IOS
1583         (main): protect sync_with_stdio with HAVE_IOS
1584
1585 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1586
1587         * text2.C (cutSelection): adjust
1588         (pasteSelection): adjust
1589
1590         * messages.C: handle get of empty string
1591
1592         * main.C (main): use sync_with_stdio(false)
1593
1594         * lyxfunc.C (dispatch): adjust
1595
1596         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1597         (WriteAs): remove unneeded BufferView arg.
1598
1599         * bufferparams.h: use correct types on papersize, papersize2 and
1600         paperpackage.
1601
1602         * bufferparams.C (readToken): adjust for type
1603         (writeLaTeX): add missing cases to switch.
1604
1605         * bufferlist.C (quitWriteBuffer): adjust
1606         (close): adjust
1607
1608         * buffer.C (asciiParagraph): remove some commented code.
1609
1610         * CutAndPaste.C: remove current_view extern variable.
1611         (cutSelection): add BufferParams arg.
1612         (eraseSelection): add BufferParams arg.
1613         (pasteSelection): add Buffer const & arg
1614
1615 2003-06-07  John Levon  <levon@movementarian.org>
1616
1617         * buffer.C:
1618         * paragraph_funcs.C:
1619         * paragraph_pimpl.C:
1620         * text.C:
1621         * text2.C:
1622         * paragraph.h:
1623         * paragraph.C: allow InsetERT to freely space lines,
1624         and some consolidation of code
1625
1626 2003-06-06  José Matos  <jamatos@fep.up.pt>
1627
1628         * buffer.C (makeDocBookFile): fix bug #821
1629
1630 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1631
1632         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1633
1634 2003-06-04  Angus Leeming  <leeming@lyx.org>
1635
1636         * buffer.C: bump format to 224.
1637
1638 2003-06-05  André Pönitz  <poenitz@gmx.net>
1639
1640         * text2.C (redoParagraphs): remove two const_cast<>
1641
1642 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1643
1644         * ParagraphList.h: remove last remnants of NO_STD_LIST
1645
1646 2003-06-03  Angus Leeming  <leeming@lyx.org>
1647
1648         * factory.C (createInset): small change to the way InsetExternal's params
1649         are set.
1650
1651 2003-06-04  André Pönitz  <poenitz@gmx.net>
1652
1653         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1654
1655         * paragraph_pimpl.h:
1656         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1657
1658         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1659
1660         * undo_funcs.C: make some simple cases of undo work again
1661
1662 2003-06-03  John Levon  <levon@movementarian.org>
1663
1664         * ispell.C: HPUX doesn't have sys/select.h
1665         (from Albert Chin)
1666
1667 2003-06-03  John Levon  <levon@movementarian.org>
1668
1669         * CutAndPaste.C: update tabular and include inset
1670         buffer references
1671
1672         * buffer.h:
1673         * paragraph.h:
1674         * paragraph.C: remove owningBuffer(), don't pass Buffer
1675         to clone()
1676
1677         * factory.C: insetGraphicsParams changed
1678
1679 2003-06-02  John Levon  <levon@movementarian.org>
1680
1681         * LyXAction.C:
1682         * factory.C:
1683         * lfuns.h:
1684         * lyxfunc.C:
1685         * text3.C: remove insetparent
1686
1687 2003-06-02  John Levon  <levon@movementarian.org>
1688
1689         * buffer.h:
1690         * buffer.C: fix inset_iterator.end(), move out of line
1691         (bug 1149)
1692
1693 2003-06-01  John Levon  <levon@movementarian.org>
1694
1695         * text3.C: use a proper cut/paste when doing inset
1696         insert (from Jürgen Spitzmüller)
1697
1698 2003-06-01  John Levon  <levon@movementarian.org>
1699
1700         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1701
1702 2003-05-30  André Pönitz  <poenitz@gmx.net>
1703
1704         * rowpainter.C: unify second drawing phase
1705
1706 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1707
1708         * trans_mgr.C: remove one case of current_view
1709
1710         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1711
1712         * paragraph_funcs.h: remove paragraph.h include
1713
1714         * paragraph.h: delete NO_STD_LIST stuff
1715
1716         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1717
1718         * buffer.h: remove paragraph.h include
1719
1720         * ParagraphList.C: delete file
1721
1722         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1723
1724         * toc.C (getTocList): adjust
1725
1726         * paragraph_pimpl.C (validate): adjust
1727
1728         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1729
1730         * paragraph.C (Paragraph): adjust
1731         (getPositionOfInset): use const_iterator, adjust
1732         (bibitem): use const_iterator, adjust
1733         (setInsetOwner): adjust
1734
1735         * iterators.C (operator++): adjust
1736
1737         * InsetList.[Ch]: Replace selfmade iterator with standard
1738         vector::iterator also introduce const_iterator. Remove getPos,
1739         getInset and setInset from InsetTable. Adjust accordingly.
1740
1741         * BufferView.C (lockInset): adjust
1742         (ChangeInsets): adjust
1743
1744         * tabular.[Ch]: delete commented same_id functions
1745
1746 2003-05-28  John Levon  <levon@movementarian.org>
1747
1748         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1749
1750 2003-05-28  André Pönitz  <poenitz@gmx.net>
1751
1752         * metricsinfo.[Ch]: remove 'fullredraw' member
1753
1754 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1755
1756         * lyxtextclass.C (operator): remove caching.
1757
1758 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1759
1760         * text3.C: adjust
1761
1762         * text2.C (cursorBottom): adjust
1763         (setCounter): use ParagraphList::find, adjust
1764
1765         * text.C (workWidth): use ParagraphList::find, adjust
1766
1767         * lyxcursor.C (LyXCursor): adjust
1768
1769         * buffer.C (inset_iterator): adjust
1770
1771         * ParagraphList.h: make iterator(value_type) private, make
1772         ParagraphList a friend of iterator.
1773
1774         * ParagraphList.C (find): new function
1775
1776         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1777
1778 2003-05-27  André Pönitz  <poenitz@gmx.net>
1779
1780         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1781
1782 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1783
1784         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1785
1786 2003-05-26  John Levon  <levon@movementarian.org>
1787
1788         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1789
1790 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1791
1792         * remove same_id from function signatures, adjust.
1793
1794 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1795
1796         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1797
1798         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1799
1800         * paragraph.C (Paragraph): get rid of same_ids parameter
1801
1802         * ParagraphList.C (insert): adjust
1803         (push_back): adjust
1804
1805 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1806
1807         * paragraph_funcs.C (breakParagraph): adjust
1808         (breakParagraphConservative): adjust
1809
1810         * buffer.C (readParagraph): adjust
1811
1812         * ParagraphList.C (insert): take a reference instead of a pointer
1813         (insert): adjust
1814
1815         * paragraph.[Ch] (id): new function
1816
1817         * bufferlist.C (newFile): adjust
1818
1819         * ParagraphList.C (ParagraphList): adjust
1820         (assign): adjust
1821         (push_back): take a reference instead of a pointer.
1822
1823         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1824
1825         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1826         instead.
1827
1828         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1829         set else use old code.
1830
1831         * ParagraphList.C: remove all NO_NEXT code and only compile this
1832         code of NO_STD_LIST is set.
1833
1834 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1835
1836         * BufferView_pimpl.C:
1837         * TextCache.C:
1838         * TextCache.h:
1839         * bufferlist.C:
1840         * errorlist.h:
1841         * format.C:
1842         * format.h:
1843         * graph.C:
1844         * lyxfunc.C:
1845         * lyxrc.C:
1846         * graphics/GraphicsConverter.C:
1847         * graphics/PreviewLoader.C: header adjustment
1848
1849 2003-05-23  Angus Leeming  <leeming@lyx.org>
1850
1851         * LaTeXFeatures.[Ch] (useBabel): new method.
1852         * bufferparams.C (writeLaTeX): use it.
1853
1854 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1855
1856         * ParagraphList.h (set): remove unused function.
1857
1858 2003-05-23  André Pönitz  <poenitz@gmx.net>
1859
1860         * BufferView.C:
1861         * BufferView_pimpl.C:
1862         * buffer.C:
1863         * buffer.h:
1864         * lyxfunc.C:
1865         * undo_funcs.C: setUndo reworked
1866
1867         * iterators.[Ch]: add access to topmost ParagraphList
1868
1869         * lyxtext.[Ch] (workWidth): add a const
1870
1871 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1872
1873         * texrow.[Ch] (increasePos): remove function
1874         * exporter.C (export): removed unused var and outdated comment
1875
1876 2003-05-23  Angus Leeming  <leeming@lyx.org>
1877
1878         * latexrunparams.h: rename fragile as moving_arg.
1879         * paragraph.C (simpleTeXOnePar): ditto.
1880         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1881
1882 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1883
1884         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1885         (createUndo): ditto
1886         (textUndoOrRedo): comment out a currently unused var.
1887
1888         * paragraph.h (NO_NEXT): enable NO_NEXT
1889
1890         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1891
1892         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1893
1894         * exporter.C (Export): adjust for removeAutoInsets removal.
1895
1896         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1897
1898         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1899
1900         * BufferView.[Ch] (removeAutoInsets): delete function
1901
1902 2003-05-22  Angus Leeming  <leeming@lyx.org>
1903
1904         * latexrunparams.h: add a free_spacing variable.
1905
1906         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1907         to pass moving_arg, as the data is stored in runparams.fragile.
1908
1909         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1910         to Inset::latexOptional or to simpleTeXOnePar.
1911
1912         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1913         free_spacing arg to Inset::latexOptional.
1914
1915         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1916         free_spacing arg.
1917
1918 2003-05-22  Angus Leeming  <leeming@lyx.org>
1919
1920         * latexrunparams.h: add fragile and use_babel variables.
1921
1922         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1923         * buffer.C (makeLaTeXFile): store this returned value in
1924         runparams.use_babel, thus passing it to the inset::latex methods.
1925
1926         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1927         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1928
1929         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1930         longer has a fragile arg, as it is stored in runparams.fragile.
1931
1932         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1933         moving_arg parameter as the data is stored in runparams.fragile.
1934
1935         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1936         a fragile parameter as the data is stored in runparams.fragile.
1937
1938 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1939
1940         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1941
1942 2003-05-22  Angus Leeming  <leeming@lyx.org>
1943
1944         * latexrunparams.h: add a 'bool nice' which defaults to false.
1945
1946         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1947         now encapsulated within runparams.
1948
1949         * bufferlist.C (updateIncludedTeXfiles):
1950         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1951
1952 2003-05-22  Angus Leeming  <leeming@lyx.org>
1953
1954         * latexrunparams.h: new file containing struct LatexRunParams.
1955         * Makefile.am: add new file.
1956
1957         * LaTeX.[Ch] (c-tor, run):
1958         * buffer.[Ch] (makeLaTeXFile):
1959         * bufferlist.[Ch] (updateIncludedTeXfiles):
1960         * converter.C (convert, scanLog):
1961         * converter.[Ch] (runLaTeX):
1962         * exporter.C (Export):
1963         * paragraph.[Ch] (simpleTeXOnePar):
1964         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1965         * paragraph_funcs.[Ch] (latexParagraphs):
1966         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1967         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1968         pass around a LatexRunParams parameter.
1969
1970 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1971
1972         * paragraph.[Ch]: remove unused constructor
1973
1974         * ParagraphList.C (erase): new function, taking two iterators
1975
1976 2003-05-22  André Pönitz  <poenitz@gmx.net>
1977
1978         * undo_funcs.C: remove duplicated code
1979
1980         * iterator.[Ch]: operator=
1981
1982 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1983
1984         * tabular.C (SetMultiColumn): ws changes
1985
1986         * rowpainter.C (paintFirst): get rid of a ->previous
1987
1988         * lyx_cb.C (getPossibleLabel): parlist simplification
1989
1990         * BufferView.C (ChangeInsets): simplify slightly.
1991
1992 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1993
1994         * LyXAction.C: new lfun space-insert, kill protected-space-insert
1995         * lfuns.h: new LFUN_SPACE
1996         * lyxfunc.C: protected space has a new lfun
1997         * paragraph_funcs.C: read new space insets
1998         * text3.C:
1999         * factory.C: handle new space insets
2000
2001 2003-05-22  André Pönitz  <poenitz@gmx.net>
2002
2003         * BufferView.C:
2004         * BufferView_pimpl.C:
2005         * buffer.[Ch]:
2006         * lyxfunc.C:
2007         * undo_funcs.C: return a ParIterator from getParFromID.
2008
2009         * iterators.[Ch]: add two const's
2010
2011 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2012
2013         * toc.C (getTocList): adjust
2014
2015         * iterators.[Ch]: rework for parlist
2016
2017         * buffer.C (par_iterator_begin): adjust
2018         (par_iterator_end): adjust
2019
2020         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2021
2022         * BufferView.C (removeAutoInsets): adjust
2023         (ChangeInsets): adjust
2024
2025 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2026
2027         * text.C (top_y): fix bug 1110
2028
2029 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2030
2031         * errorlist.[Ch]: added
2032         * buffer.C:
2033         * BufferView.[Ch]:
2034         * BufferView_pimpl.C:
2035         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2036         instead
2037
2038 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2039
2040         * Makefile.am: ensure that lyx is relinked upon changes to the
2041         various "convenience" libs.
2042
2043 2003-05-20  Angus Leeming  <leeming@lyx.org>
2044
2045         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2046         files are compiled in alphabetical order again.
2047
2048         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2049
2050 2003-05-19  Angus Leeming  <leeming@lyx.org>
2051
2052         * gettext.[Ch]: remove "char const * _(char const *)".
2053
2054 2003-05-19  André Pönitz  <poenitz@gmx.net>
2055
2056         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2057
2058         * Makefile.am:
2059         * BufferView.C:
2060         * DepTable.h:
2061         * LaTeXFeatures.C:
2062         * buffer.C:
2063         * lyxfont.C:
2064         * lyxlex.h:
2065         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2066
2067 2003-05-19  André Pönitz  <poenitz@gmx.net>
2068
2069         * buffer.C:
2070         * lyxlayout.[Ch]:
2071         * lyxtextclass.[Ch]:
2072         * paragraph.C:
2073         * paragraph_funcs.[Ch]:
2074         * text2.C:
2075         * text3.C: more insetenv work
2076
2077 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2078
2079         * ParagraphParameters.C (params2string): small bug fixed
2080
2081 2003-05-16  André Pönitz  <poenitz@gmx.net>
2082
2083         * debug.C:
2084         * bufferview_funcs.C: patch from Kornel Benko to prevent
2085           crash when _(...) is called twice in a statement
2086
2087 2003-05-16  André Pönitz  <poenitz@gmx.net>
2088
2089         * BufferView.C:
2090         * lyxfunc.C:
2091         * text.C:
2092         * text2.C:
2093         * text3.C:
2094         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2095
2096 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2097
2098         * lyx_main.C (init): remove spurious static_cast
2099
2100 2003-05-14  André Pönitz  <poenitz@gmx.net>
2101
2102         * BufferView.C: fix format string
2103
2104 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2105
2106         * BufferView.[Ch] (insertErrors): removed
2107         * BufferView.[Ch] (showErrorList): added
2108         * buffer.C (runChkTeX):
2109         * converter.C (scanLog): call showErrorList instead of inserterrors
2110
2111 2003-05-13  André Pönitz  <poenitz@gmx.net>
2112
2113         * BufferView_pimpl.C:
2114         * buffer.C:
2115         * bufferview_func.C:
2116         * MenuBackend.C:
2117         * lyxfunc.C:
2118         * lyxrc.C:
2119         * tex-accent.C:
2120         * text3.C:
2121         * toc.C:
2122         * tabular_funcs.h: tostr() from its own header
2123
2124         * ParagraphParameters.C:
2125         * ToolbarBackend.C:
2126         * bufferparams.C:
2127         * format.C:
2128         * lyxlex_pimpl.C:
2129         * text3.C: STRCONV()
2130
2131 2003-05-12  André Pönitz  <poenitz@gmx.net>
2132
2133         * BufferView.C:
2134         * BufferView_pimpl.C:
2135         * CutAndPaste.C:
2136         * LaTeX.C:
2137         * LaTeXFeatures.C:
2138         * ParagraphParameters.C:
2139         * buffer.C:
2140         * bufferlist.C:
2141         * bufferparams.C:
2142         * bufferview_funcs.C:
2143         * converter.C:
2144         * counters.C:
2145         * debug.C:
2146         * exporter.C:
2147         * format.C:
2148         * importer.C:
2149         * lyx_cb.C:
2150         * lyx_main.C:
2151         * lyxfont.C:
2152         * lyxfunc.C:
2153         * lyxvc.C:
2154         * paragraph.C:
2155         * paragraph_funcs.C:
2156         * tabular.C:
2157         * tabular_funcs.C:
2158         * text2.C:
2159         * text3.C:  boost::format -> bformat  all over the place
2160
2161
2162 2003-05-09  André Pönitz  <poenitz@gmx.net>
2163
2164         * LColor.[Ch]: Pimpl the #include <map> away
2165
2166 2003-05-09  John Levon  <levon@movementarian.org>
2167
2168         * bufferlist.C: never remove emergency saves
2169
2170 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2171
2172         * Makefile.am: better lib building
2173
2174 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2175
2176         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2177         instead.
2178         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2179         (simpleTeXSpecialChars): adjust
2180         (simpleTeXSpecialChars): adjust
2181         * paragraph.C (simpleTeXOnePar): adjust
2182         * buffer.C (makeLaTeXFile): adjust
2183
2184         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2185
2186         * text2.C (changeDepth): parlist cleanup
2187         (getColumnNearX): ditto
2188
2189         * rowpainter.C (getLabelFont): parlist cleanup
2190
2191         * bufferlist.C (newFile): parlist cleanup
2192
2193         * CutAndPaste.C (eraseSelection): parlist cleanup
2194
2195         * BufferView_pimpl.C (trackChanges): parlist cleanup
2196         (dispatch): ditto
2197
2198         * BufferView.C (lockInset): parlist cleanup.
2199         (ChangeInsets): ditto
2200
2201 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * CutAndPaste.h: Update file header.
2204
2205         * CutAndPaste.C: Update file header.
2206         Store the parts cut out of the Document in a limited_stack.
2207         (copySelection): adjust
2208         (pasteSelection): new function, takes the index in the limited stack.
2209         (nrOfParagraphs): adjust
2210         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2211         simplify error inset insertion.
2212         (checkPastePossible): adjust
2213
2214 2003-05-06  John Levon  <levon@movementarian.org>
2215
2216         * text2.C: don't cast wrap inset to float
2217
2218 2003-05-05  André Pönitz  <poenitz@gmx.net>
2219
2220         * iterator.C:
2221         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2222
2223         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2224           few naked Paragraph *.
2225
2226 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2227
2228         * bufferparams.C: Output warning if a document with missing
2229         TeX document class is loaded
2230         * exporter.C: Disable TeX exports if the document class is missing
2231         * lyxtextclass.C:
2232         * lyxtextclass.h:
2233         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2234         isTeXClassAvailable()
2235
2236 2003-05-03  John Levon  <levon@movementarian.org>
2237
2238         * BufferView.h:
2239         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2240         explicit cursor show/hide
2241
2242         * BufferView_pimpl.h:
2243         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2244         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2245
2246         * lyxfunc.C: hide cursor before dispatching.
2247
2248         * lyx_cb.C:
2249         * lyxfind.C:
2250         * text.C:
2251         * text3.C: remove explicit cursor hides
2252
2253 2003-05-02  André Pönitz  <poenitz@gmx.net>
2254
2255         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2256
2257         * undo_funcs.C:
2258         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2259           linked lists
2260
2261         * text2.C: tiny whitespace
2262
2263 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2264
2265         * undo_funcs.C: almost only ws changes.
2266
2267         * ParagraphList.C (splice): just return if pl is empty.
2268
2269 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2270
2271         * ParagraphList.C (splice): new function.
2272
2273         * CutAndPaste.C (pasteSelection): use it
2274
2275 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2276
2277         * CutAndPaste.C (pasteSelection): remove the last next and
2278         previous from this file.
2279
2280 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2281
2282         * CutAndPaste.C (pasteSelection): more clean up, user proper
2283         ParagraphList functions for pasteing.
2284
2285         * ParagraphList.C (insert): new function, three arg insert
2286
2287 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2288
2289         * ParagraphList.C (insert): new function, three arg insert
2290
2291         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2292         not on paragraphs.
2293
2294 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2295
2296         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2297
2298 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2299
2300         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2301
2302 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2303
2304         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2305         (copySelection): clean up a bit.
2306         (pasteSelection): use make_pair
2307
2308         * ParagraphList.C (ParagraphList): implement copy constructor
2309         (operator=): implement, base on copy constructor.
2310         (assign): new func
2311
2312         * paragraph.C (erase): return a bool
2313
2314         * paragraph_pimpl.C (erasePos): remove function, move contents...
2315         (erase): ... here. Return a bool.
2316         (erase): call erase instead of erasePos.
2317
2318 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2319
2320         * ParagraphList.h: define PitPosPair
2321         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2322         ParagraphList, fix a bug on pasting multiple pars
2323         * text2.C: change interface to C&P
2324
2325 2003-04-30  André Pönitz  <poenitz@gmx.net>
2326
2327         * undo_func.C: revert part of yesterday's patch 2
2328
2329 2003-04-30  John Levon  <levon@movementarian.org>
2330
2331         * LColor.C: s/tabular/table/
2332
2333 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2334
2335         * text3.C (dispatch): do not convert iterator -> pointer
2336         * undo_funcs.C (setCursorParUndo): ditto
2337         * text_funcs.C (transposeChars): ditto
2338
2339         * text2.C (setLayout): ws changes only
2340
2341         * text.C (breakParagraph): do not convert iterator -> pointer
2342         (insertChar): ditto
2343         (acceptChange): ditto
2344         (rejectChange): ditto
2345         (changeCase): ditto
2346         (Delete): ditto
2347         (backspace): ditto
2348
2349         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2350         pointer
2351
2352 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2353
2354         * text3.C (gotoInset): YABG (yet another bad getChar)
2355
2356 2003-04-29  André Pönitz  <poenitz@gmx.net>
2357
2358         * paragraph.h: make operator= private unimplemented as long as
2359           it is unusable
2360
2361         * ParagraphList.C: whitespace
2362
2363         * paragraph.[Ch]:
2364         * paragraph_pimpl.[Ch]:
2365         * paragraph_funcs.C:
2366         * CutAndPaste.C:
2367         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2368
2369         * text2.C:
2370           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2371
2372 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2373
2374         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2375         * paragraph.[Ch] (erase):
2376         * paragraph_pimpl.[Ch] (erase): change return type and value
2377         * text2.C (cutSelection): some rework
2378
2379 2003-04-28  John Levon  <levon@movementarian.org>
2380
2381         * bufferlist.C: changes for unsaved changes dialog
2382
2383 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2384
2385         * bufferlist.C (newFile): set language (messages_) for new
2386         documents also.
2387
2388         * buffer.C (readFile): ws changes only.
2389
2390 2003-04-28  André Pönitz  <poenitz@gmx.net>
2391
2392         * undo_funcs.C:
2393         * lyxfunc.C:
2394         * buffer.[Ch]:
2395         * BufferView_pimpl.C:
2396         * BufferView.C: getParFromID related ParagraphList::iterator changes
2397
2398 2003-04-28  André Pönitz  <poenitz@gmx.net>
2399
2400         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2401           Changes
2402
2403 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2404
2405         * messages.C: remove one more localedir class variable.
2406
2407 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * messages.C (getLocaleDir): singleton generation function
2410         (Pimpl): use it.
2411         (Messages): add a default constructor.
2412
2413         * main.C (main): do not setup localedir here, do not call
2414         gettext_init.
2415
2416         * gettext.C (_): use it.
2417         (gettext_init): delete funciton
2418
2419 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2420
2421         * gettext.C (getLyXMessages): new singleton generating function.
2422
2423         * buffer.C (updateDocLang): adjust
2424
2425         * Makefile.am (messages.o): add target
2426         (main.o): remove target
2427
2428 2003-04-27  John Levon  <levon@movementarian.org>
2429
2430         * bufferlist.C:
2431         * lyx_cb.C:
2432         * lyxfunc.C:
2433         * lyxvc.C: specify cancel button in Alert::prompt
2434
2435 2003-04-26  John Levon  <levon@movementarian.org>
2436
2437         * text3.C:
2438         * lyxfunc.C:
2439         * lfuns.h:
2440         * LyXAction.C: add LFUN_INSET_SETTINGS
2441
2442         * lyxfunc.C: don't enable tabular-feature when there's
2443         just any locking inset
2444
2445 2003-04-26  John Levon  <levon@movementarian.org>
2446
2447         * bufferlist.C: re-add Cancel to buffer close question
2448
2449         * lyxfunc.C: fix import UI a bit
2450
2451 2003-04-25  John Levon  <levon@movementarian.org>
2452
2453         * gettext.C: remove the broken asserts for now
2454
2455 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2456
2457         * messages.C: make case where setlocale cannot comply work better.
2458
2459         * buffer.C (updateDocLang): new function
2460         (changeLanguage): use it
2461         (readFile): use it
2462
2463         * text2.C (setCounter): use B_ a bit.
2464
2465         * lyxlayout.C (Read): be sure to trim the label strings.
2466
2467         * messages.C (Messages): fix typo in comment
2468
2469         * buffer.C (readFile): set message_ after file is loaded.
2470         (makeDocBookFile): remove double return
2471         (changeLanguage): reset message_ upon language change.
2472         (B_): new func, use this to get translated buffer strings.
2473
2474         * main.C: add myself and Jean Marc as authors.
2475
2476 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2477
2478         * messages.[hC]: pimplify Messages, and three different pimpls to be
2479         used in different circumstances.
2480
2481         * gettext.[Ch]: change for use with new message code.
2482
2483 2003-04-24 André Pönitz <poenitz@gmx.net>
2484
2485         * factory.C: support for eqref
2486
2487 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2488
2489         * messages.[Ch]: add missing char
2490
2491         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2492
2493         * messages.[Ch]: New files
2494
2495 2003-04-18  John Levon  <levon@movementarian.org>
2496
2497         * BufferView.h:
2498         * BufferView.C:
2499         * BufferView_pimpl.C:
2500         * lfuns.h:
2501         * LyXAction.C:
2502         * lyxtext.h:
2503         * text2.C: remove layout-copy/paste (bug 778)
2504
2505 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2506
2507         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2508
2509 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2510
2511         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2512         if they succeed. Act accordingly.
2513
2514 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2515
2516         * text2.C (setCharFont): adjust
2517         (setCounter): adjust
2518         (insertStringAsLines): adjust
2519
2520         * text.C (leftMargin): adjust
2521         (setHeightOfRow): adjust
2522
2523         * rowpainter.C (paintFirst): adjust
2524         (paintLast): adjust
2525
2526         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2527         (outerHook): ditto
2528         (isFirstInSequence): ditto
2529         (getEndLabel): ditto
2530         (outerFont): adjust
2531
2532         * paragraph.C (getParLanguage): comment out some hard stuff.
2533
2534         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2535         (sgmlError): ditto
2536         (simpleDocBookOnePar): ditto
2537         (makeDocBookFile): use ParagraphList::iterator
2538
2539         * CutAndPaste.C (pasteSelection): adjust
2540
2541 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2542
2543         * text2.C (getFont): adjust
2544         (getLayoutFont): adjust
2545         (getLabelFont): adjust
2546
2547         * paragraph_funcs.C (TeXOnePar): adjust
2548
2549         * buffer.C (simpleLinuxDocOnePar): adjust
2550         (simpleDocBookOnePar): adjust
2551
2552         * CutAndPaste.C (pasteSelection): adjust
2553
2554         * BufferView.C (getEncoding): adjust
2555
2556         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2557
2558 2003-04-16  John Levon  <levon@movementarian.org>
2559
2560         * lyxfind.C: use parlist stuff for search/changes
2561
2562 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2563
2564         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2565
2566         * text2.C (deleteEmptyParagraphMechanism): adjust
2567
2568         * text2.[Ch] (ownerParagraph): delete func (both of them
2569
2570 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2571
2572         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2573
2574 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2575
2576         * ParagraphList.C: prepare for NO_NEXT
2577
2578 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2579
2580         * text2.C (getFont): adjust
2581         (getLayoutFont): adjust
2582         (getLabelFont): adjust
2583
2584         * paragraph.C (getFont): adjust
2585         (getLabelFont): adjust
2586         (getLayoutFont): adjust
2587
2588         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2589
2590 2003-04-15  John Levon  <levon@movementarian.org>
2591
2592         From Angus Leeming
2593
2594         * lyx_main.C: handle Include in .ui files
2595
2596 2003-04-15  John Levon  <levon@movementarian.org>
2597
2598         * MenuBackend.C: make the doc files length shorter
2599
2600         * ToolbarBackend.h:
2601         * ToolbarBackend.C: handle toolbar placement flags,
2602         Minibuffer
2603
2604 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2605
2606         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2607         adjust
2608
2609         * paragraph_funcs.C (TeXOnePar): adjust
2610
2611         * paragraph.C (getLabelFont): add outerfont arg, adjust
2612         (getLayoutFont): ditto
2613         (simpleTeXOnePar): adjust
2614
2615         * paragraph_pimpl.C (realizeFont): delete func
2616
2617 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2618
2619         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2620         row argument, constify cur argument.
2621
2622 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2623
2624         * text2.C (getFont): adjust
2625         (getLayoutFont): adjust
2626         (getLabelFont): adjust
2627
2628         * paragraph_funcs.C (TeXOnePar): adjust
2629         (outerFont): new func...
2630         (realizeFont): ...moved out from here, changed this to facilitate
2631         transition
2632
2633         * paragraph.C (getFont): take outerfont as arg, adjust
2634         (simpleTeXOnePar): add outerfont arg, adjust
2635
2636         * buffer.C (simpleLinuxDocOnePar): adjust
2637         (simpleDocBookOnePar): adjust
2638
2639         * CutAndPaste.C (pasteSelection): adjust
2640
2641         * BufferView.C (getEncoding): adjust
2642
2643 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2644
2645         * text2.C (setCharFont): adjust
2646         (setCounter): adjust
2647
2648         * text.C (leftMargin): adjust
2649         (setHeightOfRow): adjust
2650
2651         * rowpainter.C (paintFirst): adjust
2652         (paintLast): adjust
2653
2654         * paragraph_pimpl.C (realizeFont): adjust
2655
2656         * paragraph.C (isFirstInSequence): move from here...
2657         * paragraph_funcs.C (isFirstInSequence): ...to here
2658
2659         * paragraph.C (outerHook): move from here...
2660         * paragraph_funcs.C (outerHook): ...to here
2661
2662         * paragraph.C (depthHook): move from here...
2663         * paragraph_funcs.C (depthHook): ...to here
2664
2665         * paragraph.C (getEndLabel): move from here...
2666         * paragraph_funcs.C (getEndLabel): ...to here
2667
2668         * text2.C (realizeFont): move from here...
2669         * paragraph_funcs.C (realizeFont): ...to here
2670
2671 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2672
2673         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2674
2675 2003-04-14  Angus Leeming  <leeming@lyx.org>
2676
2677         * LColor.[Ch]: scrap LColor mathcursor.
2678
2679 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2680
2681         * lyxlex.[Ch] (text): delete function
2682         * trans.C (Load): adjust
2683         * paragraph_funcs.C (readParToken): adjust
2684
2685 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2686
2687         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2688         vector<char> instead of a char[].
2689
2690         * lyxlex_pimpl.C (getString): adjust
2691         (next): adjust
2692         (lex): use getString
2693         (eatLine): adjust
2694         (nextToken): adjust
2695
2696         * lyxlex.C (text): use pimpl_->getString()
2697         (getBool): ditto
2698         (findToken): ditto
2699
2700 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2701
2702         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2703         (makeFontEntriesLayoutSpecific): temp var for par.size()
2704         (setLayout): temp var for ownerParagraphs().end()
2705         (fullRebreak): temp var for rows().end()
2706         (selectionAsString): temp var for boost::next(startpit), realize
2707         that the while really is a regular for loop.
2708         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2709         setCursor in one place.
2710         (setParagraph): temp vr for ownerParagraphs().end()
2711         (updateCounters): make the while loop a for loop
2712         (cutSelection): temp var for ownerParagraphs().end()
2713         (updateInset): make the do {} while() a regular for loop
2714         (getCursorX): use temp vars
2715         (setCurrentFont): use temp vars
2716         (getColumnNearX): use temp vars
2717
2718 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2719
2720         * text.C (transformChar): use temp var for getChar
2721         (computeBidiTables): use temp var for row->par()
2722         (fill): move temp vars for row->par() and pit->layout() earlier in
2723         the function.
2724         (labelFill): use temp var for row->par()
2725         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2726         asc and desc, realize that pit never changes and that firstpit is
2727         just a duplicate and not needed. Exchange rit->par() with pit in a
2728         lot of places.
2729         (breakAgain): use a temp var for boost::next(rit)
2730         (breakAgainOneRow): ditto
2731         (breakParagraph): use a temp var for rows().begin()
2732         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2733         (cursorRightOneWord): use temp var for cursor.par() and
2734         cursor.pos(), remove usage of tmpcursor.
2735         (cursorLeftOneWord): use temp var for cursor.par() and
2736         cursor.pos() only set cur at end of function.
2737
2738 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2739
2740         * text.C, text2.C: exchange all usage of Paragraph::next with
2741         boost::next(ParagraphList::iterator)
2742
2743         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2744
2745         * text2.C (cursorTop): simplify implementation
2746         (cursorBottom): ditto
2747         (setParagraph): use ParagraphList::iterator
2748         (setCurrentFont): adjust
2749         (getColumnNearX): adjust
2750         (cursorRight): adjust
2751         (cursorLeft): remove usage of Paragraph::previous
2752         (cursorUpParagraph): ditto
2753         (deleteEmptyParagraphMechanism): slight cleanup
2754
2755         * text.C (isBoundary): take a Paragraph const & instead of a
2756         pointer as arg.
2757         (addressBreakPoint): ditto
2758         (leftMargin): remove usage of Paragraph::previous.
2759         (setHeightOfRow): ditto
2760         (cursorLeftOneWord): ditto
2761         (selectNextWordToSpellcheck): ditto
2762         (Delete): ditto
2763         (backspace): ditto
2764         (breakParagraph): remove one usage of Paragraph::next
2765         (redoParagraph): ditto
2766         (acceptChange): ditto
2767         (insertChar): adjust
2768         (rowBreakPoint): adjust
2769
2770         * bufferview_funcs.C (toggleAndShow): adjust
2771
2772 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2773
2774         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2775         methods to access it.
2776         * lyxtext.h:
2777         * text.C: Added updateRowPositions to compute all row positions.
2778         Make top_y and getRowNearY() to use the cached y position
2779
2780 2003-04-11  John Levon  <levon@movementarian.org>
2781
2782         * text.C (rowBreakPoint): reintroduce the labelEnd
2783         checks, code copied from the row fill stuff. Deep voodoo.
2784
2785         * text.C (fill): add a comment and debugging for the
2786         next poor soul.
2787
2788 2003-04-11  John Levon  <levon@movementarian.org>
2789
2790         * text.C: make sure fullrow insets get wrapped to the next line,
2791         even when they're in a manual label
2792
2793 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2794
2795         * text2.C (insertParagraph): make it take ParagraphList::iterator
2796         as arg.
2797         (setLayout): make it return ParagraphList::iterator
2798         (redoParagraphs): ditto
2799         (setCounter): ditto
2800         (checkParagraph): ditto
2801
2802         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2803
2804         * text2.C: adjust several funcs.
2805         (realizeFont): take a ParagraphList::iterator as arg.
2806         (getLayoutFont): ditto
2807         (getLabelFont): ditto
2808         (setCharFont): ditto
2809
2810         * text.C: adjust several funcs.
2811
2812 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2813
2814         * text.C (selectNextWordToSpellcheck): don't accidentally
2815         skip insets
2816
2817 2003-04-10  John Levon  <levon@movementarian.org>
2818
2819         * ToolbarBackend.C (getIcon): special handling for
2820         LFUN_MATH_DELIM
2821
2822 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2823
2824         * text2.C (cursorRight): a getChar assert fixed
2825
2826 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2827
2828         * text2.C (getFont): change to take a ParagraphList::iterator
2829         instead of Paragraph*
2830         Adjust several functions.
2831
2832         * text.C (transformChar): change to take a ParagraphList::iterator
2833         instead of Paragraph*
2834         (singleWidth): ditto
2835         Adjust several functions.
2836
2837         * rowpainter.C: adjust several functions
2838         * rowpainter.h:store a ParagraphList::iterator and not a
2839         Paragraph&.
2840
2841
2842 2003-04-09  John Levon  <levon@movementarian.org>
2843
2844         * lyxfunc.C:
2845         * lfuns.h:
2846         * LyXAction.h:
2847         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2848         and the "help" bits as well
2849
2850 2003-04-09  John Levon  <levon@movementarian.org>
2851
2852         * ToolbarBackend.h:
2853         * ToolbarBackend.C: allow multiple toolbars
2854
2855 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2856
2857         * undo_funcs.C (setCursorParUndo): adjust
2858
2859         * text_funcs.C (transposeChars): adjust
2860
2861         * text3.C (gotoNextInset): adjust
2862         (dispatch): adjust
2863
2864         * text2.C (setLayout): adjust
2865         (changeDepth): adjust
2866         (setFont): adjust
2867         (redoParagraphs): adjust
2868         (selectionAsString): adjust
2869         (setParagraph): adjust
2870         (insertInset): adjust
2871         (cutSelection): adjust
2872         (copySelection): adjust
2873         (pasteSelection): adjust
2874         (insertStringAsLines): adjust
2875         (updateInset): adjust
2876         (setCursor): change to take a ParagraphList::iterator parameter
2877         (setCursorIntern): change to take a ParagraphList::iterator parameter
2878         (setCurrentFont): adjust
2879         (cursorLeft): adjust
2880         (cursorRight): adjust
2881         (deleteEmptyParagraphMechanism): adjust
2882
2883         * text.C (breakParagraph): adjust
2884         (insertChar): adjust
2885         (acceptChange): adjust
2886         (rejectChange): adjust
2887         (selectNextWordToSpellcheck): adjust
2888         (changeCase): adjust
2889         (Delete): adjust
2890         (backspace): adjust
2891
2892         * lyxfind.C (SearchForward): adjust
2893         (SearchBackward): adjust
2894         (nextChange): adjust
2895
2896         * lyxcursor.C (par): adjust
2897
2898         * lyxcursor.h: store a ParagraphList::iterator instead of a
2899         Paragraph*
2900
2901         * lyx_cb.C (getPossibleLabel): adjust
2902
2903         * bufferview_funcs.C (toggleAndShow): adjust
2904
2905         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2906         (dispatch): adjust
2907
2908         * BufferView.C (removeAutoInsets): adjust
2909         (lockedInsetStoreUndo): adjust
2910
2911 2003-04-09  John Levon  <levon@movementarian.org>
2912
2913         * ToolbarBackend.C: try icon without argument
2914         if with argument fails
2915
2916 2003-04-08  John Levon  <levon@movementarian.org>
2917
2918         * ToolbarBackend.h:
2919         * ToolbarBackend.C: add getIcon(), handle tooltip,
2920         and change from "Icon" to "Item".
2921
2922 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2923
2924         * BufferView.C (lockInset): another bad getchar crunched
2925
2926 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2927
2928         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2929         again)
2930
2931 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2932
2933         * lyxfind.C (searchForward, searchBackwards): bug 782
2934
2935 2003-04-07  John Levon  <levon@movementarian.org>
2936
2937         * paragraph.C: remove dead comment
2938
2939         * text.C: remove troublesome depth-fiddling code
2940         in leftMargin() and rightMargin() (bug 1017)
2941
2942         * text.C: fix breaking of rows in nested lists
2943         (bug 1004)
2944
2945         * text2.C (updateCounters): fix up depth values
2946         (bug 1013)
2947
2948 2003-04-07  John Levon  <levon@movementarian.org>
2949
2950         * BufferView_pimpl.C: clear message when doc finishes resizing,
2951         and after a mouse event
2952
2953         * lyxfunc.C: clear message after exiting inset
2954
2955 2003-04-07  John Levon  <levon@movementarian.org>
2956
2957         * bufferview_funcs.C: show math status not outside
2958         status in the statusbar
2959
2960 2003-04-07  John Levon  <levon@movementarian.org>
2961
2962         * lyxfunc.C: note status changed after a depth change
2963
2964 2003-04-04  Angus Leeming  <leeming@lyx.org>
2965
2966         * LaTeX.h: move AuxInfo operator==, != out of line.
2967         Remove LaTeX virtual destructor; nothing derives from it.
2968         Move operator()() out of public area and rename it startscript().
2969         Change protected for private.
2970
2971 2003-04-04  Angus Leeming  <leeming@lyx.org>
2972
2973         * lyxfunc.C:
2974         * text2.C: remove unneeded #includes.
2975
2976 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2977
2978         * text2.C (dEPM): fix the heigth of the next row
2979
2980 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2981
2982         * text.C: squashed an invalid getChar requester + some ws changes
2983
2984 2003-04-03  John Levon  <levon@movementarian.org>
2985
2986         * bufferview_funcs.h:
2987         * bufferview_funcs.C:
2988         * lyxfunc.C:
2989         * lyxtext.h:
2990         * text2.C: make getStatus work for the env depth lfuns
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: parlistize decDepth(), by merging it with incDepth()
2999
3000 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3001
3002         * lyxrow.h: store a ParagraphList::iterator instead of a
3003         Paragraph* and adjust other class functions to suit.
3004
3005         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3006         above.
3007
3008 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3009
3010         * text2.C (setCursor): do not anchor to cursor row for the time being
3011
3012 2003-04-02  John Levon  <levon@movementarian.org>
3013
3014         * LyXAction.C:
3015         * lfuns.h:
3016         * lyx_main.C:
3017         * lyxtext.h:
3018         * text.C:
3019         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3020
3021 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3022
3023         * paragraph.h: make ParagraphList and ParagraphList::iterator
3024         friends of Paragraph.
3025
3026         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3027
3028         * ParagraphList.C: Use the private next_ and previous_ from
3029         Paragraph.
3030
3031 2003-04-01  John Levon  <levon@movementarian.org>
3032
3033         * ToolbarBackend.h:
3034         * ToolbarBackend.C:
3035         * Makefile.am: rename, remove defaults gunk
3036
3037         * MenuBackend.h:
3038         * MenuBackend.C: remove defaults gunk
3039
3040         * Languages.h:
3041         * Languages.C: remove defaults gunk
3042
3043         * lyx_main.h:
3044         * lyx_main.C: error out if files couldn't be found.
3045
3046 2003-04-02  John Levon  <levon@movementarian.org>
3047
3048         * text2.C: make incDepth() use parlist
3049
3050 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3051
3052         * undo_funcs.C (firstUndoParagraph): adjust
3053
3054         * text3.C (gotoInset): adjust
3055         (dispatch): adjust, and rewrite loop.
3056
3057         * text2.C (init): adjust, and rewrite loop.
3058         (redoParagraphs): adjust
3059         (updateInset): adjust, and rewrite loop.
3060         (deleteEmptyParagraphMechanism): adjust
3061
3062         * tabular.C (LyXTabular): adjust
3063         (SetMultiColumn): adjust
3064         (TeXRow): adjust
3065
3066         * lyxtext.[Ch] (ownerParagraph): delete function
3067         (ownerParagraphs): new function returns a ParagraphList.
3068
3069         * BufferView.C (removeAutoInsets): adjust
3070         (insertErrors): adjust
3071         (setCursorFromRow): adjust
3072
3073 2003-04-01  Angus Leeming  <leeming@lyx.org>
3074
3075         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3076         in the frontends.
3077
3078 2003-04-02  John Levon  <levon@movementarian.org>
3079
3080         * lyxtext.h:
3081         * text.C:
3082         * Makefile.am:
3083         * text_funcs.h:
3084         * text_funcs.C: make transposeChars a free function
3085
3086         * lyxrow_funcs.C: remove wrong comment
3087
3088 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * lyxtext.h: adjust
3091         * rowpainter.C: adjust
3092         * text.C: adjust
3093         * text2.C: adjust
3094         * text3.C: adjust
3095
3096         * lyxrow_funcs. [Ch]: new files
3097
3098         * lyxrow.[Ch]: remove next and previous pointers
3099         (next,previous): remove accessor functions
3100         (isParEnd): move to lyxrow_funcs
3101         (lastPos): move to lyxrow_funcs
3102         (nextRowIsAllInset): move to lyxrow_funcs
3103         (lastPrintablePos): move to lyxrow_funcs
3104         (numberOfSeparators): move to lyxrow_funcs
3105         (numberOfHfills): move to lyxrow_funcs
3106         (numberOfLabelHfills): move to lyxrow_funcs
3107         (hfillExpansion): move to lyxrow_funcs
3108
3109         * lyxfunc.C: adjust
3110
3111         * bufferview_funcs.C (toggleAndShow): adjust
3112
3113         * RowList.h: Remove class RowList from file leave just a
3114         std::list<Row>.
3115
3116         * RowList.C: delete file
3117
3118         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3119         and lyxrow_funcs.h
3120
3121 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3122
3123         * text3.C (cursorPrevious): adjust
3124         (cursorNext): adjust
3125         (dispatch): adjust
3126
3127         * text2.C (redoHeightOfParagraph): adjust
3128         (redoDrawingOfParagraph): adjust
3129         (setCursor): adjust
3130
3131         * text.C (breakParagraph): adjust
3132         (insertChar): adjust
3133         (backspace): adjust
3134
3135         * rowpainter.C (RowPainter): adjust
3136         (leftMargin): simplify and adjust
3137         (most rowpainter functions): adjust.
3138
3139         * rowpainter.h: store the row as RowList::iterator not as Row*
3140
3141         * lyxcursor.C (row): taka RowList::iterator as arg
3142         (irow): ditto
3143
3144         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3145         of Row*.
3146
3147 2003-04-01  Angus Leeming  <leeming@lyx.org>
3148
3149         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3150         stuff like bool Bool.
3151
3152 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3153
3154         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3155         rewrite a loop
3156
3157 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3158
3159         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3160         RowList::iterator.
3161
3162         * lyxtext.h (rows): drop one version and leve a const variant that
3163         returns a RowList::iterator.
3164
3165 2003-03-31  Angus Leeming  <leeming@lyx.org>
3166
3167         * text.C (fill): ensure that the signature is the same as that in the
3168         header file.
3169
3170 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3171
3172         * text2.C (redoParagraphs): adjust
3173         (updateCounters): adjust
3174         (checkParagraph): adjust
3175         (getColumnNearX): adjust and reformat a bit.
3176
3177         * text.C (top_y): adjust
3178         (workWidth): adjust
3179         (leftMargin): adjust
3180         (prepareToPrint): adjust
3181         (getRow): adjust
3182         (getRowNearY): adjust
3183
3184         * lyxtext.h: make rowlist_ mutable.
3185
3186         * RowList.h: add const_iterator
3187         * RowList.C: adjust for RowList::const_iterator.
3188
3189         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3190         adjust.
3191
3192 2003-03-31  John Levon  <levon@movementarian.org>
3193
3194         * lyxrc.h:
3195         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3196
3197         * lyx_main.C: set default fonts from using lyx_gui funcs
3198
3199         * exporter.C: pdf_mode moved from lyxrc
3200
3201         * lyx_cb.C:
3202         * lyxfunc.C: changes from above
3203
3204 2003-03-31  John Levon  <levon@movementarian.org>
3205
3206         * lyx_main.C: fix to the last fix
3207
3208 2003-03-31  John Levon  <levon@movementarian.org>
3209
3210         * bufferlist.C: "Load original" -> "Load Original"
3211
3212         * converter.C:
3213         * exporter.C:
3214         * importer.C:
3215         * lyx_main.C:
3216         * format.C: more Alert cleanups
3217
3218 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3219
3220         * text2.C (removeParagraph): make it take a RowList::iterator as
3221         arg, adjust.
3222         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3223         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3224
3225         * text.C (anchor_row): make it take a RowList::iterator as arg,
3226         adjust.
3227         (computeBidiTables): make it take a const reference to Row instead
3228         of Row pointer, adjust.
3229         (leftMargin): make it take a RowList::iterator as arg, adjust.
3230         (rowBreakPoint): adjust
3231         (breakAgainOneRow): make it take a RowList::iterator as arg,
3232         adjust.
3233         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3234
3235         * bufferview_funcs.C (toggleAndShow): adjust
3236
3237 2003-03-30  John Levon  <levon@movementarian.org>
3238
3239         * Makefile.am:
3240         * BoostFormat.h:
3241         * boost-inst.C: moved to support
3242
3243         * several files: changes as a result
3244
3245 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3246
3247         * text2.C (LyXText): adjust.
3248         (init): adjust
3249         (removeRow): make it take a RowList::iterator as arg, adjust.
3250         (fullRebreak): adjust
3251         (deleteEmptyParagraphMechanism): adjust
3252         (clearPaint): adjust
3253         (postPaint): adjust
3254
3255         * text.C (top_y): adjust
3256         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3257         (breakAgain): make it take a RowList::iterator as arg, adjust.
3258         (breakParagraph): adjust
3259         (insertChar): adjust
3260         (backspace): adjust
3261
3262         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3263         need_break_row, and refresh_row.
3264
3265         * text3.C (dispatch): adjust
3266
3267         * text2.C (checkParagraph): adjust
3268         (setCursor): adjust
3269         (setCursorFromCoordinates): adjust
3270
3271         * text.C (top_y): adjust
3272         (workWidth): adjust
3273         (getRow): make it return a RowList::iterator, adjust
3274         (getRowNearY): make it return a RowList::iterator, adjust
3275
3276         * text2.C (init): adjust
3277         (insertRow): remove function
3278         (insertParagraph): adjust
3279         (redoParagraphs): adjust
3280         (fullRebreak): adjust
3281         (updateCounters): adjust
3282
3283         * text.C (top_y): rewrite to use RowList iterators.
3284         (top_y): adjust
3285         (setHeightOfRow): rewrite to sue RowList iterators.
3286         (appendParagraph): adjust
3287         (breakAgain): adjust
3288         (breakAgainOneRow): adjust
3289         (breakParagraph): adjust
3290         (getRow): adjust
3291         (getRowNearY): adjust, and remove commented code.
3292
3293         * lyxtext.h (firstRow): delete function
3294         (lastRow): delete function
3295         (rows): new function (const and non-const versions.)
3296         (insertRow): delete function
3297
3298         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3299
3300 2003-03-29  John Levon  <levon@movementarian.org>
3301
3302         * BufferView_pimpl.C: always update scrollbar top
3303         because pasting text when we're anchored could mean we
3304         miss an update altogether
3305
3306 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3307
3308         * text2.C (init): use rowlist_.end() and not 0.
3309         (insertRow): change to take a RowList::iterator as arg, adjust
3310         for this.
3311         (insertParagraph): change to take a RowList::iterator as arg,
3312         adjust for this.
3313         (redoParagraphs): remove some debug msgs.
3314
3315         * text.C (appendParagraph): change to take a RowList::iterator
3316         arg, adjust for this.
3317         (breakAgain): add an assert
3318         (breakAgainOneRow): ditto
3319
3320 2003-03-29  John Levon  <levon@movementarian.org>
3321
3322         * text2.C: do not clear selection after inc/decDepth
3323         (bug 550)
3324
3325 2003-03-29  John Levon  <levon@movementarian.org>
3326
3327         * BufferView.C:
3328         * buffer.C: fix broken strerrors according to Lars
3329
3330 2003-03-29  John Levon  <levon@movementarian.org>
3331
3332         * converters.C: more Alert cleanups
3333
3334 2003-03-29  John Levon  <levon@movementarian.org>
3335
3336         * bufferview_funcs.C: remove pointless Alert
3337
3338         * buffer.C: fix confusing error message when
3339         a template is chmoded 000
3340
3341 2003-03-29  John Levon  <levon@movementarian.org>
3342
3343         * BufferView.C:
3344         * BufferView.h:
3345         * BufferView_pimpl.C: Alert fixes
3346
3347         * Makefile.am:
3348         * tabular.C:
3349         * tabular-old.C: remove unused table compat reading
3350
3351 2003-03-29  John Levon  <levon@movementarian.org>
3352
3353         * BufferView.C:
3354         * buffer.C:
3355         * lyx_cb.h:
3356         * lyx_cb.C: more Alert cleanups
3357
3358         * lyxfunc.C: don't allow chktex if not latex document
3359
3360 2003-03-29  John Levon  <levon@movementarian.org>
3361
3362         * lyx_cb.C:
3363         * BufferView.C:
3364         * buffer.C: warnings pushed down from support/,
3365         kill err_alert
3366
3367 2003-03-29  John Levon  <levon@movementarian.org>
3368
3369         * lyxfunc.C: safety check for C-r (revert)
3370
3371 2003-03-29  John Levon  <levon@movementarian.org>
3372
3373         * bufferlist.h:
3374         * bufferlist.C: several UI fixes using Alert::prompt.
3375         Fix the pointless looping quit code. Fix stupid revert
3376         behaviour (bug 938)
3377
3378         * lyxvc.h:
3379         * lyxvc.C:
3380         * lyx_cb.C: use Alert::prompt
3381
3382         * lyx_main.C: remove a silly question
3383
3384         * lyxfunc.C: remove a couple of silly questions,
3385         use Alert::prompt
3386
3387 2003-03-28  John Levon  <levon@movementarian.org>
3388
3389         * text2.C: fix bug 974 (End on empty par)
3390
3391 2003-03-28  John Levon  <levon@movementarian.org>
3392
3393         * BufferView_pimpl.C:
3394         * LyXAction.C:
3395         * lfuns.h: remove do-nothing math greek lfuns
3396
3397 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3398
3399         * lyxgluelength.h (isValidGlueLength): add default arg on
3400         parameter 2. Remove default arg from friend in class.
3401
3402         * lyxlength.h (isValidLength): add default arg on parameter 2.
3403         Remove default arg from friend in class.
3404
3405         * text2.C (LyXText): adjust, initialize refresh_row.
3406         (init): adjust
3407         (removeRow): adjust
3408         (insertRow): adjust
3409         (insertParagraph): adjst
3410         (redoParagraphs): adjust
3411         (fullRebreak): adjust
3412         (updateCounters): adjust
3413         (deleteEmptyParagraphMechanism): first attempt at fixing a
3414         crashing bug.
3415
3416         * text.C (top_y): adjust
3417         (setHeightOfRow): adjust
3418         (getRow): adjust
3419         (getRowNearY): adjust
3420
3421         * lyxtext.h: include RowList.h
3422         (~LyXText): not needed anymore, deleted.
3423         (firstRow): modify for RowList
3424         (lastRow): new function
3425         Delete firstrow and lastrow class variables, add a Rowlist
3426         rowlist_ class variable.
3427
3428         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3429         paragraph is empty.
3430
3431         * RowList.C (insert): fix case where it == begin().
3432
3433 2003-03-26  Angus Leeming  <leeming@lyx.org>
3434
3435         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3436         the thesaurus dialog.
3437
3438 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3439
3440         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3441
3442         * RowList.[Ch]: new files
3443
3444         * ParagraphList.C (erase): handle the case where it == begin
3445         correctly.
3446
3447 2003-03-25  John Levon  <levon@movementarian.org>
3448
3449         * Makefile.am:
3450         * aspell_local.h:
3451         * aspell.C: add new aspell support
3452
3453         * lyxrc.h:
3454         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3455         have it accessible.
3456
3457 2003-03-25  Angus Leeming  <leeming@lyx.org>
3458
3459         * lfuns.h:
3460         * LyXAction.C (init): new LFUN_INSET_INSERT.
3461
3462         * BufferView_pimpl.C (dispatch): split out part of the
3463         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3464
3465         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3466         LFUN_INSET_APPLY.
3467
3468 2003-03-25  Angus Leeming  <leeming@lyx.org>
3469
3470         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3471
3472 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3473
3474         * text2.C:
3475         * text3.C: remove useless row->height(0)
3476
3477 2003-03-25  John Levon  <levon@movementarian.org>
3478
3479         * lyxtext.h:
3480         * text2.C:
3481         * text3.C: rename the refreshing stuff to better names
3482
3483 2003-03-24  John Levon  <levon@movementarian.org>
3484
3485         * BufferView_pimpl.h:
3486         * BufferView_pimpl.C: update layout choice on a mouse
3487         press/release
3488
3489 2003-03-23  John Levon  <levon@movementarian.org>
3490
3491         * Makefile.am: fix commandtags.h reference
3492
3493 2003-03-22  John Levon  <levon@movementarian.org>
3494
3495         * BufferView_pimpl.C:
3496         * lyxtext.h:
3497         * rowpainter.C:
3498         * rowpainter.h:
3499         * text.C:
3500         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3501
3502 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3503
3504         * lyxtext.h:
3505         * text.C: take the rtl methods out of line
3506
3507 2003-03-21 André Pönitz <poenitz@gmx.net>
3508
3509         * metricsinfo.[Ch]: new files containing structures to be passed around
3510         during the two-phase-drawing...
3511
3512 2003-03-21 André Pönitz <poenitz@gmx.net>
3513
3514         * lyxtextclass.C: read 'environment' tag.
3515
3516 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3517
3518         * text2.C (removeRow): fix bug 964
3519
3520 2003-03-20  John Levon  <levon@movementarian.org>
3521
3522         * rowpainter.C:
3523         * text.C:
3524         * text2.C: paint cleanups. Inset::update() dropped font
3525         parameter
3526
3527 2003-03-19  John Levon  <levon@movementarian.org>
3528
3529         * lyxfunc.C: only fitcursor/markDirty if available()
3530
3531 2003-03-19  John Levon  <levon@movementarian.org>
3532
3533         * commandtags.h: rename to ...
3534
3535         * lfuns.h: ... this, and renumber / cleanup
3536
3537 2003-03-19  John Levon  <levon@movementarian.org>
3538
3539         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3540         fit the cursor after an lfun
3541
3542         * BufferView.h:
3543         * BufferView.C:
3544         * BufferView_pimpl.h:
3545         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3546
3547         * LyXAction.C: layout-character should have ReadOnly
3548
3549         * ParagraphParameters.C:
3550         * buffer.C:
3551         * bufferview_funcs.C:
3552         * lyx_cb.C:
3553         * lyxfind.C:
3554         * lyxtext.h:
3555         * text.C:
3556         * text2.C:
3557         * text3.C:
3558         * undo_funcs.C: changes from above
3559
3560 2003-03-18  John Levon  <levon@movementarian.org>
3561
3562         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3563         remove it from update()
3564
3565         * lyxfunc.C: update layout choice after an lfun
3566
3567         * text3.C: remove extra updateLayoutChoice()s
3568
3569 2003-03-18  John Levon  <levon@movementarian.org>
3570
3571         * text.C: top_y change means full repaint, fix
3572         a drawing bug with cursor movement
3573
3574 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3575
3576         * lyxtext.h:
3577         * text.C:
3578         * text2.C: anchor row on setCursor
3579
3580 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3581
3582         * lyxtext.h: remove almost all mutable keywords
3583         * text.C:
3584         * text2.C:
3585         * text3.C: remove const keywords accordingly
3586
3587 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3588
3589         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3590         anon namespace
3591         (TeXEnvironment): ditto
3592         (TeXOnePar): ditto
3593
3594 2003-03-17  John Levon  <levon@movementarian.org>
3595
3596         * text.C (rowBreakPoint): remove attempt to fix displayed
3597         math insets inside a manual label
3598
3599 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3600
3601         * lyxtext.h: remove BufferView* as first arg from almost all class
3602         functions.
3603         * other files: adjust.
3604
3605 2003-03-17  John Levon  <levon@movementarian.org>
3606
3607         * lyxtext.h:
3608         * undo_funcs.C:
3609         * text2.C: more paint cleanups
3610
3611         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3612
3613         * rowpainter.h:
3614         * rowpainter.C: remove "smart" background painting code
3615
3616 2003-03-16  John Levon  <levon@movementarian.org>
3617
3618         * lyxtext.h:
3619         * text.C:
3620         * text2.C:
3621         * text3.C: add helper functions for setting refresh_row/y
3622
3623 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3624
3625         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3626         newline inset which *can* get inserted in the pass_thru layouts.
3627         This is primarily for literate documents.
3628
3629 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3630
3631         * buffer.C: increment LYX_FORMAT to 223
3632
3633 2003-03-14 André Pönitz <poenitz@gmx.net>
3634
3635         * textclass.h: prepare for environment handling, ws changes
3636         * lyxlayout.C: read latexheader and latexfooter tags
3637
3638 2003-03-14  John Levon  <levon@movementarian.org>
3639
3640         * text2.C: rewrite ::status() a bit
3641
3642 2003-03-13  John Levon  <levon@movementarian.org>
3643
3644         * lyxtext.h: add some docs
3645
3646 2003-03-13  John Levon  <levon@movementarian.org>
3647
3648         * lyxtext.h:
3649         * text.C:
3650         * text2.C:
3651         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3652
3653 2003-03-13  John Levon  <levon@movementarian.org>
3654
3655         * text3.C: fix appendix redrawing
3656
3657 2003-03-13  John Levon  <levon@movementarian.org>
3658
3659         * text.C (setHeightOfRow):
3660         * rowpainter.h:
3661         * rowpainter.C: make appendix mark have the text
3662           "Appendix" so the user knows what it is
3663
3664         * LColor.h:
3665         * LColor.C: s/appendixline/appendix/ from above
3666
3667 2003-03-13  John Levon  <levon@movementarian.org>
3668
3669         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3670
3671         * text.C: fix a getChar(pos) bug properly
3672
3673 2003-03-13  Angus Leeming  <leeming@lyx.org>
3674
3675         * commandtags.h:
3676         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3677         Probably only temporary. Let's see how things pan out.
3678
3679         * BufferView.C (unlockInset):
3680         * BufferView_pimpl.C (fitCursor):
3681         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3682
3683         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3684         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3685
3686         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3687         new functions that convert ParagraphParameters to and from a string.
3688
3689         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3690         BufferView::Pimpl's dispatch.
3691         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3692
3693 2003-03-13 André Pönitz <poenitz@gmx.net>
3694
3695         * lyxfunc.C:
3696         * text3.C:
3697         * factory.C: make it aware of InsetEnv
3698
3699 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * text2.C (setCursor): never ask for one past last
3702         (setCursor): add some debugging messages.
3703
3704         * text.C (singleWidth): never ask for one past last
3705         (singleWidth): ditto
3706         (leftMargin): ditto
3707         (rightMargin): ditto
3708         (rowBreakPoint): ditto
3709         (setHeightOfRow): ditto
3710         (prepareToPrint): ditto
3711
3712         * rowpainter.C (paintBackground): never ask for one past last
3713         (paintText): never ask for one past last
3714
3715         * paragraph_pimpl.C (getChar): make the assert stricter, never
3716         allow the one past last pos to be taken
3717
3718         * paragraph.C (getChar): ws changes only
3719
3720         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3721         (numberOfSeparators): ditto
3722         (numberOfHfills): ditto
3723
3724 2003-03-12  John Levon  <levon@movementarian.org>
3725
3726         * author.h:
3727         * author.C:
3728         * bufferparams.h:
3729         * bufferparams.C:
3730         * paragraph_funcs.C: fix per-buffer authorlists
3731
3732 2003-03-12  John Levon  <levon@movementarian.org>
3733
3734         * text.C: fix newline in right address
3735
3736 2003-03-12  Angus Leeming  <leeming@lyx.org>
3737
3738         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3739         duplicate those in LyXFunc::dispatch.
3740
3741         * commandtags.h:
3742         * LyXAction.C:
3743         * ToolbarDefaults.C:
3744         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3745         Add LFUN_FONTFREE_UPDATE.
3746
3747         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3748         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3749
3750         * bufferview_func.[Ch]: several new functions to facilliate
3751         transfer of data to and from the character dialog.
3752
3753 2003-03-12  John Levon  <levon@movementarian.org>
3754
3755         * buffer.C:
3756         * paragraph.h:
3757         * paragraph.C:
3758         * paragraph_funcs.C:
3759         * paragraph_pimpl.C:
3760         * sgml.C:
3761         * tabular.C:
3762         * text.C:
3763         * text3.C: remove META_NEWLINE in favour of an inset
3764
3765         * rowpainter.h:
3766         * rowpainter.C: remove paintNewline (done by inset)
3767
3768 2003-03-12  John Levon  <levon@movementarian.org>
3769
3770         * paragraph_pimpl.C: complain about bad getChar()s
3771         for a while at least
3772
3773 2003-03-12  John Levon  <levon@movementarian.org>
3774
3775         * buffer.h:
3776         * buffer.C: move paragraph read into a separate function,
3777         a little renaming to reflect that.
3778
3779         * bufferparams.h:
3780         * bufferparams.C: remove the author_ids map, not necessary now
3781
3782         * factory.h:
3783         * factory.C: moved Buffer::readInset to here
3784
3785         * paragraph_funcs.h:
3786         * paragraph_funcs.C: readParagraph free function moved from
3787         buffer.C
3788
3789         * tabular.C: name change
3790
3791 2003-03-12  John Levon  <levon@movementarian.org>
3792
3793         * buffer.C:
3794         * ParagraphParameters.C: move par params input to
3795         a read() method
3796
3797         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3798         behave like a normal read from the stream wrt reading
3799         a line vs. a \\token
3800
3801 2003-03-12  John Levon  <levon@movementarian.org>
3802
3803         * paragraph.C:
3804         * ParagraphParameters.h:
3805         * ParagraphParameters.C: move output code to a
3806         ::write() method
3807
3808 2003-03-12  John Levon  <levon@movementarian.org>
3809
3810         * BufferView.C (insertLyXFile):
3811         * buffer.h:
3812         * buffer.C:
3813         * tabular.C: use a parlist iterator for creating the
3814           document.
3815
3816 2003-03-12  John Levon  <levon@movementarian.org>
3817
3818         * buffer.C: make current_change static local not
3819           static file-scope
3820
3821 2003-03-12  John Levon  <levon@movementarian.org>
3822
3823         * buffer.C: fix insertStringAsLines for change tracking
3824
3825 2003-03-12  John Levon  <levon@movementarian.org>
3826
3827         * BufferView.C:
3828         * tabular.C:
3829         * buffer.h:
3830         * buffer.C:
3831         * bufferparams.h:
3832         * bufferparams.C: move author list into params. Rename some
3833           functions. Move the header reading into a separate token
3834           loop. Move the header token reading into BufferParams.
3835
3836 2003-03-12  John Levon  <levon@movementarian.org>
3837
3838         * changes.C: put debug inside lyxerr.debugging() checks
3839
3840 2003-03-11 André Pönitz <poenitz@gmx.net>
3841
3842         * factory.C: make it aware of InsetHFill
3843
3844 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3845
3846         * buffer.C (latexParagraphs): move function from here...
3847         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3848         args.
3849
3850 2003-03-10  Angus Leeming  <leeming@lyx.org>
3851
3852         * LyXAction.C (init): fix bug in poplating array with multiple entries
3853         with the same LFUN (spotted by JMarc).
3854
3855 2003-03-10  John Levon  <levon@movementarian.org>
3856
3857         * text.C:
3858         * text2.C: move getColumnNearX() near its
3859         only call site
3860
3861 2003-03-10  John Levon  <levon@movementarian.org>
3862
3863         * text.C: fix break before a minipage
3864
3865 2003-03-10  John Levon  <levon@movementarian.org>
3866
3867         * text.C: fix the last commit
3868
3869 2003-03-09  John Levon  <levon@movementarian.org>
3870
3871         * lyxtext.h:
3872         * text.C:
3873         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3874         bug 365 (don't break before insets unless needed). Don't
3875         return a value > last under any circumstances.
3876
3877 2003-03-09  Angus Leeming  <leeming@lyx.org>
3878
3879         * BufferView_pimpl.C (trackChanges, dispatch): call
3880         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3881
3882 2003-03-09  Angus Leeming  <leeming@lyx.org>
3883
3884         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3885         than Dialogs::showAboutlyx().
3886
3887 2003-03-09  Angus Leeming  <leeming@lyx.org>
3888
3889         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3890         than Dialogs::showTabularCreate().
3891
3892 2003-03-09  John Levon  <levon@movementarian.org>
3893
3894         * lyxtext.h:
3895         * text.C:
3896         * text2.C: 3rd arg to nextBreakPoint was always the same.
3897           Use references.
3898
3899 2003-03-08  John Levon  <levon@movementarian.org>
3900
3901         * lyxrow.C:
3902         * paragraph.C:
3903         * paragraph.h:
3904         * rowpainter.C:
3905         * text.C:
3906         * text2.C: Remove the "main" bit from the "main body"
3907           notion.
3908
3909 2003-03-08  John Levon  <levon@movementarian.org>
3910
3911         * text.C (leftMargin): The left margin of an empty
3912         manual label paragraph should not include the label width
3913         string length.
3914
3915         * text.C (prepareToPrint): don't attempt to measure hfills
3916         for empty manual label paragraphs - the answer should be 0
3917
3918 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3919
3920         * CutAndPaste.C: remove commented code and reindent.
3921
3922 2003-03-08  John Levon  <levon@movementarian.org>
3923
3924         * lyxfunc.h:
3925         * lyxfunc.C: move reloadBuffer()
3926
3927         * BufferView.h:
3928         * BufferView.C: to here
3929
3930         * lyxvc.C: add comment
3931
3932         * vc-backend.h:
3933         * vc-backend.C: call bv->reload() to avoid
3934           getStatus() check on MENURELOAD
3935
3936 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3937
3938         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3939         to an old format .dep file.
3940
3941 2003-03-07  Angus Leeming  <leeming@lyx.org>
3942
3943         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3944         when the LFUN_MOUSE_RELEASE should have been handled by
3945         inset->localDispatch.
3946
3947 2003-03-07  Angus Leeming  <leeming@lyx.org>
3948
3949         * BufferView_pimpl.C (dispatch):
3950         * LyXAction.C (init):
3951         * ToolbarDefaults.C (init):
3952         * commandtags.h:
3953         * lyxfunc.C (getStatus):
3954         remove LFUN_INSET_GRAPHICS.
3955
3956         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3957
3958 2003-03-07  Angus Leeming  <leeming@lyx.org>
3959
3960         * commandtags.h:
3961         * LyXAction.C (init):
3962         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3963
3964         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3965
3966         * commandtags.h:
3967         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3968
3969         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3970         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3971
3972 2003-03-07  Angus Leeming  <leeming@lyx.org>
3973
3974         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3975         remove "ert".
3976
3977 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * ParagraphList.C (front): new function
3980         (back): implement
3981
3982 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3983
3984         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3985         and top_row_offset_. removed var first_y.
3986         * text.C (top_y):
3987         * text2.C (LyXText, removeRow):
3988         * text3.C:
3989         * BufferView_pimpl.C:
3990         use these methods instead of using first_y
3991
3992 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3993
3994         * text2.C (pasteSelection): adjust for checkPastePossible
3995
3996         * CutAndPaste.C: remove Paragraph * buf and replace with
3997         ParagraphList paragraphs.
3998         (DeleteBuffer): delete
3999         (cutSelection): change the tc type to textclass_type
4000         (copySelection): change the tc type to textclass_type
4001         (copySelection): adjust for ParagraphList
4002         (pasteSelection): change the tc type to textclass_type
4003         (pasteSelection): adjust for Paragraphlist
4004         (nrOfParagraphs): simplify for ParagraphList
4005         (checkPastePossible): simplify for ParagraphList
4006         (checkPastePossible): remove unused arg
4007
4008         * ParagraphList.C (insert): handle the case where there are no
4009         paragraphs yet.
4010
4011         * CutAndPaste.h: make CutAndPaste a namespace.
4012
4013         * text3.C (dispatch): adjust
4014
4015         * text.C (breakParagraph): add a ParagraphList as arg
4016
4017         * paragraph_funcs.C (breakParagraph): change to take a
4018         BufferParams and a ParagraphList as args.
4019         (breakParagraphConservative): ditto
4020         (mergeParagraph): ditto
4021         (TeXDeeper): add a ParagraphList arg
4022         (TeXEnvironment): ditto
4023         (TeXOnePar): ditto
4024
4025         * buffer.C (readLyXformat2): adjust
4026         (insertStringAsLines): adjust
4027         (latexParagraphs): adjust
4028
4029         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4030         (cutSelection): adjust
4031         (pasteSelection): adjust
4032
4033         * BufferView_pimpl.C (insertInset): adjust
4034
4035 2003-03-05  Angus Leeming  <leeming@lyx.org>
4036
4037         * commandtags.h:
4038         * LyXAction.C (init):
4039         * BufferView_pimpl.C (dispatch):
4040         * lyxfunc.C (getStatus):
4041         remove LFUN_CHILD_INSERT.
4042
4043         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4044
4045 2003-03-05  Angus Leeming  <leeming@lyx.org>
4046
4047         * commandtags.h:
4048         * LyXAction.C (init):
4049         * src/factory.C (createInset):
4050         * lyxfunc.C (getStatus):
4051         * text3.C (dispatch):
4052         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4053
4054         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4055
4056 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * ParagraphList.C (insert): handle insert right before end()
4059         (erase): fix cases where it can be first or last paragraph.
4060
4061 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4062
4063         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4064         Paragraph::next and Paragraph::previous
4065         (TeXOnePar): ditto
4066
4067         * text.C (breakParagraph): adjust
4068
4069         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4070         BufferParams& as arg.
4071         (breakParagraph): use ParagraphList::insert
4072         (breakParagraphConservative): take a Buffer* instead of a
4073         BufferParams& as arg.
4074         (breakParagraphConservative): use ParagraphList::insert.
4075
4076         * buffer.C (insertStringAsLines): un-const it
4077         (insertStringAsLines): adjust
4078
4079         * ParagraphList.C (insert): new function
4080
4081         * CutAndPaste.C (pasteSelection): adjust
4082
4083         * text.C (backspace): adjust
4084
4085         * tabular.C (SetMultiColumn): adjust
4086
4087         * CutAndPaste.C (cutSelection): adjust
4088         (pasteSelection): adjust
4089
4090         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4091         Buffer const * as arg
4092
4093         * ParagraphList.C (erase): new function
4094         * paragraph_funcs.C (mergeParagraph): use it
4095         (mergeParagraph): make it take a Buffer* instead of a
4096         BufferParams* as arg
4097
4098         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4099         as arg
4100         (breakParagraphConservative): ditto
4101
4102         * paragraph.h: remove the breakParagraph friend
4103
4104         * paragraph.C (eraseIntern): new function
4105         (setChange): new function
4106
4107         * paragraph_funcs.C (mergeParagraph): make it take a
4108         ParagraphList::iterator instead of a Paragraph *, adjust
4109         accordingly.
4110
4111         * paragraph.h: move an #endif so that the change tracking stuff
4112         also works in the NO_NEXT case.
4113
4114 2003-03-04  Angus Leeming  <leeming@lyx.org>
4115
4116         * commandtags.h:
4117         * LyXAction.C: new LFUN_INSET_MODIFY.
4118
4119         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4120         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4121
4122 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4123
4124         * several files: ws changes only
4125
4126         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4127         (TeXEnvironment): ditto
4128         (TeXDeeper): ditto
4129
4130         * buffer.C (makeLaTeXFile): adjust
4131         (latexParagraphs): make it take ParagraphList::iterator as args
4132
4133 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4134
4135         * buffer.C (latexParagraphs): adjust
4136
4137         * paragraph.C (TeXOnePar): move function...
4138         (optArgInset): move function...
4139         (TeXEnvironment): move function...
4140         * paragraph_pimpl.C (TeXDeeper): move function...
4141         * paragraph_funcs.C: ...here
4142
4143         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4144
4145 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4146
4147         * buffer.C (readInset): remove compability code for old Figure and
4148         InsetInfo insets
4149
4150 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4151
4152         * buffer.C: ws changes
4153         (readInset):
4154
4155         * BufferView_pimpl.C: ditto
4156         * author.C: ditto
4157         * buffer.h: ditto
4158         * bufferlist.h: ditto
4159         * changes.h: ditto
4160         * lyxfunc.C: ditto
4161
4162 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4163
4164         * converter.[Ch]: split into itself +
4165         * graph.[Ch]
4166         * format.[Ch]
4167         * Makefile.am: += graph.[Ch] + format.[Ch]
4168         * MenuBackend.C
4169         * buffer.C
4170         * exporter.C
4171         * importer.C
4172         * lyx_main.C
4173         * lyxfunc.C
4174         * lyxrc.C: added #include "format.h"
4175
4176 2003-02-27  Angus Leeming  <leeming@lyx.org>
4177
4178         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4179           a label.
4180
4181         * factory.C (createInset): add "label" to the factory.
4182
4183         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4184           string and do no more.
4185
4186 2003-02-27  Angus Leeming  <leeming@lyx.org>
4187
4188         * commandtags.h:
4189         * LyXAction.C (init):
4190         * factory.C (createInset):
4191         * BufferView_pimpl.C (dispatch):
4192           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4193
4194         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4195
4196         * lyxfunc.C (dispatch):
4197         * text3.C (dispatch): pass name to params2string.
4198
4199 2003-02-26  Angus Leeming  <leeming@lyx.org>
4200
4201         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4202           blocks together.
4203           Rearrange the ~includes. Strip out the unnecessary ones.
4204
4205         * factory.C (createInset): reformat.
4206           create new insets for the various LFUN_XYZ_APPLY lfuns.
4207
4208 2003-02-26  John Levon  <levon@movementarian.org>
4209
4210         * lyxrow.h:
4211         * lyxrow.C: add isParStart,isParEnd helpers
4212
4213         * paragraph.h: make isInserted/DeletedText take refs
4214
4215         * paragraph_funcs.h:
4216         * paragraph_funcs.C: remove #if 0'd code
4217
4218         * lyxtext.h:
4219         * text3.C:
4220         * text2.C:
4221         * text.C: use lyxrow helpers above.
4222           Move draw and paint routines to RowPainter.
4223           Make several methods use refs not pointers.
4224           Make backgroundColor() const.
4225           Add markChangeInDraw(), isInInset().
4226           Merge changeRegionCase into changeCase.
4227           Make workWidth() shouldn't-happen code into an Assert.
4228
4229         * rowpainter.h:
4230         * rowpainter.C: new class for painting a row.
4231
4232         * vspace.h:
4233         * vspace.C: make inPixels take a ref
4234
4235 2003-02-26  Angus Leeming  <leeming@lyx.org>
4236
4237         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4238         LFUN_REF_APPLY.
4239
4240 2003-02-25  John Levon  <levon@movementarian.org>
4241
4242         * ispell.C: give the forked command a more accurate name
4243
4244 2003-02-22  John Levon  <levon@movementarian.org>
4245
4246         * toc.h:
4247         * toc.C: make TocItem store an id not a Paragraph *
4248           (bug #913)
4249
4250 2003-02-21  Angus Leeming  <leeming@lyx.org>
4251
4252         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4253           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4254           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4255           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4256           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4257           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4258
4259         * BufferView_pimpl.C (dispatch):
4260         * LyXAction.C (init):
4261         * factory.C (createInset):
4262         * lyxfunc.C (getStatus, dispatch):
4263         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4264
4265 2003-02-21  Angus Leeming  <leeming@lyx.org>
4266
4267         * BufferView_pimpl.C (MenuInsertLyXFile):
4268         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4269         * lyxfunc.C (menuNew, open, doImport):
4270           no longer pass a LyXView & to fileDlg.
4271
4272 2003-02-21  Angus Leeming  <leeming@lyx.org>
4273
4274         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4275         * LyXAction.C: change, BIBKEY to BIBITEM.
4276         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4277         Change InsetBibKey to InsetBibitem.
4278         Change BIBKEY_CODE to BIBITEM_CODE.
4279         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4280         * factory.C: replace insetbib.h with insetbibitem.h.
4281         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4282         * paragraph.C: replace insetbib.h with insetbibitem.h.
4283         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4284         Change bibkey() to bibitem().
4285         * text.C: remove insetbib.h.
4286         * text2.C: replace insetbib.h with insetbibitem.h.
4287         change bibkey() to bibitem().
4288         * text3.C: remove insetbib.h.
4289         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4290
4291 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4292
4293         * lyxrc.C (output): enclose user email in quotes (in case there are
4294         several words)
4295
4296 2003-02-18  John Levon  <levon@movementarian.org>
4297
4298         * buffer.h: add std::
4299
4300 2003-02-17  John Levon  <levon@movementarian.org>
4301
4302         * SpellBase.h:
4303         * ispell.h:
4304         * ispell.C:
4305         * pspell.h:
4306         * pspell.C: reworking. Especially in ispell, a large
4307           number of clean ups and bug fixes.
4308
4309         * lyxfunc.C: fix revert to behave sensibly
4310
4311 2003-02-17 André Pönitz <poenitz@gmx.net>
4312
4313         * LyXAction.C:
4314         * commandtags.h: new LFUN_INSERT_BIBKEY
4315
4316         * layout.h:
4317         * lyxlayout.C:
4318         * buffer.C:
4319         * factory.C:
4320         * text.C:
4321         * text2.C:
4322         * text3.C:
4323         * paragraph.[Ch]:
4324         * paragraph_func.C: remove special bibkey handling
4325
4326 2003-02-17  John Levon  <levon@movementarian.org>
4327
4328         * text.C (Delete): fix case where delete at the end of
4329           the very first paragraph would not merge the pars
4330
4331 2003-02-17  John Levon  <levon@movementarian.org>
4332
4333         * lyxrow.C: fix lastPrintablePos()
4334
4335 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4336
4337         * bufferparams.C (writeLaTeX): add a std:here
4338
4339         * buffer.C: and remove a using directive there
4340
4341 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4342
4343         * buffer.C (makeLaTeXFile): move the code that generates the
4344           preamble...
4345
4346         * bufferparams.C (writeLaTeX): ... in this new method
4347
4348         * LaTeXFeatures.C (getEncodingSet): make const
4349           (getLanguages): make const
4350
4351         * MenuBackend.C (binding): returns the binding associated to this
4352           action
4353           (add): sets the status of each item by calling getStatus. Adds
4354           some intelligence.
4355           (read): add support for OptSubMenu
4356           (expand): remove extra separator at the end of expanded menu
4357
4358 2003-02-15  John Levon  <levon@movementarian.org>
4359
4360         * BufferView.C:
4361         * BufferView_pimpl.C:
4362         * bufferlist.h:
4363         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4364           inset code that had no actual effect. Remove unneeded status
4365           code.
4366
4367 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4368
4369         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4370           in preamble
4371
4372 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4373
4374         * text.C (drawLengthMarker): also draw an arrow marker for
4375           symbolic lengths (medskip...)
4376
4377 2003-02-14  John Levon  <levon@movementarian.org>
4378
4379         * tabular.h:
4380         * tabular.C: better method names
4381
4382 2003-02-14  John Levon  <levon@movementarian.org>
4383
4384         * BufferView_pimpl.C:
4385         * bufferlist.C:
4386         * buffer.C:
4387         * converter.C:
4388         * lyx_cb.C:
4389         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4390           it's a more accurate name. Remove some pointless uses.
4391
4392 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4393
4394         * text2.C (LyXText): change order of initilizers to shut off
4395           warnings
4396
4397 2003-02-14  John Levon  <levon@movementarian.org>
4398
4399         * buffer.C: use ParIterator for getParFromID()
4400
4401         * paragraph.h:
4402         * paragraph.C:
4403         * paragraph_pimpl.h:
4404         * paragraph_pimpl.C: remove unused getParFromID()
4405
4406 2003-02-14  John Levon  <levon@movementarian.org>
4407
4408         * buffer.C: remove some very old #if 0'd parse code
4409
4410 2003-02-13  John Levon  <levon@movementarian.org>
4411
4412         * text.h:
4413         * text.C:
4414         * text2.C: move hfillExpansion(), numberOfSeparators(),
4415           rowLast(), rowLastPrintable(), numberofHfills(),
4416           numberOfLabelHfills() ...
4417
4418         * lyxrow.h:
4419         * lyxrow.C: ... to member functions here.
4420
4421         * paragraph.h:
4422         * paragraph.C:
4423         * lyxtext.h:
4424         * text.C: remove LyXText::beginningOfMainBody(), and call
4425           p->beginningOfMainBody() directly. Move the check for
4426           LABEL_MANUAL into the latter.
4427
4428         * text.h:
4429         * text.C:
4430         * text2.C:
4431         * vspace.C:
4432         * BufferView.h:
4433         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4434
4435         * text.h:
4436         * text.C:
4437         * text2.C:
4438         * text3.C:
4439         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4440           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4441
4442 2003-02-13  John Levon  <levon@movementarian.org>
4443
4444         * CutAndPaste.C: remove debug
4445
4446 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4447
4448         * paragraph.C (asString): remove two unused variables
4449
4450         * lyxtextclass.C (readTitleType):
4451           (Read):
4452           (LyXTextClass): handle new members titletype_ and titlename_
4453
4454         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4455
4456 2003-02-09  John Levon  <levon@movementarian.org>
4457
4458         * buffer.h:
4459         * buffer.C: replace hand-coded list with a map for the dep clean
4460
4461 2003-02-08  John Levon  <levon@movementarian.org>
4462
4463         * LaTeX.C: consolidate code into showRunMessage() helper
4464
4465 2003-02-08  John Levon  <levon@movementarian.org>
4466
4467         * lyxfind.C:
4468         * lyxtext.h:
4469         * text2.C:
4470         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4471           and pass the size in explicitly
4472
4473         * BufferView_pimpl.h:
4474         * BufferView_pimpl.C:
4475         * BufferView.h:
4476         * BufferView.C: add getCurrentChange()
4477
4478         * BufferView_pimpl.h:
4479         * BufferView_pimpl.C: handle change lfuns
4480
4481         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4482           for changes. Mark pasted paragraphs as new.
4483
4484         * support/lyxtime.h:
4485         * support/lyxtime.C:
4486         * DepTable.C: abstract time_t as lyx::time_type
4487
4488         * LColor.h:
4489         * LColor.C: add colours for new text, deleted text, changebars
4490
4491         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4492           package use "usenames" option.
4493
4494         * commandtags.h:
4495         * lyxfunc.C:
4496         * LyXAction.C: add change lfuns
4497
4498         * Makefile.am:
4499         * author.h:
4500         * author.C: author handling
4501
4502         * buffer.h:
4503         * buffer.C: add a per-buffer author list, with first entry as
4504           current author. Handle new .lyx tokens for change tracking. Output
4505           author list to .lyx file. Output dvipost stuff to .tex preamble.
4506           Bump lyx format to 222.
4507
4508         * bufferlist.h:
4509         * bufferlist.C: add setCurrentAuthor() to reset current author details
4510           in all buffers.
4511
4512         * bufferparams.h:
4513         * bufferparams.C: add param for tracking
4514
4515         * bufferview_funcs.C: output change info in minibuffer
4516
4517         * Makefile.am:
4518         * changes.h:
4519         * changes.C: add change-tracking structure
4520
4521         * debug.h:
4522         * debug.C: add CHANGES debug flag
4523
4524         * lyxfind.h:
4525         * lyxfind.C: add code for finding the next change piece
4526
4527         * lyxrc.h:
4528         * lyxrc.C: add user_name and user_email
4529
4530         * lyxrow.h:
4531         * lyxrow.C: add a metric for the top of the text line
4532
4533         * lyxtext.h:
4534         * text.C: implement accept/rejectChange()
4535
4536         * lyxtext.h:
4537         * text.C: paint changebars. Paint new/deleted text in the chosen
4538         colours. Strike through deleted text.
4539
4540         * paragraph.h:
4541         * paragraph.C:
4542         * paragraph_pimpl.h:
4543         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4544           in the current change to the insert functions. Rework erase to
4545           mark text as deleted, adding an eraseIntern() and a range-based
4546           erase(). Implement per-paragraph change lookup and
4547           accept/reject.
4548
4549         * paragraph_funcs.C: Fixup paste for change tracking.
4550
4551         * tabular.C: mark added row/columns as new.
4552
4553         * text.C: fix rowLast() to never return -1. Don't allow
4554           spellchecking of deleted text. Track transpose changes. Don't
4555           allow paragraph break or merge where appropriate.
4556
4557         * text2.C: leave cursor at end of selection after a cut.
4558
4559 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4560
4561         * text.C (getLengthMarkerHeight):
4562         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4563         visible on screen too.
4564
4565 2003-02-07  John Levon  <levon@movementarian.org>
4566
4567         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4568
4569 2003-02-05  Angus Leeming  <leeming@lyx.org>
4570
4571         * lyxserver.C (read_ready): revert my patch of 11 September last year
4572         as it sends PC cpu through the roof. Presumably this means that
4573         the lyxserver will no longer run on an Alpha...
4574
4575 2003-01-30  Angus Leeming  <leeming@lyx.org>
4576
4577         * factory.C (createInset): create an InsetCommandParam of type "index"
4578         and use it to 'do the right thing'.
4579
4580         * text2.C (getStringToIndex): ensure that cursor position is always
4581         reset to the reset_cursor position.
4582
4583 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4584
4585         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4586         disabled.
4587
4588 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4589
4590         * bufferview.C:
4591         * lyxcb.C:
4592         * lyxfunc.C: Output messages with identical spelling, punctuation,
4593         and spaces
4594
4595 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4596
4597         * MenuBackend.C (expandFormats): List only viewable export formats
4598         in "View" menu
4599
4600         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4601         message
4602
4603         * lyxfunc.C (getStatus): Make sure that formats other than
4604         "fax" can also be disabled
4605
4606 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4607
4608         * text3.C (dispatch): put the lfuns that insert insets in 3
4609         groups, and call doInsertInset with appropriate arguments.
4610         (doInsertInset): new function, that creates an inset and inserts
4611         it according to some boolean parameters.
4612
4613 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4614
4615         * buffer.C (readFile): remember to pass on 'par' when calling
4616         readFile recursively.
4617
4618 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4619
4620         * MenuBackend.C (expandFormats): add "..." to import formats.
4621
4622 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4623
4624         * paragraph.C (asString): Remove XForms RTL hacks.
4625
4626 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4627         * buffer.C: fix typo
4628
4629 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4630
4631         * Makefile.am (LIBS): delete var
4632         (lyx_LDADD): add @LIBS@ here instead.
4633
4634 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4635
4636         * Clarify the meaning of "wheel mouse jump"
4637
4638 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4639
4640         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4641         tabular in a float
4642
4643 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4644
4645         * importer.C (Loaders): do not preallocate 3 elements in the
4646         vector, since one ends up with 6 elements otherwise
4647
4648 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4649
4650         * DepTable.C (write): write the file name as last element of the
4651         .dep file (because it may contain spaces)
4652         (read): read info in the right order
4653
4654 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4655
4656         * paragraph_pimpl.C (simpleTeXBlanks):
4657         (simpleTeXSpecialChars):
4658         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4659
4660         * tabular.C (latex): add some missing case statements. Reindent.
4661
4662         * MenuBackend.C (expandToc): remove unused variable.
4663
4664 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4665
4666         * LColor.C:
4667         * LaTeX.C:
4668         * LyXAction.C:
4669         * MenuBackend.C:
4670         * buffer.C:
4671         * exporter.C:
4672         * lyxfunc.C:
4673         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4674         and the like.
4675
4676 2003-01-05  John Levon  <levon@movementarian.org>
4677
4678         * BufferView.h:
4679         * BufferView.C: add getEncoding()
4680
4681         * kbsequence.h:
4682         * kbsequence.C: do not store last keypress
4683
4684         * lyxfunc.h:
4685         * lyxfunc.C: store last keypress here instead. Pass encoding
4686           to getISOEncoded()
4687
4688 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4689
4690         * lyx_main.C (init): remove annoying error message when following
4691         symbolic links (bug #780)
4692
4693 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4694
4695         * text.C (insertChar):
4696         * lyxrc.C (getDescription): remove extra spaces
4697
4698 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4699
4700         * lyxrc.C (getDescription): remove extra spaces
4701
4702 2002-12-20  John Levon  <levon@movementarian.org>
4703
4704         * text3.C: hack fix for page up/down across tall rows
4705
4706 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4707
4708         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4709         not been invoked
4710
4711 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4712
4713         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4714         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4715         thesaurus is not compiled in
4716
4717 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4718
4719         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4720
4721 2002-12-16  Angus Leeming  <leeming@lyx.org>
4722
4723         * lyxrc.[Ch]:
4724         * lyx_main.C (init): remove override_x_deadkeys stuff.
4725
4726 2002-12-12  John Levon  <levon@movementarian.org>
4727
4728         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4729           insert. Only remove shift modifier under strict
4730           circumstances.
4731
4732 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4733
4734         * MenuBackend.C (expandToc): fix crash.
4735
4736 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * MenuBackend.C (expandToc): gettext on float names.
4739
4740 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4741
4742         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4743         implement bool empty() [bug 490]
4744
4745 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4746
4747         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4748
4749 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4750
4751         * several files: ws changes
4752
4753 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * text2.C (setCounter): clean up a bit, use boost.format.
4756         (updateCounters): initialize par upon declaration.
4757
4758         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4759         if the layout exists. We do not just store the layout any more.
4760         (SwitchLayoutsBetweenClasses): use boost.format
4761
4762 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4763
4764         * converter.C (convert): if from and to files are the same, use a
4765         temporary files as intermediary
4766
4767 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4768
4769         * commandtags.h:
4770         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4771
4772 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4773
4774         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4775
4776 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4777
4778         * tabular.C (asciiPrintCell): use string(size, char) instead of
4779         explicit loop.
4780
4781         * sgml.C (openTag): fix order of arguments to string constructor
4782         (closeTag): ditto
4783
4784         * lyxfunc.C (dispatch): use boost.format
4785
4786         * lots of files: change "c" -> 'c'
4787
4788 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4789
4790         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4791
4792 2002-11-25  Angus Leeming  <leeming@lyx.org>
4793
4794         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4795
4796         * lyx_main.C (init): compile fix.
4797
4798 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * lyx_cb.C (start): boost.formatify
4801         do not include <iostream>
4802
4803         * lengthcommon.C: ws only
4804
4805         * boost-inst.C,BoostFormat.h: add more explict instantations
4806
4807 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4808
4809         * lots of files: handle USE_BOOST_FORMAT
4810
4811 2002-11-21  John Levon  <levon@movementarian.org>
4812
4813         * pspell.C: fix compile
4814
4815 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4816
4817         * lyxfunc.C (dispatch): use boost::format
4818         (open): ditto
4819         (doImport): ditto
4820
4821         * lyxfont.C (stateText): use boost::format
4822
4823         * lyx_main.C (LyX): use boost::format
4824         (init): ditto
4825         (queryUserLyXDir): ditto
4826         (readRcFile): ditto
4827         (parse_dbg): ditto
4828         (typedef boost::function): use the recommened syntax.
4829
4830         * importer.C (Import): use boost::format
4831
4832         * debug.C (showLevel): use boost::format
4833
4834         * converter.C (view): use boost::format
4835         (convert): ditto
4836         (move): ditto
4837         (scanLog): ditto
4838
4839         * bufferview_funcs.C (currentState): use boost::format
4840
4841         * bufferlist.C (emergencyWrite): use boost::format
4842
4843         * buffer.C (readLyXformat2): use boost::format
4844         (parseSingleLyXformat2Token): ditto
4845
4846         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4847
4848         * LaTeX.C (run): use boost::format
4849
4850         * Chktex.C (scanLogFile): use boost::format
4851
4852         * BufferView_pimpl.C (savePosition): use boost::format
4853         (restorePosition): ditto
4854         (MenuInsertLyXFile): ditto
4855
4856         * BoostFormat.h: help file for explicit instation.
4857
4858 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4859
4860         * tabular.C (latex): Support for block alignment in fixed width
4861         columns.
4862
4863 2002-11-17  John Levon  <levon@movementarian.org>
4864
4865         * BufferView_pimpl.C:
4866         * lyx_cb.C:
4867         * lyxfunc.C: split filedialog into open/save
4868
4869 2002-11-08  Juergen Vigna  <jug@sad.it>
4870
4871         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4872         by my last patch (hopefully).
4873
4874 2002-11-08  John Levon  <levon@movementarian.org>
4875
4876         * iterators.h:
4877         * iterators.C:
4878         * buffer.h:
4879         * buffer.C:
4880         * paragraph.h:
4881         * paragraph.C:
4882         * toc.h:
4883         * toc.C: ParConstIterator, and use it (from Lars)
4884
4885 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4886
4887         * lyxtextclass.[Ch]: revise and add doxygen comments
4888
4889 2002-11-07  John Levon  <levon@movementarian.org>
4890
4891         * text.C: fix progress value for spellchecker
4892
4893         * toc.C: fix navigate menu for insetwrap inside minipage
4894
4895         * paragraph_funcs.C: added FIXME for suspect code
4896
4897 2002-11-07  John Levon  <levon@movementarian.org>
4898
4899         * BufferView_pimpl.C: fix redrawing of insets
4900           on buffer switch
4901
4902 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4903
4904         * text2.C (updateCounters): fix bug 668
4905
4906 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4907
4908         * text3.C (dispatch): Do not make the buffer dirty when moving the
4909         cursor.
4910
4911 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * vc-backend.C: STRCONV
4914         (scanMaster): ditto
4915
4916         * text2.C (setCounter): STRCONV
4917
4918         * paragraph.C (asString): STRCONV
4919
4920         * lyxlength.C (asString): STRCONV
4921         (asLatexString): ditto
4922
4923         * lyxgluelength.C (asString): STRCONV
4924         (asLatexString): ditto
4925
4926         * lyxfunc.C (dispatch): STRCONV
4927         (open): ditto
4928
4929         * lyxfont.C (stateText): STRCONV
4930
4931         * importer.C (Import): STRCONV
4932
4933         * counters.C (labelItem): STRCONV
4934         (numberLabel): ditto
4935         (numberLabel): remove unused ostringstream o
4936
4937         * chset.C: STRCONV
4938         (loadFile): ditto
4939
4940         * bufferview_funcs.C (currentState): STRCONV
4941
4942         * buffer.C (readFile): STRCONV
4943         (asciiParagraph): ditto
4944         (makeLaTeXFile): ditto
4945
4946         * Spacing.C (writeEnvirBegin): STRCONV
4947
4948         * LaTeXFeatures.C (getLanguages): STRCONV
4949         (getPackages): ditto
4950         (getMacros): ditto
4951         (getBabelOptions): ditto
4952         (getTClassPreamble): ditto
4953         (getLyXSGMLEntities): ditto
4954         (getIncludedFiles): ditto
4955
4956         * LaTeX.C: STRCONV
4957         (run): ditto
4958         (scanAuxFile): ditto
4959         (deplog): ditto
4960
4961         * LString.h: add the STRCONV macros
4962
4963         * BufferView_pimpl.C (savePosition): STRCONV
4964         (restorePosition): ditto
4965         (MenuInsertLyXFile): ditto
4966
4967         * vc-backend.C (scanMaster): change from submatch[...] to
4968         submatch.str(...)
4969
4970         * funcrequest.C: include config.h
4971
4972         * factory.C: include config.h
4973
4974         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4975
4976         * box.C: include config.h
4977
4978         * LaTeX.C (scanAuxFile): change from submatch[...] to
4979         submatch.str(...)
4980         (deplog): ditto
4981
4982 2002-10-25  Angus Leeming  <leeming@lyx.org>
4983
4984         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4985
4986         * ispell.[Ch] (setError): new method.
4987         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4988         Use setError() insetead of goto END.
4989
4990         * lyx_cb.C (AutoSave): move out child process into new class
4991         AutoSaveBuffer.
4992
4993 2002-10-30  John Levon  <levon@movementarian.org>
4994
4995         * text3.C: make start appendix undoable
4996
4997 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4998
4999         * lyxlength.C (inPixels): Fix returned value.
5000
5001         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5002         environment.
5003
5004 2002-10-24  Angus Leeming  <leeming@lyx.org>
5005
5006         * lyxgluelength.h: no need to forward declare BufferParams
5007         or BufferView, so don't.
5008
5009 2002-10-21  John Levon  <levon@movementarian.org>
5010
5011         * BufferView.C: menuUndo ->undo, redo
5012
5013         * BufferView.h: document, remove dead, make some methods private
5014
5015         * paragraph_funcs.h:
5016         * paragraph_funcs.C:
5017         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5018
5019         * buffer.h:
5020         * buffer.C:
5021         * sgml.h:
5022         * sgml.C: move sgml open/close tag into sgml.C
5023
5024         * bufferview_funcs.h: unused prototype
5025
5026         * lyxfunc.h:
5027         * lyxfunc.C: remove unused
5028
5029         * lyxtext.h:
5030         * text.C: remove unused
5031
5032 2002-10-21  John Levon  <levon@movementarian.org>
5033
5034         * BufferView.h:
5035         * BufferView.C:
5036         * BufferView_pimpl.h:
5037         * BufferView_pimpl.C: fix mouse wheel handling based on
5038           patch from Darren Freeman
5039
5040 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5041
5042         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5043
5044 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5045
5046         * lyxlength.C (inPixels): Fix hanfling of negative length.
5047         Fix LyXLength::MU case.
5048
5049 2002-10-16  John Levon  <levon@movementarian.org>
5050
5051         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5052
5053 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5054
5055         * converter.C (view): add support for $$i (file name) and $$p
5056         (file path) for the viewer command. If $$i is not specified, then
5057         it is appended to the command (for compatibility with old syntax)
5058
5059 2002-10-14  Juergen Vigna  <jug@sad.it>
5060
5061         * undo_funcs.C (textHandleUndo): alter the order in which the
5062         new undopar is added to the LyXText, as we have to set first
5063         the right prev/next and then add it as otherwise the rebuild of
5064         LyXText is not correct. Also reset the cursor to the right paragraph,
5065         with this IMO we could remove the hack in "redoParagraphs()".
5066
5067 2002-10-09  Angus Leeming  <leeming@lyx.org>
5068
5069         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5070         to turn off an optimisation if a new inset is to be inserted.
5071
5072 2002-10-11 André Pönitz <poenitz@gmx.net>
5073
5074         * lyxtext.h: make some functions public to allow access
5075         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5076
5077 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5078
5079         * text3.C (dispatch): when changing layout, avoid an infinite loop
5080         [bug #652]
5081
5082 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5083
5084         * lyxrc.C (read): treat a viewer or converter command of "none" as
5085         if it were empty.
5086
5087         * MenuBackend.C (expandFormats): for an update, also allow the
5088         formats that are not viewable
5089
5090         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5091         script if it is newer than the lyxrc.defaults in user directory
5092
5093 2002-10-07 André Pönitz <poenitz@gmx.net>
5094
5095         * text.C: Vitaly Lipatov's small i18n fix
5096
5097 2002-09-25  Angus Leeming  <leeming@lyx.org>
5098
5099         * ispell.h: doxygen fix.
5100
5101 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5102
5103         * buffer.h (readFile): Add a new argument to the method, to allow
5104         reading of old-format templates.
5105
5106 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5107
5108         * toc.C (getTocList): Get TOC from InsetWrap.
5109
5110 2002-09-16  John Levon  <levon@movementarian.org>
5111
5112         * lyxfunc.C: check tabular for cut/copy too
5113
5114 2002-09-12  John Levon  <levon@movementarian.org>
5115
5116         * LyXAction.C: tidy
5117
5118         * factory.h:
5119         * factory.C: add header
5120
5121         * paragraph_funcs.h:
5122         * paragraph_funcs.C: cleanup
5123
5124 2002-09-11  John Levon  <levon@movementarian.org>
5125
5126         * PrinterParams.h: odd/even default to true
5127
5128 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5129
5130         * PrinterParams.h: update printer parameters for new xforms dialog
5131
5132 2002-09-11  Angus Leeming  <leeming@lyx.org>
5133
5134         * lyxserver.C (read_ready): re-write to make it more transparent
5135         and to make it work in coherent fashion under Tru64 Unix.
5136
5137 2002-09-11  André Pönitz <poenitz@gmx.net>
5138
5139         * commandtags.h:
5140         * LyXAction.C:
5141         * text3.C: implement LFUN_WORDSEL
5142
5143 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5144
5145         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5146         make floatlist_ a boost::shared_ptr<FloatList>
5147
5148         * lyxtextclass.C: include FloatList.h
5149         (LyXTextClass): initialize floatlist_
5150         (TextClassTags): add TC_NOFLOAT
5151         (Read): match "nofloat" to TC_NOFLOAT and use it.
5152         (readFloat): modify call to floatlist_
5153         (floats): ditto
5154         (floats): ditto
5155
5156         * FloatList.[Ch] (FloatList): remove commented out float
5157         initialization.
5158         (erase): new function
5159
5160 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5161
5162         * MenuBackend.C (expandToc): fix crash when there is no document
5163         open
5164
5165 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5166
5167         * many files: Add insetwrap.
5168
5169 2002-09-09  John Levon  <levon@movementarian.org>
5170
5171         * text2.C: remove confusing and awkward depth wraparound
5172
5173 2002-09-09  John Levon  <levon@movementarian.org>
5174
5175         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5176
5177         * buffer.h:
5178         * buffer.C: remove getIncludeonlyList()
5179
5180         * paragraph.C:
5181         * lyxfunc.C: remove headers
5182
5183 2002-09-09  Juergen Vigna  <jug@sad.it>
5184
5185         * text.C (getColumnNearX): fix form Michael this is most
5186         probably a cut&paste bug.
5187
5188 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5189
5190         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5191
5192         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5193         references, ws changes.
5194
5195         * text2.C (init): update counters after init
5196         (insertParagraph): no need to set counter on idividual paragraphs.
5197         (setCounter): access the counters object in the textclass object
5198         on in the buffer object.
5199         (updateCounters): ditto
5200
5201         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5202         shared_ptr<Counters> to avoid loading counters.h in all
5203         compilation units.
5204         (LyXTextClass): initialize ctrs_
5205         (TextClassTags): add TC_COUNTER, and ...
5206         (Read): use it here.
5207         (CounterTags): new tags
5208         (readCounter): new function
5209         (counters): new funtion
5210         (defaultLayoutName): return a const reference
5211
5212         * counters.C (Counters): remove contructor
5213         (newCounter): remove a couple of unneeded statements.
5214         (newCounter): simplify a bit.
5215         (numberLabel): some small formatting changes.
5216
5217         * buffer.[Ch]: remove all traces of counters, move the Counters
5218         object to the LyXTextClass.
5219
5220 2002-09-06  Alain Castera  <castera@in2p3.fr>
5221
5222         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5223         package to set the horizontal alignment on fixed width columns.
5224
5225         * lyx_sty.C:
5226         * lyx_sty.h: added tabularnewline macro def.
5227
5228         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5229
5230 2002-09-06  John Levon  <levon@movementarian.org>
5231
5232         * LyXAction.C: tooltips for sub/superscript
5233
5234         * MenuBackend.C: a bit more verbose
5235
5236         * lyxfunc.C: tiny clean
5237
5238         * undo_funcs.C: document undo_frozen
5239
5240 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5241
5242         * counters.C (Counters): add missing algorithm counter.
5243
5244         * text2.C (setCounter): lookup the counter with layouts latexname
5245         instead of by section number.
5246         (setCounter): use a hackish way to lookup the correct enum
5247         counter.
5248         a float name->type change
5249         reset enum couners with counter name directly instead of depth value.
5250
5251         * counters.C (Counters): remove the push_backs, change to use the
5252         float type not the float name.
5253         (labelItem): remove unused string, float name->type change
5254
5255         * counters.h: don't include vector, loose the enums and sects vectors
5256
5257 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5258
5259         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5260         (Read): add float->TC_FLOAT to textclassTags
5261         (Read): and handle it in the switch
5262         (readFloat): new function
5263
5264         * FloatList.C (FloatList): comment out the hardcoded float
5265         definitions.
5266
5267         * lyxlayout.h: ws change.
5268
5269 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5270
5271         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5272
5273 2002-09-03  Angus Leeming  <leeming@lyx.org>
5274
5275         * BufferView_pimpl.h: qualified name is not allowed in member
5276         declaration: WorkArea & Pimpl::workarea() const;
5277
5278         * factory.C: added using std::endl directive.
5279
5280         * text3.C: added using std::find and std::vector directives.
5281
5282 2002-08-29  André Pönitz <poenitz@gmx.net>
5283
5284         * lyxtext.h:
5285         * text2.C: remove unused member number_of_rows
5286
5287         * Makefile.am:
5288         * BufferView2.C: remove file, move contents to...
5289         * BufferView.C: ... here
5290
5291         * BufferView_pimpl.C:
5292         * factory.C: move more inset creation to factory
5293
5294         * vspace.C: avoid direct usage of LyXText, ws changes
5295
5296         * BufferView.[Ch]:
5297                 don't provide direct access to WorkArea, use two simple
5298                 acessors haveSelction() and workHeight() instead
5299
5300
5301 2002-08-29  John Levon  <levon@movementarian.org>
5302
5303         * BufferView_pimpl.C (dispatch): do not continue when
5304           no buffer
5305
5306 2002-08-28  André Pönitz <poenitz@gmx.net>
5307
5308         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5309
5310         * BufferView.h:
5311         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5312
5313 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5314
5315         * buffer.C: increment LYX_FORMAT to 221
5316
5317         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5318         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5319
5320         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5321
5322         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5323
5324 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5325
5326         * factory.C (createInset): use LyXTextClass::floats
5327
5328         * MenuBackend.C (expandFloatListInsert):
5329         (expandFloatInsert):
5330         (expandToc):
5331
5332         * text2.C (setCounter):
5333
5334         * LaTeXFeatures.C (useFloat):
5335         (getFloatDefinitions):
5336
5337         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5338
5339         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5340         floatlist_, with accessor floats().
5341
5342         * FloatList.h: remove global FloatList
5343
5344 2002-08-26  André Pönitz <poenitz@gmx.net>
5345
5346         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5347
5348         * BufferView.h:
5349         * BufferView2.C:
5350         * BufferView_pimpl.C:
5351         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5352
5353 2002-08-25  John Levon  <levon@movementarian.org>
5354
5355         * LyXAction.C: fix margin note description
5356
5357 2002-08-24  John Levon  <levon@movementarian.org>
5358
5359         * buffer.C:
5360         * bufferlist.C:
5361         * bufferview_funcs.C:
5362         * lyxfont.C:
5363         * undo_funcs.C: cleanups
5364
5365         * lyxfunc.C: disable CUT/COPY when no selection
5366
5367 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5368
5369         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5370         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5371
5372         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5373         Add backward compatibility to "mono", "gray" and "no".
5374
5375 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5376
5377         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5378         (and file_format >= 200).
5379
5380 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5381
5382         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5383
5384 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5385
5386         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5387
5388 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5389
5390         * BufferView_pimpl.C:
5391         * LyXAction.C:
5392         * buffer.C:
5393         * commandtags.h:
5394         * lyxfunc.C:
5395         * paragraph.[Ch]:
5396         * text2.C:
5397         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5398         inset and code to make it  work with the paragraph code. The inset
5399         can be anywhere in the paragraph, but will only do the expected
5400         thing in LaTeX if the layout file contains the parameter line
5401                         OptionalArgs    1
5402         (or more generally, a nonzero value) for that layout.
5403
5404 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5405
5406         * paragraph.h: remove the declaration of undefined counters class
5407         function.
5408
5409 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5410
5411         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5412         Dr. Richard Hawkins.
5413
5414 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5415
5416         * paragraph_funcs.h: remove some unneeded includes
5417
5418         * text.C (backspace): pasteParagraph now in global scipe
5419
5420         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5421         (pasteSelection): ditto
5422
5423         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5424         * paragraph_funcs.C (pasteParagraph): ... here
5425
5426 2002-08-20  André Pönitz <poenitz@gmx.net>
5427
5428         * commandtags.h: new LFUNs for swapping/copying table row/colums
5429
5430         * LyXAction.C:
5431         * lyxfunc.C: support for new lfuns
5432
5433 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5434
5435         * tabular.C:
5436         * buffer.[Ch]: remove NO_COMPABILITY stuff
5437
5438 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5439
5440         * boost.C (throw_exception): new file, with helper function for
5441         boost compiled without exceptions.
5442
5443         * paragraph.h:
5444         * lyxlength.C:
5445         * buffer.C:
5446         * ParameterStruct.h:
5447         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5448
5449         * bufferlist.C (emergencyWriteAll): use boost bind
5450
5451         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5452
5453         * text.C: include paragraph_funcs.h
5454         (breakParagraph): breakParagraph is now in global scope
5455
5456         * paragraph_funcs.[Ch]: new files
5457
5458         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5459         global scope
5460
5461         * buffer.C: include paragraph_funcs.h
5462         (insertStringAsLines): breakParagraph is now in global scope
5463
5464         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5465         paragraph_funcs.C
5466
5467         * CutAndPaste.C: include paragraph_funcs.h
5468         (cutSelection): breakParagraphConservative is now in global scope
5469         (pasteSelection): ditto
5470
5471         * buffer.h: declare oprator== and operator!= for
5472         Buffer::inset_iterator
5473
5474         * bufferlist.C (emergencyWrite): don't use fmt(...)
5475
5476         * text3.C: add using std::endl
5477
5478         * BufferView.C (moveCursorUpdate): remove default arg
5479
5480 2002-08-20  André Pönitz <poenitz@gmx.net>
5481
5482         * buffer.[Ch]: move inline functions to .C
5483
5484         * BufferView2.C:
5485         * BufferView_pimpl.C:
5486         * text.C:
5487         * buffer.[Ch]: use improved inset_iterator
5488
5489         * buffer.C:
5490         * paragraph.[Ch]: write one paragraph at a time
5491
5492 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5493
5494         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5495         style if style is not specified.
5496
5497 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5498
5499         * text2.C (setCounter): when searching for right label for a
5500         caption, make sure to recurse to parent insets (so that a caption
5501         in a minipage in a figure float works) (bug #568)
5502
5503 2002-08-20  André Pönitz <poenitz@gmx.net>
5504
5505         * text3.C: new file for LyXText::dispatch() and helpers
5506
5507         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5508
5509         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5510
5511 2002-08-19  André Pönitz <poenitz@gmx.net>
5512
5513         * lyxtext.h:
5514         * text.C: new LyXText::dispatch()
5515
5516         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5517
5518 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5519
5520         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5521
5522         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5523         Hebrew text.
5524
5525 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5526
5527         * Makefile.am: use $(variables) instead of @substitutions@
5528
5529 2002-08-15  André Pönitz <poenitz@gmx.net>
5530
5531         * lyxfunc.C:
5532         * BufferView_pimpl.C: streamlining mathed <-> outer world
5533         interaction
5534
5535         * commandtags.h:
5536         * LyXAction.C: remove unused LFUN_MATH
5537
5538 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5539
5540         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5541
5542 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * paragraph.C (Paragraph): reformat a bit
5545         (cutIntoMinibuffer): use builtin InsetList function instad of
5546         doing it manually.
5547         (getInset): ditto
5548
5549         * buffer.C: include boost/bind.hpp, add using std::for_each
5550         (writeFileAscii): use ParagraphList iterators
5551         (validate): use for_each for validate traversal of paragraphs
5552         (getBibkeyList): use ParagraphList iterators
5553         (resizeInsets): use for_each to resizeInsetsLyXText for all
5554         paragraphs.
5555         (getParFromID): use ParagraphList iterators
5556
5557         * BufferView2.C (lockInset): use paragraph list and iterators
5558
5559 2002-08-14  John Levon  <levon@movementarian.org>
5560
5561         * lyxserver.C: remove spurious xforms include
5562
5563 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5564
5565         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5566
5567 2002-08-13  André Pönitz <poenitz@gmx.net>
5568
5569         * LyXAction.[Ch]:
5570         * lyxfunc.C: further cleaning
5571
5572 2002-08-13  André Pönitz <poenitz@gmx.net>
5573
5574         * funcrequest.h: new constructor
5575
5576         * funcrequest.C: move stuff here from .h
5577
5578         * Makefile.am:
5579         * BufferView_pimpl.C:
5580         * LyXAction.C:
5581         * toc.C:
5582         * lyxfunc.C: subsequent changes
5583
5584         * lyxfunc.h: new view() member function
5585
5586         * lyxfunc.C: subsequent changes
5587
5588 2002-08-13  Angus Leeming  <leeming@lyx.org>
5589
5590         * BufferView2.C:
5591         * BufferView_pimpl.C:
5592         * buffer.C:
5593         * converter.C:
5594         * importer.C:
5595         * lyxfunc.C:
5596         * lyxvc.C:
5597         * toc.C:
5598         * vc-backend.C:
5599         changes due to the changed LyXView interface that now returns references
5600         to member variables not pointers.
5601
5602 2002-08-13  Angus Leeming  <leeming@lyx.org>
5603
5604         * WordLangTuple (word, lang_code): return references to strings,
5605         not strings.
5606
5607         * BufferView.h:
5608         * SpellBase.h:
5609         * lyxtext.h: forward-declare WordLangTuple.
5610
5611         * BufferView2.C:
5612         * ispell.C:
5613         * pspell.C:
5614         * text.C: #include "WordLangTuple.h".
5615
5616         * lyxtext.h:
5617         * text.C: (selectNextWordToSpellcheck): constify return type.
5618
5619 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5620
5621         * buffer.C:
5622         * buffer.h:
5623         * lyxtext.h:
5624         * paragraph.C:
5625         * paragraph_pimpl.h:
5626         * text.C:
5627         * text2.C:
5628         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5629         suggested by Angus.
5630         Made updateCounter always count from start of buffer, and removed
5631         second argument (par).
5632         Reverted floats number display to '#'. Perhaps I'll try again when the
5633         code base is sanitized a bit.
5634
5635 2002-08-12  Angus Leeming  <leeming@lyx.org>
5636
5637         * buffer.[Ch] (getLabelList): constify.
5638
5639 2002-08-07  André Pönitz <poenitz@gmx.net>
5640
5641         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5642
5643         * funcrequest.h: extension to keep mouse (x,y) position
5644
5645 2002-08-12  Juergen Vigna  <jug@sad.it>
5646
5647         * BufferView2.C (insertErrors): forbid undo when inserting error
5648         insets.
5649
5650         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5651
5652 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5653
5654         * ParagraphList.[Ch]: new files
5655
5656         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5657
5658         * BufferView2.C (lockInset): ParagraphList changes
5659         * toc.C: ditto
5660         * text2.C: ditto
5661         * bufferlist.C: ditto
5662         * buffer.h: ditto
5663         * buffer.C: ditto
5664
5665 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5668         unused class variable counter_,
5669
5670         * paragraph.[Ch] (getFirstCounter): delete unused function
5671
5672         * counters.C: include LAssert.h
5673         (reset): add a new function with no arg, change other version to
5674         not have def. arg and to not allow empty arg.
5675
5676         * text2.C (setCounter): remove empty arg from call to Counters::reset
5677
5678 2002-08-11  John Levon  <levon@movementarian.org>
5679
5680         * Makefile.am: add WordLangTuple.h
5681
5682 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5685         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5686
5687         * insets/insettext.C: InsetList changes
5688
5689         * graphics/GraphicsSupport.C (operator()): InsetList changes
5690
5691         * toc.C (getTocList): InsetList changes
5692
5693         * paragraph_pimpl.[Ch]: InsetList changes
5694
5695         * paragraph.[Ch]: InsetList changes
5696
5697         * buffer.C (inset_iterator): InsetList changes
5698         (setParagraph): ditto
5699         * buffer.h (inset_iterator): ditto
5700         * iterators.C (operator++): ditto
5701         * iterators.h: ditto
5702
5703         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5704
5705         * InsetList.[Ch]: new files, most InsetList handling moved out of
5706         paragraph.C.
5707
5708         * BufferView2.C (removeAutoInsets): InsetList changes
5709         (lockInset): ditto
5710         (ChangeInsets): ditto
5711
5712 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * paragraph_pimpl.h (empty): new function
5715
5716         * paragraph.[Ch] (empty): new function
5717
5718         * other files: use the new Paragraph::empty function
5719
5720 2002-08-09  John Levon  <levon@movementarian.org>
5721
5722         * lyxtext.h: remove unused refresh_height
5723
5724 2002-08-09  John Levon  <levon@movementarian.org>
5725
5726         * Makefile.am:
5727         * sgml.h:
5728         * sgml.C:
5729         * buffer.C:
5730         * paragraph.h:
5731         * paragraph.C: move sgml char escaping out of paragraph
5732
5733         * paragraph.h:
5734         * paragraph.C: remove id setter
5735
5736         * buffer.C:
5737         * paragraph.C:
5738         * paragraph_pimpl.C: remove dead tex_code_break_column
5739
5740         * bufferview_funcs.C: small cleanup
5741
5742         * lyxfunc.C: remove dead proto
5743
5744         * lyxtext.h: make some stuff private. Remove some dead stuff.
5745
5746         * lyxgluelength.C: make as[LyX]String() readable
5747
5748 2002-08-08  John Levon  <levon@movementarian.org>
5749
5750         * LyXAction.h:
5751         * LyXAction.C:
5752         * MenuBackend.C:
5753         * ToolbarDefaults.C:
5754         * lyxfunc.C:
5755         * lyxrc.C:
5756         * toc.C: lyxaction cleanup
5757
5758 2002-08-08  John Levon  <levon@movementarian.org>
5759
5760         * BufferView2.C: small cleanup
5761
5762         * lyxfind.h:
5763         * lyxfind.C: move unnecessary header into the .C
5764
5765 2002-08-08  John Levon  <levon@movementarian.org>
5766
5767         * funcrequest.h: just tedious nonsense
5768
5769         * lyx_main.h:
5770         * lyx_main.C: cleanups
5771
5772         * buffer.C:
5773         * vspace.C: remove dead header lyx_main.h
5774
5775 2002-08-07  Angus Leeming  <leeming@lyx.org>
5776
5777         * Paragraph.[Ch]:
5778         * paragraph_pimpl.h:
5779         Forward declare class Counters in paragraph.h by moving the ctrs member
5780         variable into Paragraph::Pimpl.
5781         (counters): new method, returning a reference to pimpl_->ctrs.
5782
5783         * text2.C: ensuing changes.
5784
5785 2002-08-07  John Levon  <levon@movementarian.org>
5786
5787         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5788
5789         * BufferView_pimpl.C: announce X selection on double/triple
5790           click
5791
5792         * lyx_main.C: use correct bool in batch dispatch
5793
5794         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5795
5796 2002-08-07  André Pönitz <poenitz@gmx.net>
5797
5798         * funcrequest.h: new class to wrap a kb_action and its argument
5799
5800         * BufferView.[Ch]:
5801         * BufferView_pimpl[Ch]:
5802         * LaTeX.C:
5803         * LyXAction.[Ch]:
5804         * lyxfunc.[Ch]:
5805         * lyxrc.C: subsequent changes
5806
5807
5808 2002-08-07  John Levon  <levon@movementarian.org>
5809
5810         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5811           document options change.
5812
5813 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5814
5815         * counters.[Ch]
5816         * text2.C
5817         * paragraph.[Ch]
5818         * makefile.am: move counters functionality over from
5819         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5820
5821 2002-08-06  John Levon  <levon@movementarian.org>
5822
5823         * WordLangTuple.h: new file for word + language code tuple
5824
5825         * SpellBase.h:
5826         * pspell.h:
5827         * pspell.C:
5828         * ispell.h:
5829         * ispell.C:
5830         * lyxtext.h:
5831         * text.C:
5832         * text2.C:
5833         * BufferView.h:
5834         * BufferView2.C: use WordLangTuple
5835
5836         * layout.h:
5837         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5838
5839 2002-08-06  John Levon  <levon@movementarian.org>
5840
5841         * lyx_main.C: fix cmdline batch handling
5842
5843 2002-08-06  André Pönitz <poenitz@gmx.net>
5844
5845         * lyxrc.C: set default for show_banner to true
5846
5847 2002-08-06  John Levon  <levon@movementarian.org>
5848
5849         * pspell.C: fix a crash, and allow new aspell to work
5850
5851 2002-08-06  John Levon  <levon@movementarian.org>
5852
5853         * lyxfunc.C:
5854         * kbmap.C: small cleanup
5855
5856         * vspace.h:
5857         * vspace.C: add const
5858
5859 2002-08-05  John Levon  <levon@movementarian.org>
5860
5861         * LyXAction.C: back to tabular-insert
5862
5863 2002-08-04  John Levon  <levon@movementarian.org>
5864
5865         * BufferView.h:
5866         * BufferView.C: cosmetic change
5867
5868         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5869
5870         * bufferlist.C:
5871         * buffer.h:
5872         * buffer.C:
5873         * lyxcb.h:
5874         * lyxcb.C:
5875         * lyxserver.C:
5876         * lyxvc.C:
5877         * vc-backend.C:
5878         * BufferView2.C: purge all "Lyx" not "LyX" strings
5879
5880         * lyxcursor.h:
5881         * lyxcursor.C: attempt to add some documentation
5882
5883         * lyxfunc.C:
5884         * commandtags.h:
5885         * LyXAction.C:
5886         * ToolbarDefaults.C:
5887         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5888           merge with LFUN_TABULAR_INSERT
5889
5890         * Makefile.am:
5891         * SpellBase.h:
5892         * ispell.h:
5893         * ispell.C:
5894         * pspell.h:
5895         * pspell.C: split up i/pspell implementations into separate
5896           files, many cleanups
5897
5898         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5899
5900         * text2.C: some cleanup
5901
5902         * lyxfunc.C: don't check for isp_command == "none" any more, it
5903           didn't make any sense
5904
5905 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5906
5907         * counters.[Ch]
5908         * text2.C
5909         * paragraph.[Ch]
5910         * makefile.am: move counters functionality over
5911         from text2.C/paragraph.[Ch] to counters.[Ch], and
5912         make proper C++.
5913 2002-08-02  John Levon  <levon@movementarian.org>
5914
5915         * buffer.C: s/lyxconvert/lyx2lyx/
5916
5917 2002-08-02  Angus Leeming  <leeming@lyx.org>
5918
5919         * lyxlex.C: revert John's change as it breaks reading of the user
5920         preamble.
5921
5922 2002-08-02  Angus Leeming  <leeming@lyx.org>
5923
5924         * importer.C (Import):
5925         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5926         changes due to LyXView::view() now returning a boost::shared_ptr.
5927
5928 2002-08-02  John Levon  <levon@movementarian.org>
5929
5930         * lyxlex.C: small cleanup
5931
5932 2002-08-02  John Levon  <levon@movementarian.org>
5933
5934         * text2.C (status): small cleanup, no logic change
5935
5936 2002-08-01  John Levon  <levon@movementarian.org>
5937
5938         * buffer.h:
5939         * buffer.C (writeFile): don't output alerts, caller
5940           handles this
5941
5942         * bufferlist.C:
5943         * lyx_cb.C: from above
5944
5945         * lyxfunc.C: allow to open non-existent files
5946
5947 2002-07-31  John Levon  <levon@movementarian.org>
5948
5949         * lyxserver.C: don't let incidental errors get
5950           in the way (errno)
5951
5952 2002-07-30  John Levon  <levon@movementarian.org>
5953
5954         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5955
5956 2002-07-30  John Levon  <levon@movementarian.org>
5957
5958         * lyxserver.h:
5959         * lyxserver.C: remove I/O callback too
5960
5961 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5962
5963         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5964         log.
5965
5966 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5967
5968         * many files: strip,frontStrip -> trim,ltrim,rtrim
5969
5970 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5971
5972         * PrinterParams.h: remove extern containsOnly, and include
5973         support/lstrings.h instead.
5974
5975         * LaTeX.C (scanAuxFile): modify because of strip changes
5976         (deplog): ditto
5977         * buffer.C (makeLaTeXFile): ditto
5978         * bufferparams.C (writeFile): ditt
5979         * lyxfont.C (stateText): ditto
5980         * lyxserver.C (read_ready): ditto
5981         * vc-backend.C (scanMaster): ditto
5982
5983         * BufferView_pimpl.h: ws changes
5984
5985         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5986
5987 2002-07-26  André Pönitz <poenitz@gmx.net>
5988
5989         * kb_sequence.C: remove unnedred usings
5990
5991 2002-07-26  Juergen Vigna  <jug@sad.it>
5992
5993         * lyxfind.C (LyXReplace): we have to check better if the returned
5994         text is not of theLockingInset()->getLockingInset().
5995
5996 2002-07-25  Juergen Vigna  <jug@sad.it>
5997
5998         * lyxfind.C (LyXReplace): don't replace if we don't get the
5999         right LyXText.
6000
6001         * undo_funcs.C (createUndo): remove debugging code.
6002
6003 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6004
6005         * buffer.C (parseSingleLyXformat2Token): Use default placement
6006         when reading old floats.
6007
6008         * FloatList.C (FloatList): Change the default placement of figure
6009         and tables to "tbp".
6010
6011 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6012
6013         * MenuBackend.C: using std::max
6014
6015 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6016
6017         * MenuBackend.C (expandToc):
6018         (expandToc2): code moved from xforms menu frontend. It is now
6019         generic and TOCs are transparent to menu frontends.
6020
6021 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6022
6023         * toc.C (getTocList): protect against buf=0
6024
6025         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6026         Menu as first parameter. Now, this calls itself recursively to
6027         expand a whole tree (this will be useful for TOC handling)
6028         (expandFloatInsert): remove 'wide' version of floats
6029
6030         * MenuBackend.h (submenuname): returns the name of the submenu.
6031         (submenu): returns the submenu itself, provided it has been
6032         created by MenuBackend::expand
6033
6034 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6035
6036         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6037         insets which have noFontChange == true. (bug #172)
6038
6039 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6040
6041         * BufferView_pimpl.C: add connection objects and use them...
6042         (Pimpl): here.
6043
6044 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6045
6046         * MenuBackend.C (expandLastfiles):
6047         (expandDocuments):
6048         (expandFormats):
6049         (expandFloatListInsert):
6050         (expandFloatInsert):
6051         (expand): split expand in parts
6052
6053 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6054
6055         * lyx_gui.C: use lyx_gui::exit()
6056
6057 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6058
6059         * LyXAction.C: show the failing pseudo action
6060
6061 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6062
6063         * buffer.C (readFile): Run the lyxconvert script in order to read
6064         old files.
6065
6066 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6067
6068         * LyXAction.C:
6069         * commandtags.h:
6070         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6071
6072 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6073
6074         * LyXAction.C:
6075         * commandtags.h:
6076         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6077
6078 2002-07-22  Herbert Voss  <voss@lyx.org>
6079
6080         * lengthcommon.C:
6081         * lyxlength.[Ch]: add support for the vertical lengths
6082
6083 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6084
6085         * toc.[Ch]: std:: fixes
6086
6087 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6088
6089         * lyxrc.C: do not include lyx_main.h
6090
6091         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6092         for layouts
6093
6094         * lyxrc.C:
6095         * encoding.C:
6096         * bufferlist.C:
6097         * BufferView2.C: include "lyxlex.h"
6098
6099         * tabular.h:
6100         * bufferparams.h: do not #include "lyxlex.h"
6101
6102         * lyxtextclasslist.C (Add): remove method
6103         (classlist): renamed to classlist_
6104
6105         * paragraph_pimpl.C:
6106         * paragraph.C:
6107         * text2.C:
6108         * CutAndPaste.C:
6109         * bufferview_funcs.C:
6110         * bufferlist.C:
6111         * text.C:
6112         * LaTeXFeatures.C:
6113         * buffer.C:
6114         * toc.C (getTocList): use BufferParams::getLyXTextClass
6115
6116         * toc.C (getTocList): use InsetFloat::addToToc
6117
6118         * toc.[Ch]: new files, containing helper functions to handle table
6119         of contents
6120
6121         * lyxfunc.C (dispatch): no need to remove spaces around command
6122         given as a string
6123         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6124         first command of the sequence; it is not very clever, but I do not
6125         have a better idea, actually
6126
6127         * LyXAction.C (LookupFunc): make sure to remove space at the
6128         beginning and end of the command
6129
6130 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6131
6132         * MenuBackend.C (getMenubar): new method: return the menubar of
6133         this menu set
6134         (read): treat differently reading of menu and menubar (in
6135         particular, the menubar has no name now)
6136         (Menu::menubar): remove
6137
6138         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6139         saving is finished
6140
6141 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6142
6143         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6144         a bibitem inset in a RTL paragraph.
6145
6146 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6147
6148         * paragraph_pimpl.C: constify
6149
6150         * BufferView_pimpl.C:
6151         * LaTeX.C:
6152         * lyxfunc.C: fix dispatch in a nicer way
6153
6154 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6155
6156         * lyxfunc.C (dispatch):
6157         * BufferView_pimpl.C:
6158         * BufferView_pimpl.h:
6159         * BufferView.C:
6160         * BufferView.h: rename Dispatch() to dispatch()
6161
6162         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6163
6164         * lyxlayout.C (Read): honor DependsOn tag
6165
6166         * lyxlayout.[Ch] (depends_on): new method
6167
6168         * version.C.in: update lyx_docversion
6169
6170         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6171
6172         * paragraph.C (validate): remove from here...
6173         * paragraph_pimpl.C (validate): ... and move here
6174         (isTextAt): make it const
6175
6176         * buffer.C (getLists): ws cleanup
6177
6178 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6179
6180         * language.C (read): Use iso8859-1 encoding in latex_lang
6181         (this prevents LyX from crashing when using iso10646-1 encoding).
6182
6183 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6184
6185         * text2.C (toggleInset): if cursor is inside an inset, close the
6186         inset and leave cursor _after_ it
6187
6188 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6189
6190         * lyxfunc.C: move minibuffer completion handling out of here
6191
6192 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6193
6194         * BufferView_pimpl.C:
6195         * LaTeX.C: fix dispatch calls
6196
6197 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6198
6199         * text.C (drawChars): Fix Arabic text rendering.
6200
6201 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6202
6203         * LyXAction.C:
6204         * commandtags.h:
6205         * lyxfunc.C: remove message-push/pop
6206
6207         * lyxserver.C:
6208         * lyxfunc.h:
6209         * lyxfunc.C: rationalise some code by removing verboseDispatch
6210           in favour of a bool argument to dispatch()
6211
6212 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6213
6214         * lyx_main.C (init): make sure to read symlinks as absolute paths
6215
6216 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6217
6218         * lyxfunc.h:
6219         * lyxfunc.C: no need for commandshortcut to be a member
6220
6221 2002-07-15  André Pönitz <poenitz@gmx.net>
6222
6223         * converter.C: add support for $$s (scripts from lib/scripts dir)
6224         * lyx_main.C: white space
6225
6226 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6227
6228         * bufferlist.C:
6229         * lyxrc.h:
6230         * lyxrc.C: remove second exit confirmation
6231
6232 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6233
6234         * BufferView.h:
6235         * BufferView.C:
6236         * BufferView2.C:
6237         * BufferView_pimpl.h:
6238         * BufferView_pimpl.C:
6239         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6240
6241 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6242
6243         * MenuBackend.C (expand): add numeric shortcuts to document menu
6244
6245         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6246
6247 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6248
6249         * lyxfont.C (setLyXFamily):
6250         (setLyXSeries):
6251         (setLyXShape):
6252         (setLyXSize):
6253         (setLyXMisc):
6254         (lyxRead):
6255         * debug.C (value):
6256         * buffer.C (asciiParagraph): use ascii_lowercase
6257
6258 2002-07-15  Mike Fabian  <mfabian@suse.de>
6259
6260         * lyxlex_pimpl.C (search_kw):
6261         * lyxlex.C (getLongString):
6262         * converter.h (operator<):
6263         * converter.C (operator<):
6264         * buffer.C (parseSingleLyXformat2Token):
6265         (asciiParagraph):
6266         * ToolbarDefaults.C (read):
6267         * MenuBackend.C (checkShortcuts):
6268         (read):
6269         * LColor.C (getFromGUIName):
6270         (getFromLyXName): use the compare_ascii_no_case instead of
6271         compare_no_case, because in turkish, 'i' is not the lowercase
6272         version of 'I', and thus turkish locale breaks parsing of tags.
6273
6274 2002-07-16  Angus Leeming  <leeming@lyx.org>
6275
6276         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6277         now takes a Buffer const & argument.
6278
6279 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6280
6281         * BufferView.C (resize): check there's a buffer to resize
6282
6283 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6284
6285         * lyxfunc.C: remove dead code
6286
6287         * lyxserver.h:
6288         * lyxserver.C: use lyx_guii::set_read_callback
6289
6290 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6291
6292         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6293         an inset in a RTL paragraph.
6294
6295 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6296
6297         * lyxfunc.C: repaint after a font size update
6298
6299 2002-07-15  André Pönitz <poenitz@gmx.net>
6300
6301         * lyxlength.C: inBP should be able to return negative values
6302
6303 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6304
6305         * lyxfunc.C: use lyx_gui::update_fonts()
6306
6307 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6308
6309         * lyxfunc.C: use lyx_gui::update_color()
6310
6311 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6312
6313         * bufferlist.C:
6314         * lyxfunc.h:
6315         * lyxfunc.C:
6316         * lyxrc.h:
6317         * lyxrc.C: remove file->new asks for name option, and let
6318           buffer-new take an argument
6319
6320 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6321
6322         * BufferView_pimpl.C: remove unneeded extra repaint()
6323
6324 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6325
6326         * LyXAction.C: allow command-sequence with NoBuffer
6327
6328         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6329
6330 2002-07-10  Angus Leeming  <leeming@lyx.org>
6331
6332         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6333
6334 2002-07-09  Angus Leeming  <leeming@lyx.org>
6335
6336         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6337
6338 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6339
6340         * lengthcommon.h: whitespace
6341
6342         * lyxfunc.C: update scrollbar after goto paragraph
6343
6344         * lyxtext.h: factor out page break drawing, and fix it so
6345           page break/added space paints as selected nicely
6346
6347 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6348
6349         * BufferView_pimpl.C: add FIXMEs, clean up a little
6350
6351 2002-07-09  André Pönitz <poenitz@gmx.net>
6352
6353         * lyxfont.[Ch]: support for wasy symbols
6354
6355 2002-07-08  André Pönitz <poenitz@gmx.net>
6356
6357         * BufferView_pimpl.C: apply John's patch for #93.
6358
6359 2002-07-05  Angus Leeming  <leeming@lyx.org>
6360
6361         * BufferView_pimpl.C (buffer): generate previews if desired.
6362
6363         * LColor.h: add "preview" to the color enum.
6364
6365         * LColor.C (LColor): add a corresponding entry to the items array.
6366
6367         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6368         with this buffer.
6369
6370 2002-07-05  Angus Leeming  <leeming@lyx.org>
6371
6372         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6373         The body of the code is now in the method that is passed an ostream &
6374         rather than a file name.
6375         Pass an additional only_preamble parameter, useful for the forthcoming
6376         preview stuff.
6377
6378 2002-07-03  André Pönitz <poenitz@gmx.net>
6379
6380         * lyxfunc.C: simplify getStatus() a bit for math stuff
6381
6382 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6383
6384         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6385
6386 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6387
6388         * text.C (changeRegionCase): do not change case of all the
6389         document when region ends at paragraph end (bug #461)
6390
6391 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6392
6393         * paragraph.C (startTeXParParams):
6394         (endTeXParParams): add \protect when necessary
6395
6396 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6397
6398         * BufferView_pimpl.C (workAreaExpose): remove warning
6399
6400 2002-06-27  Angus Leeming  <leeming@lyx.org>
6401
6402         * Makefile.am: add lyxlayout_ptr_fwd.h.
6403
6404 2002-06-26  André Pönitz <poenitz@gmx.net>
6405
6406         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6407
6408 2002-06-25  Angus Leeming  <leeming@lyx.org>
6409
6410         * lyxfunc.C (dispatch): Comment out the call to
6411         grfx::GCache::changeDisplay. The method no longer exists now that the
6412         pixmap generation part of the graphics loader has been moved into
6413         InsetGraphics.
6414
6415 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6416
6417         * text2.C: layout as layout
6418
6419         * text.C: layout as layout
6420
6421         * tabular.C (OldFormatRead): layout as layout
6422
6423         * paragraph_pimpl.C (TeXDeeper): layout as layout
6424         (realizeFont): layout as layout
6425
6426         * paragraph.C (writeFile): layout as layout
6427         (validate): layout as layout
6428         (getFont): layout as layout
6429         (getLabelFont): layout as layout
6430         (getLayoutFont): layout as layout
6431         (breakParagraph): layout as layout
6432         (stripLeadingSpaces): layout as layout
6433         (getEndLabel): layout as layout
6434         (getMaxDepthAfter): layout as layout
6435         (applyLayout): layout as layout
6436         (TeXOnePar): layout as layout
6437         (simpleTeXOnePar): layout as layout
6438         (TeXEnvironment): layout as layout
6439         (layout): layout as layout
6440         (layout): layout as layout
6441
6442         * lyxtextclass.C (compare_name): new functor to work with
6443         shared_ptr, layout as layout
6444         (Read): layout as layout
6445         (hasLayout): layout as layout
6446         (operator): layout as layout
6447         (delete_layout): layout as layout
6448         (defaultLayout): layout as layout
6449
6450         * lyxlayout_ptr_fwd.h: new file
6451
6452         * lyxlayout.C (Read): layout as layout
6453
6454         * lyx_cb.C (MenuInsertLabel): layout as layout
6455
6456         * bufferlist.C (newFile): layout as layout
6457
6458         * buffer.C (readLyXformat2): layout as layout
6459         (parseSingleLyXformat2Token): layout as layout
6460         (insertStringAsLines): layout as layout
6461         (asciiParagraph): layout as layout
6462         (latexParagraphs): layout as layout
6463         (makeLinuxDocFile): layout as layout
6464         (simpleLinuxDocOnePar): layout as layout
6465         (makeDocBookFile): layout as layout
6466         (simpleDocBookOnePar): layout as layout
6467         (getLists): layout as layout
6468
6469         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6470
6471         * CutAndPaste.C (cutSelection): layout as layout
6472         (pasteSelection): layout as layout
6473         (SwitchLayoutsBetweenClasses): layout as layout
6474
6475         * BufferView_pimpl.C (Dispatch): layout as layout
6476         (smartQuote): layout as layout
6477
6478         * BufferView2.C (unlockInset): layout as layout
6479
6480 2002-06-24  André Pönitz <poenitz@gmx.net>
6481
6482         * lyxfunc.C: fix #487
6483
6484 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6485
6486         * lyxrc.h:
6487         * lyxrc.C:
6488         * lyxfunc.C: remove display_shortcuts, show_banner
6489
6490 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6491
6492         * Buffer_pimpl.C: oops, update on resize
6493
6494 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6495
6496         * buffer.C:
6497         * converter.C:
6498         * exporter.C:
6499         * lyxfunc.C:
6500         * BufferView.h:
6501         * BufferView.C: use repaint()
6502
6503         * BufferView_pimpl.h:
6504         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6505           as it's a clearer description. Remove superfluous
6506           redraws.
6507
6508 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6509
6510         * text.C: fix bug 488. Not ideal, but getting
6511           getWord() to work properly for the insets that
6512           matter is more difficult ...
6513
6514 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6515
6516         * BufferView_pimpl.C:
6517         * LyXAction.C:
6518         * commandtags.h:
6519         * lyxfunc.C: remove the six million index lyxfuncs to just
6520           one, and DTRT (bug 458)
6521
6522 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6523
6524         * BufferView.h:
6525         * BufferView.C:
6526         * BufferView_pimpl.h:
6527         * BufferView_pimpl.C: clean up resize() stuff,
6528           and unnecessary updateScreen()s
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:
6536         * lyxfind.h:
6537         * lyxfind.C:
6538         * minibuffer.C: remove focus management of workarea,
6539           not needed. Use screen's greyOut()
6540
6541 2002-06-17  Herbert Voss  <voss@lyx.org>
6542
6543         * converter.C: (convert) do not post a message, when converting
6544         fails, let the calling function decide what to do in this case
6545
6546 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6547
6548         * lyxfunc.C: tidy up a little
6549
6550 2002-06-16    <alstrup@diku.dk>
6551
6552         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6553         Got rid of FORMS_H_LOCATION include. Now we are
6554         GUII.
6555
6556 2002-06-15  LyX Development team  <lyx@rilke>
6557
6558         * buffer.[Ch] (sgmlOpenTag):
6559         (sgmlCloseTag): Added support for avoiding pernicious mixed
6560         content. Return number of lines written.
6561
6562         (makeLinuxDocFile):
6563         (makeDocBookFile): Fixed calls to sgml*Tag.
6564         Simple white space clean.
6565
6566         (simpleDocBookOnePar): Simple white space clean.
6567
6568         * tabular.[Ch] (docBook): Renamed to docbook and got another
6569         argument to related with the pernicious mixed content.
6570
6571         (docbookRow): Fixed calls for docbook inset method.
6572
6573 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6574
6575         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6576         so it's X11 independent.
6577
6578         * kb*.[Ch]: ditto.
6579
6580         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6581
6582 2002-06-15  Lyx Development team  <lyx@electronia>
6583
6584         * intl.h: Renamed getTrans to getTransManager.
6585
6586 2002-06-14  Angus Leeming  <leeming@lyx.org>
6587
6588         * Makefile.am: nuke forgotten stl_string_fwd.h.
6589
6590 2002-06-12  Angus Leeming  <leeming@lyx.org>
6591
6592         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6593
6594 2002-06-13  Angus Leeming  <leeming@lyx.org>
6595
6596         * LaTeX.C:
6597         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6598
6599 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6600
6601         * kbmap.C (getiso): add support for cyrillic and greek
6602
6603 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6604
6605         * BufferView.h:
6606         * BufferView.C:
6607         * BufferView_pimpl.h:
6608         * BufferView_pimpl.C: move bogus scrolling logic
6609           to xforms
6610
6611 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6612
6613         * lyxfunc.C:
6614         * BufferView_pimpl.C: view->resize() change
6615
6616 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6617
6618         * BufferView_pimpl.C: topCursorVisible
6619           prototype change
6620
6621 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6622
6623         * Makefile.am:
6624         * lyx_gui.h:
6625         * lyx_gui.C: move to frontends/
6626
6627         * main.C:
6628         * lyx_main.h:
6629         * lyx_main.C: changes from above
6630
6631 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6632
6633         * intl.C:
6634         * intl.h:
6635         * kbmap.C:
6636         * kbsequence.C:
6637         * lyx_cb.C:
6638         * lyx_main.C: minor tidy
6639
6640 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6641
6642         * BufferView_pimpl.h:
6643         * BufferView_pimpl.C:
6644         * BufferView.h:
6645         * BufferView.C: make painter() const,
6646           remove dead code
6647
6648         * BufferView2.C: use screen() accessor
6649
6650         * lyx_main.h:
6651         * lyx_main.C: some minor cleanup
6652
6653 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6654
6655         * BufferView_pimpl.h:
6656         * BufferView_pimpl.C: remove enter/leaveView,
6657           use workHeight()
6658
6659 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6660
6661         * BufferView.h:
6662         * BufferView.C:
6663         * BufferView2.C:
6664         * BufferView_pimpl.h:
6665         * BufferView_pimpl.C: only construct screen once,
6666           rename
6667
6668         * lyxrc.C: remove pointless comment
6669
6670 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6671
6672         * BufferView.h:
6673         * BufferView.C: remove active() and belowMouse()
6674
6675         * BufferView_pimpl.h:
6676         * BufferView_pimpl.C: use workarea() not workarea_,
6677           and make it use a scoped_ptr instead
6678
6679 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6680
6681         * lyx_gui.C: add debug message on BadWindow
6682
6683 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6684
6685         * sp_spell.C: fdopen is not part of the C++ standard.
6686
6687         * paragraph.C (InsetIterator): use >= instead of ==
6688
6689 2002-06-07  Angus Leeming  <leeming@lyx.org>
6690
6691         Fixes needed to compile with Compaq cxx 6.5.
6692         * BufferView_pimpl.C:
6693         * DepTable.C:
6694         * buffer.C:
6695         * converter.C:
6696         * encoding.C:
6697         * lyx_gui.C:
6698         * lyx_main.C:
6699         * lyxtextclasslist.C:
6700         * minibuffer.C:
6701         * sp_spell.C:
6702         * tabular_funcs.C:
6703         * vc-backend.C:
6704         all c-library variables have been moved into namespace std. Wrap
6705         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6706
6707         * lyxlength.C:
6708         * tabular-old.C:
6709         * tabular.C:
6710         Add a using std::abs declaration.
6711
6712         * kbmap.h (modifier_pair):
6713         * paragraph.h (InsetTable, InsetList):
6714         * lyxfont.h (FontBits):
6715         type definition made public.
6716
6717         * bufferlist.C (emergencyWriteAll): the compiler complains that
6718         there is more than one possible lyx::class_fun template to choose from.
6719         I re-named the void specialisation as lyx::void_class_fun.
6720
6721         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6722
6723         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6724         the compiler is is unable to find tostr in write_attribute.
6725
6726 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6727
6728         * buffer.C (sgmlError): hide #warning
6729
6730 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6731
6732         * xtl/*: get rid of xtl, which is not in use anyway
6733
6734         * LyXAction.C (init):
6735         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6736         were unimplemented xtl experimentation
6737
6738 2002-06-04  André Pönitz <poenitz@gmx.net>
6739
6740         * lyxfunc.C: disable array operation on simple formulae
6741
6742 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6743
6744         * converter.C: constify a bit
6745
6746 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6747
6748         * lyx_gui.C: check xforms version correctly
6749
6750 2002-04-30  Herbert Voss  <voss@lyx.org>
6751
6752         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6753         "keep" option
6754
6755 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6756
6757         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6758           attempt to register it with a VCS)
6759
6760 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6761
6762         * lyx_main.C (init): honor variables LYX_DIR_13x and
6763         LYX_USERDIR_13x
6764
6765 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6766
6767         * buffer.h:
6768         * buffer.C:
6769         * lyx_main.C: fix a crash on bad command line,
6770           and give a useful exit status on error
6771
6772         * lyxfunc.C (doImport): allow -i lyx to work
6773
6774 2002-03-30  André Pönitz <poenitz@gmx.net>
6775
6776         * lyxfunc.C: mathed font changes
6777
6778 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6779
6780         * LaTeX.C:
6781         * importer.h:
6782         * importer.C:
6783         * lyx_sty.h:
6784         * lyx_sty.C:
6785         * lyxlex.C:
6786         * lyxrow.h:
6787         * lyxtext.h:
6788         * paragraph.h:
6789         * paragraph.C:
6790         * texrow.h:
6791         * texrow.C:
6792         * text.C:
6793         * trans_mgr.h: srcdocs, and some minor cleanups
6794
6795 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6796
6797         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6798         call getFont all the time)
6799
6800 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6801
6802         * switch from SigC signals to boost::signals
6803
6804 2002-05-29  André Pönitz <poenitz@gmx.net>
6805
6806         * paragraph_pimpl.C (getChar): don't call size() too often...
6807
6808 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6809
6810         * paragraph_pimpl.C (insertChar): do not try to update tables when
6811         appending (pos == size())
6812
6813         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6814         in order to reduce drastically the number of comparisons needed to
6815         parse a large document
6816
6817 2002-05-29  André Pönitz <poenitz@gmx.net>
6818
6819         * text.C:
6820         * text2.C:
6821         * lyxtextclass.C:
6822         * sp_pspell.h:
6823         * textclasslist.[Ch]:
6824         * sp_ispell.h: whitespace change
6825
6826 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6827
6828         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6829         lyxaction directly now.
6830
6831 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6832
6833         * trans.C:
6834         * lyxfont.C:
6835         * lyxvc.C: remove unused headers
6836
6837 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6838
6839         * Makefile.am:
6840         * buffer.h:
6841         * undostack.h:
6842         * undostack.C:
6843         * undo_funcs.h:
6844         * undo_funcs.C: some cleanups. Use shared_ptr
6845           and a template for the undo stacks.
6846
6847 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6848
6849         * BufferView_pimpl.h:
6850         * BufferView_pimpl.C:
6851         * kbmap.h:
6852         * kbmap.C:
6853         * kbsequence.h:
6854         * kbsequence.C:
6855         * lyxfunc.h:
6856         * lyxfunc.C:
6857         * text2.C: use key_state/mouse_state
6858
6859 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6860
6861         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6862         and LSubstring
6863
6864         * chset.C: change include order
6865         (loadFile): use boost regex and get rid of LRegex and LSubstring
6866
6867         * Makefile.am (BOOST_LIBS): new variable
6868         (lyx_LDADD): use it
6869
6870         * LaTeX.C: change include order.
6871         (scanAuxFile): use boost regex and get rid of LRegex and
6872         LSubstring
6873         (deplog): ditto
6874
6875 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6876
6877         * ColorHandler.h:
6878         * ColorHandler.C:
6879         * FontInfo.h:
6880         * FontInfo.C: moved to frontends/xforms/
6881
6882         * FontLoader.h:
6883         * FontLoader.C: moved into frontends for GUIIzation
6884
6885         * Makefile.am:
6886         * lyx_gui.C:
6887         * lyxfont.C:
6888         * lyxfunc.C: changes from above
6889
6890 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6891
6892         * LColor.C: remove spurious X include
6893
6894         * BufferView_pimpl.C:
6895         * Makefile.am:
6896         * font.h:
6897         * font.C:
6898         * text.C:
6899         * text2.C: move font metrics to frontends/
6900
6901 2002-05-24  Juergen Vigna  <jug@sad.it>
6902
6903         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6904         setting the undo_cursor.
6905
6906         * ParagraphParameters.h: include local includes first.
6907
6908 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6909
6910         * BufferView_pimpl.C:
6911         * BufferView_pimpl.h:
6912         * Makefile.am:
6913         * WorkArea.h:
6914         * WorkArea.C:
6915         * screen.C: move WorkArea into frontends/
6916
6917         * lyxscreen.h:
6918         * screen.C:
6919         * text.C:
6920         * BufferView.C:
6921         * BufferView2.C: move LyXScreen into frontends/
6922
6923         * lyxlookup.h:
6924         * lyxlookup.C:
6925         * lyx_gui.C: move lyxlookup into frontends/xforms/
6926
6927 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6928
6929         * BufferView2.C:
6930         * BufferView_pimpl.C:
6931         * FontLoader.C:
6932         * LyXView.h:
6933         * LyXView.C:
6934         * Makefile.am:
6935         * WorkArea.C:
6936         * XFormsView.h:
6937         * XFormsView.C:
6938         * buffer.C:
6939         * bufferlist.C:
6940         * bufferview_funcs.C:
6941         * converter.C:
6942         * importer.C:
6943         * lyx_cb.C:
6944         * lyx_gui.C:
6945         * lyx_main.C:
6946         * lyx_find.C:
6947         * lyxfunc.C:
6948         * lyxvc.C:
6949         * minibuffer.C:
6950         * text.C:
6951         * text2.C:
6952         * trans.C:
6953         * vc-backend.C: move LyX/XFormsView into frontends/
6954
6955 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6956
6957         * Makefile.am:
6958         * PainterBase.C:
6959         * PainterBase.h:
6960         * Painter.C:
6961         * Painter.h:
6962         * WorkArea.C:
6963         * WorkArea.h:
6964         * screen.C:
6965         * tabular.C:
6966         * text.C:
6967         * text2.C: move Painter to frontends/
6968
6969 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6970
6971         * buffer.C: comment out some some code that depend upon lyx_format
6972         < 220
6973
6974         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6975         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6976
6977         * buffer.h (NO_COMPABILITY): turn off compability
6978
6979         * ColorHandler.C: include scoped_array.hpp
6980
6981         * font.C: Use more specific smart_ptr header.
6982         * Painter.C: ditto
6983         * gettext.C: ditto
6984         * ShareContainer.h: ditto
6985         * lyx_main.h: ditto
6986         * kbmap.h: ditto
6987         * FontInfo.h: ditto
6988         * BufferView_pimpl.h: ditto
6989         * ColorHandler.h: ditto
6990
6991         * kbmap.C (defkey): change call to shared_ptr::reset
6992
6993 2002-05-21  Juergen Vigna  <jug@sad.it>
6994
6995         * buffer.C (insertErtContents): fix to insert ert asis if it is
6996         non empty. Skip it completely if it contains only whitespaces.
6997
6998 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6999
7000         * BufferView_pimpl.C:
7001         * BufferView2.C: clear selection on paste (bug 393)
7002
7003 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7004
7005         * DepTable.C: include ctime
7006
7007 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7008
7009         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7010
7011 2002-05-14  Juergen Vigna  <jug@sad.it>
7012
7013         * text.C (breakParagraph): fixed function to honor the keepempty
7014         layout in the right maner and also to permit the right breaking
7015         algorithm on empty or non empyt keepempty paragraphs.
7016
7017         * paragraph.C (breakParagraph): we have to check also if the par
7018         is really empty (!size()) for isempty otherwise we do the wrong
7019         paragraph break.
7020
7021 2002-05-10  Juergen Vigna  <jug@sad.it>
7022
7023         * buffer.[Ch] : The following are only changes to the ert
7024         compatibility read reading old LaTeX layout and font stuff and
7025         convert it to ERTInsets.
7026
7027         * buffer.h: added isErtInset().
7028
7029         * buffer.C (struct ErtComp): add a fromlayout bool to check
7030         if we're inside a LaTeX layout.
7031         (isErtInset): new helper function.
7032         (insertErtContents): look for other ert insets before this one
7033         and insert the contents there, so that we don't have subsequent
7034         ERT insets with nothing between them. This way we create only one
7035         inset with multiple paragraphs. Also check if we don't insert only
7036         spaces ' ' as they are ignored anyway afterwards in the .tex file
7037         so if we have only spaces we will ignore this latex part in the
7038         new file.
7039         (parseSingleLyXformat2Token \\layout): better compatibility when
7040         reading layout-latex stuff.
7041         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7042         language tag.
7043         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7044         stuff after reading the inset only get the information back from
7045         the stack.
7046
7047 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7048
7049         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7050
7051         * LaTeXFeatures.C (getBabelOptions): New method.
7052
7053 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7054
7055         * BufferView_pimpl.C (Dispatch): work around missing argument for
7056         'layout'
7057
7058 2002-05-08  Juergen Vigna  <jug@sad.it>
7059
7060         * text.C (leftMargin): handle paragraph leftindent.
7061
7062         * paragraph.C (writeFile): write the new \\leftindent tag.
7063         (validate): handle leftindent code.
7064         (TeXEnvironment): handle paragraphleftindent code again.
7065
7066         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7067
7068         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7069         for paragrap_extra indent code and new token \\leftindent.
7070         (latexParagraphs): handle the leftindent as environment.
7071
7072         * ParameterStruct.h: added leftindent support.
7073
7074         * ParagraphParameters.C (leftIndent): added support functions for
7075         the paragraph left indent.
7076
7077         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7078         more appropriate.
7079
7080 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7081
7082         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7083         inside insetERT.
7084
7085         * text.C (computeBidiTables): No bidi in insetERT.
7086
7087         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7088         in RTL documents.
7089
7090 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7091
7092         * version.C.in: pre 5
7093
7094 2002-05-02  José Matos  <jamatos@fep.up.pt>
7095         * buffer.C (makeDocBookFile): white space changes, add newline to
7096         command styles.
7097         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7098
7099         * tabular.C (docBook): fix typo.
7100
7101 2002-05-03  Juergen Vigna  <jug@sad.it>
7102
7103         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7104         change in LyXText as we can not be sure it was not freed.
7105         (drawOneRow): remove unused code.
7106
7107         * text.C (drawInset): redo the calculation of the need_break_row as
7108         it could have a row which was already freed.
7109         (draw): look at the return value of drawInset and return false if
7110         it also returned false.
7111         (paintRowText): look at the return value of draw and return false if
7112         it also returned false.
7113
7114         * lyxtext.h: added bool return type to drawInset() and draw() so that
7115         if we have a change in the row so that the rowbreak has to be redone
7116         we abort drawing as it will be called again.
7117
7118 2002-05-02  Juergen Vigna  <jug@sad.it>
7119
7120         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7121         a change in the maintext also if we're inside an inset.
7122         (Dispatch): set the cursor again after a break line and after the
7123         screen has been updated as it could be we're in a different row.
7124
7125         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7126         to set the cursor behind the pargraph with > size().
7127         (setCursor): check also for the same paragraph when checking where
7128         to put the cursor if we have a NFR inset.
7129
7130         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7131         parts of layout read further up as it still was in the wrong
7132         position.
7133
7134 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7135
7136         * screen.C (drawFromTo): change sine fullRebreak always return
7137         true.
7138
7139         * buffer.C (parseSingleLyXformat2Token): reindent some
7140
7141         * BufferView_pimpl.C (update): change since fullRebreak always
7142         return true.
7143         (Dispatch): git rid of the last hardcoded "Standard"s.
7144
7145 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7146
7147         * text2.[Ch] (fullRebreak): make it return void now that we always
7148         returned true.
7149
7150 2002-04-30  Juergen Vigna  <jug@sad.it>
7151
7152         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7153         ert compatibility check for "latex" layout.
7154
7155 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7156
7157         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7158         minipages: use col% instead of p%, and also use the current font.
7159         (makeLaTeXFile): Fix use babel condition.
7160         (parseSingleLyXformat2Token): Correct font when reading old floats.
7161
7162 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7163
7164         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7165         inserting list of floats.
7166
7167 2002-04-25  Herbert Voss  <voss@lyx.org>
7168
7169         * MenuBackend.C (expand): don't add the graphics extensions to the
7170         export menu
7171
7172 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7173
7174         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7175         non-existing layout, do not complain if it was the default layout
7176         of the original class (bug #342)
7177
7178 2002-04-24  Juergen Vigna  <jug@sad.it>
7179
7180         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7181         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7182
7183 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7184
7185         * buffer.C (getBibkeyList): If using \bibliography, return the
7186         option field with the reference itself. Enables us to provide natbib
7187         support when using \bibliography.
7188
7189 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7190
7191         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7192
7193         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7194         natbib is provided by the LaTeX class.
7195
7196 2002-04-23  Juergen Vigna  <jug@sad.it>
7197
7198         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7199         Wakeup functions.
7200
7201         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7202
7203 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7204
7205         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7206
7207         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7208         ensuremath around textordmasculine, textordfeminine and
7209         textdegree.
7210
7211 2002-04-19  Juergen Vigna  <jug@sad.it>
7212
7213         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7214         reinitializing the buffer otherwise row-dimensions may be wrong.
7215         (update): reset also the selection cursors if they do exits otherwise
7216         their x/y positions may be wrong.
7217
7218         * text2.C (cursorDown): don't enter the inset if we came from a row
7219         above and are one row over the inset.
7220
7221         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7222         really leaving an inset.
7223
7224 2002-04-18  Juergen Vigna  <jug@sad.it>
7225
7226         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7227         of the selected paragraph does not have the selected layout also if
7228         the last one had!
7229
7230         * text2.C (setLayout): fixed bug which did not change last selected
7231         paragraph.
7232
7233         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7234         changed the read and substituted \\end_float with \\end_inset!
7235
7236         * BufferView_pimpl.C (cursorPrevious):
7237         (cursorNext): fixed to make it work with rows heigher than the work
7238         area without moving the cursor only the draw of the row.
7239         (workAreaMotionNotify): fix jumping over high rows.
7240
7241 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7242
7243         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7244         Ressler.
7245
7246 2002-04-16  Juergen Vigna  <jug@sad.it>
7247
7248         * text2.C (setCursor): set also the irow().
7249         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7250         (cursorUp):
7251         (cursorDown): support for locking an inset if the x_fix value goes
7252         inside it. That way I can transverse insets too with cursor up/down.
7253
7254         * lyxrow.h: added irow helper function same as other (i) functions.
7255
7256         * BufferView_pimpl.C (cursorPrevious):
7257         (cursorNext): fixed for insets!
7258
7259 2002-04-15  Juergen Vigna  <jug@sad.it>
7260
7261         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7262         position otherwise it is wrong in some cases.
7263
7264         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7265         inside the inset before the call.
7266
7267 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7268
7269         * buffer.[Ch] (getBibkeyList): make it const.
7270
7271 2002-04-12  Juergen Vigna  <jug@sad.it>
7272
7273         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7274
7275         * text2.C (getCursorX): new helper function
7276         (setCursor): compute also ix_
7277         (setCursorFromCoordinates): set also ix.
7278
7279         * lyxcursor.h: added ix_ and helper functions.
7280
7281         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7282
7283         * buffer.C (insertStringAsLines): dont break paragraph if the this
7284         paragraph is inside an inset which does not permit it!
7285
7286         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7287         also with no chars on this paragraph.
7288         (paintRowText): only paint stuff if it's inside the workarea!
7289
7290         * paragraph.C (breakParagraph): honor keepempty flag and break the
7291         paragraph always below not above.
7292
7293         * BufferView2.C (unlockInset): update the paragraph layout on inset
7294         unlock as we changed paragraph in such a case.
7295
7296         * lyxfind.C (LyXFind): clear the former selection if not found!
7297
7298         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7299         again called in insertChar().
7300
7301         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7302         an inset which uses the whole row!
7303         (rightMargin): ditto.
7304         (insertChar): force a rebreak if we inserted an inset!
7305
7306 2002-03-28  Herbert Voss  <voss@lyx.org>
7307
7308         * lyxlength.[Ch]: add inBP() to get the right PS-point
7309         units (BigPoint). With inPixels we have rounding errors
7310
7311 2002-04-11  Juergen Vigna  <jug@sad.it>
7312
7313         * text2.C (setCursorFromCoordinates): set iy to the right value.
7314         (setCursor): add check if row->previous exists!
7315
7316         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7317         an old float_type as this was the case in the old code!
7318
7319         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7320
7321         * BufferView2.C (showLockedInsetCursor): use iy
7322         (fitLockedInsetCursor): ditto
7323
7324         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7325         locked insets as there we have the right value now.
7326
7327         * lyxcursor.C: added iy_ variable and iy functions to set to the
7328         baseline of cursor-y of the locked inset.
7329
7330         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7331         (setCursor): fixed for insets which need a full row.
7332
7333         * text.C (rowLastPrintable): don't ignore the last space when before
7334         an inset which needs a full row.
7335         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7336         as last character of a row when before a inset which needs a full row.
7337
7338 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7339
7340         * version.C.in: update date
7341
7342         * text2.C (fullRebreak): try to always return true and see what
7343         happens...
7344
7345 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7346
7347         * MenuBackend.C (expand): use Floating::listName
7348
7349         * FloatList.C (FloatList): add listName argument to the built-in
7350         floats
7351
7352         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7353         text associated with the float.
7354
7355 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7356
7357         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7358
7359 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7360
7361         * ShareContainer.h: add a couple of missing typenames.
7362
7363 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7364
7365         * lyxrc.C (getDescription): use _() correctly rather than N_().
7366
7367 2002-03-28  Herbert Voss  <voss@lyx.org>
7368
7369         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7370         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7371
7372 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7373
7374         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7375         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7376
7377 2002-03-29  Juergen Vigna  <jug@sad.it>
7378
7379         * lyxfunc.C (dispatch): add a missing fitCursor call.
7380
7381         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7382         it was scrolled by a cursor move, so return the bool status.
7383
7384         * BufferView.C (fitCursor): return the bool flag also to the outside
7385         world as this is needed.
7386
7387         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7388
7389         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7390         call the edit() as it is not needed (and wrong) IMO.
7391         (workAreaButtonPress): set the screen_first variable before evt.
7392         unlock the inset as this may change screen_first and then we have
7393         a wrong y position for the click!
7394
7395 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7396
7397         * MenuBackend.C (expand): another translation that I missed
7398
7399 2002-03-28  Juergen Vigna  <jug@sad.it>
7400
7401         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7402
7403         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7404
7405 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7406
7407         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7408
7409         * MenuBackend.C (expand): fix export/view/update when there is no
7410         document open.
7411
7412 2002-03-27  Herbert Voss  <voss@lyx.org>
7413
7414         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7415         and text%
7416
7417 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7418
7419         * bufferview_funcs.C (currentState): only show paragraph number
7420         for is DEVEL_VERSION is set.
7421
7422         * lyxfunc.C (dispatch): put warning in INFO channel
7423
7424         * MenuBackend.C (expand): translate the name of floats
7425
7426         * FloatList.C (FloatList): mark the float names for translation
7427
7428         * converter.C (convert): use LibScriptSearch
7429
7430 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7431
7432         * MenuBackend.C (defaults): fix default menu (we might as well get
7433         rid of it...)
7434
7435 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7436
7437         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7438         directory.
7439
7440 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7441
7442         * lyxvc.C: reorder includes.
7443
7444 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7445
7446         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7447           properly
7448
7449 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7450
7451         * CutAndPaste.C: change layouts earlier on paste
7452           to avoid crashing when calling getFont()
7453
7454 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7455
7456         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7457         irritating #error.
7458
7459 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7460
7461         * WorkArea.C: remove 'Pending' debug message.
7462
7463         * most files: ws cleanup
7464
7465         * buffer.[Ch]: ws changes
7466
7467         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7468
7469 2002-03-21  Juergen Vigna  <jug@sad.it>
7470
7471         * tabular.C (SetMultiColumn): collapse also the contents of the
7472         cells and set the last border right. Added a Buffer const * param.
7473
7474 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7475
7476         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7477         linking or not.
7478
7479 2002-03-19  Juergen Vigna  <jug@sad.it>
7480
7481         * text2.C (clearSelection): reset also xsel_cache.
7482
7483         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7484         where it needs to be called (John tells us to do so too :)
7485         (selectionLost): reset sel_cache.
7486
7487         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7488
7489 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7490
7491         * text2.C (setCursorIntern): put debuging code in INSETS channel
7492
7493 2002-03-19  André Pönitz <poenitz@gmx.net>
7494
7495         * lyxfunc.C: tiny whitespace change
7496
7497 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7498
7499         * ToolbarDefaults.C (init):
7500         * LyXAction.C (init):
7501         * commandtags.h:
7502         * BufferView_pimpl.C (Dispatch):
7503         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7504
7505 2002-03-19  Allan Rae  <rae@lyx.org>
7506
7507         * exporter.C (Export): removeAutoInsets before doing anything else.
7508         While I've just introduced a dependency on BufferView this really is
7509         the best place to clean the buffer otherwise you need to cleanup in
7510         a dozen places before calling export or cleanup in a dozen functions
7511         that export calls.
7512
7513         * converter.C (runLaTeX):
7514         (scanLog): Better handling of removeAutoInsets and screen updates.
7515
7516         * lyxfunc.C (dispatch): small whitespace changes
7517
7518 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7519
7520         * WorkArea.C (C_WorkAreaEvent): return a value.
7521         (event_cb): return 1 if we handled the event, 0 otherwise.
7522
7523         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7524
7525 2002-03-18  Juergen Vigna  <jug@sad.it>
7526
7527         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7528         (GetAdditionalWidth): ditto.
7529         (RightLine): ditto.
7530         (LeftLine): ditto.
7531
7532         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7533         inset if we're there actually (probably not used right now but this
7534         is the direction to go for unifying code).
7535         (paste): disable code to clear the selection.
7536
7537         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7538         inside an InsetText and move the check further up as it is in the
7539         wrong place.
7540
7541         * text2.C (pasteSelection): set a selection over the pasted text.
7542
7543 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7544
7545         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7546         and libgraphics to build on Cygwin.
7547
7548 2002-03-15  Juergen Vigna  <jug@sad.it>
7549
7550         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7551         inserting an Inset into the paragraph. I know this is not the best
7552         fix but we already use current_view in CutAndPaste so we will remove
7553         all of it's using at the same time.
7554
7555         * buffer.C (sgmlError): deactivated function till it is rewritten in
7556         the right mode, now it can create problems.
7557
7558         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7559         before accessing it.
7560
7561 2002-03-14  Juergen Vigna  <jug@sad.it>
7562
7563         * undo_funcs.C (textHandleUndo): do the right thing when updating
7564         the inset after the undo/redo.
7565
7566         * text2.C (setCursor): just some testcode for #44 not ready yet.
7567
7568         * undo_funcs.C (textHandleUndo): set the next() and previous()
7569         pointers of the paragraph to 0 before deleting otherwise we have
7570         problems with the Paragraph::[destructor].
7571
7572         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7573         on a paragraph insertion.
7574
7575 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7576
7577         * buffer.C (asciiParagraph): use += operator for char append to
7578         string.
7579
7580         * paragraph.C (getFontSettings): compare >= not just >
7581         (highestFontInRange): ditto
7582         (setFont): ditto
7583
7584 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7585
7586         * paragraph.C: change several algorithm to be more appripriate for
7587         the problem domain. This is lookip in FontList and in the InsetList.
7588
7589 2002-03-13  André Pönitz <poenitz@gmx.net>
7590
7591         * commandtags.h:
7592         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7593
7594 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7595
7596         * commandtags.h:
7597         * LyXAction.C:
7598         * lyxfunc.C:
7599         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7600
7601 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7602
7603         * Painter.C (display): anon helper function, adjust code for this
7604         change.
7605         (pixmap): remove function.
7606
7607         * Painter.h: remove private display variable.
7608
7609         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7610
7611 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7612
7613         * WorkArea.[Ch]: remove figinset_canvas cruft.
7614
7615 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7616
7617         * lyxtextclass.C (operator): add one item cache optimization.
7618
7619         * bufferlist.h: doxy changes
7620
7621         * bufferlist.C: ws changes
7622
7623         * DepTable.[Ch] (ext_exist): place const in the right spot.
7624
7625         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7626         call resizeInsets.
7627         (workAreaExpose): call resizeInsets when the with BufferView changes.
7628         (Dispatch): adjust for protectedBlank removal
7629         (specialChar): call updateInset if the insert went ok.
7630
7631         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7632         specialChar instead.
7633
7634         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7635
7636         * BufferView.h: doxy change
7637
7638         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7639
7640         * lyxtextclass.C (operator[]): remove non-const version
7641         (defaultLayout): remove non-const version
7642
7643 2002-03-12  Juergen Vigna  <jug@sad.it>
7644
7645         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7646         did resize the LyXText too.
7647
7648         * buffer.C (readLyXformat2): set layout information on newly allocated
7649         paragraphs.
7650
7651         * tabular.C (OldFormatRead): set layout information on the paragraph.
7652
7653 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7654
7655         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7656
7657 2002-03-11  Juergen Vigna  <jug@sad.it>
7658
7659         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7660         plainly wrong.
7661         (resizeCurrentBuffer): force also the insets to resize themselfes.
7662         (moveCursorUpdate): fixed up for InsetText.
7663
7664 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7665
7666         * commandtags.h:
7667         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7668         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7669         value of Dialogs::tooltipsEnabled().
7670         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7671
7672 2002-03-08  Juergen Vigna  <jug@sad.it>
7673
7674         * BufferView_pimpl.C (updateInset): update inset inside inset also
7675         if it isn't inside theLockingInset().
7676
7677 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7678
7679         * buffer.C (asciiParagraph): redo some of the word and line length
7680         handling.
7681         (getLists): look for Caption instead of caption.
7682
7683 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7684
7685         * buffer.C (Buffer): initialize niceFile to true
7686         (makeLaTeXFile):
7687         (makeLinuxDocFile):
7688         (makeDocBookFile): make sure niceFile is true on exit
7689
7690 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7691
7692         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7693
7694 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7695
7696         * LyXSendto.C: remove.
7697         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7698         * lyx_gui.C: remove now-redundant comment.
7699         * ColorHandler.h: remove forward declaration of class WorkArea.
7700         * lyxfunc.C: remove #include "WorkArea.h".
7701
7702 2002-03-07  Juergen Vigna  <jug@sad.it>
7703
7704         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7705         got moved away with the DEPM and also set the inset_owner always
7706         right which before could have been omitted.
7707
7708 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7709
7710         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7711         wanted layout is not found.
7712
7713 2002-03-07  Juergen Vigna  <jug@sad.it>
7714
7715         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7716
7717 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7718
7719         * paragraph.C (breakParagraph): use default layout not layout of
7720         prev paragraph.
7721         (Paragraph): clear ParagraphParameters.
7722
7723 2002-03-06  Juergen Vigna  <jug@sad.it>
7724
7725         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7726         otherwise it would not be a valid lenght. Fixed a special case in
7727         the minipage compatibility read where we end the document with a
7728         minipage.
7729
7730         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7731         was set as it could be 0 for InsetTexts first entry.
7732
7733 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7734
7735         * paragraph.C (writeFile): if layout is empty write out
7736         defaultLayoutName().
7737
7738         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7739         file without named layout we set layout to defaultLayoutName().
7740
7741 2002-03-06  Juergen Vigna  <jug@sad.it>
7742
7743         * CutAndPaste.C (copySelection): set layout for new paragraph.
7744
7745         * text.C (prepareToPrint): leave ERT inset left aligned
7746         (leftMargin): don't indent paragraphs inside ERT insets
7747
7748 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7749
7750         * paragraph.C (breakParagraph): dont call clear do the work manually
7751
7752         * paragraph.[Ch] (clear): remove function
7753
7754 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7755
7756         * paragraph.C (Paragraph): dont call clear, the work has already
7757         been done.
7758
7759         * lyxtextclass.C (operator): assert if n is empty
7760
7761         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7762         work manually instead.
7763
7764 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7765
7766         * BufferView_pimpl.C: protect selectionLost against text == 0
7767
7768 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7769
7770         * text.C (breakParagraph): fix a setting layout to '0' problem.
7771
7772 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7773
7774         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7775         final location of file, for the included files, and graphics.
7776
7777 2002-03-05  Juergen Vigna  <jug@sad.it>
7778
7779         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7780
7781 2002-03-04  Juergen Vigna  <jug@sad.it>
7782
7783         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7784
7785         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7786         last column of multicolumn cells.
7787         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7788
7789 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7790
7791         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7792         file if it doesn't go to a temporary file.
7793
7794         * buffer.C (sgmlOpenTag):
7795         (sgmlCloseTag):  remove extra newline insertion.
7796
7797 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7798
7799         * text.C (getRowNearY): comment out debug msg
7800
7801 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7802
7803         * text2.C: first -> first_y
7804
7805         * text.C (getRowNearY): add some attemts at a possible
7806         optimization, not working.
7807
7808         * tabular.[Ch]: add BufferParams to several function so that newly
7809         created paragraph can be initialized to he default layotu for the
7810         buffers textclass.
7811
7812         * tabular-old.C (ReadOld): add buf->params to call of Init
7813
7814         * screen.C: rename text->first to text->first_y
7815
7816         * paragraph.C (breakParagraph): always set layout in the broken
7817         paragraph
7818
7819         * lyxtextclass.C (Read): remove lowercase
7820         (hasLayout): ditto
7821         (operator): ditto
7822         (delete_layout): ditto
7823
7824         * lyxtext.h: rename first -> first_y
7825
7826         * lyxlayout.C (Read): remove lowercase
7827         (name): ditto
7828         (setName): ditto
7829         (obsoleted_by): ditto
7830
7831         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7832
7833         * buffer.C (insertErtContents): add params are to InsetERT
7834         (parseSingleLyXformat2Token): add code to check if a paragraphs
7835         layout really exist.
7836         (parseSingleLyXformat2Token): add params to several inset
7837         constructors
7838         (asciiParagraph): remove lowercase, do the layout comparisons with
7839         no_case
7840
7841         * BufferView_pimpl.C (cursorNext): first -> first_y
7842         (resizeCurrentBuffer): first -> first_y
7843         (updateScrollbar): first -> first_y
7844         (scrollCB): first -> first_y
7845         (workAreaMotionNotify): first -> first_y
7846         (workAreaButtonPress): first -> first_y
7847         (checkInsetHit): first -> first_y
7848         (cursorPrevious): first -> first_y
7849         (cursorNext): first -> first_y
7850         (Dispatch): add buffer_->params to severl inset contructors
7851
7852 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7853
7854         * lyxlayout.C (Read): remove some debug info that I forgot.
7855
7856         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7857         clean up the code slightly.
7858         (makeLinuxDocFile): ditto
7859         (makeDocBookFile): ditto
7860
7861         * text2.C: layout as string
7862
7863         * text.C: layout as string
7864
7865         * paragraph_pimpl.C: layout as string
7866
7867         * paragraph.[Ch]: layout as string
7868
7869         * lyxtextclasslist.[Ch]: layout as string
7870
7871         * lyxtextclass.[Ch]: layout as string
7872
7873         * lyxtext.h: layout as string
7874
7875         * lyxlayout.[Ch]: layout as string
7876
7877         * lyx_cb.C: layout as string
7878
7879         * bufferview_funcs.C: layout as string
7880
7881         * bufferparams.C: layout as string
7882
7883         * buffer.C: layout as string
7884
7885         * LyXView.[Ch]: layout as string
7886
7887         * LaTeXFeatures.[Ch]: layout as string
7888
7889         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7890
7891         * BufferView_pimpl.C: change current_layout to string, remove
7892         lyx::layout_type.
7893         (Dispatch):
7894         (smartQuote):
7895         (insertInset):
7896         (workAreaButtonRelease): layout as string
7897
7898         * BufferView2.C (unlockInset): adjust
7899
7900         * vspace.C (asLatexCommand): use an explict temp variable.
7901
7902 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7903
7904         * Makefile.am: use FRONTEND_*
7905
7906 2002-03-01  Juergen Vigna  <jug@sad.it>
7907
7908         * tabular.C (SetWidthOfMulticolCell): changed to something better
7909         I hope but still work in progress.
7910         (recalculateMulticolumnsOfColumn): renamed function from
7911         recalculateMulticolCells as it is more appropriate now.
7912         (SetWidthOfCell): calculate multicols better.
7913
7914 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7915
7916         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7917
7918         * lyxfunc.C (processKeySym): print sequence also if it is
7919         `deleted' (complete)
7920
7921         * kbsequence.C (print): print sequence even if it is deleted
7922         (complete would be a better word, actually).
7923
7924         * lyxfunc.C (dispatch): print complete options after a prefix key
7925
7926         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7927
7928 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7929
7930         * text2.C (setCharFont): eliminate setCharFont code duplication.
7931
7932 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7933
7934         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7935         LFUN_TABULAR_FEATURE (bug #177)
7936
7937 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7938
7939         * Makefile.am: remove figure.h
7940
7941 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7942
7943         * Bufferview_pimpl.C:
7944         * CutAndPasteC:
7945         * LaTeX.C:
7946         * LyXSendto.C:
7947         * buffer.C:
7948         * bufferlist.C:
7949         * converter.C:
7950         * language.C:
7951         * lyxfunc.C:
7952         * lyxvc.C:
7953         * paragraph.C:
7954         * text.C:
7955         * text2.C: remove #include "lyx_gui_misc.h".
7956
7957         * LaTeX.C: added #include <cstdio>
7958
7959 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7960
7961         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7962         that the paragraph following this one can have.
7963
7964         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7965
7966         * vspace.C (asLatexCommand): fix bogus gcc warning
7967
7968         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7969
7970 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7971
7972         * text2.C (setLayout): get rid of redundant code
7973
7974 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7975
7976         * text2.C (incDepth): make sure depth cannot be increased beyond
7977         reasonable values.
7978
7979 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7980
7981         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7982         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7983
7984         * PainterBase.h (image):
7985         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7986         a LyXImage const *.
7987
7988 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7989
7990         * BufferView.C:
7991         * BufferView.h:
7992         * BufferView_pimpl.C:
7993         * BufferView_pimpl.h:
7994         * LaTeXFeatures.C:
7995         * LyXAction.C:
7996         * LyXView.C:
7997         * Makefile.am:
7998         * UpdateList.h:
7999         * UpdateList.C:
8000         * buffer.C:
8001         * figure.h:
8002         * figureForm.C:
8003         * figureForm.h:
8004         * figure_form.C:
8005         * figure_form.h:
8006         * lyx_cb.C:
8007         * lyx_gui.C:
8008         * lyx_gui_misc.C:
8009         * lyxfunc.C:
8010         * sp_base.h:
8011         * sp_ispell.h:
8012         * sp_pspell.h:
8013         * sp_spell.C: remove fig inset, and the crap house of
8014           cards that follows it
8015
8016 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8017
8018         * Makefile.am:
8019         * lyxserver.C:
8020         * os2_defines.h:
8021         * os2_errortable.h:
8022         * nt_defines.h: move .h into support/
8023
8024         * vms_defines.h: remove
8025
8026         * WorkArea.C: add space in debug output
8027
8028         * text2.C:
8029         * paragraph.C:
8030         * buffer.C: add WITH_WARNINGS
8031
8032         * vc-backend.h:
8033         * vc-backend.C:
8034         * bufferlist.C: s/retrive/retrieve/, add docs
8035
8036         * vspace.h:
8037         * vspace.C:
8038         * kbmap.h:
8039         * lyxlength.h:
8040         * lyxgluelength.h:
8041         * length_common.h:
8042         * chset.h:
8043         * chset.C: add docs
8044
8045         * lyxgui.C: add ID to X error handler
8046
8047         * lyxtestclass.c: fix typo
8048
8049 2002-02-26  Juergen Vigna  <jug@sad.it>
8050
8051         * tabular_funcs.C (write_attribute): changed so that some default
8052         attributes are not written at all.
8053         (getTokenValue): set default values before trying to read the
8054         value so we have the return value always set as default if we don't
8055         find the token we search for.
8056
8057         * tabular.C (Write): write bools as bools not as strings!
8058
8059 2002-02-22  Juergen Vigna  <jug@sad.it>
8060
8061         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8062         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8063
8064         * text.C (leftMargin): don't add an indent for paragraphs inside
8065         tabular cells (fix #208).
8066
8067 2002-02-21  José Matos  <jamatos@fep.up.pt>
8068
8069         * tabular.C (docBook): fixed support for long tables.
8070
8071 2002-02-20  Juergen Vigna  <jug@sad.it>
8072
8073         * text2.C (getFont): get the drawing font of the Inset if this
8074         paragraph is inside an inset (only important for InsetERT for now).
8075
8076         * buffer.C (insertErtContents): use new lanugage params in ERT
8077         constructor.
8078
8079         * CutAndPaste.C: commenting out seemingly uneeded code.
8080
8081 2002-02-19  Allan Rae  <rae@lyx.org>
8082
8083         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8084         Iterators might be simple to use but they also get invalidated.
8085         (removeAutoInsets): renamed saved cursor tracking variables and added
8086         some comments to clarify what everything does.
8087
8088 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8089
8090         * Chktex.C:
8091         * LaTeX.C:
8092         * LyXSendto.C:
8093         * converter.C:
8094         * lyx_cb.C:
8095         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8096         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8097
8098         * lyxfunc.C:
8099         * vc-backend.h: remove #include "support/syscall.h"
8100
8101         * LaTeX.C:
8102         * LyXSendto.C:
8103         * converter.C: rearrange #includes in Lars' approved fashion.
8104
8105         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8106         forward declare class Timeout in the header file.
8107
8108         * XFormsView.C: changes due to the above.
8109
8110         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8111         similar to LyXView.
8112
8113         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8114         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8115
8116 2002-02-18  José Matos  <jamatos@fep.up.pt>
8117
8118         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8119         insets contents.
8120
8121 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8122
8123         * a lot of small ws changes
8124         * add a lot of using std::XXX
8125         * use std construcs some places where approp.
8126         * use some exisint stuff from lyxfunctional where approp.
8127         * Make file changes to use partial linking (lets test this now...)
8128
8129 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8130
8131         * Chktex.C:
8132         * buffer.C:
8133         remove #include "support/syscontr.h" as it's redundant. Always has been.
8134
8135         * Chktex.C:
8136         * LaTeX.C:
8137         * LyXSendto.C:
8138         * converter.C:
8139         * lyx_cb.C:
8140         * vc-backend.C:
8141         change Systemcalls::System to Systemcalls::Wait and
8142         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8143         No change of functionality, just reflects the stripped down Systemcalls
8144         class.
8145
8146 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8147
8148         * debug.[Ch]: add a GRAPHICS type to the enum.
8149
8150 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8151
8152         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8153
8154         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8155         there is an inset.
8156
8157 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8158
8159         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8160         match the changes below.
8161
8162         * text2.C (toggleInset): if there is not editable inset at cursor
8163         position, try to see if cursor is _inside_ a collapsable inset
8164         and close it.
8165
8166 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8167
8168         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8169         document menu has a nice checkbox
8170
8171 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8172
8173         * lyxlength.C (asLatexString): change PW to output as percent of
8174         \textwidth.
8175
8176         * lengthcommon.C: change '%' to 't%'
8177
8178         * lyxfunc.C (dispatch): a few comments from Martin
8179
8180 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8181
8182         * WorkArea.h:
8183         * WorkArea.C:
8184         * BufferView_pimpl.h:
8185         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8186           the X selection.
8187
8188 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8189
8190         * vspace.C (inPixels): fix compiler warning
8191
8192 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8193
8194         * lyxfunc.C (getStatus): fix status message for disabled commands.
8195
8196 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8197
8198         * BufferView_pimpl.C: fix crash on close buffer
8199         during selection (#227)
8200
8201 2002-01-27  Herbert Voss  <voss@lyx.org>
8202
8203         * buffer.C: link old Figure to new graphic inset
8204
8205 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8206
8207         * FontLoader.C (getFontinfo): Change the latex font names in order
8208         to match the names of type1inst.
8209
8210 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8211
8212         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8213
8214         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8215         (extchanged): ditto
8216         (ext_exist): ditto
8217         (remove_files_with_extension): ditto
8218         (remove_file): ditto
8219         (write): ditto
8220
8221         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8222         document is smaller than the work area height. Do not initialize
8223         static variables to 0.
8224
8225 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8226
8227         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8228
8229         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8230         LFUN_LAYOUT_PARAGRAPHS.
8231
8232         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8233         tabular. It is possible to provide a possible cell, which will
8234         typically be the actcell from the corresponding insettabular
8235
8236         * lyxfunc.C (getStatus): small cleanup; disable
8237         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8238         true
8239
8240 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8241
8242         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8243
8244         * paragraph.C (startTeXParParams):
8245         (endTeXParParams): new methods. The LaTeX code to
8246         start/end paragraph formatting
8247         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8248         empty (fixes bug #200)
8249
8250         * vspace.C (inPixels): adapt to the change below
8251         (inPixels): [later] more cleanups (remove unused variables)
8252
8253         * lyxlength.C (inPixels): change to use a width and a height as
8254         parameter.
8255
8256 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8257
8258         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8259         Replaced with \paperwidth
8260
8261         * DepTable.C (insert): add std:: qualifier
8262
8263 2002-01-18  Allan Rae  <rae@lyx.org>
8264
8265         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8266         updated also?
8267
8268         * text.C (drawInset): Turned out I didn't know enough about how
8269         rebreaking worked.  This fixes most of the redraw problems.  I see
8270         an occasional cursor trail when a line is broken now and the cursor
8271         placement can seem out by a few pixels also after a rebreak.
8272
8273 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8274
8275         * buffer.C (parseSingleLyXformat2Token): update because minipage
8276         width is now a LyXLength
8277
8278         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8279
8280         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8281         math insets
8282
8283 2002-01-17  Juergen Vigna  <jug@sad.it>
8284
8285         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8286
8287         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8288         is set correctly and the inset is updated correctly.
8289
8290 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8291
8292         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8293         the beginning of the loop.
8294
8295 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8296
8297         * lyxrc.C: improve help for use_scalable_fonts
8298
8299 2002-01-17  Allan Rae  <rae@lyx.org>
8300
8301         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8302
8303 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8304
8305         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8306         make sure to set their inset_owner to the right value (bug #171)
8307
8308 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8309
8310         * DepTable.h
8311         * DepTable.C: Implement mtime checking to reduce time spent doing
8312         CRCs.
8313
8314 2002-01-16  Juergen Vigna  <jug@sad.it>
8315
8316         * tabular.C (GetAdditionalHeight): one of error fixed.
8317
8318         * lyxrc.C (output): small fix in writing use_pspell.
8319
8320 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8321
8322         * sp_base.h: #include LString.h
8323
8324 2002-01-16  Allan Rae  <rae@lyx.org>
8325
8326         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8327         Can someone check this please?
8328
8329         * text.C (drawInset): It was possible that p.row would be removed by
8330         breakAgainOneRow upsetting a few other settings.  There may be another
8331         small tweak possible by setting need_break_row = 0 when p.row has been
8332         removed but I don't know enough about the logic here.
8333
8334 2002-01-15  Allan Rae  <rae@lyx.org>
8335
8336         * text.C (insertChar): removed conditional truism.
8337
8338         * BufferView2.C (removeAutoInsets): More tweaks.
8339         cur_par_prev could be a stray pointer.  Check for trailing empty line
8340         in case last line was cur_par and only had an error inset on it.
8341
8342 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8343
8344         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8345         absolute
8346
8347         * vc-backend.C (most methods):
8348         * exporter.C (Export):
8349         * converter.C (convert):
8350         (runLaTeX):
8351         * LyXSendto.C (SendtoApplyCB):
8352         * lyxfunc.C (dispatch):
8353         (menuNew):
8354         (open):
8355         (doImport):
8356         * lyx_cb.C (AutoSave):
8357         (InsertAsciiFile):
8358         * BufferView_pimpl.C (MenuInsertLyXFile):
8359         * buffer.C (runChktex): use Buffer::filePath().
8360
8361         * buffer.h: rename filename to filename_; rename filepath to
8362         filepath_ and make it private
8363         (filePath): new method
8364
8365         * buffer.C (writeFile): use fileName()
8366         (getLatexName):
8367
8368         * lyx_main.C (init): fix starting  of LyX when the binary is a
8369         link from so,ewhere else.
8370
8371         * minibuffer.C: include <cctype> for isprint
8372
8373 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8374
8375         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8376         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8377         name clash with InsetCollapsable's width function.
8378
8379 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8380
8381         * lastfiles.C: include <iterator>
8382
8383 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8384
8385         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8386         std::count.
8387
8388         * buffer.C (makeLaTeXFile): ditto.
8389         Also make loop operation more transparent.
8390
8391 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8392
8393         * ToolbarDefaults.C: remove trailing comma closing namespace.
8394
8395         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8396
8397         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8398         as in WorkArea.
8399
8400         * trans.C (Load): comment out unused variable, allowed.
8401
8402 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8403
8404         * minibuffer.[Ch] (append_char): new method to recieve input from the
8405         drop-down completion browser. If a key was pressed, then recieve this
8406         char and append it to the existing string.
8407         (peek_event): modify the positioning data passed to the completion
8408         browser so that it can be placed above the minibuffer rather than below.
8409 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8410
8411         * LyXAction.C (init): alloe error-next for readonly documents.
8412
8413         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8414         count.
8415
8416 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8417
8418         * bufferlist.C (readFile): create the buffer _after_ checking that
8419         the file exists.
8420
8421         * lyxfunc.C (verboseDispatch): fix handling of arguments
8422
8423         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8424
8425         * lyxrc.C: use string::erase() instead of initializing to "".
8426
8427
8428 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8429
8430         * BufferView_pimpl.h:
8431         * BufferView_pimpl.C:
8432         * WorkArea.h:
8433         * WorkArea.C:
8434         * text2.C: tell X when we have made a selection for copying
8435
8436 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8437
8438         * BufferView_pimpl.C (MenuInsertLyXFile):
8439         * lyxfunc.C (menuNew):
8440         (open):
8441         (doImport): add shortcuts to directory buttons
8442
8443         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8444         open a float)
8445
8446         * lyxfunc.C (setStatusMessage):
8447         (getStatusMessage): new methods
8448         (getStatus):use setStatusMessage instead of setErrorMessage
8449         (dispatch): when function is disabled, set error message here
8450         [instead of in getStatus previously]
8451
8452         * BufferView_pimpl.C (workAreaButtonRelease): update
8453         toolbar/menubar here too.
8454
8455 2002-01-13  Allan Rae  <rae@lyx.org>
8456
8457         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8458         Now seems indestructible.  Remaining task is to audit all other
8459         code affected by deleteEmptyParagraphMechanism.  One small quirk
8460         left is that an empty document with an error in the preamble can
8461         be made to report an error but no error box appears.  I don't know
8462         where it goes.
8463         (removeAutoInsets): Improved comments.
8464
8465 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8466
8467         * Thesaurus.h:
8468         * Thesaurus.C: update for Aiksaurus 0.14
8469
8470 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8471
8472         * text2.C (firstParagraph): removed member function, all uses
8473         replaces with ownerParagraph
8474         (redoParagraphs): here
8475         (updateInset): here
8476         (toggleAppendix): here
8477         * BufferView2.C (insertErrors): here
8478         (setCursorFromRow): here
8479
8480 2002-01-13  Allan Rae  <rae@lyx.org>
8481
8482         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8483         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8484         There is still a way to segfault this although you may have to do this
8485         multiple times: Have an InsetERT with an unknown command in it.
8486         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8487         <down-arrow>, <Enter> again, View->DVI, BANG!
8488
8489         * text2.C (setCursor):
8490         (deleteEmptyParagraphMechanism):
8491         * lyxtext.h (setCursor):
8492         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8493         Making use of the return value may help fix other bugs.
8494
8495 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8496
8497         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8498
8499         * LyXView.C (updateMenubar): call MenuBar::update here
8500         (updateToolbar): but not here
8501         (showState): do not update toolbar/menubar
8502
8503         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8504         should need to care about that.
8505
8506         * lyxfunc.C (verboseDispatch): simplify a bit
8507         (getStatus): have a version which takes a pseudoaction, and
8508         another which requires a (kb_action,string).
8509
8510         * LyXAction.C (retrieveActionArg): make it work also when action
8511         is not a pseudo-action.
8512         (getActionName): simplify a bit
8513         (helpText):
8514
8515 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8516
8517         * lyxfunc.C (verboseDispatch): new families of methods with
8518         several ways to specify a command and a bool to indicate whether
8519         the command name and shortcut should be displayed in minibuffer
8520         (eventually, we could extend that to a finer bitmask like
8521         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8522         (dispatch): the pristine dispatch command which just, well,
8523         dispatchs! Note it still sets its result to minibuffer; I'm not
8524         sure we want that.
8525
8526         * lyxfunc.h: remove setHintMessage
8527
8528         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8529
8530 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8531
8532         * BufferView_pimpl.C (specialChar): delete new inset if we have
8533         not been able to insert it.
8534
8535         * kbmap.C: revert to using int instead of kb_action, since all we
8536         are dealing with is pseudo-actions.
8537
8538         * LyXAction.C (searchActionArg): change to return int instead of
8539         kb_action, since the result is a pseudoaction.
8540
8541 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8542
8543         * buffer.C (insertErtContents): Fix (partially) the font bug.
8544
8545 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8546
8547         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8548         as the other one is broken on my machine!
8549
8550 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8551
8552         * commandtags.h:
8553         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8554
8555 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8556
8557         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8558         reflect their actual use. Provide compatibility code for older lyxrc
8559         files.
8560
8561         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8562         FL_NORMAL_STYLE.
8563         change names of popup font variables in line with the changes to lyxrc.C
8564
8565 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8566
8567         * buffer.C (asciiParagraph): avoid outputing a word twice after
8568         an inset.
8569
8570         * lyxrc.C (getDescription): document that document_path and
8571         template_path can be empty.
8572
8573 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8574
8575         * LaTeXFeatures.C (getMacros):
8576         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8577
8578         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8579
8580         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8581         getPackages.
8582         (getPackages): rename feature "floats" to "float". Use an array to
8583         iterate over 'simple' features (i.e. just a \usepackage). Add
8584         handling of "amsmath" (renamed from "amsstyle").
8585
8586 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8587
8588         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8589         features list.
8590
8591 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8592
8593         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8594         FuncStaus::FuncStatus & FuncStaus::some_method().
8595
8596 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8597
8598         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8599         of the func_satus stuff. Edited and massaged in various ways by
8600         JMarc.
8601
8602         * lyxfunc.C (getStatus): use FuncStatus
8603
8604 2002-01-08  Juergen Vigna  <jug@sad.it>
8605
8606         * text.C (nextBreakPoint): use function Inset::isChar().
8607
8608         * paragraph.C (TeXOnePar): use function
8609         Inset::forceDefaultParagraphs.
8610
8611         * buffer.C (latexParagraphs): use function
8612         Inset::forceDefaultParagraphs.
8613
8614 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8615
8616         * lyx_gui.C (init): set the style of the menu popups to
8617         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8618
8619 2002-01-07  Juergen Vigna  <jug@sad.it>
8620
8621         * text.C (setHeightOfRow): small fix
8622         (prepareToPrint): don't look at alignment if we don't have the place
8623         for doing it.
8624
8625 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8626
8627         * box.C: New file. Move the Box methods and functions out of box.h,
8628         following Lars' suggestion.
8629
8630 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8631
8632         * box.h: #include "support/LOstream.h", needed for inlined function.
8633
8634         * lyxtextclass.C:
8635         * lyxtextclasslist.C: added some using std declarations.
8636
8637 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8638
8639         * box.h: make signed dimensions to allow insets wider than
8640           the screen (bug #162)
8641
8642         * BufferView_pimpl.C: add some insetHit debug
8643
8644 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8645
8646         * vc-backend.C: add FIXME
8647
8648 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8649
8650         * lyxfunc.C (getStatus): enable code for showing math font status
8651         in toolbar/menu.
8652
8653 2002-01-07  Juergen Vigna  <jug@sad.it>
8654
8655         * text.C (nextBreakPoint): removed debug output not needed anymore.
8656
8657 2002-01-06  Juergen Vigna  <jug@sad.it>
8658
8659         * text.C (nextBreakPoint): fixed up this function we had this bug
8660         since ever but now hopefully we break row better.
8661         (insertChar): we have to check if an inset is the next char as it
8662         could now happen that a large inset is causing a break.
8663
8664 2002-01-05  Juergen Vigna  <jug@sad.it>
8665
8666         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8667         if it doesn't like to be drawed.
8668
8669 2002-01-04  Juergen Vigna  <jug@sad.it>
8670
8671         * BufferView2.C (lockInset): forgot to set a cursor.
8672
8673         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8674
8675 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8676
8677         * FormMathsPanel.C:
8678         * FormMathsPanel.h
8679         * MathsSymbols.C:
8680         * form_maths_panel.C:
8681         * form_maths_panel.h:
8682         * form_maths_panel.fd: implemented sub- and super- buttons in math
8683         panel.
8684
8685         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8686         (or ^ space) to be used as in TeX (req'd by André).
8687
8688         * lyxfunc.C: Allow ^ and _ again to be used both as
8689         super/subscript (mathed) and as themselves (in text).
8690
8691 2002-01-03  Allan Rae  <rae@lyx.org>
8692
8693         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8694         "LyX" or the filename of the current buffer if it has one.  This is a
8695         modified form of John Levon's patch.
8696
8697         * XFormsView.C (setWindowTitle): also set icon title.
8698
8699         * LyXView.h (setWindowTitle): signature changed.
8700         * XFormsView.h (setWindowTitle): ditto.
8701
8702 2002-01-02  Juergen Vigna  <jug@sad.it>
8703
8704         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8705
8706 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8707
8708         * screen.C (topCursorVisible): introduce a temp var for
8709         text->cursor.row(), handle the case where this row is null. (kindo
8710         hachish)
8711
8712         * text2.C (setCursor): add a couple of asserts.
8713
8714         * paragraph.h (inset_iterator): add -> operator
8715
8716         * paragraph.[Ch] (autoDeleteInsets): remove member function
8717
8718         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8719         cursor pos correctly and handle inset deletion by itself.
8720         (insertErrors): move iterator declaration out of for expression
8721
8722         * lyxtextclass.C: add <algorithm>
8723
8724         * Makefile.am: added the new files to sources, removed layout.C
8725
8726         * layout.C: removed file
8727
8728         * layout.h: remove LYX_DUMMY_LAYOUT
8729
8730         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8731         layout.
8732
8733         * lyxlayout.[Ch]:
8734         * lyxtextclass.[Ch]:
8735         * lyxtextclasslist.[Ch]: new files
8736
8737         * include order changes to a lot of files, also changes because of
8738         the six new files.
8739
8740 2001-12-27  Juergen Vigna  <jug@sad.it>
8741
8742         * buffer.C (asciiParagraph): more fixes.
8743
8744         * tabular.C (ascii): make ascii export support export of only the
8745         data separated by a column-delimiter.
8746         (ascii): better support for ascii export.
8747
8748         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8749
8750 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8751
8752         * tabular_funcs.C: use a "using std::getline" instead of the
8753         previous fix from Angus (necessary for cxx + lyxstring)
8754
8755 2001-12-24  Juergen Vigna  <jug@sad.it>
8756
8757         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8758
8759         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8760         problems. First check a minipage also if we have some ert-contents
8761         (not only on par->size(), second set the right depth of the paragraph
8762         on the relink to the root-paragraph-list!
8763
8764         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8765         which then did not anymore update the main paragraphs on undo/redo!
8766
8767 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8768
8769         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8770         code. Support all font-changing funcs (even those which are not in
8771         menu currently). Support for reporting font settings in
8772         mathed (disabled until Andre provides a function on mathed's side).
8773
8774         * func_status.h (toggle): small helper function to set toggle
8775         state on a flag.
8776
8777 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8778
8779         * tabular_funcs.C: getline -> std::getline
8780
8781 2001-12-21  Juergen Vigna  <jug@sad.it>
8782
8783         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8784         accessed and could be 0 (I couldn't generate this but it seems
8785         Michael could!).
8786
8787 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8788
8789         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8790         * tabular_funcs.h: here and include iosfwd
8791
8792 2001-12-20  Juergen Vigna  <jug@sad.it>
8793
8794         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8795         inside inset but undo_par was.
8796
8797 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8798
8799         * Thesaurus.C: always include <config.h> in sources.
8800
8801         * Painter.h:
8802         * lyxlookup.h:
8803         * box.h: do not include <config.h> in header files
8804
8805         * text.C (paintLastRow): remove unused variable
8806
8807         * text.C (transformChar):
8808         (insertChar):
8809         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8810
8811         * Painter.C (text):
8812         * font.C (width): rewrite to use uppercase() instead of
8813         islower/toupper.
8814
8815         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8816
8817 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8818
8819         * lyxfind.C: clean up of find failure position change
8820
8821 2001-12-20  Juergen Vigna  <jug@sad.it>
8822
8823         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8824
8825         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8826         (TeXRow): added to LaTeX a single tabular row.
8827         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8828         (Latex): simplified and finally good LT-h/f support.
8829         (various_functions): just small adaptions for LT-h/f support.
8830
8831         * tabular_funcs.[hC]: added and moved here all not classfunctions
8832         of LyXTabular.
8833
8834 2001-12-19  Juergen Vigna  <jug@sad.it>
8835
8836         * tabular.[Ch]: better support for longtabular options (not finished
8837         yet!)
8838
8839 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8840
8841         * text.C (paintLastRow): use the label font instead of the font of
8842         the last character to compute the size of *_BOX. This makes more
8843         sense and avoids a crash with empty paragraphs.
8844         Use Painter::rectangle to draw EMPTY_BOX.
8845
8846 2001-12-19  Juergen Vigna  <jug@sad.it>
8847
8848         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8849         the paragraphs if the replaced paragraph is not the first one!
8850         Tried to delete not used paragraphs but does not work yet so for
8851         now it's inside #ifdef's and by default off!
8852
8853 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8854
8855         * MenuBackend.C: include "lyx_main.h" instead of declaring
8856         lastfiles (actually was declared as LastFiles* instead of a
8857         scoped_ptr).
8858
8859 2001-12-17  Juergen Vigna  <jug@sad.it>
8860
8861         * tabular.C (AppendColumn): applied John's fix
8862
8863 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8864
8865         * BufferView.h:
8866         * BufferView.C:
8867         * BufferView_pimpl.h:
8868         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8869
8870         * Makefile.am:
8871         * box.h: new start of class for above
8872
8873         * lyxfunc.C: ignore space-only minibuffer dispatches.
8874           Show the command name when it doesn't exist
8875
8876         * minibuffer.C: don't add empty lines to the history
8877
8878         * minibuffer.C: add a space on dropdown completion
8879
8880 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8881
8882         * text.C: fix line above/below drawing in insets
8883
8884 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8885
8886         * lyxlength.C (LyXLength): Initialize private variables.
8887
8888 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8889
8890         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8891         when inserting error insets.
8892
8893 2001-12-13  Juergen Vigna  <jug@sad.it>
8894
8895         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8896         actually sometimes the before-paragraph.
8897         (setUndo): don't clear the redostack if we're not actually undoing!
8898
8899 2001-12-06  Juergen Vigna  <jug@sad.it>
8900
8901         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8902         and fixed redoing of main paragraph, so we can use it now ;)
8903
8904         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8905
8906 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8909         Juergen's request
8910
8911 2001-12-13  André Pönitz <poenitz@gmx.net>
8912
8913         * undostack.[Ch]:
8914         * undo_func.C: minor cleanup
8915
8916 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8917
8918         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8919         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8920         font in urw-fonts package which is marked as -urw-fontspecific and
8921         does not work (incidentally, changing the encoding in the
8922         fonts.dir of this package to -adobe-fontspecific fixes the
8923         problem).
8924
8925         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8926         is a crash when undoing first paragraph (Juergen, please take a
8927         look). THis does not mean the undo fix is wrong, just that it
8928         uncovers problems.
8929
8930         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8931         the (Paragraph*) version when needed instead of duplicating the
8932         code.
8933
8934         * text.C (workWidth): use Inset::parOwner to find out where the
8935         inset has been inserted. This is a huge performance gain for large
8936         documents with lots of insets. If Inset::parOwner is not set, fall
8937         back on the brute force method
8938
8939         * paragraph_pimpl.C (insertInset):
8940         * paragraph.C (Paragraph):
8941         (cutIntoMinibuffer): set parOwner of insets when
8942         inserting/removing them
8943
8944         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8945
8946 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8947
8948         * commandtags.h:
8949         * LyXAction.C:
8950         * lyx_main.C:
8951         * lyxfunc.C:
8952         * mathed/formulabase.C:
8953         * mathed/math_cursor.[Ch]:
8954         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8955
8956
8957 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8958
8959         * lyxlength.[Ch] (operator!=): new function
8960
8961 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8962
8963         * text.C (workWidth): use Inset::parOwner to find out where the
8964         inset has been inserted. This is a huge performance gain for large
8965         documents with lots of insets. If Inset::parOwner is not set, fall
8966         back on the brute force method
8967
8968         * paragraph_pimpl.C (insertInset):
8969         * paragraph.C (Paragraph):
8970         (cutIntoMinibuffer): set parOwner of insets when
8971         inserting/removing them
8972
8973         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8974
8975 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8976
8977         * tabular-old.C (getTokenValue):
8978         * tabular.C (getTokenValue):
8979         (write_attribute): new versions for LyXLength
8980         (everywhere): adjust the use of widths
8981
8982         * tabular.h: change the type of widths from string to LyXLength
8983
8984 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8985
8986         * paragraph.C: fixed missing line number count when exporting
8987         Environments to LaTeX file
8988
8989         * buffer.C: added informational message for checking line numbers.
8990
8991 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8992
8993         * text2.C (deleteEmptyParagraphMechanism): if there is only one
8994         paragraph, do the 'double space' part, but not the 'empty
8995         paragraph' one.
8996
8997         * text.C (workWidth): small optimization
8998         (getLengthMarkerHeight): use minimal size for negative lengths.
8999
9000 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9001
9002         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9003
9004         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9005
9006 2001-12-11  André Pönitz <poenitz@gmx.net>
9007
9008         * FontLoader.C:
9009         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9010
9011 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9012
9013         * text2.C: keep selection on a setFont()
9014
9015 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9016
9017         * lyx_cb.C: another bv->text misuse, from insert label
9018
9019 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9020
9021         * kbsequence.h:
9022         * kbsequence.C: re-instate nmodifier mask
9023
9024 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9025
9026         * lyx_main.h: make lyxGUI private.
9027
9028 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9029
9030         * lyxfind.C: place the cursor correctly on failed search
9031
9032 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9033
9034         * text.C (getLengthMarkerHeight): for small heights, the arrows
9035         are not always on top/bottom of the text
9036         (drawLengthMarker): smaller arrows; take the left margin in
9037         account; draw also vfills.
9038         (paintFirstRow):
9039         (paintLastRow): remove special code for vfill and standard spaces,
9040         since everything is handled in drawLengthMarker now.
9041
9042 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9043
9044         * buffer.C (insertErtContents): try to handle font and language
9045         interaction a bit better.g
9046
9047         * ColorHandler.C (updateColor): change the hash to cover the whole
9048         LColor enum, ws cleanup
9049         (getGCLinepars): ditto
9050         (getGCLinepars): only lookup in the linecache once.
9051
9052 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9053
9054         * iterators.C (operator++): Make the iterator more robust
9055
9056         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9057         (John's patch)
9058         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9059
9060 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9061
9062         * lyxtext.h:
9063         * text.C: better added space drawing
9064
9065 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9066
9067         * LyXView.C:
9068         * BufferView2.C: fix layout combo update on inset unlock
9069
9070 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9071
9072         * Makefile.am: don't compile unused files
9073
9074 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9075
9076         * lyxfunc.C:
9077         * commandtags.h:
9078         * LyXAction.C: remove old LFUN_LAYOUTNO
9079
9080 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9081
9082         * paragraph_pimpl.h:
9083         * paragraph_pimpl.C: isTextAt() doesn't need font param
9084
9085 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9086
9087         * lyxlex.h:
9088         * lyxlex.C: little cleanup
9089
9090 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9091
9092         * BufferView_pimpl.C: fix insertAscii for insets
9093
9094 2001-12-05  Juergen Vigna  <jug@sad.it>
9095
9096         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9097         set the right font on the "multi" paragraph paste!
9098
9099 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9100
9101         * trans_decl.h:
9102         * trans_mgr.[Ch]:
9103         * trans.[Ch]:
9104         * lyxgluelength.C:
9105         * lyxlength.C: remove out-commented code.
9106
9107         * BufferView_pimpl:
9108         * CutAndPaste.C:
9109         * DepTable.C:
9110         * buffer.C:
9111         * chset.C:
9112         * lastfiles.C:
9113         * lyxlex.C:
9114         * lyxlex_pimpl.C:
9115         * lyxserver.C:
9116         * screen.C:
9117         * tabular-old.C:
9118         * tabular.C:
9119         * text.C:
9120         * trans_mgr.C:
9121         * vc-backend.C: change "while(" to "while ("
9122
9123         * lyxlength.[Ch]: add zero function to check if length is zero or
9124         not
9125         * lyxgluelength.C: use it
9126
9127 2001-12-05  Allan Rae  <rae@lyx.org>
9128
9129         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9130         Works for 2.95.3, from what I understand of Garst's reports this should
9131         work for other g++ versions.  We're screwed if the abs(int) definition
9132         changed between bugfix releases of gcc.
9133
9134 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9135
9136         * text.C: fix chapter label offset !
9137
9138 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9139
9140         * lyxtext.h:
9141         * text.C: fix hfill at end of line, clean up
9142
9143 2001-12-04  Juergen Vigna  <jug@sad.it>
9144
9145         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9146         that we force an update of the inset and it's owners if neccessary.
9147
9148 2001-12-03  Juergen Vigna  <jug@sad.it>
9149
9150         * text.C (rowLast): simplified code
9151
9152 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9153
9154         * lyxfunc.C: fix show options on timeout
9155
9156 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9157
9158         * screen.C (topCursorVisible): scroll half a page when the cursor
9159         reached top of bottom of screen
9160
9161 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9162
9163         * minibuffer.C: deactivate on loss of focus
9164
9165 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9166
9167         * vspace.[Ch] (operator!=): add operator.
9168
9169 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9170
9171         * BufferView_pimpl.C: refuse to open an inset when
9172         there's a selection.
9173
9174 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9175
9176         * BufferView_pimpl.C: allow to click on RHS of full row insets
9177
9178 2001-11-30  Juergen Vigna  <jug@sad.it>
9179
9180         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9181         insets for undo reasons.
9182
9183 2001-11-28  André Pönitz <poenitz@gmx.net>
9184
9185         * vspace.[Ch]: cosmetical changes
9186
9187 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9188
9189         * LyXAction.h:
9190         * LyXAction.C:
9191         * lyxfunc.h:
9192         * lyxfunc.C:
9193         * kbmap.h:
9194         * kbmap.C:
9195         * lyxrc.C:
9196         * kbsequence.h:
9197         * kbsequence.C: part re-write of old kb code
9198
9199         * Painter.C:
9200         * WorkArea.C: remove Lgb_bug_find_hack
9201
9202 2001-11-30  José Matos <jamatos@fep.up.pt>
9203
9204         * buffer.C (makeDocBookFile): add a comment to point a hack.
9205         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9206         Fixed a double write of labels.
9207
9208 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9209
9210         * LaTeX.C:
9211         * LaTeX.h Fixed bug in LaTeX class where it would not
9212         re-run latex if no depfiles were changed, but the .dvi was removed.
9213
9214 2001-11-28  André Pönitz <poenitz@gmx.net>
9215
9216         * all the files from the change on 2001/11/26:
9217         use lyx::layout_type instead of LyXTextClass::size_type
9218         use lyx::textclass_type instead of LyXTextClassList::size_type
9219
9220 2001-11-29  Juergen Vigna  <jug@sad.it>
9221
9222         * text.C: added support for paragraph::isFreeSpacing()
9223
9224         * buffer.C: same as above
9225
9226         * paragraph.h: inserted isFreeSpacing() function to enable
9227         FreeSpacing inside InsetERT.
9228
9229         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9230         of the paragraph's in the cut/copy buffer to 0!
9231
9232         * text2.C (removeRow): remove the assert as it can!
9233
9234         * lyxtext.h: added helper function firstRow returning firstrow and
9235         made firstrow private again.
9236
9237         * BufferView2.C (lockInset): don't relock if we're already locked!
9238
9239         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9240         the only paragraph.
9241         (removeRow): added Assert::(firstrow)
9242
9243         * debug.C: forgot to add INSETTEXT here.
9244
9245 2001-11-28  Juergen Vigna  <jug@sad.it>
9246
9247         * sp_spell.C (initialize): changed error text to more general
9248         spellchecker command use (not only ispell!)
9249
9250         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9251
9252         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9253
9254 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * vspace.C: initialise lyxgluelength on failure
9257
9258 2001-11-28  Allan Rae  <rae@lyx.org>
9259
9260         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9261         declaration & definition that looks like a function declaration.
9262
9263 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9264
9265         * BufferView2.C (copy):
9266         (copyEnvironment): do not clear the selection when doing a copy.
9267
9268         * text.C (paintFirstRow): compilation fix
9269
9270 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9271
9272         * tabular.C (Latex): correct line count when writing latex.
9273
9274 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9275
9276         * paragraph_pimpl.h:
9277         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9278           bug a bit
9279
9280 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9281
9282         * text.C:
9283         * LColor.h:
9284         * LColor.C: change vfillline->added_space
9285
9286         * text.C: add markers and text for added space
9287
9288         * vspace.C: fix comment
9289
9290 2001-11-28  André Pönitz <poenitz@gmx.net>
9291
9292         * paragraph.C: whitespace changes
9293         * all the other files from the change on 2001/11/26:
9294         change *::pos_type into lyx::pos_type
9295
9296 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9297
9298         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9299         language of the document when inserting error insets.
9300
9301 2001-11-26  André Pönitz <poenitz@gmx.net>
9302
9303         * BufferView_pimpl.[Ch]:
9304         *       CutAndPaste.C:
9305         * buffer.[Ch]:
9306         * lyxcursor.[Ch]:
9307         * lyxfind.C:
9308         * lyxfunc.C:
9309         * lyxrow.[Ch]:
9310         * paragraph.[Ch]:
9311         * paragraph_pimpl.[Ch]:
9312         * sp_spell.C:
9313         * text.C:
9314         * text2.C: reduce header dependencies, introduce type for positions
9315
9316 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9317
9318         * <various>: change to use Alert.h
9319
9320 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9321
9322         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9323         when encountering an unknown token.
9324         (readLyXformat2): Show an error message if there were unknown tokens.
9325
9326 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9327
9328         * BufferView2.C:
9329         * BufferView_pimpl.C:
9330         * buffer.C:
9331         * paragraph.h:
9332         * text.C:
9333         * text2.C: use par->isInset()
9334
9335 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9336
9337         * paragraph_pimpl.h:
9338         * paragraph_pimpl.C: cleanup
9339
9340 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9341
9342         * text2.C (removeRow):
9343         * text.C (setHeightOfRow): remove useless (and costly) call to
9344         getRow.
9345
9346 2001-11-20  Allan Rae  <rae@lyx.org>
9347
9348         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9349         Now need Inset*::checkInsertChar() to return true for appropriate
9350         cases so that the characters in the minibuffer will actually be
9351         inserted.
9352
9353 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9354
9355         * text.C: change the order of the includes.
9356         (workWidth): initialize it at once.
9357         (workWidth): make maxw unsigned
9358         (setHeightOfRow): remove unused variable (inset)
9359         (selectSelectedWord): remove unused variable (inset)
9360         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9361
9362 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9363
9364         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9365         server is not running.
9366         (openConnection):
9367         (closeConnection): add debug info when server is disabled.
9368
9369         * ColorHandler.C (getGCForeground): send debug message to GUI
9370         channel.
9371
9372         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9373
9374         * kbmap.C (bind): modify because return conventions of
9375         kb_sequence::parse have changed.
9376
9377         * kbsequence.C (parse): only ignore spaces and not any stupid
9378         control character. This avoids tests like s[i] <= ' ', which are
9379         guaranteed to fail with 8bit characters and signed chars.
9380         Change return code to string::npos when there have been no error
9381         (0 was a bad idea when error is at first character)
9382
9383 2001-11-14  José Matos  <jamatos@fep.up.pt>
9384
9385         * buffer.h:
9386         * buffer.C (simpleDocBookOnePar): removed unused argument.
9387
9388 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9389
9390         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9391         insets which are part of a word. Paragraph::isLetter takes care of
9392         that now. Use Paragraph::isInset to identify insets.
9393         (selectSelectedWord): do not test for hyphenation break.
9394
9395         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9396         that protected spaces are considered as spaces.
9397
9398         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9399         Inset::isLetter.
9400
9401 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9402
9403         * lyxserver.h:
9404         * lyxserver.C: fix it. and small cleanup.
9405
9406 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9407
9408         * BufferView_pimpl.C: use inline helpers
9409
9410         * LaTeXFeatures.h:
9411         * LaTeXFeatures.C: fix typos
9412
9413         * Spacing.h:
9414         * Spacing.C: move spacing_string into class
9415
9416         * ToolbarDefaults.C: move stuff into namespace anon
9417
9418         * layout.h: update enum
9419
9420         * lyxfunc.C: use better debug
9421
9422         * minibuffer.h: fix typo
9423
9424         * debug.h:
9425         * debug.C:
9426         * WorkArea.C: add and use Debug::WORKAREA
9427
9428         * lyxtext.h:
9429         * text.C:
9430         * text2.C: code re-organisation, inline helpers
9431
9432 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9433
9434         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9435         std::vector.empty().
9436
9437 2001-11-09  Allan Rae  <rae@lyx.org>
9438
9439         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9440         '\n's after tables.  Tabular and ERT inset work now makes this no
9441         longer necessary.
9442
9443 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9444
9445         * minibuffer.h:
9446         * minibuffer.C: fix crash, improve drop-down completion
9447
9448 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9449
9450         * lyxserver.h:
9451         * lyxserver.C: invalidate fd's when doing endPipe()
9452
9453 2001-11-08  José Matos  <jamatos@fep.up.pt>
9454
9455         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9456         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9457
9458         * paragraph.h:
9459         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9460
9461 2001-11-07  José Matos  <jamatos@fep.up.pt>
9462
9463         * buffer.h:
9464         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9465         const qualifier.
9466
9467         * buffer.C (sgmlOpenTag):
9468         * buffer.C (sgmlCloseTag): removed debug info.
9469
9470         * buffer.h (sgmlOpenTag):
9471         * buffer.h (sgmlCloseTag): made public.
9472
9473 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9474
9475         * buffer.C (saveParamsAsDefaults):
9476         * lyx_cb.C (MenuLayoutSave): remove
9477
9478         * LyXAction.C (init):
9479         * commandtags.h:
9480         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9481
9482 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9483
9484         * buffer.C (setPaperStuff): removed from here...
9485
9486         * bufferparams.C (setPaperStuff): ... and moved there.
9487
9488 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9489
9490         * minibuffer.h:
9491         * minibuffer.C:
9492         * XFormsView.C: add support for drop-down completion
9493
9494 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9495
9496         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9497         commands.
9498
9499 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9500
9501         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9502         disabled.
9503
9504 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9505
9506         * lyx_main.C: change ref to known bugs
9507
9508 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9509
9510         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9511         to work around older babel problems.
9512
9513 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9514
9515         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9516
9517 2001-10-24  Juergen Vigna  <jug@sad.it>
9518
9519         * tabular-old.C (ReadOld): below variable changes reflected.
9520
9521         * tabular.[Ch]: added ltType struct for longtable header/footer
9522         defines and changed all instances where they are used. Added
9523         future support for double top/bottom rows.
9524
9525 2001-10-24  José Matos  <jamatos@fep.up.pt>
9526
9527         * buffer.h (docbookHandleCaption):
9528         * buffer.C (docbookHandleCaption): removed unused function.
9529         (makeDocBookFile): moved docbook supported version to v4.1.
9530
9531 2001-10-24  José Matos  <jamatos@fep.up.pt>
9532
9533         * tabular.h:
9534         * tabular.C (docbookRow): new function to export docbook code of a row.
9535         (DocBook): now honors the longtable flags.
9536
9537 2001-10-23  José Matos  <jamatos@fep.up.pt>
9538
9539         * LaTeXFeatures.h:
9540         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9541         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9542
9543         * buffer.C (makeLinuxDocFile):
9544         (makeDocBookFile): reworked the preamble, more clean, and with
9545         support for lyx defined entities. Changed the document declaration
9546         to be more XML friendly.
9547
9548         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9549         if we need to output XML that should be done with a filter.
9550
9551 2001-10-22  Juergen Vigna  <jug@sad.it>
9552
9553         * sp_pspell.h (class PSpell): add alive function needed in the
9554         controller to see if the spellchecker could be started.
9555
9556 2001-10-22  Juergen Vigna  <jug@sad.it>
9557
9558         * buffer.C (insertStringAsLines): modify the font for inserting
9559         chars in certain conditions by calling checkInsertChar(font).
9560
9561 2001-10-19  Juergen Vigna  <jug@sad.it>
9562
9563         * text.C (workWidth): use getRow instead of wrong algorithm.
9564         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9565
9566 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9567
9568         * lyxserver.h:
9569         * lyxserver.C:
9570         * lyx_main.h:
9571         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9572
9573 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9574
9575         * text.C (workWidth): do not search for the exact row when
9576         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9577         optimization for big documents.
9578
9579 2001-10-18  Juergen Vigna  <jug@sad.it>
9580
9581         * text.C (workWidth): new function with added Inset * parameter.
9582
9583 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9584
9585         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9586
9587         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9588         change return type of getColumnNearX.
9589
9590
9591         * text.C (changeRegionCase): use uppercase/lowercase instead of
9592         toupper/tolower.
9593         (leftMargin):
9594         (rightMargin): simplify code by factoring out the uses of
9595         textclasslist.
9596         (labelFill):
9597         (numberOfHfills):
9598         (setHeightOfRow):
9599         (appendParagraph): use Paragraph::size_type
9600
9601 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9602
9603         * vspace.C (asLatexString): add a missing break
9604
9605 2001-10-15  Herbert Voss  <voss@perce.de>
9606
9607         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9608
9609 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9610
9611         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9612         is not available.
9613
9614 2001-10-10  André Pönitz <poenitz@gmx.net>
9615
9616         * lyxfunc.C: removed greek_kb_flag.
9617
9618 2001-10-10  Herbert Voss  <voss@perce.de>
9619
9620         * lyx_main.C: delete global string help_lyxdir.
9621
9622 2001-10-09  Herbert Voss  <voss@perce.de>
9623
9624         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9625
9626         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9627
9628         * lyx_main.C: added global string help_lyxdir.
9629
9630         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9631
9632 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9633
9634         * lyxrc.C (set_font_norm_type): support iso8859-4
9635
9636 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9637
9638         * LaTeX.C (deplog): add another regex for MikTeX
9639
9640 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9641
9642         * lyxrc.C (set_font_norm_type): support iso8859-3
9643
9644 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9645
9646         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9647
9648         * LaTeXFeatures.C: remove special case of french and index
9649
9650         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9651         before \begin{document}). This solves several incompatibilities.
9652
9653 2001-10-03  Garst Reese  <reese@isn.net>
9654
9655         * lyx_cb.C: change CheckTex error msg.
9656
9657 2001-10-03  José Matos  <jamatos@fep.up.pt>
9658
9659         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9660
9661 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9662
9663         * .cvsignore: update
9664
9665         * lyx_main.C (commandLineVersionInfo): use new style version info.
9666
9667         * buffer.C (writeFile):
9668         (makeLaTeXFile):
9669         (makeLinuxDocFile):
9670         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9671
9672         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9673
9674         * version.h: update to use stuff in version.C
9675
9676         * version.C.in: new file. Contains version information determined
9677         at compile time. This is a merging of version.h and
9678         version_info.h.in.
9679
9680 2001-10-03  Juergen Vigna  <jug@sad.it>
9681
9682         * BufferView_pimpl.C (update): don't change "dirty" status in
9683         updateInset call.
9684
9685 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9686
9687         * WorkArea.C (c-tor): re-position version string slightly.
9688
9689 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9690
9691         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9692         revert to previous code.
9693
9694         WorkArea.[Ch]: (show, destroySplash): methods removed.
9695
9696         WorkArea.C: rework code so that it's an amalgam of the codes before and
9697         after the splash screen was moved to WorkArea.
9698
9699 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9700
9701         * lyxrc.C (read):
9702         * vspace.C (inPixels):
9703         (lyx_advance):
9704         * kbmap.C (bind):
9705         * buffer.C (insertStringAsLines):
9706         (asciiParagraph): fix types to be large enough
9707
9708         * lyxlex_pimpl.h: change member status from short to int
9709
9710         * layout.h: fix type of endlabeltype
9711
9712         * kbmap.C (bind):
9713         * kbsequence.C (parse): change return type to string::size_type
9714
9715         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9716         variable
9717
9718         * Bullet.C (bulletSize):
9719         (bulletEntry): do not use short ints as parameters
9720
9721         * BufferView2.C (insertLyXFile): change a char to an int.
9722
9723         * WorkArea.C (WorkArea): remove unneeded floats in computation
9724
9725 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9726
9727         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9728
9729         * paragraph.C (asString): Do not ignore newline/hfill chars when
9730         copying to the clipboard.
9731
9732 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9733
9734         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9735         after a multi-line inset.
9736
9737 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9738
9739         * paragraph.C (validate): Set NeedLyXFootnoteCode
9740
9741 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9742
9743         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9744         and decrease-error to decrease.
9745
9746 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9747
9748         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9749         it more readable (should be equivalent)
9750
9751 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9752
9753         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9754
9755 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9756
9757         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9758         of a cursor (row, etc.) after a character has been deleted
9759         (deleteEmptyParagraphMechanism): call the method above on _all_
9760         cursors held by the LyXText when a double space has been
9761         detected/deleted.
9762
9763 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9764
9765         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9766         pixmap.
9767         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9768
9769         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9770         background. Use greyOut() and the new show() methods to toggle between
9771         the foreground and background. Add code to remove the splash after
9772         its initial showing.
9773
9774         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9775         (create_forms): no longer call Dialogs::showSplash.
9776
9777 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9778
9779         * .cvsignore: add version_info.h
9780
9781 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9782
9783         * version_info.h.in: new file
9784
9785         * Makefile.am: add version_info.h.in
9786
9787         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9788         version_info.h instead of VERSION_INFO
9789
9790 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9791
9792         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9793         The ERT inset now returns string().
9794
9795 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9796
9797         * lyxtext.h, text.C (selectNextWord): renamed as
9798         selectNextWordToSpellcheck.
9799
9800         * text.C (selectNextWordToSpellcheck): Modified to not select
9801         words inside an ERT inset.
9802
9803 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9804
9805         * lyx_cb.C (MenuLayoutSave): change a bit the question
9806
9807         * sp_base.h: include <sys/types.h>
9808
9809 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9810
9811         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9812
9813 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9814
9815         * several files: fix typos in user-visible strings
9816
9817 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9818
9819         * text2.C (pasteSelection): do not set the selection, since it
9820         will be cleared later. Actually, the intent was to fix the way the
9821         selection was set, but I figured rmoving the code was just as good.
9822
9823 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9824
9825         * FontLoader.C (available): Check if font is available without
9826         loading the font.
9827
9828 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9829
9830         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9831
9832 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9833
9834         * lyxrc.[Ch]: added display_graphics variable and associated code.
9835
9836 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9837
9838         * bufferparams.C (hasClassDefaults): new method. Returns true if
9839         the buffer parameters correspond to known class defaults
9840
9841 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9842
9843         * XFormsView.C (show): set minimum size to the main window.
9844
9845 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9846
9847         * text2.C (copySelection):
9848         (cutSelection):
9849         * lyxfind.C (LyXReplace):
9850         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9851         LyXText::selectionAsString.
9852
9853         * paragraph.C (asString): add "label" argument to the second form
9854
9855         * text2.C (selectionAsString): add "label" argument and pass it to
9856         Paragraph::asString.
9857
9858 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9859
9860         * lyx_main.C (commandLineHelp): remove version information
9861
9862 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9863
9864         * lyx_main.C: add -version commandline option
9865
9866 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9867
9868         * paragraph.h: make the optional constructor arg required instead.
9869         some modifications to other files because of this.
9870
9871         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9872
9873         * lyxserver.C (C_LyXComm_callback): make it static
9874
9875         * lyx_main.C (error_handler): make it static
9876
9877         * lyx_gui.C (LyX_XErrHandler): make it static
9878
9879         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9880
9881         * WorkArea.C: make the extern "C" methods static.
9882
9883         * Makefile.am (lyx_LDADD): simplify
9884
9885 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9886
9887         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9888         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9889
9890         * LyXAction.C (init):
9891         * lyxfunc.C (dispatch): associated code removal.
9892
9893 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9894
9895         * lyxfont.h (isSymbolFont): shut off warning
9896
9897         * text.C (setHeightOfRow):
9898         (getVisibleRow): fix crash with empty paragraphs which have a
9899         bottom line
9900
9901 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9902
9903         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9904         code.
9905
9906 2001-09-04  José Matos  <jamatos@fep.up.pt>
9907         * buffer.C
9908         * buffer.h
9909         * tabular.C (docbook): rename docBook method to docbook.
9910
9911 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9912
9913         * Makefile.am: add dependencies to main.o.
9914
9915 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9916
9917         * FontLoader.C (available): Return false if !lyxrc.use_gui
9918
9919 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9920
9921         * FontInfo.C (query):
9922         * converter.C (view):
9923         * importer.C (Import):
9924         * exporter.C (Export): Can not -> cannot.
9925
9926 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9927
9928         * BufferView_pimpl.C: allow to create index inset even if
9929           string is empty
9930
9931 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9932
9933         * buffer.C (getLists): replace boost::tie code with an explicit pair
9934         as boost::tie can break some compilers.
9935
9936         * iterators.h: Added a std:: declaration to the return type of
9937         ParIterator::size.
9938
9939 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9940
9941         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9942           case.
9943
9944 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9945
9946         * iterators.[Ch]: New files. Provide paragraph iterators.
9947
9948         * buffer.C (changeLanguage): Use paragraph iterators.
9949         (isMultiLingual): ditto
9950
9951         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9952
9953 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9954
9955         * FontLoader.C: Support for cmr font.
9956
9957 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9958
9959         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9960         (available): New method.
9961
9962         * FontInfo.C (getFontname): Use scalable fonts even when
9963         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9964         found.
9965
9966 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9967
9968         * converter.C (Formats::view): reverted! Incorrect fix.
9969
9970 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9971
9972         * converter.C (Formats::view): only output the -paper option
9973         if the dvi viewer is xdvi, thereby fixing bug #233429.
9974
9975 2001-08-23  Herbert Voss  <voss@perce>
9976
9977         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9978
9979 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9980
9981         * Spacing.h (Spacing): Set space to Default on in the default
9982         constructor.
9983
9984 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9985
9986         * vc-backend.h (RCS::versionString): add RCS to version
9987         (CVS::versionString): add CVS to version
9988
9989         * vc-backend.C (scanMaster): do not add CVS to version.
9990         (scanMaster): do not add RCS to version
9991
9992         * lyxvc.C (versionString): new method
9993
9994         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9995
9996 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9997
9998         * Spacing.C (set): initialize fval
9999
10000 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10001
10002         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10003         " or \.
10004
10005 2001-08-16  Juergen Vigna  <jug@sad.it>
10006
10007         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10008
10009 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10010
10011         * BufferView_pimpl.C:
10012         * figureForm.C:
10013         * lyxtext.h:
10014         * text2.C: setParagraph takes linespacing now
10015
10016 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * LyxAction.C: add internal LFUN_CITATION_INSERT
10019
10020         * LyXView.C: actually apply fix
10021
10022         * bufferlist.C: fix open non-existent file
10023
10024         * lyxfind.C: fix indentation
10025
10026         * lyxfunc.C: remove unneeded assert, fix typo
10027
10028 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10029
10030         * MenuBackend.C: use "Floatname List"
10031
10032 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10033
10034         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10035         when converting LaTeX layout to insetERT.
10036         Generate a non-collapsed float when reading old float
10037
10038 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10039
10040         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10041         ERT insets.
10042
10043 2001-08-13  Juergen Vigna  <jug@sad.it>
10044
10045         * text.C (fill): return 0 instead of 20 as this seems to be the more
10046         correct value.
10047
10048 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10049
10050         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10051         lyxrc.font_norm.
10052
10053 2001-08-13  Juergen Vigna  <jug@sad.it>
10054
10055         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10056         casesensitive off.
10057         (SearchBackward): comment out the unlocking of the inset_owner this
10058         should not be needed!
10059
10060 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10061
10062         * Many files: Remove inherit_language, and add latex_language
10063
10064         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10065         collapsible insets.
10066
10067 2001-08-10  Juergen Vigna  <jug@sad.it>
10068
10069         * text.C (prepareToPrint): fixed hfill-width in draw!
10070
10071         * BufferView2.C (selectLastWord): save the selection cursor as this
10072         now is cleared in the function LyXText::clearSelection!
10073
10074 2001-08-08  Juergen Vigna  <jug@sad.it>
10075
10076         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10077         BACKSPACE type functions.
10078
10079         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10080         is only cutted from the document but not put in the cut-buffer, where
10081         still the old stuff should be.
10082
10083         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10084
10085         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10086
10087         * tabular.C (SetWidthOfCell): fixed special case where the width
10088         was not updated!
10089         (LeftLine): handle '|' in align_special.
10090         (RightLine): ditto
10091         (LeftAlreadyDrawed): ditto
10092         (SetWidthOfCell): ditto
10093
10094 2001-08-07  Juergen Vigna  <jug@sad.it>
10095
10096         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10097
10098 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10099
10100         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10101         * lyxlex.[hC]: ditto
10102
10103 2001-08-06  Juergen Vigna  <jug@sad.it>
10104
10105         * text.C (getVisibleRow): fix up row clearing a bit.
10106
10107 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10108
10109         * minibuffer.C: make sure the X server sees the changes in the input.
10110
10111 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10112
10113         * paragraph.C (getFont): split into...
10114         (getLabelFont): this
10115         (getLayoutFont): and this
10116         * paragraph_pimpl.C (realizeFont): calling this
10117
10118         * text2.C (getFont): split into...
10119         (getLayoutFont): this
10120         (getLabelFont): and this
10121         (realizeFont): all three calling this
10122
10123         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10124         files where used.
10125
10126 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10127
10128         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10129
10130 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10131
10132         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10133         layouts from the Quote inset insertion.
10134
10135 2001-08-03  Juergen Vigna  <jug@sad.it>
10136
10137         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10138
10139         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10140         only if status not is already CHANGED_IN_DRAW (second level).
10141
10142         * text.C (draw): don't set the need_break_row when inside an
10143         InsetText LyXText.
10144
10145 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10146
10147         * buffer.C (parseSingleLyXformat2Token): handle more latex
10148         conversion cases.
10149
10150         * bufferview_funcs.[hC]: change function names to
10151         begin with small char, adjust other files.
10152
10153 2001-08-02  André Pönitz <poenitz@gmx.net>
10154
10155         * lyxfunc.C:
10156         BufferView_pimpl.C: remove broken special code for math-greek
10157
10158 2001-08-02  Juergen Vigna  <jug@sad.it>
10159
10160         * BufferView_pimpl.C (update): redone this function so that we
10161         update the text again if there was a CHANGE_IN_DRAW.
10162
10163         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10164         (drawFromTo): added a new internal bool which is used by draw() and
10165         redraw() function.
10166         (general): some cursor drawing problems fixed.
10167
10168 2001-08-01  Juergen Vigna  <jug@sad.it>
10169
10170         * lyxfind.C (LyXFind): fixed
10171         (SearchForward): ditto
10172         (SearchBackward): ditto
10173
10174         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10175         spurius drawing of the cursor in the main area.
10176
10177         * text2.C (status): small fix which could lead to a segfault!
10178         (clearSelection): remove unneeded BufferView param.
10179
10180 2001-08-01  André Pönitz <poenitz@gmx.net>
10181
10182         * lyxfunc.C: small change due to changed mathed interface
10183
10184 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10185
10186         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10187
10188 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10189
10190         * lyxfunc.c: fail gracefully if file doesn't exist
10191
10192         * LyXSendto.C:
10193         * buffer.C:
10194         * lyxfunc.C:
10195         * BufferView_pimpl.C: IsDirWriteable() proto changed
10196
10197         * LyXView.C: fix updateWindowTitle() to store the last title
10198
10199 2001-07-31  Juergen Vigna  <jug@sad.it>
10200
10201         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10202         the font (wrong since using of Paragraph::highestFontInRange).
10203
10204         * paragraph.C (highestFontInRange): added a default_size parameter.
10205
10206         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10207         (setHeightOfRow): reformat
10208
10209 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10210
10211         * converter.[hC] + affected files: move to (inital-char)lowercase
10212         function names.
10213
10214         * ParagraphParameters.C (ParagraphParameters): remove commented code
10215
10216         * PainterBase.[Ch]: remove commented code
10217
10218         * LaTeXFeatures.h: add "bool floats" for float.sty
10219
10220         * LaTeXFeatures.C (LaTeXFeatures): init floats
10221         (require): handle float
10222         (getPackages): do it with floats
10223
10224 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10225
10226         * BufferView_pimpl.C (Dispatch): improve handling of
10227         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10228
10229         * commandtags.h: #include lyxfont.h here temporarily to avoid
10230         keybinding bug.
10231
10232         * bufferlist.h: include LString.h here.
10233
10234 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10235
10236         * text2.C (getStringToIndex): new method.
10237
10238 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10239
10240         * *: Reduced header file dependencies all over.
10241
10242 2001-07-30  Baruch Even  <baruch@lyx.org>
10243
10244         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10245
10246 2001-07-29  Baruch Even  <baruch@lyx.org>
10247
10248         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10249
10250 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10251
10252         * ParameterStruct.h (endif): add a default constructor to make
10253         sure that all variables is initialized.
10254
10255         * ParagraphParameters.C (ParagraphParameters): adjust
10256
10257 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10258
10259         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10260         index; also, check that there is something to index, and that it
10261         does not span over several paragraphs.
10262         (doubleClick): use WHOLE_WORD_STRICT for double click.
10263
10264         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10265
10266         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10267         scheme.
10268
10269 2001-07-26  Baruch Even  <baruch@lyx.org>
10270
10271         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10272         an InsetFig figure, backwards compatible reading of old figure code.
10273
10274 2001-07-27  Juergen Vigna  <jug@sad.it>
10275
10276         * text2.C: font.realize function adaption.
10277
10278         * text.C (draw): add a warnings lyxerr text if needed.
10279
10280         * layout.C: font.realize function adaption.
10281
10282         * language.C: add inherit_language and implement it's handlings
10283
10284         * bufferview_funcs.C (StyleReset): remove language parameter from
10285         font creation (should be language_inherit now).
10286
10287         * bufferparams.C (writeFile): handle ignore_language.
10288
10289         * paragraph.C (getFontSettings): the language has to be resolved
10290         otherwise we have problems in LyXFont!
10291
10292         * lyxfont.C (lyxWriteChanges): added document_language parameter
10293         (update): removed unneeded language parameter
10294
10295         * paragraph.C (validate): fixed wrong output of color-package when
10296         using interface colors for certain fonts in certain environments,
10297         which should not seen as that on the final output.
10298
10299 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10300
10301         * BufferView_pimpl.C:
10302         * Thesaurus.h:
10303         * Thesaurus.C:
10304         * Makefile.am:
10305         * commandtags.h:
10306         * LyXAction.C: add thesaurus support
10307
10308         * lyxfind.h:
10309         * lyxfind.C: add "once" parameter, for thesaurus, to not
10310           move to the next match
10311
10312 2001-07-26  Juergen Vigna  <jug@sad.it>
10313
10314         * lyxfont.C (realize): honor ignore_language too!
10315         (resolved): ditto.
10316
10317         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10318
10319         * text.C (draw): one place more for ignore_language to not draw
10320         itself!
10321
10322 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10323
10324         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10325
10326 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10327
10328         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10329         the minipage conversion problem.
10330
10331 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10332
10333         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10334         insert an inset.
10335
10336 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10337
10338         * BufferView.h: don't forward declare WorkArea
10339
10340         * BufferView.C: don't include WorkArea.h
10341
10342 2001-07-25  André Pönitz <poenitz@gmx.net>
10343
10344         * commandtags.h:
10345         * LyXAction.C:
10346         * lyxfunc.C:  new LFUN 'math-space'
10347
10348         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10349
10350 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10351
10352         * text2.C (toggleInset): call open/close
10353
10354 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10355
10356         * lyxfunc.C (dispatch): add debug for the disabled case
10357
10358         * font.C (buttonText): make similar to rectText
10359
10360         * buffer.C (readInset): comment out parsing of insetlist and
10361         insttheorem
10362
10363         * PainterBase.C (rectText): small correction
10364
10365         * BufferView_pimpl.C: comment out insettheorem and insetlist
10366         * LyXAction.C: ditto
10367         * commandtags.h: ditto
10368
10369 2001-07-24  Juergen Vigna  <jug@sad.it>
10370
10371         * text.C (draw): honor the ignore_language.
10372
10373         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10374
10375 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10376
10377         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10378         char inset.
10379
10380 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10381
10382         * lyxtext.h: remove unused (and unimplemented) methods
10383
10384 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10385
10386         * text.C (getVisibleRow): honor background color
10387
10388         * PainterBase.h:
10389         * Painter.h: remove default color argument for fillRectangle
10390
10391         * text.C (backgroundColor): new method
10392
10393 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10394
10395         * text.C (getVisibleRow): adjust
10396
10397         * font.[Ch] (rectText): new method, metrics
10398         (buttonText): new method, metrics
10399
10400         * PainterBase.[hC]: make rectText and buttonText always draw and take
10401         fewer paramteres.
10402
10403 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10404
10405         * ToolbarDefaults.C (read):
10406         * MenuBackend.C (read): allow escaping in all strings
10407
10408         * BufferView_pimpl.C (insertAndEditInset): new method.
10409         (Dispatch): use insertAndEditInset whenever appropriate.
10410
10411         * BufferView_pimpl.C (insertNote): removed
10412
10413         * BufferView_pimpl.C (smartQuote): new method, moved from
10414         BufferView; if an insetquote cannot be inserted, insert a '"'
10415         character instead.
10416
10417         * BufferView2.C: remove insertCorrectQuote();
10418
10419         * lyxfunc.C (getStatus): Add support for all remaingin
10420         inset-insert lfuns.
10421
10422         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10423
10424         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10425         command (necessary to pass " as parameter of self-insert.
10426
10427         * text.C (selectWordWhenUnderCursor):
10428         (selectWord): add word_location parameter
10429         (selectWordWhenUnderCursor): same + remove special code for word
10430         boundary.
10431         (selectNextWord): use kind() to guess type of insetspecialchar,
10432         not latex().
10433
10434         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10435         (insertErtContents): create ert insets as collapsed.
10436         (readInset): better compatibility code for Info inset.
10437
10438 2001-07-20  Juergen Vigna  <jug@sad.it>
10439
10440         * lyxfunc.C (dispatch): use always LyXFind now!
10441
10442         * text2.C (init): add a reinit flag so that the LyXText can be
10443         reinited instead of deleted and reallocated (used in InsetText).
10444
10445         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10446
10447         * text.C: ditto
10448
10449         * text2.C: ditto
10450
10451 2001-07-18  Juergen Vigna  <jug@sad.it>
10452
10453         * text.C (selectNextWord): handle insets inside inset by calling
10454         always the bv->text functions so that we can go up the_locking_inset!
10455
10456         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10457         in strange locations when inside an inset!
10458
10459         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10460         handling to include insets.
10461
10462         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10463
10464 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10465
10466         * LyXAction.C (init):
10467         * commandtags.h:
10468         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10469         LIGATURE_BREAK, since the name is so stupid.
10470
10471 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10472
10473         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10474         InsetInfos.
10475
10476         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10477
10478         * sp_form.[Ch]: remove.
10479
10480         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10481
10482         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10483         InsetInfo.
10484
10485         * src/buffer.C (readInset): ditto.
10486
10487 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10488
10489         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10490         menuSeparator(), endOfSentenceDot(), ldots() and
10491         hyphenationPoint(), which are therefore removed.
10492         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10493
10494         * LyXAction.C (init):
10495         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10496
10497         * paragraph.C (getWord): removed.
10498
10499         * BufferView_pimpl.C (Dispatch): use last word or selection for
10500         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10501
10502         * lyx_main.C (queryUserLyXDir): do not ask before creating
10503         user_dir, except if it has been named explicitely.
10504
10505 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10506
10507         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10508         a document of zero size.
10509
10510 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10511
10512         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10513         approriately in the c-tor and in require().
10514         (getPackages): output the appropriate LaTeX for natbib support.
10515
10516         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10517         variables "use_natbib" and "use_numerical_citations" when reading the
10518         LyX file.
10519         (readInset): read the various natbib cite commands.
10520         (validate): white-space change.
10521
10522         * bufferparams.[Ch]: new variables "bool use_natbib" and
10523         "bool use_numerical_citations".
10524         (writeFile): output them in the LyX file.
10525
10526 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10527
10528         * lyxfunc.C (getStatus): add support for all the inset insertion
10529         commands.
10530
10531         * text2.C (insertInset):
10532         * paragraph.C (insetAllowed):
10533         * BufferView_pimpl.C (insertInset): update to take in account the
10534         renaming of insertInsetAllowed
10535
10536         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10537
10538         * text2.C (getInset): new method. returns inset at cursor position.
10539
10540         * BufferView_pimpl.C (Dispatch): changes because of this.
10541
10542         * LyXAction.C (init): rename open-stuff to inset-toggle.
10543
10544         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10545
10546         * text2.C (toggleInset): renamed from openStuff; use
10547         Inset::open().
10548
10549 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10550
10551         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10552
10553         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10554
10555 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10556
10557         * buffer.C (readLyXformat2): Add filename to the error dialog
10558
10559 2001-07-18  Juergen Vigna  <jug@sad.it>
10560
10561         * tabular.C (GetCellNumber): put an assert here instead of the check!
10562
10563 2001-07-17  Juergen Vigna  <jug@sad.it>
10564
10565         * BufferView_pimpl.C (toggleSelection): adapted too.
10566
10567         * text.C (selectNextWord): adapted for use with insets.
10568         (selectSelectedWord): ditto
10569
10570 2001-07-17  Juergen Vigna  <jug@sad.it>
10571
10572         * sp_spell.C (PSpell): fix initialitation order.
10573
10574 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10575
10576         * paragraph.C: spacing
10577
10578 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10579
10580         * sp_spell.C: repair language selection for pspell
10581
10582 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10583
10584         * lyxfunc.h: change more methods to begin with lower char.
10585
10586 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10587
10588         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10589         for unknown layouts.
10590
10591 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10592
10593         * buffer.C (readLyXformat2): Generate an error dialog if there are
10594         unknown layouts.
10595
10596 2001-07-16  Juergen Vigna  <jug@sad.it>
10597
10598         * sp_spell.C: always compile ISpell part.
10599
10600         * lyxrc.C: added use_pspell entry and it's handling.
10601
10602 2001-07-13  Juergen Vigna  <jug@sad.it>
10603
10604         * sp_spell.C: removed double includes.
10605
10606 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10607
10608         Consistent use of Lsstream.h:
10609         * Lsstream.h: added using std::stringstream for consistencies sake.
10610
10611         * buffer.C: removed using std::stringstream
10612
10613         * lyxfont.C (stateText):
10614         * paragraph.C (asString):
10615         * text.C (selectNextWord, selectSelectedWord):
10616         * text2.C (setCounter):
10617         * vspace.C (asString, asLatexString):
10618         std::ostringstream -> ostringstream.
10619
10620 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10621
10622         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10623         * commandtags.h: add LFUN_HELP_ABOUTLYX
10624         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10625
10626 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10627
10628         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10629         cursorToggle()
10630         * lyx_gui_misc.C: remove spellchecker
10631         * lyxfunc.C: showSpellchecker
10632         * sp_base.h: added
10633         * sp_ispell.h: added
10634         * sp_pspell.h: added
10635         * sp_spell.C: added
10636         * sp_form.[Ch]: removed
10637         * spellchecker.[Ch]: removed
10638
10639 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10640
10641         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10642         is set.
10643         (simpleTeXSpecialChars): Simply print the input character without
10644         any special translation if pass_thru is set.
10645
10646         * layout.h: Added bool pass_thru to layout class for being able to
10647         implement pass through of a paragraph for Literate Programming.
10648
10649         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10650         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10651         * layout.C (Read): add "passthru" to list of layout tags and add
10652         code to set the pass_thru boolean when it is read.
10653
10654 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10655
10656         * trans_decl.h: remove allowed from KmodInfo
10657
10658         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10659         remove allowed code
10660         (Load): adjust
10661
10662         * paragraph_pimpl.C (erase): use boost::prior
10663
10664         * Painter.C (text): use data() instead of c_str() when length is
10665         also provided.
10666         * WorkArea.C (putClipboard): ditto
10667         * font.h (width): ditto
10668
10669         * BufferView2.C: use it-> instead of (*it). for iterators
10670         * texrow.C: ditto
10671         * paragraph_pimpl.C: ditto
10672         * paragraph.C: ditto
10673         * minibuffer.C: ditto
10674         * language.C: ditto
10675         * kbmap.C: ditto
10676         * encoding.C: ditto
10677         * counters.C: ditto
10678         * converter.C: ditto
10679         * chset.C: ditto
10680         * Variables.C: ditto
10681         * TextCache.C: ditto
10682         * MenuBackend.C: ditto
10683         * LyXAction.C: ditto
10684         * LColor.C: ditto
10685         * FloatList.C: ditto
10686         * DepTable.C: ditto
10687         * ColorHandler.C (LyXColorHandler): ditto
10688
10689 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10690
10691         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10692
10693         * text2.C (openStuff): reintroduce this method (which had been
10694         nuked in NEW_INSETS frenzy).
10695
10696         * lyxfunc.C (Dispatch): when an action has not been handled, use
10697         its name in the error message, not its number.
10698
10699         * paragraph.C (inInset): change method name to begin with lowercase.
10700
10701         * undo_funcs.C:
10702         * text2.C: updates because of this.
10703
10704 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10705
10706         * ToolbarDefaults.C (add): add spaces in error message
10707
10708 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10709
10710         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10711         (readLyXformat2): rename return_par to first_par, use lyxlex's
10712         pushToken and remove the manual push handling.
10713         (parseSingleLyXformat2Token): add another ert comp. variable:
10714         in_tabular, rename return_par to first_par. handle newlines better
10715
10716 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10717
10718         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10719
10720 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10721
10722         * text2.C (getParFromID): removed
10723
10724         * buffer.C (getParFromID): new method moved form lyxtext.
10725         * BufferView2.C (insertErrors): adjust
10726         (setCursorFromRow): adjust
10727         * BufferView_pimpl.C (restorePosition): adjust
10728         * lyxfunc.C (Dispatch): adjust
10729         * undo_funcs.C (textUndo): adjust
10730         (textRedo): adjust
10731         (textHandleUndo): adjust
10732         (textHandleUndo): adjust
10733
10734 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10735
10736         * buffer.C: up' the LYX_FORMAT
10737
10738         * lyxfont.h: turn NO_LATEX on as default
10739
10740         * buffer.C (insertErtContents): new methods of tex style compability.
10741         (parseSingleLyXformat2Token): use it several places.
10742         * tabular.C (OldFormatRead): and here
10743
10744 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10745
10746         * text2.C: remove some commented code.
10747         reindent file.
10748
10749         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10750         * trans.C: changes because of the above.
10751
10752 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10753
10754         * text2.C (setCounter): Fix counters bug with bibliography layout.
10755
10756 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10757
10758         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10759         own member functions
10760         (simpleTeXSpecialChars): ditto
10761
10762 2001-07-06  Juergen Vigna  <jug@sad.it>
10763
10764         * a lot of files: changed the access to LyXText::status and the
10765         call of undo-functions.
10766
10767         * undo.[Ch]: added a inset_id to the undo informations.
10768
10769         * undo_funcs.[Ch]: added and moved here all undo functions.
10770
10771         * lyxtext.h: give the status enum a weight, made status_ a private
10772         variable and made accessor functions for it, removed the whole bunch
10773         of undo-functions as they are now in their own file, make some
10774         functions publically available. Added function ownerParagraph with
10775         int parameter.
10776
10777         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10778         made InInset() a const function, added getParFromID() function.
10779
10780         * buffer.[Ch]: added const version for inset_iterator functions,
10781         added getInsetFromID() function.
10782
10783         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10784         changed undo functions for new version.
10785
10786 2001-07-05  Juergen Vigna  <jug@sad.it>
10787
10788         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10789         unknow mechanism does not call the proper constructor but only this
10790         one also if I request the other!?
10791
10792 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10793
10794         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10795
10796         * text2.C (LyXText): use initialization lists.
10797
10798         * lyxtext.h (Selection): initialize set_ and mark_
10799         (init): remove method
10800
10801 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10802
10803         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10804
10805 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10806
10807         * screen.[Ch]: change method names to begin with lowercase
10808
10809         * BufferView_pimpl.C (updateScrollbar): simplify further and
10810         hopefully make it a bit faster.
10811
10812 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10813
10814         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10815         calling directly xforms functions.
10816
10817         * Painter.C (Painter):
10818         * lyx_cb.C (MenuWrite):
10819         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10820         fl_display.
10821
10822         * lyx_gui.C: remove bogus guiruntime extern declaration.
10823
10824 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10825
10826         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10827         in NEW_INSETS
10828         (redoDrawingOfParagraph): ditto
10829         (redoParagraphs): ditto
10830         (cutSelection): don't create a object for CutAndPaste use the
10831         static method directly
10832         (pasteSelection): ditto
10833
10834         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10835         LyXview (+ rename)
10836
10837 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10838
10839         * modifications to some other files because of this.
10840
10841         * Makefile.am (lyx_SOURCES): add XFormsView
10842
10843         * XFormsView.[Ch]: new files
10844
10845         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10846         the main window. Move the gui dependent stuff to XFormsView
10847
10848 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10849
10850         * tabular.C (GetCellInset): update cur_cell also in the row/col
10851         version of this function.
10852
10853         * lyxfunc.C: no need to include figure_form.h here.
10854
10855         * FontLoader.h:
10856         * lyxfunc.h:
10857         * lyxscreen.h:
10858         * text2.C:
10859         * lyxvc.C: no need to include forms.h here.
10860
10861 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10862
10863         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10864
10865         * lyxfunc.C (Dispatch):
10866         * Spacing.C (set):
10867         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10868         constructor argument.
10869
10870 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10871
10872         * paragraph.C (Paragraph): dont't clear, and just set layout.
10873         (makeSameLayout): use params's copy contructor.
10874
10875         * ParagraphParameters.[Ch] (makeSame): delete method
10876
10877 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10878
10879         * Variables.[Ch]: fix indentation, rename set to isSet
10880
10881 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10882
10883         * lyxfunc.C (Dispatch): fix typo
10884
10885 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10886
10887         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10888         upper_bound.
10889
10890         * bufferlist.C: include assert.h for emergencyWrite().
10891
10892 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10893
10894         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10895           give up at last (bug #425202) !
10896
10897 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10898
10899         * lyx_gui_misc.C:
10900         * sp_form.h:
10901         * sp_form.C:
10902         * spellchecker.h:
10903         * spellchecker.C: strip spellchecker options and bring up
10904           preferences tab instead
10905
10906 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10907
10908         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10909         the istringstream constructor
10910
10911 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10912
10913         * paragraph.C (getLayout): fix return value
10914
10915         * paragraph.h: do not declare getLayout as inline.
10916
10917         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10918
10919 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10920
10921         * lyxcursor.h (operator<): new func
10922         (operator>): new func
10923         (operator>=): new func
10924         (operator<=): new func
10925
10926         * text.C (changeCase): use selection.start and selection.end
10927         (changeRegionCase): require from to be <= to. Require par to be a
10928         valid paragraph.
10929
10930         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10931
10932 2001-06-27  Juergen Vigna  <jug@sad.it>
10933
10934         * text.C (cursorLeftOneWord): changed to return the cursor and added
10935         overlay with BufferView * parameter which calls this one.
10936         (getWord): added
10937         (selectWord): use new getWord function.
10938         (changeCase): renamed from changeWordCase as and extended to work
10939         also on selections.
10940
10941         * lyxtext.h: added enum word_location
10942
10943         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10944         changeCase as this operates now also on selections.
10945
10946 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10947
10948         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10949
10950         * many files: send debug output to Debug::INFO instead of
10951         Debug::ANY.
10952
10953         * converter.C (View):
10954         (Convert):
10955         (Move): send debug output to Debug::FILES instead of console.
10956
10957 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10958
10959         * lyxfunc.C (getStatus): use func_status
10960
10961         * func_status.h: new header, describing the results of
10962         LyXFunc::getStatus;
10963
10964         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10965         LFUN_MATH_HALIGN.
10966
10967 2001-06-25  The LyX Project  <jug@sad.it>
10968
10969         * buffer.C (sgmlOpenTag):
10970         (sgmlCloseTag):
10971         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10972
10973 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10974
10975         * text2.C: remove some dead code
10976
10977         * tabular.C (GetCellInset): store the last cell checked (gotten)
10978
10979         * tabular.h: add the helper for the speedup
10980
10981         * lyxtext.h: remove some dead code
10982
10983 2001-06-26  The LyX Project  <Asger>
10984
10985         * paragraph.C: Change export to LaTeX of alignment to
10986         \begin{center} and family for better roundtrip work with reLyX.
10987
10988         * Tune the math drawing a bit.
10989
10990 2001-06-25  The LyX Project  <Asger>
10991
10992         * LColor.C (LColor): New color for math background. New color
10993         for buttons.
10994
10995 2001-06-25  The LyX Project  <jug@sad.it>
10996
10997         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10998
10999         * lyxfunc.C (Open):
11000         * bufferlist.C (newFile): do not restrict to files ending with
11001         .lyx
11002
11003         * BufferView_pimpl.C (MenuInsertLyXFile):
11004
11005 2001-06-24  The LyX Project  <jug@sad.it>
11006
11007         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11008         of compare_no_case
11009
11010 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11011
11012         * lyxtext.h: rename most methods to begin with a small char.
11013         Lots of changes because of this.
11014
11015         * paragraph.C (Paragraph): do not call fitToSize
11016         (erase): call Pimpl::erase
11017         (insertChar): call Pimpl::insertChar
11018         (insertInset): call Pipl::insertInset
11019         (breakParagraph): do not call fitToSize
11020         (breakParagraphConservative): do not call fitToSize
11021         (fitToSize): remove method
11022
11023         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11024
11025 2001-06-24  The LyX Project  <Asger>
11026
11027         * Fix Qt compilation^2
11028
11029 2001-06-24  The LyX Project  <jug@sad.it>
11030
11031         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11032         depthHook(getDepth()-1).
11033
11034         * paragraph.h:
11035         * ParagraphParameters.h:
11036         * ParameterStruct.h: change type of depth to unsigned int ==
11037         depth_type. Many adaptations to other files before of that.
11038
11039 2001-06-24  The LyX Project  <Asger>
11040
11041         * Fix Qt compilation.
11042
11043 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11044
11045         * paragraph.h: renamed several methods to begin with small letter.
11046         several changes to many parts of the code because of this.
11047
11048 2001-06-23  The LyX Project  <jug@sad.it>
11049
11050         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11051         rewritten to discard all double spaces when KeepEmpty is off
11052         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11053         to only handle newlines but not fiddle with spaces and friends.
11054
11055         * lyxfunc.C (MenuNew): when doing 'new from template', use
11056         template_path as default directory
11057
11058 2001-06-23  The LyX Project  <Asger>
11059
11060         * Clean-up of header file includes all over
11061         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11062
11063 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11064
11065         * paragraph.h: renamed from lyxparagraph.h
11066
11067 2001-06-23  Asger  <lyx@violet.home.sad.it>
11068
11069         * Buffer.h: Removed Buffer::resize
11070         * BufferList.h: Removed BufferList::resize
11071         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11072         the document lazily when we change the width, or the font settings.
11073
11074 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11075
11076         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11077
11078 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * buffer.h: remove out of date comment
11081
11082 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11083
11084         * lyxscreen.h:
11085         * screen.C: fix "theoretical" GC leak
11086
11087 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11088
11089         * LaTeX.C (scanAuxFile):
11090         (deplog): remove trailing \r when reading stream (useful under
11091         win32)
11092
11093 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11094
11095         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11096         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11097         and BufferView::theLockingInset(Inset*), so should use them and not
11098         access bv_->text->the_locking_inset directly.
11099
11100         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11101
11102 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11103
11104         * Makefile.am:
11105         * tex-defs.h: remove old unused file
11106
11107 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11108
11109         * BufferView_pimpl.C: fix typo, remove minibuffer message
11110           when buffer has loaded
11111
11112 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11113
11114         * lyxfunc.C (Dispatch): use stringstream
11115         (MenuNew): use stringstream
11116         (Open): use stringstream
11117
11118         * importer.C (Import): use stringstream
11119
11120         * bufferview_funcs.C (CurrentState): use stringstream
11121
11122         * LaTeX.C (run): use stringstream
11123
11124         * BufferView_pimpl.C (savePosition): use stringstream
11125         (restorePosition): use stringstream
11126         (MenuInsertLyXFile): use stringstream
11127
11128 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11129
11130         * BufferView.C:
11131         * Bullet.C:
11132         * ColorHandler.C:
11133         * FontInfo.C:
11134         * FontLoader.C:
11135         * LColor.C:
11136         * LaTeXFeatures.C:
11137         * Painter.C:
11138         * gettext.C:
11139         * lyx_gui_misc.C:
11140         * lyxserver.C:
11141         * vspace.C: removed // -*- C++ -*- as first line.
11142
11143         * lyxfind.h:
11144         * version.h: added // -*- C++ -*- as first line.
11145
11146 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11147
11148         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11149
11150         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11151         of string
11152
11153 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11154
11155         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11156         of floats.
11157
11158 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11159
11160         * gettext.C: include LString.h even when --disable-nls is on.
11161
11162 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11163
11164         * converter.h (Get): changed argument type from int to
11165         FormatList::size_type to avoid unnecessary conversion.
11166
11167         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11168         before using it.
11169
11170 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11171
11172         * gettext.h: include LString.h even when --disable-nls is on.
11173
11174 2001-06-07  Juergen Vigna  <jug@sad.it>
11175
11176         * text.C (BreakAgain): subst spaces with tabs.
11177
11178         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11179         (resizeInsetsLyXText): set force on resizeLyXText.
11180
11181 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11182
11183         * gettext.h (gettext_init):
11184         (locale_init): use a real definition instead of a macro
11185
11186 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11187
11188         * Bufferview_pimpl.C:
11189         * LColor.h:
11190         * LColor.C: further lcolor tidies
11191
11192 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11193
11194         * BufferView_pimpl.C (updateScrollbar): simplify.
11195
11196         * BufferView2.C: don't include insets/insetinfo.h, change
11197         prototype for insertInset and call the Pimpl version. let
11198         updateInset call Pimpl version.
11199
11200         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11201         gotoInset to BufferView::Pimpl
11202
11203 2001-06-01  Juergen Vigna  <jug@sad.it>
11204
11205         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11206         inside a LockingInset (is the update needed at all?).
11207
11208 2001-05-31  Juergen Vigna  <jug@sad.it>
11209
11210         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11211         here not the old one otherwise how should we compare it afterwards
11212         if it's the same!
11213
11214 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11215
11216         * lyxfont.C:
11217         * tabular.C:
11218         * tabular-old.C:
11219         * FontInfo.C: bring C functions into global namespace when
11220         necessary
11221
11222 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11223
11224         * LString.h: make sure config.h has been loaded before LString.h.
11225
11226         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11227         (one for each char read by EatLine!).
11228
11229         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11230         variables.
11231
11232 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11233
11234         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11235         to the same as the par we break from
11236
11237 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11238
11239         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11240
11241         * MenuBackend.C (expand): also create menu entries for wide
11242         versions of the floats.
11243
11244         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11245
11246         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11247
11248         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11249         frontends/Makefile.am
11250
11251         * text2.C: adjust
11252         * text.C: adjust
11253
11254
11255         * tabular.C (getTokenValue): add std::
11256
11257         * tabular-old.C (getTokenValue): add std::
11258         (getTokenValue): ditto
11259         (getTokenValue): ditto
11260
11261         * screen.C (ToggleSelection): adjust
11262
11263         * lyxtext.h: put selection cursors inside a Selection struct.
11264
11265         * lyxfunc.C (moveCursorUpdate): adjust
11266
11267         * lyxfont.C (latexWriteStartChanges): add std::
11268
11269         * lyxfind.C: adjust
11270
11271         * font.h: delete with(char const *, LyXFont const &)
11272
11273         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11274
11275         * FontInfo.C (getFontname): add std::
11276
11277         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11278         (workAreaButtonPress): adjust
11279         (tripleClick): adjust
11280         (update): adjust
11281         (moveCursorUpdate): adjust
11282         (Dispatch): adjust
11283
11284         * BufferView2.C (gotoInset): adjust
11285
11286 2001-05-30  Juergen Vigna  <jug@sad.it>
11287
11288         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11289         to check pspell I add this as default as I now have new pspell
11290         libraries and they seem to use this.
11291
11292 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11293
11294         * text2.C (CutSelection): make the cursor valid before the call to
11295         ClearSelection.
11296
11297 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11298
11299         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11300         relied on 0 terminated strings and other horrors. Bug found due to
11301         the new assert in lyxstring!
11302
11303         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11304         KP_ keys.
11305
11306 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11307
11308         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11309         to latinkeys.bind.
11310
11311         * lyxfunc.C (processKeySym): change method of getting to the
11312         self-insert char.
11313
11314         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11315         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11316         * BufferView_pimpl.[Ch]: here as private methods.
11317
11318 2001-05-28  Juergen Vigna  <jug@sad.it>
11319
11320         * text.C (SetHeightOfRow): added the update() call again as it is
11321         needed to initialize inset dimensions!
11322
11323 2001-05-16  Juergen Vigna  <jug@sad.it>
11324
11325         * text2.C (SetCharFont): Add new function with BufferView * and
11326         bool toggleall parameters for setting insets internal fonts.
11327         (SetFont): Freeze the undo as we may change fonts in Insets and
11328         all this change should be inside only one Undo!
11329
11330         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11331         setting font's in insets as for them we have the SetFont function!
11332
11333 2001-05-15  Juergen Vigna  <jug@sad.it>
11334
11335         * text2.C (ClearSelection): to be sure we REALLY don't have any
11336         selection anymore!
11337
11338         * tabular.C (TeXCellPreamble): fixed the left border problem for
11339         multicolumn cells.
11340
11341 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11342
11343         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11344         dependancy file
11345
11346 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11347
11348         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11349         LFUN_BREAKPARAGRAPH.
11350
11351         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11352         help test to "internal only", similar for LFUN_INSERT_URL
11353
11354         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11355         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11356         auto_region_delete and deadkeys.
11357
11358 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * LColor.h:
11361         * LColor.C: remove some dead entries, tidy a little
11362
11363 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11364
11365         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11366         commented code.
11367         (Dispatch): implement LFUN_ESCAPE
11368
11369         * commandtags.h: add LFUN_ESCAPE
11370
11371         * LyXAction.C (init): add entry for LFUN_ESCAPE
11372
11373         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11374         Remove commented code.
11375         (insertNote): moved here
11376         (open_new_inset): moved here
11377
11378         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11379         BufferView_pimpl
11380
11381 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11382
11383         * kbmap.C (findbinding): clean it up and make it work correctly.
11384
11385         * lyx_main.C (init): do not pass argc and argv as parameters
11386
11387 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11388
11389         * buffer.C: fix path for OS/2 & Win32
11390
11391         * lyx_gui.C:
11392         * lyx_main:
11393         * lyx_main.C: Added os:: class.
11394
11395         * os2_defines.h: update
11396
11397 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11398
11399         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11400         better by trying again with reduced state.
11401
11402 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11403
11404         * lyxrc.C (read): print error about invalid key sequence only when
11405         debugging (because not all latinX keysyms are known to some X
11406         servers)
11407
11408         * kbsequence.C (getiso): add a few std:: qualifiers
11409         (getiso): comment out extra return statement.
11410
11411 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11412
11413         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11414         handling.
11415         (Dispatch): enhance the accent inset a bit. (not perfect)
11416
11417 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11418
11419         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11420
11421 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11422
11423         * bufferlist.C (emergencyWrite): fix assert() call
11424
11425 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11426
11427         * text.C (InsertChar): Added trivial patch to only send the "you
11428         can not do multiple spaces this way" message once during a
11429         session.
11430
11431 2001-05-08  Baruch Even  <baruch@lyx.org>
11432
11433         * Makefile.am: Changed order of libraries to get LyX to link properly
11434         with the gnome frontend.
11435
11436 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11437
11438         * LaTeXFeatures.h: add a std:: qualifier
11439
11440 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11441
11442         * paragraph.C (String): use stringstream
11443
11444 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11445
11446         * paragraph.C (writeFile): remove footflag arg
11447
11448         * buffer.C (makeLaTeXFile): use stringstream
11449         (latexParagraphs): remove footnot gurba
11450
11451         * LaTeXFeatures.C (getPackages): use stringstream
11452         (getMacros): likewise
11453         (getTClassPreamble): likewise
11454         (getFloatDefinitions): new method
11455
11456         * paragraph.C (writeFile): reindent
11457         (Erase): reindent
11458
11459         * WorkArea.h: revert the xpos + etc changes.
11460
11461         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11462
11463         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11464
11465         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11466         (pasteSelection): likewise
11467         * text2.C (CreateUndo): likewise
11468
11469 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11470
11471         * minibuffer.C (peek_event): temporarily reduce the functionality
11472         of the minibuffer (to allow args on lfuns)
11473
11474         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11475         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11476
11477         * buffer.C (readInset): add compability reading of old float
11478         lists, add reading of new style float list.
11479         (readInset): avoid reevaluation of inscmd.getCmdName()
11480         (getLists): reindent
11481
11482         * MenuBackend.C (MenuItem): implement parsing of
11483         md_floatlistinsert and md_floatinsert.
11484         (expand::LastFiles): move initalizaton of iterators out of loop,
11485         avoid reevaluation.
11486         (expand::Documents): introduce typdedef vector<string> Strings,
11487         and use it.
11488         (expand::ExportFormats): introduce typedef vector<Format const *>
11489         Formats, and use it.
11490         (expand): implement FloatListInsert and FloatInsert.
11491
11492         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11493         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11494         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11495
11496         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11497         handling.
11498         (Dispatch::LFUN_FLOAT_LIST): implement
11499
11500 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11501
11502         * LaTeX.C (run): Fix problem with --export code.
11503
11504 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11505
11506         * BufferView.[Ch] (workarea): removed.
11507         (getClipboard) new method; wrapper for workarea()->getClipboard()
11508
11509         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11510         bug.
11511
11512         * WorkArea.h (width, height, xpos, ypos): These methods all
11513         returned the dimensions of the work_area sub-area of WorkArea,
11514         resulting in a position error if the WorkArea were resized. Now
11515         return the dimensions of the entire WorkArea.
11516
11517         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11518
11519 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11520
11521         * LaTeX.C (deplog): correct the syntax of regex reg1
11522
11523 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11524
11525         * undo.C: remove !NEW_INSETS cruft
11526
11527 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * text2.C: remove !NEW_INSETS cruft
11530
11531         * text.C: remove !NEW_INSETS cruft
11532
11533         * tabular.C: remove !NEW_INSETS cruft
11534
11535         * spellchecker.C: remove !NEW_INSETS cruft
11536
11537         * lyxtext.h: remove !NEW_INSETS cruft
11538
11539         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11540
11541         * lyxfunc.C: remove !NEW_INSETS cruft
11542
11543         * lyxfind.C: remove !NEW_INSETS cruft
11544
11545         * lyx_cb.C: remove !NEW_INSETS cruft
11546
11547         * figureForm.C: remove  !NEW_INSETS cruft
11548
11549         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11550
11551         * buffer.[Ch]: remove !NEW_INSETS cruft
11552
11553         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11554
11555         * CutAndPaste.C: remove !NEW_INSETS cruft
11556
11557         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11558
11559         * BufferView2.C: remove !NEW_INSETS cruft
11560
11561         * BufferView.h: remove !NEW_INSETS cruft
11562
11563 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11564
11565         * Lsstream.h: include LString.h before the sstream headers to
11566         fix problem with gcc 2.95.3 and lyxstring
11567
11568 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11569
11570         * lyx_main.C: add using directives when needed for C functions
11571         declared in std:: namespace.
11572
11573 2001-04-27  Juergen Vigna  <jug@sad.it>
11574
11575         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11576         (SetHeightOfRow): comment out the update call should not be needed!
11577
11578 2001-04-13  Juergen Vigna  <jug@sad.it>
11579
11580         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11581         (LyXTabular): tried to minimize operator= operations (and realized
11582         hopfully Lars wish).
11583
11584 2001-04-27  Juergen Vigna  <jug@sad.it>
11585
11586         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11587
11588 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11589
11590         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11591
11592         * buffer.C (readInset): hack to make listof algorithm work
11593
11594         * BufferView_pimpl.C: hack to make listof algorithm work
11595
11596 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11597
11598         * LyXAction.C: removed all !NEW_INSETS cruft
11599         (init): moved lfun_item in method
11600
11601         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11602
11603 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11604
11605         * BufferView2.C (theLockingInset): white space.
11606
11607 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11608
11609         * minibuffer.C: include <iostream>
11610
11611         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11612
11613         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11614
11615         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11616
11617         * text.[Ch] (TransposeChars): new method
11618
11619 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11620
11621         * call message directly through LyXView instead of through LyXFunc
11622         * BufferView2.C: adjust
11623         * BufferView_pimpl.C: adjust
11624         * FontLoader.C: adjust
11625         * buffer.C: adjust
11626         * bufferview_funcs.C: adjust
11627         * converter.C: adjust
11628         * figureForm.C: adjust
11629         * importer.C: adjust
11630         * lyx_cb.C: adjust
11631         * lyx_gui_misc.C: adjust
11632         * lyxfunc.C: adjust
11633         * lyxvc.C: adjust
11634         * text2.C: adjust
11635         + more files in subdirs
11636
11637         * lyxparagraph.h (size): move up int file
11638         (GetLayout): ditto
11639
11640         * adjust all uses of Assert to lyx::Assert.
11641
11642         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11643         lyxfunctional in namespace lyx
11644         * layout.C (hasLayout): ditto
11645         (GetLayout): ditto
11646         (GetLayout): ditto
11647         (delete_layout): ditto
11648         (NumberOfClass): ditto
11649         * converter.C (GetFormat): ditto
11650         (GetNumber): ditto
11651         (Add): ditto
11652         (Delete): ditto
11653         (SetViewer): ditto
11654         * bufferlist.C (getFileNames): ditto
11655         (emergencyWriteAll): ditto
11656         (exists): ditto
11657         (getBuffer): ditto
11658         * MenuBackend.C (hasSubmenu): ditto
11659         (hasMenu): ditto
11660         (getMenu): ditto
11661         * BufferView_pimpl.C (getInsetByCode): ditto
11662
11663 2001-04-18  Juergen Vigna  <jug@sad.it>
11664
11665         * vspace.C (asLatexString): fixed the 100% problem.
11666
11667 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11668
11669         * lyxfunc.C (Dispatch):
11670         * minibuffer.C:
11671         * minibuffer.h: add a few std:: qualifiers
11672
11673 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11674
11675         * minibuffer.[Ch]: reimplement so that commands is initiated and
11676         run from lyxfunc, simplified som handling, and made the completion
11677         and history code for complete. wip.
11678
11679         * lyxfunc.C (processKeySym): call message
11680         (miniDispatch): new temporary method
11681         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11682         (LFUN_MESSAGE): implement
11683         (LFUN_MESSAGE_PUSH): implement
11684         (LFUN_MESSAGE_POP): implement
11685         (initMiniBuffer): the initial/defualt minibuffer message.
11686
11687         * lyxfont.[Ch]: inline some more getters
11688
11689         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11690
11691         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11692
11693         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11694         (AutoSave): use LFUN_MESSAGE
11695         (Reconfigure): ditto
11696
11697         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11698
11699         * figureForm.C: use LFUN_MESSAGE
11700
11701         * converter.C (runLaTeX): use LFUN_MESSAGE
11702
11703         * bufferview_funcs.C: use LFUN_MESSAGE
11704         (Melt): ditto
11705         (changeDepth): ditto
11706
11707         * bufferparams.h: use boost::
11708
11709         * bufferlist.h: inherit privately from noncopyable
11710
11711         * bufferlist.C (loadLyXFile): remove some commented code.
11712
11713         * buffer.C (runChktex): use LFUN_MESSAGE
11714
11715         * ShareContainer.h: inherit privately from noncopyable
11716
11717         * ParagraphParameters.[hC] (depth): inline it.
11718
11719         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11720         methods.
11721         (message): new method
11722         (messagePush): ditto
11723         (messagePop): ditto
11724         (show): init minibuffer
11725         (showState): direct call
11726
11727         * LaTeX.[Ch]: inherit privately from noncopyable
11728         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11729         instead of WriteStatus.
11730
11731         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11732
11733         * BufferView_pimpl.C (buffer): don't init minibuffer
11734         (workAreaButtonPress): use LFUN_MESSAGE
11735         (workAreaButtonRelease): ditto
11736         (savePosition): ditto
11737         (restorePosition): ditto
11738         (MenuInsertLyXFile): ditto
11739         (workAreaExpose): don't init minibuffer
11740         (update): remove commented code, simplify
11741
11742         * BufferView2.C (openStuff): use LFUN_MESSAGE
11743         (toggleFloat): ditto
11744         (menuUndo): ditto
11745         (menuRedo): ditto
11746         (copyEnvironment): ditto
11747         (pasteEnvironment): ditto
11748         (copy): ditto
11749         (cut): ditto
11750         (paste): ditto
11751         (gotoInset): ditto
11752         (updateInset): remove some commented code
11753
11754         * lastfiles.h: inherit privately from noncopyable
11755         * layout.h: ditto
11756         * lyx_gui.h: ditto
11757         * lyx_main.h: ditto
11758         * lyxlex.h: ditto
11759         * lyxlex_pimpl.h: ditto
11760
11761         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11762         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11763         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11764
11765         * LyXAction.h: inherit privately from noncopyable, add methods
11766         func_begin, func_end, returning iterators to the func map.
11767
11768         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11769         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11770         (func_begin): new method
11771         (func_end): new method
11772
11773         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11774         and not)
11775         (copySelection): ditto
11776         (pasteSelection): ditto
11777
11778         * BufferView.C: whitespace change
11779         * BufferView.h: inherit privately from noncopyable
11780
11781 2001-04-16  Allan Rae  <rae@lyx.org>
11782
11783         * tabular-old.C (l_getline):
11784         * spellchecker.C (sc_check_word):
11785         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11786         an unrecognised preprocessor directive.  So ensure they're wrapped.
11787
11788 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11789
11790         * src/exporter.C (Export): Give an error message when path to file
11791         contains spaces.
11792
11793 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11794
11795         * LaTeX.C (deplog): Always check that foundfile exists.
11796
11797 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11798
11799         * lyx_main.h:
11800         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11801
11802 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11803
11804         * tabular.[Ch] (getLabelList): implement new method
11805
11806         * minibuffer.h: comment ouf setTiimer
11807
11808         * minibuffer.C (ExecutingCB): constify res
11809         (peek_event): constify s
11810         (Set): constify ntext
11811         (Init): constify nicename
11812
11813         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11814
11815         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11816         (savePosition): use two params to Minibuffer::Set
11817         (restorePosition): ditto
11818
11819 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11820
11821         * lyx_main.C: include language.h
11822
11823         * Makefile.am (lyx_main.o): add language.h
11824
11825 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11826
11827         * exporter.C:
11828         * paragraph.C:
11829         * screen.C:
11830         * tabular.C:
11831         * CutAndPaste.C: include gettext.h
11832
11833         * lyxfont.h: remove old hack with ON and OFF.
11834
11835         * lyxparagraph.h:
11836         * lyxfont.h: do not include language.h...
11837
11838         * BufferView2.C:
11839         * LaTeXFeatures.C:
11840         * Painter.C:
11841         * bufferview_funcs.C:
11842         * font.C:
11843         * lyxfont.C:
11844         * text.C:
11845         * text2.C:
11846         * trans_mgr.C:
11847         * paragraph.C: ... but do it here instead
11848
11849 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11850
11851         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11852
11853         * tabular.C: small reformat
11854
11855         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11856         NEW_INSETS version
11857         (GetChar): ditto
11858         (BreakParagraph): ditto
11859         (SetOnlyLayout): ditto
11860         (SetLayout): ditto
11861
11862         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11863         with one arg less.
11864
11865         * lastfiles.C: removed most using decl, add std:: where needed
11866
11867         * buffer.C: ws changes
11868
11869         * MenuBackend.C (class compare_format): put into anon namespace
11870         (expand): constify label, names, action, action2
11871         (expand):
11872
11873         * text.C (SingleWidth): constify font
11874         (IsBoundary): constify rtl2
11875         (GetVisibleRow): constify ww
11876
11877         * LaTeX.C (deplog): constify logfile
11878
11879         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11880         start_x, end_x
11881         (workAreaExpose): constify widthChange, heightChange
11882
11883         * lyxrow.C (par): moved
11884         (height): moved
11885         (next): moved
11886         * lyxrow.h: as inlines here
11887
11888         * lyxfont.h (shape): moved from lyxfont.C
11889         (emph): moved from lyxfont.C
11890
11891         * lyxfont.C (LyXFont): use initialization list for all
11892         constructors
11893         (shape): move to lyxfont.h as inline
11894         (emph): move to lyxfont.h as inline
11895
11896
11897 2001-04-04  Juergen Vigna  <jug@sad.it>
11898
11899         * vspace.C: had to include stdio.h for use of sscanf
11900
11901 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11902
11903         * BufferView.h:
11904         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11905         independent of xforms.
11906
11907 2001-04-02  Juergen Vigna  <jug@sad.it>
11908
11909         * spellchecker.C: fixed namespace placing!
11910
11911 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11912
11913         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11914         the LyXParagraph * is 0.
11915
11916 2001-03-29  Juergen Vigna  <jug@sad.it>
11917
11918         * vspace.C: added support for %, c%, p%, l%.
11919         (stringFromUnit): added helper function.
11920         (asLatexString): changed to give right results for the %-values.
11921
11922         * buffer.C: convert the widthp in a width%.
11923
11924 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11925
11926         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11927         figureForm.[Ch].
11928
11929         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11930         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11931
11932         * lyx_cb.[Ch]: see above.
11933
11934         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11935         form1.[Ch].
11936
11937         * form1.[Ch]:
11938         * lyx.[Ch]: replaced by figure_form.[Ch].
11939
11940         * lyx_gui.C:
11941         * lyx_gui_misc.C:
11942         * lyxfunc.C: changed headers associated with above changes.
11943
11944 2001-03-27  Juergen Vigna  <jug@sad.it>
11945
11946         * BufferView_pimpl.C: set the temporary cursor right!
11947
11948 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11949
11950         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11951
11952 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11953
11954         * LString.h: removed "using std::getline"!
11955
11956         * BufferView_pimpl.C (Dispatch): changes due to changes in
11957         InsetInclude::Params.
11958
11959         * buffer.C (tag_name): removed redundant break statements as they were
11960         producing lots of warnings with my compiler.
11961
11962 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11963
11964         * LString.h: add "using std::getline" when using the real <string>.
11965
11966 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11967
11968         * buffer.C: removed bitset usage.
11969         PAR_TAG moved to an anonymous name space.
11970         (tag_name): new funtion, also in the anonymous namespace.
11971         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11972         (makeDocBookFile): clean code. Completed transition from string arrays
11973         to string vectors.
11974         (SimpleDocBookOnePar): code clean.
11975
11976 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11977
11978         * tabular.C: add some comments.
11979
11980 2001-03-22  Juergen Vigna  <jug@sad.it>
11981
11982         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11983         compatibility read a bit and fixed bug with minipage in different
11984         depth.
11985
11986 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11987
11988         * buffer.C (pop_tag): removed.
11989         (push_tag): removed.
11990         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11991         array replaced with vector. Added support for CDATA sections.
11992         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11993         at any nest level.
11994         (makeDocBookFile): XML conformant declaration of CDATA section,
11995         fixed bug related to <emphasis> in the first paragraph char.
11996         (sgmlOpenTag): exclude empty tags.
11997         (sgmlCloseTag): ditto.
11998
11999         * buffer.h (pop_tag): removed.
12000         (push_tag): removed.
12001
12002 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12003
12004         * language.h (Languages): added size_type and size().
12005
12006 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12007
12008         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12009         response on compability reading of minipages. One probliem is that
12010         the old usage of minipages was «flertydig»
12011
12012         * several files here and in subdirs: don't use static at file
12013         scope use anon namespaces instead.
12014
12015 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12016
12017         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12018         LaTeX output. This is necessary for Literate document
12019         processing.
12020
12021 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12022
12023         * buffer.C: insert hfill when needed.
12024
12025         * tabular.C (l_getline): use string::erase, small whitespace change.
12026
12027         * BufferView_pimpl.C: try the anon namespace.
12028         * WorkArea.C: ditto
12029
12030 2001-03-16  Juergen Vigna  <jug@sad.it>
12031
12032         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12033         otherwise it won't open options-dialogs.
12034
12035         * buffer.C: honor pextraWidth(p) on converting minipages.
12036
12037         * tabular.C (l_getline): changed the functions to strip trailing \r.
12038
12039 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12040
12041         * BufferView_pimpl.C:
12042         * minibuffer..C: added "using SigC::slot" declaration.
12043
12044 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12045
12046         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12047
12048         * text2.C: ditto
12049
12050         * text.C: ditto
12051
12052         * paragraph.C: ditto
12053
12054         * lyxtext.h: NO_PEXTRA
12055
12056         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12057
12058         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12059         * ParameterStruct.h: ditto
12060         * ParagraphParameters.h: ditto
12061         * lyxparagraph.h: ditto
12062
12063 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12064
12065         * buffer.C: add compability for minipage alignment.
12066         (latexParagraphs): remove unwanted pextra check.
12067
12068         * several files: remove CXX_WORKING_NAMESPACES
12069
12070         * buffer.C (pop_tag): tie is in namespace boost
12071
12072         * BufferView.h: noncopyable is in namespace boost
12073         * lyxlex.h: ditto
12074         * lyx_main.h: ditto
12075         * lyx_gui.h: ditto
12076         * layout.h: ditto
12077         * lastfiles.h: ditto
12078         * bufferlist.h: ditto
12079         * ShareContainer.h: ditto
12080         * LyXView.h: ditto
12081         * LyXAction.h: ditto
12082         * LaTeX.h: ditto
12083
12084 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12085
12086         * Merging changes from BRANCH_MVC back into HEAD.
12087
12088         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12089
12090 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12091
12092         * BufferView_pimpl.C: change from intl.C
12093
12094         * combox.h:
12095         * combox.C:
12096         * Makefile.am: move combox.*
12097
12098         * form1.h:
12099         * form1.C:
12100         * lyx_gui.C:
12101         * intl.h:
12102         * intl.C: remove dialog (covered by prefs)
12103
12104 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12105
12106         * lyxfunc.C (Dispatch): removed redundant break statement.
12107
12108 2001-03-14  Juergen Vigna  <jug@sad.it>
12109
12110         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12111
12112 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12113
12114         * buffer.C: add hack to fix compability reading of minipages.
12115
12116 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12117
12118         * buffer.C (getLists): Cleanup.
12119
12120 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12121
12122         * lyxfont.C (update): don't honor toggleall on font size.
12123
12124 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12125
12126         * bmtable.c:
12127         * bmtable.h:
12128         * Makefile.am: moved to frontends/xforms/
12129
12130         * lyx_gui_misc.C:
12131         * lyxfunc.C:
12132         * BufferView_pimpl.C: changes for moved mathpanel
12133
12134 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * gettext.h: fix gettext_init() in --disable-nls
12137
12138 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12139
12140         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12141
12142 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * lyx.C:
12145         * lyx.h: strip external form
12146
12147 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12148
12149         * BufferView_pimpl.C: add comment, destroySplash()
12150
12151 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12152
12153         * BufferView_pimpl.C:
12154         * LyXAction.C:
12155         * buffer.C:
12156         * commandtags.h:
12157         * lyxfunc.C: use re-worked insetinclude
12158
12159 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12160
12161         * buffer.C: add using std::stringstream.
12162
12163         * lyx_cb.C: readd using std::ios.
12164
12165         * buffer.C: add using std::map.
12166
12167         * BufferView_pimpl.C: add using std::vector.
12168
12169         * ShareContainer.h: add std:: to swap.
12170
12171         * buffer.h: add some typedefs
12172         * buffer.C (getLists): use them
12173         (getLists): renamed from getTocList.
12174         add a counter for the different float types and use it in the
12175         generated string.
12176         (getLists): use the same counter for the NEW_INSETS and the "non"
12177         NEW_INSETS
12178
12179         * lyx_cb.h: remove unused items, includes, using etc.
12180
12181         * ShareContainer.h: remove some commented code, add more comments
12182         and "documentation".
12183
12184 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12185
12186         * buffer.C (getTocList): make the list also when NEW_INSETS is
12187         defined.
12188
12189         * buffer.h: remove TocType
12190
12191         * buffer.C (getTocList): change to return a map<string,
12192         vector<TocItem> >, implement for dynamic number of list.
12193
12194         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12195         * text2.C (PasteSelection): adjust
12196         * CutAndPaste.C (pasteSelection): adjust
12197
12198         * FloatList.C (FloatList): update from the new_insets branch.
12199         * Floating.[Ch]: ditto
12200         * LaTeXFeatures.C: ditto
12201         * buffer.C: ditto
12202         * lyxlex_pimpl.C: ditto
12203
12204         * paragraph.C (Last): remove when NEW_INSETS is defined.
12205
12206         * other file: changes because of the above.
12207
12208 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12209
12210         * lyxparagraph.h: rename next to next_, previous to previous_,
12211         make them private for NEW_INSETS. Rename Next() to next(),
12212         Previous() to previous().
12213
12214         * other files: changes because of the above.
12215
12216 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12217
12218         * BufferView.h:
12219         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12220         problem.
12221
12222 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12223
12224         * main.C (main): pass lyx_localedir to gettext_init().
12225
12226         * gettext.h: remove locale_init and gettext_init macros
12227
12228         * gettext.C (locale_init): new function
12229         (gettext_init): new function
12230
12231         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12232         setlocale().
12233
12234 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12235
12236         * Moved credits to frontends:
12237         * credits.[Ch]: removed
12238         * credits_form.[Ch]: removed
12239         * lyx_gui_misc.C: remove credits stuff
12240         * Makefile.am:
12241
12242 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12243
12244         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12245
12246         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12247         unneeded destructor.
12248
12249         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12250         a standalone pointer again.
12251
12252         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12253
12254 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12255
12256         * Makefile.am:
12257         * filedlg.h:
12258         * filedlg.C:
12259         * LyXAction.C:
12260         * ToolbarDefaults.C:
12261         * bufferlist.C:
12262         * commandtags.h:
12263         * form1.C:
12264         * form1.h:
12265         * lyx_cb.C:
12266         * lyx_cb.h:
12267         * lyxfunc.h:
12268         * lyxfunc.C:
12269         * BufferView_pimpl.C: use new file dialog in GUII
12270
12271         * lyx_cb.h:
12272         * lyx_cb.C: remove LayoutsCB to Toolbar
12273
12274 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12275
12276         * ShareContainer.h (get): add std:: qualifier
12277
12278 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12279
12280         * ShareContainer.h: define a proper ShareContainer::value_type
12281         type (and use typename to please compaq cxx)
12282
12283 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12284
12285         * lyxparagraph.h: move serveral local vars to
12286         ParameterStruct/ParagraphParameters., use ShareContainer in
12287         FontTable., make vars in FontTable private and add getter and
12288         setter.
12289
12290         * paragraph.C: changes because of the above.
12291
12292         * lyxfont.h: remove copy constructor and copy assignment. (the
12293         default ones is ok), move number inside FontBits. move inlines to
12294         lyxfont.C
12295
12296         * lyxfont.C: add number to initializaton of statics, move several
12297         inlines here. constify several local vars. some whitespace
12298         cleanup. Dont hide outerscope variables.
12299
12300         * Spacing.h: add two new constructors to match the set methods.
12301
12302         * ShareContainer.h: new file, will perhaps be moved to support
12303
12304         * ParameterStruct.h: new file
12305
12306         * ParagraphParameters.h: new file
12307
12308         * ParagraphParameters.C: new file
12309
12310         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12311         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12312
12313         * BufferView_pimpl.C: ParagraphParameter changes.
12314         * buffer.C: Likewise.
12315         * bufferview_funcs.C: Likewise.
12316         * text.C: Likewise.
12317         * text2.C: Likewise.
12318
12319 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12320
12321         * lyxfind.C (LyXReplace): do not redefine default argument in
12322         implementation.
12323         (IsStringInText): ditto
12324         (SearchForward): ditto
12325         (SearchBackward): ditto
12326
12327 2001-03-06  Juergen Vigna  <jug@sad.it>
12328
12329         * lyxfind.C (IsStringInText): put parentes around expressions.
12330
12331 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12332
12333         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12334
12335 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12336
12337         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12338
12339         * stl_string_fwd.h: add comment
12340
12341         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12342
12343         * tabular.h:
12344         * tabular.C: remove unused DocBook methods
12345
12346         * intl.C:
12347         * language.C:
12348         * paragraph.C:
12349         * buffer.C:
12350         killed DO_USE_DEFAULT_LANGUAGE
12351
12352 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12353
12354         * lyx_gui.C: do not include language.h.
12355
12356         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12357         arguments in function implementation.
12358
12359 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12360
12361         * BufferView_pimpl.C: add <ctime>
12362
12363 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12364
12365         * BufferView_pimpl.C: add using std::find_if
12366
12367 2001-02-27  José Matos  <jamatos@fep.up.pt>
12368
12369         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12370         by OnlyPath.
12371
12372 2001-02-11  José Matos  <jamatos@fep.up.pt>
12373
12374         * buffer.C (makeDocBookFile): command styles now have a parameter as
12375         "title" by default.
12376
12377 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12378
12379         * layout_forms.[Ch]: removed
12380         * lyx_cb.[Ch]: out character
12381         * lyx_gui.C: out character
12382         * lyx_gui_misc.C: out character
12383         * bufferview_funcs.C: : out character,
12384         added toggleall as parameter in ToggleAndShow
12385
12386 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12387
12388         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12389
12390         * text2.C (SetCurrentFont): Disable number property at boundary.
12391
12392 2001-02-26  Juergen Vigna  <jug@sad.it>
12393
12394         * lyxfunc.C (getStatus): added a string argument override function so
12395         that this is correctly called from LyXFunc::Dispatch if it contains a
12396         do_not_use_argument which is used!
12397         (Dispatch): added check for "custom" export and call appropriate func.
12398
12399 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12400
12401         * lyxrc.C: Add language_command_local, language_use_babel and
12402         language_global_options.
12403
12404         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12405
12406         * buffer.C (makeLaTeXFile): Use language_use_babel and
12407         language_global_options.
12408
12409 2001-02-23  Juergen Vigna  <jug@sad.it>
12410
12411         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12412         which works with LyXText and putted it inside BufferView. Here now we
12413         only call for that part the BufferView::Dispatch() function.
12414
12415         * BufferView.C (Dispatch): added.
12416
12417         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12418         functions which needs to use a LyXText over from LyXFunc.
12419         (MenuInsertLyXFile): added
12420         (getInsetByCode): added
12421         (moveCursorUpdate): added
12422         (static TEXT): added
12423
12424 2001-02-22  Juergen Vigna  <jug@sad.it>
12425
12426         * BufferView_pimpl.C (update): call a status update to see if LyXText
12427         needs it.
12428
12429 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12430
12431         * vc-backend.C (revert): implement for CVS
12432         (getLog): implement for CVS
12433
12434 2001-02-20  Juergen Vigna  <jug@sad.it>
12435
12436         * text2.C (ClearSelection): added BufferView param for inset_owner call
12437
12438         * lyxfunc.C (TEXT): added this function and use it instead of
12439         directly owner->view()-text of getLyXText().
12440
12441 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12442
12443         * src/layout_forms.C: out preamble
12444         * src/layout_forms.h: out preamble
12445         * src/lyx_cb.C: out preamble
12446         * src/lyx_cb.h: out preamble
12447         * src/lyx_gui.C: out preamble
12448         * src/lyx_gui_misc.C: out preamble
12449         * src/lyxfunc.C: connect with guii preamble
12450
12451 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12452
12453         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12454
12455 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12456
12457         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12458         whether to run bibtex.
12459
12460 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12461
12462         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12463
12464 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12465
12466         * Makefile.am (lyx_SOURCES): removed bibforms.h
12467
12468         * vspace.h: doxygen
12469
12470         * text.C (GetVisibleRow): make several local vars const
12471
12472         * tabular.C: small cleanup.
12473
12474         * lyxserver.C (callback): use compare instead of strncmp
12475
12476         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12477         inlines to after class or to paragraph.C
12478
12479         * lyxfont.h: remove friend operator!=
12480
12481         * converter.h: move friend bool operator< to non friend and after
12482         class def.
12483
12484         * combox.h: small cleanup
12485
12486         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12487         to inlines after class def.
12488
12489         * buffer.C (pop_tag): use string operations instead of strcmp
12490
12491         * bmtable.c: doxygen, small cleanup
12492
12493         * LaTeX.h: remove friend operator==
12494
12495 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12496
12497         * screen.C:
12498         * lyxrc.[Ch]:
12499         * lyxfunc.C:
12500         * lyxfont.[Ch]:
12501         * lyx_cb.C:
12502         * intl.[Ch]:
12503         * commandtags.h:
12504         * buffer.C:
12505         * WorkArea.[Ch]:
12506         * LyXAction.C:
12507         * BufferView_pimpl.C:
12508         * BufferView.[Ch]: remove cruft
12509
12510 2001-02-14  Juergen Vigna  <jug@sad.it>
12511
12512         * lyxfunc.C: removed #if 0 unused code
12513
12514         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12515
12516         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12517
12518         * text2.C (SetSelection): added a BufferView * parameter
12519
12520 2001-02-13  Juergen Vigna  <jug@sad.it>
12521
12522         * lyxfunc.C (Dispatch): fixed protected blank problem.
12523         * BufferView2.C (protectedBlank): added LyxText * parameter.
12524
12525         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12526         (AppendColumn): same as above for column_info.
12527
12528         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12529         (moveCursorUpdate): use a LyXText param for support of InsetText.
12530
12531         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12532         (tripleClick): ditto
12533
12534         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12535
12536         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12537
12538         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12539
12540         * text2.C (SetSelection): set correct update status if inset_owner
12541         (ToggleFree): ditto
12542
12543 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12544
12545         * tabular.C: remove some commented code.
12546
12547 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * BufferView_pimpl.C: call hideSplash()
12550
12551         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12552
12553         * include_form.h:
12554         * bibforms.h: remove
12555
12556         * lyxfunc.C:
12557         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12558           add LFUN_CHILD_CREATE
12559
12560         * counters.h: fix tiny typo
12561
12562         * lyx_cb.C:
12563         * lyx.h:
12564         * lyx_gui.C:
12565         * lyx.C: move splash to frontends/xforms/
12566
12567         * lyx_gui_misc.C: move Include and Bibform to frontends
12568
12569         * lyxvc.h: clarify comment
12570
12571         * vspace.C: tiny housekeeping
12572
12573 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12574
12575         * text.C (PrepareToPrint): RTL Fix.
12576
12577         * paragraph.C (GetUChar): New method.
12578         (String):  Use GetUChar.
12579
12580         * buffer.C (asciiParagraph): Use GetUChar.
12581
12582 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12583
12584         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12585
12586 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * buffer.h:
12589         * buffer.C: rename to getLogName(), handle
12590           build log / latex log nicely
12591
12592 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12593
12594         * MenuBackend.C:
12595         * MenuBackend.h: remove support for reference menuitem type.
12596
12597 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12598
12599         * BufferView_pimpl.C: housekeeping
12600         * BufferView_pimpl.h:
12601         * LyXView.h:
12602         * Makefile.am:
12603         * Timeout.C:
12604         * Timeout.h:
12605         * minibuffer.h: move Timeout GUI-I
12606
12607 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12608
12609         * lyxrc.C (read): Update converters data-structures.
12610
12611 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12612
12613         * LaTeX.h (operator!=): add operator != for Aux_Info
12614
12615 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12616
12617         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12618
12619         * LaTeXLog.C: deleted, useful code moved to Buffer
12620
12621         * buffer.h:
12622         * buffer.C: new function getLatexLogName()
12623
12624         * lyx_gui_misc.C:
12625         * lyx_gui.C:
12626         * lyxvc.C:
12627         * lyxvc.h:
12628         * lyxfunc.C: use frontends for LaTeX and VC logs
12629
12630 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12631
12632         * LaTeX.h: yet another std:: that Allan forgot.
12633
12634         * Variables.C (set): renamed from isset(), because this clashes
12635         with some HP-UX macros (grr).
12636
12637 2001-02-06  Allan Rae  <rae@lyx.org>
12638
12639         * LaTeX.h: Another bug fix.  Missing std:: this time.
12640
12641 2001-02-04  Allan Rae  <rae@lyx.org>
12642
12643         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12644         floats problem. I've left it commented out because it's not quite
12645         correct.  It should also test that the current object is a table or
12646         figure inset.  But I haven't gotten around to figuring out how to do
12647         that.  I *think* it'll be something like: "table" == inset.type()
12648
12649         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12650         bool.
12651
12652 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12653
12654         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12655         all the citation/databases/styles in the auxilary file.
12656         (run): Rerun latex if there was a babel language error.
12657
12658 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12659
12660         * text.C (Backspace): Preserve the font when changing newline char
12661         with a space.
12662         (BreakParagraph): If the cursor is before a space, delete the space.
12663
12664         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12665
12666 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12667
12668         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12669         new argument (code).
12670         (ChangeCitationsIfUnique): New method.
12671
12672         * paragraph.C (GetPositionOfInset): Handle bibkey.
12673
12674 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12675
12676         * BufferView_pimpl.h: change type of Position::par_pos to
12677         LyXParagraph::size_type.
12678
12679 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12680
12681         * BufferView_pimpl.C (savePosition, restorePosition): Write
12682         messages to minibuffer.
12683
12684 2001-01-28  José Matos  <jamatos@fep.up.pt>
12685
12686         * buffer.C (makeDocBookFile): adds support for document language.
12687         A silly restriction on the name of LatexCommand types where removed.
12688         Added support for CDATA sections, allows to chars unescaped, used
12689         among others in code, to avoid escape < and >.
12690
12691 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12692
12693         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12694         saved positions instrad of a stack. Furthermore, a position is
12695         stored using paragraph id/paragraph position.
12696
12697         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12698         Remove LFUN_REF_BACK.
12699
12700 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12701
12702         * converter.C (dvipdfm_options): New method.
12703
12704 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12705
12706         * vspace.C (isValidLength): Fix for empty input string.
12707
12708 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12709
12710         * LyXAction.C (init): change description of LFUN_FIGURE to
12711         "Insert Graphics"
12712
12713 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12714
12715         * LaTeX.C: add using directive
12716
12717 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12718
12719         * MenuBackend.C (expand): Fix the sorting of the formats.
12720
12721 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * lyx_main.C: tiny error message fix
12724
12725 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12726
12727         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12728         calling fl_initialize(). This fixes the problem with ',' as
12729         decimal separator in text files.
12730
12731 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12732
12733         * trans.C (process): Fix the keymap bug.
12734
12735 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12736
12737         * LaTeX.C (scanAuxFiles): New method. Provides support for
12738         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12739         (scanLogFile) Scan for "run BibTeX" messages.
12740
12741         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12742         OT1 font encoding. Also, load the aecompl package if the ae
12743         package is loaded.
12744
12745         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12746
12747 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12748
12749         * texrow.C (increasePos): turn two error messages into debug
12750         messages.
12751
12752 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12753
12754         * LaTeX.C (scanAux): Handle the \@input macro.
12755         (runBibTeX): Use scanAux().
12756
12757         * language.C (latex_options_): New field.
12758
12759         * LaTeXFeatures.C (getMacros): Add language macros.
12760
12761         * buffer.C (makeLaTeXFile): Small fix.
12762
12763 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12764
12765         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12766
12767         * text2.C: add a using directive.
12768
12769 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12770
12771         * BufferView2.C:
12772         * lyx_gui_misc.h:
12773         * lyxfr1.C:
12774         * lyxfunc.C: kill LyXBell.
12775
12776 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12777
12778         * text.C (IsBoundary): Remove the error message
12779
12780         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12781
12782         * lyxrc.C (setDefaults): Correct initialization value for
12783         font_norm_type.
12784
12785 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12786
12787         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12788         gotoError().
12789
12790         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12791         and GotoNextNote().
12792
12793         * src/LyXAction.C: Added reference-next.
12794
12795         * text.C (InsertChar): Use contains instead of strchr.
12796
12797         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12798
12799 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12800
12801         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12802         alignment commands (when needed).
12803
12804         * text.C (InsertChar): Add ':' to number separator chars.