]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix #1384
[lyx.git] / src / ChangeLog
1
2 2003-10-10  André Pönitz  <poenitz@gmx.net>
3
4         * lyxfunc.C:
5         * lyxtext.h:
6         * tabular.C:
7         * text.C:
8         * text2.C:
9         * text3.C: fix some of the tabular crashes
10
11 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
12
13         * MenuBackend.C (binding): put debug message into Debug::KBMAP
14
15         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
16
17 2003-10-09  André Pönitz  <poenitz@gmx.net>
18
19         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
20
21         * BufferView.C:
22         * BufferView_pimpl.C:
23         * bufferview_funcs.C:
24         * lyx_cb.C:
25         * lyxcursor.C:
26         * lyxfind.C:
27         * lyxfunc.C:
28         * lyxtext.h:
29         * text.C:
30         * text2.C:
31         * text3.C:
32         * text_funcs.[Ch]:
33         * textcursor.[Ch]:
34         * undo_funcs.C: adjust
35
36 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
37
38         * text2.C (incrementItemDepth): new function, use a backtracking
39         algorithm to discover the correct item depth.
40         (resetEnumCounterIfNeeded): new function, use a backtracking
41         algorithm to discover if counter reset is needed.
42         (setCounter): use them. Simplify a bit. Add different labels for
43         different item depths for itemize.
44
45         * paragraph.C (Paragraph): remove initialization of enumdepth
46         (operator=): ditto
47
48         * paragraph.h: get rid of enumdepth, and use itemdepth both for
49         enumerate and itemize. Change the type of itemdepth to signed char.
50
51 2003-10-08  André Pönitz  <poenitz@gmx.net>
52
53         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
54           thing assignable.
55         * text.C:
56         * text2.C: adjust
57
58         * tabular.[Ch]: fix crash after 'row-insert'
59
60 2003-10-08  Angus Leeming  <leeming@lyx.org>
61
62         Fix doxygen warnings.
63
64         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
65         Remove CutAndPaste:: prefix from header file declaration.
66
67         * LColor.h (fill): remove LColor:: prefix from declaration.
68
69         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
70         use lyx::depth_type rather than Paragraph::depth_type so that
71         header file and .C file match.
72
73         * converter.h (intToFormat): remove Converters:: prefix from declaration.
74
75         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
76         * aspell.C: \file aspell_local.C -> \file aspell.C
77         * gettext.C: \file gettext.C -> \file src/gettext.C
78         * gettext.h: \file gettext.h -> \file src/gettext.h
79         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
80         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
81         * text.C: \file text.C -> \file src/text.C
82
83         * toc.C: move comment so that doxygen is not confused.
84
85 2003-10-07  Angus Leeming  <leeming@lyx.org>
86
87         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
88
89 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
90
91         * aspell.C:
92         * aspell_local.h: add forgotten std::string's.
93
94 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
95
96         * LaTeXFeatures.C:
97         * LyXAction.C:
98         * factory.C:
99         * lfuns.h:
100         * lyxfunc.C:
101         * text3.C: The Box patch. Fancybox support, minipage, parbox
102
103 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
104
105         * CutAndPaste.h:
106         * DepTable.h:
107         * FloatList.h:
108         * LaTeXFeatures.h:
109         * ParagraphParameters.h:
110         * TextCache.h:
111         * Thesaurus.h:
112         * bufferlist.h:
113         * exporter.h:
114         * importer.h:
115         * lastfiles.h:
116         * lyxfind.h:
117         * lyxfont.h:
118         * lyxlex.h:
119         * lyxtextclasslist.h:
120         * messages.h:
121         * paragraph.h:
122         * paragraph_pimpl.C:
123         * textcursor.h: add <string> and other small fixes to make Lars'
124         std::string patch compile with STLport.
125
126 2003-10-06  Angus Leeming  <leeming@lyx.org>
127
128         * LColor.h: Add missing #include <string>.
129
130 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
131
132         * All most all file in all subdirs: Make <string> be the prefered
133         way of getting to std::string, add using declarations.
134
135 2003-10-06  André Pönitz  <poenitz@gmx.net>
136
137         * metricsinfo.C: initialize LyXFont before changing attribute.
138         (fixes the 'math in \emph is upright' bug)
139
140 2003-10-06  André Pönitz  <poenitz@gmx.net>
141
142         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
143
144 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
145
146         * graph.C:
147         * paragraph_pimpl.C: Small fixes to build using STLport
148
149 2003-10-02  André Pönitz  <poenitz@gmx.net>
150
151         * lyxfunc.C:
152         * text3.C: move handling of LFUN_DEPTH *; fix #1360
153
154 2003-10-01  André Pönitz  <poenitz@gmx.net>
155
156         * factory.C: assert early
157
158 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
159
160         * lyx_main.C: remove the global debug object
161
162         * debug.h: adjust for new debugstream
163
164         * debug.C: adjust for new debugstream and keep the global debug
165         object here.
166
167 2003-09-22  Angus Leeming  <leeming@lyx.org>
168
169         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
170         of g++ which otherwise complain that the scoped_ptr destructor can't delete
171         an incomplete class LyXFont.
172
173 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
174
175         * factory.C: bug fix in branches
176
177 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
178
179         * lyxfunc.C (processKeySym): adjust
180         (dispatch): adjust
181         (dispatch): change arg name from ev to func, adjust
182         (sendDispatchMessage): ditto
183
184         * lyx_main.C (defaultKeyBindings): adjust keybindings
185         (deadKeyBindings): ditto
186
187         * kbsequence.C (addkey): return a FuncRequest
188
189         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
190
191         * kbmap.C (bind): take a FuncRequest as arg, adjust
192         (read): adjust
193         (lookup): adjust
194         (defkey): change to take a FuncRequest as arg, adjust
195         (findbinding): take a FuncRequest as arg, adjust.
196
197         * funcrequest.h (operator=): added
198
199         * funcrequest.C (FuncRequest): default kb_action changed from
200         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
201
202         * buffer.C (dispatch): simplify
203         (dispatch): adjust to take a FuncRequest as arg, adjust
204
205         * boost.C (assertion_failed): change assertion message slightly
206
207         * ToolbarBackend.C (read): simplify
208
209         * MenuBackend.C (binding): adjust call to findbinding, add a
210         message if no binding is found.
211         (read): simplify
212         (expandToc): correct by adding a empty FuncRequest
213
214         * LyXAction.C: include <boost/assert.hpp>
215         (isPseudoAction): delete function
216         (LookupFunc): change name to...
217         (lookupFunc): this. change return type to FuncRequest.
218         (getActionName): take kb_action as arg, simplify
219         (funcHasFlag): add an assert, simplify.
220
221 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
222
223         * toc.C (action): return a FuncRequest, simplify
224
225         * lyxfunc.C (processKeySym): adjust
226         (getStatus): delete version that takes an int.
227         (getStatus): adjust
228         (dispatch): delete version that takes action as int
229         (dispatch): adjust
230         (sendDispatchMessage): simplify and adjust
231
232         * funcrequest.C (getArg): take unsigned int as arg
233
234         * ToolbarBackend.C (read): adjust
235         (add): delete version that takes func as a string.
236         (getIton): take a FuncRequest as arg
237
238         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
239         action.
240
241         * MenuBackend.C (MenuItem): add a new construct that only takes a
242         Kind, simplify the constructor use for submenus.
243         (add): adjust
244         (expandLastfiles): adjust
245         (expandDocuments): adjust
246         (expandFormats): adjust
247         (expandFloatListInsert): adjust
248         (expandFloatInsert): adjust
249         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
250
251         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
252         Remove class variables lyx_pseudo_map and lyx_arg_map
253
254         * LyXAction.C (searchActionArg): delete function
255         (getPseudoAction): delete function
256         (retrieveActionArg): delete function
257         (LookupFunc): make it return kb_action, simplify.
258         (getActionName): simplify
259
260         * factory.C (createInset): fix new bug
261
262 2003-09-19  Angus Leeming  <leeming@lyx.org>
263
264         * CutAndPaste.C (pasteSelection): remove fudge used to set the
265         masterFilename_ parameter in the include inset.
266
267         * factory.C (createInset): changes due to the changes to InsetInclude.
268
269 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
270
271         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
272
273 2003-09-18  Angus Leeming  <leeming@lyx.org>
274
275         * buffer.C:
276         * BufferView.C: pass the buffer when calling Inset::getLabelList,
277         Inset::fillWithBibKeys.
278         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
279
280 2003-09-18  Angus Leeming  <leeming@lyx.org>
281
282         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
283         variables.
284         (ctor): pass and store a 'Buffer const &'
285         (buffer): new member function.
286
287         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
288         '*this' to the LaTeXFeatures ctor.
289
290 2003-09-18  Angus Leeming  <leeming@lyx.org>
291
292         * LColor.h:
293         * lyxfont.C:
294         * lyxfont.h:
295         * lyxtext.h:
296         * text.C: rename EnumLColor as LColor_color.
297
298 2003-09-18  Angus Leeming  <leeming@lyx.org>
299
300         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
301         remove #include "insets/insetbase.h" from cursor.h.
302
303 2003-09-18  Angus Leeming  <leeming@lyx.org>
304
305         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
306         InsetOld_code to remove #include "inset.h".
307
308         * iterators.C: add #include "insets/inset.h"
309
310 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
311
312         * BufferView.C: remove more locking stuff that apparently doesn't
313         do anything sensible.
314
315 2003-09-16  André Pönitz  <poenitz@gmx.net>
316
317         * paragraph.[Ch]:
318         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
319           performance boost.
320
321 2003-09-16  Angus Leeming  <leeming@lyx.org>
322
323         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
324
325         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
326         arg/return type.
327
328         * paragraph.h: remove #include "lyxfont.h". Forward declare
329         LyXFont_size.
330
331 2003-09-16  Angus Leeming  <leeming@lyx.org>
332
333         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
334         of support/textutils.h.
335         (isWord): move the contents of support/textutils.h's IsWordChar here.
336
337         * buffer.C:
338         * lyxfind.C:
339         * rowpainter.C:
340         * text.C:
341         * text2.C: add #include "paragraph.h".
342
343         * rowpainter.C:
344         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
345
346 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
347
348         * main.C:
349         * lyx_main.C:
350         * lyx_cb.C:
351         * buffer.C:
352         * LaTeX.C: use namespace alias for lyx::support::os
353
354 2003-09-16  Angus Leeming  <leeming@lyx.org>
355
356         * bufferparams.C:
357         * bufferview_funcs.C:
358         * factory.C:
359         * lyxfunc.C:
360         * paragraph_pimpl.C:
361         * rowpainter.C:
362         * text.C: add #include "LColor.h".
363
364 2003-09-16  Angus Leeming  <leeming@lyx.org>
365
366         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
367         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
368         return LyXFont &.
369         Store the FontBits::color variable as an int rather than as an
370         LColor::colorso that we can move LColor.h out of the lyxfont.h header
371         file.
372
373         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
374         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
375         string calls together.
376
377         * lyxrc.C: add #include "LColor.h".
378
379 2003-09-15  Angus Leeming  <leeming@lyx.org>
380
381         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
382         a cow_ptr.
383
384 2003-09-15  Angus Leeming  <leeming@lyx.org>
385
386         * LColor.h: add an EnumLColor wrapper for LColor::color.
387
388         * lyxfont.[Ch] (color, setColor, realColor):
389         * lyxtext.h, text.C (backgroundColor):
390         pass EnumLColor args to/from the functions, rather than LColor::color
391         ones.
392
393         * lyxfont.h:
394         * lyxtext.h: forward declare EnumLColor.
395
396         * lyx_main.C: add #include "LColor.h".
397
398 2003-09-15  Angus Leeming  <leeming@lyx.org>
399
400         * .cvsignore: add lyx-gtk.
401
402 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
403
404         * Chktex.C
405         * LaTeX.C
406         * LaTeXFeatures.C
407         * ParagraphParameters.C
408         * Spacing.C
409         * buffer.C
410         * bufferparams.C
411         * bufferview_funcs.C
412         * chset.C
413         * counters.C
414         * funcrequest.C
415         * lyxfont.C
416         * lyxgluelength.C
417         * lyxlength.C
418         * paragraph.C
419         * paragraph_funcs.C
420         * text3.C
421         * vc-backend.C: remove usage of STRCONV
422
423 2003-09-15  Angus Leeming  <leeming@lyx.org>
424
425         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
426         explicitly define the color passed to the painter.
427
428 2003-09-15  Angus Leeming  <leeming@lyx.org>
429
430         * bufferparams.C (BufferParams): reorder member initializers to avoid
431         compiler warning.
432
433 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
434
435         * CutAndPaste.C (pasteSelection): remove an outdated #warning
436         * text.C (updateRowPositions): remove an unusual nop
437
438 2003-09-12  André Pönitz  <poenitz@gmx.net>
439
440         * BufferView_pimpl.C:
441         * Bullet.C:
442         * layout.h:
443         * lyxfunc.C:
444         * lyxlayout.[Ch]:
445         * lyxtextclass.C:
446         * rowpainter.C:
447         * text.C:
448         * text2.C:
449         * Counters.[Ch]: finish the 'automatic counters' job
450
451 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
452
453         * aspell.C: include <boost/assert.cpp> (compile fix)
454
455 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
456
457         * boost.C (assertion_failed): use lyx::support::abort instead of
458         assert.
459
460 2003-09-10  Angus Leeming  <leeming@lyx.org>
461
462         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
463         with their _fwd progeny.
464
465 2003-09-09  Angus Leeming  <leeming@lyx.org>
466
467         134 files throughtout the source tree: replace 'using namespace abc;'
468         directives with the appropriate 'using abc::xyz;' declarations.
469
470 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
471
472         * boost.C (emergencyCleanup): moved here from LAssert.c
473         (assertion_failed): new function, called by BOOST_ASSERT
474
475         * several files: change Assert to BOOST_ASSERT
476
477 2003-09-09  Angus Leeming  <leeming@lyx.org>
478
479         * buffer.[Ch]: Add an Impl class and move Buffer's member
480         variables into it. As a result move several header files out of
481         buffer.h.
482
483         Add header files to lots of .C files all over the tree as a result.
484
485 2003-09-09  Angus Leeming  <leeming@lyx.org>
486
487         * buffer.[Ch]: make Buffer's member variables private. Add
488         accessor functions.
489
490         Lots of changes all over the tree as a result.
491
492 2003-09-08  Angus Leeming  <leeming@lyx.org>
493
494         * graph.C: #include <config.h>.
495
496 2003-09-08  Angus Leeming  <leeming@lyx.org>
497
498         * BranchList.C:
499         * BufferView.C:
500         * BufferView_pimpl.C:
501         * CutAndPaste.C:
502         * DepTable.C:
503         * LaTeX.C:
504         * LaTeXFeatures.C:
505         * LyXAction.C:
506         * MenuBackend.C:
507         * TextCache.C:
508         * aspell.C:
509         * buffer.C:
510         * bufferlist.C:
511         * changes.C:
512         * chset.C:
513         * converter.C:
514         * counters.C:
515         * debug.C:
516         * graph.C:
517         * ispell.C:
518         * lyx_cb.C:
519         * lyxfind.C:
520         * lyxfunc.C:
521         * lyxlex_pimpl.C:
522         * lyxrc.C:
523         * lyxrow.C:
524         * paragraph.C:
525         * rowpainter.C:
526         * texrow.C:
527         * text.C:
528         * text2.C:
529         * toc.C: remove redundant using directives.
530
531 2003-09-07  Angus Leeming  <leeming@lyx.org>
532
533         * LaTeXFeatures.h: remove #include "support/types.h".
534         * ToolbarBackend.h: remove #include <algorithm>.
535         * changes.h: remove #include <ctime>.
536         * debug.h: remove #include <iosfwd>.
537         * graph.h: remove #include "support/std_string.h".
538         * lyx_main.h: remove #include <csignal>.
539         * lyxlex_pimpl.h: remove #include <fstream>.
540         * sgml.h: remove #include <algorithm>, <utility>.
541         * toc.h: remove #include "support/std_ostream.h".
542         Add #include <iosfwd>.
543
544 2003-09-07  Angus Leeming  <leeming@lyx.org>
545
546         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
547
548         * converter.h: forward declare LatexRunParams.
549         * encoding.h: remove #include "lyxrc.h".
550         * lyxtext.h: remove #include "LColor.h".
551         * lyxtextclass.h: remove #include "support/types.h".
552         * trans.h: remove #include "tex-accent.h".
553         * trans_mgr.h: remove #include "tex-accent.h".
554         * insets/inset.h: remove #include "support/types.h", <vector>.
555         * insets/insetcollapsable.h: remove #include "LColor.h".
556         * insets/insetinclude.h: remove #include "dimension.h".
557         * insets/insetlatexaccent.h: remove #include "dimension.h".
558         * insets/insetoptarg.h:: remove #include "insettext.h".
559         * insets/insettext.h: remove #include "dimension.h",
560         <boost/shared_ptr.hpp>
561
562         * insets/renderers.h: add #include "dimension.h".
563         * insets/updatableinset.h: add #include "support/types.h".
564
565         * many .C files: Associated changes.
566
567 2003-09-06  Angus Leeming  <leeming@lyx.org>
568
569         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
570         one, inside testInvariant.
571
572         * PrinterParams.C: new file.
573         * PrinterParams.[Ch]: move the function bodies out of line.
574
575 2003-09-06  Angus Leeming  <leeming@lyx.org>
576
577         * ParagraphParameters.h: forward declare ParameterStruct rather than
578         including its header file.
579         (depth): moved out-of-line.
580
581 2003-09-06  Angus Leeming  <leeming@lyx.org>
582
583         * BufferView_pimpl.h:
584         * kbmap.h:
585         * kbsequence.h:
586         * lyxfunc.h: forward declare LyXKeySym rather than
587         #include "frontends/LyXKeySym.h".
588
589         * BufferView_pimpl.C:
590         * kbmap.C:
591         * kbsequence.C:
592         * lyxfunc.C: associated changes.
593
594 2003-09-06  Angus Leeming  <leeming@lyx.org>
595
596         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
597         As a result, can remove the #include "insets/inset.h" from BufferView.h
598
599 2003-09-06  Angus Leeming  <leeming@lyx.org>
600
601         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
602         As a result, can remove the #include "insets/inset.h" from BufferView.h
603
604 2003-09-06  Angus Leeming  <leeming@lyx.org>
605
606         * buffer_funcs.C:
607         * buffer.h:
608         * bufferlist.C:
609         * BufferView.C:
610         * bufferview_funcs.C:
611         * BufferView_pimpl.C:
612         * CutAndPaste.C:
613         * lyx_cb.C:
614         * lyxfunc.C:
615         * paragraph.h:
616         * ParagraphParameters.C:
617         * tabular.C:
618         * text3.C:
619         * toc.C:
620         * undo_funcs.C:
621         * frontends/controllers/ControlDocument.C:
622         * insets/insetcaption.C: rearrange the #includes into some sort of
623         coherent order.
624
625         * buffer.h: remove #includes ErrorList.h, undo.h
626
627 2003-09-06  Angus Leeming  <leeming@lyx.org>
628
629         * support/types.h: add a 'depth_type' typedef, used to store the
630         nesting depth of a paragraph.
631
632         * paragraph.h:
633         * ParameterStruct.h: use this lyx::depth_type typedef rather than
634         defining explicitly.
635
636         * buffer.h:
637         * paragraph_funcs.h:
638         * ParagraphParameters.h:
639         * sgml.h: use lyx::depth_type rather than Paragraph or
640         ParameterStruct's depth_type.
641
642         * buffer.h
643         * paragraph_funcs.h: no need to #include paragraph.h anymore.
644
645         * BufferView.C:
646         * BufferView_pimpl.C:
647         * CutAndPaste.C:
648         * ParagraphParameters.C:
649         * buffer_funcs.C:
650         * bufferlist.C:
651         * bufferview_funcs.C:
652         * lyx_cb.C:
653         * lyxfunc.C:
654         * tabular.C:
655         * text3.C:
656         * toc.C:
657         * undo_funcs.C:
658         * frontends/LyXView.C:
659         * frontends/controllers/ControlDocument.C:
660         * frontends/controllers/ControlErrorList.C:
661         * insets/insetbibitem.C:
662         * insets/insetbranch.C:
663         * insets/insetcaption.C:
664         * insets/insetcollapsable.C:
665         * insets/insetenv.C:
666         * insets/insetert.C:
667         * insets/insetfloat.C:
668         * insets/insetfoot.C:
669         * insets/insetfootlike.C:
670         * insets/insetnewline.C:
671         * insets/insetquotes.C:
672         * insets/insettabular.C:
673         * insets/insettext.C:
674         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
675
676         * frontends/controllers/ControlChanges.C: #include "changes.h".
677
678 2003-09-06  Angus Leeming  <leeming@lyx.org>
679
680         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
681         than #including paragraph.h.
682
683         * ParagraphList.h:
684         * RowList.h: deleted. Superfluous.
685
686         * CutAndPaste.h:
687         * iterators.h:
688         * lyxcursor.h:
689         * lyxtext.h:
690         * text_funcs.h:
691         * undo.h:
692         * undo_funcs.h:
693         * insets/inset.h:
694         * insets/insettext.h: use ParagraphList_fwd.h rather than
695         ParagraphList.h.
696
697         * paragraph.h: don't forward declare ParagraphList.
698
699         * buffer.h:
700         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
701         rather than ParagraphList.h. paragraph.h is still needed for the
702         Paragraph::depth_type parameters.
703
704         * textcursor.h: enable it to compile stand-alone in light of the
705         above changes.
706
707         * bufferview_funcs.C:
708         * iterators.C:
709         * lyxfunc.C:
710         * lyxrow_funcs.C:
711         * paragraph.C:
712         * rowpainter.C:
713         * text.C:
714         * text2.C:
715         * text3.C:
716         * text_funcs.C:
717         * textcursor.C:
718         * undo.C:
719         * frontends/controllers/ControlParagraph.C:
720         * frontends/controllers/ControlTabular.C:
721         * insets/insetmarginal.C:
722         * insets/insetminipage.C:
723         * insets/insetnote.C:
724         * insets/insetoptarg.C: add header files needed to compile again.
725
726 2003-09-06  Angus Leeming  <leeming@lyx.org>
727
728         * RowList_fwd.h: new file, forward-declaring Row rather than
729         #including lyxrow.h.
730
731         * lyxrow_funcs.h:
732         * lyxtext.h:
733         * paragraph.h:
734         * insets/insettext.h: use it instead of RowList.h
735
736         * bufferview_funcs.C:
737         * lyxfunc.C:
738         * lyxrow_funcs.C:
739         * paragraph.C:
740         * rowpainter.C:
741         * text.C:
742         * text2.C:
743         * text3.C: #include "RowList.h".
744
745 2003-09-05  Angus Leeming  <leeming@lyx.org>
746
747         * factory.C (createInset):
748         * vspace.C (c-tor): replace sscanf call with an istringstream.
749         * ispell.C: re-add missing HP/UX headers.
750         * lyxserver.C: re-add missing  os2 headers.
751
752 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
753
754         * BranchList.C:
755         * graph.C:
756         * ispell.C:
757         * lastfiles.C:
758         * lyx_cb.C:
759         * lyxserver.C:
760         * texrow.C:
761         * text3.C: re-add missing system headers, needed for 2.95.2.
762
763 2003-09-05  Angus Leeming  <leeming@lyx.org>
764
765         Changes most place everywhere due to the removal of using directives
766         from support/std_sstream.h.
767
768 2003-09-05  Angus Leeming  <leeming@lyx.org>
769
770         Replace LString.h with support/std_string.h,
771         Lsstream.h with support/std_sstream.h,
772         support/LIstream.h with support/std_istream.h,
773         support/LOstream.h with support/std_ostream.h.
774
775         Changes resulting throughout the tree.
776
777 2003-09-05  Angus Leeming  <leeming@lyx.org>
778
779         * sgml.h: ensure that the header file can be compiled stand-alone.
780         * *.C: strip out redundant #includes. (320 in total.)
781
782 2003-09-04  Angus Leeming  <leeming@lyx.org>
783
784         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
785         here (from getPackages).
786
787         * debug.[Ch]: add a new EXTERNAL tag.
788
789 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
790
791         * text2.C (cursorEnd): simplify
792         (setCursor): adjust
793         (getColumnNearX): adjust
794
795         * text.C (computeBidiTables): adjust
796         (fill): adjust
797
798         * rowpainter.C (paintChars): adjust
799         (paintSelection): adjust
800         (paintChangeBar): adjust
801         (paintText): adjust
802
803         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
804         lastPos instead.
805         (numberOfSeparators): adjust
806
807 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
808
809         * LyXAction.C:
810         * box.[Ch]:
811         * lfuns.h:
812         * lyxfunc.C:
813         * text3.C: Restricts the mouse click functionality
814         of insets like bibtex, include, toc and floatlist to the visible
815         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
816         up the dialogs. Cursor has to be in front of the inset (i.e.
817         start of row) for this to function.
818
819 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
820
821         * bufferview_funcs.C (currentState): output row information
822
823 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
824
825         * bufferview_funcs.C (currentState): output paragraph position
826
827 2003-09-04  Angus Leeming  <leeming@lyx.org>
828
829         * FloatList.h: move out #include "Floating.h".
830         * LaTeX.h: move out #include "DepTable.h".
831         * LyXAction.h: move out #include "funcrequest.h".
832         * buffer.h: move out #include "author.h", "iterators.h".
833         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
834         * lyx_main.h: move out #include "errorlist.h".
835         * lyxfunc.h: move out #include "FuncStatus.h".
836         * lyxtext: move out #include "lyxcursor.h".
837         * paragraph_pimpl.h: move out #include "counters.h".
838
839 2003-09-03  Angus Leeming  <leeming@lyx.org>
840
841         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
842         preamble_snippets list, enabling us to add snippets to the preamble
843         only if the snippet was not there already.
844
845 2003-09-04  Angus Leeming  <leeming@lyx.org>
846
847         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
848
849 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
850
851         * lyxfunc.C (dispatch): if fitCursor did something be sure to
852         update
853
854 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
855
856         * BranchList.C: point fix, earlier forgotten
857
858 2003-09-02  Angus Leeming  <leeming@lyx.org>
859
860         * box.C (contains): renamed from 'contained' after a fantastic
861         amount of hot air.
862
863 2003-09-02  John Levon  <levon@movementarian.org>
864
865         * BufferView.C:
866         * lyxcursor.h:
867         * lyxcursor.C:
868         * lyxfunc.C:
869         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
870
871 2003-09-02  John Levon  <levon@movementarian.org>
872
873         * text2.C: simplification of cursorEnd(), including partial
874         fix for bug 1376
875
876 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
877
878         * buffer.C (readFile): add a space
879
880 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
881
882         * BufferView_pimpl.C (update): remove bogus fitCursor() call
883
884 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
885
886         * buffer.C (readFile): new function, take a filename and a
887         ParagraphList::iterator
888         (readFile): adjust
889         (readFile): adjust, make it private. don't use setStream, make
890         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
891         always contain the filename.
892
893         * BufferView.C (insertLyXFile): simplify and make it work for
894         gzipped files.
895
896 2003-08-30  John Levon  <levon@movementarian.org>
897
898         * Makefile.am: fix dist (from Kayvan)
899
900 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
901
902         * most files: change to use const Buffer refs
903
904 2003-08-27  André Pönitz  <poenitz@gmx.net>
905
906         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
907         on top of ownerPar().
908
909 2003-08-27  John Levon  <levon@movementarian.org>
910
911         * funcrequest.C: properly initialise POD members
912
913 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
914
915         * lyxtext.h (top_y): move top_y from here
916         * text.C:
917         * text2.C:
918         * text3.C:
919         * BufferView.[Ch]:
920         * BufferView_pimpl.[Ch]: to here
921         * frontends/screen.C:
922         * insets/insettabular.C:
923         * insets/insettext.C: adjust
924         * rowpainter.[Ch] (paintRows): remove LyXText & argument
925
926 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
927
928         * BufferView.[Ch]:
929         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
930
931 2003-08-26  André Pönitz  <poenitz@gmx.net>
932
933         * paragraph_func.[Ch] (outerPar): new function
934
935         * paragraph.C:
936         * paragraph_funcs.C:
937         * paragraph_funcs.h:
938         * paragraph_pimpl.C:
939         * text2.C: remove Inset::par_owner
940
941 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
942
943         * lyxrow_funcs.C:
944         * lyxtext.h:
945         * text.C:
946         * text2.C: eliminates the needFullRow/display() stuff
947         altogether, putting the logic in metrics/draw in the insets.
948
949 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
950
951         * text2.C (redoParagraphInternal, redoParagraphs):
952         * text.C (redoParagraph): add a call to updateRowPositions at the
953         end of each 'metrics-like' call. Remove all others.
954         (getRow): remove the 'y-computing' version.
955         (getRowNearY): do not compute nor return the real y. Solve the
956         'y < 0' problem and simplify.
957
958 2003-08-22  Angus Leeming  <leeming@lyx.org>
959
960         * *.[Ch]: clean-up of licence and author blurbs.
961         Also move config.h out of a few .h files and into a few .C files.
962
963 2003-08-22  André Pönitz  <poenitz@gmx.net>
964
965         * lyxrow.[Ch]: add x_ and *fill_ members
966
967         * lyxtext.h:
968         * text.C:
969         * rowpainter.C:
970         * text2.C: adjust/remove prepareToPrint() calls
971
972 2003-08-22  André Pönitz  <poenitz@gmx.net>
973
974         * lyxrow.[Ch]: add  end_ member
975
976         * lyxrow_funcs.C: use LyXRow::end_
977
978         * lyxtext.h (singleWidth): add LyXFont parameter
979
980         * rowpainter.C:
981         * text2.C: adjust LyXText::singleWidth() calls
982
983         * text.C (redoParagraph): simplify row breaking logic
984
985
986 2003-08-19  André Pönitz  <poenitz@gmx.net>
987
988         * funcrequest.C: initialize button_ member
989
990         * text3.C:
991         * rowpainter.[Ch]: interface consolidation
992
993 2003-08-18  André Pönitz  <poenitz@gmx.net>
994
995         * BufferView.C:
996         * BufferView_pimpl.C:
997         * lyxfind.C:
998         * paragraph_funcs.C:
999         * rowpainter.C:
1000         * text3.C: remove LyXScreen::draw() and fitCursor calls
1001
1002         * BranchList.h: remove spurious semicolons
1003
1004         * MenuBackend.C: fix branchlist related crash
1005
1006 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1007
1008         * BranchList.[Ch]:
1009         * InsetList.[Ch]:
1010         * LColor.[Ch]:
1011         * LyXAction.C:
1012         * Makefile.am:
1013         * MenuBackend.[Ch]:
1014         * bufferparams.[Ch]:
1015         * factory.C:
1016         * lfuns.h:
1017         * lyxfunc.C:
1018         * text3.C: implements the 'branch inset'
1019         idea. This allows the output of various versions of a document
1020         from a single source version, selectively outputing or suppressing
1021         output of parts of the text.
1022         This implementation contains a 'branch list editor' in a separate
1023         tab of the document settings dialog. Branches are user definable
1024         and have a "display colour" to distinguish them on-screen.
1025
1026         ColorHandler was somewhat cleaned up.
1027         (1) make possible a dynamically growing LColor list by allowing
1028         the graphic context cache to grow along (vector);
1029         (2) eliminate an IMHO unnecessary step in colour allocation.
1030
1031 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1032
1033         * BufferView_pimpl.C: compile fix
1034
1035 2003-08-15  André Pönitz  <poenitz@gmx.net>
1036
1037         * rowpainter.C: remove extra metrics calls
1038
1039         * lyxtext.h: merge the two constructors into a single one,
1040           pass reference to owner's par list
1041
1042         * BufferView_pimpl.C:
1043         * text.C:
1044         * text2.C: adjust
1045
1046 2003-08-15  André Pönitz  <poenitz@gmx.net>
1047
1048         * lyxrow_funcs.[Ch]:
1049         * lyxtext.h:
1050         * paragraph.h:
1051         * paragraph_funcs.C:
1052         * rowpainter.C:
1053         * text.C:
1054         * text2.C:
1055         * text3.C:
1056         * text_funcs.C: split LyXText::rowlist_ into individual
1057         Paragraph::rows_ chunks
1058
1059         * BufferView.[Ch]:
1060         * BufferView_pimpl.[Ch]:
1061         * lyxfind.C:
1062         * lyxtext.h:
1063         * text3.C: remove toggleSelection()
1064
1065 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1066
1067         * bufferlist.C: beautify two alerts (shorter text of buttons)
1068         * buffer.C: Remove redundant ' ' from message
1069         * tabular.h:
1070         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1071         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1072         rename VALIGN_CENTER to VALIGN_MIDDLE
1073
1074 2003-08-11  André Pönitz  <poenitz@gmx.net>
1075
1076         * lyxtext.h (getPar):
1077         * text.C: new function
1078
1079 2003-08-11  André Pönitz  <poenitz@gmx.net>
1080
1081         * Makefile.am:
1082         * tracer.[Ch]: remove unneeded files
1083
1084         * InsetList.[Ch]: remove resizeInsetsLyXText()
1085
1086         * lyxtext.h:
1087         * text.C:
1088         * text2.C:
1089         * text3.C: merge insertParagraphs() and appendParagraph()
1090         remove breakAgain(), update()
1091
1092         * BufferView_pimpl.[Ch]:
1093         * bufferview_funcs.[Ch]:
1094         * lyxfunc.C:
1095         * paragraph.[Ch]:
1096         * rowpainter.C:
1097         * tabular.C: adjust after text & InsetList changes.
1098
1099 2003-08-08  André Pönitz  <poenitz@gmx.net>
1100
1101         * text.C (insertChar, backspace): replace rowlist fiddling
1102         with rebreak of full par
1103
1104         * lyxtext.h:
1105         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1106         checkParagraph, updateInset): removed
1107
1108 2003-08-07  André Pönitz  <poenitz@gmx.net>
1109
1110         * paragraph.C:
1111         * text3.C: merge some LFUN handlers, remove dead code
1112
1113 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1114
1115         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1116
1117 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1118
1119         * text2.C (DEPM): fix part of bug 1255 and 1256
1120
1121 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1122
1123         * BufferView_pimpl.C (workAreaDispatch): change to use
1124         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1125         that are no mouse related.
1126
1127 2003-08-05  André Pönitz  <poenitz@gmx.net>
1128
1129         * BufferView.[Ch]:
1130         * BufferView_pimpl.[Ch]:
1131         * bufferview_funcs.C:
1132         * text2.C:
1133         * text3.C: rip out "deep update"
1134
1135         * textcursor.[Ch] (last_sel_cursor): remove unused member
1136
1137 2003-08-04  André Pönitz  <poenitz@gmx.net>
1138
1139         * BufferView.[Ch]:
1140         * BufferView_pimpl.[Ch]:
1141         * ParagraphParameters.C:
1142         * bufferview_funcs.C:
1143         * lyx_cb.C:
1144         * lyxfind.C:
1145         * lyxfunc.C:
1146         * text.C:
1147         * text2.C:
1148         * text3.C: replace "complicated" BufferView::update(...) calls with
1149         simpler ones.
1150
1151         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1152
1153 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1154
1155         * Makefile.am (lyx_SOURCES): add paper.h
1156
1157 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1158
1159         * Makefile.am: move things around so that both lyx-qt and
1160         lyx-xforms can be built (according to --with-frontend). Then lyx
1161         is a symbolic link to lyx-[firstfrontend]
1162
1163 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1164
1165         * Always use std::endl with lyxerr
1166
1167 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1168
1169         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1170
1171 2003-08-01  André Pönitz  <poenitz@gmx.net>
1172
1173         * BufferView.[Ch]:
1174         * BufferView_pimpl.[Ch]:
1175         * lyxfunc.C:
1176         * text3.C: merge BufferView::repaint() and BufferView::update()
1177
1178 2003-08-01  José Matos  <jamatos@lyx.org>
1179
1180         * buffer.[Ch]: file_format is no longer a buffer data element.
1181
1182 2003-08-01  André Pönitz  <poenitz@gmx.net>
1183
1184         * BufferView.C:
1185         * lyxtext.h:
1186         * text.C:
1187         * text2.C: make redoParagraph more independent of current cursor
1188
1189         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1190         * text.C:
1191         * text2.C: remove unneeded members
1192
1193 2003-07-30  André Pönitz  <poenitz@gmx.net>
1194
1195         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1196
1197         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1198           create a single function...
1199
1200         * paragraph_funcs.C (moveItem): ... here.
1201
1202         * text.C:
1203           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1204
1205 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1206
1207         * LColor.[Ch]: Add comment and greyedout logical colors.
1208
1209 2003-07-30  André Pönitz  <poenitz@gmx.net>
1210
1211         * tabular.C: don't use Assert too heavily. This crashes where it
1212           shouldn't
1213
1214 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1215
1216         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1217         is disabled (bug 1232)
1218
1219 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1220
1221         * factory.C: limited 'arg' scope
1222
1223 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1224
1225         * factory.C: fixed Note submenu issues
1226
1227 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1228
1229         * factory.C: submenu for Note/Comment/Greyedout
1230
1231 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1232
1233         * lyx_main.C (LyX):
1234         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1235
1236 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1237
1238         * LaTeXFeatures.C:
1239         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1240         greyedout. Patch provided by Jürgen Spitzmüller.
1241
1242 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1243
1244         * kbmap.C (read): fix error message when reading bind files
1245
1246 2003-07-29  Angus Leeming  <leeming@lyx.org>
1247
1248         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1249         certainly does not do what it purports to do. I am doing it, and
1250         us, a favour by killing it.
1251
1252 2003-07-28  José Matos  <jamatos@lyx.org>
1253
1254         * buffer.C (readBody, do_writeFile):
1255         * paragraph.C(readParagraph): \end_document replaces \the_end.
1256
1257 2003-07-29  André Pönitz  <poenitz@gmx.net>
1258
1259         * BufferView.[Ch]:
1260         * BufferView_pimpl.[Ch]:
1261         * lyxfunc.C:
1262         * text2.C:
1263         * text3.C:
1264         * textcursor.[Ch]: remove toggleToggle & Co
1265
1266 2003-07-28  José Matos  <jamatos@fep.up.pt>
1267
1268         * buffer.C (readParagraph):
1269         * params_func (readParToken, readParagraph):
1270         * paragraph.C (write): \layout -> \begin_layout.
1271
1272 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1273
1274         * lyxlex_pimpl.C (setFile): clean up slightly.
1275
1276         * bufferparams.h: add compressed var
1277
1278         * buffer_funcs.C (readFile): adjust for LyXLex change
1279         (newFile): ditto + simplify
1280
1281         * buffer.C (writeFile): handle writing of compressed files
1282
1283         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1284         Check if the file is compressed and set a bufferparm if so.
1285
1286         * Makefile.am (lyx_LDADD): remove explicit -lz
1287
1288 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1289
1290         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1291         makeDocBookFile): put the real LyX version in the first line of
1292         the file
1293
1294         * version.h:
1295         * version.C.in: remove lyx_docversion
1296
1297         * tabular.C (write_attribute): add a template-based version to
1298         write enums properly
1299
1300 2003-07-28  André Pönitz  <poenitz@gmx.net>
1301
1302         * lyxtext.h:
1303         * text.C:
1304         * text2.C:
1305         * text3.C: use doubles again for x-coordinates. They are needed.
1306
1307 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1308
1309         * messages.C (getLocaleDir): use lyx_localedir()
1310
1311         * lyxlex_pimpl.C (setFile): compress stuff
1312
1313         * buffer.C (writeFile): add some compression stuff
1314         (do_writeFile): new func, dont call expliti close... will this
1315         breake anything?
1316
1317         * Makefile.am (lyx_LDADD): add -lz
1318
1319 2003-07-28  José Matos  <jamatos@fep.up.pt>
1320
1321         * buffer.C: increment file format.
1322         * paragraph_funcs (readParagraph, readParToken):
1323         * paragraph.C (readParagraph): add \end_layout.
1324
1325 2003-07-27  Angus Leeming  <leeming@lyx.org>
1326
1327         * Makefile.am: remove special casing for configure-time setting of
1328         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1329
1330         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1331         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1332
1333 2003-07-26  André Pönitz  <poenitz@gmx.net>
1334
1335         * paragraph_func.[Ch]:
1336         * paragraph.C (realizeFont): inline it whereever it is used
1337
1338         * rowpainter.C:
1339         * text.C:
1340         * text2.C:
1341         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1342
1343
1344 2003-07-26  André Pönitz  <poenitz@gmx.net>
1345
1346         *       lyxtext.h:
1347         * text.C:
1348         * text2.C: get rid of LyXText::need_break_row
1349
1350 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1351
1352         * toc.[Ch]: put namespace toc inside namespace lyx
1353
1354         * MenuBackend.C (expandToc2): adjust for lyx::toc
1355         (expandToc): ditto
1356
1357         * lyxfunc.C (dispatch): adjust for lyx::find
1358
1359         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1360         lyx::find instead. Reorganize a bit.
1361         (LyXReplace): rename to replace
1362         (LyXFind): rename to find
1363
1364         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1365         (dispatch): ditto
1366
1367 2003-07-26  André Pönitz  <poenitz@gmx.net>
1368
1369         * text.C (setHeightOfRow): restrict scope of temporary variable
1370
1371         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1372           code (never has been used?)
1373
1374 2003-07-27  Asger Alstrup  <alstrup@local>
1375
1376         * text.C (fill): Optimise algorithm to exploit that we can reuse
1377         the LyXFont for many characters.
1378         (setHeightOfRow): Same thing.
1379         (rowBreakPoint): Same thing.
1380
1381 2003-07-26  Asger Alstrup  <alstrup@local>
1382
1383         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1384
1385         * text.C (singleWidth): Spurious font copying in hot-spot
1386         singleWidth avoided. Reorder tests for arabic for efficiency.
1387
1388         * text.C (fill): handle empty paragraphs better.
1389
1390 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1391
1392         * ispell.C:
1393         * encoding.h: add includes
1394
1395         * lyxrc.C: remove reading of bind files
1396
1397         * lyx_main.C (init): setup bindings and menus only if we have a
1398         gui.
1399
1400         * kbmap.C (read): new method. Do the actual reading of bind
1401         files.
1402
1403         * converter.C (dvipdfm_options):
1404         * bufferparams.C:
1405         * lyxrc.C (read):
1406         (output): adapt PAPER_* enums.
1407
1408         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1409
1410         * bufferparams.h: remove paper-related enums from there
1411
1412         * paper.h: New file. A trivial header file to hold paper-related
1413         enums. It should later expand to contain many paper-related
1414         horrors access.
1415
1416         * lyxrc.C: declare extern displayTranslator
1417
1418 2003-07-27  José Matos  <jamatos@fep.up.pt>
1419
1420         * tabular.[Ch] (linuxdoc): add support for tables and figures
1421         (linuxdoc).
1422
1423 2003-07-27  José Matos  <jamatos@fep.up.pt>
1424
1425         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1426         consistency in both functions.
1427         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1428
1429 2003-07-26  Asger Alstrup  <alstrup@local>
1430
1431         * rowpainter.C (paintRows): Change algorithm to work directly on
1432         the insets rather than asking every character in the document
1433         whether its an inset.
1434
1435 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1436
1437         * buffer.C (openFileWrite): factorize some code
1438
1439 2003-07-26  Angus Leeming  <leeming@lyx.org>
1440
1441         * lyx_cb.C:
1442         * lyx_main.[Ch]: replace occurances of system_tempdir with
1443         os::getTmpDir().
1444
1445 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1446
1447         * rename Inset to InsetOld
1448
1449 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1450
1451         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1452         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1453         which I think is a bit clearer. EDIT is gone, since it was
1454         premature optimisation, and broken for mathed anyway.
1455         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1456         with cursor positioning in insets as well (math insets still do not
1457         work, but that's a different story anyway.) It mysteriously
1458         crashes sometimes with undo in the first paragraph, but I'm fairly
1459         confident that this is a compiler bug.
1460
1461 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1462
1463         * paragraph.C (Paragraph): adjust for new clone return type
1464         (operator==): ditto
1465         (copyIntoMinibuffer): ditto
1466
1467 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1468
1469         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1470         by not having a special case, and always doing a full rebreak of
1471         the document after undo.
1472
1473 2003-07-23  Angus Leeming  <leeming@lyx.org>
1474
1475         * factory.C (createInset): InsetExternal::setParams now takes a
1476         Buffer const * arg.
1477
1478 2003-07-23  Angus Leeming  <leeming@lyx.org>
1479
1480         * factory.C (createInset): changed interface to the external and
1481         graphics mailers' string2params functions.
1482
1483 2003-07-23  Angus Leeming  <leeming@lyx.org>
1484
1485         * factory.C (createInset): pass a
1486         Buffer const * parameter to InsetExternalMailer's string2params.
1487
1488 2003-07-22  John Levon  <levon@movementarian.org>
1489
1490         * Thesaurus.h: include the right aiksaurus header
1491
1492 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1493
1494         * MenuBackend.C (expand): check menu shortcuts unconditionally
1495
1496 2003-07-21  Angus Leeming  <leeming@lyx.org>
1497
1498         * factory.C (createInset): pass a
1499         buffer_path parameter to InsetGraphicsMailer's string2params.
1500
1501 2003-07-21  Angus Leeming  <leeming@lyx.org>
1502
1503         * BufferView_pimpl.C (buffer):
1504         * buffer.C (d-tor):
1505         * lyx_main.C (LyX):
1506         * lyxfunc.C (dispatch):
1507         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1508         rather than the grfx shortcut.
1509
1510 2003-07-21  André Pönitz  <poenitz@gmx.net>
1511
1512         * rowpainter.C: remove unused variables
1513
1514         * tabular_funcs.C:
1515         * tabular_funcs.h: move to tabular.C
1516         * Makefile.am: adjust
1517
1518         * tabular.[Ch]: basic optical cleaning
1519
1520         * author.h: pass references, not values
1521
1522 2003-07-18  André Pönitz  <poenitz@gmx.net>
1523
1524         * lyxtext.h:
1525         * metricsinfo.C:
1526         * metricsinfo.h:
1527         * rowpainter.C:
1528         * text.C:
1529         * text2.C:
1530         * text3.C: two-phase drawing for InsetText and InsetTabular
1531         some float -> int changes.
1532
1533 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1534
1535         * lyx_main.C: fix the fix
1536
1537 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1538
1539         * lyx_main.C: fix a crash in batch mode if no files specified
1540         * converter.C: ws
1541
1542 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1543
1544         * format.[Ch] (papersize): moved to BufferParams
1545         * converter.[Ch] (dvips_options): moved to BufferParams
1546         (dvipdfm_options): moved to anon namespace
1547         * bufferparams.[Ch]: added above functions.
1548
1549 2003-07-17  André Pönitz  <poenitz@gmx.net>
1550
1551         * lyxtext.h:
1552         * rowpainter.C:
1553         * text2.C: don't call inset->update() anymore
1554
1555         * metricsinfo.[Ch]: add convenience constructor
1556
1557 2003-07-16  André Pönitz  <poenitz@gmx.net>
1558
1559         * lyxcursor.[Ch]:
1560         * lyxfunc.[Ch]:
1561         * text.C:
1562         * text2.C: replace the LyXCursor::irow_ member with
1563          on-demand computation of the value
1564
1565 2003-07-16  John Levon  <levon@movementarian.org>
1566
1567         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1568
1569 2003-07-15  André Pönitz  <poenitz@gmx.net>
1570
1571         * text.C:
1572         * text2.C: remove no more needed refresh_row
1573
1574 2003-07-15  André Pönitz  <poenitz@gmx.net>
1575
1576         * lyxtext.h:
1577         * rowpainter.C:
1578         * text2.C:
1579         * text3.C: refresh_status tristate -> need_update bool
1580
1581 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1582
1583         * lyxtext.h (init): remove reinit argument (act as if always true)
1584         * text2.C: adjust to that
1585
1586 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1587
1588         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1589         * text3.C: use it to delete selections in some cases
1590         (bugs 441, 673, 702, 954).
1591
1592 2003-07-14  André Pönitz  <poenitz@gmx.net>
1593
1594         * rowpainter.[Ch]: reduce interface
1595
1596 2003-07-14  André Pönitz  <poenitz@gmx.net>
1597
1598         * BufferView_pimpl.C:
1599         * text2.C: adjust after removing unused BufferView * argument
1600
1601 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1602
1603         * text2.C (init): fix a crash fired on resize
1604
1605 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1606
1607         * buffer.[Ch]: added new closing signal
1608         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1609         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1610         BufferView::Pimpl via the closing the signal
1611
1612 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1613
1614         * buffer.[Ch]: take out all bv-related from buffer
1615         * BufferView.C:
1616         * BufferView_pimpl.[Ch]: connect to new signals
1617         * CutAndPaste.C: removed useless asserts
1618         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1619         * lyxvc.[Ch]:
1620         * vc-backend.[Ch]:
1621         * lyxfunc.C: moved view-related funciontality from vc here
1622         * paragraph.C: removed outdated comments
1623         * text.C: ws
1624
1625 2003-07-10  André Pönitz  <poenitz@gmx.net>
1626
1627         * BufferView_pimpl.C:
1628         * tabular.h:
1629         * tabular_funcs.C:
1630         * text.C:
1631         * text2.C: remove InsetText::InnerCache, clean up consequences
1632
1633 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1634
1635         * ispell.C: fix two typos in error messages
1636
1637 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1638
1639         * Extend Note inset to other forms of annotation like Comment
1640         and Greyedout. Right button click gives dialog.
1641
1642         Files modified or added (+):
1643
1644         * insetnote.[Ch]
1645         * FormNote.[Ch]      +
1646         * ControlNote.[Ch]   +
1647         * form_note.fd       +
1648         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1649         frontends/controllers
1650         * xforms/Dialogs.C
1651         * factory.C
1652
1653 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1654
1655         * aspell.C: add missing namespace lyx::support
1656
1657 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1658
1659         * BufferView.[Ch] (newFile): Add
1660         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1661         * LaTeX.[Ch] (message): added this signal and use it
1662         * buffer.[Ch] (busy, message): added these signals and use them
1663         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1664         * converter.C:
1665         * exporter.C:
1666         * format.C:
1667         * importer.C: use buffer signals instead of direct bv calling
1668         * lyx_cb.[Ch] (ShowMessage): removed
1669         * lyx_main.C:
1670         * lyxfunc.C:
1671         * paragraph_funcs.C:
1672         * text2.C: use buffer signals
1673
1674 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1675
1676         * introduce namespace lyx::graphics
1677
1678 2003-07-02  André Pönitz  <poenitz@gmx.net>
1679
1680         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1681
1682 2003-07-01  André Pönitz  <poenitz@gmx.net>
1683
1684         * text.C:
1685         * text2.C:
1686         * text3.C:
1687         * text_funcs.[Ch]:
1688         * textcursor.h:
1689         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1690           text*.C to text_func.C
1691
1692 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1693
1694         * introduce namespace lyx::support
1695
1696 2003-06-30  André Pönitz  <poenitz@gmx.net>
1697
1698         * Chktex.C:
1699         * funcrequest.C:
1700         * lyxtext.h:
1701         * text.C: re-enable --with-included-string
1702
1703 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1704
1705         * textcursor.C: add <config.h>
1706
1707         * text.C (getWord): remove const from word_location arg
1708
1709         * lyxvc.C (getLogFile): fix const type order
1710
1711         * lyxtext.h: remove const from word_location arg, add arg name
1712
1713         * lyxlayout.h: currect type on labeltype.
1714
1715         * importer.C: correct \file
1716
1717         * converter.C (intToFormat): use std:: on ret val, ws changes
1718
1719         * bufferlist.h: correct \file
1720
1721         * buffer.C (makeLinuxDocFile): fix const type order
1722         (makeDocBookFile): ditto
1723         (fillWithBibKeys): use std:: on stdlib args.
1724
1725         * CutAndPaste.C: fix authors.
1726         (availableSelections): use std:: on return vector
1727
1728 2003-06-27  André Pönitz  <poenitz@gmx.net>
1729
1730         * BufferView_pimpl.C:
1731         * bufferview_funcs.C:
1732         * lyxcursor.C:
1733         * lyxcursor.h:
1734         * lyxfunc.C:
1735         * lyxtext.h:
1736         * rowpainter.C:
1737         * text.C:
1738         * text2.C:
1739         * text3.C: remove LyXCursor::row_ member
1740
1741         * lyxtext.h:
1742         * text.C: rename fullRebreak() to partialRebreak() and implement
1743           a fullRebreak() that really bereks fully
1744
1745         * textcursor.h: new struct for cursor-related data
1746
1747 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1748
1749         * lyx_main.C (LyX): get full path of document loaded on the
1750         command line
1751
1752 2003-06-26  André Pönitz  <poenitz@gmx.net>
1753
1754         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1755           remove unused/broken operator>,<,>=.
1756
1757         *       text.C: remove only use of broken operator<= in an Assert().
1758
1759 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1760
1761         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1762         moved errorlist_.clear to showErrorList
1763
1764 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1765
1766         * converter.C (scanLog, runLaTeX):
1767         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1768         move the bv->showErrorList call to the callers
1769         * lyxfunc.C: i.e. here...
1770         * text2.C: and here
1771         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1772         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1773         namespace, the second to...
1774         * buffer_funcs (BufferFormat, parseErrors): added
1775         * errorlist.C (ErrorList(TeXErrors const &)): removed
1776
1777 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1778
1779         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1780
1781 2003-06-24  "Garst R. Reese" <reese@isn.net>
1782
1783         * debug.C: fix typo
1784
1785 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1786
1787         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1788
1789         * version.C.in: change docversion to 1.4
1790
1791 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1792
1793         * buffer.C: fix a bug just introduced
1794
1795 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1796
1797         * buffer.[Ch]: added the parseError signal and use it, removed
1798         sgmlError
1799         * BufferView.[Ch] (addError): moved to ...
1800         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1801         to the Buffer::parseError signal to catch (guess what) parse errors
1802         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1803
1804 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1805
1806         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1807         ability to create a buffer and to return an existing one from
1808         the list. Moved these functions to...
1809         * buffer_funcs.[Ch]: added
1810         * BufferView.[Ch] (loadLyXFile): added
1811         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1812         job removed from bufferlist::loadLyXFile.
1813         * buffer.C (setReadOnly): make it work without view
1814         (i.e added an if (users))
1815
1816 2003-06-19  Angus Leeming  <leeming@lyx.org>
1817
1818         * lfuns.h:
1819         * LyXAction.C (init):
1820         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1821         with LFUN_DIALOG_SHOW <name> <data>.
1822
1823 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1824
1825         * CutAndPaste.C (availableSelections): small compilation fix for
1826         ancient (gcc 2.9x) compilers
1827
1828 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1829
1830         * text3.C (cursorNext): add tmp var
1831
1832         * text2.C (updateCounters): for function calling out of for clause
1833         (replaceSelectionWithString): ditto
1834         (insertStringAsParagraphs): ditto
1835         (getColumnNearX): add tmp var
1836         (setCursorFromCoordinates): add tmp var
1837         (cursorDownParagraph): add tmp var
1838         (deleteEmptyParagraphMechanism): add tmp var
1839
1840         * text.C (insertChar): add tmp var
1841
1842         * rowpainter.C (paintDepthBar): add tmp var
1843
1844         * CutAndPaste.C (availableSelections): potentially check all
1845         paragraphs in a cut to fill the shown strings.
1846
1847 2003-06-18  André Pönitz  <poenitz@gmx.net>
1848
1849         * kbmap.[Ch]: use vector<> instead of list<>
1850
1851 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1852
1853         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1854         pasteSelection with index
1855
1856         * text2.C (pasteSelection): modify, call pasteSelection with index
1857
1858         * paragraph.C (asString): reimplement version with no interval to
1859         call the one with interval.
1860
1861         * lyxtext.h: add index arg to pasteSelection
1862
1863         * MenuBackend.C (MenuItem): handle PasteRecent
1864         (Menu::read::Menutags): add md_pasterecent
1865         (read): handle it
1866         (expandPasteRecent): new function
1867         (expand): use it
1868
1869         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1870
1871         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1872         the limited stack
1873         (availableSelections): new function
1874
1875 2003-06-17  Angus Leeming  <leeming@lyx.org>
1876
1877         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1878
1879 2003-06-17  Angus Leeming  <leeming@lyx.org>
1880
1881         * lfuns.h:
1882         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1883
1884         * lyxfunc.C (dispatch): invoke it.
1885
1886 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1887
1888         * iterators.C (operator++, ParPosition): reintroduce some
1889         const_cast for the benefit of older compilers.
1890
1891 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1892
1893         * text3.C (dispatch): do not modify clipboard when doing
1894         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1895         LFUN_DELETE_SKIP on a selection selection
1896
1897 2003-06-16  André Pönitz  <poenitz@gmx.net>
1898
1899         * BufferView.C:
1900         * buffer.C:
1901         * buffer.h:
1902         * paragraph.C:
1903         * tabular.[Ch]: IU of clone() and getLabelList();
1904
1905 2003-06-13  André Pönitz  <poenitz@gmx.net>
1906
1907         * tabular.h: compactification
1908
1909 2003-06-12  André Pönitz  <poenitz@gmx.net>
1910
1911         * tabular.C:
1912         * tabular.h:
1913         * tabular_funcs.h: some renaming plus whitespace
1914
1915 2003-06-12  André Pönitz  <poenitz@gmx.net>
1916
1917         * BufferView.C:
1918         * BufferView_pimpl.C:
1919         * CutAndPaste.C:
1920         * buffer.C:
1921         * iterators.[Ch]:
1922         * lyxfunc.C:
1923         * text.C:
1924         * toc.C: Return a Paragraph & for ParIterator::operator*()
1925
1926 2003-06-11  John Levon  <levon@movementarian.org>
1927
1928         * lyx_main.C:
1929         * ToolbarBackend.h:
1930         * ToolbarBackend.C: add "Toolbars" section and
1931         put the flags there
1932
1933 2003-06-10  Angus Leeming  <leeming@lyx.org>
1934
1935         * lfuns.h:
1936         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1937
1938         * lyxfunc.C (dispatch): invoke it.
1939
1940 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1941
1942         * main.C: protect <ios> with HAVE_IOS
1943         (main): protect sync_with_stdio with HAVE_IOS
1944
1945 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1946
1947         * text2.C (cutSelection): adjust
1948         (pasteSelection): adjust
1949
1950         * messages.C: handle get of empty string
1951
1952         * main.C (main): use sync_with_stdio(false)
1953
1954         * lyxfunc.C (dispatch): adjust
1955
1956         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1957         (WriteAs): remove unneeded BufferView arg.
1958
1959         * bufferparams.h: use correct types on papersize, papersize2 and
1960         paperpackage.
1961
1962         * bufferparams.C (readToken): adjust for type
1963         (writeLaTeX): add missing cases to switch.
1964
1965         * bufferlist.C (quitWriteBuffer): adjust
1966         (close): adjust
1967
1968         * buffer.C (asciiParagraph): remove some commented code.
1969
1970         * CutAndPaste.C: remove current_view extern variable.
1971         (cutSelection): add BufferParams arg.
1972         (eraseSelection): add BufferParams arg.
1973         (pasteSelection): add Buffer const & arg
1974
1975 2003-06-07  John Levon  <levon@movementarian.org>
1976
1977         * buffer.C:
1978         * paragraph_funcs.C:
1979         * paragraph_pimpl.C:
1980         * text.C:
1981         * text2.C:
1982         * paragraph.h:
1983         * paragraph.C: allow InsetERT to freely space lines,
1984         and some consolidation of code
1985
1986 2003-06-06  José Matos  <jamatos@fep.up.pt>
1987
1988         * buffer.C (makeDocBookFile): fix bug #821
1989
1990 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1991
1992         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1993
1994 2003-06-04  Angus Leeming  <leeming@lyx.org>
1995
1996         * buffer.C: bump format to 224.
1997
1998 2003-06-05  André Pönitz  <poenitz@gmx.net>
1999
2000         * text2.C (redoParagraphs): remove two const_cast<>
2001
2002 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2003
2004         * ParagraphList.h: remove last remnants of NO_STD_LIST
2005
2006 2003-06-03  Angus Leeming  <leeming@lyx.org>
2007
2008         * factory.C (createInset): small change to the way InsetExternal's params
2009         are set.
2010
2011 2003-06-04  André Pönitz  <poenitz@gmx.net>
2012
2013         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2014
2015         * paragraph_pimpl.h:
2016         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2017
2018         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2019
2020         * undo_funcs.C: make some simple cases of undo work again
2021
2022 2003-06-03  John Levon  <levon@movementarian.org>
2023
2024         * ispell.C: HPUX doesn't have sys/select.h
2025         (from Albert Chin)
2026
2027 2003-06-03  John Levon  <levon@movementarian.org>
2028
2029         * CutAndPaste.C: update tabular and include inset
2030         buffer references
2031
2032         * buffer.h:
2033         * paragraph.h:
2034         * paragraph.C: remove owningBuffer(), don't pass Buffer
2035         to clone()
2036
2037         * factory.C: insetGraphicsParams changed
2038
2039 2003-06-02  John Levon  <levon@movementarian.org>
2040
2041         * LyXAction.C:
2042         * factory.C:
2043         * lfuns.h:
2044         * lyxfunc.C:
2045         * text3.C: remove insetparent
2046
2047 2003-06-02  John Levon  <levon@movementarian.org>
2048
2049         * buffer.h:
2050         * buffer.C: fix inset_iterator.end(), move out of line
2051         (bug 1149)
2052
2053 2003-06-01  John Levon  <levon@movementarian.org>
2054
2055         * text3.C: use a proper cut/paste when doing inset
2056         insert (from Jürgen Spitzmüller)
2057
2058 2003-06-01  John Levon  <levon@movementarian.org>
2059
2060         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2061
2062 2003-05-30  André Pönitz  <poenitz@gmx.net>
2063
2064         * rowpainter.C: unify second drawing phase
2065
2066 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2067
2068         * trans_mgr.C: remove one case of current_view
2069
2070         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2071
2072         * paragraph_funcs.h: remove paragraph.h include
2073
2074         * paragraph.h: delete NO_STD_LIST stuff
2075
2076         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2077
2078         * buffer.h: remove paragraph.h include
2079
2080         * ParagraphList.C: delete file
2081
2082         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2083
2084         * toc.C (getTocList): adjust
2085
2086         * paragraph_pimpl.C (validate): adjust
2087
2088         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2089
2090         * paragraph.C (Paragraph): adjust
2091         (getPositionOfInset): use const_iterator, adjust
2092         (bibitem): use const_iterator, adjust
2093         (setInsetOwner): adjust
2094
2095         * iterators.C (operator++): adjust
2096
2097         * InsetList.[Ch]: Replace selfmade iterator with standard
2098         vector::iterator also introduce const_iterator. Remove getPos,
2099         getInset and setInset from InsetTable. Adjust accordingly.
2100
2101         * BufferView.C (lockInset): adjust
2102         (ChangeInsets): adjust
2103
2104         * tabular.[Ch]: delete commented same_id functions
2105
2106 2003-05-28  John Levon  <levon@movementarian.org>
2107
2108         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2109
2110 2003-05-28  André Pönitz  <poenitz@gmx.net>
2111
2112         * metricsinfo.[Ch]: remove 'fullredraw' member
2113
2114 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2115
2116         * lyxtextclass.C (operator): remove caching.
2117
2118 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2119
2120         * text3.C: adjust
2121
2122         * text2.C (cursorBottom): adjust
2123         (setCounter): use ParagraphList::find, adjust
2124
2125         * text.C (workWidth): use ParagraphList::find, adjust
2126
2127         * lyxcursor.C (LyXCursor): adjust
2128
2129         * buffer.C (inset_iterator): adjust
2130
2131         * ParagraphList.h: make iterator(value_type) private, make
2132         ParagraphList a friend of iterator.
2133
2134         * ParagraphList.C (find): new function
2135
2136         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2137
2138 2003-05-27  André Pönitz  <poenitz@gmx.net>
2139
2140         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2141
2142 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2143
2144         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2145
2146 2003-05-26  John Levon  <levon@movementarian.org>
2147
2148         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2149
2150 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2151
2152         * remove same_id from function signatures, adjust.
2153
2154 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2155
2156         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2157
2158         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2159
2160         * paragraph.C (Paragraph): get rid of same_ids parameter
2161
2162         * ParagraphList.C (insert): adjust
2163         (push_back): adjust
2164
2165 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2166
2167         * paragraph_funcs.C (breakParagraph): adjust
2168         (breakParagraphConservative): adjust
2169
2170         * buffer.C (readParagraph): adjust
2171
2172         * ParagraphList.C (insert): take a reference instead of a pointer
2173         (insert): adjust
2174
2175         * paragraph.[Ch] (id): new function
2176
2177         * bufferlist.C (newFile): adjust
2178
2179         * ParagraphList.C (ParagraphList): adjust
2180         (assign): adjust
2181         (push_back): take a reference instead of a pointer.
2182
2183         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2184
2185         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2186         instead.
2187
2188         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2189         set else use old code.
2190
2191         * ParagraphList.C: remove all NO_NEXT code and only compile this
2192         code of NO_STD_LIST is set.
2193
2194 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2195
2196         * BufferView_pimpl.C:
2197         * TextCache.C:
2198         * TextCache.h:
2199         * bufferlist.C:
2200         * errorlist.h:
2201         * format.C:
2202         * format.h:
2203         * graph.C:
2204         * lyxfunc.C:
2205         * lyxrc.C:
2206         * graphics/GraphicsConverter.C:
2207         * graphics/PreviewLoader.C: header adjustment
2208
2209 2003-05-23  Angus Leeming  <leeming@lyx.org>
2210
2211         * LaTeXFeatures.[Ch] (useBabel): new method.
2212         * bufferparams.C (writeLaTeX): use it.
2213
2214 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2215
2216         * ParagraphList.h (set): remove unused function.
2217
2218 2003-05-23  André Pönitz  <poenitz@gmx.net>
2219
2220         * BufferView.C:
2221         * BufferView_pimpl.C:
2222         * buffer.C:
2223         * buffer.h:
2224         * lyxfunc.C:
2225         * undo_funcs.C: setUndo reworked
2226
2227         * iterators.[Ch]: add access to topmost ParagraphList
2228
2229         * lyxtext.[Ch] (workWidth): add a const
2230
2231 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2232
2233         * texrow.[Ch] (increasePos): remove function
2234         * exporter.C (export): removed unused var and outdated comment
2235
2236 2003-05-23  Angus Leeming  <leeming@lyx.org>
2237
2238         * latexrunparams.h: rename fragile as moving_arg.
2239         * paragraph.C (simpleTeXOnePar): ditto.
2240         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2241
2242 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2243
2244         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2245         (createUndo): ditto
2246         (textUndoOrRedo): comment out a currently unused var.
2247
2248         * paragraph.h (NO_NEXT): enable NO_NEXT
2249
2250         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2251
2252         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2253
2254         * exporter.C (Export): adjust for removeAutoInsets removal.
2255
2256         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2257
2258         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2259
2260         * BufferView.[Ch] (removeAutoInsets): delete function
2261
2262 2003-05-22  Angus Leeming  <leeming@lyx.org>
2263
2264         * latexrunparams.h: add a free_spacing variable.
2265
2266         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2267         to pass moving_arg, as the data is stored in runparams.fragile.
2268
2269         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2270         to Inset::latexOptional or to simpleTeXOnePar.
2271
2272         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2273         free_spacing arg to Inset::latexOptional.
2274
2275         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2276         free_spacing arg.
2277
2278 2003-05-22  Angus Leeming  <leeming@lyx.org>
2279
2280         * latexrunparams.h: add fragile and use_babel variables.
2281
2282         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2283         * buffer.C (makeLaTeXFile): store this returned value in
2284         runparams.use_babel, thus passing it to the inset::latex methods.
2285
2286         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2287         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2288
2289         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2290         longer has a fragile arg, as it is stored in runparams.fragile.
2291
2292         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2293         moving_arg parameter as the data is stored in runparams.fragile.
2294
2295         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2296         a fragile parameter as the data is stored in runparams.fragile.
2297
2298 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2299
2300         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2301
2302 2003-05-22  Angus Leeming  <leeming@lyx.org>
2303
2304         * latexrunparams.h: add a 'bool nice' which defaults to false.
2305
2306         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2307         now encapsulated within runparams.
2308
2309         * bufferlist.C (updateIncludedTeXfiles):
2310         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2311
2312 2003-05-22  Angus Leeming  <leeming@lyx.org>
2313
2314         * latexrunparams.h: new file containing struct LatexRunParams.
2315         * Makefile.am: add new file.
2316
2317         * LaTeX.[Ch] (c-tor, run):
2318         * buffer.[Ch] (makeLaTeXFile):
2319         * bufferlist.[Ch] (updateIncludedTeXfiles):
2320         * converter.C (convert, scanLog):
2321         * converter.[Ch] (runLaTeX):
2322         * exporter.C (Export):
2323         * paragraph.[Ch] (simpleTeXOnePar):
2324         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2325         * paragraph_funcs.[Ch] (latexParagraphs):
2326         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2327         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2328         pass around a LatexRunParams parameter.
2329
2330 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2331
2332         * paragraph.[Ch]: remove unused constructor
2333
2334         * ParagraphList.C (erase): new function, taking two iterators
2335
2336 2003-05-22  André Pönitz  <poenitz@gmx.net>
2337
2338         * undo_funcs.C: remove duplicated code
2339
2340         * iterator.[Ch]: operator=
2341
2342 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2343
2344         * tabular.C (SetMultiColumn): ws changes
2345
2346         * rowpainter.C (paintFirst): get rid of a ->previous
2347
2348         * lyx_cb.C (getPossibleLabel): parlist simplification
2349
2350         * BufferView.C (ChangeInsets): simplify slightly.
2351
2352 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2353
2354         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2355         * lfuns.h: new LFUN_SPACE
2356         * lyxfunc.C: protected space has a new lfun
2357         * paragraph_funcs.C: read new space insets
2358         * text3.C:
2359         * factory.C: handle new space insets
2360
2361 2003-05-22  André Pönitz  <poenitz@gmx.net>
2362
2363         * BufferView.C:
2364         * BufferView_pimpl.C:
2365         * buffer.[Ch]:
2366         * lyxfunc.C:
2367         * undo_funcs.C: return a ParIterator from getParFromID.
2368
2369         * iterators.[Ch]: add two const's
2370
2371 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2372
2373         * toc.C (getTocList): adjust
2374
2375         * iterators.[Ch]: rework for parlist
2376
2377         * buffer.C (par_iterator_begin): adjust
2378         (par_iterator_end): adjust
2379
2380         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2381
2382         * BufferView.C (removeAutoInsets): adjust
2383         (ChangeInsets): adjust
2384
2385 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2386
2387         * text.C (top_y): fix bug 1110
2388
2389 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2390
2391         * errorlist.[Ch]: added
2392         * buffer.C:
2393         * BufferView.[Ch]:
2394         * BufferView_pimpl.C:
2395         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2396         instead
2397
2398 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2399
2400         * Makefile.am: ensure that lyx is relinked upon changes to the
2401         various "convenience" libs.
2402
2403 2003-05-20  Angus Leeming  <leeming@lyx.org>
2404
2405         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2406         files are compiled in alphabetical order again.
2407
2408         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2409
2410 2003-05-19  Angus Leeming  <leeming@lyx.org>
2411
2412         * gettext.[Ch]: remove "char const * _(char const *)".
2413
2414 2003-05-19  André Pönitz  <poenitz@gmx.net>
2415
2416         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2417
2418         * Makefile.am:
2419         * BufferView.C:
2420         * DepTable.h:
2421         * LaTeXFeatures.C:
2422         * buffer.C:
2423         * lyxfont.C:
2424         * lyxlex.h:
2425         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2426
2427 2003-05-19  André Pönitz  <poenitz@gmx.net>
2428
2429         * buffer.C:
2430         * lyxlayout.[Ch]:
2431         * lyxtextclass.[Ch]:
2432         * paragraph.C:
2433         * paragraph_funcs.[Ch]:
2434         * text2.C:
2435         * text3.C: more insetenv work
2436
2437 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2438
2439         * ParagraphParameters.C (params2string): small bug fixed
2440
2441 2003-05-16  André Pönitz  <poenitz@gmx.net>
2442
2443         * debug.C:
2444         * bufferview_funcs.C: patch from Kornel Benko to prevent
2445           crash when _(...) is called twice in a statement
2446
2447 2003-05-16  André Pönitz  <poenitz@gmx.net>
2448
2449         * BufferView.C:
2450         * lyxfunc.C:
2451         * text.C:
2452         * text2.C:
2453         * text3.C:
2454         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2455
2456 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2457
2458         * lyx_main.C (init): remove spurious static_cast
2459
2460 2003-05-14  André Pönitz  <poenitz@gmx.net>
2461
2462         * BufferView.C: fix format string
2463
2464 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2465
2466         * BufferView.[Ch] (insertErrors): removed
2467         * BufferView.[Ch] (showErrorList): added
2468         * buffer.C (runChkTeX):
2469         * converter.C (scanLog): call showErrorList instead of inserterrors
2470
2471 2003-05-13  André Pönitz  <poenitz@gmx.net>
2472
2473         * BufferView_pimpl.C:
2474         * buffer.C:
2475         * bufferview_func.C:
2476         * MenuBackend.C:
2477         * lyxfunc.C:
2478         * lyxrc.C:
2479         * tex-accent.C:
2480         * text3.C:
2481         * toc.C:
2482         * tabular_funcs.h: tostr() from its own header
2483
2484         * ParagraphParameters.C:
2485         * ToolbarBackend.C:
2486         * bufferparams.C:
2487         * format.C:
2488         * lyxlex_pimpl.C:
2489         * text3.C: STRCONV()
2490
2491 2003-05-12  André Pönitz  <poenitz@gmx.net>
2492
2493         * BufferView.C:
2494         * BufferView_pimpl.C:
2495         * CutAndPaste.C:
2496         * LaTeX.C:
2497         * LaTeXFeatures.C:
2498         * ParagraphParameters.C:
2499         * buffer.C:
2500         * bufferlist.C:
2501         * bufferparams.C:
2502         * bufferview_funcs.C:
2503         * converter.C:
2504         * counters.C:
2505         * debug.C:
2506         * exporter.C:
2507         * format.C:
2508         * importer.C:
2509         * lyx_cb.C:
2510         * lyx_main.C:
2511         * lyxfont.C:
2512         * lyxfunc.C:
2513         * lyxvc.C:
2514         * paragraph.C:
2515         * paragraph_funcs.C:
2516         * tabular.C:
2517         * tabular_funcs.C:
2518         * text2.C:
2519         * text3.C:  boost::format -> bformat  all over the place
2520
2521
2522 2003-05-09  André Pönitz  <poenitz@gmx.net>
2523
2524         * LColor.[Ch]: Pimpl the #include <map> away
2525
2526 2003-05-09  John Levon  <levon@movementarian.org>
2527
2528         * bufferlist.C: never remove emergency saves
2529
2530 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2531
2532         * Makefile.am: better lib building
2533
2534 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2535
2536         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2537         instead.
2538         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2539         (simpleTeXSpecialChars): adjust
2540         (simpleTeXSpecialChars): adjust
2541         * paragraph.C (simpleTeXOnePar): adjust
2542         * buffer.C (makeLaTeXFile): adjust
2543
2544         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2545
2546         * text2.C (changeDepth): parlist cleanup
2547         (getColumnNearX): ditto
2548
2549         * rowpainter.C (getLabelFont): parlist cleanup
2550
2551         * bufferlist.C (newFile): parlist cleanup
2552
2553         * CutAndPaste.C (eraseSelection): parlist cleanup
2554
2555         * BufferView_pimpl.C (trackChanges): parlist cleanup
2556         (dispatch): ditto
2557
2558         * BufferView.C (lockInset): parlist cleanup.
2559         (ChangeInsets): ditto
2560
2561 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2562
2563         * CutAndPaste.h: Update file header.
2564
2565         * CutAndPaste.C: Update file header.
2566         Store the parts cut out of the Document in a limited_stack.
2567         (copySelection): adjust
2568         (pasteSelection): new function, takes the index in the limited stack.
2569         (nrOfParagraphs): adjust
2570         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2571         simplify error inset insertion.
2572         (checkPastePossible): adjust
2573
2574 2003-05-06  John Levon  <levon@movementarian.org>
2575
2576         * text2.C: don't cast wrap inset to float
2577
2578 2003-05-05  André Pönitz  <poenitz@gmx.net>
2579
2580         * iterator.C:
2581         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2582
2583         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2584           few naked Paragraph *.
2585
2586 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2587
2588         * bufferparams.C: Output warning if a document with missing
2589         TeX document class is loaded
2590         * exporter.C: Disable TeX exports if the document class is missing
2591         * lyxtextclass.C:
2592         * lyxtextclass.h:
2593         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2594         isTeXClassAvailable()
2595
2596 2003-05-03  John Levon  <levon@movementarian.org>
2597
2598         * BufferView.h:
2599         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2600         explicit cursor show/hide
2601
2602         * BufferView_pimpl.h:
2603         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2604         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2605
2606         * lyxfunc.C: hide cursor before dispatching.
2607
2608         * lyx_cb.C:
2609         * lyxfind.C:
2610         * text.C:
2611         * text3.C: remove explicit cursor hides
2612
2613 2003-05-02  André Pönitz  <poenitz@gmx.net>
2614
2615         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2616
2617         * undo_funcs.C:
2618         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2619           linked lists
2620
2621         * text2.C: tiny whitespace
2622
2623 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2624
2625         * undo_funcs.C: almost only ws changes.
2626
2627         * ParagraphList.C (splice): just return if pl is empty.
2628
2629 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2630
2631         * ParagraphList.C (splice): new function.
2632
2633         * CutAndPaste.C (pasteSelection): use it
2634
2635 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2636
2637         * CutAndPaste.C (pasteSelection): remove the last next and
2638         previous from this file.
2639
2640 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2641
2642         * CutAndPaste.C (pasteSelection): more clean up, user proper
2643         ParagraphList functions for pasteing.
2644
2645         * ParagraphList.C (insert): new function, three arg insert
2646
2647 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2648
2649         * ParagraphList.C (insert): new function, three arg insert
2650
2651         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2652         not on paragraphs.
2653
2654 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2655
2656         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2657
2658 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2659
2660         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2661
2662 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2663
2664         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2665         (copySelection): clean up a bit.
2666         (pasteSelection): use make_pair
2667
2668         * ParagraphList.C (ParagraphList): implement copy constructor
2669         (operator=): implement, base on copy constructor.
2670         (assign): new func
2671
2672         * paragraph.C (erase): return a bool
2673
2674         * paragraph_pimpl.C (erasePos): remove function, move contents...
2675         (erase): ... here. Return a bool.
2676         (erase): call erase instead of erasePos.
2677
2678 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2679
2680         * ParagraphList.h: define PitPosPair
2681         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2682         ParagraphList, fix a bug on pasting multiple pars
2683         * text2.C: change interface to C&P
2684
2685 2003-04-30  André Pönitz  <poenitz@gmx.net>
2686
2687         * undo_func.C: revert part of yesterday's patch 2
2688
2689 2003-04-30  John Levon  <levon@movementarian.org>
2690
2691         * LColor.C: s/tabular/table/
2692
2693 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2694
2695         * text3.C (dispatch): do not convert iterator -> pointer
2696         * undo_funcs.C (setCursorParUndo): ditto
2697         * text_funcs.C (transposeChars): ditto
2698
2699         * text2.C (setLayout): ws changes only
2700
2701         * text.C (breakParagraph): do not convert iterator -> pointer
2702         (insertChar): ditto
2703         (acceptChange): ditto
2704         (rejectChange): ditto
2705         (changeCase): ditto
2706         (Delete): ditto
2707         (backspace): ditto
2708
2709         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2710         pointer
2711
2712 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2713
2714         * text3.C (gotoInset): YABG (yet another bad getChar)
2715
2716 2003-04-29  André Pönitz  <poenitz@gmx.net>
2717
2718         * paragraph.h: make operator= private unimplemented as long as
2719           it is unusable
2720
2721         * ParagraphList.C: whitespace
2722
2723         * paragraph.[Ch]:
2724         * paragraph_pimpl.[Ch]:
2725         * paragraph_funcs.C:
2726         * CutAndPaste.C:
2727         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2728
2729         * text2.C:
2730           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2731
2732 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2733
2734         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2735         * paragraph.[Ch] (erase):
2736         * paragraph_pimpl.[Ch] (erase): change return type and value
2737         * text2.C (cutSelection): some rework
2738
2739 2003-04-28  John Levon  <levon@movementarian.org>
2740
2741         * bufferlist.C: changes for unsaved changes dialog
2742
2743 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2744
2745         * bufferlist.C (newFile): set language (messages_) for new
2746         documents also.
2747
2748         * buffer.C (readFile): ws changes only.
2749
2750 2003-04-28  André Pönitz  <poenitz@gmx.net>
2751
2752         * undo_funcs.C:
2753         * lyxfunc.C:
2754         * buffer.[Ch]:
2755         * BufferView_pimpl.C:
2756         * BufferView.C: getParFromID related ParagraphList::iterator changes
2757
2758 2003-04-28  André Pönitz  <poenitz@gmx.net>
2759
2760         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2761           Changes
2762
2763 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2764
2765         * messages.C: remove one more localedir class variable.
2766
2767 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2768
2769         * messages.C (getLocaleDir): singleton generation function
2770         (Pimpl): use it.
2771         (Messages): add a default constructor.
2772
2773         * main.C (main): do not setup localedir here, do not call
2774         gettext_init.
2775
2776         * gettext.C (_): use it.
2777         (gettext_init): delete funciton
2778
2779 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2780
2781         * gettext.C (getLyXMessages): new singleton generating function.
2782
2783         * buffer.C (updateDocLang): adjust
2784
2785         * Makefile.am (messages.o): add target
2786         (main.o): remove target
2787
2788 2003-04-27  John Levon  <levon@movementarian.org>
2789
2790         * bufferlist.C:
2791         * lyx_cb.C:
2792         * lyxfunc.C:
2793         * lyxvc.C: specify cancel button in Alert::prompt
2794
2795 2003-04-26  John Levon  <levon@movementarian.org>
2796
2797         * text3.C:
2798         * lyxfunc.C:
2799         * lfuns.h:
2800         * LyXAction.C: add LFUN_INSET_SETTINGS
2801
2802         * lyxfunc.C: don't enable tabular-feature when there's
2803         just any locking inset
2804
2805 2003-04-26  John Levon  <levon@movementarian.org>
2806
2807         * bufferlist.C: re-add Cancel to buffer close question
2808
2809         * lyxfunc.C: fix import UI a bit
2810
2811 2003-04-25  John Levon  <levon@movementarian.org>
2812
2813         * gettext.C: remove the broken asserts for now
2814
2815 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2816
2817         * messages.C: make case where setlocale cannot comply work better.
2818
2819         * buffer.C (updateDocLang): new function
2820         (changeLanguage): use it
2821         (readFile): use it
2822
2823         * text2.C (setCounter): use B_ a bit.
2824
2825         * lyxlayout.C (Read): be sure to trim the label strings.
2826
2827         * messages.C (Messages): fix typo in comment
2828
2829         * buffer.C (readFile): set message_ after file is loaded.
2830         (makeDocBookFile): remove double return
2831         (changeLanguage): reset message_ upon language change.
2832         (B_): new func, use this to get translated buffer strings.
2833
2834         * main.C: add myself and Jean Marc as authors.
2835
2836 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2837
2838         * messages.[hC]: pimplify Messages, and three different pimpls to be
2839         used in different circumstances.
2840
2841         * gettext.[Ch]: change for use with new message code.
2842
2843 2003-04-24 André Pönitz <poenitz@gmx.net>
2844
2845         * factory.C: support for eqref
2846
2847 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * messages.[Ch]: add missing char
2850
2851         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2852
2853         * messages.[Ch]: New files
2854
2855 2003-04-18  John Levon  <levon@movementarian.org>
2856
2857         * BufferView.h:
2858         * BufferView.C:
2859         * BufferView_pimpl.C:
2860         * lfuns.h:
2861         * LyXAction.C:
2862         * lyxtext.h:
2863         * text2.C: remove layout-copy/paste (bug 778)
2864
2865 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2866
2867         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2868
2869 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2870
2871         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2872         if they succeed. Act accordingly.
2873
2874 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2875
2876         * text2.C (setCharFont): adjust
2877         (setCounter): adjust
2878         (insertStringAsLines): adjust
2879
2880         * text.C (leftMargin): adjust
2881         (setHeightOfRow): adjust
2882
2883         * rowpainter.C (paintFirst): adjust
2884         (paintLast): adjust
2885
2886         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2887         (outerHook): ditto
2888         (isFirstInSequence): ditto
2889         (getEndLabel): ditto
2890         (outerFont): adjust
2891
2892         * paragraph.C (getParLanguage): comment out some hard stuff.
2893
2894         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2895         (sgmlError): ditto
2896         (simpleDocBookOnePar): ditto
2897         (makeDocBookFile): use ParagraphList::iterator
2898
2899         * CutAndPaste.C (pasteSelection): adjust
2900
2901 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2902
2903         * text2.C (getFont): adjust
2904         (getLayoutFont): adjust
2905         (getLabelFont): adjust
2906
2907         * paragraph_funcs.C (TeXOnePar): adjust
2908
2909         * buffer.C (simpleLinuxDocOnePar): adjust
2910         (simpleDocBookOnePar): adjust
2911
2912         * CutAndPaste.C (pasteSelection): adjust
2913
2914         * BufferView.C (getEncoding): adjust
2915
2916         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2917
2918 2003-04-16  John Levon  <levon@movementarian.org>
2919
2920         * lyxfind.C: use parlist stuff for search/changes
2921
2922 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2923
2924         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2925
2926         * text2.C (deleteEmptyParagraphMechanism): adjust
2927
2928         * text2.[Ch] (ownerParagraph): delete func (both of them
2929
2930 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2931
2932         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2933
2934 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2935
2936         * ParagraphList.C: prepare for NO_NEXT
2937
2938 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2939
2940         * text2.C (getFont): adjust
2941         (getLayoutFont): adjust
2942         (getLabelFont): adjust
2943
2944         * paragraph.C (getFont): adjust
2945         (getLabelFont): adjust
2946         (getLayoutFont): adjust
2947
2948         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2949
2950 2003-04-15  John Levon  <levon@movementarian.org>
2951
2952         From Angus Leeming
2953
2954         * lyx_main.C: handle Include in .ui files
2955
2956 2003-04-15  John Levon  <levon@movementarian.org>
2957
2958         * MenuBackend.C: make the doc files length shorter
2959
2960         * ToolbarBackend.h:
2961         * ToolbarBackend.C: handle toolbar placement flags,
2962         Minibuffer
2963
2964 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2965
2966         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2967         adjust
2968
2969         * paragraph_funcs.C (TeXOnePar): adjust
2970
2971         * paragraph.C (getLabelFont): add outerfont arg, adjust
2972         (getLayoutFont): ditto
2973         (simpleTeXOnePar): adjust
2974
2975         * paragraph_pimpl.C (realizeFont): delete func
2976
2977 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2978
2979         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2980         row argument, constify cur argument.
2981
2982 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2983
2984         * text2.C (getFont): adjust
2985         (getLayoutFont): adjust
2986         (getLabelFont): adjust
2987
2988         * paragraph_funcs.C (TeXOnePar): adjust
2989         (outerFont): new func...
2990         (realizeFont): ...moved out from here, changed this to facilitate
2991         transition
2992
2993         * paragraph.C (getFont): take outerfont as arg, adjust
2994         (simpleTeXOnePar): add outerfont arg, adjust
2995
2996         * buffer.C (simpleLinuxDocOnePar): adjust
2997         (simpleDocBookOnePar): adjust
2998
2999         * CutAndPaste.C (pasteSelection): adjust
3000
3001         * BufferView.C (getEncoding): adjust
3002
3003 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3004
3005         * text2.C (setCharFont): adjust
3006         (setCounter): adjust
3007
3008         * text.C (leftMargin): adjust
3009         (setHeightOfRow): adjust
3010
3011         * rowpainter.C (paintFirst): adjust
3012         (paintLast): adjust
3013
3014         * paragraph_pimpl.C (realizeFont): adjust
3015
3016         * paragraph.C (isFirstInSequence): move from here...
3017         * paragraph_funcs.C (isFirstInSequence): ...to here
3018
3019         * paragraph.C (outerHook): move from here...
3020         * paragraph_funcs.C (outerHook): ...to here
3021
3022         * paragraph.C (depthHook): move from here...
3023         * paragraph_funcs.C (depthHook): ...to here
3024
3025         * paragraph.C (getEndLabel): move from here...
3026         * paragraph_funcs.C (getEndLabel): ...to here
3027
3028         * text2.C (realizeFont): move from here...
3029         * paragraph_funcs.C (realizeFont): ...to here
3030
3031 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3032
3033         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3034
3035 2003-04-14  Angus Leeming  <leeming@lyx.org>
3036
3037         * LColor.[Ch]: scrap LColor mathcursor.
3038
3039 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * lyxlex.[Ch] (text): delete function
3042         * trans.C (Load): adjust
3043         * paragraph_funcs.C (readParToken): adjust
3044
3045 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3048         vector<char> instead of a char[].
3049
3050         * lyxlex_pimpl.C (getString): adjust
3051         (next): adjust
3052         (lex): use getString
3053         (eatLine): adjust
3054         (nextToken): adjust
3055
3056         * lyxlex.C (text): use pimpl_->getString()
3057         (getBool): ditto
3058         (findToken): ditto
3059
3060 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3061
3062         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3063         (makeFontEntriesLayoutSpecific): temp var for par.size()
3064         (setLayout): temp var for ownerParagraphs().end()
3065         (fullRebreak): temp var for rows().end()
3066         (selectionAsString): temp var for boost::next(startpit), realize
3067         that the while really is a regular for loop.
3068         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3069         setCursor in one place.
3070         (setParagraph): temp vr for ownerParagraphs().end()
3071         (updateCounters): make the while loop a for loop
3072         (cutSelection): temp var for ownerParagraphs().end()
3073         (updateInset): make the do {} while() a regular for loop
3074         (getCursorX): use temp vars
3075         (setCurrentFont): use temp vars
3076         (getColumnNearX): use temp vars
3077
3078 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3079
3080         * text.C (transformChar): use temp var for getChar
3081         (computeBidiTables): use temp var for row->par()
3082         (fill): move temp vars for row->par() and pit->layout() earlier in
3083         the function.
3084         (labelFill): use temp var for row->par()
3085         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3086         asc and desc, realize that pit never changes and that firstpit is
3087         just a duplicate and not needed. Exchange rit->par() with pit in a
3088         lot of places.
3089         (breakAgain): use a temp var for boost::next(rit)
3090         (breakAgainOneRow): ditto
3091         (breakParagraph): use a temp var for rows().begin()
3092         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3093         (cursorRightOneWord): use temp var for cursor.par() and
3094         cursor.pos(), remove usage of tmpcursor.
3095         (cursorLeftOneWord): use temp var for cursor.par() and
3096         cursor.pos() only set cur at end of function.
3097
3098 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3099
3100         * text.C, text2.C: exchange all usage of Paragraph::next with
3101         boost::next(ParagraphList::iterator)
3102
3103         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3104
3105         * text2.C (cursorTop): simplify implementation
3106         (cursorBottom): ditto
3107         (setParagraph): use ParagraphList::iterator
3108         (setCurrentFont): adjust
3109         (getColumnNearX): adjust
3110         (cursorRight): adjust
3111         (cursorLeft): remove usage of Paragraph::previous
3112         (cursorUpParagraph): ditto
3113         (deleteEmptyParagraphMechanism): slight cleanup
3114
3115         * text.C (isBoundary): take a Paragraph const & instead of a
3116         pointer as arg.
3117         (addressBreakPoint): ditto
3118         (leftMargin): remove usage of Paragraph::previous.
3119         (setHeightOfRow): ditto
3120         (cursorLeftOneWord): ditto
3121         (selectNextWordToSpellcheck): ditto
3122         (Delete): ditto
3123         (backspace): ditto
3124         (breakParagraph): remove one usage of Paragraph::next
3125         (redoParagraph): ditto
3126         (acceptChange): ditto
3127         (insertChar): adjust
3128         (rowBreakPoint): adjust
3129
3130         * bufferview_funcs.C (toggleAndShow): adjust
3131
3132 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3133
3134         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3135         methods to access it.
3136         * lyxtext.h:
3137         * text.C: Added updateRowPositions to compute all row positions.
3138         Make top_y and getRowNearY() to use the cached y position
3139
3140 2003-04-11  John Levon  <levon@movementarian.org>
3141
3142         * text.C (rowBreakPoint): reintroduce the labelEnd
3143         checks, code copied from the row fill stuff. Deep voodoo.
3144
3145         * text.C (fill): add a comment and debugging for the
3146         next poor soul.
3147
3148 2003-04-11  John Levon  <levon@movementarian.org>
3149
3150         * text.C: make sure fullrow insets get wrapped to the next line,
3151         even when they're in a manual label
3152
3153 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * text2.C (insertParagraph): make it take ParagraphList::iterator
3156         as arg.
3157         (setLayout): make it return ParagraphList::iterator
3158         (redoParagraphs): ditto
3159         (setCounter): ditto
3160         (checkParagraph): ditto
3161
3162         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3163
3164         * text2.C: adjust several funcs.
3165         (realizeFont): take a ParagraphList::iterator as arg.
3166         (getLayoutFont): ditto
3167         (getLabelFont): ditto
3168         (setCharFont): ditto
3169
3170         * text.C: adjust several funcs.
3171
3172 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3173
3174         * text.C (selectNextWordToSpellcheck): don't accidentally
3175         skip insets
3176
3177 2003-04-10  John Levon  <levon@movementarian.org>
3178
3179         * ToolbarBackend.C (getIcon): special handling for
3180         LFUN_MATH_DELIM
3181
3182 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3183
3184         * text2.C (cursorRight): a getChar assert fixed
3185
3186 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3187
3188         * text2.C (getFont): change to take a ParagraphList::iterator
3189         instead of Paragraph*
3190         Adjust several functions.
3191
3192         * text.C (transformChar): change to take a ParagraphList::iterator
3193         instead of Paragraph*
3194         (singleWidth): ditto
3195         Adjust several functions.
3196
3197         * rowpainter.C: adjust several functions
3198         * rowpainter.h:store a ParagraphList::iterator and not a
3199         Paragraph&.
3200
3201
3202 2003-04-09  John Levon  <levon@movementarian.org>
3203
3204         * lyxfunc.C:
3205         * lfuns.h:
3206         * LyXAction.h:
3207         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3208         and the "help" bits as well
3209
3210 2003-04-09  John Levon  <levon@movementarian.org>
3211
3212         * ToolbarBackend.h:
3213         * ToolbarBackend.C: allow multiple toolbars
3214
3215 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3216
3217         * undo_funcs.C (setCursorParUndo): adjust
3218
3219         * text_funcs.C (transposeChars): adjust
3220
3221         * text3.C (gotoNextInset): adjust
3222         (dispatch): adjust
3223
3224         * text2.C (setLayout): adjust
3225         (changeDepth): adjust
3226         (setFont): adjust
3227         (redoParagraphs): adjust
3228         (selectionAsString): adjust
3229         (setParagraph): adjust
3230         (insertInset): adjust
3231         (cutSelection): adjust
3232         (copySelection): adjust
3233         (pasteSelection): adjust
3234         (insertStringAsLines): adjust
3235         (updateInset): adjust
3236         (setCursor): change to take a ParagraphList::iterator parameter
3237         (setCursorIntern): change to take a ParagraphList::iterator parameter
3238         (setCurrentFont): adjust
3239         (cursorLeft): adjust
3240         (cursorRight): adjust
3241         (deleteEmptyParagraphMechanism): adjust
3242
3243         * text.C (breakParagraph): adjust
3244         (insertChar): adjust
3245         (acceptChange): adjust
3246         (rejectChange): adjust
3247         (selectNextWordToSpellcheck): adjust
3248         (changeCase): adjust
3249         (Delete): adjust
3250         (backspace): adjust
3251
3252         * lyxfind.C (SearchForward): adjust
3253         (SearchBackward): adjust
3254         (nextChange): adjust
3255
3256         * lyxcursor.C (par): adjust
3257
3258         * lyxcursor.h: store a ParagraphList::iterator instead of a
3259         Paragraph*
3260
3261         * lyx_cb.C (getPossibleLabel): adjust
3262
3263         * bufferview_funcs.C (toggleAndShow): adjust
3264
3265         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3266         (dispatch): adjust
3267
3268         * BufferView.C (removeAutoInsets): adjust
3269         (lockedInsetStoreUndo): adjust
3270
3271 2003-04-09  John Levon  <levon@movementarian.org>
3272
3273         * ToolbarBackend.C: try icon without argument
3274         if with argument fails
3275
3276 2003-04-08  John Levon  <levon@movementarian.org>
3277
3278         * ToolbarBackend.h:
3279         * ToolbarBackend.C: add getIcon(), handle tooltip,
3280         and change from "Icon" to "Item".
3281
3282 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3283
3284         * BufferView.C (lockInset): another bad getchar crunched
3285
3286 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3287
3288         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3289         again)
3290
3291 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3292
3293         * lyxfind.C (searchForward, searchBackwards): bug 782
3294
3295 2003-04-07  John Levon  <levon@movementarian.org>
3296
3297         * paragraph.C: remove dead comment
3298
3299         * text.C: remove troublesome depth-fiddling code
3300         in leftMargin() and rightMargin() (bug 1017)
3301
3302         * text.C: fix breaking of rows in nested lists
3303         (bug 1004)
3304
3305         * text2.C (updateCounters): fix up depth values
3306         (bug 1013)
3307
3308 2003-04-07  John Levon  <levon@movementarian.org>
3309
3310         * BufferView_pimpl.C: clear message when doc finishes resizing,
3311         and after a mouse event
3312
3313         * lyxfunc.C: clear message after exiting inset
3314
3315 2003-04-07  John Levon  <levon@movementarian.org>
3316
3317         * bufferview_funcs.C: show math status not outside
3318         status in the statusbar
3319
3320 2003-04-07  John Levon  <levon@movementarian.org>
3321
3322         * lyxfunc.C: note status changed after a depth change
3323
3324 2003-04-04  Angus Leeming  <leeming@lyx.org>
3325
3326         * LaTeX.h: move AuxInfo operator==, != out of line.
3327         Remove LaTeX virtual destructor; nothing derives from it.
3328         Move operator()() out of public area and rename it startscript().
3329         Change protected for private.
3330
3331 2003-04-04  Angus Leeming  <leeming@lyx.org>
3332
3333         * lyxfunc.C:
3334         * text2.C: remove unneeded #includes.
3335
3336 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3337
3338         * text2.C (dEPM): fix the heigth of the next row
3339
3340 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3341
3342         * text.C: squashed an invalid getChar requester + some ws changes
3343
3344 2003-04-03  John Levon  <levon@movementarian.org>
3345
3346         * bufferview_funcs.h:
3347         * bufferview_funcs.C:
3348         * lyxfunc.C:
3349         * lyxtext.h:
3350         * text2.C: make getStatus work for the env depth lfuns
3351
3352 2003-04-03  John Levon  <levon@movementarian.org>
3353
3354         * bufferview_funcs.h:
3355         * bufferview_funcs.C:
3356         * lyxfunc.C:
3357         * lyxtext.h:
3358         * text2.C: parlistize decDepth(), by merging it with incDepth()
3359
3360 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3361
3362         * lyxrow.h: store a ParagraphList::iterator instead of a
3363         Paragraph* and adjust other class functions to suit.
3364
3365         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3366         above.
3367
3368 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3369
3370         * text2.C (setCursor): do not anchor to cursor row for the time being
3371
3372 2003-04-02  John Levon  <levon@movementarian.org>
3373
3374         * LyXAction.C:
3375         * lfuns.h:
3376         * lyx_main.C:
3377         * lyxtext.h:
3378         * text.C:
3379         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3380
3381 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3382
3383         * paragraph.h: make ParagraphList and ParagraphList::iterator
3384         friends of Paragraph.
3385
3386         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3387
3388         * ParagraphList.C: Use the private next_ and previous_ from
3389         Paragraph.
3390
3391 2003-04-01  John Levon  <levon@movementarian.org>
3392
3393         * ToolbarBackend.h:
3394         * ToolbarBackend.C:
3395         * Makefile.am: rename, remove defaults gunk
3396
3397         * MenuBackend.h:
3398         * MenuBackend.C: remove defaults gunk
3399
3400         * Languages.h:
3401         * Languages.C: remove defaults gunk
3402
3403         * lyx_main.h:
3404         * lyx_main.C: error out if files couldn't be found.
3405
3406 2003-04-02  John Levon  <levon@movementarian.org>
3407
3408         * text2.C: make incDepth() use parlist
3409
3410 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3411
3412         * undo_funcs.C (firstUndoParagraph): adjust
3413
3414         * text3.C (gotoInset): adjust
3415         (dispatch): adjust, and rewrite loop.
3416
3417         * text2.C (init): adjust, and rewrite loop.
3418         (redoParagraphs): adjust
3419         (updateInset): adjust, and rewrite loop.
3420         (deleteEmptyParagraphMechanism): adjust
3421
3422         * tabular.C (LyXTabular): adjust
3423         (SetMultiColumn): adjust
3424         (TeXRow): adjust
3425
3426         * lyxtext.[Ch] (ownerParagraph): delete function
3427         (ownerParagraphs): new function returns a ParagraphList.
3428
3429         * BufferView.C (removeAutoInsets): adjust
3430         (insertErrors): adjust
3431         (setCursorFromRow): adjust
3432
3433 2003-04-01  Angus Leeming  <leeming@lyx.org>
3434
3435         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3436         in the frontends.
3437
3438 2003-04-02  John Levon  <levon@movementarian.org>
3439
3440         * lyxtext.h:
3441         * text.C:
3442         * Makefile.am:
3443         * text_funcs.h:
3444         * text_funcs.C: make transposeChars a free function
3445
3446         * lyxrow_funcs.C: remove wrong comment
3447
3448 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3449
3450         * lyxtext.h: adjust
3451         * rowpainter.C: adjust
3452         * text.C: adjust
3453         * text2.C: adjust
3454         * text3.C: adjust
3455
3456         * lyxrow_funcs. [Ch]: new files
3457
3458         * lyxrow.[Ch]: remove next and previous pointers
3459         (next,previous): remove accessor functions
3460         (isParEnd): move to lyxrow_funcs
3461         (lastPos): move to lyxrow_funcs
3462         (nextRowIsAllInset): move to lyxrow_funcs
3463         (lastPrintablePos): move to lyxrow_funcs
3464         (numberOfSeparators): move to lyxrow_funcs
3465         (numberOfHfills): move to lyxrow_funcs
3466         (numberOfLabelHfills): move to lyxrow_funcs
3467         (hfillExpansion): move to lyxrow_funcs
3468
3469         * lyxfunc.C: adjust
3470
3471         * bufferview_funcs.C (toggleAndShow): adjust
3472
3473         * RowList.h: Remove class RowList from file leave just a
3474         std::list<Row>.
3475
3476         * RowList.C: delete file
3477
3478         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3479         and lyxrow_funcs.h
3480
3481 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3482
3483         * text3.C (cursorPrevious): adjust
3484         (cursorNext): adjust
3485         (dispatch): adjust
3486
3487         * text2.C (redoHeightOfParagraph): adjust
3488         (redoDrawingOfParagraph): adjust
3489         (setCursor): adjust
3490
3491         * text.C (breakParagraph): adjust
3492         (insertChar): adjust
3493         (backspace): adjust
3494
3495         * rowpainter.C (RowPainter): adjust
3496         (leftMargin): simplify and adjust
3497         (most rowpainter functions): adjust.
3498
3499         * rowpainter.h: store the row as RowList::iterator not as Row*
3500
3501         * lyxcursor.C (row): taka RowList::iterator as arg
3502         (irow): ditto
3503
3504         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3505         of Row*.
3506
3507 2003-04-01  Angus Leeming  <leeming@lyx.org>
3508
3509         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3510         stuff like bool Bool.
3511
3512 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3513
3514         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3515         rewrite a loop
3516
3517 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3520         RowList::iterator.
3521
3522         * lyxtext.h (rows): drop one version and leve a const variant that
3523         returns a RowList::iterator.
3524
3525 2003-03-31  Angus Leeming  <leeming@lyx.org>
3526
3527         * text.C (fill): ensure that the signature is the same as that in the
3528         header file.
3529
3530 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3531
3532         * text2.C (redoParagraphs): adjust
3533         (updateCounters): adjust
3534         (checkParagraph): adjust
3535         (getColumnNearX): adjust and reformat a bit.
3536
3537         * text.C (top_y): adjust
3538         (workWidth): adjust
3539         (leftMargin): adjust
3540         (prepareToPrint): adjust
3541         (getRow): adjust
3542         (getRowNearY): adjust
3543
3544         * lyxtext.h: make rowlist_ mutable.
3545
3546         * RowList.h: add const_iterator
3547         * RowList.C: adjust for RowList::const_iterator.
3548
3549         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3550         adjust.
3551
3552 2003-03-31  John Levon  <levon@movementarian.org>
3553
3554         * lyxrc.h:
3555         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3556
3557         * lyx_main.C: set default fonts from using lyx_gui funcs
3558
3559         * exporter.C: pdf_mode moved from lyxrc
3560
3561         * lyx_cb.C:
3562         * lyxfunc.C: changes from above
3563
3564 2003-03-31  John Levon  <levon@movementarian.org>
3565
3566         * lyx_main.C: fix to the last fix
3567
3568 2003-03-31  John Levon  <levon@movementarian.org>
3569
3570         * bufferlist.C: "Load original" -> "Load Original"
3571
3572         * converter.C:
3573         * exporter.C:
3574         * importer.C:
3575         * lyx_main.C:
3576         * format.C: more Alert cleanups
3577
3578 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3579
3580         * text2.C (removeParagraph): make it take a RowList::iterator as
3581         arg, adjust.
3582         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3583         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3584
3585         * text.C (anchor_row): make it take a RowList::iterator as arg,
3586         adjust.
3587         (computeBidiTables): make it take a const reference to Row instead
3588         of Row pointer, adjust.
3589         (leftMargin): make it take a RowList::iterator as arg, adjust.
3590         (rowBreakPoint): adjust
3591         (breakAgainOneRow): make it take a RowList::iterator as arg,
3592         adjust.
3593         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3594
3595         * bufferview_funcs.C (toggleAndShow): adjust
3596
3597 2003-03-30  John Levon  <levon@movementarian.org>
3598
3599         * Makefile.am:
3600         * BoostFormat.h:
3601         * boost-inst.C: moved to support
3602
3603         * several files: changes as a result
3604
3605 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3606
3607         * text2.C (LyXText): adjust.
3608         (init): adjust
3609         (removeRow): make it take a RowList::iterator as arg, adjust.
3610         (fullRebreak): adjust
3611         (deleteEmptyParagraphMechanism): adjust
3612         (clearPaint): adjust
3613         (postPaint): adjust
3614
3615         * text.C (top_y): adjust
3616         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3617         (breakAgain): make it take a RowList::iterator as arg, adjust.
3618         (breakParagraph): adjust
3619         (insertChar): adjust
3620         (backspace): adjust
3621
3622         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3623         need_break_row, and refresh_row.
3624
3625         * text3.C (dispatch): adjust
3626
3627         * text2.C (checkParagraph): adjust
3628         (setCursor): adjust
3629         (setCursorFromCoordinates): adjust
3630
3631         * text.C (top_y): adjust
3632         (workWidth): adjust
3633         (getRow): make it return a RowList::iterator, adjust
3634         (getRowNearY): make it return a RowList::iterator, adjust
3635
3636         * text2.C (init): adjust
3637         (insertRow): remove function
3638         (insertParagraph): adjust
3639         (redoParagraphs): adjust
3640         (fullRebreak): adjust
3641         (updateCounters): adjust
3642
3643         * text.C (top_y): rewrite to use RowList iterators.
3644         (top_y): adjust
3645         (setHeightOfRow): rewrite to sue RowList iterators.
3646         (appendParagraph): adjust
3647         (breakAgain): adjust
3648         (breakAgainOneRow): adjust
3649         (breakParagraph): adjust
3650         (getRow): adjust
3651         (getRowNearY): adjust, and remove commented code.
3652
3653         * lyxtext.h (firstRow): delete function
3654         (lastRow): delete function
3655         (rows): new function (const and non-const versions.)
3656         (insertRow): delete function
3657
3658         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3659
3660 2003-03-29  John Levon  <levon@movementarian.org>
3661
3662         * BufferView_pimpl.C: always update scrollbar top
3663         because pasting text when we're anchored could mean we
3664         miss an update altogether
3665
3666 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3667
3668         * text2.C (init): use rowlist_.end() and not 0.
3669         (insertRow): change to take a RowList::iterator as arg, adjust
3670         for this.
3671         (insertParagraph): change to take a RowList::iterator as arg,
3672         adjust for this.
3673         (redoParagraphs): remove some debug msgs.
3674
3675         * text.C (appendParagraph): change to take a RowList::iterator
3676         arg, adjust for this.
3677         (breakAgain): add an assert
3678         (breakAgainOneRow): ditto
3679
3680 2003-03-29  John Levon  <levon@movementarian.org>
3681
3682         * text2.C: do not clear selection after inc/decDepth
3683         (bug 550)
3684
3685 2003-03-29  John Levon  <levon@movementarian.org>
3686
3687         * BufferView.C:
3688         * buffer.C: fix broken strerrors according to Lars
3689
3690 2003-03-29  John Levon  <levon@movementarian.org>
3691
3692         * converters.C: more Alert cleanups
3693
3694 2003-03-29  John Levon  <levon@movementarian.org>
3695
3696         * bufferview_funcs.C: remove pointless Alert
3697
3698         * buffer.C: fix confusing error message when
3699         a template is chmoded 000
3700
3701 2003-03-29  John Levon  <levon@movementarian.org>
3702
3703         * BufferView.C:
3704         * BufferView.h:
3705         * BufferView_pimpl.C: Alert fixes
3706
3707         * Makefile.am:
3708         * tabular.C:
3709         * tabular-old.C: remove unused table compat reading
3710
3711 2003-03-29  John Levon  <levon@movementarian.org>
3712
3713         * BufferView.C:
3714         * buffer.C:
3715         * lyx_cb.h:
3716         * lyx_cb.C: more Alert cleanups
3717
3718         * lyxfunc.C: don't allow chktex if not latex document
3719
3720 2003-03-29  John Levon  <levon@movementarian.org>
3721
3722         * lyx_cb.C:
3723         * BufferView.C:
3724         * buffer.C: warnings pushed down from support/,
3725         kill err_alert
3726
3727 2003-03-29  John Levon  <levon@movementarian.org>
3728
3729         * lyxfunc.C: safety check for C-r (revert)
3730
3731 2003-03-29  John Levon  <levon@movementarian.org>
3732
3733         * bufferlist.h:
3734         * bufferlist.C: several UI fixes using Alert::prompt.
3735         Fix the pointless looping quit code. Fix stupid revert
3736         behaviour (bug 938)
3737
3738         * lyxvc.h:
3739         * lyxvc.C:
3740         * lyx_cb.C: use Alert::prompt
3741
3742         * lyx_main.C: remove a silly question
3743
3744         * lyxfunc.C: remove a couple of silly questions,
3745         use Alert::prompt
3746
3747 2003-03-28  John Levon  <levon@movementarian.org>
3748
3749         * text2.C: fix bug 974 (End on empty par)
3750
3751 2003-03-28  John Levon  <levon@movementarian.org>
3752
3753         * BufferView_pimpl.C:
3754         * LyXAction.C:
3755         * lfuns.h: remove do-nothing math greek lfuns
3756
3757 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3758
3759         * lyxgluelength.h (isValidGlueLength): add default arg on
3760         parameter 2. Remove default arg from friend in class.
3761
3762         * lyxlength.h (isValidLength): add default arg on parameter 2.
3763         Remove default arg from friend in class.
3764
3765         * text2.C (LyXText): adjust, initialize refresh_row.
3766         (init): adjust
3767         (removeRow): adjust
3768         (insertRow): adjust
3769         (insertParagraph): adjst
3770         (redoParagraphs): adjust
3771         (fullRebreak): adjust
3772         (updateCounters): adjust
3773         (deleteEmptyParagraphMechanism): first attempt at fixing a
3774         crashing bug.
3775
3776         * text.C (top_y): adjust
3777         (setHeightOfRow): adjust
3778         (getRow): adjust
3779         (getRowNearY): adjust
3780
3781         * lyxtext.h: include RowList.h
3782         (~LyXText): not needed anymore, deleted.
3783         (firstRow): modify for RowList
3784         (lastRow): new function
3785         Delete firstrow and lastrow class variables, add a Rowlist
3786         rowlist_ class variable.
3787
3788         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3789         paragraph is empty.
3790
3791         * RowList.C (insert): fix case where it == begin().
3792
3793 2003-03-26  Angus Leeming  <leeming@lyx.org>
3794
3795         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3796         the thesaurus dialog.
3797
3798 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3799
3800         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3801
3802         * RowList.[Ch]: new files
3803
3804         * ParagraphList.C (erase): handle the case where it == begin
3805         correctly.
3806
3807 2003-03-25  John Levon  <levon@movementarian.org>
3808
3809         * Makefile.am:
3810         * aspell_local.h:
3811         * aspell.C: add new aspell support
3812
3813         * lyxrc.h:
3814         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3815         have it accessible.
3816
3817 2003-03-25  Angus Leeming  <leeming@lyx.org>
3818
3819         * lfuns.h:
3820         * LyXAction.C (init): new LFUN_INSET_INSERT.
3821
3822         * BufferView_pimpl.C (dispatch): split out part of the
3823         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3824
3825         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3826         LFUN_INSET_APPLY.
3827
3828 2003-03-25  Angus Leeming  <leeming@lyx.org>
3829
3830         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3831
3832 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3833
3834         * text2.C:
3835         * text3.C: remove useless row->height(0)
3836
3837 2003-03-25  John Levon  <levon@movementarian.org>
3838
3839         * lyxtext.h:
3840         * text2.C:
3841         * text3.C: rename the refreshing stuff to better names
3842
3843 2003-03-24  John Levon  <levon@movementarian.org>
3844
3845         * BufferView_pimpl.h:
3846         * BufferView_pimpl.C: update layout choice on a mouse
3847         press/release
3848
3849 2003-03-23  John Levon  <levon@movementarian.org>
3850
3851         * Makefile.am: fix commandtags.h reference
3852
3853 2003-03-22  John Levon  <levon@movementarian.org>
3854
3855         * BufferView_pimpl.C:
3856         * lyxtext.h:
3857         * rowpainter.C:
3858         * rowpainter.h:
3859         * text.C:
3860         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3861
3862 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3863
3864         * lyxtext.h:
3865         * text.C: take the rtl methods out of line
3866
3867 2003-03-21 André Pönitz <poenitz@gmx.net>
3868
3869         * metricsinfo.[Ch]: new files containing structures to be passed around
3870         during the two-phase-drawing...
3871
3872 2003-03-21 André Pönitz <poenitz@gmx.net>
3873
3874         * lyxtextclass.C: read 'environment' tag.
3875
3876 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3877
3878         * text2.C (removeRow): fix bug 964
3879
3880 2003-03-20  John Levon  <levon@movementarian.org>
3881
3882         * rowpainter.C:
3883         * text.C:
3884         * text2.C: paint cleanups. Inset::update() dropped font
3885         parameter
3886
3887 2003-03-19  John Levon  <levon@movementarian.org>
3888
3889         * lyxfunc.C: only fitcursor/markDirty if available()
3890
3891 2003-03-19  John Levon  <levon@movementarian.org>
3892
3893         * commandtags.h: rename to ...
3894
3895         * lfuns.h: ... this, and renumber / cleanup
3896
3897 2003-03-19  John Levon  <levon@movementarian.org>
3898
3899         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3900         fit the cursor after an lfun
3901
3902         * BufferView.h:
3903         * BufferView.C:
3904         * BufferView_pimpl.h:
3905         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3906
3907         * LyXAction.C: layout-character should have ReadOnly
3908
3909         * ParagraphParameters.C:
3910         * buffer.C:
3911         * bufferview_funcs.C:
3912         * lyx_cb.C:
3913         * lyxfind.C:
3914         * lyxtext.h:
3915         * text.C:
3916         * text2.C:
3917         * text3.C:
3918         * undo_funcs.C: changes from above
3919
3920 2003-03-18  John Levon  <levon@movementarian.org>
3921
3922         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3923         remove it from update()
3924
3925         * lyxfunc.C: update layout choice after an lfun
3926
3927         * text3.C: remove extra updateLayoutChoice()s
3928
3929 2003-03-18  John Levon  <levon@movementarian.org>
3930
3931         * text.C: top_y change means full repaint, fix
3932         a drawing bug with cursor movement
3933
3934 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3935
3936         * lyxtext.h:
3937         * text.C:
3938         * text2.C: anchor row on setCursor
3939
3940 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3941
3942         * lyxtext.h: remove almost all mutable keywords
3943         * text.C:
3944         * text2.C:
3945         * text3.C: remove const keywords accordingly
3946
3947 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3948
3949         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3950         anon namespace
3951         (TeXEnvironment): ditto
3952         (TeXOnePar): ditto
3953
3954 2003-03-17  John Levon  <levon@movementarian.org>
3955
3956         * text.C (rowBreakPoint): remove attempt to fix displayed
3957         math insets inside a manual label
3958
3959 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * lyxtext.h: remove BufferView* as first arg from almost all class
3962         functions.
3963         * other files: adjust.
3964
3965 2003-03-17  John Levon  <levon@movementarian.org>
3966
3967         * lyxtext.h:
3968         * undo_funcs.C:
3969         * text2.C: more paint cleanups
3970
3971         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3972
3973         * rowpainter.h:
3974         * rowpainter.C: remove "smart" background painting code
3975
3976 2003-03-16  John Levon  <levon@movementarian.org>
3977
3978         * lyxtext.h:
3979         * text.C:
3980         * text2.C:
3981         * text3.C: add helper functions for setting refresh_row/y
3982
3983 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3984
3985         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3986         newline inset which *can* get inserted in the pass_thru layouts.
3987         This is primarily for literate documents.
3988
3989 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3990
3991         * buffer.C: increment LYX_FORMAT to 223
3992
3993 2003-03-14 André Pönitz <poenitz@gmx.net>
3994
3995         * textclass.h: prepare for environment handling, ws changes
3996         * lyxlayout.C: read latexheader and latexfooter tags
3997
3998 2003-03-14  John Levon  <levon@movementarian.org>
3999
4000         * text2.C: rewrite ::status() a bit
4001
4002 2003-03-13  John Levon  <levon@movementarian.org>
4003
4004         * lyxtext.h: add some docs
4005
4006 2003-03-13  John Levon  <levon@movementarian.org>
4007
4008         * lyxtext.h:
4009         * text.C:
4010         * text2.C:
4011         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4012
4013 2003-03-13  John Levon  <levon@movementarian.org>
4014
4015         * text3.C: fix appendix redrawing
4016
4017 2003-03-13  John Levon  <levon@movementarian.org>
4018
4019         * text.C (setHeightOfRow):
4020         * rowpainter.h:
4021         * rowpainter.C: make appendix mark have the text
4022           "Appendix" so the user knows what it is
4023
4024         * LColor.h:
4025         * LColor.C: s/appendixline/appendix/ from above
4026
4027 2003-03-13  John Levon  <levon@movementarian.org>
4028
4029         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4030
4031         * text.C: fix a getChar(pos) bug properly
4032
4033 2003-03-13  Angus Leeming  <leeming@lyx.org>
4034
4035         * commandtags.h:
4036         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4037         Probably only temporary. Let's see how things pan out.
4038
4039         * BufferView.C (unlockInset):
4040         * BufferView_pimpl.C (fitCursor):
4041         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4042
4043         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4044         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4045
4046         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4047         new functions that convert ParagraphParameters to and from a string.
4048
4049         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4050         BufferView::Pimpl's dispatch.
4051         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4052
4053 2003-03-13 André Pönitz <poenitz@gmx.net>
4054
4055         * lyxfunc.C:
4056         * text3.C:
4057         * factory.C: make it aware of InsetEnv
4058
4059 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4060
4061         * text2.C (setCursor): never ask for one past last
4062         (setCursor): add some debugging messages.
4063
4064         * text.C (singleWidth): never ask for one past last
4065         (singleWidth): ditto
4066         (leftMargin): ditto
4067         (rightMargin): ditto
4068         (rowBreakPoint): ditto
4069         (setHeightOfRow): ditto
4070         (prepareToPrint): ditto
4071
4072         * rowpainter.C (paintBackground): never ask for one past last
4073         (paintText): never ask for one past last
4074
4075         * paragraph_pimpl.C (getChar): make the assert stricter, never
4076         allow the one past last pos to be taken
4077
4078         * paragraph.C (getChar): ws changes only
4079
4080         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4081         (numberOfSeparators): ditto
4082         (numberOfHfills): ditto
4083
4084 2003-03-12  John Levon  <levon@movementarian.org>
4085
4086         * author.h:
4087         * author.C:
4088         * bufferparams.h:
4089         * bufferparams.C:
4090         * paragraph_funcs.C: fix per-buffer authorlists
4091
4092 2003-03-12  John Levon  <levon@movementarian.org>
4093
4094         * text.C: fix newline in right address
4095
4096 2003-03-12  Angus Leeming  <leeming@lyx.org>
4097
4098         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4099         duplicate those in LyXFunc::dispatch.
4100
4101         * commandtags.h:
4102         * LyXAction.C:
4103         * ToolbarDefaults.C:
4104         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4105         Add LFUN_FONTFREE_UPDATE.
4106
4107         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4108         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4109
4110         * bufferview_func.[Ch]: several new functions to facilliate
4111         transfer of data to and from the character dialog.
4112
4113 2003-03-12  John Levon  <levon@movementarian.org>
4114
4115         * buffer.C:
4116         * paragraph.h:
4117         * paragraph.C:
4118         * paragraph_funcs.C:
4119         * paragraph_pimpl.C:
4120         * sgml.C:
4121         * tabular.C:
4122         * text.C:
4123         * text3.C: remove META_NEWLINE in favour of an inset
4124
4125         * rowpainter.h:
4126         * rowpainter.C: remove paintNewline (done by inset)
4127
4128 2003-03-12  John Levon  <levon@movementarian.org>
4129
4130         * paragraph_pimpl.C: complain about bad getChar()s
4131         for a while at least
4132
4133 2003-03-12  John Levon  <levon@movementarian.org>
4134
4135         * buffer.h:
4136         * buffer.C: move paragraph read into a separate function,
4137         a little renaming to reflect that.
4138
4139         * bufferparams.h:
4140         * bufferparams.C: remove the author_ids map, not necessary now
4141
4142         * factory.h:
4143         * factory.C: moved Buffer::readInset to here
4144
4145         * paragraph_funcs.h:
4146         * paragraph_funcs.C: readParagraph free function moved from
4147         buffer.C
4148
4149         * tabular.C: name change
4150
4151 2003-03-12  John Levon  <levon@movementarian.org>
4152
4153         * buffer.C:
4154         * ParagraphParameters.C: move par params input to
4155         a read() method
4156
4157         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4158         behave like a normal read from the stream wrt reading
4159         a line vs. a \\token
4160
4161 2003-03-12  John Levon  <levon@movementarian.org>
4162
4163         * paragraph.C:
4164         * ParagraphParameters.h:
4165         * ParagraphParameters.C: move output code to a
4166         ::write() method
4167
4168 2003-03-12  John Levon  <levon@movementarian.org>
4169
4170         * BufferView.C (insertLyXFile):
4171         * buffer.h:
4172         * buffer.C:
4173         * tabular.C: use a parlist iterator for creating the
4174           document.
4175
4176 2003-03-12  John Levon  <levon@movementarian.org>
4177
4178         * buffer.C: make current_change static local not
4179           static file-scope
4180
4181 2003-03-12  John Levon  <levon@movementarian.org>
4182
4183         * buffer.C: fix insertStringAsLines for change tracking
4184
4185 2003-03-12  John Levon  <levon@movementarian.org>
4186
4187         * BufferView.C:
4188         * tabular.C:
4189         * buffer.h:
4190         * buffer.C:
4191         * bufferparams.h:
4192         * bufferparams.C: move author list into params. Rename some
4193           functions. Move the header reading into a separate token
4194           loop. Move the header token reading into BufferParams.
4195
4196 2003-03-12  John Levon  <levon@movementarian.org>
4197
4198         * changes.C: put debug inside lyxerr.debugging() checks
4199
4200 2003-03-11 André Pönitz <poenitz@gmx.net>
4201
4202         * factory.C: make it aware of InsetHFill
4203
4204 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4205
4206         * buffer.C (latexParagraphs): move function from here...
4207         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4208         args.
4209
4210 2003-03-10  Angus Leeming  <leeming@lyx.org>
4211
4212         * LyXAction.C (init): fix bug in poplating array with multiple entries
4213         with the same LFUN (spotted by JMarc).
4214
4215 2003-03-10  John Levon  <levon@movementarian.org>
4216
4217         * text.C:
4218         * text2.C: move getColumnNearX() near its
4219         only call site
4220
4221 2003-03-10  John Levon  <levon@movementarian.org>
4222
4223         * text.C: fix break before a minipage
4224
4225 2003-03-10  John Levon  <levon@movementarian.org>
4226
4227         * text.C: fix the last commit
4228
4229 2003-03-09  John Levon  <levon@movementarian.org>
4230
4231         * lyxtext.h:
4232         * text.C:
4233         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4234         bug 365 (don't break before insets unless needed). Don't
4235         return a value > last under any circumstances.
4236
4237 2003-03-09  Angus Leeming  <leeming@lyx.org>
4238
4239         * BufferView_pimpl.C (trackChanges, dispatch): call
4240         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4241
4242 2003-03-09  Angus Leeming  <leeming@lyx.org>
4243
4244         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4245         than Dialogs::showAboutlyx().
4246
4247 2003-03-09  Angus Leeming  <leeming@lyx.org>
4248
4249         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4250         than Dialogs::showTabularCreate().
4251
4252 2003-03-09  John Levon  <levon@movementarian.org>
4253
4254         * lyxtext.h:
4255         * text.C:
4256         * text2.C: 3rd arg to nextBreakPoint was always the same.
4257           Use references.
4258
4259 2003-03-08  John Levon  <levon@movementarian.org>
4260
4261         * lyxrow.C:
4262         * paragraph.C:
4263         * paragraph.h:
4264         * rowpainter.C:
4265         * text.C:
4266         * text2.C: Remove the "main" bit from the "main body"
4267           notion.
4268
4269 2003-03-08  John Levon  <levon@movementarian.org>
4270
4271         * text.C (leftMargin): The left margin of an empty
4272         manual label paragraph should not include the label width
4273         string length.
4274
4275         * text.C (prepareToPrint): don't attempt to measure hfills
4276         for empty manual label paragraphs - the answer should be 0
4277
4278 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4279
4280         * CutAndPaste.C: remove commented code and reindent.
4281
4282 2003-03-08  John Levon  <levon@movementarian.org>
4283
4284         * lyxfunc.h:
4285         * lyxfunc.C: move reloadBuffer()
4286
4287         * BufferView.h:
4288         * BufferView.C: to here
4289
4290         * lyxvc.C: add comment
4291
4292         * vc-backend.h:
4293         * vc-backend.C: call bv->reload() to avoid
4294           getStatus() check on MENURELOAD
4295
4296 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4297
4298         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4299         to an old format .dep file.
4300
4301 2003-03-07  Angus Leeming  <leeming@lyx.org>
4302
4303         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4304         when the LFUN_MOUSE_RELEASE should have been handled by
4305         inset->localDispatch.
4306
4307 2003-03-07  Angus Leeming  <leeming@lyx.org>
4308
4309         * BufferView_pimpl.C (dispatch):
4310         * LyXAction.C (init):
4311         * ToolbarDefaults.C (init):
4312         * commandtags.h:
4313         * lyxfunc.C (getStatus):
4314         remove LFUN_INSET_GRAPHICS.
4315
4316         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4317
4318 2003-03-07  Angus Leeming  <leeming@lyx.org>
4319
4320         * commandtags.h:
4321         * LyXAction.C (init):
4322         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4323
4324         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4325
4326         * commandtags.h:
4327         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4328
4329         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4330         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4331
4332 2003-03-07  Angus Leeming  <leeming@lyx.org>
4333
4334         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4335         remove "ert".
4336
4337 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * ParagraphList.C (front): new function
4340         (back): implement
4341
4342 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4343
4344         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4345         and top_row_offset_. removed var first_y.
4346         * text.C (top_y):
4347         * text2.C (LyXText, removeRow):
4348         * text3.C:
4349         * BufferView_pimpl.C:
4350         use these methods instead of using first_y
4351
4352 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4353
4354         * text2.C (pasteSelection): adjust for checkPastePossible
4355
4356         * CutAndPaste.C: remove Paragraph * buf and replace with
4357         ParagraphList paragraphs.
4358         (DeleteBuffer): delete
4359         (cutSelection): change the tc type to textclass_type
4360         (copySelection): change the tc type to textclass_type
4361         (copySelection): adjust for ParagraphList
4362         (pasteSelection): change the tc type to textclass_type
4363         (pasteSelection): adjust for Paragraphlist
4364         (nrOfParagraphs): simplify for ParagraphList
4365         (checkPastePossible): simplify for ParagraphList
4366         (checkPastePossible): remove unused arg
4367
4368         * ParagraphList.C (insert): handle the case where there are no
4369         paragraphs yet.
4370
4371         * CutAndPaste.h: make CutAndPaste a namespace.
4372
4373         * text3.C (dispatch): adjust
4374
4375         * text.C (breakParagraph): add a ParagraphList as arg
4376
4377         * paragraph_funcs.C (breakParagraph): change to take a
4378         BufferParams and a ParagraphList as args.
4379         (breakParagraphConservative): ditto
4380         (mergeParagraph): ditto
4381         (TeXDeeper): add a ParagraphList arg
4382         (TeXEnvironment): ditto
4383         (TeXOnePar): ditto
4384
4385         * buffer.C (readLyXformat2): adjust
4386         (insertStringAsLines): adjust
4387         (latexParagraphs): adjust
4388
4389         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4390         (cutSelection): adjust
4391         (pasteSelection): adjust
4392
4393         * BufferView_pimpl.C (insertInset): adjust
4394
4395 2003-03-05  Angus Leeming  <leeming@lyx.org>
4396
4397         * commandtags.h:
4398         * LyXAction.C (init):
4399         * BufferView_pimpl.C (dispatch):
4400         * lyxfunc.C (getStatus):
4401         remove LFUN_CHILD_INSERT.
4402
4403         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4404
4405 2003-03-05  Angus Leeming  <leeming@lyx.org>
4406
4407         * commandtags.h:
4408         * LyXAction.C (init):
4409         * src/factory.C (createInset):
4410         * lyxfunc.C (getStatus):
4411         * text3.C (dispatch):
4412         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4413
4414         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4415
4416 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * ParagraphList.C (insert): handle insert right before end()
4419         (erase): fix cases where it can be first or last paragraph.
4420
4421 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4422
4423         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4424         Paragraph::next and Paragraph::previous
4425         (TeXOnePar): ditto
4426
4427         * text.C (breakParagraph): adjust
4428
4429         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4430         BufferParams& as arg.
4431         (breakParagraph): use ParagraphList::insert
4432         (breakParagraphConservative): take a Buffer* instead of a
4433         BufferParams& as arg.
4434         (breakParagraphConservative): use ParagraphList::insert.
4435
4436         * buffer.C (insertStringAsLines): un-const it
4437         (insertStringAsLines): adjust
4438
4439         * ParagraphList.C (insert): new function
4440
4441         * CutAndPaste.C (pasteSelection): adjust
4442
4443         * text.C (backspace): adjust
4444
4445         * tabular.C (SetMultiColumn): adjust
4446
4447         * CutAndPaste.C (cutSelection): adjust
4448         (pasteSelection): adjust
4449
4450         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4451         Buffer const * as arg
4452
4453         * ParagraphList.C (erase): new function
4454         * paragraph_funcs.C (mergeParagraph): use it
4455         (mergeParagraph): make it take a Buffer* instead of a
4456         BufferParams* as arg
4457
4458         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4459         as arg
4460         (breakParagraphConservative): ditto
4461
4462         * paragraph.h: remove the breakParagraph friend
4463
4464         * paragraph.C (eraseIntern): new function
4465         (setChange): new function
4466
4467         * paragraph_funcs.C (mergeParagraph): make it take a
4468         ParagraphList::iterator instead of a Paragraph *, adjust
4469         accordingly.
4470
4471         * paragraph.h: move an #endif so that the change tracking stuff
4472         also works in the NO_NEXT case.
4473
4474 2003-03-04  Angus Leeming  <leeming@lyx.org>
4475
4476         * commandtags.h:
4477         * LyXAction.C: new LFUN_INSET_MODIFY.
4478
4479         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4480         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4481
4482 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4483
4484         * several files: ws changes only
4485
4486         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4487         (TeXEnvironment): ditto
4488         (TeXDeeper): ditto
4489
4490         * buffer.C (makeLaTeXFile): adjust
4491         (latexParagraphs): make it take ParagraphList::iterator as args
4492
4493 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * buffer.C (latexParagraphs): adjust
4496
4497         * paragraph.C (TeXOnePar): move function...
4498         (optArgInset): move function...
4499         (TeXEnvironment): move function...
4500         * paragraph_pimpl.C (TeXDeeper): move function...
4501         * paragraph_funcs.C: ...here
4502
4503         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4504
4505 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4506
4507         * buffer.C (readInset): remove compability code for old Figure and
4508         InsetInfo insets
4509
4510 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4511
4512         * buffer.C: ws changes
4513         (readInset):
4514
4515         * BufferView_pimpl.C: ditto
4516         * author.C: ditto
4517         * buffer.h: ditto
4518         * bufferlist.h: ditto
4519         * changes.h: ditto
4520         * lyxfunc.C: ditto
4521
4522 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4523
4524         * converter.[Ch]: split into itself +
4525         * graph.[Ch]
4526         * format.[Ch]
4527         * Makefile.am: += graph.[Ch] + format.[Ch]
4528         * MenuBackend.C
4529         * buffer.C
4530         * exporter.C
4531         * importer.C
4532         * lyx_main.C
4533         * lyxfunc.C
4534         * lyxrc.C: added #include "format.h"
4535
4536 2003-02-27  Angus Leeming  <leeming@lyx.org>
4537
4538         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4539           a label.
4540
4541         * factory.C (createInset): add "label" to the factory.
4542
4543         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4544           string and do no more.
4545
4546 2003-02-27  Angus Leeming  <leeming@lyx.org>
4547
4548         * commandtags.h:
4549         * LyXAction.C (init):
4550         * factory.C (createInset):
4551         * BufferView_pimpl.C (dispatch):
4552           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4553
4554         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4555
4556         * lyxfunc.C (dispatch):
4557         * text3.C (dispatch): pass name to params2string.
4558
4559 2003-02-26  Angus Leeming  <leeming@lyx.org>
4560
4561         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4562           blocks together.
4563           Rearrange the ~includes. Strip out the unnecessary ones.
4564
4565         * factory.C (createInset): reformat.
4566           create new insets for the various LFUN_XYZ_APPLY lfuns.
4567
4568 2003-02-26  John Levon  <levon@movementarian.org>
4569
4570         * lyxrow.h:
4571         * lyxrow.C: add isParStart,isParEnd helpers
4572
4573         * paragraph.h: make isInserted/DeletedText take refs
4574
4575         * paragraph_funcs.h:
4576         * paragraph_funcs.C: remove #if 0'd code
4577
4578         * lyxtext.h:
4579         * text3.C:
4580         * text2.C:
4581         * text.C: use lyxrow helpers above.
4582           Move draw and paint routines to RowPainter.
4583           Make several methods use refs not pointers.
4584           Make backgroundColor() const.
4585           Add markChangeInDraw(), isInInset().
4586           Merge changeRegionCase into changeCase.
4587           Make workWidth() shouldn't-happen code into an Assert.
4588
4589         * rowpainter.h:
4590         * rowpainter.C: new class for painting a row.
4591
4592         * vspace.h:
4593         * vspace.C: make inPixels take a ref
4594
4595 2003-02-26  Angus Leeming  <leeming@lyx.org>
4596
4597         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4598         LFUN_REF_APPLY.
4599
4600 2003-02-25  John Levon  <levon@movementarian.org>
4601
4602         * ispell.C: give the forked command a more accurate name
4603
4604 2003-02-22  John Levon  <levon@movementarian.org>
4605
4606         * toc.h:
4607         * toc.C: make TocItem store an id not a Paragraph *
4608           (bug #913)
4609
4610 2003-02-21  Angus Leeming  <leeming@lyx.org>
4611
4612         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4613           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4614           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4615           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4616           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4617           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4618
4619         * BufferView_pimpl.C (dispatch):
4620         * LyXAction.C (init):
4621         * factory.C (createInset):
4622         * lyxfunc.C (getStatus, dispatch):
4623         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4624
4625 2003-02-21  Angus Leeming  <leeming@lyx.org>
4626
4627         * BufferView_pimpl.C (MenuInsertLyXFile):
4628         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4629         * lyxfunc.C (menuNew, open, doImport):
4630           no longer pass a LyXView & to fileDlg.
4631
4632 2003-02-21  Angus Leeming  <leeming@lyx.org>
4633
4634         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4635         * LyXAction.C: change, BIBKEY to BIBITEM.
4636         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4637         Change InsetBibKey to InsetBibitem.
4638         Change BIBKEY_CODE to BIBITEM_CODE.
4639         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4640         * factory.C: replace insetbib.h with insetbibitem.h.
4641         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4642         * paragraph.C: replace insetbib.h with insetbibitem.h.
4643         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4644         Change bibkey() to bibitem().
4645         * text.C: remove insetbib.h.
4646         * text2.C: replace insetbib.h with insetbibitem.h.
4647         change bibkey() to bibitem().
4648         * text3.C: remove insetbib.h.
4649         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4650
4651 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4652
4653         * lyxrc.C (output): enclose user email in quotes (in case there are
4654         several words)
4655
4656 2003-02-18  John Levon  <levon@movementarian.org>
4657
4658         * buffer.h: add std::
4659
4660 2003-02-17  John Levon  <levon@movementarian.org>
4661
4662         * SpellBase.h:
4663         * ispell.h:
4664         * ispell.C:
4665         * pspell.h:
4666         * pspell.C: reworking. Especially in ispell, a large
4667           number of clean ups and bug fixes.
4668
4669         * lyxfunc.C: fix revert to behave sensibly
4670
4671 2003-02-17 André Pönitz <poenitz@gmx.net>
4672
4673         * LyXAction.C:
4674         * commandtags.h: new LFUN_INSERT_BIBKEY
4675
4676         * layout.h:
4677         * lyxlayout.C:
4678         * buffer.C:
4679         * factory.C:
4680         * text.C:
4681         * text2.C:
4682         * text3.C:
4683         * paragraph.[Ch]:
4684         * paragraph_func.C: remove special bibkey handling
4685
4686 2003-02-17  John Levon  <levon@movementarian.org>
4687
4688         * text.C (Delete): fix case where delete at the end of
4689           the very first paragraph would not merge the pars
4690
4691 2003-02-17  John Levon  <levon@movementarian.org>
4692
4693         * lyxrow.C: fix lastPrintablePos()
4694
4695 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4696
4697         * bufferparams.C (writeLaTeX): add a std:here
4698
4699         * buffer.C: and remove a using directive there
4700
4701 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4702
4703         * buffer.C (makeLaTeXFile): move the code that generates the
4704           preamble...
4705
4706         * bufferparams.C (writeLaTeX): ... in this new method
4707
4708         * LaTeXFeatures.C (getEncodingSet): make const
4709           (getLanguages): make const
4710
4711         * MenuBackend.C (binding): returns the binding associated to this
4712           action
4713           (add): sets the status of each item by calling getStatus. Adds
4714           some intelligence.
4715           (read): add support for OptSubMenu
4716           (expand): remove extra separator at the end of expanded menu
4717
4718 2003-02-15  John Levon  <levon@movementarian.org>
4719
4720         * BufferView.C:
4721         * BufferView_pimpl.C:
4722         * bufferlist.h:
4723         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4724           inset code that had no actual effect. Remove unneeded status
4725           code.
4726
4727 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4728
4729         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4730           in preamble
4731
4732 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4733
4734         * text.C (drawLengthMarker): also draw an arrow marker for
4735           symbolic lengths (medskip...)
4736
4737 2003-02-14  John Levon  <levon@movementarian.org>
4738
4739         * tabular.h:
4740         * tabular.C: better method names
4741
4742 2003-02-14  John Levon  <levon@movementarian.org>
4743
4744         * BufferView_pimpl.C:
4745         * bufferlist.C:
4746         * buffer.C:
4747         * converter.C:
4748         * lyx_cb.C:
4749         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4750           it's a more accurate name. Remove some pointless uses.
4751
4752 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4753
4754         * text2.C (LyXText): change order of initilizers to shut off
4755           warnings
4756
4757 2003-02-14  John Levon  <levon@movementarian.org>
4758
4759         * buffer.C: use ParIterator for getParFromID()
4760
4761         * paragraph.h:
4762         * paragraph.C:
4763         * paragraph_pimpl.h:
4764         * paragraph_pimpl.C: remove unused getParFromID()
4765
4766 2003-02-14  John Levon  <levon@movementarian.org>
4767
4768         * buffer.C: remove some very old #if 0'd parse code
4769
4770 2003-02-13  John Levon  <levon@movementarian.org>
4771
4772         * text.h:
4773         * text.C:
4774         * text2.C: move hfillExpansion(), numberOfSeparators(),
4775           rowLast(), rowLastPrintable(), numberofHfills(),
4776           numberOfLabelHfills() ...
4777
4778         * lyxrow.h:
4779         * lyxrow.C: ... to member functions here.
4780
4781         * paragraph.h:
4782         * paragraph.C:
4783         * lyxtext.h:
4784         * text.C: remove LyXText::beginningOfMainBody(), and call
4785           p->beginningOfMainBody() directly. Move the check for
4786           LABEL_MANUAL into the latter.
4787
4788         * text.h:
4789         * text.C:
4790         * text2.C:
4791         * vspace.C:
4792         * BufferView.h:
4793         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4794
4795         * text.h:
4796         * text.C:
4797         * text2.C:
4798         * text3.C:
4799         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4800           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4801
4802 2003-02-13  John Levon  <levon@movementarian.org>
4803
4804         * CutAndPaste.C: remove debug
4805
4806 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4807
4808         * paragraph.C (asString): remove two unused variables
4809
4810         * lyxtextclass.C (readTitleType):
4811           (Read):
4812           (LyXTextClass): handle new members titletype_ and titlename_
4813
4814         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4815
4816 2003-02-09  John Levon  <levon@movementarian.org>
4817
4818         * buffer.h:
4819         * buffer.C: replace hand-coded list with a map for the dep clean
4820
4821 2003-02-08  John Levon  <levon@movementarian.org>
4822
4823         * LaTeX.C: consolidate code into showRunMessage() helper
4824
4825 2003-02-08  John Levon  <levon@movementarian.org>
4826
4827         * lyxfind.C:
4828         * lyxtext.h:
4829         * text2.C:
4830         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4831           and pass the size in explicitly
4832
4833         * BufferView_pimpl.h:
4834         * BufferView_pimpl.C:
4835         * BufferView.h:
4836         * BufferView.C: add getCurrentChange()
4837
4838         * BufferView_pimpl.h:
4839         * BufferView_pimpl.C: handle change lfuns
4840
4841         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4842           for changes. Mark pasted paragraphs as new.
4843
4844         * support/lyxtime.h:
4845         * support/lyxtime.C:
4846         * DepTable.C: abstract time_t as lyx::time_type
4847
4848         * LColor.h:
4849         * LColor.C: add colours for new text, deleted text, changebars
4850
4851         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4852           package use "usenames" option.
4853
4854         * commandtags.h:
4855         * lyxfunc.C:
4856         * LyXAction.C: add change lfuns
4857
4858         * Makefile.am:
4859         * author.h:
4860         * author.C: author handling
4861
4862         * buffer.h:
4863         * buffer.C: add a per-buffer author list, with first entry as
4864           current author. Handle new .lyx tokens for change tracking. Output
4865           author list to .lyx file. Output dvipost stuff to .tex preamble.
4866           Bump lyx format to 222.
4867
4868         * bufferlist.h:
4869         * bufferlist.C: add setCurrentAuthor() to reset current author details
4870           in all buffers.
4871
4872         * bufferparams.h:
4873         * bufferparams.C: add param for tracking
4874
4875         * bufferview_funcs.C: output change info in minibuffer
4876
4877         * Makefile.am:
4878         * changes.h:
4879         * changes.C: add change-tracking structure
4880
4881         * debug.h:
4882         * debug.C: add CHANGES debug flag
4883
4884         * lyxfind.h:
4885         * lyxfind.C: add code for finding the next change piece
4886
4887         * lyxrc.h:
4888         * lyxrc.C: add user_name and user_email
4889
4890         * lyxrow.h:
4891         * lyxrow.C: add a metric for the top of the text line
4892
4893         * lyxtext.h:
4894         * text.C: implement accept/rejectChange()
4895
4896         * lyxtext.h:
4897         * text.C: paint changebars. Paint new/deleted text in the chosen
4898         colours. Strike through deleted text.
4899
4900         * paragraph.h:
4901         * paragraph.C:
4902         * paragraph_pimpl.h:
4903         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4904           in the current change to the insert functions. Rework erase to
4905           mark text as deleted, adding an eraseIntern() and a range-based
4906           erase(). Implement per-paragraph change lookup and
4907           accept/reject.
4908
4909         * paragraph_funcs.C: Fixup paste for change tracking.
4910
4911         * tabular.C: mark added row/columns as new.
4912
4913         * text.C: fix rowLast() to never return -1. Don't allow
4914           spellchecking of deleted text. Track transpose changes. Don't
4915           allow paragraph break or merge where appropriate.
4916
4917         * text2.C: leave cursor at end of selection after a cut.
4918
4919 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4920
4921         * text.C (getLengthMarkerHeight):
4922         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4923         visible on screen too.
4924
4925 2003-02-07  John Levon  <levon@movementarian.org>
4926
4927         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4928
4929 2003-02-05  Angus Leeming  <leeming@lyx.org>
4930
4931         * lyxserver.C (read_ready): revert my patch of 11 September last year
4932         as it sends PC cpu through the roof. Presumably this means that
4933         the lyxserver will no longer run on an Alpha...
4934
4935 2003-01-30  Angus Leeming  <leeming@lyx.org>
4936
4937         * factory.C (createInset): create an InsetCommandParam of type "index"
4938         and use it to 'do the right thing'.
4939
4940         * text2.C (getStringToIndex): ensure that cursor position is always
4941         reset to the reset_cursor position.
4942
4943 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4944
4945         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4946         disabled.
4947
4948 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4949
4950         * bufferview.C:
4951         * lyxcb.C:
4952         * lyxfunc.C: Output messages with identical spelling, punctuation,
4953         and spaces
4954
4955 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4956
4957         * MenuBackend.C (expandFormats): List only viewable export formats
4958         in "View" menu
4959
4960         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4961         message
4962
4963         * lyxfunc.C (getStatus): Make sure that formats other than
4964         "fax" can also be disabled
4965
4966 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4967
4968         * text3.C (dispatch): put the lfuns that insert insets in 3
4969         groups, and call doInsertInset with appropriate arguments.
4970         (doInsertInset): new function, that creates an inset and inserts
4971         it according to some boolean parameters.
4972
4973 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4974
4975         * buffer.C (readFile): remember to pass on 'par' when calling
4976         readFile recursively.
4977
4978 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4979
4980         * MenuBackend.C (expandFormats): add "..." to import formats.
4981
4982 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4983
4984         * paragraph.C (asString): Remove XForms RTL hacks.
4985
4986 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4987         * buffer.C: fix typo
4988
4989 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * Makefile.am (LIBS): delete var
4992         (lyx_LDADD): add @LIBS@ here instead.
4993
4994 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4995
4996         * Clarify the meaning of "wheel mouse jump"
4997
4998 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4999
5000         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5001         tabular in a float
5002
5003 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5004
5005         * importer.C (Loaders): do not preallocate 3 elements in the
5006         vector, since one ends up with 6 elements otherwise
5007
5008 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5009
5010         * DepTable.C (write): write the file name as last element of the
5011         .dep file (because it may contain spaces)
5012         (read): read info in the right order
5013
5014 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5015
5016         * paragraph_pimpl.C (simpleTeXBlanks):
5017         (simpleTeXSpecialChars):
5018         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5019
5020         * tabular.C (latex): add some missing case statements. Reindent.
5021
5022         * MenuBackend.C (expandToc): remove unused variable.
5023
5024 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5025
5026         * LColor.C:
5027         * LaTeX.C:
5028         * LyXAction.C:
5029         * MenuBackend.C:
5030         * buffer.C:
5031         * exporter.C:
5032         * lyxfunc.C:
5033         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5034         and the like.
5035
5036 2003-01-05  John Levon  <levon@movementarian.org>
5037
5038         * BufferView.h:
5039         * BufferView.C: add getEncoding()
5040
5041         * kbsequence.h:
5042         * kbsequence.C: do not store last keypress
5043
5044         * lyxfunc.h:
5045         * lyxfunc.C: store last keypress here instead. Pass encoding
5046           to getISOEncoded()
5047
5048 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5049
5050         * lyx_main.C (init): remove annoying error message when following
5051         symbolic links (bug #780)
5052
5053 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5054
5055         * text.C (insertChar):
5056         * lyxrc.C (getDescription): remove extra spaces
5057
5058 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5059
5060         * lyxrc.C (getDescription): remove extra spaces
5061
5062 2002-12-20  John Levon  <levon@movementarian.org>
5063
5064         * text3.C: hack fix for page up/down across tall rows
5065
5066 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5067
5068         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5069         not been invoked
5070
5071 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5072
5073         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5074         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5075         thesaurus is not compiled in
5076
5077 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5078
5079         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5080
5081 2002-12-16  Angus Leeming  <leeming@lyx.org>
5082
5083         * lyxrc.[Ch]:
5084         * lyx_main.C (init): remove override_x_deadkeys stuff.
5085
5086 2002-12-12  John Levon  <levon@movementarian.org>
5087
5088         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5089           insert. Only remove shift modifier under strict
5090           circumstances.
5091
5092 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5093
5094         * MenuBackend.C (expandToc): fix crash.
5095
5096 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5097
5098         * MenuBackend.C (expandToc): gettext on float names.
5099
5100 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5101
5102         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5103         implement bool empty() [bug 490]
5104
5105 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5108
5109 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5110
5111         * several files: ws changes
5112
5113 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5114
5115         * text2.C (setCounter): clean up a bit, use boost.format.
5116         (updateCounters): initialize par upon declaration.
5117
5118         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5119         if the layout exists. We do not just store the layout any more.
5120         (SwitchLayoutsBetweenClasses): use boost.format
5121
5122 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5123
5124         * converter.C (convert): if from and to files are the same, use a
5125         temporary files as intermediary
5126
5127 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5128
5129         * commandtags.h:
5130         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5131
5132 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5133
5134         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5135
5136 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5137
5138         * tabular.C (asciiPrintCell): use string(size, char) instead of
5139         explicit loop.
5140
5141         * sgml.C (openTag): fix order of arguments to string constructor
5142         (closeTag): ditto
5143
5144         * lyxfunc.C (dispatch): use boost.format
5145
5146         * lots of files: change "c" -> 'c'
5147
5148 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5149
5150         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5151
5152 2002-11-25  Angus Leeming  <leeming@lyx.org>
5153
5154         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5155
5156         * lyx_main.C (init): compile fix.
5157
5158 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5159
5160         * lyx_cb.C (start): boost.formatify
5161         do not include <iostream>
5162
5163         * lengthcommon.C: ws only
5164
5165         * boost-inst.C,BoostFormat.h: add more explict instantations
5166
5167 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * lots of files: handle USE_BOOST_FORMAT
5170
5171 2002-11-21  John Levon  <levon@movementarian.org>
5172
5173         * pspell.C: fix compile
5174
5175 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5176
5177         * lyxfunc.C (dispatch): use boost::format
5178         (open): ditto
5179         (doImport): ditto
5180
5181         * lyxfont.C (stateText): use boost::format
5182
5183         * lyx_main.C (LyX): use boost::format
5184         (init): ditto
5185         (queryUserLyXDir): ditto
5186         (readRcFile): ditto
5187         (parse_dbg): ditto
5188         (typedef boost::function): use the recommened syntax.
5189
5190         * importer.C (Import): use boost::format
5191
5192         * debug.C (showLevel): use boost::format
5193
5194         * converter.C (view): use boost::format
5195         (convert): ditto
5196         (move): ditto
5197         (scanLog): ditto
5198
5199         * bufferview_funcs.C (currentState): use boost::format
5200
5201         * bufferlist.C (emergencyWrite): use boost::format
5202
5203         * buffer.C (readLyXformat2): use boost::format
5204         (parseSingleLyXformat2Token): ditto
5205
5206         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5207
5208         * LaTeX.C (run): use boost::format
5209
5210         * Chktex.C (scanLogFile): use boost::format
5211
5212         * BufferView_pimpl.C (savePosition): use boost::format
5213         (restorePosition): ditto
5214         (MenuInsertLyXFile): ditto
5215
5216         * BoostFormat.h: help file for explicit instation.
5217
5218 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5219
5220         * tabular.C (latex): Support for block alignment in fixed width
5221         columns.
5222
5223 2002-11-17  John Levon  <levon@movementarian.org>
5224
5225         * BufferView_pimpl.C:
5226         * lyx_cb.C:
5227         * lyxfunc.C: split filedialog into open/save
5228
5229 2002-11-08  Juergen Vigna  <jug@sad.it>
5230
5231         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5232         by my last patch (hopefully).
5233
5234 2002-11-08  John Levon  <levon@movementarian.org>
5235
5236         * iterators.h:
5237         * iterators.C:
5238         * buffer.h:
5239         * buffer.C:
5240         * paragraph.h:
5241         * paragraph.C:
5242         * toc.h:
5243         * toc.C: ParConstIterator, and use it (from Lars)
5244
5245 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5246
5247         * lyxtextclass.[Ch]: revise and add doxygen comments
5248
5249 2002-11-07  John Levon  <levon@movementarian.org>
5250
5251         * text.C: fix progress value for spellchecker
5252
5253         * toc.C: fix navigate menu for insetwrap inside minipage
5254
5255         * paragraph_funcs.C: added FIXME for suspect code
5256
5257 2002-11-07  John Levon  <levon@movementarian.org>
5258
5259         * BufferView_pimpl.C: fix redrawing of insets
5260           on buffer switch
5261
5262 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5263
5264         * text2.C (updateCounters): fix bug 668
5265
5266 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5267
5268         * text3.C (dispatch): Do not make the buffer dirty when moving the
5269         cursor.
5270
5271 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5272
5273         * vc-backend.C: STRCONV
5274         (scanMaster): ditto
5275
5276         * text2.C (setCounter): STRCONV
5277
5278         * paragraph.C (asString): STRCONV
5279
5280         * lyxlength.C (asString): STRCONV
5281         (asLatexString): ditto
5282
5283         * lyxgluelength.C (asString): STRCONV
5284         (asLatexString): ditto
5285
5286         * lyxfunc.C (dispatch): STRCONV
5287         (open): ditto
5288
5289         * lyxfont.C (stateText): STRCONV
5290
5291         * importer.C (Import): STRCONV
5292
5293         * counters.C (labelItem): STRCONV
5294         (numberLabel): ditto
5295         (numberLabel): remove unused ostringstream o
5296
5297         * chset.C: STRCONV
5298         (loadFile): ditto
5299
5300         * bufferview_funcs.C (currentState): STRCONV
5301
5302         * buffer.C (readFile): STRCONV
5303         (asciiParagraph): ditto
5304         (makeLaTeXFile): ditto
5305
5306         * Spacing.C (writeEnvirBegin): STRCONV
5307
5308         * LaTeXFeatures.C (getLanguages): STRCONV
5309         (getPackages): ditto
5310         (getMacros): ditto
5311         (getBabelOptions): ditto
5312         (getTClassPreamble): ditto
5313         (getLyXSGMLEntities): ditto
5314         (getIncludedFiles): ditto
5315
5316         * LaTeX.C: STRCONV
5317         (run): ditto
5318         (scanAuxFile): ditto
5319         (deplog): ditto
5320
5321         * LString.h: add the STRCONV macros
5322
5323         * BufferView_pimpl.C (savePosition): STRCONV
5324         (restorePosition): ditto
5325         (MenuInsertLyXFile): ditto
5326
5327         * vc-backend.C (scanMaster): change from submatch[...] to
5328         submatch.str(...)
5329
5330         * funcrequest.C: include config.h
5331
5332         * factory.C: include config.h
5333
5334         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5335
5336         * box.C: include config.h
5337
5338         * LaTeX.C (scanAuxFile): change from submatch[...] to
5339         submatch.str(...)
5340         (deplog): ditto
5341
5342 2002-10-25  Angus Leeming  <leeming@lyx.org>
5343
5344         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5345
5346         * ispell.[Ch] (setError): new method.
5347         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5348         Use setError() insetead of goto END.
5349
5350         * lyx_cb.C (AutoSave): move out child process into new class
5351         AutoSaveBuffer.
5352
5353 2002-10-30  John Levon  <levon@movementarian.org>
5354
5355         * text3.C: make start appendix undoable
5356
5357 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5358
5359         * lyxlength.C (inPixels): Fix returned value.
5360
5361         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5362         environment.
5363
5364 2002-10-24  Angus Leeming  <leeming@lyx.org>
5365
5366         * lyxgluelength.h: no need to forward declare BufferParams
5367         or BufferView, so don't.
5368
5369 2002-10-21  John Levon  <levon@movementarian.org>
5370
5371         * BufferView.C: menuUndo ->undo, redo
5372
5373         * BufferView.h: document, remove dead, make some methods private
5374
5375         * paragraph_funcs.h:
5376         * paragraph_funcs.C:
5377         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5378
5379         * buffer.h:
5380         * buffer.C:
5381         * sgml.h:
5382         * sgml.C: move sgml open/close tag into sgml.C
5383
5384         * bufferview_funcs.h: unused prototype
5385
5386         * lyxfunc.h:
5387         * lyxfunc.C: remove unused
5388
5389         * lyxtext.h:
5390         * text.C: remove unused
5391
5392 2002-10-21  John Levon  <levon@movementarian.org>
5393
5394         * BufferView.h:
5395         * BufferView.C:
5396         * BufferView_pimpl.h:
5397         * BufferView_pimpl.C: fix mouse wheel handling based on
5398           patch from Darren Freeman
5399
5400 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5401
5402         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5403
5404 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5405
5406         * lyxlength.C (inPixels): Fix hanfling of negative length.
5407         Fix LyXLength::MU case.
5408
5409 2002-10-16  John Levon  <levon@movementarian.org>
5410
5411         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5412
5413 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5414
5415         * converter.C (view): add support for $$i (file name) and $$p
5416         (file path) for the viewer command. If $$i is not specified, then
5417         it is appended to the command (for compatibility with old syntax)
5418
5419 2002-10-14  Juergen Vigna  <jug@sad.it>
5420
5421         * undo_funcs.C (textHandleUndo): alter the order in which the
5422         new undopar is added to the LyXText, as we have to set first
5423         the right prev/next and then add it as otherwise the rebuild of
5424         LyXText is not correct. Also reset the cursor to the right paragraph,
5425         with this IMO we could remove the hack in "redoParagraphs()".
5426
5427 2002-10-09  Angus Leeming  <leeming@lyx.org>
5428
5429         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5430         to turn off an optimisation if a new inset is to be inserted.
5431
5432 2002-10-11 André Pönitz <poenitz@gmx.net>
5433
5434         * lyxtext.h: make some functions public to allow access
5435         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5436
5437 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5438
5439         * text3.C (dispatch): when changing layout, avoid an infinite loop
5440         [bug #652]
5441
5442 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5443
5444         * lyxrc.C (read): treat a viewer or converter command of "none" as
5445         if it were empty.
5446
5447         * MenuBackend.C (expandFormats): for an update, also allow the
5448         formats that are not viewable
5449
5450         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5451         script if it is newer than the lyxrc.defaults in user directory
5452
5453 2002-10-07 André Pönitz <poenitz@gmx.net>
5454
5455         * text.C: Vitaly Lipatov's small i18n fix
5456
5457 2002-09-25  Angus Leeming  <leeming@lyx.org>
5458
5459         * ispell.h: doxygen fix.
5460
5461 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5462
5463         * buffer.h (readFile): Add a new argument to the method, to allow
5464         reading of old-format templates.
5465
5466 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5467
5468         * toc.C (getTocList): Get TOC from InsetWrap.
5469
5470 2002-09-16  John Levon  <levon@movementarian.org>
5471
5472         * lyxfunc.C: check tabular for cut/copy too
5473
5474 2002-09-12  John Levon  <levon@movementarian.org>
5475
5476         * LyXAction.C: tidy
5477
5478         * factory.h:
5479         * factory.C: add header
5480
5481         * paragraph_funcs.h:
5482         * paragraph_funcs.C: cleanup
5483
5484 2002-09-11  John Levon  <levon@movementarian.org>
5485
5486         * PrinterParams.h: odd/even default to true
5487
5488 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5489
5490         * PrinterParams.h: update printer parameters for new xforms dialog
5491
5492 2002-09-11  Angus Leeming  <leeming@lyx.org>
5493
5494         * lyxserver.C (read_ready): re-write to make it more transparent
5495         and to make it work in coherent fashion under Tru64 Unix.
5496
5497 2002-09-11  André Pönitz <poenitz@gmx.net>
5498
5499         * commandtags.h:
5500         * LyXAction.C:
5501         * text3.C: implement LFUN_WORDSEL
5502
5503 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5504
5505         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5506         make floatlist_ a boost::shared_ptr<FloatList>
5507
5508         * lyxtextclass.C: include FloatList.h
5509         (LyXTextClass): initialize floatlist_
5510         (TextClassTags): add TC_NOFLOAT
5511         (Read): match "nofloat" to TC_NOFLOAT and use it.
5512         (readFloat): modify call to floatlist_
5513         (floats): ditto
5514         (floats): ditto
5515
5516         * FloatList.[Ch] (FloatList): remove commented out float
5517         initialization.
5518         (erase): new function
5519
5520 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5521
5522         * MenuBackend.C (expandToc): fix crash when there is no document
5523         open
5524
5525 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5526
5527         * many files: Add insetwrap.
5528
5529 2002-09-09  John Levon  <levon@movementarian.org>
5530
5531         * text2.C: remove confusing and awkward depth wraparound
5532
5533 2002-09-09  John Levon  <levon@movementarian.org>
5534
5535         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5536
5537         * buffer.h:
5538         * buffer.C: remove getIncludeonlyList()
5539
5540         * paragraph.C:
5541         * lyxfunc.C: remove headers
5542
5543 2002-09-09  Juergen Vigna  <jug@sad.it>
5544
5545         * text.C (getColumnNearX): fix form Michael this is most
5546         probably a cut&paste bug.
5547
5548 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5549
5550         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5551
5552         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5553         references, ws changes.
5554
5555         * text2.C (init): update counters after init
5556         (insertParagraph): no need to set counter on idividual paragraphs.
5557         (setCounter): access the counters object in the textclass object
5558         on in the buffer object.
5559         (updateCounters): ditto
5560
5561         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5562         shared_ptr<Counters> to avoid loading counters.h in all
5563         compilation units.
5564         (LyXTextClass): initialize ctrs_
5565         (TextClassTags): add TC_COUNTER, and ...
5566         (Read): use it here.
5567         (CounterTags): new tags
5568         (readCounter): new function
5569         (counters): new funtion
5570         (defaultLayoutName): return a const reference
5571
5572         * counters.C (Counters): remove contructor
5573         (newCounter): remove a couple of unneeded statements.
5574         (newCounter): simplify a bit.
5575         (numberLabel): some small formatting changes.
5576
5577         * buffer.[Ch]: remove all traces of counters, move the Counters
5578         object to the LyXTextClass.
5579
5580 2002-09-06  Alain Castera  <castera@in2p3.fr>
5581
5582         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5583         package to set the horizontal alignment on fixed width columns.
5584
5585         * lyx_sty.C:
5586         * lyx_sty.h: added tabularnewline macro def.
5587
5588         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5589
5590 2002-09-06  John Levon  <levon@movementarian.org>
5591
5592         * LyXAction.C: tooltips for sub/superscript
5593
5594         * MenuBackend.C: a bit more verbose
5595
5596         * lyxfunc.C: tiny clean
5597
5598         * undo_funcs.C: document undo_frozen
5599
5600 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5601
5602         * counters.C (Counters): add missing algorithm counter.
5603
5604         * text2.C (setCounter): lookup the counter with layouts latexname
5605         instead of by section number.
5606         (setCounter): use a hackish way to lookup the correct enum
5607         counter.
5608         a float name->type change
5609         reset enum couners with counter name directly instead of depth value.
5610
5611         * counters.C (Counters): remove the push_backs, change to use the
5612         float type not the float name.
5613         (labelItem): remove unused string, float name->type change
5614
5615         * counters.h: don't include vector, loose the enums and sects vectors
5616
5617 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5618
5619         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5620         (Read): add float->TC_FLOAT to textclassTags
5621         (Read): and handle it in the switch
5622         (readFloat): new function
5623
5624         * FloatList.C (FloatList): comment out the hardcoded float
5625         definitions.
5626
5627         * lyxlayout.h: ws change.
5628
5629 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5630
5631         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5632
5633 2002-09-03  Angus Leeming  <leeming@lyx.org>
5634
5635         * BufferView_pimpl.h: qualified name is not allowed in member
5636         declaration: WorkArea & Pimpl::workarea() const;
5637
5638         * factory.C: added using std::endl directive.
5639
5640         * text3.C: added using std::find and std::vector directives.
5641
5642 2002-08-29  André Pönitz <poenitz@gmx.net>
5643
5644         * lyxtext.h:
5645         * text2.C: remove unused member number_of_rows
5646
5647         * Makefile.am:
5648         * BufferView2.C: remove file, move contents to...
5649         * BufferView.C: ... here
5650
5651         * BufferView_pimpl.C:
5652         * factory.C: move more inset creation to factory
5653
5654         * vspace.C: avoid direct usage of LyXText, ws changes
5655
5656         * BufferView.[Ch]:
5657                 don't provide direct access to WorkArea, use two simple
5658                 acessors haveSelction() and workHeight() instead
5659
5660
5661 2002-08-29  John Levon  <levon@movementarian.org>
5662
5663         * BufferView_pimpl.C (dispatch): do not continue when
5664           no buffer
5665
5666 2002-08-28  André Pönitz <poenitz@gmx.net>
5667
5668         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5669
5670         * BufferView.h:
5671         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5672
5673 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5674
5675         * buffer.C: increment LYX_FORMAT to 221
5676
5677         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5678         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5679
5680         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5681
5682         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5683
5684 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5685
5686         * factory.C (createInset): use LyXTextClass::floats
5687
5688         * MenuBackend.C (expandFloatListInsert):
5689         (expandFloatInsert):
5690         (expandToc):
5691
5692         * text2.C (setCounter):
5693
5694         * LaTeXFeatures.C (useFloat):
5695         (getFloatDefinitions):
5696
5697         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5698
5699         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5700         floatlist_, with accessor floats().
5701
5702         * FloatList.h: remove global FloatList
5703
5704 2002-08-26  André Pönitz <poenitz@gmx.net>
5705
5706         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5707
5708         * BufferView.h:
5709         * BufferView2.C:
5710         * BufferView_pimpl.C:
5711         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5712
5713 2002-08-25  John Levon  <levon@movementarian.org>
5714
5715         * LyXAction.C: fix margin note description
5716
5717 2002-08-24  John Levon  <levon@movementarian.org>
5718
5719         * buffer.C:
5720         * bufferlist.C:
5721         * bufferview_funcs.C:
5722         * lyxfont.C:
5723         * undo_funcs.C: cleanups
5724
5725         * lyxfunc.C: disable CUT/COPY when no selection
5726
5727 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5728
5729         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5730         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5731
5732         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5733         Add backward compatibility to "mono", "gray" and "no".
5734
5735 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5736
5737         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5738         (and file_format >= 200).
5739
5740 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5741
5742         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5743
5744 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5745
5746         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5747
5748 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5749
5750         * BufferView_pimpl.C:
5751         * LyXAction.C:
5752         * buffer.C:
5753         * commandtags.h:
5754         * lyxfunc.C:
5755         * paragraph.[Ch]:
5756         * text2.C:
5757         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5758         inset and code to make it  work with the paragraph code. The inset
5759         can be anywhere in the paragraph, but will only do the expected
5760         thing in LaTeX if the layout file contains the parameter line
5761                         OptionalArgs    1
5762         (or more generally, a nonzero value) for that layout.
5763
5764 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5765
5766         * paragraph.h: remove the declaration of undefined counters class
5767         function.
5768
5769 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5770
5771         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5772         Dr. Richard Hawkins.
5773
5774 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5775
5776         * paragraph_funcs.h: remove some unneeded includes
5777
5778         * text.C (backspace): pasteParagraph now in global scipe
5779
5780         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5781         (pasteSelection): ditto
5782
5783         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5784         * paragraph_funcs.C (pasteParagraph): ... here
5785
5786 2002-08-20  André Pönitz <poenitz@gmx.net>
5787
5788         * commandtags.h: new LFUNs for swapping/copying table row/colums
5789
5790         * LyXAction.C:
5791         * lyxfunc.C: support for new lfuns
5792
5793 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5794
5795         * tabular.C:
5796         * buffer.[Ch]: remove NO_COMPABILITY stuff
5797
5798 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5799
5800         * boost.C (throw_exception): new file, with helper function for
5801         boost compiled without exceptions.
5802
5803         * paragraph.h:
5804         * lyxlength.C:
5805         * buffer.C:
5806         * ParameterStruct.h:
5807         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5808
5809         * bufferlist.C (emergencyWriteAll): use boost bind
5810
5811         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5812
5813         * text.C: include paragraph_funcs.h
5814         (breakParagraph): breakParagraph is now in global scope
5815
5816         * paragraph_funcs.[Ch]: new files
5817
5818         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5819         global scope
5820
5821         * buffer.C: include paragraph_funcs.h
5822         (insertStringAsLines): breakParagraph is now in global scope
5823
5824         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5825         paragraph_funcs.C
5826
5827         * CutAndPaste.C: include paragraph_funcs.h
5828         (cutSelection): breakParagraphConservative is now in global scope
5829         (pasteSelection): ditto
5830
5831         * buffer.h: declare oprator== and operator!= for
5832         Buffer::inset_iterator
5833
5834         * bufferlist.C (emergencyWrite): don't use fmt(...)
5835
5836         * text3.C: add using std::endl
5837
5838         * BufferView.C (moveCursorUpdate): remove default arg
5839
5840 2002-08-20  André Pönitz <poenitz@gmx.net>
5841
5842         * buffer.[Ch]: move inline functions to .C
5843
5844         * BufferView2.C:
5845         * BufferView_pimpl.C:
5846         * text.C:
5847         * buffer.[Ch]: use improved inset_iterator
5848
5849         * buffer.C:
5850         * paragraph.[Ch]: write one paragraph at a time
5851
5852 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5853
5854         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5855         style if style is not specified.
5856
5857 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5858
5859         * text2.C (setCounter): when searching for right label for a
5860         caption, make sure to recurse to parent insets (so that a caption
5861         in a minipage in a figure float works) (bug #568)
5862
5863 2002-08-20  André Pönitz <poenitz@gmx.net>
5864
5865         * text3.C: new file for LyXText::dispatch() and helpers
5866
5867         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5868
5869         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5870
5871 2002-08-19  André Pönitz <poenitz@gmx.net>
5872
5873         * lyxtext.h:
5874         * text.C: new LyXText::dispatch()
5875
5876         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5877
5878 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5879
5880         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5881
5882         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5883         Hebrew text.
5884
5885 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5886
5887         * Makefile.am: use $(variables) instead of @substitutions@
5888
5889 2002-08-15  André Pönitz <poenitz@gmx.net>
5890
5891         * lyxfunc.C:
5892         * BufferView_pimpl.C: streamlining mathed <-> outer world
5893         interaction
5894
5895         * commandtags.h:
5896         * LyXAction.C: remove unused LFUN_MATH
5897
5898 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5899
5900         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5901
5902 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5903
5904         * paragraph.C (Paragraph): reformat a bit
5905         (cutIntoMinibuffer): use builtin InsetList function instad of
5906         doing it manually.
5907         (getInset): ditto
5908
5909         * buffer.C: include boost/bind.hpp, add using std::for_each
5910         (writeFileAscii): use ParagraphList iterators
5911         (validate): use for_each for validate traversal of paragraphs
5912         (getBibkeyList): use ParagraphList iterators
5913         (resizeInsets): use for_each to resizeInsetsLyXText for all
5914         paragraphs.
5915         (getParFromID): use ParagraphList iterators
5916
5917         * BufferView2.C (lockInset): use paragraph list and iterators
5918
5919 2002-08-14  John Levon  <levon@movementarian.org>
5920
5921         * lyxserver.C: remove spurious xforms include
5922
5923 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5924
5925         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5926
5927 2002-08-13  André Pönitz <poenitz@gmx.net>
5928
5929         * LyXAction.[Ch]:
5930         * lyxfunc.C: further cleaning
5931
5932 2002-08-13  André Pönitz <poenitz@gmx.net>
5933
5934         * funcrequest.h: new constructor
5935
5936         * funcrequest.C: move stuff here from .h
5937
5938         * Makefile.am:
5939         * BufferView_pimpl.C:
5940         * LyXAction.C:
5941         * toc.C:
5942         * lyxfunc.C: subsequent changes
5943
5944         * lyxfunc.h: new view() member function
5945
5946         * lyxfunc.C: subsequent changes
5947
5948 2002-08-13  Angus Leeming  <leeming@lyx.org>
5949
5950         * BufferView2.C:
5951         * BufferView_pimpl.C:
5952         * buffer.C:
5953         * converter.C:
5954         * importer.C:
5955         * lyxfunc.C:
5956         * lyxvc.C:
5957         * toc.C:
5958         * vc-backend.C:
5959         changes due to the changed LyXView interface that now returns references
5960         to member variables not pointers.
5961
5962 2002-08-13  Angus Leeming  <leeming@lyx.org>
5963
5964         * WordLangTuple (word, lang_code): return references to strings,
5965         not strings.
5966
5967         * BufferView.h:
5968         * SpellBase.h:
5969         * lyxtext.h: forward-declare WordLangTuple.
5970
5971         * BufferView2.C:
5972         * ispell.C:
5973         * pspell.C:
5974         * text.C: #include "WordLangTuple.h".
5975
5976         * lyxtext.h:
5977         * text.C: (selectNextWordToSpellcheck): constify return type.
5978
5979 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5980
5981         * buffer.C:
5982         * buffer.h:
5983         * lyxtext.h:
5984         * paragraph.C:
5985         * paragraph_pimpl.h:
5986         * text.C:
5987         * text2.C:
5988         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5989         suggested by Angus.
5990         Made updateCounter always count from start of buffer, and removed
5991         second argument (par).
5992         Reverted floats number display to '#'. Perhaps I'll try again when the
5993         code base is sanitized a bit.
5994
5995 2002-08-12  Angus Leeming  <leeming@lyx.org>
5996
5997         * buffer.[Ch] (getLabelList): constify.
5998
5999 2002-08-07  André Pönitz <poenitz@gmx.net>
6000
6001         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6002
6003         * funcrequest.h: extension to keep mouse (x,y) position
6004
6005 2002-08-12  Juergen Vigna  <jug@sad.it>
6006
6007         * BufferView2.C (insertErrors): forbid undo when inserting error
6008         insets.
6009
6010         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6011
6012 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * ParagraphList.[Ch]: new files
6015
6016         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6017
6018         * BufferView2.C (lockInset): ParagraphList changes
6019         * toc.C: ditto
6020         * text2.C: ditto
6021         * bufferlist.C: ditto
6022         * buffer.h: ditto
6023         * buffer.C: ditto
6024
6025 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6026
6027         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6028         unused class variable counter_,
6029
6030         * paragraph.[Ch] (getFirstCounter): delete unused function
6031
6032         * counters.C: include LAssert.h
6033         (reset): add a new function with no arg, change other version to
6034         not have def. arg and to not allow empty arg.
6035
6036         * text2.C (setCounter): remove empty arg from call to Counters::reset
6037
6038 2002-08-11  John Levon  <levon@movementarian.org>
6039
6040         * Makefile.am: add WordLangTuple.h
6041
6042 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6043
6044         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6045         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6046
6047         * insets/insettext.C: InsetList changes
6048
6049         * graphics/GraphicsSupport.C (operator()): InsetList changes
6050
6051         * toc.C (getTocList): InsetList changes
6052
6053         * paragraph_pimpl.[Ch]: InsetList changes
6054
6055         * paragraph.[Ch]: InsetList changes
6056
6057         * buffer.C (inset_iterator): InsetList changes
6058         (setParagraph): ditto
6059         * buffer.h (inset_iterator): ditto
6060         * iterators.C (operator++): ditto
6061         * iterators.h: ditto
6062
6063         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6064
6065         * InsetList.[Ch]: new files, most InsetList handling moved out of
6066         paragraph.C.
6067
6068         * BufferView2.C (removeAutoInsets): InsetList changes
6069         (lockInset): ditto
6070         (ChangeInsets): ditto
6071
6072 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * paragraph_pimpl.h (empty): new function
6075
6076         * paragraph.[Ch] (empty): new function
6077
6078         * other files: use the new Paragraph::empty function
6079
6080 2002-08-09  John Levon  <levon@movementarian.org>
6081
6082         * lyxtext.h: remove unused refresh_height
6083
6084 2002-08-09  John Levon  <levon@movementarian.org>
6085
6086         * Makefile.am:
6087         * sgml.h:
6088         * sgml.C:
6089         * buffer.C:
6090         * paragraph.h:
6091         * paragraph.C: move sgml char escaping out of paragraph
6092
6093         * paragraph.h:
6094         * paragraph.C: remove id setter
6095
6096         * buffer.C:
6097         * paragraph.C:
6098         * paragraph_pimpl.C: remove dead tex_code_break_column
6099
6100         * bufferview_funcs.C: small cleanup
6101
6102         * lyxfunc.C: remove dead proto
6103
6104         * lyxtext.h: make some stuff private. Remove some dead stuff.
6105
6106         * lyxgluelength.C: make as[LyX]String() readable
6107
6108 2002-08-08  John Levon  <levon@movementarian.org>
6109
6110         * LyXAction.h:
6111         * LyXAction.C:
6112         * MenuBackend.C:
6113         * ToolbarDefaults.C:
6114         * lyxfunc.C:
6115         * lyxrc.C:
6116         * toc.C: lyxaction cleanup
6117
6118 2002-08-08  John Levon  <levon@movementarian.org>
6119
6120         * BufferView2.C: small cleanup
6121
6122         * lyxfind.h:
6123         * lyxfind.C: move unnecessary header into the .C
6124
6125 2002-08-08  John Levon  <levon@movementarian.org>
6126
6127         * funcrequest.h: just tedious nonsense
6128
6129         * lyx_main.h:
6130         * lyx_main.C: cleanups
6131
6132         * buffer.C:
6133         * vspace.C: remove dead header lyx_main.h
6134
6135 2002-08-07  Angus Leeming  <leeming@lyx.org>
6136
6137         * Paragraph.[Ch]:
6138         * paragraph_pimpl.h:
6139         Forward declare class Counters in paragraph.h by moving the ctrs member
6140         variable into Paragraph::Pimpl.
6141         (counters): new method, returning a reference to pimpl_->ctrs.
6142
6143         * text2.C: ensuing changes.
6144
6145 2002-08-07  John Levon  <levon@movementarian.org>
6146
6147         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6148
6149         * BufferView_pimpl.C: announce X selection on double/triple
6150           click
6151
6152         * lyx_main.C: use correct bool in batch dispatch
6153
6154         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6155
6156 2002-08-07  André Pönitz <poenitz@gmx.net>
6157
6158         * funcrequest.h: new class to wrap a kb_action and its argument
6159
6160         * BufferView.[Ch]:
6161         * BufferView_pimpl[Ch]:
6162         * LaTeX.C:
6163         * LyXAction.[Ch]:
6164         * lyxfunc.[Ch]:
6165         * lyxrc.C: subsequent changes
6166
6167
6168 2002-08-07  John Levon  <levon@movementarian.org>
6169
6170         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6171           document options change.
6172
6173 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6174
6175         * counters.[Ch]
6176         * text2.C
6177         * paragraph.[Ch]
6178         * makefile.am: move counters functionality over from
6179         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6180
6181 2002-08-06  John Levon  <levon@movementarian.org>
6182
6183         * WordLangTuple.h: new file for word + language code tuple
6184
6185         * SpellBase.h:
6186         * pspell.h:
6187         * pspell.C:
6188         * ispell.h:
6189         * ispell.C:
6190         * lyxtext.h:
6191         * text.C:
6192         * text2.C:
6193         * BufferView.h:
6194         * BufferView2.C: use WordLangTuple
6195
6196         * layout.h:
6197         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6198
6199 2002-08-06  John Levon  <levon@movementarian.org>
6200
6201         * lyx_main.C: fix cmdline batch handling
6202
6203 2002-08-06  André Pönitz <poenitz@gmx.net>
6204
6205         * lyxrc.C: set default for show_banner to true
6206
6207 2002-08-06  John Levon  <levon@movementarian.org>
6208
6209         * pspell.C: fix a crash, and allow new aspell to work
6210
6211 2002-08-06  John Levon  <levon@movementarian.org>
6212
6213         * lyxfunc.C:
6214         * kbmap.C: small cleanup
6215
6216         * vspace.h:
6217         * vspace.C: add const
6218
6219 2002-08-05  John Levon  <levon@movementarian.org>
6220
6221         * LyXAction.C: back to tabular-insert
6222
6223 2002-08-04  John Levon  <levon@movementarian.org>
6224
6225         * BufferView.h:
6226         * BufferView.C: cosmetic change
6227
6228         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6229
6230         * bufferlist.C:
6231         * buffer.h:
6232         * buffer.C:
6233         * lyxcb.h:
6234         * lyxcb.C:
6235         * lyxserver.C:
6236         * lyxvc.C:
6237         * vc-backend.C:
6238         * BufferView2.C: purge all "Lyx" not "LyX" strings
6239
6240         * lyxcursor.h:
6241         * lyxcursor.C: attempt to add some documentation
6242
6243         * lyxfunc.C:
6244         * commandtags.h:
6245         * LyXAction.C:
6246         * ToolbarDefaults.C:
6247         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6248           merge with LFUN_TABULAR_INSERT
6249
6250         * Makefile.am:
6251         * SpellBase.h:
6252         * ispell.h:
6253         * ispell.C:
6254         * pspell.h:
6255         * pspell.C: split up i/pspell implementations into separate
6256           files, many cleanups
6257
6258         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6259
6260         * text2.C: some cleanup
6261
6262         * lyxfunc.C: don't check for isp_command == "none" any more, it
6263           didn't make any sense
6264
6265 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6266
6267         * counters.[Ch]
6268         * text2.C
6269         * paragraph.[Ch]
6270         * makefile.am: move counters functionality over
6271         from text2.C/paragraph.[Ch] to counters.[Ch], and
6272         make proper C++.
6273 2002-08-02  John Levon  <levon@movementarian.org>
6274
6275         * buffer.C: s/lyxconvert/lyx2lyx/
6276
6277 2002-08-02  Angus Leeming  <leeming@lyx.org>
6278
6279         * lyxlex.C: revert John's change as it breaks reading of the user
6280         preamble.
6281
6282 2002-08-02  Angus Leeming  <leeming@lyx.org>
6283
6284         * importer.C (Import):
6285         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6286         changes due to LyXView::view() now returning a boost::shared_ptr.
6287
6288 2002-08-02  John Levon  <levon@movementarian.org>
6289
6290         * lyxlex.C: small cleanup
6291
6292 2002-08-02  John Levon  <levon@movementarian.org>
6293
6294         * text2.C (status): small cleanup, no logic change
6295
6296 2002-08-01  John Levon  <levon@movementarian.org>
6297
6298         * buffer.h:
6299         * buffer.C (writeFile): don't output alerts, caller
6300           handles this
6301
6302         * bufferlist.C:
6303         * lyx_cb.C: from above
6304
6305         * lyxfunc.C: allow to open non-existent files
6306
6307 2002-07-31  John Levon  <levon@movementarian.org>
6308
6309         * lyxserver.C: don't let incidental errors get
6310           in the way (errno)
6311
6312 2002-07-30  John Levon  <levon@movementarian.org>
6313
6314         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6315
6316 2002-07-30  John Levon  <levon@movementarian.org>
6317
6318         * lyxserver.h:
6319         * lyxserver.C: remove I/O callback too
6320
6321 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6322
6323         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6324         log.
6325
6326 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6327
6328         * many files: strip,frontStrip -> trim,ltrim,rtrim
6329
6330 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * PrinterParams.h: remove extern containsOnly, and include
6333         support/lstrings.h instead.
6334
6335         * LaTeX.C (scanAuxFile): modify because of strip changes
6336         (deplog): ditto
6337         * buffer.C (makeLaTeXFile): ditto
6338         * bufferparams.C (writeFile): ditt
6339         * lyxfont.C (stateText): ditto
6340         * lyxserver.C (read_ready): ditto
6341         * vc-backend.C (scanMaster): ditto
6342
6343         * BufferView_pimpl.h: ws changes
6344
6345         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6346
6347 2002-07-26  André Pönitz <poenitz@gmx.net>
6348
6349         * kb_sequence.C: remove unnedred usings
6350
6351 2002-07-26  Juergen Vigna  <jug@sad.it>
6352
6353         * lyxfind.C (LyXReplace): we have to check better if the returned
6354         text is not of theLockingInset()->getLockingInset().
6355
6356 2002-07-25  Juergen Vigna  <jug@sad.it>
6357
6358         * lyxfind.C (LyXReplace): don't replace if we don't get the
6359         right LyXText.
6360
6361         * undo_funcs.C (createUndo): remove debugging code.
6362
6363 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6364
6365         * buffer.C (parseSingleLyXformat2Token): Use default placement
6366         when reading old floats.
6367
6368         * FloatList.C (FloatList): Change the default placement of figure
6369         and tables to "tbp".
6370
6371 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6372
6373         * MenuBackend.C: using std::max
6374
6375 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6376
6377         * MenuBackend.C (expandToc):
6378         (expandToc2): code moved from xforms menu frontend. It is now
6379         generic and TOCs are transparent to menu frontends.
6380
6381 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6382
6383         * toc.C (getTocList): protect against buf=0
6384
6385         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6386         Menu as first parameter. Now, this calls itself recursively to
6387         expand a whole tree (this will be useful for TOC handling)
6388         (expandFloatInsert): remove 'wide' version of floats
6389
6390         * MenuBackend.h (submenuname): returns the name of the submenu.
6391         (submenu): returns the submenu itself, provided it has been
6392         created by MenuBackend::expand
6393
6394 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6395
6396         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6397         insets which have noFontChange == true. (bug #172)
6398
6399 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6400
6401         * BufferView_pimpl.C: add connection objects and use them...
6402         (Pimpl): here.
6403
6404 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6405
6406         * MenuBackend.C (expandLastfiles):
6407         (expandDocuments):
6408         (expandFormats):
6409         (expandFloatListInsert):
6410         (expandFloatInsert):
6411         (expand): split expand in parts
6412
6413 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6414
6415         * lyx_gui.C: use lyx_gui::exit()
6416
6417 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6418
6419         * LyXAction.C: show the failing pseudo action
6420
6421 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6422
6423         * buffer.C (readFile): Run the lyxconvert script in order to read
6424         old files.
6425
6426 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6427
6428         * LyXAction.C:
6429         * commandtags.h:
6430         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6431
6432 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6433
6434         * LyXAction.C:
6435         * commandtags.h:
6436         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6437
6438 2002-07-22  Herbert Voss  <voss@lyx.org>
6439
6440         * lengthcommon.C:
6441         * lyxlength.[Ch]: add support for the vertical lengths
6442
6443 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6444
6445         * toc.[Ch]: std:: fixes
6446
6447 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6448
6449         * lyxrc.C: do not include lyx_main.h
6450
6451         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6452         for layouts
6453
6454         * lyxrc.C:
6455         * encoding.C:
6456         * bufferlist.C:
6457         * BufferView2.C: include "lyxlex.h"
6458
6459         * tabular.h:
6460         * bufferparams.h: do not #include "lyxlex.h"
6461
6462         * lyxtextclasslist.C (Add): remove method
6463         (classlist): renamed to classlist_
6464
6465         * paragraph_pimpl.C:
6466         * paragraph.C:
6467         * text2.C:
6468         * CutAndPaste.C:
6469         * bufferview_funcs.C:
6470         * bufferlist.C:
6471         * text.C:
6472         * LaTeXFeatures.C:
6473         * buffer.C:
6474         * toc.C (getTocList): use BufferParams::getLyXTextClass
6475
6476         * toc.C (getTocList): use InsetFloat::addToToc
6477
6478         * toc.[Ch]: new files, containing helper functions to handle table
6479         of contents
6480
6481         * lyxfunc.C (dispatch): no need to remove spaces around command
6482         given as a string
6483         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6484         first command of the sequence; it is not very clever, but I do not
6485         have a better idea, actually
6486
6487         * LyXAction.C (LookupFunc): make sure to remove space at the
6488         beginning and end of the command
6489
6490 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6491
6492         * MenuBackend.C (getMenubar): new method: return the menubar of
6493         this menu set
6494         (read): treat differently reading of menu and menubar (in
6495         particular, the menubar has no name now)
6496         (Menu::menubar): remove
6497
6498         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6499         saving is finished
6500
6501 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6502
6503         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6504         a bibitem inset in a RTL paragraph.
6505
6506 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6507
6508         * paragraph_pimpl.C: constify
6509
6510         * BufferView_pimpl.C:
6511         * LaTeX.C:
6512         * lyxfunc.C: fix dispatch in a nicer way
6513
6514 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6515
6516         * lyxfunc.C (dispatch):
6517         * BufferView_pimpl.C:
6518         * BufferView_pimpl.h:
6519         * BufferView.C:
6520         * BufferView.h: rename Dispatch() to dispatch()
6521
6522         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6523
6524         * lyxlayout.C (Read): honor DependsOn tag
6525
6526         * lyxlayout.[Ch] (depends_on): new method
6527
6528         * version.C.in: update lyx_docversion
6529
6530         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6531
6532         * paragraph.C (validate): remove from here...
6533         * paragraph_pimpl.C (validate): ... and move here
6534         (isTextAt): make it const
6535
6536         * buffer.C (getLists): ws cleanup
6537
6538 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6539
6540         * language.C (read): Use iso8859-1 encoding in latex_lang
6541         (this prevents LyX from crashing when using iso10646-1 encoding).
6542
6543 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6544
6545         * text2.C (toggleInset): if cursor is inside an inset, close the
6546         inset and leave cursor _after_ it
6547
6548 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6549
6550         * lyxfunc.C: move minibuffer completion handling out of here
6551
6552 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6553
6554         * BufferView_pimpl.C:
6555         * LaTeX.C: fix dispatch calls
6556
6557 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6558
6559         * text.C (drawChars): Fix Arabic text rendering.
6560
6561 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6562
6563         * LyXAction.C:
6564         * commandtags.h:
6565         * lyxfunc.C: remove message-push/pop
6566
6567         * lyxserver.C:
6568         * lyxfunc.h:
6569         * lyxfunc.C: rationalise some code by removing verboseDispatch
6570           in favour of a bool argument to dispatch()
6571
6572 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6573
6574         * lyx_main.C (init): make sure to read symlinks as absolute paths
6575
6576 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6577
6578         * lyxfunc.h:
6579         * lyxfunc.C: no need for commandshortcut to be a member
6580
6581 2002-07-15  André Pönitz <poenitz@gmx.net>
6582
6583         * converter.C: add support for $$s (scripts from lib/scripts dir)
6584         * lyx_main.C: white space
6585
6586 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6587
6588         * bufferlist.C:
6589         * lyxrc.h:
6590         * lyxrc.C: remove second exit confirmation
6591
6592 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6593
6594         * BufferView.h:
6595         * BufferView.C:
6596         * BufferView2.C:
6597         * BufferView_pimpl.h:
6598         * BufferView_pimpl.C:
6599         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6600
6601 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6602
6603         * MenuBackend.C (expand): add numeric shortcuts to document menu
6604
6605         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6606
6607 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6608
6609         * lyxfont.C (setLyXFamily):
6610         (setLyXSeries):
6611         (setLyXShape):
6612         (setLyXSize):
6613         (setLyXMisc):
6614         (lyxRead):
6615         * debug.C (value):
6616         * buffer.C (asciiParagraph): use ascii_lowercase
6617
6618 2002-07-15  Mike Fabian  <mfabian@suse.de>
6619
6620         * lyxlex_pimpl.C (search_kw):
6621         * lyxlex.C (getLongString):
6622         * converter.h (operator<):
6623         * converter.C (operator<):
6624         * buffer.C (parseSingleLyXformat2Token):
6625         (asciiParagraph):
6626         * ToolbarDefaults.C (read):
6627         * MenuBackend.C (checkShortcuts):
6628         (read):
6629         * LColor.C (getFromGUIName):
6630         (getFromLyXName): use the compare_ascii_no_case instead of
6631         compare_no_case, because in turkish, 'i' is not the lowercase
6632         version of 'I', and thus turkish locale breaks parsing of tags.
6633
6634 2002-07-16  Angus Leeming  <leeming@lyx.org>
6635
6636         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6637         now takes a Buffer const & argument.
6638
6639 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6640
6641         * BufferView.C (resize): check there's a buffer to resize
6642
6643 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6644
6645         * lyxfunc.C: remove dead code
6646
6647         * lyxserver.h:
6648         * lyxserver.C: use lyx_guii::set_read_callback
6649
6650 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6651
6652         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6653         an inset in a RTL paragraph.
6654
6655 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6656
6657         * lyxfunc.C: repaint after a font size update
6658
6659 2002-07-15  André Pönitz <poenitz@gmx.net>
6660
6661         * lyxlength.C: inBP should be able to return negative values
6662
6663 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6664
6665         * lyxfunc.C: use lyx_gui::update_fonts()
6666
6667 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6668
6669         * lyxfunc.C: use lyx_gui::update_color()
6670
6671 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6672
6673         * bufferlist.C:
6674         * lyxfunc.h:
6675         * lyxfunc.C:
6676         * lyxrc.h:
6677         * lyxrc.C: remove file->new asks for name option, and let
6678           buffer-new take an argument
6679
6680 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6681
6682         * BufferView_pimpl.C: remove unneeded extra repaint()
6683
6684 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6685
6686         * LyXAction.C: allow command-sequence with NoBuffer
6687
6688         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6689
6690 2002-07-10  Angus Leeming  <leeming@lyx.org>
6691
6692         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6693
6694 2002-07-09  Angus Leeming  <leeming@lyx.org>
6695
6696         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6697
6698 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6699
6700         * lengthcommon.h: whitespace
6701
6702         * lyxfunc.C: update scrollbar after goto paragraph
6703
6704         * lyxtext.h: factor out page break drawing, and fix it so
6705           page break/added space paints as selected nicely
6706
6707 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6708
6709         * BufferView_pimpl.C: add FIXMEs, clean up a little
6710
6711 2002-07-09  André Pönitz <poenitz@gmx.net>
6712
6713         * lyxfont.[Ch]: support for wasy symbols
6714
6715 2002-07-08  André Pönitz <poenitz@gmx.net>
6716
6717         * BufferView_pimpl.C: apply John's patch for #93.
6718
6719 2002-07-05  Angus Leeming  <leeming@lyx.org>
6720
6721         * BufferView_pimpl.C (buffer): generate previews if desired.
6722
6723         * LColor.h: add "preview" to the color enum.
6724
6725         * LColor.C (LColor): add a corresponding entry to the items array.
6726
6727         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6728         with this buffer.
6729
6730 2002-07-05  Angus Leeming  <leeming@lyx.org>
6731
6732         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6733         The body of the code is now in the method that is passed an ostream &
6734         rather than a file name.
6735         Pass an additional only_preamble parameter, useful for the forthcoming
6736         preview stuff.
6737
6738 2002-07-03  André Pönitz <poenitz@gmx.net>
6739
6740         * lyxfunc.C: simplify getStatus() a bit for math stuff
6741
6742 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6743
6744         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6745
6746 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6747
6748         * text.C (changeRegionCase): do not change case of all the
6749         document when region ends at paragraph end (bug #461)
6750
6751 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6752
6753         * paragraph.C (startTeXParParams):
6754         (endTeXParParams): add \protect when necessary
6755
6756 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6757
6758         * BufferView_pimpl.C (workAreaExpose): remove warning
6759
6760 2002-06-27  Angus Leeming  <leeming@lyx.org>
6761
6762         * Makefile.am: add lyxlayout_ptr_fwd.h.
6763
6764 2002-06-26  André Pönitz <poenitz@gmx.net>
6765
6766         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6767
6768 2002-06-25  Angus Leeming  <leeming@lyx.org>
6769
6770         * lyxfunc.C (dispatch): Comment out the call to
6771         grfx::GCache::changeDisplay. The method no longer exists now that the
6772         pixmap generation part of the graphics loader has been moved into
6773         InsetGraphics.
6774
6775 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6776
6777         * text2.C: layout as layout
6778
6779         * text.C: layout as layout
6780
6781         * tabular.C (OldFormatRead): layout as layout
6782
6783         * paragraph_pimpl.C (TeXDeeper): layout as layout
6784         (realizeFont): layout as layout
6785
6786         * paragraph.C (writeFile): layout as layout
6787         (validate): layout as layout
6788         (getFont): layout as layout
6789         (getLabelFont): layout as layout
6790         (getLayoutFont): layout as layout
6791         (breakParagraph): layout as layout
6792         (stripLeadingSpaces): layout as layout
6793         (getEndLabel): layout as layout
6794         (getMaxDepthAfter): layout as layout
6795         (applyLayout): layout as layout
6796         (TeXOnePar): layout as layout
6797         (simpleTeXOnePar): layout as layout
6798         (TeXEnvironment): layout as layout
6799         (layout): layout as layout
6800         (layout): layout as layout
6801
6802         * lyxtextclass.C (compare_name): new functor to work with
6803         shared_ptr, layout as layout
6804         (Read): layout as layout
6805         (hasLayout): layout as layout
6806         (operator): layout as layout
6807         (delete_layout): layout as layout
6808         (defaultLayout): layout as layout
6809
6810         * lyxlayout_ptr_fwd.h: new file
6811
6812         * lyxlayout.C (Read): layout as layout
6813
6814         * lyx_cb.C (MenuInsertLabel): layout as layout
6815
6816         * bufferlist.C (newFile): layout as layout
6817
6818         * buffer.C (readLyXformat2): layout as layout
6819         (parseSingleLyXformat2Token): layout as layout
6820         (insertStringAsLines): layout as layout
6821         (asciiParagraph): layout as layout
6822         (latexParagraphs): layout as layout
6823         (makeLinuxDocFile): layout as layout
6824         (simpleLinuxDocOnePar): layout as layout
6825         (makeDocBookFile): layout as layout
6826         (simpleDocBookOnePar): layout as layout
6827         (getLists): layout as layout
6828
6829         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6830
6831         * CutAndPaste.C (cutSelection): layout as layout
6832         (pasteSelection): layout as layout
6833         (SwitchLayoutsBetweenClasses): layout as layout
6834
6835         * BufferView_pimpl.C (Dispatch): layout as layout
6836         (smartQuote): layout as layout
6837
6838         * BufferView2.C (unlockInset): layout as layout
6839
6840 2002-06-24  André Pönitz <poenitz@gmx.net>
6841
6842         * lyxfunc.C: fix #487
6843
6844 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6845
6846         * lyxrc.h:
6847         * lyxrc.C:
6848         * lyxfunc.C: remove display_shortcuts, show_banner
6849
6850 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6851
6852         * Buffer_pimpl.C: oops, update on resize
6853
6854 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6855
6856         * buffer.C:
6857         * converter.C:
6858         * exporter.C:
6859         * lyxfunc.C:
6860         * BufferView.h:
6861         * BufferView.C: use repaint()
6862
6863         * BufferView_pimpl.h:
6864         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6865           as it's a clearer description. Remove superfluous
6866           redraws.
6867
6868 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6869
6870         * text.C: fix bug 488. Not ideal, but getting
6871           getWord() to work properly for the insets that
6872           matter is more difficult ...
6873
6874 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6875
6876         * BufferView_pimpl.C:
6877         * LyXAction.C:
6878         * commandtags.h:
6879         * lyxfunc.C: remove the six million index lyxfuncs to just
6880           one, and DTRT (bug 458)
6881
6882 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6883
6884         * BufferView.h:
6885         * BufferView.C:
6886         * BufferView_pimpl.h:
6887         * BufferView_pimpl.C: clean up resize() stuff,
6888           and unnecessary updateScreen()s
6889
6890 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6891
6892         * BufferView.h:
6893         * BufferView.C:
6894         * BufferView_pimpl.h:
6895         * BufferView_pimpl.C:
6896         * lyxfind.h:
6897         * lyxfind.C:
6898         * minibuffer.C: remove focus management of workarea,
6899           not needed. Use screen's greyOut()
6900
6901 2002-06-17  Herbert Voss  <voss@lyx.org>
6902
6903         * converter.C: (convert) do not post a message, when converting
6904         fails, let the calling function decide what to do in this case
6905
6906 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6907
6908         * lyxfunc.C: tidy up a little
6909
6910 2002-06-16    <alstrup@diku.dk>
6911
6912         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6913         Got rid of FORMS_H_LOCATION include. Now we are
6914         GUII.
6915
6916 2002-06-15  LyX Development team  <lyx@rilke>
6917
6918         * buffer.[Ch] (sgmlOpenTag):
6919         (sgmlCloseTag): Added support for avoiding pernicious mixed
6920         content. Return number of lines written.
6921
6922         (makeLinuxDocFile):
6923         (makeDocBookFile): Fixed calls to sgml*Tag.
6924         Simple white space clean.
6925
6926         (simpleDocBookOnePar): Simple white space clean.
6927
6928         * tabular.[Ch] (docBook): Renamed to docbook and got another
6929         argument to related with the pernicious mixed content.
6930
6931         (docbookRow): Fixed calls for docbook inset method.
6932
6933 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6934
6935         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6936         so it's X11 independent.
6937
6938         * kb*.[Ch]: ditto.
6939
6940         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6941
6942 2002-06-15  Lyx Development team  <lyx@electronia>
6943
6944         * intl.h: Renamed getTrans to getTransManager.
6945
6946 2002-06-14  Angus Leeming  <leeming@lyx.org>
6947
6948         * Makefile.am: nuke forgotten stl_string_fwd.h.
6949
6950 2002-06-12  Angus Leeming  <leeming@lyx.org>
6951
6952         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6953
6954 2002-06-13  Angus Leeming  <leeming@lyx.org>
6955
6956         * LaTeX.C:
6957         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6958
6959 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6960
6961         * kbmap.C (getiso): add support for cyrillic and greek
6962
6963 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6964
6965         * BufferView.h:
6966         * BufferView.C:
6967         * BufferView_pimpl.h:
6968         * BufferView_pimpl.C: move bogus scrolling logic
6969           to xforms
6970
6971 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6972
6973         * lyxfunc.C:
6974         * BufferView_pimpl.C: view->resize() change
6975
6976 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6977
6978         * BufferView_pimpl.C: topCursorVisible
6979           prototype change
6980
6981 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6982
6983         * Makefile.am:
6984         * lyx_gui.h:
6985         * lyx_gui.C: move to frontends/
6986
6987         * main.C:
6988         * lyx_main.h:
6989         * lyx_main.C: changes from above
6990
6991 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6992
6993         * intl.C:
6994         * intl.h:
6995         * kbmap.C:
6996         * kbsequence.C:
6997         * lyx_cb.C:
6998         * lyx_main.C: minor tidy
6999
7000 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7001
7002         * BufferView_pimpl.h:
7003         * BufferView_pimpl.C:
7004         * BufferView.h:
7005         * BufferView.C: make painter() const,
7006           remove dead code
7007
7008         * BufferView2.C: use screen() accessor
7009
7010         * lyx_main.h:
7011         * lyx_main.C: some minor cleanup
7012
7013 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7014
7015         * BufferView_pimpl.h:
7016         * BufferView_pimpl.C: remove enter/leaveView,
7017           use workHeight()
7018
7019 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7020
7021         * BufferView.h:
7022         * BufferView.C:
7023         * BufferView2.C:
7024         * BufferView_pimpl.h:
7025         * BufferView_pimpl.C: only construct screen once,
7026           rename
7027
7028         * lyxrc.C: remove pointless comment
7029
7030 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7031
7032         * BufferView.h:
7033         * BufferView.C: remove active() and belowMouse()
7034
7035         * BufferView_pimpl.h:
7036         * BufferView_pimpl.C: use workarea() not workarea_,
7037           and make it use a scoped_ptr instead
7038
7039 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7040
7041         * lyx_gui.C: add debug message on BadWindow
7042
7043 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7044
7045         * sp_spell.C: fdopen is not part of the C++ standard.
7046
7047         * paragraph.C (InsetIterator): use >= instead of ==
7048
7049 2002-06-07  Angus Leeming  <leeming@lyx.org>
7050
7051         Fixes needed to compile with Compaq cxx 6.5.
7052         * BufferView_pimpl.C:
7053         * DepTable.C:
7054         * buffer.C:
7055         * converter.C:
7056         * encoding.C:
7057         * lyx_gui.C:
7058         * lyx_main.C:
7059         * lyxtextclasslist.C:
7060         * minibuffer.C:
7061         * sp_spell.C:
7062         * tabular_funcs.C:
7063         * vc-backend.C:
7064         all c-library variables have been moved into namespace std. Wrap
7065         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7066
7067         * lyxlength.C:
7068         * tabular-old.C:
7069         * tabular.C:
7070         Add a using std::abs declaration.
7071
7072         * kbmap.h (modifier_pair):
7073         * paragraph.h (InsetTable, InsetList):
7074         * lyxfont.h (FontBits):
7075         type definition made public.
7076
7077         * bufferlist.C (emergencyWriteAll): the compiler complains that
7078         there is more than one possible lyx::class_fun template to choose from.
7079         I re-named the void specialisation as lyx::void_class_fun.
7080
7081         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7082
7083         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7084         the compiler is is unable to find tostr in write_attribute.
7085
7086 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7087
7088         * buffer.C (sgmlError): hide #warning
7089
7090 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7091
7092         * xtl/*: get rid of xtl, which is not in use anyway
7093
7094         * LyXAction.C (init):
7095         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7096         were unimplemented xtl experimentation
7097
7098 2002-06-04  André Pönitz <poenitz@gmx.net>
7099
7100         * lyxfunc.C: disable array operation on simple formulae
7101
7102 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7103
7104         * converter.C: constify a bit
7105
7106 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7107
7108         * lyx_gui.C: check xforms version correctly
7109
7110 2002-04-30  Herbert Voss  <voss@lyx.org>
7111
7112         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7113         "keep" option
7114
7115 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7116
7117         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7118           attempt to register it with a VCS)
7119
7120 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7121
7122         * lyx_main.C (init): honor variables LYX_DIR_13x and
7123         LYX_USERDIR_13x
7124
7125 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7126
7127         * buffer.h:
7128         * buffer.C:
7129         * lyx_main.C: fix a crash on bad command line,
7130           and give a useful exit status on error
7131
7132         * lyxfunc.C (doImport): allow -i lyx to work
7133
7134 2002-03-30  André Pönitz <poenitz@gmx.net>
7135
7136         * lyxfunc.C: mathed font changes
7137
7138 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7139
7140         * LaTeX.C:
7141         * importer.h:
7142         * importer.C:
7143         * lyx_sty.h:
7144         * lyx_sty.C:
7145         * lyxlex.C:
7146         * lyxrow.h:
7147         * lyxtext.h:
7148         * paragraph.h:
7149         * paragraph.C:
7150         * texrow.h:
7151         * texrow.C:
7152         * text.C:
7153         * trans_mgr.h: srcdocs, and some minor cleanups
7154
7155 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7156
7157         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7158         call getFont all the time)
7159
7160 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7161
7162         * switch from SigC signals to boost::signals
7163
7164 2002-05-29  André Pönitz <poenitz@gmx.net>
7165
7166         * paragraph_pimpl.C (getChar): don't call size() too often...
7167
7168 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7169
7170         * paragraph_pimpl.C (insertChar): do not try to update tables when
7171         appending (pos == size())
7172
7173         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7174         in order to reduce drastically the number of comparisons needed to
7175         parse a large document
7176
7177 2002-05-29  André Pönitz <poenitz@gmx.net>
7178
7179         * text.C:
7180         * text2.C:
7181         * lyxtextclass.C:
7182         * sp_pspell.h:
7183         * textclasslist.[Ch]:
7184         * sp_ispell.h: whitespace change
7185
7186 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7187
7188         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7189         lyxaction directly now.
7190
7191 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7192
7193         * trans.C:
7194         * lyxfont.C:
7195         * lyxvc.C: remove unused headers
7196
7197 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7198
7199         * Makefile.am:
7200         * buffer.h:
7201         * undostack.h:
7202         * undostack.C:
7203         * undo_funcs.h:
7204         * undo_funcs.C: some cleanups. Use shared_ptr
7205           and a template for the undo stacks.
7206
7207 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7208
7209         * BufferView_pimpl.h:
7210         * BufferView_pimpl.C:
7211         * kbmap.h:
7212         * kbmap.C:
7213         * kbsequence.h:
7214         * kbsequence.C:
7215         * lyxfunc.h:
7216         * lyxfunc.C:
7217         * text2.C: use key_state/mouse_state
7218
7219 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7220
7221         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7222         and LSubstring
7223
7224         * chset.C: change include order
7225         (loadFile): use boost regex and get rid of LRegex and LSubstring
7226
7227         * Makefile.am (BOOST_LIBS): new variable
7228         (lyx_LDADD): use it
7229
7230         * LaTeX.C: change include order.
7231         (scanAuxFile): use boost regex and get rid of LRegex and
7232         LSubstring
7233         (deplog): ditto
7234
7235 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7236
7237         * ColorHandler.h:
7238         * ColorHandler.C:
7239         * FontInfo.h:
7240         * FontInfo.C: moved to frontends/xforms/
7241
7242         * FontLoader.h:
7243         * FontLoader.C: moved into frontends for GUIIzation
7244
7245         * Makefile.am:
7246         * lyx_gui.C:
7247         * lyxfont.C:
7248         * lyxfunc.C: changes from above
7249
7250 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7251
7252         * LColor.C: remove spurious X include
7253
7254         * BufferView_pimpl.C:
7255         * Makefile.am:
7256         * font.h:
7257         * font.C:
7258         * text.C:
7259         * text2.C: move font metrics to frontends/
7260
7261 2002-05-24  Juergen Vigna  <jug@sad.it>
7262
7263         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7264         setting the undo_cursor.
7265
7266         * ParagraphParameters.h: include local includes first.
7267
7268 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7269
7270         * BufferView_pimpl.C:
7271         * BufferView_pimpl.h:
7272         * Makefile.am:
7273         * WorkArea.h:
7274         * WorkArea.C:
7275         * screen.C: move WorkArea into frontends/
7276
7277         * lyxscreen.h:
7278         * screen.C:
7279         * text.C:
7280         * BufferView.C:
7281         * BufferView2.C: move LyXScreen into frontends/
7282
7283         * lyxlookup.h:
7284         * lyxlookup.C:
7285         * lyx_gui.C: move lyxlookup into frontends/xforms/
7286
7287 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7288
7289         * BufferView2.C:
7290         * BufferView_pimpl.C:
7291         * FontLoader.C:
7292         * LyXView.h:
7293         * LyXView.C:
7294         * Makefile.am:
7295         * WorkArea.C:
7296         * XFormsView.h:
7297         * XFormsView.C:
7298         * buffer.C:
7299         * bufferlist.C:
7300         * bufferview_funcs.C:
7301         * converter.C:
7302         * importer.C:
7303         * lyx_cb.C:
7304         * lyx_gui.C:
7305         * lyx_main.C:
7306         * lyx_find.C:
7307         * lyxfunc.C:
7308         * lyxvc.C:
7309         * minibuffer.C:
7310         * text.C:
7311         * text2.C:
7312         * trans.C:
7313         * vc-backend.C: move LyX/XFormsView into frontends/
7314
7315 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7316
7317         * Makefile.am:
7318         * PainterBase.C:
7319         * PainterBase.h:
7320         * Painter.C:
7321         * Painter.h:
7322         * WorkArea.C:
7323         * WorkArea.h:
7324         * screen.C:
7325         * tabular.C:
7326         * text.C:
7327         * text2.C: move Painter to frontends/
7328
7329 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7330
7331         * buffer.C: comment out some some code that depend upon lyx_format
7332         < 220
7333
7334         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7335         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7336
7337         * buffer.h (NO_COMPABILITY): turn off compability
7338
7339         * ColorHandler.C: include scoped_array.hpp
7340
7341         * font.C: Use more specific smart_ptr header.
7342         * Painter.C: ditto
7343         * gettext.C: ditto
7344         * ShareContainer.h: ditto
7345         * lyx_main.h: ditto
7346         * kbmap.h: ditto
7347         * FontInfo.h: ditto
7348         * BufferView_pimpl.h: ditto
7349         * ColorHandler.h: ditto
7350
7351         * kbmap.C (defkey): change call to shared_ptr::reset
7352
7353 2002-05-21  Juergen Vigna  <jug@sad.it>
7354
7355         * buffer.C (insertErtContents): fix to insert ert asis if it is
7356         non empty. Skip it completely if it contains only whitespaces.
7357
7358 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7359
7360         * BufferView_pimpl.C:
7361         * BufferView2.C: clear selection on paste (bug 393)
7362
7363 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7364
7365         * DepTable.C: include ctime
7366
7367 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7368
7369         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7370
7371 2002-05-14  Juergen Vigna  <jug@sad.it>
7372
7373         * text.C (breakParagraph): fixed function to honor the keepempty
7374         layout in the right maner and also to permit the right breaking
7375         algorithm on empty or non empyt keepempty paragraphs.
7376
7377         * paragraph.C (breakParagraph): we have to check also if the par
7378         is really empty (!size()) for isempty otherwise we do the wrong
7379         paragraph break.
7380
7381 2002-05-10  Juergen Vigna  <jug@sad.it>
7382
7383         * buffer.[Ch] : The following are only changes to the ert
7384         compatibility read reading old LaTeX layout and font stuff and
7385         convert it to ERTInsets.
7386
7387         * buffer.h: added isErtInset().
7388
7389         * buffer.C (struct ErtComp): add a fromlayout bool to check
7390         if we're inside a LaTeX layout.
7391         (isErtInset): new helper function.
7392         (insertErtContents): look for other ert insets before this one
7393         and insert the contents there, so that we don't have subsequent
7394         ERT insets with nothing between them. This way we create only one
7395         inset with multiple paragraphs. Also check if we don't insert only
7396         spaces ' ' as they are ignored anyway afterwards in the .tex file
7397         so if we have only spaces we will ignore this latex part in the
7398         new file.
7399         (parseSingleLyXformat2Token \\layout): better compatibility when
7400         reading layout-latex stuff.
7401         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7402         language tag.
7403         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7404         stuff after reading the inset only get the information back from
7405         the stack.
7406
7407 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7408
7409         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7410
7411         * LaTeXFeatures.C (getBabelOptions): New method.
7412
7413 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7414
7415         * BufferView_pimpl.C (Dispatch): work around missing argument for
7416         'layout'
7417
7418 2002-05-08  Juergen Vigna  <jug@sad.it>
7419
7420         * text.C (leftMargin): handle paragraph leftindent.
7421
7422         * paragraph.C (writeFile): write the new \\leftindent tag.
7423         (validate): handle leftindent code.
7424         (TeXEnvironment): handle paragraphleftindent code again.
7425
7426         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7427
7428         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7429         for paragrap_extra indent code and new token \\leftindent.
7430         (latexParagraphs): handle the leftindent as environment.
7431
7432         * ParameterStruct.h: added leftindent support.
7433
7434         * ParagraphParameters.C (leftIndent): added support functions for
7435         the paragraph left indent.
7436
7437         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7438         more appropriate.
7439
7440 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7441
7442         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7443         inside insetERT.
7444
7445         * text.C (computeBidiTables): No bidi in insetERT.
7446
7447         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7448         in RTL documents.
7449
7450 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7451
7452         * version.C.in: pre 5
7453
7454 2002-05-02  José Matos  <jamatos@fep.up.pt>
7455         * buffer.C (makeDocBookFile): white space changes, add newline to
7456         command styles.
7457         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7458
7459         * tabular.C (docBook): fix typo.
7460
7461 2002-05-03  Juergen Vigna  <jug@sad.it>
7462
7463         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7464         change in LyXText as we can not be sure it was not freed.
7465         (drawOneRow): remove unused code.
7466
7467         * text.C (drawInset): redo the calculation of the need_break_row as
7468         it could have a row which was already freed.
7469         (draw): look at the return value of drawInset and return false if
7470         it also returned false.
7471         (paintRowText): look at the return value of draw and return false if
7472         it also returned false.
7473
7474         * lyxtext.h: added bool return type to drawInset() and draw() so that
7475         if we have a change in the row so that the rowbreak has to be redone
7476         we abort drawing as it will be called again.
7477
7478 2002-05-02  Juergen Vigna  <jug@sad.it>
7479
7480         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7481         a change in the maintext also if we're inside an inset.
7482         (Dispatch): set the cursor again after a break line and after the
7483         screen has been updated as it could be we're in a different row.
7484
7485         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7486         to set the cursor behind the pargraph with > size().
7487         (setCursor): check also for the same paragraph when checking where
7488         to put the cursor if we have a NFR inset.
7489
7490         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7491         parts of layout read further up as it still was in the wrong
7492         position.
7493
7494 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7495
7496         * screen.C (drawFromTo): change sine fullRebreak always return
7497         true.
7498
7499         * buffer.C (parseSingleLyXformat2Token): reindent some
7500
7501         * BufferView_pimpl.C (update): change since fullRebreak always
7502         return true.
7503         (Dispatch): git rid of the last hardcoded "Standard"s.
7504
7505 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7506
7507         * text2.[Ch] (fullRebreak): make it return void now that we always
7508         returned true.
7509
7510 2002-04-30  Juergen Vigna  <jug@sad.it>
7511
7512         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7513         ert compatibility check for "latex" layout.
7514
7515 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7516
7517         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7518         minipages: use col% instead of p%, and also use the current font.
7519         (makeLaTeXFile): Fix use babel condition.
7520         (parseSingleLyXformat2Token): Correct font when reading old floats.
7521
7522 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7523
7524         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7525         inserting list of floats.
7526
7527 2002-04-25  Herbert Voss  <voss@lyx.org>
7528
7529         * MenuBackend.C (expand): don't add the graphics extensions to the
7530         export menu
7531
7532 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7533
7534         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7535         non-existing layout, do not complain if it was the default layout
7536         of the original class (bug #342)
7537
7538 2002-04-24  Juergen Vigna  <jug@sad.it>
7539
7540         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7541         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7542
7543 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7544
7545         * buffer.C (getBibkeyList): If using \bibliography, return the
7546         option field with the reference itself. Enables us to provide natbib
7547         support when using \bibliography.
7548
7549 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7550
7551         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7552
7553         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7554         natbib is provided by the LaTeX class.
7555
7556 2002-04-23  Juergen Vigna  <jug@sad.it>
7557
7558         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7559         Wakeup functions.
7560
7561         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7562
7563 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7564
7565         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7566
7567         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7568         ensuremath around textordmasculine, textordfeminine and
7569         textdegree.
7570
7571 2002-04-19  Juergen Vigna  <jug@sad.it>
7572
7573         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7574         reinitializing the buffer otherwise row-dimensions may be wrong.
7575         (update): reset also the selection cursors if they do exits otherwise
7576         their x/y positions may be wrong.
7577
7578         * text2.C (cursorDown): don't enter the inset if we came from a row
7579         above and are one row over the inset.
7580
7581         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7582         really leaving an inset.
7583
7584 2002-04-18  Juergen Vigna  <jug@sad.it>
7585
7586         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7587         of the selected paragraph does not have the selected layout also if
7588         the last one had!
7589
7590         * text2.C (setLayout): fixed bug which did not change last selected
7591         paragraph.
7592
7593         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7594         changed the read and substituted \\end_float with \\end_inset!
7595
7596         * BufferView_pimpl.C (cursorPrevious):
7597         (cursorNext): fixed to make it work with rows heigher than the work
7598         area without moving the cursor only the draw of the row.
7599         (workAreaMotionNotify): fix jumping over high rows.
7600
7601 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7602
7603         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7604         Ressler.
7605
7606 2002-04-16  Juergen Vigna  <jug@sad.it>
7607
7608         * text2.C (setCursor): set also the irow().
7609         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7610         (cursorUp):
7611         (cursorDown): support for locking an inset if the x_fix value goes
7612         inside it. That way I can transverse insets too with cursor up/down.
7613
7614         * lyxrow.h: added irow helper function same as other (i) functions.
7615
7616         * BufferView_pimpl.C (cursorPrevious):
7617         (cursorNext): fixed for insets!
7618
7619 2002-04-15  Juergen Vigna  <jug@sad.it>
7620
7621         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7622         position otherwise it is wrong in some cases.
7623
7624         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7625         inside the inset before the call.
7626
7627 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7628
7629         * buffer.[Ch] (getBibkeyList): make it const.
7630
7631 2002-04-12  Juergen Vigna  <jug@sad.it>
7632
7633         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7634
7635         * text2.C (getCursorX): new helper function
7636         (setCursor): compute also ix_
7637         (setCursorFromCoordinates): set also ix.
7638
7639         * lyxcursor.h: added ix_ and helper functions.
7640
7641         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7642
7643         * buffer.C (insertStringAsLines): dont break paragraph if the this
7644         paragraph is inside an inset which does not permit it!
7645
7646         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7647         also with no chars on this paragraph.
7648         (paintRowText): only paint stuff if it's inside the workarea!
7649
7650         * paragraph.C (breakParagraph): honor keepempty flag and break the
7651         paragraph always below not above.
7652
7653         * BufferView2.C (unlockInset): update the paragraph layout on inset
7654         unlock as we changed paragraph in such a case.
7655
7656         * lyxfind.C (LyXFind): clear the former selection if not found!
7657
7658         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7659         again called in insertChar().
7660
7661         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7662         an inset which uses the whole row!
7663         (rightMargin): ditto.
7664         (insertChar): force a rebreak if we inserted an inset!
7665
7666 2002-03-28  Herbert Voss  <voss@lyx.org>
7667
7668         * lyxlength.[Ch]: add inBP() to get the right PS-point
7669         units (BigPoint). With inPixels we have rounding errors
7670
7671 2002-04-11  Juergen Vigna  <jug@sad.it>
7672
7673         * text2.C (setCursorFromCoordinates): set iy to the right value.
7674         (setCursor): add check if row->previous exists!
7675
7676         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7677         an old float_type as this was the case in the old code!
7678
7679         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7680
7681         * BufferView2.C (showLockedInsetCursor): use iy
7682         (fitLockedInsetCursor): ditto
7683
7684         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7685         locked insets as there we have the right value now.
7686
7687         * lyxcursor.C: added iy_ variable and iy functions to set to the
7688         baseline of cursor-y of the locked inset.
7689
7690         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7691         (setCursor): fixed for insets which need a full row.
7692
7693         * text.C (rowLastPrintable): don't ignore the last space when before
7694         an inset which needs a full row.
7695         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7696         as last character of a row when before a inset which needs a full row.
7697
7698 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7699
7700         * version.C.in: update date
7701
7702         * text2.C (fullRebreak): try to always return true and see what
7703         happens...
7704
7705 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7706
7707         * MenuBackend.C (expand): use Floating::listName
7708
7709         * FloatList.C (FloatList): add listName argument to the built-in
7710         floats
7711
7712         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7713         text associated with the float.
7714
7715 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7716
7717         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7718
7719 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7720
7721         * ShareContainer.h: add a couple of missing typenames.
7722
7723 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7724
7725         * lyxrc.C (getDescription): use _() correctly rather than N_().
7726
7727 2002-03-28  Herbert Voss  <voss@lyx.org>
7728
7729         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7730         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7731
7732 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7733
7734         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7735         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7736
7737 2002-03-29  Juergen Vigna  <jug@sad.it>
7738
7739         * lyxfunc.C (dispatch): add a missing fitCursor call.
7740
7741         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7742         it was scrolled by a cursor move, so return the bool status.
7743
7744         * BufferView.C (fitCursor): return the bool flag also to the outside
7745         world as this is needed.
7746
7747         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7748
7749         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7750         call the edit() as it is not needed (and wrong) IMO.
7751         (workAreaButtonPress): set the screen_first variable before evt.
7752         unlock the inset as this may change screen_first and then we have
7753         a wrong y position for the click!
7754
7755 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7756
7757         * MenuBackend.C (expand): another translation that I missed
7758
7759 2002-03-28  Juergen Vigna  <jug@sad.it>
7760
7761         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7762
7763         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7764
7765 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7766
7767         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7768
7769         * MenuBackend.C (expand): fix export/view/update when there is no
7770         document open.
7771
7772 2002-03-27  Herbert Voss  <voss@lyx.org>
7773
7774         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7775         and text%
7776
7777 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7778
7779         * bufferview_funcs.C (currentState): only show paragraph number
7780         for is DEVEL_VERSION is set.
7781
7782         * lyxfunc.C (dispatch): put warning in INFO channel
7783
7784         * MenuBackend.C (expand): translate the name of floats
7785
7786         * FloatList.C (FloatList): mark the float names for translation
7787
7788         * converter.C (convert): use LibScriptSearch
7789
7790 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7791
7792         * MenuBackend.C (defaults): fix default menu (we might as well get
7793         rid of it...)
7794
7795 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7796
7797         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7798         directory.
7799
7800 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7801
7802         * lyxvc.C: reorder includes.
7803
7804 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7805
7806         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7807           properly
7808
7809 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7810
7811         * CutAndPaste.C: change layouts earlier on paste
7812           to avoid crashing when calling getFont()
7813
7814 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7815
7816         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7817         irritating #error.
7818
7819 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7820
7821         * WorkArea.C: remove 'Pending' debug message.
7822
7823         * most files: ws cleanup
7824
7825         * buffer.[Ch]: ws changes
7826
7827         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7828
7829 2002-03-21  Juergen Vigna  <jug@sad.it>
7830
7831         * tabular.C (SetMultiColumn): collapse also the contents of the
7832         cells and set the last border right. Added a Buffer const * param.
7833
7834 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7835
7836         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7837         linking or not.
7838
7839 2002-03-19  Juergen Vigna  <jug@sad.it>
7840
7841         * text2.C (clearSelection): reset also xsel_cache.
7842
7843         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7844         where it needs to be called (John tells us to do so too :)
7845         (selectionLost): reset sel_cache.
7846
7847         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7848
7849 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7850
7851         * text2.C (setCursorIntern): put debuging code in INSETS channel
7852
7853 2002-03-19  André Pönitz <poenitz@gmx.net>
7854
7855         * lyxfunc.C: tiny whitespace change
7856
7857 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7858
7859         * ToolbarDefaults.C (init):
7860         * LyXAction.C (init):
7861         * commandtags.h:
7862         * BufferView_pimpl.C (Dispatch):
7863         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7864
7865 2002-03-19  Allan Rae  <rae@lyx.org>
7866
7867         * exporter.C (Export): removeAutoInsets before doing anything else.
7868         While I've just introduced a dependency on BufferView this really is
7869         the best place to clean the buffer otherwise you need to cleanup in
7870         a dozen places before calling export or cleanup in a dozen functions
7871         that export calls.
7872
7873         * converter.C (runLaTeX):
7874         (scanLog): Better handling of removeAutoInsets and screen updates.
7875
7876         * lyxfunc.C (dispatch): small whitespace changes
7877
7878 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7879
7880         * WorkArea.C (C_WorkAreaEvent): return a value.
7881         (event_cb): return 1 if we handled the event, 0 otherwise.
7882
7883         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7884
7885 2002-03-18  Juergen Vigna  <jug@sad.it>
7886
7887         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7888         (GetAdditionalWidth): ditto.
7889         (RightLine): ditto.
7890         (LeftLine): ditto.
7891
7892         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7893         inset if we're there actually (probably not used right now but this
7894         is the direction to go for unifying code).
7895         (paste): disable code to clear the selection.
7896
7897         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7898         inside an InsetText and move the check further up as it is in the
7899         wrong place.
7900
7901         * text2.C (pasteSelection): set a selection over the pasted text.
7902
7903 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7904
7905         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7906         and libgraphics to build on Cygwin.
7907
7908 2002-03-15  Juergen Vigna  <jug@sad.it>
7909
7910         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7911         inserting an Inset into the paragraph. I know this is not the best
7912         fix but we already use current_view in CutAndPaste so we will remove
7913         all of it's using at the same time.
7914
7915         * buffer.C (sgmlError): deactivated function till it is rewritten in
7916         the right mode, now it can create problems.
7917
7918         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7919         before accessing it.
7920
7921 2002-03-14  Juergen Vigna  <jug@sad.it>
7922
7923         * undo_funcs.C (textHandleUndo): do the right thing when updating
7924         the inset after the undo/redo.
7925
7926         * text2.C (setCursor): just some testcode for #44 not ready yet.
7927
7928         * undo_funcs.C (textHandleUndo): set the next() and previous()
7929         pointers of the paragraph to 0 before deleting otherwise we have
7930         problems with the Paragraph::[destructor].
7931
7932         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7933         on a paragraph insertion.
7934
7935 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7936
7937         * buffer.C (asciiParagraph): use += operator for char append to
7938         string.
7939
7940         * paragraph.C (getFontSettings): compare >= not just >
7941         (highestFontInRange): ditto
7942         (setFont): ditto
7943
7944 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7945
7946         * paragraph.C: change several algorithm to be more appripriate for
7947         the problem domain. This is lookip in FontList and in the InsetList.
7948
7949 2002-03-13  André Pönitz <poenitz@gmx.net>
7950
7951         * commandtags.h:
7952         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7953
7954 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7955
7956         * commandtags.h:
7957         * LyXAction.C:
7958         * lyxfunc.C:
7959         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7960
7961 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7962
7963         * Painter.C (display): anon helper function, adjust code for this
7964         change.
7965         (pixmap): remove function.
7966
7967         * Painter.h: remove private display variable.
7968
7969         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7970
7971 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7972
7973         * WorkArea.[Ch]: remove figinset_canvas cruft.
7974
7975 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7976
7977         * lyxtextclass.C (operator): add one item cache optimization.
7978
7979         * bufferlist.h: doxy changes
7980
7981         * bufferlist.C: ws changes
7982
7983         * DepTable.[Ch] (ext_exist): place const in the right spot.
7984
7985         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7986         call resizeInsets.
7987         (workAreaExpose): call resizeInsets when the with BufferView changes.
7988         (Dispatch): adjust for protectedBlank removal
7989         (specialChar): call updateInset if the insert went ok.
7990
7991         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7992         specialChar instead.
7993
7994         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7995
7996         * BufferView.h: doxy change
7997
7998         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7999
8000         * lyxtextclass.C (operator[]): remove non-const version
8001         (defaultLayout): remove non-const version
8002
8003 2002-03-12  Juergen Vigna  <jug@sad.it>
8004
8005         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8006         did resize the LyXText too.
8007
8008         * buffer.C (readLyXformat2): set layout information on newly allocated
8009         paragraphs.
8010
8011         * tabular.C (OldFormatRead): set layout information on the paragraph.
8012
8013 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8014
8015         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8016
8017 2002-03-11  Juergen Vigna  <jug@sad.it>
8018
8019         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8020         plainly wrong.
8021         (resizeCurrentBuffer): force also the insets to resize themselfes.
8022         (moveCursorUpdate): fixed up for InsetText.
8023
8024 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8025
8026         * commandtags.h:
8027         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8028         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8029         value of Dialogs::tooltipsEnabled().
8030         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8031
8032 2002-03-08  Juergen Vigna  <jug@sad.it>
8033
8034         * BufferView_pimpl.C (updateInset): update inset inside inset also
8035         if it isn't inside theLockingInset().
8036
8037 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8038
8039         * buffer.C (asciiParagraph): redo some of the word and line length
8040         handling.
8041         (getLists): look for Caption instead of caption.
8042
8043 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8044
8045         * buffer.C (Buffer): initialize niceFile to true
8046         (makeLaTeXFile):
8047         (makeLinuxDocFile):
8048         (makeDocBookFile): make sure niceFile is true on exit
8049
8050 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8051
8052         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8053
8054 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8055
8056         * LyXSendto.C: remove.
8057         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8058         * lyx_gui.C: remove now-redundant comment.
8059         * ColorHandler.h: remove forward declaration of class WorkArea.
8060         * lyxfunc.C: remove #include "WorkArea.h".
8061
8062 2002-03-07  Juergen Vigna  <jug@sad.it>
8063
8064         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8065         got moved away with the DEPM and also set the inset_owner always
8066         right which before could have been omitted.
8067
8068 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8069
8070         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8071         wanted layout is not found.
8072
8073 2002-03-07  Juergen Vigna  <jug@sad.it>
8074
8075         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8076
8077 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8078
8079         * paragraph.C (breakParagraph): use default layout not layout of
8080         prev paragraph.
8081         (Paragraph): clear ParagraphParameters.
8082
8083 2002-03-06  Juergen Vigna  <jug@sad.it>
8084
8085         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8086         otherwise it would not be a valid lenght. Fixed a special case in
8087         the minipage compatibility read where we end the document with a
8088         minipage.
8089
8090         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8091         was set as it could be 0 for InsetTexts first entry.
8092
8093 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8094
8095         * paragraph.C (writeFile): if layout is empty write out
8096         defaultLayoutName().
8097
8098         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8099         file without named layout we set layout to defaultLayoutName().
8100
8101 2002-03-06  Juergen Vigna  <jug@sad.it>
8102
8103         * CutAndPaste.C (copySelection): set layout for new paragraph.
8104
8105         * text.C (prepareToPrint): leave ERT inset left aligned
8106         (leftMargin): don't indent paragraphs inside ERT insets
8107
8108 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8109
8110         * paragraph.C (breakParagraph): dont call clear do the work manually
8111
8112         * paragraph.[Ch] (clear): remove function
8113
8114 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8115
8116         * paragraph.C (Paragraph): dont call clear, the work has already
8117         been done.
8118
8119         * lyxtextclass.C (operator): assert if n is empty
8120
8121         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8122         work manually instead.
8123
8124 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8125
8126         * BufferView_pimpl.C: protect selectionLost against text == 0
8127
8128 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8129
8130         * text.C (breakParagraph): fix a setting layout to '0' problem.
8131
8132 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8133
8134         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8135         final location of file, for the included files, and graphics.
8136
8137 2002-03-05  Juergen Vigna  <jug@sad.it>
8138
8139         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8140
8141 2002-03-04  Juergen Vigna  <jug@sad.it>
8142
8143         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8144
8145         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8146         last column of multicolumn cells.
8147         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8148
8149 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8150
8151         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8152         file if it doesn't go to a temporary file.
8153
8154         * buffer.C (sgmlOpenTag):
8155         (sgmlCloseTag):  remove extra newline insertion.
8156
8157 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8158
8159         * text.C (getRowNearY): comment out debug msg
8160
8161 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8162
8163         * text2.C: first -> first_y
8164
8165         * text.C (getRowNearY): add some attemts at a possible
8166         optimization, not working.
8167
8168         * tabular.[Ch]: add BufferParams to several function so that newly
8169         created paragraph can be initialized to he default layotu for the
8170         buffers textclass.
8171
8172         * tabular-old.C (ReadOld): add buf->params to call of Init
8173
8174         * screen.C: rename text->first to text->first_y
8175
8176         * paragraph.C (breakParagraph): always set layout in the broken
8177         paragraph
8178
8179         * lyxtextclass.C (Read): remove lowercase
8180         (hasLayout): ditto
8181         (operator): ditto
8182         (delete_layout): ditto
8183
8184         * lyxtext.h: rename first -> first_y
8185
8186         * lyxlayout.C (Read): remove lowercase
8187         (name): ditto
8188         (setName): ditto
8189         (obsoleted_by): ditto
8190
8191         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8192
8193         * buffer.C (insertErtContents): add params are to InsetERT
8194         (parseSingleLyXformat2Token): add code to check if a paragraphs
8195         layout really exist.
8196         (parseSingleLyXformat2Token): add params to several inset
8197         constructors
8198         (asciiParagraph): remove lowercase, do the layout comparisons with
8199         no_case
8200
8201         * BufferView_pimpl.C (cursorNext): first -> first_y
8202         (resizeCurrentBuffer): first -> first_y
8203         (updateScrollbar): first -> first_y
8204         (scrollCB): first -> first_y
8205         (workAreaMotionNotify): first -> first_y
8206         (workAreaButtonPress): first -> first_y
8207         (checkInsetHit): first -> first_y
8208         (cursorPrevious): first -> first_y
8209         (cursorNext): first -> first_y
8210         (Dispatch): add buffer_->params to severl inset contructors
8211
8212 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8213
8214         * lyxlayout.C (Read): remove some debug info that I forgot.
8215
8216         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8217         clean up the code slightly.
8218         (makeLinuxDocFile): ditto
8219         (makeDocBookFile): ditto
8220
8221         * text2.C: layout as string
8222
8223         * text.C: layout as string
8224
8225         * paragraph_pimpl.C: layout as string
8226
8227         * paragraph.[Ch]: layout as string
8228
8229         * lyxtextclasslist.[Ch]: layout as string
8230
8231         * lyxtextclass.[Ch]: layout as string
8232
8233         * lyxtext.h: layout as string
8234
8235         * lyxlayout.[Ch]: layout as string
8236
8237         * lyx_cb.C: layout as string
8238
8239         * bufferview_funcs.C: layout as string
8240
8241         * bufferparams.C: layout as string
8242
8243         * buffer.C: layout as string
8244
8245         * LyXView.[Ch]: layout as string
8246
8247         * LaTeXFeatures.[Ch]: layout as string
8248
8249         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8250
8251         * BufferView_pimpl.C: change current_layout to string, remove
8252         lyx::layout_type.
8253         (Dispatch):
8254         (smartQuote):
8255         (insertInset):
8256         (workAreaButtonRelease): layout as string
8257
8258         * BufferView2.C (unlockInset): adjust
8259
8260         * vspace.C (asLatexCommand): use an explict temp variable.
8261
8262 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8263
8264         * Makefile.am: use FRONTEND_*
8265
8266 2002-03-01  Juergen Vigna  <jug@sad.it>
8267
8268         * tabular.C (SetWidthOfMulticolCell): changed to something better
8269         I hope but still work in progress.
8270         (recalculateMulticolumnsOfColumn): renamed function from
8271         recalculateMulticolCells as it is more appropriate now.
8272         (SetWidthOfCell): calculate multicols better.
8273
8274 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8275
8276         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8277
8278         * lyxfunc.C (processKeySym): print sequence also if it is
8279         `deleted' (complete)
8280
8281         * kbsequence.C (print): print sequence even if it is deleted
8282         (complete would be a better word, actually).
8283
8284         * lyxfunc.C (dispatch): print complete options after a prefix key
8285
8286         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8287
8288 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8289
8290         * text2.C (setCharFont): eliminate setCharFont code duplication.
8291
8292 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8293
8294         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8295         LFUN_TABULAR_FEATURE (bug #177)
8296
8297 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8298
8299         * Makefile.am: remove figure.h
8300
8301 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8302
8303         * Bufferview_pimpl.C:
8304         * CutAndPasteC:
8305         * LaTeX.C:
8306         * LyXSendto.C:
8307         * buffer.C:
8308         * bufferlist.C:
8309         * converter.C:
8310         * language.C:
8311         * lyxfunc.C:
8312         * lyxvc.C:
8313         * paragraph.C:
8314         * text.C:
8315         * text2.C: remove #include "lyx_gui_misc.h".
8316
8317         * LaTeX.C: added #include <cstdio>
8318
8319 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8320
8321         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8322         that the paragraph following this one can have.
8323
8324         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8325
8326         * vspace.C (asLatexCommand): fix bogus gcc warning
8327
8328         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8329
8330 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8331
8332         * text2.C (setLayout): get rid of redundant code
8333
8334 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8335
8336         * text2.C (incDepth): make sure depth cannot be increased beyond
8337         reasonable values.
8338
8339 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8340
8341         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8342         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8343
8344         * PainterBase.h (image):
8345         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8346         a LyXImage const *.
8347
8348 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8349
8350         * BufferView.C:
8351         * BufferView.h:
8352         * BufferView_pimpl.C:
8353         * BufferView_pimpl.h:
8354         * LaTeXFeatures.C:
8355         * LyXAction.C:
8356         * LyXView.C:
8357         * Makefile.am:
8358         * UpdateList.h:
8359         * UpdateList.C:
8360         * buffer.C:
8361         * figure.h:
8362         * figureForm.C:
8363         * figureForm.h:
8364         * figure_form.C:
8365         * figure_form.h:
8366         * lyx_cb.C:
8367         * lyx_gui.C:
8368         * lyx_gui_misc.C:
8369         * lyxfunc.C:
8370         * sp_base.h:
8371         * sp_ispell.h:
8372         * sp_pspell.h:
8373         * sp_spell.C: remove fig inset, and the crap house of
8374           cards that follows it
8375
8376 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8377
8378         * Makefile.am:
8379         * lyxserver.C:
8380         * os2_defines.h:
8381         * os2_errortable.h:
8382         * nt_defines.h: move .h into support/
8383
8384         * vms_defines.h: remove
8385
8386         * WorkArea.C: add space in debug output
8387
8388         * text2.C:
8389         * paragraph.C:
8390         * buffer.C: add WITH_WARNINGS
8391
8392         * vc-backend.h:
8393         * vc-backend.C:
8394         * bufferlist.C: s/retrive/retrieve/, add docs
8395
8396         * vspace.h:
8397         * vspace.C:
8398         * kbmap.h:
8399         * lyxlength.h:
8400         * lyxgluelength.h:
8401         * length_common.h:
8402         * chset.h:
8403         * chset.C: add docs
8404
8405         * lyxgui.C: add ID to X error handler
8406
8407         * lyxtestclass.c: fix typo
8408
8409 2002-02-26  Juergen Vigna  <jug@sad.it>
8410
8411         * tabular_funcs.C (write_attribute): changed so that some default
8412         attributes are not written at all.
8413         (getTokenValue): set default values before trying to read the
8414         value so we have the return value always set as default if we don't
8415         find the token we search for.
8416
8417         * tabular.C (Write): write bools as bools not as strings!
8418
8419 2002-02-22  Juergen Vigna  <jug@sad.it>
8420
8421         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8422         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8423
8424         * text.C (leftMargin): don't add an indent for paragraphs inside
8425         tabular cells (fix #208).
8426
8427 2002-02-21  José Matos  <jamatos@fep.up.pt>
8428
8429         * tabular.C (docBook): fixed support for long tables.
8430
8431 2002-02-20  Juergen Vigna  <jug@sad.it>
8432
8433         * text2.C (getFont): get the drawing font of the Inset if this
8434         paragraph is inside an inset (only important for InsetERT for now).
8435
8436         * buffer.C (insertErtContents): use new lanugage params in ERT
8437         constructor.
8438
8439         * CutAndPaste.C: commenting out seemingly uneeded code.
8440
8441 2002-02-19  Allan Rae  <rae@lyx.org>
8442
8443         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8444         Iterators might be simple to use but they also get invalidated.
8445         (removeAutoInsets): renamed saved cursor tracking variables and added
8446         some comments to clarify what everything does.
8447
8448 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8449
8450         * Chktex.C:
8451         * LaTeX.C:
8452         * LyXSendto.C:
8453         * converter.C:
8454         * lyx_cb.C:
8455         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8456         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8457
8458         * lyxfunc.C:
8459         * vc-backend.h: remove #include "support/syscall.h"
8460
8461         * LaTeX.C:
8462         * LyXSendto.C:
8463         * converter.C: rearrange #includes in Lars' approved fashion.
8464
8465         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8466         forward declare class Timeout in the header file.
8467
8468         * XFormsView.C: changes due to the above.
8469
8470         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8471         similar to LyXView.
8472
8473         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8474         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8475
8476 2002-02-18  José Matos  <jamatos@fep.up.pt>
8477
8478         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8479         insets contents.
8480
8481 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8482
8483         * a lot of small ws changes
8484         * add a lot of using std::XXX
8485         * use std construcs some places where approp.
8486         * use some exisint stuff from lyxfunctional where approp.
8487         * Make file changes to use partial linking (lets test this now...)
8488
8489 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8490
8491         * Chktex.C:
8492         * buffer.C:
8493         remove #include "support/syscontr.h" as it's redundant. Always has been.
8494
8495         * Chktex.C:
8496         * LaTeX.C:
8497         * LyXSendto.C:
8498         * converter.C:
8499         * lyx_cb.C:
8500         * vc-backend.C:
8501         change Systemcalls::System to Systemcalls::Wait and
8502         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8503         No change of functionality, just reflects the stripped down Systemcalls
8504         class.
8505
8506 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8507
8508         * debug.[Ch]: add a GRAPHICS type to the enum.
8509
8510 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8511
8512         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8513
8514         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8515         there is an inset.
8516
8517 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8518
8519         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8520         match the changes below.
8521
8522         * text2.C (toggleInset): if there is not editable inset at cursor
8523         position, try to see if cursor is _inside_ a collapsable inset
8524         and close it.
8525
8526 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8527
8528         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8529         document menu has a nice checkbox
8530
8531 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8532
8533         * lyxlength.C (asLatexString): change PW to output as percent of
8534         \textwidth.
8535
8536         * lengthcommon.C: change '%' to 't%'
8537
8538         * lyxfunc.C (dispatch): a few comments from Martin
8539
8540 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8541
8542         * WorkArea.h:
8543         * WorkArea.C:
8544         * BufferView_pimpl.h:
8545         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8546           the X selection.
8547
8548 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8549
8550         * vspace.C (inPixels): fix compiler warning
8551
8552 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8553
8554         * lyxfunc.C (getStatus): fix status message for disabled commands.
8555
8556 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8557
8558         * BufferView_pimpl.C: fix crash on close buffer
8559         during selection (#227)
8560
8561 2002-01-27  Herbert Voss  <voss@lyx.org>
8562
8563         * buffer.C: link old Figure to new graphic inset
8564
8565 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8566
8567         * FontLoader.C (getFontinfo): Change the latex font names in order
8568         to match the names of type1inst.
8569
8570 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8571
8572         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8573
8574         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8575         (extchanged): ditto
8576         (ext_exist): ditto
8577         (remove_files_with_extension): ditto
8578         (remove_file): ditto
8579         (write): ditto
8580
8581         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8582         document is smaller than the work area height. Do not initialize
8583         static variables to 0.
8584
8585 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8586
8587         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8588
8589         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8590         LFUN_LAYOUT_PARAGRAPHS.
8591
8592         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8593         tabular. It is possible to provide a possible cell, which will
8594         typically be the actcell from the corresponding insettabular
8595
8596         * lyxfunc.C (getStatus): small cleanup; disable
8597         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8598         true
8599
8600 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8601
8602         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8603
8604         * paragraph.C (startTeXParParams):
8605         (endTeXParParams): new methods. The LaTeX code to
8606         start/end paragraph formatting
8607         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8608         empty (fixes bug #200)
8609
8610         * vspace.C (inPixels): adapt to the change below
8611         (inPixels): [later] more cleanups (remove unused variables)
8612
8613         * lyxlength.C (inPixels): change to use a width and a height as
8614         parameter.
8615
8616 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8617
8618         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8619         Replaced with \paperwidth
8620
8621         * DepTable.C (insert): add std:: qualifier
8622
8623 2002-01-18  Allan Rae  <rae@lyx.org>
8624
8625         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8626         updated also?
8627
8628         * text.C (drawInset): Turned out I didn't know enough about how
8629         rebreaking worked.  This fixes most of the redraw problems.  I see
8630         an occasional cursor trail when a line is broken now and the cursor
8631         placement can seem out by a few pixels also after a rebreak.
8632
8633 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8634
8635         * buffer.C (parseSingleLyXformat2Token): update because minipage
8636         width is now a LyXLength
8637
8638         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8639
8640         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8641         math insets
8642
8643 2002-01-17  Juergen Vigna  <jug@sad.it>
8644
8645         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8646
8647         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8648         is set correctly and the inset is updated correctly.
8649
8650 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8651
8652         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8653         the beginning of the loop.
8654
8655 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8656
8657         * lyxrc.C: improve help for use_scalable_fonts
8658
8659 2002-01-17  Allan Rae  <rae@lyx.org>
8660
8661         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8662
8663 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8664
8665         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8666         make sure to set their inset_owner to the right value (bug #171)
8667
8668 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8669
8670         * DepTable.h
8671         * DepTable.C: Implement mtime checking to reduce time spent doing
8672         CRCs.
8673
8674 2002-01-16  Juergen Vigna  <jug@sad.it>
8675
8676         * tabular.C (GetAdditionalHeight): one of error fixed.
8677
8678         * lyxrc.C (output): small fix in writing use_pspell.
8679
8680 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8681
8682         * sp_base.h: #include LString.h
8683
8684 2002-01-16  Allan Rae  <rae@lyx.org>
8685
8686         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8687         Can someone check this please?
8688
8689         * text.C (drawInset): It was possible that p.row would be removed by
8690         breakAgainOneRow upsetting a few other settings.  There may be another
8691         small tweak possible by setting need_break_row = 0 when p.row has been
8692         removed but I don't know enough about the logic here.
8693
8694 2002-01-15  Allan Rae  <rae@lyx.org>
8695
8696         * text.C (insertChar): removed conditional truism.
8697
8698         * BufferView2.C (removeAutoInsets): More tweaks.
8699         cur_par_prev could be a stray pointer.  Check for trailing empty line
8700         in case last line was cur_par and only had an error inset on it.
8701
8702 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8703
8704         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8705         absolute
8706
8707         * vc-backend.C (most methods):
8708         * exporter.C (Export):
8709         * converter.C (convert):
8710         (runLaTeX):
8711         * LyXSendto.C (SendtoApplyCB):
8712         * lyxfunc.C (dispatch):
8713         (menuNew):
8714         (open):
8715         (doImport):
8716         * lyx_cb.C (AutoSave):
8717         (InsertAsciiFile):
8718         * BufferView_pimpl.C (MenuInsertLyXFile):
8719         * buffer.C (runChktex): use Buffer::filePath().
8720
8721         * buffer.h: rename filename to filename_; rename filepath to
8722         filepath_ and make it private
8723         (filePath): new method
8724
8725         * buffer.C (writeFile): use fileName()
8726         (getLatexName):
8727
8728         * lyx_main.C (init): fix starting  of LyX when the binary is a
8729         link from so,ewhere else.
8730
8731         * minibuffer.C: include <cctype> for isprint
8732
8733 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8734
8735         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8736         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8737         name clash with InsetCollapsable's width function.
8738
8739 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8740
8741         * lastfiles.C: include <iterator>
8742
8743 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8744
8745         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8746         std::count.
8747
8748         * buffer.C (makeLaTeXFile): ditto.
8749         Also make loop operation more transparent.
8750
8751 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8752
8753         * ToolbarDefaults.C: remove trailing comma closing namespace.
8754
8755         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8756
8757         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8758         as in WorkArea.
8759
8760         * trans.C (Load): comment out unused variable, allowed.
8761
8762 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8763
8764         * minibuffer.[Ch] (append_char): new method to recieve input from the
8765         drop-down completion browser. If a key was pressed, then recieve this
8766         char and append it to the existing string.
8767         (peek_event): modify the positioning data passed to the completion
8768         browser so that it can be placed above the minibuffer rather than below.
8769 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8770
8771         * LyXAction.C (init): alloe error-next for readonly documents.
8772
8773         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8774         count.
8775
8776 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8777
8778         * bufferlist.C (readFile): create the buffer _after_ checking that
8779         the file exists.
8780
8781         * lyxfunc.C (verboseDispatch): fix handling of arguments
8782
8783         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8784
8785         * lyxrc.C: use string::erase() instead of initializing to "".
8786
8787
8788 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8789
8790         * BufferView_pimpl.h:
8791         * BufferView_pimpl.C:
8792         * WorkArea.h:
8793         * WorkArea.C:
8794         * text2.C: tell X when we have made a selection for copying
8795
8796 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8797
8798         * BufferView_pimpl.C (MenuInsertLyXFile):
8799         * lyxfunc.C (menuNew):
8800         (open):
8801         (doImport): add shortcuts to directory buttons
8802
8803         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8804         open a float)
8805
8806         * lyxfunc.C (setStatusMessage):
8807         (getStatusMessage): new methods
8808         (getStatus):use setStatusMessage instead of setErrorMessage
8809         (dispatch): when function is disabled, set error message here
8810         [instead of in getStatus previously]
8811
8812         * BufferView_pimpl.C (workAreaButtonRelease): update
8813         toolbar/menubar here too.
8814
8815 2002-01-13  Allan Rae  <rae@lyx.org>
8816
8817         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8818         Now seems indestructible.  Remaining task is to audit all other
8819         code affected by deleteEmptyParagraphMechanism.  One small quirk
8820         left is that an empty document with an error in the preamble can
8821         be made to report an error but no error box appears.  I don't know
8822         where it goes.
8823         (removeAutoInsets): Improved comments.
8824
8825 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8826
8827         * Thesaurus.h:
8828         * Thesaurus.C: update for Aiksaurus 0.14
8829
8830 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8831
8832         * text2.C (firstParagraph): removed member function, all uses
8833         replaces with ownerParagraph
8834         (redoParagraphs): here
8835         (updateInset): here
8836         (toggleAppendix): here
8837         * BufferView2.C (insertErrors): here
8838         (setCursorFromRow): here
8839
8840 2002-01-13  Allan Rae  <rae@lyx.org>
8841
8842         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8843         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8844         There is still a way to segfault this although you may have to do this
8845         multiple times: Have an InsetERT with an unknown command in it.
8846         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8847         <down-arrow>, <Enter> again, View->DVI, BANG!
8848
8849         * text2.C (setCursor):
8850         (deleteEmptyParagraphMechanism):
8851         * lyxtext.h (setCursor):
8852         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8853         Making use of the return value may help fix other bugs.
8854
8855 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8856
8857         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8858
8859         * LyXView.C (updateMenubar): call MenuBar::update here
8860         (updateToolbar): but not here
8861         (showState): do not update toolbar/menubar
8862
8863         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8864         should need to care about that.
8865
8866         * lyxfunc.C (verboseDispatch): simplify a bit
8867         (getStatus): have a version which takes a pseudoaction, and
8868         another which requires a (kb_action,string).
8869
8870         * LyXAction.C (retrieveActionArg): make it work also when action
8871         is not a pseudo-action.
8872         (getActionName): simplify a bit
8873         (helpText):
8874
8875 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8876
8877         * lyxfunc.C (verboseDispatch): new families of methods with
8878         several ways to specify a command and a bool to indicate whether
8879         the command name and shortcut should be displayed in minibuffer
8880         (eventually, we could extend that to a finer bitmask like
8881         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8882         (dispatch): the pristine dispatch command which just, well,
8883         dispatchs! Note it still sets its result to minibuffer; I'm not
8884         sure we want that.
8885
8886         * lyxfunc.h: remove setHintMessage
8887
8888         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8889
8890 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8891
8892         * BufferView_pimpl.C (specialChar): delete new inset if we have
8893         not been able to insert it.
8894
8895         * kbmap.C: revert to using int instead of kb_action, since all we
8896         are dealing with is pseudo-actions.
8897
8898         * LyXAction.C (searchActionArg): change to return int instead of
8899         kb_action, since the result is a pseudoaction.
8900
8901 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8902
8903         * buffer.C (insertErtContents): Fix (partially) the font bug.
8904
8905 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8906
8907         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8908         as the other one is broken on my machine!
8909
8910 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8911
8912         * commandtags.h:
8913         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8914
8915 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8916
8917         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8918         reflect their actual use. Provide compatibility code for older lyxrc
8919         files.
8920
8921         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8922         FL_NORMAL_STYLE.
8923         change names of popup font variables in line with the changes to lyxrc.C
8924
8925 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8926
8927         * buffer.C (asciiParagraph): avoid outputing a word twice after
8928         an inset.
8929
8930         * lyxrc.C (getDescription): document that document_path and
8931         template_path can be empty.
8932
8933 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8934
8935         * LaTeXFeatures.C (getMacros):
8936         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8937
8938         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8939
8940         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8941         getPackages.
8942         (getPackages): rename feature "floats" to "float". Use an array to
8943         iterate over 'simple' features (i.e. just a \usepackage). Add
8944         handling of "amsmath" (renamed from "amsstyle").
8945
8946 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8947
8948         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8949         features list.
8950
8951 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8952
8953         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8954         FuncStaus::FuncStatus & FuncStaus::some_method().
8955
8956 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8957
8958         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8959         of the func_satus stuff. Edited and massaged in various ways by
8960         JMarc.
8961
8962         * lyxfunc.C (getStatus): use FuncStatus
8963
8964 2002-01-08  Juergen Vigna  <jug@sad.it>
8965
8966         * text.C (nextBreakPoint): use function Inset::isChar().
8967
8968         * paragraph.C (TeXOnePar): use function
8969         Inset::forceDefaultParagraphs.
8970
8971         * buffer.C (latexParagraphs): use function
8972         Inset::forceDefaultParagraphs.
8973
8974 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8975
8976         * lyx_gui.C (init): set the style of the menu popups to
8977         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8978
8979 2002-01-07  Juergen Vigna  <jug@sad.it>
8980
8981         * text.C (setHeightOfRow): small fix
8982         (prepareToPrint): don't look at alignment if we don't have the place
8983         for doing it.
8984
8985 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8986
8987         * box.C: New file. Move the Box methods and functions out of box.h,
8988         following Lars' suggestion.
8989
8990 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8991
8992         * box.h: #include "support/LOstream.h", needed for inlined function.
8993
8994         * lyxtextclass.C:
8995         * lyxtextclasslist.C: added some using std declarations.
8996
8997 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8998
8999         * box.h: make signed dimensions to allow insets wider than
9000           the screen (bug #162)
9001
9002         * BufferView_pimpl.C: add some insetHit debug
9003
9004 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9005
9006         * vc-backend.C: add FIXME
9007
9008 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9009
9010         * lyxfunc.C (getStatus): enable code for showing math font status
9011         in toolbar/menu.
9012
9013 2002-01-07  Juergen Vigna  <jug@sad.it>
9014
9015         * text.C (nextBreakPoint): removed debug output not needed anymore.
9016
9017 2002-01-06  Juergen Vigna  <jug@sad.it>
9018
9019         * text.C (nextBreakPoint): fixed up this function we had this bug
9020         since ever but now hopefully we break row better.
9021         (insertChar): we have to check if an inset is the next char as it
9022         could now happen that a large inset is causing a break.
9023
9024 2002-01-05  Juergen Vigna  <jug@sad.it>
9025
9026         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9027         if it doesn't like to be drawed.
9028
9029 2002-01-04  Juergen Vigna  <jug@sad.it>
9030
9031         * BufferView2.C (lockInset): forgot to set a cursor.
9032
9033         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9034
9035 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9036
9037         * FormMathsPanel.C:
9038         * FormMathsPanel.h
9039         * MathsSymbols.C:
9040         * form_maths_panel.C:
9041         * form_maths_panel.h:
9042         * form_maths_panel.fd: implemented sub- and super- buttons in math
9043         panel.
9044
9045         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9046         (or ^ space) to be used as in TeX (req'd by André).
9047
9048         * lyxfunc.C: Allow ^ and _ again to be used both as
9049         super/subscript (mathed) and as themselves (in text).
9050
9051 2002-01-03  Allan Rae  <rae@lyx.org>
9052
9053         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9054         "LyX" or the filename of the current buffer if it has one.  This is a
9055         modified form of John Levon's patch.
9056
9057         * XFormsView.C (setWindowTitle): also set icon title.
9058
9059         * LyXView.h (setWindowTitle): signature changed.
9060         * XFormsView.h (setWindowTitle): ditto.
9061
9062 2002-01-02  Juergen Vigna  <jug@sad.it>
9063
9064         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9065
9066 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9067
9068         * screen.C (topCursorVisible): introduce a temp var for
9069         text->cursor.row(), handle the case where this row is null. (kindo
9070         hachish)
9071
9072         * text2.C (setCursor): add a couple of asserts.
9073
9074         * paragraph.h (inset_iterator): add -> operator
9075
9076         * paragraph.[Ch] (autoDeleteInsets): remove member function
9077
9078         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9079         cursor pos correctly and handle inset deletion by itself.
9080         (insertErrors): move iterator declaration out of for expression
9081
9082         * lyxtextclass.C: add <algorithm>
9083
9084         * Makefile.am: added the new files to sources, removed layout.C
9085
9086         * layout.C: removed file
9087
9088         * layout.h: remove LYX_DUMMY_LAYOUT
9089
9090         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9091         layout.
9092
9093         * lyxlayout.[Ch]:
9094         * lyxtextclass.[Ch]:
9095         * lyxtextclasslist.[Ch]: new files
9096
9097         * include order changes to a lot of files, also changes because of
9098         the six new files.
9099
9100 2001-12-27  Juergen Vigna  <jug@sad.it>
9101
9102         * buffer.C (asciiParagraph): more fixes.
9103
9104         * tabular.C (ascii): make ascii export support export of only the
9105         data separated by a column-delimiter.
9106         (ascii): better support for ascii export.
9107
9108         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9109
9110 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9111
9112         * tabular_funcs.C: use a "using std::getline" instead of the
9113         previous fix from Angus (necessary for cxx + lyxstring)
9114
9115 2001-12-24  Juergen Vigna  <jug@sad.it>
9116
9117         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9118
9119         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9120         problems. First check a minipage also if we have some ert-contents
9121         (not only on par->size(), second set the right depth of the paragraph
9122         on the relink to the root-paragraph-list!
9123
9124         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9125         which then did not anymore update the main paragraphs on undo/redo!
9126
9127 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9128
9129         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9130         code. Support all font-changing funcs (even those which are not in
9131         menu currently). Support for reporting font settings in
9132         mathed (disabled until Andre provides a function on mathed's side).
9133
9134         * func_status.h (toggle): small helper function to set toggle
9135         state on a flag.
9136
9137 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9138
9139         * tabular_funcs.C: getline -> std::getline
9140
9141 2001-12-21  Juergen Vigna  <jug@sad.it>
9142
9143         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9144         accessed and could be 0 (I couldn't generate this but it seems
9145         Michael could!).
9146
9147 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9148
9149         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9150         * tabular_funcs.h: here and include iosfwd
9151
9152 2001-12-20  Juergen Vigna  <jug@sad.it>
9153
9154         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9155         inside inset but undo_par was.
9156
9157 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9158
9159         * Thesaurus.C: always include <config.h> in sources.
9160
9161         * Painter.h:
9162         * lyxlookup.h:
9163         * box.h: do not include <config.h> in header files
9164
9165         * text.C (paintLastRow): remove unused variable
9166
9167         * text.C (transformChar):
9168         (insertChar):
9169         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9170
9171         * Painter.C (text):
9172         * font.C (width): rewrite to use uppercase() instead of
9173         islower/toupper.
9174
9175         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9176
9177 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9178
9179         * lyxfind.C: clean up of find failure position change
9180
9181 2001-12-20  Juergen Vigna  <jug@sad.it>
9182
9183         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9184
9185         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9186         (TeXRow): added to LaTeX a single tabular row.
9187         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9188         (Latex): simplified and finally good LT-h/f support.
9189         (various_functions): just small adaptions for LT-h/f support.
9190
9191         * tabular_funcs.[hC]: added and moved here all not classfunctions
9192         of LyXTabular.
9193
9194 2001-12-19  Juergen Vigna  <jug@sad.it>
9195
9196         * tabular.[Ch]: better support for longtabular options (not finished
9197         yet!)
9198
9199 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9200
9201         * text.C (paintLastRow): use the label font instead of the font of
9202         the last character to compute the size of *_BOX. This makes more
9203         sense and avoids a crash with empty paragraphs.
9204         Use Painter::rectangle to draw EMPTY_BOX.
9205
9206 2001-12-19  Juergen Vigna  <jug@sad.it>
9207
9208         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9209         the paragraphs if the replaced paragraph is not the first one!
9210         Tried to delete not used paragraphs but does not work yet so for
9211         now it's inside #ifdef's and by default off!
9212
9213 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9214
9215         * MenuBackend.C: include "lyx_main.h" instead of declaring
9216         lastfiles (actually was declared as LastFiles* instead of a
9217         scoped_ptr).
9218
9219 2001-12-17  Juergen Vigna  <jug@sad.it>
9220
9221         * tabular.C (AppendColumn): applied John's fix
9222
9223 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9224
9225         * BufferView.h:
9226         * BufferView.C:
9227         * BufferView_pimpl.h:
9228         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9229
9230         * Makefile.am:
9231         * box.h: new start of class for above
9232
9233         * lyxfunc.C: ignore space-only minibuffer dispatches.
9234           Show the command name when it doesn't exist
9235
9236         * minibuffer.C: don't add empty lines to the history
9237
9238         * minibuffer.C: add a space on dropdown completion
9239
9240 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9241
9242         * text.C: fix line above/below drawing in insets
9243
9244 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9245
9246         * lyxlength.C (LyXLength): Initialize private variables.
9247
9248 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9249
9250         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9251         when inserting error insets.
9252
9253 2001-12-13  Juergen Vigna  <jug@sad.it>
9254
9255         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9256         actually sometimes the before-paragraph.
9257         (setUndo): don't clear the redostack if we're not actually undoing!
9258
9259 2001-12-06  Juergen Vigna  <jug@sad.it>
9260
9261         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9262         and fixed redoing of main paragraph, so we can use it now ;)
9263
9264         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9265
9266 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9267
9268         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9269         Juergen's request
9270
9271 2001-12-13  André Pönitz <poenitz@gmx.net>
9272
9273         * undostack.[Ch]:
9274         * undo_func.C: minor cleanup
9275
9276 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9277
9278         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9279         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9280         font in urw-fonts package which is marked as -urw-fontspecific and
9281         does not work (incidentally, changing the encoding in the
9282         fonts.dir of this package to -adobe-fontspecific fixes the
9283         problem).
9284
9285         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9286         is a crash when undoing first paragraph (Juergen, please take a
9287         look). THis does not mean the undo fix is wrong, just that it
9288         uncovers problems.
9289
9290         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9291         the (Paragraph*) version when needed instead of duplicating the
9292         code.
9293
9294         * text.C (workWidth): use Inset::parOwner to find out where the
9295         inset has been inserted. This is a huge performance gain for large
9296         documents with lots of insets. If Inset::parOwner is not set, fall
9297         back on the brute force method
9298
9299         * paragraph_pimpl.C (insertInset):
9300         * paragraph.C (Paragraph):
9301         (cutIntoMinibuffer): set parOwner of insets when
9302         inserting/removing them
9303
9304         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9305
9306 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9307
9308         * commandtags.h:
9309         * LyXAction.C:
9310         * lyx_main.C:
9311         * lyxfunc.C:
9312         * mathed/formulabase.C:
9313         * mathed/math_cursor.[Ch]:
9314         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9315
9316
9317 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9318
9319         * lyxlength.[Ch] (operator!=): new function
9320
9321 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9322
9323         * text.C (workWidth): use Inset::parOwner to find out where the
9324         inset has been inserted. This is a huge performance gain for large
9325         documents with lots of insets. If Inset::parOwner is not set, fall
9326         back on the brute force method
9327
9328         * paragraph_pimpl.C (insertInset):
9329         * paragraph.C (Paragraph):
9330         (cutIntoMinibuffer): set parOwner of insets when
9331         inserting/removing them
9332
9333         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9334
9335 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * tabular-old.C (getTokenValue):
9338         * tabular.C (getTokenValue):
9339         (write_attribute): new versions for LyXLength
9340         (everywhere): adjust the use of widths
9341
9342         * tabular.h: change the type of widths from string to LyXLength
9343
9344 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9345
9346         * paragraph.C: fixed missing line number count when exporting
9347         Environments to LaTeX file
9348
9349         * buffer.C: added informational message for checking line numbers.
9350
9351 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9352
9353         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9354         paragraph, do the 'double space' part, but not the 'empty
9355         paragraph' one.
9356
9357         * text.C (workWidth): small optimization
9358         (getLengthMarkerHeight): use minimal size for negative lengths.
9359
9360 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9361
9362         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9363
9364         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9365
9366 2001-12-11  André Pönitz <poenitz@gmx.net>
9367
9368         * FontLoader.C:
9369         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9370
9371 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9372
9373         * text2.C: keep selection on a setFont()
9374
9375 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9376
9377         * lyx_cb.C: another bv->text misuse, from insert label
9378
9379 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9380
9381         * kbsequence.h:
9382         * kbsequence.C: re-instate nmodifier mask
9383
9384 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9385
9386         * lyx_main.h: make lyxGUI private.
9387
9388 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9389
9390         * lyxfind.C: place the cursor correctly on failed search
9391
9392 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9393
9394         * text.C (getLengthMarkerHeight): for small heights, the arrows
9395         are not always on top/bottom of the text
9396         (drawLengthMarker): smaller arrows; take the left margin in
9397         account; draw also vfills.
9398         (paintFirstRow):
9399         (paintLastRow): remove special code for vfill and standard spaces,
9400         since everything is handled in drawLengthMarker now.
9401
9402 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9403
9404         * buffer.C (insertErtContents): try to handle font and language
9405         interaction a bit better.g
9406
9407         * ColorHandler.C (updateColor): change the hash to cover the whole
9408         LColor enum, ws cleanup
9409         (getGCLinepars): ditto
9410         (getGCLinepars): only lookup in the linecache once.
9411
9412 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9413
9414         * iterators.C (operator++): Make the iterator more robust
9415
9416         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9417         (John's patch)
9418         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9419
9420 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9421
9422         * lyxtext.h:
9423         * text.C: better added space drawing
9424
9425 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9426
9427         * LyXView.C:
9428         * BufferView2.C: fix layout combo update on inset unlock
9429
9430 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9431
9432         * Makefile.am: don't compile unused files
9433
9434 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9435
9436         * lyxfunc.C:
9437         * commandtags.h:
9438         * LyXAction.C: remove old LFUN_LAYOUTNO
9439
9440 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9441
9442         * paragraph_pimpl.h:
9443         * paragraph_pimpl.C: isTextAt() doesn't need font param
9444
9445 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9446
9447         * lyxlex.h:
9448         * lyxlex.C: little cleanup
9449
9450 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9451
9452         * BufferView_pimpl.C: fix insertAscii for insets
9453
9454 2001-12-05  Juergen Vigna  <jug@sad.it>
9455
9456         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9457         set the right font on the "multi" paragraph paste!
9458
9459 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9460
9461         * trans_decl.h:
9462         * trans_mgr.[Ch]:
9463         * trans.[Ch]:
9464         * lyxgluelength.C:
9465         * lyxlength.C: remove out-commented code.
9466
9467         * BufferView_pimpl:
9468         * CutAndPaste.C:
9469         * DepTable.C:
9470         * buffer.C:
9471         * chset.C:
9472         * lastfiles.C:
9473         * lyxlex.C:
9474         * lyxlex_pimpl.C:
9475         * lyxserver.C:
9476         * screen.C:
9477         * tabular-old.C:
9478         * tabular.C:
9479         * text.C:
9480         * trans_mgr.C:
9481         * vc-backend.C: change "while(" to "while ("
9482
9483         * lyxlength.[Ch]: add zero function to check if length is zero or
9484         not
9485         * lyxgluelength.C: use it
9486
9487 2001-12-05  Allan Rae  <rae@lyx.org>
9488
9489         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9490         Works for 2.95.3, from what I understand of Garst's reports this should
9491         work for other g++ versions.  We're screwed if the abs(int) definition
9492         changed between bugfix releases of gcc.
9493
9494 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9495
9496         * text.C: fix chapter label offset !
9497
9498 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9499
9500         * lyxtext.h:
9501         * text.C: fix hfill at end of line, clean up
9502
9503 2001-12-04  Juergen Vigna  <jug@sad.it>
9504
9505         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9506         that we force an update of the inset and it's owners if neccessary.
9507
9508 2001-12-03  Juergen Vigna  <jug@sad.it>
9509
9510         * text.C (rowLast): simplified code
9511
9512 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * lyxfunc.C: fix show options on timeout
9515
9516 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9517
9518         * screen.C (topCursorVisible): scroll half a page when the cursor
9519         reached top of bottom of screen
9520
9521 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9522
9523         * minibuffer.C: deactivate on loss of focus
9524
9525 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9526
9527         * vspace.[Ch] (operator!=): add operator.
9528
9529 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9530
9531         * BufferView_pimpl.C: refuse to open an inset when
9532         there's a selection.
9533
9534 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9535
9536         * BufferView_pimpl.C: allow to click on RHS of full row insets
9537
9538 2001-11-30  Juergen Vigna  <jug@sad.it>
9539
9540         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9541         insets for undo reasons.
9542
9543 2001-11-28  André Pönitz <poenitz@gmx.net>
9544
9545         * vspace.[Ch]: cosmetical changes
9546
9547 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9548
9549         * LyXAction.h:
9550         * LyXAction.C:
9551         * lyxfunc.h:
9552         * lyxfunc.C:
9553         * kbmap.h:
9554         * kbmap.C:
9555         * lyxrc.C:
9556         * kbsequence.h:
9557         * kbsequence.C: part re-write of old kb code
9558
9559         * Painter.C:
9560         * WorkArea.C: remove Lgb_bug_find_hack
9561
9562 2001-11-30  José Matos <jamatos@fep.up.pt>
9563
9564         * buffer.C (makeDocBookFile): add a comment to point a hack.
9565         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9566         Fixed a double write of labels.
9567
9568 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9569
9570         * LaTeX.C:
9571         * LaTeX.h Fixed bug in LaTeX class where it would not
9572         re-run latex if no depfiles were changed, but the .dvi was removed.
9573
9574 2001-11-28  André Pönitz <poenitz@gmx.net>
9575
9576         * all the files from the change on 2001/11/26:
9577         use lyx::layout_type instead of LyXTextClass::size_type
9578         use lyx::textclass_type instead of LyXTextClassList::size_type
9579
9580 2001-11-29  Juergen Vigna  <jug@sad.it>
9581
9582         * text.C: added support for paragraph::isFreeSpacing()
9583
9584         * buffer.C: same as above
9585
9586         * paragraph.h: inserted isFreeSpacing() function to enable
9587         FreeSpacing inside InsetERT.
9588
9589         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9590         of the paragraph's in the cut/copy buffer to 0!
9591
9592         * text2.C (removeRow): remove the assert as it can!
9593
9594         * lyxtext.h: added helper function firstRow returning firstrow and
9595         made firstrow private again.
9596
9597         * BufferView2.C (lockInset): don't relock if we're already locked!
9598
9599         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9600         the only paragraph.
9601         (removeRow): added Assert::(firstrow)
9602
9603         * debug.C: forgot to add INSETTEXT here.
9604
9605 2001-11-28  Juergen Vigna  <jug@sad.it>
9606
9607         * sp_spell.C (initialize): changed error text to more general
9608         spellchecker command use (not only ispell!)
9609
9610         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9611
9612         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9613
9614 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9615
9616         * vspace.C: initialise lyxgluelength on failure
9617
9618 2001-11-28  Allan Rae  <rae@lyx.org>
9619
9620         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9621         declaration & definition that looks like a function declaration.
9622
9623 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9624
9625         * BufferView2.C (copy):
9626         (copyEnvironment): do not clear the selection when doing a copy.
9627
9628         * text.C (paintFirstRow): compilation fix
9629
9630 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9631
9632         * tabular.C (Latex): correct line count when writing latex.
9633
9634 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9635
9636         * paragraph_pimpl.h:
9637         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9638           bug a bit
9639
9640 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9641
9642         * text.C:
9643         * LColor.h:
9644         * LColor.C: change vfillline->added_space
9645
9646         * text.C: add markers and text for added space
9647
9648         * vspace.C: fix comment
9649
9650 2001-11-28  André Pönitz <poenitz@gmx.net>
9651
9652         * paragraph.C: whitespace changes
9653         * all the other files from the change on 2001/11/26:
9654         change *::pos_type into lyx::pos_type
9655
9656 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9657
9658         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9659         language of the document when inserting error insets.
9660
9661 2001-11-26  André Pönitz <poenitz@gmx.net>
9662
9663         * BufferView_pimpl.[Ch]:
9664         *       CutAndPaste.C:
9665         * buffer.[Ch]:
9666         * lyxcursor.[Ch]:
9667         * lyxfind.C:
9668         * lyxfunc.C:
9669         * lyxrow.[Ch]:
9670         * paragraph.[Ch]:
9671         * paragraph_pimpl.[Ch]:
9672         * sp_spell.C:
9673         * text.C:
9674         * text2.C: reduce header dependencies, introduce type for positions
9675
9676 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9677
9678         * <various>: change to use Alert.h
9679
9680 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9681
9682         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9683         when encountering an unknown token.
9684         (readLyXformat2): Show an error message if there were unknown tokens.
9685
9686 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9687
9688         * BufferView2.C:
9689         * BufferView_pimpl.C:
9690         * buffer.C:
9691         * paragraph.h:
9692         * text.C:
9693         * text2.C: use par->isInset()
9694
9695 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9696
9697         * paragraph_pimpl.h:
9698         * paragraph_pimpl.C: cleanup
9699
9700 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9701
9702         * text2.C (removeRow):
9703         * text.C (setHeightOfRow): remove useless (and costly) call to
9704         getRow.
9705
9706 2001-11-20  Allan Rae  <rae@lyx.org>
9707
9708         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9709         Now need Inset*::checkInsertChar() to return true for appropriate
9710         cases so that the characters in the minibuffer will actually be
9711         inserted.
9712
9713 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9714
9715         * text.C: change the order of the includes.
9716         (workWidth): initialize it at once.
9717         (workWidth): make maxw unsigned
9718         (setHeightOfRow): remove unused variable (inset)
9719         (selectSelectedWord): remove unused variable (inset)
9720         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9721
9722 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9723
9724         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9725         server is not running.
9726         (openConnection):
9727         (closeConnection): add debug info when server is disabled.
9728
9729         * ColorHandler.C (getGCForeground): send debug message to GUI
9730         channel.
9731
9732         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9733
9734         * kbmap.C (bind): modify because return conventions of
9735         kb_sequence::parse have changed.
9736
9737         * kbsequence.C (parse): only ignore spaces and not any stupid
9738         control character. This avoids tests like s[i] <= ' ', which are
9739         guaranteed to fail with 8bit characters and signed chars.
9740         Change return code to string::npos when there have been no error
9741         (0 was a bad idea when error is at first character)
9742
9743 2001-11-14  José Matos  <jamatos@fep.up.pt>
9744
9745         * buffer.h:
9746         * buffer.C (simpleDocBookOnePar): removed unused argument.
9747
9748 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9749
9750         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9751         insets which are part of a word. Paragraph::isLetter takes care of
9752         that now. Use Paragraph::isInset to identify insets.
9753         (selectSelectedWord): do not test for hyphenation break.
9754
9755         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9756         that protected spaces are considered as spaces.
9757
9758         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9759         Inset::isLetter.
9760
9761 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9762
9763         * lyxserver.h:
9764         * lyxserver.C: fix it. and small cleanup.
9765
9766 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9767
9768         * BufferView_pimpl.C: use inline helpers
9769
9770         * LaTeXFeatures.h:
9771         * LaTeXFeatures.C: fix typos
9772
9773         * Spacing.h:
9774         * Spacing.C: move spacing_string into class
9775
9776         * ToolbarDefaults.C: move stuff into namespace anon
9777
9778         * layout.h: update enum
9779
9780         * lyxfunc.C: use better debug
9781
9782         * minibuffer.h: fix typo
9783
9784         * debug.h:
9785         * debug.C:
9786         * WorkArea.C: add and use Debug::WORKAREA
9787
9788         * lyxtext.h:
9789         * text.C:
9790         * text2.C: code re-organisation, inline helpers
9791
9792 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9793
9794         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9795         std::vector.empty().
9796
9797 2001-11-09  Allan Rae  <rae@lyx.org>
9798
9799         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9800         '\n's after tables.  Tabular and ERT inset work now makes this no
9801         longer necessary.
9802
9803 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9804
9805         * minibuffer.h:
9806         * minibuffer.C: fix crash, improve drop-down completion
9807
9808 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9809
9810         * lyxserver.h:
9811         * lyxserver.C: invalidate fd's when doing endPipe()
9812
9813 2001-11-08  José Matos  <jamatos@fep.up.pt>
9814
9815         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9816         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9817
9818         * paragraph.h:
9819         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9820
9821 2001-11-07  José Matos  <jamatos@fep.up.pt>
9822
9823         * buffer.h:
9824         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9825         const qualifier.
9826
9827         * buffer.C (sgmlOpenTag):
9828         * buffer.C (sgmlCloseTag): removed debug info.
9829
9830         * buffer.h (sgmlOpenTag):
9831         * buffer.h (sgmlCloseTag): made public.
9832
9833 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9834
9835         * buffer.C (saveParamsAsDefaults):
9836         * lyx_cb.C (MenuLayoutSave): remove
9837
9838         * LyXAction.C (init):
9839         * commandtags.h:
9840         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9841
9842 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9843
9844         * buffer.C (setPaperStuff): removed from here...
9845
9846         * bufferparams.C (setPaperStuff): ... and moved there.
9847
9848 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9849
9850         * minibuffer.h:
9851         * minibuffer.C:
9852         * XFormsView.C: add support for drop-down completion
9853
9854 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9855
9856         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9857         commands.
9858
9859 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9860
9861         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9862         disabled.
9863
9864 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9865
9866         * lyx_main.C: change ref to known bugs
9867
9868 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9869
9870         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9871         to work around older babel problems.
9872
9873 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9874
9875         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9876
9877 2001-10-24  Juergen Vigna  <jug@sad.it>
9878
9879         * tabular-old.C (ReadOld): below variable changes reflected.
9880
9881         * tabular.[Ch]: added ltType struct for longtable header/footer
9882         defines and changed all instances where they are used. Added
9883         future support for double top/bottom rows.
9884
9885 2001-10-24  José Matos  <jamatos@fep.up.pt>
9886
9887         * buffer.h (docbookHandleCaption):
9888         * buffer.C (docbookHandleCaption): removed unused function.
9889         (makeDocBookFile): moved docbook supported version to v4.1.
9890
9891 2001-10-24  José Matos  <jamatos@fep.up.pt>
9892
9893         * tabular.h:
9894         * tabular.C (docbookRow): new function to export docbook code of a row.
9895         (DocBook): now honors the longtable flags.
9896
9897 2001-10-23  José Matos  <jamatos@fep.up.pt>
9898
9899         * LaTeXFeatures.h:
9900         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9901         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9902
9903         * buffer.C (makeLinuxDocFile):
9904         (makeDocBookFile): reworked the preamble, more clean, and with
9905         support for lyx defined entities. Changed the document declaration
9906         to be more XML friendly.
9907
9908         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9909         if we need to output XML that should be done with a filter.
9910
9911 2001-10-22  Juergen Vigna  <jug@sad.it>
9912
9913         * sp_pspell.h (class PSpell): add alive function needed in the
9914         controller to see if the spellchecker could be started.
9915
9916 2001-10-22  Juergen Vigna  <jug@sad.it>
9917
9918         * buffer.C (insertStringAsLines): modify the font for inserting
9919         chars in certain conditions by calling checkInsertChar(font).
9920
9921 2001-10-19  Juergen Vigna  <jug@sad.it>
9922
9923         * text.C (workWidth): use getRow instead of wrong algorithm.
9924         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9925
9926 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9927
9928         * lyxserver.h:
9929         * lyxserver.C:
9930         * lyx_main.h:
9931         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9932
9933 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9934
9935         * text.C (workWidth): do not search for the exact row when
9936         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9937         optimization for big documents.
9938
9939 2001-10-18  Juergen Vigna  <jug@sad.it>
9940
9941         * text.C (workWidth): new function with added Inset * parameter.
9942
9943 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9944
9945         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9946
9947         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9948         change return type of getColumnNearX.
9949
9950
9951         * text.C (changeRegionCase): use uppercase/lowercase instead of
9952         toupper/tolower.
9953         (leftMargin):
9954         (rightMargin): simplify code by factoring out the uses of
9955         textclasslist.
9956         (labelFill):
9957         (numberOfHfills):
9958         (setHeightOfRow):
9959         (appendParagraph): use Paragraph::size_type
9960
9961 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9962
9963         * vspace.C (asLatexString): add a missing break
9964
9965 2001-10-15  Herbert Voss  <voss@perce.de>
9966
9967         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9968
9969 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9970
9971         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9972         is not available.
9973
9974 2001-10-10  André Pönitz <poenitz@gmx.net>
9975
9976         * lyxfunc.C: removed greek_kb_flag.
9977
9978 2001-10-10  Herbert Voss  <voss@perce.de>
9979
9980         * lyx_main.C: delete global string help_lyxdir.
9981
9982 2001-10-09  Herbert Voss  <voss@perce.de>
9983
9984         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9985
9986         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9987
9988         * lyx_main.C: added global string help_lyxdir.
9989
9990         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9991
9992 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9993
9994         * lyxrc.C (set_font_norm_type): support iso8859-4
9995
9996 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9997
9998         * LaTeX.C (deplog): add another regex for MikTeX
9999
10000 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10001
10002         * lyxrc.C (set_font_norm_type): support iso8859-3
10003
10004 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10005
10006         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10007
10008         * LaTeXFeatures.C: remove special case of french and index
10009
10010         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10011         before \begin{document}). This solves several incompatibilities.
10012
10013 2001-10-03  Garst Reese  <reese@isn.net>
10014
10015         * lyx_cb.C: change CheckTex error msg.
10016
10017 2001-10-03  José Matos  <jamatos@fep.up.pt>
10018
10019         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10020
10021 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10022
10023         * .cvsignore: update
10024
10025         * lyx_main.C (commandLineVersionInfo): use new style version info.
10026
10027         * buffer.C (writeFile):
10028         (makeLaTeXFile):
10029         (makeLinuxDocFile):
10030         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10031
10032         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10033
10034         * version.h: update to use stuff in version.C
10035
10036         * version.C.in: new file. Contains version information determined
10037         at compile time. This is a merging of version.h and
10038         version_info.h.in.
10039
10040 2001-10-03  Juergen Vigna  <jug@sad.it>
10041
10042         * BufferView_pimpl.C (update): don't change "dirty" status in
10043         updateInset call.
10044
10045 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10046
10047         * WorkArea.C (c-tor): re-position version string slightly.
10048
10049 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10050
10051         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10052         revert to previous code.
10053
10054         WorkArea.[Ch]: (show, destroySplash): methods removed.
10055
10056         WorkArea.C: rework code so that it's an amalgam of the codes before and
10057         after the splash screen was moved to WorkArea.
10058
10059 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10060
10061         * lyxrc.C (read):
10062         * vspace.C (inPixels):
10063         (lyx_advance):
10064         * kbmap.C (bind):
10065         * buffer.C (insertStringAsLines):
10066         (asciiParagraph): fix types to be large enough
10067
10068         * lyxlex_pimpl.h: change member status from short to int
10069
10070         * layout.h: fix type of endlabeltype
10071
10072         * kbmap.C (bind):
10073         * kbsequence.C (parse): change return type to string::size_type
10074
10075         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10076         variable
10077
10078         * Bullet.C (bulletSize):
10079         (bulletEntry): do not use short ints as parameters
10080
10081         * BufferView2.C (insertLyXFile): change a char to an int.
10082
10083         * WorkArea.C (WorkArea): remove unneeded floats in computation
10084
10085 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10086
10087         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10088
10089         * paragraph.C (asString): Do not ignore newline/hfill chars when
10090         copying to the clipboard.
10091
10092 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10093
10094         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10095         after a multi-line inset.
10096
10097 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10098
10099         * paragraph.C (validate): Set NeedLyXFootnoteCode
10100
10101 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10102
10103         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10104         and decrease-error to decrease.
10105
10106 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10107
10108         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10109         it more readable (should be equivalent)
10110
10111 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10112
10113         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10114
10115 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10116
10117         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10118         of a cursor (row, etc.) after a character has been deleted
10119         (deleteEmptyParagraphMechanism): call the method above on _all_
10120         cursors held by the LyXText when a double space has been
10121         detected/deleted.
10122
10123 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10124
10125         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10126         pixmap.
10127         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10128
10129         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10130         background. Use greyOut() and the new show() methods to toggle between
10131         the foreground and background. Add code to remove the splash after
10132         its initial showing.
10133
10134         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10135         (create_forms): no longer call Dialogs::showSplash.
10136
10137 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10138
10139         * .cvsignore: add version_info.h
10140
10141 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10142
10143         * version_info.h.in: new file
10144
10145         * Makefile.am: add version_info.h.in
10146
10147         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10148         version_info.h instead of VERSION_INFO
10149
10150 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10151
10152         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10153         The ERT inset now returns string().
10154
10155 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10156
10157         * lyxtext.h, text.C (selectNextWord): renamed as
10158         selectNextWordToSpellcheck.
10159
10160         * text.C (selectNextWordToSpellcheck): Modified to not select
10161         words inside an ERT inset.
10162
10163 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10164
10165         * lyx_cb.C (MenuLayoutSave): change a bit the question
10166
10167         * sp_base.h: include <sys/types.h>
10168
10169 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10170
10171         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10172
10173 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10174
10175         * several files: fix typos in user-visible strings
10176
10177 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10178
10179         * text2.C (pasteSelection): do not set the selection, since it
10180         will be cleared later. Actually, the intent was to fix the way the
10181         selection was set, but I figured rmoving the code was just as good.
10182
10183 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10184
10185         * FontLoader.C (available): Check if font is available without
10186         loading the font.
10187
10188 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10189
10190         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10191
10192 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10193
10194         * lyxrc.[Ch]: added display_graphics variable and associated code.
10195
10196 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10197
10198         * bufferparams.C (hasClassDefaults): new method. Returns true if
10199         the buffer parameters correspond to known class defaults
10200
10201 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10202
10203         * XFormsView.C (show): set minimum size to the main window.
10204
10205 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10206
10207         * text2.C (copySelection):
10208         (cutSelection):
10209         * lyxfind.C (LyXReplace):
10210         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10211         LyXText::selectionAsString.
10212
10213         * paragraph.C (asString): add "label" argument to the second form
10214
10215         * text2.C (selectionAsString): add "label" argument and pass it to
10216         Paragraph::asString.
10217
10218 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10219
10220         * lyx_main.C (commandLineHelp): remove version information
10221
10222 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10223
10224         * lyx_main.C: add -version commandline option
10225
10226 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10227
10228         * paragraph.h: make the optional constructor arg required instead.
10229         some modifications to other files because of this.
10230
10231         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10232
10233         * lyxserver.C (C_LyXComm_callback): make it static
10234
10235         * lyx_main.C (error_handler): make it static
10236
10237         * lyx_gui.C (LyX_XErrHandler): make it static
10238
10239         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10240
10241         * WorkArea.C: make the extern "C" methods static.
10242
10243         * Makefile.am (lyx_LDADD): simplify
10244
10245 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10246
10247         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10248         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10249
10250         * LyXAction.C (init):
10251         * lyxfunc.C (dispatch): associated code removal.
10252
10253 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10254
10255         * lyxfont.h (isSymbolFont): shut off warning
10256
10257         * text.C (setHeightOfRow):
10258         (getVisibleRow): fix crash with empty paragraphs which have a
10259         bottom line
10260
10261 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10262
10263         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10264         code.
10265
10266 2001-09-04  José Matos  <jamatos@fep.up.pt>
10267         * buffer.C
10268         * buffer.h
10269         * tabular.C (docbook): rename docBook method to docbook.
10270
10271 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10272
10273         * Makefile.am: add dependencies to main.o.
10274
10275 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10276
10277         * FontLoader.C (available): Return false if !lyxrc.use_gui
10278
10279 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10280
10281         * FontInfo.C (query):
10282         * converter.C (view):
10283         * importer.C (Import):
10284         * exporter.C (Export): Can not -> cannot.
10285
10286 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10287
10288         * BufferView_pimpl.C: allow to create index inset even if
10289           string is empty
10290
10291 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10292
10293         * buffer.C (getLists): replace boost::tie code with an explicit pair
10294         as boost::tie can break some compilers.
10295
10296         * iterators.h: Added a std:: declaration to the return type of
10297         ParIterator::size.
10298
10299 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10300
10301         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10302           case.
10303
10304 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10305
10306         * iterators.[Ch]: New files. Provide paragraph iterators.
10307
10308         * buffer.C (changeLanguage): Use paragraph iterators.
10309         (isMultiLingual): ditto
10310
10311         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10312
10313 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10314
10315         * FontLoader.C: Support for cmr font.
10316
10317 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10318
10319         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10320         (available): New method.
10321
10322         * FontInfo.C (getFontname): Use scalable fonts even when
10323         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10324         found.
10325
10326 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10327
10328         * converter.C (Formats::view): reverted! Incorrect fix.
10329
10330 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10331
10332         * converter.C (Formats::view): only output the -paper option
10333         if the dvi viewer is xdvi, thereby fixing bug #233429.
10334
10335 2001-08-23  Herbert Voss  <voss@perce>
10336
10337         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10338
10339 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10340
10341         * Spacing.h (Spacing): Set space to Default on in the default
10342         constructor.
10343
10344 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10345
10346         * vc-backend.h (RCS::versionString): add RCS to version
10347         (CVS::versionString): add CVS to version
10348
10349         * vc-backend.C (scanMaster): do not add CVS to version.
10350         (scanMaster): do not add RCS to version
10351
10352         * lyxvc.C (versionString): new method
10353
10354         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10355
10356 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10357
10358         * Spacing.C (set): initialize fval
10359
10360 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10361
10362         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10363         " or \.
10364
10365 2001-08-16  Juergen Vigna  <jug@sad.it>
10366
10367         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10368
10369 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10370
10371         * BufferView_pimpl.C:
10372         * figureForm.C:
10373         * lyxtext.h:
10374         * text2.C: setParagraph takes linespacing now
10375
10376 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10377
10378         * LyxAction.C: add internal LFUN_CITATION_INSERT
10379
10380         * LyXView.C: actually apply fix
10381
10382         * bufferlist.C: fix open non-existent file
10383
10384         * lyxfind.C: fix indentation
10385
10386         * lyxfunc.C: remove unneeded assert, fix typo
10387
10388 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10389
10390         * MenuBackend.C: use "Floatname List"
10391
10392 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10393
10394         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10395         when converting LaTeX layout to insetERT.
10396         Generate a non-collapsed float when reading old float
10397
10398 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10399
10400         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10401         ERT insets.
10402
10403 2001-08-13  Juergen Vigna  <jug@sad.it>
10404
10405         * text.C (fill): return 0 instead of 20 as this seems to be the more
10406         correct value.
10407
10408 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10409
10410         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10411         lyxrc.font_norm.
10412
10413 2001-08-13  Juergen Vigna  <jug@sad.it>
10414
10415         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10416         casesensitive off.
10417         (SearchBackward): comment out the unlocking of the inset_owner this
10418         should not be needed!
10419
10420 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10421
10422         * Many files: Remove inherit_language, and add latex_language
10423
10424         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10425         collapsible insets.
10426
10427 2001-08-10  Juergen Vigna  <jug@sad.it>
10428
10429         * text.C (prepareToPrint): fixed hfill-width in draw!
10430
10431         * BufferView2.C (selectLastWord): save the selection cursor as this
10432         now is cleared in the function LyXText::clearSelection!
10433
10434 2001-08-08  Juergen Vigna  <jug@sad.it>
10435
10436         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10437         BACKSPACE type functions.
10438
10439         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10440         is only cutted from the document but not put in the cut-buffer, where
10441         still the old stuff should be.
10442
10443         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10444
10445         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10446
10447         * tabular.C (SetWidthOfCell): fixed special case where the width
10448         was not updated!
10449         (LeftLine): handle '|' in align_special.
10450         (RightLine): ditto
10451         (LeftAlreadyDrawed): ditto
10452         (SetWidthOfCell): ditto
10453
10454 2001-08-07  Juergen Vigna  <jug@sad.it>
10455
10456         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10457
10458 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10459
10460         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10461         * lyxlex.[hC]: ditto
10462
10463 2001-08-06  Juergen Vigna  <jug@sad.it>
10464
10465         * text.C (getVisibleRow): fix up row clearing a bit.
10466
10467 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10468
10469         * minibuffer.C: make sure the X server sees the changes in the input.
10470
10471 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10472
10473         * paragraph.C (getFont): split into...
10474         (getLabelFont): this
10475         (getLayoutFont): and this
10476         * paragraph_pimpl.C (realizeFont): calling this
10477
10478         * text2.C (getFont): split into...
10479         (getLayoutFont): this
10480         (getLabelFont): and this
10481         (realizeFont): all three calling this
10482
10483         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10484         files where used.
10485
10486 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10487
10488         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10489
10490 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10491
10492         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10493         layouts from the Quote inset insertion.
10494
10495 2001-08-03  Juergen Vigna  <jug@sad.it>
10496
10497         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10498
10499         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10500         only if status not is already CHANGED_IN_DRAW (second level).
10501
10502         * text.C (draw): don't set the need_break_row when inside an
10503         InsetText LyXText.
10504
10505 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10506
10507         * buffer.C (parseSingleLyXformat2Token): handle more latex
10508         conversion cases.
10509
10510         * bufferview_funcs.[hC]: change function names to
10511         begin with small char, adjust other files.
10512
10513 2001-08-02  André Pönitz <poenitz@gmx.net>
10514
10515         * lyxfunc.C:
10516         BufferView_pimpl.C: remove broken special code for math-greek
10517
10518 2001-08-02  Juergen Vigna  <jug@sad.it>
10519
10520         * BufferView_pimpl.C (update): redone this function so that we
10521         update the text again if there was a CHANGE_IN_DRAW.
10522
10523         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10524         (drawFromTo): added a new internal bool which is used by draw() and
10525         redraw() function.
10526         (general): some cursor drawing problems fixed.
10527
10528 2001-08-01  Juergen Vigna  <jug@sad.it>
10529
10530         * lyxfind.C (LyXFind): fixed
10531         (SearchForward): ditto
10532         (SearchBackward): ditto
10533
10534         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10535         spurius drawing of the cursor in the main area.
10536
10537         * text2.C (status): small fix which could lead to a segfault!
10538         (clearSelection): remove unneeded BufferView param.
10539
10540 2001-08-01  André Pönitz <poenitz@gmx.net>
10541
10542         * lyxfunc.C: small change due to changed mathed interface
10543
10544 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10545
10546         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10547
10548 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10549
10550         * lyxfunc.c: fail gracefully if file doesn't exist
10551
10552         * LyXSendto.C:
10553         * buffer.C:
10554         * lyxfunc.C:
10555         * BufferView_pimpl.C: IsDirWriteable() proto changed
10556
10557         * LyXView.C: fix updateWindowTitle() to store the last title
10558
10559 2001-07-31  Juergen Vigna  <jug@sad.it>
10560
10561         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10562         the font (wrong since using of Paragraph::highestFontInRange).
10563
10564         * paragraph.C (highestFontInRange): added a default_size parameter.
10565
10566         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10567         (setHeightOfRow): reformat
10568
10569 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10570
10571         * converter.[hC] + affected files: move to (inital-char)lowercase
10572         function names.
10573
10574         * ParagraphParameters.C (ParagraphParameters): remove commented code
10575
10576         * PainterBase.[Ch]: remove commented code
10577
10578         * LaTeXFeatures.h: add "bool floats" for float.sty
10579
10580         * LaTeXFeatures.C (LaTeXFeatures): init floats
10581         (require): handle float
10582         (getPackages): do it with floats
10583
10584 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10585
10586         * BufferView_pimpl.C (Dispatch): improve handling of
10587         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10588
10589         * commandtags.h: #include lyxfont.h here temporarily to avoid
10590         keybinding bug.
10591
10592         * bufferlist.h: include LString.h here.
10593
10594 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10595
10596         * text2.C (getStringToIndex): new method.
10597
10598 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10599
10600         * *: Reduced header file dependencies all over.
10601
10602 2001-07-30  Baruch Even  <baruch@lyx.org>
10603
10604         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10605
10606 2001-07-29  Baruch Even  <baruch@lyx.org>
10607
10608         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10609
10610 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10611
10612         * ParameterStruct.h (endif): add a default constructor to make
10613         sure that all variables is initialized.
10614
10615         * ParagraphParameters.C (ParagraphParameters): adjust
10616
10617 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10618
10619         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10620         index; also, check that there is something to index, and that it
10621         does not span over several paragraphs.
10622         (doubleClick): use WHOLE_WORD_STRICT for double click.
10623
10624         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10625
10626         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10627         scheme.
10628
10629 2001-07-26  Baruch Even  <baruch@lyx.org>
10630
10631         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10632         an InsetFig figure, backwards compatible reading of old figure code.
10633
10634 2001-07-27  Juergen Vigna  <jug@sad.it>
10635
10636         * text2.C: font.realize function adaption.
10637
10638         * text.C (draw): add a warnings lyxerr text if needed.
10639
10640         * layout.C: font.realize function adaption.
10641
10642         * language.C: add inherit_language and implement it's handlings
10643
10644         * bufferview_funcs.C (StyleReset): remove language parameter from
10645         font creation (should be language_inherit now).
10646
10647         * bufferparams.C (writeFile): handle ignore_language.
10648
10649         * paragraph.C (getFontSettings): the language has to be resolved
10650         otherwise we have problems in LyXFont!
10651
10652         * lyxfont.C (lyxWriteChanges): added document_language parameter
10653         (update): removed unneeded language parameter
10654
10655         * paragraph.C (validate): fixed wrong output of color-package when
10656         using interface colors for certain fonts in certain environments,
10657         which should not seen as that on the final output.
10658
10659 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10660
10661         * BufferView_pimpl.C:
10662         * Thesaurus.h:
10663         * Thesaurus.C:
10664         * Makefile.am:
10665         * commandtags.h:
10666         * LyXAction.C: add thesaurus support
10667
10668         * lyxfind.h:
10669         * lyxfind.C: add "once" parameter, for thesaurus, to not
10670           move to the next match
10671
10672 2001-07-26  Juergen Vigna  <jug@sad.it>
10673
10674         * lyxfont.C (realize): honor ignore_language too!
10675         (resolved): ditto.
10676
10677         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10678
10679         * text.C (draw): one place more for ignore_language to not draw
10680         itself!
10681
10682 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10683
10684         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10685
10686 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10687
10688         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10689         the minipage conversion problem.
10690
10691 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10692
10693         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10694         insert an inset.
10695
10696 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10697
10698         * BufferView.h: don't forward declare WorkArea
10699
10700         * BufferView.C: don't include WorkArea.h
10701
10702 2001-07-25  André Pönitz <poenitz@gmx.net>
10703
10704         * commandtags.h:
10705         * LyXAction.C:
10706         * lyxfunc.C:  new LFUN 'math-space'
10707
10708         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10709
10710 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10711
10712         * text2.C (toggleInset): call open/close
10713
10714 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10715
10716         * lyxfunc.C (dispatch): add debug for the disabled case
10717
10718         * font.C (buttonText): make similar to rectText
10719
10720         * buffer.C (readInset): comment out parsing of insetlist and
10721         insttheorem
10722
10723         * PainterBase.C (rectText): small correction
10724
10725         * BufferView_pimpl.C: comment out insettheorem and insetlist
10726         * LyXAction.C: ditto
10727         * commandtags.h: ditto
10728
10729 2001-07-24  Juergen Vigna  <jug@sad.it>
10730
10731         * text.C (draw): honor the ignore_language.
10732
10733         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10734
10735 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10736
10737         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10738         char inset.
10739
10740 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10741
10742         * lyxtext.h: remove unused (and unimplemented) methods
10743
10744 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10745
10746         * text.C (getVisibleRow): honor background color
10747
10748         * PainterBase.h:
10749         * Painter.h: remove default color argument for fillRectangle
10750
10751         * text.C (backgroundColor): new method
10752
10753 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10754
10755         * text.C (getVisibleRow): adjust
10756
10757         * font.[Ch] (rectText): new method, metrics
10758         (buttonText): new method, metrics
10759
10760         * PainterBase.[hC]: make rectText and buttonText always draw and take
10761         fewer paramteres.
10762
10763 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10764
10765         * ToolbarDefaults.C (read):
10766         * MenuBackend.C (read): allow escaping in all strings
10767
10768         * BufferView_pimpl.C (insertAndEditInset): new method.
10769         (Dispatch): use insertAndEditInset whenever appropriate.
10770
10771         * BufferView_pimpl.C (insertNote): removed
10772
10773         * BufferView_pimpl.C (smartQuote): new method, moved from
10774         BufferView; if an insetquote cannot be inserted, insert a '"'
10775         character instead.
10776
10777         * BufferView2.C: remove insertCorrectQuote();
10778
10779         * lyxfunc.C (getStatus): Add support for all remaingin
10780         inset-insert lfuns.
10781
10782         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10783
10784         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10785         command (necessary to pass " as parameter of self-insert.
10786
10787         * text.C (selectWordWhenUnderCursor):
10788         (selectWord): add word_location parameter
10789         (selectWordWhenUnderCursor): same + remove special code for word
10790         boundary.
10791         (selectNextWord): use kind() to guess type of insetspecialchar,
10792         not latex().
10793
10794         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10795         (insertErtContents): create ert insets as collapsed.
10796         (readInset): better compatibility code for Info inset.
10797
10798 2001-07-20  Juergen Vigna  <jug@sad.it>
10799
10800         * lyxfunc.C (dispatch): use always LyXFind now!
10801
10802         * text2.C (init): add a reinit flag so that the LyXText can be
10803         reinited instead of deleted and reallocated (used in InsetText).
10804
10805         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10806
10807         * text.C: ditto
10808
10809         * text2.C: ditto
10810
10811 2001-07-18  Juergen Vigna  <jug@sad.it>
10812
10813         * text.C (selectNextWord): handle insets inside inset by calling
10814         always the bv->text functions so that we can go up the_locking_inset!
10815
10816         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10817         in strange locations when inside an inset!
10818
10819         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10820         handling to include insets.
10821
10822         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10823
10824 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10825
10826         * LyXAction.C (init):
10827         * commandtags.h:
10828         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10829         LIGATURE_BREAK, since the name is so stupid.
10830
10831 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10832
10833         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10834         InsetInfos.
10835
10836         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10837
10838         * sp_form.[Ch]: remove.
10839
10840         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10841
10842         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10843         InsetInfo.
10844
10845         * src/buffer.C (readInset): ditto.
10846
10847 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10848
10849         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10850         menuSeparator(), endOfSentenceDot(), ldots() and
10851         hyphenationPoint(), which are therefore removed.
10852         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10853
10854         * LyXAction.C (init):
10855         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10856
10857         * paragraph.C (getWord): removed.
10858
10859         * BufferView_pimpl.C (Dispatch): use last word or selection for
10860         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10861
10862         * lyx_main.C (queryUserLyXDir): do not ask before creating
10863         user_dir, except if it has been named explicitely.
10864
10865 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10866
10867         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10868         a document of zero size.
10869
10870 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10871
10872         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10873         approriately in the c-tor and in require().
10874         (getPackages): output the appropriate LaTeX for natbib support.
10875
10876         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10877         variables "use_natbib" and "use_numerical_citations" when reading the
10878         LyX file.
10879         (readInset): read the various natbib cite commands.
10880         (validate): white-space change.
10881
10882         * bufferparams.[Ch]: new variables "bool use_natbib" and
10883         "bool use_numerical_citations".
10884         (writeFile): output them in the LyX file.
10885
10886 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10887
10888         * lyxfunc.C (getStatus): add support for all the inset insertion
10889         commands.
10890
10891         * text2.C (insertInset):
10892         * paragraph.C (insetAllowed):
10893         * BufferView_pimpl.C (insertInset): update to take in account the
10894         renaming of insertInsetAllowed
10895
10896         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10897
10898         * text2.C (getInset): new method. returns inset at cursor position.
10899
10900         * BufferView_pimpl.C (Dispatch): changes because of this.
10901
10902         * LyXAction.C (init): rename open-stuff to inset-toggle.
10903
10904         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10905
10906         * text2.C (toggleInset): renamed from openStuff; use
10907         Inset::open().
10908
10909 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10910
10911         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10912
10913         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10914
10915 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10916
10917         * buffer.C (readLyXformat2): Add filename to the error dialog
10918
10919 2001-07-18  Juergen Vigna  <jug@sad.it>
10920
10921         * tabular.C (GetCellNumber): put an assert here instead of the check!
10922
10923 2001-07-17  Juergen Vigna  <jug@sad.it>
10924
10925         * BufferView_pimpl.C (toggleSelection): adapted too.
10926
10927         * text.C (selectNextWord): adapted for use with insets.
10928         (selectSelectedWord): ditto
10929
10930 2001-07-17  Juergen Vigna  <jug@sad.it>
10931
10932         * sp_spell.C (PSpell): fix initialitation order.
10933
10934 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10935
10936         * paragraph.C: spacing
10937
10938 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10939
10940         * sp_spell.C: repair language selection for pspell
10941
10942 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10943
10944         * lyxfunc.h: change more methods to begin with lower char.
10945
10946 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10947
10948         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10949         for unknown layouts.
10950
10951 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10952
10953         * buffer.C (readLyXformat2): Generate an error dialog if there are
10954         unknown layouts.
10955
10956 2001-07-16  Juergen Vigna  <jug@sad.it>
10957
10958         * sp_spell.C: always compile ISpell part.
10959
10960         * lyxrc.C: added use_pspell entry and it's handling.
10961
10962 2001-07-13  Juergen Vigna  <jug@sad.it>
10963
10964         * sp_spell.C: removed double includes.
10965
10966 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10967
10968         Consistent use of Lsstream.h:
10969         * Lsstream.h: added using std::stringstream for consistencies sake.
10970
10971         * buffer.C: removed using std::stringstream
10972
10973         * lyxfont.C (stateText):
10974         * paragraph.C (asString):
10975         * text.C (selectNextWord, selectSelectedWord):
10976         * text2.C (setCounter):
10977         * vspace.C (asString, asLatexString):
10978         std::ostringstream -> ostringstream.
10979
10980 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10981
10982         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10983         * commandtags.h: add LFUN_HELP_ABOUTLYX
10984         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10985
10986 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10987
10988         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10989         cursorToggle()
10990         * lyx_gui_misc.C: remove spellchecker
10991         * lyxfunc.C: showSpellchecker
10992         * sp_base.h: added
10993         * sp_ispell.h: added
10994         * sp_pspell.h: added
10995         * sp_spell.C: added
10996         * sp_form.[Ch]: removed
10997         * spellchecker.[Ch]: removed
10998
10999 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11000
11001         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11002         is set.
11003         (simpleTeXSpecialChars): Simply print the input character without
11004         any special translation if pass_thru is set.
11005
11006         * layout.h: Added bool pass_thru to layout class for being able to
11007         implement pass through of a paragraph for Literate Programming.
11008
11009         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11010         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11011         * layout.C (Read): add "passthru" to list of layout tags and add
11012         code to set the pass_thru boolean when it is read.
11013
11014 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11015
11016         * trans_decl.h: remove allowed from KmodInfo
11017
11018         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11019         remove allowed code
11020         (Load): adjust
11021
11022         * paragraph_pimpl.C (erase): use boost::prior
11023
11024         * Painter.C (text): use data() instead of c_str() when length is
11025         also provided.
11026         * WorkArea.C (putClipboard): ditto
11027         * font.h (width): ditto
11028
11029         * BufferView2.C: use it-> instead of (*it). for iterators
11030         * texrow.C: ditto
11031         * paragraph_pimpl.C: ditto
11032         * paragraph.C: ditto
11033         * minibuffer.C: ditto
11034         * language.C: ditto
11035         * kbmap.C: ditto
11036         * encoding.C: ditto
11037         * counters.C: ditto
11038         * converter.C: ditto
11039         * chset.C: ditto
11040         * Variables.C: ditto
11041         * TextCache.C: ditto
11042         * MenuBackend.C: ditto
11043         * LyXAction.C: ditto
11044         * LColor.C: ditto
11045         * FloatList.C: ditto
11046         * DepTable.C: ditto
11047         * ColorHandler.C (LyXColorHandler): ditto
11048
11049 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11050
11051         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11052
11053         * text2.C (openStuff): reintroduce this method (which had been
11054         nuked in NEW_INSETS frenzy).
11055
11056         * lyxfunc.C (Dispatch): when an action has not been handled, use
11057         its name in the error message, not its number.
11058
11059         * paragraph.C (inInset): change method name to begin with lowercase.
11060
11061         * undo_funcs.C:
11062         * text2.C: updates because of this.
11063
11064 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11065
11066         * ToolbarDefaults.C (add): add spaces in error message
11067
11068 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11069
11070         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11071         (readLyXformat2): rename return_par to first_par, use lyxlex's
11072         pushToken and remove the manual push handling.
11073         (parseSingleLyXformat2Token): add another ert comp. variable:
11074         in_tabular, rename return_par to first_par. handle newlines better
11075
11076 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11077
11078         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11079
11080 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11081
11082         * text2.C (getParFromID): removed
11083
11084         * buffer.C (getParFromID): new method moved form lyxtext.
11085         * BufferView2.C (insertErrors): adjust
11086         (setCursorFromRow): adjust
11087         * BufferView_pimpl.C (restorePosition): adjust
11088         * lyxfunc.C (Dispatch): adjust
11089         * undo_funcs.C (textUndo): adjust
11090         (textRedo): adjust
11091         (textHandleUndo): adjust
11092         (textHandleUndo): adjust
11093
11094 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11095
11096         * buffer.C: up' the LYX_FORMAT
11097
11098         * lyxfont.h: turn NO_LATEX on as default
11099
11100         * buffer.C (insertErtContents): new methods of tex style compability.
11101         (parseSingleLyXformat2Token): use it several places.
11102         * tabular.C (OldFormatRead): and here
11103
11104 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11105
11106         * text2.C: remove some commented code.
11107         reindent file.
11108
11109         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11110         * trans.C: changes because of the above.
11111
11112 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11113
11114         * text2.C (setCounter): Fix counters bug with bibliography layout.
11115
11116 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11117
11118         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11119         own member functions
11120         (simpleTeXSpecialChars): ditto
11121
11122 2001-07-06  Juergen Vigna  <jug@sad.it>
11123
11124         * a lot of files: changed the access to LyXText::status and the
11125         call of undo-functions.
11126
11127         * undo.[Ch]: added a inset_id to the undo informations.
11128
11129         * undo_funcs.[Ch]: added and moved here all undo functions.
11130
11131         * lyxtext.h: give the status enum a weight, made status_ a private
11132         variable and made accessor functions for it, removed the whole bunch
11133         of undo-functions as they are now in their own file, make some
11134         functions publically available. Added function ownerParagraph with
11135         int parameter.
11136
11137         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11138         made InInset() a const function, added getParFromID() function.
11139
11140         * buffer.[Ch]: added const version for inset_iterator functions,
11141         added getInsetFromID() function.
11142
11143         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11144         changed undo functions for new version.
11145
11146 2001-07-05  Juergen Vigna  <jug@sad.it>
11147
11148         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11149         unknow mechanism does not call the proper constructor but only this
11150         one also if I request the other!?
11151
11152 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11153
11154         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11155
11156         * text2.C (LyXText): use initialization lists.
11157
11158         * lyxtext.h (Selection): initialize set_ and mark_
11159         (init): remove method
11160
11161 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11162
11163         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11164
11165 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11166
11167         * screen.[Ch]: change method names to begin with lowercase
11168
11169         * BufferView_pimpl.C (updateScrollbar): simplify further and
11170         hopefully make it a bit faster.
11171
11172 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11173
11174         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11175         calling directly xforms functions.
11176
11177         * Painter.C (Painter):
11178         * lyx_cb.C (MenuWrite):
11179         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11180         fl_display.
11181
11182         * lyx_gui.C: remove bogus guiruntime extern declaration.
11183
11184 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11185
11186         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11187         in NEW_INSETS
11188         (redoDrawingOfParagraph): ditto
11189         (redoParagraphs): ditto
11190         (cutSelection): don't create a object for CutAndPaste use the
11191         static method directly
11192         (pasteSelection): ditto
11193
11194         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11195         LyXview (+ rename)
11196
11197 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11198
11199         * modifications to some other files because of this.
11200
11201         * Makefile.am (lyx_SOURCES): add XFormsView
11202
11203         * XFormsView.[Ch]: new files
11204
11205         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11206         the main window. Move the gui dependent stuff to XFormsView
11207
11208 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11209
11210         * tabular.C (GetCellInset): update cur_cell also in the row/col
11211         version of this function.
11212
11213         * lyxfunc.C: no need to include figure_form.h here.
11214
11215         * FontLoader.h:
11216         * lyxfunc.h:
11217         * lyxscreen.h:
11218         * text2.C:
11219         * lyxvc.C: no need to include forms.h here.
11220
11221 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11222
11223         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11224
11225         * lyxfunc.C (Dispatch):
11226         * Spacing.C (set):
11227         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11228         constructor argument.
11229
11230 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11231
11232         * paragraph.C (Paragraph): dont't clear, and just set layout.
11233         (makeSameLayout): use params's copy contructor.
11234
11235         * ParagraphParameters.[Ch] (makeSame): delete method
11236
11237 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11238
11239         * Variables.[Ch]: fix indentation, rename set to isSet
11240
11241 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11242
11243         * lyxfunc.C (Dispatch): fix typo
11244
11245 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11246
11247         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11248         upper_bound.
11249
11250         * bufferlist.C: include assert.h for emergencyWrite().
11251
11252 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11253
11254         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11255           give up at last (bug #425202) !
11256
11257 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11258
11259         * lyx_gui_misc.C:
11260         * sp_form.h:
11261         * sp_form.C:
11262         * spellchecker.h:
11263         * spellchecker.C: strip spellchecker options and bring up
11264           preferences tab instead
11265
11266 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11267
11268         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11269         the istringstream constructor
11270
11271 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11272
11273         * paragraph.C (getLayout): fix return value
11274
11275         * paragraph.h: do not declare getLayout as inline.
11276
11277         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11278
11279 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * lyxcursor.h (operator<): new func
11282         (operator>): new func
11283         (operator>=): new func
11284         (operator<=): new func
11285
11286         * text.C (changeCase): use selection.start and selection.end
11287         (changeRegionCase): require from to be <= to. Require par to be a
11288         valid paragraph.
11289
11290         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11291
11292 2001-06-27  Juergen Vigna  <jug@sad.it>
11293
11294         * text.C (cursorLeftOneWord): changed to return the cursor and added
11295         overlay with BufferView * parameter which calls this one.
11296         (getWord): added
11297         (selectWord): use new getWord function.
11298         (changeCase): renamed from changeWordCase as and extended to work
11299         also on selections.
11300
11301         * lyxtext.h: added enum word_location
11302
11303         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11304         changeCase as this operates now also on selections.
11305
11306 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11307
11308         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11309
11310         * many files: send debug output to Debug::INFO instead of
11311         Debug::ANY.
11312
11313         * converter.C (View):
11314         (Convert):
11315         (Move): send debug output to Debug::FILES instead of console.
11316
11317 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11318
11319         * lyxfunc.C (getStatus): use func_status
11320
11321         * func_status.h: new header, describing the results of
11322         LyXFunc::getStatus;
11323
11324         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11325         LFUN_MATH_HALIGN.
11326
11327 2001-06-25  The LyX Project  <jug@sad.it>
11328
11329         * buffer.C (sgmlOpenTag):
11330         (sgmlCloseTag):
11331         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11332
11333 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11334
11335         * text2.C: remove some dead code
11336
11337         * tabular.C (GetCellInset): store the last cell checked (gotten)
11338
11339         * tabular.h: add the helper for the speedup
11340
11341         * lyxtext.h: remove some dead code
11342
11343 2001-06-26  The LyX Project  <Asger>
11344
11345         * paragraph.C: Change export to LaTeX of alignment to
11346         \begin{center} and family for better roundtrip work with reLyX.
11347
11348         * Tune the math drawing a bit.
11349
11350 2001-06-25  The LyX Project  <Asger>
11351
11352         * LColor.C (LColor): New color for math background. New color
11353         for buttons.
11354
11355 2001-06-25  The LyX Project  <jug@sad.it>
11356
11357         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11358
11359         * lyxfunc.C (Open):
11360         * bufferlist.C (newFile): do not restrict to files ending with
11361         .lyx
11362
11363         * BufferView_pimpl.C (MenuInsertLyXFile):
11364
11365 2001-06-24  The LyX Project  <jug@sad.it>
11366
11367         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11368         of compare_no_case
11369
11370 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11371
11372         * lyxtext.h: rename most methods to begin with a small char.
11373         Lots of changes because of this.
11374
11375         * paragraph.C (Paragraph): do not call fitToSize
11376         (erase): call Pimpl::erase
11377         (insertChar): call Pimpl::insertChar
11378         (insertInset): call Pipl::insertInset
11379         (breakParagraph): do not call fitToSize
11380         (breakParagraphConservative): do not call fitToSize
11381         (fitToSize): remove method
11382
11383         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11384
11385 2001-06-24  The LyX Project  <Asger>
11386
11387         * Fix Qt compilation^2
11388
11389 2001-06-24  The LyX Project  <jug@sad.it>
11390
11391         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11392         depthHook(getDepth()-1).
11393
11394         * paragraph.h:
11395         * ParagraphParameters.h:
11396         * ParameterStruct.h: change type of depth to unsigned int ==
11397         depth_type. Many adaptations to other files before of that.
11398
11399 2001-06-24  The LyX Project  <Asger>
11400
11401         * Fix Qt compilation.
11402
11403 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11404
11405         * paragraph.h: renamed several methods to begin with small letter.
11406         several changes to many parts of the code because of this.
11407
11408 2001-06-23  The LyX Project  <jug@sad.it>
11409
11410         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11411         rewritten to discard all double spaces when KeepEmpty is off
11412         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11413         to only handle newlines but not fiddle with spaces and friends.
11414
11415         * lyxfunc.C (MenuNew): when doing 'new from template', use
11416         template_path as default directory
11417
11418 2001-06-23  The LyX Project  <Asger>
11419
11420         * Clean-up of header file includes all over
11421         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11422
11423 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11424
11425         * paragraph.h: renamed from lyxparagraph.h
11426
11427 2001-06-23  Asger  <lyx@violet.home.sad.it>
11428
11429         * Buffer.h: Removed Buffer::resize
11430         * BufferList.h: Removed BufferList::resize
11431         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11432         the document lazily when we change the width, or the font settings.
11433
11434 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11435
11436         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11437
11438 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11439
11440         * buffer.h: remove out of date comment
11441
11442 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * lyxscreen.h:
11445         * screen.C: fix "theoretical" GC leak
11446
11447 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11448
11449         * LaTeX.C (scanAuxFile):
11450         (deplog): remove trailing \r when reading stream (useful under
11451         win32)
11452
11453 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11454
11455         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11456         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11457         and BufferView::theLockingInset(Inset*), so should use them and not
11458         access bv_->text->the_locking_inset directly.
11459
11460         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11461
11462 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * Makefile.am:
11465         * tex-defs.h: remove old unused file
11466
11467 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11468
11469         * BufferView_pimpl.C: fix typo, remove minibuffer message
11470           when buffer has loaded
11471
11472 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11473
11474         * lyxfunc.C (Dispatch): use stringstream
11475         (MenuNew): use stringstream
11476         (Open): use stringstream
11477
11478         * importer.C (Import): use stringstream
11479
11480         * bufferview_funcs.C (CurrentState): use stringstream
11481
11482         * LaTeX.C (run): use stringstream
11483
11484         * BufferView_pimpl.C (savePosition): use stringstream
11485         (restorePosition): use stringstream
11486         (MenuInsertLyXFile): use stringstream
11487
11488 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11489
11490         * BufferView.C:
11491         * Bullet.C:
11492         * ColorHandler.C:
11493         * FontInfo.C:
11494         * FontLoader.C:
11495         * LColor.C:
11496         * LaTeXFeatures.C:
11497         * Painter.C:
11498         * gettext.C:
11499         * lyx_gui_misc.C:
11500         * lyxserver.C:
11501         * vspace.C: removed // -*- C++ -*- as first line.
11502
11503         * lyxfind.h:
11504         * version.h: added // -*- C++ -*- as first line.
11505
11506 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11507
11508         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11509
11510         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11511         of string
11512
11513 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11516         of floats.
11517
11518 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11519
11520         * gettext.C: include LString.h even when --disable-nls is on.
11521
11522 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11523
11524         * converter.h (Get): changed argument type from int to
11525         FormatList::size_type to avoid unnecessary conversion.
11526
11527         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11528         before using it.
11529
11530 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11531
11532         * gettext.h: include LString.h even when --disable-nls is on.
11533
11534 2001-06-07  Juergen Vigna  <jug@sad.it>
11535
11536         * text.C (BreakAgain): subst spaces with tabs.
11537
11538         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11539         (resizeInsetsLyXText): set force on resizeLyXText.
11540
11541 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11542
11543         * gettext.h (gettext_init):
11544         (locale_init): use a real definition instead of a macro
11545
11546 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11547
11548         * Bufferview_pimpl.C:
11549         * LColor.h:
11550         * LColor.C: further lcolor tidies
11551
11552 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11553
11554         * BufferView_pimpl.C (updateScrollbar): simplify.
11555
11556         * BufferView2.C: don't include insets/insetinfo.h, change
11557         prototype for insertInset and call the Pimpl version. let
11558         updateInset call Pimpl version.
11559
11560         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11561         gotoInset to BufferView::Pimpl
11562
11563 2001-06-01  Juergen Vigna  <jug@sad.it>
11564
11565         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11566         inside a LockingInset (is the update needed at all?).
11567
11568 2001-05-31  Juergen Vigna  <jug@sad.it>
11569
11570         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11571         here not the old one otherwise how should we compare it afterwards
11572         if it's the same!
11573
11574 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11575
11576         * lyxfont.C:
11577         * tabular.C:
11578         * tabular-old.C:
11579         * FontInfo.C: bring C functions into global namespace when
11580         necessary
11581
11582 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11583
11584         * LString.h: make sure config.h has been loaded before LString.h.
11585
11586         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11587         (one for each char read by EatLine!).
11588
11589         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11590         variables.
11591
11592 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11593
11594         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11595         to the same as the par we break from
11596
11597 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11598
11599         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11600
11601         * MenuBackend.C (expand): also create menu entries for wide
11602         versions of the floats.
11603
11604         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11605
11606         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11607
11608         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11609         frontends/Makefile.am
11610
11611         * text2.C: adjust
11612         * text.C: adjust
11613
11614
11615         * tabular.C (getTokenValue): add std::
11616
11617         * tabular-old.C (getTokenValue): add std::
11618         (getTokenValue): ditto
11619         (getTokenValue): ditto
11620
11621         * screen.C (ToggleSelection): adjust
11622
11623         * lyxtext.h: put selection cursors inside a Selection struct.
11624
11625         * lyxfunc.C (moveCursorUpdate): adjust
11626
11627         * lyxfont.C (latexWriteStartChanges): add std::
11628
11629         * lyxfind.C: adjust
11630
11631         * font.h: delete with(char const *, LyXFont const &)
11632
11633         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11634
11635         * FontInfo.C (getFontname): add std::
11636
11637         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11638         (workAreaButtonPress): adjust
11639         (tripleClick): adjust
11640         (update): adjust
11641         (moveCursorUpdate): adjust
11642         (Dispatch): adjust
11643
11644         * BufferView2.C (gotoInset): adjust
11645
11646 2001-05-30  Juergen Vigna  <jug@sad.it>
11647
11648         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11649         to check pspell I add this as default as I now have new pspell
11650         libraries and they seem to use this.
11651
11652 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11653
11654         * text2.C (CutSelection): make the cursor valid before the call to
11655         ClearSelection.
11656
11657 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11658
11659         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11660         relied on 0 terminated strings and other horrors. Bug found due to
11661         the new assert in lyxstring!
11662
11663         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11664         KP_ keys.
11665
11666 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11667
11668         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11669         to latinkeys.bind.
11670
11671         * lyxfunc.C (processKeySym): change method of getting to the
11672         self-insert char.
11673
11674         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11675         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11676         * BufferView_pimpl.[Ch]: here as private methods.
11677
11678 2001-05-28  Juergen Vigna  <jug@sad.it>
11679
11680         * text.C (SetHeightOfRow): added the update() call again as it is
11681         needed to initialize inset dimensions!
11682
11683 2001-05-16  Juergen Vigna  <jug@sad.it>
11684
11685         * text2.C (SetCharFont): Add new function with BufferView * and
11686         bool toggleall parameters for setting insets internal fonts.
11687         (SetFont): Freeze the undo as we may change fonts in Insets and
11688         all this change should be inside only one Undo!
11689
11690         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11691         setting font's in insets as for them we have the SetFont function!
11692
11693 2001-05-15  Juergen Vigna  <jug@sad.it>
11694
11695         * text2.C (ClearSelection): to be sure we REALLY don't have any
11696         selection anymore!
11697
11698         * tabular.C (TeXCellPreamble): fixed the left border problem for
11699         multicolumn cells.
11700
11701 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11702
11703         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11704         dependancy file
11705
11706 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11707
11708         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11709         LFUN_BREAKPARAGRAPH.
11710
11711         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11712         help test to "internal only", similar for LFUN_INSERT_URL
11713
11714         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11715         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11716         auto_region_delete and deadkeys.
11717
11718 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11719
11720         * LColor.h:
11721         * LColor.C: remove some dead entries, tidy a little
11722
11723 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11724
11725         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11726         commented code.
11727         (Dispatch): implement LFUN_ESCAPE
11728
11729         * commandtags.h: add LFUN_ESCAPE
11730
11731         * LyXAction.C (init): add entry for LFUN_ESCAPE
11732
11733         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11734         Remove commented code.
11735         (insertNote): moved here
11736         (open_new_inset): moved here
11737
11738         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11739         BufferView_pimpl
11740
11741 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11742
11743         * kbmap.C (findbinding): clean it up and make it work correctly.
11744
11745         * lyx_main.C (init): do not pass argc and argv as parameters
11746
11747 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11748
11749         * buffer.C: fix path for OS/2 & Win32
11750
11751         * lyx_gui.C:
11752         * lyx_main:
11753         * lyx_main.C: Added os:: class.
11754
11755         * os2_defines.h: update
11756
11757 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11758
11759         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11760         better by trying again with reduced state.
11761
11762 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11763
11764         * lyxrc.C (read): print error about invalid key sequence only when
11765         debugging (because not all latinX keysyms are known to some X
11766         servers)
11767
11768         * kbsequence.C (getiso): add a few std:: qualifiers
11769         (getiso): comment out extra return statement.
11770
11771 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11772
11773         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11774         handling.
11775         (Dispatch): enhance the accent inset a bit. (not perfect)
11776
11777 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11778
11779         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11780
11781 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11782
11783         * bufferlist.C (emergencyWrite): fix assert() call
11784
11785 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11786
11787         * text.C (InsertChar): Added trivial patch to only send the "you
11788         can not do multiple spaces this way" message once during a
11789         session.
11790
11791 2001-05-08  Baruch Even  <baruch@lyx.org>
11792
11793         * Makefile.am: Changed order of libraries to get LyX to link properly
11794         with the gnome frontend.
11795
11796 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11797
11798         * LaTeXFeatures.h: add a std:: qualifier
11799
11800 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11801
11802         * paragraph.C (String): use stringstream
11803
11804 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11805
11806         * paragraph.C (writeFile): remove footflag arg
11807
11808         * buffer.C (makeLaTeXFile): use stringstream
11809         (latexParagraphs): remove footnot gurba
11810
11811         * LaTeXFeatures.C (getPackages): use stringstream
11812         (getMacros): likewise
11813         (getTClassPreamble): likewise
11814         (getFloatDefinitions): new method
11815
11816         * paragraph.C (writeFile): reindent
11817         (Erase): reindent
11818
11819         * WorkArea.h: revert the xpos + etc changes.
11820
11821         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11822
11823         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11824
11825         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11826         (pasteSelection): likewise
11827         * text2.C (CreateUndo): likewise
11828
11829 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11830
11831         * minibuffer.C (peek_event): temporarily reduce the functionality
11832         of the minibuffer (to allow args on lfuns)
11833
11834         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11835         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11836
11837         * buffer.C (readInset): add compability reading of old float
11838         lists, add reading of new style float list.
11839         (readInset): avoid reevaluation of inscmd.getCmdName()
11840         (getLists): reindent
11841
11842         * MenuBackend.C (MenuItem): implement parsing of
11843         md_floatlistinsert and md_floatinsert.
11844         (expand::LastFiles): move initalizaton of iterators out of loop,
11845         avoid reevaluation.
11846         (expand::Documents): introduce typdedef vector<string> Strings,
11847         and use it.
11848         (expand::ExportFormats): introduce typedef vector<Format const *>
11849         Formats, and use it.
11850         (expand): implement FloatListInsert and FloatInsert.
11851
11852         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11853         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11854         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11855
11856         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11857         handling.
11858         (Dispatch::LFUN_FLOAT_LIST): implement
11859
11860 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11861
11862         * LaTeX.C (run): Fix problem with --export code.
11863
11864 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11865
11866         * BufferView.[Ch] (workarea): removed.
11867         (getClipboard) new method; wrapper for workarea()->getClipboard()
11868
11869         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11870         bug.
11871
11872         * WorkArea.h (width, height, xpos, ypos): These methods all
11873         returned the dimensions of the work_area sub-area of WorkArea,
11874         resulting in a position error if the WorkArea were resized. Now
11875         return the dimensions of the entire WorkArea.
11876
11877         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11878
11879 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11880
11881         * LaTeX.C (deplog): correct the syntax of regex reg1
11882
11883 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * undo.C: remove !NEW_INSETS cruft
11886
11887 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * text2.C: remove !NEW_INSETS cruft
11890
11891         * text.C: remove !NEW_INSETS cruft
11892
11893         * tabular.C: remove !NEW_INSETS cruft
11894
11895         * spellchecker.C: remove !NEW_INSETS cruft
11896
11897         * lyxtext.h: remove !NEW_INSETS cruft
11898
11899         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11900
11901         * lyxfunc.C: remove !NEW_INSETS cruft
11902
11903         * lyxfind.C: remove !NEW_INSETS cruft
11904
11905         * lyx_cb.C: remove !NEW_INSETS cruft
11906
11907         * figureForm.C: remove  !NEW_INSETS cruft
11908
11909         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11910
11911         * buffer.[Ch]: remove !NEW_INSETS cruft
11912
11913         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11914
11915         * CutAndPaste.C: remove !NEW_INSETS cruft
11916
11917         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11918
11919         * BufferView2.C: remove !NEW_INSETS cruft
11920
11921         * BufferView.h: remove !NEW_INSETS cruft
11922
11923 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11924
11925         * Lsstream.h: include LString.h before the sstream headers to
11926         fix problem with gcc 2.95.3 and lyxstring
11927
11928 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11929
11930         * lyx_main.C: add using directives when needed for C functions
11931         declared in std:: namespace.
11932
11933 2001-04-27  Juergen Vigna  <jug@sad.it>
11934
11935         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11936         (SetHeightOfRow): comment out the update call should not be needed!
11937
11938 2001-04-13  Juergen Vigna  <jug@sad.it>
11939
11940         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11941         (LyXTabular): tried to minimize operator= operations (and realized
11942         hopfully Lars wish).
11943
11944 2001-04-27  Juergen Vigna  <jug@sad.it>
11945
11946         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11947
11948 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11949
11950         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11951
11952         * buffer.C (readInset): hack to make listof algorithm work
11953
11954         * BufferView_pimpl.C: hack to make listof algorithm work
11955
11956 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11957
11958         * LyXAction.C: removed all !NEW_INSETS cruft
11959         (init): moved lfun_item in method
11960
11961         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11962
11963 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11964
11965         * BufferView2.C (theLockingInset): white space.
11966
11967 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11968
11969         * minibuffer.C: include <iostream>
11970
11971         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11972
11973         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11974
11975         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11976
11977         * text.[Ch] (TransposeChars): new method
11978
11979 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11980
11981         * call message directly through LyXView instead of through LyXFunc
11982         * BufferView2.C: adjust
11983         * BufferView_pimpl.C: adjust
11984         * FontLoader.C: adjust
11985         * buffer.C: adjust
11986         * bufferview_funcs.C: adjust
11987         * converter.C: adjust
11988         * figureForm.C: adjust
11989         * importer.C: adjust
11990         * lyx_cb.C: adjust
11991         * lyx_gui_misc.C: adjust
11992         * lyxfunc.C: adjust
11993         * lyxvc.C: adjust
11994         * text2.C: adjust
11995         + more files in subdirs
11996
11997         * lyxparagraph.h (size): move up int file
11998         (GetLayout): ditto
11999
12000         * adjust all uses of Assert to lyx::Assert.
12001
12002         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12003         lyxfunctional in namespace lyx
12004         * layout.C (hasLayout): ditto
12005         (GetLayout): ditto
12006         (GetLayout): ditto
12007         (delete_layout): ditto
12008         (NumberOfClass): ditto
12009         * converter.C (GetFormat): ditto
12010         (GetNumber): ditto
12011         (Add): ditto
12012         (Delete): ditto
12013         (SetViewer): ditto
12014         * bufferlist.C (getFileNames): ditto
12015         (emergencyWriteAll): ditto
12016         (exists): ditto
12017         (getBuffer): ditto
12018         * MenuBackend.C (hasSubmenu): ditto
12019         (hasMenu): ditto
12020         (getMenu): ditto
12021         * BufferView_pimpl.C (getInsetByCode): ditto
12022
12023 2001-04-18  Juergen Vigna  <jug@sad.it>
12024
12025         * vspace.C (asLatexString): fixed the 100% problem.
12026
12027 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12028
12029         * lyxfunc.C (Dispatch):
12030         * minibuffer.C:
12031         * minibuffer.h: add a few std:: qualifiers
12032
12033 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12034
12035         * minibuffer.[Ch]: reimplement so that commands is initiated and
12036         run from lyxfunc, simplified som handling, and made the completion
12037         and history code for complete. wip.
12038
12039         * lyxfunc.C (processKeySym): call message
12040         (miniDispatch): new temporary method
12041         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12042         (LFUN_MESSAGE): implement
12043         (LFUN_MESSAGE_PUSH): implement
12044         (LFUN_MESSAGE_POP): implement
12045         (initMiniBuffer): the initial/defualt minibuffer message.
12046
12047         * lyxfont.[Ch]: inline some more getters
12048
12049         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12050
12051         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12052
12053         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12054         (AutoSave): use LFUN_MESSAGE
12055         (Reconfigure): ditto
12056
12057         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12058
12059         * figureForm.C: use LFUN_MESSAGE
12060
12061         * converter.C (runLaTeX): use LFUN_MESSAGE
12062
12063         * bufferview_funcs.C: use LFUN_MESSAGE
12064         (Melt): ditto
12065         (changeDepth): ditto
12066
12067         * bufferparams.h: use boost::
12068
12069         * bufferlist.h: inherit privately from noncopyable
12070
12071         * bufferlist.C (loadLyXFile): remove some commented code.
12072
12073         * buffer.C (runChktex): use LFUN_MESSAGE
12074
12075         * ShareContainer.h: inherit privately from noncopyable
12076
12077         * ParagraphParameters.[hC] (depth): inline it.
12078
12079         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12080         methods.
12081         (message): new method
12082         (messagePush): ditto
12083         (messagePop): ditto
12084         (show): init minibuffer
12085         (showState): direct call
12086
12087         * LaTeX.[Ch]: inherit privately from noncopyable
12088         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12089         instead of WriteStatus.
12090
12091         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12092
12093         * BufferView_pimpl.C (buffer): don't init minibuffer
12094         (workAreaButtonPress): use LFUN_MESSAGE
12095         (workAreaButtonRelease): ditto
12096         (savePosition): ditto
12097         (restorePosition): ditto
12098         (MenuInsertLyXFile): ditto
12099         (workAreaExpose): don't init minibuffer
12100         (update): remove commented code, simplify
12101
12102         * BufferView2.C (openStuff): use LFUN_MESSAGE
12103         (toggleFloat): ditto
12104         (menuUndo): ditto
12105         (menuRedo): ditto
12106         (copyEnvironment): ditto
12107         (pasteEnvironment): ditto
12108         (copy): ditto
12109         (cut): ditto
12110         (paste): ditto
12111         (gotoInset): ditto
12112         (updateInset): remove some commented code
12113
12114         * lastfiles.h: inherit privately from noncopyable
12115         * layout.h: ditto
12116         * lyx_gui.h: ditto
12117         * lyx_main.h: ditto
12118         * lyxlex.h: ditto
12119         * lyxlex_pimpl.h: ditto
12120
12121         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12122         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12123         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12124
12125         * LyXAction.h: inherit privately from noncopyable, add methods
12126         func_begin, func_end, returning iterators to the func map.
12127
12128         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12129         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12130         (func_begin): new method
12131         (func_end): new method
12132
12133         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12134         and not)
12135         (copySelection): ditto
12136         (pasteSelection): ditto
12137
12138         * BufferView.C: whitespace change
12139         * BufferView.h: inherit privately from noncopyable
12140
12141 2001-04-16  Allan Rae  <rae@lyx.org>
12142
12143         * tabular-old.C (l_getline):
12144         * spellchecker.C (sc_check_word):
12145         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12146         an unrecognised preprocessor directive.  So ensure they're wrapped.
12147
12148 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12149
12150         * src/exporter.C (Export): Give an error message when path to file
12151         contains spaces.
12152
12153 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12154
12155         * LaTeX.C (deplog): Always check that foundfile exists.
12156
12157 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12158
12159         * lyx_main.h:
12160         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12161
12162 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12163
12164         * tabular.[Ch] (getLabelList): implement new method
12165
12166         * minibuffer.h: comment ouf setTiimer
12167
12168         * minibuffer.C (ExecutingCB): constify res
12169         (peek_event): constify s
12170         (Set): constify ntext
12171         (Init): constify nicename
12172
12173         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12174
12175         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12176         (savePosition): use two params to Minibuffer::Set
12177         (restorePosition): ditto
12178
12179 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12180
12181         * lyx_main.C: include language.h
12182
12183         * Makefile.am (lyx_main.o): add language.h
12184
12185 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12186
12187         * exporter.C:
12188         * paragraph.C:
12189         * screen.C:
12190         * tabular.C:
12191         * CutAndPaste.C: include gettext.h
12192
12193         * lyxfont.h: remove old hack with ON and OFF.
12194
12195         * lyxparagraph.h:
12196         * lyxfont.h: do not include language.h...
12197
12198         * BufferView2.C:
12199         * LaTeXFeatures.C:
12200         * Painter.C:
12201         * bufferview_funcs.C:
12202         * font.C:
12203         * lyxfont.C:
12204         * text.C:
12205         * text2.C:
12206         * trans_mgr.C:
12207         * paragraph.C: ... but do it here instead
12208
12209 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12210
12211         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12212
12213         * tabular.C: small reformat
12214
12215         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12216         NEW_INSETS version
12217         (GetChar): ditto
12218         (BreakParagraph): ditto
12219         (SetOnlyLayout): ditto
12220         (SetLayout): ditto
12221
12222         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12223         with one arg less.
12224
12225         * lastfiles.C: removed most using decl, add std:: where needed
12226
12227         * buffer.C: ws changes
12228
12229         * MenuBackend.C (class compare_format): put into anon namespace
12230         (expand): constify label, names, action, action2
12231         (expand):
12232
12233         * text.C (SingleWidth): constify font
12234         (IsBoundary): constify rtl2
12235         (GetVisibleRow): constify ww
12236
12237         * LaTeX.C (deplog): constify logfile
12238
12239         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12240         start_x, end_x
12241         (workAreaExpose): constify widthChange, heightChange
12242
12243         * lyxrow.C (par): moved
12244         (height): moved
12245         (next): moved
12246         * lyxrow.h: as inlines here
12247
12248         * lyxfont.h (shape): moved from lyxfont.C
12249         (emph): moved from lyxfont.C
12250
12251         * lyxfont.C (LyXFont): use initialization list for all
12252         constructors
12253         (shape): move to lyxfont.h as inline
12254         (emph): move to lyxfont.h as inline
12255
12256
12257 2001-04-04  Juergen Vigna  <jug@sad.it>
12258
12259         * vspace.C: had to include stdio.h for use of sscanf
12260
12261 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12262
12263         * BufferView.h:
12264         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12265         independent of xforms.
12266
12267 2001-04-02  Juergen Vigna  <jug@sad.it>
12268
12269         * spellchecker.C: fixed namespace placing!
12270
12271 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12272
12273         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12274         the LyXParagraph * is 0.
12275
12276 2001-03-29  Juergen Vigna  <jug@sad.it>
12277
12278         * vspace.C: added support for %, c%, p%, l%.
12279         (stringFromUnit): added helper function.
12280         (asLatexString): changed to give right results for the %-values.
12281
12282         * buffer.C: convert the widthp in a width%.
12283
12284 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12285
12286         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12287         figureForm.[Ch].
12288
12289         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12290         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12291
12292         * lyx_cb.[Ch]: see above.
12293
12294         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12295         form1.[Ch].
12296
12297         * form1.[Ch]:
12298         * lyx.[Ch]: replaced by figure_form.[Ch].
12299
12300         * lyx_gui.C:
12301         * lyx_gui_misc.C:
12302         * lyxfunc.C: changed headers associated with above changes.
12303
12304 2001-03-27  Juergen Vigna  <jug@sad.it>
12305
12306         * BufferView_pimpl.C: set the temporary cursor right!
12307
12308 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12309
12310         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12311
12312 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12313
12314         * LString.h: removed "using std::getline"!
12315
12316         * BufferView_pimpl.C (Dispatch): changes due to changes in
12317         InsetInclude::Params.
12318
12319         * buffer.C (tag_name): removed redundant break statements as they were
12320         producing lots of warnings with my compiler.
12321
12322 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12323
12324         * LString.h: add "using std::getline" when using the real <string>.
12325
12326 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12327
12328         * buffer.C: removed bitset usage.
12329         PAR_TAG moved to an anonymous name space.
12330         (tag_name): new funtion, also in the anonymous namespace.
12331         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12332         (makeDocBookFile): clean code. Completed transition from string arrays
12333         to string vectors.
12334         (SimpleDocBookOnePar): code clean.
12335
12336 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12337
12338         * tabular.C: add some comments.
12339
12340 2001-03-22  Juergen Vigna  <jug@sad.it>
12341
12342         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12343         compatibility read a bit and fixed bug with minipage in different
12344         depth.
12345
12346 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12347
12348         * buffer.C (pop_tag): removed.
12349         (push_tag): removed.
12350         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12351         array replaced with vector. Added support for CDATA sections.
12352         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12353         at any nest level.
12354         (makeDocBookFile): XML conformant declaration of CDATA section,
12355         fixed bug related to <emphasis> in the first paragraph char.
12356         (sgmlOpenTag): exclude empty tags.
12357         (sgmlCloseTag): ditto.
12358
12359         * buffer.h (pop_tag): removed.
12360         (push_tag): removed.
12361
12362 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12363
12364         * language.h (Languages): added size_type and size().
12365
12366 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12367
12368         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12369         response on compability reading of minipages. One probliem is that
12370         the old usage of minipages was «flertydig»
12371
12372         * several files here and in subdirs: don't use static at file
12373         scope use anon namespaces instead.
12374
12375 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12376
12377         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12378         LaTeX output. This is necessary for Literate document
12379         processing.
12380
12381 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12382
12383         * buffer.C: insert hfill when needed.
12384
12385         * tabular.C (l_getline): use string::erase, small whitespace change.
12386
12387         * BufferView_pimpl.C: try the anon namespace.
12388         * WorkArea.C: ditto
12389
12390 2001-03-16  Juergen Vigna  <jug@sad.it>
12391
12392         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12393         otherwise it won't open options-dialogs.
12394
12395         * buffer.C: honor pextraWidth(p) on converting minipages.
12396
12397         * tabular.C (l_getline): changed the functions to strip trailing \r.
12398
12399 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12400
12401         * BufferView_pimpl.C:
12402         * minibuffer..C: added "using SigC::slot" declaration.
12403
12404 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12405
12406         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12407
12408         * text2.C: ditto
12409
12410         * text.C: ditto
12411
12412         * paragraph.C: ditto
12413
12414         * lyxtext.h: NO_PEXTRA
12415
12416         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12417
12418         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12419         * ParameterStruct.h: ditto
12420         * ParagraphParameters.h: ditto
12421         * lyxparagraph.h: ditto
12422
12423 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12424
12425         * buffer.C: add compability for minipage alignment.
12426         (latexParagraphs): remove unwanted pextra check.
12427
12428         * several files: remove CXX_WORKING_NAMESPACES
12429
12430         * buffer.C (pop_tag): tie is in namespace boost
12431
12432         * BufferView.h: noncopyable is in namespace boost
12433         * lyxlex.h: ditto
12434         * lyx_main.h: ditto
12435         * lyx_gui.h: ditto
12436         * layout.h: ditto
12437         * lastfiles.h: ditto
12438         * bufferlist.h: ditto
12439         * ShareContainer.h: ditto
12440         * LyXView.h: ditto
12441         * LyXAction.h: ditto
12442         * LaTeX.h: ditto
12443
12444 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12445
12446         * Merging changes from BRANCH_MVC back into HEAD.
12447
12448         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12449
12450 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12451
12452         * BufferView_pimpl.C: change from intl.C
12453
12454         * combox.h:
12455         * combox.C:
12456         * Makefile.am: move combox.*
12457
12458         * form1.h:
12459         * form1.C:
12460         * lyx_gui.C:
12461         * intl.h:
12462         * intl.C: remove dialog (covered by prefs)
12463
12464 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12465
12466         * lyxfunc.C (Dispatch): removed redundant break statement.
12467
12468 2001-03-14  Juergen Vigna  <jug@sad.it>
12469
12470         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12471
12472 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12473
12474         * buffer.C: add hack to fix compability reading of minipages.
12475
12476 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12477
12478         * buffer.C (getLists): Cleanup.
12479
12480 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12481
12482         * lyxfont.C (update): don't honor toggleall on font size.
12483
12484 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * bmtable.c:
12487         * bmtable.h:
12488         * Makefile.am: moved to frontends/xforms/
12489
12490         * lyx_gui_misc.C:
12491         * lyxfunc.C:
12492         * BufferView_pimpl.C: changes for moved mathpanel
12493
12494 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * gettext.h: fix gettext_init() in --disable-nls
12497
12498 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12499
12500         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12501
12502 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12503
12504         * lyx.C:
12505         * lyx.h: strip external form
12506
12507 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12508
12509         * BufferView_pimpl.C: add comment, destroySplash()
12510
12511 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12512
12513         * BufferView_pimpl.C:
12514         * LyXAction.C:
12515         * buffer.C:
12516         * commandtags.h:
12517         * lyxfunc.C: use re-worked insetinclude
12518
12519 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12520
12521         * buffer.C: add using std::stringstream.
12522
12523         * lyx_cb.C: readd using std::ios.
12524
12525         * buffer.C: add using std::map.
12526
12527         * BufferView_pimpl.C: add using std::vector.
12528
12529         * ShareContainer.h: add std:: to swap.
12530
12531         * buffer.h: add some typedefs
12532         * buffer.C (getLists): use them
12533         (getLists): renamed from getTocList.
12534         add a counter for the different float types and use it in the
12535         generated string.
12536         (getLists): use the same counter for the NEW_INSETS and the "non"
12537         NEW_INSETS
12538
12539         * lyx_cb.h: remove unused items, includes, using etc.
12540
12541         * ShareContainer.h: remove some commented code, add more comments
12542         and "documentation".
12543
12544 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12545
12546         * buffer.C (getTocList): make the list also when NEW_INSETS is
12547         defined.
12548
12549         * buffer.h: remove TocType
12550
12551         * buffer.C (getTocList): change to return a map<string,
12552         vector<TocItem> >, implement for dynamic number of list.
12553
12554         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12555         * text2.C (PasteSelection): adjust
12556         * CutAndPaste.C (pasteSelection): adjust
12557
12558         * FloatList.C (FloatList): update from the new_insets branch.
12559         * Floating.[Ch]: ditto
12560         * LaTeXFeatures.C: ditto
12561         * buffer.C: ditto
12562         * lyxlex_pimpl.C: ditto
12563
12564         * paragraph.C (Last): remove when NEW_INSETS is defined.
12565
12566         * other file: changes because of the above.
12567
12568 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12569
12570         * lyxparagraph.h: rename next to next_, previous to previous_,
12571         make them private for NEW_INSETS. Rename Next() to next(),
12572         Previous() to previous().
12573
12574         * other files: changes because of the above.
12575
12576 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12577
12578         * BufferView.h:
12579         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12580         problem.
12581
12582 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12583
12584         * main.C (main): pass lyx_localedir to gettext_init().
12585
12586         * gettext.h: remove locale_init and gettext_init macros
12587
12588         * gettext.C (locale_init): new function
12589         (gettext_init): new function
12590
12591         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12592         setlocale().
12593
12594 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12595
12596         * Moved credits to frontends:
12597         * credits.[Ch]: removed
12598         * credits_form.[Ch]: removed
12599         * lyx_gui_misc.C: remove credits stuff
12600         * Makefile.am:
12601
12602 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12603
12604         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12605
12606         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12607         unneeded destructor.
12608
12609         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12610         a standalone pointer again.
12611
12612         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12613
12614 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12615
12616         * Makefile.am:
12617         * filedlg.h:
12618         * filedlg.C:
12619         * LyXAction.C:
12620         * ToolbarDefaults.C:
12621         * bufferlist.C:
12622         * commandtags.h:
12623         * form1.C:
12624         * form1.h:
12625         * lyx_cb.C:
12626         * lyx_cb.h:
12627         * lyxfunc.h:
12628         * lyxfunc.C:
12629         * BufferView_pimpl.C: use new file dialog in GUII
12630
12631         * lyx_cb.h:
12632         * lyx_cb.C: remove LayoutsCB to Toolbar
12633
12634 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12635
12636         * ShareContainer.h (get): add std:: qualifier
12637
12638 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12639
12640         * ShareContainer.h: define a proper ShareContainer::value_type
12641         type (and use typename to please compaq cxx)
12642
12643 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12644
12645         * lyxparagraph.h: move serveral local vars to
12646         ParameterStruct/ParagraphParameters., use ShareContainer in
12647         FontTable., make vars in FontTable private and add getter and
12648         setter.
12649
12650         * paragraph.C: changes because of the above.
12651
12652         * lyxfont.h: remove copy constructor and copy assignment. (the
12653         default ones is ok), move number inside FontBits. move inlines to
12654         lyxfont.C
12655
12656         * lyxfont.C: add number to initializaton of statics, move several
12657         inlines here. constify several local vars. some whitespace
12658         cleanup. Dont hide outerscope variables.
12659
12660         * Spacing.h: add two new constructors to match the set methods.
12661
12662         * ShareContainer.h: new file, will perhaps be moved to support
12663
12664         * ParameterStruct.h: new file
12665
12666         * ParagraphParameters.h: new file
12667
12668         * ParagraphParameters.C: new file
12669
12670         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12671         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12672
12673         * BufferView_pimpl.C: ParagraphParameter changes.
12674         * buffer.C: Likewise.
12675         * bufferview_funcs.C: Likewise.
12676         * text.C: Likewise.
12677         * text2.C: Likewise.
12678
12679 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12680
12681         * lyxfind.C (LyXReplace): do not redefine default argument in
12682         implementation.
12683         (IsStringInText): ditto
12684         (SearchForward): ditto
12685         (SearchBackward): ditto
12686
12687 2001-03-06  Juergen Vigna  <jug@sad.it>
12688
12689         * lyxfind.C (IsStringInText): put parentes around expressions.
12690
12691 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12692
12693         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12694
12695 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12696
12697         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12698
12699         * stl_string_fwd.h: add comment
12700
12701         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12702
12703         * tabular.h:
12704         * tabular.C: remove unused DocBook methods
12705
12706         * intl.C:
12707         * language.C:
12708         * paragraph.C:
12709         * buffer.C:
12710         killed DO_USE_DEFAULT_LANGUAGE
12711
12712 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12713
12714         * lyx_gui.C: do not include language.h.
12715
12716         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12717         arguments in function implementation.
12718
12719 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12720
12721         * BufferView_pimpl.C: add <ctime>
12722
12723 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12724
12725         * BufferView_pimpl.C: add using std::find_if
12726
12727 2001-02-27  José Matos  <jamatos@fep.up.pt>
12728
12729         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12730         by OnlyPath.
12731
12732 2001-02-11  José Matos  <jamatos@fep.up.pt>
12733
12734         * buffer.C (makeDocBookFile): command styles now have a parameter as
12735         "title" by default.
12736
12737 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12738
12739         * layout_forms.[Ch]: removed
12740         * lyx_cb.[Ch]: out character
12741         * lyx_gui.C: out character
12742         * lyx_gui_misc.C: out character
12743         * bufferview_funcs.C: : out character,
12744         added toggleall as parameter in ToggleAndShow
12745
12746 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12747
12748         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12749
12750         * text2.C (SetCurrentFont): Disable number property at boundary.
12751
12752 2001-02-26  Juergen Vigna  <jug@sad.it>
12753
12754         * lyxfunc.C (getStatus): added a string argument override function so
12755         that this is correctly called from LyXFunc::Dispatch if it contains a
12756         do_not_use_argument which is used!
12757         (Dispatch): added check for "custom" export and call appropriate func.
12758
12759 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12760
12761         * lyxrc.C: Add language_command_local, language_use_babel and
12762         language_global_options.
12763
12764         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12765
12766         * buffer.C (makeLaTeXFile): Use language_use_babel and
12767         language_global_options.
12768
12769 2001-02-23  Juergen Vigna  <jug@sad.it>
12770
12771         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12772         which works with LyXText and putted it inside BufferView. Here now we
12773         only call for that part the BufferView::Dispatch() function.
12774
12775         * BufferView.C (Dispatch): added.
12776
12777         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12778         functions which needs to use a LyXText over from LyXFunc.
12779         (MenuInsertLyXFile): added
12780         (getInsetByCode): added
12781         (moveCursorUpdate): added
12782         (static TEXT): added
12783
12784 2001-02-22  Juergen Vigna  <jug@sad.it>
12785
12786         * BufferView_pimpl.C (update): call a status update to see if LyXText
12787         needs it.
12788
12789 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12790
12791         * vc-backend.C (revert): implement for CVS
12792         (getLog): implement for CVS
12793
12794 2001-02-20  Juergen Vigna  <jug@sad.it>
12795
12796         * text2.C (ClearSelection): added BufferView param for inset_owner call
12797
12798         * lyxfunc.C (TEXT): added this function and use it instead of
12799         directly owner->view()-text of getLyXText().
12800
12801 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12802
12803         * src/layout_forms.C: out preamble
12804         * src/layout_forms.h: out preamble
12805         * src/lyx_cb.C: out preamble
12806         * src/lyx_cb.h: out preamble
12807         * src/lyx_gui.C: out preamble
12808         * src/lyx_gui_misc.C: out preamble
12809         * src/lyxfunc.C: connect with guii preamble
12810
12811 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12812
12813         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12814
12815 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12816
12817         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12818         whether to run bibtex.
12819
12820 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12821
12822         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12823
12824 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12825
12826         * Makefile.am (lyx_SOURCES): removed bibforms.h
12827
12828         * vspace.h: doxygen
12829
12830         * text.C (GetVisibleRow): make several local vars const
12831
12832         * tabular.C: small cleanup.
12833
12834         * lyxserver.C (callback): use compare instead of strncmp
12835
12836         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12837         inlines to after class or to paragraph.C
12838
12839         * lyxfont.h: remove friend operator!=
12840
12841         * converter.h: move friend bool operator< to non friend and after
12842         class def.
12843
12844         * combox.h: small cleanup
12845
12846         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12847         to inlines after class def.
12848
12849         * buffer.C (pop_tag): use string operations instead of strcmp
12850
12851         * bmtable.c: doxygen, small cleanup
12852
12853         * LaTeX.h: remove friend operator==
12854
12855 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12856
12857         * screen.C:
12858         * lyxrc.[Ch]:
12859         * lyxfunc.C:
12860         * lyxfont.[Ch]:
12861         * lyx_cb.C:
12862         * intl.[Ch]:
12863         * commandtags.h:
12864         * buffer.C:
12865         * WorkArea.[Ch]:
12866         * LyXAction.C:
12867         * BufferView_pimpl.C:
12868         * BufferView.[Ch]: remove cruft
12869
12870 2001-02-14  Juergen Vigna  <jug@sad.it>
12871
12872         * lyxfunc.C: removed #if 0 unused code
12873
12874         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12875
12876         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12877
12878         * text2.C (SetSelection): added a BufferView * parameter
12879
12880 2001-02-13  Juergen Vigna  <jug@sad.it>
12881
12882         * lyxfunc.C (Dispatch): fixed protected blank problem.
12883         * BufferView2.C (protectedBlank): added LyxText * parameter.
12884
12885         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12886         (AppendColumn): same as above for column_info.
12887
12888         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12889         (moveCursorUpdate): use a LyXText param for support of InsetText.
12890
12891         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12892         (tripleClick): ditto
12893
12894         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12895
12896         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12897
12898         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12899
12900         * text2.C (SetSelection): set correct update status if inset_owner
12901         (ToggleFree): ditto
12902
12903 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12904
12905         * tabular.C: remove some commented code.
12906
12907 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12908
12909         * BufferView_pimpl.C: call hideSplash()
12910
12911         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12912
12913         * include_form.h:
12914         * bibforms.h: remove
12915
12916         * lyxfunc.C:
12917         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12918           add LFUN_CHILD_CREATE
12919
12920         * counters.h: fix tiny typo
12921
12922         * lyx_cb.C:
12923         * lyx.h:
12924         * lyx_gui.C:
12925         * lyx.C: move splash to frontends/xforms/
12926
12927         * lyx_gui_misc.C: move Include and Bibform to frontends
12928
12929         * lyxvc.h: clarify comment
12930
12931         * vspace.C: tiny housekeeping
12932
12933 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12934
12935         * text.C (PrepareToPrint): RTL Fix.
12936
12937         * paragraph.C (GetUChar): New method.
12938         (String):  Use GetUChar.
12939
12940         * buffer.C (asciiParagraph): Use GetUChar.
12941
12942 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12943
12944         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12945
12946 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12947
12948         * buffer.h:
12949         * buffer.C: rename to getLogName(), handle
12950           build log / latex log nicely
12951
12952 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12953
12954         * MenuBackend.C:
12955         * MenuBackend.h: remove support for reference menuitem type.
12956
12957 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12958
12959         * BufferView_pimpl.C: housekeeping
12960         * BufferView_pimpl.h:
12961         * LyXView.h:
12962         * Makefile.am:
12963         * Timeout.C:
12964         * Timeout.h:
12965         * minibuffer.h: move Timeout GUI-I
12966
12967 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12968
12969         * lyxrc.C (read): Update converters data-structures.
12970
12971 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12972
12973         * LaTeX.h (operator!=): add operator != for Aux_Info
12974
12975 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12978
12979         * LaTeXLog.C: deleted, useful code moved to Buffer
12980
12981         * buffer.h:
12982         * buffer.C: new function getLatexLogName()
12983
12984         * lyx_gui_misc.C:
12985         * lyx_gui.C:
12986         * lyxvc.C:
12987         * lyxvc.h:
12988         * lyxfunc.C: use frontends for LaTeX and VC logs
12989
12990 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12991
12992         * LaTeX.h: yet another std:: that Allan forgot.
12993
12994         * Variables.C (set): renamed from isset(), because this clashes
12995         with some HP-UX macros (grr).
12996
12997 2001-02-06  Allan Rae  <rae@lyx.org>
12998
12999         * LaTeX.h: Another bug fix.  Missing std:: this time.
13000
13001 2001-02-04  Allan Rae  <rae@lyx.org>
13002
13003         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13004         floats problem. I've left it commented out because it's not quite
13005         correct.  It should also test that the current object is a table or
13006         figure inset.  But I haven't gotten around to figuring out how to do
13007         that.  I *think* it'll be something like: "table" == inset.type()
13008
13009         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13010         bool.
13011
13012 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13013
13014         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13015         all the citation/databases/styles in the auxilary file.
13016         (run): Rerun latex if there was a babel language error.
13017
13018 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13019
13020         * text.C (Backspace): Preserve the font when changing newline char
13021         with a space.
13022         (BreakParagraph): If the cursor is before a space, delete the space.
13023
13024         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13025
13026 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13027
13028         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13029         new argument (code).
13030         (ChangeCitationsIfUnique): New method.
13031
13032         * paragraph.C (GetPositionOfInset): Handle bibkey.
13033
13034 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13035
13036         * BufferView_pimpl.h: change type of Position::par_pos to
13037         LyXParagraph::size_type.
13038
13039 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13040
13041         * BufferView_pimpl.C (savePosition, restorePosition): Write
13042         messages to minibuffer.
13043
13044 2001-01-28  José Matos  <jamatos@fep.up.pt>
13045
13046         * buffer.C (makeDocBookFile): adds support for document language.
13047         A silly restriction on the name of LatexCommand types where removed.
13048         Added support for CDATA sections, allows to chars unescaped, used
13049         among others in code, to avoid escape < and >.
13050
13051 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13052
13053         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13054         saved positions instrad of a stack. Furthermore, a position is
13055         stored using paragraph id/paragraph position.
13056
13057         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13058         Remove LFUN_REF_BACK.
13059
13060 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13061
13062         * converter.C (dvipdfm_options): New method.
13063
13064 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13065
13066         * vspace.C (isValidLength): Fix for empty input string.
13067
13068 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13069
13070         * LyXAction.C (init): change description of LFUN_FIGURE to
13071         "Insert Graphics"
13072
13073 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13074
13075         * LaTeX.C: add using directive
13076
13077 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13078
13079         * MenuBackend.C (expand): Fix the sorting of the formats.
13080
13081 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13082
13083         * lyx_main.C: tiny error message fix
13084
13085 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13086
13087         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13088         calling fl_initialize(). This fixes the problem with ',' as
13089         decimal separator in text files.
13090
13091 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13092
13093         * trans.C (process): Fix the keymap bug.
13094
13095 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13096
13097         * LaTeX.C (scanAuxFiles): New method. Provides support for
13098         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13099         (scanLogFile) Scan for "run BibTeX" messages.
13100
13101         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13102         OT1 font encoding. Also, load the aecompl package if the ae
13103         package is loaded.
13104
13105         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13106
13107 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13108
13109         * texrow.C (increasePos): turn two error messages into debug
13110         messages.
13111
13112 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13113
13114         * LaTeX.C (scanAux): Handle the \@input macro.
13115         (runBibTeX): Use scanAux().
13116
13117         * language.C (latex_options_): New field.
13118
13119         * LaTeXFeatures.C (getMacros): Add language macros.
13120
13121         * buffer.C (makeLaTeXFile): Small fix.
13122
13123 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13124
13125         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13126
13127         * text2.C: add a using directive.
13128
13129 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13130
13131         * BufferView2.C:
13132         * lyx_gui_misc.h:
13133         * lyxfr1.C:
13134         * lyxfunc.C: kill LyXBell.
13135
13136 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13137
13138         * text.C (IsBoundary): Remove the error message
13139
13140         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13141
13142         * lyxrc.C (setDefaults): Correct initialization value for
13143         font_norm_type.
13144
13145 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13146
13147         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13148         gotoError().
13149
13150         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13151         and GotoNextNote().
13152
13153         * src/LyXAction.C: Added reference-next.
13154
13155         * text.C (InsertChar): Use contains instead of strchr.
13156
13157         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13158
13159 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13160
13161         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13162         alignment commands (when needed).
13163
13164         * text.C (InsertChar): Add ':' to number separator chars.