]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
New debugstream.
[lyx.git] / src / ChangeLog
1 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * lyx_main.C: remove the glboal debug object 
4
5         * debug.h: adjust for new debugstream
6
7         * debug.C: adjust for new debugstream and keep the global debug
8         object here.
9
10 2003-09-22  Angus Leeming  <leeming@lyx.org>
11
12         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
13         of g++ which otherwise complain that the scoped_ptr destructor can't delete
14         an incomplete class LyXFont.
15
16 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
17
18         * factory.C: bug fix in branches
19
20 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
21
22         * lyxfunc.C (processKeySym): adjust
23         (dispatch): adjust
24         (dispatch): change arg name from ev to func, adjust
25         (sendDispatchMessage): ditto
26
27         * lyx_main.C (defaultKeyBindings): adjust keybindings
28         (deadKeyBindings): ditto
29
30         * kbsequence.C (addkey): return a FuncRequest
31
32         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
33
34         * kbmap.C (bind): take a FuncRequest as arg, adjust
35         (read): adjust
36         (lookup): adjust
37         (defkey): change to take a FuncRequest as arg, adjust
38         (findbinding): take a FuncRequest as arg, adjust.
39
40         * funcrequest.h (operator=): added
41
42         * funcrequest.C (FuncRequest): default kb_action changed from
43         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
44
45         * buffer.C (dispatch): simplify
46         (dispatch): adjust to take a FuncRequest as arg, adjust
47
48         * boost.C (assertion_failed): change assertion message slightly
49
50         * ToolbarBackend.C (read): simplify
51
52         * MenuBackend.C (binding): adjust call to findbinding, add a
53         message if no binding is found.
54         (read): simplify
55         (expandToc): correct by adding a empty FuncRequest
56
57         * LyXAction.C: include <boost/assert.hpp>
58         (isPseudoAction): delete function
59         (LookupFunc): change name to...
60         (lookupFunc): this. change return type to FuncRequest.
61         (getActionName): take kb_action as arg, simplify
62         (funcHasFlag): add an assert, simplify.
63
64 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
65
66         * toc.C (action): return a FuncRequest, simplify
67
68         * lyxfunc.C (processKeySym): adjust
69         (getStatus): delete version that takes an int.
70         (getStatus): adjust
71         (dispatch): delete version that takes action as int
72         (dispatch): adjust
73         (sendDispatchMessage): simplify and adjust
74
75         * funcrequest.C (getArg): take unsigned int as arg
76
77         * ToolbarBackend.C (read): adjust
78         (add): delete version that takes func as a string.
79         (getIton): take a FuncRequest as arg
80
81         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
82         action.
83
84         * MenuBackend.C (MenuItem): add a new construct that only takes a
85         Kind, simplify the constructor use for submenus.
86         (add): adjust
87         (expandLastfiles): adjust
88         (expandDocuments): adjust
89         (expandFormats): adjust
90         (expandFloatListInsert): adjust
91         (expandFloatInsert): adjust
92         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
93
94         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
95         Remove class variables lyx_pseudo_map and lyx_arg_map
96
97         * LyXAction.C (searchActionArg): delete function
98         (getPseudoAction): delete function
99         (retrieveActionArg): delete function
100         (LookupFunc): make it return kb_action, simplify.
101         (getActionName): simplify
102
103         * factory.C (createInset): fix new bug
104
105 2003-09-19  Angus Leeming  <leeming@lyx.org>
106
107         * CutAndPaste.C (pasteSelection): remove fudge used to set the
108         masterFilename_ parameter in the include inset.
109
110         * factory.C (createInset): changes due to the changes to InsetInclude.
111
112 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
113
114         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
115
116 2003-09-18  Angus Leeming  <leeming@lyx.org>
117
118         * buffer.C:
119         * BufferView.C: pass the buffer when calling Inset::getLabelList,
120         Inset::fillWithBibKeys.
121         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
122
123 2003-09-18  Angus Leeming  <leeming@lyx.org>
124
125         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
126         variables.
127         (ctor): pass and store a 'Buffer const &'
128         (buffer): new member function.
129
130         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
131         '*this' to the LaTeXFeatures ctor.
132
133 2003-09-18  Angus Leeming  <leeming@lyx.org>
134
135         * LColor.h:
136         * lyxfont.C:
137         * lyxfont.h:
138         * lyxtext.h:
139         * text.C: rename EnumLColor as LColor_color.
140
141 2003-09-18  Angus Leeming  <leeming@lyx.org>
142
143         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
144         remove #include "insets/insetbase.h" from cursor.h.
145
146 2003-09-18  Angus Leeming  <leeming@lyx.org>
147
148         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
149         InsetOld_code to remove #include "inset.h".
150
151         * iterators.C: add #include "insets/inset.h"
152
153 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
154
155         * BufferView.C: remove more locking stuff that apparently doesn't
156         do anything sensible.
157
158 2003-09-16  André Pönitz  <poenitz@gmx.net>
159
160         * paragraph.[Ch]:
161         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
162           performance boost.
163
164 2003-09-16  Angus Leeming  <leeming@lyx.org>
165
166         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
167
168         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
169         arg/return type.
170
171         * paragraph.h: remove #include "lyxfont.h". Forward declare
172         LyXFont_size.
173
174 2003-09-16  Angus Leeming  <leeming@lyx.org>
175
176         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
177         of support/textutils.h.
178         (isWord): move the contents of support/textutils.h's IsWordChar here.
179
180         * buffer.C:
181         * lyxfind.C:
182         * rowpainter.C:
183         * text.C:
184         * text2.C: add #include "paragraph.h".
185
186         * rowpainter.C:
187         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
188
189 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
190
191         * main.C:
192         * lyx_main.C:
193         * lyx_cb.C:
194         * buffer.C:
195         * LaTeX.C: use namespace alias for lyx::support::os
196
197 2003-09-16  Angus Leeming  <leeming@lyx.org>
198
199         * bufferparams.C:
200         * bufferview_funcs.C:
201         * factory.C:
202         * lyxfunc.C:
203         * paragraph_pimpl.C:
204         * rowpainter.C:
205         * text.C: add #include "LColor.h".
206
207 2003-09-16  Angus Leeming  <leeming@lyx.org>
208
209         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
210         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
211         return LyXFont &.
212         Store the FontBits::color variable as an int rather than as an
213         LColor::colorso that we can move LColor.h out of the lyxfont.h header
214         file.
215
216         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
217         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
218         string calls together.
219
220         * lyxrc.C: add #include "LColor.h".
221
222 2003-09-15  Angus Leeming  <leeming@lyx.org>
223
224         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
225         a cow_ptr.
226
227 2003-09-15  Angus Leeming  <leeming@lyx.org>
228
229         * LColor.h: add an EnumLColor wrapper for LColor::color.
230
231         * lyxfont.[Ch] (color, setColor, realColor):
232         * lyxtext.h, text.C (backgroundColor):
233         pass EnumLColor args to/from the functions, rather than LColor::color
234         ones.
235
236         * lyxfont.h:
237         * lyxtext.h: forward declare EnumLColor.
238
239         * lyx_main.C: add #include "LColor.h".
240
241 2003-09-15  Angus Leeming  <leeming@lyx.org>
242
243         * .cvsignore: add lyx-gtk.
244
245 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
246
247         * Chktex.C
248         * LaTeX.C
249         * LaTeXFeatures.C
250         * ParagraphParameters.C
251         * Spacing.C
252         * buffer.C
253         * bufferparams.C
254         * bufferview_funcs.C
255         * chset.C
256         * counters.C
257         * funcrequest.C
258         * lyxfont.C
259         * lyxgluelength.C
260         * lyxlength.C
261         * paragraph.C
262         * paragraph_funcs.C
263         * text3.C
264         * vc-backend.C: remove usage of STRCONV
265
266 2003-09-15  Angus Leeming  <leeming@lyx.org>
267
268         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
269         explicitly define the color passed to the painter.
270
271 2003-09-15  Angus Leeming  <leeming@lyx.org>
272
273         * bufferparams.C (BufferParams): reorder member initializers to avoid
274         compiler warning.
275
276 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
277
278         * CutAndPaste.C (pasteSelection): remove an outdated #warning
279         * text.C (updateRowPositions): remove an unusual nop
280
281 2003-09-12  André Pönitz  <poenitz@gmx.net>
282
283         * BufferView_pimpl.C:
284         * Bullet.C:
285         * layout.h:
286         * lyxfunc.C:
287         * lyxlayout.[Ch]:
288         * lyxtextclass.C:
289         * rowpainter.C:
290         * text.C:
291         * text2.C:
292         * Counters.[Ch]: finish the 'automatic counters' job
293
294 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
295
296         * aspell.C: include <boost/assert.cpp> (compile fix)
297
298 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
299
300         * boost.C (assertion_failed): use lyx::support::abort instead of
301         assert.
302
303 2003-09-10  Angus Leeming  <leeming@lyx.org>
304
305         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
306         with their _fwd progeny.
307
308 2003-09-09  Angus Leeming  <leeming@lyx.org>
309
310         134 files throughtout the source tree: replace 'using namespace abc;'
311         directives with the appropriate 'using abc::xyz;' declarations.
312
313 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
314
315         * boost.C (emergencyCleanup): moved here from LAssert.c
316         (assertion_failed): new function, called by BOOST_ASSERT
317
318         * several files: change Assert to BOOST_ASSERT
319
320 2003-09-09  Angus Leeming  <leeming@lyx.org>
321
322         * buffer.[Ch]: Add an Impl class and move Buffer's member
323         variables into it. As a result move several header files out of
324         buffer.h.
325
326         Add header files to lots of .C files all over the tree as a result.
327
328 2003-09-09  Angus Leeming  <leeming@lyx.org>
329
330         * buffer.[Ch]: make Buffer's member variables private. Add
331         accessor functions.
332
333         Lots of changes all over the tree as a result.
334
335 2003-09-08  Angus Leeming  <leeming@lyx.org>
336
337         * graph.C: #include <config.h>.
338
339 2003-09-08  Angus Leeming  <leeming@lyx.org>
340
341         * BranchList.C:
342         * BufferView.C:
343         * BufferView_pimpl.C:
344         * CutAndPaste.C:
345         * DepTable.C:
346         * LaTeX.C:
347         * LaTeXFeatures.C:
348         * LyXAction.C:
349         * MenuBackend.C:
350         * TextCache.C:
351         * aspell.C:
352         * buffer.C:
353         * bufferlist.C:
354         * changes.C:
355         * chset.C:
356         * converter.C:
357         * counters.C:
358         * debug.C:
359         * graph.C:
360         * ispell.C:
361         * lyx_cb.C:
362         * lyxfind.C:
363         * lyxfunc.C:
364         * lyxlex_pimpl.C:
365         * lyxrc.C:
366         * lyxrow.C:
367         * paragraph.C:
368         * rowpainter.C:
369         * texrow.C:
370         * text.C:
371         * text2.C:
372         * toc.C: remove redundant using directives.
373
374 2003-09-07  Angus Leeming  <leeming@lyx.org>
375
376         * LaTeXFeatures.h: remove #include "support/types.h".
377         * ToolbarBackend.h: remove #include <algorithm>.
378         * changes.h: remove #include <ctime>.
379         * debug.h: remove #include <iosfwd>.
380         * graph.h: remove #include "support/std_string.h".
381         * lyx_main.h: remove #include <csignal>.
382         * lyxlex_pimpl.h: remove #include <fstream>.
383         * sgml.h: remove #include <algorithm>, <utility>.
384         * toc.h: remove #include "support/std_ostream.h".
385         Add #include <iosfwd>.
386
387 2003-09-07  Angus Leeming  <leeming@lyx.org>
388
389         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
390
391         * converter.h: forward declare LatexRunParams.
392         * encoding.h: remove #include "lyxrc.h".
393         * lyxtext.h: remove #include "LColor.h".
394         * lyxtextclass.h: remove #include "support/types.h".
395         * trans.h: remove #include "tex-accent.h".
396         * trans_mgr.h: remove #include "tex-accent.h".
397         * insets/inset.h: remove #include "support/types.h", <vector>.
398         * insets/insetcollapsable.h: remove #include "LColor.h".
399         * insets/insetinclude.h: remove #include "dimension.h".
400         * insets/insetlatexaccent.h: remove #include "dimension.h".
401         * insets/insetoptarg.h:: remove #include "insettext.h".
402         * insets/insettext.h: remove #include "dimension.h",
403         <boost/shared_ptr.hpp>
404
405         * insets/renderers.h: add #include "dimension.h".
406         * insets/updatableinset.h: add #include "support/types.h".
407
408         * many .C files: Associated changes.
409
410 2003-09-06  Angus Leeming  <leeming@lyx.org>
411
412         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
413         one, inside testInvariant.
414
415         * PrinterParams.C: new file.
416         * PrinterParams.[Ch]: move the function bodies out of line.
417
418 2003-09-06  Angus Leeming  <leeming@lyx.org>
419
420         * ParagraphParameters.h: forward declare ParameterStruct rather than
421         including its header file.
422         (depth): moved out-of-line.
423
424 2003-09-06  Angus Leeming  <leeming@lyx.org>
425
426         * BufferView_pimpl.h:
427         * kbmap.h:
428         * kbsequence.h:
429         * lyxfunc.h: forward declare LyXKeySym rather than
430         #include "frontends/LyXKeySym.h".
431
432         * BufferView_pimpl.C:
433         * kbmap.C:
434         * kbsequence.C:
435         * lyxfunc.C: associated changes.
436
437 2003-09-06  Angus Leeming  <leeming@lyx.org>
438
439         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
440         As a result, can remove the #include "insets/inset.h" from BufferView.h
441
442 2003-09-06  Angus Leeming  <leeming@lyx.org>
443
444         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
445         As a result, can remove the #include "insets/inset.h" from BufferView.h
446
447 2003-09-06  Angus Leeming  <leeming@lyx.org>
448
449         * buffer_funcs.C:
450         * buffer.h:
451         * bufferlist.C:
452         * BufferView.C:
453         * bufferview_funcs.C:
454         * BufferView_pimpl.C:
455         * CutAndPaste.C:
456         * lyx_cb.C:
457         * lyxfunc.C:
458         * paragraph.h:
459         * ParagraphParameters.C:
460         * tabular.C:
461         * text3.C:
462         * toc.C:
463         * undo_funcs.C:
464         * frontends/controllers/ControlDocument.C:
465         * insets/insetcaption.C: rearrange the #includes into some sort of
466         coherent order.
467
468         * buffer.h: remove #includes ErrorList.h, undo.h
469
470 2003-09-06  Angus Leeming  <leeming@lyx.org>
471
472         * support/types.h: add a 'depth_type' typedef, used to store the
473         nesting depth of a paragraph.
474
475         * paragraph.h:
476         * ParameterStruct.h: use this lyx::depth_type typedef rather than
477         defining explicitly.
478
479         * buffer.h:
480         * paragraph_funcs.h:
481         * ParagraphParameters.h:
482         * sgml.h: use lyx::depth_type rather than Paragraph or
483         ParameterStruct's depth_type.
484
485         * buffer.h
486         * paragraph_funcs.h: no need to #include paragraph.h anymore.
487
488         * BufferView.C:
489         * BufferView_pimpl.C:
490         * CutAndPaste.C:
491         * ParagraphParameters.C:
492         * buffer_funcs.C:
493         * bufferlist.C:
494         * bufferview_funcs.C:
495         * lyx_cb.C:
496         * lyxfunc.C:
497         * tabular.C:
498         * text3.C:
499         * toc.C:
500         * undo_funcs.C:
501         * frontends/LyXView.C:
502         * frontends/controllers/ControlDocument.C:
503         * frontends/controllers/ControlErrorList.C:
504         * insets/insetbibitem.C:
505         * insets/insetbranch.C:
506         * insets/insetcaption.C:
507         * insets/insetcollapsable.C:
508         * insets/insetenv.C:
509         * insets/insetert.C:
510         * insets/insetfloat.C:
511         * insets/insetfoot.C:
512         * insets/insetfootlike.C:
513         * insets/insetnewline.C:
514         * insets/insetquotes.C:
515         * insets/insettabular.C:
516         * insets/insettext.C:
517         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
518
519         * frontends/controllers/ControlChanges.C: #include "changes.h".
520
521 2003-09-06  Angus Leeming  <leeming@lyx.org>
522
523         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
524         than #including paragraph.h.
525
526         * ParagraphList.h:
527         * RowList.h: deleted. Superfluous.
528
529         * CutAndPaste.h:
530         * iterators.h:
531         * lyxcursor.h:
532         * lyxtext.h:
533         * text_funcs.h:
534         * undo.h:
535         * undo_funcs.h:
536         * insets/inset.h:
537         * insets/insettext.h: use ParagraphList_fwd.h rather than
538         ParagraphList.h.
539
540         * paragraph.h: don't forward declare ParagraphList.
541
542         * buffer.h:
543         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
544         rather than ParagraphList.h. paragraph.h is still needed for the
545         Paragraph::depth_type parameters.
546
547         * textcursor.h: enable it to compile stand-alone in light of the
548         above changes.
549
550         * bufferview_funcs.C:
551         * iterators.C:
552         * lyxfunc.C:
553         * lyxrow_funcs.C:
554         * paragraph.C:
555         * rowpainter.C:
556         * text.C:
557         * text2.C:
558         * text3.C:
559         * text_funcs.C:
560         * textcursor.C:
561         * undo.C:
562         * frontends/controllers/ControlParagraph.C:
563         * frontends/controllers/ControlTabular.C:
564         * insets/insetmarginal.C:
565         * insets/insetminipage.C:
566         * insets/insetnote.C:
567         * insets/insetoptarg.C: add header files needed to compile again.
568
569 2003-09-06  Angus Leeming  <leeming@lyx.org>
570
571         * RowList_fwd.h: new file, forward-declaring Row rather than
572         #including lyxrow.h.
573
574         * lyxrow_funcs.h:
575         * lyxtext.h:
576         * paragraph.h:
577         * insets/insettext.h: use it instead of RowList.h
578
579         * bufferview_funcs.C:
580         * lyxfunc.C:
581         * lyxrow_funcs.C:
582         * paragraph.C:
583         * rowpainter.C:
584         * text.C:
585         * text2.C:
586         * text3.C: #include "RowList.h".
587
588 2003-09-05  Angus Leeming  <leeming@lyx.org>
589
590         * factory.C (createInset):
591         * vspace.C (c-tor): replace sscanf call with an istringstream.
592         * ispell.C: re-add missing HP/UX headers.
593         * lyxserver.C: re-add missing  os2 headers.
594
595 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
596
597         * BranchList.C:
598         * graph.C:
599         * ispell.C:
600         * lastfiles.C:
601         * lyx_cb.C:
602         * lyxserver.C:
603         * texrow.C:
604         * text3.C: re-add missing system headers, needed for 2.95.2.
605
606 2003-09-05  Angus Leeming  <leeming@lyx.org>
607
608         Changes most place everywhere due to the removal of using directives
609         from support/std_sstream.h.
610
611 2003-09-05  Angus Leeming  <leeming@lyx.org>
612
613         Replace LString.h with support/std_string.h,
614         Lsstream.h with support/std_sstream.h,
615         support/LIstream.h with support/std_istream.h,
616         support/LOstream.h with support/std_ostream.h.
617
618         Changes resulting throughout the tree.
619
620 2003-09-05  Angus Leeming  <leeming@lyx.org>
621
622         * sgml.h: ensure that the header file can be compiled stand-alone.
623         * *.C: strip out redundant #includes. (320 in total.)
624
625 2003-09-04  Angus Leeming  <leeming@lyx.org>
626
627         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
628         here (from getPackages).
629
630         * debug.[Ch]: add a new EXTERNAL tag.
631
632 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
633
634         * text2.C (cursorEnd): simplify
635         (setCursor): adjust
636         (getColumnNearX): adjust
637
638         * text.C (computeBidiTables): adjust
639         (fill): adjust
640
641         * rowpainter.C (paintChars): adjust
642         (paintSelection): adjust
643         (paintChangeBar): adjust
644         (paintText): adjust
645
646         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
647         lastPos instead.
648         (numberOfSeparators): adjust
649
650 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
651
652         * LyXAction.C:
653         * box.[Ch]:
654         * lfuns.h:
655         * lyxfunc.C:
656         * text3.C: Restricts the mouse click functionality
657         of insets like bibtex, include, toc and floatlist to the visible
658         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
659         up the dialogs. Cursor has to be in front of the inset (i.e.
660         start of row) for this to function.
661
662 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
663
664         * bufferview_funcs.C (currentState): output row information
665
666 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
667
668         * bufferview_funcs.C (currentState): output paragraph position
669
670 2003-09-04  Angus Leeming  <leeming@lyx.org>
671
672         * FloatList.h: move out #include "Floating.h".
673         * LaTeX.h: move out #include "DepTable.h".
674         * LyXAction.h: move out #include "funcrequest.h".
675         * buffer.h: move out #include "author.h", "iterators.h".
676         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
677         * lyx_main.h: move out #include "errorlist.h".
678         * lyxfunc.h: move out #include "FuncStatus.h".
679         * lyxtext: move out #include "lyxcursor.h".
680         * paragraph_pimpl.h: move out #include "counters.h".
681
682 2003-09-03  Angus Leeming  <leeming@lyx.org>
683
684         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
685         preamble_snippets list, enabling us to add snippets to the preamble
686         only if the snippet was not there already.
687
688 2003-09-04  Angus Leeming  <leeming@lyx.org>
689
690         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
691
692 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
693
694         * lyxfunc.C (dispatch): if fitCursor did something be sure to
695         update
696
697 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
698
699         * BranchList.C: point fix, earlier forgotten
700
701 2003-09-02  Angus Leeming  <leeming@lyx.org>
702
703         * box.C (contains): renamed from 'contained' after a fantastic
704         amount of hot air.
705
706 2003-09-02  John Levon  <levon@movementarian.org>
707
708         * BufferView.C:
709         * lyxcursor.h:
710         * lyxcursor.C:
711         * lyxfunc.C:
712         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
713
714 2003-09-02  John Levon  <levon@movementarian.org>
715
716         * text2.C: simplification of cursorEnd(), including partial
717         fix for bug 1376
718
719 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
720
721         * buffer.C (readFile): add a space
722
723 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
724
725         * BufferView_pimpl.C (update): remove bogus fitCursor() call
726
727 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
728
729         * buffer.C (readFile): new function, take a filename and a
730         ParagraphList::iterator
731         (readFile): adjust
732         (readFile): adjust, make it private. don't use setStream, make
733         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
734         always contain the filename.
735
736         * BufferView.C (insertLyXFile): simplify and make it work for
737         gzipped files.
738
739 2003-08-30  John Levon  <levon@movementarian.org>
740
741         * Makefile.am: fix dist (from Kayvan)
742
743 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
744
745         * most files: change to use const Buffer refs
746
747 2003-08-27  André Pönitz  <poenitz@gmx.net>
748
749         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
750         on top of ownerPar().
751
752 2003-08-27  John Levon  <levon@movementarian.org>
753
754         * funcrequest.C: properly initialise POD members
755
756 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
757
758         * lyxtext.h (top_y): move top_y from here
759         * text.C:
760         * text2.C:
761         * text3.C:
762         * BufferView.[Ch]:
763         * BufferView_pimpl.[Ch]: to here
764         * frontends/screen.C:
765         * insets/insettabular.C:
766         * insets/insettext.C: adjust
767         * rowpainter.[Ch] (paintRows): remove LyXText & argument
768
769 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
770
771         * BufferView.[Ch]:
772         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
773
774 2003-08-26  André Pönitz  <poenitz@gmx.net>
775
776         * paragraph_func.[Ch] (outerPar): new function
777
778         * paragraph.C:
779         * paragraph_funcs.C:
780         * paragraph_funcs.h:
781         * paragraph_pimpl.C:
782         * text2.C: remove Inset::par_owner
783
784 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
785
786         * lyxrow_funcs.C:
787         * lyxtext.h:
788         * text.C:
789         * text2.C: eliminates the needFullRow/display() stuff
790         altogether, putting the logic in metrics/draw in the insets.
791
792 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
793
794         * text2.C (redoParagraphInternal, redoParagraphs):
795         * text.C (redoParagraph): add a call to updateRowPositions at the
796         end of each 'metrics-like' call. Remove all others.
797         (getRow): remove the 'y-computing' version.
798         (getRowNearY): do not compute nor return the real y. Solve the
799         'y < 0' problem and simplify.
800
801 2003-08-22  Angus Leeming  <leeming@lyx.org>
802
803         * *.[Ch]: clean-up of licence and author blurbs.
804         Also move config.h out of a few .h files and into a few .C files.
805
806 2003-08-22  André Pönitz  <poenitz@gmx.net>
807
808         * lyxrow.[Ch]: add x_ and *fill_ members
809
810         * lyxtext.h:
811         * text.C:
812         * rowpainter.C:
813         * text2.C: adjust/remove prepareToPrint() calls
814
815 2003-08-22  André Pönitz  <poenitz@gmx.net>
816
817         * lyxrow.[Ch]: add  end_ member
818
819         * lyxrow_funcs.C: use LyXRow::end_
820
821         * lyxtext.h (singleWidth): add LyXFont parameter
822
823         * rowpainter.C:
824         * text2.C: adjust LyXText::singleWidth() calls
825
826         * text.C (redoParagraph): simplify row breaking logic
827
828
829 2003-08-19  André Pönitz  <poenitz@gmx.net>
830
831         * funcrequest.C: initialize button_ member
832
833         * text3.C:
834         * rowpainter.[Ch]: interface consolidation
835
836 2003-08-18  André Pönitz  <poenitz@gmx.net>
837
838         * BufferView.C:
839         * BufferView_pimpl.C:
840         * lyxfind.C:
841         * paragraph_funcs.C:
842         * rowpainter.C:
843         * text3.C: remove LyXScreen::draw() and fitCursor calls
844
845         * BranchList.h: remove spurious semicolons
846
847         * MenuBackend.C: fix branchlist related crash
848
849 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
850
851         * BranchList.[Ch]:
852         * InsetList.[Ch]:
853         * LColor.[Ch]:
854         * LyXAction.C:
855         * Makefile.am:
856         * MenuBackend.[Ch]:
857         * bufferparams.[Ch]:
858         * factory.C:
859         * lfuns.h:
860         * lyxfunc.C:
861         * text3.C: implements the 'branch inset'
862         idea. This allows the output of various versions of a document
863         from a single source version, selectively outputing or suppressing
864         output of parts of the text.
865         This implementation contains a 'branch list editor' in a separate
866         tab of the document settings dialog. Branches are user definable
867         and have a "display colour" to distinguish them on-screen.
868
869         ColorHandler was somewhat cleaned up.
870         (1) make possible a dynamically growing LColor list by allowing
871         the graphic context cache to grow along (vector);
872         (2) eliminate an IMHO unnecessary step in colour allocation.
873
874 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
875
876         * BufferView_pimpl.C: compile fix
877
878 2003-08-15  André Pönitz  <poenitz@gmx.net>
879
880         * rowpainter.C: remove extra metrics calls
881
882         * lyxtext.h: merge the two constructors into a single one,
883           pass reference to owner's par list
884
885         * BufferView_pimpl.C:
886         * text.C:
887         * text2.C: adjust
888
889 2003-08-15  André Pönitz  <poenitz@gmx.net>
890
891         * lyxrow_funcs.[Ch]:
892         * lyxtext.h:
893         * paragraph.h:
894         * paragraph_funcs.C:
895         * rowpainter.C:
896         * text.C:
897         * text2.C:
898         * text3.C:
899         * text_funcs.C: split LyXText::rowlist_ into individual
900         Paragraph::rows_ chunks
901
902         * BufferView.[Ch]:
903         * BufferView_pimpl.[Ch]:
904         * lyxfind.C:
905         * lyxtext.h:
906         * text3.C: remove toggleSelection()
907
908 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
909
910         * bufferlist.C: beautify two alerts (shorter text of buttons)
911         * buffer.C: Remove redundant ' ' from message
912         * tabular.h:
913         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
914         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
915         rename VALIGN_CENTER to VALIGN_MIDDLE
916
917 2003-08-11  André Pönitz  <poenitz@gmx.net>
918
919         * lyxtext.h (getPar):
920         * text.C: new function
921
922 2003-08-11  André Pönitz  <poenitz@gmx.net>
923
924         * Makefile.am:
925         * tracer.[Ch]: remove unneeded files
926
927         * InsetList.[Ch]: remove resizeInsetsLyXText()
928
929         * lyxtext.h:
930         * text.C:
931         * text2.C:
932         * text3.C: merge insertParagraphs() and appendParagraph()
933         remove breakAgain(), update()
934
935         * BufferView_pimpl.[Ch]:
936         * bufferview_funcs.[Ch]:
937         * lyxfunc.C:
938         * paragraph.[Ch]:
939         * rowpainter.C:
940         * tabular.C: adjust after text & InsetList changes.
941
942 2003-08-08  André Pönitz  <poenitz@gmx.net>
943
944         * text.C (insertChar, backspace): replace rowlist fiddling
945         with rebreak of full par
946
947         * lyxtext.h:
948         * text.C (breakAgainOneRow, redoHeightOfParagraph,
949         checkParagraph, updateInset): removed
950
951 2003-08-07  André Pönitz  <poenitz@gmx.net>
952
953         * paragraph.C:
954         * text3.C: merge some LFUN handlers, remove dead code
955
956 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
957
958         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
959
960 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
961
962         * text2.C (DEPM): fix part of bug 1255 and 1256
963
964 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
965
966         * BufferView_pimpl.C (workAreaDispatch): change to use
967         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
968         that are no mouse related.
969
970 2003-08-05  André Pönitz  <poenitz@gmx.net>
971
972         * BufferView.[Ch]:
973         * BufferView_pimpl.[Ch]:
974         * bufferview_funcs.C:
975         * text2.C:
976         * text3.C: rip out "deep update"
977
978         * textcursor.[Ch] (last_sel_cursor): remove unused member
979
980 2003-08-04  André Pönitz  <poenitz@gmx.net>
981
982         * BufferView.[Ch]:
983         * BufferView_pimpl.[Ch]:
984         * ParagraphParameters.C:
985         * bufferview_funcs.C:
986         * lyx_cb.C:
987         * lyxfind.C:
988         * lyxfunc.C:
989         * text.C:
990         * text2.C:
991         * text3.C: replace "complicated" BufferView::update(...) calls with
992         simpler ones.
993
994         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
995
996 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
997
998         * Makefile.am (lyx_SOURCES): add paper.h
999
1000 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1001
1002         * Makefile.am: move things around so that both lyx-qt and
1003         lyx-xforms can be built (according to --with-frontend). Then lyx
1004         is a symbolic link to lyx-[firstfrontend]
1005
1006 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1007
1008         * Always use std::endl with lyxerr
1009
1010 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1011
1012         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1013
1014 2003-08-01  André Pönitz  <poenitz@gmx.net>
1015
1016         * BufferView.[Ch]:
1017         * BufferView_pimpl.[Ch]:
1018         * lyxfunc.C:
1019         * text3.C: merge BufferView::repaint() and BufferView::update()
1020
1021 2003-08-01  José Matos  <jamatos@lyx.org>
1022
1023         * buffer.[Ch]: file_format is no longer a buffer data element.
1024
1025 2003-08-01  André Pönitz  <poenitz@gmx.net>
1026
1027         * BufferView.C:
1028         * lyxtext.h:
1029         * text.C:
1030         * text2.C: make redoParagraph more independent of current cursor
1031
1032         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1033         * text.C:
1034         * text2.C: remove unneeded members
1035
1036 2003-07-30  André Pönitz  <poenitz@gmx.net>
1037
1038         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1039
1040         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1041           create a single function...
1042
1043         * paragraph_funcs.C (moveItem): ... here.
1044
1045         * text.C:
1046           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1047
1048 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1049
1050         * LColor.[Ch]: Add comment and greyedout logical colors.
1051
1052 2003-07-30  André Pönitz  <poenitz@gmx.net>
1053
1054         * tabular.C: don't use Assert too heavily. This crashes where it
1055           shouldn't
1056
1057 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1058
1059         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1060         is disabled (bug 1232)
1061
1062 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1063
1064         * factory.C: limited 'arg' scope
1065
1066 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1067
1068         * factory.C: fixed Note submenu issues
1069
1070 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1071
1072         * factory.C: submenu for Note/Comment/Greyedout
1073
1074 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1075
1076         * lyx_main.C (LyX):
1077         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1078
1079 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1080
1081         * LaTeXFeatures.C:
1082         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1083         greyedout. Patch provided by Jürgen Spitzmüller.
1084
1085 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         * kbmap.C (read): fix error message when reading bind files
1088
1089 2003-07-29  Angus Leeming  <leeming@lyx.org>
1090
1091         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1092         certainly does not do what it purports to do. I am doing it, and
1093         us, a favour by killing it.
1094
1095 2003-07-28  José Matos  <jamatos@lyx.org>
1096
1097         * buffer.C (readBody, do_writeFile):
1098         * paragraph.C(readParagraph): \end_document replaces \the_end.
1099
1100 2003-07-29  André Pönitz  <poenitz@gmx.net>
1101
1102         * BufferView.[Ch]:
1103         * BufferView_pimpl.[Ch]:
1104         * lyxfunc.C:
1105         * text2.C:
1106         * text3.C:
1107         * textcursor.[Ch]: remove toggleToggle & Co
1108
1109 2003-07-28  José Matos  <jamatos@fep.up.pt>
1110
1111         * buffer.C (readParagraph):
1112         * params_func (readParToken, readParagraph):
1113         * paragraph.C (write): \layout -> \begin_layout.
1114
1115 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1116
1117         * lyxlex_pimpl.C (setFile): clean up slightly.
1118
1119         * bufferparams.h: add compressed var
1120
1121         * buffer_funcs.C (readFile): adjust for LyXLex change
1122         (newFile): ditto + simplify
1123
1124         * buffer.C (writeFile): handle writing of compressed files
1125
1126         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1127         Check if the file is compressed and set a bufferparm if so.
1128
1129         * Makefile.am (lyx_LDADD): remove explicit -lz
1130
1131 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1132
1133         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1134         makeDocBookFile): put the real LyX version in the first line of
1135         the file
1136
1137         * version.h:
1138         * version.C.in: remove lyx_docversion
1139
1140         * tabular.C (write_attribute): add a template-based version to
1141         write enums properly
1142
1143 2003-07-28  André Pönitz  <poenitz@gmx.net>
1144
1145         * lyxtext.h:
1146         * text.C:
1147         * text2.C:
1148         * text3.C: use doubles again for x-coordinates. They are needed.
1149
1150 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1151
1152         * messages.C (getLocaleDir): use lyx_localedir()
1153
1154         * lyxlex_pimpl.C (setFile): compress stuff
1155
1156         * buffer.C (writeFile): add some compression stuff
1157         (do_writeFile): new func, dont call expliti close... will this
1158         breake anything?
1159
1160         * Makefile.am (lyx_LDADD): add -lz
1161
1162 2003-07-28  José Matos  <jamatos@fep.up.pt>
1163
1164         * buffer.C: increment file format.
1165         * paragraph_funcs (readParagraph, readParToken):
1166         * paragraph.C (readParagraph): add \end_layout.
1167
1168 2003-07-27  Angus Leeming  <leeming@lyx.org>
1169
1170         * Makefile.am: remove special casing for configure-time setting of
1171         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1172
1173         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1174         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1175
1176 2003-07-26  André Pönitz  <poenitz@gmx.net>
1177
1178         * paragraph_func.[Ch]:
1179         * paragraph.C (realizeFont): inline it whereever it is used
1180
1181         * rowpainter.C:
1182         * text.C:
1183         * text2.C:
1184         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1185
1186
1187 2003-07-26  André Pönitz  <poenitz@gmx.net>
1188
1189         *       lyxtext.h:
1190         * text.C:
1191         * text2.C: get rid of LyXText::need_break_row
1192
1193 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1194
1195         * toc.[Ch]: put namespace toc inside namespace lyx
1196
1197         * MenuBackend.C (expandToc2): adjust for lyx::toc
1198         (expandToc): ditto
1199
1200         * lyxfunc.C (dispatch): adjust for lyx::find
1201
1202         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1203         lyx::find instead. Reorganize a bit.
1204         (LyXReplace): rename to replace
1205         (LyXFind): rename to find
1206
1207         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1208         (dispatch): ditto
1209
1210 2003-07-26  André Pönitz  <poenitz@gmx.net>
1211
1212         * text.C (setHeightOfRow): restrict scope of temporary variable
1213
1214         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1215           code (never has been used?)
1216
1217 2003-07-27  Asger Alstrup  <alstrup@local>
1218
1219         * text.C (fill): Optimise algorithm to exploit that we can reuse
1220         the LyXFont for many characters.
1221         (setHeightOfRow): Same thing.
1222         (rowBreakPoint): Same thing.
1223
1224 2003-07-26  Asger Alstrup  <alstrup@local>
1225
1226         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1227
1228         * text.C (singleWidth): Spurious font copying in hot-spot
1229         singleWidth avoided. Reorder tests for arabic for efficiency.
1230
1231         * text.C (fill): handle empty paragraphs better.
1232
1233 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1234
1235         * ispell.C:
1236         * encoding.h: add includes
1237
1238         * lyxrc.C: remove reading of bind files
1239
1240         * lyx_main.C (init): setup bindings and menus only if we have a
1241         gui.
1242
1243         * kbmap.C (read): new method. Do the actual reading of bind
1244         files.
1245
1246         * converter.C (dvipdfm_options):
1247         * bufferparams.C:
1248         * lyxrc.C (read):
1249         (output): adapt PAPER_* enums.
1250
1251         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1252
1253         * bufferparams.h: remove paper-related enums from there
1254
1255         * paper.h: New file. A trivial header file to hold paper-related
1256         enums. It should later expand to contain many paper-related
1257         horrors access.
1258
1259         * lyxrc.C: declare extern displayTranslator
1260
1261 2003-07-27  José Matos  <jamatos@fep.up.pt>
1262
1263         * tabular.[Ch] (linuxdoc): add support for tables and figures
1264         (linuxdoc).
1265
1266 2003-07-27  José Matos  <jamatos@fep.up.pt>
1267
1268         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1269         consistency in both functions.
1270         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1271
1272 2003-07-26  Asger Alstrup  <alstrup@local>
1273
1274         * rowpainter.C (paintRows): Change algorithm to work directly on
1275         the insets rather than asking every character in the document
1276         whether its an inset.
1277
1278 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1279
1280         * buffer.C (openFileWrite): factorize some code
1281
1282 2003-07-26  Angus Leeming  <leeming@lyx.org>
1283
1284         * lyx_cb.C:
1285         * lyx_main.[Ch]: replace occurances of system_tempdir with
1286         os::getTmpDir().
1287
1288 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1289
1290         * rename Inset to InsetOld
1291
1292 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1293
1294         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1295         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1296         which I think is a bit clearer. EDIT is gone, since it was
1297         premature optimisation, and broken for mathed anyway.
1298         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1299         with cursor positioning in insets as well (math insets still do not
1300         work, but that's a different story anyway.) It mysteriously
1301         crashes sometimes with undo in the first paragraph, but I'm fairly
1302         confident that this is a compiler bug.
1303
1304 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1305
1306         * paragraph.C (Paragraph): adjust for new clone return type
1307         (operator==): ditto
1308         (copyIntoMinibuffer): ditto
1309
1310 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1311
1312         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1313         by not having a special case, and always doing a full rebreak of
1314         the document after undo.
1315
1316 2003-07-23  Angus Leeming  <leeming@lyx.org>
1317
1318         * factory.C (createInset): InsetExternal::setParams now takes a
1319         Buffer const * arg.
1320
1321 2003-07-23  Angus Leeming  <leeming@lyx.org>
1322
1323         * factory.C (createInset): changed interface to the external and
1324         graphics mailers' string2params functions.
1325
1326 2003-07-23  Angus Leeming  <leeming@lyx.org>
1327
1328         * factory.C (createInset): pass a
1329         Buffer const * parameter to InsetExternalMailer's string2params.
1330
1331 2003-07-22  John Levon  <levon@movementarian.org>
1332
1333         * Thesaurus.h: include the right aiksaurus header
1334
1335 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1336
1337         * MenuBackend.C (expand): check menu shortcuts unconditionally
1338
1339 2003-07-21  Angus Leeming  <leeming@lyx.org>
1340
1341         * factory.C (createInset): pass a
1342         buffer_path parameter to InsetGraphicsMailer's string2params.
1343
1344 2003-07-21  Angus Leeming  <leeming@lyx.org>
1345
1346         * BufferView_pimpl.C (buffer):
1347         * buffer.C (d-tor):
1348         * lyx_main.C (LyX):
1349         * lyxfunc.C (dispatch):
1350         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1351         rather than the grfx shortcut.
1352
1353 2003-07-21  André Pönitz  <poenitz@gmx.net>
1354
1355         * rowpainter.C: remove unused variables
1356
1357         * tabular_funcs.C:
1358         * tabular_funcs.h: move to tabular.C
1359         * Makefile.am: adjust
1360
1361         * tabular.[Ch]: basic optical cleaning
1362
1363         * author.h: pass references, not values
1364
1365 2003-07-18  André Pönitz  <poenitz@gmx.net>
1366
1367         * lyxtext.h:
1368         * metricsinfo.C:
1369         * metricsinfo.h:
1370         * rowpainter.C:
1371         * text.C:
1372         * text2.C:
1373         * text3.C: two-phase drawing for InsetText and InsetTabular
1374         some float -> int changes.
1375
1376 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1377
1378         * lyx_main.C: fix the fix
1379
1380 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1381
1382         * lyx_main.C: fix a crash in batch mode if no files specified
1383         * converter.C: ws
1384
1385 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1386
1387         * format.[Ch] (papersize): moved to BufferParams
1388         * converter.[Ch] (dvips_options): moved to BufferParams
1389         (dvipdfm_options): moved to anon namespace
1390         * bufferparams.[Ch]: added above functions.
1391
1392 2003-07-17  André Pönitz  <poenitz@gmx.net>
1393
1394         * lyxtext.h:
1395         * rowpainter.C:
1396         * text2.C: don't call inset->update() anymore
1397
1398         * metricsinfo.[Ch]: add convenience constructor
1399
1400 2003-07-16  André Pönitz  <poenitz@gmx.net>
1401
1402         * lyxcursor.[Ch]:
1403         * lyxfunc.[Ch]:
1404         * text.C:
1405         * text2.C: replace the LyXCursor::irow_ member with
1406          on-demand computation of the value
1407
1408 2003-07-16  John Levon  <levon@movementarian.org>
1409
1410         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1411
1412 2003-07-15  André Pönitz  <poenitz@gmx.net>
1413
1414         * text.C:
1415         * text2.C: remove no more needed refresh_row
1416
1417 2003-07-15  André Pönitz  <poenitz@gmx.net>
1418
1419         * lyxtext.h:
1420         * rowpainter.C:
1421         * text2.C:
1422         * text3.C: refresh_status tristate -> need_update bool
1423
1424 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1425
1426         * lyxtext.h (init): remove reinit argument (act as if always true)
1427         * text2.C: adjust to that
1428
1429 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1430
1431         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1432         * text3.C: use it to delete selections in some cases
1433         (bugs 441, 673, 702, 954).
1434
1435 2003-07-14  André Pönitz  <poenitz@gmx.net>
1436
1437         * rowpainter.[Ch]: reduce interface
1438
1439 2003-07-14  André Pönitz  <poenitz@gmx.net>
1440
1441         * BufferView_pimpl.C:
1442         * text2.C: adjust after removing unused BufferView * argument
1443
1444 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1445
1446         * text2.C (init): fix a crash fired on resize
1447
1448 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1449
1450         * buffer.[Ch]: added new closing signal
1451         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1452         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1453         BufferView::Pimpl via the closing the signal
1454
1455 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1456
1457         * buffer.[Ch]: take out all bv-related from buffer
1458         * BufferView.C:
1459         * BufferView_pimpl.[Ch]: connect to new signals
1460         * CutAndPaste.C: removed useless asserts
1461         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1462         * lyxvc.[Ch]:
1463         * vc-backend.[Ch]:
1464         * lyxfunc.C: moved view-related funciontality from vc here
1465         * paragraph.C: removed outdated comments
1466         * text.C: ws
1467
1468 2003-07-10  André Pönitz  <poenitz@gmx.net>
1469
1470         * BufferView_pimpl.C:
1471         * tabular.h:
1472         * tabular_funcs.C:
1473         * text.C:
1474         * text2.C: remove InsetText::InnerCache, clean up consequences
1475
1476 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1477
1478         * ispell.C: fix two typos in error messages
1479
1480 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1481
1482         * Extend Note inset to other forms of annotation like Comment
1483         and Greyedout. Right button click gives dialog.
1484
1485         Files modified or added (+):
1486
1487         * insetnote.[Ch]
1488         * FormNote.[Ch]      +
1489         * ControlNote.[Ch]   +
1490         * form_note.fd       +
1491         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1492         frontends/controllers
1493         * xforms/Dialogs.C
1494         * factory.C
1495
1496 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1497
1498         * aspell.C: add missing namespace lyx::support
1499
1500 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1501
1502         * BufferView.[Ch] (newFile): Add
1503         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1504         * LaTeX.[Ch] (message): added this signal and use it
1505         * buffer.[Ch] (busy, message): added these signals and use them
1506         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1507         * converter.C:
1508         * exporter.C:
1509         * format.C:
1510         * importer.C: use buffer signals instead of direct bv calling
1511         * lyx_cb.[Ch] (ShowMessage): removed
1512         * lyx_main.C:
1513         * lyxfunc.C:
1514         * paragraph_funcs.C:
1515         * text2.C: use buffer signals
1516
1517 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1518
1519         * introduce namespace lyx::graphics
1520
1521 2003-07-02  André Pönitz  <poenitz@gmx.net>
1522
1523         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1524
1525 2003-07-01  André Pönitz  <poenitz@gmx.net>
1526
1527         * text.C:
1528         * text2.C:
1529         * text3.C:
1530         * text_funcs.[Ch]:
1531         * textcursor.h:
1532         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1533           text*.C to text_func.C
1534
1535 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1536
1537         * introduce namespace lyx::support
1538
1539 2003-06-30  André Pönitz  <poenitz@gmx.net>
1540
1541         * Chktex.C:
1542         * funcrequest.C:
1543         * lyxtext.h:
1544         * text.C: re-enable --with-included-string
1545
1546 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1547
1548         * textcursor.C: add <config.h>
1549
1550         * text.C (getWord): remove const from word_location arg
1551
1552         * lyxvc.C (getLogFile): fix const type order
1553
1554         * lyxtext.h: remove const from word_location arg, add arg name
1555
1556         * lyxlayout.h: currect type on labeltype.
1557
1558         * importer.C: correct \file
1559
1560         * converter.C (intToFormat): use std:: on ret val, ws changes
1561
1562         * bufferlist.h: correct \file
1563
1564         * buffer.C (makeLinuxDocFile): fix const type order
1565         (makeDocBookFile): ditto
1566         (fillWithBibKeys): use std:: on stdlib args.
1567
1568         * CutAndPaste.C: fix authors.
1569         (availableSelections): use std:: on return vector
1570
1571 2003-06-27  André Pönitz  <poenitz@gmx.net>
1572
1573         * BufferView_pimpl.C:
1574         * bufferview_funcs.C:
1575         * lyxcursor.C:
1576         * lyxcursor.h:
1577         * lyxfunc.C:
1578         * lyxtext.h:
1579         * rowpainter.C:
1580         * text.C:
1581         * text2.C:
1582         * text3.C: remove LyXCursor::row_ member
1583
1584         * lyxtext.h:
1585         * text.C: rename fullRebreak() to partialRebreak() and implement
1586           a fullRebreak() that really bereks fully
1587
1588         * textcursor.h: new struct for cursor-related data
1589
1590 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1591
1592         * lyx_main.C (LyX): get full path of document loaded on the
1593         command line
1594
1595 2003-06-26  André Pönitz  <poenitz@gmx.net>
1596
1597         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1598           remove unused/broken operator>,<,>=.
1599
1600         *       text.C: remove only use of broken operator<= in an Assert().
1601
1602 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1603
1604         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1605         moved errorlist_.clear to showErrorList
1606
1607 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1608
1609         * converter.C (scanLog, runLaTeX):
1610         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1611         move the bv->showErrorList call to the callers
1612         * lyxfunc.C: i.e. here...
1613         * text2.C: and here
1614         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1615         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1616         namespace, the second to...
1617         * buffer_funcs (BufferFormat, parseErrors): added
1618         * errorlist.C (ErrorList(TeXErrors const &)): removed
1619
1620 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1623
1624 2003-06-24  "Garst R. Reese" <reese@isn.net>
1625
1626         * debug.C: fix typo
1627
1628 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1629
1630         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1631
1632         * version.C.in: change docversion to 1.4
1633
1634 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1635
1636         * buffer.C: fix a bug just introduced
1637
1638 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1639
1640         * buffer.[Ch]: added the parseError signal and use it, removed
1641         sgmlError
1642         * BufferView.[Ch] (addError): moved to ...
1643         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1644         to the Buffer::parseError signal to catch (guess what) parse errors
1645         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1646
1647 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1648
1649         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1650         ability to create a buffer and to return an existing one from
1651         the list. Moved these functions to...
1652         * buffer_funcs.[Ch]: added
1653         * BufferView.[Ch] (loadLyXFile): added
1654         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1655         job removed from bufferlist::loadLyXFile.
1656         * buffer.C (setReadOnly): make it work without view
1657         (i.e added an if (users))
1658
1659 2003-06-19  Angus Leeming  <leeming@lyx.org>
1660
1661         * lfuns.h:
1662         * LyXAction.C (init):
1663         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1664         with LFUN_DIALOG_SHOW <name> <data>.
1665
1666 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1667
1668         * CutAndPaste.C (availableSelections): small compilation fix for
1669         ancient (gcc 2.9x) compilers
1670
1671 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1672
1673         * text3.C (cursorNext): add tmp var
1674
1675         * text2.C (updateCounters): for function calling out of for clause
1676         (replaceSelectionWithString): ditto
1677         (insertStringAsParagraphs): ditto
1678         (getColumnNearX): add tmp var
1679         (setCursorFromCoordinates): add tmp var
1680         (cursorDownParagraph): add tmp var
1681         (deleteEmptyParagraphMechanism): add tmp var
1682
1683         * text.C (insertChar): add tmp var
1684
1685         * rowpainter.C (paintDepthBar): add tmp var
1686
1687         * CutAndPaste.C (availableSelections): potentially check all
1688         paragraphs in a cut to fill the shown strings.
1689
1690 2003-06-18  André Pönitz  <poenitz@gmx.net>
1691
1692         * kbmap.[Ch]: use vector<> instead of list<>
1693
1694 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1695
1696         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1697         pasteSelection with index
1698
1699         * text2.C (pasteSelection): modify, call pasteSelection with index
1700
1701         * paragraph.C (asString): reimplement version with no interval to
1702         call the one with interval.
1703
1704         * lyxtext.h: add index arg to pasteSelection
1705
1706         * MenuBackend.C (MenuItem): handle PasteRecent
1707         (Menu::read::Menutags): add md_pasterecent
1708         (read): handle it
1709         (expandPasteRecent): new function
1710         (expand): use it
1711
1712         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1713
1714         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1715         the limited stack
1716         (availableSelections): new function
1717
1718 2003-06-17  Angus Leeming  <leeming@lyx.org>
1719
1720         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1721
1722 2003-06-17  Angus Leeming  <leeming@lyx.org>
1723
1724         * lfuns.h:
1725         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1726
1727         * lyxfunc.C (dispatch): invoke it.
1728
1729 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1730
1731         * iterators.C (operator++, ParPosition): reintroduce some
1732         const_cast for the benefit of older compilers.
1733
1734 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1735
1736         * text3.C (dispatch): do not modify clipboard when doing
1737         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1738         LFUN_DELETE_SKIP on a selection selection
1739
1740 2003-06-16  André Pönitz  <poenitz@gmx.net>
1741
1742         * BufferView.C:
1743         * buffer.C:
1744         * buffer.h:
1745         * paragraph.C:
1746         * tabular.[Ch]: IU of clone() and getLabelList();
1747
1748 2003-06-13  André Pönitz  <poenitz@gmx.net>
1749
1750         * tabular.h: compactification
1751
1752 2003-06-12  André Pönitz  <poenitz@gmx.net>
1753
1754         * tabular.C:
1755         * tabular.h:
1756         * tabular_funcs.h: some renaming plus whitespace
1757
1758 2003-06-12  André Pönitz  <poenitz@gmx.net>
1759
1760         * BufferView.C:
1761         * BufferView_pimpl.C:
1762         * CutAndPaste.C:
1763         * buffer.C:
1764         * iterators.[Ch]:
1765         * lyxfunc.C:
1766         * text.C:
1767         * toc.C: Return a Paragraph & for ParIterator::operator*()
1768
1769 2003-06-11  John Levon  <levon@movementarian.org>
1770
1771         * lyx_main.C:
1772         * ToolbarBackend.h:
1773         * ToolbarBackend.C: add "Toolbars" section and
1774         put the flags there
1775
1776 2003-06-10  Angus Leeming  <leeming@lyx.org>
1777
1778         * lfuns.h:
1779         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1780
1781         * lyxfunc.C (dispatch): invoke it.
1782
1783 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1784
1785         * main.C: protect <ios> with HAVE_IOS
1786         (main): protect sync_with_stdio with HAVE_IOS
1787
1788 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1789
1790         * text2.C (cutSelection): adjust
1791         (pasteSelection): adjust
1792
1793         * messages.C: handle get of empty string
1794
1795         * main.C (main): use sync_with_stdio(false)
1796
1797         * lyxfunc.C (dispatch): adjust
1798
1799         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1800         (WriteAs): remove unneeded BufferView arg.
1801
1802         * bufferparams.h: use correct types on papersize, papersize2 and
1803         paperpackage.
1804
1805         * bufferparams.C (readToken): adjust for type
1806         (writeLaTeX): add missing cases to switch.
1807
1808         * bufferlist.C (quitWriteBuffer): adjust
1809         (close): adjust
1810
1811         * buffer.C (asciiParagraph): remove some commented code.
1812
1813         * CutAndPaste.C: remove current_view extern variable.
1814         (cutSelection): add BufferParams arg.
1815         (eraseSelection): add BufferParams arg.
1816         (pasteSelection): add Buffer const & arg
1817
1818 2003-06-07  John Levon  <levon@movementarian.org>
1819
1820         * buffer.C:
1821         * paragraph_funcs.C:
1822         * paragraph_pimpl.C:
1823         * text.C:
1824         * text2.C:
1825         * paragraph.h:
1826         * paragraph.C: allow InsetERT to freely space lines,
1827         and some consolidation of code
1828
1829 2003-06-06  José Matos  <jamatos@fep.up.pt>
1830
1831         * buffer.C (makeDocBookFile): fix bug #821
1832
1833 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1834
1835         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1836
1837 2003-06-04  Angus Leeming  <leeming@lyx.org>
1838
1839         * buffer.C: bump format to 224.
1840
1841 2003-06-05  André Pönitz  <poenitz@gmx.net>
1842
1843         * text2.C (redoParagraphs): remove two const_cast<>
1844
1845 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1846
1847         * ParagraphList.h: remove last remnants of NO_STD_LIST
1848
1849 2003-06-03  Angus Leeming  <leeming@lyx.org>
1850
1851         * factory.C (createInset): small change to the way InsetExternal's params
1852         are set.
1853
1854 2003-06-04  André Pönitz  <poenitz@gmx.net>
1855
1856         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1857
1858         * paragraph_pimpl.h:
1859         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1860
1861         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1862
1863         * undo_funcs.C: make some simple cases of undo work again
1864
1865 2003-06-03  John Levon  <levon@movementarian.org>
1866
1867         * ispell.C: HPUX doesn't have sys/select.h
1868         (from Albert Chin)
1869
1870 2003-06-03  John Levon  <levon@movementarian.org>
1871
1872         * CutAndPaste.C: update tabular and include inset
1873         buffer references
1874
1875         * buffer.h:
1876         * paragraph.h:
1877         * paragraph.C: remove owningBuffer(), don't pass Buffer
1878         to clone()
1879
1880         * factory.C: insetGraphicsParams changed
1881
1882 2003-06-02  John Levon  <levon@movementarian.org>
1883
1884         * LyXAction.C:
1885         * factory.C:
1886         * lfuns.h:
1887         * lyxfunc.C:
1888         * text3.C: remove insetparent
1889
1890 2003-06-02  John Levon  <levon@movementarian.org>
1891
1892         * buffer.h:
1893         * buffer.C: fix inset_iterator.end(), move out of line
1894         (bug 1149)
1895
1896 2003-06-01  John Levon  <levon@movementarian.org>
1897
1898         * text3.C: use a proper cut/paste when doing inset
1899         insert (from Jürgen Spitzmüller)
1900
1901 2003-06-01  John Levon  <levon@movementarian.org>
1902
1903         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1904
1905 2003-05-30  André Pönitz  <poenitz@gmx.net>
1906
1907         * rowpainter.C: unify second drawing phase
1908
1909 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1910
1911         * trans_mgr.C: remove one case of current_view
1912
1913         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1914
1915         * paragraph_funcs.h: remove paragraph.h include
1916
1917         * paragraph.h: delete NO_STD_LIST stuff
1918
1919         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1920
1921         * buffer.h: remove paragraph.h include
1922
1923         * ParagraphList.C: delete file
1924
1925         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1926
1927         * toc.C (getTocList): adjust
1928
1929         * paragraph_pimpl.C (validate): adjust
1930
1931         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1932
1933         * paragraph.C (Paragraph): adjust
1934         (getPositionOfInset): use const_iterator, adjust
1935         (bibitem): use const_iterator, adjust
1936         (setInsetOwner): adjust
1937
1938         * iterators.C (operator++): adjust
1939
1940         * InsetList.[Ch]: Replace selfmade iterator with standard
1941         vector::iterator also introduce const_iterator. Remove getPos,
1942         getInset and setInset from InsetTable. Adjust accordingly.
1943
1944         * BufferView.C (lockInset): adjust
1945         (ChangeInsets): adjust
1946
1947         * tabular.[Ch]: delete commented same_id functions
1948
1949 2003-05-28  John Levon  <levon@movementarian.org>
1950
1951         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1952
1953 2003-05-28  André Pönitz  <poenitz@gmx.net>
1954
1955         * metricsinfo.[Ch]: remove 'fullredraw' member
1956
1957 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1958
1959         * lyxtextclass.C (operator): remove caching.
1960
1961 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1962
1963         * text3.C: adjust
1964
1965         * text2.C (cursorBottom): adjust
1966         (setCounter): use ParagraphList::find, adjust
1967
1968         * text.C (workWidth): use ParagraphList::find, adjust
1969
1970         * lyxcursor.C (LyXCursor): adjust
1971
1972         * buffer.C (inset_iterator): adjust
1973
1974         * ParagraphList.h: make iterator(value_type) private, make
1975         ParagraphList a friend of iterator.
1976
1977         * ParagraphList.C (find): new function
1978
1979         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1980
1981 2003-05-27  André Pönitz  <poenitz@gmx.net>
1982
1983         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1984
1985 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1986
1987         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1988
1989 2003-05-26  John Levon  <levon@movementarian.org>
1990
1991         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1992
1993 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1994
1995         * remove same_id from function signatures, adjust.
1996
1997 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1998
1999         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2000
2001         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2002
2003         * paragraph.C (Paragraph): get rid of same_ids parameter
2004
2005         * ParagraphList.C (insert): adjust
2006         (push_back): adjust
2007
2008 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2009
2010         * paragraph_funcs.C (breakParagraph): adjust
2011         (breakParagraphConservative): adjust
2012
2013         * buffer.C (readParagraph): adjust
2014
2015         * ParagraphList.C (insert): take a reference instead of a pointer
2016         (insert): adjust
2017
2018         * paragraph.[Ch] (id): new function
2019
2020         * bufferlist.C (newFile): adjust
2021
2022         * ParagraphList.C (ParagraphList): adjust
2023         (assign): adjust
2024         (push_back): take a reference instead of a pointer.
2025
2026         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2027
2028         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2029         instead.
2030
2031         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2032         set else use old code.
2033
2034         * ParagraphList.C: remove all NO_NEXT code and only compile this
2035         code of NO_STD_LIST is set.
2036
2037 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2038
2039         * BufferView_pimpl.C:
2040         * TextCache.C:
2041         * TextCache.h:
2042         * bufferlist.C:
2043         * errorlist.h:
2044         * format.C:
2045         * format.h:
2046         * graph.C:
2047         * lyxfunc.C:
2048         * lyxrc.C:
2049         * graphics/GraphicsConverter.C:
2050         * graphics/PreviewLoader.C: header adjustment
2051
2052 2003-05-23  Angus Leeming  <leeming@lyx.org>
2053
2054         * LaTeXFeatures.[Ch] (useBabel): new method.
2055         * bufferparams.C (writeLaTeX): use it.
2056
2057 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2058
2059         * ParagraphList.h (set): remove unused function.
2060
2061 2003-05-23  André Pönitz  <poenitz@gmx.net>
2062
2063         * BufferView.C:
2064         * BufferView_pimpl.C:
2065         * buffer.C:
2066         * buffer.h:
2067         * lyxfunc.C:
2068         * undo_funcs.C: setUndo reworked
2069
2070         * iterators.[Ch]: add access to topmost ParagraphList
2071
2072         * lyxtext.[Ch] (workWidth): add a const
2073
2074 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2075
2076         * texrow.[Ch] (increasePos): remove function
2077         * exporter.C (export): removed unused var and outdated comment
2078
2079 2003-05-23  Angus Leeming  <leeming@lyx.org>
2080
2081         * latexrunparams.h: rename fragile as moving_arg.
2082         * paragraph.C (simpleTeXOnePar): ditto.
2083         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2084
2085 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2086
2087         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2088         (createUndo): ditto
2089         (textUndoOrRedo): comment out a currently unused var.
2090
2091         * paragraph.h (NO_NEXT): enable NO_NEXT
2092
2093         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2094
2095         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2096
2097         * exporter.C (Export): adjust for removeAutoInsets removal.
2098
2099         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2100
2101         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2102
2103         * BufferView.[Ch] (removeAutoInsets): delete function
2104
2105 2003-05-22  Angus Leeming  <leeming@lyx.org>
2106
2107         * latexrunparams.h: add a free_spacing variable.
2108
2109         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2110         to pass moving_arg, as the data is stored in runparams.fragile.
2111
2112         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2113         to Inset::latexOptional or to simpleTeXOnePar.
2114
2115         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2116         free_spacing arg to Inset::latexOptional.
2117
2118         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2119         free_spacing arg.
2120
2121 2003-05-22  Angus Leeming  <leeming@lyx.org>
2122
2123         * latexrunparams.h: add fragile and use_babel variables.
2124
2125         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2126         * buffer.C (makeLaTeXFile): store this returned value in
2127         runparams.use_babel, thus passing it to the inset::latex methods.
2128
2129         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2130         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2131
2132         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2133         longer has a fragile arg, as it is stored in runparams.fragile.
2134
2135         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2136         moving_arg parameter as the data is stored in runparams.fragile.
2137
2138         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2139         a fragile parameter as the data is stored in runparams.fragile.
2140
2141 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2142
2143         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2144
2145 2003-05-22  Angus Leeming  <leeming@lyx.org>
2146
2147         * latexrunparams.h: add a 'bool nice' which defaults to false.
2148
2149         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2150         now encapsulated within runparams.
2151
2152         * bufferlist.C (updateIncludedTeXfiles):
2153         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2154
2155 2003-05-22  Angus Leeming  <leeming@lyx.org>
2156
2157         * latexrunparams.h: new file containing struct LatexRunParams.
2158         * Makefile.am: add new file.
2159
2160         * LaTeX.[Ch] (c-tor, run):
2161         * buffer.[Ch] (makeLaTeXFile):
2162         * bufferlist.[Ch] (updateIncludedTeXfiles):
2163         * converter.C (convert, scanLog):
2164         * converter.[Ch] (runLaTeX):
2165         * exporter.C (Export):
2166         * paragraph.[Ch] (simpleTeXOnePar):
2167         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2168         * paragraph_funcs.[Ch] (latexParagraphs):
2169         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2170         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2171         pass around a LatexRunParams parameter.
2172
2173 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2174
2175         * paragraph.[Ch]: remove unused constructor
2176
2177         * ParagraphList.C (erase): new function, taking two iterators
2178
2179 2003-05-22  André Pönitz  <poenitz@gmx.net>
2180
2181         * undo_funcs.C: remove duplicated code
2182
2183         * iterator.[Ch]: operator=
2184
2185 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2186
2187         * tabular.C (SetMultiColumn): ws changes
2188
2189         * rowpainter.C (paintFirst): get rid of a ->previous
2190
2191         * lyx_cb.C (getPossibleLabel): parlist simplification
2192
2193         * BufferView.C (ChangeInsets): simplify slightly.
2194
2195 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2196
2197         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2198         * lfuns.h: new LFUN_SPACE
2199         * lyxfunc.C: protected space has a new lfun
2200         * paragraph_funcs.C: read new space insets
2201         * text3.C:
2202         * factory.C: handle new space insets
2203
2204 2003-05-22  André Pönitz  <poenitz@gmx.net>
2205
2206         * BufferView.C:
2207         * BufferView_pimpl.C:
2208         * buffer.[Ch]:
2209         * lyxfunc.C:
2210         * undo_funcs.C: return a ParIterator from getParFromID.
2211
2212         * iterators.[Ch]: add two const's
2213
2214 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2215
2216         * toc.C (getTocList): adjust
2217
2218         * iterators.[Ch]: rework for parlist
2219
2220         * buffer.C (par_iterator_begin): adjust
2221         (par_iterator_end): adjust
2222
2223         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2224
2225         * BufferView.C (removeAutoInsets): adjust
2226         (ChangeInsets): adjust
2227
2228 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2229
2230         * text.C (top_y): fix bug 1110
2231
2232 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2233
2234         * errorlist.[Ch]: added
2235         * buffer.C:
2236         * BufferView.[Ch]:
2237         * BufferView_pimpl.C:
2238         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2239         instead
2240
2241 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2242
2243         * Makefile.am: ensure that lyx is relinked upon changes to the
2244         various "convenience" libs.
2245
2246 2003-05-20  Angus Leeming  <leeming@lyx.org>
2247
2248         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2249         files are compiled in alphabetical order again.
2250
2251         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2252
2253 2003-05-19  Angus Leeming  <leeming@lyx.org>
2254
2255         * gettext.[Ch]: remove "char const * _(char const *)".
2256
2257 2003-05-19  André Pönitz  <poenitz@gmx.net>
2258
2259         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2260
2261         * Makefile.am:
2262         * BufferView.C:
2263         * DepTable.h:
2264         * LaTeXFeatures.C:
2265         * buffer.C:
2266         * lyxfont.C:
2267         * lyxlex.h:
2268         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2269
2270 2003-05-19  André Pönitz  <poenitz@gmx.net>
2271
2272         * buffer.C:
2273         * lyxlayout.[Ch]:
2274         * lyxtextclass.[Ch]:
2275         * paragraph.C:
2276         * paragraph_funcs.[Ch]:
2277         * text2.C:
2278         * text3.C: more insetenv work
2279
2280 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2281
2282         * ParagraphParameters.C (params2string): small bug fixed
2283
2284 2003-05-16  André Pönitz  <poenitz@gmx.net>
2285
2286         * debug.C:
2287         * bufferview_funcs.C: patch from Kornel Benko to prevent
2288           crash when _(...) is called twice in a statement
2289
2290 2003-05-16  André Pönitz  <poenitz@gmx.net>
2291
2292         * BufferView.C:
2293         * lyxfunc.C:
2294         * text.C:
2295         * text2.C:
2296         * text3.C:
2297         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2298
2299 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2300
2301         * lyx_main.C (init): remove spurious static_cast
2302
2303 2003-05-14  André Pönitz  <poenitz@gmx.net>
2304
2305         * BufferView.C: fix format string
2306
2307 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2308
2309         * BufferView.[Ch] (insertErrors): removed
2310         * BufferView.[Ch] (showErrorList): added
2311         * buffer.C (runChkTeX):
2312         * converter.C (scanLog): call showErrorList instead of inserterrors
2313
2314 2003-05-13  André Pönitz  <poenitz@gmx.net>
2315
2316         * BufferView_pimpl.C:
2317         * buffer.C:
2318         * bufferview_func.C:
2319         * MenuBackend.C:
2320         * lyxfunc.C:
2321         * lyxrc.C:
2322         * tex-accent.C:
2323         * text3.C:
2324         * toc.C:
2325         * tabular_funcs.h: tostr() from its own header
2326
2327         * ParagraphParameters.C:
2328         * ToolbarBackend.C:
2329         * bufferparams.C:
2330         * format.C:
2331         * lyxlex_pimpl.C:
2332         * text3.C: STRCONV()
2333
2334 2003-05-12  André Pönitz  <poenitz@gmx.net>
2335
2336         * BufferView.C:
2337         * BufferView_pimpl.C:
2338         * CutAndPaste.C:
2339         * LaTeX.C:
2340         * LaTeXFeatures.C:
2341         * ParagraphParameters.C:
2342         * buffer.C:
2343         * bufferlist.C:
2344         * bufferparams.C:
2345         * bufferview_funcs.C:
2346         * converter.C:
2347         * counters.C:
2348         * debug.C:
2349         * exporter.C:
2350         * format.C:
2351         * importer.C:
2352         * lyx_cb.C:
2353         * lyx_main.C:
2354         * lyxfont.C:
2355         * lyxfunc.C:
2356         * lyxvc.C:
2357         * paragraph.C:
2358         * paragraph_funcs.C:
2359         * tabular.C:
2360         * tabular_funcs.C:
2361         * text2.C:
2362         * text3.C:  boost::format -> bformat  all over the place
2363
2364
2365 2003-05-09  André Pönitz  <poenitz@gmx.net>
2366
2367         * LColor.[Ch]: Pimpl the #include <map> away
2368
2369 2003-05-09  John Levon  <levon@movementarian.org>
2370
2371         * bufferlist.C: never remove emergency saves
2372
2373 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2374
2375         * Makefile.am: better lib building
2376
2377 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2378
2379         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2380         instead.
2381         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2382         (simpleTeXSpecialChars): adjust
2383         (simpleTeXSpecialChars): adjust
2384         * paragraph.C (simpleTeXOnePar): adjust
2385         * buffer.C (makeLaTeXFile): adjust
2386
2387         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2388
2389         * text2.C (changeDepth): parlist cleanup
2390         (getColumnNearX): ditto
2391
2392         * rowpainter.C (getLabelFont): parlist cleanup
2393
2394         * bufferlist.C (newFile): parlist cleanup
2395
2396         * CutAndPaste.C (eraseSelection): parlist cleanup
2397
2398         * BufferView_pimpl.C (trackChanges): parlist cleanup
2399         (dispatch): ditto
2400
2401         * BufferView.C (lockInset): parlist cleanup.
2402         (ChangeInsets): ditto
2403
2404 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2405
2406         * CutAndPaste.h: Update file header.
2407
2408         * CutAndPaste.C: Update file header.
2409         Store the parts cut out of the Document in a limited_stack.
2410         (copySelection): adjust
2411         (pasteSelection): new function, takes the index in the limited stack.
2412         (nrOfParagraphs): adjust
2413         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2414         simplify error inset insertion.
2415         (checkPastePossible): adjust
2416
2417 2003-05-06  John Levon  <levon@movementarian.org>
2418
2419         * text2.C: don't cast wrap inset to float
2420
2421 2003-05-05  André Pönitz  <poenitz@gmx.net>
2422
2423         * iterator.C:
2424         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2425
2426         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2427           few naked Paragraph *.
2428
2429 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2430
2431         * bufferparams.C: Output warning if a document with missing
2432         TeX document class is loaded
2433         * exporter.C: Disable TeX exports if the document class is missing
2434         * lyxtextclass.C:
2435         * lyxtextclass.h:
2436         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2437         isTeXClassAvailable()
2438
2439 2003-05-03  John Levon  <levon@movementarian.org>
2440
2441         * BufferView.h:
2442         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2443         explicit cursor show/hide
2444
2445         * BufferView_pimpl.h:
2446         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2447         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2448
2449         * lyxfunc.C: hide cursor before dispatching.
2450
2451         * lyx_cb.C:
2452         * lyxfind.C:
2453         * text.C:
2454         * text3.C: remove explicit cursor hides
2455
2456 2003-05-02  André Pönitz  <poenitz@gmx.net>
2457
2458         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2459
2460         * undo_funcs.C:
2461         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2462           linked lists
2463
2464         * text2.C: tiny whitespace
2465
2466 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2467
2468         * undo_funcs.C: almost only ws changes.
2469
2470         * ParagraphList.C (splice): just return if pl is empty.
2471
2472 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2473
2474         * ParagraphList.C (splice): new function.
2475
2476         * CutAndPaste.C (pasteSelection): use it
2477
2478 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2479
2480         * CutAndPaste.C (pasteSelection): remove the last next and
2481         previous from this file.
2482
2483 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2484
2485         * CutAndPaste.C (pasteSelection): more clean up, user proper
2486         ParagraphList functions for pasteing.
2487
2488         * ParagraphList.C (insert): new function, three arg insert
2489
2490 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2491
2492         * ParagraphList.C (insert): new function, three arg insert
2493
2494         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2495         not on paragraphs.
2496
2497 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2500
2501 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2502
2503         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2504
2505 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2506
2507         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2508         (copySelection): clean up a bit.
2509         (pasteSelection): use make_pair
2510
2511         * ParagraphList.C (ParagraphList): implement copy constructor
2512         (operator=): implement, base on copy constructor.
2513         (assign): new func
2514
2515         * paragraph.C (erase): return a bool
2516
2517         * paragraph_pimpl.C (erasePos): remove function, move contents...
2518         (erase): ... here. Return a bool.
2519         (erase): call erase instead of erasePos.
2520
2521 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2522
2523         * ParagraphList.h: define PitPosPair
2524         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2525         ParagraphList, fix a bug on pasting multiple pars
2526         * text2.C: change interface to C&P
2527
2528 2003-04-30  André Pönitz  <poenitz@gmx.net>
2529
2530         * undo_func.C: revert part of yesterday's patch 2
2531
2532 2003-04-30  John Levon  <levon@movementarian.org>
2533
2534         * LColor.C: s/tabular/table/
2535
2536 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2537
2538         * text3.C (dispatch): do not convert iterator -> pointer
2539         * undo_funcs.C (setCursorParUndo): ditto
2540         * text_funcs.C (transposeChars): ditto
2541
2542         * text2.C (setLayout): ws changes only
2543
2544         * text.C (breakParagraph): do not convert iterator -> pointer
2545         (insertChar): ditto
2546         (acceptChange): ditto
2547         (rejectChange): ditto
2548         (changeCase): ditto
2549         (Delete): ditto
2550         (backspace): ditto
2551
2552         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2553         pointer
2554
2555 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2556
2557         * text3.C (gotoInset): YABG (yet another bad getChar)
2558
2559 2003-04-29  André Pönitz  <poenitz@gmx.net>
2560
2561         * paragraph.h: make operator= private unimplemented as long as
2562           it is unusable
2563
2564         * ParagraphList.C: whitespace
2565
2566         * paragraph.[Ch]:
2567         * paragraph_pimpl.[Ch]:
2568         * paragraph_funcs.C:
2569         * CutAndPaste.C:
2570         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2571
2572         * text2.C:
2573           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2574
2575 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2576
2577         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2578         * paragraph.[Ch] (erase):
2579         * paragraph_pimpl.[Ch] (erase): change return type and value
2580         * text2.C (cutSelection): some rework
2581
2582 2003-04-28  John Levon  <levon@movementarian.org>
2583
2584         * bufferlist.C: changes for unsaved changes dialog
2585
2586 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2587
2588         * bufferlist.C (newFile): set language (messages_) for new
2589         documents also.
2590
2591         * buffer.C (readFile): ws changes only.
2592
2593 2003-04-28  André Pönitz  <poenitz@gmx.net>
2594
2595         * undo_funcs.C:
2596         * lyxfunc.C:
2597         * buffer.[Ch]:
2598         * BufferView_pimpl.C:
2599         * BufferView.C: getParFromID related ParagraphList::iterator changes
2600
2601 2003-04-28  André Pönitz  <poenitz@gmx.net>
2602
2603         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2604           Changes
2605
2606 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2607
2608         * messages.C: remove one more localedir class variable.
2609
2610 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2611
2612         * messages.C (getLocaleDir): singleton generation function
2613         (Pimpl): use it.
2614         (Messages): add a default constructor.
2615
2616         * main.C (main): do not setup localedir here, do not call
2617         gettext_init.
2618
2619         * gettext.C (_): use it.
2620         (gettext_init): delete funciton
2621
2622 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2623
2624         * gettext.C (getLyXMessages): new singleton generating function.
2625
2626         * buffer.C (updateDocLang): adjust
2627
2628         * Makefile.am (messages.o): add target
2629         (main.o): remove target
2630
2631 2003-04-27  John Levon  <levon@movementarian.org>
2632
2633         * bufferlist.C:
2634         * lyx_cb.C:
2635         * lyxfunc.C:
2636         * lyxvc.C: specify cancel button in Alert::prompt
2637
2638 2003-04-26  John Levon  <levon@movementarian.org>
2639
2640         * text3.C:
2641         * lyxfunc.C:
2642         * lfuns.h:
2643         * LyXAction.C: add LFUN_INSET_SETTINGS
2644
2645         * lyxfunc.C: don't enable tabular-feature when there's
2646         just any locking inset
2647
2648 2003-04-26  John Levon  <levon@movementarian.org>
2649
2650         * bufferlist.C: re-add Cancel to buffer close question
2651
2652         * lyxfunc.C: fix import UI a bit
2653
2654 2003-04-25  John Levon  <levon@movementarian.org>
2655
2656         * gettext.C: remove the broken asserts for now
2657
2658 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2659
2660         * messages.C: make case where setlocale cannot comply work better.
2661
2662         * buffer.C (updateDocLang): new function
2663         (changeLanguage): use it
2664         (readFile): use it
2665
2666         * text2.C (setCounter): use B_ a bit.
2667
2668         * lyxlayout.C (Read): be sure to trim the label strings.
2669
2670         * messages.C (Messages): fix typo in comment
2671
2672         * buffer.C (readFile): set message_ after file is loaded.
2673         (makeDocBookFile): remove double return
2674         (changeLanguage): reset message_ upon language change.
2675         (B_): new func, use this to get translated buffer strings.
2676
2677         * main.C: add myself and Jean Marc as authors.
2678
2679 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2680
2681         * messages.[hC]: pimplify Messages, and three different pimpls to be
2682         used in different circumstances.
2683
2684         * gettext.[Ch]: change for use with new message code.
2685
2686 2003-04-24 André Pönitz <poenitz@gmx.net>
2687
2688         * factory.C: support for eqref
2689
2690 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2691
2692         * messages.[Ch]: add missing char
2693
2694         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2695
2696         * messages.[Ch]: New files
2697
2698 2003-04-18  John Levon  <levon@movementarian.org>
2699
2700         * BufferView.h:
2701         * BufferView.C:
2702         * BufferView_pimpl.C:
2703         * lfuns.h:
2704         * LyXAction.C:
2705         * lyxtext.h:
2706         * text2.C: remove layout-copy/paste (bug 778)
2707
2708 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2709
2710         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2711
2712 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2713
2714         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2715         if they succeed. Act accordingly.
2716
2717 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2718
2719         * text2.C (setCharFont): adjust
2720         (setCounter): adjust
2721         (insertStringAsLines): adjust
2722
2723         * text.C (leftMargin): adjust
2724         (setHeightOfRow): adjust
2725
2726         * rowpainter.C (paintFirst): adjust
2727         (paintLast): adjust
2728
2729         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2730         (outerHook): ditto
2731         (isFirstInSequence): ditto
2732         (getEndLabel): ditto
2733         (outerFont): adjust
2734
2735         * paragraph.C (getParLanguage): comment out some hard stuff.
2736
2737         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2738         (sgmlError): ditto
2739         (simpleDocBookOnePar): ditto
2740         (makeDocBookFile): use ParagraphList::iterator
2741
2742         * CutAndPaste.C (pasteSelection): adjust
2743
2744 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2745
2746         * text2.C (getFont): adjust
2747         (getLayoutFont): adjust
2748         (getLabelFont): adjust
2749
2750         * paragraph_funcs.C (TeXOnePar): adjust
2751
2752         * buffer.C (simpleLinuxDocOnePar): adjust
2753         (simpleDocBookOnePar): adjust
2754
2755         * CutAndPaste.C (pasteSelection): adjust
2756
2757         * BufferView.C (getEncoding): adjust
2758
2759         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2760
2761 2003-04-16  John Levon  <levon@movementarian.org>
2762
2763         * lyxfind.C: use parlist stuff for search/changes
2764
2765 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2766
2767         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2768
2769         * text2.C (deleteEmptyParagraphMechanism): adjust
2770
2771         * text2.[Ch] (ownerParagraph): delete func (both of them
2772
2773 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2774
2775         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2776
2777 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2778
2779         * ParagraphList.C: prepare for NO_NEXT
2780
2781 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2782
2783         * text2.C (getFont): adjust
2784         (getLayoutFont): adjust
2785         (getLabelFont): adjust
2786
2787         * paragraph.C (getFont): adjust
2788         (getLabelFont): adjust
2789         (getLayoutFont): adjust
2790
2791         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2792
2793 2003-04-15  John Levon  <levon@movementarian.org>
2794
2795         From Angus Leeming
2796
2797         * lyx_main.C: handle Include in .ui files
2798
2799 2003-04-15  John Levon  <levon@movementarian.org>
2800
2801         * MenuBackend.C: make the doc files length shorter
2802
2803         * ToolbarBackend.h:
2804         * ToolbarBackend.C: handle toolbar placement flags,
2805         Minibuffer
2806
2807 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2808
2809         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2810         adjust
2811
2812         * paragraph_funcs.C (TeXOnePar): adjust
2813
2814         * paragraph.C (getLabelFont): add outerfont arg, adjust
2815         (getLayoutFont): ditto
2816         (simpleTeXOnePar): adjust
2817
2818         * paragraph_pimpl.C (realizeFont): delete func
2819
2820 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2821
2822         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2823         row argument, constify cur argument.
2824
2825 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2826
2827         * text2.C (getFont): adjust
2828         (getLayoutFont): adjust
2829         (getLabelFont): adjust
2830
2831         * paragraph_funcs.C (TeXOnePar): adjust
2832         (outerFont): new func...
2833         (realizeFont): ...moved out from here, changed this to facilitate
2834         transition
2835
2836         * paragraph.C (getFont): take outerfont as arg, adjust
2837         (simpleTeXOnePar): add outerfont arg, adjust
2838
2839         * buffer.C (simpleLinuxDocOnePar): adjust
2840         (simpleDocBookOnePar): adjust
2841
2842         * CutAndPaste.C (pasteSelection): adjust
2843
2844         * BufferView.C (getEncoding): adjust
2845
2846 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2847
2848         * text2.C (setCharFont): adjust
2849         (setCounter): adjust
2850
2851         * text.C (leftMargin): adjust
2852         (setHeightOfRow): adjust
2853
2854         * rowpainter.C (paintFirst): adjust
2855         (paintLast): adjust
2856
2857         * paragraph_pimpl.C (realizeFont): adjust
2858
2859         * paragraph.C (isFirstInSequence): move from here...
2860         * paragraph_funcs.C (isFirstInSequence): ...to here
2861
2862         * paragraph.C (outerHook): move from here...
2863         * paragraph_funcs.C (outerHook): ...to here
2864
2865         * paragraph.C (depthHook): move from here...
2866         * paragraph_funcs.C (depthHook): ...to here
2867
2868         * paragraph.C (getEndLabel): move from here...
2869         * paragraph_funcs.C (getEndLabel): ...to here
2870
2871         * text2.C (realizeFont): move from here...
2872         * paragraph_funcs.C (realizeFont): ...to here
2873
2874 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2875
2876         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2877
2878 2003-04-14  Angus Leeming  <leeming@lyx.org>
2879
2880         * LColor.[Ch]: scrap LColor mathcursor.
2881
2882 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2883
2884         * lyxlex.[Ch] (text): delete function
2885         * trans.C (Load): adjust
2886         * paragraph_funcs.C (readParToken): adjust
2887
2888 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2889
2890         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2891         vector<char> instead of a char[].
2892
2893         * lyxlex_pimpl.C (getString): adjust
2894         (next): adjust
2895         (lex): use getString
2896         (eatLine): adjust
2897         (nextToken): adjust
2898
2899         * lyxlex.C (text): use pimpl_->getString()
2900         (getBool): ditto
2901         (findToken): ditto
2902
2903 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2904
2905         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2906         (makeFontEntriesLayoutSpecific): temp var for par.size()
2907         (setLayout): temp var for ownerParagraphs().end()
2908         (fullRebreak): temp var for rows().end()
2909         (selectionAsString): temp var for boost::next(startpit), realize
2910         that the while really is a regular for loop.
2911         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2912         setCursor in one place.
2913         (setParagraph): temp vr for ownerParagraphs().end()
2914         (updateCounters): make the while loop a for loop
2915         (cutSelection): temp var for ownerParagraphs().end()
2916         (updateInset): make the do {} while() a regular for loop
2917         (getCursorX): use temp vars
2918         (setCurrentFont): use temp vars
2919         (getColumnNearX): use temp vars
2920
2921 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * text.C (transformChar): use temp var for getChar
2924         (computeBidiTables): use temp var for row->par()
2925         (fill): move temp vars for row->par() and pit->layout() earlier in
2926         the function.
2927         (labelFill): use temp var for row->par()
2928         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2929         asc and desc, realize that pit never changes and that firstpit is
2930         just a duplicate and not needed. Exchange rit->par() with pit in a
2931         lot of places.
2932         (breakAgain): use a temp var for boost::next(rit)
2933         (breakAgainOneRow): ditto
2934         (breakParagraph): use a temp var for rows().begin()
2935         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2936         (cursorRightOneWord): use temp var for cursor.par() and
2937         cursor.pos(), remove usage of tmpcursor.
2938         (cursorLeftOneWord): use temp var for cursor.par() and
2939         cursor.pos() only set cur at end of function.
2940
2941 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2942
2943         * text.C, text2.C: exchange all usage of Paragraph::next with
2944         boost::next(ParagraphList::iterator)
2945
2946         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2947
2948         * text2.C (cursorTop): simplify implementation
2949         (cursorBottom): ditto
2950         (setParagraph): use ParagraphList::iterator
2951         (setCurrentFont): adjust
2952         (getColumnNearX): adjust
2953         (cursorRight): adjust
2954         (cursorLeft): remove usage of Paragraph::previous
2955         (cursorUpParagraph): ditto
2956         (deleteEmptyParagraphMechanism): slight cleanup
2957
2958         * text.C (isBoundary): take a Paragraph const & instead of a
2959         pointer as arg.
2960         (addressBreakPoint): ditto
2961         (leftMargin): remove usage of Paragraph::previous.
2962         (setHeightOfRow): ditto
2963         (cursorLeftOneWord): ditto
2964         (selectNextWordToSpellcheck): ditto
2965         (Delete): ditto
2966         (backspace): ditto
2967         (breakParagraph): remove one usage of Paragraph::next
2968         (redoParagraph): ditto
2969         (acceptChange): ditto
2970         (insertChar): adjust
2971         (rowBreakPoint): adjust
2972
2973         * bufferview_funcs.C (toggleAndShow): adjust
2974
2975 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2976
2977         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2978         methods to access it.
2979         * lyxtext.h:
2980         * text.C: Added updateRowPositions to compute all row positions.
2981         Make top_y and getRowNearY() to use the cached y position
2982
2983 2003-04-11  John Levon  <levon@movementarian.org>
2984
2985         * text.C (rowBreakPoint): reintroduce the labelEnd
2986         checks, code copied from the row fill stuff. Deep voodoo.
2987
2988         * text.C (fill): add a comment and debugging for the
2989         next poor soul.
2990
2991 2003-04-11  John Levon  <levon@movementarian.org>
2992
2993         * text.C: make sure fullrow insets get wrapped to the next line,
2994         even when they're in a manual label
2995
2996 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2997
2998         * text2.C (insertParagraph): make it take ParagraphList::iterator
2999         as arg.
3000         (setLayout): make it return ParagraphList::iterator
3001         (redoParagraphs): ditto
3002         (setCounter): ditto
3003         (checkParagraph): ditto
3004
3005         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3006
3007         * text2.C: adjust several funcs.
3008         (realizeFont): take a ParagraphList::iterator as arg.
3009         (getLayoutFont): ditto
3010         (getLabelFont): ditto
3011         (setCharFont): ditto
3012
3013         * text.C: adjust several funcs.
3014
3015 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3016
3017         * text.C (selectNextWordToSpellcheck): don't accidentally
3018         skip insets
3019
3020 2003-04-10  John Levon  <levon@movementarian.org>
3021
3022         * ToolbarBackend.C (getIcon): special handling for
3023         LFUN_MATH_DELIM
3024
3025 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3026
3027         * text2.C (cursorRight): a getChar assert fixed
3028
3029 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3030
3031         * text2.C (getFont): change to take a ParagraphList::iterator
3032         instead of Paragraph*
3033         Adjust several functions.
3034
3035         * text.C (transformChar): change to take a ParagraphList::iterator
3036         instead of Paragraph*
3037         (singleWidth): ditto
3038         Adjust several functions.
3039
3040         * rowpainter.C: adjust several functions
3041         * rowpainter.h:store a ParagraphList::iterator and not a
3042         Paragraph&.
3043
3044
3045 2003-04-09  John Levon  <levon@movementarian.org>
3046
3047         * lyxfunc.C:
3048         * lfuns.h:
3049         * LyXAction.h:
3050         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3051         and the "help" bits as well
3052
3053 2003-04-09  John Levon  <levon@movementarian.org>
3054
3055         * ToolbarBackend.h:
3056         * ToolbarBackend.C: allow multiple toolbars
3057
3058 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3059
3060         * undo_funcs.C (setCursorParUndo): adjust
3061
3062         * text_funcs.C (transposeChars): adjust
3063
3064         * text3.C (gotoNextInset): adjust
3065         (dispatch): adjust
3066
3067         * text2.C (setLayout): adjust
3068         (changeDepth): adjust
3069         (setFont): adjust
3070         (redoParagraphs): adjust
3071         (selectionAsString): adjust
3072         (setParagraph): adjust
3073         (insertInset): adjust
3074         (cutSelection): adjust
3075         (copySelection): adjust
3076         (pasteSelection): adjust
3077         (insertStringAsLines): adjust
3078         (updateInset): adjust
3079         (setCursor): change to take a ParagraphList::iterator parameter
3080         (setCursorIntern): change to take a ParagraphList::iterator parameter
3081         (setCurrentFont): adjust
3082         (cursorLeft): adjust
3083         (cursorRight): adjust
3084         (deleteEmptyParagraphMechanism): adjust
3085
3086         * text.C (breakParagraph): adjust
3087         (insertChar): adjust
3088         (acceptChange): adjust
3089         (rejectChange): adjust
3090         (selectNextWordToSpellcheck): adjust
3091         (changeCase): adjust
3092         (Delete): adjust
3093         (backspace): adjust
3094
3095         * lyxfind.C (SearchForward): adjust
3096         (SearchBackward): adjust
3097         (nextChange): adjust
3098
3099         * lyxcursor.C (par): adjust
3100
3101         * lyxcursor.h: store a ParagraphList::iterator instead of a
3102         Paragraph*
3103
3104         * lyx_cb.C (getPossibleLabel): adjust
3105
3106         * bufferview_funcs.C (toggleAndShow): adjust
3107
3108         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3109         (dispatch): adjust
3110
3111         * BufferView.C (removeAutoInsets): adjust
3112         (lockedInsetStoreUndo): adjust
3113
3114 2003-04-09  John Levon  <levon@movementarian.org>
3115
3116         * ToolbarBackend.C: try icon without argument
3117         if with argument fails
3118
3119 2003-04-08  John Levon  <levon@movementarian.org>
3120
3121         * ToolbarBackend.h:
3122         * ToolbarBackend.C: add getIcon(), handle tooltip,
3123         and change from "Icon" to "Item".
3124
3125 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3126
3127         * BufferView.C (lockInset): another bad getchar crunched
3128
3129 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3130
3131         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3132         again)
3133
3134 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3135
3136         * lyxfind.C (searchForward, searchBackwards): bug 782
3137
3138 2003-04-07  John Levon  <levon@movementarian.org>
3139
3140         * paragraph.C: remove dead comment
3141
3142         * text.C: remove troublesome depth-fiddling code
3143         in leftMargin() and rightMargin() (bug 1017)
3144
3145         * text.C: fix breaking of rows in nested lists
3146         (bug 1004)
3147
3148         * text2.C (updateCounters): fix up depth values
3149         (bug 1013)
3150
3151 2003-04-07  John Levon  <levon@movementarian.org>
3152
3153         * BufferView_pimpl.C: clear message when doc finishes resizing,
3154         and after a mouse event
3155
3156         * lyxfunc.C: clear message after exiting inset
3157
3158 2003-04-07  John Levon  <levon@movementarian.org>
3159
3160         * bufferview_funcs.C: show math status not outside
3161         status in the statusbar
3162
3163 2003-04-07  John Levon  <levon@movementarian.org>
3164
3165         * lyxfunc.C: note status changed after a depth change
3166
3167 2003-04-04  Angus Leeming  <leeming@lyx.org>
3168
3169         * LaTeX.h: move AuxInfo operator==, != out of line.
3170         Remove LaTeX virtual destructor; nothing derives from it.
3171         Move operator()() out of public area and rename it startscript().
3172         Change protected for private.
3173
3174 2003-04-04  Angus Leeming  <leeming@lyx.org>
3175
3176         * lyxfunc.C:
3177         * text2.C: remove unneeded #includes.
3178
3179 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3180
3181         * text2.C (dEPM): fix the heigth of the next row
3182
3183 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3184
3185         * text.C: squashed an invalid getChar requester + some ws changes
3186
3187 2003-04-03  John Levon  <levon@movementarian.org>
3188
3189         * bufferview_funcs.h:
3190         * bufferview_funcs.C:
3191         * lyxfunc.C:
3192         * lyxtext.h:
3193         * text2.C: make getStatus work for the env depth lfuns
3194
3195 2003-04-03  John Levon  <levon@movementarian.org>
3196
3197         * bufferview_funcs.h:
3198         * bufferview_funcs.C:
3199         * lyxfunc.C:
3200         * lyxtext.h:
3201         * text2.C: parlistize decDepth(), by merging it with incDepth()
3202
3203 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3204
3205         * lyxrow.h: store a ParagraphList::iterator instead of a
3206         Paragraph* and adjust other class functions to suit.
3207
3208         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3209         above.
3210
3211 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3212
3213         * text2.C (setCursor): do not anchor to cursor row for the time being
3214
3215 2003-04-02  John Levon  <levon@movementarian.org>
3216
3217         * LyXAction.C:
3218         * lfuns.h:
3219         * lyx_main.C:
3220         * lyxtext.h:
3221         * text.C:
3222         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3223
3224 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3225
3226         * paragraph.h: make ParagraphList and ParagraphList::iterator
3227         friends of Paragraph.
3228
3229         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3230
3231         * ParagraphList.C: Use the private next_ and previous_ from
3232         Paragraph.
3233
3234 2003-04-01  John Levon  <levon@movementarian.org>
3235
3236         * ToolbarBackend.h:
3237         * ToolbarBackend.C:
3238         * Makefile.am: rename, remove defaults gunk
3239
3240         * MenuBackend.h:
3241         * MenuBackend.C: remove defaults gunk
3242
3243         * Languages.h:
3244         * Languages.C: remove defaults gunk
3245
3246         * lyx_main.h:
3247         * lyx_main.C: error out if files couldn't be found.
3248
3249 2003-04-02  John Levon  <levon@movementarian.org>
3250
3251         * text2.C: make incDepth() use parlist
3252
3253 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3254
3255         * undo_funcs.C (firstUndoParagraph): adjust
3256
3257         * text3.C (gotoInset): adjust
3258         (dispatch): adjust, and rewrite loop.
3259
3260         * text2.C (init): adjust, and rewrite loop.
3261         (redoParagraphs): adjust
3262         (updateInset): adjust, and rewrite loop.
3263         (deleteEmptyParagraphMechanism): adjust
3264
3265         * tabular.C (LyXTabular): adjust
3266         (SetMultiColumn): adjust
3267         (TeXRow): adjust
3268
3269         * lyxtext.[Ch] (ownerParagraph): delete function
3270         (ownerParagraphs): new function returns a ParagraphList.
3271
3272         * BufferView.C (removeAutoInsets): adjust
3273         (insertErrors): adjust
3274         (setCursorFromRow): adjust
3275
3276 2003-04-01  Angus Leeming  <leeming@lyx.org>
3277
3278         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3279         in the frontends.
3280
3281 2003-04-02  John Levon  <levon@movementarian.org>
3282
3283         * lyxtext.h:
3284         * text.C:
3285         * Makefile.am:
3286         * text_funcs.h:
3287         * text_funcs.C: make transposeChars a free function
3288
3289         * lyxrow_funcs.C: remove wrong comment
3290
3291 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3292
3293         * lyxtext.h: adjust
3294         * rowpainter.C: adjust
3295         * text.C: adjust
3296         * text2.C: adjust
3297         * text3.C: adjust
3298
3299         * lyxrow_funcs. [Ch]: new files
3300
3301         * lyxrow.[Ch]: remove next and previous pointers
3302         (next,previous): remove accessor functions
3303         (isParEnd): move to lyxrow_funcs
3304         (lastPos): move to lyxrow_funcs
3305         (nextRowIsAllInset): move to lyxrow_funcs
3306         (lastPrintablePos): move to lyxrow_funcs
3307         (numberOfSeparators): move to lyxrow_funcs
3308         (numberOfHfills): move to lyxrow_funcs
3309         (numberOfLabelHfills): move to lyxrow_funcs
3310         (hfillExpansion): move to lyxrow_funcs
3311
3312         * lyxfunc.C: adjust
3313
3314         * bufferview_funcs.C (toggleAndShow): adjust
3315
3316         * RowList.h: Remove class RowList from file leave just a
3317         std::list<Row>.
3318
3319         * RowList.C: delete file
3320
3321         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3322         and lyxrow_funcs.h
3323
3324 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3325
3326         * text3.C (cursorPrevious): adjust
3327         (cursorNext): adjust
3328         (dispatch): adjust
3329
3330         * text2.C (redoHeightOfParagraph): adjust
3331         (redoDrawingOfParagraph): adjust
3332         (setCursor): adjust
3333
3334         * text.C (breakParagraph): adjust
3335         (insertChar): adjust
3336         (backspace): adjust
3337
3338         * rowpainter.C (RowPainter): adjust
3339         (leftMargin): simplify and adjust
3340         (most rowpainter functions): adjust.
3341
3342         * rowpainter.h: store the row as RowList::iterator not as Row*
3343
3344         * lyxcursor.C (row): taka RowList::iterator as arg
3345         (irow): ditto
3346
3347         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3348         of Row*.
3349
3350 2003-04-01  Angus Leeming  <leeming@lyx.org>
3351
3352         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3353         stuff like bool Bool.
3354
3355 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3356
3357         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3358         rewrite a loop
3359
3360 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3361
3362         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3363         RowList::iterator.
3364
3365         * lyxtext.h (rows): drop one version and leve a const variant that
3366         returns a RowList::iterator.
3367
3368 2003-03-31  Angus Leeming  <leeming@lyx.org>
3369
3370         * text.C (fill): ensure that the signature is the same as that in the
3371         header file.
3372
3373 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3374
3375         * text2.C (redoParagraphs): adjust
3376         (updateCounters): adjust
3377         (checkParagraph): adjust
3378         (getColumnNearX): adjust and reformat a bit.
3379
3380         * text.C (top_y): adjust
3381         (workWidth): adjust
3382         (leftMargin): adjust
3383         (prepareToPrint): adjust
3384         (getRow): adjust
3385         (getRowNearY): adjust
3386
3387         * lyxtext.h: make rowlist_ mutable.
3388
3389         * RowList.h: add const_iterator
3390         * RowList.C: adjust for RowList::const_iterator.
3391
3392         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3393         adjust.
3394
3395 2003-03-31  John Levon  <levon@movementarian.org>
3396
3397         * lyxrc.h:
3398         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3399
3400         * lyx_main.C: set default fonts from using lyx_gui funcs
3401
3402         * exporter.C: pdf_mode moved from lyxrc
3403
3404         * lyx_cb.C:
3405         * lyxfunc.C: changes from above
3406
3407 2003-03-31  John Levon  <levon@movementarian.org>
3408
3409         * lyx_main.C: fix to the last fix
3410
3411 2003-03-31  John Levon  <levon@movementarian.org>
3412
3413         * bufferlist.C: "Load original" -> "Load Original"
3414
3415         * converter.C:
3416         * exporter.C:
3417         * importer.C:
3418         * lyx_main.C:
3419         * format.C: more Alert cleanups
3420
3421 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3422
3423         * text2.C (removeParagraph): make it take a RowList::iterator as
3424         arg, adjust.
3425         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3426         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3427
3428         * text.C (anchor_row): make it take a RowList::iterator as arg,
3429         adjust.
3430         (computeBidiTables): make it take a const reference to Row instead
3431         of Row pointer, adjust.
3432         (leftMargin): make it take a RowList::iterator as arg, adjust.
3433         (rowBreakPoint): adjust
3434         (breakAgainOneRow): make it take a RowList::iterator as arg,
3435         adjust.
3436         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3437
3438         * bufferview_funcs.C (toggleAndShow): adjust
3439
3440 2003-03-30  John Levon  <levon@movementarian.org>
3441
3442         * Makefile.am:
3443         * BoostFormat.h:
3444         * boost-inst.C: moved to support
3445
3446         * several files: changes as a result
3447
3448 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3449
3450         * text2.C (LyXText): adjust.
3451         (init): adjust
3452         (removeRow): make it take a RowList::iterator as arg, adjust.
3453         (fullRebreak): adjust
3454         (deleteEmptyParagraphMechanism): adjust
3455         (clearPaint): adjust
3456         (postPaint): adjust
3457
3458         * text.C (top_y): adjust
3459         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3460         (breakAgain): make it take a RowList::iterator as arg, adjust.
3461         (breakParagraph): adjust
3462         (insertChar): adjust
3463         (backspace): adjust
3464
3465         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3466         need_break_row, and refresh_row.
3467
3468         * text3.C (dispatch): adjust
3469
3470         * text2.C (checkParagraph): adjust
3471         (setCursor): adjust
3472         (setCursorFromCoordinates): adjust
3473
3474         * text.C (top_y): adjust
3475         (workWidth): adjust
3476         (getRow): make it return a RowList::iterator, adjust
3477         (getRowNearY): make it return a RowList::iterator, adjust
3478
3479         * text2.C (init): adjust
3480         (insertRow): remove function
3481         (insertParagraph): adjust
3482         (redoParagraphs): adjust
3483         (fullRebreak): adjust
3484         (updateCounters): adjust
3485
3486         * text.C (top_y): rewrite to use RowList iterators.
3487         (top_y): adjust
3488         (setHeightOfRow): rewrite to sue RowList iterators.
3489         (appendParagraph): adjust
3490         (breakAgain): adjust
3491         (breakAgainOneRow): adjust
3492         (breakParagraph): adjust
3493         (getRow): adjust
3494         (getRowNearY): adjust, and remove commented code.
3495
3496         * lyxtext.h (firstRow): delete function
3497         (lastRow): delete function
3498         (rows): new function (const and non-const versions.)
3499         (insertRow): delete function
3500
3501         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3502
3503 2003-03-29  John Levon  <levon@movementarian.org>
3504
3505         * BufferView_pimpl.C: always update scrollbar top
3506         because pasting text when we're anchored could mean we
3507         miss an update altogether
3508
3509 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3510
3511         * text2.C (init): use rowlist_.end() and not 0.
3512         (insertRow): change to take a RowList::iterator as arg, adjust
3513         for this.
3514         (insertParagraph): change to take a RowList::iterator as arg,
3515         adjust for this.
3516         (redoParagraphs): remove some debug msgs.
3517
3518         * text.C (appendParagraph): change to take a RowList::iterator
3519         arg, adjust for this.
3520         (breakAgain): add an assert
3521         (breakAgainOneRow): ditto
3522
3523 2003-03-29  John Levon  <levon@movementarian.org>
3524
3525         * text2.C: do not clear selection after inc/decDepth
3526         (bug 550)
3527
3528 2003-03-29  John Levon  <levon@movementarian.org>
3529
3530         * BufferView.C:
3531         * buffer.C: fix broken strerrors according to Lars
3532
3533 2003-03-29  John Levon  <levon@movementarian.org>
3534
3535         * converters.C: more Alert cleanups
3536
3537 2003-03-29  John Levon  <levon@movementarian.org>
3538
3539         * bufferview_funcs.C: remove pointless Alert
3540
3541         * buffer.C: fix confusing error message when
3542         a template is chmoded 000
3543
3544 2003-03-29  John Levon  <levon@movementarian.org>
3545
3546         * BufferView.C:
3547         * BufferView.h:
3548         * BufferView_pimpl.C: Alert fixes
3549
3550         * Makefile.am:
3551         * tabular.C:
3552         * tabular-old.C: remove unused table compat reading
3553
3554 2003-03-29  John Levon  <levon@movementarian.org>
3555
3556         * BufferView.C:
3557         * buffer.C:
3558         * lyx_cb.h:
3559         * lyx_cb.C: more Alert cleanups
3560
3561         * lyxfunc.C: don't allow chktex if not latex document
3562
3563 2003-03-29  John Levon  <levon@movementarian.org>
3564
3565         * lyx_cb.C:
3566         * BufferView.C:
3567         * buffer.C: warnings pushed down from support/,
3568         kill err_alert
3569
3570 2003-03-29  John Levon  <levon@movementarian.org>
3571
3572         * lyxfunc.C: safety check for C-r (revert)
3573
3574 2003-03-29  John Levon  <levon@movementarian.org>
3575
3576         * bufferlist.h:
3577         * bufferlist.C: several UI fixes using Alert::prompt.
3578         Fix the pointless looping quit code. Fix stupid revert
3579         behaviour (bug 938)
3580
3581         * lyxvc.h:
3582         * lyxvc.C:
3583         * lyx_cb.C: use Alert::prompt
3584
3585         * lyx_main.C: remove a silly question
3586
3587         * lyxfunc.C: remove a couple of silly questions,
3588         use Alert::prompt
3589
3590 2003-03-28  John Levon  <levon@movementarian.org>
3591
3592         * text2.C: fix bug 974 (End on empty par)
3593
3594 2003-03-28  John Levon  <levon@movementarian.org>
3595
3596         * BufferView_pimpl.C:
3597         * LyXAction.C:
3598         * lfuns.h: remove do-nothing math greek lfuns
3599
3600 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3601
3602         * lyxgluelength.h (isValidGlueLength): add default arg on
3603         parameter 2. Remove default arg from friend in class.
3604
3605         * lyxlength.h (isValidLength): add default arg on parameter 2.
3606         Remove default arg from friend in class.
3607
3608         * text2.C (LyXText): adjust, initialize refresh_row.
3609         (init): adjust
3610         (removeRow): adjust
3611         (insertRow): adjust
3612         (insertParagraph): adjst
3613         (redoParagraphs): adjust
3614         (fullRebreak): adjust
3615         (updateCounters): adjust
3616         (deleteEmptyParagraphMechanism): first attempt at fixing a
3617         crashing bug.
3618
3619         * text.C (top_y): adjust
3620         (setHeightOfRow): adjust
3621         (getRow): adjust
3622         (getRowNearY): adjust
3623
3624         * lyxtext.h: include RowList.h
3625         (~LyXText): not needed anymore, deleted.
3626         (firstRow): modify for RowList
3627         (lastRow): new function
3628         Delete firstrow and lastrow class variables, add a Rowlist
3629         rowlist_ class variable.
3630
3631         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3632         paragraph is empty.
3633
3634         * RowList.C (insert): fix case where it == begin().
3635
3636 2003-03-26  Angus Leeming  <leeming@lyx.org>
3637
3638         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3639         the thesaurus dialog.
3640
3641 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3642
3643         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3644
3645         * RowList.[Ch]: new files
3646
3647         * ParagraphList.C (erase): handle the case where it == begin
3648         correctly.
3649
3650 2003-03-25  John Levon  <levon@movementarian.org>
3651
3652         * Makefile.am:
3653         * aspell_local.h:
3654         * aspell.C: add new aspell support
3655
3656         * lyxrc.h:
3657         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3658         have it accessible.
3659
3660 2003-03-25  Angus Leeming  <leeming@lyx.org>
3661
3662         * lfuns.h:
3663         * LyXAction.C (init): new LFUN_INSET_INSERT.
3664
3665         * BufferView_pimpl.C (dispatch): split out part of the
3666         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3667
3668         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3669         LFUN_INSET_APPLY.
3670
3671 2003-03-25  Angus Leeming  <leeming@lyx.org>
3672
3673         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3674
3675 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3676
3677         * text2.C:
3678         * text3.C: remove useless row->height(0)
3679
3680 2003-03-25  John Levon  <levon@movementarian.org>
3681
3682         * lyxtext.h:
3683         * text2.C:
3684         * text3.C: rename the refreshing stuff to better names
3685
3686 2003-03-24  John Levon  <levon@movementarian.org>
3687
3688         * BufferView_pimpl.h:
3689         * BufferView_pimpl.C: update layout choice on a mouse
3690         press/release
3691
3692 2003-03-23  John Levon  <levon@movementarian.org>
3693
3694         * Makefile.am: fix commandtags.h reference
3695
3696 2003-03-22  John Levon  <levon@movementarian.org>
3697
3698         * BufferView_pimpl.C:
3699         * lyxtext.h:
3700         * rowpainter.C:
3701         * rowpainter.h:
3702         * text.C:
3703         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3704
3705 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3706
3707         * lyxtext.h:
3708         * text.C: take the rtl methods out of line
3709
3710 2003-03-21 André Pönitz <poenitz@gmx.net>
3711
3712         * metricsinfo.[Ch]: new files containing structures to be passed around
3713         during the two-phase-drawing...
3714
3715 2003-03-21 André Pönitz <poenitz@gmx.net>
3716
3717         * lyxtextclass.C: read 'environment' tag.
3718
3719 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3720
3721         * text2.C (removeRow): fix bug 964
3722
3723 2003-03-20  John Levon  <levon@movementarian.org>
3724
3725         * rowpainter.C:
3726         * text.C:
3727         * text2.C: paint cleanups. Inset::update() dropped font
3728         parameter
3729
3730 2003-03-19  John Levon  <levon@movementarian.org>
3731
3732         * lyxfunc.C: only fitcursor/markDirty if available()
3733
3734 2003-03-19  John Levon  <levon@movementarian.org>
3735
3736         * commandtags.h: rename to ...
3737
3738         * lfuns.h: ... this, and renumber / cleanup
3739
3740 2003-03-19  John Levon  <levon@movementarian.org>
3741
3742         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3743         fit the cursor after an lfun
3744
3745         * BufferView.h:
3746         * BufferView.C:
3747         * BufferView_pimpl.h:
3748         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3749
3750         * LyXAction.C: layout-character should have ReadOnly
3751
3752         * ParagraphParameters.C:
3753         * buffer.C:
3754         * bufferview_funcs.C:
3755         * lyx_cb.C:
3756         * lyxfind.C:
3757         * lyxtext.h:
3758         * text.C:
3759         * text2.C:
3760         * text3.C:
3761         * undo_funcs.C: changes from above
3762
3763 2003-03-18  John Levon  <levon@movementarian.org>
3764
3765         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3766         remove it from update()
3767
3768         * lyxfunc.C: update layout choice after an lfun
3769
3770         * text3.C: remove extra updateLayoutChoice()s
3771
3772 2003-03-18  John Levon  <levon@movementarian.org>
3773
3774         * text.C: top_y change means full repaint, fix
3775         a drawing bug with cursor movement
3776
3777 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3778
3779         * lyxtext.h:
3780         * text.C:
3781         * text2.C: anchor row on setCursor
3782
3783 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3784
3785         * lyxtext.h: remove almost all mutable keywords
3786         * text.C:
3787         * text2.C:
3788         * text3.C: remove const keywords accordingly
3789
3790 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3791
3792         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3793         anon namespace
3794         (TeXEnvironment): ditto
3795         (TeXOnePar): ditto
3796
3797 2003-03-17  John Levon  <levon@movementarian.org>
3798
3799         * text.C (rowBreakPoint): remove attempt to fix displayed
3800         math insets inside a manual label
3801
3802 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3803
3804         * lyxtext.h: remove BufferView* as first arg from almost all class
3805         functions.
3806         * other files: adjust.
3807
3808 2003-03-17  John Levon  <levon@movementarian.org>
3809
3810         * lyxtext.h:
3811         * undo_funcs.C:
3812         * text2.C: more paint cleanups
3813
3814         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3815
3816         * rowpainter.h:
3817         * rowpainter.C: remove "smart" background painting code
3818
3819 2003-03-16  John Levon  <levon@movementarian.org>
3820
3821         * lyxtext.h:
3822         * text.C:
3823         * text2.C:
3824         * text3.C: add helper functions for setting refresh_row/y
3825
3826 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3827
3828         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3829         newline inset which *can* get inserted in the pass_thru layouts.
3830         This is primarily for literate documents.
3831
3832 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3833
3834         * buffer.C: increment LYX_FORMAT to 223
3835
3836 2003-03-14 André Pönitz <poenitz@gmx.net>
3837
3838         * textclass.h: prepare for environment handling, ws changes
3839         * lyxlayout.C: read latexheader and latexfooter tags
3840
3841 2003-03-14  John Levon  <levon@movementarian.org>
3842
3843         * text2.C: rewrite ::status() a bit
3844
3845 2003-03-13  John Levon  <levon@movementarian.org>
3846
3847         * lyxtext.h: add some docs
3848
3849 2003-03-13  John Levon  <levon@movementarian.org>
3850
3851         * lyxtext.h:
3852         * text.C:
3853         * text2.C:
3854         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3855
3856 2003-03-13  John Levon  <levon@movementarian.org>
3857
3858         * text3.C: fix appendix redrawing
3859
3860 2003-03-13  John Levon  <levon@movementarian.org>
3861
3862         * text.C (setHeightOfRow):
3863         * rowpainter.h:
3864         * rowpainter.C: make appendix mark have the text
3865           "Appendix" so the user knows what it is
3866
3867         * LColor.h:
3868         * LColor.C: s/appendixline/appendix/ from above
3869
3870 2003-03-13  John Levon  <levon@movementarian.org>
3871
3872         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3873
3874         * text.C: fix a getChar(pos) bug properly
3875
3876 2003-03-13  Angus Leeming  <leeming@lyx.org>
3877
3878         * commandtags.h:
3879         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3880         Probably only temporary. Let's see how things pan out.
3881
3882         * BufferView.C (unlockInset):
3883         * BufferView_pimpl.C (fitCursor):
3884         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3885
3886         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3887         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3888
3889         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3890         new functions that convert ParagraphParameters to and from a string.
3891
3892         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3893         BufferView::Pimpl's dispatch.
3894         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3895
3896 2003-03-13 André Pönitz <poenitz@gmx.net>
3897
3898         * lyxfunc.C:
3899         * text3.C:
3900         * factory.C: make it aware of InsetEnv
3901
3902 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3903
3904         * text2.C (setCursor): never ask for one past last
3905         (setCursor): add some debugging messages.
3906
3907         * text.C (singleWidth): never ask for one past last
3908         (singleWidth): ditto
3909         (leftMargin): ditto
3910         (rightMargin): ditto
3911         (rowBreakPoint): ditto
3912         (setHeightOfRow): ditto
3913         (prepareToPrint): ditto
3914
3915         * rowpainter.C (paintBackground): never ask for one past last
3916         (paintText): never ask for one past last
3917
3918         * paragraph_pimpl.C (getChar): make the assert stricter, never
3919         allow the one past last pos to be taken
3920
3921         * paragraph.C (getChar): ws changes only
3922
3923         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3924         (numberOfSeparators): ditto
3925         (numberOfHfills): ditto
3926
3927 2003-03-12  John Levon  <levon@movementarian.org>
3928
3929         * author.h:
3930         * author.C:
3931         * bufferparams.h:
3932         * bufferparams.C:
3933         * paragraph_funcs.C: fix per-buffer authorlists
3934
3935 2003-03-12  John Levon  <levon@movementarian.org>
3936
3937         * text.C: fix newline in right address
3938
3939 2003-03-12  Angus Leeming  <leeming@lyx.org>
3940
3941         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3942         duplicate those in LyXFunc::dispatch.
3943
3944         * commandtags.h:
3945         * LyXAction.C:
3946         * ToolbarDefaults.C:
3947         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3948         Add LFUN_FONTFREE_UPDATE.
3949
3950         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3951         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3952
3953         * bufferview_func.[Ch]: several new functions to facilliate
3954         transfer of data to and from the character dialog.
3955
3956 2003-03-12  John Levon  <levon@movementarian.org>
3957
3958         * buffer.C:
3959         * paragraph.h:
3960         * paragraph.C:
3961         * paragraph_funcs.C:
3962         * paragraph_pimpl.C:
3963         * sgml.C:
3964         * tabular.C:
3965         * text.C:
3966         * text3.C: remove META_NEWLINE in favour of an inset
3967
3968         * rowpainter.h:
3969         * rowpainter.C: remove paintNewline (done by inset)
3970
3971 2003-03-12  John Levon  <levon@movementarian.org>
3972
3973         * paragraph_pimpl.C: complain about bad getChar()s
3974         for a while at least
3975
3976 2003-03-12  John Levon  <levon@movementarian.org>
3977
3978         * buffer.h:
3979         * buffer.C: move paragraph read into a separate function,
3980         a little renaming to reflect that.
3981
3982         * bufferparams.h:
3983         * bufferparams.C: remove the author_ids map, not necessary now
3984
3985         * factory.h:
3986         * factory.C: moved Buffer::readInset to here
3987
3988         * paragraph_funcs.h:
3989         * paragraph_funcs.C: readParagraph free function moved from
3990         buffer.C
3991
3992         * tabular.C: name change
3993
3994 2003-03-12  John Levon  <levon@movementarian.org>
3995
3996         * buffer.C:
3997         * ParagraphParameters.C: move par params input to
3998         a read() method
3999
4000         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4001         behave like a normal read from the stream wrt reading
4002         a line vs. a \\token
4003
4004 2003-03-12  John Levon  <levon@movementarian.org>
4005
4006         * paragraph.C:
4007         * ParagraphParameters.h:
4008         * ParagraphParameters.C: move output code to a
4009         ::write() method
4010
4011 2003-03-12  John Levon  <levon@movementarian.org>
4012
4013         * BufferView.C (insertLyXFile):
4014         * buffer.h:
4015         * buffer.C:
4016         * tabular.C: use a parlist iterator for creating the
4017           document.
4018
4019 2003-03-12  John Levon  <levon@movementarian.org>
4020
4021         * buffer.C: make current_change static local not
4022           static file-scope
4023
4024 2003-03-12  John Levon  <levon@movementarian.org>
4025
4026         * buffer.C: fix insertStringAsLines for change tracking
4027
4028 2003-03-12  John Levon  <levon@movementarian.org>
4029
4030         * BufferView.C:
4031         * tabular.C:
4032         * buffer.h:
4033         * buffer.C:
4034         * bufferparams.h:
4035         * bufferparams.C: move author list into params. Rename some
4036           functions. Move the header reading into a separate token
4037           loop. Move the header token reading into BufferParams.
4038
4039 2003-03-12  John Levon  <levon@movementarian.org>
4040
4041         * changes.C: put debug inside lyxerr.debugging() checks
4042
4043 2003-03-11 André Pönitz <poenitz@gmx.net>
4044
4045         * factory.C: make it aware of InsetHFill
4046
4047 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4048
4049         * buffer.C (latexParagraphs): move function from here...
4050         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4051         args.
4052
4053 2003-03-10  Angus Leeming  <leeming@lyx.org>
4054
4055         * LyXAction.C (init): fix bug in poplating array with multiple entries
4056         with the same LFUN (spotted by JMarc).
4057
4058 2003-03-10  John Levon  <levon@movementarian.org>
4059
4060         * text.C:
4061         * text2.C: move getColumnNearX() near its
4062         only call site
4063
4064 2003-03-10  John Levon  <levon@movementarian.org>
4065
4066         * text.C: fix break before a minipage
4067
4068 2003-03-10  John Levon  <levon@movementarian.org>
4069
4070         * text.C: fix the last commit
4071
4072 2003-03-09  John Levon  <levon@movementarian.org>
4073
4074         * lyxtext.h:
4075         * text.C:
4076         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4077         bug 365 (don't break before insets unless needed). Don't
4078         return a value > last under any circumstances.
4079
4080 2003-03-09  Angus Leeming  <leeming@lyx.org>
4081
4082         * BufferView_pimpl.C (trackChanges, dispatch): call
4083         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4084
4085 2003-03-09  Angus Leeming  <leeming@lyx.org>
4086
4087         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4088         than Dialogs::showAboutlyx().
4089
4090 2003-03-09  Angus Leeming  <leeming@lyx.org>
4091
4092         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4093         than Dialogs::showTabularCreate().
4094
4095 2003-03-09  John Levon  <levon@movementarian.org>
4096
4097         * lyxtext.h:
4098         * text.C:
4099         * text2.C: 3rd arg to nextBreakPoint was always the same.
4100           Use references.
4101
4102 2003-03-08  John Levon  <levon@movementarian.org>
4103
4104         * lyxrow.C:
4105         * paragraph.C:
4106         * paragraph.h:
4107         * rowpainter.C:
4108         * text.C:
4109         * text2.C: Remove the "main" bit from the "main body"
4110           notion.
4111
4112 2003-03-08  John Levon  <levon@movementarian.org>
4113
4114         * text.C (leftMargin): The left margin of an empty
4115         manual label paragraph should not include the label width
4116         string length.
4117
4118         * text.C (prepareToPrint): don't attempt to measure hfills
4119         for empty manual label paragraphs - the answer should be 0
4120
4121 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4122
4123         * CutAndPaste.C: remove commented code and reindent.
4124
4125 2003-03-08  John Levon  <levon@movementarian.org>
4126
4127         * lyxfunc.h:
4128         * lyxfunc.C: move reloadBuffer()
4129
4130         * BufferView.h:
4131         * BufferView.C: to here
4132
4133         * lyxvc.C: add comment
4134
4135         * vc-backend.h:
4136         * vc-backend.C: call bv->reload() to avoid
4137           getStatus() check on MENURELOAD
4138
4139 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4140
4141         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4142         to an old format .dep file.
4143
4144 2003-03-07  Angus Leeming  <leeming@lyx.org>
4145
4146         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4147         when the LFUN_MOUSE_RELEASE should have been handled by
4148         inset->localDispatch.
4149
4150 2003-03-07  Angus Leeming  <leeming@lyx.org>
4151
4152         * BufferView_pimpl.C (dispatch):
4153         * LyXAction.C (init):
4154         * ToolbarDefaults.C (init):
4155         * commandtags.h:
4156         * lyxfunc.C (getStatus):
4157         remove LFUN_INSET_GRAPHICS.
4158
4159         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4160
4161 2003-03-07  Angus Leeming  <leeming@lyx.org>
4162
4163         * commandtags.h:
4164         * LyXAction.C (init):
4165         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4166
4167         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4168
4169         * commandtags.h:
4170         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4171
4172         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4173         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4174
4175 2003-03-07  Angus Leeming  <leeming@lyx.org>
4176
4177         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4178         remove "ert".
4179
4180 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4181
4182         * ParagraphList.C (front): new function
4183         (back): implement
4184
4185 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4186
4187         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4188         and top_row_offset_. removed var first_y.
4189         * text.C (top_y):
4190         * text2.C (LyXText, removeRow):
4191         * text3.C:
4192         * BufferView_pimpl.C:
4193         use these methods instead of using first_y
4194
4195 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4196
4197         * text2.C (pasteSelection): adjust for checkPastePossible
4198
4199         * CutAndPaste.C: remove Paragraph * buf and replace with
4200         ParagraphList paragraphs.
4201         (DeleteBuffer): delete
4202         (cutSelection): change the tc type to textclass_type
4203         (copySelection): change the tc type to textclass_type
4204         (copySelection): adjust for ParagraphList
4205         (pasteSelection): change the tc type to textclass_type
4206         (pasteSelection): adjust for Paragraphlist
4207         (nrOfParagraphs): simplify for ParagraphList
4208         (checkPastePossible): simplify for ParagraphList
4209         (checkPastePossible): remove unused arg
4210
4211         * ParagraphList.C (insert): handle the case where there are no
4212         paragraphs yet.
4213
4214         * CutAndPaste.h: make CutAndPaste a namespace.
4215
4216         * text3.C (dispatch): adjust
4217
4218         * text.C (breakParagraph): add a ParagraphList as arg
4219
4220         * paragraph_funcs.C (breakParagraph): change to take a
4221         BufferParams and a ParagraphList as args.
4222         (breakParagraphConservative): ditto
4223         (mergeParagraph): ditto
4224         (TeXDeeper): add a ParagraphList arg
4225         (TeXEnvironment): ditto
4226         (TeXOnePar): ditto
4227
4228         * buffer.C (readLyXformat2): adjust
4229         (insertStringAsLines): adjust
4230         (latexParagraphs): adjust
4231
4232         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4233         (cutSelection): adjust
4234         (pasteSelection): adjust
4235
4236         * BufferView_pimpl.C (insertInset): adjust
4237
4238 2003-03-05  Angus Leeming  <leeming@lyx.org>
4239
4240         * commandtags.h:
4241         * LyXAction.C (init):
4242         * BufferView_pimpl.C (dispatch):
4243         * lyxfunc.C (getStatus):
4244         remove LFUN_CHILD_INSERT.
4245
4246         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4247
4248 2003-03-05  Angus Leeming  <leeming@lyx.org>
4249
4250         * commandtags.h:
4251         * LyXAction.C (init):
4252         * src/factory.C (createInset):
4253         * lyxfunc.C (getStatus):
4254         * text3.C (dispatch):
4255         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4256
4257         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4258
4259 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4260
4261         * ParagraphList.C (insert): handle insert right before end()
4262         (erase): fix cases where it can be first or last paragraph.
4263
4264 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4265
4266         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4267         Paragraph::next and Paragraph::previous
4268         (TeXOnePar): ditto
4269
4270         * text.C (breakParagraph): adjust
4271
4272         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4273         BufferParams& as arg.
4274         (breakParagraph): use ParagraphList::insert
4275         (breakParagraphConservative): take a Buffer* instead of a
4276         BufferParams& as arg.
4277         (breakParagraphConservative): use ParagraphList::insert.
4278
4279         * buffer.C (insertStringAsLines): un-const it
4280         (insertStringAsLines): adjust
4281
4282         * ParagraphList.C (insert): new function
4283
4284         * CutAndPaste.C (pasteSelection): adjust
4285
4286         * text.C (backspace): adjust
4287
4288         * tabular.C (SetMultiColumn): adjust
4289
4290         * CutAndPaste.C (cutSelection): adjust
4291         (pasteSelection): adjust
4292
4293         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4294         Buffer const * as arg
4295
4296         * ParagraphList.C (erase): new function
4297         * paragraph_funcs.C (mergeParagraph): use it
4298         (mergeParagraph): make it take a Buffer* instead of a
4299         BufferParams* as arg
4300
4301         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4302         as arg
4303         (breakParagraphConservative): ditto
4304
4305         * paragraph.h: remove the breakParagraph friend
4306
4307         * paragraph.C (eraseIntern): new function
4308         (setChange): new function
4309
4310         * paragraph_funcs.C (mergeParagraph): make it take a
4311         ParagraphList::iterator instead of a Paragraph *, adjust
4312         accordingly.
4313
4314         * paragraph.h: move an #endif so that the change tracking stuff
4315         also works in the NO_NEXT case.
4316
4317 2003-03-04  Angus Leeming  <leeming@lyx.org>
4318
4319         * commandtags.h:
4320         * LyXAction.C: new LFUN_INSET_MODIFY.
4321
4322         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4323         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4324
4325 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * several files: ws changes only
4328
4329         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4330         (TeXEnvironment): ditto
4331         (TeXDeeper): ditto
4332
4333         * buffer.C (makeLaTeXFile): adjust
4334         (latexParagraphs): make it take ParagraphList::iterator as args
4335
4336 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * buffer.C (latexParagraphs): adjust
4339
4340         * paragraph.C (TeXOnePar): move function...
4341         (optArgInset): move function...
4342         (TeXEnvironment): move function...
4343         * paragraph_pimpl.C (TeXDeeper): move function...
4344         * paragraph_funcs.C: ...here
4345
4346         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4347
4348 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4349
4350         * buffer.C (readInset): remove compability code for old Figure and
4351         InsetInfo insets
4352
4353 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * buffer.C: ws changes
4356         (readInset):
4357
4358         * BufferView_pimpl.C: ditto
4359         * author.C: ditto
4360         * buffer.h: ditto
4361         * bufferlist.h: ditto
4362         * changes.h: ditto
4363         * lyxfunc.C: ditto
4364
4365 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4366
4367         * converter.[Ch]: split into itself +
4368         * graph.[Ch]
4369         * format.[Ch]
4370         * Makefile.am: += graph.[Ch] + format.[Ch]
4371         * MenuBackend.C
4372         * buffer.C
4373         * exporter.C
4374         * importer.C
4375         * lyx_main.C
4376         * lyxfunc.C
4377         * lyxrc.C: added #include "format.h"
4378
4379 2003-02-27  Angus Leeming  <leeming@lyx.org>
4380
4381         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4382           a label.
4383
4384         * factory.C (createInset): add "label" to the factory.
4385
4386         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4387           string and do no more.
4388
4389 2003-02-27  Angus Leeming  <leeming@lyx.org>
4390
4391         * commandtags.h:
4392         * LyXAction.C (init):
4393         * factory.C (createInset):
4394         * BufferView_pimpl.C (dispatch):
4395           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4396
4397         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4398
4399         * lyxfunc.C (dispatch):
4400         * text3.C (dispatch): pass name to params2string.
4401
4402 2003-02-26  Angus Leeming  <leeming@lyx.org>
4403
4404         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4405           blocks together.
4406           Rearrange the ~includes. Strip out the unnecessary ones.
4407
4408         * factory.C (createInset): reformat.
4409           create new insets for the various LFUN_XYZ_APPLY lfuns.
4410
4411 2003-02-26  John Levon  <levon@movementarian.org>
4412
4413         * lyxrow.h:
4414         * lyxrow.C: add isParStart,isParEnd helpers
4415
4416         * paragraph.h: make isInserted/DeletedText take refs
4417
4418         * paragraph_funcs.h:
4419         * paragraph_funcs.C: remove #if 0'd code
4420
4421         * lyxtext.h:
4422         * text3.C:
4423         * text2.C:
4424         * text.C: use lyxrow helpers above.
4425           Move draw and paint routines to RowPainter.
4426           Make several methods use refs not pointers.
4427           Make backgroundColor() const.
4428           Add markChangeInDraw(), isInInset().
4429           Merge changeRegionCase into changeCase.
4430           Make workWidth() shouldn't-happen code into an Assert.
4431
4432         * rowpainter.h:
4433         * rowpainter.C: new class for painting a row.
4434
4435         * vspace.h:
4436         * vspace.C: make inPixels take a ref
4437
4438 2003-02-26  Angus Leeming  <leeming@lyx.org>
4439
4440         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4441         LFUN_REF_APPLY.
4442
4443 2003-02-25  John Levon  <levon@movementarian.org>
4444
4445         * ispell.C: give the forked command a more accurate name
4446
4447 2003-02-22  John Levon  <levon@movementarian.org>
4448
4449         * toc.h:
4450         * toc.C: make TocItem store an id not a Paragraph *
4451           (bug #913)
4452
4453 2003-02-21  Angus Leeming  <leeming@lyx.org>
4454
4455         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4456           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4457           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4458           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4459           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4460           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4461
4462         * BufferView_pimpl.C (dispatch):
4463         * LyXAction.C (init):
4464         * factory.C (createInset):
4465         * lyxfunc.C (getStatus, dispatch):
4466         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4467
4468 2003-02-21  Angus Leeming  <leeming@lyx.org>
4469
4470         * BufferView_pimpl.C (MenuInsertLyXFile):
4471         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4472         * lyxfunc.C (menuNew, open, doImport):
4473           no longer pass a LyXView & to fileDlg.
4474
4475 2003-02-21  Angus Leeming  <leeming@lyx.org>
4476
4477         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4478         * LyXAction.C: change, BIBKEY to BIBITEM.
4479         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4480         Change InsetBibKey to InsetBibitem.
4481         Change BIBKEY_CODE to BIBITEM_CODE.
4482         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4483         * factory.C: replace insetbib.h with insetbibitem.h.
4484         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4485         * paragraph.C: replace insetbib.h with insetbibitem.h.
4486         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4487         Change bibkey() to bibitem().
4488         * text.C: remove insetbib.h.
4489         * text2.C: replace insetbib.h with insetbibitem.h.
4490         change bibkey() to bibitem().
4491         * text3.C: remove insetbib.h.
4492         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4493
4494 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4495
4496         * lyxrc.C (output): enclose user email in quotes (in case there are
4497         several words)
4498
4499 2003-02-18  John Levon  <levon@movementarian.org>
4500
4501         * buffer.h: add std::
4502
4503 2003-02-17  John Levon  <levon@movementarian.org>
4504
4505         * SpellBase.h:
4506         * ispell.h:
4507         * ispell.C:
4508         * pspell.h:
4509         * pspell.C: reworking. Especially in ispell, a large
4510           number of clean ups and bug fixes.
4511
4512         * lyxfunc.C: fix revert to behave sensibly
4513
4514 2003-02-17 André Pönitz <poenitz@gmx.net>
4515
4516         * LyXAction.C:
4517         * commandtags.h: new LFUN_INSERT_BIBKEY
4518
4519         * layout.h:
4520         * lyxlayout.C:
4521         * buffer.C:
4522         * factory.C:
4523         * text.C:
4524         * text2.C:
4525         * text3.C:
4526         * paragraph.[Ch]:
4527         * paragraph_func.C: remove special bibkey handling
4528
4529 2003-02-17  John Levon  <levon@movementarian.org>
4530
4531         * text.C (Delete): fix case where delete at the end of
4532           the very first paragraph would not merge the pars
4533
4534 2003-02-17  John Levon  <levon@movementarian.org>
4535
4536         * lyxrow.C: fix lastPrintablePos()
4537
4538 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4539
4540         * bufferparams.C (writeLaTeX): add a std:here
4541
4542         * buffer.C: and remove a using directive there
4543
4544 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4545
4546         * buffer.C (makeLaTeXFile): move the code that generates the
4547           preamble...
4548
4549         * bufferparams.C (writeLaTeX): ... in this new method
4550
4551         * LaTeXFeatures.C (getEncodingSet): make const
4552           (getLanguages): make const
4553
4554         * MenuBackend.C (binding): returns the binding associated to this
4555           action
4556           (add): sets the status of each item by calling getStatus. Adds
4557           some intelligence.
4558           (read): add support for OptSubMenu
4559           (expand): remove extra separator at the end of expanded menu
4560
4561 2003-02-15  John Levon  <levon@movementarian.org>
4562
4563         * BufferView.C:
4564         * BufferView_pimpl.C:
4565         * bufferlist.h:
4566         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4567           inset code that had no actual effect. Remove unneeded status
4568           code.
4569
4570 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4571
4572         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4573           in preamble
4574
4575 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4576
4577         * text.C (drawLengthMarker): also draw an arrow marker for
4578           symbolic lengths (medskip...)
4579
4580 2003-02-14  John Levon  <levon@movementarian.org>
4581
4582         * tabular.h:
4583         * tabular.C: better method names
4584
4585 2003-02-14  John Levon  <levon@movementarian.org>
4586
4587         * BufferView_pimpl.C:
4588         * bufferlist.C:
4589         * buffer.C:
4590         * converter.C:
4591         * lyx_cb.C:
4592         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4593           it's a more accurate name. Remove some pointless uses.
4594
4595 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4596
4597         * text2.C (LyXText): change order of initilizers to shut off
4598           warnings
4599
4600 2003-02-14  John Levon  <levon@movementarian.org>
4601
4602         * buffer.C: use ParIterator for getParFromID()
4603
4604         * paragraph.h:
4605         * paragraph.C:
4606         * paragraph_pimpl.h:
4607         * paragraph_pimpl.C: remove unused getParFromID()
4608
4609 2003-02-14  John Levon  <levon@movementarian.org>
4610
4611         * buffer.C: remove some very old #if 0'd parse code
4612
4613 2003-02-13  John Levon  <levon@movementarian.org>
4614
4615         * text.h:
4616         * text.C:
4617         * text2.C: move hfillExpansion(), numberOfSeparators(),
4618           rowLast(), rowLastPrintable(), numberofHfills(),
4619           numberOfLabelHfills() ...
4620
4621         * lyxrow.h:
4622         * lyxrow.C: ... to member functions here.
4623
4624         * paragraph.h:
4625         * paragraph.C:
4626         * lyxtext.h:
4627         * text.C: remove LyXText::beginningOfMainBody(), and call
4628           p->beginningOfMainBody() directly. Move the check for
4629           LABEL_MANUAL into the latter.
4630
4631         * text.h:
4632         * text.C:
4633         * text2.C:
4634         * vspace.C:
4635         * BufferView.h:
4636         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4637
4638         * text.h:
4639         * text.C:
4640         * text2.C:
4641         * text3.C:
4642         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4643           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4644
4645 2003-02-13  John Levon  <levon@movementarian.org>
4646
4647         * CutAndPaste.C: remove debug
4648
4649 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4650
4651         * paragraph.C (asString): remove two unused variables
4652
4653         * lyxtextclass.C (readTitleType):
4654           (Read):
4655           (LyXTextClass): handle new members titletype_ and titlename_
4656
4657         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4658
4659 2003-02-09  John Levon  <levon@movementarian.org>
4660
4661         * buffer.h:
4662         * buffer.C: replace hand-coded list with a map for the dep clean
4663
4664 2003-02-08  John Levon  <levon@movementarian.org>
4665
4666         * LaTeX.C: consolidate code into showRunMessage() helper
4667
4668 2003-02-08  John Levon  <levon@movementarian.org>
4669
4670         * lyxfind.C:
4671         * lyxtext.h:
4672         * text2.C:
4673         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4674           and pass the size in explicitly
4675
4676         * BufferView_pimpl.h:
4677         * BufferView_pimpl.C:
4678         * BufferView.h:
4679         * BufferView.C: add getCurrentChange()
4680
4681         * BufferView_pimpl.h:
4682         * BufferView_pimpl.C: handle change lfuns
4683
4684         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4685           for changes. Mark pasted paragraphs as new.
4686
4687         * support/lyxtime.h:
4688         * support/lyxtime.C:
4689         * DepTable.C: abstract time_t as lyx::time_type
4690
4691         * LColor.h:
4692         * LColor.C: add colours for new text, deleted text, changebars
4693
4694         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4695           package use "usenames" option.
4696
4697         * commandtags.h:
4698         * lyxfunc.C:
4699         * LyXAction.C: add change lfuns
4700
4701         * Makefile.am:
4702         * author.h:
4703         * author.C: author handling
4704
4705         * buffer.h:
4706         * buffer.C: add a per-buffer author list, with first entry as
4707           current author. Handle new .lyx tokens for change tracking. Output
4708           author list to .lyx file. Output dvipost stuff to .tex preamble.
4709           Bump lyx format to 222.
4710
4711         * bufferlist.h:
4712         * bufferlist.C: add setCurrentAuthor() to reset current author details
4713           in all buffers.
4714
4715         * bufferparams.h:
4716         * bufferparams.C: add param for tracking
4717
4718         * bufferview_funcs.C: output change info in minibuffer
4719
4720         * Makefile.am:
4721         * changes.h:
4722         * changes.C: add change-tracking structure
4723
4724         * debug.h:
4725         * debug.C: add CHANGES debug flag
4726
4727         * lyxfind.h:
4728         * lyxfind.C: add code for finding the next change piece
4729
4730         * lyxrc.h:
4731         * lyxrc.C: add user_name and user_email
4732
4733         * lyxrow.h:
4734         * lyxrow.C: add a metric for the top of the text line
4735
4736         * lyxtext.h:
4737         * text.C: implement accept/rejectChange()
4738
4739         * lyxtext.h:
4740         * text.C: paint changebars. Paint new/deleted text in the chosen
4741         colours. Strike through deleted text.
4742
4743         * paragraph.h:
4744         * paragraph.C:
4745         * paragraph_pimpl.h:
4746         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4747           in the current change to the insert functions. Rework erase to
4748           mark text as deleted, adding an eraseIntern() and a range-based
4749           erase(). Implement per-paragraph change lookup and
4750           accept/reject.
4751
4752         * paragraph_funcs.C: Fixup paste for change tracking.
4753
4754         * tabular.C: mark added row/columns as new.
4755
4756         * text.C: fix rowLast() to never return -1. Don't allow
4757           spellchecking of deleted text. Track transpose changes. Don't
4758           allow paragraph break or merge where appropriate.
4759
4760         * text2.C: leave cursor at end of selection after a cut.
4761
4762 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4763
4764         * text.C (getLengthMarkerHeight):
4765         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4766         visible on screen too.
4767
4768 2003-02-07  John Levon  <levon@movementarian.org>
4769
4770         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4771
4772 2003-02-05  Angus Leeming  <leeming@lyx.org>
4773
4774         * lyxserver.C (read_ready): revert my patch of 11 September last year
4775         as it sends PC cpu through the roof. Presumably this means that
4776         the lyxserver will no longer run on an Alpha...
4777
4778 2003-01-30  Angus Leeming  <leeming@lyx.org>
4779
4780         * factory.C (createInset): create an InsetCommandParam of type "index"
4781         and use it to 'do the right thing'.
4782
4783         * text2.C (getStringToIndex): ensure that cursor position is always
4784         reset to the reset_cursor position.
4785
4786 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4787
4788         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4789         disabled.
4790
4791 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4792
4793         * bufferview.C:
4794         * lyxcb.C:
4795         * lyxfunc.C: Output messages with identical spelling, punctuation,
4796         and spaces
4797
4798 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4799
4800         * MenuBackend.C (expandFormats): List only viewable export formats
4801         in "View" menu
4802
4803         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4804         message
4805
4806         * lyxfunc.C (getStatus): Make sure that formats other than
4807         "fax" can also be disabled
4808
4809 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4810
4811         * text3.C (dispatch): put the lfuns that insert insets in 3
4812         groups, and call doInsertInset with appropriate arguments.
4813         (doInsertInset): new function, that creates an inset and inserts
4814         it according to some boolean parameters.
4815
4816 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817
4818         * buffer.C (readFile): remember to pass on 'par' when calling
4819         readFile recursively.
4820
4821 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4822
4823         * MenuBackend.C (expandFormats): add "..." to import formats.
4824
4825 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4826
4827         * paragraph.C (asString): Remove XForms RTL hacks.
4828
4829 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4830         * buffer.C: fix typo
4831
4832 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4833
4834         * Makefile.am (LIBS): delete var
4835         (lyx_LDADD): add @LIBS@ here instead.
4836
4837 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4838
4839         * Clarify the meaning of "wheel mouse jump"
4840
4841 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4842
4843         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4844         tabular in a float
4845
4846 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4847
4848         * importer.C (Loaders): do not preallocate 3 elements in the
4849         vector, since one ends up with 6 elements otherwise
4850
4851 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4852
4853         * DepTable.C (write): write the file name as last element of the
4854         .dep file (because it may contain spaces)
4855         (read): read info in the right order
4856
4857 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4858
4859         * paragraph_pimpl.C (simpleTeXBlanks):
4860         (simpleTeXSpecialChars):
4861         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4862
4863         * tabular.C (latex): add some missing case statements. Reindent.
4864
4865         * MenuBackend.C (expandToc): remove unused variable.
4866
4867 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4868
4869         * LColor.C:
4870         * LaTeX.C:
4871         * LyXAction.C:
4872         * MenuBackend.C:
4873         * buffer.C:
4874         * exporter.C:
4875         * lyxfunc.C:
4876         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4877         and the like.
4878
4879 2003-01-05  John Levon  <levon@movementarian.org>
4880
4881         * BufferView.h:
4882         * BufferView.C: add getEncoding()
4883
4884         * kbsequence.h:
4885         * kbsequence.C: do not store last keypress
4886
4887         * lyxfunc.h:
4888         * lyxfunc.C: store last keypress here instead. Pass encoding
4889           to getISOEncoded()
4890
4891 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4892
4893         * lyx_main.C (init): remove annoying error message when following
4894         symbolic links (bug #780)
4895
4896 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4897
4898         * text.C (insertChar):
4899         * lyxrc.C (getDescription): remove extra spaces
4900
4901 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4902
4903         * lyxrc.C (getDescription): remove extra spaces
4904
4905 2002-12-20  John Levon  <levon@movementarian.org>
4906
4907         * text3.C: hack fix for page up/down across tall rows
4908
4909 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4910
4911         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4912         not been invoked
4913
4914 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4915
4916         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4917         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4918         thesaurus is not compiled in
4919
4920 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4921
4922         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4923
4924 2002-12-16  Angus Leeming  <leeming@lyx.org>
4925
4926         * lyxrc.[Ch]:
4927         * lyx_main.C (init): remove override_x_deadkeys stuff.
4928
4929 2002-12-12  John Levon  <levon@movementarian.org>
4930
4931         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4932           insert. Only remove shift modifier under strict
4933           circumstances.
4934
4935 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4936
4937         * MenuBackend.C (expandToc): fix crash.
4938
4939 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * MenuBackend.C (expandToc): gettext on float names.
4942
4943 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4944
4945         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4946         implement bool empty() [bug 490]
4947
4948 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4949
4950         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4951
4952 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4953
4954         * several files: ws changes
4955
4956 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4957
4958         * text2.C (setCounter): clean up a bit, use boost.format.
4959         (updateCounters): initialize par upon declaration.
4960
4961         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4962         if the layout exists. We do not just store the layout any more.
4963         (SwitchLayoutsBetweenClasses): use boost.format
4964
4965 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4966
4967         * converter.C (convert): if from and to files are the same, use a
4968         temporary files as intermediary
4969
4970 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4971
4972         * commandtags.h:
4973         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4974
4975 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4976
4977         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4978
4979 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4980
4981         * tabular.C (asciiPrintCell): use string(size, char) instead of
4982         explicit loop.
4983
4984         * sgml.C (openTag): fix order of arguments to string constructor
4985         (closeTag): ditto
4986
4987         * lyxfunc.C (dispatch): use boost.format
4988
4989         * lots of files: change "c" -> 'c'
4990
4991 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4992
4993         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4994
4995 2002-11-25  Angus Leeming  <leeming@lyx.org>
4996
4997         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4998
4999         * lyx_main.C (init): compile fix.
5000
5001 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5002
5003         * lyx_cb.C (start): boost.formatify
5004         do not include <iostream>
5005
5006         * lengthcommon.C: ws only
5007
5008         * boost-inst.C,BoostFormat.h: add more explict instantations
5009
5010 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * lots of files: handle USE_BOOST_FORMAT
5013
5014 2002-11-21  John Levon  <levon@movementarian.org>
5015
5016         * pspell.C: fix compile
5017
5018 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5019
5020         * lyxfunc.C (dispatch): use boost::format
5021         (open): ditto
5022         (doImport): ditto
5023
5024         * lyxfont.C (stateText): use boost::format
5025
5026         * lyx_main.C (LyX): use boost::format
5027         (init): ditto
5028         (queryUserLyXDir): ditto
5029         (readRcFile): ditto
5030         (parse_dbg): ditto
5031         (typedef boost::function): use the recommened syntax.
5032
5033         * importer.C (Import): use boost::format
5034
5035         * debug.C (showLevel): use boost::format
5036
5037         * converter.C (view): use boost::format
5038         (convert): ditto
5039         (move): ditto
5040         (scanLog): ditto
5041
5042         * bufferview_funcs.C (currentState): use boost::format
5043
5044         * bufferlist.C (emergencyWrite): use boost::format
5045
5046         * buffer.C (readLyXformat2): use boost::format
5047         (parseSingleLyXformat2Token): ditto
5048
5049         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5050
5051         * LaTeX.C (run): use boost::format
5052
5053         * Chktex.C (scanLogFile): use boost::format
5054
5055         * BufferView_pimpl.C (savePosition): use boost::format
5056         (restorePosition): ditto
5057         (MenuInsertLyXFile): ditto
5058
5059         * BoostFormat.h: help file for explicit instation.
5060
5061 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5062
5063         * tabular.C (latex): Support for block alignment in fixed width
5064         columns.
5065
5066 2002-11-17  John Levon  <levon@movementarian.org>
5067
5068         * BufferView_pimpl.C:
5069         * lyx_cb.C:
5070         * lyxfunc.C: split filedialog into open/save
5071
5072 2002-11-08  Juergen Vigna  <jug@sad.it>
5073
5074         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5075         by my last patch (hopefully).
5076
5077 2002-11-08  John Levon  <levon@movementarian.org>
5078
5079         * iterators.h:
5080         * iterators.C:
5081         * buffer.h:
5082         * buffer.C:
5083         * paragraph.h:
5084         * paragraph.C:
5085         * toc.h:
5086         * toc.C: ParConstIterator, and use it (from Lars)
5087
5088 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5089
5090         * lyxtextclass.[Ch]: revise and add doxygen comments
5091
5092 2002-11-07  John Levon  <levon@movementarian.org>
5093
5094         * text.C: fix progress value for spellchecker
5095
5096         * toc.C: fix navigate menu for insetwrap inside minipage
5097
5098         * paragraph_funcs.C: added FIXME for suspect code
5099
5100 2002-11-07  John Levon  <levon@movementarian.org>
5101
5102         * BufferView_pimpl.C: fix redrawing of insets
5103           on buffer switch
5104
5105 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5106
5107         * text2.C (updateCounters): fix bug 668
5108
5109 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5110
5111         * text3.C (dispatch): Do not make the buffer dirty when moving the
5112         cursor.
5113
5114 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5115
5116         * vc-backend.C: STRCONV
5117         (scanMaster): ditto
5118
5119         * text2.C (setCounter): STRCONV
5120
5121         * paragraph.C (asString): STRCONV
5122
5123         * lyxlength.C (asString): STRCONV
5124         (asLatexString): ditto
5125
5126         * lyxgluelength.C (asString): STRCONV
5127         (asLatexString): ditto
5128
5129         * lyxfunc.C (dispatch): STRCONV
5130         (open): ditto
5131
5132         * lyxfont.C (stateText): STRCONV
5133
5134         * importer.C (Import): STRCONV
5135
5136         * counters.C (labelItem): STRCONV
5137         (numberLabel): ditto
5138         (numberLabel): remove unused ostringstream o
5139
5140         * chset.C: STRCONV
5141         (loadFile): ditto
5142
5143         * bufferview_funcs.C (currentState): STRCONV
5144
5145         * buffer.C (readFile): STRCONV
5146         (asciiParagraph): ditto
5147         (makeLaTeXFile): ditto
5148
5149         * Spacing.C (writeEnvirBegin): STRCONV
5150
5151         * LaTeXFeatures.C (getLanguages): STRCONV
5152         (getPackages): ditto
5153         (getMacros): ditto
5154         (getBabelOptions): ditto
5155         (getTClassPreamble): ditto
5156         (getLyXSGMLEntities): ditto
5157         (getIncludedFiles): ditto
5158
5159         * LaTeX.C: STRCONV
5160         (run): ditto
5161         (scanAuxFile): ditto
5162         (deplog): ditto
5163
5164         * LString.h: add the STRCONV macros
5165
5166         * BufferView_pimpl.C (savePosition): STRCONV
5167         (restorePosition): ditto
5168         (MenuInsertLyXFile): ditto
5169
5170         * vc-backend.C (scanMaster): change from submatch[...] to
5171         submatch.str(...)
5172
5173         * funcrequest.C: include config.h
5174
5175         * factory.C: include config.h
5176
5177         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5178
5179         * box.C: include config.h
5180
5181         * LaTeX.C (scanAuxFile): change from submatch[...] to
5182         submatch.str(...)
5183         (deplog): ditto
5184
5185 2002-10-25  Angus Leeming  <leeming@lyx.org>
5186
5187         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5188
5189         * ispell.[Ch] (setError): new method.
5190         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5191         Use setError() insetead of goto END.
5192
5193         * lyx_cb.C (AutoSave): move out child process into new class
5194         AutoSaveBuffer.
5195
5196 2002-10-30  John Levon  <levon@movementarian.org>
5197
5198         * text3.C: make start appendix undoable
5199
5200 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5201
5202         * lyxlength.C (inPixels): Fix returned value.
5203
5204         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5205         environment.
5206
5207 2002-10-24  Angus Leeming  <leeming@lyx.org>
5208
5209         * lyxgluelength.h: no need to forward declare BufferParams
5210         or BufferView, so don't.
5211
5212 2002-10-21  John Levon  <levon@movementarian.org>
5213
5214         * BufferView.C: menuUndo ->undo, redo
5215
5216         * BufferView.h: document, remove dead, make some methods private
5217
5218         * paragraph_funcs.h:
5219         * paragraph_funcs.C:
5220         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5221
5222         * buffer.h:
5223         * buffer.C:
5224         * sgml.h:
5225         * sgml.C: move sgml open/close tag into sgml.C
5226
5227         * bufferview_funcs.h: unused prototype
5228
5229         * lyxfunc.h:
5230         * lyxfunc.C: remove unused
5231
5232         * lyxtext.h:
5233         * text.C: remove unused
5234
5235 2002-10-21  John Levon  <levon@movementarian.org>
5236
5237         * BufferView.h:
5238         * BufferView.C:
5239         * BufferView_pimpl.h:
5240         * BufferView_pimpl.C: fix mouse wheel handling based on
5241           patch from Darren Freeman
5242
5243 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5244
5245         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5246
5247 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5248
5249         * lyxlength.C (inPixels): Fix hanfling of negative length.
5250         Fix LyXLength::MU case.
5251
5252 2002-10-16  John Levon  <levon@movementarian.org>
5253
5254         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5255
5256 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5257
5258         * converter.C (view): add support for $$i (file name) and $$p
5259         (file path) for the viewer command. If $$i is not specified, then
5260         it is appended to the command (for compatibility with old syntax)
5261
5262 2002-10-14  Juergen Vigna  <jug@sad.it>
5263
5264         * undo_funcs.C (textHandleUndo): alter the order in which the
5265         new undopar is added to the LyXText, as we have to set first
5266         the right prev/next and then add it as otherwise the rebuild of
5267         LyXText is not correct. Also reset the cursor to the right paragraph,
5268         with this IMO we could remove the hack in "redoParagraphs()".
5269
5270 2002-10-09  Angus Leeming  <leeming@lyx.org>
5271
5272         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5273         to turn off an optimisation if a new inset is to be inserted.
5274
5275 2002-10-11 André Pönitz <poenitz@gmx.net>
5276
5277         * lyxtext.h: make some functions public to allow access
5278         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5279
5280 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5281
5282         * text3.C (dispatch): when changing layout, avoid an infinite loop
5283         [bug #652]
5284
5285 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5286
5287         * lyxrc.C (read): treat a viewer or converter command of "none" as
5288         if it were empty.
5289
5290         * MenuBackend.C (expandFormats): for an update, also allow the
5291         formats that are not viewable
5292
5293         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5294         script if it is newer than the lyxrc.defaults in user directory
5295
5296 2002-10-07 André Pönitz <poenitz@gmx.net>
5297
5298         * text.C: Vitaly Lipatov's small i18n fix
5299
5300 2002-09-25  Angus Leeming  <leeming@lyx.org>
5301
5302         * ispell.h: doxygen fix.
5303
5304 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5305
5306         * buffer.h (readFile): Add a new argument to the method, to allow
5307         reading of old-format templates.
5308
5309 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5310
5311         * toc.C (getTocList): Get TOC from InsetWrap.
5312
5313 2002-09-16  John Levon  <levon@movementarian.org>
5314
5315         * lyxfunc.C: check tabular for cut/copy too
5316
5317 2002-09-12  John Levon  <levon@movementarian.org>
5318
5319         * LyXAction.C: tidy
5320
5321         * factory.h:
5322         * factory.C: add header
5323
5324         * paragraph_funcs.h:
5325         * paragraph_funcs.C: cleanup
5326
5327 2002-09-11  John Levon  <levon@movementarian.org>
5328
5329         * PrinterParams.h: odd/even default to true
5330
5331 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5332
5333         * PrinterParams.h: update printer parameters for new xforms dialog
5334
5335 2002-09-11  Angus Leeming  <leeming@lyx.org>
5336
5337         * lyxserver.C (read_ready): re-write to make it more transparent
5338         and to make it work in coherent fashion under Tru64 Unix.
5339
5340 2002-09-11  André Pönitz <poenitz@gmx.net>
5341
5342         * commandtags.h:
5343         * LyXAction.C:
5344         * text3.C: implement LFUN_WORDSEL
5345
5346 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5347
5348         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5349         make floatlist_ a boost::shared_ptr<FloatList>
5350
5351         * lyxtextclass.C: include FloatList.h
5352         (LyXTextClass): initialize floatlist_
5353         (TextClassTags): add TC_NOFLOAT
5354         (Read): match "nofloat" to TC_NOFLOAT and use it.
5355         (readFloat): modify call to floatlist_
5356         (floats): ditto
5357         (floats): ditto
5358
5359         * FloatList.[Ch] (FloatList): remove commented out float
5360         initialization.
5361         (erase): new function
5362
5363 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5364
5365         * MenuBackend.C (expandToc): fix crash when there is no document
5366         open
5367
5368 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5369
5370         * many files: Add insetwrap.
5371
5372 2002-09-09  John Levon  <levon@movementarian.org>
5373
5374         * text2.C: remove confusing and awkward depth wraparound
5375
5376 2002-09-09  John Levon  <levon@movementarian.org>
5377
5378         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5379
5380         * buffer.h:
5381         * buffer.C: remove getIncludeonlyList()
5382
5383         * paragraph.C:
5384         * lyxfunc.C: remove headers
5385
5386 2002-09-09  Juergen Vigna  <jug@sad.it>
5387
5388         * text.C (getColumnNearX): fix form Michael this is most
5389         probably a cut&paste bug.
5390
5391 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5392
5393         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5394
5395         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5396         references, ws changes.
5397
5398         * text2.C (init): update counters after init
5399         (insertParagraph): no need to set counter on idividual paragraphs.
5400         (setCounter): access the counters object in the textclass object
5401         on in the buffer object.
5402         (updateCounters): ditto
5403
5404         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5405         shared_ptr<Counters> to avoid loading counters.h in all
5406         compilation units.
5407         (LyXTextClass): initialize ctrs_
5408         (TextClassTags): add TC_COUNTER, and ...
5409         (Read): use it here.
5410         (CounterTags): new tags
5411         (readCounter): new function
5412         (counters): new funtion
5413         (defaultLayoutName): return a const reference
5414
5415         * counters.C (Counters): remove contructor
5416         (newCounter): remove a couple of unneeded statements.
5417         (newCounter): simplify a bit.
5418         (numberLabel): some small formatting changes.
5419
5420         * buffer.[Ch]: remove all traces of counters, move the Counters
5421         object to the LyXTextClass.
5422
5423 2002-09-06  Alain Castera  <castera@in2p3.fr>
5424
5425         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5426         package to set the horizontal alignment on fixed width columns.
5427
5428         * lyx_sty.C:
5429         * lyx_sty.h: added tabularnewline macro def.
5430
5431         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5432
5433 2002-09-06  John Levon  <levon@movementarian.org>
5434
5435         * LyXAction.C: tooltips for sub/superscript
5436
5437         * MenuBackend.C: a bit more verbose
5438
5439         * lyxfunc.C: tiny clean
5440
5441         * undo_funcs.C: document undo_frozen
5442
5443 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * counters.C (Counters): add missing algorithm counter.
5446
5447         * text2.C (setCounter): lookup the counter with layouts latexname
5448         instead of by section number.
5449         (setCounter): use a hackish way to lookup the correct enum
5450         counter.
5451         a float name->type change
5452         reset enum couners with counter name directly instead of depth value.
5453
5454         * counters.C (Counters): remove the push_backs, change to use the
5455         float type not the float name.
5456         (labelItem): remove unused string, float name->type change
5457
5458         * counters.h: don't include vector, loose the enums and sects vectors
5459
5460 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5461
5462         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5463         (Read): add float->TC_FLOAT to textclassTags
5464         (Read): and handle it in the switch
5465         (readFloat): new function
5466
5467         * FloatList.C (FloatList): comment out the hardcoded float
5468         definitions.
5469
5470         * lyxlayout.h: ws change.
5471
5472 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5473
5474         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5475
5476 2002-09-03  Angus Leeming  <leeming@lyx.org>
5477
5478         * BufferView_pimpl.h: qualified name is not allowed in member
5479         declaration: WorkArea & Pimpl::workarea() const;
5480
5481         * factory.C: added using std::endl directive.
5482
5483         * text3.C: added using std::find and std::vector directives.
5484
5485 2002-08-29  André Pönitz <poenitz@gmx.net>
5486
5487         * lyxtext.h:
5488         * text2.C: remove unused member number_of_rows
5489
5490         * Makefile.am:
5491         * BufferView2.C: remove file, move contents to...
5492         * BufferView.C: ... here
5493
5494         * BufferView_pimpl.C:
5495         * factory.C: move more inset creation to factory
5496
5497         * vspace.C: avoid direct usage of LyXText, ws changes
5498
5499         * BufferView.[Ch]:
5500                 don't provide direct access to WorkArea, use two simple
5501                 acessors haveSelction() and workHeight() instead
5502
5503
5504 2002-08-29  John Levon  <levon@movementarian.org>
5505
5506         * BufferView_pimpl.C (dispatch): do not continue when
5507           no buffer
5508
5509 2002-08-28  André Pönitz <poenitz@gmx.net>
5510
5511         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5512
5513         * BufferView.h:
5514         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5515
5516 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5517
5518         * buffer.C: increment LYX_FORMAT to 221
5519
5520         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5521         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5522
5523         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5524
5525         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5526
5527 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5528
5529         * factory.C (createInset): use LyXTextClass::floats
5530
5531         * MenuBackend.C (expandFloatListInsert):
5532         (expandFloatInsert):
5533         (expandToc):
5534
5535         * text2.C (setCounter):
5536
5537         * LaTeXFeatures.C (useFloat):
5538         (getFloatDefinitions):
5539
5540         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5541
5542         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5543         floatlist_, with accessor floats().
5544
5545         * FloatList.h: remove global FloatList
5546
5547 2002-08-26  André Pönitz <poenitz@gmx.net>
5548
5549         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5550
5551         * BufferView.h:
5552         * BufferView2.C:
5553         * BufferView_pimpl.C:
5554         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5555
5556 2002-08-25  John Levon  <levon@movementarian.org>
5557
5558         * LyXAction.C: fix margin note description
5559
5560 2002-08-24  John Levon  <levon@movementarian.org>
5561
5562         * buffer.C:
5563         * bufferlist.C:
5564         * bufferview_funcs.C:
5565         * lyxfont.C:
5566         * undo_funcs.C: cleanups
5567
5568         * lyxfunc.C: disable CUT/COPY when no selection
5569
5570 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5571
5572         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5573         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5574
5575         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5576         Add backward compatibility to "mono", "gray" and "no".
5577
5578 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5579
5580         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5581         (and file_format >= 200).
5582
5583 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5584
5585         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5586
5587 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5588
5589         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5590
5591 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5592
5593         * BufferView_pimpl.C:
5594         * LyXAction.C:
5595         * buffer.C:
5596         * commandtags.h:
5597         * lyxfunc.C:
5598         * paragraph.[Ch]:
5599         * text2.C:
5600         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5601         inset and code to make it  work with the paragraph code. The inset
5602         can be anywhere in the paragraph, but will only do the expected
5603         thing in LaTeX if the layout file contains the parameter line
5604                         OptionalArgs    1
5605         (or more generally, a nonzero value) for that layout.
5606
5607 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5608
5609         * paragraph.h: remove the declaration of undefined counters class
5610         function.
5611
5612 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5613
5614         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5615         Dr. Richard Hawkins.
5616
5617 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5618
5619         * paragraph_funcs.h: remove some unneeded includes
5620
5621         * text.C (backspace): pasteParagraph now in global scipe
5622
5623         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5624         (pasteSelection): ditto
5625
5626         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5627         * paragraph_funcs.C (pasteParagraph): ... here
5628
5629 2002-08-20  André Pönitz <poenitz@gmx.net>
5630
5631         * commandtags.h: new LFUNs for swapping/copying table row/colums
5632
5633         * LyXAction.C:
5634         * lyxfunc.C: support for new lfuns
5635
5636 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5637
5638         * tabular.C:
5639         * buffer.[Ch]: remove NO_COMPABILITY stuff
5640
5641 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5642
5643         * boost.C (throw_exception): new file, with helper function for
5644         boost compiled without exceptions.
5645
5646         * paragraph.h:
5647         * lyxlength.C:
5648         * buffer.C:
5649         * ParameterStruct.h:
5650         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5651
5652         * bufferlist.C (emergencyWriteAll): use boost bind
5653
5654         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5655
5656         * text.C: include paragraph_funcs.h
5657         (breakParagraph): breakParagraph is now in global scope
5658
5659         * paragraph_funcs.[Ch]: new files
5660
5661         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5662         global scope
5663
5664         * buffer.C: include paragraph_funcs.h
5665         (insertStringAsLines): breakParagraph is now in global scope
5666
5667         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5668         paragraph_funcs.C
5669
5670         * CutAndPaste.C: include paragraph_funcs.h
5671         (cutSelection): breakParagraphConservative is now in global scope
5672         (pasteSelection): ditto
5673
5674         * buffer.h: declare oprator== and operator!= for
5675         Buffer::inset_iterator
5676
5677         * bufferlist.C (emergencyWrite): don't use fmt(...)
5678
5679         * text3.C: add using std::endl
5680
5681         * BufferView.C (moveCursorUpdate): remove default arg
5682
5683 2002-08-20  André Pönitz <poenitz@gmx.net>
5684
5685         * buffer.[Ch]: move inline functions to .C
5686
5687         * BufferView2.C:
5688         * BufferView_pimpl.C:
5689         * text.C:
5690         * buffer.[Ch]: use improved inset_iterator
5691
5692         * buffer.C:
5693         * paragraph.[Ch]: write one paragraph at a time
5694
5695 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5696
5697         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5698         style if style is not specified.
5699
5700 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5701
5702         * text2.C (setCounter): when searching for right label for a
5703         caption, make sure to recurse to parent insets (so that a caption
5704         in a minipage in a figure float works) (bug #568)
5705
5706 2002-08-20  André Pönitz <poenitz@gmx.net>
5707
5708         * text3.C: new file for LyXText::dispatch() and helpers
5709
5710         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5711
5712         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5713
5714 2002-08-19  André Pönitz <poenitz@gmx.net>
5715
5716         * lyxtext.h:
5717         * text.C: new LyXText::dispatch()
5718
5719         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5720
5721 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5722
5723         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5724
5725         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5726         Hebrew text.
5727
5728 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5729
5730         * Makefile.am: use $(variables) instead of @substitutions@
5731
5732 2002-08-15  André Pönitz <poenitz@gmx.net>
5733
5734         * lyxfunc.C:
5735         * BufferView_pimpl.C: streamlining mathed <-> outer world
5736         interaction
5737
5738         * commandtags.h:
5739         * LyXAction.C: remove unused LFUN_MATH
5740
5741 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5742
5743         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5744
5745 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5746
5747         * paragraph.C (Paragraph): reformat a bit
5748         (cutIntoMinibuffer): use builtin InsetList function instad of
5749         doing it manually.
5750         (getInset): ditto
5751
5752         * buffer.C: include boost/bind.hpp, add using std::for_each
5753         (writeFileAscii): use ParagraphList iterators
5754         (validate): use for_each for validate traversal of paragraphs
5755         (getBibkeyList): use ParagraphList iterators
5756         (resizeInsets): use for_each to resizeInsetsLyXText for all
5757         paragraphs.
5758         (getParFromID): use ParagraphList iterators
5759
5760         * BufferView2.C (lockInset): use paragraph list and iterators
5761
5762 2002-08-14  John Levon  <levon@movementarian.org>
5763
5764         * lyxserver.C: remove spurious xforms include
5765
5766 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5767
5768         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5769
5770 2002-08-13  André Pönitz <poenitz@gmx.net>
5771
5772         * LyXAction.[Ch]:
5773         * lyxfunc.C: further cleaning
5774
5775 2002-08-13  André Pönitz <poenitz@gmx.net>
5776
5777         * funcrequest.h: new constructor
5778
5779         * funcrequest.C: move stuff here from .h
5780
5781         * Makefile.am:
5782         * BufferView_pimpl.C:
5783         * LyXAction.C:
5784         * toc.C:
5785         * lyxfunc.C: subsequent changes
5786
5787         * lyxfunc.h: new view() member function
5788
5789         * lyxfunc.C: subsequent changes
5790
5791 2002-08-13  Angus Leeming  <leeming@lyx.org>
5792
5793         * BufferView2.C:
5794         * BufferView_pimpl.C:
5795         * buffer.C:
5796         * converter.C:
5797         * importer.C:
5798         * lyxfunc.C:
5799         * lyxvc.C:
5800         * toc.C:
5801         * vc-backend.C:
5802         changes due to the changed LyXView interface that now returns references
5803         to member variables not pointers.
5804
5805 2002-08-13  Angus Leeming  <leeming@lyx.org>
5806
5807         * WordLangTuple (word, lang_code): return references to strings,
5808         not strings.
5809
5810         * BufferView.h:
5811         * SpellBase.h:
5812         * lyxtext.h: forward-declare WordLangTuple.
5813
5814         * BufferView2.C:
5815         * ispell.C:
5816         * pspell.C:
5817         * text.C: #include "WordLangTuple.h".
5818
5819         * lyxtext.h:
5820         * text.C: (selectNextWordToSpellcheck): constify return type.
5821
5822 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5823
5824         * buffer.C:
5825         * buffer.h:
5826         * lyxtext.h:
5827         * paragraph.C:
5828         * paragraph_pimpl.h:
5829         * text.C:
5830         * text2.C:
5831         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5832         suggested by Angus.
5833         Made updateCounter always count from start of buffer, and removed
5834         second argument (par).
5835         Reverted floats number display to '#'. Perhaps I'll try again when the
5836         code base is sanitized a bit.
5837
5838 2002-08-12  Angus Leeming  <leeming@lyx.org>
5839
5840         * buffer.[Ch] (getLabelList): constify.
5841
5842 2002-08-07  André Pönitz <poenitz@gmx.net>
5843
5844         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5845
5846         * funcrequest.h: extension to keep mouse (x,y) position
5847
5848 2002-08-12  Juergen Vigna  <jug@sad.it>
5849
5850         * BufferView2.C (insertErrors): forbid undo when inserting error
5851         insets.
5852
5853         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5854
5855 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5856
5857         * ParagraphList.[Ch]: new files
5858
5859         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5860
5861         * BufferView2.C (lockInset): ParagraphList changes
5862         * toc.C: ditto
5863         * text2.C: ditto
5864         * bufferlist.C: ditto
5865         * buffer.h: ditto
5866         * buffer.C: ditto
5867
5868 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5869
5870         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5871         unused class variable counter_,
5872
5873         * paragraph.[Ch] (getFirstCounter): delete unused function
5874
5875         * counters.C: include LAssert.h
5876         (reset): add a new function with no arg, change other version to
5877         not have def. arg and to not allow empty arg.
5878
5879         * text2.C (setCounter): remove empty arg from call to Counters::reset
5880
5881 2002-08-11  John Levon  <levon@movementarian.org>
5882
5883         * Makefile.am: add WordLangTuple.h
5884
5885 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5886
5887         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5888         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5889
5890         * insets/insettext.C: InsetList changes
5891
5892         * graphics/GraphicsSupport.C (operator()): InsetList changes
5893
5894         * toc.C (getTocList): InsetList changes
5895
5896         * paragraph_pimpl.[Ch]: InsetList changes
5897
5898         * paragraph.[Ch]: InsetList changes
5899
5900         * buffer.C (inset_iterator): InsetList changes
5901         (setParagraph): ditto
5902         * buffer.h (inset_iterator): ditto
5903         * iterators.C (operator++): ditto
5904         * iterators.h: ditto
5905
5906         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5907
5908         * InsetList.[Ch]: new files, most InsetList handling moved out of
5909         paragraph.C.
5910
5911         * BufferView2.C (removeAutoInsets): InsetList changes
5912         (lockInset): ditto
5913         (ChangeInsets): ditto
5914
5915 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5916
5917         * paragraph_pimpl.h (empty): new function
5918
5919         * paragraph.[Ch] (empty): new function
5920
5921         * other files: use the new Paragraph::empty function
5922
5923 2002-08-09  John Levon  <levon@movementarian.org>
5924
5925         * lyxtext.h: remove unused refresh_height
5926
5927 2002-08-09  John Levon  <levon@movementarian.org>
5928
5929         * Makefile.am:
5930         * sgml.h:
5931         * sgml.C:
5932         * buffer.C:
5933         * paragraph.h:
5934         * paragraph.C: move sgml char escaping out of paragraph
5935
5936         * paragraph.h:
5937         * paragraph.C: remove id setter
5938
5939         * buffer.C:
5940         * paragraph.C:
5941         * paragraph_pimpl.C: remove dead tex_code_break_column
5942
5943         * bufferview_funcs.C: small cleanup
5944
5945         * lyxfunc.C: remove dead proto
5946
5947         * lyxtext.h: make some stuff private. Remove some dead stuff.
5948
5949         * lyxgluelength.C: make as[LyX]String() readable
5950
5951 2002-08-08  John Levon  <levon@movementarian.org>
5952
5953         * LyXAction.h:
5954         * LyXAction.C:
5955         * MenuBackend.C:
5956         * ToolbarDefaults.C:
5957         * lyxfunc.C:
5958         * lyxrc.C:
5959         * toc.C: lyxaction cleanup
5960
5961 2002-08-08  John Levon  <levon@movementarian.org>
5962
5963         * BufferView2.C: small cleanup
5964
5965         * lyxfind.h:
5966         * lyxfind.C: move unnecessary header into the .C
5967
5968 2002-08-08  John Levon  <levon@movementarian.org>
5969
5970         * funcrequest.h: just tedious nonsense
5971
5972         * lyx_main.h:
5973         * lyx_main.C: cleanups
5974
5975         * buffer.C:
5976         * vspace.C: remove dead header lyx_main.h
5977
5978 2002-08-07  Angus Leeming  <leeming@lyx.org>
5979
5980         * Paragraph.[Ch]:
5981         * paragraph_pimpl.h:
5982         Forward declare class Counters in paragraph.h by moving the ctrs member
5983         variable into Paragraph::Pimpl.
5984         (counters): new method, returning a reference to pimpl_->ctrs.
5985
5986         * text2.C: ensuing changes.
5987
5988 2002-08-07  John Levon  <levon@movementarian.org>
5989
5990         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5991
5992         * BufferView_pimpl.C: announce X selection on double/triple
5993           click
5994
5995         * lyx_main.C: use correct bool in batch dispatch
5996
5997         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5998
5999 2002-08-07  André Pönitz <poenitz@gmx.net>
6000
6001         * funcrequest.h: new class to wrap a kb_action and its argument
6002
6003         * BufferView.[Ch]:
6004         * BufferView_pimpl[Ch]:
6005         * LaTeX.C:
6006         * LyXAction.[Ch]:
6007         * lyxfunc.[Ch]:
6008         * lyxrc.C: subsequent changes
6009
6010
6011 2002-08-07  John Levon  <levon@movementarian.org>
6012
6013         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6014           document options change.
6015
6016 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6017
6018         * counters.[Ch]
6019         * text2.C
6020         * paragraph.[Ch]
6021         * makefile.am: move counters functionality over from
6022         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6023
6024 2002-08-06  John Levon  <levon@movementarian.org>
6025
6026         * WordLangTuple.h: new file for word + language code tuple
6027
6028         * SpellBase.h:
6029         * pspell.h:
6030         * pspell.C:
6031         * ispell.h:
6032         * ispell.C:
6033         * lyxtext.h:
6034         * text.C:
6035         * text2.C:
6036         * BufferView.h:
6037         * BufferView2.C: use WordLangTuple
6038
6039         * layout.h:
6040         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6041
6042 2002-08-06  John Levon  <levon@movementarian.org>
6043
6044         * lyx_main.C: fix cmdline batch handling
6045
6046 2002-08-06  André Pönitz <poenitz@gmx.net>
6047
6048         * lyxrc.C: set default for show_banner to true
6049
6050 2002-08-06  John Levon  <levon@movementarian.org>
6051
6052         * pspell.C: fix a crash, and allow new aspell to work
6053
6054 2002-08-06  John Levon  <levon@movementarian.org>
6055
6056         * lyxfunc.C:
6057         * kbmap.C: small cleanup
6058
6059         * vspace.h:
6060         * vspace.C: add const
6061
6062 2002-08-05  John Levon  <levon@movementarian.org>
6063
6064         * LyXAction.C: back to tabular-insert
6065
6066 2002-08-04  John Levon  <levon@movementarian.org>
6067
6068         * BufferView.h:
6069         * BufferView.C: cosmetic change
6070
6071         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6072
6073         * bufferlist.C:
6074         * buffer.h:
6075         * buffer.C:
6076         * lyxcb.h:
6077         * lyxcb.C:
6078         * lyxserver.C:
6079         * lyxvc.C:
6080         * vc-backend.C:
6081         * BufferView2.C: purge all "Lyx" not "LyX" strings
6082
6083         * lyxcursor.h:
6084         * lyxcursor.C: attempt to add some documentation
6085
6086         * lyxfunc.C:
6087         * commandtags.h:
6088         * LyXAction.C:
6089         * ToolbarDefaults.C:
6090         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6091           merge with LFUN_TABULAR_INSERT
6092
6093         * Makefile.am:
6094         * SpellBase.h:
6095         * ispell.h:
6096         * ispell.C:
6097         * pspell.h:
6098         * pspell.C: split up i/pspell implementations into separate
6099           files, many cleanups
6100
6101         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6102
6103         * text2.C: some cleanup
6104
6105         * lyxfunc.C: don't check for isp_command == "none" any more, it
6106           didn't make any sense
6107
6108 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6109
6110         * counters.[Ch]
6111         * text2.C
6112         * paragraph.[Ch]
6113         * makefile.am: move counters functionality over
6114         from text2.C/paragraph.[Ch] to counters.[Ch], and
6115         make proper C++.
6116 2002-08-02  John Levon  <levon@movementarian.org>
6117
6118         * buffer.C: s/lyxconvert/lyx2lyx/
6119
6120 2002-08-02  Angus Leeming  <leeming@lyx.org>
6121
6122         * lyxlex.C: revert John's change as it breaks reading of the user
6123         preamble.
6124
6125 2002-08-02  Angus Leeming  <leeming@lyx.org>
6126
6127         * importer.C (Import):
6128         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6129         changes due to LyXView::view() now returning a boost::shared_ptr.
6130
6131 2002-08-02  John Levon  <levon@movementarian.org>
6132
6133         * lyxlex.C: small cleanup
6134
6135 2002-08-02  John Levon  <levon@movementarian.org>
6136
6137         * text2.C (status): small cleanup, no logic change
6138
6139 2002-08-01  John Levon  <levon@movementarian.org>
6140
6141         * buffer.h:
6142         * buffer.C (writeFile): don't output alerts, caller
6143           handles this
6144
6145         * bufferlist.C:
6146         * lyx_cb.C: from above
6147
6148         * lyxfunc.C: allow to open non-existent files
6149
6150 2002-07-31  John Levon  <levon@movementarian.org>
6151
6152         * lyxserver.C: don't let incidental errors get
6153           in the way (errno)
6154
6155 2002-07-30  John Levon  <levon@movementarian.org>
6156
6157         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6158
6159 2002-07-30  John Levon  <levon@movementarian.org>
6160
6161         * lyxserver.h:
6162         * lyxserver.C: remove I/O callback too
6163
6164 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6165
6166         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6167         log.
6168
6169 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6170
6171         * many files: strip,frontStrip -> trim,ltrim,rtrim
6172
6173 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6174
6175         * PrinterParams.h: remove extern containsOnly, and include
6176         support/lstrings.h instead.
6177
6178         * LaTeX.C (scanAuxFile): modify because of strip changes
6179         (deplog): ditto
6180         * buffer.C (makeLaTeXFile): ditto
6181         * bufferparams.C (writeFile): ditt
6182         * lyxfont.C (stateText): ditto
6183         * lyxserver.C (read_ready): ditto
6184         * vc-backend.C (scanMaster): ditto
6185
6186         * BufferView_pimpl.h: ws changes
6187
6188         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6189
6190 2002-07-26  André Pönitz <poenitz@gmx.net>
6191
6192         * kb_sequence.C: remove unnedred usings
6193
6194 2002-07-26  Juergen Vigna  <jug@sad.it>
6195
6196         * lyxfind.C (LyXReplace): we have to check better if the returned
6197         text is not of theLockingInset()->getLockingInset().
6198
6199 2002-07-25  Juergen Vigna  <jug@sad.it>
6200
6201         * lyxfind.C (LyXReplace): don't replace if we don't get the
6202         right LyXText.
6203
6204         * undo_funcs.C (createUndo): remove debugging code.
6205
6206 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6207
6208         * buffer.C (parseSingleLyXformat2Token): Use default placement
6209         when reading old floats.
6210
6211         * FloatList.C (FloatList): Change the default placement of figure
6212         and tables to "tbp".
6213
6214 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6215
6216         * MenuBackend.C: using std::max
6217
6218 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6219
6220         * MenuBackend.C (expandToc):
6221         (expandToc2): code moved from xforms menu frontend. It is now
6222         generic and TOCs are transparent to menu frontends.
6223
6224 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6225
6226         * toc.C (getTocList): protect against buf=0
6227
6228         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6229         Menu as first parameter. Now, this calls itself recursively to
6230         expand a whole tree (this will be useful for TOC handling)
6231         (expandFloatInsert): remove 'wide' version of floats
6232
6233         * MenuBackend.h (submenuname): returns the name of the submenu.
6234         (submenu): returns the submenu itself, provided it has been
6235         created by MenuBackend::expand
6236
6237 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6238
6239         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6240         insets which have noFontChange == true. (bug #172)
6241
6242 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6243
6244         * BufferView_pimpl.C: add connection objects and use them...
6245         (Pimpl): here.
6246
6247 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6248
6249         * MenuBackend.C (expandLastfiles):
6250         (expandDocuments):
6251         (expandFormats):
6252         (expandFloatListInsert):
6253         (expandFloatInsert):
6254         (expand): split expand in parts
6255
6256 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6257
6258         * lyx_gui.C: use lyx_gui::exit()
6259
6260 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6261
6262         * LyXAction.C: show the failing pseudo action
6263
6264 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6265
6266         * buffer.C (readFile): Run the lyxconvert script in order to read
6267         old files.
6268
6269 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6270
6271         * LyXAction.C:
6272         * commandtags.h:
6273         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6274
6275 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6276
6277         * LyXAction.C:
6278         * commandtags.h:
6279         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6280
6281 2002-07-22  Herbert Voss  <voss@lyx.org>
6282
6283         * lengthcommon.C:
6284         * lyxlength.[Ch]: add support for the vertical lengths
6285
6286 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6287
6288         * toc.[Ch]: std:: fixes
6289
6290 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6291
6292         * lyxrc.C: do not include lyx_main.h
6293
6294         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6295         for layouts
6296
6297         * lyxrc.C:
6298         * encoding.C:
6299         * bufferlist.C:
6300         * BufferView2.C: include "lyxlex.h"
6301
6302         * tabular.h:
6303         * bufferparams.h: do not #include "lyxlex.h"
6304
6305         * lyxtextclasslist.C (Add): remove method
6306         (classlist): renamed to classlist_
6307
6308         * paragraph_pimpl.C:
6309         * paragraph.C:
6310         * text2.C:
6311         * CutAndPaste.C:
6312         * bufferview_funcs.C:
6313         * bufferlist.C:
6314         * text.C:
6315         * LaTeXFeatures.C:
6316         * buffer.C:
6317         * toc.C (getTocList): use BufferParams::getLyXTextClass
6318
6319         * toc.C (getTocList): use InsetFloat::addToToc
6320
6321         * toc.[Ch]: new files, containing helper functions to handle table
6322         of contents
6323
6324         * lyxfunc.C (dispatch): no need to remove spaces around command
6325         given as a string
6326         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6327         first command of the sequence; it is not very clever, but I do not
6328         have a better idea, actually
6329
6330         * LyXAction.C (LookupFunc): make sure to remove space at the
6331         beginning and end of the command
6332
6333 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6334
6335         * MenuBackend.C (getMenubar): new method: return the menubar of
6336         this menu set
6337         (read): treat differently reading of menu and menubar (in
6338         particular, the menubar has no name now)
6339         (Menu::menubar): remove
6340
6341         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6342         saving is finished
6343
6344 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6345
6346         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6347         a bibitem inset in a RTL paragraph.
6348
6349 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6350
6351         * paragraph_pimpl.C: constify
6352
6353         * BufferView_pimpl.C:
6354         * LaTeX.C:
6355         * lyxfunc.C: fix dispatch in a nicer way
6356
6357 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6358
6359         * lyxfunc.C (dispatch):
6360         * BufferView_pimpl.C:
6361         * BufferView_pimpl.h:
6362         * BufferView.C:
6363         * BufferView.h: rename Dispatch() to dispatch()
6364
6365         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6366
6367         * lyxlayout.C (Read): honor DependsOn tag
6368
6369         * lyxlayout.[Ch] (depends_on): new method
6370
6371         * version.C.in: update lyx_docversion
6372
6373         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6374
6375         * paragraph.C (validate): remove from here...
6376         * paragraph_pimpl.C (validate): ... and move here
6377         (isTextAt): make it const
6378
6379         * buffer.C (getLists): ws cleanup
6380
6381 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6382
6383         * language.C (read): Use iso8859-1 encoding in latex_lang
6384         (this prevents LyX from crashing when using iso10646-1 encoding).
6385
6386 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6387
6388         * text2.C (toggleInset): if cursor is inside an inset, close the
6389         inset and leave cursor _after_ it
6390
6391 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6392
6393         * lyxfunc.C: move minibuffer completion handling out of here
6394
6395 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6396
6397         * BufferView_pimpl.C:
6398         * LaTeX.C: fix dispatch calls
6399
6400 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6401
6402         * text.C (drawChars): Fix Arabic text rendering.
6403
6404 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6405
6406         * LyXAction.C:
6407         * commandtags.h:
6408         * lyxfunc.C: remove message-push/pop
6409
6410         * lyxserver.C:
6411         * lyxfunc.h:
6412         * lyxfunc.C: rationalise some code by removing verboseDispatch
6413           in favour of a bool argument to dispatch()
6414
6415 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6416
6417         * lyx_main.C (init): make sure to read symlinks as absolute paths
6418
6419 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6420
6421         * lyxfunc.h:
6422         * lyxfunc.C: no need for commandshortcut to be a member
6423
6424 2002-07-15  André Pönitz <poenitz@gmx.net>
6425
6426         * converter.C: add support for $$s (scripts from lib/scripts dir)
6427         * lyx_main.C: white space
6428
6429 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6430
6431         * bufferlist.C:
6432         * lyxrc.h:
6433         * lyxrc.C: remove second exit confirmation
6434
6435 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6436
6437         * BufferView.h:
6438         * BufferView.C:
6439         * BufferView2.C:
6440         * BufferView_pimpl.h:
6441         * BufferView_pimpl.C:
6442         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6443
6444 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6445
6446         * MenuBackend.C (expand): add numeric shortcuts to document menu
6447
6448         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6449
6450 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6451
6452         * lyxfont.C (setLyXFamily):
6453         (setLyXSeries):
6454         (setLyXShape):
6455         (setLyXSize):
6456         (setLyXMisc):
6457         (lyxRead):
6458         * debug.C (value):
6459         * buffer.C (asciiParagraph): use ascii_lowercase
6460
6461 2002-07-15  Mike Fabian  <mfabian@suse.de>
6462
6463         * lyxlex_pimpl.C (search_kw):
6464         * lyxlex.C (getLongString):
6465         * converter.h (operator<):
6466         * converter.C (operator<):
6467         * buffer.C (parseSingleLyXformat2Token):
6468         (asciiParagraph):
6469         * ToolbarDefaults.C (read):
6470         * MenuBackend.C (checkShortcuts):
6471         (read):
6472         * LColor.C (getFromGUIName):
6473         (getFromLyXName): use the compare_ascii_no_case instead of
6474         compare_no_case, because in turkish, 'i' is not the lowercase
6475         version of 'I', and thus turkish locale breaks parsing of tags.
6476
6477 2002-07-16  Angus Leeming  <leeming@lyx.org>
6478
6479         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6480         now takes a Buffer const & argument.
6481
6482 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6483
6484         * BufferView.C (resize): check there's a buffer to resize
6485
6486 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6487
6488         * lyxfunc.C: remove dead code
6489
6490         * lyxserver.h:
6491         * lyxserver.C: use lyx_guii::set_read_callback
6492
6493 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6494
6495         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6496         an inset in a RTL paragraph.
6497
6498 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6499
6500         * lyxfunc.C: repaint after a font size update
6501
6502 2002-07-15  André Pönitz <poenitz@gmx.net>
6503
6504         * lyxlength.C: inBP should be able to return negative values
6505
6506 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6507
6508         * lyxfunc.C: use lyx_gui::update_fonts()
6509
6510 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6511
6512         * lyxfunc.C: use lyx_gui::update_color()
6513
6514 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6515
6516         * bufferlist.C:
6517         * lyxfunc.h:
6518         * lyxfunc.C:
6519         * lyxrc.h:
6520         * lyxrc.C: remove file->new asks for name option, and let
6521           buffer-new take an argument
6522
6523 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6524
6525         * BufferView_pimpl.C: remove unneeded extra repaint()
6526
6527 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6528
6529         * LyXAction.C: allow command-sequence with NoBuffer
6530
6531         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6532
6533 2002-07-10  Angus Leeming  <leeming@lyx.org>
6534
6535         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6536
6537 2002-07-09  Angus Leeming  <leeming@lyx.org>
6538
6539         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6540
6541 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6542
6543         * lengthcommon.h: whitespace
6544
6545         * lyxfunc.C: update scrollbar after goto paragraph
6546
6547         * lyxtext.h: factor out page break drawing, and fix it so
6548           page break/added space paints as selected nicely
6549
6550 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6551
6552         * BufferView_pimpl.C: add FIXMEs, clean up a little
6553
6554 2002-07-09  André Pönitz <poenitz@gmx.net>
6555
6556         * lyxfont.[Ch]: support for wasy symbols
6557
6558 2002-07-08  André Pönitz <poenitz@gmx.net>
6559
6560         * BufferView_pimpl.C: apply John's patch for #93.
6561
6562 2002-07-05  Angus Leeming  <leeming@lyx.org>
6563
6564         * BufferView_pimpl.C (buffer): generate previews if desired.
6565
6566         * LColor.h: add "preview" to the color enum.
6567
6568         * LColor.C (LColor): add a corresponding entry to the items array.
6569
6570         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6571         with this buffer.
6572
6573 2002-07-05  Angus Leeming  <leeming@lyx.org>
6574
6575         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6576         The body of the code is now in the method that is passed an ostream &
6577         rather than a file name.
6578         Pass an additional only_preamble parameter, useful for the forthcoming
6579         preview stuff.
6580
6581 2002-07-03  André Pönitz <poenitz@gmx.net>
6582
6583         * lyxfunc.C: simplify getStatus() a bit for math stuff
6584
6585 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6586
6587         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6588
6589 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6590
6591         * text.C (changeRegionCase): do not change case of all the
6592         document when region ends at paragraph end (bug #461)
6593
6594 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6595
6596         * paragraph.C (startTeXParParams):
6597         (endTeXParParams): add \protect when necessary
6598
6599 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6600
6601         * BufferView_pimpl.C (workAreaExpose): remove warning
6602
6603 2002-06-27  Angus Leeming  <leeming@lyx.org>
6604
6605         * Makefile.am: add lyxlayout_ptr_fwd.h.
6606
6607 2002-06-26  André Pönitz <poenitz@gmx.net>
6608
6609         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6610
6611 2002-06-25  Angus Leeming  <leeming@lyx.org>
6612
6613         * lyxfunc.C (dispatch): Comment out the call to
6614         grfx::GCache::changeDisplay. The method no longer exists now that the
6615         pixmap generation part of the graphics loader has been moved into
6616         InsetGraphics.
6617
6618 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6619
6620         * text2.C: layout as layout
6621
6622         * text.C: layout as layout
6623
6624         * tabular.C (OldFormatRead): layout as layout
6625
6626         * paragraph_pimpl.C (TeXDeeper): layout as layout
6627         (realizeFont): layout as layout
6628
6629         * paragraph.C (writeFile): layout as layout
6630         (validate): layout as layout
6631         (getFont): layout as layout
6632         (getLabelFont): layout as layout
6633         (getLayoutFont): layout as layout
6634         (breakParagraph): layout as layout
6635         (stripLeadingSpaces): layout as layout
6636         (getEndLabel): layout as layout
6637         (getMaxDepthAfter): layout as layout
6638         (applyLayout): layout as layout
6639         (TeXOnePar): layout as layout
6640         (simpleTeXOnePar): layout as layout
6641         (TeXEnvironment): layout as layout
6642         (layout): layout as layout
6643         (layout): layout as layout
6644
6645         * lyxtextclass.C (compare_name): new functor to work with
6646         shared_ptr, layout as layout
6647         (Read): layout as layout
6648         (hasLayout): layout as layout
6649         (operator): layout as layout
6650         (delete_layout): layout as layout
6651         (defaultLayout): layout as layout
6652
6653         * lyxlayout_ptr_fwd.h: new file
6654
6655         * lyxlayout.C (Read): layout as layout
6656
6657         * lyx_cb.C (MenuInsertLabel): layout as layout
6658
6659         * bufferlist.C (newFile): layout as layout
6660
6661         * buffer.C (readLyXformat2): layout as layout
6662         (parseSingleLyXformat2Token): layout as layout
6663         (insertStringAsLines): layout as layout
6664         (asciiParagraph): layout as layout
6665         (latexParagraphs): layout as layout
6666         (makeLinuxDocFile): layout as layout
6667         (simpleLinuxDocOnePar): layout as layout
6668         (makeDocBookFile): layout as layout
6669         (simpleDocBookOnePar): layout as layout
6670         (getLists): layout as layout
6671
6672         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6673
6674         * CutAndPaste.C (cutSelection): layout as layout
6675         (pasteSelection): layout as layout
6676         (SwitchLayoutsBetweenClasses): layout as layout
6677
6678         * BufferView_pimpl.C (Dispatch): layout as layout
6679         (smartQuote): layout as layout
6680
6681         * BufferView2.C (unlockInset): layout as layout
6682
6683 2002-06-24  André Pönitz <poenitz@gmx.net>
6684
6685         * lyxfunc.C: fix #487
6686
6687 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6688
6689         * lyxrc.h:
6690         * lyxrc.C:
6691         * lyxfunc.C: remove display_shortcuts, show_banner
6692
6693 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6694
6695         * Buffer_pimpl.C: oops, update on resize
6696
6697 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6698
6699         * buffer.C:
6700         * converter.C:
6701         * exporter.C:
6702         * lyxfunc.C:
6703         * BufferView.h:
6704         * BufferView.C: use repaint()
6705
6706         * BufferView_pimpl.h:
6707         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6708           as it's a clearer description. Remove superfluous
6709           redraws.
6710
6711 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6712
6713         * text.C: fix bug 488. Not ideal, but getting
6714           getWord() to work properly for the insets that
6715           matter is more difficult ...
6716
6717 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6718
6719         * BufferView_pimpl.C:
6720         * LyXAction.C:
6721         * commandtags.h:
6722         * lyxfunc.C: remove the six million index lyxfuncs to just
6723           one, and DTRT (bug 458)
6724
6725 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6726
6727         * BufferView.h:
6728         * BufferView.C:
6729         * BufferView_pimpl.h:
6730         * BufferView_pimpl.C: clean up resize() stuff,
6731           and unnecessary updateScreen()s
6732
6733 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6734
6735         * BufferView.h:
6736         * BufferView.C:
6737         * BufferView_pimpl.h:
6738         * BufferView_pimpl.C:
6739         * lyxfind.h:
6740         * lyxfind.C:
6741         * minibuffer.C: remove focus management of workarea,
6742           not needed. Use screen's greyOut()
6743
6744 2002-06-17  Herbert Voss  <voss@lyx.org>
6745
6746         * converter.C: (convert) do not post a message, when converting
6747         fails, let the calling function decide what to do in this case
6748
6749 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6750
6751         * lyxfunc.C: tidy up a little
6752
6753 2002-06-16    <alstrup@diku.dk>
6754
6755         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6756         Got rid of FORMS_H_LOCATION include. Now we are
6757         GUII.
6758
6759 2002-06-15  LyX Development team  <lyx@rilke>
6760
6761         * buffer.[Ch] (sgmlOpenTag):
6762         (sgmlCloseTag): Added support for avoiding pernicious mixed
6763         content. Return number of lines written.
6764
6765         (makeLinuxDocFile):
6766         (makeDocBookFile): Fixed calls to sgml*Tag.
6767         Simple white space clean.
6768
6769         (simpleDocBookOnePar): Simple white space clean.
6770
6771         * tabular.[Ch] (docBook): Renamed to docbook and got another
6772         argument to related with the pernicious mixed content.
6773
6774         (docbookRow): Fixed calls for docbook inset method.
6775
6776 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6777
6778         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6779         so it's X11 independent.
6780
6781         * kb*.[Ch]: ditto.
6782
6783         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6784
6785 2002-06-15  Lyx Development team  <lyx@electronia>
6786
6787         * intl.h: Renamed getTrans to getTransManager.
6788
6789 2002-06-14  Angus Leeming  <leeming@lyx.org>
6790
6791         * Makefile.am: nuke forgotten stl_string_fwd.h.
6792
6793 2002-06-12  Angus Leeming  <leeming@lyx.org>
6794
6795         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6796
6797 2002-06-13  Angus Leeming  <leeming@lyx.org>
6798
6799         * LaTeX.C:
6800         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6801
6802 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6803
6804         * kbmap.C (getiso): add support for cyrillic and greek
6805
6806 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6807
6808         * BufferView.h:
6809         * BufferView.C:
6810         * BufferView_pimpl.h:
6811         * BufferView_pimpl.C: move bogus scrolling logic
6812           to xforms
6813
6814 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6815
6816         * lyxfunc.C:
6817         * BufferView_pimpl.C: view->resize() change
6818
6819 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6820
6821         * BufferView_pimpl.C: topCursorVisible
6822           prototype change
6823
6824 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6825
6826         * Makefile.am:
6827         * lyx_gui.h:
6828         * lyx_gui.C: move to frontends/
6829
6830         * main.C:
6831         * lyx_main.h:
6832         * lyx_main.C: changes from above
6833
6834 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6835
6836         * intl.C:
6837         * intl.h:
6838         * kbmap.C:
6839         * kbsequence.C:
6840         * lyx_cb.C:
6841         * lyx_main.C: minor tidy
6842
6843 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6844
6845         * BufferView_pimpl.h:
6846         * BufferView_pimpl.C:
6847         * BufferView.h:
6848         * BufferView.C: make painter() const,
6849           remove dead code
6850
6851         * BufferView2.C: use screen() accessor
6852
6853         * lyx_main.h:
6854         * lyx_main.C: some minor cleanup
6855
6856 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6857
6858         * BufferView_pimpl.h:
6859         * BufferView_pimpl.C: remove enter/leaveView,
6860           use workHeight()
6861
6862 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6863
6864         * BufferView.h:
6865         * BufferView.C:
6866         * BufferView2.C:
6867         * BufferView_pimpl.h:
6868         * BufferView_pimpl.C: only construct screen once,
6869           rename
6870
6871         * lyxrc.C: remove pointless comment
6872
6873 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6874
6875         * BufferView.h:
6876         * BufferView.C: remove active() and belowMouse()
6877
6878         * BufferView_pimpl.h:
6879         * BufferView_pimpl.C: use workarea() not workarea_,
6880           and make it use a scoped_ptr instead
6881
6882 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6883
6884         * lyx_gui.C: add debug message on BadWindow
6885
6886 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6887
6888         * sp_spell.C: fdopen is not part of the C++ standard.
6889
6890         * paragraph.C (InsetIterator): use >= instead of ==
6891
6892 2002-06-07  Angus Leeming  <leeming@lyx.org>
6893
6894         Fixes needed to compile with Compaq cxx 6.5.
6895         * BufferView_pimpl.C:
6896         * DepTable.C:
6897         * buffer.C:
6898         * converter.C:
6899         * encoding.C:
6900         * lyx_gui.C:
6901         * lyx_main.C:
6902         * lyxtextclasslist.C:
6903         * minibuffer.C:
6904         * sp_spell.C:
6905         * tabular_funcs.C:
6906         * vc-backend.C:
6907         all c-library variables have been moved into namespace std. Wrap
6908         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6909
6910         * lyxlength.C:
6911         * tabular-old.C:
6912         * tabular.C:
6913         Add a using std::abs declaration.
6914
6915         * kbmap.h (modifier_pair):
6916         * paragraph.h (InsetTable, InsetList):
6917         * lyxfont.h (FontBits):
6918         type definition made public.
6919
6920         * bufferlist.C (emergencyWriteAll): the compiler complains that
6921         there is more than one possible lyx::class_fun template to choose from.
6922         I re-named the void specialisation as lyx::void_class_fun.
6923
6924         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6925
6926         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6927         the compiler is is unable to find tostr in write_attribute.
6928
6929 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6930
6931         * buffer.C (sgmlError): hide #warning
6932
6933 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6934
6935         * xtl/*: get rid of xtl, which is not in use anyway
6936
6937         * LyXAction.C (init):
6938         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6939         were unimplemented xtl experimentation
6940
6941 2002-06-04  André Pönitz <poenitz@gmx.net>
6942
6943         * lyxfunc.C: disable array operation on simple formulae
6944
6945 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6946
6947         * converter.C: constify a bit
6948
6949 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6950
6951         * lyx_gui.C: check xforms version correctly
6952
6953 2002-04-30  Herbert Voss  <voss@lyx.org>
6954
6955         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6956         "keep" option
6957
6958 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6959
6960         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6961           attempt to register it with a VCS)
6962
6963 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6964
6965         * lyx_main.C (init): honor variables LYX_DIR_13x and
6966         LYX_USERDIR_13x
6967
6968 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6969
6970         * buffer.h:
6971         * buffer.C:
6972         * lyx_main.C: fix a crash on bad command line,
6973           and give a useful exit status on error
6974
6975         * lyxfunc.C (doImport): allow -i lyx to work
6976
6977 2002-03-30  André Pönitz <poenitz@gmx.net>
6978
6979         * lyxfunc.C: mathed font changes
6980
6981 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6982
6983         * LaTeX.C:
6984         * importer.h:
6985         * importer.C:
6986         * lyx_sty.h:
6987         * lyx_sty.C:
6988         * lyxlex.C:
6989         * lyxrow.h:
6990         * lyxtext.h:
6991         * paragraph.h:
6992         * paragraph.C:
6993         * texrow.h:
6994         * texrow.C:
6995         * text.C:
6996         * trans_mgr.h: srcdocs, and some minor cleanups
6997
6998 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6999
7000         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7001         call getFont all the time)
7002
7003 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7004
7005         * switch from SigC signals to boost::signals
7006
7007 2002-05-29  André Pönitz <poenitz@gmx.net>
7008
7009         * paragraph_pimpl.C (getChar): don't call size() too often...
7010
7011 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7012
7013         * paragraph_pimpl.C (insertChar): do not try to update tables when
7014         appending (pos == size())
7015
7016         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7017         in order to reduce drastically the number of comparisons needed to
7018         parse a large document
7019
7020 2002-05-29  André Pönitz <poenitz@gmx.net>
7021
7022         * text.C:
7023         * text2.C:
7024         * lyxtextclass.C:
7025         * sp_pspell.h:
7026         * textclasslist.[Ch]:
7027         * sp_ispell.h: whitespace change
7028
7029 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7030
7031         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7032         lyxaction directly now.
7033
7034 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7035
7036         * trans.C:
7037         * lyxfont.C:
7038         * lyxvc.C: remove unused headers
7039
7040 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7041
7042         * Makefile.am:
7043         * buffer.h:
7044         * undostack.h:
7045         * undostack.C:
7046         * undo_funcs.h:
7047         * undo_funcs.C: some cleanups. Use shared_ptr
7048           and a template for the undo stacks.
7049
7050 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7051
7052         * BufferView_pimpl.h:
7053         * BufferView_pimpl.C:
7054         * kbmap.h:
7055         * kbmap.C:
7056         * kbsequence.h:
7057         * kbsequence.C:
7058         * lyxfunc.h:
7059         * lyxfunc.C:
7060         * text2.C: use key_state/mouse_state
7061
7062 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7063
7064         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7065         and LSubstring
7066
7067         * chset.C: change include order
7068         (loadFile): use boost regex and get rid of LRegex and LSubstring
7069
7070         * Makefile.am (BOOST_LIBS): new variable
7071         (lyx_LDADD): use it
7072
7073         * LaTeX.C: change include order.
7074         (scanAuxFile): use boost regex and get rid of LRegex and
7075         LSubstring
7076         (deplog): ditto
7077
7078 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7079
7080         * ColorHandler.h:
7081         * ColorHandler.C:
7082         * FontInfo.h:
7083         * FontInfo.C: moved to frontends/xforms/
7084
7085         * FontLoader.h:
7086         * FontLoader.C: moved into frontends for GUIIzation
7087
7088         * Makefile.am:
7089         * lyx_gui.C:
7090         * lyxfont.C:
7091         * lyxfunc.C: changes from above
7092
7093 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7094
7095         * LColor.C: remove spurious X include
7096
7097         * BufferView_pimpl.C:
7098         * Makefile.am:
7099         * font.h:
7100         * font.C:
7101         * text.C:
7102         * text2.C: move font metrics to frontends/
7103
7104 2002-05-24  Juergen Vigna  <jug@sad.it>
7105
7106         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7107         setting the undo_cursor.
7108
7109         * ParagraphParameters.h: include local includes first.
7110
7111 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7112
7113         * BufferView_pimpl.C:
7114         * BufferView_pimpl.h:
7115         * Makefile.am:
7116         * WorkArea.h:
7117         * WorkArea.C:
7118         * screen.C: move WorkArea into frontends/
7119
7120         * lyxscreen.h:
7121         * screen.C:
7122         * text.C:
7123         * BufferView.C:
7124         * BufferView2.C: move LyXScreen into frontends/
7125
7126         * lyxlookup.h:
7127         * lyxlookup.C:
7128         * lyx_gui.C: move lyxlookup into frontends/xforms/
7129
7130 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7131
7132         * BufferView2.C:
7133         * BufferView_pimpl.C:
7134         * FontLoader.C:
7135         * LyXView.h:
7136         * LyXView.C:
7137         * Makefile.am:
7138         * WorkArea.C:
7139         * XFormsView.h:
7140         * XFormsView.C:
7141         * buffer.C:
7142         * bufferlist.C:
7143         * bufferview_funcs.C:
7144         * converter.C:
7145         * importer.C:
7146         * lyx_cb.C:
7147         * lyx_gui.C:
7148         * lyx_main.C:
7149         * lyx_find.C:
7150         * lyxfunc.C:
7151         * lyxvc.C:
7152         * minibuffer.C:
7153         * text.C:
7154         * text2.C:
7155         * trans.C:
7156         * vc-backend.C: move LyX/XFormsView into frontends/
7157
7158 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7159
7160         * Makefile.am:
7161         * PainterBase.C:
7162         * PainterBase.h:
7163         * Painter.C:
7164         * Painter.h:
7165         * WorkArea.C:
7166         * WorkArea.h:
7167         * screen.C:
7168         * tabular.C:
7169         * text.C:
7170         * text2.C: move Painter to frontends/
7171
7172 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7173
7174         * buffer.C: comment out some some code that depend upon lyx_format
7175         < 220
7176
7177         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7178         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7179
7180         * buffer.h (NO_COMPABILITY): turn off compability
7181
7182         * ColorHandler.C: include scoped_array.hpp
7183
7184         * font.C: Use more specific smart_ptr header.
7185         * Painter.C: ditto
7186         * gettext.C: ditto
7187         * ShareContainer.h: ditto
7188         * lyx_main.h: ditto
7189         * kbmap.h: ditto
7190         * FontInfo.h: ditto
7191         * BufferView_pimpl.h: ditto
7192         * ColorHandler.h: ditto
7193
7194         * kbmap.C (defkey): change call to shared_ptr::reset
7195
7196 2002-05-21  Juergen Vigna  <jug@sad.it>
7197
7198         * buffer.C (insertErtContents): fix to insert ert asis if it is
7199         non empty. Skip it completely if it contains only whitespaces.
7200
7201 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7202
7203         * BufferView_pimpl.C:
7204         * BufferView2.C: clear selection on paste (bug 393)
7205
7206 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7207
7208         * DepTable.C: include ctime
7209
7210 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7211
7212         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7213
7214 2002-05-14  Juergen Vigna  <jug@sad.it>
7215
7216         * text.C (breakParagraph): fixed function to honor the keepempty
7217         layout in the right maner and also to permit the right breaking
7218         algorithm on empty or non empyt keepempty paragraphs.
7219
7220         * paragraph.C (breakParagraph): we have to check also if the par
7221         is really empty (!size()) for isempty otherwise we do the wrong
7222         paragraph break.
7223
7224 2002-05-10  Juergen Vigna  <jug@sad.it>
7225
7226         * buffer.[Ch] : The following are only changes to the ert
7227         compatibility read reading old LaTeX layout and font stuff and
7228         convert it to ERTInsets.
7229
7230         * buffer.h: added isErtInset().
7231
7232         * buffer.C (struct ErtComp): add a fromlayout bool to check
7233         if we're inside a LaTeX layout.
7234         (isErtInset): new helper function.
7235         (insertErtContents): look for other ert insets before this one
7236         and insert the contents there, so that we don't have subsequent
7237         ERT insets with nothing between them. This way we create only one
7238         inset with multiple paragraphs. Also check if we don't insert only
7239         spaces ' ' as they are ignored anyway afterwards in the .tex file
7240         so if we have only spaces we will ignore this latex part in the
7241         new file.
7242         (parseSingleLyXformat2Token \\layout): better compatibility when
7243         reading layout-latex stuff.
7244         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7245         language tag.
7246         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7247         stuff after reading the inset only get the information back from
7248         the stack.
7249
7250 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7251
7252         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7253
7254         * LaTeXFeatures.C (getBabelOptions): New method.
7255
7256 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7257
7258         * BufferView_pimpl.C (Dispatch): work around missing argument for
7259         'layout'
7260
7261 2002-05-08  Juergen Vigna  <jug@sad.it>
7262
7263         * text.C (leftMargin): handle paragraph leftindent.
7264
7265         * paragraph.C (writeFile): write the new \\leftindent tag.
7266         (validate): handle leftindent code.
7267         (TeXEnvironment): handle paragraphleftindent code again.
7268
7269         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7270
7271         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7272         for paragrap_extra indent code and new token \\leftindent.
7273         (latexParagraphs): handle the leftindent as environment.
7274
7275         * ParameterStruct.h: added leftindent support.
7276
7277         * ParagraphParameters.C (leftIndent): added support functions for
7278         the paragraph left indent.
7279
7280         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7281         more appropriate.
7282
7283 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7284
7285         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7286         inside insetERT.
7287
7288         * text.C (computeBidiTables): No bidi in insetERT.
7289
7290         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7291         in RTL documents.
7292
7293 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7294
7295         * version.C.in: pre 5
7296
7297 2002-05-02  José Matos  <jamatos@fep.up.pt>
7298         * buffer.C (makeDocBookFile): white space changes, add newline to
7299         command styles.
7300         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7301
7302         * tabular.C (docBook): fix typo.
7303
7304 2002-05-03  Juergen Vigna  <jug@sad.it>
7305
7306         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7307         change in LyXText as we can not be sure it was not freed.
7308         (drawOneRow): remove unused code.
7309
7310         * text.C (drawInset): redo the calculation of the need_break_row as
7311         it could have a row which was already freed.
7312         (draw): look at the return value of drawInset and return false if
7313         it also returned false.
7314         (paintRowText): look at the return value of draw and return false if
7315         it also returned false.
7316
7317         * lyxtext.h: added bool return type to drawInset() and draw() so that
7318         if we have a change in the row so that the rowbreak has to be redone
7319         we abort drawing as it will be called again.
7320
7321 2002-05-02  Juergen Vigna  <jug@sad.it>
7322
7323         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7324         a change in the maintext also if we're inside an inset.
7325         (Dispatch): set the cursor again after a break line and after the
7326         screen has been updated as it could be we're in a different row.
7327
7328         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7329         to set the cursor behind the pargraph with > size().
7330         (setCursor): check also for the same paragraph when checking where
7331         to put the cursor if we have a NFR inset.
7332
7333         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7334         parts of layout read further up as it still was in the wrong
7335         position.
7336
7337 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7338
7339         * screen.C (drawFromTo): change sine fullRebreak always return
7340         true.
7341
7342         * buffer.C (parseSingleLyXformat2Token): reindent some
7343
7344         * BufferView_pimpl.C (update): change since fullRebreak always
7345         return true.
7346         (Dispatch): git rid of the last hardcoded "Standard"s.
7347
7348 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7349
7350         * text2.[Ch] (fullRebreak): make it return void now that we always
7351         returned true.
7352
7353 2002-04-30  Juergen Vigna  <jug@sad.it>
7354
7355         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7356         ert compatibility check for "latex" layout.
7357
7358 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7359
7360         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7361         minipages: use col% instead of p%, and also use the current font.
7362         (makeLaTeXFile): Fix use babel condition.
7363         (parseSingleLyXformat2Token): Correct font when reading old floats.
7364
7365 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7366
7367         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7368         inserting list of floats.
7369
7370 2002-04-25  Herbert Voss  <voss@lyx.org>
7371
7372         * MenuBackend.C (expand): don't add the graphics extensions to the
7373         export menu
7374
7375 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7376
7377         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7378         non-existing layout, do not complain if it was the default layout
7379         of the original class (bug #342)
7380
7381 2002-04-24  Juergen Vigna  <jug@sad.it>
7382
7383         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7384         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7385
7386 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7387
7388         * buffer.C (getBibkeyList): If using \bibliography, return the
7389         option field with the reference itself. Enables us to provide natbib
7390         support when using \bibliography.
7391
7392 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7393
7394         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7395
7396         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7397         natbib is provided by the LaTeX class.
7398
7399 2002-04-23  Juergen Vigna  <jug@sad.it>
7400
7401         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7402         Wakeup functions.
7403
7404         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7405
7406 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7407
7408         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7409
7410         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7411         ensuremath around textordmasculine, textordfeminine and
7412         textdegree.
7413
7414 2002-04-19  Juergen Vigna  <jug@sad.it>
7415
7416         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7417         reinitializing the buffer otherwise row-dimensions may be wrong.
7418         (update): reset also the selection cursors if they do exits otherwise
7419         their x/y positions may be wrong.
7420
7421         * text2.C (cursorDown): don't enter the inset if we came from a row
7422         above and are one row over the inset.
7423
7424         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7425         really leaving an inset.
7426
7427 2002-04-18  Juergen Vigna  <jug@sad.it>
7428
7429         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7430         of the selected paragraph does not have the selected layout also if
7431         the last one had!
7432
7433         * text2.C (setLayout): fixed bug which did not change last selected
7434         paragraph.
7435
7436         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7437         changed the read and substituted \\end_float with \\end_inset!
7438
7439         * BufferView_pimpl.C (cursorPrevious):
7440         (cursorNext): fixed to make it work with rows heigher than the work
7441         area without moving the cursor only the draw of the row.
7442         (workAreaMotionNotify): fix jumping over high rows.
7443
7444 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7445
7446         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7447         Ressler.
7448
7449 2002-04-16  Juergen Vigna  <jug@sad.it>
7450
7451         * text2.C (setCursor): set also the irow().
7452         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7453         (cursorUp):
7454         (cursorDown): support for locking an inset if the x_fix value goes
7455         inside it. That way I can transverse insets too with cursor up/down.
7456
7457         * lyxrow.h: added irow helper function same as other (i) functions.
7458
7459         * BufferView_pimpl.C (cursorPrevious):
7460         (cursorNext): fixed for insets!
7461
7462 2002-04-15  Juergen Vigna  <jug@sad.it>
7463
7464         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7465         position otherwise it is wrong in some cases.
7466
7467         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7468         inside the inset before the call.
7469
7470 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7471
7472         * buffer.[Ch] (getBibkeyList): make it const.
7473
7474 2002-04-12  Juergen Vigna  <jug@sad.it>
7475
7476         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7477
7478         * text2.C (getCursorX): new helper function
7479         (setCursor): compute also ix_
7480         (setCursorFromCoordinates): set also ix.
7481
7482         * lyxcursor.h: added ix_ and helper functions.
7483
7484         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7485
7486         * buffer.C (insertStringAsLines): dont break paragraph if the this
7487         paragraph is inside an inset which does not permit it!
7488
7489         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7490         also with no chars on this paragraph.
7491         (paintRowText): only paint stuff if it's inside the workarea!
7492
7493         * paragraph.C (breakParagraph): honor keepempty flag and break the
7494         paragraph always below not above.
7495
7496         * BufferView2.C (unlockInset): update the paragraph layout on inset
7497         unlock as we changed paragraph in such a case.
7498
7499         * lyxfind.C (LyXFind): clear the former selection if not found!
7500
7501         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7502         again called in insertChar().
7503
7504         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7505         an inset which uses the whole row!
7506         (rightMargin): ditto.
7507         (insertChar): force a rebreak if we inserted an inset!
7508
7509 2002-03-28  Herbert Voss  <voss@lyx.org>
7510
7511         * lyxlength.[Ch]: add inBP() to get the right PS-point
7512         units (BigPoint). With inPixels we have rounding errors
7513
7514 2002-04-11  Juergen Vigna  <jug@sad.it>
7515
7516         * text2.C (setCursorFromCoordinates): set iy to the right value.
7517         (setCursor): add check if row->previous exists!
7518
7519         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7520         an old float_type as this was the case in the old code!
7521
7522         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7523
7524         * BufferView2.C (showLockedInsetCursor): use iy
7525         (fitLockedInsetCursor): ditto
7526
7527         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7528         locked insets as there we have the right value now.
7529
7530         * lyxcursor.C: added iy_ variable and iy functions to set to the
7531         baseline of cursor-y of the locked inset.
7532
7533         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7534         (setCursor): fixed for insets which need a full row.
7535
7536         * text.C (rowLastPrintable): don't ignore the last space when before
7537         an inset which needs a full row.
7538         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7539         as last character of a row when before a inset which needs a full row.
7540
7541 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7542
7543         * version.C.in: update date
7544
7545         * text2.C (fullRebreak): try to always return true and see what
7546         happens...
7547
7548 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7549
7550         * MenuBackend.C (expand): use Floating::listName
7551
7552         * FloatList.C (FloatList): add listName argument to the built-in
7553         floats
7554
7555         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7556         text associated with the float.
7557
7558 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7559
7560         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7561
7562 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7563
7564         * ShareContainer.h: add a couple of missing typenames.
7565
7566 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7567
7568         * lyxrc.C (getDescription): use _() correctly rather than N_().
7569
7570 2002-03-28  Herbert Voss  <voss@lyx.org>
7571
7572         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7573         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7574
7575 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7576
7577         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7578         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7579
7580 2002-03-29  Juergen Vigna  <jug@sad.it>
7581
7582         * lyxfunc.C (dispatch): add a missing fitCursor call.
7583
7584         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7585         it was scrolled by a cursor move, so return the bool status.
7586
7587         * BufferView.C (fitCursor): return the bool flag also to the outside
7588         world as this is needed.
7589
7590         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7591
7592         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7593         call the edit() as it is not needed (and wrong) IMO.
7594         (workAreaButtonPress): set the screen_first variable before evt.
7595         unlock the inset as this may change screen_first and then we have
7596         a wrong y position for the click!
7597
7598 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7599
7600         * MenuBackend.C (expand): another translation that I missed
7601
7602 2002-03-28  Juergen Vigna  <jug@sad.it>
7603
7604         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7605
7606         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7607
7608 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7609
7610         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7611
7612         * MenuBackend.C (expand): fix export/view/update when there is no
7613         document open.
7614
7615 2002-03-27  Herbert Voss  <voss@lyx.org>
7616
7617         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7618         and text%
7619
7620 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7621
7622         * bufferview_funcs.C (currentState): only show paragraph number
7623         for is DEVEL_VERSION is set.
7624
7625         * lyxfunc.C (dispatch): put warning in INFO channel
7626
7627         * MenuBackend.C (expand): translate the name of floats
7628
7629         * FloatList.C (FloatList): mark the float names for translation
7630
7631         * converter.C (convert): use LibScriptSearch
7632
7633 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7634
7635         * MenuBackend.C (defaults): fix default menu (we might as well get
7636         rid of it...)
7637
7638 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7639
7640         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7641         directory.
7642
7643 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7644
7645         * lyxvc.C: reorder includes.
7646
7647 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7648
7649         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7650           properly
7651
7652 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7653
7654         * CutAndPaste.C: change layouts earlier on paste
7655           to avoid crashing when calling getFont()
7656
7657 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7658
7659         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7660         irritating #error.
7661
7662 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7663
7664         * WorkArea.C: remove 'Pending' debug message.
7665
7666         * most files: ws cleanup
7667
7668         * buffer.[Ch]: ws changes
7669
7670         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7671
7672 2002-03-21  Juergen Vigna  <jug@sad.it>
7673
7674         * tabular.C (SetMultiColumn): collapse also the contents of the
7675         cells and set the last border right. Added a Buffer const * param.
7676
7677 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7678
7679         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7680         linking or not.
7681
7682 2002-03-19  Juergen Vigna  <jug@sad.it>
7683
7684         * text2.C (clearSelection): reset also xsel_cache.
7685
7686         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7687         where it needs to be called (John tells us to do so too :)
7688         (selectionLost): reset sel_cache.
7689
7690         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7691
7692 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7693
7694         * text2.C (setCursorIntern): put debuging code in INSETS channel
7695
7696 2002-03-19  André Pönitz <poenitz@gmx.net>
7697
7698         * lyxfunc.C: tiny whitespace change
7699
7700 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7701
7702         * ToolbarDefaults.C (init):
7703         * LyXAction.C (init):
7704         * commandtags.h:
7705         * BufferView_pimpl.C (Dispatch):
7706         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7707
7708 2002-03-19  Allan Rae  <rae@lyx.org>
7709
7710         * exporter.C (Export): removeAutoInsets before doing anything else.
7711         While I've just introduced a dependency on BufferView this really is
7712         the best place to clean the buffer otherwise you need to cleanup in
7713         a dozen places before calling export or cleanup in a dozen functions
7714         that export calls.
7715
7716         * converter.C (runLaTeX):
7717         (scanLog): Better handling of removeAutoInsets and screen updates.
7718
7719         * lyxfunc.C (dispatch): small whitespace changes
7720
7721 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7722
7723         * WorkArea.C (C_WorkAreaEvent): return a value.
7724         (event_cb): return 1 if we handled the event, 0 otherwise.
7725
7726         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7727
7728 2002-03-18  Juergen Vigna  <jug@sad.it>
7729
7730         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7731         (GetAdditionalWidth): ditto.
7732         (RightLine): ditto.
7733         (LeftLine): ditto.
7734
7735         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7736         inset if we're there actually (probably not used right now but this
7737         is the direction to go for unifying code).
7738         (paste): disable code to clear the selection.
7739
7740         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7741         inside an InsetText and move the check further up as it is in the
7742         wrong place.
7743
7744         * text2.C (pasteSelection): set a selection over the pasted text.
7745
7746 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7747
7748         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7749         and libgraphics to build on Cygwin.
7750
7751 2002-03-15  Juergen Vigna  <jug@sad.it>
7752
7753         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7754         inserting an Inset into the paragraph. I know this is not the best
7755         fix but we already use current_view in CutAndPaste so we will remove
7756         all of it's using at the same time.
7757
7758         * buffer.C (sgmlError): deactivated function till it is rewritten in
7759         the right mode, now it can create problems.
7760
7761         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7762         before accessing it.
7763
7764 2002-03-14  Juergen Vigna  <jug@sad.it>
7765
7766         * undo_funcs.C (textHandleUndo): do the right thing when updating
7767         the inset after the undo/redo.
7768
7769         * text2.C (setCursor): just some testcode for #44 not ready yet.
7770
7771         * undo_funcs.C (textHandleUndo): set the next() and previous()
7772         pointers of the paragraph to 0 before deleting otherwise we have
7773         problems with the Paragraph::[destructor].
7774
7775         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7776         on a paragraph insertion.
7777
7778 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7779
7780         * buffer.C (asciiParagraph): use += operator for char append to
7781         string.
7782
7783         * paragraph.C (getFontSettings): compare >= not just >
7784         (highestFontInRange): ditto
7785         (setFont): ditto
7786
7787 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7788
7789         * paragraph.C: change several algorithm to be more appripriate for
7790         the problem domain. This is lookip in FontList and in the InsetList.
7791
7792 2002-03-13  André Pönitz <poenitz@gmx.net>
7793
7794         * commandtags.h:
7795         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7796
7797 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7798
7799         * commandtags.h:
7800         * LyXAction.C:
7801         * lyxfunc.C:
7802         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7803
7804 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7805
7806         * Painter.C (display): anon helper function, adjust code for this
7807         change.
7808         (pixmap): remove function.
7809
7810         * Painter.h: remove private display variable.
7811
7812         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7813
7814 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7815
7816         * WorkArea.[Ch]: remove figinset_canvas cruft.
7817
7818 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7819
7820         * lyxtextclass.C (operator): add one item cache optimization.
7821
7822         * bufferlist.h: doxy changes
7823
7824         * bufferlist.C: ws changes
7825
7826         * DepTable.[Ch] (ext_exist): place const in the right spot.
7827
7828         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7829         call resizeInsets.
7830         (workAreaExpose): call resizeInsets when the with BufferView changes.
7831         (Dispatch): adjust for protectedBlank removal
7832         (specialChar): call updateInset if the insert went ok.
7833
7834         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7835         specialChar instead.
7836
7837         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7838
7839         * BufferView.h: doxy change
7840
7841         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7842
7843         * lyxtextclass.C (operator[]): remove non-const version
7844         (defaultLayout): remove non-const version
7845
7846 2002-03-12  Juergen Vigna  <jug@sad.it>
7847
7848         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7849         did resize the LyXText too.
7850
7851         * buffer.C (readLyXformat2): set layout information on newly allocated
7852         paragraphs.
7853
7854         * tabular.C (OldFormatRead): set layout information on the paragraph.
7855
7856 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7857
7858         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7859
7860 2002-03-11  Juergen Vigna  <jug@sad.it>
7861
7862         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7863         plainly wrong.
7864         (resizeCurrentBuffer): force also the insets to resize themselfes.
7865         (moveCursorUpdate): fixed up for InsetText.
7866
7867 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7868
7869         * commandtags.h:
7870         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7871         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7872         value of Dialogs::tooltipsEnabled().
7873         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7874
7875 2002-03-08  Juergen Vigna  <jug@sad.it>
7876
7877         * BufferView_pimpl.C (updateInset): update inset inside inset also
7878         if it isn't inside theLockingInset().
7879
7880 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7881
7882         * buffer.C (asciiParagraph): redo some of the word and line length
7883         handling.
7884         (getLists): look for Caption instead of caption.
7885
7886 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7887
7888         * buffer.C (Buffer): initialize niceFile to true
7889         (makeLaTeXFile):
7890         (makeLinuxDocFile):
7891         (makeDocBookFile): make sure niceFile is true on exit
7892
7893 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7894
7895         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7896
7897 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7898
7899         * LyXSendto.C: remove.
7900         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7901         * lyx_gui.C: remove now-redundant comment.
7902         * ColorHandler.h: remove forward declaration of class WorkArea.
7903         * lyxfunc.C: remove #include "WorkArea.h".
7904
7905 2002-03-07  Juergen Vigna  <jug@sad.it>
7906
7907         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7908         got moved away with the DEPM and also set the inset_owner always
7909         right which before could have been omitted.
7910
7911 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7912
7913         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7914         wanted layout is not found.
7915
7916 2002-03-07  Juergen Vigna  <jug@sad.it>
7917
7918         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7919
7920 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7921
7922         * paragraph.C (breakParagraph): use default layout not layout of
7923         prev paragraph.
7924         (Paragraph): clear ParagraphParameters.
7925
7926 2002-03-06  Juergen Vigna  <jug@sad.it>
7927
7928         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7929         otherwise it would not be a valid lenght. Fixed a special case in
7930         the minipage compatibility read where we end the document with a
7931         minipage.
7932
7933         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7934         was set as it could be 0 for InsetTexts first entry.
7935
7936 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7937
7938         * paragraph.C (writeFile): if layout is empty write out
7939         defaultLayoutName().
7940
7941         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7942         file without named layout we set layout to defaultLayoutName().
7943
7944 2002-03-06  Juergen Vigna  <jug@sad.it>
7945
7946         * CutAndPaste.C (copySelection): set layout for new paragraph.
7947
7948         * text.C (prepareToPrint): leave ERT inset left aligned
7949         (leftMargin): don't indent paragraphs inside ERT insets
7950
7951 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7952
7953         * paragraph.C (breakParagraph): dont call clear do the work manually
7954
7955         * paragraph.[Ch] (clear): remove function
7956
7957 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7958
7959         * paragraph.C (Paragraph): dont call clear, the work has already
7960         been done.
7961
7962         * lyxtextclass.C (operator): assert if n is empty
7963
7964         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7965         work manually instead.
7966
7967 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7968
7969         * BufferView_pimpl.C: protect selectionLost against text == 0
7970
7971 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7972
7973         * text.C (breakParagraph): fix a setting layout to '0' problem.
7974
7975 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7976
7977         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7978         final location of file, for the included files, and graphics.
7979
7980 2002-03-05  Juergen Vigna  <jug@sad.it>
7981
7982         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7983
7984 2002-03-04  Juergen Vigna  <jug@sad.it>
7985
7986         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7987
7988         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7989         last column of multicolumn cells.
7990         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7991
7992 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7993
7994         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7995         file if it doesn't go to a temporary file.
7996
7997         * buffer.C (sgmlOpenTag):
7998         (sgmlCloseTag):  remove extra newline insertion.
7999
8000 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8001
8002         * text.C (getRowNearY): comment out debug msg
8003
8004 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8005
8006         * text2.C: first -> first_y
8007
8008         * text.C (getRowNearY): add some attemts at a possible
8009         optimization, not working.
8010
8011         * tabular.[Ch]: add BufferParams to several function so that newly
8012         created paragraph can be initialized to he default layotu for the
8013         buffers textclass.
8014
8015         * tabular-old.C (ReadOld): add buf->params to call of Init
8016
8017         * screen.C: rename text->first to text->first_y
8018
8019         * paragraph.C (breakParagraph): always set layout in the broken
8020         paragraph
8021
8022         * lyxtextclass.C (Read): remove lowercase
8023         (hasLayout): ditto
8024         (operator): ditto
8025         (delete_layout): ditto
8026
8027         * lyxtext.h: rename first -> first_y
8028
8029         * lyxlayout.C (Read): remove lowercase
8030         (name): ditto
8031         (setName): ditto
8032         (obsoleted_by): ditto
8033
8034         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8035
8036         * buffer.C (insertErtContents): add params are to InsetERT
8037         (parseSingleLyXformat2Token): add code to check if a paragraphs
8038         layout really exist.
8039         (parseSingleLyXformat2Token): add params to several inset
8040         constructors
8041         (asciiParagraph): remove lowercase, do the layout comparisons with
8042         no_case
8043
8044         * BufferView_pimpl.C (cursorNext): first -> first_y
8045         (resizeCurrentBuffer): first -> first_y
8046         (updateScrollbar): first -> first_y
8047         (scrollCB): first -> first_y
8048         (workAreaMotionNotify): first -> first_y
8049         (workAreaButtonPress): first -> first_y
8050         (checkInsetHit): first -> first_y
8051         (cursorPrevious): first -> first_y
8052         (cursorNext): first -> first_y
8053         (Dispatch): add buffer_->params to severl inset contructors
8054
8055 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8056
8057         * lyxlayout.C (Read): remove some debug info that I forgot.
8058
8059         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8060         clean up the code slightly.
8061         (makeLinuxDocFile): ditto
8062         (makeDocBookFile): ditto
8063
8064         * text2.C: layout as string
8065
8066         * text.C: layout as string
8067
8068         * paragraph_pimpl.C: layout as string
8069
8070         * paragraph.[Ch]: layout as string
8071
8072         * lyxtextclasslist.[Ch]: layout as string
8073
8074         * lyxtextclass.[Ch]: layout as string
8075
8076         * lyxtext.h: layout as string
8077
8078         * lyxlayout.[Ch]: layout as string
8079
8080         * lyx_cb.C: layout as string
8081
8082         * bufferview_funcs.C: layout as string
8083
8084         * bufferparams.C: layout as string
8085
8086         * buffer.C: layout as string
8087
8088         * LyXView.[Ch]: layout as string
8089
8090         * LaTeXFeatures.[Ch]: layout as string
8091
8092         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8093
8094         * BufferView_pimpl.C: change current_layout to string, remove
8095         lyx::layout_type.
8096         (Dispatch):
8097         (smartQuote):
8098         (insertInset):
8099         (workAreaButtonRelease): layout as string
8100
8101         * BufferView2.C (unlockInset): adjust
8102
8103         * vspace.C (asLatexCommand): use an explict temp variable.
8104
8105 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8106
8107         * Makefile.am: use FRONTEND_*
8108
8109 2002-03-01  Juergen Vigna  <jug@sad.it>
8110
8111         * tabular.C (SetWidthOfMulticolCell): changed to something better
8112         I hope but still work in progress.
8113         (recalculateMulticolumnsOfColumn): renamed function from
8114         recalculateMulticolCells as it is more appropriate now.
8115         (SetWidthOfCell): calculate multicols better.
8116
8117 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8118
8119         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8120
8121         * lyxfunc.C (processKeySym): print sequence also if it is
8122         `deleted' (complete)
8123
8124         * kbsequence.C (print): print sequence even if it is deleted
8125         (complete would be a better word, actually).
8126
8127         * lyxfunc.C (dispatch): print complete options after a prefix key
8128
8129         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8130
8131 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8132
8133         * text2.C (setCharFont): eliminate setCharFont code duplication.
8134
8135 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8136
8137         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8138         LFUN_TABULAR_FEATURE (bug #177)
8139
8140 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8141
8142         * Makefile.am: remove figure.h
8143
8144 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8145
8146         * Bufferview_pimpl.C:
8147         * CutAndPasteC:
8148         * LaTeX.C:
8149         * LyXSendto.C:
8150         * buffer.C:
8151         * bufferlist.C:
8152         * converter.C:
8153         * language.C:
8154         * lyxfunc.C:
8155         * lyxvc.C:
8156         * paragraph.C:
8157         * text.C:
8158         * text2.C: remove #include "lyx_gui_misc.h".
8159
8160         * LaTeX.C: added #include <cstdio>
8161
8162 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8163
8164         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8165         that the paragraph following this one can have.
8166
8167         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8168
8169         * vspace.C (asLatexCommand): fix bogus gcc warning
8170
8171         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8172
8173 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8174
8175         * text2.C (setLayout): get rid of redundant code
8176
8177 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8178
8179         * text2.C (incDepth): make sure depth cannot be increased beyond
8180         reasonable values.
8181
8182 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8183
8184         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8185         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8186
8187         * PainterBase.h (image):
8188         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8189         a LyXImage const *.
8190
8191 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8192
8193         * BufferView.C:
8194         * BufferView.h:
8195         * BufferView_pimpl.C:
8196         * BufferView_pimpl.h:
8197         * LaTeXFeatures.C:
8198         * LyXAction.C:
8199         * LyXView.C:
8200         * Makefile.am:
8201         * UpdateList.h:
8202         * UpdateList.C:
8203         * buffer.C:
8204         * figure.h:
8205         * figureForm.C:
8206         * figureForm.h:
8207         * figure_form.C:
8208         * figure_form.h:
8209         * lyx_cb.C:
8210         * lyx_gui.C:
8211         * lyx_gui_misc.C:
8212         * lyxfunc.C:
8213         * sp_base.h:
8214         * sp_ispell.h:
8215         * sp_pspell.h:
8216         * sp_spell.C: remove fig inset, and the crap house of
8217           cards that follows it
8218
8219 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8220
8221         * Makefile.am:
8222         * lyxserver.C:
8223         * os2_defines.h:
8224         * os2_errortable.h:
8225         * nt_defines.h: move .h into support/
8226
8227         * vms_defines.h: remove
8228
8229         * WorkArea.C: add space in debug output
8230
8231         * text2.C:
8232         * paragraph.C:
8233         * buffer.C: add WITH_WARNINGS
8234
8235         * vc-backend.h:
8236         * vc-backend.C:
8237         * bufferlist.C: s/retrive/retrieve/, add docs
8238
8239         * vspace.h:
8240         * vspace.C:
8241         * kbmap.h:
8242         * lyxlength.h:
8243         * lyxgluelength.h:
8244         * length_common.h:
8245         * chset.h:
8246         * chset.C: add docs
8247
8248         * lyxgui.C: add ID to X error handler
8249
8250         * lyxtestclass.c: fix typo
8251
8252 2002-02-26  Juergen Vigna  <jug@sad.it>
8253
8254         * tabular_funcs.C (write_attribute): changed so that some default
8255         attributes are not written at all.
8256         (getTokenValue): set default values before trying to read the
8257         value so we have the return value always set as default if we don't
8258         find the token we search for.
8259
8260         * tabular.C (Write): write bools as bools not as strings!
8261
8262 2002-02-22  Juergen Vigna  <jug@sad.it>
8263
8264         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8265         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8266
8267         * text.C (leftMargin): don't add an indent for paragraphs inside
8268         tabular cells (fix #208).
8269
8270 2002-02-21  José Matos  <jamatos@fep.up.pt>
8271
8272         * tabular.C (docBook): fixed support for long tables.
8273
8274 2002-02-20  Juergen Vigna  <jug@sad.it>
8275
8276         * text2.C (getFont): get the drawing font of the Inset if this
8277         paragraph is inside an inset (only important for InsetERT for now).
8278
8279         * buffer.C (insertErtContents): use new lanugage params in ERT
8280         constructor.
8281
8282         * CutAndPaste.C: commenting out seemingly uneeded code.
8283
8284 2002-02-19  Allan Rae  <rae@lyx.org>
8285
8286         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8287         Iterators might be simple to use but they also get invalidated.
8288         (removeAutoInsets): renamed saved cursor tracking variables and added
8289         some comments to clarify what everything does.
8290
8291 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8292
8293         * Chktex.C:
8294         * LaTeX.C:
8295         * LyXSendto.C:
8296         * converter.C:
8297         * lyx_cb.C:
8298         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8299         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8300
8301         * lyxfunc.C:
8302         * vc-backend.h: remove #include "support/syscall.h"
8303
8304         * LaTeX.C:
8305         * LyXSendto.C:
8306         * converter.C: rearrange #includes in Lars' approved fashion.
8307
8308         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8309         forward declare class Timeout in the header file.
8310
8311         * XFormsView.C: changes due to the above.
8312
8313         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8314         similar to LyXView.
8315
8316         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8317         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8318
8319 2002-02-18  José Matos  <jamatos@fep.up.pt>
8320
8321         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8322         insets contents.
8323
8324 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8325
8326         * a lot of small ws changes
8327         * add a lot of using std::XXX
8328         * use std construcs some places where approp.
8329         * use some exisint stuff from lyxfunctional where approp.
8330         * Make file changes to use partial linking (lets test this now...)
8331
8332 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8333
8334         * Chktex.C:
8335         * buffer.C:
8336         remove #include "support/syscontr.h" as it's redundant. Always has been.
8337
8338         * Chktex.C:
8339         * LaTeX.C:
8340         * LyXSendto.C:
8341         * converter.C:
8342         * lyx_cb.C:
8343         * vc-backend.C:
8344         change Systemcalls::System to Systemcalls::Wait and
8345         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8346         No change of functionality, just reflects the stripped down Systemcalls
8347         class.
8348
8349 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8350
8351         * debug.[Ch]: add a GRAPHICS type to the enum.
8352
8353 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8354
8355         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8356
8357         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8358         there is an inset.
8359
8360 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8361
8362         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8363         match the changes below.
8364
8365         * text2.C (toggleInset): if there is not editable inset at cursor
8366         position, try to see if cursor is _inside_ a collapsable inset
8367         and close it.
8368
8369 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8370
8371         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8372         document menu has a nice checkbox
8373
8374 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8375
8376         * lyxlength.C (asLatexString): change PW to output as percent of
8377         \textwidth.
8378
8379         * lengthcommon.C: change '%' to 't%'
8380
8381         * lyxfunc.C (dispatch): a few comments from Martin
8382
8383 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8384
8385         * WorkArea.h:
8386         * WorkArea.C:
8387         * BufferView_pimpl.h:
8388         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8389           the X selection.
8390
8391 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8392
8393         * vspace.C (inPixels): fix compiler warning
8394
8395 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8396
8397         * lyxfunc.C (getStatus): fix status message for disabled commands.
8398
8399 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8400
8401         * BufferView_pimpl.C: fix crash on close buffer
8402         during selection (#227)
8403
8404 2002-01-27  Herbert Voss  <voss@lyx.org>
8405
8406         * buffer.C: link old Figure to new graphic inset
8407
8408 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8409
8410         * FontLoader.C (getFontinfo): Change the latex font names in order
8411         to match the names of type1inst.
8412
8413 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8414
8415         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8416
8417         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8418         (extchanged): ditto
8419         (ext_exist): ditto
8420         (remove_files_with_extension): ditto
8421         (remove_file): ditto
8422         (write): ditto
8423
8424         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8425         document is smaller than the work area height. Do not initialize
8426         static variables to 0.
8427
8428 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8429
8430         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8431
8432         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8433         LFUN_LAYOUT_PARAGRAPHS.
8434
8435         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8436         tabular. It is possible to provide a possible cell, which will
8437         typically be the actcell from the corresponding insettabular
8438
8439         * lyxfunc.C (getStatus): small cleanup; disable
8440         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8441         true
8442
8443 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8444
8445         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8446
8447         * paragraph.C (startTeXParParams):
8448         (endTeXParParams): new methods. The LaTeX code to
8449         start/end paragraph formatting
8450         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8451         empty (fixes bug #200)
8452
8453         * vspace.C (inPixels): adapt to the change below
8454         (inPixels): [later] more cleanups (remove unused variables)
8455
8456         * lyxlength.C (inPixels): change to use a width and a height as
8457         parameter.
8458
8459 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8460
8461         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8462         Replaced with \paperwidth
8463
8464         * DepTable.C (insert): add std:: qualifier
8465
8466 2002-01-18  Allan Rae  <rae@lyx.org>
8467
8468         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8469         updated also?
8470
8471         * text.C (drawInset): Turned out I didn't know enough about how
8472         rebreaking worked.  This fixes most of the redraw problems.  I see
8473         an occasional cursor trail when a line is broken now and the cursor
8474         placement can seem out by a few pixels also after a rebreak.
8475
8476 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8477
8478         * buffer.C (parseSingleLyXformat2Token): update because minipage
8479         width is now a LyXLength
8480
8481         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8482
8483         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8484         math insets
8485
8486 2002-01-17  Juergen Vigna  <jug@sad.it>
8487
8488         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8489
8490         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8491         is set correctly and the inset is updated correctly.
8492
8493 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8494
8495         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8496         the beginning of the loop.
8497
8498 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8499
8500         * lyxrc.C: improve help for use_scalable_fonts
8501
8502 2002-01-17  Allan Rae  <rae@lyx.org>
8503
8504         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8505
8506 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8507
8508         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8509         make sure to set their inset_owner to the right value (bug #171)
8510
8511 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8512
8513         * DepTable.h
8514         * DepTable.C: Implement mtime checking to reduce time spent doing
8515         CRCs.
8516
8517 2002-01-16  Juergen Vigna  <jug@sad.it>
8518
8519         * tabular.C (GetAdditionalHeight): one of error fixed.
8520
8521         * lyxrc.C (output): small fix in writing use_pspell.
8522
8523 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8524
8525         * sp_base.h: #include LString.h
8526
8527 2002-01-16  Allan Rae  <rae@lyx.org>
8528
8529         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8530         Can someone check this please?
8531
8532         * text.C (drawInset): It was possible that p.row would be removed by
8533         breakAgainOneRow upsetting a few other settings.  There may be another
8534         small tweak possible by setting need_break_row = 0 when p.row has been
8535         removed but I don't know enough about the logic here.
8536
8537 2002-01-15  Allan Rae  <rae@lyx.org>
8538
8539         * text.C (insertChar): removed conditional truism.
8540
8541         * BufferView2.C (removeAutoInsets): More tweaks.
8542         cur_par_prev could be a stray pointer.  Check for trailing empty line
8543         in case last line was cur_par and only had an error inset on it.
8544
8545 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8546
8547         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8548         absolute
8549
8550         * vc-backend.C (most methods):
8551         * exporter.C (Export):
8552         * converter.C (convert):
8553         (runLaTeX):
8554         * LyXSendto.C (SendtoApplyCB):
8555         * lyxfunc.C (dispatch):
8556         (menuNew):
8557         (open):
8558         (doImport):
8559         * lyx_cb.C (AutoSave):
8560         (InsertAsciiFile):
8561         * BufferView_pimpl.C (MenuInsertLyXFile):
8562         * buffer.C (runChktex): use Buffer::filePath().
8563
8564         * buffer.h: rename filename to filename_; rename filepath to
8565         filepath_ and make it private
8566         (filePath): new method
8567
8568         * buffer.C (writeFile): use fileName()
8569         (getLatexName):
8570
8571         * lyx_main.C (init): fix starting  of LyX when the binary is a
8572         link from so,ewhere else.
8573
8574         * minibuffer.C: include <cctype> for isprint
8575
8576 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8577
8578         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8579         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8580         name clash with InsetCollapsable's width function.
8581
8582 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8583
8584         * lastfiles.C: include <iterator>
8585
8586 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8587
8588         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8589         std::count.
8590
8591         * buffer.C (makeLaTeXFile): ditto.
8592         Also make loop operation more transparent.
8593
8594 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8595
8596         * ToolbarDefaults.C: remove trailing comma closing namespace.
8597
8598         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8599
8600         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8601         as in WorkArea.
8602
8603         * trans.C (Load): comment out unused variable, allowed.
8604
8605 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8606
8607         * minibuffer.[Ch] (append_char): new method to recieve input from the
8608         drop-down completion browser. If a key was pressed, then recieve this
8609         char and append it to the existing string.
8610         (peek_event): modify the positioning data passed to the completion
8611         browser so that it can be placed above the minibuffer rather than below.
8612 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8613
8614         * LyXAction.C (init): alloe error-next for readonly documents.
8615
8616         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8617         count.
8618
8619 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8620
8621         * bufferlist.C (readFile): create the buffer _after_ checking that
8622         the file exists.
8623
8624         * lyxfunc.C (verboseDispatch): fix handling of arguments
8625
8626         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8627
8628         * lyxrc.C: use string::erase() instead of initializing to "".
8629
8630
8631 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8632
8633         * BufferView_pimpl.h:
8634         * BufferView_pimpl.C:
8635         * WorkArea.h:
8636         * WorkArea.C:
8637         * text2.C: tell X when we have made a selection for copying
8638
8639 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8640
8641         * BufferView_pimpl.C (MenuInsertLyXFile):
8642         * lyxfunc.C (menuNew):
8643         (open):
8644         (doImport): add shortcuts to directory buttons
8645
8646         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8647         open a float)
8648
8649         * lyxfunc.C (setStatusMessage):
8650         (getStatusMessage): new methods
8651         (getStatus):use setStatusMessage instead of setErrorMessage
8652         (dispatch): when function is disabled, set error message here
8653         [instead of in getStatus previously]
8654
8655         * BufferView_pimpl.C (workAreaButtonRelease): update
8656         toolbar/menubar here too.
8657
8658 2002-01-13  Allan Rae  <rae@lyx.org>
8659
8660         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8661         Now seems indestructible.  Remaining task is to audit all other
8662         code affected by deleteEmptyParagraphMechanism.  One small quirk
8663         left is that an empty document with an error in the preamble can
8664         be made to report an error but no error box appears.  I don't know
8665         where it goes.
8666         (removeAutoInsets): Improved comments.
8667
8668 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8669
8670         * Thesaurus.h:
8671         * Thesaurus.C: update for Aiksaurus 0.14
8672
8673 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8674
8675         * text2.C (firstParagraph): removed member function, all uses
8676         replaces with ownerParagraph
8677         (redoParagraphs): here
8678         (updateInset): here
8679         (toggleAppendix): here
8680         * BufferView2.C (insertErrors): here
8681         (setCursorFromRow): here
8682
8683 2002-01-13  Allan Rae  <rae@lyx.org>
8684
8685         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8686         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8687         There is still a way to segfault this although you may have to do this
8688         multiple times: Have an InsetERT with an unknown command in it.
8689         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8690         <down-arrow>, <Enter> again, View->DVI, BANG!
8691
8692         * text2.C (setCursor):
8693         (deleteEmptyParagraphMechanism):
8694         * lyxtext.h (setCursor):
8695         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8696         Making use of the return value may help fix other bugs.
8697
8698 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8699
8700         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8701
8702         * LyXView.C (updateMenubar): call MenuBar::update here
8703         (updateToolbar): but not here
8704         (showState): do not update toolbar/menubar
8705
8706         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8707         should need to care about that.
8708
8709         * lyxfunc.C (verboseDispatch): simplify a bit
8710         (getStatus): have a version which takes a pseudoaction, and
8711         another which requires a (kb_action,string).
8712
8713         * LyXAction.C (retrieveActionArg): make it work also when action
8714         is not a pseudo-action.
8715         (getActionName): simplify a bit
8716         (helpText):
8717
8718 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8719
8720         * lyxfunc.C (verboseDispatch): new families of methods with
8721         several ways to specify a command and a bool to indicate whether
8722         the command name and shortcut should be displayed in minibuffer
8723         (eventually, we could extend that to a finer bitmask like
8724         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8725         (dispatch): the pristine dispatch command which just, well,
8726         dispatchs! Note it still sets its result to minibuffer; I'm not
8727         sure we want that.
8728
8729         * lyxfunc.h: remove setHintMessage
8730
8731         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8732
8733 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8734
8735         * BufferView_pimpl.C (specialChar): delete new inset if we have
8736         not been able to insert it.
8737
8738         * kbmap.C: revert to using int instead of kb_action, since all we
8739         are dealing with is pseudo-actions.
8740
8741         * LyXAction.C (searchActionArg): change to return int instead of
8742         kb_action, since the result is a pseudoaction.
8743
8744 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8745
8746         * buffer.C (insertErtContents): Fix (partially) the font bug.
8747
8748 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8749
8750         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8751         as the other one is broken on my machine!
8752
8753 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8754
8755         * commandtags.h:
8756         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8757
8758 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8759
8760         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8761         reflect their actual use. Provide compatibility code for older lyxrc
8762         files.
8763
8764         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8765         FL_NORMAL_STYLE.
8766         change names of popup font variables in line with the changes to lyxrc.C
8767
8768 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8769
8770         * buffer.C (asciiParagraph): avoid outputing a word twice after
8771         an inset.
8772
8773         * lyxrc.C (getDescription): document that document_path and
8774         template_path can be empty.
8775
8776 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8777
8778         * LaTeXFeatures.C (getMacros):
8779         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8780
8781         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8782
8783         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8784         getPackages.
8785         (getPackages): rename feature "floats" to "float". Use an array to
8786         iterate over 'simple' features (i.e. just a \usepackage). Add
8787         handling of "amsmath" (renamed from "amsstyle").
8788
8789 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8790
8791         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8792         features list.
8793
8794 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8795
8796         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8797         FuncStaus::FuncStatus & FuncStaus::some_method().
8798
8799 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8800
8801         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8802         of the func_satus stuff. Edited and massaged in various ways by
8803         JMarc.
8804
8805         * lyxfunc.C (getStatus): use FuncStatus
8806
8807 2002-01-08  Juergen Vigna  <jug@sad.it>
8808
8809         * text.C (nextBreakPoint): use function Inset::isChar().
8810
8811         * paragraph.C (TeXOnePar): use function
8812         Inset::forceDefaultParagraphs.
8813
8814         * buffer.C (latexParagraphs): use function
8815         Inset::forceDefaultParagraphs.
8816
8817 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8818
8819         * lyx_gui.C (init): set the style of the menu popups to
8820         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8821
8822 2002-01-07  Juergen Vigna  <jug@sad.it>
8823
8824         * text.C (setHeightOfRow): small fix
8825         (prepareToPrint): don't look at alignment if we don't have the place
8826         for doing it.
8827
8828 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8829
8830         * box.C: New file. Move the Box methods and functions out of box.h,
8831         following Lars' suggestion.
8832
8833 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8834
8835         * box.h: #include "support/LOstream.h", needed for inlined function.
8836
8837         * lyxtextclass.C:
8838         * lyxtextclasslist.C: added some using std declarations.
8839
8840 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8841
8842         * box.h: make signed dimensions to allow insets wider than
8843           the screen (bug #162)
8844
8845         * BufferView_pimpl.C: add some insetHit debug
8846
8847 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8848
8849         * vc-backend.C: add FIXME
8850
8851 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8852
8853         * lyxfunc.C (getStatus): enable code for showing math font status
8854         in toolbar/menu.
8855
8856 2002-01-07  Juergen Vigna  <jug@sad.it>
8857
8858         * text.C (nextBreakPoint): removed debug output not needed anymore.
8859
8860 2002-01-06  Juergen Vigna  <jug@sad.it>
8861
8862         * text.C (nextBreakPoint): fixed up this function we had this bug
8863         since ever but now hopefully we break row better.
8864         (insertChar): we have to check if an inset is the next char as it
8865         could now happen that a large inset is causing a break.
8866
8867 2002-01-05  Juergen Vigna  <jug@sad.it>
8868
8869         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8870         if it doesn't like to be drawed.
8871
8872 2002-01-04  Juergen Vigna  <jug@sad.it>
8873
8874         * BufferView2.C (lockInset): forgot to set a cursor.
8875
8876         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8877
8878 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8879
8880         * FormMathsPanel.C:
8881         * FormMathsPanel.h
8882         * MathsSymbols.C:
8883         * form_maths_panel.C:
8884         * form_maths_panel.h:
8885         * form_maths_panel.fd: implemented sub- and super- buttons in math
8886         panel.
8887
8888         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8889         (or ^ space) to be used as in TeX (req'd by André).
8890
8891         * lyxfunc.C: Allow ^ and _ again to be used both as
8892         super/subscript (mathed) and as themselves (in text).
8893
8894 2002-01-03  Allan Rae  <rae@lyx.org>
8895
8896         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8897         "LyX" or the filename of the current buffer if it has one.  This is a
8898         modified form of John Levon's patch.
8899
8900         * XFormsView.C (setWindowTitle): also set icon title.
8901
8902         * LyXView.h (setWindowTitle): signature changed.
8903         * XFormsView.h (setWindowTitle): ditto.
8904
8905 2002-01-02  Juergen Vigna  <jug@sad.it>
8906
8907         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8908
8909 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8910
8911         * screen.C (topCursorVisible): introduce a temp var for
8912         text->cursor.row(), handle the case where this row is null. (kindo
8913         hachish)
8914
8915         * text2.C (setCursor): add a couple of asserts.
8916
8917         * paragraph.h (inset_iterator): add -> operator
8918
8919         * paragraph.[Ch] (autoDeleteInsets): remove member function
8920
8921         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8922         cursor pos correctly and handle inset deletion by itself.
8923         (insertErrors): move iterator declaration out of for expression
8924
8925         * lyxtextclass.C: add <algorithm>
8926
8927         * Makefile.am: added the new files to sources, removed layout.C
8928
8929         * layout.C: removed file
8930
8931         * layout.h: remove LYX_DUMMY_LAYOUT
8932
8933         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8934         layout.
8935
8936         * lyxlayout.[Ch]:
8937         * lyxtextclass.[Ch]:
8938         * lyxtextclasslist.[Ch]: new files
8939
8940         * include order changes to a lot of files, also changes because of
8941         the six new files.
8942
8943 2001-12-27  Juergen Vigna  <jug@sad.it>
8944
8945         * buffer.C (asciiParagraph): more fixes.
8946
8947         * tabular.C (ascii): make ascii export support export of only the
8948         data separated by a column-delimiter.
8949         (ascii): better support for ascii export.
8950
8951         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8952
8953 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8954
8955         * tabular_funcs.C: use a "using std::getline" instead of the
8956         previous fix from Angus (necessary for cxx + lyxstring)
8957
8958 2001-12-24  Juergen Vigna  <jug@sad.it>
8959
8960         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8961
8962         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8963         problems. First check a minipage also if we have some ert-contents
8964         (not only on par->size(), second set the right depth of the paragraph
8965         on the relink to the root-paragraph-list!
8966
8967         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8968         which then did not anymore update the main paragraphs on undo/redo!
8969
8970 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8971
8972         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8973         code. Support all font-changing funcs (even those which are not in
8974         menu currently). Support for reporting font settings in
8975         mathed (disabled until Andre provides a function on mathed's side).
8976
8977         * func_status.h (toggle): small helper function to set toggle
8978         state on a flag.
8979
8980 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8981
8982         * tabular_funcs.C: getline -> std::getline
8983
8984 2001-12-21  Juergen Vigna  <jug@sad.it>
8985
8986         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8987         accessed and could be 0 (I couldn't generate this but it seems
8988         Michael could!).
8989
8990 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8991
8992         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8993         * tabular_funcs.h: here and include iosfwd
8994
8995 2001-12-20  Juergen Vigna  <jug@sad.it>
8996
8997         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8998         inside inset but undo_par was.
8999
9000 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9001
9002         * Thesaurus.C: always include <config.h> in sources.
9003
9004         * Painter.h:
9005         * lyxlookup.h:
9006         * box.h: do not include <config.h> in header files
9007
9008         * text.C (paintLastRow): remove unused variable
9009
9010         * text.C (transformChar):
9011         (insertChar):
9012         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9013
9014         * Painter.C (text):
9015         * font.C (width): rewrite to use uppercase() instead of
9016         islower/toupper.
9017
9018         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9019
9020 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9021
9022         * lyxfind.C: clean up of find failure position change
9023
9024 2001-12-20  Juergen Vigna  <jug@sad.it>
9025
9026         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9027
9028         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9029         (TeXRow): added to LaTeX a single tabular row.
9030         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9031         (Latex): simplified and finally good LT-h/f support.
9032         (various_functions): just small adaptions for LT-h/f support.
9033
9034         * tabular_funcs.[hC]: added and moved here all not classfunctions
9035         of LyXTabular.
9036
9037 2001-12-19  Juergen Vigna  <jug@sad.it>
9038
9039         * tabular.[Ch]: better support for longtabular options (not finished
9040         yet!)
9041
9042 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9043
9044         * text.C (paintLastRow): use the label font instead of the font of
9045         the last character to compute the size of *_BOX. This makes more
9046         sense and avoids a crash with empty paragraphs.
9047         Use Painter::rectangle to draw EMPTY_BOX.
9048
9049 2001-12-19  Juergen Vigna  <jug@sad.it>
9050
9051         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9052         the paragraphs if the replaced paragraph is not the first one!
9053         Tried to delete not used paragraphs but does not work yet so for
9054         now it's inside #ifdef's and by default off!
9055
9056 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9057
9058         * MenuBackend.C: include "lyx_main.h" instead of declaring
9059         lastfiles (actually was declared as LastFiles* instead of a
9060         scoped_ptr).
9061
9062 2001-12-17  Juergen Vigna  <jug@sad.it>
9063
9064         * tabular.C (AppendColumn): applied John's fix
9065
9066 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9067
9068         * BufferView.h:
9069         * BufferView.C:
9070         * BufferView_pimpl.h:
9071         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9072
9073         * Makefile.am:
9074         * box.h: new start of class for above
9075
9076         * lyxfunc.C: ignore space-only minibuffer dispatches.
9077           Show the command name when it doesn't exist
9078
9079         * minibuffer.C: don't add empty lines to the history
9080
9081         * minibuffer.C: add a space on dropdown completion
9082
9083 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9084
9085         * text.C: fix line above/below drawing in insets
9086
9087 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9088
9089         * lyxlength.C (LyXLength): Initialize private variables.
9090
9091 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9092
9093         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9094         when inserting error insets.
9095
9096 2001-12-13  Juergen Vigna  <jug@sad.it>
9097
9098         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9099         actually sometimes the before-paragraph.
9100         (setUndo): don't clear the redostack if we're not actually undoing!
9101
9102 2001-12-06  Juergen Vigna  <jug@sad.it>
9103
9104         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9105         and fixed redoing of main paragraph, so we can use it now ;)
9106
9107         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9108
9109 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9110
9111         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9112         Juergen's request
9113
9114 2001-12-13  André Pönitz <poenitz@gmx.net>
9115
9116         * undostack.[Ch]:
9117         * undo_func.C: minor cleanup
9118
9119 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9120
9121         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9122         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9123         font in urw-fonts package which is marked as -urw-fontspecific and
9124         does not work (incidentally, changing the encoding in the
9125         fonts.dir of this package to -adobe-fontspecific fixes the
9126         problem).
9127
9128         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9129         is a crash when undoing first paragraph (Juergen, please take a
9130         look). THis does not mean the undo fix is wrong, just that it
9131         uncovers problems.
9132
9133         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9134         the (Paragraph*) version when needed instead of duplicating the
9135         code.
9136
9137         * text.C (workWidth): use Inset::parOwner to find out where the
9138         inset has been inserted. This is a huge performance gain for large
9139         documents with lots of insets. If Inset::parOwner is not set, fall
9140         back on the brute force method
9141
9142         * paragraph_pimpl.C (insertInset):
9143         * paragraph.C (Paragraph):
9144         (cutIntoMinibuffer): set parOwner of insets when
9145         inserting/removing them
9146
9147         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9148
9149 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9150
9151         * commandtags.h:
9152         * LyXAction.C:
9153         * lyx_main.C:
9154         * lyxfunc.C:
9155         * mathed/formulabase.C:
9156         * mathed/math_cursor.[Ch]:
9157         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9158
9159
9160 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9161
9162         * lyxlength.[Ch] (operator!=): new function
9163
9164 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9165
9166         * text.C (workWidth): use Inset::parOwner to find out where the
9167         inset has been inserted. This is a huge performance gain for large
9168         documents with lots of insets. If Inset::parOwner is not set, fall
9169         back on the brute force method
9170
9171         * paragraph_pimpl.C (insertInset):
9172         * paragraph.C (Paragraph):
9173         (cutIntoMinibuffer): set parOwner of insets when
9174         inserting/removing them
9175
9176         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9177
9178 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9179
9180         * tabular-old.C (getTokenValue):
9181         * tabular.C (getTokenValue):
9182         (write_attribute): new versions for LyXLength
9183         (everywhere): adjust the use of widths
9184
9185         * tabular.h: change the type of widths from string to LyXLength
9186
9187 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9188
9189         * paragraph.C: fixed missing line number count when exporting
9190         Environments to LaTeX file
9191
9192         * buffer.C: added informational message for checking line numbers.
9193
9194 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9195
9196         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9197         paragraph, do the 'double space' part, but not the 'empty
9198         paragraph' one.
9199
9200         * text.C (workWidth): small optimization
9201         (getLengthMarkerHeight): use minimal size for negative lengths.
9202
9203 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9204
9205         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9206
9207         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9208
9209 2001-12-11  André Pönitz <poenitz@gmx.net>
9210
9211         * FontLoader.C:
9212         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9213
9214 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9215
9216         * text2.C: keep selection on a setFont()
9217
9218 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9219
9220         * lyx_cb.C: another bv->text misuse, from insert label
9221
9222 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9223
9224         * kbsequence.h:
9225         * kbsequence.C: re-instate nmodifier mask
9226
9227 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9228
9229         * lyx_main.h: make lyxGUI private.
9230
9231 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9232
9233         * lyxfind.C: place the cursor correctly on failed search
9234
9235 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9236
9237         * text.C (getLengthMarkerHeight): for small heights, the arrows
9238         are not always on top/bottom of the text
9239         (drawLengthMarker): smaller arrows; take the left margin in
9240         account; draw also vfills.
9241         (paintFirstRow):
9242         (paintLastRow): remove special code for vfill and standard spaces,
9243         since everything is handled in drawLengthMarker now.
9244
9245 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9246
9247         * buffer.C (insertErtContents): try to handle font and language
9248         interaction a bit better.g
9249
9250         * ColorHandler.C (updateColor): change the hash to cover the whole
9251         LColor enum, ws cleanup
9252         (getGCLinepars): ditto
9253         (getGCLinepars): only lookup in the linecache once.
9254
9255 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9256
9257         * iterators.C (operator++): Make the iterator more robust
9258
9259         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9260         (John's patch)
9261         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9262
9263 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9264
9265         * lyxtext.h:
9266         * text.C: better added space drawing
9267
9268 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9269
9270         * LyXView.C:
9271         * BufferView2.C: fix layout combo update on inset unlock
9272
9273 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9274
9275         * Makefile.am: don't compile unused files
9276
9277 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9278
9279         * lyxfunc.C:
9280         * commandtags.h:
9281         * LyXAction.C: remove old LFUN_LAYOUTNO
9282
9283 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9284
9285         * paragraph_pimpl.h:
9286         * paragraph_pimpl.C: isTextAt() doesn't need font param
9287
9288 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9289
9290         * lyxlex.h:
9291         * lyxlex.C: little cleanup
9292
9293 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * BufferView_pimpl.C: fix insertAscii for insets
9296
9297 2001-12-05  Juergen Vigna  <jug@sad.it>
9298
9299         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9300         set the right font on the "multi" paragraph paste!
9301
9302 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9303
9304         * trans_decl.h:
9305         * trans_mgr.[Ch]:
9306         * trans.[Ch]:
9307         * lyxgluelength.C:
9308         * lyxlength.C: remove out-commented code.
9309
9310         * BufferView_pimpl:
9311         * CutAndPaste.C:
9312         * DepTable.C:
9313         * buffer.C:
9314         * chset.C:
9315         * lastfiles.C:
9316         * lyxlex.C:
9317         * lyxlex_pimpl.C:
9318         * lyxserver.C:
9319         * screen.C:
9320         * tabular-old.C:
9321         * tabular.C:
9322         * text.C:
9323         * trans_mgr.C:
9324         * vc-backend.C: change "while(" to "while ("
9325
9326         * lyxlength.[Ch]: add zero function to check if length is zero or
9327         not
9328         * lyxgluelength.C: use it
9329
9330 2001-12-05  Allan Rae  <rae@lyx.org>
9331
9332         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9333         Works for 2.95.3, from what I understand of Garst's reports this should
9334         work for other g++ versions.  We're screwed if the abs(int) definition
9335         changed between bugfix releases of gcc.
9336
9337 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9338
9339         * text.C: fix chapter label offset !
9340
9341 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9342
9343         * lyxtext.h:
9344         * text.C: fix hfill at end of line, clean up
9345
9346 2001-12-04  Juergen Vigna  <jug@sad.it>
9347
9348         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9349         that we force an update of the inset and it's owners if neccessary.
9350
9351 2001-12-03  Juergen Vigna  <jug@sad.it>
9352
9353         * text.C (rowLast): simplified code
9354
9355 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9356
9357         * lyxfunc.C: fix show options on timeout
9358
9359 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9360
9361         * screen.C (topCursorVisible): scroll half a page when the cursor
9362         reached top of bottom of screen
9363
9364 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9365
9366         * minibuffer.C: deactivate on loss of focus
9367
9368 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9369
9370         * vspace.[Ch] (operator!=): add operator.
9371
9372 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9373
9374         * BufferView_pimpl.C: refuse to open an inset when
9375         there's a selection.
9376
9377 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9378
9379         * BufferView_pimpl.C: allow to click on RHS of full row insets
9380
9381 2001-11-30  Juergen Vigna  <jug@sad.it>
9382
9383         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9384         insets for undo reasons.
9385
9386 2001-11-28  André Pönitz <poenitz@gmx.net>
9387
9388         * vspace.[Ch]: cosmetical changes
9389
9390 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9391
9392         * LyXAction.h:
9393         * LyXAction.C:
9394         * lyxfunc.h:
9395         * lyxfunc.C:
9396         * kbmap.h:
9397         * kbmap.C:
9398         * lyxrc.C:
9399         * kbsequence.h:
9400         * kbsequence.C: part re-write of old kb code
9401
9402         * Painter.C:
9403         * WorkArea.C: remove Lgb_bug_find_hack
9404
9405 2001-11-30  José Matos <jamatos@fep.up.pt>
9406
9407         * buffer.C (makeDocBookFile): add a comment to point a hack.
9408         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9409         Fixed a double write of labels.
9410
9411 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9412
9413         * LaTeX.C:
9414         * LaTeX.h Fixed bug in LaTeX class where it would not
9415         re-run latex if no depfiles were changed, but the .dvi was removed.
9416
9417 2001-11-28  André Pönitz <poenitz@gmx.net>
9418
9419         * all the files from the change on 2001/11/26:
9420         use lyx::layout_type instead of LyXTextClass::size_type
9421         use lyx::textclass_type instead of LyXTextClassList::size_type
9422
9423 2001-11-29  Juergen Vigna  <jug@sad.it>
9424
9425         * text.C: added support for paragraph::isFreeSpacing()
9426
9427         * buffer.C: same as above
9428
9429         * paragraph.h: inserted isFreeSpacing() function to enable
9430         FreeSpacing inside InsetERT.
9431
9432         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9433         of the paragraph's in the cut/copy buffer to 0!
9434
9435         * text2.C (removeRow): remove the assert as it can!
9436
9437         * lyxtext.h: added helper function firstRow returning firstrow and
9438         made firstrow private again.
9439
9440         * BufferView2.C (lockInset): don't relock if we're already locked!
9441
9442         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9443         the only paragraph.
9444         (removeRow): added Assert::(firstrow)
9445
9446         * debug.C: forgot to add INSETTEXT here.
9447
9448 2001-11-28  Juergen Vigna  <jug@sad.it>
9449
9450         * sp_spell.C (initialize): changed error text to more general
9451         spellchecker command use (not only ispell!)
9452
9453         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9454
9455         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9456
9457 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9458
9459         * vspace.C: initialise lyxgluelength on failure
9460
9461 2001-11-28  Allan Rae  <rae@lyx.org>
9462
9463         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9464         declaration & definition that looks like a function declaration.
9465
9466 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9467
9468         * BufferView2.C (copy):
9469         (copyEnvironment): do not clear the selection when doing a copy.
9470
9471         * text.C (paintFirstRow): compilation fix
9472
9473 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9474
9475         * tabular.C (Latex): correct line count when writing latex.
9476
9477 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9478
9479         * paragraph_pimpl.h:
9480         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9481           bug a bit
9482
9483 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9484
9485         * text.C:
9486         * LColor.h:
9487         * LColor.C: change vfillline->added_space
9488
9489         * text.C: add markers and text for added space
9490
9491         * vspace.C: fix comment
9492
9493 2001-11-28  André Pönitz <poenitz@gmx.net>
9494
9495         * paragraph.C: whitespace changes
9496         * all the other files from the change on 2001/11/26:
9497         change *::pos_type into lyx::pos_type
9498
9499 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9500
9501         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9502         language of the document when inserting error insets.
9503
9504 2001-11-26  André Pönitz <poenitz@gmx.net>
9505
9506         * BufferView_pimpl.[Ch]:
9507         *       CutAndPaste.C:
9508         * buffer.[Ch]:
9509         * lyxcursor.[Ch]:
9510         * lyxfind.C:
9511         * lyxfunc.C:
9512         * lyxrow.[Ch]:
9513         * paragraph.[Ch]:
9514         * paragraph_pimpl.[Ch]:
9515         * sp_spell.C:
9516         * text.C:
9517         * text2.C: reduce header dependencies, introduce type for positions
9518
9519 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9520
9521         * <various>: change to use Alert.h
9522
9523 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9524
9525         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9526         when encountering an unknown token.
9527         (readLyXformat2): Show an error message if there were unknown tokens.
9528
9529 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9530
9531         * BufferView2.C:
9532         * BufferView_pimpl.C:
9533         * buffer.C:
9534         * paragraph.h:
9535         * text.C:
9536         * text2.C: use par->isInset()
9537
9538 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9539
9540         * paragraph_pimpl.h:
9541         * paragraph_pimpl.C: cleanup
9542
9543 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9544
9545         * text2.C (removeRow):
9546         * text.C (setHeightOfRow): remove useless (and costly) call to
9547         getRow.
9548
9549 2001-11-20  Allan Rae  <rae@lyx.org>
9550
9551         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9552         Now need Inset*::checkInsertChar() to return true for appropriate
9553         cases so that the characters in the minibuffer will actually be
9554         inserted.
9555
9556 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9557
9558         * text.C: change the order of the includes.
9559         (workWidth): initialize it at once.
9560         (workWidth): make maxw unsigned
9561         (setHeightOfRow): remove unused variable (inset)
9562         (selectSelectedWord): remove unused variable (inset)
9563         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9564
9565 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9566
9567         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9568         server is not running.
9569         (openConnection):
9570         (closeConnection): add debug info when server is disabled.
9571
9572         * ColorHandler.C (getGCForeground): send debug message to GUI
9573         channel.
9574
9575         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9576
9577         * kbmap.C (bind): modify because return conventions of
9578         kb_sequence::parse have changed.
9579
9580         * kbsequence.C (parse): only ignore spaces and not any stupid
9581         control character. This avoids tests like s[i] <= ' ', which are
9582         guaranteed to fail with 8bit characters and signed chars.
9583         Change return code to string::npos when there have been no error
9584         (0 was a bad idea when error is at first character)
9585
9586 2001-11-14  José Matos  <jamatos@fep.up.pt>
9587
9588         * buffer.h:
9589         * buffer.C (simpleDocBookOnePar): removed unused argument.
9590
9591 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9592
9593         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9594         insets which are part of a word. Paragraph::isLetter takes care of
9595         that now. Use Paragraph::isInset to identify insets.
9596         (selectSelectedWord): do not test for hyphenation break.
9597
9598         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9599         that protected spaces are considered as spaces.
9600
9601         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9602         Inset::isLetter.
9603
9604 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9605
9606         * lyxserver.h:
9607         * lyxserver.C: fix it. and small cleanup.
9608
9609 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9610
9611         * BufferView_pimpl.C: use inline helpers
9612
9613         * LaTeXFeatures.h:
9614         * LaTeXFeatures.C: fix typos
9615
9616         * Spacing.h:
9617         * Spacing.C: move spacing_string into class
9618
9619         * ToolbarDefaults.C: move stuff into namespace anon
9620
9621         * layout.h: update enum
9622
9623         * lyxfunc.C: use better debug
9624
9625         * minibuffer.h: fix typo
9626
9627         * debug.h:
9628         * debug.C:
9629         * WorkArea.C: add and use Debug::WORKAREA
9630
9631         * lyxtext.h:
9632         * text.C:
9633         * text2.C: code re-organisation, inline helpers
9634
9635 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9636
9637         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9638         std::vector.empty().
9639
9640 2001-11-09  Allan Rae  <rae@lyx.org>
9641
9642         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9643         '\n's after tables.  Tabular and ERT inset work now makes this no
9644         longer necessary.
9645
9646 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9647
9648         * minibuffer.h:
9649         * minibuffer.C: fix crash, improve drop-down completion
9650
9651 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9652
9653         * lyxserver.h:
9654         * lyxserver.C: invalidate fd's when doing endPipe()
9655
9656 2001-11-08  José Matos  <jamatos@fep.up.pt>
9657
9658         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9659         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9660
9661         * paragraph.h:
9662         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9663
9664 2001-11-07  José Matos  <jamatos@fep.up.pt>
9665
9666         * buffer.h:
9667         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9668         const qualifier.
9669
9670         * buffer.C (sgmlOpenTag):
9671         * buffer.C (sgmlCloseTag): removed debug info.
9672
9673         * buffer.h (sgmlOpenTag):
9674         * buffer.h (sgmlCloseTag): made public.
9675
9676 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9677
9678         * buffer.C (saveParamsAsDefaults):
9679         * lyx_cb.C (MenuLayoutSave): remove
9680
9681         * LyXAction.C (init):
9682         * commandtags.h:
9683         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9684
9685 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9686
9687         * buffer.C (setPaperStuff): removed from here...
9688
9689         * bufferparams.C (setPaperStuff): ... and moved there.
9690
9691 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9692
9693         * minibuffer.h:
9694         * minibuffer.C:
9695         * XFormsView.C: add support for drop-down completion
9696
9697 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9698
9699         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9700         commands.
9701
9702 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9703
9704         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9705         disabled.
9706
9707 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9708
9709         * lyx_main.C: change ref to known bugs
9710
9711 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9712
9713         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9714         to work around older babel problems.
9715
9716 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9717
9718         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9719
9720 2001-10-24  Juergen Vigna  <jug@sad.it>
9721
9722         * tabular-old.C (ReadOld): below variable changes reflected.
9723
9724         * tabular.[Ch]: added ltType struct for longtable header/footer
9725         defines and changed all instances where they are used. Added
9726         future support for double top/bottom rows.
9727
9728 2001-10-24  José Matos  <jamatos@fep.up.pt>
9729
9730         * buffer.h (docbookHandleCaption):
9731         * buffer.C (docbookHandleCaption): removed unused function.
9732         (makeDocBookFile): moved docbook supported version to v4.1.
9733
9734 2001-10-24  José Matos  <jamatos@fep.up.pt>
9735
9736         * tabular.h:
9737         * tabular.C (docbookRow): new function to export docbook code of a row.
9738         (DocBook): now honors the longtable flags.
9739
9740 2001-10-23  José Matos  <jamatos@fep.up.pt>
9741
9742         * LaTeXFeatures.h:
9743         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9744         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9745
9746         * buffer.C (makeLinuxDocFile):
9747         (makeDocBookFile): reworked the preamble, more clean, and with
9748         support for lyx defined entities. Changed the document declaration
9749         to be more XML friendly.
9750
9751         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9752         if we need to output XML that should be done with a filter.
9753
9754 2001-10-22  Juergen Vigna  <jug@sad.it>
9755
9756         * sp_pspell.h (class PSpell): add alive function needed in the
9757         controller to see if the spellchecker could be started.
9758
9759 2001-10-22  Juergen Vigna  <jug@sad.it>
9760
9761         * buffer.C (insertStringAsLines): modify the font for inserting
9762         chars in certain conditions by calling checkInsertChar(font).
9763
9764 2001-10-19  Juergen Vigna  <jug@sad.it>
9765
9766         * text.C (workWidth): use getRow instead of wrong algorithm.
9767         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9768
9769 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9770
9771         * lyxserver.h:
9772         * lyxserver.C:
9773         * lyx_main.h:
9774         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9775
9776 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9777
9778         * text.C (workWidth): do not search for the exact row when
9779         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9780         optimization for big documents.
9781
9782 2001-10-18  Juergen Vigna  <jug@sad.it>
9783
9784         * text.C (workWidth): new function with added Inset * parameter.
9785
9786 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9787
9788         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9789
9790         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9791         change return type of getColumnNearX.
9792
9793
9794         * text.C (changeRegionCase): use uppercase/lowercase instead of
9795         toupper/tolower.
9796         (leftMargin):
9797         (rightMargin): simplify code by factoring out the uses of
9798         textclasslist.
9799         (labelFill):
9800         (numberOfHfills):
9801         (setHeightOfRow):
9802         (appendParagraph): use Paragraph::size_type
9803
9804 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9805
9806         * vspace.C (asLatexString): add a missing break
9807
9808 2001-10-15  Herbert Voss  <voss@perce.de>
9809
9810         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9811
9812 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9813
9814         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9815         is not available.
9816
9817 2001-10-10  André Pönitz <poenitz@gmx.net>
9818
9819         * lyxfunc.C: removed greek_kb_flag.
9820
9821 2001-10-10  Herbert Voss  <voss@perce.de>
9822
9823         * lyx_main.C: delete global string help_lyxdir.
9824
9825 2001-10-09  Herbert Voss  <voss@perce.de>
9826
9827         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9828
9829         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9830
9831         * lyx_main.C: added global string help_lyxdir.
9832
9833         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9834
9835 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9836
9837         * lyxrc.C (set_font_norm_type): support iso8859-4
9838
9839 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9840
9841         * LaTeX.C (deplog): add another regex for MikTeX
9842
9843 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9844
9845         * lyxrc.C (set_font_norm_type): support iso8859-3
9846
9847 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9848
9849         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9850
9851         * LaTeXFeatures.C: remove special case of french and index
9852
9853         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9854         before \begin{document}). This solves several incompatibilities.
9855
9856 2001-10-03  Garst Reese  <reese@isn.net>
9857
9858         * lyx_cb.C: change CheckTex error msg.
9859
9860 2001-10-03  José Matos  <jamatos@fep.up.pt>
9861
9862         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9863
9864 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9865
9866         * .cvsignore: update
9867
9868         * lyx_main.C (commandLineVersionInfo): use new style version info.
9869
9870         * buffer.C (writeFile):
9871         (makeLaTeXFile):
9872         (makeLinuxDocFile):
9873         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9874
9875         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9876
9877         * version.h: update to use stuff in version.C
9878
9879         * version.C.in: new file. Contains version information determined
9880         at compile time. This is a merging of version.h and
9881         version_info.h.in.
9882
9883 2001-10-03  Juergen Vigna  <jug@sad.it>
9884
9885         * BufferView_pimpl.C (update): don't change "dirty" status in
9886         updateInset call.
9887
9888 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9889
9890         * WorkArea.C (c-tor): re-position version string slightly.
9891
9892 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9893
9894         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9895         revert to previous code.
9896
9897         WorkArea.[Ch]: (show, destroySplash): methods removed.
9898
9899         WorkArea.C: rework code so that it's an amalgam of the codes before and
9900         after the splash screen was moved to WorkArea.
9901
9902 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9903
9904         * lyxrc.C (read):
9905         * vspace.C (inPixels):
9906         (lyx_advance):
9907         * kbmap.C (bind):
9908         * buffer.C (insertStringAsLines):
9909         (asciiParagraph): fix types to be large enough
9910
9911         * lyxlex_pimpl.h: change member status from short to int
9912
9913         * layout.h: fix type of endlabeltype
9914
9915         * kbmap.C (bind):
9916         * kbsequence.C (parse): change return type to string::size_type
9917
9918         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9919         variable
9920
9921         * Bullet.C (bulletSize):
9922         (bulletEntry): do not use short ints as parameters
9923
9924         * BufferView2.C (insertLyXFile): change a char to an int.
9925
9926         * WorkArea.C (WorkArea): remove unneeded floats in computation
9927
9928 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9929
9930         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9931
9932         * paragraph.C (asString): Do not ignore newline/hfill chars when
9933         copying to the clipboard.
9934
9935 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9936
9937         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9938         after a multi-line inset.
9939
9940 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9941
9942         * paragraph.C (validate): Set NeedLyXFootnoteCode
9943
9944 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9945
9946         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9947         and decrease-error to decrease.
9948
9949 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9950
9951         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9952         it more readable (should be equivalent)
9953
9954 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9955
9956         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9957
9958 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9959
9960         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9961         of a cursor (row, etc.) after a character has been deleted
9962         (deleteEmptyParagraphMechanism): call the method above on _all_
9963         cursors held by the LyXText when a double space has been
9964         detected/deleted.
9965
9966 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9967
9968         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9969         pixmap.
9970         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9971
9972         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9973         background. Use greyOut() and the new show() methods to toggle between
9974         the foreground and background. Add code to remove the splash after
9975         its initial showing.
9976
9977         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9978         (create_forms): no longer call Dialogs::showSplash.
9979
9980 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9981
9982         * .cvsignore: add version_info.h
9983
9984 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9985
9986         * version_info.h.in: new file
9987
9988         * Makefile.am: add version_info.h.in
9989
9990         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9991         version_info.h instead of VERSION_INFO
9992
9993 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9994
9995         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9996         The ERT inset now returns string().
9997
9998 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9999
10000         * lyxtext.h, text.C (selectNextWord): renamed as
10001         selectNextWordToSpellcheck.
10002
10003         * text.C (selectNextWordToSpellcheck): Modified to not select
10004         words inside an ERT inset.
10005
10006 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10007
10008         * lyx_cb.C (MenuLayoutSave): change a bit the question
10009
10010         * sp_base.h: include <sys/types.h>
10011
10012 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10013
10014         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10015
10016 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10017
10018         * several files: fix typos in user-visible strings
10019
10020 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10021
10022         * text2.C (pasteSelection): do not set the selection, since it
10023         will be cleared later. Actually, the intent was to fix the way the
10024         selection was set, but I figured rmoving the code was just as good.
10025
10026 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10027
10028         * FontLoader.C (available): Check if font is available without
10029         loading the font.
10030
10031 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10032
10033         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10034
10035 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10036
10037         * lyxrc.[Ch]: added display_graphics variable and associated code.
10038
10039 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10040
10041         * bufferparams.C (hasClassDefaults): new method. Returns true if
10042         the buffer parameters correspond to known class defaults
10043
10044 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10045
10046         * XFormsView.C (show): set minimum size to the main window.
10047
10048 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10049
10050         * text2.C (copySelection):
10051         (cutSelection):
10052         * lyxfind.C (LyXReplace):
10053         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10054         LyXText::selectionAsString.
10055
10056         * paragraph.C (asString): add "label" argument to the second form
10057
10058         * text2.C (selectionAsString): add "label" argument and pass it to
10059         Paragraph::asString.
10060
10061 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10062
10063         * lyx_main.C (commandLineHelp): remove version information
10064
10065 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10066
10067         * lyx_main.C: add -version commandline option
10068
10069 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10070
10071         * paragraph.h: make the optional constructor arg required instead.
10072         some modifications to other files because of this.
10073
10074         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10075
10076         * lyxserver.C (C_LyXComm_callback): make it static
10077
10078         * lyx_main.C (error_handler): make it static
10079
10080         * lyx_gui.C (LyX_XErrHandler): make it static
10081
10082         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10083
10084         * WorkArea.C: make the extern "C" methods static.
10085
10086         * Makefile.am (lyx_LDADD): simplify
10087
10088 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10089
10090         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10091         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10092
10093         * LyXAction.C (init):
10094         * lyxfunc.C (dispatch): associated code removal.
10095
10096 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10097
10098         * lyxfont.h (isSymbolFont): shut off warning
10099
10100         * text.C (setHeightOfRow):
10101         (getVisibleRow): fix crash with empty paragraphs which have a
10102         bottom line
10103
10104 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10105
10106         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10107         code.
10108
10109 2001-09-04  José Matos  <jamatos@fep.up.pt>
10110         * buffer.C
10111         * buffer.h
10112         * tabular.C (docbook): rename docBook method to docbook.
10113
10114 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10115
10116         * Makefile.am: add dependencies to main.o.
10117
10118 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10119
10120         * FontLoader.C (available): Return false if !lyxrc.use_gui
10121
10122 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10123
10124         * FontInfo.C (query):
10125         * converter.C (view):
10126         * importer.C (Import):
10127         * exporter.C (Export): Can not -> cannot.
10128
10129 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10130
10131         * BufferView_pimpl.C: allow to create index inset even if
10132           string is empty
10133
10134 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10135
10136         * buffer.C (getLists): replace boost::tie code with an explicit pair
10137         as boost::tie can break some compilers.
10138
10139         * iterators.h: Added a std:: declaration to the return type of
10140         ParIterator::size.
10141
10142 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10143
10144         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10145           case.
10146
10147 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10148
10149         * iterators.[Ch]: New files. Provide paragraph iterators.
10150
10151         * buffer.C (changeLanguage): Use paragraph iterators.
10152         (isMultiLingual): ditto
10153
10154         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10155
10156 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10157
10158         * FontLoader.C: Support for cmr font.
10159
10160 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10161
10162         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10163         (available): New method.
10164
10165         * FontInfo.C (getFontname): Use scalable fonts even when
10166         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10167         found.
10168
10169 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10170
10171         * converter.C (Formats::view): reverted! Incorrect fix.
10172
10173 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10174
10175         * converter.C (Formats::view): only output the -paper option
10176         if the dvi viewer is xdvi, thereby fixing bug #233429.
10177
10178 2001-08-23  Herbert Voss  <voss@perce>
10179
10180         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10181
10182 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10183
10184         * Spacing.h (Spacing): Set space to Default on in the default
10185         constructor.
10186
10187 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10188
10189         * vc-backend.h (RCS::versionString): add RCS to version
10190         (CVS::versionString): add CVS to version
10191
10192         * vc-backend.C (scanMaster): do not add CVS to version.
10193         (scanMaster): do not add RCS to version
10194
10195         * lyxvc.C (versionString): new method
10196
10197         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10198
10199 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10200
10201         * Spacing.C (set): initialize fval
10202
10203 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10204
10205         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10206         " or \.
10207
10208 2001-08-16  Juergen Vigna  <jug@sad.it>
10209
10210         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10211
10212 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10213
10214         * BufferView_pimpl.C:
10215         * figureForm.C:
10216         * lyxtext.h:
10217         * text2.C: setParagraph takes linespacing now
10218
10219 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10220
10221         * LyxAction.C: add internal LFUN_CITATION_INSERT
10222
10223         * LyXView.C: actually apply fix
10224
10225         * bufferlist.C: fix open non-existent file
10226
10227         * lyxfind.C: fix indentation
10228
10229         * lyxfunc.C: remove unneeded assert, fix typo
10230
10231 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10232
10233         * MenuBackend.C: use "Floatname List"
10234
10235 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10236
10237         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10238         when converting LaTeX layout to insetERT.
10239         Generate a non-collapsed float when reading old float
10240
10241 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10242
10243         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10244         ERT insets.
10245
10246 2001-08-13  Juergen Vigna  <jug@sad.it>
10247
10248         * text.C (fill): return 0 instead of 20 as this seems to be the more
10249         correct value.
10250
10251 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10252
10253         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10254         lyxrc.font_norm.
10255
10256 2001-08-13  Juergen Vigna  <jug@sad.it>
10257
10258         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10259         casesensitive off.
10260         (SearchBackward): comment out the unlocking of the inset_owner this
10261         should not be needed!
10262
10263 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10264
10265         * Many files: Remove inherit_language, and add latex_language
10266
10267         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10268         collapsible insets.
10269
10270 2001-08-10  Juergen Vigna  <jug@sad.it>
10271
10272         * text.C (prepareToPrint): fixed hfill-width in draw!
10273
10274         * BufferView2.C (selectLastWord): save the selection cursor as this
10275         now is cleared in the function LyXText::clearSelection!
10276
10277 2001-08-08  Juergen Vigna  <jug@sad.it>
10278
10279         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10280         BACKSPACE type functions.
10281
10282         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10283         is only cutted from the document but not put in the cut-buffer, where
10284         still the old stuff should be.
10285
10286         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10287
10288         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10289
10290         * tabular.C (SetWidthOfCell): fixed special case where the width
10291         was not updated!
10292         (LeftLine): handle '|' in align_special.
10293         (RightLine): ditto
10294         (LeftAlreadyDrawed): ditto
10295         (SetWidthOfCell): ditto
10296
10297 2001-08-07  Juergen Vigna  <jug@sad.it>
10298
10299         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10300
10301 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10302
10303         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10304         * lyxlex.[hC]: ditto
10305
10306 2001-08-06  Juergen Vigna  <jug@sad.it>
10307
10308         * text.C (getVisibleRow): fix up row clearing a bit.
10309
10310 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10311
10312         * minibuffer.C: make sure the X server sees the changes in the input.
10313
10314 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10315
10316         * paragraph.C (getFont): split into...
10317         (getLabelFont): this
10318         (getLayoutFont): and this
10319         * paragraph_pimpl.C (realizeFont): calling this
10320
10321         * text2.C (getFont): split into...
10322         (getLayoutFont): this
10323         (getLabelFont): and this
10324         (realizeFont): all three calling this
10325
10326         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10327         files where used.
10328
10329 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10330
10331         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10332
10333 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10334
10335         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10336         layouts from the Quote inset insertion.
10337
10338 2001-08-03  Juergen Vigna  <jug@sad.it>
10339
10340         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10341
10342         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10343         only if status not is already CHANGED_IN_DRAW (second level).
10344
10345         * text.C (draw): don't set the need_break_row when inside an
10346         InsetText LyXText.
10347
10348 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10349
10350         * buffer.C (parseSingleLyXformat2Token): handle more latex
10351         conversion cases.
10352
10353         * bufferview_funcs.[hC]: change function names to
10354         begin with small char, adjust other files.
10355
10356 2001-08-02  André Pönitz <poenitz@gmx.net>
10357
10358         * lyxfunc.C:
10359         BufferView_pimpl.C: remove broken special code for math-greek
10360
10361 2001-08-02  Juergen Vigna  <jug@sad.it>
10362
10363         * BufferView_pimpl.C (update): redone this function so that we
10364         update the text again if there was a CHANGE_IN_DRAW.
10365
10366         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10367         (drawFromTo): added a new internal bool which is used by draw() and
10368         redraw() function.
10369         (general): some cursor drawing problems fixed.
10370
10371 2001-08-01  Juergen Vigna  <jug@sad.it>
10372
10373         * lyxfind.C (LyXFind): fixed
10374         (SearchForward): ditto
10375         (SearchBackward): ditto
10376
10377         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10378         spurius drawing of the cursor in the main area.
10379
10380         * text2.C (status): small fix which could lead to a segfault!
10381         (clearSelection): remove unneeded BufferView param.
10382
10383 2001-08-01  André Pönitz <poenitz@gmx.net>
10384
10385         * lyxfunc.C: small change due to changed mathed interface
10386
10387 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10388
10389         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10390
10391 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10392
10393         * lyxfunc.c: fail gracefully if file doesn't exist
10394
10395         * LyXSendto.C:
10396         * buffer.C:
10397         * lyxfunc.C:
10398         * BufferView_pimpl.C: IsDirWriteable() proto changed
10399
10400         * LyXView.C: fix updateWindowTitle() to store the last title
10401
10402 2001-07-31  Juergen Vigna  <jug@sad.it>
10403
10404         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10405         the font (wrong since using of Paragraph::highestFontInRange).
10406
10407         * paragraph.C (highestFontInRange): added a default_size parameter.
10408
10409         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10410         (setHeightOfRow): reformat
10411
10412 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10413
10414         * converter.[hC] + affected files: move to (inital-char)lowercase
10415         function names.
10416
10417         * ParagraphParameters.C (ParagraphParameters): remove commented code
10418
10419         * PainterBase.[Ch]: remove commented code
10420
10421         * LaTeXFeatures.h: add "bool floats" for float.sty
10422
10423         * LaTeXFeatures.C (LaTeXFeatures): init floats
10424         (require): handle float
10425         (getPackages): do it with floats
10426
10427 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10428
10429         * BufferView_pimpl.C (Dispatch): improve handling of
10430         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10431
10432         * commandtags.h: #include lyxfont.h here temporarily to avoid
10433         keybinding bug.
10434
10435         * bufferlist.h: include LString.h here.
10436
10437 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10438
10439         * text2.C (getStringToIndex): new method.
10440
10441 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10442
10443         * *: Reduced header file dependencies all over.
10444
10445 2001-07-30  Baruch Even  <baruch@lyx.org>
10446
10447         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10448
10449 2001-07-29  Baruch Even  <baruch@lyx.org>
10450
10451         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10452
10453 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10454
10455         * ParameterStruct.h (endif): add a default constructor to make
10456         sure that all variables is initialized.
10457
10458         * ParagraphParameters.C (ParagraphParameters): adjust
10459
10460 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10461
10462         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10463         index; also, check that there is something to index, and that it
10464         does not span over several paragraphs.
10465         (doubleClick): use WHOLE_WORD_STRICT for double click.
10466
10467         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10468
10469         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10470         scheme.
10471
10472 2001-07-26  Baruch Even  <baruch@lyx.org>
10473
10474         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10475         an InsetFig figure, backwards compatible reading of old figure code.
10476
10477 2001-07-27  Juergen Vigna  <jug@sad.it>
10478
10479         * text2.C: font.realize function adaption.
10480
10481         * text.C (draw): add a warnings lyxerr text if needed.
10482
10483         * layout.C: font.realize function adaption.
10484
10485         * language.C: add inherit_language and implement it's handlings
10486
10487         * bufferview_funcs.C (StyleReset): remove language parameter from
10488         font creation (should be language_inherit now).
10489
10490         * bufferparams.C (writeFile): handle ignore_language.
10491
10492         * paragraph.C (getFontSettings): the language has to be resolved
10493         otherwise we have problems in LyXFont!
10494
10495         * lyxfont.C (lyxWriteChanges): added document_language parameter
10496         (update): removed unneeded language parameter
10497
10498         * paragraph.C (validate): fixed wrong output of color-package when
10499         using interface colors for certain fonts in certain environments,
10500         which should not seen as that on the final output.
10501
10502 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10503
10504         * BufferView_pimpl.C:
10505         * Thesaurus.h:
10506         * Thesaurus.C:
10507         * Makefile.am:
10508         * commandtags.h:
10509         * LyXAction.C: add thesaurus support
10510
10511         * lyxfind.h:
10512         * lyxfind.C: add "once" parameter, for thesaurus, to not
10513           move to the next match
10514
10515 2001-07-26  Juergen Vigna  <jug@sad.it>
10516
10517         * lyxfont.C (realize): honor ignore_language too!
10518         (resolved): ditto.
10519
10520         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10521
10522         * text.C (draw): one place more for ignore_language to not draw
10523         itself!
10524
10525 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10526
10527         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10528
10529 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10530
10531         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10532         the minipage conversion problem.
10533
10534 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10535
10536         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10537         insert an inset.
10538
10539 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10540
10541         * BufferView.h: don't forward declare WorkArea
10542
10543         * BufferView.C: don't include WorkArea.h
10544
10545 2001-07-25  André Pönitz <poenitz@gmx.net>
10546
10547         * commandtags.h:
10548         * LyXAction.C:
10549         * lyxfunc.C:  new LFUN 'math-space'
10550
10551         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10552
10553 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10554
10555         * text2.C (toggleInset): call open/close
10556
10557 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10558
10559         * lyxfunc.C (dispatch): add debug for the disabled case
10560
10561         * font.C (buttonText): make similar to rectText
10562
10563         * buffer.C (readInset): comment out parsing of insetlist and
10564         insttheorem
10565
10566         * PainterBase.C (rectText): small correction
10567
10568         * BufferView_pimpl.C: comment out insettheorem and insetlist
10569         * LyXAction.C: ditto
10570         * commandtags.h: ditto
10571
10572 2001-07-24  Juergen Vigna  <jug@sad.it>
10573
10574         * text.C (draw): honor the ignore_language.
10575
10576         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10577
10578 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10579
10580         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10581         char inset.
10582
10583 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10584
10585         * lyxtext.h: remove unused (and unimplemented) methods
10586
10587 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10588
10589         * text.C (getVisibleRow): honor background color
10590
10591         * PainterBase.h:
10592         * Painter.h: remove default color argument for fillRectangle
10593
10594         * text.C (backgroundColor): new method
10595
10596 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10597
10598         * text.C (getVisibleRow): adjust
10599
10600         * font.[Ch] (rectText): new method, metrics
10601         (buttonText): new method, metrics
10602
10603         * PainterBase.[hC]: make rectText and buttonText always draw and take
10604         fewer paramteres.
10605
10606 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10607
10608         * ToolbarDefaults.C (read):
10609         * MenuBackend.C (read): allow escaping in all strings
10610
10611         * BufferView_pimpl.C (insertAndEditInset): new method.
10612         (Dispatch): use insertAndEditInset whenever appropriate.
10613
10614         * BufferView_pimpl.C (insertNote): removed
10615
10616         * BufferView_pimpl.C (smartQuote): new method, moved from
10617         BufferView; if an insetquote cannot be inserted, insert a '"'
10618         character instead.
10619
10620         * BufferView2.C: remove insertCorrectQuote();
10621
10622         * lyxfunc.C (getStatus): Add support for all remaingin
10623         inset-insert lfuns.
10624
10625         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10626
10627         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10628         command (necessary to pass " as parameter of self-insert.
10629
10630         * text.C (selectWordWhenUnderCursor):
10631         (selectWord): add word_location parameter
10632         (selectWordWhenUnderCursor): same + remove special code for word
10633         boundary.
10634         (selectNextWord): use kind() to guess type of insetspecialchar,
10635         not latex().
10636
10637         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10638         (insertErtContents): create ert insets as collapsed.
10639         (readInset): better compatibility code for Info inset.
10640
10641 2001-07-20  Juergen Vigna  <jug@sad.it>
10642
10643         * lyxfunc.C (dispatch): use always LyXFind now!
10644
10645         * text2.C (init): add a reinit flag so that the LyXText can be
10646         reinited instead of deleted and reallocated (used in InsetText).
10647
10648         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10649
10650         * text.C: ditto
10651
10652         * text2.C: ditto
10653
10654 2001-07-18  Juergen Vigna  <jug@sad.it>
10655
10656         * text.C (selectNextWord): handle insets inside inset by calling
10657         always the bv->text functions so that we can go up the_locking_inset!
10658
10659         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10660         in strange locations when inside an inset!
10661
10662         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10663         handling to include insets.
10664
10665         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10666
10667 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10668
10669         * LyXAction.C (init):
10670         * commandtags.h:
10671         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10672         LIGATURE_BREAK, since the name is so stupid.
10673
10674 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10675
10676         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10677         InsetInfos.
10678
10679         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10680
10681         * sp_form.[Ch]: remove.
10682
10683         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10684
10685         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10686         InsetInfo.
10687
10688         * src/buffer.C (readInset): ditto.
10689
10690 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10691
10692         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10693         menuSeparator(), endOfSentenceDot(), ldots() and
10694         hyphenationPoint(), which are therefore removed.
10695         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10696
10697         * LyXAction.C (init):
10698         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10699
10700         * paragraph.C (getWord): removed.
10701
10702         * BufferView_pimpl.C (Dispatch): use last word or selection for
10703         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10704
10705         * lyx_main.C (queryUserLyXDir): do not ask before creating
10706         user_dir, except if it has been named explicitely.
10707
10708 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10709
10710         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10711         a document of zero size.
10712
10713 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10714
10715         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10716         approriately in the c-tor and in require().
10717         (getPackages): output the appropriate LaTeX for natbib support.
10718
10719         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10720         variables "use_natbib" and "use_numerical_citations" when reading the
10721         LyX file.
10722         (readInset): read the various natbib cite commands.
10723         (validate): white-space change.
10724
10725         * bufferparams.[Ch]: new variables "bool use_natbib" and
10726         "bool use_numerical_citations".
10727         (writeFile): output them in the LyX file.
10728
10729 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10730
10731         * lyxfunc.C (getStatus): add support for all the inset insertion
10732         commands.
10733
10734         * text2.C (insertInset):
10735         * paragraph.C (insetAllowed):
10736         * BufferView_pimpl.C (insertInset): update to take in account the
10737         renaming of insertInsetAllowed
10738
10739         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10740
10741         * text2.C (getInset): new method. returns inset at cursor position.
10742
10743         * BufferView_pimpl.C (Dispatch): changes because of this.
10744
10745         * LyXAction.C (init): rename open-stuff to inset-toggle.
10746
10747         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10748
10749         * text2.C (toggleInset): renamed from openStuff; use
10750         Inset::open().
10751
10752 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10753
10754         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10755
10756         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10757
10758 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10759
10760         * buffer.C (readLyXformat2): Add filename to the error dialog
10761
10762 2001-07-18  Juergen Vigna  <jug@sad.it>
10763
10764         * tabular.C (GetCellNumber): put an assert here instead of the check!
10765
10766 2001-07-17  Juergen Vigna  <jug@sad.it>
10767
10768         * BufferView_pimpl.C (toggleSelection): adapted too.
10769
10770         * text.C (selectNextWord): adapted for use with insets.
10771         (selectSelectedWord): ditto
10772
10773 2001-07-17  Juergen Vigna  <jug@sad.it>
10774
10775         * sp_spell.C (PSpell): fix initialitation order.
10776
10777 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10778
10779         * paragraph.C: spacing
10780
10781 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10782
10783         * sp_spell.C: repair language selection for pspell
10784
10785 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10786
10787         * lyxfunc.h: change more methods to begin with lower char.
10788
10789 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10790
10791         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10792         for unknown layouts.
10793
10794 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10795
10796         * buffer.C (readLyXformat2): Generate an error dialog if there are
10797         unknown layouts.
10798
10799 2001-07-16  Juergen Vigna  <jug@sad.it>
10800
10801         * sp_spell.C: always compile ISpell part.
10802
10803         * lyxrc.C: added use_pspell entry and it's handling.
10804
10805 2001-07-13  Juergen Vigna  <jug@sad.it>
10806
10807         * sp_spell.C: removed double includes.
10808
10809 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10810
10811         Consistent use of Lsstream.h:
10812         * Lsstream.h: added using std::stringstream for consistencies sake.
10813
10814         * buffer.C: removed using std::stringstream
10815
10816         * lyxfont.C (stateText):
10817         * paragraph.C (asString):
10818         * text.C (selectNextWord, selectSelectedWord):
10819         * text2.C (setCounter):
10820         * vspace.C (asString, asLatexString):
10821         std::ostringstream -> ostringstream.
10822
10823 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10824
10825         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10826         * commandtags.h: add LFUN_HELP_ABOUTLYX
10827         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10828
10829 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10830
10831         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10832         cursorToggle()
10833         * lyx_gui_misc.C: remove spellchecker
10834         * lyxfunc.C: showSpellchecker
10835         * sp_base.h: added
10836         * sp_ispell.h: added
10837         * sp_pspell.h: added
10838         * sp_spell.C: added
10839         * sp_form.[Ch]: removed
10840         * spellchecker.[Ch]: removed
10841
10842 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10843
10844         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10845         is set.
10846         (simpleTeXSpecialChars): Simply print the input character without
10847         any special translation if pass_thru is set.
10848
10849         * layout.h: Added bool pass_thru to layout class for being able to
10850         implement pass through of a paragraph for Literate Programming.
10851
10852         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10853         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10854         * layout.C (Read): add "passthru" to list of layout tags and add
10855         code to set the pass_thru boolean when it is read.
10856
10857 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10858
10859         * trans_decl.h: remove allowed from KmodInfo
10860
10861         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10862         remove allowed code
10863         (Load): adjust
10864
10865         * paragraph_pimpl.C (erase): use boost::prior
10866
10867         * Painter.C (text): use data() instead of c_str() when length is
10868         also provided.
10869         * WorkArea.C (putClipboard): ditto
10870         * font.h (width): ditto
10871
10872         * BufferView2.C: use it-> instead of (*it). for iterators
10873         * texrow.C: ditto
10874         * paragraph_pimpl.C: ditto
10875         * paragraph.C: ditto
10876         * minibuffer.C: ditto
10877         * language.C: ditto
10878         * kbmap.C: ditto
10879         * encoding.C: ditto
10880         * counters.C: ditto
10881         * converter.C: ditto
10882         * chset.C: ditto
10883         * Variables.C: ditto
10884         * TextCache.C: ditto
10885         * MenuBackend.C: ditto
10886         * LyXAction.C: ditto
10887         * LColor.C: ditto
10888         * FloatList.C: ditto
10889         * DepTable.C: ditto
10890         * ColorHandler.C (LyXColorHandler): ditto
10891
10892 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10893
10894         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10895
10896         * text2.C (openStuff): reintroduce this method (which had been
10897         nuked in NEW_INSETS frenzy).
10898
10899         * lyxfunc.C (Dispatch): when an action has not been handled, use
10900         its name in the error message, not its number.
10901
10902         * paragraph.C (inInset): change method name to begin with lowercase.
10903
10904         * undo_funcs.C:
10905         * text2.C: updates because of this.
10906
10907 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10908
10909         * ToolbarDefaults.C (add): add spaces in error message
10910
10911 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10912
10913         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10914         (readLyXformat2): rename return_par to first_par, use lyxlex's
10915         pushToken and remove the manual push handling.
10916         (parseSingleLyXformat2Token): add another ert comp. variable:
10917         in_tabular, rename return_par to first_par. handle newlines better
10918
10919 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10920
10921         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10922
10923 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10924
10925         * text2.C (getParFromID): removed
10926
10927         * buffer.C (getParFromID): new method moved form lyxtext.
10928         * BufferView2.C (insertErrors): adjust
10929         (setCursorFromRow): adjust
10930         * BufferView_pimpl.C (restorePosition): adjust
10931         * lyxfunc.C (Dispatch): adjust
10932         * undo_funcs.C (textUndo): adjust
10933         (textRedo): adjust
10934         (textHandleUndo): adjust
10935         (textHandleUndo): adjust
10936
10937 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10938
10939         * buffer.C: up' the LYX_FORMAT
10940
10941         * lyxfont.h: turn NO_LATEX on as default
10942
10943         * buffer.C (insertErtContents): new methods of tex style compability.
10944         (parseSingleLyXformat2Token): use it several places.
10945         * tabular.C (OldFormatRead): and here
10946
10947 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10948
10949         * text2.C: remove some commented code.
10950         reindent file.
10951
10952         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10953         * trans.C: changes because of the above.
10954
10955 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10956
10957         * text2.C (setCounter): Fix counters bug with bibliography layout.
10958
10959 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10960
10961         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10962         own member functions
10963         (simpleTeXSpecialChars): ditto
10964
10965 2001-07-06  Juergen Vigna  <jug@sad.it>
10966
10967         * a lot of files: changed the access to LyXText::status and the
10968         call of undo-functions.
10969
10970         * undo.[Ch]: added a inset_id to the undo informations.
10971
10972         * undo_funcs.[Ch]: added and moved here all undo functions.
10973
10974         * lyxtext.h: give the status enum a weight, made status_ a private
10975         variable and made accessor functions for it, removed the whole bunch
10976         of undo-functions as they are now in their own file, make some
10977         functions publically available. Added function ownerParagraph with
10978         int parameter.
10979
10980         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10981         made InInset() a const function, added getParFromID() function.
10982
10983         * buffer.[Ch]: added const version for inset_iterator functions,
10984         added getInsetFromID() function.
10985
10986         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10987         changed undo functions for new version.
10988
10989 2001-07-05  Juergen Vigna  <jug@sad.it>
10990
10991         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10992         unknow mechanism does not call the proper constructor but only this
10993         one also if I request the other!?
10994
10995 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10996
10997         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10998
10999         * text2.C (LyXText): use initialization lists.
11000
11001         * lyxtext.h (Selection): initialize set_ and mark_
11002         (init): remove method
11003
11004 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11005
11006         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11007
11008 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11009
11010         * screen.[Ch]: change method names to begin with lowercase
11011
11012         * BufferView_pimpl.C (updateScrollbar): simplify further and
11013         hopefully make it a bit faster.
11014
11015 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11016
11017         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11018         calling directly xforms functions.
11019
11020         * Painter.C (Painter):
11021         * lyx_cb.C (MenuWrite):
11022         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11023         fl_display.
11024
11025         * lyx_gui.C: remove bogus guiruntime extern declaration.
11026
11027 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11028
11029         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11030         in NEW_INSETS
11031         (redoDrawingOfParagraph): ditto
11032         (redoParagraphs): ditto
11033         (cutSelection): don't create a object for CutAndPaste use the
11034         static method directly
11035         (pasteSelection): ditto
11036
11037         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11038         LyXview (+ rename)
11039
11040 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11041
11042         * modifications to some other files because of this.
11043
11044         * Makefile.am (lyx_SOURCES): add XFormsView
11045
11046         * XFormsView.[Ch]: new files
11047
11048         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11049         the main window. Move the gui dependent stuff to XFormsView
11050
11051 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11052
11053         * tabular.C (GetCellInset): update cur_cell also in the row/col
11054         version of this function.
11055
11056         * lyxfunc.C: no need to include figure_form.h here.
11057
11058         * FontLoader.h:
11059         * lyxfunc.h:
11060         * lyxscreen.h:
11061         * text2.C:
11062         * lyxvc.C: no need to include forms.h here.
11063
11064 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11065
11066         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11067
11068         * lyxfunc.C (Dispatch):
11069         * Spacing.C (set):
11070         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11071         constructor argument.
11072
11073 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11074
11075         * paragraph.C (Paragraph): dont't clear, and just set layout.
11076         (makeSameLayout): use params's copy contructor.
11077
11078         * ParagraphParameters.[Ch] (makeSame): delete method
11079
11080 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11081
11082         * Variables.[Ch]: fix indentation, rename set to isSet
11083
11084 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11085
11086         * lyxfunc.C (Dispatch): fix typo
11087
11088 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11089
11090         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11091         upper_bound.
11092
11093         * bufferlist.C: include assert.h for emergencyWrite().
11094
11095 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11096
11097         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11098           give up at last (bug #425202) !
11099
11100 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11101
11102         * lyx_gui_misc.C:
11103         * sp_form.h:
11104         * sp_form.C:
11105         * spellchecker.h:
11106         * spellchecker.C: strip spellchecker options and bring up
11107           preferences tab instead
11108
11109 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11110
11111         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11112         the istringstream constructor
11113
11114 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11115
11116         * paragraph.C (getLayout): fix return value
11117
11118         * paragraph.h: do not declare getLayout as inline.
11119
11120         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11121
11122 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11123
11124         * lyxcursor.h (operator<): new func
11125         (operator>): new func
11126         (operator>=): new func
11127         (operator<=): new func
11128
11129         * text.C (changeCase): use selection.start and selection.end
11130         (changeRegionCase): require from to be <= to. Require par to be a
11131         valid paragraph.
11132
11133         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11134
11135 2001-06-27  Juergen Vigna  <jug@sad.it>
11136
11137         * text.C (cursorLeftOneWord): changed to return the cursor and added
11138         overlay with BufferView * parameter which calls this one.
11139         (getWord): added
11140         (selectWord): use new getWord function.
11141         (changeCase): renamed from changeWordCase as and extended to work
11142         also on selections.
11143
11144         * lyxtext.h: added enum word_location
11145
11146         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11147         changeCase as this operates now also on selections.
11148
11149 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11150
11151         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11152
11153         * many files: send debug output to Debug::INFO instead of
11154         Debug::ANY.
11155
11156         * converter.C (View):
11157         (Convert):
11158         (Move): send debug output to Debug::FILES instead of console.
11159
11160 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11161
11162         * lyxfunc.C (getStatus): use func_status
11163
11164         * func_status.h: new header, describing the results of
11165         LyXFunc::getStatus;
11166
11167         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11168         LFUN_MATH_HALIGN.
11169
11170 2001-06-25  The LyX Project  <jug@sad.it>
11171
11172         * buffer.C (sgmlOpenTag):
11173         (sgmlCloseTag):
11174         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11175
11176 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * text2.C: remove some dead code
11179
11180         * tabular.C (GetCellInset): store the last cell checked (gotten)
11181
11182         * tabular.h: add the helper for the speedup
11183
11184         * lyxtext.h: remove some dead code
11185
11186 2001-06-26  The LyX Project  <Asger>
11187
11188         * paragraph.C: Change export to LaTeX of alignment to
11189         \begin{center} and family for better roundtrip work with reLyX.
11190
11191         * Tune the math drawing a bit.
11192
11193 2001-06-25  The LyX Project  <Asger>
11194
11195         * LColor.C (LColor): New color for math background. New color
11196         for buttons.
11197
11198 2001-06-25  The LyX Project  <jug@sad.it>
11199
11200         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11201
11202         * lyxfunc.C (Open):
11203         * bufferlist.C (newFile): do not restrict to files ending with
11204         .lyx
11205
11206         * BufferView_pimpl.C (MenuInsertLyXFile):
11207
11208 2001-06-24  The LyX Project  <jug@sad.it>
11209
11210         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11211         of compare_no_case
11212
11213 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11214
11215         * lyxtext.h: rename most methods to begin with a small char.
11216         Lots of changes because of this.
11217
11218         * paragraph.C (Paragraph): do not call fitToSize
11219         (erase): call Pimpl::erase
11220         (insertChar): call Pimpl::insertChar
11221         (insertInset): call Pipl::insertInset
11222         (breakParagraph): do not call fitToSize
11223         (breakParagraphConservative): do not call fitToSize
11224         (fitToSize): remove method
11225
11226         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11227
11228 2001-06-24  The LyX Project  <Asger>
11229
11230         * Fix Qt compilation^2
11231
11232 2001-06-24  The LyX Project  <jug@sad.it>
11233
11234         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11235         depthHook(getDepth()-1).
11236
11237         * paragraph.h:
11238         * ParagraphParameters.h:
11239         * ParameterStruct.h: change type of depth to unsigned int ==
11240         depth_type. Many adaptations to other files before of that.
11241
11242 2001-06-24  The LyX Project  <Asger>
11243
11244         * Fix Qt compilation.
11245
11246 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11247
11248         * paragraph.h: renamed several methods to begin with small letter.
11249         several changes to many parts of the code because of this.
11250
11251 2001-06-23  The LyX Project  <jug@sad.it>
11252
11253         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11254         rewritten to discard all double spaces when KeepEmpty is off
11255         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11256         to only handle newlines but not fiddle with spaces and friends.
11257
11258         * lyxfunc.C (MenuNew): when doing 'new from template', use
11259         template_path as default directory
11260
11261 2001-06-23  The LyX Project  <Asger>
11262
11263         * Clean-up of header file includes all over
11264         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11265
11266 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11267
11268         * paragraph.h: renamed from lyxparagraph.h
11269
11270 2001-06-23  Asger  <lyx@violet.home.sad.it>
11271
11272         * Buffer.h: Removed Buffer::resize
11273         * BufferList.h: Removed BufferList::resize
11274         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11275         the document lazily when we change the width, or the font settings.
11276
11277 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11280
11281 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11282
11283         * buffer.h: remove out of date comment
11284
11285 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11286
11287         * lyxscreen.h:
11288         * screen.C: fix "theoretical" GC leak
11289
11290 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11291
11292         * LaTeX.C (scanAuxFile):
11293         (deplog): remove trailing \r when reading stream (useful under
11294         win32)
11295
11296 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11297
11298         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11299         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11300         and BufferView::theLockingInset(Inset*), so should use them and not
11301         access bv_->text->the_locking_inset directly.
11302
11303         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11304
11305 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11306
11307         * Makefile.am:
11308         * tex-defs.h: remove old unused file
11309
11310 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11311
11312         * BufferView_pimpl.C: fix typo, remove minibuffer message
11313           when buffer has loaded
11314
11315 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11316
11317         * lyxfunc.C (Dispatch): use stringstream
11318         (MenuNew): use stringstream
11319         (Open): use stringstream
11320
11321         * importer.C (Import): use stringstream
11322
11323         * bufferview_funcs.C (CurrentState): use stringstream
11324
11325         * LaTeX.C (run): use stringstream
11326
11327         * BufferView_pimpl.C (savePosition): use stringstream
11328         (restorePosition): use stringstream
11329         (MenuInsertLyXFile): use stringstream
11330
11331 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11332
11333         * BufferView.C:
11334         * Bullet.C:
11335         * ColorHandler.C:
11336         * FontInfo.C:
11337         * FontLoader.C:
11338         * LColor.C:
11339         * LaTeXFeatures.C:
11340         * Painter.C:
11341         * gettext.C:
11342         * lyx_gui_misc.C:
11343         * lyxserver.C:
11344         * vspace.C: removed // -*- C++ -*- as first line.
11345
11346         * lyxfind.h:
11347         * version.h: added // -*- C++ -*- as first line.
11348
11349 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11350
11351         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11352
11353         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11354         of string
11355
11356 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11357
11358         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11359         of floats.
11360
11361 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11362
11363         * gettext.C: include LString.h even when --disable-nls is on.
11364
11365 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11366
11367         * converter.h (Get): changed argument type from int to
11368         FormatList::size_type to avoid unnecessary conversion.
11369
11370         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11371         before using it.
11372
11373 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11374
11375         * gettext.h: include LString.h even when --disable-nls is on.
11376
11377 2001-06-07  Juergen Vigna  <jug@sad.it>
11378
11379         * text.C (BreakAgain): subst spaces with tabs.
11380
11381         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11382         (resizeInsetsLyXText): set force on resizeLyXText.
11383
11384 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11385
11386         * gettext.h (gettext_init):
11387         (locale_init): use a real definition instead of a macro
11388
11389 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * Bufferview_pimpl.C:
11392         * LColor.h:
11393         * LColor.C: further lcolor tidies
11394
11395 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11396
11397         * BufferView_pimpl.C (updateScrollbar): simplify.
11398
11399         * BufferView2.C: don't include insets/insetinfo.h, change
11400         prototype for insertInset and call the Pimpl version. let
11401         updateInset call Pimpl version.
11402
11403         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11404         gotoInset to BufferView::Pimpl
11405
11406 2001-06-01  Juergen Vigna  <jug@sad.it>
11407
11408         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11409         inside a LockingInset (is the update needed at all?).
11410
11411 2001-05-31  Juergen Vigna  <jug@sad.it>
11412
11413         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11414         here not the old one otherwise how should we compare it afterwards
11415         if it's the same!
11416
11417 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11418
11419         * lyxfont.C:
11420         * tabular.C:
11421         * tabular-old.C:
11422         * FontInfo.C: bring C functions into global namespace when
11423         necessary
11424
11425 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11426
11427         * LString.h: make sure config.h has been loaded before LString.h.
11428
11429         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11430         (one for each char read by EatLine!).
11431
11432         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11433         variables.
11434
11435 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11436
11437         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11438         to the same as the par we break from
11439
11440 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11441
11442         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11443
11444         * MenuBackend.C (expand): also create menu entries for wide
11445         versions of the floats.
11446
11447         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11448
11449         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11450
11451         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11452         frontends/Makefile.am
11453
11454         * text2.C: adjust
11455         * text.C: adjust
11456
11457
11458         * tabular.C (getTokenValue): add std::
11459
11460         * tabular-old.C (getTokenValue): add std::
11461         (getTokenValue): ditto
11462         (getTokenValue): ditto
11463
11464         * screen.C (ToggleSelection): adjust
11465
11466         * lyxtext.h: put selection cursors inside a Selection struct.
11467
11468         * lyxfunc.C (moveCursorUpdate): adjust
11469
11470         * lyxfont.C (latexWriteStartChanges): add std::
11471
11472         * lyxfind.C: adjust
11473
11474         * font.h: delete with(char const *, LyXFont const &)
11475
11476         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11477
11478         * FontInfo.C (getFontname): add std::
11479
11480         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11481         (workAreaButtonPress): adjust
11482         (tripleClick): adjust
11483         (update): adjust
11484         (moveCursorUpdate): adjust
11485         (Dispatch): adjust
11486
11487         * BufferView2.C (gotoInset): adjust
11488
11489 2001-05-30  Juergen Vigna  <jug@sad.it>
11490
11491         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11492         to check pspell I add this as default as I now have new pspell
11493         libraries and they seem to use this.
11494
11495 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11496
11497         * text2.C (CutSelection): make the cursor valid before the call to
11498         ClearSelection.
11499
11500 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11501
11502         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11503         relied on 0 terminated strings and other horrors. Bug found due to
11504         the new assert in lyxstring!
11505
11506         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11507         KP_ keys.
11508
11509 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11510
11511         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11512         to latinkeys.bind.
11513
11514         * lyxfunc.C (processKeySym): change method of getting to the
11515         self-insert char.
11516
11517         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11518         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11519         * BufferView_pimpl.[Ch]: here as private methods.
11520
11521 2001-05-28  Juergen Vigna  <jug@sad.it>
11522
11523         * text.C (SetHeightOfRow): added the update() call again as it is
11524         needed to initialize inset dimensions!
11525
11526 2001-05-16  Juergen Vigna  <jug@sad.it>
11527
11528         * text2.C (SetCharFont): Add new function with BufferView * and
11529         bool toggleall parameters for setting insets internal fonts.
11530         (SetFont): Freeze the undo as we may change fonts in Insets and
11531         all this change should be inside only one Undo!
11532
11533         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11534         setting font's in insets as for them we have the SetFont function!
11535
11536 2001-05-15  Juergen Vigna  <jug@sad.it>
11537
11538         * text2.C (ClearSelection): to be sure we REALLY don't have any
11539         selection anymore!
11540
11541         * tabular.C (TeXCellPreamble): fixed the left border problem for
11542         multicolumn cells.
11543
11544 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11545
11546         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11547         dependancy file
11548
11549 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11550
11551         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11552         LFUN_BREAKPARAGRAPH.
11553
11554         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11555         help test to "internal only", similar for LFUN_INSERT_URL
11556
11557         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11558         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11559         auto_region_delete and deadkeys.
11560
11561 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11562
11563         * LColor.h:
11564         * LColor.C: remove some dead entries, tidy a little
11565
11566 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11567
11568         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11569         commented code.
11570         (Dispatch): implement LFUN_ESCAPE
11571
11572         * commandtags.h: add LFUN_ESCAPE
11573
11574         * LyXAction.C (init): add entry for LFUN_ESCAPE
11575
11576         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11577         Remove commented code.
11578         (insertNote): moved here
11579         (open_new_inset): moved here
11580
11581         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11582         BufferView_pimpl
11583
11584 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11585
11586         * kbmap.C (findbinding): clean it up and make it work correctly.
11587
11588         * lyx_main.C (init): do not pass argc and argv as parameters
11589
11590 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11591
11592         * buffer.C: fix path for OS/2 & Win32
11593
11594         * lyx_gui.C:
11595         * lyx_main:
11596         * lyx_main.C: Added os:: class.
11597
11598         * os2_defines.h: update
11599
11600 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11601
11602         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11603         better by trying again with reduced state.
11604
11605 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11606
11607         * lyxrc.C (read): print error about invalid key sequence only when
11608         debugging (because not all latinX keysyms are known to some X
11609         servers)
11610
11611         * kbsequence.C (getiso): add a few std:: qualifiers
11612         (getiso): comment out extra return statement.
11613
11614 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11615
11616         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11617         handling.
11618         (Dispatch): enhance the accent inset a bit. (not perfect)
11619
11620 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11621
11622         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11623
11624 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11625
11626         * bufferlist.C (emergencyWrite): fix assert() call
11627
11628 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11629
11630         * text.C (InsertChar): Added trivial patch to only send the "you
11631         can not do multiple spaces this way" message once during a
11632         session.
11633
11634 2001-05-08  Baruch Even  <baruch@lyx.org>
11635
11636         * Makefile.am: Changed order of libraries to get LyX to link properly
11637         with the gnome frontend.
11638
11639 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11640
11641         * LaTeXFeatures.h: add a std:: qualifier
11642
11643 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11644
11645         * paragraph.C (String): use stringstream
11646
11647 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11648
11649         * paragraph.C (writeFile): remove footflag arg
11650
11651         * buffer.C (makeLaTeXFile): use stringstream
11652         (latexParagraphs): remove footnot gurba
11653
11654         * LaTeXFeatures.C (getPackages): use stringstream
11655         (getMacros): likewise
11656         (getTClassPreamble): likewise
11657         (getFloatDefinitions): new method
11658
11659         * paragraph.C (writeFile): reindent
11660         (Erase): reindent
11661
11662         * WorkArea.h: revert the xpos + etc changes.
11663
11664         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11665
11666         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11667
11668         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11669         (pasteSelection): likewise
11670         * text2.C (CreateUndo): likewise
11671
11672 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11673
11674         * minibuffer.C (peek_event): temporarily reduce the functionality
11675         of the minibuffer (to allow args on lfuns)
11676
11677         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11678         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11679
11680         * buffer.C (readInset): add compability reading of old float
11681         lists, add reading of new style float list.
11682         (readInset): avoid reevaluation of inscmd.getCmdName()
11683         (getLists): reindent
11684
11685         * MenuBackend.C (MenuItem): implement parsing of
11686         md_floatlistinsert and md_floatinsert.
11687         (expand::LastFiles): move initalizaton of iterators out of loop,
11688         avoid reevaluation.
11689         (expand::Documents): introduce typdedef vector<string> Strings,
11690         and use it.
11691         (expand::ExportFormats): introduce typedef vector<Format const *>
11692         Formats, and use it.
11693         (expand): implement FloatListInsert and FloatInsert.
11694
11695         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11696         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11697         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11698
11699         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11700         handling.
11701         (Dispatch::LFUN_FLOAT_LIST): implement
11702
11703 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11704
11705         * LaTeX.C (run): Fix problem with --export code.
11706
11707 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11708
11709         * BufferView.[Ch] (workarea): removed.
11710         (getClipboard) new method; wrapper for workarea()->getClipboard()
11711
11712         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11713         bug.
11714
11715         * WorkArea.h (width, height, xpos, ypos): These methods all
11716         returned the dimensions of the work_area sub-area of WorkArea,
11717         resulting in a position error if the WorkArea were resized. Now
11718         return the dimensions of the entire WorkArea.
11719
11720         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11721
11722 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11723
11724         * LaTeX.C (deplog): correct the syntax of regex reg1
11725
11726 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11727
11728         * undo.C: remove !NEW_INSETS cruft
11729
11730 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11731
11732         * text2.C: remove !NEW_INSETS cruft
11733
11734         * text.C: remove !NEW_INSETS cruft
11735
11736         * tabular.C: remove !NEW_INSETS cruft
11737
11738         * spellchecker.C: remove !NEW_INSETS cruft
11739
11740         * lyxtext.h: remove !NEW_INSETS cruft
11741
11742         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11743
11744         * lyxfunc.C: remove !NEW_INSETS cruft
11745
11746         * lyxfind.C: remove !NEW_INSETS cruft
11747
11748         * lyx_cb.C: remove !NEW_INSETS cruft
11749
11750         * figureForm.C: remove  !NEW_INSETS cruft
11751
11752         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11753
11754         * buffer.[Ch]: remove !NEW_INSETS cruft
11755
11756         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11757
11758         * CutAndPaste.C: remove !NEW_INSETS cruft
11759
11760         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11761
11762         * BufferView2.C: remove !NEW_INSETS cruft
11763
11764         * BufferView.h: remove !NEW_INSETS cruft
11765
11766 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11767
11768         * Lsstream.h: include LString.h before the sstream headers to
11769         fix problem with gcc 2.95.3 and lyxstring
11770
11771 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11772
11773         * lyx_main.C: add using directives when needed for C functions
11774         declared in std:: namespace.
11775
11776 2001-04-27  Juergen Vigna  <jug@sad.it>
11777
11778         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11779         (SetHeightOfRow): comment out the update call should not be needed!
11780
11781 2001-04-13  Juergen Vigna  <jug@sad.it>
11782
11783         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11784         (LyXTabular): tried to minimize operator= operations (and realized
11785         hopfully Lars wish).
11786
11787 2001-04-27  Juergen Vigna  <jug@sad.it>
11788
11789         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11790
11791 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11792
11793         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11794
11795         * buffer.C (readInset): hack to make listof algorithm work
11796
11797         * BufferView_pimpl.C: hack to make listof algorithm work
11798
11799 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11800
11801         * LyXAction.C: removed all !NEW_INSETS cruft
11802         (init): moved lfun_item in method
11803
11804         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11805
11806 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11807
11808         * BufferView2.C (theLockingInset): white space.
11809
11810 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * minibuffer.C: include <iostream>
11813
11814         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11815
11816         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11817
11818         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11819
11820         * text.[Ch] (TransposeChars): new method
11821
11822 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11823
11824         * call message directly through LyXView instead of through LyXFunc
11825         * BufferView2.C: adjust
11826         * BufferView_pimpl.C: adjust
11827         * FontLoader.C: adjust
11828         * buffer.C: adjust
11829         * bufferview_funcs.C: adjust
11830         * converter.C: adjust
11831         * figureForm.C: adjust
11832         * importer.C: adjust
11833         * lyx_cb.C: adjust
11834         * lyx_gui_misc.C: adjust
11835         * lyxfunc.C: adjust
11836         * lyxvc.C: adjust
11837         * text2.C: adjust
11838         + more files in subdirs
11839
11840         * lyxparagraph.h (size): move up int file
11841         (GetLayout): ditto
11842
11843         * adjust all uses of Assert to lyx::Assert.
11844
11845         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11846         lyxfunctional in namespace lyx
11847         * layout.C (hasLayout): ditto
11848         (GetLayout): ditto
11849         (GetLayout): ditto
11850         (delete_layout): ditto
11851         (NumberOfClass): ditto
11852         * converter.C (GetFormat): ditto
11853         (GetNumber): ditto
11854         (Add): ditto
11855         (Delete): ditto
11856         (SetViewer): ditto
11857         * bufferlist.C (getFileNames): ditto
11858         (emergencyWriteAll): ditto
11859         (exists): ditto
11860         (getBuffer): ditto
11861         * MenuBackend.C (hasSubmenu): ditto
11862         (hasMenu): ditto
11863         (getMenu): ditto
11864         * BufferView_pimpl.C (getInsetByCode): ditto
11865
11866 2001-04-18  Juergen Vigna  <jug@sad.it>
11867
11868         * vspace.C (asLatexString): fixed the 100% problem.
11869
11870 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11871
11872         * lyxfunc.C (Dispatch):
11873         * minibuffer.C:
11874         * minibuffer.h: add a few std:: qualifiers
11875
11876 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11877
11878         * minibuffer.[Ch]: reimplement so that commands is initiated and
11879         run from lyxfunc, simplified som handling, and made the completion
11880         and history code for complete. wip.
11881
11882         * lyxfunc.C (processKeySym): call message
11883         (miniDispatch): new temporary method
11884         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11885         (LFUN_MESSAGE): implement
11886         (LFUN_MESSAGE_PUSH): implement
11887         (LFUN_MESSAGE_POP): implement
11888         (initMiniBuffer): the initial/defualt minibuffer message.
11889
11890         * lyxfont.[Ch]: inline some more getters
11891
11892         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11893
11894         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11895
11896         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11897         (AutoSave): use LFUN_MESSAGE
11898         (Reconfigure): ditto
11899
11900         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11901
11902         * figureForm.C: use LFUN_MESSAGE
11903
11904         * converter.C (runLaTeX): use LFUN_MESSAGE
11905
11906         * bufferview_funcs.C: use LFUN_MESSAGE
11907         (Melt): ditto
11908         (changeDepth): ditto
11909
11910         * bufferparams.h: use boost::
11911
11912         * bufferlist.h: inherit privately from noncopyable
11913
11914         * bufferlist.C (loadLyXFile): remove some commented code.
11915
11916         * buffer.C (runChktex): use LFUN_MESSAGE
11917
11918         * ShareContainer.h: inherit privately from noncopyable
11919
11920         * ParagraphParameters.[hC] (depth): inline it.
11921
11922         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11923         methods.
11924         (message): new method
11925         (messagePush): ditto
11926         (messagePop): ditto
11927         (show): init minibuffer
11928         (showState): direct call
11929
11930         * LaTeX.[Ch]: inherit privately from noncopyable
11931         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11932         instead of WriteStatus.
11933
11934         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11935
11936         * BufferView_pimpl.C (buffer): don't init minibuffer
11937         (workAreaButtonPress): use LFUN_MESSAGE
11938         (workAreaButtonRelease): ditto
11939         (savePosition): ditto
11940         (restorePosition): ditto
11941         (MenuInsertLyXFile): ditto
11942         (workAreaExpose): don't init minibuffer
11943         (update): remove commented code, simplify
11944
11945         * BufferView2.C (openStuff): use LFUN_MESSAGE
11946         (toggleFloat): ditto
11947         (menuUndo): ditto
11948         (menuRedo): ditto
11949         (copyEnvironment): ditto
11950         (pasteEnvironment): ditto
11951         (copy): ditto
11952         (cut): ditto
11953         (paste): ditto
11954         (gotoInset): ditto
11955         (updateInset): remove some commented code
11956
11957         * lastfiles.h: inherit privately from noncopyable
11958         * layout.h: ditto
11959         * lyx_gui.h: ditto
11960         * lyx_main.h: ditto
11961         * lyxlex.h: ditto
11962         * lyxlex_pimpl.h: ditto
11963
11964         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11965         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11966         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11967
11968         * LyXAction.h: inherit privately from noncopyable, add methods
11969         func_begin, func_end, returning iterators to the func map.
11970
11971         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11972         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11973         (func_begin): new method
11974         (func_end): new method
11975
11976         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11977         and not)
11978         (copySelection): ditto
11979         (pasteSelection): ditto
11980
11981         * BufferView.C: whitespace change
11982         * BufferView.h: inherit privately from noncopyable
11983
11984 2001-04-16  Allan Rae  <rae@lyx.org>
11985
11986         * tabular-old.C (l_getline):
11987         * spellchecker.C (sc_check_word):
11988         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11989         an unrecognised preprocessor directive.  So ensure they're wrapped.
11990
11991 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11992
11993         * src/exporter.C (Export): Give an error message when path to file
11994         contains spaces.
11995
11996 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11997
11998         * LaTeX.C (deplog): Always check that foundfile exists.
11999
12000 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12001
12002         * lyx_main.h:
12003         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12004
12005 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12006
12007         * tabular.[Ch] (getLabelList): implement new method
12008
12009         * minibuffer.h: comment ouf setTiimer
12010
12011         * minibuffer.C (ExecutingCB): constify res
12012         (peek_event): constify s
12013         (Set): constify ntext
12014         (Init): constify nicename
12015
12016         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12017
12018         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12019         (savePosition): use two params to Minibuffer::Set
12020         (restorePosition): ditto
12021
12022 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12023
12024         * lyx_main.C: include language.h
12025
12026         * Makefile.am (lyx_main.o): add language.h
12027
12028 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12029
12030         * exporter.C:
12031         * paragraph.C:
12032         * screen.C:
12033         * tabular.C:
12034         * CutAndPaste.C: include gettext.h
12035
12036         * lyxfont.h: remove old hack with ON and OFF.
12037
12038         * lyxparagraph.h:
12039         * lyxfont.h: do not include language.h...
12040
12041         * BufferView2.C:
12042         * LaTeXFeatures.C:
12043         * Painter.C:
12044         * bufferview_funcs.C:
12045         * font.C:
12046         * lyxfont.C:
12047         * text.C:
12048         * text2.C:
12049         * trans_mgr.C:
12050         * paragraph.C: ... but do it here instead
12051
12052 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12053
12054         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12055
12056         * tabular.C: small reformat
12057
12058         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12059         NEW_INSETS version
12060         (GetChar): ditto
12061         (BreakParagraph): ditto
12062         (SetOnlyLayout): ditto
12063         (SetLayout): ditto
12064
12065         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12066         with one arg less.
12067
12068         * lastfiles.C: removed most using decl, add std:: where needed
12069
12070         * buffer.C: ws changes
12071
12072         * MenuBackend.C (class compare_format): put into anon namespace
12073         (expand): constify label, names, action, action2
12074         (expand):
12075
12076         * text.C (SingleWidth): constify font
12077         (IsBoundary): constify rtl2
12078         (GetVisibleRow): constify ww
12079
12080         * LaTeX.C (deplog): constify logfile
12081
12082         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12083         start_x, end_x
12084         (workAreaExpose): constify widthChange, heightChange
12085
12086         * lyxrow.C (par): moved
12087         (height): moved
12088         (next): moved
12089         * lyxrow.h: as inlines here
12090
12091         * lyxfont.h (shape): moved from lyxfont.C
12092         (emph): moved from lyxfont.C
12093
12094         * lyxfont.C (LyXFont): use initialization list for all
12095         constructors
12096         (shape): move to lyxfont.h as inline
12097         (emph): move to lyxfont.h as inline
12098
12099
12100 2001-04-04  Juergen Vigna  <jug@sad.it>
12101
12102         * vspace.C: had to include stdio.h for use of sscanf
12103
12104 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12105
12106         * BufferView.h:
12107         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12108         independent of xforms.
12109
12110 2001-04-02  Juergen Vigna  <jug@sad.it>
12111
12112         * spellchecker.C: fixed namespace placing!
12113
12114 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12115
12116         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12117         the LyXParagraph * is 0.
12118
12119 2001-03-29  Juergen Vigna  <jug@sad.it>
12120
12121         * vspace.C: added support for %, c%, p%, l%.
12122         (stringFromUnit): added helper function.
12123         (asLatexString): changed to give right results for the %-values.
12124
12125         * buffer.C: convert the widthp in a width%.
12126
12127 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12128
12129         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12130         figureForm.[Ch].
12131
12132         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12133         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12134
12135         * lyx_cb.[Ch]: see above.
12136
12137         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12138         form1.[Ch].
12139
12140         * form1.[Ch]:
12141         * lyx.[Ch]: replaced by figure_form.[Ch].
12142
12143         * lyx_gui.C:
12144         * lyx_gui_misc.C:
12145         * lyxfunc.C: changed headers associated with above changes.
12146
12147 2001-03-27  Juergen Vigna  <jug@sad.it>
12148
12149         * BufferView_pimpl.C: set the temporary cursor right!
12150
12151 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12152
12153         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12154
12155 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12156
12157         * LString.h: removed "using std::getline"!
12158
12159         * BufferView_pimpl.C (Dispatch): changes due to changes in
12160         InsetInclude::Params.
12161
12162         * buffer.C (tag_name): removed redundant break statements as they were
12163         producing lots of warnings with my compiler.
12164
12165 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12166
12167         * LString.h: add "using std::getline" when using the real <string>.
12168
12169 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12170
12171         * buffer.C: removed bitset usage.
12172         PAR_TAG moved to an anonymous name space.
12173         (tag_name): new funtion, also in the anonymous namespace.
12174         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12175         (makeDocBookFile): clean code. Completed transition from string arrays
12176         to string vectors.
12177         (SimpleDocBookOnePar): code clean.
12178
12179 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12180
12181         * tabular.C: add some comments.
12182
12183 2001-03-22  Juergen Vigna  <jug@sad.it>
12184
12185         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12186         compatibility read a bit and fixed bug with minipage in different
12187         depth.
12188
12189 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12190
12191         * buffer.C (pop_tag): removed.
12192         (push_tag): removed.
12193         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12194         array replaced with vector. Added support for CDATA sections.
12195         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12196         at any nest level.
12197         (makeDocBookFile): XML conformant declaration of CDATA section,
12198         fixed bug related to <emphasis> in the first paragraph char.
12199         (sgmlOpenTag): exclude empty tags.
12200         (sgmlCloseTag): ditto.
12201
12202         * buffer.h (pop_tag): removed.
12203         (push_tag): removed.
12204
12205 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12206
12207         * language.h (Languages): added size_type and size().
12208
12209 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12210
12211         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12212         response on compability reading of minipages. One probliem is that
12213         the old usage of minipages was «flertydig»
12214
12215         * several files here and in subdirs: don't use static at file
12216         scope use anon namespaces instead.
12217
12218 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12219
12220         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12221         LaTeX output. This is necessary for Literate document
12222         processing.
12223
12224 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12225
12226         * buffer.C: insert hfill when needed.
12227
12228         * tabular.C (l_getline): use string::erase, small whitespace change.
12229
12230         * BufferView_pimpl.C: try the anon namespace.
12231         * WorkArea.C: ditto
12232
12233 2001-03-16  Juergen Vigna  <jug@sad.it>
12234
12235         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12236         otherwise it won't open options-dialogs.
12237
12238         * buffer.C: honor pextraWidth(p) on converting minipages.
12239
12240         * tabular.C (l_getline): changed the functions to strip trailing \r.
12241
12242 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12243
12244         * BufferView_pimpl.C:
12245         * minibuffer..C: added "using SigC::slot" declaration.
12246
12247 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12248
12249         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12250
12251         * text2.C: ditto
12252
12253         * text.C: ditto
12254
12255         * paragraph.C: ditto
12256
12257         * lyxtext.h: NO_PEXTRA
12258
12259         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12260
12261         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12262         * ParameterStruct.h: ditto
12263         * ParagraphParameters.h: ditto
12264         * lyxparagraph.h: ditto
12265
12266 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12267
12268         * buffer.C: add compability for minipage alignment.
12269         (latexParagraphs): remove unwanted pextra check.
12270
12271         * several files: remove CXX_WORKING_NAMESPACES
12272
12273         * buffer.C (pop_tag): tie is in namespace boost
12274
12275         * BufferView.h: noncopyable is in namespace boost
12276         * lyxlex.h: ditto
12277         * lyx_main.h: ditto
12278         * lyx_gui.h: ditto
12279         * layout.h: ditto
12280         * lastfiles.h: ditto
12281         * bufferlist.h: ditto
12282         * ShareContainer.h: ditto
12283         * LyXView.h: ditto
12284         * LyXAction.h: ditto
12285         * LaTeX.h: ditto
12286
12287 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12288
12289         * Merging changes from BRANCH_MVC back into HEAD.
12290
12291         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12292
12293 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * BufferView_pimpl.C: change from intl.C
12296
12297         * combox.h:
12298         * combox.C:
12299         * Makefile.am: move combox.*
12300
12301         * form1.h:
12302         * form1.C:
12303         * lyx_gui.C:
12304         * intl.h:
12305         * intl.C: remove dialog (covered by prefs)
12306
12307 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12308
12309         * lyxfunc.C (Dispatch): removed redundant break statement.
12310
12311 2001-03-14  Juergen Vigna  <jug@sad.it>
12312
12313         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12314
12315 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12316
12317         * buffer.C: add hack to fix compability reading of minipages.
12318
12319 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12320
12321         * buffer.C (getLists): Cleanup.
12322
12323 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12324
12325         * lyxfont.C (update): don't honor toggleall on font size.
12326
12327 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12328
12329         * bmtable.c:
12330         * bmtable.h:
12331         * Makefile.am: moved to frontends/xforms/
12332
12333         * lyx_gui_misc.C:
12334         * lyxfunc.C:
12335         * BufferView_pimpl.C: changes for moved mathpanel
12336
12337 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * gettext.h: fix gettext_init() in --disable-nls
12340
12341 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12342
12343         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12344
12345 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12346
12347         * lyx.C:
12348         * lyx.h: strip external form
12349
12350 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12351
12352         * BufferView_pimpl.C: add comment, destroySplash()
12353
12354 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * BufferView_pimpl.C:
12357         * LyXAction.C:
12358         * buffer.C:
12359         * commandtags.h:
12360         * lyxfunc.C: use re-worked insetinclude
12361
12362 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12363
12364         * buffer.C: add using std::stringstream.
12365
12366         * lyx_cb.C: readd using std::ios.
12367
12368         * buffer.C: add using std::map.
12369
12370         * BufferView_pimpl.C: add using std::vector.
12371
12372         * ShareContainer.h: add std:: to swap.
12373
12374         * buffer.h: add some typedefs
12375         * buffer.C (getLists): use them
12376         (getLists): renamed from getTocList.
12377         add a counter for the different float types and use it in the
12378         generated string.
12379         (getLists): use the same counter for the NEW_INSETS and the "non"
12380         NEW_INSETS
12381
12382         * lyx_cb.h: remove unused items, includes, using etc.
12383
12384         * ShareContainer.h: remove some commented code, add more comments
12385         and "documentation".
12386
12387 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12388
12389         * buffer.C (getTocList): make the list also when NEW_INSETS is
12390         defined.
12391
12392         * buffer.h: remove TocType
12393
12394         * buffer.C (getTocList): change to return a map<string,
12395         vector<TocItem> >, implement for dynamic number of list.
12396
12397         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12398         * text2.C (PasteSelection): adjust
12399         * CutAndPaste.C (pasteSelection): adjust
12400
12401         * FloatList.C (FloatList): update from the new_insets branch.
12402         * Floating.[Ch]: ditto
12403         * LaTeXFeatures.C: ditto
12404         * buffer.C: ditto
12405         * lyxlex_pimpl.C: ditto
12406
12407         * paragraph.C (Last): remove when NEW_INSETS is defined.
12408
12409         * other file: changes because of the above.
12410
12411 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12412
12413         * lyxparagraph.h: rename next to next_, previous to previous_,
12414         make them private for NEW_INSETS. Rename Next() to next(),
12415         Previous() to previous().
12416
12417         * other files: changes because of the above.
12418
12419 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12420
12421         * BufferView.h:
12422         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12423         problem.
12424
12425 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12426
12427         * main.C (main): pass lyx_localedir to gettext_init().
12428
12429         * gettext.h: remove locale_init and gettext_init macros
12430
12431         * gettext.C (locale_init): new function
12432         (gettext_init): new function
12433
12434         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12435         setlocale().
12436
12437 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12438
12439         * Moved credits to frontends:
12440         * credits.[Ch]: removed
12441         * credits_form.[Ch]: removed
12442         * lyx_gui_misc.C: remove credits stuff
12443         * Makefile.am:
12444
12445 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12446
12447         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12448
12449         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12450         unneeded destructor.
12451
12452         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12453         a standalone pointer again.
12454
12455         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12456
12457 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12458
12459         * Makefile.am:
12460         * filedlg.h:
12461         * filedlg.C:
12462         * LyXAction.C:
12463         * ToolbarDefaults.C:
12464         * bufferlist.C:
12465         * commandtags.h:
12466         * form1.C:
12467         * form1.h:
12468         * lyx_cb.C:
12469         * lyx_cb.h:
12470         * lyxfunc.h:
12471         * lyxfunc.C:
12472         * BufferView_pimpl.C: use new file dialog in GUII
12473
12474         * lyx_cb.h:
12475         * lyx_cb.C: remove LayoutsCB to Toolbar
12476
12477 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12478
12479         * ShareContainer.h (get): add std:: qualifier
12480
12481 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12482
12483         * ShareContainer.h: define a proper ShareContainer::value_type
12484         type (and use typename to please compaq cxx)
12485
12486 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12487
12488         * lyxparagraph.h: move serveral local vars to
12489         ParameterStruct/ParagraphParameters., use ShareContainer in
12490         FontTable., make vars in FontTable private and add getter and
12491         setter.
12492
12493         * paragraph.C: changes because of the above.
12494
12495         * lyxfont.h: remove copy constructor and copy assignment. (the
12496         default ones is ok), move number inside FontBits. move inlines to
12497         lyxfont.C
12498
12499         * lyxfont.C: add number to initializaton of statics, move several
12500         inlines here. constify several local vars. some whitespace
12501         cleanup. Dont hide outerscope variables.
12502
12503         * Spacing.h: add two new constructors to match the set methods.
12504
12505         * ShareContainer.h: new file, will perhaps be moved to support
12506
12507         * ParameterStruct.h: new file
12508
12509         * ParagraphParameters.h: new file
12510
12511         * ParagraphParameters.C: new file
12512
12513         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12514         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12515
12516         * BufferView_pimpl.C: ParagraphParameter changes.
12517         * buffer.C: Likewise.
12518         * bufferview_funcs.C: Likewise.
12519         * text.C: Likewise.
12520         * text2.C: Likewise.
12521
12522 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12523
12524         * lyxfind.C (LyXReplace): do not redefine default argument in
12525         implementation.
12526         (IsStringInText): ditto
12527         (SearchForward): ditto
12528         (SearchBackward): ditto
12529
12530 2001-03-06  Juergen Vigna  <jug@sad.it>
12531
12532         * lyxfind.C (IsStringInText): put parentes around expressions.
12533
12534 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12535
12536         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12537
12538 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12539
12540         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12541
12542         * stl_string_fwd.h: add comment
12543
12544         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12545
12546         * tabular.h:
12547         * tabular.C: remove unused DocBook methods
12548
12549         * intl.C:
12550         * language.C:
12551         * paragraph.C:
12552         * buffer.C:
12553         killed DO_USE_DEFAULT_LANGUAGE
12554
12555 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12556
12557         * lyx_gui.C: do not include language.h.
12558
12559         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12560         arguments in function implementation.
12561
12562 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12563
12564         * BufferView_pimpl.C: add <ctime>
12565
12566 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12567
12568         * BufferView_pimpl.C: add using std::find_if
12569
12570 2001-02-27  José Matos  <jamatos@fep.up.pt>
12571
12572         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12573         by OnlyPath.
12574
12575 2001-02-11  José Matos  <jamatos@fep.up.pt>
12576
12577         * buffer.C (makeDocBookFile): command styles now have a parameter as
12578         "title" by default.
12579
12580 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12581
12582         * layout_forms.[Ch]: removed
12583         * lyx_cb.[Ch]: out character
12584         * lyx_gui.C: out character
12585         * lyx_gui_misc.C: out character
12586         * bufferview_funcs.C: : out character,
12587         added toggleall as parameter in ToggleAndShow
12588
12589 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12590
12591         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12592
12593         * text2.C (SetCurrentFont): Disable number property at boundary.
12594
12595 2001-02-26  Juergen Vigna  <jug@sad.it>
12596
12597         * lyxfunc.C (getStatus): added a string argument override function so
12598         that this is correctly called from LyXFunc::Dispatch if it contains a
12599         do_not_use_argument which is used!
12600         (Dispatch): added check for "custom" export and call appropriate func.
12601
12602 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12603
12604         * lyxrc.C: Add language_command_local, language_use_babel and
12605         language_global_options.
12606
12607         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12608
12609         * buffer.C (makeLaTeXFile): Use language_use_babel and
12610         language_global_options.
12611
12612 2001-02-23  Juergen Vigna  <jug@sad.it>
12613
12614         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12615         which works with LyXText and putted it inside BufferView. Here now we
12616         only call for that part the BufferView::Dispatch() function.
12617
12618         * BufferView.C (Dispatch): added.
12619
12620         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12621         functions which needs to use a LyXText over from LyXFunc.
12622         (MenuInsertLyXFile): added
12623         (getInsetByCode): added
12624         (moveCursorUpdate): added
12625         (static TEXT): added
12626
12627 2001-02-22  Juergen Vigna  <jug@sad.it>
12628
12629         * BufferView_pimpl.C (update): call a status update to see if LyXText
12630         needs it.
12631
12632 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12633
12634         * vc-backend.C (revert): implement for CVS
12635         (getLog): implement for CVS
12636
12637 2001-02-20  Juergen Vigna  <jug@sad.it>
12638
12639         * text2.C (ClearSelection): added BufferView param for inset_owner call
12640
12641         * lyxfunc.C (TEXT): added this function and use it instead of
12642         directly owner->view()-text of getLyXText().
12643
12644 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12645
12646         * src/layout_forms.C: out preamble
12647         * src/layout_forms.h: out preamble
12648         * src/lyx_cb.C: out preamble
12649         * src/lyx_cb.h: out preamble
12650         * src/lyx_gui.C: out preamble
12651         * src/lyx_gui_misc.C: out preamble
12652         * src/lyxfunc.C: connect with guii preamble
12653
12654 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12655
12656         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12657
12658 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12659
12660         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12661         whether to run bibtex.
12662
12663 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12664
12665         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12666
12667 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12668
12669         * Makefile.am (lyx_SOURCES): removed bibforms.h
12670
12671         * vspace.h: doxygen
12672
12673         * text.C (GetVisibleRow): make several local vars const
12674
12675         * tabular.C: small cleanup.
12676
12677         * lyxserver.C (callback): use compare instead of strncmp
12678
12679         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12680         inlines to after class or to paragraph.C
12681
12682         * lyxfont.h: remove friend operator!=
12683
12684         * converter.h: move friend bool operator< to non friend and after
12685         class def.
12686
12687         * combox.h: small cleanup
12688
12689         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12690         to inlines after class def.
12691
12692         * buffer.C (pop_tag): use string operations instead of strcmp
12693
12694         * bmtable.c: doxygen, small cleanup
12695
12696         * LaTeX.h: remove friend operator==
12697
12698 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12699
12700         * screen.C:
12701         * lyxrc.[Ch]:
12702         * lyxfunc.C:
12703         * lyxfont.[Ch]:
12704         * lyx_cb.C:
12705         * intl.[Ch]:
12706         * commandtags.h:
12707         * buffer.C:
12708         * WorkArea.[Ch]:
12709         * LyXAction.C:
12710         * BufferView_pimpl.C:
12711         * BufferView.[Ch]: remove cruft
12712
12713 2001-02-14  Juergen Vigna  <jug@sad.it>
12714
12715         * lyxfunc.C: removed #if 0 unused code
12716
12717         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12718
12719         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12720
12721         * text2.C (SetSelection): added a BufferView * parameter
12722
12723 2001-02-13  Juergen Vigna  <jug@sad.it>
12724
12725         * lyxfunc.C (Dispatch): fixed protected blank problem.
12726         * BufferView2.C (protectedBlank): added LyxText * parameter.
12727
12728         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12729         (AppendColumn): same as above for column_info.
12730
12731         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12732         (moveCursorUpdate): use a LyXText param for support of InsetText.
12733
12734         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12735         (tripleClick): ditto
12736
12737         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12738
12739         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12740
12741         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12742
12743         * text2.C (SetSelection): set correct update status if inset_owner
12744         (ToggleFree): ditto
12745
12746 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12747
12748         * tabular.C: remove some commented code.
12749
12750 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12751
12752         * BufferView_pimpl.C: call hideSplash()
12753
12754         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12755
12756         * include_form.h:
12757         * bibforms.h: remove
12758
12759         * lyxfunc.C:
12760         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12761           add LFUN_CHILD_CREATE
12762
12763         * counters.h: fix tiny typo
12764
12765         * lyx_cb.C:
12766         * lyx.h:
12767         * lyx_gui.C:
12768         * lyx.C: move splash to frontends/xforms/
12769
12770         * lyx_gui_misc.C: move Include and Bibform to frontends
12771
12772         * lyxvc.h: clarify comment
12773
12774         * vspace.C: tiny housekeeping
12775
12776 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12777
12778         * text.C (PrepareToPrint): RTL Fix.
12779
12780         * paragraph.C (GetUChar): New method.
12781         (String):  Use GetUChar.
12782
12783         * buffer.C (asciiParagraph): Use GetUChar.
12784
12785 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12786
12787         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12788
12789 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12790
12791         * buffer.h:
12792         * buffer.C: rename to getLogName(), handle
12793           build log / latex log nicely
12794
12795 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12796
12797         * MenuBackend.C:
12798         * MenuBackend.h: remove support for reference menuitem type.
12799
12800 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12801
12802         * BufferView_pimpl.C: housekeeping
12803         * BufferView_pimpl.h:
12804         * LyXView.h:
12805         * Makefile.am:
12806         * Timeout.C:
12807         * Timeout.h:
12808         * minibuffer.h: move Timeout GUI-I
12809
12810 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12811
12812         * lyxrc.C (read): Update converters data-structures.
12813
12814 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12815
12816         * LaTeX.h (operator!=): add operator != for Aux_Info
12817
12818 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12819
12820         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12821
12822         * LaTeXLog.C: deleted, useful code moved to Buffer
12823
12824         * buffer.h:
12825         * buffer.C: new function getLatexLogName()
12826
12827         * lyx_gui_misc.C:
12828         * lyx_gui.C:
12829         * lyxvc.C:
12830         * lyxvc.h:
12831         * lyxfunc.C: use frontends for LaTeX and VC logs
12832
12833 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12834
12835         * LaTeX.h: yet another std:: that Allan forgot.
12836
12837         * Variables.C (set): renamed from isset(), because this clashes
12838         with some HP-UX macros (grr).
12839
12840 2001-02-06  Allan Rae  <rae@lyx.org>
12841
12842         * LaTeX.h: Another bug fix.  Missing std:: this time.
12843
12844 2001-02-04  Allan Rae  <rae@lyx.org>
12845
12846         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12847         floats problem. I've left it commented out because it's not quite
12848         correct.  It should also test that the current object is a table or
12849         figure inset.  But I haven't gotten around to figuring out how to do
12850         that.  I *think* it'll be something like: "table" == inset.type()
12851
12852         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12853         bool.
12854
12855 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12856
12857         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12858         all the citation/databases/styles in the auxilary file.
12859         (run): Rerun latex if there was a babel language error.
12860
12861 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12862
12863         * text.C (Backspace): Preserve the font when changing newline char
12864         with a space.
12865         (BreakParagraph): If the cursor is before a space, delete the space.
12866
12867         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12868
12869 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12870
12871         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12872         new argument (code).
12873         (ChangeCitationsIfUnique): New method.
12874
12875         * paragraph.C (GetPositionOfInset): Handle bibkey.
12876
12877 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12878
12879         * BufferView_pimpl.h: change type of Position::par_pos to
12880         LyXParagraph::size_type.
12881
12882 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12883
12884         * BufferView_pimpl.C (savePosition, restorePosition): Write
12885         messages to minibuffer.
12886
12887 2001-01-28  José Matos  <jamatos@fep.up.pt>
12888
12889         * buffer.C (makeDocBookFile): adds support for document language.
12890         A silly restriction on the name of LatexCommand types where removed.
12891         Added support for CDATA sections, allows to chars unescaped, used
12892         among others in code, to avoid escape < and >.
12893
12894 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12895
12896         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12897         saved positions instrad of a stack. Furthermore, a position is
12898         stored using paragraph id/paragraph position.
12899
12900         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12901         Remove LFUN_REF_BACK.
12902
12903 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12904
12905         * converter.C (dvipdfm_options): New method.
12906
12907 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12908
12909         * vspace.C (isValidLength): Fix for empty input string.
12910
12911 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12912
12913         * LyXAction.C (init): change description of LFUN_FIGURE to
12914         "Insert Graphics"
12915
12916 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12917
12918         * LaTeX.C: add using directive
12919
12920 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12921
12922         * MenuBackend.C (expand): Fix the sorting of the formats.
12923
12924 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12925
12926         * lyx_main.C: tiny error message fix
12927
12928 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12929
12930         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12931         calling fl_initialize(). This fixes the problem with ',' as
12932         decimal separator in text files.
12933
12934 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12935
12936         * trans.C (process): Fix the keymap bug.
12937
12938 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12939
12940         * LaTeX.C (scanAuxFiles): New method. Provides support for
12941         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12942         (scanLogFile) Scan for "run BibTeX" messages.
12943
12944         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12945         OT1 font encoding. Also, load the aecompl package if the ae
12946         package is loaded.
12947
12948         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12949
12950 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12951
12952         * texrow.C (increasePos): turn two error messages into debug
12953         messages.
12954
12955 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12956
12957         * LaTeX.C (scanAux): Handle the \@input macro.
12958         (runBibTeX): Use scanAux().
12959
12960         * language.C (latex_options_): New field.
12961
12962         * LaTeXFeatures.C (getMacros): Add language macros.
12963
12964         * buffer.C (makeLaTeXFile): Small fix.
12965
12966 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12967
12968         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12969
12970         * text2.C: add a using directive.
12971
12972 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12973
12974         * BufferView2.C:
12975         * lyx_gui_misc.h:
12976         * lyxfr1.C:
12977         * lyxfunc.C: kill LyXBell.
12978
12979 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12980
12981         * text.C (IsBoundary): Remove the error message
12982
12983         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12984
12985         * lyxrc.C (setDefaults): Correct initialization value for
12986         font_norm_type.
12987
12988 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12989
12990         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12991         gotoError().
12992
12993         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12994         and GotoNextNote().
12995
12996         * src/LyXAction.C: Added reference-next.
12997
12998         * text.C (InsertChar): Use contains instead of strchr.
12999
13000         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13001
13002 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13003
13004         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13005         alignment commands (when needed).
13006
13007         * text.C (InsertChar): Add ':' to number separator chars.