]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fix a bunch of doxygen warnings.
[lyx.git] / src / ChangeLog
1 2003-10-08  Angus Leeming  <leeming@lyx.org>
2
3         Fix doxygen warnings.
4
5         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
6         Remove CutAndPaste:: prefix from header file declaration.
7
8         * LColor.h (fill): remove LColor:: prefix from declaration.
9
10         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
11         use lyx::depth_type rather than Paragraph::depth_type so that
12         header file and .C file match.
13
14         * converter.h (intToFormat): remove Converters:: prefix from declaration.
15
16         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
17         * aspell.C: \file aspell_local.C -> \file aspell.C
18         * gettext.C: \file gettext.C -> \file src/gettext.C
19         * gettext.h: \file gettext.h -> \file src/gettext.h
20         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
21         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
22         * text.C: \file text.C -> \file src/text.C
23
24         * toc.C: move comment so that doxygen is not confused.
25
26 2003-10-07  Angus Leeming  <leeming@lyx.org>
27
28         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
29
30 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
31
32         * aspell.C:
33         * aspell_local.h: add forgotten std::string's.
34
35 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
36
37         * LaTeXFeatures.C:
38         * LyXAction.C:
39         * factory.C:
40         * lfuns.h:
41         * lyxfunc.C:
42         * text3.C: The Box patch. Fancybox support, minipage, parbox
43
44 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
45
46         * CutAndPaste.h:
47         * DepTable.h:
48         * FloatList.h:
49         * LaTeXFeatures.h:
50         * ParagraphParameters.h:
51         * TextCache.h:
52         * Thesaurus.h:
53         * bufferlist.h:
54         * exporter.h:
55         * importer.h:
56         * lastfiles.h:
57         * lyxfind.h:
58         * lyxfont.h:
59         * lyxlex.h:
60         * lyxtextclasslist.h:
61         * messages.h:
62         * paragraph.h:
63         * paragraph_pimpl.C:
64         * textcursor.h: add <string> and other small fixes to make Lars'
65         std::string patch compile with STLport.
66
67 2003-10-06  Angus Leeming  <leeming@lyx.org>
68
69         * LColor.h: Add missing #include <string>.
70
71 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
72
73         * All most all file in all subdirs: Make <string> be the prefered
74         way of getting to std::string, add using declarations.
75
76 2003-10-06  André Pönitz  <poenitz@gmx.net>
77
78         * metricsinfo.C: initialize LyXFont before changing attribute.
79         (fixes the 'math in \emph is upright' bug)
80
81 2003-10-06  André Pönitz  <poenitz@gmx.net>
82
83         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
84
85 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
86
87         * graph.C:
88         * paragraph_pimpl.C: Small fixes to build using STLport
89
90 2003-10-02  André Pönitz  <poenitz@gmx.net>
91
92         * lyxfunc.C:
93         * text3.C: move handling of LFUN_DEPTH *; fix #1360
94
95 2003-10-01  André Pönitz  <poenitz@gmx.net>
96
97         * factory.C: assert early
98
99 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
100
101         * lyx_main.C: remove the global debug object
102
103         * debug.h: adjust for new debugstream
104
105         * debug.C: adjust for new debugstream and keep the global debug
106         object here.
107
108 2003-09-22  Angus Leeming  <leeming@lyx.org>
109
110         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
111         of g++ which otherwise complain that the scoped_ptr destructor can't delete
112         an incomplete class LyXFont.
113
114 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
115
116         * factory.C: bug fix in branches
117
118 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
119
120         * lyxfunc.C (processKeySym): adjust
121         (dispatch): adjust
122         (dispatch): change arg name from ev to func, adjust
123         (sendDispatchMessage): ditto
124
125         * lyx_main.C (defaultKeyBindings): adjust keybindings
126         (deadKeyBindings): ditto
127
128         * kbsequence.C (addkey): return a FuncRequest
129
130         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
131
132         * kbmap.C (bind): take a FuncRequest as arg, adjust
133         (read): adjust
134         (lookup): adjust
135         (defkey): change to take a FuncRequest as arg, adjust
136         (findbinding): take a FuncRequest as arg, adjust.
137
138         * funcrequest.h (operator=): added
139
140         * funcrequest.C (FuncRequest): default kb_action changed from
141         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
142
143         * buffer.C (dispatch): simplify
144         (dispatch): adjust to take a FuncRequest as arg, adjust
145
146         * boost.C (assertion_failed): change assertion message slightly
147
148         * ToolbarBackend.C (read): simplify
149
150         * MenuBackend.C (binding): adjust call to findbinding, add a
151         message if no binding is found.
152         (read): simplify
153         (expandToc): correct by adding a empty FuncRequest
154
155         * LyXAction.C: include <boost/assert.hpp>
156         (isPseudoAction): delete function
157         (LookupFunc): change name to...
158         (lookupFunc): this. change return type to FuncRequest.
159         (getActionName): take kb_action as arg, simplify
160         (funcHasFlag): add an assert, simplify.
161
162 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
163
164         * toc.C (action): return a FuncRequest, simplify
165
166         * lyxfunc.C (processKeySym): adjust
167         (getStatus): delete version that takes an int.
168         (getStatus): adjust
169         (dispatch): delete version that takes action as int
170         (dispatch): adjust
171         (sendDispatchMessage): simplify and adjust
172
173         * funcrequest.C (getArg): take unsigned int as arg
174
175         * ToolbarBackend.C (read): adjust
176         (add): delete version that takes func as a string.
177         (getIton): take a FuncRequest as arg
178
179         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
180         action.
181
182         * MenuBackend.C (MenuItem): add a new construct that only takes a
183         Kind, simplify the constructor use for submenus.
184         (add): adjust
185         (expandLastfiles): adjust
186         (expandDocuments): adjust
187         (expandFormats): adjust
188         (expandFloatListInsert): adjust
189         (expandFloatInsert): adjust
190         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
191
192         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
193         Remove class variables lyx_pseudo_map and lyx_arg_map
194
195         * LyXAction.C (searchActionArg): delete function
196         (getPseudoAction): delete function
197         (retrieveActionArg): delete function
198         (LookupFunc): make it return kb_action, simplify.
199         (getActionName): simplify
200
201         * factory.C (createInset): fix new bug
202
203 2003-09-19  Angus Leeming  <leeming@lyx.org>
204
205         * CutAndPaste.C (pasteSelection): remove fudge used to set the
206         masterFilename_ parameter in the include inset.
207
208         * factory.C (createInset): changes due to the changes to InsetInclude.
209
210 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
211
212         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
213
214 2003-09-18  Angus Leeming  <leeming@lyx.org>
215
216         * buffer.C:
217         * BufferView.C: pass the buffer when calling Inset::getLabelList,
218         Inset::fillWithBibKeys.
219         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
220
221 2003-09-18  Angus Leeming  <leeming@lyx.org>
222
223         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
224         variables.
225         (ctor): pass and store a 'Buffer const &'
226         (buffer): new member function.
227
228         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
229         '*this' to the LaTeXFeatures ctor.
230
231 2003-09-18  Angus Leeming  <leeming@lyx.org>
232
233         * LColor.h:
234         * lyxfont.C:
235         * lyxfont.h:
236         * lyxtext.h:
237         * text.C: rename EnumLColor as LColor_color.
238
239 2003-09-18  Angus Leeming  <leeming@lyx.org>
240
241         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
242         remove #include "insets/insetbase.h" from cursor.h.
243
244 2003-09-18  Angus Leeming  <leeming@lyx.org>
245
246         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
247         InsetOld_code to remove #include "inset.h".
248
249         * iterators.C: add #include "insets/inset.h"
250
251 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
252
253         * BufferView.C: remove more locking stuff that apparently doesn't
254         do anything sensible.
255
256 2003-09-16  André Pönitz  <poenitz@gmx.net>
257
258         * paragraph.[Ch]:
259         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
260           performance boost.
261
262 2003-09-16  Angus Leeming  <leeming@lyx.org>
263
264         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
265
266         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
267         arg/return type.
268
269         * paragraph.h: remove #include "lyxfont.h". Forward declare
270         LyXFont_size.
271
272 2003-09-16  Angus Leeming  <leeming@lyx.org>
273
274         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
275         of support/textutils.h.
276         (isWord): move the contents of support/textutils.h's IsWordChar here.
277
278         * buffer.C:
279         * lyxfind.C:
280         * rowpainter.C:
281         * text.C:
282         * text2.C: add #include "paragraph.h".
283
284         * rowpainter.C:
285         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
286
287 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
288
289         * main.C:
290         * lyx_main.C:
291         * lyx_cb.C:
292         * buffer.C:
293         * LaTeX.C: use namespace alias for lyx::support::os
294
295 2003-09-16  Angus Leeming  <leeming@lyx.org>
296
297         * bufferparams.C:
298         * bufferview_funcs.C:
299         * factory.C:
300         * lyxfunc.C:
301         * paragraph_pimpl.C:
302         * rowpainter.C:
303         * text.C: add #include "LColor.h".
304
305 2003-09-16  Angus Leeming  <leeming@lyx.org>
306
307         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
308         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
309         return LyXFont &.
310         Store the FontBits::color variable as an int rather than as an
311         LColor::colorso that we can move LColor.h out of the lyxfont.h header
312         file.
313
314         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
315         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
316         string calls together.
317
318         * lyxrc.C: add #include "LColor.h".
319
320 2003-09-15  Angus Leeming  <leeming@lyx.org>
321
322         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
323         a cow_ptr.
324
325 2003-09-15  Angus Leeming  <leeming@lyx.org>
326
327         * LColor.h: add an EnumLColor wrapper for LColor::color.
328
329         * lyxfont.[Ch] (color, setColor, realColor):
330         * lyxtext.h, text.C (backgroundColor):
331         pass EnumLColor args to/from the functions, rather than LColor::color
332         ones.
333
334         * lyxfont.h:
335         * lyxtext.h: forward declare EnumLColor.
336
337         * lyx_main.C: add #include "LColor.h".
338
339 2003-09-15  Angus Leeming  <leeming@lyx.org>
340
341         * .cvsignore: add lyx-gtk.
342
343 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
344
345         * Chktex.C
346         * LaTeX.C
347         * LaTeXFeatures.C
348         * ParagraphParameters.C
349         * Spacing.C
350         * buffer.C
351         * bufferparams.C
352         * bufferview_funcs.C
353         * chset.C
354         * counters.C
355         * funcrequest.C
356         * lyxfont.C
357         * lyxgluelength.C
358         * lyxlength.C
359         * paragraph.C
360         * paragraph_funcs.C
361         * text3.C
362         * vc-backend.C: remove usage of STRCONV
363
364 2003-09-15  Angus Leeming  <leeming@lyx.org>
365
366         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
367         explicitly define the color passed to the painter.
368
369 2003-09-15  Angus Leeming  <leeming@lyx.org>
370
371         * bufferparams.C (BufferParams): reorder member initializers to avoid
372         compiler warning.
373
374 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
375
376         * CutAndPaste.C (pasteSelection): remove an outdated #warning
377         * text.C (updateRowPositions): remove an unusual nop
378
379 2003-09-12  André Pönitz  <poenitz@gmx.net>
380
381         * BufferView_pimpl.C:
382         * Bullet.C:
383         * layout.h:
384         * lyxfunc.C:
385         * lyxlayout.[Ch]:
386         * lyxtextclass.C:
387         * rowpainter.C:
388         * text.C:
389         * text2.C:
390         * Counters.[Ch]: finish the 'automatic counters' job
391
392 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
393
394         * aspell.C: include <boost/assert.cpp> (compile fix)
395
396 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
397
398         * boost.C (assertion_failed): use lyx::support::abort instead of
399         assert.
400
401 2003-09-10  Angus Leeming  <leeming@lyx.org>
402
403         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
404         with their _fwd progeny.
405
406 2003-09-09  Angus Leeming  <leeming@lyx.org>
407
408         134 files throughtout the source tree: replace 'using namespace abc;'
409         directives with the appropriate 'using abc::xyz;' declarations.
410
411 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
412
413         * boost.C (emergencyCleanup): moved here from LAssert.c
414         (assertion_failed): new function, called by BOOST_ASSERT
415
416         * several files: change Assert to BOOST_ASSERT
417
418 2003-09-09  Angus Leeming  <leeming@lyx.org>
419
420         * buffer.[Ch]: Add an Impl class and move Buffer's member
421         variables into it. As a result move several header files out of
422         buffer.h.
423
424         Add header files to lots of .C files all over the tree as a result.
425
426 2003-09-09  Angus Leeming  <leeming@lyx.org>
427
428         * buffer.[Ch]: make Buffer's member variables private. Add
429         accessor functions.
430
431         Lots of changes all over the tree as a result.
432
433 2003-09-08  Angus Leeming  <leeming@lyx.org>
434
435         * graph.C: #include <config.h>.
436
437 2003-09-08  Angus Leeming  <leeming@lyx.org>
438
439         * BranchList.C:
440         * BufferView.C:
441         * BufferView_pimpl.C:
442         * CutAndPaste.C:
443         * DepTable.C:
444         * LaTeX.C:
445         * LaTeXFeatures.C:
446         * LyXAction.C:
447         * MenuBackend.C:
448         * TextCache.C:
449         * aspell.C:
450         * buffer.C:
451         * bufferlist.C:
452         * changes.C:
453         * chset.C:
454         * converter.C:
455         * counters.C:
456         * debug.C:
457         * graph.C:
458         * ispell.C:
459         * lyx_cb.C:
460         * lyxfind.C:
461         * lyxfunc.C:
462         * lyxlex_pimpl.C:
463         * lyxrc.C:
464         * lyxrow.C:
465         * paragraph.C:
466         * rowpainter.C:
467         * texrow.C:
468         * text.C:
469         * text2.C:
470         * toc.C: remove redundant using directives.
471
472 2003-09-07  Angus Leeming  <leeming@lyx.org>
473
474         * LaTeXFeatures.h: remove #include "support/types.h".
475         * ToolbarBackend.h: remove #include <algorithm>.
476         * changes.h: remove #include <ctime>.
477         * debug.h: remove #include <iosfwd>.
478         * graph.h: remove #include "support/std_string.h".
479         * lyx_main.h: remove #include <csignal>.
480         * lyxlex_pimpl.h: remove #include <fstream>.
481         * sgml.h: remove #include <algorithm>, <utility>.
482         * toc.h: remove #include "support/std_ostream.h".
483         Add #include <iosfwd>.
484
485 2003-09-07  Angus Leeming  <leeming@lyx.org>
486
487         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
488
489         * converter.h: forward declare LatexRunParams.
490         * encoding.h: remove #include "lyxrc.h".
491         * lyxtext.h: remove #include "LColor.h".
492         * lyxtextclass.h: remove #include "support/types.h".
493         * trans.h: remove #include "tex-accent.h".
494         * trans_mgr.h: remove #include "tex-accent.h".
495         * insets/inset.h: remove #include "support/types.h", <vector>.
496         * insets/insetcollapsable.h: remove #include "LColor.h".
497         * insets/insetinclude.h: remove #include "dimension.h".
498         * insets/insetlatexaccent.h: remove #include "dimension.h".
499         * insets/insetoptarg.h:: remove #include "insettext.h".
500         * insets/insettext.h: remove #include "dimension.h",
501         <boost/shared_ptr.hpp>
502
503         * insets/renderers.h: add #include "dimension.h".
504         * insets/updatableinset.h: add #include "support/types.h".
505
506         * many .C files: Associated changes.
507
508 2003-09-06  Angus Leeming  <leeming@lyx.org>
509
510         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
511         one, inside testInvariant.
512
513         * PrinterParams.C: new file.
514         * PrinterParams.[Ch]: move the function bodies out of line.
515
516 2003-09-06  Angus Leeming  <leeming@lyx.org>
517
518         * ParagraphParameters.h: forward declare ParameterStruct rather than
519         including its header file.
520         (depth): moved out-of-line.
521
522 2003-09-06  Angus Leeming  <leeming@lyx.org>
523
524         * BufferView_pimpl.h:
525         * kbmap.h:
526         * kbsequence.h:
527         * lyxfunc.h: forward declare LyXKeySym rather than
528         #include "frontends/LyXKeySym.h".
529
530         * BufferView_pimpl.C:
531         * kbmap.C:
532         * kbsequence.C:
533         * lyxfunc.C: associated changes.
534
535 2003-09-06  Angus Leeming  <leeming@lyx.org>
536
537         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
538         As a result, can remove the #include "insets/inset.h" from BufferView.h
539
540 2003-09-06  Angus Leeming  <leeming@lyx.org>
541
542         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
543         As a result, can remove the #include "insets/inset.h" from BufferView.h
544
545 2003-09-06  Angus Leeming  <leeming@lyx.org>
546
547         * buffer_funcs.C:
548         * buffer.h:
549         * bufferlist.C:
550         * BufferView.C:
551         * bufferview_funcs.C:
552         * BufferView_pimpl.C:
553         * CutAndPaste.C:
554         * lyx_cb.C:
555         * lyxfunc.C:
556         * paragraph.h:
557         * ParagraphParameters.C:
558         * tabular.C:
559         * text3.C:
560         * toc.C:
561         * undo_funcs.C:
562         * frontends/controllers/ControlDocument.C:
563         * insets/insetcaption.C: rearrange the #includes into some sort of
564         coherent order.
565
566         * buffer.h: remove #includes ErrorList.h, undo.h
567
568 2003-09-06  Angus Leeming  <leeming@lyx.org>
569
570         * support/types.h: add a 'depth_type' typedef, used to store the
571         nesting depth of a paragraph.
572
573         * paragraph.h:
574         * ParameterStruct.h: use this lyx::depth_type typedef rather than
575         defining explicitly.
576
577         * buffer.h:
578         * paragraph_funcs.h:
579         * ParagraphParameters.h:
580         * sgml.h: use lyx::depth_type rather than Paragraph or
581         ParameterStruct's depth_type.
582
583         * buffer.h
584         * paragraph_funcs.h: no need to #include paragraph.h anymore.
585
586         * BufferView.C:
587         * BufferView_pimpl.C:
588         * CutAndPaste.C:
589         * ParagraphParameters.C:
590         * buffer_funcs.C:
591         * bufferlist.C:
592         * bufferview_funcs.C:
593         * lyx_cb.C:
594         * lyxfunc.C:
595         * tabular.C:
596         * text3.C:
597         * toc.C:
598         * undo_funcs.C:
599         * frontends/LyXView.C:
600         * frontends/controllers/ControlDocument.C:
601         * frontends/controllers/ControlErrorList.C:
602         * insets/insetbibitem.C:
603         * insets/insetbranch.C:
604         * insets/insetcaption.C:
605         * insets/insetcollapsable.C:
606         * insets/insetenv.C:
607         * insets/insetert.C:
608         * insets/insetfloat.C:
609         * insets/insetfoot.C:
610         * insets/insetfootlike.C:
611         * insets/insetnewline.C:
612         * insets/insetquotes.C:
613         * insets/insettabular.C:
614         * insets/insettext.C:
615         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
616
617         * frontends/controllers/ControlChanges.C: #include "changes.h".
618
619 2003-09-06  Angus Leeming  <leeming@lyx.org>
620
621         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
622         than #including paragraph.h.
623
624         * ParagraphList.h:
625         * RowList.h: deleted. Superfluous.
626
627         * CutAndPaste.h:
628         * iterators.h:
629         * lyxcursor.h:
630         * lyxtext.h:
631         * text_funcs.h:
632         * undo.h:
633         * undo_funcs.h:
634         * insets/inset.h:
635         * insets/insettext.h: use ParagraphList_fwd.h rather than
636         ParagraphList.h.
637
638         * paragraph.h: don't forward declare ParagraphList.
639
640         * buffer.h:
641         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
642         rather than ParagraphList.h. paragraph.h is still needed for the
643         Paragraph::depth_type parameters.
644
645         * textcursor.h: enable it to compile stand-alone in light of the
646         above changes.
647
648         * bufferview_funcs.C:
649         * iterators.C:
650         * lyxfunc.C:
651         * lyxrow_funcs.C:
652         * paragraph.C:
653         * rowpainter.C:
654         * text.C:
655         * text2.C:
656         * text3.C:
657         * text_funcs.C:
658         * textcursor.C:
659         * undo.C:
660         * frontends/controllers/ControlParagraph.C:
661         * frontends/controllers/ControlTabular.C:
662         * insets/insetmarginal.C:
663         * insets/insetminipage.C:
664         * insets/insetnote.C:
665         * insets/insetoptarg.C: add header files needed to compile again.
666
667 2003-09-06  Angus Leeming  <leeming@lyx.org>
668
669         * RowList_fwd.h: new file, forward-declaring Row rather than
670         #including lyxrow.h.
671
672         * lyxrow_funcs.h:
673         * lyxtext.h:
674         * paragraph.h:
675         * insets/insettext.h: use it instead of RowList.h
676
677         * bufferview_funcs.C:
678         * lyxfunc.C:
679         * lyxrow_funcs.C:
680         * paragraph.C:
681         * rowpainter.C:
682         * text.C:
683         * text2.C:
684         * text3.C: #include "RowList.h".
685
686 2003-09-05  Angus Leeming  <leeming@lyx.org>
687
688         * factory.C (createInset):
689         * vspace.C (c-tor): replace sscanf call with an istringstream.
690         * ispell.C: re-add missing HP/UX headers.
691         * lyxserver.C: re-add missing  os2 headers.
692
693 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
694
695         * BranchList.C:
696         * graph.C:
697         * ispell.C:
698         * lastfiles.C:
699         * lyx_cb.C:
700         * lyxserver.C:
701         * texrow.C:
702         * text3.C: re-add missing system headers, needed for 2.95.2.
703
704 2003-09-05  Angus Leeming  <leeming@lyx.org>
705
706         Changes most place everywhere due to the removal of using directives
707         from support/std_sstream.h.
708
709 2003-09-05  Angus Leeming  <leeming@lyx.org>
710
711         Replace LString.h with support/std_string.h,
712         Lsstream.h with support/std_sstream.h,
713         support/LIstream.h with support/std_istream.h,
714         support/LOstream.h with support/std_ostream.h.
715
716         Changes resulting throughout the tree.
717
718 2003-09-05  Angus Leeming  <leeming@lyx.org>
719
720         * sgml.h: ensure that the header file can be compiled stand-alone.
721         * *.C: strip out redundant #includes. (320 in total.)
722
723 2003-09-04  Angus Leeming  <leeming@lyx.org>
724
725         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
726         here (from getPackages).
727
728         * debug.[Ch]: add a new EXTERNAL tag.
729
730 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
731
732         * text2.C (cursorEnd): simplify
733         (setCursor): adjust
734         (getColumnNearX): adjust
735
736         * text.C (computeBidiTables): adjust
737         (fill): adjust
738
739         * rowpainter.C (paintChars): adjust
740         (paintSelection): adjust
741         (paintChangeBar): adjust
742         (paintText): adjust
743
744         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
745         lastPos instead.
746         (numberOfSeparators): adjust
747
748 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
749
750         * LyXAction.C:
751         * box.[Ch]:
752         * lfuns.h:
753         * lyxfunc.C:
754         * text3.C: Restricts the mouse click functionality
755         of insets like bibtex, include, toc and floatlist to the visible
756         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
757         up the dialogs. Cursor has to be in front of the inset (i.e.
758         start of row) for this to function.
759
760 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
761
762         * bufferview_funcs.C (currentState): output row information
763
764 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
765
766         * bufferview_funcs.C (currentState): output paragraph position
767
768 2003-09-04  Angus Leeming  <leeming@lyx.org>
769
770         * FloatList.h: move out #include "Floating.h".
771         * LaTeX.h: move out #include "DepTable.h".
772         * LyXAction.h: move out #include "funcrequest.h".
773         * buffer.h: move out #include "author.h", "iterators.h".
774         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
775         * lyx_main.h: move out #include "errorlist.h".
776         * lyxfunc.h: move out #include "FuncStatus.h".
777         * lyxtext: move out #include "lyxcursor.h".
778         * paragraph_pimpl.h: move out #include "counters.h".
779
780 2003-09-03  Angus Leeming  <leeming@lyx.org>
781
782         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
783         preamble_snippets list, enabling us to add snippets to the preamble
784         only if the snippet was not there already.
785
786 2003-09-04  Angus Leeming  <leeming@lyx.org>
787
788         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
789
790 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
791
792         * lyxfunc.C (dispatch): if fitCursor did something be sure to
793         update
794
795 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
796
797         * BranchList.C: point fix, earlier forgotten
798
799 2003-09-02  Angus Leeming  <leeming@lyx.org>
800
801         * box.C (contains): renamed from 'contained' after a fantastic
802         amount of hot air.
803
804 2003-09-02  John Levon  <levon@movementarian.org>
805
806         * BufferView.C:
807         * lyxcursor.h:
808         * lyxcursor.C:
809         * lyxfunc.C:
810         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
811
812 2003-09-02  John Levon  <levon@movementarian.org>
813
814         * text2.C: simplification of cursorEnd(), including partial
815         fix for bug 1376
816
817 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
818
819         * buffer.C (readFile): add a space
820
821 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
822
823         * BufferView_pimpl.C (update): remove bogus fitCursor() call
824
825 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
826
827         * buffer.C (readFile): new function, take a filename and a
828         ParagraphList::iterator
829         (readFile): adjust
830         (readFile): adjust, make it private. don't use setStream, make
831         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
832         always contain the filename.
833
834         * BufferView.C (insertLyXFile): simplify and make it work for
835         gzipped files.
836
837 2003-08-30  John Levon  <levon@movementarian.org>
838
839         * Makefile.am: fix dist (from Kayvan)
840
841 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
842
843         * most files: change to use const Buffer refs
844
845 2003-08-27  André Pönitz  <poenitz@gmx.net>
846
847         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
848         on top of ownerPar().
849
850 2003-08-27  John Levon  <levon@movementarian.org>
851
852         * funcrequest.C: properly initialise POD members
853
854 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
855
856         * lyxtext.h (top_y): move top_y from here
857         * text.C:
858         * text2.C:
859         * text3.C:
860         * BufferView.[Ch]:
861         * BufferView_pimpl.[Ch]: to here
862         * frontends/screen.C:
863         * insets/insettabular.C:
864         * insets/insettext.C: adjust
865         * rowpainter.[Ch] (paintRows): remove LyXText & argument
866
867 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
868
869         * BufferView.[Ch]:
870         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
871
872 2003-08-26  André Pönitz  <poenitz@gmx.net>
873
874         * paragraph_func.[Ch] (outerPar): new function
875
876         * paragraph.C:
877         * paragraph_funcs.C:
878         * paragraph_funcs.h:
879         * paragraph_pimpl.C:
880         * text2.C: remove Inset::par_owner
881
882 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
883
884         * lyxrow_funcs.C:
885         * lyxtext.h:
886         * text.C:
887         * text2.C: eliminates the needFullRow/display() stuff
888         altogether, putting the logic in metrics/draw in the insets.
889
890 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
891
892         * text2.C (redoParagraphInternal, redoParagraphs):
893         * text.C (redoParagraph): add a call to updateRowPositions at the
894         end of each 'metrics-like' call. Remove all others.
895         (getRow): remove the 'y-computing' version.
896         (getRowNearY): do not compute nor return the real y. Solve the
897         'y < 0' problem and simplify.
898
899 2003-08-22  Angus Leeming  <leeming@lyx.org>
900
901         * *.[Ch]: clean-up of licence and author blurbs.
902         Also move config.h out of a few .h files and into a few .C files.
903
904 2003-08-22  André Pönitz  <poenitz@gmx.net>
905
906         * lyxrow.[Ch]: add x_ and *fill_ members
907
908         * lyxtext.h:
909         * text.C:
910         * rowpainter.C:
911         * text2.C: adjust/remove prepareToPrint() calls
912
913 2003-08-22  André Pönitz  <poenitz@gmx.net>
914
915         * lyxrow.[Ch]: add  end_ member
916
917         * lyxrow_funcs.C: use LyXRow::end_
918
919         * lyxtext.h (singleWidth): add LyXFont parameter
920
921         * rowpainter.C:
922         * text2.C: adjust LyXText::singleWidth() calls
923
924         * text.C (redoParagraph): simplify row breaking logic
925
926
927 2003-08-19  André Pönitz  <poenitz@gmx.net>
928
929         * funcrequest.C: initialize button_ member
930
931         * text3.C:
932         * rowpainter.[Ch]: interface consolidation
933
934 2003-08-18  André Pönitz  <poenitz@gmx.net>
935
936         * BufferView.C:
937         * BufferView_pimpl.C:
938         * lyxfind.C:
939         * paragraph_funcs.C:
940         * rowpainter.C:
941         * text3.C: remove LyXScreen::draw() and fitCursor calls
942
943         * BranchList.h: remove spurious semicolons
944
945         * MenuBackend.C: fix branchlist related crash
946
947 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
948
949         * BranchList.[Ch]:
950         * InsetList.[Ch]:
951         * LColor.[Ch]:
952         * LyXAction.C:
953         * Makefile.am:
954         * MenuBackend.[Ch]:
955         * bufferparams.[Ch]:
956         * factory.C:
957         * lfuns.h:
958         * lyxfunc.C:
959         * text3.C: implements the 'branch inset'
960         idea. This allows the output of various versions of a document
961         from a single source version, selectively outputing or suppressing
962         output of parts of the text.
963         This implementation contains a 'branch list editor' in a separate
964         tab of the document settings dialog. Branches are user definable
965         and have a "display colour" to distinguish them on-screen.
966
967         ColorHandler was somewhat cleaned up.
968         (1) make possible a dynamically growing LColor list by allowing
969         the graphic context cache to grow along (vector);
970         (2) eliminate an IMHO unnecessary step in colour allocation.
971
972 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
973
974         * BufferView_pimpl.C: compile fix
975
976 2003-08-15  André Pönitz  <poenitz@gmx.net>
977
978         * rowpainter.C: remove extra metrics calls
979
980         * lyxtext.h: merge the two constructors into a single one,
981           pass reference to owner's par list
982
983         * BufferView_pimpl.C:
984         * text.C:
985         * text2.C: adjust
986
987 2003-08-15  André Pönitz  <poenitz@gmx.net>
988
989         * lyxrow_funcs.[Ch]:
990         * lyxtext.h:
991         * paragraph.h:
992         * paragraph_funcs.C:
993         * rowpainter.C:
994         * text.C:
995         * text2.C:
996         * text3.C:
997         * text_funcs.C: split LyXText::rowlist_ into individual
998         Paragraph::rows_ chunks
999
1000         * BufferView.[Ch]:
1001         * BufferView_pimpl.[Ch]:
1002         * lyxfind.C:
1003         * lyxtext.h:
1004         * text3.C: remove toggleSelection()
1005
1006 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1007
1008         * bufferlist.C: beautify two alerts (shorter text of buttons)
1009         * buffer.C: Remove redundant ' ' from message
1010         * tabular.h:
1011         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1012         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1013         rename VALIGN_CENTER to VALIGN_MIDDLE
1014
1015 2003-08-11  André Pönitz  <poenitz@gmx.net>
1016
1017         * lyxtext.h (getPar):
1018         * text.C: new function
1019
1020 2003-08-11  André Pönitz  <poenitz@gmx.net>
1021
1022         * Makefile.am:
1023         * tracer.[Ch]: remove unneeded files
1024
1025         * InsetList.[Ch]: remove resizeInsetsLyXText()
1026
1027         * lyxtext.h:
1028         * text.C:
1029         * text2.C:
1030         * text3.C: merge insertParagraphs() and appendParagraph()
1031         remove breakAgain(), update()
1032
1033         * BufferView_pimpl.[Ch]:
1034         * bufferview_funcs.[Ch]:
1035         * lyxfunc.C:
1036         * paragraph.[Ch]:
1037         * rowpainter.C:
1038         * tabular.C: adjust after text & InsetList changes.
1039
1040 2003-08-08  André Pönitz  <poenitz@gmx.net>
1041
1042         * text.C (insertChar, backspace): replace rowlist fiddling
1043         with rebreak of full par
1044
1045         * lyxtext.h:
1046         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1047         checkParagraph, updateInset): removed
1048
1049 2003-08-07  André Pönitz  <poenitz@gmx.net>
1050
1051         * paragraph.C:
1052         * text3.C: merge some LFUN handlers, remove dead code
1053
1054 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1057
1058 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1059
1060         * text2.C (DEPM): fix part of bug 1255 and 1256
1061
1062 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1063
1064         * BufferView_pimpl.C (workAreaDispatch): change to use
1065         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1066         that are no mouse related.
1067
1068 2003-08-05  André Pönitz  <poenitz@gmx.net>
1069
1070         * BufferView.[Ch]:
1071         * BufferView_pimpl.[Ch]:
1072         * bufferview_funcs.C:
1073         * text2.C:
1074         * text3.C: rip out "deep update"
1075
1076         * textcursor.[Ch] (last_sel_cursor): remove unused member
1077
1078 2003-08-04  André Pönitz  <poenitz@gmx.net>
1079
1080         * BufferView.[Ch]:
1081         * BufferView_pimpl.[Ch]:
1082         * ParagraphParameters.C:
1083         * bufferview_funcs.C:
1084         * lyx_cb.C:
1085         * lyxfind.C:
1086         * lyxfunc.C:
1087         * text.C:
1088         * text2.C:
1089         * text3.C: replace "complicated" BufferView::update(...) calls with
1090         simpler ones.
1091
1092         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1093
1094 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1095
1096         * Makefile.am (lyx_SOURCES): add paper.h
1097
1098 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1099
1100         * Makefile.am: move things around so that both lyx-qt and
1101         lyx-xforms can be built (according to --with-frontend). Then lyx
1102         is a symbolic link to lyx-[firstfrontend]
1103
1104 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1105
1106         * Always use std::endl with lyxerr
1107
1108 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1109
1110         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1111
1112 2003-08-01  André Pönitz  <poenitz@gmx.net>
1113
1114         * BufferView.[Ch]:
1115         * BufferView_pimpl.[Ch]:
1116         * lyxfunc.C:
1117         * text3.C: merge BufferView::repaint() and BufferView::update()
1118
1119 2003-08-01  José Matos  <jamatos@lyx.org>
1120
1121         * buffer.[Ch]: file_format is no longer a buffer data element.
1122
1123 2003-08-01  André Pönitz  <poenitz@gmx.net>
1124
1125         * BufferView.C:
1126         * lyxtext.h:
1127         * text.C:
1128         * text2.C: make redoParagraph more independent of current cursor
1129
1130         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1131         * text.C:
1132         * text2.C: remove unneeded members
1133
1134 2003-07-30  André Pönitz  <poenitz@gmx.net>
1135
1136         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1137
1138         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1139           create a single function...
1140
1141         * paragraph_funcs.C (moveItem): ... here.
1142
1143         * text.C:
1144           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1145
1146 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1147
1148         * LColor.[Ch]: Add comment and greyedout logical colors.
1149
1150 2003-07-30  André Pönitz  <poenitz@gmx.net>
1151
1152         * tabular.C: don't use Assert too heavily. This crashes where it
1153           shouldn't
1154
1155 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1156
1157         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1158         is disabled (bug 1232)
1159
1160 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1161
1162         * factory.C: limited 'arg' scope
1163
1164 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1165
1166         * factory.C: fixed Note submenu issues
1167
1168 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1169
1170         * factory.C: submenu for Note/Comment/Greyedout
1171
1172 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1173
1174         * lyx_main.C (LyX):
1175         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1176
1177 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1178
1179         * LaTeXFeatures.C:
1180         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1181         greyedout. Patch provided by Jürgen Spitzmüller.
1182
1183 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1184
1185         * kbmap.C (read): fix error message when reading bind files
1186
1187 2003-07-29  Angus Leeming  <leeming@lyx.org>
1188
1189         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1190         certainly does not do what it purports to do. I am doing it, and
1191         us, a favour by killing it.
1192
1193 2003-07-28  José Matos  <jamatos@lyx.org>
1194
1195         * buffer.C (readBody, do_writeFile):
1196         * paragraph.C(readParagraph): \end_document replaces \the_end.
1197
1198 2003-07-29  André Pönitz  <poenitz@gmx.net>
1199
1200         * BufferView.[Ch]:
1201         * BufferView_pimpl.[Ch]:
1202         * lyxfunc.C:
1203         * text2.C:
1204         * text3.C:
1205         * textcursor.[Ch]: remove toggleToggle & Co
1206
1207 2003-07-28  José Matos  <jamatos@fep.up.pt>
1208
1209         * buffer.C (readParagraph):
1210         * params_func (readParToken, readParagraph):
1211         * paragraph.C (write): \layout -> \begin_layout.
1212
1213 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1214
1215         * lyxlex_pimpl.C (setFile): clean up slightly.
1216
1217         * bufferparams.h: add compressed var
1218
1219         * buffer_funcs.C (readFile): adjust for LyXLex change
1220         (newFile): ditto + simplify
1221
1222         * buffer.C (writeFile): handle writing of compressed files
1223
1224         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1225         Check if the file is compressed and set a bufferparm if so.
1226
1227         * Makefile.am (lyx_LDADD): remove explicit -lz
1228
1229 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1230
1231         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1232         makeDocBookFile): put the real LyX version in the first line of
1233         the file
1234
1235         * version.h:
1236         * version.C.in: remove lyx_docversion
1237
1238         * tabular.C (write_attribute): add a template-based version to
1239         write enums properly
1240
1241 2003-07-28  André Pönitz  <poenitz@gmx.net>
1242
1243         * lyxtext.h:
1244         * text.C:
1245         * text2.C:
1246         * text3.C: use doubles again for x-coordinates. They are needed.
1247
1248 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1249
1250         * messages.C (getLocaleDir): use lyx_localedir()
1251
1252         * lyxlex_pimpl.C (setFile): compress stuff
1253
1254         * buffer.C (writeFile): add some compression stuff
1255         (do_writeFile): new func, dont call expliti close... will this
1256         breake anything?
1257
1258         * Makefile.am (lyx_LDADD): add -lz
1259
1260 2003-07-28  José Matos  <jamatos@fep.up.pt>
1261
1262         * buffer.C: increment file format.
1263         * paragraph_funcs (readParagraph, readParToken):
1264         * paragraph.C (readParagraph): add \end_layout.
1265
1266 2003-07-27  Angus Leeming  <leeming@lyx.org>
1267
1268         * Makefile.am: remove special casing for configure-time setting of
1269         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1270
1271         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1272         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1273
1274 2003-07-26  André Pönitz  <poenitz@gmx.net>
1275
1276         * paragraph_func.[Ch]:
1277         * paragraph.C (realizeFont): inline it whereever it is used
1278
1279         * rowpainter.C:
1280         * text.C:
1281         * text2.C:
1282         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1283
1284
1285 2003-07-26  André Pönitz  <poenitz@gmx.net>
1286
1287         *       lyxtext.h:
1288         * text.C:
1289         * text2.C: get rid of LyXText::need_break_row
1290
1291 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1292
1293         * toc.[Ch]: put namespace toc inside namespace lyx
1294
1295         * MenuBackend.C (expandToc2): adjust for lyx::toc
1296         (expandToc): ditto
1297
1298         * lyxfunc.C (dispatch): adjust for lyx::find
1299
1300         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1301         lyx::find instead. Reorganize a bit.
1302         (LyXReplace): rename to replace
1303         (LyXFind): rename to find
1304
1305         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1306         (dispatch): ditto
1307
1308 2003-07-26  André Pönitz  <poenitz@gmx.net>
1309
1310         * text.C (setHeightOfRow): restrict scope of temporary variable
1311
1312         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1313           code (never has been used?)
1314
1315 2003-07-27  Asger Alstrup  <alstrup@local>
1316
1317         * text.C (fill): Optimise algorithm to exploit that we can reuse
1318         the LyXFont for many characters.
1319         (setHeightOfRow): Same thing.
1320         (rowBreakPoint): Same thing.
1321
1322 2003-07-26  Asger Alstrup  <alstrup@local>
1323
1324         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1325
1326         * text.C (singleWidth): Spurious font copying in hot-spot
1327         singleWidth avoided. Reorder tests for arabic for efficiency.
1328
1329         * text.C (fill): handle empty paragraphs better.
1330
1331 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1332
1333         * ispell.C:
1334         * encoding.h: add includes
1335
1336         * lyxrc.C: remove reading of bind files
1337
1338         * lyx_main.C (init): setup bindings and menus only if we have a
1339         gui.
1340
1341         * kbmap.C (read): new method. Do the actual reading of bind
1342         files.
1343
1344         * converter.C (dvipdfm_options):
1345         * bufferparams.C:
1346         * lyxrc.C (read):
1347         (output): adapt PAPER_* enums.
1348
1349         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1350
1351         * bufferparams.h: remove paper-related enums from there
1352
1353         * paper.h: New file. A trivial header file to hold paper-related
1354         enums. It should later expand to contain many paper-related
1355         horrors access.
1356
1357         * lyxrc.C: declare extern displayTranslator
1358
1359 2003-07-27  José Matos  <jamatos@fep.up.pt>
1360
1361         * tabular.[Ch] (linuxdoc): add support for tables and figures
1362         (linuxdoc).
1363
1364 2003-07-27  José Matos  <jamatos@fep.up.pt>
1365
1366         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1367         consistency in both functions.
1368         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1369
1370 2003-07-26  Asger Alstrup  <alstrup@local>
1371
1372         * rowpainter.C (paintRows): Change algorithm to work directly on
1373         the insets rather than asking every character in the document
1374         whether its an inset.
1375
1376 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1377
1378         * buffer.C (openFileWrite): factorize some code
1379
1380 2003-07-26  Angus Leeming  <leeming@lyx.org>
1381
1382         * lyx_cb.C:
1383         * lyx_main.[Ch]: replace occurances of system_tempdir with
1384         os::getTmpDir().
1385
1386 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1387
1388         * rename Inset to InsetOld
1389
1390 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1391
1392         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1393         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1394         which I think is a bit clearer. EDIT is gone, since it was
1395         premature optimisation, and broken for mathed anyway.
1396         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1397         with cursor positioning in insets as well (math insets still do not
1398         work, but that's a different story anyway.) It mysteriously
1399         crashes sometimes with undo in the first paragraph, but I'm fairly
1400         confident that this is a compiler bug.
1401
1402 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1403
1404         * paragraph.C (Paragraph): adjust for new clone return type
1405         (operator==): ditto
1406         (copyIntoMinibuffer): ditto
1407
1408 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1409
1410         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1411         by not having a special case, and always doing a full rebreak of
1412         the document after undo.
1413
1414 2003-07-23  Angus Leeming  <leeming@lyx.org>
1415
1416         * factory.C (createInset): InsetExternal::setParams now takes a
1417         Buffer const * arg.
1418
1419 2003-07-23  Angus Leeming  <leeming@lyx.org>
1420
1421         * factory.C (createInset): changed interface to the external and
1422         graphics mailers' string2params functions.
1423
1424 2003-07-23  Angus Leeming  <leeming@lyx.org>
1425
1426         * factory.C (createInset): pass a
1427         Buffer const * parameter to InsetExternalMailer's string2params.
1428
1429 2003-07-22  John Levon  <levon@movementarian.org>
1430
1431         * Thesaurus.h: include the right aiksaurus header
1432
1433 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1434
1435         * MenuBackend.C (expand): check menu shortcuts unconditionally
1436
1437 2003-07-21  Angus Leeming  <leeming@lyx.org>
1438
1439         * factory.C (createInset): pass a
1440         buffer_path parameter to InsetGraphicsMailer's string2params.
1441
1442 2003-07-21  Angus Leeming  <leeming@lyx.org>
1443
1444         * BufferView_pimpl.C (buffer):
1445         * buffer.C (d-tor):
1446         * lyx_main.C (LyX):
1447         * lyxfunc.C (dispatch):
1448         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1449         rather than the grfx shortcut.
1450
1451 2003-07-21  André Pönitz  <poenitz@gmx.net>
1452
1453         * rowpainter.C: remove unused variables
1454
1455         * tabular_funcs.C:
1456         * tabular_funcs.h: move to tabular.C
1457         * Makefile.am: adjust
1458
1459         * tabular.[Ch]: basic optical cleaning
1460
1461         * author.h: pass references, not values
1462
1463 2003-07-18  André Pönitz  <poenitz@gmx.net>
1464
1465         * lyxtext.h:
1466         * metricsinfo.C:
1467         * metricsinfo.h:
1468         * rowpainter.C:
1469         * text.C:
1470         * text2.C:
1471         * text3.C: two-phase drawing for InsetText and InsetTabular
1472         some float -> int changes.
1473
1474 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1475
1476         * lyx_main.C: fix the fix
1477
1478 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1479
1480         * lyx_main.C: fix a crash in batch mode if no files specified
1481         * converter.C: ws
1482
1483 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1484
1485         * format.[Ch] (papersize): moved to BufferParams
1486         * converter.[Ch] (dvips_options): moved to BufferParams
1487         (dvipdfm_options): moved to anon namespace
1488         * bufferparams.[Ch]: added above functions.
1489
1490 2003-07-17  André Pönitz  <poenitz@gmx.net>
1491
1492         * lyxtext.h:
1493         * rowpainter.C:
1494         * text2.C: don't call inset->update() anymore
1495
1496         * metricsinfo.[Ch]: add convenience constructor
1497
1498 2003-07-16  André Pönitz  <poenitz@gmx.net>
1499
1500         * lyxcursor.[Ch]:
1501         * lyxfunc.[Ch]:
1502         * text.C:
1503         * text2.C: replace the LyXCursor::irow_ member with
1504          on-demand computation of the value
1505
1506 2003-07-16  John Levon  <levon@movementarian.org>
1507
1508         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1509
1510 2003-07-15  André Pönitz  <poenitz@gmx.net>
1511
1512         * text.C:
1513         * text2.C: remove no more needed refresh_row
1514
1515 2003-07-15  André Pönitz  <poenitz@gmx.net>
1516
1517         * lyxtext.h:
1518         * rowpainter.C:
1519         * text2.C:
1520         * text3.C: refresh_status tristate -> need_update bool
1521
1522 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1523
1524         * lyxtext.h (init): remove reinit argument (act as if always true)
1525         * text2.C: adjust to that
1526
1527 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1528
1529         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1530         * text3.C: use it to delete selections in some cases
1531         (bugs 441, 673, 702, 954).
1532
1533 2003-07-14  André Pönitz  <poenitz@gmx.net>
1534
1535         * rowpainter.[Ch]: reduce interface
1536
1537 2003-07-14  André Pönitz  <poenitz@gmx.net>
1538
1539         * BufferView_pimpl.C:
1540         * text2.C: adjust after removing unused BufferView * argument
1541
1542 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1543
1544         * text2.C (init): fix a crash fired on resize
1545
1546 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1547
1548         * buffer.[Ch]: added new closing signal
1549         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1550         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1551         BufferView::Pimpl via the closing the signal
1552
1553 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1554
1555         * buffer.[Ch]: take out all bv-related from buffer
1556         * BufferView.C:
1557         * BufferView_pimpl.[Ch]: connect to new signals
1558         * CutAndPaste.C: removed useless asserts
1559         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1560         * lyxvc.[Ch]:
1561         * vc-backend.[Ch]:
1562         * lyxfunc.C: moved view-related funciontality from vc here
1563         * paragraph.C: removed outdated comments
1564         * text.C: ws
1565
1566 2003-07-10  André Pönitz  <poenitz@gmx.net>
1567
1568         * BufferView_pimpl.C:
1569         * tabular.h:
1570         * tabular_funcs.C:
1571         * text.C:
1572         * text2.C: remove InsetText::InnerCache, clean up consequences
1573
1574 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1575
1576         * ispell.C: fix two typos in error messages
1577
1578 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1579
1580         * Extend Note inset to other forms of annotation like Comment
1581         and Greyedout. Right button click gives dialog.
1582
1583         Files modified or added (+):
1584
1585         * insetnote.[Ch]
1586         * FormNote.[Ch]      +
1587         * ControlNote.[Ch]   +
1588         * form_note.fd       +
1589         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1590         frontends/controllers
1591         * xforms/Dialogs.C
1592         * factory.C
1593
1594 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1595
1596         * aspell.C: add missing namespace lyx::support
1597
1598 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1599
1600         * BufferView.[Ch] (newFile): Add
1601         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1602         * LaTeX.[Ch] (message): added this signal and use it
1603         * buffer.[Ch] (busy, message): added these signals and use them
1604         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1605         * converter.C:
1606         * exporter.C:
1607         * format.C:
1608         * importer.C: use buffer signals instead of direct bv calling
1609         * lyx_cb.[Ch] (ShowMessage): removed
1610         * lyx_main.C:
1611         * lyxfunc.C:
1612         * paragraph_funcs.C:
1613         * text2.C: use buffer signals
1614
1615 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1616
1617         * introduce namespace lyx::graphics
1618
1619 2003-07-02  André Pönitz  <poenitz@gmx.net>
1620
1621         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1622
1623 2003-07-01  André Pönitz  <poenitz@gmx.net>
1624
1625         * text.C:
1626         * text2.C:
1627         * text3.C:
1628         * text_funcs.[Ch]:
1629         * textcursor.h:
1630         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1631           text*.C to text_func.C
1632
1633 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1634
1635         * introduce namespace lyx::support
1636
1637 2003-06-30  André Pönitz  <poenitz@gmx.net>
1638
1639         * Chktex.C:
1640         * funcrequest.C:
1641         * lyxtext.h:
1642         * text.C: re-enable --with-included-string
1643
1644 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1645
1646         * textcursor.C: add <config.h>
1647
1648         * text.C (getWord): remove const from word_location arg
1649
1650         * lyxvc.C (getLogFile): fix const type order
1651
1652         * lyxtext.h: remove const from word_location arg, add arg name
1653
1654         * lyxlayout.h: currect type on labeltype.
1655
1656         * importer.C: correct \file
1657
1658         * converter.C (intToFormat): use std:: on ret val, ws changes
1659
1660         * bufferlist.h: correct \file
1661
1662         * buffer.C (makeLinuxDocFile): fix const type order
1663         (makeDocBookFile): ditto
1664         (fillWithBibKeys): use std:: on stdlib args.
1665
1666         * CutAndPaste.C: fix authors.
1667         (availableSelections): use std:: on return vector
1668
1669 2003-06-27  André Pönitz  <poenitz@gmx.net>
1670
1671         * BufferView_pimpl.C:
1672         * bufferview_funcs.C:
1673         * lyxcursor.C:
1674         * lyxcursor.h:
1675         * lyxfunc.C:
1676         * lyxtext.h:
1677         * rowpainter.C:
1678         * text.C:
1679         * text2.C:
1680         * text3.C: remove LyXCursor::row_ member
1681
1682         * lyxtext.h:
1683         * text.C: rename fullRebreak() to partialRebreak() and implement
1684           a fullRebreak() that really bereks fully
1685
1686         * textcursor.h: new struct for cursor-related data
1687
1688 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1689
1690         * lyx_main.C (LyX): get full path of document loaded on the
1691         command line
1692
1693 2003-06-26  André Pönitz  <poenitz@gmx.net>
1694
1695         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1696           remove unused/broken operator>,<,>=.
1697
1698         *       text.C: remove only use of broken operator<= in an Assert().
1699
1700 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1701
1702         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1703         moved errorlist_.clear to showErrorList
1704
1705 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1706
1707         * converter.C (scanLog, runLaTeX):
1708         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1709         move the bv->showErrorList call to the callers
1710         * lyxfunc.C: i.e. here...
1711         * text2.C: and here
1712         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1713         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1714         namespace, the second to...
1715         * buffer_funcs (BufferFormat, parseErrors): added
1716         * errorlist.C (ErrorList(TeXErrors const &)): removed
1717
1718 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1719
1720         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1721
1722 2003-06-24  "Garst R. Reese" <reese@isn.net>
1723
1724         * debug.C: fix typo
1725
1726 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1727
1728         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1729
1730         * version.C.in: change docversion to 1.4
1731
1732 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1733
1734         * buffer.C: fix a bug just introduced
1735
1736 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1737
1738         * buffer.[Ch]: added the parseError signal and use it, removed
1739         sgmlError
1740         * BufferView.[Ch] (addError): moved to ...
1741         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1742         to the Buffer::parseError signal to catch (guess what) parse errors
1743         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1744
1745 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1746
1747         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1748         ability to create a buffer and to return an existing one from
1749         the list. Moved these functions to...
1750         * buffer_funcs.[Ch]: added
1751         * BufferView.[Ch] (loadLyXFile): added
1752         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1753         job removed from bufferlist::loadLyXFile.
1754         * buffer.C (setReadOnly): make it work without view
1755         (i.e added an if (users))
1756
1757 2003-06-19  Angus Leeming  <leeming@lyx.org>
1758
1759         * lfuns.h:
1760         * LyXAction.C (init):
1761         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1762         with LFUN_DIALOG_SHOW <name> <data>.
1763
1764 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1765
1766         * CutAndPaste.C (availableSelections): small compilation fix for
1767         ancient (gcc 2.9x) compilers
1768
1769 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1770
1771         * text3.C (cursorNext): add tmp var
1772
1773         * text2.C (updateCounters): for function calling out of for clause
1774         (replaceSelectionWithString): ditto
1775         (insertStringAsParagraphs): ditto
1776         (getColumnNearX): add tmp var
1777         (setCursorFromCoordinates): add tmp var
1778         (cursorDownParagraph): add tmp var
1779         (deleteEmptyParagraphMechanism): add tmp var
1780
1781         * text.C (insertChar): add tmp var
1782
1783         * rowpainter.C (paintDepthBar): add tmp var
1784
1785         * CutAndPaste.C (availableSelections): potentially check all
1786         paragraphs in a cut to fill the shown strings.
1787
1788 2003-06-18  André Pönitz  <poenitz@gmx.net>
1789
1790         * kbmap.[Ch]: use vector<> instead of list<>
1791
1792 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1793
1794         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1795         pasteSelection with index
1796
1797         * text2.C (pasteSelection): modify, call pasteSelection with index
1798
1799         * paragraph.C (asString): reimplement version with no interval to
1800         call the one with interval.
1801
1802         * lyxtext.h: add index arg to pasteSelection
1803
1804         * MenuBackend.C (MenuItem): handle PasteRecent
1805         (Menu::read::Menutags): add md_pasterecent
1806         (read): handle it
1807         (expandPasteRecent): new function
1808         (expand): use it
1809
1810         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1811
1812         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1813         the limited stack
1814         (availableSelections): new function
1815
1816 2003-06-17  Angus Leeming  <leeming@lyx.org>
1817
1818         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1819
1820 2003-06-17  Angus Leeming  <leeming@lyx.org>
1821
1822         * lfuns.h:
1823         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1824
1825         * lyxfunc.C (dispatch): invoke it.
1826
1827 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1828
1829         * iterators.C (operator++, ParPosition): reintroduce some
1830         const_cast for the benefit of older compilers.
1831
1832 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1833
1834         * text3.C (dispatch): do not modify clipboard when doing
1835         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1836         LFUN_DELETE_SKIP on a selection selection
1837
1838 2003-06-16  André Pönitz  <poenitz@gmx.net>
1839
1840         * BufferView.C:
1841         * buffer.C:
1842         * buffer.h:
1843         * paragraph.C:
1844         * tabular.[Ch]: IU of clone() and getLabelList();
1845
1846 2003-06-13  André Pönitz  <poenitz@gmx.net>
1847
1848         * tabular.h: compactification
1849
1850 2003-06-12  André Pönitz  <poenitz@gmx.net>
1851
1852         * tabular.C:
1853         * tabular.h:
1854         * tabular_funcs.h: some renaming plus whitespace
1855
1856 2003-06-12  André Pönitz  <poenitz@gmx.net>
1857
1858         * BufferView.C:
1859         * BufferView_pimpl.C:
1860         * CutAndPaste.C:
1861         * buffer.C:
1862         * iterators.[Ch]:
1863         * lyxfunc.C:
1864         * text.C:
1865         * toc.C: Return a Paragraph & for ParIterator::operator*()
1866
1867 2003-06-11  John Levon  <levon@movementarian.org>
1868
1869         * lyx_main.C:
1870         * ToolbarBackend.h:
1871         * ToolbarBackend.C: add "Toolbars" section and
1872         put the flags there
1873
1874 2003-06-10  Angus Leeming  <leeming@lyx.org>
1875
1876         * lfuns.h:
1877         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1878
1879         * lyxfunc.C (dispatch): invoke it.
1880
1881 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1882
1883         * main.C: protect <ios> with HAVE_IOS
1884         (main): protect sync_with_stdio with HAVE_IOS
1885
1886 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1887
1888         * text2.C (cutSelection): adjust
1889         (pasteSelection): adjust
1890
1891         * messages.C: handle get of empty string
1892
1893         * main.C (main): use sync_with_stdio(false)
1894
1895         * lyxfunc.C (dispatch): adjust
1896
1897         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1898         (WriteAs): remove unneeded BufferView arg.
1899
1900         * bufferparams.h: use correct types on papersize, papersize2 and
1901         paperpackage.
1902
1903         * bufferparams.C (readToken): adjust for type
1904         (writeLaTeX): add missing cases to switch.
1905
1906         * bufferlist.C (quitWriteBuffer): adjust
1907         (close): adjust
1908
1909         * buffer.C (asciiParagraph): remove some commented code.
1910
1911         * CutAndPaste.C: remove current_view extern variable.
1912         (cutSelection): add BufferParams arg.
1913         (eraseSelection): add BufferParams arg.
1914         (pasteSelection): add Buffer const & arg
1915
1916 2003-06-07  John Levon  <levon@movementarian.org>
1917
1918         * buffer.C:
1919         * paragraph_funcs.C:
1920         * paragraph_pimpl.C:
1921         * text.C:
1922         * text2.C:
1923         * paragraph.h:
1924         * paragraph.C: allow InsetERT to freely space lines,
1925         and some consolidation of code
1926
1927 2003-06-06  José Matos  <jamatos@fep.up.pt>
1928
1929         * buffer.C (makeDocBookFile): fix bug #821
1930
1931 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1932
1933         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1934
1935 2003-06-04  Angus Leeming  <leeming@lyx.org>
1936
1937         * buffer.C: bump format to 224.
1938
1939 2003-06-05  André Pönitz  <poenitz@gmx.net>
1940
1941         * text2.C (redoParagraphs): remove two const_cast<>
1942
1943 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1944
1945         * ParagraphList.h: remove last remnants of NO_STD_LIST
1946
1947 2003-06-03  Angus Leeming  <leeming@lyx.org>
1948
1949         * factory.C (createInset): small change to the way InsetExternal's params
1950         are set.
1951
1952 2003-06-04  André Pönitz  <poenitz@gmx.net>
1953
1954         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1955
1956         * paragraph_pimpl.h:
1957         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1958
1959         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1960
1961         * undo_funcs.C: make some simple cases of undo work again
1962
1963 2003-06-03  John Levon  <levon@movementarian.org>
1964
1965         * ispell.C: HPUX doesn't have sys/select.h
1966         (from Albert Chin)
1967
1968 2003-06-03  John Levon  <levon@movementarian.org>
1969
1970         * CutAndPaste.C: update tabular and include inset
1971         buffer references
1972
1973         * buffer.h:
1974         * paragraph.h:
1975         * paragraph.C: remove owningBuffer(), don't pass Buffer
1976         to clone()
1977
1978         * factory.C: insetGraphicsParams changed
1979
1980 2003-06-02  John Levon  <levon@movementarian.org>
1981
1982         * LyXAction.C:
1983         * factory.C:
1984         * lfuns.h:
1985         * lyxfunc.C:
1986         * text3.C: remove insetparent
1987
1988 2003-06-02  John Levon  <levon@movementarian.org>
1989
1990         * buffer.h:
1991         * buffer.C: fix inset_iterator.end(), move out of line
1992         (bug 1149)
1993
1994 2003-06-01  John Levon  <levon@movementarian.org>
1995
1996         * text3.C: use a proper cut/paste when doing inset
1997         insert (from Jürgen Spitzmüller)
1998
1999 2003-06-01  John Levon  <levon@movementarian.org>
2000
2001         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2002
2003 2003-05-30  André Pönitz  <poenitz@gmx.net>
2004
2005         * rowpainter.C: unify second drawing phase
2006
2007 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2008
2009         * trans_mgr.C: remove one case of current_view
2010
2011         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2012
2013         * paragraph_funcs.h: remove paragraph.h include
2014
2015         * paragraph.h: delete NO_STD_LIST stuff
2016
2017         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2018
2019         * buffer.h: remove paragraph.h include
2020
2021         * ParagraphList.C: delete file
2022
2023         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2024
2025         * toc.C (getTocList): adjust
2026
2027         * paragraph_pimpl.C (validate): adjust
2028
2029         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2030
2031         * paragraph.C (Paragraph): adjust
2032         (getPositionOfInset): use const_iterator, adjust
2033         (bibitem): use const_iterator, adjust
2034         (setInsetOwner): adjust
2035
2036         * iterators.C (operator++): adjust
2037
2038         * InsetList.[Ch]: Replace selfmade iterator with standard
2039         vector::iterator also introduce const_iterator. Remove getPos,
2040         getInset and setInset from InsetTable. Adjust accordingly.
2041
2042         * BufferView.C (lockInset): adjust
2043         (ChangeInsets): adjust
2044
2045         * tabular.[Ch]: delete commented same_id functions
2046
2047 2003-05-28  John Levon  <levon@movementarian.org>
2048
2049         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2050
2051 2003-05-28  André Pönitz  <poenitz@gmx.net>
2052
2053         * metricsinfo.[Ch]: remove 'fullredraw' member
2054
2055 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2056
2057         * lyxtextclass.C (operator): remove caching.
2058
2059 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2060
2061         * text3.C: adjust
2062
2063         * text2.C (cursorBottom): adjust
2064         (setCounter): use ParagraphList::find, adjust
2065
2066         * text.C (workWidth): use ParagraphList::find, adjust
2067
2068         * lyxcursor.C (LyXCursor): adjust
2069
2070         * buffer.C (inset_iterator): adjust
2071
2072         * ParagraphList.h: make iterator(value_type) private, make
2073         ParagraphList a friend of iterator.
2074
2075         * ParagraphList.C (find): new function
2076
2077         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2078
2079 2003-05-27  André Pönitz  <poenitz@gmx.net>
2080
2081         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2082
2083 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2084
2085         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2086
2087 2003-05-26  John Levon  <levon@movementarian.org>
2088
2089         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2090
2091 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2092
2093         * remove same_id from function signatures, adjust.
2094
2095 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2096
2097         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2098
2099         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2100
2101         * paragraph.C (Paragraph): get rid of same_ids parameter
2102
2103         * ParagraphList.C (insert): adjust
2104         (push_back): adjust
2105
2106 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2107
2108         * paragraph_funcs.C (breakParagraph): adjust
2109         (breakParagraphConservative): adjust
2110
2111         * buffer.C (readParagraph): adjust
2112
2113         * ParagraphList.C (insert): take a reference instead of a pointer
2114         (insert): adjust
2115
2116         * paragraph.[Ch] (id): new function
2117
2118         * bufferlist.C (newFile): adjust
2119
2120         * ParagraphList.C (ParagraphList): adjust
2121         (assign): adjust
2122         (push_back): take a reference instead of a pointer.
2123
2124         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2125
2126         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2127         instead.
2128
2129         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2130         set else use old code.
2131
2132         * ParagraphList.C: remove all NO_NEXT code and only compile this
2133         code of NO_STD_LIST is set.
2134
2135 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2136
2137         * BufferView_pimpl.C:
2138         * TextCache.C:
2139         * TextCache.h:
2140         * bufferlist.C:
2141         * errorlist.h:
2142         * format.C:
2143         * format.h:
2144         * graph.C:
2145         * lyxfunc.C:
2146         * lyxrc.C:
2147         * graphics/GraphicsConverter.C:
2148         * graphics/PreviewLoader.C: header adjustment
2149
2150 2003-05-23  Angus Leeming  <leeming@lyx.org>
2151
2152         * LaTeXFeatures.[Ch] (useBabel): new method.
2153         * bufferparams.C (writeLaTeX): use it.
2154
2155 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2156
2157         * ParagraphList.h (set): remove unused function.
2158
2159 2003-05-23  André Pönitz  <poenitz@gmx.net>
2160
2161         * BufferView.C:
2162         * BufferView_pimpl.C:
2163         * buffer.C:
2164         * buffer.h:
2165         * lyxfunc.C:
2166         * undo_funcs.C: setUndo reworked
2167
2168         * iterators.[Ch]: add access to topmost ParagraphList
2169
2170         * lyxtext.[Ch] (workWidth): add a const
2171
2172 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2173
2174         * texrow.[Ch] (increasePos): remove function
2175         * exporter.C (export): removed unused var and outdated comment
2176
2177 2003-05-23  Angus Leeming  <leeming@lyx.org>
2178
2179         * latexrunparams.h: rename fragile as moving_arg.
2180         * paragraph.C (simpleTeXOnePar): ditto.
2181         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2182
2183 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2184
2185         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2186         (createUndo): ditto
2187         (textUndoOrRedo): comment out a currently unused var.
2188
2189         * paragraph.h (NO_NEXT): enable NO_NEXT
2190
2191         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2192
2193         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2194
2195         * exporter.C (Export): adjust for removeAutoInsets removal.
2196
2197         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2198
2199         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2200
2201         * BufferView.[Ch] (removeAutoInsets): delete function
2202
2203 2003-05-22  Angus Leeming  <leeming@lyx.org>
2204
2205         * latexrunparams.h: add a free_spacing variable.
2206
2207         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2208         to pass moving_arg, as the data is stored in runparams.fragile.
2209
2210         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2211         to Inset::latexOptional or to simpleTeXOnePar.
2212
2213         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2214         free_spacing arg to Inset::latexOptional.
2215
2216         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2217         free_spacing arg.
2218
2219 2003-05-22  Angus Leeming  <leeming@lyx.org>
2220
2221         * latexrunparams.h: add fragile and use_babel variables.
2222
2223         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2224         * buffer.C (makeLaTeXFile): store this returned value in
2225         runparams.use_babel, thus passing it to the inset::latex methods.
2226
2227         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2228         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2229
2230         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2231         longer has a fragile arg, as it is stored in runparams.fragile.
2232
2233         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2234         moving_arg parameter as the data is stored in runparams.fragile.
2235
2236         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2237         a fragile parameter as the data is stored in runparams.fragile.
2238
2239 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2240
2241         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2242
2243 2003-05-22  Angus Leeming  <leeming@lyx.org>
2244
2245         * latexrunparams.h: add a 'bool nice' which defaults to false.
2246
2247         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2248         now encapsulated within runparams.
2249
2250         * bufferlist.C (updateIncludedTeXfiles):
2251         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2252
2253 2003-05-22  Angus Leeming  <leeming@lyx.org>
2254
2255         * latexrunparams.h: new file containing struct LatexRunParams.
2256         * Makefile.am: add new file.
2257
2258         * LaTeX.[Ch] (c-tor, run):
2259         * buffer.[Ch] (makeLaTeXFile):
2260         * bufferlist.[Ch] (updateIncludedTeXfiles):
2261         * converter.C (convert, scanLog):
2262         * converter.[Ch] (runLaTeX):
2263         * exporter.C (Export):
2264         * paragraph.[Ch] (simpleTeXOnePar):
2265         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2266         * paragraph_funcs.[Ch] (latexParagraphs):
2267         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2268         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2269         pass around a LatexRunParams parameter.
2270
2271 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2272
2273         * paragraph.[Ch]: remove unused constructor
2274
2275         * ParagraphList.C (erase): new function, taking two iterators
2276
2277 2003-05-22  André Pönitz  <poenitz@gmx.net>
2278
2279         * undo_funcs.C: remove duplicated code
2280
2281         * iterator.[Ch]: operator=
2282
2283 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2284
2285         * tabular.C (SetMultiColumn): ws changes
2286
2287         * rowpainter.C (paintFirst): get rid of a ->previous
2288
2289         * lyx_cb.C (getPossibleLabel): parlist simplification
2290
2291         * BufferView.C (ChangeInsets): simplify slightly.
2292
2293 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2294
2295         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2296         * lfuns.h: new LFUN_SPACE
2297         * lyxfunc.C: protected space has a new lfun
2298         * paragraph_funcs.C: read new space insets
2299         * text3.C:
2300         * factory.C: handle new space insets
2301
2302 2003-05-22  André Pönitz  <poenitz@gmx.net>
2303
2304         * BufferView.C:
2305         * BufferView_pimpl.C:
2306         * buffer.[Ch]:
2307         * lyxfunc.C:
2308         * undo_funcs.C: return a ParIterator from getParFromID.
2309
2310         * iterators.[Ch]: add two const's
2311
2312 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2313
2314         * toc.C (getTocList): adjust
2315
2316         * iterators.[Ch]: rework for parlist
2317
2318         * buffer.C (par_iterator_begin): adjust
2319         (par_iterator_end): adjust
2320
2321         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2322
2323         * BufferView.C (removeAutoInsets): adjust
2324         (ChangeInsets): adjust
2325
2326 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2327
2328         * text.C (top_y): fix bug 1110
2329
2330 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2331
2332         * errorlist.[Ch]: added
2333         * buffer.C:
2334         * BufferView.[Ch]:
2335         * BufferView_pimpl.C:
2336         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2337         instead
2338
2339 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2340
2341         * Makefile.am: ensure that lyx is relinked upon changes to the
2342         various "convenience" libs.
2343
2344 2003-05-20  Angus Leeming  <leeming@lyx.org>
2345
2346         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2347         files are compiled in alphabetical order again.
2348
2349         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2350
2351 2003-05-19  Angus Leeming  <leeming@lyx.org>
2352
2353         * gettext.[Ch]: remove "char const * _(char const *)".
2354
2355 2003-05-19  André Pönitz  <poenitz@gmx.net>
2356
2357         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2358
2359         * Makefile.am:
2360         * BufferView.C:
2361         * DepTable.h:
2362         * LaTeXFeatures.C:
2363         * buffer.C:
2364         * lyxfont.C:
2365         * lyxlex.h:
2366         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2367
2368 2003-05-19  André Pönitz  <poenitz@gmx.net>
2369
2370         * buffer.C:
2371         * lyxlayout.[Ch]:
2372         * lyxtextclass.[Ch]:
2373         * paragraph.C:
2374         * paragraph_funcs.[Ch]:
2375         * text2.C:
2376         * text3.C: more insetenv work
2377
2378 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2379
2380         * ParagraphParameters.C (params2string): small bug fixed
2381
2382 2003-05-16  André Pönitz  <poenitz@gmx.net>
2383
2384         * debug.C:
2385         * bufferview_funcs.C: patch from Kornel Benko to prevent
2386           crash when _(...) is called twice in a statement
2387
2388 2003-05-16  André Pönitz  <poenitz@gmx.net>
2389
2390         * BufferView.C:
2391         * lyxfunc.C:
2392         * text.C:
2393         * text2.C:
2394         * text3.C:
2395         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2396
2397 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2398
2399         * lyx_main.C (init): remove spurious static_cast
2400
2401 2003-05-14  André Pönitz  <poenitz@gmx.net>
2402
2403         * BufferView.C: fix format string
2404
2405 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2406
2407         * BufferView.[Ch] (insertErrors): removed
2408         * BufferView.[Ch] (showErrorList): added
2409         * buffer.C (runChkTeX):
2410         * converter.C (scanLog): call showErrorList instead of inserterrors
2411
2412 2003-05-13  André Pönitz  <poenitz@gmx.net>
2413
2414         * BufferView_pimpl.C:
2415         * buffer.C:
2416         * bufferview_func.C:
2417         * MenuBackend.C:
2418         * lyxfunc.C:
2419         * lyxrc.C:
2420         * tex-accent.C:
2421         * text3.C:
2422         * toc.C:
2423         * tabular_funcs.h: tostr() from its own header
2424
2425         * ParagraphParameters.C:
2426         * ToolbarBackend.C:
2427         * bufferparams.C:
2428         * format.C:
2429         * lyxlex_pimpl.C:
2430         * text3.C: STRCONV()
2431
2432 2003-05-12  André Pönitz  <poenitz@gmx.net>
2433
2434         * BufferView.C:
2435         * BufferView_pimpl.C:
2436         * CutAndPaste.C:
2437         * LaTeX.C:
2438         * LaTeXFeatures.C:
2439         * ParagraphParameters.C:
2440         * buffer.C:
2441         * bufferlist.C:
2442         * bufferparams.C:
2443         * bufferview_funcs.C:
2444         * converter.C:
2445         * counters.C:
2446         * debug.C:
2447         * exporter.C:
2448         * format.C:
2449         * importer.C:
2450         * lyx_cb.C:
2451         * lyx_main.C:
2452         * lyxfont.C:
2453         * lyxfunc.C:
2454         * lyxvc.C:
2455         * paragraph.C:
2456         * paragraph_funcs.C:
2457         * tabular.C:
2458         * tabular_funcs.C:
2459         * text2.C:
2460         * text3.C:  boost::format -> bformat  all over the place
2461
2462
2463 2003-05-09  André Pönitz  <poenitz@gmx.net>
2464
2465         * LColor.[Ch]: Pimpl the #include <map> away
2466
2467 2003-05-09  John Levon  <levon@movementarian.org>
2468
2469         * bufferlist.C: never remove emergency saves
2470
2471 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2472
2473         * Makefile.am: better lib building
2474
2475 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2476
2477         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2478         instead.
2479         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2480         (simpleTeXSpecialChars): adjust
2481         (simpleTeXSpecialChars): adjust
2482         * paragraph.C (simpleTeXOnePar): adjust
2483         * buffer.C (makeLaTeXFile): adjust
2484
2485         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2486
2487         * text2.C (changeDepth): parlist cleanup
2488         (getColumnNearX): ditto
2489
2490         * rowpainter.C (getLabelFont): parlist cleanup
2491
2492         * bufferlist.C (newFile): parlist cleanup
2493
2494         * CutAndPaste.C (eraseSelection): parlist cleanup
2495
2496         * BufferView_pimpl.C (trackChanges): parlist cleanup
2497         (dispatch): ditto
2498
2499         * BufferView.C (lockInset): parlist cleanup.
2500         (ChangeInsets): ditto
2501
2502 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2503
2504         * CutAndPaste.h: Update file header.
2505
2506         * CutAndPaste.C: Update file header.
2507         Store the parts cut out of the Document in a limited_stack.
2508         (copySelection): adjust
2509         (pasteSelection): new function, takes the index in the limited stack.
2510         (nrOfParagraphs): adjust
2511         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2512         simplify error inset insertion.
2513         (checkPastePossible): adjust
2514
2515 2003-05-06  John Levon  <levon@movementarian.org>
2516
2517         * text2.C: don't cast wrap inset to float
2518
2519 2003-05-05  André Pönitz  <poenitz@gmx.net>
2520
2521         * iterator.C:
2522         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2523
2524         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2525           few naked Paragraph *.
2526
2527 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2528
2529         * bufferparams.C: Output warning if a document with missing
2530         TeX document class is loaded
2531         * exporter.C: Disable TeX exports if the document class is missing
2532         * lyxtextclass.C:
2533         * lyxtextclass.h:
2534         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2535         isTeXClassAvailable()
2536
2537 2003-05-03  John Levon  <levon@movementarian.org>
2538
2539         * BufferView.h:
2540         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2541         explicit cursor show/hide
2542
2543         * BufferView_pimpl.h:
2544         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2545         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2546
2547         * lyxfunc.C: hide cursor before dispatching.
2548
2549         * lyx_cb.C:
2550         * lyxfind.C:
2551         * text.C:
2552         * text3.C: remove explicit cursor hides
2553
2554 2003-05-02  André Pönitz  <poenitz@gmx.net>
2555
2556         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2557
2558         * undo_funcs.C:
2559         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2560           linked lists
2561
2562         * text2.C: tiny whitespace
2563
2564 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2565
2566         * undo_funcs.C: almost only ws changes.
2567
2568         * ParagraphList.C (splice): just return if pl is empty.
2569
2570 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2571
2572         * ParagraphList.C (splice): new function.
2573
2574         * CutAndPaste.C (pasteSelection): use it
2575
2576 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2577
2578         * CutAndPaste.C (pasteSelection): remove the last next and
2579         previous from this file.
2580
2581 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2582
2583         * CutAndPaste.C (pasteSelection): more clean up, user proper
2584         ParagraphList functions for pasteing.
2585
2586         * ParagraphList.C (insert): new function, three arg insert
2587
2588 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2589
2590         * ParagraphList.C (insert): new function, three arg insert
2591
2592         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2593         not on paragraphs.
2594
2595 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2596
2597         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2598
2599 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2600
2601         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2602
2603 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2604
2605         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2606         (copySelection): clean up a bit.
2607         (pasteSelection): use make_pair
2608
2609         * ParagraphList.C (ParagraphList): implement copy constructor
2610         (operator=): implement, base on copy constructor.
2611         (assign): new func
2612
2613         * paragraph.C (erase): return a bool
2614
2615         * paragraph_pimpl.C (erasePos): remove function, move contents...
2616         (erase): ... here. Return a bool.
2617         (erase): call erase instead of erasePos.
2618
2619 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2620
2621         * ParagraphList.h: define PitPosPair
2622         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2623         ParagraphList, fix a bug on pasting multiple pars
2624         * text2.C: change interface to C&P
2625
2626 2003-04-30  André Pönitz  <poenitz@gmx.net>
2627
2628         * undo_func.C: revert part of yesterday's patch 2
2629
2630 2003-04-30  John Levon  <levon@movementarian.org>
2631
2632         * LColor.C: s/tabular/table/
2633
2634 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2635
2636         * text3.C (dispatch): do not convert iterator -> pointer
2637         * undo_funcs.C (setCursorParUndo): ditto
2638         * text_funcs.C (transposeChars): ditto
2639
2640         * text2.C (setLayout): ws changes only
2641
2642         * text.C (breakParagraph): do not convert iterator -> pointer
2643         (insertChar): ditto
2644         (acceptChange): ditto
2645         (rejectChange): ditto
2646         (changeCase): ditto
2647         (Delete): ditto
2648         (backspace): ditto
2649
2650         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2651         pointer
2652
2653 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2654
2655         * text3.C (gotoInset): YABG (yet another bad getChar)
2656
2657 2003-04-29  André Pönitz  <poenitz@gmx.net>
2658
2659         * paragraph.h: make operator= private unimplemented as long as
2660           it is unusable
2661
2662         * ParagraphList.C: whitespace
2663
2664         * paragraph.[Ch]:
2665         * paragraph_pimpl.[Ch]:
2666         * paragraph_funcs.C:
2667         * CutAndPaste.C:
2668         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2669
2670         * text2.C:
2671           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2672
2673 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2674
2675         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2676         * paragraph.[Ch] (erase):
2677         * paragraph_pimpl.[Ch] (erase): change return type and value
2678         * text2.C (cutSelection): some rework
2679
2680 2003-04-28  John Levon  <levon@movementarian.org>
2681
2682         * bufferlist.C: changes for unsaved changes dialog
2683
2684 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2685
2686         * bufferlist.C (newFile): set language (messages_) for new
2687         documents also.
2688
2689         * buffer.C (readFile): ws changes only.
2690
2691 2003-04-28  André Pönitz  <poenitz@gmx.net>
2692
2693         * undo_funcs.C:
2694         * lyxfunc.C:
2695         * buffer.[Ch]:
2696         * BufferView_pimpl.C:
2697         * BufferView.C: getParFromID related ParagraphList::iterator changes
2698
2699 2003-04-28  André Pönitz  <poenitz@gmx.net>
2700
2701         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2702           Changes
2703
2704 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2705
2706         * messages.C: remove one more localedir class variable.
2707
2708 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2709
2710         * messages.C (getLocaleDir): singleton generation function
2711         (Pimpl): use it.
2712         (Messages): add a default constructor.
2713
2714         * main.C (main): do not setup localedir here, do not call
2715         gettext_init.
2716
2717         * gettext.C (_): use it.
2718         (gettext_init): delete funciton
2719
2720 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2721
2722         * gettext.C (getLyXMessages): new singleton generating function.
2723
2724         * buffer.C (updateDocLang): adjust
2725
2726         * Makefile.am (messages.o): add target
2727         (main.o): remove target
2728
2729 2003-04-27  John Levon  <levon@movementarian.org>
2730
2731         * bufferlist.C:
2732         * lyx_cb.C:
2733         * lyxfunc.C:
2734         * lyxvc.C: specify cancel button in Alert::prompt
2735
2736 2003-04-26  John Levon  <levon@movementarian.org>
2737
2738         * text3.C:
2739         * lyxfunc.C:
2740         * lfuns.h:
2741         * LyXAction.C: add LFUN_INSET_SETTINGS
2742
2743         * lyxfunc.C: don't enable tabular-feature when there's
2744         just any locking inset
2745
2746 2003-04-26  John Levon  <levon@movementarian.org>
2747
2748         * bufferlist.C: re-add Cancel to buffer close question
2749
2750         * lyxfunc.C: fix import UI a bit
2751
2752 2003-04-25  John Levon  <levon@movementarian.org>
2753
2754         * gettext.C: remove the broken asserts for now
2755
2756 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2757
2758         * messages.C: make case where setlocale cannot comply work better.
2759
2760         * buffer.C (updateDocLang): new function
2761         (changeLanguage): use it
2762         (readFile): use it
2763
2764         * text2.C (setCounter): use B_ a bit.
2765
2766         * lyxlayout.C (Read): be sure to trim the label strings.
2767
2768         * messages.C (Messages): fix typo in comment
2769
2770         * buffer.C (readFile): set message_ after file is loaded.
2771         (makeDocBookFile): remove double return
2772         (changeLanguage): reset message_ upon language change.
2773         (B_): new func, use this to get translated buffer strings.
2774
2775         * main.C: add myself and Jean Marc as authors.
2776
2777 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2778
2779         * messages.[hC]: pimplify Messages, and three different pimpls to be
2780         used in different circumstances.
2781
2782         * gettext.[Ch]: change for use with new message code.
2783
2784 2003-04-24 André Pönitz <poenitz@gmx.net>
2785
2786         * factory.C: support for eqref
2787
2788 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2789
2790         * messages.[Ch]: add missing char
2791
2792         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2793
2794         * messages.[Ch]: New files
2795
2796 2003-04-18  John Levon  <levon@movementarian.org>
2797
2798         * BufferView.h:
2799         * BufferView.C:
2800         * BufferView_pimpl.C:
2801         * lfuns.h:
2802         * LyXAction.C:
2803         * lyxtext.h:
2804         * text2.C: remove layout-copy/paste (bug 778)
2805
2806 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2807
2808         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2809
2810 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2811
2812         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2813         if they succeed. Act accordingly.
2814
2815 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2816
2817         * text2.C (setCharFont): adjust
2818         (setCounter): adjust
2819         (insertStringAsLines): adjust
2820
2821         * text.C (leftMargin): adjust
2822         (setHeightOfRow): adjust
2823
2824         * rowpainter.C (paintFirst): adjust
2825         (paintLast): adjust
2826
2827         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2828         (outerHook): ditto
2829         (isFirstInSequence): ditto
2830         (getEndLabel): ditto
2831         (outerFont): adjust
2832
2833         * paragraph.C (getParLanguage): comment out some hard stuff.
2834
2835         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2836         (sgmlError): ditto
2837         (simpleDocBookOnePar): ditto
2838         (makeDocBookFile): use ParagraphList::iterator
2839
2840         * CutAndPaste.C (pasteSelection): adjust
2841
2842 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2843
2844         * text2.C (getFont): adjust
2845         (getLayoutFont): adjust
2846         (getLabelFont): adjust
2847
2848         * paragraph_funcs.C (TeXOnePar): adjust
2849
2850         * buffer.C (simpleLinuxDocOnePar): adjust
2851         (simpleDocBookOnePar): adjust
2852
2853         * CutAndPaste.C (pasteSelection): adjust
2854
2855         * BufferView.C (getEncoding): adjust
2856
2857         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2858
2859 2003-04-16  John Levon  <levon@movementarian.org>
2860
2861         * lyxfind.C: use parlist stuff for search/changes
2862
2863 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2864
2865         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2866
2867         * text2.C (deleteEmptyParagraphMechanism): adjust
2868
2869         * text2.[Ch] (ownerParagraph): delete func (both of them
2870
2871 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2874
2875 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2876
2877         * ParagraphList.C: prepare for NO_NEXT
2878
2879 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2880
2881         * text2.C (getFont): adjust
2882         (getLayoutFont): adjust
2883         (getLabelFont): adjust
2884
2885         * paragraph.C (getFont): adjust
2886         (getLabelFont): adjust
2887         (getLayoutFont): adjust
2888
2889         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2890
2891 2003-04-15  John Levon  <levon@movementarian.org>
2892
2893         From Angus Leeming
2894
2895         * lyx_main.C: handle Include in .ui files
2896
2897 2003-04-15  John Levon  <levon@movementarian.org>
2898
2899         * MenuBackend.C: make the doc files length shorter
2900
2901         * ToolbarBackend.h:
2902         * ToolbarBackend.C: handle toolbar placement flags,
2903         Minibuffer
2904
2905 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2906
2907         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2908         adjust
2909
2910         * paragraph_funcs.C (TeXOnePar): adjust
2911
2912         * paragraph.C (getLabelFont): add outerfont arg, adjust
2913         (getLayoutFont): ditto
2914         (simpleTeXOnePar): adjust
2915
2916         * paragraph_pimpl.C (realizeFont): delete func
2917
2918 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2919
2920         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2921         row argument, constify cur argument.
2922
2923 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2924
2925         * text2.C (getFont): adjust
2926         (getLayoutFont): adjust
2927         (getLabelFont): adjust
2928
2929         * paragraph_funcs.C (TeXOnePar): adjust
2930         (outerFont): new func...
2931         (realizeFont): ...moved out from here, changed this to facilitate
2932         transition
2933
2934         * paragraph.C (getFont): take outerfont as arg, adjust
2935         (simpleTeXOnePar): add outerfont arg, adjust
2936
2937         * buffer.C (simpleLinuxDocOnePar): adjust
2938         (simpleDocBookOnePar): adjust
2939
2940         * CutAndPaste.C (pasteSelection): adjust
2941
2942         * BufferView.C (getEncoding): adjust
2943
2944 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * text2.C (setCharFont): adjust
2947         (setCounter): adjust
2948
2949         * text.C (leftMargin): adjust
2950         (setHeightOfRow): adjust
2951
2952         * rowpainter.C (paintFirst): adjust
2953         (paintLast): adjust
2954
2955         * paragraph_pimpl.C (realizeFont): adjust
2956
2957         * paragraph.C (isFirstInSequence): move from here...
2958         * paragraph_funcs.C (isFirstInSequence): ...to here
2959
2960         * paragraph.C (outerHook): move from here...
2961         * paragraph_funcs.C (outerHook): ...to here
2962
2963         * paragraph.C (depthHook): move from here...
2964         * paragraph_funcs.C (depthHook): ...to here
2965
2966         * paragraph.C (getEndLabel): move from here...
2967         * paragraph_funcs.C (getEndLabel): ...to here
2968
2969         * text2.C (realizeFont): move from here...
2970         * paragraph_funcs.C (realizeFont): ...to here
2971
2972 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2973
2974         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2975
2976 2003-04-14  Angus Leeming  <leeming@lyx.org>
2977
2978         * LColor.[Ch]: scrap LColor mathcursor.
2979
2980 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2981
2982         * lyxlex.[Ch] (text): delete function
2983         * trans.C (Load): adjust
2984         * paragraph_funcs.C (readParToken): adjust
2985
2986 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2987
2988         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2989         vector<char> instead of a char[].
2990
2991         * lyxlex_pimpl.C (getString): adjust
2992         (next): adjust
2993         (lex): use getString
2994         (eatLine): adjust
2995         (nextToken): adjust
2996
2997         * lyxlex.C (text): use pimpl_->getString()
2998         (getBool): ditto
2999         (findToken): ditto
3000
3001 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3002
3003         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3004         (makeFontEntriesLayoutSpecific): temp var for par.size()
3005         (setLayout): temp var for ownerParagraphs().end()
3006         (fullRebreak): temp var for rows().end()
3007         (selectionAsString): temp var for boost::next(startpit), realize
3008         that the while really is a regular for loop.
3009         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3010         setCursor in one place.
3011         (setParagraph): temp vr for ownerParagraphs().end()
3012         (updateCounters): make the while loop a for loop
3013         (cutSelection): temp var for ownerParagraphs().end()
3014         (updateInset): make the do {} while() a regular for loop
3015         (getCursorX): use temp vars
3016         (setCurrentFont): use temp vars
3017         (getColumnNearX): use temp vars
3018
3019 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3020
3021         * text.C (transformChar): use temp var for getChar
3022         (computeBidiTables): use temp var for row->par()
3023         (fill): move temp vars for row->par() and pit->layout() earlier in
3024         the function.
3025         (labelFill): use temp var for row->par()
3026         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3027         asc and desc, realize that pit never changes and that firstpit is
3028         just a duplicate and not needed. Exchange rit->par() with pit in a
3029         lot of places.
3030         (breakAgain): use a temp var for boost::next(rit)
3031         (breakAgainOneRow): ditto
3032         (breakParagraph): use a temp var for rows().begin()
3033         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3034         (cursorRightOneWord): use temp var for cursor.par() and
3035         cursor.pos(), remove usage of tmpcursor.
3036         (cursorLeftOneWord): use temp var for cursor.par() and
3037         cursor.pos() only set cur at end of function.
3038
3039 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * text.C, text2.C: exchange all usage of Paragraph::next with
3042         boost::next(ParagraphList::iterator)
3043
3044         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3045
3046         * text2.C (cursorTop): simplify implementation
3047         (cursorBottom): ditto
3048         (setParagraph): use ParagraphList::iterator
3049         (setCurrentFont): adjust
3050         (getColumnNearX): adjust
3051         (cursorRight): adjust
3052         (cursorLeft): remove usage of Paragraph::previous
3053         (cursorUpParagraph): ditto
3054         (deleteEmptyParagraphMechanism): slight cleanup
3055
3056         * text.C (isBoundary): take a Paragraph const & instead of a
3057         pointer as arg.
3058         (addressBreakPoint): ditto
3059         (leftMargin): remove usage of Paragraph::previous.
3060         (setHeightOfRow): ditto
3061         (cursorLeftOneWord): ditto
3062         (selectNextWordToSpellcheck): ditto
3063         (Delete): ditto
3064         (backspace): ditto
3065         (breakParagraph): remove one usage of Paragraph::next
3066         (redoParagraph): ditto
3067         (acceptChange): ditto
3068         (insertChar): adjust
3069         (rowBreakPoint): adjust
3070
3071         * bufferview_funcs.C (toggleAndShow): adjust
3072
3073 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3074
3075         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3076         methods to access it.
3077         * lyxtext.h:
3078         * text.C: Added updateRowPositions to compute all row positions.
3079         Make top_y and getRowNearY() to use the cached y position
3080
3081 2003-04-11  John Levon  <levon@movementarian.org>
3082
3083         * text.C (rowBreakPoint): reintroduce the labelEnd
3084         checks, code copied from the row fill stuff. Deep voodoo.
3085
3086         * text.C (fill): add a comment and debugging for the
3087         next poor soul.
3088
3089 2003-04-11  John Levon  <levon@movementarian.org>
3090
3091         * text.C: make sure fullrow insets get wrapped to the next line,
3092         even when they're in a manual label
3093
3094 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * text2.C (insertParagraph): make it take ParagraphList::iterator
3097         as arg.
3098         (setLayout): make it return ParagraphList::iterator
3099         (redoParagraphs): ditto
3100         (setCounter): ditto
3101         (checkParagraph): ditto
3102
3103         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3104
3105         * text2.C: adjust several funcs.
3106         (realizeFont): take a ParagraphList::iterator as arg.
3107         (getLayoutFont): ditto
3108         (getLabelFont): ditto
3109         (setCharFont): ditto
3110
3111         * text.C: adjust several funcs.
3112
3113 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3114
3115         * text.C (selectNextWordToSpellcheck): don't accidentally
3116         skip insets
3117
3118 2003-04-10  John Levon  <levon@movementarian.org>
3119
3120         * ToolbarBackend.C (getIcon): special handling for
3121         LFUN_MATH_DELIM
3122
3123 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3124
3125         * text2.C (cursorRight): a getChar assert fixed
3126
3127 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3128
3129         * text2.C (getFont): change to take a ParagraphList::iterator
3130         instead of Paragraph*
3131         Adjust several functions.
3132
3133         * text.C (transformChar): change to take a ParagraphList::iterator
3134         instead of Paragraph*
3135         (singleWidth): ditto
3136         Adjust several functions.
3137
3138         * rowpainter.C: adjust several functions
3139         * rowpainter.h:store a ParagraphList::iterator and not a
3140         Paragraph&.
3141
3142
3143 2003-04-09  John Levon  <levon@movementarian.org>
3144
3145         * lyxfunc.C:
3146         * lfuns.h:
3147         * LyXAction.h:
3148         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3149         and the "help" bits as well
3150
3151 2003-04-09  John Levon  <levon@movementarian.org>
3152
3153         * ToolbarBackend.h:
3154         * ToolbarBackend.C: allow multiple toolbars
3155
3156 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3157
3158         * undo_funcs.C (setCursorParUndo): adjust
3159
3160         * text_funcs.C (transposeChars): adjust
3161
3162         * text3.C (gotoNextInset): adjust
3163         (dispatch): adjust
3164
3165         * text2.C (setLayout): adjust
3166         (changeDepth): adjust
3167         (setFont): adjust
3168         (redoParagraphs): adjust
3169         (selectionAsString): adjust
3170         (setParagraph): adjust
3171         (insertInset): adjust
3172         (cutSelection): adjust
3173         (copySelection): adjust
3174         (pasteSelection): adjust
3175         (insertStringAsLines): adjust
3176         (updateInset): adjust
3177         (setCursor): change to take a ParagraphList::iterator parameter
3178         (setCursorIntern): change to take a ParagraphList::iterator parameter
3179         (setCurrentFont): adjust
3180         (cursorLeft): adjust
3181         (cursorRight): adjust
3182         (deleteEmptyParagraphMechanism): adjust
3183
3184         * text.C (breakParagraph): adjust
3185         (insertChar): adjust
3186         (acceptChange): adjust
3187         (rejectChange): adjust
3188         (selectNextWordToSpellcheck): adjust
3189         (changeCase): adjust
3190         (Delete): adjust
3191         (backspace): adjust
3192
3193         * lyxfind.C (SearchForward): adjust
3194         (SearchBackward): adjust
3195         (nextChange): adjust
3196
3197         * lyxcursor.C (par): adjust
3198
3199         * lyxcursor.h: store a ParagraphList::iterator instead of a
3200         Paragraph*
3201
3202         * lyx_cb.C (getPossibleLabel): adjust
3203
3204         * bufferview_funcs.C (toggleAndShow): adjust
3205
3206         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3207         (dispatch): adjust
3208
3209         * BufferView.C (removeAutoInsets): adjust
3210         (lockedInsetStoreUndo): adjust
3211
3212 2003-04-09  John Levon  <levon@movementarian.org>
3213
3214         * ToolbarBackend.C: try icon without argument
3215         if with argument fails
3216
3217 2003-04-08  John Levon  <levon@movementarian.org>
3218
3219         * ToolbarBackend.h:
3220         * ToolbarBackend.C: add getIcon(), handle tooltip,
3221         and change from "Icon" to "Item".
3222
3223 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3224
3225         * BufferView.C (lockInset): another bad getchar crunched
3226
3227 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3228
3229         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3230         again)
3231
3232 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3233
3234         * lyxfind.C (searchForward, searchBackwards): bug 782
3235
3236 2003-04-07  John Levon  <levon@movementarian.org>
3237
3238         * paragraph.C: remove dead comment
3239
3240         * text.C: remove troublesome depth-fiddling code
3241         in leftMargin() and rightMargin() (bug 1017)
3242
3243         * text.C: fix breaking of rows in nested lists
3244         (bug 1004)
3245
3246         * text2.C (updateCounters): fix up depth values
3247         (bug 1013)
3248
3249 2003-04-07  John Levon  <levon@movementarian.org>
3250
3251         * BufferView_pimpl.C: clear message when doc finishes resizing,
3252         and after a mouse event
3253
3254         * lyxfunc.C: clear message after exiting inset
3255
3256 2003-04-07  John Levon  <levon@movementarian.org>
3257
3258         * bufferview_funcs.C: show math status not outside
3259         status in the statusbar
3260
3261 2003-04-07  John Levon  <levon@movementarian.org>
3262
3263         * lyxfunc.C: note status changed after a depth change
3264
3265 2003-04-04  Angus Leeming  <leeming@lyx.org>
3266
3267         * LaTeX.h: move AuxInfo operator==, != out of line.
3268         Remove LaTeX virtual destructor; nothing derives from it.
3269         Move operator()() out of public area and rename it startscript().
3270         Change protected for private.
3271
3272 2003-04-04  Angus Leeming  <leeming@lyx.org>
3273
3274         * lyxfunc.C:
3275         * text2.C: remove unneeded #includes.
3276
3277 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3278
3279         * text2.C (dEPM): fix the heigth of the next row
3280
3281 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3282
3283         * text.C: squashed an invalid getChar requester + some ws changes
3284
3285 2003-04-03  John Levon  <levon@movementarian.org>
3286
3287         * bufferview_funcs.h:
3288         * bufferview_funcs.C:
3289         * lyxfunc.C:
3290         * lyxtext.h:
3291         * text2.C: make getStatus work for the env depth lfuns
3292
3293 2003-04-03  John Levon  <levon@movementarian.org>
3294
3295         * bufferview_funcs.h:
3296         * bufferview_funcs.C:
3297         * lyxfunc.C:
3298         * lyxtext.h:
3299         * text2.C: parlistize decDepth(), by merging it with incDepth()
3300
3301 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3302
3303         * lyxrow.h: store a ParagraphList::iterator instead of a
3304         Paragraph* and adjust other class functions to suit.
3305
3306         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3307         above.
3308
3309 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3310
3311         * text2.C (setCursor): do not anchor to cursor row for the time being
3312
3313 2003-04-02  John Levon  <levon@movementarian.org>
3314
3315         * LyXAction.C:
3316         * lfuns.h:
3317         * lyx_main.C:
3318         * lyxtext.h:
3319         * text.C:
3320         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3321
3322 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3323
3324         * paragraph.h: make ParagraphList and ParagraphList::iterator
3325         friends of Paragraph.
3326
3327         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3328
3329         * ParagraphList.C: Use the private next_ and previous_ from
3330         Paragraph.
3331
3332 2003-04-01  John Levon  <levon@movementarian.org>
3333
3334         * ToolbarBackend.h:
3335         * ToolbarBackend.C:
3336         * Makefile.am: rename, remove defaults gunk
3337
3338         * MenuBackend.h:
3339         * MenuBackend.C: remove defaults gunk
3340
3341         * Languages.h:
3342         * Languages.C: remove defaults gunk
3343
3344         * lyx_main.h:
3345         * lyx_main.C: error out if files couldn't be found.
3346
3347 2003-04-02  John Levon  <levon@movementarian.org>
3348
3349         * text2.C: make incDepth() use parlist
3350
3351 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * undo_funcs.C (firstUndoParagraph): adjust
3354
3355         * text3.C (gotoInset): adjust
3356         (dispatch): adjust, and rewrite loop.
3357
3358         * text2.C (init): adjust, and rewrite loop.
3359         (redoParagraphs): adjust
3360         (updateInset): adjust, and rewrite loop.
3361         (deleteEmptyParagraphMechanism): adjust
3362
3363         * tabular.C (LyXTabular): adjust
3364         (SetMultiColumn): adjust
3365         (TeXRow): adjust
3366
3367         * lyxtext.[Ch] (ownerParagraph): delete function
3368         (ownerParagraphs): new function returns a ParagraphList.
3369
3370         * BufferView.C (removeAutoInsets): adjust
3371         (insertErrors): adjust
3372         (setCursorFromRow): adjust
3373
3374 2003-04-01  Angus Leeming  <leeming@lyx.org>
3375
3376         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3377         in the frontends.
3378
3379 2003-04-02  John Levon  <levon@movementarian.org>
3380
3381         * lyxtext.h:
3382         * text.C:
3383         * Makefile.am:
3384         * text_funcs.h:
3385         * text_funcs.C: make transposeChars a free function
3386
3387         * lyxrow_funcs.C: remove wrong comment
3388
3389 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3390
3391         * lyxtext.h: adjust
3392         * rowpainter.C: adjust
3393         * text.C: adjust
3394         * text2.C: adjust
3395         * text3.C: adjust
3396
3397         * lyxrow_funcs. [Ch]: new files
3398
3399         * lyxrow.[Ch]: remove next and previous pointers
3400         (next,previous): remove accessor functions
3401         (isParEnd): move to lyxrow_funcs
3402         (lastPos): move to lyxrow_funcs
3403         (nextRowIsAllInset): move to lyxrow_funcs
3404         (lastPrintablePos): move to lyxrow_funcs
3405         (numberOfSeparators): move to lyxrow_funcs
3406         (numberOfHfills): move to lyxrow_funcs
3407         (numberOfLabelHfills): move to lyxrow_funcs
3408         (hfillExpansion): move to lyxrow_funcs
3409
3410         * lyxfunc.C: adjust
3411
3412         * bufferview_funcs.C (toggleAndShow): adjust
3413
3414         * RowList.h: Remove class RowList from file leave just a
3415         std::list<Row>.
3416
3417         * RowList.C: delete file
3418
3419         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3420         and lyxrow_funcs.h
3421
3422 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * text3.C (cursorPrevious): adjust
3425         (cursorNext): adjust
3426         (dispatch): adjust
3427
3428         * text2.C (redoHeightOfParagraph): adjust
3429         (redoDrawingOfParagraph): adjust
3430         (setCursor): adjust
3431
3432         * text.C (breakParagraph): adjust
3433         (insertChar): adjust
3434         (backspace): adjust
3435
3436         * rowpainter.C (RowPainter): adjust
3437         (leftMargin): simplify and adjust
3438         (most rowpainter functions): adjust.
3439
3440         * rowpainter.h: store the row as RowList::iterator not as Row*
3441
3442         * lyxcursor.C (row): taka RowList::iterator as arg
3443         (irow): ditto
3444
3445         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3446         of Row*.
3447
3448 2003-04-01  Angus Leeming  <leeming@lyx.org>
3449
3450         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3451         stuff like bool Bool.
3452
3453 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3454
3455         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3456         rewrite a loop
3457
3458 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3459
3460         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3461         RowList::iterator.
3462
3463         * lyxtext.h (rows): drop one version and leve a const variant that
3464         returns a RowList::iterator.
3465
3466 2003-03-31  Angus Leeming  <leeming@lyx.org>
3467
3468         * text.C (fill): ensure that the signature is the same as that in the
3469         header file.
3470
3471 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3472
3473         * text2.C (redoParagraphs): adjust
3474         (updateCounters): adjust
3475         (checkParagraph): adjust
3476         (getColumnNearX): adjust and reformat a bit.
3477
3478         * text.C (top_y): adjust
3479         (workWidth): adjust
3480         (leftMargin): adjust
3481         (prepareToPrint): adjust
3482         (getRow): adjust
3483         (getRowNearY): adjust
3484
3485         * lyxtext.h: make rowlist_ mutable.
3486
3487         * RowList.h: add const_iterator
3488         * RowList.C: adjust for RowList::const_iterator.
3489
3490         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3491         adjust.
3492
3493 2003-03-31  John Levon  <levon@movementarian.org>
3494
3495         * lyxrc.h:
3496         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3497
3498         * lyx_main.C: set default fonts from using lyx_gui funcs
3499
3500         * exporter.C: pdf_mode moved from lyxrc
3501
3502         * lyx_cb.C:
3503         * lyxfunc.C: changes from above
3504
3505 2003-03-31  John Levon  <levon@movementarian.org>
3506
3507         * lyx_main.C: fix to the last fix
3508
3509 2003-03-31  John Levon  <levon@movementarian.org>
3510
3511         * bufferlist.C: "Load original" -> "Load Original"
3512
3513         * converter.C:
3514         * exporter.C:
3515         * importer.C:
3516         * lyx_main.C:
3517         * format.C: more Alert cleanups
3518
3519 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3520
3521         * text2.C (removeParagraph): make it take a RowList::iterator as
3522         arg, adjust.
3523         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3524         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3525
3526         * text.C (anchor_row): make it take a RowList::iterator as arg,
3527         adjust.
3528         (computeBidiTables): make it take a const reference to Row instead
3529         of Row pointer, adjust.
3530         (leftMargin): make it take a RowList::iterator as arg, adjust.
3531         (rowBreakPoint): adjust
3532         (breakAgainOneRow): make it take a RowList::iterator as arg,
3533         adjust.
3534         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3535
3536         * bufferview_funcs.C (toggleAndShow): adjust
3537
3538 2003-03-30  John Levon  <levon@movementarian.org>
3539
3540         * Makefile.am:
3541         * BoostFormat.h:
3542         * boost-inst.C: moved to support
3543
3544         * several files: changes as a result
3545
3546 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3547
3548         * text2.C (LyXText): adjust.
3549         (init): adjust
3550         (removeRow): make it take a RowList::iterator as arg, adjust.
3551         (fullRebreak): adjust
3552         (deleteEmptyParagraphMechanism): adjust
3553         (clearPaint): adjust
3554         (postPaint): adjust
3555
3556         * text.C (top_y): adjust
3557         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3558         (breakAgain): make it take a RowList::iterator as arg, adjust.
3559         (breakParagraph): adjust
3560         (insertChar): adjust
3561         (backspace): adjust
3562
3563         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3564         need_break_row, and refresh_row.
3565
3566         * text3.C (dispatch): adjust
3567
3568         * text2.C (checkParagraph): adjust
3569         (setCursor): adjust
3570         (setCursorFromCoordinates): adjust
3571
3572         * text.C (top_y): adjust
3573         (workWidth): adjust
3574         (getRow): make it return a RowList::iterator, adjust
3575         (getRowNearY): make it return a RowList::iterator, adjust
3576
3577         * text2.C (init): adjust
3578         (insertRow): remove function
3579         (insertParagraph): adjust
3580         (redoParagraphs): adjust
3581         (fullRebreak): adjust
3582         (updateCounters): adjust
3583
3584         * text.C (top_y): rewrite to use RowList iterators.
3585         (top_y): adjust
3586         (setHeightOfRow): rewrite to sue RowList iterators.
3587         (appendParagraph): adjust
3588         (breakAgain): adjust
3589         (breakAgainOneRow): adjust
3590         (breakParagraph): adjust
3591         (getRow): adjust
3592         (getRowNearY): adjust, and remove commented code.
3593
3594         * lyxtext.h (firstRow): delete function
3595         (lastRow): delete function
3596         (rows): new function (const and non-const versions.)
3597         (insertRow): delete function
3598
3599         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3600
3601 2003-03-29  John Levon  <levon@movementarian.org>
3602
3603         * BufferView_pimpl.C: always update scrollbar top
3604         because pasting text when we're anchored could mean we
3605         miss an update altogether
3606
3607 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3608
3609         * text2.C (init): use rowlist_.end() and not 0.
3610         (insertRow): change to take a RowList::iterator as arg, adjust
3611         for this.
3612         (insertParagraph): change to take a RowList::iterator as arg,
3613         adjust for this.
3614         (redoParagraphs): remove some debug msgs.
3615
3616         * text.C (appendParagraph): change to take a RowList::iterator
3617         arg, adjust for this.
3618         (breakAgain): add an assert
3619         (breakAgainOneRow): ditto
3620
3621 2003-03-29  John Levon  <levon@movementarian.org>
3622
3623         * text2.C: do not clear selection after inc/decDepth
3624         (bug 550)
3625
3626 2003-03-29  John Levon  <levon@movementarian.org>
3627
3628         * BufferView.C:
3629         * buffer.C: fix broken strerrors according to Lars
3630
3631 2003-03-29  John Levon  <levon@movementarian.org>
3632
3633         * converters.C: more Alert cleanups
3634
3635 2003-03-29  John Levon  <levon@movementarian.org>
3636
3637         * bufferview_funcs.C: remove pointless Alert
3638
3639         * buffer.C: fix confusing error message when
3640         a template is chmoded 000
3641
3642 2003-03-29  John Levon  <levon@movementarian.org>
3643
3644         * BufferView.C:
3645         * BufferView.h:
3646         * BufferView_pimpl.C: Alert fixes
3647
3648         * Makefile.am:
3649         * tabular.C:
3650         * tabular-old.C: remove unused table compat reading
3651
3652 2003-03-29  John Levon  <levon@movementarian.org>
3653
3654         * BufferView.C:
3655         * buffer.C:
3656         * lyx_cb.h:
3657         * lyx_cb.C: more Alert cleanups
3658
3659         * lyxfunc.C: don't allow chktex if not latex document
3660
3661 2003-03-29  John Levon  <levon@movementarian.org>
3662
3663         * lyx_cb.C:
3664         * BufferView.C:
3665         * buffer.C: warnings pushed down from support/,
3666         kill err_alert
3667
3668 2003-03-29  John Levon  <levon@movementarian.org>
3669
3670         * lyxfunc.C: safety check for C-r (revert)
3671
3672 2003-03-29  John Levon  <levon@movementarian.org>
3673
3674         * bufferlist.h:
3675         * bufferlist.C: several UI fixes using Alert::prompt.
3676         Fix the pointless looping quit code. Fix stupid revert
3677         behaviour (bug 938)
3678
3679         * lyxvc.h:
3680         * lyxvc.C:
3681         * lyx_cb.C: use Alert::prompt
3682
3683         * lyx_main.C: remove a silly question
3684
3685         * lyxfunc.C: remove a couple of silly questions,
3686         use Alert::prompt
3687
3688 2003-03-28  John Levon  <levon@movementarian.org>
3689
3690         * text2.C: fix bug 974 (End on empty par)
3691
3692 2003-03-28  John Levon  <levon@movementarian.org>
3693
3694         * BufferView_pimpl.C:
3695         * LyXAction.C:
3696         * lfuns.h: remove do-nothing math greek lfuns
3697
3698 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3699
3700         * lyxgluelength.h (isValidGlueLength): add default arg on
3701         parameter 2. Remove default arg from friend in class.
3702
3703         * lyxlength.h (isValidLength): add default arg on parameter 2.
3704         Remove default arg from friend in class.
3705
3706         * text2.C (LyXText): adjust, initialize refresh_row.
3707         (init): adjust
3708         (removeRow): adjust
3709         (insertRow): adjust
3710         (insertParagraph): adjst
3711         (redoParagraphs): adjust
3712         (fullRebreak): adjust
3713         (updateCounters): adjust
3714         (deleteEmptyParagraphMechanism): first attempt at fixing a
3715         crashing bug.
3716
3717         * text.C (top_y): adjust
3718         (setHeightOfRow): adjust
3719         (getRow): adjust
3720         (getRowNearY): adjust
3721
3722         * lyxtext.h: include RowList.h
3723         (~LyXText): not needed anymore, deleted.
3724         (firstRow): modify for RowList
3725         (lastRow): new function
3726         Delete firstrow and lastrow class variables, add a Rowlist
3727         rowlist_ class variable.
3728
3729         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3730         paragraph is empty.
3731
3732         * RowList.C (insert): fix case where it == begin().
3733
3734 2003-03-26  Angus Leeming  <leeming@lyx.org>
3735
3736         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3737         the thesaurus dialog.
3738
3739 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3740
3741         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3742
3743         * RowList.[Ch]: new files
3744
3745         * ParagraphList.C (erase): handle the case where it == begin
3746         correctly.
3747
3748 2003-03-25  John Levon  <levon@movementarian.org>
3749
3750         * Makefile.am:
3751         * aspell_local.h:
3752         * aspell.C: add new aspell support
3753
3754         * lyxrc.h:
3755         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3756         have it accessible.
3757
3758 2003-03-25  Angus Leeming  <leeming@lyx.org>
3759
3760         * lfuns.h:
3761         * LyXAction.C (init): new LFUN_INSET_INSERT.
3762
3763         * BufferView_pimpl.C (dispatch): split out part of the
3764         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3765
3766         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3767         LFUN_INSET_APPLY.
3768
3769 2003-03-25  Angus Leeming  <leeming@lyx.org>
3770
3771         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3772
3773 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3774
3775         * text2.C:
3776         * text3.C: remove useless row->height(0)
3777
3778 2003-03-25  John Levon  <levon@movementarian.org>
3779
3780         * lyxtext.h:
3781         * text2.C:
3782         * text3.C: rename the refreshing stuff to better names
3783
3784 2003-03-24  John Levon  <levon@movementarian.org>
3785
3786         * BufferView_pimpl.h:
3787         * BufferView_pimpl.C: update layout choice on a mouse
3788         press/release
3789
3790 2003-03-23  John Levon  <levon@movementarian.org>
3791
3792         * Makefile.am: fix commandtags.h reference
3793
3794 2003-03-22  John Levon  <levon@movementarian.org>
3795
3796         * BufferView_pimpl.C:
3797         * lyxtext.h:
3798         * rowpainter.C:
3799         * rowpainter.h:
3800         * text.C:
3801         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3802
3803 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3804
3805         * lyxtext.h:
3806         * text.C: take the rtl methods out of line
3807
3808 2003-03-21 André Pönitz <poenitz@gmx.net>
3809
3810         * metricsinfo.[Ch]: new files containing structures to be passed around
3811         during the two-phase-drawing...
3812
3813 2003-03-21 André Pönitz <poenitz@gmx.net>
3814
3815         * lyxtextclass.C: read 'environment' tag.
3816
3817 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3818
3819         * text2.C (removeRow): fix bug 964
3820
3821 2003-03-20  John Levon  <levon@movementarian.org>
3822
3823         * rowpainter.C:
3824         * text.C:
3825         * text2.C: paint cleanups. Inset::update() dropped font
3826         parameter
3827
3828 2003-03-19  John Levon  <levon@movementarian.org>
3829
3830         * lyxfunc.C: only fitcursor/markDirty if available()
3831
3832 2003-03-19  John Levon  <levon@movementarian.org>
3833
3834         * commandtags.h: rename to ...
3835
3836         * lfuns.h: ... this, and renumber / cleanup
3837
3838 2003-03-19  John Levon  <levon@movementarian.org>
3839
3840         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3841         fit the cursor after an lfun
3842
3843         * BufferView.h:
3844         * BufferView.C:
3845         * BufferView_pimpl.h:
3846         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3847
3848         * LyXAction.C: layout-character should have ReadOnly
3849
3850         * ParagraphParameters.C:
3851         * buffer.C:
3852         * bufferview_funcs.C:
3853         * lyx_cb.C:
3854         * lyxfind.C:
3855         * lyxtext.h:
3856         * text.C:
3857         * text2.C:
3858         * text3.C:
3859         * undo_funcs.C: changes from above
3860
3861 2003-03-18  John Levon  <levon@movementarian.org>
3862
3863         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3864         remove it from update()
3865
3866         * lyxfunc.C: update layout choice after an lfun
3867
3868         * text3.C: remove extra updateLayoutChoice()s
3869
3870 2003-03-18  John Levon  <levon@movementarian.org>
3871
3872         * text.C: top_y change means full repaint, fix
3873         a drawing bug with cursor movement
3874
3875 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3876
3877         * lyxtext.h:
3878         * text.C:
3879         * text2.C: anchor row on setCursor
3880
3881 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3882
3883         * lyxtext.h: remove almost all mutable keywords
3884         * text.C:
3885         * text2.C:
3886         * text3.C: remove const keywords accordingly
3887
3888 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3889
3890         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3891         anon namespace
3892         (TeXEnvironment): ditto
3893         (TeXOnePar): ditto
3894
3895 2003-03-17  John Levon  <levon@movementarian.org>
3896
3897         * text.C (rowBreakPoint): remove attempt to fix displayed
3898         math insets inside a manual label
3899
3900 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * lyxtext.h: remove BufferView* as first arg from almost all class
3903         functions.
3904         * other files: adjust.
3905
3906 2003-03-17  John Levon  <levon@movementarian.org>
3907
3908         * lyxtext.h:
3909         * undo_funcs.C:
3910         * text2.C: more paint cleanups
3911
3912         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3913
3914         * rowpainter.h:
3915         * rowpainter.C: remove "smart" background painting code
3916
3917 2003-03-16  John Levon  <levon@movementarian.org>
3918
3919         * lyxtext.h:
3920         * text.C:
3921         * text2.C:
3922         * text3.C: add helper functions for setting refresh_row/y
3923
3924 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3925
3926         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3927         newline inset which *can* get inserted in the pass_thru layouts.
3928         This is primarily for literate documents.
3929
3930 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3931
3932         * buffer.C: increment LYX_FORMAT to 223
3933
3934 2003-03-14 André Pönitz <poenitz@gmx.net>
3935
3936         * textclass.h: prepare for environment handling, ws changes
3937         * lyxlayout.C: read latexheader and latexfooter tags
3938
3939 2003-03-14  John Levon  <levon@movementarian.org>
3940
3941         * text2.C: rewrite ::status() a bit
3942
3943 2003-03-13  John Levon  <levon@movementarian.org>
3944
3945         * lyxtext.h: add some docs
3946
3947 2003-03-13  John Levon  <levon@movementarian.org>
3948
3949         * lyxtext.h:
3950         * text.C:
3951         * text2.C:
3952         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3953
3954 2003-03-13  John Levon  <levon@movementarian.org>
3955
3956         * text3.C: fix appendix redrawing
3957
3958 2003-03-13  John Levon  <levon@movementarian.org>
3959
3960         * text.C (setHeightOfRow):
3961         * rowpainter.h:
3962         * rowpainter.C: make appendix mark have the text
3963           "Appendix" so the user knows what it is
3964
3965         * LColor.h:
3966         * LColor.C: s/appendixline/appendix/ from above
3967
3968 2003-03-13  John Levon  <levon@movementarian.org>
3969
3970         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3971
3972         * text.C: fix a getChar(pos) bug properly
3973
3974 2003-03-13  Angus Leeming  <leeming@lyx.org>
3975
3976         * commandtags.h:
3977         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3978         Probably only temporary. Let's see how things pan out.
3979
3980         * BufferView.C (unlockInset):
3981         * BufferView_pimpl.C (fitCursor):
3982         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3983
3984         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3985         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3986
3987         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3988         new functions that convert ParagraphParameters to and from a string.
3989
3990         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3991         BufferView::Pimpl's dispatch.
3992         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3993
3994 2003-03-13 André Pönitz <poenitz@gmx.net>
3995
3996         * lyxfunc.C:
3997         * text3.C:
3998         * factory.C: make it aware of InsetEnv
3999
4000 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4001
4002         * text2.C (setCursor): never ask for one past last
4003         (setCursor): add some debugging messages.
4004
4005         * text.C (singleWidth): never ask for one past last
4006         (singleWidth): ditto
4007         (leftMargin): ditto
4008         (rightMargin): ditto
4009         (rowBreakPoint): ditto
4010         (setHeightOfRow): ditto
4011         (prepareToPrint): ditto
4012
4013         * rowpainter.C (paintBackground): never ask for one past last
4014         (paintText): never ask for one past last
4015
4016         * paragraph_pimpl.C (getChar): make the assert stricter, never
4017         allow the one past last pos to be taken
4018
4019         * paragraph.C (getChar): ws changes only
4020
4021         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4022         (numberOfSeparators): ditto
4023         (numberOfHfills): ditto
4024
4025 2003-03-12  John Levon  <levon@movementarian.org>
4026
4027         * author.h:
4028         * author.C:
4029         * bufferparams.h:
4030         * bufferparams.C:
4031         * paragraph_funcs.C: fix per-buffer authorlists
4032
4033 2003-03-12  John Levon  <levon@movementarian.org>
4034
4035         * text.C: fix newline in right address
4036
4037 2003-03-12  Angus Leeming  <leeming@lyx.org>
4038
4039         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4040         duplicate those in LyXFunc::dispatch.
4041
4042         * commandtags.h:
4043         * LyXAction.C:
4044         * ToolbarDefaults.C:
4045         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4046         Add LFUN_FONTFREE_UPDATE.
4047
4048         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4049         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4050
4051         * bufferview_func.[Ch]: several new functions to facilliate
4052         transfer of data to and from the character dialog.
4053
4054 2003-03-12  John Levon  <levon@movementarian.org>
4055
4056         * buffer.C:
4057         * paragraph.h:
4058         * paragraph.C:
4059         * paragraph_funcs.C:
4060         * paragraph_pimpl.C:
4061         * sgml.C:
4062         * tabular.C:
4063         * text.C:
4064         * text3.C: remove META_NEWLINE in favour of an inset
4065
4066         * rowpainter.h:
4067         * rowpainter.C: remove paintNewline (done by inset)
4068
4069 2003-03-12  John Levon  <levon@movementarian.org>
4070
4071         * paragraph_pimpl.C: complain about bad getChar()s
4072         for a while at least
4073
4074 2003-03-12  John Levon  <levon@movementarian.org>
4075
4076         * buffer.h:
4077         * buffer.C: move paragraph read into a separate function,
4078         a little renaming to reflect that.
4079
4080         * bufferparams.h:
4081         * bufferparams.C: remove the author_ids map, not necessary now
4082
4083         * factory.h:
4084         * factory.C: moved Buffer::readInset to here
4085
4086         * paragraph_funcs.h:
4087         * paragraph_funcs.C: readParagraph free function moved from
4088         buffer.C
4089
4090         * tabular.C: name change
4091
4092 2003-03-12  John Levon  <levon@movementarian.org>
4093
4094         * buffer.C:
4095         * ParagraphParameters.C: move par params input to
4096         a read() method
4097
4098         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4099         behave like a normal read from the stream wrt reading
4100         a line vs. a \\token
4101
4102 2003-03-12  John Levon  <levon@movementarian.org>
4103
4104         * paragraph.C:
4105         * ParagraphParameters.h:
4106         * ParagraphParameters.C: move output code to a
4107         ::write() method
4108
4109 2003-03-12  John Levon  <levon@movementarian.org>
4110
4111         * BufferView.C (insertLyXFile):
4112         * buffer.h:
4113         * buffer.C:
4114         * tabular.C: use a parlist iterator for creating the
4115           document.
4116
4117 2003-03-12  John Levon  <levon@movementarian.org>
4118
4119         * buffer.C: make current_change static local not
4120           static file-scope
4121
4122 2003-03-12  John Levon  <levon@movementarian.org>
4123
4124         * buffer.C: fix insertStringAsLines for change tracking
4125
4126 2003-03-12  John Levon  <levon@movementarian.org>
4127
4128         * BufferView.C:
4129         * tabular.C:
4130         * buffer.h:
4131         * buffer.C:
4132         * bufferparams.h:
4133         * bufferparams.C: move author list into params. Rename some
4134           functions. Move the header reading into a separate token
4135           loop. Move the header token reading into BufferParams.
4136
4137 2003-03-12  John Levon  <levon@movementarian.org>
4138
4139         * changes.C: put debug inside lyxerr.debugging() checks
4140
4141 2003-03-11 André Pönitz <poenitz@gmx.net>
4142
4143         * factory.C: make it aware of InsetHFill
4144
4145 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4146
4147         * buffer.C (latexParagraphs): move function from here...
4148         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4149         args.
4150
4151 2003-03-10  Angus Leeming  <leeming@lyx.org>
4152
4153         * LyXAction.C (init): fix bug in poplating array with multiple entries
4154         with the same LFUN (spotted by JMarc).
4155
4156 2003-03-10  John Levon  <levon@movementarian.org>
4157
4158         * text.C:
4159         * text2.C: move getColumnNearX() near its
4160         only call site
4161
4162 2003-03-10  John Levon  <levon@movementarian.org>
4163
4164         * text.C: fix break before a minipage
4165
4166 2003-03-10  John Levon  <levon@movementarian.org>
4167
4168         * text.C: fix the last commit
4169
4170 2003-03-09  John Levon  <levon@movementarian.org>
4171
4172         * lyxtext.h:
4173         * text.C:
4174         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4175         bug 365 (don't break before insets unless needed). Don't
4176         return a value > last under any circumstances.
4177
4178 2003-03-09  Angus Leeming  <leeming@lyx.org>
4179
4180         * BufferView_pimpl.C (trackChanges, dispatch): call
4181         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4182
4183 2003-03-09  Angus Leeming  <leeming@lyx.org>
4184
4185         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4186         than Dialogs::showAboutlyx().
4187
4188 2003-03-09  Angus Leeming  <leeming@lyx.org>
4189
4190         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4191         than Dialogs::showTabularCreate().
4192
4193 2003-03-09  John Levon  <levon@movementarian.org>
4194
4195         * lyxtext.h:
4196         * text.C:
4197         * text2.C: 3rd arg to nextBreakPoint was always the same.
4198           Use references.
4199
4200 2003-03-08  John Levon  <levon@movementarian.org>
4201
4202         * lyxrow.C:
4203         * paragraph.C:
4204         * paragraph.h:
4205         * rowpainter.C:
4206         * text.C:
4207         * text2.C: Remove the "main" bit from the "main body"
4208           notion.
4209
4210 2003-03-08  John Levon  <levon@movementarian.org>
4211
4212         * text.C (leftMargin): The left margin of an empty
4213         manual label paragraph should not include the label width
4214         string length.
4215
4216         * text.C (prepareToPrint): don't attempt to measure hfills
4217         for empty manual label paragraphs - the answer should be 0
4218
4219 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4220
4221         * CutAndPaste.C: remove commented code and reindent.
4222
4223 2003-03-08  John Levon  <levon@movementarian.org>
4224
4225         * lyxfunc.h:
4226         * lyxfunc.C: move reloadBuffer()
4227
4228         * BufferView.h:
4229         * BufferView.C: to here
4230
4231         * lyxvc.C: add comment
4232
4233         * vc-backend.h:
4234         * vc-backend.C: call bv->reload() to avoid
4235           getStatus() check on MENURELOAD
4236
4237 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4238
4239         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4240         to an old format .dep file.
4241
4242 2003-03-07  Angus Leeming  <leeming@lyx.org>
4243
4244         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4245         when the LFUN_MOUSE_RELEASE should have been handled by
4246         inset->localDispatch.
4247
4248 2003-03-07  Angus Leeming  <leeming@lyx.org>
4249
4250         * BufferView_pimpl.C (dispatch):
4251         * LyXAction.C (init):
4252         * ToolbarDefaults.C (init):
4253         * commandtags.h:
4254         * lyxfunc.C (getStatus):
4255         remove LFUN_INSET_GRAPHICS.
4256
4257         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4258
4259 2003-03-07  Angus Leeming  <leeming@lyx.org>
4260
4261         * commandtags.h:
4262         * LyXAction.C (init):
4263         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4264
4265         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4266
4267         * commandtags.h:
4268         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4269
4270         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4271         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4272
4273 2003-03-07  Angus Leeming  <leeming@lyx.org>
4274
4275         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4276         remove "ert".
4277
4278 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4279
4280         * ParagraphList.C (front): new function
4281         (back): implement
4282
4283 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4284
4285         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4286         and top_row_offset_. removed var first_y.
4287         * text.C (top_y):
4288         * text2.C (LyXText, removeRow):
4289         * text3.C:
4290         * BufferView_pimpl.C:
4291         use these methods instead of using first_y
4292
4293 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4294
4295         * text2.C (pasteSelection): adjust for checkPastePossible
4296
4297         * CutAndPaste.C: remove Paragraph * buf and replace with
4298         ParagraphList paragraphs.
4299         (DeleteBuffer): delete
4300         (cutSelection): change the tc type to textclass_type
4301         (copySelection): change the tc type to textclass_type
4302         (copySelection): adjust for ParagraphList
4303         (pasteSelection): change the tc type to textclass_type
4304         (pasteSelection): adjust for Paragraphlist
4305         (nrOfParagraphs): simplify for ParagraphList
4306         (checkPastePossible): simplify for ParagraphList
4307         (checkPastePossible): remove unused arg
4308
4309         * ParagraphList.C (insert): handle the case where there are no
4310         paragraphs yet.
4311
4312         * CutAndPaste.h: make CutAndPaste a namespace.
4313
4314         * text3.C (dispatch): adjust
4315
4316         * text.C (breakParagraph): add a ParagraphList as arg
4317
4318         * paragraph_funcs.C (breakParagraph): change to take a
4319         BufferParams and a ParagraphList as args.
4320         (breakParagraphConservative): ditto
4321         (mergeParagraph): ditto
4322         (TeXDeeper): add a ParagraphList arg
4323         (TeXEnvironment): ditto
4324         (TeXOnePar): ditto
4325
4326         * buffer.C (readLyXformat2): adjust
4327         (insertStringAsLines): adjust
4328         (latexParagraphs): adjust
4329
4330         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4331         (cutSelection): adjust
4332         (pasteSelection): adjust
4333
4334         * BufferView_pimpl.C (insertInset): adjust
4335
4336 2003-03-05  Angus Leeming  <leeming@lyx.org>
4337
4338         * commandtags.h:
4339         * LyXAction.C (init):
4340         * BufferView_pimpl.C (dispatch):
4341         * lyxfunc.C (getStatus):
4342         remove LFUN_CHILD_INSERT.
4343
4344         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4345
4346 2003-03-05  Angus Leeming  <leeming@lyx.org>
4347
4348         * commandtags.h:
4349         * LyXAction.C (init):
4350         * src/factory.C (createInset):
4351         * lyxfunc.C (getStatus):
4352         * text3.C (dispatch):
4353         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4354
4355         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4356
4357 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * ParagraphList.C (insert): handle insert right before end()
4360         (erase): fix cases where it can be first or last paragraph.
4361
4362 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4365         Paragraph::next and Paragraph::previous
4366         (TeXOnePar): ditto
4367
4368         * text.C (breakParagraph): adjust
4369
4370         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4371         BufferParams& as arg.
4372         (breakParagraph): use ParagraphList::insert
4373         (breakParagraphConservative): take a Buffer* instead of a
4374         BufferParams& as arg.
4375         (breakParagraphConservative): use ParagraphList::insert.
4376
4377         * buffer.C (insertStringAsLines): un-const it
4378         (insertStringAsLines): adjust
4379
4380         * ParagraphList.C (insert): new function
4381
4382         * CutAndPaste.C (pasteSelection): adjust
4383
4384         * text.C (backspace): adjust
4385
4386         * tabular.C (SetMultiColumn): adjust
4387
4388         * CutAndPaste.C (cutSelection): adjust
4389         (pasteSelection): adjust
4390
4391         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4392         Buffer const * as arg
4393
4394         * ParagraphList.C (erase): new function
4395         * paragraph_funcs.C (mergeParagraph): use it
4396         (mergeParagraph): make it take a Buffer* instead of a
4397         BufferParams* as arg
4398
4399         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4400         as arg
4401         (breakParagraphConservative): ditto
4402
4403         * paragraph.h: remove the breakParagraph friend
4404
4405         * paragraph.C (eraseIntern): new function
4406         (setChange): new function
4407
4408         * paragraph_funcs.C (mergeParagraph): make it take a
4409         ParagraphList::iterator instead of a Paragraph *, adjust
4410         accordingly.
4411
4412         * paragraph.h: move an #endif so that the change tracking stuff
4413         also works in the NO_NEXT case.
4414
4415 2003-03-04  Angus Leeming  <leeming@lyx.org>
4416
4417         * commandtags.h:
4418         * LyXAction.C: new LFUN_INSET_MODIFY.
4419
4420         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4421         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4422
4423 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4424
4425         * several files: ws changes only
4426
4427         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4428         (TeXEnvironment): ditto
4429         (TeXDeeper): ditto
4430
4431         * buffer.C (makeLaTeXFile): adjust
4432         (latexParagraphs): make it take ParagraphList::iterator as args
4433
4434 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * buffer.C (latexParagraphs): adjust
4437
4438         * paragraph.C (TeXOnePar): move function...
4439         (optArgInset): move function...
4440         (TeXEnvironment): move function...
4441         * paragraph_pimpl.C (TeXDeeper): move function...
4442         * paragraph_funcs.C: ...here
4443
4444         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4445
4446 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * buffer.C (readInset): remove compability code for old Figure and
4449         InsetInfo insets
4450
4451 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4452
4453         * buffer.C: ws changes
4454         (readInset):
4455
4456         * BufferView_pimpl.C: ditto
4457         * author.C: ditto
4458         * buffer.h: ditto
4459         * bufferlist.h: ditto
4460         * changes.h: ditto
4461         * lyxfunc.C: ditto
4462
4463 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4464
4465         * converter.[Ch]: split into itself +
4466         * graph.[Ch]
4467         * format.[Ch]
4468         * Makefile.am: += graph.[Ch] + format.[Ch]
4469         * MenuBackend.C
4470         * buffer.C
4471         * exporter.C
4472         * importer.C
4473         * lyx_main.C
4474         * lyxfunc.C
4475         * lyxrc.C: added #include "format.h"
4476
4477 2003-02-27  Angus Leeming  <leeming@lyx.org>
4478
4479         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4480           a label.
4481
4482         * factory.C (createInset): add "label" to the factory.
4483
4484         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4485           string and do no more.
4486
4487 2003-02-27  Angus Leeming  <leeming@lyx.org>
4488
4489         * commandtags.h:
4490         * LyXAction.C (init):
4491         * factory.C (createInset):
4492         * BufferView_pimpl.C (dispatch):
4493           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4494
4495         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4496
4497         * lyxfunc.C (dispatch):
4498         * text3.C (dispatch): pass name to params2string.
4499
4500 2003-02-26  Angus Leeming  <leeming@lyx.org>
4501
4502         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4503           blocks together.
4504           Rearrange the ~includes. Strip out the unnecessary ones.
4505
4506         * factory.C (createInset): reformat.
4507           create new insets for the various LFUN_XYZ_APPLY lfuns.
4508
4509 2003-02-26  John Levon  <levon@movementarian.org>
4510
4511         * lyxrow.h:
4512         * lyxrow.C: add isParStart,isParEnd helpers
4513
4514         * paragraph.h: make isInserted/DeletedText take refs
4515
4516         * paragraph_funcs.h:
4517         * paragraph_funcs.C: remove #if 0'd code
4518
4519         * lyxtext.h:
4520         * text3.C:
4521         * text2.C:
4522         * text.C: use lyxrow helpers above.
4523           Move draw and paint routines to RowPainter.
4524           Make several methods use refs not pointers.
4525           Make backgroundColor() const.
4526           Add markChangeInDraw(), isInInset().
4527           Merge changeRegionCase into changeCase.
4528           Make workWidth() shouldn't-happen code into an Assert.
4529
4530         * rowpainter.h:
4531         * rowpainter.C: new class for painting a row.
4532
4533         * vspace.h:
4534         * vspace.C: make inPixels take a ref
4535
4536 2003-02-26  Angus Leeming  <leeming@lyx.org>
4537
4538         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4539         LFUN_REF_APPLY.
4540
4541 2003-02-25  John Levon  <levon@movementarian.org>
4542
4543         * ispell.C: give the forked command a more accurate name
4544
4545 2003-02-22  John Levon  <levon@movementarian.org>
4546
4547         * toc.h:
4548         * toc.C: make TocItem store an id not a Paragraph *
4549           (bug #913)
4550
4551 2003-02-21  Angus Leeming  <leeming@lyx.org>
4552
4553         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4554           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4555           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4556           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4557           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4558           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4559
4560         * BufferView_pimpl.C (dispatch):
4561         * LyXAction.C (init):
4562         * factory.C (createInset):
4563         * lyxfunc.C (getStatus, dispatch):
4564         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4565
4566 2003-02-21  Angus Leeming  <leeming@lyx.org>
4567
4568         * BufferView_pimpl.C (MenuInsertLyXFile):
4569         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4570         * lyxfunc.C (menuNew, open, doImport):
4571           no longer pass a LyXView & to fileDlg.
4572
4573 2003-02-21  Angus Leeming  <leeming@lyx.org>
4574
4575         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4576         * LyXAction.C: change, BIBKEY to BIBITEM.
4577         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4578         Change InsetBibKey to InsetBibitem.
4579         Change BIBKEY_CODE to BIBITEM_CODE.
4580         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4581         * factory.C: replace insetbib.h with insetbibitem.h.
4582         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4583         * paragraph.C: replace insetbib.h with insetbibitem.h.
4584         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4585         Change bibkey() to bibitem().
4586         * text.C: remove insetbib.h.
4587         * text2.C: replace insetbib.h with insetbibitem.h.
4588         change bibkey() to bibitem().
4589         * text3.C: remove insetbib.h.
4590         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4591
4592 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4593
4594         * lyxrc.C (output): enclose user email in quotes (in case there are
4595         several words)
4596
4597 2003-02-18  John Levon  <levon@movementarian.org>
4598
4599         * buffer.h: add std::
4600
4601 2003-02-17  John Levon  <levon@movementarian.org>
4602
4603         * SpellBase.h:
4604         * ispell.h:
4605         * ispell.C:
4606         * pspell.h:
4607         * pspell.C: reworking. Especially in ispell, a large
4608           number of clean ups and bug fixes.
4609
4610         * lyxfunc.C: fix revert to behave sensibly
4611
4612 2003-02-17 André Pönitz <poenitz@gmx.net>
4613
4614         * LyXAction.C:
4615         * commandtags.h: new LFUN_INSERT_BIBKEY
4616
4617         * layout.h:
4618         * lyxlayout.C:
4619         * buffer.C:
4620         * factory.C:
4621         * text.C:
4622         * text2.C:
4623         * text3.C:
4624         * paragraph.[Ch]:
4625         * paragraph_func.C: remove special bibkey handling
4626
4627 2003-02-17  John Levon  <levon@movementarian.org>
4628
4629         * text.C (Delete): fix case where delete at the end of
4630           the very first paragraph would not merge the pars
4631
4632 2003-02-17  John Levon  <levon@movementarian.org>
4633
4634         * lyxrow.C: fix lastPrintablePos()
4635
4636 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4637
4638         * bufferparams.C (writeLaTeX): add a std:here
4639
4640         * buffer.C: and remove a using directive there
4641
4642 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4643
4644         * buffer.C (makeLaTeXFile): move the code that generates the
4645           preamble...
4646
4647         * bufferparams.C (writeLaTeX): ... in this new method
4648
4649         * LaTeXFeatures.C (getEncodingSet): make const
4650           (getLanguages): make const
4651
4652         * MenuBackend.C (binding): returns the binding associated to this
4653           action
4654           (add): sets the status of each item by calling getStatus. Adds
4655           some intelligence.
4656           (read): add support for OptSubMenu
4657           (expand): remove extra separator at the end of expanded menu
4658
4659 2003-02-15  John Levon  <levon@movementarian.org>
4660
4661         * BufferView.C:
4662         * BufferView_pimpl.C:
4663         * bufferlist.h:
4664         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4665           inset code that had no actual effect. Remove unneeded status
4666           code.
4667
4668 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4669
4670         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4671           in preamble
4672
4673 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4674
4675         * text.C (drawLengthMarker): also draw an arrow marker for
4676           symbolic lengths (medskip...)
4677
4678 2003-02-14  John Levon  <levon@movementarian.org>
4679
4680         * tabular.h:
4681         * tabular.C: better method names
4682
4683 2003-02-14  John Levon  <levon@movementarian.org>
4684
4685         * BufferView_pimpl.C:
4686         * bufferlist.C:
4687         * buffer.C:
4688         * converter.C:
4689         * lyx_cb.C:
4690         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4691           it's a more accurate name. Remove some pointless uses.
4692
4693 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4694
4695         * text2.C (LyXText): change order of initilizers to shut off
4696           warnings
4697
4698 2003-02-14  John Levon  <levon@movementarian.org>
4699
4700         * buffer.C: use ParIterator for getParFromID()
4701
4702         * paragraph.h:
4703         * paragraph.C:
4704         * paragraph_pimpl.h:
4705         * paragraph_pimpl.C: remove unused getParFromID()
4706
4707 2003-02-14  John Levon  <levon@movementarian.org>
4708
4709         * buffer.C: remove some very old #if 0'd parse code
4710
4711 2003-02-13  John Levon  <levon@movementarian.org>
4712
4713         * text.h:
4714         * text.C:
4715         * text2.C: move hfillExpansion(), numberOfSeparators(),
4716           rowLast(), rowLastPrintable(), numberofHfills(),
4717           numberOfLabelHfills() ...
4718
4719         * lyxrow.h:
4720         * lyxrow.C: ... to member functions here.
4721
4722         * paragraph.h:
4723         * paragraph.C:
4724         * lyxtext.h:
4725         * text.C: remove LyXText::beginningOfMainBody(), and call
4726           p->beginningOfMainBody() directly. Move the check for
4727           LABEL_MANUAL into the latter.
4728
4729         * text.h:
4730         * text.C:
4731         * text2.C:
4732         * vspace.C:
4733         * BufferView.h:
4734         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4735
4736         * text.h:
4737         * text.C:
4738         * text2.C:
4739         * text3.C:
4740         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4741           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4742
4743 2003-02-13  John Levon  <levon@movementarian.org>
4744
4745         * CutAndPaste.C: remove debug
4746
4747 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4748
4749         * paragraph.C (asString): remove two unused variables
4750
4751         * lyxtextclass.C (readTitleType):
4752           (Read):
4753           (LyXTextClass): handle new members titletype_ and titlename_
4754
4755         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4756
4757 2003-02-09  John Levon  <levon@movementarian.org>
4758
4759         * buffer.h:
4760         * buffer.C: replace hand-coded list with a map for the dep clean
4761
4762 2003-02-08  John Levon  <levon@movementarian.org>
4763
4764         * LaTeX.C: consolidate code into showRunMessage() helper
4765
4766 2003-02-08  John Levon  <levon@movementarian.org>
4767
4768         * lyxfind.C:
4769         * lyxtext.h:
4770         * text2.C:
4771         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4772           and pass the size in explicitly
4773
4774         * BufferView_pimpl.h:
4775         * BufferView_pimpl.C:
4776         * BufferView.h:
4777         * BufferView.C: add getCurrentChange()
4778
4779         * BufferView_pimpl.h:
4780         * BufferView_pimpl.C: handle change lfuns
4781
4782         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4783           for changes. Mark pasted paragraphs as new.
4784
4785         * support/lyxtime.h:
4786         * support/lyxtime.C:
4787         * DepTable.C: abstract time_t as lyx::time_type
4788
4789         * LColor.h:
4790         * LColor.C: add colours for new text, deleted text, changebars
4791
4792         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4793           package use "usenames" option.
4794
4795         * commandtags.h:
4796         * lyxfunc.C:
4797         * LyXAction.C: add change lfuns
4798
4799         * Makefile.am:
4800         * author.h:
4801         * author.C: author handling
4802
4803         * buffer.h:
4804         * buffer.C: add a per-buffer author list, with first entry as
4805           current author. Handle new .lyx tokens for change tracking. Output
4806           author list to .lyx file. Output dvipost stuff to .tex preamble.
4807           Bump lyx format to 222.
4808
4809         * bufferlist.h:
4810         * bufferlist.C: add setCurrentAuthor() to reset current author details
4811           in all buffers.
4812
4813         * bufferparams.h:
4814         * bufferparams.C: add param for tracking
4815
4816         * bufferview_funcs.C: output change info in minibuffer
4817
4818         * Makefile.am:
4819         * changes.h:
4820         * changes.C: add change-tracking structure
4821
4822         * debug.h:
4823         * debug.C: add CHANGES debug flag
4824
4825         * lyxfind.h:
4826         * lyxfind.C: add code for finding the next change piece
4827
4828         * lyxrc.h:
4829         * lyxrc.C: add user_name and user_email
4830
4831         * lyxrow.h:
4832         * lyxrow.C: add a metric for the top of the text line
4833
4834         * lyxtext.h:
4835         * text.C: implement accept/rejectChange()
4836
4837         * lyxtext.h:
4838         * text.C: paint changebars. Paint new/deleted text in the chosen
4839         colours. Strike through deleted text.
4840
4841         * paragraph.h:
4842         * paragraph.C:
4843         * paragraph_pimpl.h:
4844         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4845           in the current change to the insert functions. Rework erase to
4846           mark text as deleted, adding an eraseIntern() and a range-based
4847           erase(). Implement per-paragraph change lookup and
4848           accept/reject.
4849
4850         * paragraph_funcs.C: Fixup paste for change tracking.
4851
4852         * tabular.C: mark added row/columns as new.
4853
4854         * text.C: fix rowLast() to never return -1. Don't allow
4855           spellchecking of deleted text. Track transpose changes. Don't
4856           allow paragraph break or merge where appropriate.
4857
4858         * text2.C: leave cursor at end of selection after a cut.
4859
4860 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4861
4862         * text.C (getLengthMarkerHeight):
4863         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4864         visible on screen too.
4865
4866 2003-02-07  John Levon  <levon@movementarian.org>
4867
4868         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4869
4870 2003-02-05  Angus Leeming  <leeming@lyx.org>
4871
4872         * lyxserver.C (read_ready): revert my patch of 11 September last year
4873         as it sends PC cpu through the roof. Presumably this means that
4874         the lyxserver will no longer run on an Alpha...
4875
4876 2003-01-30  Angus Leeming  <leeming@lyx.org>
4877
4878         * factory.C (createInset): create an InsetCommandParam of type "index"
4879         and use it to 'do the right thing'.
4880
4881         * text2.C (getStringToIndex): ensure that cursor position is always
4882         reset to the reset_cursor position.
4883
4884 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4885
4886         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4887         disabled.
4888
4889 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4890
4891         * bufferview.C:
4892         * lyxcb.C:
4893         * lyxfunc.C: Output messages with identical spelling, punctuation,
4894         and spaces
4895
4896 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4897
4898         * MenuBackend.C (expandFormats): List only viewable export formats
4899         in "View" menu
4900
4901         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4902         message
4903
4904         * lyxfunc.C (getStatus): Make sure that formats other than
4905         "fax" can also be disabled
4906
4907 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4908
4909         * text3.C (dispatch): put the lfuns that insert insets in 3
4910         groups, and call doInsertInset with appropriate arguments.
4911         (doInsertInset): new function, that creates an inset and inserts
4912         it according to some boolean parameters.
4913
4914 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4915
4916         * buffer.C (readFile): remember to pass on 'par' when calling
4917         readFile recursively.
4918
4919 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4920
4921         * MenuBackend.C (expandFormats): add "..." to import formats.
4922
4923 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4924
4925         * paragraph.C (asString): Remove XForms RTL hacks.
4926
4927 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4928         * buffer.C: fix typo
4929
4930 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4931
4932         * Makefile.am (LIBS): delete var
4933         (lyx_LDADD): add @LIBS@ here instead.
4934
4935 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4936
4937         * Clarify the meaning of "wheel mouse jump"
4938
4939 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4940
4941         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4942         tabular in a float
4943
4944 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4945
4946         * importer.C (Loaders): do not preallocate 3 elements in the
4947         vector, since one ends up with 6 elements otherwise
4948
4949 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4950
4951         * DepTable.C (write): write the file name as last element of the
4952         .dep file (because it may contain spaces)
4953         (read): read info in the right order
4954
4955 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4956
4957         * paragraph_pimpl.C (simpleTeXBlanks):
4958         (simpleTeXSpecialChars):
4959         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4960
4961         * tabular.C (latex): add some missing case statements. Reindent.
4962
4963         * MenuBackend.C (expandToc): remove unused variable.
4964
4965 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4966
4967         * LColor.C:
4968         * LaTeX.C:
4969         * LyXAction.C:
4970         * MenuBackend.C:
4971         * buffer.C:
4972         * exporter.C:
4973         * lyxfunc.C:
4974         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4975         and the like.
4976
4977 2003-01-05  John Levon  <levon@movementarian.org>
4978
4979         * BufferView.h:
4980         * BufferView.C: add getEncoding()
4981
4982         * kbsequence.h:
4983         * kbsequence.C: do not store last keypress
4984
4985         * lyxfunc.h:
4986         * lyxfunc.C: store last keypress here instead. Pass encoding
4987           to getISOEncoded()
4988
4989 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4990
4991         * lyx_main.C (init): remove annoying error message when following
4992         symbolic links (bug #780)
4993
4994 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4995
4996         * text.C (insertChar):
4997         * lyxrc.C (getDescription): remove extra spaces
4998
4999 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5000
5001         * lyxrc.C (getDescription): remove extra spaces
5002
5003 2002-12-20  John Levon  <levon@movementarian.org>
5004
5005         * text3.C: hack fix for page up/down across tall rows
5006
5007 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5008
5009         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5010         not been invoked
5011
5012 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5013
5014         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5015         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5016         thesaurus is not compiled in
5017
5018 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5019
5020         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5021
5022 2002-12-16  Angus Leeming  <leeming@lyx.org>
5023
5024         * lyxrc.[Ch]:
5025         * lyx_main.C (init): remove override_x_deadkeys stuff.
5026
5027 2002-12-12  John Levon  <levon@movementarian.org>
5028
5029         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5030           insert. Only remove shift modifier under strict
5031           circumstances.
5032
5033 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5034
5035         * MenuBackend.C (expandToc): fix crash.
5036
5037 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5038
5039         * MenuBackend.C (expandToc): gettext on float names.
5040
5041 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5042
5043         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5044         implement bool empty() [bug 490]
5045
5046 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5047
5048         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5049
5050 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5051
5052         * several files: ws changes
5053
5054 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * text2.C (setCounter): clean up a bit, use boost.format.
5057         (updateCounters): initialize par upon declaration.
5058
5059         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5060         if the layout exists. We do not just store the layout any more.
5061         (SwitchLayoutsBetweenClasses): use boost.format
5062
5063 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5064
5065         * converter.C (convert): if from and to files are the same, use a
5066         temporary files as intermediary
5067
5068 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5069
5070         * commandtags.h:
5071         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5072
5073 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5074
5075         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5076
5077 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5078
5079         * tabular.C (asciiPrintCell): use string(size, char) instead of
5080         explicit loop.
5081
5082         * sgml.C (openTag): fix order of arguments to string constructor
5083         (closeTag): ditto
5084
5085         * lyxfunc.C (dispatch): use boost.format
5086
5087         * lots of files: change "c" -> 'c'
5088
5089 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5090
5091         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5092
5093 2002-11-25  Angus Leeming  <leeming@lyx.org>
5094
5095         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5096
5097         * lyx_main.C (init): compile fix.
5098
5099 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5100
5101         * lyx_cb.C (start): boost.formatify
5102         do not include <iostream>
5103
5104         * lengthcommon.C: ws only
5105
5106         * boost-inst.C,BoostFormat.h: add more explict instantations
5107
5108 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5109
5110         * lots of files: handle USE_BOOST_FORMAT
5111
5112 2002-11-21  John Levon  <levon@movementarian.org>
5113
5114         * pspell.C: fix compile
5115
5116 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5117
5118         * lyxfunc.C (dispatch): use boost::format
5119         (open): ditto
5120         (doImport): ditto
5121
5122         * lyxfont.C (stateText): use boost::format
5123
5124         * lyx_main.C (LyX): use boost::format
5125         (init): ditto
5126         (queryUserLyXDir): ditto
5127         (readRcFile): ditto
5128         (parse_dbg): ditto
5129         (typedef boost::function): use the recommened syntax.
5130
5131         * importer.C (Import): use boost::format
5132
5133         * debug.C (showLevel): use boost::format
5134
5135         * converter.C (view): use boost::format
5136         (convert): ditto
5137         (move): ditto
5138         (scanLog): ditto
5139
5140         * bufferview_funcs.C (currentState): use boost::format
5141
5142         * bufferlist.C (emergencyWrite): use boost::format
5143
5144         * buffer.C (readLyXformat2): use boost::format
5145         (parseSingleLyXformat2Token): ditto
5146
5147         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5148
5149         * LaTeX.C (run): use boost::format
5150
5151         * Chktex.C (scanLogFile): use boost::format
5152
5153         * BufferView_pimpl.C (savePosition): use boost::format
5154         (restorePosition): ditto
5155         (MenuInsertLyXFile): ditto
5156
5157         * BoostFormat.h: help file for explicit instation.
5158
5159 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5160
5161         * tabular.C (latex): Support for block alignment in fixed width
5162         columns.
5163
5164 2002-11-17  John Levon  <levon@movementarian.org>
5165
5166         * BufferView_pimpl.C:
5167         * lyx_cb.C:
5168         * lyxfunc.C: split filedialog into open/save
5169
5170 2002-11-08  Juergen Vigna  <jug@sad.it>
5171
5172         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5173         by my last patch (hopefully).
5174
5175 2002-11-08  John Levon  <levon@movementarian.org>
5176
5177         * iterators.h:
5178         * iterators.C:
5179         * buffer.h:
5180         * buffer.C:
5181         * paragraph.h:
5182         * paragraph.C:
5183         * toc.h:
5184         * toc.C: ParConstIterator, and use it (from Lars)
5185
5186 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5187
5188         * lyxtextclass.[Ch]: revise and add doxygen comments
5189
5190 2002-11-07  John Levon  <levon@movementarian.org>
5191
5192         * text.C: fix progress value for spellchecker
5193
5194         * toc.C: fix navigate menu for insetwrap inside minipage
5195
5196         * paragraph_funcs.C: added FIXME for suspect code
5197
5198 2002-11-07  John Levon  <levon@movementarian.org>
5199
5200         * BufferView_pimpl.C: fix redrawing of insets
5201           on buffer switch
5202
5203 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5204
5205         * text2.C (updateCounters): fix bug 668
5206
5207 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5208
5209         * text3.C (dispatch): Do not make the buffer dirty when moving the
5210         cursor.
5211
5212 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * vc-backend.C: STRCONV
5215         (scanMaster): ditto
5216
5217         * text2.C (setCounter): STRCONV
5218
5219         * paragraph.C (asString): STRCONV
5220
5221         * lyxlength.C (asString): STRCONV
5222         (asLatexString): ditto
5223
5224         * lyxgluelength.C (asString): STRCONV
5225         (asLatexString): ditto
5226
5227         * lyxfunc.C (dispatch): STRCONV
5228         (open): ditto
5229
5230         * lyxfont.C (stateText): STRCONV
5231
5232         * importer.C (Import): STRCONV
5233
5234         * counters.C (labelItem): STRCONV
5235         (numberLabel): ditto
5236         (numberLabel): remove unused ostringstream o
5237
5238         * chset.C: STRCONV
5239         (loadFile): ditto
5240
5241         * bufferview_funcs.C (currentState): STRCONV
5242
5243         * buffer.C (readFile): STRCONV
5244         (asciiParagraph): ditto
5245         (makeLaTeXFile): ditto
5246
5247         * Spacing.C (writeEnvirBegin): STRCONV
5248
5249         * LaTeXFeatures.C (getLanguages): STRCONV
5250         (getPackages): ditto
5251         (getMacros): ditto
5252         (getBabelOptions): ditto
5253         (getTClassPreamble): ditto
5254         (getLyXSGMLEntities): ditto
5255         (getIncludedFiles): ditto
5256
5257         * LaTeX.C: STRCONV
5258         (run): ditto
5259         (scanAuxFile): ditto
5260         (deplog): ditto
5261
5262         * LString.h: add the STRCONV macros
5263
5264         * BufferView_pimpl.C (savePosition): STRCONV
5265         (restorePosition): ditto
5266         (MenuInsertLyXFile): ditto
5267
5268         * vc-backend.C (scanMaster): change from submatch[...] to
5269         submatch.str(...)
5270
5271         * funcrequest.C: include config.h
5272
5273         * factory.C: include config.h
5274
5275         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5276
5277         * box.C: include config.h
5278
5279         * LaTeX.C (scanAuxFile): change from submatch[...] to
5280         submatch.str(...)
5281         (deplog): ditto
5282
5283 2002-10-25  Angus Leeming  <leeming@lyx.org>
5284
5285         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5286
5287         * ispell.[Ch] (setError): new method.
5288         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5289         Use setError() insetead of goto END.
5290
5291         * lyx_cb.C (AutoSave): move out child process into new class
5292         AutoSaveBuffer.
5293
5294 2002-10-30  John Levon  <levon@movementarian.org>
5295
5296         * text3.C: make start appendix undoable
5297
5298 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5299
5300         * lyxlength.C (inPixels): Fix returned value.
5301
5302         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5303         environment.
5304
5305 2002-10-24  Angus Leeming  <leeming@lyx.org>
5306
5307         * lyxgluelength.h: no need to forward declare BufferParams
5308         or BufferView, so don't.
5309
5310 2002-10-21  John Levon  <levon@movementarian.org>
5311
5312         * BufferView.C: menuUndo ->undo, redo
5313
5314         * BufferView.h: document, remove dead, make some methods private
5315
5316         * paragraph_funcs.h:
5317         * paragraph_funcs.C:
5318         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5319
5320         * buffer.h:
5321         * buffer.C:
5322         * sgml.h:
5323         * sgml.C: move sgml open/close tag into sgml.C
5324
5325         * bufferview_funcs.h: unused prototype
5326
5327         * lyxfunc.h:
5328         * lyxfunc.C: remove unused
5329
5330         * lyxtext.h:
5331         * text.C: remove unused
5332
5333 2002-10-21  John Levon  <levon@movementarian.org>
5334
5335         * BufferView.h:
5336         * BufferView.C:
5337         * BufferView_pimpl.h:
5338         * BufferView_pimpl.C: fix mouse wheel handling based on
5339           patch from Darren Freeman
5340
5341 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5342
5343         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5344
5345 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5346
5347         * lyxlength.C (inPixels): Fix hanfling of negative length.
5348         Fix LyXLength::MU case.
5349
5350 2002-10-16  John Levon  <levon@movementarian.org>
5351
5352         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5353
5354 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5355
5356         * converter.C (view): add support for $$i (file name) and $$p
5357         (file path) for the viewer command. If $$i is not specified, then
5358         it is appended to the command (for compatibility with old syntax)
5359
5360 2002-10-14  Juergen Vigna  <jug@sad.it>
5361
5362         * undo_funcs.C (textHandleUndo): alter the order in which the
5363         new undopar is added to the LyXText, as we have to set first
5364         the right prev/next and then add it as otherwise the rebuild of
5365         LyXText is not correct. Also reset the cursor to the right paragraph,
5366         with this IMO we could remove the hack in "redoParagraphs()".
5367
5368 2002-10-09  Angus Leeming  <leeming@lyx.org>
5369
5370         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5371         to turn off an optimisation if a new inset is to be inserted.
5372
5373 2002-10-11 André Pönitz <poenitz@gmx.net>
5374
5375         * lyxtext.h: make some functions public to allow access
5376         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5377
5378 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5379
5380         * text3.C (dispatch): when changing layout, avoid an infinite loop
5381         [bug #652]
5382
5383 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5384
5385         * lyxrc.C (read): treat a viewer or converter command of "none" as
5386         if it were empty.
5387
5388         * MenuBackend.C (expandFormats): for an update, also allow the
5389         formats that are not viewable
5390
5391         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5392         script if it is newer than the lyxrc.defaults in user directory
5393
5394 2002-10-07 André Pönitz <poenitz@gmx.net>
5395
5396         * text.C: Vitaly Lipatov's small i18n fix
5397
5398 2002-09-25  Angus Leeming  <leeming@lyx.org>
5399
5400         * ispell.h: doxygen fix.
5401
5402 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5403
5404         * buffer.h (readFile): Add a new argument to the method, to allow
5405         reading of old-format templates.
5406
5407 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5408
5409         * toc.C (getTocList): Get TOC from InsetWrap.
5410
5411 2002-09-16  John Levon  <levon@movementarian.org>
5412
5413         * lyxfunc.C: check tabular for cut/copy too
5414
5415 2002-09-12  John Levon  <levon@movementarian.org>
5416
5417         * LyXAction.C: tidy
5418
5419         * factory.h:
5420         * factory.C: add header
5421
5422         * paragraph_funcs.h:
5423         * paragraph_funcs.C: cleanup
5424
5425 2002-09-11  John Levon  <levon@movementarian.org>
5426
5427         * PrinterParams.h: odd/even default to true
5428
5429 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5430
5431         * PrinterParams.h: update printer parameters for new xforms dialog
5432
5433 2002-09-11  Angus Leeming  <leeming@lyx.org>
5434
5435         * lyxserver.C (read_ready): re-write to make it more transparent
5436         and to make it work in coherent fashion under Tru64 Unix.
5437
5438 2002-09-11  André Pönitz <poenitz@gmx.net>
5439
5440         * commandtags.h:
5441         * LyXAction.C:
5442         * text3.C: implement LFUN_WORDSEL
5443
5444 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5447         make floatlist_ a boost::shared_ptr<FloatList>
5448
5449         * lyxtextclass.C: include FloatList.h
5450         (LyXTextClass): initialize floatlist_
5451         (TextClassTags): add TC_NOFLOAT
5452         (Read): match "nofloat" to TC_NOFLOAT and use it.
5453         (readFloat): modify call to floatlist_
5454         (floats): ditto
5455         (floats): ditto
5456
5457         * FloatList.[Ch] (FloatList): remove commented out float
5458         initialization.
5459         (erase): new function
5460
5461 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5462
5463         * MenuBackend.C (expandToc): fix crash when there is no document
5464         open
5465
5466 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5467
5468         * many files: Add insetwrap.
5469
5470 2002-09-09  John Levon  <levon@movementarian.org>
5471
5472         * text2.C: remove confusing and awkward depth wraparound
5473
5474 2002-09-09  John Levon  <levon@movementarian.org>
5475
5476         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5477
5478         * buffer.h:
5479         * buffer.C: remove getIncludeonlyList()
5480
5481         * paragraph.C:
5482         * lyxfunc.C: remove headers
5483
5484 2002-09-09  Juergen Vigna  <jug@sad.it>
5485
5486         * text.C (getColumnNearX): fix form Michael this is most
5487         probably a cut&paste bug.
5488
5489 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5490
5491         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5492
5493         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5494         references, ws changes.
5495
5496         * text2.C (init): update counters after init
5497         (insertParagraph): no need to set counter on idividual paragraphs.
5498         (setCounter): access the counters object in the textclass object
5499         on in the buffer object.
5500         (updateCounters): ditto
5501
5502         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5503         shared_ptr<Counters> to avoid loading counters.h in all
5504         compilation units.
5505         (LyXTextClass): initialize ctrs_
5506         (TextClassTags): add TC_COUNTER, and ...
5507         (Read): use it here.
5508         (CounterTags): new tags
5509         (readCounter): new function
5510         (counters): new funtion
5511         (defaultLayoutName): return a const reference
5512
5513         * counters.C (Counters): remove contructor
5514         (newCounter): remove a couple of unneeded statements.
5515         (newCounter): simplify a bit.
5516         (numberLabel): some small formatting changes.
5517
5518         * buffer.[Ch]: remove all traces of counters, move the Counters
5519         object to the LyXTextClass.
5520
5521 2002-09-06  Alain Castera  <castera@in2p3.fr>
5522
5523         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5524         package to set the horizontal alignment on fixed width columns.
5525
5526         * lyx_sty.C:
5527         * lyx_sty.h: added tabularnewline macro def.
5528
5529         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5530
5531 2002-09-06  John Levon  <levon@movementarian.org>
5532
5533         * LyXAction.C: tooltips for sub/superscript
5534
5535         * MenuBackend.C: a bit more verbose
5536
5537         * lyxfunc.C: tiny clean
5538
5539         * undo_funcs.C: document undo_frozen
5540
5541 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5542
5543         * counters.C (Counters): add missing algorithm counter.
5544
5545         * text2.C (setCounter): lookup the counter with layouts latexname
5546         instead of by section number.
5547         (setCounter): use a hackish way to lookup the correct enum
5548         counter.
5549         a float name->type change
5550         reset enum couners with counter name directly instead of depth value.
5551
5552         * counters.C (Counters): remove the push_backs, change to use the
5553         float type not the float name.
5554         (labelItem): remove unused string, float name->type change
5555
5556         * counters.h: don't include vector, loose the enums and sects vectors
5557
5558 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5561         (Read): add float->TC_FLOAT to textclassTags
5562         (Read): and handle it in the switch
5563         (readFloat): new function
5564
5565         * FloatList.C (FloatList): comment out the hardcoded float
5566         definitions.
5567
5568         * lyxlayout.h: ws change.
5569
5570 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5571
5572         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5573
5574 2002-09-03  Angus Leeming  <leeming@lyx.org>
5575
5576         * BufferView_pimpl.h: qualified name is not allowed in member
5577         declaration: WorkArea & Pimpl::workarea() const;
5578
5579         * factory.C: added using std::endl directive.
5580
5581         * text3.C: added using std::find and std::vector directives.
5582
5583 2002-08-29  André Pönitz <poenitz@gmx.net>
5584
5585         * lyxtext.h:
5586         * text2.C: remove unused member number_of_rows
5587
5588         * Makefile.am:
5589         * BufferView2.C: remove file, move contents to...
5590         * BufferView.C: ... here
5591
5592         * BufferView_pimpl.C:
5593         * factory.C: move more inset creation to factory
5594
5595         * vspace.C: avoid direct usage of LyXText, ws changes
5596
5597         * BufferView.[Ch]:
5598                 don't provide direct access to WorkArea, use two simple
5599                 acessors haveSelction() and workHeight() instead
5600
5601
5602 2002-08-29  John Levon  <levon@movementarian.org>
5603
5604         * BufferView_pimpl.C (dispatch): do not continue when
5605           no buffer
5606
5607 2002-08-28  André Pönitz <poenitz@gmx.net>
5608
5609         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5610
5611         * BufferView.h:
5612         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5613
5614 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5615
5616         * buffer.C: increment LYX_FORMAT to 221
5617
5618         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5619         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5620
5621         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5622
5623         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5624
5625 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5626
5627         * factory.C (createInset): use LyXTextClass::floats
5628
5629         * MenuBackend.C (expandFloatListInsert):
5630         (expandFloatInsert):
5631         (expandToc):
5632
5633         * text2.C (setCounter):
5634
5635         * LaTeXFeatures.C (useFloat):
5636         (getFloatDefinitions):
5637
5638         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5639
5640         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5641         floatlist_, with accessor floats().
5642
5643         * FloatList.h: remove global FloatList
5644
5645 2002-08-26  André Pönitz <poenitz@gmx.net>
5646
5647         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5648
5649         * BufferView.h:
5650         * BufferView2.C:
5651         * BufferView_pimpl.C:
5652         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5653
5654 2002-08-25  John Levon  <levon@movementarian.org>
5655
5656         * LyXAction.C: fix margin note description
5657
5658 2002-08-24  John Levon  <levon@movementarian.org>
5659
5660         * buffer.C:
5661         * bufferlist.C:
5662         * bufferview_funcs.C:
5663         * lyxfont.C:
5664         * undo_funcs.C: cleanups
5665
5666         * lyxfunc.C: disable CUT/COPY when no selection
5667
5668 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5669
5670         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5671         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5672
5673         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5674         Add backward compatibility to "mono", "gray" and "no".
5675
5676 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5677
5678         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5679         (and file_format >= 200).
5680
5681 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5682
5683         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5684
5685 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5686
5687         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5688
5689 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5690
5691         * BufferView_pimpl.C:
5692         * LyXAction.C:
5693         * buffer.C:
5694         * commandtags.h:
5695         * lyxfunc.C:
5696         * paragraph.[Ch]:
5697         * text2.C:
5698         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5699         inset and code to make it  work with the paragraph code. The inset
5700         can be anywhere in the paragraph, but will only do the expected
5701         thing in LaTeX if the layout file contains the parameter line
5702                         OptionalArgs    1
5703         (or more generally, a nonzero value) for that layout.
5704
5705 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5706
5707         * paragraph.h: remove the declaration of undefined counters class
5708         function.
5709
5710 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5711
5712         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5713         Dr. Richard Hawkins.
5714
5715 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5716
5717         * paragraph_funcs.h: remove some unneeded includes
5718
5719         * text.C (backspace): pasteParagraph now in global scipe
5720
5721         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5722         (pasteSelection): ditto
5723
5724         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5725         * paragraph_funcs.C (pasteParagraph): ... here
5726
5727 2002-08-20  André Pönitz <poenitz@gmx.net>
5728
5729         * commandtags.h: new LFUNs for swapping/copying table row/colums
5730
5731         * LyXAction.C:
5732         * lyxfunc.C: support for new lfuns
5733
5734 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5735
5736         * tabular.C:
5737         * buffer.[Ch]: remove NO_COMPABILITY stuff
5738
5739 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5740
5741         * boost.C (throw_exception): new file, with helper function for
5742         boost compiled without exceptions.
5743
5744         * paragraph.h:
5745         * lyxlength.C:
5746         * buffer.C:
5747         * ParameterStruct.h:
5748         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5749
5750         * bufferlist.C (emergencyWriteAll): use boost bind
5751
5752         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5753
5754         * text.C: include paragraph_funcs.h
5755         (breakParagraph): breakParagraph is now in global scope
5756
5757         * paragraph_funcs.[Ch]: new files
5758
5759         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5760         global scope
5761
5762         * buffer.C: include paragraph_funcs.h
5763         (insertStringAsLines): breakParagraph is now in global scope
5764
5765         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5766         paragraph_funcs.C
5767
5768         * CutAndPaste.C: include paragraph_funcs.h
5769         (cutSelection): breakParagraphConservative is now in global scope
5770         (pasteSelection): ditto
5771
5772         * buffer.h: declare oprator== and operator!= for
5773         Buffer::inset_iterator
5774
5775         * bufferlist.C (emergencyWrite): don't use fmt(...)
5776
5777         * text3.C: add using std::endl
5778
5779         * BufferView.C (moveCursorUpdate): remove default arg
5780
5781 2002-08-20  André Pönitz <poenitz@gmx.net>
5782
5783         * buffer.[Ch]: move inline functions to .C
5784
5785         * BufferView2.C:
5786         * BufferView_pimpl.C:
5787         * text.C:
5788         * buffer.[Ch]: use improved inset_iterator
5789
5790         * buffer.C:
5791         * paragraph.[Ch]: write one paragraph at a time
5792
5793 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5794
5795         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5796         style if style is not specified.
5797
5798 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5799
5800         * text2.C (setCounter): when searching for right label for a
5801         caption, make sure to recurse to parent insets (so that a caption
5802         in a minipage in a figure float works) (bug #568)
5803
5804 2002-08-20  André Pönitz <poenitz@gmx.net>
5805
5806         * text3.C: new file for LyXText::dispatch() and helpers
5807
5808         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5809
5810         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5811
5812 2002-08-19  André Pönitz <poenitz@gmx.net>
5813
5814         * lyxtext.h:
5815         * text.C: new LyXText::dispatch()
5816
5817         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5818
5819 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5820
5821         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5822
5823         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5824         Hebrew text.
5825
5826 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5827
5828         * Makefile.am: use $(variables) instead of @substitutions@
5829
5830 2002-08-15  André Pönitz <poenitz@gmx.net>
5831
5832         * lyxfunc.C:
5833         * BufferView_pimpl.C: streamlining mathed <-> outer world
5834         interaction
5835
5836         * commandtags.h:
5837         * LyXAction.C: remove unused LFUN_MATH
5838
5839 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5840
5841         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5842
5843 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5844
5845         * paragraph.C (Paragraph): reformat a bit
5846         (cutIntoMinibuffer): use builtin InsetList function instad of
5847         doing it manually.
5848         (getInset): ditto
5849
5850         * buffer.C: include boost/bind.hpp, add using std::for_each
5851         (writeFileAscii): use ParagraphList iterators
5852         (validate): use for_each for validate traversal of paragraphs
5853         (getBibkeyList): use ParagraphList iterators
5854         (resizeInsets): use for_each to resizeInsetsLyXText for all
5855         paragraphs.
5856         (getParFromID): use ParagraphList iterators
5857
5858         * BufferView2.C (lockInset): use paragraph list and iterators
5859
5860 2002-08-14  John Levon  <levon@movementarian.org>
5861
5862         * lyxserver.C: remove spurious xforms include
5863
5864 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5865
5866         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5867
5868 2002-08-13  André Pönitz <poenitz@gmx.net>
5869
5870         * LyXAction.[Ch]:
5871         * lyxfunc.C: further cleaning
5872
5873 2002-08-13  André Pönitz <poenitz@gmx.net>
5874
5875         * funcrequest.h: new constructor
5876
5877         * funcrequest.C: move stuff here from .h
5878
5879         * Makefile.am:
5880         * BufferView_pimpl.C:
5881         * LyXAction.C:
5882         * toc.C:
5883         * lyxfunc.C: subsequent changes
5884
5885         * lyxfunc.h: new view() member function
5886
5887         * lyxfunc.C: subsequent changes
5888
5889 2002-08-13  Angus Leeming  <leeming@lyx.org>
5890
5891         * BufferView2.C:
5892         * BufferView_pimpl.C:
5893         * buffer.C:
5894         * converter.C:
5895         * importer.C:
5896         * lyxfunc.C:
5897         * lyxvc.C:
5898         * toc.C:
5899         * vc-backend.C:
5900         changes due to the changed LyXView interface that now returns references
5901         to member variables not pointers.
5902
5903 2002-08-13  Angus Leeming  <leeming@lyx.org>
5904
5905         * WordLangTuple (word, lang_code): return references to strings,
5906         not strings.
5907
5908         * BufferView.h:
5909         * SpellBase.h:
5910         * lyxtext.h: forward-declare WordLangTuple.
5911
5912         * BufferView2.C:
5913         * ispell.C:
5914         * pspell.C:
5915         * text.C: #include "WordLangTuple.h".
5916
5917         * lyxtext.h:
5918         * text.C: (selectNextWordToSpellcheck): constify return type.
5919
5920 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5921
5922         * buffer.C:
5923         * buffer.h:
5924         * lyxtext.h:
5925         * paragraph.C:
5926         * paragraph_pimpl.h:
5927         * text.C:
5928         * text2.C:
5929         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5930         suggested by Angus.
5931         Made updateCounter always count from start of buffer, and removed
5932         second argument (par).
5933         Reverted floats number display to '#'. Perhaps I'll try again when the
5934         code base is sanitized a bit.
5935
5936 2002-08-12  Angus Leeming  <leeming@lyx.org>
5937
5938         * buffer.[Ch] (getLabelList): constify.
5939
5940 2002-08-07  André Pönitz <poenitz@gmx.net>
5941
5942         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5943
5944         * funcrequest.h: extension to keep mouse (x,y) position
5945
5946 2002-08-12  Juergen Vigna  <jug@sad.it>
5947
5948         * BufferView2.C (insertErrors): forbid undo when inserting error
5949         insets.
5950
5951         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5952
5953 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5954
5955         * ParagraphList.[Ch]: new files
5956
5957         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5958
5959         * BufferView2.C (lockInset): ParagraphList changes
5960         * toc.C: ditto
5961         * text2.C: ditto
5962         * bufferlist.C: ditto
5963         * buffer.h: ditto
5964         * buffer.C: ditto
5965
5966 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5967
5968         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5969         unused class variable counter_,
5970
5971         * paragraph.[Ch] (getFirstCounter): delete unused function
5972
5973         * counters.C: include LAssert.h
5974         (reset): add a new function with no arg, change other version to
5975         not have def. arg and to not allow empty arg.
5976
5977         * text2.C (setCounter): remove empty arg from call to Counters::reset
5978
5979 2002-08-11  John Levon  <levon@movementarian.org>
5980
5981         * Makefile.am: add WordLangTuple.h
5982
5983 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5984
5985         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5986         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5987
5988         * insets/insettext.C: InsetList changes
5989
5990         * graphics/GraphicsSupport.C (operator()): InsetList changes
5991
5992         * toc.C (getTocList): InsetList changes
5993
5994         * paragraph_pimpl.[Ch]: InsetList changes
5995
5996         * paragraph.[Ch]: InsetList changes
5997
5998         * buffer.C (inset_iterator): InsetList changes
5999         (setParagraph): ditto
6000         * buffer.h (inset_iterator): ditto
6001         * iterators.C (operator++): ditto
6002         * iterators.h: ditto
6003
6004         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6005
6006         * InsetList.[Ch]: new files, most InsetList handling moved out of
6007         paragraph.C.
6008
6009         * BufferView2.C (removeAutoInsets): InsetList changes
6010         (lockInset): ditto
6011         (ChangeInsets): ditto
6012
6013 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6014
6015         * paragraph_pimpl.h (empty): new function
6016
6017         * paragraph.[Ch] (empty): new function
6018
6019         * other files: use the new Paragraph::empty function
6020
6021 2002-08-09  John Levon  <levon@movementarian.org>
6022
6023         * lyxtext.h: remove unused refresh_height
6024
6025 2002-08-09  John Levon  <levon@movementarian.org>
6026
6027         * Makefile.am:
6028         * sgml.h:
6029         * sgml.C:
6030         * buffer.C:
6031         * paragraph.h:
6032         * paragraph.C: move sgml char escaping out of paragraph
6033
6034         * paragraph.h:
6035         * paragraph.C: remove id setter
6036
6037         * buffer.C:
6038         * paragraph.C:
6039         * paragraph_pimpl.C: remove dead tex_code_break_column
6040
6041         * bufferview_funcs.C: small cleanup
6042
6043         * lyxfunc.C: remove dead proto
6044
6045         * lyxtext.h: make some stuff private. Remove some dead stuff.
6046
6047         * lyxgluelength.C: make as[LyX]String() readable
6048
6049 2002-08-08  John Levon  <levon@movementarian.org>
6050
6051         * LyXAction.h:
6052         * LyXAction.C:
6053         * MenuBackend.C:
6054         * ToolbarDefaults.C:
6055         * lyxfunc.C:
6056         * lyxrc.C:
6057         * toc.C: lyxaction cleanup
6058
6059 2002-08-08  John Levon  <levon@movementarian.org>
6060
6061         * BufferView2.C: small cleanup
6062
6063         * lyxfind.h:
6064         * lyxfind.C: move unnecessary header into the .C
6065
6066 2002-08-08  John Levon  <levon@movementarian.org>
6067
6068         * funcrequest.h: just tedious nonsense
6069
6070         * lyx_main.h:
6071         * lyx_main.C: cleanups
6072
6073         * buffer.C:
6074         * vspace.C: remove dead header lyx_main.h
6075
6076 2002-08-07  Angus Leeming  <leeming@lyx.org>
6077
6078         * Paragraph.[Ch]:
6079         * paragraph_pimpl.h:
6080         Forward declare class Counters in paragraph.h by moving the ctrs member
6081         variable into Paragraph::Pimpl.
6082         (counters): new method, returning a reference to pimpl_->ctrs.
6083
6084         * text2.C: ensuing changes.
6085
6086 2002-08-07  John Levon  <levon@movementarian.org>
6087
6088         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6089
6090         * BufferView_pimpl.C: announce X selection on double/triple
6091           click
6092
6093         * lyx_main.C: use correct bool in batch dispatch
6094
6095         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6096
6097 2002-08-07  André Pönitz <poenitz@gmx.net>
6098
6099         * funcrequest.h: new class to wrap a kb_action and its argument
6100
6101         * BufferView.[Ch]:
6102         * BufferView_pimpl[Ch]:
6103         * LaTeX.C:
6104         * LyXAction.[Ch]:
6105         * lyxfunc.[Ch]:
6106         * lyxrc.C: subsequent changes
6107
6108
6109 2002-08-07  John Levon  <levon@movementarian.org>
6110
6111         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6112           document options change.
6113
6114 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6115
6116         * counters.[Ch]
6117         * text2.C
6118         * paragraph.[Ch]
6119         * makefile.am: move counters functionality over from
6120         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6121
6122 2002-08-06  John Levon  <levon@movementarian.org>
6123
6124         * WordLangTuple.h: new file for word + language code tuple
6125
6126         * SpellBase.h:
6127         * pspell.h:
6128         * pspell.C:
6129         * ispell.h:
6130         * ispell.C:
6131         * lyxtext.h:
6132         * text.C:
6133         * text2.C:
6134         * BufferView.h:
6135         * BufferView2.C: use WordLangTuple
6136
6137         * layout.h:
6138         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6139
6140 2002-08-06  John Levon  <levon@movementarian.org>
6141
6142         * lyx_main.C: fix cmdline batch handling
6143
6144 2002-08-06  André Pönitz <poenitz@gmx.net>
6145
6146         * lyxrc.C: set default for show_banner to true
6147
6148 2002-08-06  John Levon  <levon@movementarian.org>
6149
6150         * pspell.C: fix a crash, and allow new aspell to work
6151
6152 2002-08-06  John Levon  <levon@movementarian.org>
6153
6154         * lyxfunc.C:
6155         * kbmap.C: small cleanup
6156
6157         * vspace.h:
6158         * vspace.C: add const
6159
6160 2002-08-05  John Levon  <levon@movementarian.org>
6161
6162         * LyXAction.C: back to tabular-insert
6163
6164 2002-08-04  John Levon  <levon@movementarian.org>
6165
6166         * BufferView.h:
6167         * BufferView.C: cosmetic change
6168
6169         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6170
6171         * bufferlist.C:
6172         * buffer.h:
6173         * buffer.C:
6174         * lyxcb.h:
6175         * lyxcb.C:
6176         * lyxserver.C:
6177         * lyxvc.C:
6178         * vc-backend.C:
6179         * BufferView2.C: purge all "Lyx" not "LyX" strings
6180
6181         * lyxcursor.h:
6182         * lyxcursor.C: attempt to add some documentation
6183
6184         * lyxfunc.C:
6185         * commandtags.h:
6186         * LyXAction.C:
6187         * ToolbarDefaults.C:
6188         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6189           merge with LFUN_TABULAR_INSERT
6190
6191         * Makefile.am:
6192         * SpellBase.h:
6193         * ispell.h:
6194         * ispell.C:
6195         * pspell.h:
6196         * pspell.C: split up i/pspell implementations into separate
6197           files, many cleanups
6198
6199         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6200
6201         * text2.C: some cleanup
6202
6203         * lyxfunc.C: don't check for isp_command == "none" any more, it
6204           didn't make any sense
6205
6206 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6207
6208         * counters.[Ch]
6209         * text2.C
6210         * paragraph.[Ch]
6211         * makefile.am: move counters functionality over
6212         from text2.C/paragraph.[Ch] to counters.[Ch], and
6213         make proper C++.
6214 2002-08-02  John Levon  <levon@movementarian.org>
6215
6216         * buffer.C: s/lyxconvert/lyx2lyx/
6217
6218 2002-08-02  Angus Leeming  <leeming@lyx.org>
6219
6220         * lyxlex.C: revert John's change as it breaks reading of the user
6221         preamble.
6222
6223 2002-08-02  Angus Leeming  <leeming@lyx.org>
6224
6225         * importer.C (Import):
6226         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6227         changes due to LyXView::view() now returning a boost::shared_ptr.
6228
6229 2002-08-02  John Levon  <levon@movementarian.org>
6230
6231         * lyxlex.C: small cleanup
6232
6233 2002-08-02  John Levon  <levon@movementarian.org>
6234
6235         * text2.C (status): small cleanup, no logic change
6236
6237 2002-08-01  John Levon  <levon@movementarian.org>
6238
6239         * buffer.h:
6240         * buffer.C (writeFile): don't output alerts, caller
6241           handles this
6242
6243         * bufferlist.C:
6244         * lyx_cb.C: from above
6245
6246         * lyxfunc.C: allow to open non-existent files
6247
6248 2002-07-31  John Levon  <levon@movementarian.org>
6249
6250         * lyxserver.C: don't let incidental errors get
6251           in the way (errno)
6252
6253 2002-07-30  John Levon  <levon@movementarian.org>
6254
6255         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6256
6257 2002-07-30  John Levon  <levon@movementarian.org>
6258
6259         * lyxserver.h:
6260         * lyxserver.C: remove I/O callback too
6261
6262 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6263
6264         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6265         log.
6266
6267 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * many files: strip,frontStrip -> trim,ltrim,rtrim
6270
6271 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6272
6273         * PrinterParams.h: remove extern containsOnly, and include
6274         support/lstrings.h instead.
6275
6276         * LaTeX.C (scanAuxFile): modify because of strip changes
6277         (deplog): ditto
6278         * buffer.C (makeLaTeXFile): ditto
6279         * bufferparams.C (writeFile): ditt
6280         * lyxfont.C (stateText): ditto
6281         * lyxserver.C (read_ready): ditto
6282         * vc-backend.C (scanMaster): ditto
6283
6284         * BufferView_pimpl.h: ws changes
6285
6286         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6287
6288 2002-07-26  André Pönitz <poenitz@gmx.net>
6289
6290         * kb_sequence.C: remove unnedred usings
6291
6292 2002-07-26  Juergen Vigna  <jug@sad.it>
6293
6294         * lyxfind.C (LyXReplace): we have to check better if the returned
6295         text is not of theLockingInset()->getLockingInset().
6296
6297 2002-07-25  Juergen Vigna  <jug@sad.it>
6298
6299         * lyxfind.C (LyXReplace): don't replace if we don't get the
6300         right LyXText.
6301
6302         * undo_funcs.C (createUndo): remove debugging code.
6303
6304 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6305
6306         * buffer.C (parseSingleLyXformat2Token): Use default placement
6307         when reading old floats.
6308
6309         * FloatList.C (FloatList): Change the default placement of figure
6310         and tables to "tbp".
6311
6312 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6313
6314         * MenuBackend.C: using std::max
6315
6316 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6317
6318         * MenuBackend.C (expandToc):
6319         (expandToc2): code moved from xforms menu frontend. It is now
6320         generic and TOCs are transparent to menu frontends.
6321
6322 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6323
6324         * toc.C (getTocList): protect against buf=0
6325
6326         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6327         Menu as first parameter. Now, this calls itself recursively to
6328         expand a whole tree (this will be useful for TOC handling)
6329         (expandFloatInsert): remove 'wide' version of floats
6330
6331         * MenuBackend.h (submenuname): returns the name of the submenu.
6332         (submenu): returns the submenu itself, provided it has been
6333         created by MenuBackend::expand
6334
6335 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6336
6337         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6338         insets which have noFontChange == true. (bug #172)
6339
6340 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6341
6342         * BufferView_pimpl.C: add connection objects and use them...
6343         (Pimpl): here.
6344
6345 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6346
6347         * MenuBackend.C (expandLastfiles):
6348         (expandDocuments):
6349         (expandFormats):
6350         (expandFloatListInsert):
6351         (expandFloatInsert):
6352         (expand): split expand in parts
6353
6354 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6355
6356         * lyx_gui.C: use lyx_gui::exit()
6357
6358 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6359
6360         * LyXAction.C: show the failing pseudo action
6361
6362 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6363
6364         * buffer.C (readFile): Run the lyxconvert script in order to read
6365         old files.
6366
6367 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6368
6369         * LyXAction.C:
6370         * commandtags.h:
6371         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6372
6373 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6374
6375         * LyXAction.C:
6376         * commandtags.h:
6377         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6378
6379 2002-07-22  Herbert Voss  <voss@lyx.org>
6380
6381         * lengthcommon.C:
6382         * lyxlength.[Ch]: add support for the vertical lengths
6383
6384 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6385
6386         * toc.[Ch]: std:: fixes
6387
6388 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6389
6390         * lyxrc.C: do not include lyx_main.h
6391
6392         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6393         for layouts
6394
6395         * lyxrc.C:
6396         * encoding.C:
6397         * bufferlist.C:
6398         * BufferView2.C: include "lyxlex.h"
6399
6400         * tabular.h:
6401         * bufferparams.h: do not #include "lyxlex.h"
6402
6403         * lyxtextclasslist.C (Add): remove method
6404         (classlist): renamed to classlist_
6405
6406         * paragraph_pimpl.C:
6407         * paragraph.C:
6408         * text2.C:
6409         * CutAndPaste.C:
6410         * bufferview_funcs.C:
6411         * bufferlist.C:
6412         * text.C:
6413         * LaTeXFeatures.C:
6414         * buffer.C:
6415         * toc.C (getTocList): use BufferParams::getLyXTextClass
6416
6417         * toc.C (getTocList): use InsetFloat::addToToc
6418
6419         * toc.[Ch]: new files, containing helper functions to handle table
6420         of contents
6421
6422         * lyxfunc.C (dispatch): no need to remove spaces around command
6423         given as a string
6424         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6425         first command of the sequence; it is not very clever, but I do not
6426         have a better idea, actually
6427
6428         * LyXAction.C (LookupFunc): make sure to remove space at the
6429         beginning and end of the command
6430
6431 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6432
6433         * MenuBackend.C (getMenubar): new method: return the menubar of
6434         this menu set
6435         (read): treat differently reading of menu and menubar (in
6436         particular, the menubar has no name now)
6437         (Menu::menubar): remove
6438
6439         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6440         saving is finished
6441
6442 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6443
6444         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6445         a bibitem inset in a RTL paragraph.
6446
6447 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6448
6449         * paragraph_pimpl.C: constify
6450
6451         * BufferView_pimpl.C:
6452         * LaTeX.C:
6453         * lyxfunc.C: fix dispatch in a nicer way
6454
6455 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6456
6457         * lyxfunc.C (dispatch):
6458         * BufferView_pimpl.C:
6459         * BufferView_pimpl.h:
6460         * BufferView.C:
6461         * BufferView.h: rename Dispatch() to dispatch()
6462
6463         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6464
6465         * lyxlayout.C (Read): honor DependsOn tag
6466
6467         * lyxlayout.[Ch] (depends_on): new method
6468
6469         * version.C.in: update lyx_docversion
6470
6471         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6472
6473         * paragraph.C (validate): remove from here...
6474         * paragraph_pimpl.C (validate): ... and move here
6475         (isTextAt): make it const
6476
6477         * buffer.C (getLists): ws cleanup
6478
6479 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6480
6481         * language.C (read): Use iso8859-1 encoding in latex_lang
6482         (this prevents LyX from crashing when using iso10646-1 encoding).
6483
6484 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6485
6486         * text2.C (toggleInset): if cursor is inside an inset, close the
6487         inset and leave cursor _after_ it
6488
6489 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6490
6491         * lyxfunc.C: move minibuffer completion handling out of here
6492
6493 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6494
6495         * BufferView_pimpl.C:
6496         * LaTeX.C: fix dispatch calls
6497
6498 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6499
6500         * text.C (drawChars): Fix Arabic text rendering.
6501
6502 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6503
6504         * LyXAction.C:
6505         * commandtags.h:
6506         * lyxfunc.C: remove message-push/pop
6507
6508         * lyxserver.C:
6509         * lyxfunc.h:
6510         * lyxfunc.C: rationalise some code by removing verboseDispatch
6511           in favour of a bool argument to dispatch()
6512
6513 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6514
6515         * lyx_main.C (init): make sure to read symlinks as absolute paths
6516
6517 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6518
6519         * lyxfunc.h:
6520         * lyxfunc.C: no need for commandshortcut to be a member
6521
6522 2002-07-15  André Pönitz <poenitz@gmx.net>
6523
6524         * converter.C: add support for $$s (scripts from lib/scripts dir)
6525         * lyx_main.C: white space
6526
6527 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6528
6529         * bufferlist.C:
6530         * lyxrc.h:
6531         * lyxrc.C: remove second exit confirmation
6532
6533 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6534
6535         * BufferView.h:
6536         * BufferView.C:
6537         * BufferView2.C:
6538         * BufferView_pimpl.h:
6539         * BufferView_pimpl.C:
6540         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6541
6542 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6543
6544         * MenuBackend.C (expand): add numeric shortcuts to document menu
6545
6546         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6547
6548 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6549
6550         * lyxfont.C (setLyXFamily):
6551         (setLyXSeries):
6552         (setLyXShape):
6553         (setLyXSize):
6554         (setLyXMisc):
6555         (lyxRead):
6556         * debug.C (value):
6557         * buffer.C (asciiParagraph): use ascii_lowercase
6558
6559 2002-07-15  Mike Fabian  <mfabian@suse.de>
6560
6561         * lyxlex_pimpl.C (search_kw):
6562         * lyxlex.C (getLongString):
6563         * converter.h (operator<):
6564         * converter.C (operator<):
6565         * buffer.C (parseSingleLyXformat2Token):
6566         (asciiParagraph):
6567         * ToolbarDefaults.C (read):
6568         * MenuBackend.C (checkShortcuts):
6569         (read):
6570         * LColor.C (getFromGUIName):
6571         (getFromLyXName): use the compare_ascii_no_case instead of
6572         compare_no_case, because in turkish, 'i' is not the lowercase
6573         version of 'I', and thus turkish locale breaks parsing of tags.
6574
6575 2002-07-16  Angus Leeming  <leeming@lyx.org>
6576
6577         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6578         now takes a Buffer const & argument.
6579
6580 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6581
6582         * BufferView.C (resize): check there's a buffer to resize
6583
6584 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6585
6586         * lyxfunc.C: remove dead code
6587
6588         * lyxserver.h:
6589         * lyxserver.C: use lyx_guii::set_read_callback
6590
6591 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6592
6593         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6594         an inset in a RTL paragraph.
6595
6596 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6597
6598         * lyxfunc.C: repaint after a font size update
6599
6600 2002-07-15  André Pönitz <poenitz@gmx.net>
6601
6602         * lyxlength.C: inBP should be able to return negative values
6603
6604 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6605
6606         * lyxfunc.C: use lyx_gui::update_fonts()
6607
6608 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6609
6610         * lyxfunc.C: use lyx_gui::update_color()
6611
6612 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6613
6614         * bufferlist.C:
6615         * lyxfunc.h:
6616         * lyxfunc.C:
6617         * lyxrc.h:
6618         * lyxrc.C: remove file->new asks for name option, and let
6619           buffer-new take an argument
6620
6621 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6622
6623         * BufferView_pimpl.C: remove unneeded extra repaint()
6624
6625 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6626
6627         * LyXAction.C: allow command-sequence with NoBuffer
6628
6629         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6630
6631 2002-07-10  Angus Leeming  <leeming@lyx.org>
6632
6633         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6634
6635 2002-07-09  Angus Leeming  <leeming@lyx.org>
6636
6637         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6638
6639 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6640
6641         * lengthcommon.h: whitespace
6642
6643         * lyxfunc.C: update scrollbar after goto paragraph
6644
6645         * lyxtext.h: factor out page break drawing, and fix it so
6646           page break/added space paints as selected nicely
6647
6648 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6649
6650         * BufferView_pimpl.C: add FIXMEs, clean up a little
6651
6652 2002-07-09  André Pönitz <poenitz@gmx.net>
6653
6654         * lyxfont.[Ch]: support for wasy symbols
6655
6656 2002-07-08  André Pönitz <poenitz@gmx.net>
6657
6658         * BufferView_pimpl.C: apply John's patch for #93.
6659
6660 2002-07-05  Angus Leeming  <leeming@lyx.org>
6661
6662         * BufferView_pimpl.C (buffer): generate previews if desired.
6663
6664         * LColor.h: add "preview" to the color enum.
6665
6666         * LColor.C (LColor): add a corresponding entry to the items array.
6667
6668         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6669         with this buffer.
6670
6671 2002-07-05  Angus Leeming  <leeming@lyx.org>
6672
6673         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6674         The body of the code is now in the method that is passed an ostream &
6675         rather than a file name.
6676         Pass an additional only_preamble parameter, useful for the forthcoming
6677         preview stuff.
6678
6679 2002-07-03  André Pönitz <poenitz@gmx.net>
6680
6681         * lyxfunc.C: simplify getStatus() a bit for math stuff
6682
6683 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6684
6685         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6686
6687 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6688
6689         * text.C (changeRegionCase): do not change case of all the
6690         document when region ends at paragraph end (bug #461)
6691
6692 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6693
6694         * paragraph.C (startTeXParParams):
6695         (endTeXParParams): add \protect when necessary
6696
6697 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6698
6699         * BufferView_pimpl.C (workAreaExpose): remove warning
6700
6701 2002-06-27  Angus Leeming  <leeming@lyx.org>
6702
6703         * Makefile.am: add lyxlayout_ptr_fwd.h.
6704
6705 2002-06-26  André Pönitz <poenitz@gmx.net>
6706
6707         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6708
6709 2002-06-25  Angus Leeming  <leeming@lyx.org>
6710
6711         * lyxfunc.C (dispatch): Comment out the call to
6712         grfx::GCache::changeDisplay. The method no longer exists now that the
6713         pixmap generation part of the graphics loader has been moved into
6714         InsetGraphics.
6715
6716 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6717
6718         * text2.C: layout as layout
6719
6720         * text.C: layout as layout
6721
6722         * tabular.C (OldFormatRead): layout as layout
6723
6724         * paragraph_pimpl.C (TeXDeeper): layout as layout
6725         (realizeFont): layout as layout
6726
6727         * paragraph.C (writeFile): layout as layout
6728         (validate): layout as layout
6729         (getFont): layout as layout
6730         (getLabelFont): layout as layout
6731         (getLayoutFont): layout as layout
6732         (breakParagraph): layout as layout
6733         (stripLeadingSpaces): layout as layout
6734         (getEndLabel): layout as layout
6735         (getMaxDepthAfter): layout as layout
6736         (applyLayout): layout as layout
6737         (TeXOnePar): layout as layout
6738         (simpleTeXOnePar): layout as layout
6739         (TeXEnvironment): layout as layout
6740         (layout): layout as layout
6741         (layout): layout as layout
6742
6743         * lyxtextclass.C (compare_name): new functor to work with
6744         shared_ptr, layout as layout
6745         (Read): layout as layout
6746         (hasLayout): layout as layout
6747         (operator): layout as layout
6748         (delete_layout): layout as layout
6749         (defaultLayout): layout as layout
6750
6751         * lyxlayout_ptr_fwd.h: new file
6752
6753         * lyxlayout.C (Read): layout as layout
6754
6755         * lyx_cb.C (MenuInsertLabel): layout as layout
6756
6757         * bufferlist.C (newFile): layout as layout
6758
6759         * buffer.C (readLyXformat2): layout as layout
6760         (parseSingleLyXformat2Token): layout as layout
6761         (insertStringAsLines): layout as layout
6762         (asciiParagraph): layout as layout
6763         (latexParagraphs): layout as layout
6764         (makeLinuxDocFile): layout as layout
6765         (simpleLinuxDocOnePar): layout as layout
6766         (makeDocBookFile): layout as layout
6767         (simpleDocBookOnePar): layout as layout
6768         (getLists): layout as layout
6769
6770         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6771
6772         * CutAndPaste.C (cutSelection): layout as layout
6773         (pasteSelection): layout as layout
6774         (SwitchLayoutsBetweenClasses): layout as layout
6775
6776         * BufferView_pimpl.C (Dispatch): layout as layout
6777         (smartQuote): layout as layout
6778
6779         * BufferView2.C (unlockInset): layout as layout
6780
6781 2002-06-24  André Pönitz <poenitz@gmx.net>
6782
6783         * lyxfunc.C: fix #487
6784
6785 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6786
6787         * lyxrc.h:
6788         * lyxrc.C:
6789         * lyxfunc.C: remove display_shortcuts, show_banner
6790
6791 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6792
6793         * Buffer_pimpl.C: oops, update on resize
6794
6795 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6796
6797         * buffer.C:
6798         * converter.C:
6799         * exporter.C:
6800         * lyxfunc.C:
6801         * BufferView.h:
6802         * BufferView.C: use repaint()
6803
6804         * BufferView_pimpl.h:
6805         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6806           as it's a clearer description. Remove superfluous
6807           redraws.
6808
6809 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6810
6811         * text.C: fix bug 488. Not ideal, but getting
6812           getWord() to work properly for the insets that
6813           matter is more difficult ...
6814
6815 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6816
6817         * BufferView_pimpl.C:
6818         * LyXAction.C:
6819         * commandtags.h:
6820         * lyxfunc.C: remove the six million index lyxfuncs to just
6821           one, and DTRT (bug 458)
6822
6823 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6824
6825         * BufferView.h:
6826         * BufferView.C:
6827         * BufferView_pimpl.h:
6828         * BufferView_pimpl.C: clean up resize() stuff,
6829           and unnecessary updateScreen()s
6830
6831 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6832
6833         * BufferView.h:
6834         * BufferView.C:
6835         * BufferView_pimpl.h:
6836         * BufferView_pimpl.C:
6837         * lyxfind.h:
6838         * lyxfind.C:
6839         * minibuffer.C: remove focus management of workarea,
6840           not needed. Use screen's greyOut()
6841
6842 2002-06-17  Herbert Voss  <voss@lyx.org>
6843
6844         * converter.C: (convert) do not post a message, when converting
6845         fails, let the calling function decide what to do in this case
6846
6847 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6848
6849         * lyxfunc.C: tidy up a little
6850
6851 2002-06-16    <alstrup@diku.dk>
6852
6853         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6854         Got rid of FORMS_H_LOCATION include. Now we are
6855         GUII.
6856
6857 2002-06-15  LyX Development team  <lyx@rilke>
6858
6859         * buffer.[Ch] (sgmlOpenTag):
6860         (sgmlCloseTag): Added support for avoiding pernicious mixed
6861         content. Return number of lines written.
6862
6863         (makeLinuxDocFile):
6864         (makeDocBookFile): Fixed calls to sgml*Tag.
6865         Simple white space clean.
6866
6867         (simpleDocBookOnePar): Simple white space clean.
6868
6869         * tabular.[Ch] (docBook): Renamed to docbook and got another
6870         argument to related with the pernicious mixed content.
6871
6872         (docbookRow): Fixed calls for docbook inset method.
6873
6874 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6875
6876         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6877         so it's X11 independent.
6878
6879         * kb*.[Ch]: ditto.
6880
6881         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6882
6883 2002-06-15  Lyx Development team  <lyx@electronia>
6884
6885         * intl.h: Renamed getTrans to getTransManager.
6886
6887 2002-06-14  Angus Leeming  <leeming@lyx.org>
6888
6889         * Makefile.am: nuke forgotten stl_string_fwd.h.
6890
6891 2002-06-12  Angus Leeming  <leeming@lyx.org>
6892
6893         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6894
6895 2002-06-13  Angus Leeming  <leeming@lyx.org>
6896
6897         * LaTeX.C:
6898         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6899
6900 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6901
6902         * kbmap.C (getiso): add support for cyrillic and greek
6903
6904 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6905
6906         * BufferView.h:
6907         * BufferView.C:
6908         * BufferView_pimpl.h:
6909         * BufferView_pimpl.C: move bogus scrolling logic
6910           to xforms
6911
6912 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6913
6914         * lyxfunc.C:
6915         * BufferView_pimpl.C: view->resize() change
6916
6917 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6918
6919         * BufferView_pimpl.C: topCursorVisible
6920           prototype change
6921
6922 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6923
6924         * Makefile.am:
6925         * lyx_gui.h:
6926         * lyx_gui.C: move to frontends/
6927
6928         * main.C:
6929         * lyx_main.h:
6930         * lyx_main.C: changes from above
6931
6932 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6933
6934         * intl.C:
6935         * intl.h:
6936         * kbmap.C:
6937         * kbsequence.C:
6938         * lyx_cb.C:
6939         * lyx_main.C: minor tidy
6940
6941 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6942
6943         * BufferView_pimpl.h:
6944         * BufferView_pimpl.C:
6945         * BufferView.h:
6946         * BufferView.C: make painter() const,
6947           remove dead code
6948
6949         * BufferView2.C: use screen() accessor
6950
6951         * lyx_main.h:
6952         * lyx_main.C: some minor cleanup
6953
6954 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6955
6956         * BufferView_pimpl.h:
6957         * BufferView_pimpl.C: remove enter/leaveView,
6958           use workHeight()
6959
6960 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6961
6962         * BufferView.h:
6963         * BufferView.C:
6964         * BufferView2.C:
6965         * BufferView_pimpl.h:
6966         * BufferView_pimpl.C: only construct screen once,
6967           rename
6968
6969         * lyxrc.C: remove pointless comment
6970
6971 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6972
6973         * BufferView.h:
6974         * BufferView.C: remove active() and belowMouse()
6975
6976         * BufferView_pimpl.h:
6977         * BufferView_pimpl.C: use workarea() not workarea_,
6978           and make it use a scoped_ptr instead
6979
6980 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6981
6982         * lyx_gui.C: add debug message on BadWindow
6983
6984 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6985
6986         * sp_spell.C: fdopen is not part of the C++ standard.
6987
6988         * paragraph.C (InsetIterator): use >= instead of ==
6989
6990 2002-06-07  Angus Leeming  <leeming@lyx.org>
6991
6992         Fixes needed to compile with Compaq cxx 6.5.
6993         * BufferView_pimpl.C:
6994         * DepTable.C:
6995         * buffer.C:
6996         * converter.C:
6997         * encoding.C:
6998         * lyx_gui.C:
6999         * lyx_main.C:
7000         * lyxtextclasslist.C:
7001         * minibuffer.C:
7002         * sp_spell.C:
7003         * tabular_funcs.C:
7004         * vc-backend.C:
7005         all c-library variables have been moved into namespace std. Wrap
7006         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7007
7008         * lyxlength.C:
7009         * tabular-old.C:
7010         * tabular.C:
7011         Add a using std::abs declaration.
7012
7013         * kbmap.h (modifier_pair):
7014         * paragraph.h (InsetTable, InsetList):
7015         * lyxfont.h (FontBits):
7016         type definition made public.
7017
7018         * bufferlist.C (emergencyWriteAll): the compiler complains that
7019         there is more than one possible lyx::class_fun template to choose from.
7020         I re-named the void specialisation as lyx::void_class_fun.
7021
7022         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7023
7024         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7025         the compiler is is unable to find tostr in write_attribute.
7026
7027 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7028
7029         * buffer.C (sgmlError): hide #warning
7030
7031 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7032
7033         * xtl/*: get rid of xtl, which is not in use anyway
7034
7035         * LyXAction.C (init):
7036         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7037         were unimplemented xtl experimentation
7038
7039 2002-06-04  André Pönitz <poenitz@gmx.net>
7040
7041         * lyxfunc.C: disable array operation on simple formulae
7042
7043 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7044
7045         * converter.C: constify a bit
7046
7047 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7048
7049         * lyx_gui.C: check xforms version correctly
7050
7051 2002-04-30  Herbert Voss  <voss@lyx.org>
7052
7053         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7054         "keep" option
7055
7056 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7057
7058         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7059           attempt to register it with a VCS)
7060
7061 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7062
7063         * lyx_main.C (init): honor variables LYX_DIR_13x and
7064         LYX_USERDIR_13x
7065
7066 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7067
7068         * buffer.h:
7069         * buffer.C:
7070         * lyx_main.C: fix a crash on bad command line,
7071           and give a useful exit status on error
7072
7073         * lyxfunc.C (doImport): allow -i lyx to work
7074
7075 2002-03-30  André Pönitz <poenitz@gmx.net>
7076
7077         * lyxfunc.C: mathed font changes
7078
7079 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7080
7081         * LaTeX.C:
7082         * importer.h:
7083         * importer.C:
7084         * lyx_sty.h:
7085         * lyx_sty.C:
7086         * lyxlex.C:
7087         * lyxrow.h:
7088         * lyxtext.h:
7089         * paragraph.h:
7090         * paragraph.C:
7091         * texrow.h:
7092         * texrow.C:
7093         * text.C:
7094         * trans_mgr.h: srcdocs, and some minor cleanups
7095
7096 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7097
7098         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7099         call getFont all the time)
7100
7101 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7102
7103         * switch from SigC signals to boost::signals
7104
7105 2002-05-29  André Pönitz <poenitz@gmx.net>
7106
7107         * paragraph_pimpl.C (getChar): don't call size() too often...
7108
7109 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7110
7111         * paragraph_pimpl.C (insertChar): do not try to update tables when
7112         appending (pos == size())
7113
7114         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7115         in order to reduce drastically the number of comparisons needed to
7116         parse a large document
7117
7118 2002-05-29  André Pönitz <poenitz@gmx.net>
7119
7120         * text.C:
7121         * text2.C:
7122         * lyxtextclass.C:
7123         * sp_pspell.h:
7124         * textclasslist.[Ch]:
7125         * sp_ispell.h: whitespace change
7126
7127 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7128
7129         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7130         lyxaction directly now.
7131
7132 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7133
7134         * trans.C:
7135         * lyxfont.C:
7136         * lyxvc.C: remove unused headers
7137
7138 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7139
7140         * Makefile.am:
7141         * buffer.h:
7142         * undostack.h:
7143         * undostack.C:
7144         * undo_funcs.h:
7145         * undo_funcs.C: some cleanups. Use shared_ptr
7146           and a template for the undo stacks.
7147
7148 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7149
7150         * BufferView_pimpl.h:
7151         * BufferView_pimpl.C:
7152         * kbmap.h:
7153         * kbmap.C:
7154         * kbsequence.h:
7155         * kbsequence.C:
7156         * lyxfunc.h:
7157         * lyxfunc.C:
7158         * text2.C: use key_state/mouse_state
7159
7160 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7161
7162         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7163         and LSubstring
7164
7165         * chset.C: change include order
7166         (loadFile): use boost regex and get rid of LRegex and LSubstring
7167
7168         * Makefile.am (BOOST_LIBS): new variable
7169         (lyx_LDADD): use it
7170
7171         * LaTeX.C: change include order.
7172         (scanAuxFile): use boost regex and get rid of LRegex and
7173         LSubstring
7174         (deplog): ditto
7175
7176 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7177
7178         * ColorHandler.h:
7179         * ColorHandler.C:
7180         * FontInfo.h:
7181         * FontInfo.C: moved to frontends/xforms/
7182
7183         * FontLoader.h:
7184         * FontLoader.C: moved into frontends for GUIIzation
7185
7186         * Makefile.am:
7187         * lyx_gui.C:
7188         * lyxfont.C:
7189         * lyxfunc.C: changes from above
7190
7191 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7192
7193         * LColor.C: remove spurious X include
7194
7195         * BufferView_pimpl.C:
7196         * Makefile.am:
7197         * font.h:
7198         * font.C:
7199         * text.C:
7200         * text2.C: move font metrics to frontends/
7201
7202 2002-05-24  Juergen Vigna  <jug@sad.it>
7203
7204         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7205         setting the undo_cursor.
7206
7207         * ParagraphParameters.h: include local includes first.
7208
7209 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7210
7211         * BufferView_pimpl.C:
7212         * BufferView_pimpl.h:
7213         * Makefile.am:
7214         * WorkArea.h:
7215         * WorkArea.C:
7216         * screen.C: move WorkArea into frontends/
7217
7218         * lyxscreen.h:
7219         * screen.C:
7220         * text.C:
7221         * BufferView.C:
7222         * BufferView2.C: move LyXScreen into frontends/
7223
7224         * lyxlookup.h:
7225         * lyxlookup.C:
7226         * lyx_gui.C: move lyxlookup into frontends/xforms/
7227
7228 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7229
7230         * BufferView2.C:
7231         * BufferView_pimpl.C:
7232         * FontLoader.C:
7233         * LyXView.h:
7234         * LyXView.C:
7235         * Makefile.am:
7236         * WorkArea.C:
7237         * XFormsView.h:
7238         * XFormsView.C:
7239         * buffer.C:
7240         * bufferlist.C:
7241         * bufferview_funcs.C:
7242         * converter.C:
7243         * importer.C:
7244         * lyx_cb.C:
7245         * lyx_gui.C:
7246         * lyx_main.C:
7247         * lyx_find.C:
7248         * lyxfunc.C:
7249         * lyxvc.C:
7250         * minibuffer.C:
7251         * text.C:
7252         * text2.C:
7253         * trans.C:
7254         * vc-backend.C: move LyX/XFormsView into frontends/
7255
7256 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7257
7258         * Makefile.am:
7259         * PainterBase.C:
7260         * PainterBase.h:
7261         * Painter.C:
7262         * Painter.h:
7263         * WorkArea.C:
7264         * WorkArea.h:
7265         * screen.C:
7266         * tabular.C:
7267         * text.C:
7268         * text2.C: move Painter to frontends/
7269
7270 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7271
7272         * buffer.C: comment out some some code that depend upon lyx_format
7273         < 220
7274
7275         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7276         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7277
7278         * buffer.h (NO_COMPABILITY): turn off compability
7279
7280         * ColorHandler.C: include scoped_array.hpp
7281
7282         * font.C: Use more specific smart_ptr header.
7283         * Painter.C: ditto
7284         * gettext.C: ditto
7285         * ShareContainer.h: ditto
7286         * lyx_main.h: ditto
7287         * kbmap.h: ditto
7288         * FontInfo.h: ditto
7289         * BufferView_pimpl.h: ditto
7290         * ColorHandler.h: ditto
7291
7292         * kbmap.C (defkey): change call to shared_ptr::reset
7293
7294 2002-05-21  Juergen Vigna  <jug@sad.it>
7295
7296         * buffer.C (insertErtContents): fix to insert ert asis if it is
7297         non empty. Skip it completely if it contains only whitespaces.
7298
7299 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7300
7301         * BufferView_pimpl.C:
7302         * BufferView2.C: clear selection on paste (bug 393)
7303
7304 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7305
7306         * DepTable.C: include ctime
7307
7308 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7309
7310         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7311
7312 2002-05-14  Juergen Vigna  <jug@sad.it>
7313
7314         * text.C (breakParagraph): fixed function to honor the keepempty
7315         layout in the right maner and also to permit the right breaking
7316         algorithm on empty or non empyt keepempty paragraphs.
7317
7318         * paragraph.C (breakParagraph): we have to check also if the par
7319         is really empty (!size()) for isempty otherwise we do the wrong
7320         paragraph break.
7321
7322 2002-05-10  Juergen Vigna  <jug@sad.it>
7323
7324         * buffer.[Ch] : The following are only changes to the ert
7325         compatibility read reading old LaTeX layout and font stuff and
7326         convert it to ERTInsets.
7327
7328         * buffer.h: added isErtInset().
7329
7330         * buffer.C (struct ErtComp): add a fromlayout bool to check
7331         if we're inside a LaTeX layout.
7332         (isErtInset): new helper function.
7333         (insertErtContents): look for other ert insets before this one
7334         and insert the contents there, so that we don't have subsequent
7335         ERT insets with nothing between them. This way we create only one
7336         inset with multiple paragraphs. Also check if we don't insert only
7337         spaces ' ' as they are ignored anyway afterwards in the .tex file
7338         so if we have only spaces we will ignore this latex part in the
7339         new file.
7340         (parseSingleLyXformat2Token \\layout): better compatibility when
7341         reading layout-latex stuff.
7342         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7343         language tag.
7344         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7345         stuff after reading the inset only get the information back from
7346         the stack.
7347
7348 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7349
7350         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7351
7352         * LaTeXFeatures.C (getBabelOptions): New method.
7353
7354 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7355
7356         * BufferView_pimpl.C (Dispatch): work around missing argument for
7357         'layout'
7358
7359 2002-05-08  Juergen Vigna  <jug@sad.it>
7360
7361         * text.C (leftMargin): handle paragraph leftindent.
7362
7363         * paragraph.C (writeFile): write the new \\leftindent tag.
7364         (validate): handle leftindent code.
7365         (TeXEnvironment): handle paragraphleftindent code again.
7366
7367         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7368
7369         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7370         for paragrap_extra indent code and new token \\leftindent.
7371         (latexParagraphs): handle the leftindent as environment.
7372
7373         * ParameterStruct.h: added leftindent support.
7374
7375         * ParagraphParameters.C (leftIndent): added support functions for
7376         the paragraph left indent.
7377
7378         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7379         more appropriate.
7380
7381 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7382
7383         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7384         inside insetERT.
7385
7386         * text.C (computeBidiTables): No bidi in insetERT.
7387
7388         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7389         in RTL documents.
7390
7391 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7392
7393         * version.C.in: pre 5
7394
7395 2002-05-02  José Matos  <jamatos@fep.up.pt>
7396         * buffer.C (makeDocBookFile): white space changes, add newline to
7397         command styles.
7398         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7399
7400         * tabular.C (docBook): fix typo.
7401
7402 2002-05-03  Juergen Vigna  <jug@sad.it>
7403
7404         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7405         change in LyXText as we can not be sure it was not freed.
7406         (drawOneRow): remove unused code.
7407
7408         * text.C (drawInset): redo the calculation of the need_break_row as
7409         it could have a row which was already freed.
7410         (draw): look at the return value of drawInset and return false if
7411         it also returned false.
7412         (paintRowText): look at the return value of draw and return false if
7413         it also returned false.
7414
7415         * lyxtext.h: added bool return type to drawInset() and draw() so that
7416         if we have a change in the row so that the rowbreak has to be redone
7417         we abort drawing as it will be called again.
7418
7419 2002-05-02  Juergen Vigna  <jug@sad.it>
7420
7421         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7422         a change in the maintext also if we're inside an inset.
7423         (Dispatch): set the cursor again after a break line and after the
7424         screen has been updated as it could be we're in a different row.
7425
7426         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7427         to set the cursor behind the pargraph with > size().
7428         (setCursor): check also for the same paragraph when checking where
7429         to put the cursor if we have a NFR inset.
7430
7431         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7432         parts of layout read further up as it still was in the wrong
7433         position.
7434
7435 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7436
7437         * screen.C (drawFromTo): change sine fullRebreak always return
7438         true.
7439
7440         * buffer.C (parseSingleLyXformat2Token): reindent some
7441
7442         * BufferView_pimpl.C (update): change since fullRebreak always
7443         return true.
7444         (Dispatch): git rid of the last hardcoded "Standard"s.
7445
7446 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7447
7448         * text2.[Ch] (fullRebreak): make it return void now that we always
7449         returned true.
7450
7451 2002-04-30  Juergen Vigna  <jug@sad.it>
7452
7453         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7454         ert compatibility check for "latex" layout.
7455
7456 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7457
7458         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7459         minipages: use col% instead of p%, and also use the current font.
7460         (makeLaTeXFile): Fix use babel condition.
7461         (parseSingleLyXformat2Token): Correct font when reading old floats.
7462
7463 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7464
7465         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7466         inserting list of floats.
7467
7468 2002-04-25  Herbert Voss  <voss@lyx.org>
7469
7470         * MenuBackend.C (expand): don't add the graphics extensions to the
7471         export menu
7472
7473 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7474
7475         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7476         non-existing layout, do not complain if it was the default layout
7477         of the original class (bug #342)
7478
7479 2002-04-24  Juergen Vigna  <jug@sad.it>
7480
7481         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7482         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7483
7484 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7485
7486         * buffer.C (getBibkeyList): If using \bibliography, return the
7487         option field with the reference itself. Enables us to provide natbib
7488         support when using \bibliography.
7489
7490 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7491
7492         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7493
7494         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7495         natbib is provided by the LaTeX class.
7496
7497 2002-04-23  Juergen Vigna  <jug@sad.it>
7498
7499         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7500         Wakeup functions.
7501
7502         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7503
7504 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7505
7506         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7507
7508         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7509         ensuremath around textordmasculine, textordfeminine and
7510         textdegree.
7511
7512 2002-04-19  Juergen Vigna  <jug@sad.it>
7513
7514         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7515         reinitializing the buffer otherwise row-dimensions may be wrong.
7516         (update): reset also the selection cursors if they do exits otherwise
7517         their x/y positions may be wrong.
7518
7519         * text2.C (cursorDown): don't enter the inset if we came from a row
7520         above and are one row over the inset.
7521
7522         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7523         really leaving an inset.
7524
7525 2002-04-18  Juergen Vigna  <jug@sad.it>
7526
7527         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7528         of the selected paragraph does not have the selected layout also if
7529         the last one had!
7530
7531         * text2.C (setLayout): fixed bug which did not change last selected
7532         paragraph.
7533
7534         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7535         changed the read and substituted \\end_float with \\end_inset!
7536
7537         * BufferView_pimpl.C (cursorPrevious):
7538         (cursorNext): fixed to make it work with rows heigher than the work
7539         area without moving the cursor only the draw of the row.
7540         (workAreaMotionNotify): fix jumping over high rows.
7541
7542 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7543
7544         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7545         Ressler.
7546
7547 2002-04-16  Juergen Vigna  <jug@sad.it>
7548
7549         * text2.C (setCursor): set also the irow().
7550         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7551         (cursorUp):
7552         (cursorDown): support for locking an inset if the x_fix value goes
7553         inside it. That way I can transverse insets too with cursor up/down.
7554
7555         * lyxrow.h: added irow helper function same as other (i) functions.
7556
7557         * BufferView_pimpl.C (cursorPrevious):
7558         (cursorNext): fixed for insets!
7559
7560 2002-04-15  Juergen Vigna  <jug@sad.it>
7561
7562         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7563         position otherwise it is wrong in some cases.
7564
7565         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7566         inside the inset before the call.
7567
7568 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7569
7570         * buffer.[Ch] (getBibkeyList): make it const.
7571
7572 2002-04-12  Juergen Vigna  <jug@sad.it>
7573
7574         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7575
7576         * text2.C (getCursorX): new helper function
7577         (setCursor): compute also ix_
7578         (setCursorFromCoordinates): set also ix.
7579
7580         * lyxcursor.h: added ix_ and helper functions.
7581
7582         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7583
7584         * buffer.C (insertStringAsLines): dont break paragraph if the this
7585         paragraph is inside an inset which does not permit it!
7586
7587         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7588         also with no chars on this paragraph.
7589         (paintRowText): only paint stuff if it's inside the workarea!
7590
7591         * paragraph.C (breakParagraph): honor keepempty flag and break the
7592         paragraph always below not above.
7593
7594         * BufferView2.C (unlockInset): update the paragraph layout on inset
7595         unlock as we changed paragraph in such a case.
7596
7597         * lyxfind.C (LyXFind): clear the former selection if not found!
7598
7599         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7600         again called in insertChar().
7601
7602         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7603         an inset which uses the whole row!
7604         (rightMargin): ditto.
7605         (insertChar): force a rebreak if we inserted an inset!
7606
7607 2002-03-28  Herbert Voss  <voss@lyx.org>
7608
7609         * lyxlength.[Ch]: add inBP() to get the right PS-point
7610         units (BigPoint). With inPixels we have rounding errors
7611
7612 2002-04-11  Juergen Vigna  <jug@sad.it>
7613
7614         * text2.C (setCursorFromCoordinates): set iy to the right value.
7615         (setCursor): add check if row->previous exists!
7616
7617         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7618         an old float_type as this was the case in the old code!
7619
7620         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7621
7622         * BufferView2.C (showLockedInsetCursor): use iy
7623         (fitLockedInsetCursor): ditto
7624
7625         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7626         locked insets as there we have the right value now.
7627
7628         * lyxcursor.C: added iy_ variable and iy functions to set to the
7629         baseline of cursor-y of the locked inset.
7630
7631         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7632         (setCursor): fixed for insets which need a full row.
7633
7634         * text.C (rowLastPrintable): don't ignore the last space when before
7635         an inset which needs a full row.
7636         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7637         as last character of a row when before a inset which needs a full row.
7638
7639 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7640
7641         * version.C.in: update date
7642
7643         * text2.C (fullRebreak): try to always return true and see what
7644         happens...
7645
7646 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7647
7648         * MenuBackend.C (expand): use Floating::listName
7649
7650         * FloatList.C (FloatList): add listName argument to the built-in
7651         floats
7652
7653         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7654         text associated with the float.
7655
7656 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7657
7658         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7659
7660 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7661
7662         * ShareContainer.h: add a couple of missing typenames.
7663
7664 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7665
7666         * lyxrc.C (getDescription): use _() correctly rather than N_().
7667
7668 2002-03-28  Herbert Voss  <voss@lyx.org>
7669
7670         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7671         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7672
7673 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7674
7675         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7676         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7677
7678 2002-03-29  Juergen Vigna  <jug@sad.it>
7679
7680         * lyxfunc.C (dispatch): add a missing fitCursor call.
7681
7682         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7683         it was scrolled by a cursor move, so return the bool status.
7684
7685         * BufferView.C (fitCursor): return the bool flag also to the outside
7686         world as this is needed.
7687
7688         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7689
7690         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7691         call the edit() as it is not needed (and wrong) IMO.
7692         (workAreaButtonPress): set the screen_first variable before evt.
7693         unlock the inset as this may change screen_first and then we have
7694         a wrong y position for the click!
7695
7696 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7697
7698         * MenuBackend.C (expand): another translation that I missed
7699
7700 2002-03-28  Juergen Vigna  <jug@sad.it>
7701
7702         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7703
7704         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7705
7706 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7707
7708         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7709
7710         * MenuBackend.C (expand): fix export/view/update when there is no
7711         document open.
7712
7713 2002-03-27  Herbert Voss  <voss@lyx.org>
7714
7715         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7716         and text%
7717
7718 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7719
7720         * bufferview_funcs.C (currentState): only show paragraph number
7721         for is DEVEL_VERSION is set.
7722
7723         * lyxfunc.C (dispatch): put warning in INFO channel
7724
7725         * MenuBackend.C (expand): translate the name of floats
7726
7727         * FloatList.C (FloatList): mark the float names for translation
7728
7729         * converter.C (convert): use LibScriptSearch
7730
7731 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7732
7733         * MenuBackend.C (defaults): fix default menu (we might as well get
7734         rid of it...)
7735
7736 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7737
7738         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7739         directory.
7740
7741 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7742
7743         * lyxvc.C: reorder includes.
7744
7745 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7746
7747         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7748           properly
7749
7750 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7751
7752         * CutAndPaste.C: change layouts earlier on paste
7753           to avoid crashing when calling getFont()
7754
7755 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7756
7757         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7758         irritating #error.
7759
7760 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7761
7762         * WorkArea.C: remove 'Pending' debug message.
7763
7764         * most files: ws cleanup
7765
7766         * buffer.[Ch]: ws changes
7767
7768         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7769
7770 2002-03-21  Juergen Vigna  <jug@sad.it>
7771
7772         * tabular.C (SetMultiColumn): collapse also the contents of the
7773         cells and set the last border right. Added a Buffer const * param.
7774
7775 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7776
7777         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7778         linking or not.
7779
7780 2002-03-19  Juergen Vigna  <jug@sad.it>
7781
7782         * text2.C (clearSelection): reset also xsel_cache.
7783
7784         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7785         where it needs to be called (John tells us to do so too :)
7786         (selectionLost): reset sel_cache.
7787
7788         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7789
7790 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7791
7792         * text2.C (setCursorIntern): put debuging code in INSETS channel
7793
7794 2002-03-19  André Pönitz <poenitz@gmx.net>
7795
7796         * lyxfunc.C: tiny whitespace change
7797
7798 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7799
7800         * ToolbarDefaults.C (init):
7801         * LyXAction.C (init):
7802         * commandtags.h:
7803         * BufferView_pimpl.C (Dispatch):
7804         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7805
7806 2002-03-19  Allan Rae  <rae@lyx.org>
7807
7808         * exporter.C (Export): removeAutoInsets before doing anything else.
7809         While I've just introduced a dependency on BufferView this really is
7810         the best place to clean the buffer otherwise you need to cleanup in
7811         a dozen places before calling export or cleanup in a dozen functions
7812         that export calls.
7813
7814         * converter.C (runLaTeX):
7815         (scanLog): Better handling of removeAutoInsets and screen updates.
7816
7817         * lyxfunc.C (dispatch): small whitespace changes
7818
7819 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7820
7821         * WorkArea.C (C_WorkAreaEvent): return a value.
7822         (event_cb): return 1 if we handled the event, 0 otherwise.
7823
7824         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7825
7826 2002-03-18  Juergen Vigna  <jug@sad.it>
7827
7828         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7829         (GetAdditionalWidth): ditto.
7830         (RightLine): ditto.
7831         (LeftLine): ditto.
7832
7833         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7834         inset if we're there actually (probably not used right now but this
7835         is the direction to go for unifying code).
7836         (paste): disable code to clear the selection.
7837
7838         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7839         inside an InsetText and move the check further up as it is in the
7840         wrong place.
7841
7842         * text2.C (pasteSelection): set a selection over the pasted text.
7843
7844 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7845
7846         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7847         and libgraphics to build on Cygwin.
7848
7849 2002-03-15  Juergen Vigna  <jug@sad.it>
7850
7851         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7852         inserting an Inset into the paragraph. I know this is not the best
7853         fix but we already use current_view in CutAndPaste so we will remove
7854         all of it's using at the same time.
7855
7856         * buffer.C (sgmlError): deactivated function till it is rewritten in
7857         the right mode, now it can create problems.
7858
7859         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7860         before accessing it.
7861
7862 2002-03-14  Juergen Vigna  <jug@sad.it>
7863
7864         * undo_funcs.C (textHandleUndo): do the right thing when updating
7865         the inset after the undo/redo.
7866
7867         * text2.C (setCursor): just some testcode for #44 not ready yet.
7868
7869         * undo_funcs.C (textHandleUndo): set the next() and previous()
7870         pointers of the paragraph to 0 before deleting otherwise we have
7871         problems with the Paragraph::[destructor].
7872
7873         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7874         on a paragraph insertion.
7875
7876 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7877
7878         * buffer.C (asciiParagraph): use += operator for char append to
7879         string.
7880
7881         * paragraph.C (getFontSettings): compare >= not just >
7882         (highestFontInRange): ditto
7883         (setFont): ditto
7884
7885 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7886
7887         * paragraph.C: change several algorithm to be more appripriate for
7888         the problem domain. This is lookip in FontList and in the InsetList.
7889
7890 2002-03-13  André Pönitz <poenitz@gmx.net>
7891
7892         * commandtags.h:
7893         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7894
7895 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7896
7897         * commandtags.h:
7898         * LyXAction.C:
7899         * lyxfunc.C:
7900         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7901
7902 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7903
7904         * Painter.C (display): anon helper function, adjust code for this
7905         change.
7906         (pixmap): remove function.
7907
7908         * Painter.h: remove private display variable.
7909
7910         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7911
7912 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7913
7914         * WorkArea.[Ch]: remove figinset_canvas cruft.
7915
7916 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7917
7918         * lyxtextclass.C (operator): add one item cache optimization.
7919
7920         * bufferlist.h: doxy changes
7921
7922         * bufferlist.C: ws changes
7923
7924         * DepTable.[Ch] (ext_exist): place const in the right spot.
7925
7926         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7927         call resizeInsets.
7928         (workAreaExpose): call resizeInsets when the with BufferView changes.
7929         (Dispatch): adjust for protectedBlank removal
7930         (specialChar): call updateInset if the insert went ok.
7931
7932         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7933         specialChar instead.
7934
7935         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7936
7937         * BufferView.h: doxy change
7938
7939         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7940
7941         * lyxtextclass.C (operator[]): remove non-const version
7942         (defaultLayout): remove non-const version
7943
7944 2002-03-12  Juergen Vigna  <jug@sad.it>
7945
7946         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7947         did resize the LyXText too.
7948
7949         * buffer.C (readLyXformat2): set layout information on newly allocated
7950         paragraphs.
7951
7952         * tabular.C (OldFormatRead): set layout information on the paragraph.
7953
7954 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7955
7956         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7957
7958 2002-03-11  Juergen Vigna  <jug@sad.it>
7959
7960         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7961         plainly wrong.
7962         (resizeCurrentBuffer): force also the insets to resize themselfes.
7963         (moveCursorUpdate): fixed up for InsetText.
7964
7965 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7966
7967         * commandtags.h:
7968         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7969         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7970         value of Dialogs::tooltipsEnabled().
7971         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7972
7973 2002-03-08  Juergen Vigna  <jug@sad.it>
7974
7975         * BufferView_pimpl.C (updateInset): update inset inside inset also
7976         if it isn't inside theLockingInset().
7977
7978 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7979
7980         * buffer.C (asciiParagraph): redo some of the word and line length
7981         handling.
7982         (getLists): look for Caption instead of caption.
7983
7984 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7985
7986         * buffer.C (Buffer): initialize niceFile to true
7987         (makeLaTeXFile):
7988         (makeLinuxDocFile):
7989         (makeDocBookFile): make sure niceFile is true on exit
7990
7991 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7992
7993         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7994
7995 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7996
7997         * LyXSendto.C: remove.
7998         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7999         * lyx_gui.C: remove now-redundant comment.
8000         * ColorHandler.h: remove forward declaration of class WorkArea.
8001         * lyxfunc.C: remove #include "WorkArea.h".
8002
8003 2002-03-07  Juergen Vigna  <jug@sad.it>
8004
8005         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8006         got moved away with the DEPM and also set the inset_owner always
8007         right which before could have been omitted.
8008
8009 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8010
8011         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8012         wanted layout is not found.
8013
8014 2002-03-07  Juergen Vigna  <jug@sad.it>
8015
8016         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8017
8018 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8019
8020         * paragraph.C (breakParagraph): use default layout not layout of
8021         prev paragraph.
8022         (Paragraph): clear ParagraphParameters.
8023
8024 2002-03-06  Juergen Vigna  <jug@sad.it>
8025
8026         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8027         otherwise it would not be a valid lenght. Fixed a special case in
8028         the minipage compatibility read where we end the document with a
8029         minipage.
8030
8031         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8032         was set as it could be 0 for InsetTexts first entry.
8033
8034 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8035
8036         * paragraph.C (writeFile): if layout is empty write out
8037         defaultLayoutName().
8038
8039         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8040         file without named layout we set layout to defaultLayoutName().
8041
8042 2002-03-06  Juergen Vigna  <jug@sad.it>
8043
8044         * CutAndPaste.C (copySelection): set layout for new paragraph.
8045
8046         * text.C (prepareToPrint): leave ERT inset left aligned
8047         (leftMargin): don't indent paragraphs inside ERT insets
8048
8049 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8050
8051         * paragraph.C (breakParagraph): dont call clear do the work manually
8052
8053         * paragraph.[Ch] (clear): remove function
8054
8055 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8056
8057         * paragraph.C (Paragraph): dont call clear, the work has already
8058         been done.
8059
8060         * lyxtextclass.C (operator): assert if n is empty
8061
8062         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8063         work manually instead.
8064
8065 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8066
8067         * BufferView_pimpl.C: protect selectionLost against text == 0
8068
8069 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8070
8071         * text.C (breakParagraph): fix a setting layout to '0' problem.
8072
8073 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8074
8075         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8076         final location of file, for the included files, and graphics.
8077
8078 2002-03-05  Juergen Vigna  <jug@sad.it>
8079
8080         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8081
8082 2002-03-04  Juergen Vigna  <jug@sad.it>
8083
8084         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8085
8086         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8087         last column of multicolumn cells.
8088         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8089
8090 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8091
8092         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8093         file if it doesn't go to a temporary file.
8094
8095         * buffer.C (sgmlOpenTag):
8096         (sgmlCloseTag):  remove extra newline insertion.
8097
8098 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8099
8100         * text.C (getRowNearY): comment out debug msg
8101
8102 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8103
8104         * text2.C: first -> first_y
8105
8106         * text.C (getRowNearY): add some attemts at a possible
8107         optimization, not working.
8108
8109         * tabular.[Ch]: add BufferParams to several function so that newly
8110         created paragraph can be initialized to he default layotu for the
8111         buffers textclass.
8112
8113         * tabular-old.C (ReadOld): add buf->params to call of Init
8114
8115         * screen.C: rename text->first to text->first_y
8116
8117         * paragraph.C (breakParagraph): always set layout in the broken
8118         paragraph
8119
8120         * lyxtextclass.C (Read): remove lowercase
8121         (hasLayout): ditto
8122         (operator): ditto
8123         (delete_layout): ditto
8124
8125         * lyxtext.h: rename first -> first_y
8126
8127         * lyxlayout.C (Read): remove lowercase
8128         (name): ditto
8129         (setName): ditto
8130         (obsoleted_by): ditto
8131
8132         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8133
8134         * buffer.C (insertErtContents): add params are to InsetERT
8135         (parseSingleLyXformat2Token): add code to check if a paragraphs
8136         layout really exist.
8137         (parseSingleLyXformat2Token): add params to several inset
8138         constructors
8139         (asciiParagraph): remove lowercase, do the layout comparisons with
8140         no_case
8141
8142         * BufferView_pimpl.C (cursorNext): first -> first_y
8143         (resizeCurrentBuffer): first -> first_y
8144         (updateScrollbar): first -> first_y
8145         (scrollCB): first -> first_y
8146         (workAreaMotionNotify): first -> first_y
8147         (workAreaButtonPress): first -> first_y
8148         (checkInsetHit): first -> first_y
8149         (cursorPrevious): first -> first_y
8150         (cursorNext): first -> first_y
8151         (Dispatch): add buffer_->params to severl inset contructors
8152
8153 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8154
8155         * lyxlayout.C (Read): remove some debug info that I forgot.
8156
8157         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8158         clean up the code slightly.
8159         (makeLinuxDocFile): ditto
8160         (makeDocBookFile): ditto
8161
8162         * text2.C: layout as string
8163
8164         * text.C: layout as string
8165
8166         * paragraph_pimpl.C: layout as string
8167
8168         * paragraph.[Ch]: layout as string
8169
8170         * lyxtextclasslist.[Ch]: layout as string
8171
8172         * lyxtextclass.[Ch]: layout as string
8173
8174         * lyxtext.h: layout as string
8175
8176         * lyxlayout.[Ch]: layout as string
8177
8178         * lyx_cb.C: layout as string
8179
8180         * bufferview_funcs.C: layout as string
8181
8182         * bufferparams.C: layout as string
8183
8184         * buffer.C: layout as string
8185
8186         * LyXView.[Ch]: layout as string
8187
8188         * LaTeXFeatures.[Ch]: layout as string
8189
8190         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8191
8192         * BufferView_pimpl.C: change current_layout to string, remove
8193         lyx::layout_type.
8194         (Dispatch):
8195         (smartQuote):
8196         (insertInset):
8197         (workAreaButtonRelease): layout as string
8198
8199         * BufferView2.C (unlockInset): adjust
8200
8201         * vspace.C (asLatexCommand): use an explict temp variable.
8202
8203 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8204
8205         * Makefile.am: use FRONTEND_*
8206
8207 2002-03-01  Juergen Vigna  <jug@sad.it>
8208
8209         * tabular.C (SetWidthOfMulticolCell): changed to something better
8210         I hope but still work in progress.
8211         (recalculateMulticolumnsOfColumn): renamed function from
8212         recalculateMulticolCells as it is more appropriate now.
8213         (SetWidthOfCell): calculate multicols better.
8214
8215 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8216
8217         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8218
8219         * lyxfunc.C (processKeySym): print sequence also if it is
8220         `deleted' (complete)
8221
8222         * kbsequence.C (print): print sequence even if it is deleted
8223         (complete would be a better word, actually).
8224
8225         * lyxfunc.C (dispatch): print complete options after a prefix key
8226
8227         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8228
8229 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8230
8231         * text2.C (setCharFont): eliminate setCharFont code duplication.
8232
8233 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8234
8235         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8236         LFUN_TABULAR_FEATURE (bug #177)
8237
8238 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8239
8240         * Makefile.am: remove figure.h
8241
8242 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8243
8244         * Bufferview_pimpl.C:
8245         * CutAndPasteC:
8246         * LaTeX.C:
8247         * LyXSendto.C:
8248         * buffer.C:
8249         * bufferlist.C:
8250         * converter.C:
8251         * language.C:
8252         * lyxfunc.C:
8253         * lyxvc.C:
8254         * paragraph.C:
8255         * text.C:
8256         * text2.C: remove #include "lyx_gui_misc.h".
8257
8258         * LaTeX.C: added #include <cstdio>
8259
8260 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8261
8262         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8263         that the paragraph following this one can have.
8264
8265         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8266
8267         * vspace.C (asLatexCommand): fix bogus gcc warning
8268
8269         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8270
8271 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8272
8273         * text2.C (setLayout): get rid of redundant code
8274
8275 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8276
8277         * text2.C (incDepth): make sure depth cannot be increased beyond
8278         reasonable values.
8279
8280 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8281
8282         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8283         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8284
8285         * PainterBase.h (image):
8286         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8287         a LyXImage const *.
8288
8289 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8290
8291         * BufferView.C:
8292         * BufferView.h:
8293         * BufferView_pimpl.C:
8294         * BufferView_pimpl.h:
8295         * LaTeXFeatures.C:
8296         * LyXAction.C:
8297         * LyXView.C:
8298         * Makefile.am:
8299         * UpdateList.h:
8300         * UpdateList.C:
8301         * buffer.C:
8302         * figure.h:
8303         * figureForm.C:
8304         * figureForm.h:
8305         * figure_form.C:
8306         * figure_form.h:
8307         * lyx_cb.C:
8308         * lyx_gui.C:
8309         * lyx_gui_misc.C:
8310         * lyxfunc.C:
8311         * sp_base.h:
8312         * sp_ispell.h:
8313         * sp_pspell.h:
8314         * sp_spell.C: remove fig inset, and the crap house of
8315           cards that follows it
8316
8317 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8318
8319         * Makefile.am:
8320         * lyxserver.C:
8321         * os2_defines.h:
8322         * os2_errortable.h:
8323         * nt_defines.h: move .h into support/
8324
8325         * vms_defines.h: remove
8326
8327         * WorkArea.C: add space in debug output
8328
8329         * text2.C:
8330         * paragraph.C:
8331         * buffer.C: add WITH_WARNINGS
8332
8333         * vc-backend.h:
8334         * vc-backend.C:
8335         * bufferlist.C: s/retrive/retrieve/, add docs
8336
8337         * vspace.h:
8338         * vspace.C:
8339         * kbmap.h:
8340         * lyxlength.h:
8341         * lyxgluelength.h:
8342         * length_common.h:
8343         * chset.h:
8344         * chset.C: add docs
8345
8346         * lyxgui.C: add ID to X error handler
8347
8348         * lyxtestclass.c: fix typo
8349
8350 2002-02-26  Juergen Vigna  <jug@sad.it>
8351
8352         * tabular_funcs.C (write_attribute): changed so that some default
8353         attributes are not written at all.
8354         (getTokenValue): set default values before trying to read the
8355         value so we have the return value always set as default if we don't
8356         find the token we search for.
8357
8358         * tabular.C (Write): write bools as bools not as strings!
8359
8360 2002-02-22  Juergen Vigna  <jug@sad.it>
8361
8362         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8363         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8364
8365         * text.C (leftMargin): don't add an indent for paragraphs inside
8366         tabular cells (fix #208).
8367
8368 2002-02-21  José Matos  <jamatos@fep.up.pt>
8369
8370         * tabular.C (docBook): fixed support for long tables.
8371
8372 2002-02-20  Juergen Vigna  <jug@sad.it>
8373
8374         * text2.C (getFont): get the drawing font of the Inset if this
8375         paragraph is inside an inset (only important for InsetERT for now).
8376
8377         * buffer.C (insertErtContents): use new lanugage params in ERT
8378         constructor.
8379
8380         * CutAndPaste.C: commenting out seemingly uneeded code.
8381
8382 2002-02-19  Allan Rae  <rae@lyx.org>
8383
8384         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8385         Iterators might be simple to use but they also get invalidated.
8386         (removeAutoInsets): renamed saved cursor tracking variables and added
8387         some comments to clarify what everything does.
8388
8389 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8390
8391         * Chktex.C:
8392         * LaTeX.C:
8393         * LyXSendto.C:
8394         * converter.C:
8395         * lyx_cb.C:
8396         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8397         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8398
8399         * lyxfunc.C:
8400         * vc-backend.h: remove #include "support/syscall.h"
8401
8402         * LaTeX.C:
8403         * LyXSendto.C:
8404         * converter.C: rearrange #includes in Lars' approved fashion.
8405
8406         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8407         forward declare class Timeout in the header file.
8408
8409         * XFormsView.C: changes due to the above.
8410
8411         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8412         similar to LyXView.
8413
8414         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8415         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8416
8417 2002-02-18  José Matos  <jamatos@fep.up.pt>
8418
8419         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8420         insets contents.
8421
8422 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8423
8424         * a lot of small ws changes
8425         * add a lot of using std::XXX
8426         * use std construcs some places where approp.
8427         * use some exisint stuff from lyxfunctional where approp.
8428         * Make file changes to use partial linking (lets test this now...)
8429
8430 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8431
8432         * Chktex.C:
8433         * buffer.C:
8434         remove #include "support/syscontr.h" as it's redundant. Always has been.
8435
8436         * Chktex.C:
8437         * LaTeX.C:
8438         * LyXSendto.C:
8439         * converter.C:
8440         * lyx_cb.C:
8441         * vc-backend.C:
8442         change Systemcalls::System to Systemcalls::Wait and
8443         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8444         No change of functionality, just reflects the stripped down Systemcalls
8445         class.
8446
8447 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8448
8449         * debug.[Ch]: add a GRAPHICS type to the enum.
8450
8451 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8452
8453         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8454
8455         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8456         there is an inset.
8457
8458 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8459
8460         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8461         match the changes below.
8462
8463         * text2.C (toggleInset): if there is not editable inset at cursor
8464         position, try to see if cursor is _inside_ a collapsable inset
8465         and close it.
8466
8467 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8468
8469         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8470         document menu has a nice checkbox
8471
8472 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8473
8474         * lyxlength.C (asLatexString): change PW to output as percent of
8475         \textwidth.
8476
8477         * lengthcommon.C: change '%' to 't%'
8478
8479         * lyxfunc.C (dispatch): a few comments from Martin
8480
8481 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8482
8483         * WorkArea.h:
8484         * WorkArea.C:
8485         * BufferView_pimpl.h:
8486         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8487           the X selection.
8488
8489 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8490
8491         * vspace.C (inPixels): fix compiler warning
8492
8493 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8494
8495         * lyxfunc.C (getStatus): fix status message for disabled commands.
8496
8497 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8498
8499         * BufferView_pimpl.C: fix crash on close buffer
8500         during selection (#227)
8501
8502 2002-01-27  Herbert Voss  <voss@lyx.org>
8503
8504         * buffer.C: link old Figure to new graphic inset
8505
8506 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8507
8508         * FontLoader.C (getFontinfo): Change the latex font names in order
8509         to match the names of type1inst.
8510
8511 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8512
8513         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8514
8515         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8516         (extchanged): ditto
8517         (ext_exist): ditto
8518         (remove_files_with_extension): ditto
8519         (remove_file): ditto
8520         (write): ditto
8521
8522         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8523         document is smaller than the work area height. Do not initialize
8524         static variables to 0.
8525
8526 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8527
8528         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8529
8530         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8531         LFUN_LAYOUT_PARAGRAPHS.
8532
8533         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8534         tabular. It is possible to provide a possible cell, which will
8535         typically be the actcell from the corresponding insettabular
8536
8537         * lyxfunc.C (getStatus): small cleanup; disable
8538         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8539         true
8540
8541 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8542
8543         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8544
8545         * paragraph.C (startTeXParParams):
8546         (endTeXParParams): new methods. The LaTeX code to
8547         start/end paragraph formatting
8548         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8549         empty (fixes bug #200)
8550
8551         * vspace.C (inPixels): adapt to the change below
8552         (inPixels): [later] more cleanups (remove unused variables)
8553
8554         * lyxlength.C (inPixels): change to use a width and a height as
8555         parameter.
8556
8557 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8558
8559         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8560         Replaced with \paperwidth
8561
8562         * DepTable.C (insert): add std:: qualifier
8563
8564 2002-01-18  Allan Rae  <rae@lyx.org>
8565
8566         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8567         updated also?
8568
8569         * text.C (drawInset): Turned out I didn't know enough about how
8570         rebreaking worked.  This fixes most of the redraw problems.  I see
8571         an occasional cursor trail when a line is broken now and the cursor
8572         placement can seem out by a few pixels also after a rebreak.
8573
8574 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8575
8576         * buffer.C (parseSingleLyXformat2Token): update because minipage
8577         width is now a LyXLength
8578
8579         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8580
8581         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8582         math insets
8583
8584 2002-01-17  Juergen Vigna  <jug@sad.it>
8585
8586         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8587
8588         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8589         is set correctly and the inset is updated correctly.
8590
8591 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8592
8593         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8594         the beginning of the loop.
8595
8596 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8597
8598         * lyxrc.C: improve help for use_scalable_fonts
8599
8600 2002-01-17  Allan Rae  <rae@lyx.org>
8601
8602         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8603
8604 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8605
8606         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8607         make sure to set their inset_owner to the right value (bug #171)
8608
8609 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8610
8611         * DepTable.h
8612         * DepTable.C: Implement mtime checking to reduce time spent doing
8613         CRCs.
8614
8615 2002-01-16  Juergen Vigna  <jug@sad.it>
8616
8617         * tabular.C (GetAdditionalHeight): one of error fixed.
8618
8619         * lyxrc.C (output): small fix in writing use_pspell.
8620
8621 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8622
8623         * sp_base.h: #include LString.h
8624
8625 2002-01-16  Allan Rae  <rae@lyx.org>
8626
8627         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8628         Can someone check this please?
8629
8630         * text.C (drawInset): It was possible that p.row would be removed by
8631         breakAgainOneRow upsetting a few other settings.  There may be another
8632         small tweak possible by setting need_break_row = 0 when p.row has been
8633         removed but I don't know enough about the logic here.
8634
8635 2002-01-15  Allan Rae  <rae@lyx.org>
8636
8637         * text.C (insertChar): removed conditional truism.
8638
8639         * BufferView2.C (removeAutoInsets): More tweaks.
8640         cur_par_prev could be a stray pointer.  Check for trailing empty line
8641         in case last line was cur_par and only had an error inset on it.
8642
8643 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8644
8645         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8646         absolute
8647
8648         * vc-backend.C (most methods):
8649         * exporter.C (Export):
8650         * converter.C (convert):
8651         (runLaTeX):
8652         * LyXSendto.C (SendtoApplyCB):
8653         * lyxfunc.C (dispatch):
8654         (menuNew):
8655         (open):
8656         (doImport):
8657         * lyx_cb.C (AutoSave):
8658         (InsertAsciiFile):
8659         * BufferView_pimpl.C (MenuInsertLyXFile):
8660         * buffer.C (runChktex): use Buffer::filePath().
8661
8662         * buffer.h: rename filename to filename_; rename filepath to
8663         filepath_ and make it private
8664         (filePath): new method
8665
8666         * buffer.C (writeFile): use fileName()
8667         (getLatexName):
8668
8669         * lyx_main.C (init): fix starting  of LyX when the binary is a
8670         link from so,ewhere else.
8671
8672         * minibuffer.C: include <cctype> for isprint
8673
8674 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8675
8676         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8677         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8678         name clash with InsetCollapsable's width function.
8679
8680 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8681
8682         * lastfiles.C: include <iterator>
8683
8684 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8685
8686         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8687         std::count.
8688
8689         * buffer.C (makeLaTeXFile): ditto.
8690         Also make loop operation more transparent.
8691
8692 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8693
8694         * ToolbarDefaults.C: remove trailing comma closing namespace.
8695
8696         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8697
8698         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8699         as in WorkArea.
8700
8701         * trans.C (Load): comment out unused variable, allowed.
8702
8703 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8704
8705         * minibuffer.[Ch] (append_char): new method to recieve input from the
8706         drop-down completion browser. If a key was pressed, then recieve this
8707         char and append it to the existing string.
8708         (peek_event): modify the positioning data passed to the completion
8709         browser so that it can be placed above the minibuffer rather than below.
8710 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8711
8712         * LyXAction.C (init): alloe error-next for readonly documents.
8713
8714         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8715         count.
8716
8717 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8718
8719         * bufferlist.C (readFile): create the buffer _after_ checking that
8720         the file exists.
8721
8722         * lyxfunc.C (verboseDispatch): fix handling of arguments
8723
8724         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8725
8726         * lyxrc.C: use string::erase() instead of initializing to "".
8727
8728
8729 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8730
8731         * BufferView_pimpl.h:
8732         * BufferView_pimpl.C:
8733         * WorkArea.h:
8734         * WorkArea.C:
8735         * text2.C: tell X when we have made a selection for copying
8736
8737 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8738
8739         * BufferView_pimpl.C (MenuInsertLyXFile):
8740         * lyxfunc.C (menuNew):
8741         (open):
8742         (doImport): add shortcuts to directory buttons
8743
8744         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8745         open a float)
8746
8747         * lyxfunc.C (setStatusMessage):
8748         (getStatusMessage): new methods
8749         (getStatus):use setStatusMessage instead of setErrorMessage
8750         (dispatch): when function is disabled, set error message here
8751         [instead of in getStatus previously]
8752
8753         * BufferView_pimpl.C (workAreaButtonRelease): update
8754         toolbar/menubar here too.
8755
8756 2002-01-13  Allan Rae  <rae@lyx.org>
8757
8758         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8759         Now seems indestructible.  Remaining task is to audit all other
8760         code affected by deleteEmptyParagraphMechanism.  One small quirk
8761         left is that an empty document with an error in the preamble can
8762         be made to report an error but no error box appears.  I don't know
8763         where it goes.
8764         (removeAutoInsets): Improved comments.
8765
8766 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8767
8768         * Thesaurus.h:
8769         * Thesaurus.C: update for Aiksaurus 0.14
8770
8771 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8772
8773         * text2.C (firstParagraph): removed member function, all uses
8774         replaces with ownerParagraph
8775         (redoParagraphs): here
8776         (updateInset): here
8777         (toggleAppendix): here
8778         * BufferView2.C (insertErrors): here
8779         (setCursorFromRow): here
8780
8781 2002-01-13  Allan Rae  <rae@lyx.org>
8782
8783         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8784         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8785         There is still a way to segfault this although you may have to do this
8786         multiple times: Have an InsetERT with an unknown command in it.
8787         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8788         <down-arrow>, <Enter> again, View->DVI, BANG!
8789
8790         * text2.C (setCursor):
8791         (deleteEmptyParagraphMechanism):
8792         * lyxtext.h (setCursor):
8793         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8794         Making use of the return value may help fix other bugs.
8795
8796 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8797
8798         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8799
8800         * LyXView.C (updateMenubar): call MenuBar::update here
8801         (updateToolbar): but not here
8802         (showState): do not update toolbar/menubar
8803
8804         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8805         should need to care about that.
8806
8807         * lyxfunc.C (verboseDispatch): simplify a bit
8808         (getStatus): have a version which takes a pseudoaction, and
8809         another which requires a (kb_action,string).
8810
8811         * LyXAction.C (retrieveActionArg): make it work also when action
8812         is not a pseudo-action.
8813         (getActionName): simplify a bit
8814         (helpText):
8815
8816 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8817
8818         * lyxfunc.C (verboseDispatch): new families of methods with
8819         several ways to specify a command and a bool to indicate whether
8820         the command name and shortcut should be displayed in minibuffer
8821         (eventually, we could extend that to a finer bitmask like
8822         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8823         (dispatch): the pristine dispatch command which just, well,
8824         dispatchs! Note it still sets its result to minibuffer; I'm not
8825         sure we want that.
8826
8827         * lyxfunc.h: remove setHintMessage
8828
8829         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8830
8831 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8832
8833         * BufferView_pimpl.C (specialChar): delete new inset if we have
8834         not been able to insert it.
8835
8836         * kbmap.C: revert to using int instead of kb_action, since all we
8837         are dealing with is pseudo-actions.
8838
8839         * LyXAction.C (searchActionArg): change to return int instead of
8840         kb_action, since the result is a pseudoaction.
8841
8842 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8843
8844         * buffer.C (insertErtContents): Fix (partially) the font bug.
8845
8846 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8847
8848         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8849         as the other one is broken on my machine!
8850
8851 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8852
8853         * commandtags.h:
8854         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8855
8856 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8857
8858         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8859         reflect their actual use. Provide compatibility code for older lyxrc
8860         files.
8861
8862         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8863         FL_NORMAL_STYLE.
8864         change names of popup font variables in line with the changes to lyxrc.C
8865
8866 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8867
8868         * buffer.C (asciiParagraph): avoid outputing a word twice after
8869         an inset.
8870
8871         * lyxrc.C (getDescription): document that document_path and
8872         template_path can be empty.
8873
8874 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8875
8876         * LaTeXFeatures.C (getMacros):
8877         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8878
8879         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8880
8881         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8882         getPackages.
8883         (getPackages): rename feature "floats" to "float". Use an array to
8884         iterate over 'simple' features (i.e. just a \usepackage). Add
8885         handling of "amsmath" (renamed from "amsstyle").
8886
8887 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8888
8889         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8890         features list.
8891
8892 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8893
8894         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8895         FuncStaus::FuncStatus & FuncStaus::some_method().
8896
8897 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8898
8899         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8900         of the func_satus stuff. Edited and massaged in various ways by
8901         JMarc.
8902
8903         * lyxfunc.C (getStatus): use FuncStatus
8904
8905 2002-01-08  Juergen Vigna  <jug@sad.it>
8906
8907         * text.C (nextBreakPoint): use function Inset::isChar().
8908
8909         * paragraph.C (TeXOnePar): use function
8910         Inset::forceDefaultParagraphs.
8911
8912         * buffer.C (latexParagraphs): use function
8913         Inset::forceDefaultParagraphs.
8914
8915 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8916
8917         * lyx_gui.C (init): set the style of the menu popups to
8918         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8919
8920 2002-01-07  Juergen Vigna  <jug@sad.it>
8921
8922         * text.C (setHeightOfRow): small fix
8923         (prepareToPrint): don't look at alignment if we don't have the place
8924         for doing it.
8925
8926 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8927
8928         * box.C: New file. Move the Box methods and functions out of box.h,
8929         following Lars' suggestion.
8930
8931 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8932
8933         * box.h: #include "support/LOstream.h", needed for inlined function.
8934
8935         * lyxtextclass.C:
8936         * lyxtextclasslist.C: added some using std declarations.
8937
8938 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8939
8940         * box.h: make signed dimensions to allow insets wider than
8941           the screen (bug #162)
8942
8943         * BufferView_pimpl.C: add some insetHit debug
8944
8945 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8946
8947         * vc-backend.C: add FIXME
8948
8949 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8950
8951         * lyxfunc.C (getStatus): enable code for showing math font status
8952         in toolbar/menu.
8953
8954 2002-01-07  Juergen Vigna  <jug@sad.it>
8955
8956         * text.C (nextBreakPoint): removed debug output not needed anymore.
8957
8958 2002-01-06  Juergen Vigna  <jug@sad.it>
8959
8960         * text.C (nextBreakPoint): fixed up this function we had this bug
8961         since ever but now hopefully we break row better.
8962         (insertChar): we have to check if an inset is the next char as it
8963         could now happen that a large inset is causing a break.
8964
8965 2002-01-05  Juergen Vigna  <jug@sad.it>
8966
8967         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8968         if it doesn't like to be drawed.
8969
8970 2002-01-04  Juergen Vigna  <jug@sad.it>
8971
8972         * BufferView2.C (lockInset): forgot to set a cursor.
8973
8974         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8975
8976 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8977
8978         * FormMathsPanel.C:
8979         * FormMathsPanel.h
8980         * MathsSymbols.C:
8981         * form_maths_panel.C:
8982         * form_maths_panel.h:
8983         * form_maths_panel.fd: implemented sub- and super- buttons in math
8984         panel.
8985
8986         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8987         (or ^ space) to be used as in TeX (req'd by André).
8988
8989         * lyxfunc.C: Allow ^ and _ again to be used both as
8990         super/subscript (mathed) and as themselves (in text).
8991
8992 2002-01-03  Allan Rae  <rae@lyx.org>
8993
8994         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8995         "LyX" or the filename of the current buffer if it has one.  This is a
8996         modified form of John Levon's patch.
8997
8998         * XFormsView.C (setWindowTitle): also set icon title.
8999
9000         * LyXView.h (setWindowTitle): signature changed.
9001         * XFormsView.h (setWindowTitle): ditto.
9002
9003 2002-01-02  Juergen Vigna  <jug@sad.it>
9004
9005         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9006
9007 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9008
9009         * screen.C (topCursorVisible): introduce a temp var for
9010         text->cursor.row(), handle the case where this row is null. (kindo
9011         hachish)
9012
9013         * text2.C (setCursor): add a couple of asserts.
9014
9015         * paragraph.h (inset_iterator): add -> operator
9016
9017         * paragraph.[Ch] (autoDeleteInsets): remove member function
9018
9019         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9020         cursor pos correctly and handle inset deletion by itself.
9021         (insertErrors): move iterator declaration out of for expression
9022
9023         * lyxtextclass.C: add <algorithm>
9024
9025         * Makefile.am: added the new files to sources, removed layout.C
9026
9027         * layout.C: removed file
9028
9029         * layout.h: remove LYX_DUMMY_LAYOUT
9030
9031         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9032         layout.
9033
9034         * lyxlayout.[Ch]:
9035         * lyxtextclass.[Ch]:
9036         * lyxtextclasslist.[Ch]: new files
9037
9038         * include order changes to a lot of files, also changes because of
9039         the six new files.
9040
9041 2001-12-27  Juergen Vigna  <jug@sad.it>
9042
9043         * buffer.C (asciiParagraph): more fixes.
9044
9045         * tabular.C (ascii): make ascii export support export of only the
9046         data separated by a column-delimiter.
9047         (ascii): better support for ascii export.
9048
9049         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9050
9051 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9052
9053         * tabular_funcs.C: use a "using std::getline" instead of the
9054         previous fix from Angus (necessary for cxx + lyxstring)
9055
9056 2001-12-24  Juergen Vigna  <jug@sad.it>
9057
9058         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9059
9060         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9061         problems. First check a minipage also if we have some ert-contents
9062         (not only on par->size(), second set the right depth of the paragraph
9063         on the relink to the root-paragraph-list!
9064
9065         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9066         which then did not anymore update the main paragraphs on undo/redo!
9067
9068 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9069
9070         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9071         code. Support all font-changing funcs (even those which are not in
9072         menu currently). Support for reporting font settings in
9073         mathed (disabled until Andre provides a function on mathed's side).
9074
9075         * func_status.h (toggle): small helper function to set toggle
9076         state on a flag.
9077
9078 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9079
9080         * tabular_funcs.C: getline -> std::getline
9081
9082 2001-12-21  Juergen Vigna  <jug@sad.it>
9083
9084         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9085         accessed and could be 0 (I couldn't generate this but it seems
9086         Michael could!).
9087
9088 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9089
9090         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9091         * tabular_funcs.h: here and include iosfwd
9092
9093 2001-12-20  Juergen Vigna  <jug@sad.it>
9094
9095         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9096         inside inset but undo_par was.
9097
9098 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9099
9100         * Thesaurus.C: always include <config.h> in sources.
9101
9102         * Painter.h:
9103         * lyxlookup.h:
9104         * box.h: do not include <config.h> in header files
9105
9106         * text.C (paintLastRow): remove unused variable
9107
9108         * text.C (transformChar):
9109         (insertChar):
9110         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9111
9112         * Painter.C (text):
9113         * font.C (width): rewrite to use uppercase() instead of
9114         islower/toupper.
9115
9116         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9117
9118 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9119
9120         * lyxfind.C: clean up of find failure position change
9121
9122 2001-12-20  Juergen Vigna  <jug@sad.it>
9123
9124         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9125
9126         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9127         (TeXRow): added to LaTeX a single tabular row.
9128         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9129         (Latex): simplified and finally good LT-h/f support.
9130         (various_functions): just small adaptions for LT-h/f support.
9131
9132         * tabular_funcs.[hC]: added and moved here all not classfunctions
9133         of LyXTabular.
9134
9135 2001-12-19  Juergen Vigna  <jug@sad.it>
9136
9137         * tabular.[Ch]: better support for longtabular options (not finished
9138         yet!)
9139
9140 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9141
9142         * text.C (paintLastRow): use the label font instead of the font of
9143         the last character to compute the size of *_BOX. This makes more
9144         sense and avoids a crash with empty paragraphs.
9145         Use Painter::rectangle to draw EMPTY_BOX.
9146
9147 2001-12-19  Juergen Vigna  <jug@sad.it>
9148
9149         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9150         the paragraphs if the replaced paragraph is not the first one!
9151         Tried to delete not used paragraphs but does not work yet so for
9152         now it's inside #ifdef's and by default off!
9153
9154 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9155
9156         * MenuBackend.C: include "lyx_main.h" instead of declaring
9157         lastfiles (actually was declared as LastFiles* instead of a
9158         scoped_ptr).
9159
9160 2001-12-17  Juergen Vigna  <jug@sad.it>
9161
9162         * tabular.C (AppendColumn): applied John's fix
9163
9164 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9165
9166         * BufferView.h:
9167         * BufferView.C:
9168         * BufferView_pimpl.h:
9169         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9170
9171         * Makefile.am:
9172         * box.h: new start of class for above
9173
9174         * lyxfunc.C: ignore space-only minibuffer dispatches.
9175           Show the command name when it doesn't exist
9176
9177         * minibuffer.C: don't add empty lines to the history
9178
9179         * minibuffer.C: add a space on dropdown completion
9180
9181 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9182
9183         * text.C: fix line above/below drawing in insets
9184
9185 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9186
9187         * lyxlength.C (LyXLength): Initialize private variables.
9188
9189 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9190
9191         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9192         when inserting error insets.
9193
9194 2001-12-13  Juergen Vigna  <jug@sad.it>
9195
9196         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9197         actually sometimes the before-paragraph.
9198         (setUndo): don't clear the redostack if we're not actually undoing!
9199
9200 2001-12-06  Juergen Vigna  <jug@sad.it>
9201
9202         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9203         and fixed redoing of main paragraph, so we can use it now ;)
9204
9205         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9206
9207 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9208
9209         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9210         Juergen's request
9211
9212 2001-12-13  André Pönitz <poenitz@gmx.net>
9213
9214         * undostack.[Ch]:
9215         * undo_func.C: minor cleanup
9216
9217 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9218
9219         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9220         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9221         font in urw-fonts package which is marked as -urw-fontspecific and
9222         does not work (incidentally, changing the encoding in the
9223         fonts.dir of this package to -adobe-fontspecific fixes the
9224         problem).
9225
9226         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9227         is a crash when undoing first paragraph (Juergen, please take a
9228         look). THis does not mean the undo fix is wrong, just that it
9229         uncovers problems.
9230
9231         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9232         the (Paragraph*) version when needed instead of duplicating the
9233         code.
9234
9235         * text.C (workWidth): use Inset::parOwner to find out where the
9236         inset has been inserted. This is a huge performance gain for large
9237         documents with lots of insets. If Inset::parOwner is not set, fall
9238         back on the brute force method
9239
9240         * paragraph_pimpl.C (insertInset):
9241         * paragraph.C (Paragraph):
9242         (cutIntoMinibuffer): set parOwner of insets when
9243         inserting/removing them
9244
9245         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9246
9247 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9248
9249         * commandtags.h:
9250         * LyXAction.C:
9251         * lyx_main.C:
9252         * lyxfunc.C:
9253         * mathed/formulabase.C:
9254         * mathed/math_cursor.[Ch]:
9255         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9256
9257
9258 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9259
9260         * lyxlength.[Ch] (operator!=): new function
9261
9262 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9263
9264         * text.C (workWidth): use Inset::parOwner to find out where the
9265         inset has been inserted. This is a huge performance gain for large
9266         documents with lots of insets. If Inset::parOwner is not set, fall
9267         back on the brute force method
9268
9269         * paragraph_pimpl.C (insertInset):
9270         * paragraph.C (Paragraph):
9271         (cutIntoMinibuffer): set parOwner of insets when
9272         inserting/removing them
9273
9274         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9275
9276 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9277
9278         * tabular-old.C (getTokenValue):
9279         * tabular.C (getTokenValue):
9280         (write_attribute): new versions for LyXLength
9281         (everywhere): adjust the use of widths
9282
9283         * tabular.h: change the type of widths from string to LyXLength
9284
9285 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9286
9287         * paragraph.C: fixed missing line number count when exporting
9288         Environments to LaTeX file
9289
9290         * buffer.C: added informational message for checking line numbers.
9291
9292 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9293
9294         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9295         paragraph, do the 'double space' part, but not the 'empty
9296         paragraph' one.
9297
9298         * text.C (workWidth): small optimization
9299         (getLengthMarkerHeight): use minimal size for negative lengths.
9300
9301 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9302
9303         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9304
9305         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9306
9307 2001-12-11  André Pönitz <poenitz@gmx.net>
9308
9309         * FontLoader.C:
9310         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9311
9312 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9313
9314         * text2.C: keep selection on a setFont()
9315
9316 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9317
9318         * lyx_cb.C: another bv->text misuse, from insert label
9319
9320 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9321
9322         * kbsequence.h:
9323         * kbsequence.C: re-instate nmodifier mask
9324
9325 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9326
9327         * lyx_main.h: make lyxGUI private.
9328
9329 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9330
9331         * lyxfind.C: place the cursor correctly on failed search
9332
9333 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9334
9335         * text.C (getLengthMarkerHeight): for small heights, the arrows
9336         are not always on top/bottom of the text
9337         (drawLengthMarker): smaller arrows; take the left margin in
9338         account; draw also vfills.
9339         (paintFirstRow):
9340         (paintLastRow): remove special code for vfill and standard spaces,
9341         since everything is handled in drawLengthMarker now.
9342
9343 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9344
9345         * buffer.C (insertErtContents): try to handle font and language
9346         interaction a bit better.g
9347
9348         * ColorHandler.C (updateColor): change the hash to cover the whole
9349         LColor enum, ws cleanup
9350         (getGCLinepars): ditto
9351         (getGCLinepars): only lookup in the linecache once.
9352
9353 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9354
9355         * iterators.C (operator++): Make the iterator more robust
9356
9357         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9358         (John's patch)
9359         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9360
9361 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9362
9363         * lyxtext.h:
9364         * text.C: better added space drawing
9365
9366 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9367
9368         * LyXView.C:
9369         * BufferView2.C: fix layout combo update on inset unlock
9370
9371 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9372
9373         * Makefile.am: don't compile unused files
9374
9375 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9376
9377         * lyxfunc.C:
9378         * commandtags.h:
9379         * LyXAction.C: remove old LFUN_LAYOUTNO
9380
9381 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9382
9383         * paragraph_pimpl.h:
9384         * paragraph_pimpl.C: isTextAt() doesn't need font param
9385
9386 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9387
9388         * lyxlex.h:
9389         * lyxlex.C: little cleanup
9390
9391 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9392
9393         * BufferView_pimpl.C: fix insertAscii for insets
9394
9395 2001-12-05  Juergen Vigna  <jug@sad.it>
9396
9397         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9398         set the right font on the "multi" paragraph paste!
9399
9400 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9401
9402         * trans_decl.h:
9403         * trans_mgr.[Ch]:
9404         * trans.[Ch]:
9405         * lyxgluelength.C:
9406         * lyxlength.C: remove out-commented code.
9407
9408         * BufferView_pimpl:
9409         * CutAndPaste.C:
9410         * DepTable.C:
9411         * buffer.C:
9412         * chset.C:
9413         * lastfiles.C:
9414         * lyxlex.C:
9415         * lyxlex_pimpl.C:
9416         * lyxserver.C:
9417         * screen.C:
9418         * tabular-old.C:
9419         * tabular.C:
9420         * text.C:
9421         * trans_mgr.C:
9422         * vc-backend.C: change "while(" to "while ("
9423
9424         * lyxlength.[Ch]: add zero function to check if length is zero or
9425         not
9426         * lyxgluelength.C: use it
9427
9428 2001-12-05  Allan Rae  <rae@lyx.org>
9429
9430         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9431         Works for 2.95.3, from what I understand of Garst's reports this should
9432         work for other g++ versions.  We're screwed if the abs(int) definition
9433         changed between bugfix releases of gcc.
9434
9435 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9436
9437         * text.C: fix chapter label offset !
9438
9439 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * lyxtext.h:
9442         * text.C: fix hfill at end of line, clean up
9443
9444 2001-12-04  Juergen Vigna  <jug@sad.it>
9445
9446         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9447         that we force an update of the inset and it's owners if neccessary.
9448
9449 2001-12-03  Juergen Vigna  <jug@sad.it>
9450
9451         * text.C (rowLast): simplified code
9452
9453 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9454
9455         * lyxfunc.C: fix show options on timeout
9456
9457 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9458
9459         * screen.C (topCursorVisible): scroll half a page when the cursor
9460         reached top of bottom of screen
9461
9462 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9463
9464         * minibuffer.C: deactivate on loss of focus
9465
9466 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9467
9468         * vspace.[Ch] (operator!=): add operator.
9469
9470 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9471
9472         * BufferView_pimpl.C: refuse to open an inset when
9473         there's a selection.
9474
9475 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9476
9477         * BufferView_pimpl.C: allow to click on RHS of full row insets
9478
9479 2001-11-30  Juergen Vigna  <jug@sad.it>
9480
9481         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9482         insets for undo reasons.
9483
9484 2001-11-28  André Pönitz <poenitz@gmx.net>
9485
9486         * vspace.[Ch]: cosmetical changes
9487
9488 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9489
9490         * LyXAction.h:
9491         * LyXAction.C:
9492         * lyxfunc.h:
9493         * lyxfunc.C:
9494         * kbmap.h:
9495         * kbmap.C:
9496         * lyxrc.C:
9497         * kbsequence.h:
9498         * kbsequence.C: part re-write of old kb code
9499
9500         * Painter.C:
9501         * WorkArea.C: remove Lgb_bug_find_hack
9502
9503 2001-11-30  José Matos <jamatos@fep.up.pt>
9504
9505         * buffer.C (makeDocBookFile): add a comment to point a hack.
9506         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9507         Fixed a double write of labels.
9508
9509 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9510
9511         * LaTeX.C:
9512         * LaTeX.h Fixed bug in LaTeX class where it would not
9513         re-run latex if no depfiles were changed, but the .dvi was removed.
9514
9515 2001-11-28  André Pönitz <poenitz@gmx.net>
9516
9517         * all the files from the change on 2001/11/26:
9518         use lyx::layout_type instead of LyXTextClass::size_type
9519         use lyx::textclass_type instead of LyXTextClassList::size_type
9520
9521 2001-11-29  Juergen Vigna  <jug@sad.it>
9522
9523         * text.C: added support for paragraph::isFreeSpacing()
9524
9525         * buffer.C: same as above
9526
9527         * paragraph.h: inserted isFreeSpacing() function to enable
9528         FreeSpacing inside InsetERT.
9529
9530         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9531         of the paragraph's in the cut/copy buffer to 0!
9532
9533         * text2.C (removeRow): remove the assert as it can!
9534
9535         * lyxtext.h: added helper function firstRow returning firstrow and
9536         made firstrow private again.
9537
9538         * BufferView2.C (lockInset): don't relock if we're already locked!
9539
9540         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9541         the only paragraph.
9542         (removeRow): added Assert::(firstrow)
9543
9544         * debug.C: forgot to add INSETTEXT here.
9545
9546 2001-11-28  Juergen Vigna  <jug@sad.it>
9547
9548         * sp_spell.C (initialize): changed error text to more general
9549         spellchecker command use (not only ispell!)
9550
9551         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9552
9553         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9554
9555 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9556
9557         * vspace.C: initialise lyxgluelength on failure
9558
9559 2001-11-28  Allan Rae  <rae@lyx.org>
9560
9561         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9562         declaration & definition that looks like a function declaration.
9563
9564 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9565
9566         * BufferView2.C (copy):
9567         (copyEnvironment): do not clear the selection when doing a copy.
9568
9569         * text.C (paintFirstRow): compilation fix
9570
9571 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9572
9573         * tabular.C (Latex): correct line count when writing latex.
9574
9575 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9576
9577         * paragraph_pimpl.h:
9578         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9579           bug a bit
9580
9581 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9582
9583         * text.C:
9584         * LColor.h:
9585         * LColor.C: change vfillline->added_space
9586
9587         * text.C: add markers and text for added space
9588
9589         * vspace.C: fix comment
9590
9591 2001-11-28  André Pönitz <poenitz@gmx.net>
9592
9593         * paragraph.C: whitespace changes
9594         * all the other files from the change on 2001/11/26:
9595         change *::pos_type into lyx::pos_type
9596
9597 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9598
9599         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9600         language of the document when inserting error insets.
9601
9602 2001-11-26  André Pönitz <poenitz@gmx.net>
9603
9604         * BufferView_pimpl.[Ch]:
9605         *       CutAndPaste.C:
9606         * buffer.[Ch]:
9607         * lyxcursor.[Ch]:
9608         * lyxfind.C:
9609         * lyxfunc.C:
9610         * lyxrow.[Ch]:
9611         * paragraph.[Ch]:
9612         * paragraph_pimpl.[Ch]:
9613         * sp_spell.C:
9614         * text.C:
9615         * text2.C: reduce header dependencies, introduce type for positions
9616
9617 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9618
9619         * <various>: change to use Alert.h
9620
9621 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9622
9623         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9624         when encountering an unknown token.
9625         (readLyXformat2): Show an error message if there were unknown tokens.
9626
9627 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9628
9629         * BufferView2.C:
9630         * BufferView_pimpl.C:
9631         * buffer.C:
9632         * paragraph.h:
9633         * text.C:
9634         * text2.C: use par->isInset()
9635
9636 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9637
9638         * paragraph_pimpl.h:
9639         * paragraph_pimpl.C: cleanup
9640
9641 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9642
9643         * text2.C (removeRow):
9644         * text.C (setHeightOfRow): remove useless (and costly) call to
9645         getRow.
9646
9647 2001-11-20  Allan Rae  <rae@lyx.org>
9648
9649         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9650         Now need Inset*::checkInsertChar() to return true for appropriate
9651         cases so that the characters in the minibuffer will actually be
9652         inserted.
9653
9654 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9655
9656         * text.C: change the order of the includes.
9657         (workWidth): initialize it at once.
9658         (workWidth): make maxw unsigned
9659         (setHeightOfRow): remove unused variable (inset)
9660         (selectSelectedWord): remove unused variable (inset)
9661         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9662
9663 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9664
9665         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9666         server is not running.
9667         (openConnection):
9668         (closeConnection): add debug info when server is disabled.
9669
9670         * ColorHandler.C (getGCForeground): send debug message to GUI
9671         channel.
9672
9673         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9674
9675         * kbmap.C (bind): modify because return conventions of
9676         kb_sequence::parse have changed.
9677
9678         * kbsequence.C (parse): only ignore spaces and not any stupid
9679         control character. This avoids tests like s[i] <= ' ', which are
9680         guaranteed to fail with 8bit characters and signed chars.
9681         Change return code to string::npos when there have been no error
9682         (0 was a bad idea when error is at first character)
9683
9684 2001-11-14  José Matos  <jamatos@fep.up.pt>
9685
9686         * buffer.h:
9687         * buffer.C (simpleDocBookOnePar): removed unused argument.
9688
9689 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9690
9691         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9692         insets which are part of a word. Paragraph::isLetter takes care of
9693         that now. Use Paragraph::isInset to identify insets.
9694         (selectSelectedWord): do not test for hyphenation break.
9695
9696         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9697         that protected spaces are considered as spaces.
9698
9699         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9700         Inset::isLetter.
9701
9702 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * lyxserver.h:
9705         * lyxserver.C: fix it. and small cleanup.
9706
9707 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9708
9709         * BufferView_pimpl.C: use inline helpers
9710
9711         * LaTeXFeatures.h:
9712         * LaTeXFeatures.C: fix typos
9713
9714         * Spacing.h:
9715         * Spacing.C: move spacing_string into class
9716
9717         * ToolbarDefaults.C: move stuff into namespace anon
9718
9719         * layout.h: update enum
9720
9721         * lyxfunc.C: use better debug
9722
9723         * minibuffer.h: fix typo
9724
9725         * debug.h:
9726         * debug.C:
9727         * WorkArea.C: add and use Debug::WORKAREA
9728
9729         * lyxtext.h:
9730         * text.C:
9731         * text2.C: code re-organisation, inline helpers
9732
9733 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9734
9735         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9736         std::vector.empty().
9737
9738 2001-11-09  Allan Rae  <rae@lyx.org>
9739
9740         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9741         '\n's after tables.  Tabular and ERT inset work now makes this no
9742         longer necessary.
9743
9744 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9745
9746         * minibuffer.h:
9747         * minibuffer.C: fix crash, improve drop-down completion
9748
9749 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9750
9751         * lyxserver.h:
9752         * lyxserver.C: invalidate fd's when doing endPipe()
9753
9754 2001-11-08  José Matos  <jamatos@fep.up.pt>
9755
9756         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9757         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9758
9759         * paragraph.h:
9760         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9761
9762 2001-11-07  José Matos  <jamatos@fep.up.pt>
9763
9764         * buffer.h:
9765         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9766         const qualifier.
9767
9768         * buffer.C (sgmlOpenTag):
9769         * buffer.C (sgmlCloseTag): removed debug info.
9770
9771         * buffer.h (sgmlOpenTag):
9772         * buffer.h (sgmlCloseTag): made public.
9773
9774 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9775
9776         * buffer.C (saveParamsAsDefaults):
9777         * lyx_cb.C (MenuLayoutSave): remove
9778
9779         * LyXAction.C (init):
9780         * commandtags.h:
9781         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9782
9783 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9784
9785         * buffer.C (setPaperStuff): removed from here...
9786
9787         * bufferparams.C (setPaperStuff): ... and moved there.
9788
9789 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9790
9791         * minibuffer.h:
9792         * minibuffer.C:
9793         * XFormsView.C: add support for drop-down completion
9794
9795 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9796
9797         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9798         commands.
9799
9800 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9801
9802         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9803         disabled.
9804
9805 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9806
9807         * lyx_main.C: change ref to known bugs
9808
9809 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9810
9811         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9812         to work around older babel problems.
9813
9814 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9815
9816         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9817
9818 2001-10-24  Juergen Vigna  <jug@sad.it>
9819
9820         * tabular-old.C (ReadOld): below variable changes reflected.
9821
9822         * tabular.[Ch]: added ltType struct for longtable header/footer
9823         defines and changed all instances where they are used. Added
9824         future support for double top/bottom rows.
9825
9826 2001-10-24  José Matos  <jamatos@fep.up.pt>
9827
9828         * buffer.h (docbookHandleCaption):
9829         * buffer.C (docbookHandleCaption): removed unused function.
9830         (makeDocBookFile): moved docbook supported version to v4.1.
9831
9832 2001-10-24  José Matos  <jamatos@fep.up.pt>
9833
9834         * tabular.h:
9835         * tabular.C (docbookRow): new function to export docbook code of a row.
9836         (DocBook): now honors the longtable flags.
9837
9838 2001-10-23  José Matos  <jamatos@fep.up.pt>
9839
9840         * LaTeXFeatures.h:
9841         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9842         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9843
9844         * buffer.C (makeLinuxDocFile):
9845         (makeDocBookFile): reworked the preamble, more clean, and with
9846         support for lyx defined entities. Changed the document declaration
9847         to be more XML friendly.
9848
9849         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9850         if we need to output XML that should be done with a filter.
9851
9852 2001-10-22  Juergen Vigna  <jug@sad.it>
9853
9854         * sp_pspell.h (class PSpell): add alive function needed in the
9855         controller to see if the spellchecker could be started.
9856
9857 2001-10-22  Juergen Vigna  <jug@sad.it>
9858
9859         * buffer.C (insertStringAsLines): modify the font for inserting
9860         chars in certain conditions by calling checkInsertChar(font).
9861
9862 2001-10-19  Juergen Vigna  <jug@sad.it>
9863
9864         * text.C (workWidth): use getRow instead of wrong algorithm.
9865         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9866
9867 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9868
9869         * lyxserver.h:
9870         * lyxserver.C:
9871         * lyx_main.h:
9872         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9873
9874 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9875
9876         * text.C (workWidth): do not search for the exact row when
9877         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9878         optimization for big documents.
9879
9880 2001-10-18  Juergen Vigna  <jug@sad.it>
9881
9882         * text.C (workWidth): new function with added Inset * parameter.
9883
9884 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9885
9886         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9887
9888         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9889         change return type of getColumnNearX.
9890
9891
9892         * text.C (changeRegionCase): use uppercase/lowercase instead of
9893         toupper/tolower.
9894         (leftMargin):
9895         (rightMargin): simplify code by factoring out the uses of
9896         textclasslist.
9897         (labelFill):
9898         (numberOfHfills):
9899         (setHeightOfRow):
9900         (appendParagraph): use Paragraph::size_type
9901
9902 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9903
9904         * vspace.C (asLatexString): add a missing break
9905
9906 2001-10-15  Herbert Voss  <voss@perce.de>
9907
9908         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9909
9910 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9911
9912         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9913         is not available.
9914
9915 2001-10-10  André Pönitz <poenitz@gmx.net>
9916
9917         * lyxfunc.C: removed greek_kb_flag.
9918
9919 2001-10-10  Herbert Voss  <voss@perce.de>
9920
9921         * lyx_main.C: delete global string help_lyxdir.
9922
9923 2001-10-09  Herbert Voss  <voss@perce.de>
9924
9925         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9926
9927         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9928
9929         * lyx_main.C: added global string help_lyxdir.
9930
9931         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9932
9933 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9934
9935         * lyxrc.C (set_font_norm_type): support iso8859-4
9936
9937 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9938
9939         * LaTeX.C (deplog): add another regex for MikTeX
9940
9941 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9942
9943         * lyxrc.C (set_font_norm_type): support iso8859-3
9944
9945 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9946
9947         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9948
9949         * LaTeXFeatures.C: remove special case of french and index
9950
9951         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9952         before \begin{document}). This solves several incompatibilities.
9953
9954 2001-10-03  Garst Reese  <reese@isn.net>
9955
9956         * lyx_cb.C: change CheckTex error msg.
9957
9958 2001-10-03  José Matos  <jamatos@fep.up.pt>
9959
9960         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9961
9962 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9963
9964         * .cvsignore: update
9965
9966         * lyx_main.C (commandLineVersionInfo): use new style version info.
9967
9968         * buffer.C (writeFile):
9969         (makeLaTeXFile):
9970         (makeLinuxDocFile):
9971         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9972
9973         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9974
9975         * version.h: update to use stuff in version.C
9976
9977         * version.C.in: new file. Contains version information determined
9978         at compile time. This is a merging of version.h and
9979         version_info.h.in.
9980
9981 2001-10-03  Juergen Vigna  <jug@sad.it>
9982
9983         * BufferView_pimpl.C (update): don't change "dirty" status in
9984         updateInset call.
9985
9986 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9987
9988         * WorkArea.C (c-tor): re-position version string slightly.
9989
9990 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9991
9992         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9993         revert to previous code.
9994
9995         WorkArea.[Ch]: (show, destroySplash): methods removed.
9996
9997         WorkArea.C: rework code so that it's an amalgam of the codes before and
9998         after the splash screen was moved to WorkArea.
9999
10000 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10001
10002         * lyxrc.C (read):
10003         * vspace.C (inPixels):
10004         (lyx_advance):
10005         * kbmap.C (bind):
10006         * buffer.C (insertStringAsLines):
10007         (asciiParagraph): fix types to be large enough
10008
10009         * lyxlex_pimpl.h: change member status from short to int
10010
10011         * layout.h: fix type of endlabeltype
10012
10013         * kbmap.C (bind):
10014         * kbsequence.C (parse): change return type to string::size_type
10015
10016         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10017         variable
10018
10019         * Bullet.C (bulletSize):
10020         (bulletEntry): do not use short ints as parameters
10021
10022         * BufferView2.C (insertLyXFile): change a char to an int.
10023
10024         * WorkArea.C (WorkArea): remove unneeded floats in computation
10025
10026 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10027
10028         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10029
10030         * paragraph.C (asString): Do not ignore newline/hfill chars when
10031         copying to the clipboard.
10032
10033 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10034
10035         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10036         after a multi-line inset.
10037
10038 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10039
10040         * paragraph.C (validate): Set NeedLyXFootnoteCode
10041
10042 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10043
10044         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10045         and decrease-error to decrease.
10046
10047 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10048
10049         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10050         it more readable (should be equivalent)
10051
10052 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10053
10054         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10055
10056 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10057
10058         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10059         of a cursor (row, etc.) after a character has been deleted
10060         (deleteEmptyParagraphMechanism): call the method above on _all_
10061         cursors held by the LyXText when a double space has been
10062         detected/deleted.
10063
10064 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10065
10066         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10067         pixmap.
10068         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10069
10070         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10071         background. Use greyOut() and the new show() methods to toggle between
10072         the foreground and background. Add code to remove the splash after
10073         its initial showing.
10074
10075         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10076         (create_forms): no longer call Dialogs::showSplash.
10077
10078 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10079
10080         * .cvsignore: add version_info.h
10081
10082 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10083
10084         * version_info.h.in: new file
10085
10086         * Makefile.am: add version_info.h.in
10087
10088         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10089         version_info.h instead of VERSION_INFO
10090
10091 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10092
10093         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10094         The ERT inset now returns string().
10095
10096 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10097
10098         * lyxtext.h, text.C (selectNextWord): renamed as
10099         selectNextWordToSpellcheck.
10100
10101         * text.C (selectNextWordToSpellcheck): Modified to not select
10102         words inside an ERT inset.
10103
10104 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10105
10106         * lyx_cb.C (MenuLayoutSave): change a bit the question
10107
10108         * sp_base.h: include <sys/types.h>
10109
10110 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10111
10112         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10113
10114 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10115
10116         * several files: fix typos in user-visible strings
10117
10118 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10119
10120         * text2.C (pasteSelection): do not set the selection, since it
10121         will be cleared later. Actually, the intent was to fix the way the
10122         selection was set, but I figured rmoving the code was just as good.
10123
10124 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10125
10126         * FontLoader.C (available): Check if font is available without
10127         loading the font.
10128
10129 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10130
10131         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10132
10133 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10134
10135         * lyxrc.[Ch]: added display_graphics variable and associated code.
10136
10137 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10138
10139         * bufferparams.C (hasClassDefaults): new method. Returns true if
10140         the buffer parameters correspond to known class defaults
10141
10142 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10143
10144         * XFormsView.C (show): set minimum size to the main window.
10145
10146 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10147
10148         * text2.C (copySelection):
10149         (cutSelection):
10150         * lyxfind.C (LyXReplace):
10151         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10152         LyXText::selectionAsString.
10153
10154         * paragraph.C (asString): add "label" argument to the second form
10155
10156         * text2.C (selectionAsString): add "label" argument and pass it to
10157         Paragraph::asString.
10158
10159 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10160
10161         * lyx_main.C (commandLineHelp): remove version information
10162
10163 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10164
10165         * lyx_main.C: add -version commandline option
10166
10167 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10168
10169         * paragraph.h: make the optional constructor arg required instead.
10170         some modifications to other files because of this.
10171
10172         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10173
10174         * lyxserver.C (C_LyXComm_callback): make it static
10175
10176         * lyx_main.C (error_handler): make it static
10177
10178         * lyx_gui.C (LyX_XErrHandler): make it static
10179
10180         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10181
10182         * WorkArea.C: make the extern "C" methods static.
10183
10184         * Makefile.am (lyx_LDADD): simplify
10185
10186 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10187
10188         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10189         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10190
10191         * LyXAction.C (init):
10192         * lyxfunc.C (dispatch): associated code removal.
10193
10194 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10195
10196         * lyxfont.h (isSymbolFont): shut off warning
10197
10198         * text.C (setHeightOfRow):
10199         (getVisibleRow): fix crash with empty paragraphs which have a
10200         bottom line
10201
10202 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10203
10204         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10205         code.
10206
10207 2001-09-04  José Matos  <jamatos@fep.up.pt>
10208         * buffer.C
10209         * buffer.h
10210         * tabular.C (docbook): rename docBook method to docbook.
10211
10212 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10213
10214         * Makefile.am: add dependencies to main.o.
10215
10216 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10217
10218         * FontLoader.C (available): Return false if !lyxrc.use_gui
10219
10220 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10221
10222         * FontInfo.C (query):
10223         * converter.C (view):
10224         * importer.C (Import):
10225         * exporter.C (Export): Can not -> cannot.
10226
10227 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10228
10229         * BufferView_pimpl.C: allow to create index inset even if
10230           string is empty
10231
10232 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10233
10234         * buffer.C (getLists): replace boost::tie code with an explicit pair
10235         as boost::tie can break some compilers.
10236
10237         * iterators.h: Added a std:: declaration to the return type of
10238         ParIterator::size.
10239
10240 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10241
10242         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10243           case.
10244
10245 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10246
10247         * iterators.[Ch]: New files. Provide paragraph iterators.
10248
10249         * buffer.C (changeLanguage): Use paragraph iterators.
10250         (isMultiLingual): ditto
10251
10252         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10253
10254 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10255
10256         * FontLoader.C: Support for cmr font.
10257
10258 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10259
10260         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10261         (available): New method.
10262
10263         * FontInfo.C (getFontname): Use scalable fonts even when
10264         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10265         found.
10266
10267 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10268
10269         * converter.C (Formats::view): reverted! Incorrect fix.
10270
10271 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10272
10273         * converter.C (Formats::view): only output the -paper option
10274         if the dvi viewer is xdvi, thereby fixing bug #233429.
10275
10276 2001-08-23  Herbert Voss  <voss@perce>
10277
10278         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10279
10280 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10281
10282         * Spacing.h (Spacing): Set space to Default on in the default
10283         constructor.
10284
10285 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10286
10287         * vc-backend.h (RCS::versionString): add RCS to version
10288         (CVS::versionString): add CVS to version
10289
10290         * vc-backend.C (scanMaster): do not add CVS to version.
10291         (scanMaster): do not add RCS to version
10292
10293         * lyxvc.C (versionString): new method
10294
10295         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10296
10297 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10298
10299         * Spacing.C (set): initialize fval
10300
10301 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10302
10303         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10304         " or \.
10305
10306 2001-08-16  Juergen Vigna  <jug@sad.it>
10307
10308         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10309
10310 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10311
10312         * BufferView_pimpl.C:
10313         * figureForm.C:
10314         * lyxtext.h:
10315         * text2.C: setParagraph takes linespacing now
10316
10317 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10318
10319         * LyxAction.C: add internal LFUN_CITATION_INSERT
10320
10321         * LyXView.C: actually apply fix
10322
10323         * bufferlist.C: fix open non-existent file
10324
10325         * lyxfind.C: fix indentation
10326
10327         * lyxfunc.C: remove unneeded assert, fix typo
10328
10329 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10330
10331         * MenuBackend.C: use "Floatname List"
10332
10333 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10334
10335         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10336         when converting LaTeX layout to insetERT.
10337         Generate a non-collapsed float when reading old float
10338
10339 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10340
10341         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10342         ERT insets.
10343
10344 2001-08-13  Juergen Vigna  <jug@sad.it>
10345
10346         * text.C (fill): return 0 instead of 20 as this seems to be the more
10347         correct value.
10348
10349 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10350
10351         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10352         lyxrc.font_norm.
10353
10354 2001-08-13  Juergen Vigna  <jug@sad.it>
10355
10356         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10357         casesensitive off.
10358         (SearchBackward): comment out the unlocking of the inset_owner this
10359         should not be needed!
10360
10361 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10362
10363         * Many files: Remove inherit_language, and add latex_language
10364
10365         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10366         collapsible insets.
10367
10368 2001-08-10  Juergen Vigna  <jug@sad.it>
10369
10370         * text.C (prepareToPrint): fixed hfill-width in draw!
10371
10372         * BufferView2.C (selectLastWord): save the selection cursor as this
10373         now is cleared in the function LyXText::clearSelection!
10374
10375 2001-08-08  Juergen Vigna  <jug@sad.it>
10376
10377         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10378         BACKSPACE type functions.
10379
10380         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10381         is only cutted from the document but not put in the cut-buffer, where
10382         still the old stuff should be.
10383
10384         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10385
10386         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10387
10388         * tabular.C (SetWidthOfCell): fixed special case where the width
10389         was not updated!
10390         (LeftLine): handle '|' in align_special.
10391         (RightLine): ditto
10392         (LeftAlreadyDrawed): ditto
10393         (SetWidthOfCell): ditto
10394
10395 2001-08-07  Juergen Vigna  <jug@sad.it>
10396
10397         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10398
10399 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10400
10401         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10402         * lyxlex.[hC]: ditto
10403
10404 2001-08-06  Juergen Vigna  <jug@sad.it>
10405
10406         * text.C (getVisibleRow): fix up row clearing a bit.
10407
10408 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10409
10410         * minibuffer.C: make sure the X server sees the changes in the input.
10411
10412 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10413
10414         * paragraph.C (getFont): split into...
10415         (getLabelFont): this
10416         (getLayoutFont): and this
10417         * paragraph_pimpl.C (realizeFont): calling this
10418
10419         * text2.C (getFont): split into...
10420         (getLayoutFont): this
10421         (getLabelFont): and this
10422         (realizeFont): all three calling this
10423
10424         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10425         files where used.
10426
10427 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10428
10429         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10430
10431 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10432
10433         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10434         layouts from the Quote inset insertion.
10435
10436 2001-08-03  Juergen Vigna  <jug@sad.it>
10437
10438         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10439
10440         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10441         only if status not is already CHANGED_IN_DRAW (second level).
10442
10443         * text.C (draw): don't set the need_break_row when inside an
10444         InsetText LyXText.
10445
10446 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10447
10448         * buffer.C (parseSingleLyXformat2Token): handle more latex
10449         conversion cases.
10450
10451         * bufferview_funcs.[hC]: change function names to
10452         begin with small char, adjust other files.
10453
10454 2001-08-02  André Pönitz <poenitz@gmx.net>
10455
10456         * lyxfunc.C:
10457         BufferView_pimpl.C: remove broken special code for math-greek
10458
10459 2001-08-02  Juergen Vigna  <jug@sad.it>
10460
10461         * BufferView_pimpl.C (update): redone this function so that we
10462         update the text again if there was a CHANGE_IN_DRAW.
10463
10464         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10465         (drawFromTo): added a new internal bool which is used by draw() and
10466         redraw() function.
10467         (general): some cursor drawing problems fixed.
10468
10469 2001-08-01  Juergen Vigna  <jug@sad.it>
10470
10471         * lyxfind.C (LyXFind): fixed
10472         (SearchForward): ditto
10473         (SearchBackward): ditto
10474
10475         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10476         spurius drawing of the cursor in the main area.
10477
10478         * text2.C (status): small fix which could lead to a segfault!
10479         (clearSelection): remove unneeded BufferView param.
10480
10481 2001-08-01  André Pönitz <poenitz@gmx.net>
10482
10483         * lyxfunc.C: small change due to changed mathed interface
10484
10485 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10486
10487         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10488
10489 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * lyxfunc.c: fail gracefully if file doesn't exist
10492
10493         * LyXSendto.C:
10494         * buffer.C:
10495         * lyxfunc.C:
10496         * BufferView_pimpl.C: IsDirWriteable() proto changed
10497
10498         * LyXView.C: fix updateWindowTitle() to store the last title
10499
10500 2001-07-31  Juergen Vigna  <jug@sad.it>
10501
10502         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10503         the font (wrong since using of Paragraph::highestFontInRange).
10504
10505         * paragraph.C (highestFontInRange): added a default_size parameter.
10506
10507         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10508         (setHeightOfRow): reformat
10509
10510 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10511
10512         * converter.[hC] + affected files: move to (inital-char)lowercase
10513         function names.
10514
10515         * ParagraphParameters.C (ParagraphParameters): remove commented code
10516
10517         * PainterBase.[Ch]: remove commented code
10518
10519         * LaTeXFeatures.h: add "bool floats" for float.sty
10520
10521         * LaTeXFeatures.C (LaTeXFeatures): init floats
10522         (require): handle float
10523         (getPackages): do it with floats
10524
10525 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10526
10527         * BufferView_pimpl.C (Dispatch): improve handling of
10528         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10529
10530         * commandtags.h: #include lyxfont.h here temporarily to avoid
10531         keybinding bug.
10532
10533         * bufferlist.h: include LString.h here.
10534
10535 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10536
10537         * text2.C (getStringToIndex): new method.
10538
10539 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10540
10541         * *: Reduced header file dependencies all over.
10542
10543 2001-07-30  Baruch Even  <baruch@lyx.org>
10544
10545         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10546
10547 2001-07-29  Baruch Even  <baruch@lyx.org>
10548
10549         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10550
10551 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10552
10553         * ParameterStruct.h (endif): add a default constructor to make
10554         sure that all variables is initialized.
10555
10556         * ParagraphParameters.C (ParagraphParameters): adjust
10557
10558 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10559
10560         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10561         index; also, check that there is something to index, and that it
10562         does not span over several paragraphs.
10563         (doubleClick): use WHOLE_WORD_STRICT for double click.
10564
10565         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10566
10567         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10568         scheme.
10569
10570 2001-07-26  Baruch Even  <baruch@lyx.org>
10571
10572         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10573         an InsetFig figure, backwards compatible reading of old figure code.
10574
10575 2001-07-27  Juergen Vigna  <jug@sad.it>
10576
10577         * text2.C: font.realize function adaption.
10578
10579         * text.C (draw): add a warnings lyxerr text if needed.
10580
10581         * layout.C: font.realize function adaption.
10582
10583         * language.C: add inherit_language and implement it's handlings
10584
10585         * bufferview_funcs.C (StyleReset): remove language parameter from
10586         font creation (should be language_inherit now).
10587
10588         * bufferparams.C (writeFile): handle ignore_language.
10589
10590         * paragraph.C (getFontSettings): the language has to be resolved
10591         otherwise we have problems in LyXFont!
10592
10593         * lyxfont.C (lyxWriteChanges): added document_language parameter
10594         (update): removed unneeded language parameter
10595
10596         * paragraph.C (validate): fixed wrong output of color-package when
10597         using interface colors for certain fonts in certain environments,
10598         which should not seen as that on the final output.
10599
10600 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10601
10602         * BufferView_pimpl.C:
10603         * Thesaurus.h:
10604         * Thesaurus.C:
10605         * Makefile.am:
10606         * commandtags.h:
10607         * LyXAction.C: add thesaurus support
10608
10609         * lyxfind.h:
10610         * lyxfind.C: add "once" parameter, for thesaurus, to not
10611           move to the next match
10612
10613 2001-07-26  Juergen Vigna  <jug@sad.it>
10614
10615         * lyxfont.C (realize): honor ignore_language too!
10616         (resolved): ditto.
10617
10618         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10619
10620         * text.C (draw): one place more for ignore_language to not draw
10621         itself!
10622
10623 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10624
10625         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10626
10627 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10628
10629         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10630         the minipage conversion problem.
10631
10632 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10633
10634         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10635         insert an inset.
10636
10637 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10638
10639         * BufferView.h: don't forward declare WorkArea
10640
10641         * BufferView.C: don't include WorkArea.h
10642
10643 2001-07-25  André Pönitz <poenitz@gmx.net>
10644
10645         * commandtags.h:
10646         * LyXAction.C:
10647         * lyxfunc.C:  new LFUN 'math-space'
10648
10649         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10650
10651 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10652
10653         * text2.C (toggleInset): call open/close
10654
10655 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10656
10657         * lyxfunc.C (dispatch): add debug for the disabled case
10658
10659         * font.C (buttonText): make similar to rectText
10660
10661         * buffer.C (readInset): comment out parsing of insetlist and
10662         insttheorem
10663
10664         * PainterBase.C (rectText): small correction
10665
10666         * BufferView_pimpl.C: comment out insettheorem and insetlist
10667         * LyXAction.C: ditto
10668         * commandtags.h: ditto
10669
10670 2001-07-24  Juergen Vigna  <jug@sad.it>
10671
10672         * text.C (draw): honor the ignore_language.
10673
10674         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10675
10676 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10677
10678         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10679         char inset.
10680
10681 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10682
10683         * lyxtext.h: remove unused (and unimplemented) methods
10684
10685 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10686
10687         * text.C (getVisibleRow): honor background color
10688
10689         * PainterBase.h:
10690         * Painter.h: remove default color argument for fillRectangle
10691
10692         * text.C (backgroundColor): new method
10693
10694 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10695
10696         * text.C (getVisibleRow): adjust
10697
10698         * font.[Ch] (rectText): new method, metrics
10699         (buttonText): new method, metrics
10700
10701         * PainterBase.[hC]: make rectText and buttonText always draw and take
10702         fewer paramteres.
10703
10704 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10705
10706         * ToolbarDefaults.C (read):
10707         * MenuBackend.C (read): allow escaping in all strings
10708
10709         * BufferView_pimpl.C (insertAndEditInset): new method.
10710         (Dispatch): use insertAndEditInset whenever appropriate.
10711
10712         * BufferView_pimpl.C (insertNote): removed
10713
10714         * BufferView_pimpl.C (smartQuote): new method, moved from
10715         BufferView; if an insetquote cannot be inserted, insert a '"'
10716         character instead.
10717
10718         * BufferView2.C: remove insertCorrectQuote();
10719
10720         * lyxfunc.C (getStatus): Add support for all remaingin
10721         inset-insert lfuns.
10722
10723         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10724
10725         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10726         command (necessary to pass " as parameter of self-insert.
10727
10728         * text.C (selectWordWhenUnderCursor):
10729         (selectWord): add word_location parameter
10730         (selectWordWhenUnderCursor): same + remove special code for word
10731         boundary.
10732         (selectNextWord): use kind() to guess type of insetspecialchar,
10733         not latex().
10734
10735         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10736         (insertErtContents): create ert insets as collapsed.
10737         (readInset): better compatibility code for Info inset.
10738
10739 2001-07-20  Juergen Vigna  <jug@sad.it>
10740
10741         * lyxfunc.C (dispatch): use always LyXFind now!
10742
10743         * text2.C (init): add a reinit flag so that the LyXText can be
10744         reinited instead of deleted and reallocated (used in InsetText).
10745
10746         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10747
10748         * text.C: ditto
10749
10750         * text2.C: ditto
10751
10752 2001-07-18  Juergen Vigna  <jug@sad.it>
10753
10754         * text.C (selectNextWord): handle insets inside inset by calling
10755         always the bv->text functions so that we can go up the_locking_inset!
10756
10757         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10758         in strange locations when inside an inset!
10759
10760         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10761         handling to include insets.
10762
10763         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10764
10765 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10766
10767         * LyXAction.C (init):
10768         * commandtags.h:
10769         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10770         LIGATURE_BREAK, since the name is so stupid.
10771
10772 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10773
10774         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10775         InsetInfos.
10776
10777         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10778
10779         * sp_form.[Ch]: remove.
10780
10781         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10782
10783         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10784         InsetInfo.
10785
10786         * src/buffer.C (readInset): ditto.
10787
10788 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10789
10790         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10791         menuSeparator(), endOfSentenceDot(), ldots() and
10792         hyphenationPoint(), which are therefore removed.
10793         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10794
10795         * LyXAction.C (init):
10796         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10797
10798         * paragraph.C (getWord): removed.
10799
10800         * BufferView_pimpl.C (Dispatch): use last word or selection for
10801         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10802
10803         * lyx_main.C (queryUserLyXDir): do not ask before creating
10804         user_dir, except if it has been named explicitely.
10805
10806 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10807
10808         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10809         a document of zero size.
10810
10811 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10812
10813         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10814         approriately in the c-tor and in require().
10815         (getPackages): output the appropriate LaTeX for natbib support.
10816
10817         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10818         variables "use_natbib" and "use_numerical_citations" when reading the
10819         LyX file.
10820         (readInset): read the various natbib cite commands.
10821         (validate): white-space change.
10822
10823         * bufferparams.[Ch]: new variables "bool use_natbib" and
10824         "bool use_numerical_citations".
10825         (writeFile): output them in the LyX file.
10826
10827 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10828
10829         * lyxfunc.C (getStatus): add support for all the inset insertion
10830         commands.
10831
10832         * text2.C (insertInset):
10833         * paragraph.C (insetAllowed):
10834         * BufferView_pimpl.C (insertInset): update to take in account the
10835         renaming of insertInsetAllowed
10836
10837         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10838
10839         * text2.C (getInset): new method. returns inset at cursor position.
10840
10841         * BufferView_pimpl.C (Dispatch): changes because of this.
10842
10843         * LyXAction.C (init): rename open-stuff to inset-toggle.
10844
10845         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10846
10847         * text2.C (toggleInset): renamed from openStuff; use
10848         Inset::open().
10849
10850 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10851
10852         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10853
10854         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10855
10856 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10857
10858         * buffer.C (readLyXformat2): Add filename to the error dialog
10859
10860 2001-07-18  Juergen Vigna  <jug@sad.it>
10861
10862         * tabular.C (GetCellNumber): put an assert here instead of the check!
10863
10864 2001-07-17  Juergen Vigna  <jug@sad.it>
10865
10866         * BufferView_pimpl.C (toggleSelection): adapted too.
10867
10868         * text.C (selectNextWord): adapted for use with insets.
10869         (selectSelectedWord): ditto
10870
10871 2001-07-17  Juergen Vigna  <jug@sad.it>
10872
10873         * sp_spell.C (PSpell): fix initialitation order.
10874
10875 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10876
10877         * paragraph.C: spacing
10878
10879 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10880
10881         * sp_spell.C: repair language selection for pspell
10882
10883 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10884
10885         * lyxfunc.h: change more methods to begin with lower char.
10886
10887 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10888
10889         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10890         for unknown layouts.
10891
10892 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10893
10894         * buffer.C (readLyXformat2): Generate an error dialog if there are
10895         unknown layouts.
10896
10897 2001-07-16  Juergen Vigna  <jug@sad.it>
10898
10899         * sp_spell.C: always compile ISpell part.
10900
10901         * lyxrc.C: added use_pspell entry and it's handling.
10902
10903 2001-07-13  Juergen Vigna  <jug@sad.it>
10904
10905         * sp_spell.C: removed double includes.
10906
10907 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10908
10909         Consistent use of Lsstream.h:
10910         * Lsstream.h: added using std::stringstream for consistencies sake.
10911
10912         * buffer.C: removed using std::stringstream
10913
10914         * lyxfont.C (stateText):
10915         * paragraph.C (asString):
10916         * text.C (selectNextWord, selectSelectedWord):
10917         * text2.C (setCounter):
10918         * vspace.C (asString, asLatexString):
10919         std::ostringstream -> ostringstream.
10920
10921 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10922
10923         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10924         * commandtags.h: add LFUN_HELP_ABOUTLYX
10925         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10926
10927 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10928
10929         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10930         cursorToggle()
10931         * lyx_gui_misc.C: remove spellchecker
10932         * lyxfunc.C: showSpellchecker
10933         * sp_base.h: added
10934         * sp_ispell.h: added
10935         * sp_pspell.h: added
10936         * sp_spell.C: added
10937         * sp_form.[Ch]: removed
10938         * spellchecker.[Ch]: removed
10939
10940 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10941
10942         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10943         is set.
10944         (simpleTeXSpecialChars): Simply print the input character without
10945         any special translation if pass_thru is set.
10946
10947         * layout.h: Added bool pass_thru to layout class for being able to
10948         implement pass through of a paragraph for Literate Programming.
10949
10950         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10951         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10952         * layout.C (Read): add "passthru" to list of layout tags and add
10953         code to set the pass_thru boolean when it is read.
10954
10955 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10956
10957         * trans_decl.h: remove allowed from KmodInfo
10958
10959         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10960         remove allowed code
10961         (Load): adjust
10962
10963         * paragraph_pimpl.C (erase): use boost::prior
10964
10965         * Painter.C (text): use data() instead of c_str() when length is
10966         also provided.
10967         * WorkArea.C (putClipboard): ditto
10968         * font.h (width): ditto
10969
10970         * BufferView2.C: use it-> instead of (*it). for iterators
10971         * texrow.C: ditto
10972         * paragraph_pimpl.C: ditto
10973         * paragraph.C: ditto
10974         * minibuffer.C: ditto
10975         * language.C: ditto
10976         * kbmap.C: ditto
10977         * encoding.C: ditto
10978         * counters.C: ditto
10979         * converter.C: ditto
10980         * chset.C: ditto
10981         * Variables.C: ditto
10982         * TextCache.C: ditto
10983         * MenuBackend.C: ditto
10984         * LyXAction.C: ditto
10985         * LColor.C: ditto
10986         * FloatList.C: ditto
10987         * DepTable.C: ditto
10988         * ColorHandler.C (LyXColorHandler): ditto
10989
10990 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10991
10992         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10993
10994         * text2.C (openStuff): reintroduce this method (which had been
10995         nuked in NEW_INSETS frenzy).
10996
10997         * lyxfunc.C (Dispatch): when an action has not been handled, use
10998         its name in the error message, not its number.
10999
11000         * paragraph.C (inInset): change method name to begin with lowercase.
11001
11002         * undo_funcs.C:
11003         * text2.C: updates because of this.
11004
11005 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11006
11007         * ToolbarDefaults.C (add): add spaces in error message
11008
11009 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11010
11011         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11012         (readLyXformat2): rename return_par to first_par, use lyxlex's
11013         pushToken and remove the manual push handling.
11014         (parseSingleLyXformat2Token): add another ert comp. variable:
11015         in_tabular, rename return_par to first_par. handle newlines better
11016
11017 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11018
11019         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11020
11021 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11022
11023         * text2.C (getParFromID): removed
11024
11025         * buffer.C (getParFromID): new method moved form lyxtext.
11026         * BufferView2.C (insertErrors): adjust
11027         (setCursorFromRow): adjust
11028         * BufferView_pimpl.C (restorePosition): adjust
11029         * lyxfunc.C (Dispatch): adjust
11030         * undo_funcs.C (textUndo): adjust
11031         (textRedo): adjust
11032         (textHandleUndo): adjust
11033         (textHandleUndo): adjust
11034
11035 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11036
11037         * buffer.C: up' the LYX_FORMAT
11038
11039         * lyxfont.h: turn NO_LATEX on as default
11040
11041         * buffer.C (insertErtContents): new methods of tex style compability.
11042         (parseSingleLyXformat2Token): use it several places.
11043         * tabular.C (OldFormatRead): and here
11044
11045 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11046
11047         * text2.C: remove some commented code.
11048         reindent file.
11049
11050         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11051         * trans.C: changes because of the above.
11052
11053 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11054
11055         * text2.C (setCounter): Fix counters bug with bibliography layout.
11056
11057 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11058
11059         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11060         own member functions
11061         (simpleTeXSpecialChars): ditto
11062
11063 2001-07-06  Juergen Vigna  <jug@sad.it>
11064
11065         * a lot of files: changed the access to LyXText::status and the
11066         call of undo-functions.
11067
11068         * undo.[Ch]: added a inset_id to the undo informations.
11069
11070         * undo_funcs.[Ch]: added and moved here all undo functions.
11071
11072         * lyxtext.h: give the status enum a weight, made status_ a private
11073         variable and made accessor functions for it, removed the whole bunch
11074         of undo-functions as they are now in their own file, make some
11075         functions publically available. Added function ownerParagraph with
11076         int parameter.
11077
11078         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11079         made InInset() a const function, added getParFromID() function.
11080
11081         * buffer.[Ch]: added const version for inset_iterator functions,
11082         added getInsetFromID() function.
11083
11084         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11085         changed undo functions for new version.
11086
11087 2001-07-05  Juergen Vigna  <jug@sad.it>
11088
11089         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11090         unknow mechanism does not call the proper constructor but only this
11091         one also if I request the other!?
11092
11093 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11094
11095         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11096
11097         * text2.C (LyXText): use initialization lists.
11098
11099         * lyxtext.h (Selection): initialize set_ and mark_
11100         (init): remove method
11101
11102 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11103
11104         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11105
11106 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11107
11108         * screen.[Ch]: change method names to begin with lowercase
11109
11110         * BufferView_pimpl.C (updateScrollbar): simplify further and
11111         hopefully make it a bit faster.
11112
11113 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11114
11115         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11116         calling directly xforms functions.
11117
11118         * Painter.C (Painter):
11119         * lyx_cb.C (MenuWrite):
11120         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11121         fl_display.
11122
11123         * lyx_gui.C: remove bogus guiruntime extern declaration.
11124
11125 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11126
11127         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11128         in NEW_INSETS
11129         (redoDrawingOfParagraph): ditto
11130         (redoParagraphs): ditto
11131         (cutSelection): don't create a object for CutAndPaste use the
11132         static method directly
11133         (pasteSelection): ditto
11134
11135         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11136         LyXview (+ rename)
11137
11138 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11139
11140         * modifications to some other files because of this.
11141
11142         * Makefile.am (lyx_SOURCES): add XFormsView
11143
11144         * XFormsView.[Ch]: new files
11145
11146         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11147         the main window. Move the gui dependent stuff to XFormsView
11148
11149 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11150
11151         * tabular.C (GetCellInset): update cur_cell also in the row/col
11152         version of this function.
11153
11154         * lyxfunc.C: no need to include figure_form.h here.
11155
11156         * FontLoader.h:
11157         * lyxfunc.h:
11158         * lyxscreen.h:
11159         * text2.C:
11160         * lyxvc.C: no need to include forms.h here.
11161
11162 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11163
11164         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11165
11166         * lyxfunc.C (Dispatch):
11167         * Spacing.C (set):
11168         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11169         constructor argument.
11170
11171 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11172
11173         * paragraph.C (Paragraph): dont't clear, and just set layout.
11174         (makeSameLayout): use params's copy contructor.
11175
11176         * ParagraphParameters.[Ch] (makeSame): delete method
11177
11178 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * Variables.[Ch]: fix indentation, rename set to isSet
11181
11182 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11183
11184         * lyxfunc.C (Dispatch): fix typo
11185
11186 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11187
11188         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11189         upper_bound.
11190
11191         * bufferlist.C: include assert.h for emergencyWrite().
11192
11193 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11194
11195         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11196           give up at last (bug #425202) !
11197
11198 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11199
11200         * lyx_gui_misc.C:
11201         * sp_form.h:
11202         * sp_form.C:
11203         * spellchecker.h:
11204         * spellchecker.C: strip spellchecker options and bring up
11205           preferences tab instead
11206
11207 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11208
11209         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11210         the istringstream constructor
11211
11212 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11213
11214         * paragraph.C (getLayout): fix return value
11215
11216         * paragraph.h: do not declare getLayout as inline.
11217
11218         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11219
11220 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11221
11222         * lyxcursor.h (operator<): new func
11223         (operator>): new func
11224         (operator>=): new func
11225         (operator<=): new func
11226
11227         * text.C (changeCase): use selection.start and selection.end
11228         (changeRegionCase): require from to be <= to. Require par to be a
11229         valid paragraph.
11230
11231         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11232
11233 2001-06-27  Juergen Vigna  <jug@sad.it>
11234
11235         * text.C (cursorLeftOneWord): changed to return the cursor and added
11236         overlay with BufferView * parameter which calls this one.
11237         (getWord): added
11238         (selectWord): use new getWord function.
11239         (changeCase): renamed from changeWordCase as and extended to work
11240         also on selections.
11241
11242         * lyxtext.h: added enum word_location
11243
11244         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11245         changeCase as this operates now also on selections.
11246
11247 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11248
11249         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11250
11251         * many files: send debug output to Debug::INFO instead of
11252         Debug::ANY.
11253
11254         * converter.C (View):
11255         (Convert):
11256         (Move): send debug output to Debug::FILES instead of console.
11257
11258 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11259
11260         * lyxfunc.C (getStatus): use func_status
11261
11262         * func_status.h: new header, describing the results of
11263         LyXFunc::getStatus;
11264
11265         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11266         LFUN_MATH_HALIGN.
11267
11268 2001-06-25  The LyX Project  <jug@sad.it>
11269
11270         * buffer.C (sgmlOpenTag):
11271         (sgmlCloseTag):
11272         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11273
11274 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11275
11276         * text2.C: remove some dead code
11277
11278         * tabular.C (GetCellInset): store the last cell checked (gotten)
11279
11280         * tabular.h: add the helper for the speedup
11281
11282         * lyxtext.h: remove some dead code
11283
11284 2001-06-26  The LyX Project  <Asger>
11285
11286         * paragraph.C: Change export to LaTeX of alignment to
11287         \begin{center} and family for better roundtrip work with reLyX.
11288
11289         * Tune the math drawing a bit.
11290
11291 2001-06-25  The LyX Project  <Asger>
11292
11293         * LColor.C (LColor): New color for math background. New color
11294         for buttons.
11295
11296 2001-06-25  The LyX Project  <jug@sad.it>
11297
11298         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11299
11300         * lyxfunc.C (Open):
11301         * bufferlist.C (newFile): do not restrict to files ending with
11302         .lyx
11303
11304         * BufferView_pimpl.C (MenuInsertLyXFile):
11305
11306 2001-06-24  The LyX Project  <jug@sad.it>
11307
11308         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11309         of compare_no_case
11310
11311 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11312
11313         * lyxtext.h: rename most methods to begin with a small char.
11314         Lots of changes because of this.
11315
11316         * paragraph.C (Paragraph): do not call fitToSize
11317         (erase): call Pimpl::erase
11318         (insertChar): call Pimpl::insertChar
11319         (insertInset): call Pipl::insertInset
11320         (breakParagraph): do not call fitToSize
11321         (breakParagraphConservative): do not call fitToSize
11322         (fitToSize): remove method
11323
11324         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11325
11326 2001-06-24  The LyX Project  <Asger>
11327
11328         * Fix Qt compilation^2
11329
11330 2001-06-24  The LyX Project  <jug@sad.it>
11331
11332         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11333         depthHook(getDepth()-1).
11334
11335         * paragraph.h:
11336         * ParagraphParameters.h:
11337         * ParameterStruct.h: change type of depth to unsigned int ==
11338         depth_type. Many adaptations to other files before of that.
11339
11340 2001-06-24  The LyX Project  <Asger>
11341
11342         * Fix Qt compilation.
11343
11344 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11345
11346         * paragraph.h: renamed several methods to begin with small letter.
11347         several changes to many parts of the code because of this.
11348
11349 2001-06-23  The LyX Project  <jug@sad.it>
11350
11351         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11352         rewritten to discard all double spaces when KeepEmpty is off
11353         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11354         to only handle newlines but not fiddle with spaces and friends.
11355
11356         * lyxfunc.C (MenuNew): when doing 'new from template', use
11357         template_path as default directory
11358
11359 2001-06-23  The LyX Project  <Asger>
11360
11361         * Clean-up of header file includes all over
11362         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11363
11364 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * paragraph.h: renamed from lyxparagraph.h
11367
11368 2001-06-23  Asger  <lyx@violet.home.sad.it>
11369
11370         * Buffer.h: Removed Buffer::resize
11371         * BufferList.h: Removed BufferList::resize
11372         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11373         the document lazily when we change the width, or the font settings.
11374
11375 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11376
11377         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11378
11379 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11380
11381         * buffer.h: remove out of date comment
11382
11383 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * lyxscreen.h:
11386         * screen.C: fix "theoretical" GC leak
11387
11388 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11389
11390         * LaTeX.C (scanAuxFile):
11391         (deplog): remove trailing \r when reading stream (useful under
11392         win32)
11393
11394 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11395
11396         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11397         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11398         and BufferView::theLockingInset(Inset*), so should use them and not
11399         access bv_->text->the_locking_inset directly.
11400
11401         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11402
11403 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11404
11405         * Makefile.am:
11406         * tex-defs.h: remove old unused file
11407
11408 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11409
11410         * BufferView_pimpl.C: fix typo, remove minibuffer message
11411           when buffer has loaded
11412
11413 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11414
11415         * lyxfunc.C (Dispatch): use stringstream
11416         (MenuNew): use stringstream
11417         (Open): use stringstream
11418
11419         * importer.C (Import): use stringstream
11420
11421         * bufferview_funcs.C (CurrentState): use stringstream
11422
11423         * LaTeX.C (run): use stringstream
11424
11425         * BufferView_pimpl.C (savePosition): use stringstream
11426         (restorePosition): use stringstream
11427         (MenuInsertLyXFile): use stringstream
11428
11429 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11430
11431         * BufferView.C:
11432         * Bullet.C:
11433         * ColorHandler.C:
11434         * FontInfo.C:
11435         * FontLoader.C:
11436         * LColor.C:
11437         * LaTeXFeatures.C:
11438         * Painter.C:
11439         * gettext.C:
11440         * lyx_gui_misc.C:
11441         * lyxserver.C:
11442         * vspace.C: removed // -*- C++ -*- as first line.
11443
11444         * lyxfind.h:
11445         * version.h: added // -*- C++ -*- as first line.
11446
11447 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11448
11449         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11450
11451         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11452         of string
11453
11454 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11455
11456         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11457         of floats.
11458
11459 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11460
11461         * gettext.C: include LString.h even when --disable-nls is on.
11462
11463 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11464
11465         * converter.h (Get): changed argument type from int to
11466         FormatList::size_type to avoid unnecessary conversion.
11467
11468         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11469         before using it.
11470
11471 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11472
11473         * gettext.h: include LString.h even when --disable-nls is on.
11474
11475 2001-06-07  Juergen Vigna  <jug@sad.it>
11476
11477         * text.C (BreakAgain): subst spaces with tabs.
11478
11479         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11480         (resizeInsetsLyXText): set force on resizeLyXText.
11481
11482 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11483
11484         * gettext.h (gettext_init):
11485         (locale_init): use a real definition instead of a macro
11486
11487 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11488
11489         * Bufferview_pimpl.C:
11490         * LColor.h:
11491         * LColor.C: further lcolor tidies
11492
11493 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11494
11495         * BufferView_pimpl.C (updateScrollbar): simplify.
11496
11497         * BufferView2.C: don't include insets/insetinfo.h, change
11498         prototype for insertInset and call the Pimpl version. let
11499         updateInset call Pimpl version.
11500
11501         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11502         gotoInset to BufferView::Pimpl
11503
11504 2001-06-01  Juergen Vigna  <jug@sad.it>
11505
11506         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11507         inside a LockingInset (is the update needed at all?).
11508
11509 2001-05-31  Juergen Vigna  <jug@sad.it>
11510
11511         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11512         here not the old one otherwise how should we compare it afterwards
11513         if it's the same!
11514
11515 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11516
11517         * lyxfont.C:
11518         * tabular.C:
11519         * tabular-old.C:
11520         * FontInfo.C: bring C functions into global namespace when
11521         necessary
11522
11523 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11524
11525         * LString.h: make sure config.h has been loaded before LString.h.
11526
11527         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11528         (one for each char read by EatLine!).
11529
11530         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11531         variables.
11532
11533 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11534
11535         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11536         to the same as the par we break from
11537
11538 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11539
11540         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11541
11542         * MenuBackend.C (expand): also create menu entries for wide
11543         versions of the floats.
11544
11545         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11546
11547         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11548
11549         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11550         frontends/Makefile.am
11551
11552         * text2.C: adjust
11553         * text.C: adjust
11554
11555
11556         * tabular.C (getTokenValue): add std::
11557
11558         * tabular-old.C (getTokenValue): add std::
11559         (getTokenValue): ditto
11560         (getTokenValue): ditto
11561
11562         * screen.C (ToggleSelection): adjust
11563
11564         * lyxtext.h: put selection cursors inside a Selection struct.
11565
11566         * lyxfunc.C (moveCursorUpdate): adjust
11567
11568         * lyxfont.C (latexWriteStartChanges): add std::
11569
11570         * lyxfind.C: adjust
11571
11572         * font.h: delete with(char const *, LyXFont const &)
11573
11574         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11575
11576         * FontInfo.C (getFontname): add std::
11577
11578         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11579         (workAreaButtonPress): adjust
11580         (tripleClick): adjust
11581         (update): adjust
11582         (moveCursorUpdate): adjust
11583         (Dispatch): adjust
11584
11585         * BufferView2.C (gotoInset): adjust
11586
11587 2001-05-30  Juergen Vigna  <jug@sad.it>
11588
11589         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11590         to check pspell I add this as default as I now have new pspell
11591         libraries and they seem to use this.
11592
11593 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11594
11595         * text2.C (CutSelection): make the cursor valid before the call to
11596         ClearSelection.
11597
11598 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11599
11600         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11601         relied on 0 terminated strings and other horrors. Bug found due to
11602         the new assert in lyxstring!
11603
11604         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11605         KP_ keys.
11606
11607 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11608
11609         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11610         to latinkeys.bind.
11611
11612         * lyxfunc.C (processKeySym): change method of getting to the
11613         self-insert char.
11614
11615         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11616         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11617         * BufferView_pimpl.[Ch]: here as private methods.
11618
11619 2001-05-28  Juergen Vigna  <jug@sad.it>
11620
11621         * text.C (SetHeightOfRow): added the update() call again as it is
11622         needed to initialize inset dimensions!
11623
11624 2001-05-16  Juergen Vigna  <jug@sad.it>
11625
11626         * text2.C (SetCharFont): Add new function with BufferView * and
11627         bool toggleall parameters for setting insets internal fonts.
11628         (SetFont): Freeze the undo as we may change fonts in Insets and
11629         all this change should be inside only one Undo!
11630
11631         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11632         setting font's in insets as for them we have the SetFont function!
11633
11634 2001-05-15  Juergen Vigna  <jug@sad.it>
11635
11636         * text2.C (ClearSelection): to be sure we REALLY don't have any
11637         selection anymore!
11638
11639         * tabular.C (TeXCellPreamble): fixed the left border problem for
11640         multicolumn cells.
11641
11642 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11643
11644         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11645         dependancy file
11646
11647 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11648
11649         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11650         LFUN_BREAKPARAGRAPH.
11651
11652         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11653         help test to "internal only", similar for LFUN_INSERT_URL
11654
11655         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11656         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11657         auto_region_delete and deadkeys.
11658
11659 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * LColor.h:
11662         * LColor.C: remove some dead entries, tidy a little
11663
11664 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11667         commented code.
11668         (Dispatch): implement LFUN_ESCAPE
11669
11670         * commandtags.h: add LFUN_ESCAPE
11671
11672         * LyXAction.C (init): add entry for LFUN_ESCAPE
11673
11674         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11675         Remove commented code.
11676         (insertNote): moved here
11677         (open_new_inset): moved here
11678
11679         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11680         BufferView_pimpl
11681
11682 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11683
11684         * kbmap.C (findbinding): clean it up and make it work correctly.
11685
11686         * lyx_main.C (init): do not pass argc and argv as parameters
11687
11688 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11689
11690         * buffer.C: fix path for OS/2 & Win32
11691
11692         * lyx_gui.C:
11693         * lyx_main:
11694         * lyx_main.C: Added os:: class.
11695
11696         * os2_defines.h: update
11697
11698 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11699
11700         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11701         better by trying again with reduced state.
11702
11703 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11704
11705         * lyxrc.C (read): print error about invalid key sequence only when
11706         debugging (because not all latinX keysyms are known to some X
11707         servers)
11708
11709         * kbsequence.C (getiso): add a few std:: qualifiers
11710         (getiso): comment out extra return statement.
11711
11712 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11713
11714         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11715         handling.
11716         (Dispatch): enhance the accent inset a bit. (not perfect)
11717
11718 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11719
11720         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11721
11722 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11723
11724         * bufferlist.C (emergencyWrite): fix assert() call
11725
11726 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11727
11728         * text.C (InsertChar): Added trivial patch to only send the "you
11729         can not do multiple spaces this way" message once during a
11730         session.
11731
11732 2001-05-08  Baruch Even  <baruch@lyx.org>
11733
11734         * Makefile.am: Changed order of libraries to get LyX to link properly
11735         with the gnome frontend.
11736
11737 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11738
11739         * LaTeXFeatures.h: add a std:: qualifier
11740
11741 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11742
11743         * paragraph.C (String): use stringstream
11744
11745 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11746
11747         * paragraph.C (writeFile): remove footflag arg
11748
11749         * buffer.C (makeLaTeXFile): use stringstream
11750         (latexParagraphs): remove footnot gurba
11751
11752         * LaTeXFeatures.C (getPackages): use stringstream
11753         (getMacros): likewise
11754         (getTClassPreamble): likewise
11755         (getFloatDefinitions): new method
11756
11757         * paragraph.C (writeFile): reindent
11758         (Erase): reindent
11759
11760         * WorkArea.h: revert the xpos + etc changes.
11761
11762         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11763
11764         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11765
11766         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11767         (pasteSelection): likewise
11768         * text2.C (CreateUndo): likewise
11769
11770 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11771
11772         * minibuffer.C (peek_event): temporarily reduce the functionality
11773         of the minibuffer (to allow args on lfuns)
11774
11775         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11776         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11777
11778         * buffer.C (readInset): add compability reading of old float
11779         lists, add reading of new style float list.
11780         (readInset): avoid reevaluation of inscmd.getCmdName()
11781         (getLists): reindent
11782
11783         * MenuBackend.C (MenuItem): implement parsing of
11784         md_floatlistinsert and md_floatinsert.
11785         (expand::LastFiles): move initalizaton of iterators out of loop,
11786         avoid reevaluation.
11787         (expand::Documents): introduce typdedef vector<string> Strings,
11788         and use it.
11789         (expand::ExportFormats): introduce typedef vector<Format const *>
11790         Formats, and use it.
11791         (expand): implement FloatListInsert and FloatInsert.
11792
11793         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11794         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11795         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11796
11797         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11798         handling.
11799         (Dispatch::LFUN_FLOAT_LIST): implement
11800
11801 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11802
11803         * LaTeX.C (run): Fix problem with --export code.
11804
11805 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11806
11807         * BufferView.[Ch] (workarea): removed.
11808         (getClipboard) new method; wrapper for workarea()->getClipboard()
11809
11810         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11811         bug.
11812
11813         * WorkArea.h (width, height, xpos, ypos): These methods all
11814         returned the dimensions of the work_area sub-area of WorkArea,
11815         resulting in a position error if the WorkArea were resized. Now
11816         return the dimensions of the entire WorkArea.
11817
11818         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11819
11820 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11821
11822         * LaTeX.C (deplog): correct the syntax of regex reg1
11823
11824 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11825
11826         * undo.C: remove !NEW_INSETS cruft
11827
11828 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11829
11830         * text2.C: remove !NEW_INSETS cruft
11831
11832         * text.C: remove !NEW_INSETS cruft
11833
11834         * tabular.C: remove !NEW_INSETS cruft
11835
11836         * spellchecker.C: remove !NEW_INSETS cruft
11837
11838         * lyxtext.h: remove !NEW_INSETS cruft
11839
11840         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11841
11842         * lyxfunc.C: remove !NEW_INSETS cruft
11843
11844         * lyxfind.C: remove !NEW_INSETS cruft
11845
11846         * lyx_cb.C: remove !NEW_INSETS cruft
11847
11848         * figureForm.C: remove  !NEW_INSETS cruft
11849
11850         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11851
11852         * buffer.[Ch]: remove !NEW_INSETS cruft
11853
11854         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11855
11856         * CutAndPaste.C: remove !NEW_INSETS cruft
11857
11858         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11859
11860         * BufferView2.C: remove !NEW_INSETS cruft
11861
11862         * BufferView.h: remove !NEW_INSETS cruft
11863
11864 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11865
11866         * Lsstream.h: include LString.h before the sstream headers to
11867         fix problem with gcc 2.95.3 and lyxstring
11868
11869 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11870
11871         * lyx_main.C: add using directives when needed for C functions
11872         declared in std:: namespace.
11873
11874 2001-04-27  Juergen Vigna  <jug@sad.it>
11875
11876         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11877         (SetHeightOfRow): comment out the update call should not be needed!
11878
11879 2001-04-13  Juergen Vigna  <jug@sad.it>
11880
11881         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11882         (LyXTabular): tried to minimize operator= operations (and realized
11883         hopfully Lars wish).
11884
11885 2001-04-27  Juergen Vigna  <jug@sad.it>
11886
11887         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11888
11889 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11890
11891         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11892
11893         * buffer.C (readInset): hack to make listof algorithm work
11894
11895         * BufferView_pimpl.C: hack to make listof algorithm work
11896
11897 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11898
11899         * LyXAction.C: removed all !NEW_INSETS cruft
11900         (init): moved lfun_item in method
11901
11902         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11903
11904 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11905
11906         * BufferView2.C (theLockingInset): white space.
11907
11908 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11909
11910         * minibuffer.C: include <iostream>
11911
11912         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11913
11914         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11915
11916         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11917
11918         * text.[Ch] (TransposeChars): new method
11919
11920 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11921
11922         * call message directly through LyXView instead of through LyXFunc
11923         * BufferView2.C: adjust
11924         * BufferView_pimpl.C: adjust
11925         * FontLoader.C: adjust
11926         * buffer.C: adjust
11927         * bufferview_funcs.C: adjust
11928         * converter.C: adjust
11929         * figureForm.C: adjust
11930         * importer.C: adjust
11931         * lyx_cb.C: adjust
11932         * lyx_gui_misc.C: adjust
11933         * lyxfunc.C: adjust
11934         * lyxvc.C: adjust
11935         * text2.C: adjust
11936         + more files in subdirs
11937
11938         * lyxparagraph.h (size): move up int file
11939         (GetLayout): ditto
11940
11941         * adjust all uses of Assert to lyx::Assert.
11942
11943         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11944         lyxfunctional in namespace lyx
11945         * layout.C (hasLayout): ditto
11946         (GetLayout): ditto
11947         (GetLayout): ditto
11948         (delete_layout): ditto
11949         (NumberOfClass): ditto
11950         * converter.C (GetFormat): ditto
11951         (GetNumber): ditto
11952         (Add): ditto
11953         (Delete): ditto
11954         (SetViewer): ditto
11955         * bufferlist.C (getFileNames): ditto
11956         (emergencyWriteAll): ditto
11957         (exists): ditto
11958         (getBuffer): ditto
11959         * MenuBackend.C (hasSubmenu): ditto
11960         (hasMenu): ditto
11961         (getMenu): ditto
11962         * BufferView_pimpl.C (getInsetByCode): ditto
11963
11964 2001-04-18  Juergen Vigna  <jug@sad.it>
11965
11966         * vspace.C (asLatexString): fixed the 100% problem.
11967
11968 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11969
11970         * lyxfunc.C (Dispatch):
11971         * minibuffer.C:
11972         * minibuffer.h: add a few std:: qualifiers
11973
11974 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11975
11976         * minibuffer.[Ch]: reimplement so that commands is initiated and
11977         run from lyxfunc, simplified som handling, and made the completion
11978         and history code for complete. wip.
11979
11980         * lyxfunc.C (processKeySym): call message
11981         (miniDispatch): new temporary method
11982         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11983         (LFUN_MESSAGE): implement
11984         (LFUN_MESSAGE_PUSH): implement
11985         (LFUN_MESSAGE_POP): implement
11986         (initMiniBuffer): the initial/defualt minibuffer message.
11987
11988         * lyxfont.[Ch]: inline some more getters
11989
11990         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11991
11992         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11993
11994         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11995         (AutoSave): use LFUN_MESSAGE
11996         (Reconfigure): ditto
11997
11998         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11999
12000         * figureForm.C: use LFUN_MESSAGE
12001
12002         * converter.C (runLaTeX): use LFUN_MESSAGE
12003
12004         * bufferview_funcs.C: use LFUN_MESSAGE
12005         (Melt): ditto
12006         (changeDepth): ditto
12007
12008         * bufferparams.h: use boost::
12009
12010         * bufferlist.h: inherit privately from noncopyable
12011
12012         * bufferlist.C (loadLyXFile): remove some commented code.
12013
12014         * buffer.C (runChktex): use LFUN_MESSAGE
12015
12016         * ShareContainer.h: inherit privately from noncopyable
12017
12018         * ParagraphParameters.[hC] (depth): inline it.
12019
12020         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12021         methods.
12022         (message): new method
12023         (messagePush): ditto
12024         (messagePop): ditto
12025         (show): init minibuffer
12026         (showState): direct call
12027
12028         * LaTeX.[Ch]: inherit privately from noncopyable
12029         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12030         instead of WriteStatus.
12031
12032         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12033
12034         * BufferView_pimpl.C (buffer): don't init minibuffer
12035         (workAreaButtonPress): use LFUN_MESSAGE
12036         (workAreaButtonRelease): ditto
12037         (savePosition): ditto
12038         (restorePosition): ditto
12039         (MenuInsertLyXFile): ditto
12040         (workAreaExpose): don't init minibuffer
12041         (update): remove commented code, simplify
12042
12043         * BufferView2.C (openStuff): use LFUN_MESSAGE
12044         (toggleFloat): ditto
12045         (menuUndo): ditto
12046         (menuRedo): ditto
12047         (copyEnvironment): ditto
12048         (pasteEnvironment): ditto
12049         (copy): ditto
12050         (cut): ditto
12051         (paste): ditto
12052         (gotoInset): ditto
12053         (updateInset): remove some commented code
12054
12055         * lastfiles.h: inherit privately from noncopyable
12056         * layout.h: ditto
12057         * lyx_gui.h: ditto
12058         * lyx_main.h: ditto
12059         * lyxlex.h: ditto
12060         * lyxlex_pimpl.h: ditto
12061
12062         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12063         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12064         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12065
12066         * LyXAction.h: inherit privately from noncopyable, add methods
12067         func_begin, func_end, returning iterators to the func map.
12068
12069         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12070         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12071         (func_begin): new method
12072         (func_end): new method
12073
12074         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12075         and not)
12076         (copySelection): ditto
12077         (pasteSelection): ditto
12078
12079         * BufferView.C: whitespace change
12080         * BufferView.h: inherit privately from noncopyable
12081
12082 2001-04-16  Allan Rae  <rae@lyx.org>
12083
12084         * tabular-old.C (l_getline):
12085         * spellchecker.C (sc_check_word):
12086         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12087         an unrecognised preprocessor directive.  So ensure they're wrapped.
12088
12089 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12090
12091         * src/exporter.C (Export): Give an error message when path to file
12092         contains spaces.
12093
12094 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12095
12096         * LaTeX.C (deplog): Always check that foundfile exists.
12097
12098 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12099
12100         * lyx_main.h:
12101         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12102
12103 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * tabular.[Ch] (getLabelList): implement new method
12106
12107         * minibuffer.h: comment ouf setTiimer
12108
12109         * minibuffer.C (ExecutingCB): constify res
12110         (peek_event): constify s
12111         (Set): constify ntext
12112         (Init): constify nicename
12113
12114         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12115
12116         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12117         (savePosition): use two params to Minibuffer::Set
12118         (restorePosition): ditto
12119
12120 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12121
12122         * lyx_main.C: include language.h
12123
12124         * Makefile.am (lyx_main.o): add language.h
12125
12126 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12127
12128         * exporter.C:
12129         * paragraph.C:
12130         * screen.C:
12131         * tabular.C:
12132         * CutAndPaste.C: include gettext.h
12133
12134         * lyxfont.h: remove old hack with ON and OFF.
12135
12136         * lyxparagraph.h:
12137         * lyxfont.h: do not include language.h...
12138
12139         * BufferView2.C:
12140         * LaTeXFeatures.C:
12141         * Painter.C:
12142         * bufferview_funcs.C:
12143         * font.C:
12144         * lyxfont.C:
12145         * text.C:
12146         * text2.C:
12147         * trans_mgr.C:
12148         * paragraph.C: ... but do it here instead
12149
12150 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12151
12152         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12153
12154         * tabular.C: small reformat
12155
12156         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12157         NEW_INSETS version
12158         (GetChar): ditto
12159         (BreakParagraph): ditto
12160         (SetOnlyLayout): ditto
12161         (SetLayout): ditto
12162
12163         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12164         with one arg less.
12165
12166         * lastfiles.C: removed most using decl, add std:: where needed
12167
12168         * buffer.C: ws changes
12169
12170         * MenuBackend.C (class compare_format): put into anon namespace
12171         (expand): constify label, names, action, action2
12172         (expand):
12173
12174         * text.C (SingleWidth): constify font
12175         (IsBoundary): constify rtl2
12176         (GetVisibleRow): constify ww
12177
12178         * LaTeX.C (deplog): constify logfile
12179
12180         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12181         start_x, end_x
12182         (workAreaExpose): constify widthChange, heightChange
12183
12184         * lyxrow.C (par): moved
12185         (height): moved
12186         (next): moved
12187         * lyxrow.h: as inlines here
12188
12189         * lyxfont.h (shape): moved from lyxfont.C
12190         (emph): moved from lyxfont.C
12191
12192         * lyxfont.C (LyXFont): use initialization list for all
12193         constructors
12194         (shape): move to lyxfont.h as inline
12195         (emph): move to lyxfont.h as inline
12196
12197
12198 2001-04-04  Juergen Vigna  <jug@sad.it>
12199
12200         * vspace.C: had to include stdio.h for use of sscanf
12201
12202 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12203
12204         * BufferView.h:
12205         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12206         independent of xforms.
12207
12208 2001-04-02  Juergen Vigna  <jug@sad.it>
12209
12210         * spellchecker.C: fixed namespace placing!
12211
12212 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12213
12214         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12215         the LyXParagraph * is 0.
12216
12217 2001-03-29  Juergen Vigna  <jug@sad.it>
12218
12219         * vspace.C: added support for %, c%, p%, l%.
12220         (stringFromUnit): added helper function.
12221         (asLatexString): changed to give right results for the %-values.
12222
12223         * buffer.C: convert the widthp in a width%.
12224
12225 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12226
12227         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12228         figureForm.[Ch].
12229
12230         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12231         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12232
12233         * lyx_cb.[Ch]: see above.
12234
12235         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12236         form1.[Ch].
12237
12238         * form1.[Ch]:
12239         * lyx.[Ch]: replaced by figure_form.[Ch].
12240
12241         * lyx_gui.C:
12242         * lyx_gui_misc.C:
12243         * lyxfunc.C: changed headers associated with above changes.
12244
12245 2001-03-27  Juergen Vigna  <jug@sad.it>
12246
12247         * BufferView_pimpl.C: set the temporary cursor right!
12248
12249 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12250
12251         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12252
12253 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12254
12255         * LString.h: removed "using std::getline"!
12256
12257         * BufferView_pimpl.C (Dispatch): changes due to changes in
12258         InsetInclude::Params.
12259
12260         * buffer.C (tag_name): removed redundant break statements as they were
12261         producing lots of warnings with my compiler.
12262
12263 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12264
12265         * LString.h: add "using std::getline" when using the real <string>.
12266
12267 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12268
12269         * buffer.C: removed bitset usage.
12270         PAR_TAG moved to an anonymous name space.
12271         (tag_name): new funtion, also in the anonymous namespace.
12272         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12273         (makeDocBookFile): clean code. Completed transition from string arrays
12274         to string vectors.
12275         (SimpleDocBookOnePar): code clean.
12276
12277 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12278
12279         * tabular.C: add some comments.
12280
12281 2001-03-22  Juergen Vigna  <jug@sad.it>
12282
12283         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12284         compatibility read a bit and fixed bug with minipage in different
12285         depth.
12286
12287 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12288
12289         * buffer.C (pop_tag): removed.
12290         (push_tag): removed.
12291         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12292         array replaced with vector. Added support for CDATA sections.
12293         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12294         at any nest level.
12295         (makeDocBookFile): XML conformant declaration of CDATA section,
12296         fixed bug related to <emphasis> in the first paragraph char.
12297         (sgmlOpenTag): exclude empty tags.
12298         (sgmlCloseTag): ditto.
12299
12300         * buffer.h (pop_tag): removed.
12301         (push_tag): removed.
12302
12303 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12304
12305         * language.h (Languages): added size_type and size().
12306
12307 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12308
12309         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12310         response on compability reading of minipages. One probliem is that
12311         the old usage of minipages was «flertydig»
12312
12313         * several files here and in subdirs: don't use static at file
12314         scope use anon namespaces instead.
12315
12316 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12317
12318         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12319         LaTeX output. This is necessary for Literate document
12320         processing.
12321
12322 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12323
12324         * buffer.C: insert hfill when needed.
12325
12326         * tabular.C (l_getline): use string::erase, small whitespace change.
12327
12328         * BufferView_pimpl.C: try the anon namespace.
12329         * WorkArea.C: ditto
12330
12331 2001-03-16  Juergen Vigna  <jug@sad.it>
12332
12333         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12334         otherwise it won't open options-dialogs.
12335
12336         * buffer.C: honor pextraWidth(p) on converting minipages.
12337
12338         * tabular.C (l_getline): changed the functions to strip trailing \r.
12339
12340 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12341
12342         * BufferView_pimpl.C:
12343         * minibuffer..C: added "using SigC::slot" declaration.
12344
12345 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12346
12347         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12348
12349         * text2.C: ditto
12350
12351         * text.C: ditto
12352
12353         * paragraph.C: ditto
12354
12355         * lyxtext.h: NO_PEXTRA
12356
12357         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12358
12359         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12360         * ParameterStruct.h: ditto
12361         * ParagraphParameters.h: ditto
12362         * lyxparagraph.h: ditto
12363
12364 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12365
12366         * buffer.C: add compability for minipage alignment.
12367         (latexParagraphs): remove unwanted pextra check.
12368
12369         * several files: remove CXX_WORKING_NAMESPACES
12370
12371         * buffer.C (pop_tag): tie is in namespace boost
12372
12373         * BufferView.h: noncopyable is in namespace boost
12374         * lyxlex.h: ditto
12375         * lyx_main.h: ditto
12376         * lyx_gui.h: ditto
12377         * layout.h: ditto
12378         * lastfiles.h: ditto
12379         * bufferlist.h: ditto
12380         * ShareContainer.h: ditto
12381         * LyXView.h: ditto
12382         * LyXAction.h: ditto
12383         * LaTeX.h: ditto
12384
12385 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12386
12387         * Merging changes from BRANCH_MVC back into HEAD.
12388
12389         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12390
12391 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12392
12393         * BufferView_pimpl.C: change from intl.C
12394
12395         * combox.h:
12396         * combox.C:
12397         * Makefile.am: move combox.*
12398
12399         * form1.h:
12400         * form1.C:
12401         * lyx_gui.C:
12402         * intl.h:
12403         * intl.C: remove dialog (covered by prefs)
12404
12405 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12406
12407         * lyxfunc.C (Dispatch): removed redundant break statement.
12408
12409 2001-03-14  Juergen Vigna  <jug@sad.it>
12410
12411         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12412
12413 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12414
12415         * buffer.C: add hack to fix compability reading of minipages.
12416
12417 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12418
12419         * buffer.C (getLists): Cleanup.
12420
12421 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12422
12423         * lyxfont.C (update): don't honor toggleall on font size.
12424
12425 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * bmtable.c:
12428         * bmtable.h:
12429         * Makefile.am: moved to frontends/xforms/
12430
12431         * lyx_gui_misc.C:
12432         * lyxfunc.C:
12433         * BufferView_pimpl.C: changes for moved mathpanel
12434
12435 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12436
12437         * gettext.h: fix gettext_init() in --disable-nls
12438
12439 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12440
12441         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12442
12443 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12444
12445         * lyx.C:
12446         * lyx.h: strip external form
12447
12448 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * BufferView_pimpl.C: add comment, destroySplash()
12451
12452 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * BufferView_pimpl.C:
12455         * LyXAction.C:
12456         * buffer.C:
12457         * commandtags.h:
12458         * lyxfunc.C: use re-worked insetinclude
12459
12460 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12461
12462         * buffer.C: add using std::stringstream.
12463
12464         * lyx_cb.C: readd using std::ios.
12465
12466         * buffer.C: add using std::map.
12467
12468         * BufferView_pimpl.C: add using std::vector.
12469
12470         * ShareContainer.h: add std:: to swap.
12471
12472         * buffer.h: add some typedefs
12473         * buffer.C (getLists): use them
12474         (getLists): renamed from getTocList.
12475         add a counter for the different float types and use it in the
12476         generated string.
12477         (getLists): use the same counter for the NEW_INSETS and the "non"
12478         NEW_INSETS
12479
12480         * lyx_cb.h: remove unused items, includes, using etc.
12481
12482         * ShareContainer.h: remove some commented code, add more comments
12483         and "documentation".
12484
12485 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12486
12487         * buffer.C (getTocList): make the list also when NEW_INSETS is
12488         defined.
12489
12490         * buffer.h: remove TocType
12491
12492         * buffer.C (getTocList): change to return a map<string,
12493         vector<TocItem> >, implement for dynamic number of list.
12494
12495         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12496         * text2.C (PasteSelection): adjust
12497         * CutAndPaste.C (pasteSelection): adjust
12498
12499         * FloatList.C (FloatList): update from the new_insets branch.
12500         * Floating.[Ch]: ditto
12501         * LaTeXFeatures.C: ditto
12502         * buffer.C: ditto
12503         * lyxlex_pimpl.C: ditto
12504
12505         * paragraph.C (Last): remove when NEW_INSETS is defined.
12506
12507         * other file: changes because of the above.
12508
12509 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12510
12511         * lyxparagraph.h: rename next to next_, previous to previous_,
12512         make them private for NEW_INSETS. Rename Next() to next(),
12513         Previous() to previous().
12514
12515         * other files: changes because of the above.
12516
12517 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12518
12519         * BufferView.h:
12520         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12521         problem.
12522
12523 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12524
12525         * main.C (main): pass lyx_localedir to gettext_init().
12526
12527         * gettext.h: remove locale_init and gettext_init macros
12528
12529         * gettext.C (locale_init): new function
12530         (gettext_init): new function
12531
12532         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12533         setlocale().
12534
12535 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12536
12537         * Moved credits to frontends:
12538         * credits.[Ch]: removed
12539         * credits_form.[Ch]: removed
12540         * lyx_gui_misc.C: remove credits stuff
12541         * Makefile.am:
12542
12543 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12544
12545         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12546
12547         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12548         unneeded destructor.
12549
12550         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12551         a standalone pointer again.
12552
12553         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12554
12555 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12556
12557         * Makefile.am:
12558         * filedlg.h:
12559         * filedlg.C:
12560         * LyXAction.C:
12561         * ToolbarDefaults.C:
12562         * bufferlist.C:
12563         * commandtags.h:
12564         * form1.C:
12565         * form1.h:
12566         * lyx_cb.C:
12567         * lyx_cb.h:
12568         * lyxfunc.h:
12569         * lyxfunc.C:
12570         * BufferView_pimpl.C: use new file dialog in GUII
12571
12572         * lyx_cb.h:
12573         * lyx_cb.C: remove LayoutsCB to Toolbar
12574
12575 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12576
12577         * ShareContainer.h (get): add std:: qualifier
12578
12579 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12580
12581         * ShareContainer.h: define a proper ShareContainer::value_type
12582         type (and use typename to please compaq cxx)
12583
12584 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12585
12586         * lyxparagraph.h: move serveral local vars to
12587         ParameterStruct/ParagraphParameters., use ShareContainer in
12588         FontTable., make vars in FontTable private and add getter and
12589         setter.
12590
12591         * paragraph.C: changes because of the above.
12592
12593         * lyxfont.h: remove copy constructor and copy assignment. (the
12594         default ones is ok), move number inside FontBits. move inlines to
12595         lyxfont.C
12596
12597         * lyxfont.C: add number to initializaton of statics, move several
12598         inlines here. constify several local vars. some whitespace
12599         cleanup. Dont hide outerscope variables.
12600
12601         * Spacing.h: add two new constructors to match the set methods.
12602
12603         * ShareContainer.h: new file, will perhaps be moved to support
12604
12605         * ParameterStruct.h: new file
12606
12607         * ParagraphParameters.h: new file
12608
12609         * ParagraphParameters.C: new file
12610
12611         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12612         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12613
12614         * BufferView_pimpl.C: ParagraphParameter changes.
12615         * buffer.C: Likewise.
12616         * bufferview_funcs.C: Likewise.
12617         * text.C: Likewise.
12618         * text2.C: Likewise.
12619
12620 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12621
12622         * lyxfind.C (LyXReplace): do not redefine default argument in
12623         implementation.
12624         (IsStringInText): ditto
12625         (SearchForward): ditto
12626         (SearchBackward): ditto
12627
12628 2001-03-06  Juergen Vigna  <jug@sad.it>
12629
12630         * lyxfind.C (IsStringInText): put parentes around expressions.
12631
12632 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12633
12634         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12635
12636 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12637
12638         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12639
12640         * stl_string_fwd.h: add comment
12641
12642         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12643
12644         * tabular.h:
12645         * tabular.C: remove unused DocBook methods
12646
12647         * intl.C:
12648         * language.C:
12649         * paragraph.C:
12650         * buffer.C:
12651         killed DO_USE_DEFAULT_LANGUAGE
12652
12653 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12654
12655         * lyx_gui.C: do not include language.h.
12656
12657         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12658         arguments in function implementation.
12659
12660 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12661
12662         * BufferView_pimpl.C: add <ctime>
12663
12664 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12665
12666         * BufferView_pimpl.C: add using std::find_if
12667
12668 2001-02-27  José Matos  <jamatos@fep.up.pt>
12669
12670         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12671         by OnlyPath.
12672
12673 2001-02-11  José Matos  <jamatos@fep.up.pt>
12674
12675         * buffer.C (makeDocBookFile): command styles now have a parameter as
12676         "title" by default.
12677
12678 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12679
12680         * layout_forms.[Ch]: removed
12681         * lyx_cb.[Ch]: out character
12682         * lyx_gui.C: out character
12683         * lyx_gui_misc.C: out character
12684         * bufferview_funcs.C: : out character,
12685         added toggleall as parameter in ToggleAndShow
12686
12687 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12688
12689         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12690
12691         * text2.C (SetCurrentFont): Disable number property at boundary.
12692
12693 2001-02-26  Juergen Vigna  <jug@sad.it>
12694
12695         * lyxfunc.C (getStatus): added a string argument override function so
12696         that this is correctly called from LyXFunc::Dispatch if it contains a
12697         do_not_use_argument which is used!
12698         (Dispatch): added check for "custom" export and call appropriate func.
12699
12700 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12701
12702         * lyxrc.C: Add language_command_local, language_use_babel and
12703         language_global_options.
12704
12705         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12706
12707         * buffer.C (makeLaTeXFile): Use language_use_babel and
12708         language_global_options.
12709
12710 2001-02-23  Juergen Vigna  <jug@sad.it>
12711
12712         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12713         which works with LyXText and putted it inside BufferView. Here now we
12714         only call for that part the BufferView::Dispatch() function.
12715
12716         * BufferView.C (Dispatch): added.
12717
12718         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12719         functions which needs to use a LyXText over from LyXFunc.
12720         (MenuInsertLyXFile): added
12721         (getInsetByCode): added
12722         (moveCursorUpdate): added
12723         (static TEXT): added
12724
12725 2001-02-22  Juergen Vigna  <jug@sad.it>
12726
12727         * BufferView_pimpl.C (update): call a status update to see if LyXText
12728         needs it.
12729
12730 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12731
12732         * vc-backend.C (revert): implement for CVS
12733         (getLog): implement for CVS
12734
12735 2001-02-20  Juergen Vigna  <jug@sad.it>
12736
12737         * text2.C (ClearSelection): added BufferView param for inset_owner call
12738
12739         * lyxfunc.C (TEXT): added this function and use it instead of
12740         directly owner->view()-text of getLyXText().
12741
12742 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12743
12744         * src/layout_forms.C: out preamble
12745         * src/layout_forms.h: out preamble
12746         * src/lyx_cb.C: out preamble
12747         * src/lyx_cb.h: out preamble
12748         * src/lyx_gui.C: out preamble
12749         * src/lyx_gui_misc.C: out preamble
12750         * src/lyxfunc.C: connect with guii preamble
12751
12752 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12753
12754         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12755
12756 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12757
12758         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12759         whether to run bibtex.
12760
12761 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12762
12763         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12764
12765 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12766
12767         * Makefile.am (lyx_SOURCES): removed bibforms.h
12768
12769         * vspace.h: doxygen
12770
12771         * text.C (GetVisibleRow): make several local vars const
12772
12773         * tabular.C: small cleanup.
12774
12775         * lyxserver.C (callback): use compare instead of strncmp
12776
12777         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12778         inlines to after class or to paragraph.C
12779
12780         * lyxfont.h: remove friend operator!=
12781
12782         * converter.h: move friend bool operator< to non friend and after
12783         class def.
12784
12785         * combox.h: small cleanup
12786
12787         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12788         to inlines after class def.
12789
12790         * buffer.C (pop_tag): use string operations instead of strcmp
12791
12792         * bmtable.c: doxygen, small cleanup
12793
12794         * LaTeX.h: remove friend operator==
12795
12796 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12797
12798         * screen.C:
12799         * lyxrc.[Ch]:
12800         * lyxfunc.C:
12801         * lyxfont.[Ch]:
12802         * lyx_cb.C:
12803         * intl.[Ch]:
12804         * commandtags.h:
12805         * buffer.C:
12806         * WorkArea.[Ch]:
12807         * LyXAction.C:
12808         * BufferView_pimpl.C:
12809         * BufferView.[Ch]: remove cruft
12810
12811 2001-02-14  Juergen Vigna  <jug@sad.it>
12812
12813         * lyxfunc.C: removed #if 0 unused code
12814
12815         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12816
12817         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12818
12819         * text2.C (SetSelection): added a BufferView * parameter
12820
12821 2001-02-13  Juergen Vigna  <jug@sad.it>
12822
12823         * lyxfunc.C (Dispatch): fixed protected blank problem.
12824         * BufferView2.C (protectedBlank): added LyxText * parameter.
12825
12826         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12827         (AppendColumn): same as above for column_info.
12828
12829         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12830         (moveCursorUpdate): use a LyXText param for support of InsetText.
12831
12832         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12833         (tripleClick): ditto
12834
12835         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12836
12837         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12838
12839         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12840
12841         * text2.C (SetSelection): set correct update status if inset_owner
12842         (ToggleFree): ditto
12843
12844 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12845
12846         * tabular.C: remove some commented code.
12847
12848 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12849
12850         * BufferView_pimpl.C: call hideSplash()
12851
12852         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12853
12854         * include_form.h:
12855         * bibforms.h: remove
12856
12857         * lyxfunc.C:
12858         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12859           add LFUN_CHILD_CREATE
12860
12861         * counters.h: fix tiny typo
12862
12863         * lyx_cb.C:
12864         * lyx.h:
12865         * lyx_gui.C:
12866         * lyx.C: move splash to frontends/xforms/
12867
12868         * lyx_gui_misc.C: move Include and Bibform to frontends
12869
12870         * lyxvc.h: clarify comment
12871
12872         * vspace.C: tiny housekeeping
12873
12874 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12875
12876         * text.C (PrepareToPrint): RTL Fix.
12877
12878         * paragraph.C (GetUChar): New method.
12879         (String):  Use GetUChar.
12880
12881         * buffer.C (asciiParagraph): Use GetUChar.
12882
12883 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12884
12885         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12886
12887 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12888
12889         * buffer.h:
12890         * buffer.C: rename to getLogName(), handle
12891           build log / latex log nicely
12892
12893 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12894
12895         * MenuBackend.C:
12896         * MenuBackend.h: remove support for reference menuitem type.
12897
12898 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12899
12900         * BufferView_pimpl.C: housekeeping
12901         * BufferView_pimpl.h:
12902         * LyXView.h:
12903         * Makefile.am:
12904         * Timeout.C:
12905         * Timeout.h:
12906         * minibuffer.h: move Timeout GUI-I
12907
12908 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12909
12910         * lyxrc.C (read): Update converters data-structures.
12911
12912 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12913
12914         * LaTeX.h (operator!=): add operator != for Aux_Info
12915
12916 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12917
12918         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12919
12920         * LaTeXLog.C: deleted, useful code moved to Buffer
12921
12922         * buffer.h:
12923         * buffer.C: new function getLatexLogName()
12924
12925         * lyx_gui_misc.C:
12926         * lyx_gui.C:
12927         * lyxvc.C:
12928         * lyxvc.h:
12929         * lyxfunc.C: use frontends for LaTeX and VC logs
12930
12931 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12932
12933         * LaTeX.h: yet another std:: that Allan forgot.
12934
12935         * Variables.C (set): renamed from isset(), because this clashes
12936         with some HP-UX macros (grr).
12937
12938 2001-02-06  Allan Rae  <rae@lyx.org>
12939
12940         * LaTeX.h: Another bug fix.  Missing std:: this time.
12941
12942 2001-02-04  Allan Rae  <rae@lyx.org>
12943
12944         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12945         floats problem. I've left it commented out because it's not quite
12946         correct.  It should also test that the current object is a table or
12947         figure inset.  But I haven't gotten around to figuring out how to do
12948         that.  I *think* it'll be something like: "table" == inset.type()
12949
12950         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12951         bool.
12952
12953 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12954
12955         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12956         all the citation/databases/styles in the auxilary file.
12957         (run): Rerun latex if there was a babel language error.
12958
12959 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12960
12961         * text.C (Backspace): Preserve the font when changing newline char
12962         with a space.
12963         (BreakParagraph): If the cursor is before a space, delete the space.
12964
12965         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12966
12967 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12968
12969         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12970         new argument (code).
12971         (ChangeCitationsIfUnique): New method.
12972
12973         * paragraph.C (GetPositionOfInset): Handle bibkey.
12974
12975 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12976
12977         * BufferView_pimpl.h: change type of Position::par_pos to
12978         LyXParagraph::size_type.
12979
12980 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12981
12982         * BufferView_pimpl.C (savePosition, restorePosition): Write
12983         messages to minibuffer.
12984
12985 2001-01-28  José Matos  <jamatos@fep.up.pt>
12986
12987         * buffer.C (makeDocBookFile): adds support for document language.
12988         A silly restriction on the name of LatexCommand types where removed.
12989         Added support for CDATA sections, allows to chars unescaped, used
12990         among others in code, to avoid escape < and >.
12991
12992 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12993
12994         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12995         saved positions instrad of a stack. Furthermore, a position is
12996         stored using paragraph id/paragraph position.
12997
12998         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12999         Remove LFUN_REF_BACK.
13000
13001 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13002
13003         * converter.C (dvipdfm_options): New method.
13004
13005 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13006
13007         * vspace.C (isValidLength): Fix for empty input string.
13008
13009 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13010
13011         * LyXAction.C (init): change description of LFUN_FIGURE to
13012         "Insert Graphics"
13013
13014 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13015
13016         * LaTeX.C: add using directive
13017
13018 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13019
13020         * MenuBackend.C (expand): Fix the sorting of the formats.
13021
13022 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13023
13024         * lyx_main.C: tiny error message fix
13025
13026 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13027
13028         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13029         calling fl_initialize(). This fixes the problem with ',' as
13030         decimal separator in text files.
13031
13032 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13033
13034         * trans.C (process): Fix the keymap bug.
13035
13036 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13037
13038         * LaTeX.C (scanAuxFiles): New method. Provides support for
13039         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13040         (scanLogFile) Scan for "run BibTeX" messages.
13041
13042         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13043         OT1 font encoding. Also, load the aecompl package if the ae
13044         package is loaded.
13045
13046         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13047
13048 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13049
13050         * texrow.C (increasePos): turn two error messages into debug
13051         messages.
13052
13053 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13054
13055         * LaTeX.C (scanAux): Handle the \@input macro.
13056         (runBibTeX): Use scanAux().
13057
13058         * language.C (latex_options_): New field.
13059
13060         * LaTeXFeatures.C (getMacros): Add language macros.
13061
13062         * buffer.C (makeLaTeXFile): Small fix.
13063
13064 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13065
13066         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13067
13068         * text2.C: add a using directive.
13069
13070 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13071
13072         * BufferView2.C:
13073         * lyx_gui_misc.h:
13074         * lyxfr1.C:
13075         * lyxfunc.C: kill LyXBell.
13076
13077 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13078
13079         * text.C (IsBoundary): Remove the error message
13080
13081         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13082
13083         * lyxrc.C (setDefaults): Correct initialization value for
13084         font_norm_type.
13085
13086 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13087
13088         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13089         gotoError().
13090
13091         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13092         and GotoNextNote().
13093
13094         * src/LyXAction.C: Added reference-next.
13095
13096         * text.C (InsertChar): Use contains instead of strchr.
13097
13098         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13099
13100 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13101
13102         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13103         alignment commands (when needed).
13104
13105         * text.C (InsertChar): Add ':' to number separator chars.