]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
move some vars to smaller scope
[lyx.git] / src / ChangeLog
1 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * lyxserver.C (callback): adjust
4
5         * lyxfunc.C (getStatus): add a missing brace in commented code
6         (ensureBufferClean): reindent
7         (dispatch): delete version taking a string
8
9 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10
11         * LaTeX.C (deplog): move found file handlig from here...
12         (handleFoundFile): .. to new function here.
13         (deplog): make sure to discover several files mentioned on the
14         same log line.
15
16 2003-10-10  André Pönitz  <poenitz@gmx.net>
17
18         * lyxfunc.C:
19         * lyxtext.h:
20         * tabular.C:
21         * text.C:
22         * text2.C:
23         * text3.C: fix some of the tabular crashes
24
25 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
26
27         * MenuBackend.C (binding): put debug message into Debug::KBMAP
28
29         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
30
31 2003-10-09  André Pönitz  <poenitz@gmx.net>
32
33         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
34
35         * BufferView.C:
36         * BufferView_pimpl.C:
37         * bufferview_funcs.C:
38         * lyx_cb.C:
39         * lyxcursor.C:
40         * lyxfind.C:
41         * lyxfunc.C:
42         * lyxtext.h:
43         * text.C:
44         * text2.C:
45         * text3.C:
46         * text_funcs.[Ch]:
47         * textcursor.[Ch]:
48         * undo_funcs.C: adjust
49
50 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
51
52         * text2.C (incrementItemDepth): new function, use a backtracking
53         algorithm to discover the correct item depth.
54         (resetEnumCounterIfNeeded): new function, use a backtracking
55         algorithm to discover if counter reset is needed.
56         (setCounter): use them. Simplify a bit. Add different labels for
57         different item depths for itemize.
58
59         * paragraph.C (Paragraph): remove initialization of enumdepth
60         (operator=): ditto
61
62         * paragraph.h: get rid of enumdepth, and use itemdepth both for
63         enumerate and itemize. Change the type of itemdepth to signed char.
64
65 2003-10-08  André Pönitz  <poenitz@gmx.net>
66
67         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
68           thing assignable.
69         * text.C:
70         * text2.C: adjust
71
72         * tabular.[Ch]: fix crash after 'row-insert'
73
74 2003-10-08  Angus Leeming  <leeming@lyx.org>
75
76         Fix doxygen warnings.
77
78         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
79         Remove CutAndPaste:: prefix from header file declaration.
80
81         * LColor.h (fill): remove LColor:: prefix from declaration.
82
83         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
84         use lyx::depth_type rather than Paragraph::depth_type so that
85         header file and .C file match.
86
87         * converter.h (intToFormat): remove Converters:: prefix from declaration.
88
89         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
90         * aspell.C: \file aspell_local.C -> \file aspell.C
91         * gettext.C: \file gettext.C -> \file src/gettext.C
92         * gettext.h: \file gettext.h -> \file src/gettext.h
93         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
94         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
95         * text.C: \file text.C -> \file src/text.C
96
97         * toc.C: move comment so that doxygen is not confused.
98
99 2003-10-07  Angus Leeming  <leeming@lyx.org>
100
101         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
102
103 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
104
105         * aspell.C:
106         * aspell_local.h: add forgotten std::string's.
107
108 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
109
110         * LaTeXFeatures.C:
111         * LyXAction.C:
112         * factory.C:
113         * lfuns.h:
114         * lyxfunc.C:
115         * text3.C: The Box patch. Fancybox support, minipage, parbox
116
117 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
118
119         * CutAndPaste.h:
120         * DepTable.h:
121         * FloatList.h:
122         * LaTeXFeatures.h:
123         * ParagraphParameters.h:
124         * TextCache.h:
125         * Thesaurus.h:
126         * bufferlist.h:
127         * exporter.h:
128         * importer.h:
129         * lastfiles.h:
130         * lyxfind.h:
131         * lyxfont.h:
132         * lyxlex.h:
133         * lyxtextclasslist.h:
134         * messages.h:
135         * paragraph.h:
136         * paragraph_pimpl.C:
137         * textcursor.h: add <string> and other small fixes to make Lars'
138         std::string patch compile with STLport.
139
140 2003-10-06  Angus Leeming  <leeming@lyx.org>
141
142         * LColor.h: Add missing #include <string>.
143
144 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
145
146         * All most all file in all subdirs: Make <string> be the prefered
147         way of getting to std::string, add using declarations.
148
149 2003-10-06  André Pönitz  <poenitz@gmx.net>
150
151         * metricsinfo.C: initialize LyXFont before changing attribute.
152         (fixes the 'math in \emph is upright' bug)
153
154 2003-10-06  André Pönitz  <poenitz@gmx.net>
155
156         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
157
158 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
159
160         * graph.C:
161         * paragraph_pimpl.C: Small fixes to build using STLport
162
163 2003-10-02  André Pönitz  <poenitz@gmx.net>
164
165         * lyxfunc.C:
166         * text3.C: move handling of LFUN_DEPTH *; fix #1360
167
168 2003-10-01  André Pönitz  <poenitz@gmx.net>
169
170         * factory.C: assert early
171
172 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
173
174         * lyx_main.C: remove the global debug object
175
176         * debug.h: adjust for new debugstream
177
178         * debug.C: adjust for new debugstream and keep the global debug
179         object here.
180
181 2003-09-22  Angus Leeming  <leeming@lyx.org>
182
183         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
184         of g++ which otherwise complain that the scoped_ptr destructor can't delete
185         an incomplete class LyXFont.
186
187 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
188
189         * factory.C: bug fix in branches
190
191 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
192
193         * lyxfunc.C (processKeySym): adjust
194         (dispatch): adjust
195         (dispatch): change arg name from ev to func, adjust
196         (sendDispatchMessage): ditto
197
198         * lyx_main.C (defaultKeyBindings): adjust keybindings
199         (deadKeyBindings): ditto
200
201         * kbsequence.C (addkey): return a FuncRequest
202
203         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
204
205         * kbmap.C (bind): take a FuncRequest as arg, adjust
206         (read): adjust
207         (lookup): adjust
208         (defkey): change to take a FuncRequest as arg, adjust
209         (findbinding): take a FuncRequest as arg, adjust.
210
211         * funcrequest.h (operator=): added
212
213         * funcrequest.C (FuncRequest): default kb_action changed from
214         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
215
216         * buffer.C (dispatch): simplify
217         (dispatch): adjust to take a FuncRequest as arg, adjust
218
219         * boost.C (assertion_failed): change assertion message slightly
220
221         * ToolbarBackend.C (read): simplify
222
223         * MenuBackend.C (binding): adjust call to findbinding, add a
224         message if no binding is found.
225         (read): simplify
226         (expandToc): correct by adding a empty FuncRequest
227
228         * LyXAction.C: include <boost/assert.hpp>
229         (isPseudoAction): delete function
230         (LookupFunc): change name to...
231         (lookupFunc): this. change return type to FuncRequest.
232         (getActionName): take kb_action as arg, simplify
233         (funcHasFlag): add an assert, simplify.
234
235 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
236
237         * toc.C (action): return a FuncRequest, simplify
238
239         * lyxfunc.C (processKeySym): adjust
240         (getStatus): delete version that takes an int.
241         (getStatus): adjust
242         (dispatch): delete version that takes action as int
243         (dispatch): adjust
244         (sendDispatchMessage): simplify and adjust
245
246         * funcrequest.C (getArg): take unsigned int as arg
247
248         * ToolbarBackend.C (read): adjust
249         (add): delete version that takes func as a string.
250         (getIton): take a FuncRequest as arg
251
252         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
253         action.
254
255         * MenuBackend.C (MenuItem): add a new construct that only takes a
256         Kind, simplify the constructor use for submenus.
257         (add): adjust
258         (expandLastfiles): adjust
259         (expandDocuments): adjust
260         (expandFormats): adjust
261         (expandFloatListInsert): adjust
262         (expandFloatInsert): adjust
263         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
264
265         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
266         Remove class variables lyx_pseudo_map and lyx_arg_map
267
268         * LyXAction.C (searchActionArg): delete function
269         (getPseudoAction): delete function
270         (retrieveActionArg): delete function
271         (LookupFunc): make it return kb_action, simplify.
272         (getActionName): simplify
273
274         * factory.C (createInset): fix new bug
275
276 2003-09-19  Angus Leeming  <leeming@lyx.org>
277
278         * CutAndPaste.C (pasteSelection): remove fudge used to set the
279         masterFilename_ parameter in the include inset.
280
281         * factory.C (createInset): changes due to the changes to InsetInclude.
282
283 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
284
285         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
286
287 2003-09-18  Angus Leeming  <leeming@lyx.org>
288
289         * buffer.C:
290         * BufferView.C: pass the buffer when calling Inset::getLabelList,
291         Inset::fillWithBibKeys.
292         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
293
294 2003-09-18  Angus Leeming  <leeming@lyx.org>
295
296         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
297         variables.
298         (ctor): pass and store a 'Buffer const &'
299         (buffer): new member function.
300
301         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
302         '*this' to the LaTeXFeatures ctor.
303
304 2003-09-18  Angus Leeming  <leeming@lyx.org>
305
306         * LColor.h:
307         * lyxfont.C:
308         * lyxfont.h:
309         * lyxtext.h:
310         * text.C: rename EnumLColor as LColor_color.
311
312 2003-09-18  Angus Leeming  <leeming@lyx.org>
313
314         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
315         remove #include "insets/insetbase.h" from cursor.h.
316
317 2003-09-18  Angus Leeming  <leeming@lyx.org>
318
319         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
320         InsetOld_code to remove #include "inset.h".
321
322         * iterators.C: add #include "insets/inset.h"
323
324 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
325
326         * BufferView.C: remove more locking stuff that apparently doesn't
327         do anything sensible.
328
329 2003-09-16  André Pönitz  <poenitz@gmx.net>
330
331         * paragraph.[Ch]:
332         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
333           performance boost.
334
335 2003-09-16  Angus Leeming  <leeming@lyx.org>
336
337         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
338
339         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
340         arg/return type.
341
342         * paragraph.h: remove #include "lyxfont.h". Forward declare
343         LyXFont_size.
344
345 2003-09-16  Angus Leeming  <leeming@lyx.org>
346
347         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
348         of support/textutils.h.
349         (isWord): move the contents of support/textutils.h's IsWordChar here.
350
351         * buffer.C:
352         * lyxfind.C:
353         * rowpainter.C:
354         * text.C:
355         * text2.C: add #include "paragraph.h".
356
357         * rowpainter.C:
358         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
359
360 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
361
362         * main.C:
363         * lyx_main.C:
364         * lyx_cb.C:
365         * buffer.C:
366         * LaTeX.C: use namespace alias for lyx::support::os
367
368 2003-09-16  Angus Leeming  <leeming@lyx.org>
369
370         * bufferparams.C:
371         * bufferview_funcs.C:
372         * factory.C:
373         * lyxfunc.C:
374         * paragraph_pimpl.C:
375         * rowpainter.C:
376         * text.C: add #include "LColor.h".
377
378 2003-09-16  Angus Leeming  <leeming@lyx.org>
379
380         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
381         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
382         return LyXFont &.
383         Store the FontBits::color variable as an int rather than as an
384         LColor::colorso that we can move LColor.h out of the lyxfont.h header
385         file.
386
387         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
388         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
389         string calls together.
390
391         * lyxrc.C: add #include "LColor.h".
392
393 2003-09-15  Angus Leeming  <leeming@lyx.org>
394
395         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
396         a cow_ptr.
397
398 2003-09-15  Angus Leeming  <leeming@lyx.org>
399
400         * LColor.h: add an EnumLColor wrapper for LColor::color.
401
402         * lyxfont.[Ch] (color, setColor, realColor):
403         * lyxtext.h, text.C (backgroundColor):
404         pass EnumLColor args to/from the functions, rather than LColor::color
405         ones.
406
407         * lyxfont.h:
408         * lyxtext.h: forward declare EnumLColor.
409
410         * lyx_main.C: add #include "LColor.h".
411
412 2003-09-15  Angus Leeming  <leeming@lyx.org>
413
414         * .cvsignore: add lyx-gtk.
415
416 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
417
418         * Chktex.C
419         * LaTeX.C
420         * LaTeXFeatures.C
421         * ParagraphParameters.C
422         * Spacing.C
423         * buffer.C
424         * bufferparams.C
425         * bufferview_funcs.C
426         * chset.C
427         * counters.C
428         * funcrequest.C
429         * lyxfont.C
430         * lyxgluelength.C
431         * lyxlength.C
432         * paragraph.C
433         * paragraph_funcs.C
434         * text3.C
435         * vc-backend.C: remove usage of STRCONV
436
437 2003-09-15  Angus Leeming  <leeming@lyx.org>
438
439         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
440         explicitly define the color passed to the painter.
441
442 2003-09-15  Angus Leeming  <leeming@lyx.org>
443
444         * bufferparams.C (BufferParams): reorder member initializers to avoid
445         compiler warning.
446
447 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
448
449         * CutAndPaste.C (pasteSelection): remove an outdated #warning
450         * text.C (updateRowPositions): remove an unusual nop
451
452 2003-09-12  André Pönitz  <poenitz@gmx.net>
453
454         * BufferView_pimpl.C:
455         * Bullet.C:
456         * layout.h:
457         * lyxfunc.C:
458         * lyxlayout.[Ch]:
459         * lyxtextclass.C:
460         * rowpainter.C:
461         * text.C:
462         * text2.C:
463         * Counters.[Ch]: finish the 'automatic counters' job
464
465 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
466
467         * aspell.C: include <boost/assert.cpp> (compile fix)
468
469 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
470
471         * boost.C (assertion_failed): use lyx::support::abort instead of
472         assert.
473
474 2003-09-10  Angus Leeming  <leeming@lyx.org>
475
476         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
477         with their _fwd progeny.
478
479 2003-09-09  Angus Leeming  <leeming@lyx.org>
480
481         134 files throughtout the source tree: replace 'using namespace abc;'
482         directives with the appropriate 'using abc::xyz;' declarations.
483
484 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
485
486         * boost.C (emergencyCleanup): moved here from LAssert.c
487         (assertion_failed): new function, called by BOOST_ASSERT
488
489         * several files: change Assert to BOOST_ASSERT
490
491 2003-09-09  Angus Leeming  <leeming@lyx.org>
492
493         * buffer.[Ch]: Add an Impl class and move Buffer's member
494         variables into it. As a result move several header files out of
495         buffer.h.
496
497         Add header files to lots of .C files all over the tree as a result.
498
499 2003-09-09  Angus Leeming  <leeming@lyx.org>
500
501         * buffer.[Ch]: make Buffer's member variables private. Add
502         accessor functions.
503
504         Lots of changes all over the tree as a result.
505
506 2003-09-08  Angus Leeming  <leeming@lyx.org>
507
508         * graph.C: #include <config.h>.
509
510 2003-09-08  Angus Leeming  <leeming@lyx.org>
511
512         * BranchList.C:
513         * BufferView.C:
514         * BufferView_pimpl.C:
515         * CutAndPaste.C:
516         * DepTable.C:
517         * LaTeX.C:
518         * LaTeXFeatures.C:
519         * LyXAction.C:
520         * MenuBackend.C:
521         * TextCache.C:
522         * aspell.C:
523         * buffer.C:
524         * bufferlist.C:
525         * changes.C:
526         * chset.C:
527         * converter.C:
528         * counters.C:
529         * debug.C:
530         * graph.C:
531         * ispell.C:
532         * lyx_cb.C:
533         * lyxfind.C:
534         * lyxfunc.C:
535         * lyxlex_pimpl.C:
536         * lyxrc.C:
537         * lyxrow.C:
538         * paragraph.C:
539         * rowpainter.C:
540         * texrow.C:
541         * text.C:
542         * text2.C:
543         * toc.C: remove redundant using directives.
544
545 2003-09-07  Angus Leeming  <leeming@lyx.org>
546
547         * LaTeXFeatures.h: remove #include "support/types.h".
548         * ToolbarBackend.h: remove #include <algorithm>.
549         * changes.h: remove #include <ctime>.
550         * debug.h: remove #include <iosfwd>.
551         * graph.h: remove #include "support/std_string.h".
552         * lyx_main.h: remove #include <csignal>.
553         * lyxlex_pimpl.h: remove #include <fstream>.
554         * sgml.h: remove #include <algorithm>, <utility>.
555         * toc.h: remove #include "support/std_ostream.h".
556         Add #include <iosfwd>.
557
558 2003-09-07  Angus Leeming  <leeming@lyx.org>
559
560         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
561
562         * converter.h: forward declare LatexRunParams.
563         * encoding.h: remove #include "lyxrc.h".
564         * lyxtext.h: remove #include "LColor.h".
565         * lyxtextclass.h: remove #include "support/types.h".
566         * trans.h: remove #include "tex-accent.h".
567         * trans_mgr.h: remove #include "tex-accent.h".
568         * insets/inset.h: remove #include "support/types.h", <vector>.
569         * insets/insetcollapsable.h: remove #include "LColor.h".
570         * insets/insetinclude.h: remove #include "dimension.h".
571         * insets/insetlatexaccent.h: remove #include "dimension.h".
572         * insets/insetoptarg.h:: remove #include "insettext.h".
573         * insets/insettext.h: remove #include "dimension.h",
574         <boost/shared_ptr.hpp>
575
576         * insets/renderers.h: add #include "dimension.h".
577         * insets/updatableinset.h: add #include "support/types.h".
578
579         * many .C files: Associated changes.
580
581 2003-09-06  Angus Leeming  <leeming@lyx.org>
582
583         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
584         one, inside testInvariant.
585
586         * PrinterParams.C: new file.
587         * PrinterParams.[Ch]: move the function bodies out of line.
588
589 2003-09-06  Angus Leeming  <leeming@lyx.org>
590
591         * ParagraphParameters.h: forward declare ParameterStruct rather than
592         including its header file.
593         (depth): moved out-of-line.
594
595 2003-09-06  Angus Leeming  <leeming@lyx.org>
596
597         * BufferView_pimpl.h:
598         * kbmap.h:
599         * kbsequence.h:
600         * lyxfunc.h: forward declare LyXKeySym rather than
601         #include "frontends/LyXKeySym.h".
602
603         * BufferView_pimpl.C:
604         * kbmap.C:
605         * kbsequence.C:
606         * lyxfunc.C: associated changes.
607
608 2003-09-06  Angus Leeming  <leeming@lyx.org>
609
610         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
611         As a result, can remove the #include "insets/inset.h" from BufferView.h
612
613 2003-09-06  Angus Leeming  <leeming@lyx.org>
614
615         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
616         As a result, can remove the #include "insets/inset.h" from BufferView.h
617
618 2003-09-06  Angus Leeming  <leeming@lyx.org>
619
620         * buffer_funcs.C:
621         * buffer.h:
622         * bufferlist.C:
623         * BufferView.C:
624         * bufferview_funcs.C:
625         * BufferView_pimpl.C:
626         * CutAndPaste.C:
627         * lyx_cb.C:
628         * lyxfunc.C:
629         * paragraph.h:
630         * ParagraphParameters.C:
631         * tabular.C:
632         * text3.C:
633         * toc.C:
634         * undo_funcs.C:
635         * frontends/controllers/ControlDocument.C:
636         * insets/insetcaption.C: rearrange the #includes into some sort of
637         coherent order.
638
639         * buffer.h: remove #includes ErrorList.h, undo.h
640
641 2003-09-06  Angus Leeming  <leeming@lyx.org>
642
643         * support/types.h: add a 'depth_type' typedef, used to store the
644         nesting depth of a paragraph.
645
646         * paragraph.h:
647         * ParameterStruct.h: use this lyx::depth_type typedef rather than
648         defining explicitly.
649
650         * buffer.h:
651         * paragraph_funcs.h:
652         * ParagraphParameters.h:
653         * sgml.h: use lyx::depth_type rather than Paragraph or
654         ParameterStruct's depth_type.
655
656         * buffer.h
657         * paragraph_funcs.h: no need to #include paragraph.h anymore.
658
659         * BufferView.C:
660         * BufferView_pimpl.C:
661         * CutAndPaste.C:
662         * ParagraphParameters.C:
663         * buffer_funcs.C:
664         * bufferlist.C:
665         * bufferview_funcs.C:
666         * lyx_cb.C:
667         * lyxfunc.C:
668         * tabular.C:
669         * text3.C:
670         * toc.C:
671         * undo_funcs.C:
672         * frontends/LyXView.C:
673         * frontends/controllers/ControlDocument.C:
674         * frontends/controllers/ControlErrorList.C:
675         * insets/insetbibitem.C:
676         * insets/insetbranch.C:
677         * insets/insetcaption.C:
678         * insets/insetcollapsable.C:
679         * insets/insetenv.C:
680         * insets/insetert.C:
681         * insets/insetfloat.C:
682         * insets/insetfoot.C:
683         * insets/insetfootlike.C:
684         * insets/insetnewline.C:
685         * insets/insetquotes.C:
686         * insets/insettabular.C:
687         * insets/insettext.C:
688         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
689
690         * frontends/controllers/ControlChanges.C: #include "changes.h".
691
692 2003-09-06  Angus Leeming  <leeming@lyx.org>
693
694         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
695         than #including paragraph.h.
696
697         * ParagraphList.h:
698         * RowList.h: deleted. Superfluous.
699
700         * CutAndPaste.h:
701         * iterators.h:
702         * lyxcursor.h:
703         * lyxtext.h:
704         * text_funcs.h:
705         * undo.h:
706         * undo_funcs.h:
707         * insets/inset.h:
708         * insets/insettext.h: use ParagraphList_fwd.h rather than
709         ParagraphList.h.
710
711         * paragraph.h: don't forward declare ParagraphList.
712
713         * buffer.h:
714         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
715         rather than ParagraphList.h. paragraph.h is still needed for the
716         Paragraph::depth_type parameters.
717
718         * textcursor.h: enable it to compile stand-alone in light of the
719         above changes.
720
721         * bufferview_funcs.C:
722         * iterators.C:
723         * lyxfunc.C:
724         * lyxrow_funcs.C:
725         * paragraph.C:
726         * rowpainter.C:
727         * text.C:
728         * text2.C:
729         * text3.C:
730         * text_funcs.C:
731         * textcursor.C:
732         * undo.C:
733         * frontends/controllers/ControlParagraph.C:
734         * frontends/controllers/ControlTabular.C:
735         * insets/insetmarginal.C:
736         * insets/insetminipage.C:
737         * insets/insetnote.C:
738         * insets/insetoptarg.C: add header files needed to compile again.
739
740 2003-09-06  Angus Leeming  <leeming@lyx.org>
741
742         * RowList_fwd.h: new file, forward-declaring Row rather than
743         #including lyxrow.h.
744
745         * lyxrow_funcs.h:
746         * lyxtext.h:
747         * paragraph.h:
748         * insets/insettext.h: use it instead of RowList.h
749
750         * bufferview_funcs.C:
751         * lyxfunc.C:
752         * lyxrow_funcs.C:
753         * paragraph.C:
754         * rowpainter.C:
755         * text.C:
756         * text2.C:
757         * text3.C: #include "RowList.h".
758
759 2003-09-05  Angus Leeming  <leeming@lyx.org>
760
761         * factory.C (createInset):
762         * vspace.C (c-tor): replace sscanf call with an istringstream.
763         * ispell.C: re-add missing HP/UX headers.
764         * lyxserver.C: re-add missing  os2 headers.
765
766 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
767
768         * BranchList.C:
769         * graph.C:
770         * ispell.C:
771         * lastfiles.C:
772         * lyx_cb.C:
773         * lyxserver.C:
774         * texrow.C:
775         * text3.C: re-add missing system headers, needed for 2.95.2.
776
777 2003-09-05  Angus Leeming  <leeming@lyx.org>
778
779         Changes most place everywhere due to the removal of using directives
780         from support/std_sstream.h.
781
782 2003-09-05  Angus Leeming  <leeming@lyx.org>
783
784         Replace LString.h with support/std_string.h,
785         Lsstream.h with support/std_sstream.h,
786         support/LIstream.h with support/std_istream.h,
787         support/LOstream.h with support/std_ostream.h.
788
789         Changes resulting throughout the tree.
790
791 2003-09-05  Angus Leeming  <leeming@lyx.org>
792
793         * sgml.h: ensure that the header file can be compiled stand-alone.
794         * *.C: strip out redundant #includes. (320 in total.)
795
796 2003-09-04  Angus Leeming  <leeming@lyx.org>
797
798         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
799         here (from getPackages).
800
801         * debug.[Ch]: add a new EXTERNAL tag.
802
803 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
804
805         * text2.C (cursorEnd): simplify
806         (setCursor): adjust
807         (getColumnNearX): adjust
808
809         * text.C (computeBidiTables): adjust
810         (fill): adjust
811
812         * rowpainter.C (paintChars): adjust
813         (paintSelection): adjust
814         (paintChangeBar): adjust
815         (paintText): adjust
816
817         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
818         lastPos instead.
819         (numberOfSeparators): adjust
820
821 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
822
823         * LyXAction.C:
824         * box.[Ch]:
825         * lfuns.h:
826         * lyxfunc.C:
827         * text3.C: Restricts the mouse click functionality
828         of insets like bibtex, include, toc and floatlist to the visible
829         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
830         up the dialogs. Cursor has to be in front of the inset (i.e.
831         start of row) for this to function.
832
833 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
834
835         * bufferview_funcs.C (currentState): output row information
836
837 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
838
839         * bufferview_funcs.C (currentState): output paragraph position
840
841 2003-09-04  Angus Leeming  <leeming@lyx.org>
842
843         * FloatList.h: move out #include "Floating.h".
844         * LaTeX.h: move out #include "DepTable.h".
845         * LyXAction.h: move out #include "funcrequest.h".
846         * buffer.h: move out #include "author.h", "iterators.h".
847         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
848         * lyx_main.h: move out #include "errorlist.h".
849         * lyxfunc.h: move out #include "FuncStatus.h".
850         * lyxtext: move out #include "lyxcursor.h".
851         * paragraph_pimpl.h: move out #include "counters.h".
852
853 2003-09-03  Angus Leeming  <leeming@lyx.org>
854
855         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
856         preamble_snippets list, enabling us to add snippets to the preamble
857         only if the snippet was not there already.
858
859 2003-09-04  Angus Leeming  <leeming@lyx.org>
860
861         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
862
863 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
864
865         * lyxfunc.C (dispatch): if fitCursor did something be sure to
866         update
867
868 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
869
870         * BranchList.C: point fix, earlier forgotten
871
872 2003-09-02  Angus Leeming  <leeming@lyx.org>
873
874         * box.C (contains): renamed from 'contained' after a fantastic
875         amount of hot air.
876
877 2003-09-02  John Levon  <levon@movementarian.org>
878
879         * BufferView.C:
880         * lyxcursor.h:
881         * lyxcursor.C:
882         * lyxfunc.C:
883         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
884
885 2003-09-02  John Levon  <levon@movementarian.org>
886
887         * text2.C: simplification of cursorEnd(), including partial
888         fix for bug 1376
889
890 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
891
892         * buffer.C (readFile): add a space
893
894 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
895
896         * BufferView_pimpl.C (update): remove bogus fitCursor() call
897
898 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
899
900         * buffer.C (readFile): new function, take a filename and a
901         ParagraphList::iterator
902         (readFile): adjust
903         (readFile): adjust, make it private. don't use setStream, make
904         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
905         always contain the filename.
906
907         * BufferView.C (insertLyXFile): simplify and make it work for
908         gzipped files.
909
910 2003-08-30  John Levon  <levon@movementarian.org>
911
912         * Makefile.am: fix dist (from Kayvan)
913
914 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
915
916         * most files: change to use const Buffer refs
917
918 2003-08-27  André Pönitz  <poenitz@gmx.net>
919
920         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
921         on top of ownerPar().
922
923 2003-08-27  John Levon  <levon@movementarian.org>
924
925         * funcrequest.C: properly initialise POD members
926
927 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
928
929         * lyxtext.h (top_y): move top_y from here
930         * text.C:
931         * text2.C:
932         * text3.C:
933         * BufferView.[Ch]:
934         * BufferView_pimpl.[Ch]: to here
935         * frontends/screen.C:
936         * insets/insettabular.C:
937         * insets/insettext.C: adjust
938         * rowpainter.[Ch] (paintRows): remove LyXText & argument
939
940 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
941
942         * BufferView.[Ch]:
943         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
944
945 2003-08-26  André Pönitz  <poenitz@gmx.net>
946
947         * paragraph_func.[Ch] (outerPar): new function
948
949         * paragraph.C:
950         * paragraph_funcs.C:
951         * paragraph_funcs.h:
952         * paragraph_pimpl.C:
953         * text2.C: remove Inset::par_owner
954
955 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
956
957         * lyxrow_funcs.C:
958         * lyxtext.h:
959         * text.C:
960         * text2.C: eliminates the needFullRow/display() stuff
961         altogether, putting the logic in metrics/draw in the insets.
962
963 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
964
965         * text2.C (redoParagraphInternal, redoParagraphs):
966         * text.C (redoParagraph): add a call to updateRowPositions at the
967         end of each 'metrics-like' call. Remove all others.
968         (getRow): remove the 'y-computing' version.
969         (getRowNearY): do not compute nor return the real y. Solve the
970         'y < 0' problem and simplify.
971
972 2003-08-22  Angus Leeming  <leeming@lyx.org>
973
974         * *.[Ch]: clean-up of licence and author blurbs.
975         Also move config.h out of a few .h files and into a few .C files.
976
977 2003-08-22  André Pönitz  <poenitz@gmx.net>
978
979         * lyxrow.[Ch]: add x_ and *fill_ members
980
981         * lyxtext.h:
982         * text.C:
983         * rowpainter.C:
984         * text2.C: adjust/remove prepareToPrint() calls
985
986 2003-08-22  André Pönitz  <poenitz@gmx.net>
987
988         * lyxrow.[Ch]: add  end_ member
989
990         * lyxrow_funcs.C: use LyXRow::end_
991
992         * lyxtext.h (singleWidth): add LyXFont parameter
993
994         * rowpainter.C:
995         * text2.C: adjust LyXText::singleWidth() calls
996
997         * text.C (redoParagraph): simplify row breaking logic
998
999
1000 2003-08-19  André Pönitz  <poenitz@gmx.net>
1001
1002         * funcrequest.C: initialize button_ member
1003
1004         * text3.C:
1005         * rowpainter.[Ch]: interface consolidation
1006
1007 2003-08-18  André Pönitz  <poenitz@gmx.net>
1008
1009         * BufferView.C:
1010         * BufferView_pimpl.C:
1011         * lyxfind.C:
1012         * paragraph_funcs.C:
1013         * rowpainter.C:
1014         * text3.C: remove LyXScreen::draw() and fitCursor calls
1015
1016         * BranchList.h: remove spurious semicolons
1017
1018         * MenuBackend.C: fix branchlist related crash
1019
1020 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1021
1022         * BranchList.[Ch]:
1023         * InsetList.[Ch]:
1024         * LColor.[Ch]:
1025         * LyXAction.C:
1026         * Makefile.am:
1027         * MenuBackend.[Ch]:
1028         * bufferparams.[Ch]:
1029         * factory.C:
1030         * lfuns.h:
1031         * lyxfunc.C:
1032         * text3.C: implements the 'branch inset'
1033         idea. This allows the output of various versions of a document
1034         from a single source version, selectively outputing or suppressing
1035         output of parts of the text.
1036         This implementation contains a 'branch list editor' in a separate
1037         tab of the document settings dialog. Branches are user definable
1038         and have a "display colour" to distinguish them on-screen.
1039
1040         ColorHandler was somewhat cleaned up.
1041         (1) make possible a dynamically growing LColor list by allowing
1042         the graphic context cache to grow along (vector);
1043         (2) eliminate an IMHO unnecessary step in colour allocation.
1044
1045 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1046
1047         * BufferView_pimpl.C: compile fix
1048
1049 2003-08-15  André Pönitz  <poenitz@gmx.net>
1050
1051         * rowpainter.C: remove extra metrics calls
1052
1053         * lyxtext.h: merge the two constructors into a single one,
1054           pass reference to owner's par list
1055
1056         * BufferView_pimpl.C:
1057         * text.C:
1058         * text2.C: adjust
1059
1060 2003-08-15  André Pönitz  <poenitz@gmx.net>
1061
1062         * lyxrow_funcs.[Ch]:
1063         * lyxtext.h:
1064         * paragraph.h:
1065         * paragraph_funcs.C:
1066         * rowpainter.C:
1067         * text.C:
1068         * text2.C:
1069         * text3.C:
1070         * text_funcs.C: split LyXText::rowlist_ into individual
1071         Paragraph::rows_ chunks
1072
1073         * BufferView.[Ch]:
1074         * BufferView_pimpl.[Ch]:
1075         * lyxfind.C:
1076         * lyxtext.h:
1077         * text3.C: remove toggleSelection()
1078
1079 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1080
1081         * bufferlist.C: beautify two alerts (shorter text of buttons)
1082         * buffer.C: Remove redundant ' ' from message
1083         * tabular.h:
1084         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1085         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1086         rename VALIGN_CENTER to VALIGN_MIDDLE
1087
1088 2003-08-11  André Pönitz  <poenitz@gmx.net>
1089
1090         * lyxtext.h (getPar):
1091         * text.C: new function
1092
1093 2003-08-11  André Pönitz  <poenitz@gmx.net>
1094
1095         * Makefile.am:
1096         * tracer.[Ch]: remove unneeded files
1097
1098         * InsetList.[Ch]: remove resizeInsetsLyXText()
1099
1100         * lyxtext.h:
1101         * text.C:
1102         * text2.C:
1103         * text3.C: merge insertParagraphs() and appendParagraph()
1104         remove breakAgain(), update()
1105
1106         * BufferView_pimpl.[Ch]:
1107         * bufferview_funcs.[Ch]:
1108         * lyxfunc.C:
1109         * paragraph.[Ch]:
1110         * rowpainter.C:
1111         * tabular.C: adjust after text & InsetList changes.
1112
1113 2003-08-08  André Pönitz  <poenitz@gmx.net>
1114
1115         * text.C (insertChar, backspace): replace rowlist fiddling
1116         with rebreak of full par
1117
1118         * lyxtext.h:
1119         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1120         checkParagraph, updateInset): removed
1121
1122 2003-08-07  André Pönitz  <poenitz@gmx.net>
1123
1124         * paragraph.C:
1125         * text3.C: merge some LFUN handlers, remove dead code
1126
1127 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1128
1129         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1130
1131 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1132
1133         * text2.C (DEPM): fix part of bug 1255 and 1256
1134
1135 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1136
1137         * BufferView_pimpl.C (workAreaDispatch): change to use
1138         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1139         that are no mouse related.
1140
1141 2003-08-05  André Pönitz  <poenitz@gmx.net>
1142
1143         * BufferView.[Ch]:
1144         * BufferView_pimpl.[Ch]:
1145         * bufferview_funcs.C:
1146         * text2.C:
1147         * text3.C: rip out "deep update"
1148
1149         * textcursor.[Ch] (last_sel_cursor): remove unused member
1150
1151 2003-08-04  André Pönitz  <poenitz@gmx.net>
1152
1153         * BufferView.[Ch]:
1154         * BufferView_pimpl.[Ch]:
1155         * ParagraphParameters.C:
1156         * bufferview_funcs.C:
1157         * lyx_cb.C:
1158         * lyxfind.C:
1159         * lyxfunc.C:
1160         * text.C:
1161         * text2.C:
1162         * text3.C: replace "complicated" BufferView::update(...) calls with
1163         simpler ones.
1164
1165         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1166
1167 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1168
1169         * Makefile.am (lyx_SOURCES): add paper.h
1170
1171 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1172
1173         * Makefile.am: move things around so that both lyx-qt and
1174         lyx-xforms can be built (according to --with-frontend). Then lyx
1175         is a symbolic link to lyx-[firstfrontend]
1176
1177 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1178
1179         * Always use std::endl with lyxerr
1180
1181 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1182
1183         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1184
1185 2003-08-01  André Pönitz  <poenitz@gmx.net>
1186
1187         * BufferView.[Ch]:
1188         * BufferView_pimpl.[Ch]:
1189         * lyxfunc.C:
1190         * text3.C: merge BufferView::repaint() and BufferView::update()
1191
1192 2003-08-01  José Matos  <jamatos@lyx.org>
1193
1194         * buffer.[Ch]: file_format is no longer a buffer data element.
1195
1196 2003-08-01  André Pönitz  <poenitz@gmx.net>
1197
1198         * BufferView.C:
1199         * lyxtext.h:
1200         * text.C:
1201         * text2.C: make redoParagraph more independent of current cursor
1202
1203         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1204         * text.C:
1205         * text2.C: remove unneeded members
1206
1207 2003-07-30  André Pönitz  <poenitz@gmx.net>
1208
1209         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1210
1211         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1212           create a single function...
1213
1214         * paragraph_funcs.C (moveItem): ... here.
1215
1216         * text.C:
1217           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1218
1219 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1220
1221         * LColor.[Ch]: Add comment and greyedout logical colors.
1222
1223 2003-07-30  André Pönitz  <poenitz@gmx.net>
1224
1225         * tabular.C: don't use Assert too heavily. This crashes where it
1226           shouldn't
1227
1228 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1229
1230         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1231         is disabled (bug 1232)
1232
1233 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1234
1235         * factory.C: limited 'arg' scope
1236
1237 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1238
1239         * factory.C: fixed Note submenu issues
1240
1241 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1242
1243         * factory.C: submenu for Note/Comment/Greyedout
1244
1245 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1246
1247         * lyx_main.C (LyX):
1248         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1249
1250 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1251
1252         * LaTeXFeatures.C:
1253         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1254         greyedout. Patch provided by Jürgen Spitzmüller.
1255
1256 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1257
1258         * kbmap.C (read): fix error message when reading bind files
1259
1260 2003-07-29  Angus Leeming  <leeming@lyx.org>
1261
1262         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1263         certainly does not do what it purports to do. I am doing it, and
1264         us, a favour by killing it.
1265
1266 2003-07-28  José Matos  <jamatos@lyx.org>
1267
1268         * buffer.C (readBody, do_writeFile):
1269         * paragraph.C(readParagraph): \end_document replaces \the_end.
1270
1271 2003-07-29  André Pönitz  <poenitz@gmx.net>
1272
1273         * BufferView.[Ch]:
1274         * BufferView_pimpl.[Ch]:
1275         * lyxfunc.C:
1276         * text2.C:
1277         * text3.C:
1278         * textcursor.[Ch]: remove toggleToggle & Co
1279
1280 2003-07-28  José Matos  <jamatos@fep.up.pt>
1281
1282         * buffer.C (readParagraph):
1283         * params_func (readParToken, readParagraph):
1284         * paragraph.C (write): \layout -> \begin_layout.
1285
1286 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1287
1288         * lyxlex_pimpl.C (setFile): clean up slightly.
1289
1290         * bufferparams.h: add compressed var
1291
1292         * buffer_funcs.C (readFile): adjust for LyXLex change
1293         (newFile): ditto + simplify
1294
1295         * buffer.C (writeFile): handle writing of compressed files
1296
1297         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1298         Check if the file is compressed and set a bufferparm if so.
1299
1300         * Makefile.am (lyx_LDADD): remove explicit -lz
1301
1302 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1303
1304         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1305         makeDocBookFile): put the real LyX version in the first line of
1306         the file
1307
1308         * version.h:
1309         * version.C.in: remove lyx_docversion
1310
1311         * tabular.C (write_attribute): add a template-based version to
1312         write enums properly
1313
1314 2003-07-28  André Pönitz  <poenitz@gmx.net>
1315
1316         * lyxtext.h:
1317         * text.C:
1318         * text2.C:
1319         * text3.C: use doubles again for x-coordinates. They are needed.
1320
1321 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1322
1323         * messages.C (getLocaleDir): use lyx_localedir()
1324
1325         * lyxlex_pimpl.C (setFile): compress stuff
1326
1327         * buffer.C (writeFile): add some compression stuff
1328         (do_writeFile): new func, dont call expliti close... will this
1329         breake anything?
1330
1331         * Makefile.am (lyx_LDADD): add -lz
1332
1333 2003-07-28  José Matos  <jamatos@fep.up.pt>
1334
1335         * buffer.C: increment file format.
1336         * paragraph_funcs (readParagraph, readParToken):
1337         * paragraph.C (readParagraph): add \end_layout.
1338
1339 2003-07-27  Angus Leeming  <leeming@lyx.org>
1340
1341         * Makefile.am: remove special casing for configure-time setting of
1342         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1343
1344         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1345         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1346
1347 2003-07-26  André Pönitz  <poenitz@gmx.net>
1348
1349         * paragraph_func.[Ch]:
1350         * paragraph.C (realizeFont): inline it whereever it is used
1351
1352         * rowpainter.C:
1353         * text.C:
1354         * text2.C:
1355         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1356
1357
1358 2003-07-26  André Pönitz  <poenitz@gmx.net>
1359
1360         *       lyxtext.h:
1361         * text.C:
1362         * text2.C: get rid of LyXText::need_break_row
1363
1364 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1365
1366         * toc.[Ch]: put namespace toc inside namespace lyx
1367
1368         * MenuBackend.C (expandToc2): adjust for lyx::toc
1369         (expandToc): ditto
1370
1371         * lyxfunc.C (dispatch): adjust for lyx::find
1372
1373         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1374         lyx::find instead. Reorganize a bit.
1375         (LyXReplace): rename to replace
1376         (LyXFind): rename to find
1377
1378         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1379         (dispatch): ditto
1380
1381 2003-07-26  André Pönitz  <poenitz@gmx.net>
1382
1383         * text.C (setHeightOfRow): restrict scope of temporary variable
1384
1385         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1386           code (never has been used?)
1387
1388 2003-07-27  Asger Alstrup  <alstrup@local>
1389
1390         * text.C (fill): Optimise algorithm to exploit that we can reuse
1391         the LyXFont for many characters.
1392         (setHeightOfRow): Same thing.
1393         (rowBreakPoint): Same thing.
1394
1395 2003-07-26  Asger Alstrup  <alstrup@local>
1396
1397         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1398
1399         * text.C (singleWidth): Spurious font copying in hot-spot
1400         singleWidth avoided. Reorder tests for arabic for efficiency.
1401
1402         * text.C (fill): handle empty paragraphs better.
1403
1404 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1405
1406         * ispell.C:
1407         * encoding.h: add includes
1408
1409         * lyxrc.C: remove reading of bind files
1410
1411         * lyx_main.C (init): setup bindings and menus only if we have a
1412         gui.
1413
1414         * kbmap.C (read): new method. Do the actual reading of bind
1415         files.
1416
1417         * converter.C (dvipdfm_options):
1418         * bufferparams.C:
1419         * lyxrc.C (read):
1420         (output): adapt PAPER_* enums.
1421
1422         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1423
1424         * bufferparams.h: remove paper-related enums from there
1425
1426         * paper.h: New file. A trivial header file to hold paper-related
1427         enums. It should later expand to contain many paper-related
1428         horrors access.
1429
1430         * lyxrc.C: declare extern displayTranslator
1431
1432 2003-07-27  José Matos  <jamatos@fep.up.pt>
1433
1434         * tabular.[Ch] (linuxdoc): add support for tables and figures
1435         (linuxdoc).
1436
1437 2003-07-27  José Matos  <jamatos@fep.up.pt>
1438
1439         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1440         consistency in both functions.
1441         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1442
1443 2003-07-26  Asger Alstrup  <alstrup@local>
1444
1445         * rowpainter.C (paintRows): Change algorithm to work directly on
1446         the insets rather than asking every character in the document
1447         whether its an inset.
1448
1449 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1450
1451         * buffer.C (openFileWrite): factorize some code
1452
1453 2003-07-26  Angus Leeming  <leeming@lyx.org>
1454
1455         * lyx_cb.C:
1456         * lyx_main.[Ch]: replace occurances of system_tempdir with
1457         os::getTmpDir().
1458
1459 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1460
1461         * rename Inset to InsetOld
1462
1463 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1464
1465         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1466         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1467         which I think is a bit clearer. EDIT is gone, since it was
1468         premature optimisation, and broken for mathed anyway.
1469         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1470         with cursor positioning in insets as well (math insets still do not
1471         work, but that's a different story anyway.) It mysteriously
1472         crashes sometimes with undo in the first paragraph, but I'm fairly
1473         confident that this is a compiler bug.
1474
1475 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1476
1477         * paragraph.C (Paragraph): adjust for new clone return type
1478         (operator==): ditto
1479         (copyIntoMinibuffer): ditto
1480
1481 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1482
1483         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1484         by not having a special case, and always doing a full rebreak of
1485         the document after undo.
1486
1487 2003-07-23  Angus Leeming  <leeming@lyx.org>
1488
1489         * factory.C (createInset): InsetExternal::setParams now takes a
1490         Buffer const * arg.
1491
1492 2003-07-23  Angus Leeming  <leeming@lyx.org>
1493
1494         * factory.C (createInset): changed interface to the external and
1495         graphics mailers' string2params functions.
1496
1497 2003-07-23  Angus Leeming  <leeming@lyx.org>
1498
1499         * factory.C (createInset): pass a
1500         Buffer const * parameter to InsetExternalMailer's string2params.
1501
1502 2003-07-22  John Levon  <levon@movementarian.org>
1503
1504         * Thesaurus.h: include the right aiksaurus header
1505
1506 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1507
1508         * MenuBackend.C (expand): check menu shortcuts unconditionally
1509
1510 2003-07-21  Angus Leeming  <leeming@lyx.org>
1511
1512         * factory.C (createInset): pass a
1513         buffer_path parameter to InsetGraphicsMailer's string2params.
1514
1515 2003-07-21  Angus Leeming  <leeming@lyx.org>
1516
1517         * BufferView_pimpl.C (buffer):
1518         * buffer.C (d-tor):
1519         * lyx_main.C (LyX):
1520         * lyxfunc.C (dispatch):
1521         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1522         rather than the grfx shortcut.
1523
1524 2003-07-21  André Pönitz  <poenitz@gmx.net>
1525
1526         * rowpainter.C: remove unused variables
1527
1528         * tabular_funcs.C:
1529         * tabular_funcs.h: move to tabular.C
1530         * Makefile.am: adjust
1531
1532         * tabular.[Ch]: basic optical cleaning
1533
1534         * author.h: pass references, not values
1535
1536 2003-07-18  André Pönitz  <poenitz@gmx.net>
1537
1538         * lyxtext.h:
1539         * metricsinfo.C:
1540         * metricsinfo.h:
1541         * rowpainter.C:
1542         * text.C:
1543         * text2.C:
1544         * text3.C: two-phase drawing for InsetText and InsetTabular
1545         some float -> int changes.
1546
1547 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1548
1549         * lyx_main.C: fix the fix
1550
1551 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1552
1553         * lyx_main.C: fix a crash in batch mode if no files specified
1554         * converter.C: ws
1555
1556 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1557
1558         * format.[Ch] (papersize): moved to BufferParams
1559         * converter.[Ch] (dvips_options): moved to BufferParams
1560         (dvipdfm_options): moved to anon namespace
1561         * bufferparams.[Ch]: added above functions.
1562
1563 2003-07-17  André Pönitz  <poenitz@gmx.net>
1564
1565         * lyxtext.h:
1566         * rowpainter.C:
1567         * text2.C: don't call inset->update() anymore
1568
1569         * metricsinfo.[Ch]: add convenience constructor
1570
1571 2003-07-16  André Pönitz  <poenitz@gmx.net>
1572
1573         * lyxcursor.[Ch]:
1574         * lyxfunc.[Ch]:
1575         * text.C:
1576         * text2.C: replace the LyXCursor::irow_ member with
1577          on-demand computation of the value
1578
1579 2003-07-16  John Levon  <levon@movementarian.org>
1580
1581         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1582
1583 2003-07-15  André Pönitz  <poenitz@gmx.net>
1584
1585         * text.C:
1586         * text2.C: remove no more needed refresh_row
1587
1588 2003-07-15  André Pönitz  <poenitz@gmx.net>
1589
1590         * lyxtext.h:
1591         * rowpainter.C:
1592         * text2.C:
1593         * text3.C: refresh_status tristate -> need_update bool
1594
1595 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1596
1597         * lyxtext.h (init): remove reinit argument (act as if always true)
1598         * text2.C: adjust to that
1599
1600 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1601
1602         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1603         * text3.C: use it to delete selections in some cases
1604         (bugs 441, 673, 702, 954).
1605
1606 2003-07-14  André Pönitz  <poenitz@gmx.net>
1607
1608         * rowpainter.[Ch]: reduce interface
1609
1610 2003-07-14  André Pönitz  <poenitz@gmx.net>
1611
1612         * BufferView_pimpl.C:
1613         * text2.C: adjust after removing unused BufferView * argument
1614
1615 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1616
1617         * text2.C (init): fix a crash fired on resize
1618
1619 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1620
1621         * buffer.[Ch]: added new closing signal
1622         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1623         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1624         BufferView::Pimpl via the closing the signal
1625
1626 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1627
1628         * buffer.[Ch]: take out all bv-related from buffer
1629         * BufferView.C:
1630         * BufferView_pimpl.[Ch]: connect to new signals
1631         * CutAndPaste.C: removed useless asserts
1632         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1633         * lyxvc.[Ch]:
1634         * vc-backend.[Ch]:
1635         * lyxfunc.C: moved view-related funciontality from vc here
1636         * paragraph.C: removed outdated comments
1637         * text.C: ws
1638
1639 2003-07-10  André Pönitz  <poenitz@gmx.net>
1640
1641         * BufferView_pimpl.C:
1642         * tabular.h:
1643         * tabular_funcs.C:
1644         * text.C:
1645         * text2.C: remove InsetText::InnerCache, clean up consequences
1646
1647 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1648
1649         * ispell.C: fix two typos in error messages
1650
1651 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1652
1653         * Extend Note inset to other forms of annotation like Comment
1654         and Greyedout. Right button click gives dialog.
1655
1656         Files modified or added (+):
1657
1658         * insetnote.[Ch]
1659         * FormNote.[Ch]      +
1660         * ControlNote.[Ch]   +
1661         * form_note.fd       +
1662         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1663         frontends/controllers
1664         * xforms/Dialogs.C
1665         * factory.C
1666
1667 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1668
1669         * aspell.C: add missing namespace lyx::support
1670
1671 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1672
1673         * BufferView.[Ch] (newFile): Add
1674         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1675         * LaTeX.[Ch] (message): added this signal and use it
1676         * buffer.[Ch] (busy, message): added these signals and use them
1677         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1678         * converter.C:
1679         * exporter.C:
1680         * format.C:
1681         * importer.C: use buffer signals instead of direct bv calling
1682         * lyx_cb.[Ch] (ShowMessage): removed
1683         * lyx_main.C:
1684         * lyxfunc.C:
1685         * paragraph_funcs.C:
1686         * text2.C: use buffer signals
1687
1688 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1689
1690         * introduce namespace lyx::graphics
1691
1692 2003-07-02  André Pönitz  <poenitz@gmx.net>
1693
1694         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1695
1696 2003-07-01  André Pönitz  <poenitz@gmx.net>
1697
1698         * text.C:
1699         * text2.C:
1700         * text3.C:
1701         * text_funcs.[Ch]:
1702         * textcursor.h:
1703         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1704           text*.C to text_func.C
1705
1706 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1707
1708         * introduce namespace lyx::support
1709
1710 2003-06-30  André Pönitz  <poenitz@gmx.net>
1711
1712         * Chktex.C:
1713         * funcrequest.C:
1714         * lyxtext.h:
1715         * text.C: re-enable --with-included-string
1716
1717 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1718
1719         * textcursor.C: add <config.h>
1720
1721         * text.C (getWord): remove const from word_location arg
1722
1723         * lyxvc.C (getLogFile): fix const type order
1724
1725         * lyxtext.h: remove const from word_location arg, add arg name
1726
1727         * lyxlayout.h: currect type on labeltype.
1728
1729         * importer.C: correct \file
1730
1731         * converter.C (intToFormat): use std:: on ret val, ws changes
1732
1733         * bufferlist.h: correct \file
1734
1735         * buffer.C (makeLinuxDocFile): fix const type order
1736         (makeDocBookFile): ditto
1737         (fillWithBibKeys): use std:: on stdlib args.
1738
1739         * CutAndPaste.C: fix authors.
1740         (availableSelections): use std:: on return vector
1741
1742 2003-06-27  André Pönitz  <poenitz@gmx.net>
1743
1744         * BufferView_pimpl.C:
1745         * bufferview_funcs.C:
1746         * lyxcursor.C:
1747         * lyxcursor.h:
1748         * lyxfunc.C:
1749         * lyxtext.h:
1750         * rowpainter.C:
1751         * text.C:
1752         * text2.C:
1753         * text3.C: remove LyXCursor::row_ member
1754
1755         * lyxtext.h:
1756         * text.C: rename fullRebreak() to partialRebreak() and implement
1757           a fullRebreak() that really bereks fully
1758
1759         * textcursor.h: new struct for cursor-related data
1760
1761 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1762
1763         * lyx_main.C (LyX): get full path of document loaded on the
1764         command line
1765
1766 2003-06-26  André Pönitz  <poenitz@gmx.net>
1767
1768         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1769           remove unused/broken operator>,<,>=.
1770
1771         *       text.C: remove only use of broken operator<= in an Assert().
1772
1773 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1774
1775         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1776         moved errorlist_.clear to showErrorList
1777
1778 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1779
1780         * converter.C (scanLog, runLaTeX):
1781         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1782         move the bv->showErrorList call to the callers
1783         * lyxfunc.C: i.e. here...
1784         * text2.C: and here
1785         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1786         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1787         namespace, the second to...
1788         * buffer_funcs (BufferFormat, parseErrors): added
1789         * errorlist.C (ErrorList(TeXErrors const &)): removed
1790
1791 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1792
1793         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1794
1795 2003-06-24  "Garst R. Reese" <reese@isn.net>
1796
1797         * debug.C: fix typo
1798
1799 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1800
1801         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1802
1803         * version.C.in: change docversion to 1.4
1804
1805 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1806
1807         * buffer.C: fix a bug just introduced
1808
1809 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1810
1811         * buffer.[Ch]: added the parseError signal and use it, removed
1812         sgmlError
1813         * BufferView.[Ch] (addError): moved to ...
1814         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1815         to the Buffer::parseError signal to catch (guess what) parse errors
1816         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1817
1818 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1819
1820         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1821         ability to create a buffer and to return an existing one from
1822         the list. Moved these functions to...
1823         * buffer_funcs.[Ch]: added
1824         * BufferView.[Ch] (loadLyXFile): added
1825         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1826         job removed from bufferlist::loadLyXFile.
1827         * buffer.C (setReadOnly): make it work without view
1828         (i.e added an if (users))
1829
1830 2003-06-19  Angus Leeming  <leeming@lyx.org>
1831
1832         * lfuns.h:
1833         * LyXAction.C (init):
1834         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1835         with LFUN_DIALOG_SHOW <name> <data>.
1836
1837 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * CutAndPaste.C (availableSelections): small compilation fix for
1840         ancient (gcc 2.9x) compilers
1841
1842 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1843
1844         * text3.C (cursorNext): add tmp var
1845
1846         * text2.C (updateCounters): for function calling out of for clause
1847         (replaceSelectionWithString): ditto
1848         (insertStringAsParagraphs): ditto
1849         (getColumnNearX): add tmp var
1850         (setCursorFromCoordinates): add tmp var
1851         (cursorDownParagraph): add tmp var
1852         (deleteEmptyParagraphMechanism): add tmp var
1853
1854         * text.C (insertChar): add tmp var
1855
1856         * rowpainter.C (paintDepthBar): add tmp var
1857
1858         * CutAndPaste.C (availableSelections): potentially check all
1859         paragraphs in a cut to fill the shown strings.
1860
1861 2003-06-18  André Pönitz  <poenitz@gmx.net>
1862
1863         * kbmap.[Ch]: use vector<> instead of list<>
1864
1865 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1866
1867         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1868         pasteSelection with index
1869
1870         * text2.C (pasteSelection): modify, call pasteSelection with index
1871
1872         * paragraph.C (asString): reimplement version with no interval to
1873         call the one with interval.
1874
1875         * lyxtext.h: add index arg to pasteSelection
1876
1877         * MenuBackend.C (MenuItem): handle PasteRecent
1878         (Menu::read::Menutags): add md_pasterecent
1879         (read): handle it
1880         (expandPasteRecent): new function
1881         (expand): use it
1882
1883         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1884
1885         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1886         the limited stack
1887         (availableSelections): new function
1888
1889 2003-06-17  Angus Leeming  <leeming@lyx.org>
1890
1891         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1892
1893 2003-06-17  Angus Leeming  <leeming@lyx.org>
1894
1895         * lfuns.h:
1896         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1897
1898         * lyxfunc.C (dispatch): invoke it.
1899
1900 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1901
1902         * iterators.C (operator++, ParPosition): reintroduce some
1903         const_cast for the benefit of older compilers.
1904
1905 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1906
1907         * text3.C (dispatch): do not modify clipboard when doing
1908         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1909         LFUN_DELETE_SKIP on a selection selection
1910
1911 2003-06-16  André Pönitz  <poenitz@gmx.net>
1912
1913         * BufferView.C:
1914         * buffer.C:
1915         * buffer.h:
1916         * paragraph.C:
1917         * tabular.[Ch]: IU of clone() and getLabelList();
1918
1919 2003-06-13  André Pönitz  <poenitz@gmx.net>
1920
1921         * tabular.h: compactification
1922
1923 2003-06-12  André Pönitz  <poenitz@gmx.net>
1924
1925         * tabular.C:
1926         * tabular.h:
1927         * tabular_funcs.h: some renaming plus whitespace
1928
1929 2003-06-12  André Pönitz  <poenitz@gmx.net>
1930
1931         * BufferView.C:
1932         * BufferView_pimpl.C:
1933         * CutAndPaste.C:
1934         * buffer.C:
1935         * iterators.[Ch]:
1936         * lyxfunc.C:
1937         * text.C:
1938         * toc.C: Return a Paragraph & for ParIterator::operator*()
1939
1940 2003-06-11  John Levon  <levon@movementarian.org>
1941
1942         * lyx_main.C:
1943         * ToolbarBackend.h:
1944         * ToolbarBackend.C: add "Toolbars" section and
1945         put the flags there
1946
1947 2003-06-10  Angus Leeming  <leeming@lyx.org>
1948
1949         * lfuns.h:
1950         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1951
1952         * lyxfunc.C (dispatch): invoke it.
1953
1954 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1955
1956         * main.C: protect <ios> with HAVE_IOS
1957         (main): protect sync_with_stdio with HAVE_IOS
1958
1959 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1960
1961         * text2.C (cutSelection): adjust
1962         (pasteSelection): adjust
1963
1964         * messages.C: handle get of empty string
1965
1966         * main.C (main): use sync_with_stdio(false)
1967
1968         * lyxfunc.C (dispatch): adjust
1969
1970         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1971         (WriteAs): remove unneeded BufferView arg.
1972
1973         * bufferparams.h: use correct types on papersize, papersize2 and
1974         paperpackage.
1975
1976         * bufferparams.C (readToken): adjust for type
1977         (writeLaTeX): add missing cases to switch.
1978
1979         * bufferlist.C (quitWriteBuffer): adjust
1980         (close): adjust
1981
1982         * buffer.C (asciiParagraph): remove some commented code.
1983
1984         * CutAndPaste.C: remove current_view extern variable.
1985         (cutSelection): add BufferParams arg.
1986         (eraseSelection): add BufferParams arg.
1987         (pasteSelection): add Buffer const & arg
1988
1989 2003-06-07  John Levon  <levon@movementarian.org>
1990
1991         * buffer.C:
1992         * paragraph_funcs.C:
1993         * paragraph_pimpl.C:
1994         * text.C:
1995         * text2.C:
1996         * paragraph.h:
1997         * paragraph.C: allow InsetERT to freely space lines,
1998         and some consolidation of code
1999
2000 2003-06-06  José Matos  <jamatos@fep.up.pt>
2001
2002         * buffer.C (makeDocBookFile): fix bug #821
2003
2004 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2005
2006         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2007
2008 2003-06-04  Angus Leeming  <leeming@lyx.org>
2009
2010         * buffer.C: bump format to 224.
2011
2012 2003-06-05  André Pönitz  <poenitz@gmx.net>
2013
2014         * text2.C (redoParagraphs): remove two const_cast<>
2015
2016 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2017
2018         * ParagraphList.h: remove last remnants of NO_STD_LIST
2019
2020 2003-06-03  Angus Leeming  <leeming@lyx.org>
2021
2022         * factory.C (createInset): small change to the way InsetExternal's params
2023         are set.
2024
2025 2003-06-04  André Pönitz  <poenitz@gmx.net>
2026
2027         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2028
2029         * paragraph_pimpl.h:
2030         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2031
2032         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2033
2034         * undo_funcs.C: make some simple cases of undo work again
2035
2036 2003-06-03  John Levon  <levon@movementarian.org>
2037
2038         * ispell.C: HPUX doesn't have sys/select.h
2039         (from Albert Chin)
2040
2041 2003-06-03  John Levon  <levon@movementarian.org>
2042
2043         * CutAndPaste.C: update tabular and include inset
2044         buffer references
2045
2046         * buffer.h:
2047         * paragraph.h:
2048         * paragraph.C: remove owningBuffer(), don't pass Buffer
2049         to clone()
2050
2051         * factory.C: insetGraphicsParams changed
2052
2053 2003-06-02  John Levon  <levon@movementarian.org>
2054
2055         * LyXAction.C:
2056         * factory.C:
2057         * lfuns.h:
2058         * lyxfunc.C:
2059         * text3.C: remove insetparent
2060
2061 2003-06-02  John Levon  <levon@movementarian.org>
2062
2063         * buffer.h:
2064         * buffer.C: fix inset_iterator.end(), move out of line
2065         (bug 1149)
2066
2067 2003-06-01  John Levon  <levon@movementarian.org>
2068
2069         * text3.C: use a proper cut/paste when doing inset
2070         insert (from Jürgen Spitzmüller)
2071
2072 2003-06-01  John Levon  <levon@movementarian.org>
2073
2074         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2075
2076 2003-05-30  André Pönitz  <poenitz@gmx.net>
2077
2078         * rowpainter.C: unify second drawing phase
2079
2080 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2081
2082         * trans_mgr.C: remove one case of current_view
2083
2084         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2085
2086         * paragraph_funcs.h: remove paragraph.h include
2087
2088         * paragraph.h: delete NO_STD_LIST stuff
2089
2090         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2091
2092         * buffer.h: remove paragraph.h include
2093
2094         * ParagraphList.C: delete file
2095
2096         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2097
2098         * toc.C (getTocList): adjust
2099
2100         * paragraph_pimpl.C (validate): adjust
2101
2102         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2103
2104         * paragraph.C (Paragraph): adjust
2105         (getPositionOfInset): use const_iterator, adjust
2106         (bibitem): use const_iterator, adjust
2107         (setInsetOwner): adjust
2108
2109         * iterators.C (operator++): adjust
2110
2111         * InsetList.[Ch]: Replace selfmade iterator with standard
2112         vector::iterator also introduce const_iterator. Remove getPos,
2113         getInset and setInset from InsetTable. Adjust accordingly.
2114
2115         * BufferView.C (lockInset): adjust
2116         (ChangeInsets): adjust
2117
2118         * tabular.[Ch]: delete commented same_id functions
2119
2120 2003-05-28  John Levon  <levon@movementarian.org>
2121
2122         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2123
2124 2003-05-28  André Pönitz  <poenitz@gmx.net>
2125
2126         * metricsinfo.[Ch]: remove 'fullredraw' member
2127
2128 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2129
2130         * lyxtextclass.C (operator): remove caching.
2131
2132 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2133
2134         * text3.C: adjust
2135
2136         * text2.C (cursorBottom): adjust
2137         (setCounter): use ParagraphList::find, adjust
2138
2139         * text.C (workWidth): use ParagraphList::find, adjust
2140
2141         * lyxcursor.C (LyXCursor): adjust
2142
2143         * buffer.C (inset_iterator): adjust
2144
2145         * ParagraphList.h: make iterator(value_type) private, make
2146         ParagraphList a friend of iterator.
2147
2148         * ParagraphList.C (find): new function
2149
2150         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2151
2152 2003-05-27  André Pönitz  <poenitz@gmx.net>
2153
2154         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2155
2156 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2157
2158         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2159
2160 2003-05-26  John Levon  <levon@movementarian.org>
2161
2162         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2163
2164 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2165
2166         * remove same_id from function signatures, adjust.
2167
2168 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2169
2170         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2171
2172         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2173
2174         * paragraph.C (Paragraph): get rid of same_ids parameter
2175
2176         * ParagraphList.C (insert): adjust
2177         (push_back): adjust
2178
2179 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2180
2181         * paragraph_funcs.C (breakParagraph): adjust
2182         (breakParagraphConservative): adjust
2183
2184         * buffer.C (readParagraph): adjust
2185
2186         * ParagraphList.C (insert): take a reference instead of a pointer
2187         (insert): adjust
2188
2189         * paragraph.[Ch] (id): new function
2190
2191         * bufferlist.C (newFile): adjust
2192
2193         * ParagraphList.C (ParagraphList): adjust
2194         (assign): adjust
2195         (push_back): take a reference instead of a pointer.
2196
2197         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2198
2199         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2200         instead.
2201
2202         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2203         set else use old code.
2204
2205         * ParagraphList.C: remove all NO_NEXT code and only compile this
2206         code of NO_STD_LIST is set.
2207
2208 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2209
2210         * BufferView_pimpl.C:
2211         * TextCache.C:
2212         * TextCache.h:
2213         * bufferlist.C:
2214         * errorlist.h:
2215         * format.C:
2216         * format.h:
2217         * graph.C:
2218         * lyxfunc.C:
2219         * lyxrc.C:
2220         * graphics/GraphicsConverter.C:
2221         * graphics/PreviewLoader.C: header adjustment
2222
2223 2003-05-23  Angus Leeming  <leeming@lyx.org>
2224
2225         * LaTeXFeatures.[Ch] (useBabel): new method.
2226         * bufferparams.C (writeLaTeX): use it.
2227
2228 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2229
2230         * ParagraphList.h (set): remove unused function.
2231
2232 2003-05-23  André Pönitz  <poenitz@gmx.net>
2233
2234         * BufferView.C:
2235         * BufferView_pimpl.C:
2236         * buffer.C:
2237         * buffer.h:
2238         * lyxfunc.C:
2239         * undo_funcs.C: setUndo reworked
2240
2241         * iterators.[Ch]: add access to topmost ParagraphList
2242
2243         * lyxtext.[Ch] (workWidth): add a const
2244
2245 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2246
2247         * texrow.[Ch] (increasePos): remove function
2248         * exporter.C (export): removed unused var and outdated comment
2249
2250 2003-05-23  Angus Leeming  <leeming@lyx.org>
2251
2252         * latexrunparams.h: rename fragile as moving_arg.
2253         * paragraph.C (simpleTeXOnePar): ditto.
2254         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2255
2256 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2257
2258         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2259         (createUndo): ditto
2260         (textUndoOrRedo): comment out a currently unused var.
2261
2262         * paragraph.h (NO_NEXT): enable NO_NEXT
2263
2264         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2265
2266         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2267
2268         * exporter.C (Export): adjust for removeAutoInsets removal.
2269
2270         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2271
2272         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2273
2274         * BufferView.[Ch] (removeAutoInsets): delete function
2275
2276 2003-05-22  Angus Leeming  <leeming@lyx.org>
2277
2278         * latexrunparams.h: add a free_spacing variable.
2279
2280         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2281         to pass moving_arg, as the data is stored in runparams.fragile.
2282
2283         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2284         to Inset::latexOptional or to simpleTeXOnePar.
2285
2286         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2287         free_spacing arg to Inset::latexOptional.
2288
2289         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2290         free_spacing arg.
2291
2292 2003-05-22  Angus Leeming  <leeming@lyx.org>
2293
2294         * latexrunparams.h: add fragile and use_babel variables.
2295
2296         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2297         * buffer.C (makeLaTeXFile): store this returned value in
2298         runparams.use_babel, thus passing it to the inset::latex methods.
2299
2300         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2301         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2302
2303         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2304         longer has a fragile arg, as it is stored in runparams.fragile.
2305
2306         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2307         moving_arg parameter as the data is stored in runparams.fragile.
2308
2309         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2310         a fragile parameter as the data is stored in runparams.fragile.
2311
2312 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2313
2314         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2315
2316 2003-05-22  Angus Leeming  <leeming@lyx.org>
2317
2318         * latexrunparams.h: add a 'bool nice' which defaults to false.
2319
2320         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2321         now encapsulated within runparams.
2322
2323         * bufferlist.C (updateIncludedTeXfiles):
2324         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2325
2326 2003-05-22  Angus Leeming  <leeming@lyx.org>
2327
2328         * latexrunparams.h: new file containing struct LatexRunParams.
2329         * Makefile.am: add new file.
2330
2331         * LaTeX.[Ch] (c-tor, run):
2332         * buffer.[Ch] (makeLaTeXFile):
2333         * bufferlist.[Ch] (updateIncludedTeXfiles):
2334         * converter.C (convert, scanLog):
2335         * converter.[Ch] (runLaTeX):
2336         * exporter.C (Export):
2337         * paragraph.[Ch] (simpleTeXOnePar):
2338         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2339         * paragraph_funcs.[Ch] (latexParagraphs):
2340         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2341         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2342         pass around a LatexRunParams parameter.
2343
2344 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2345
2346         * paragraph.[Ch]: remove unused constructor
2347
2348         * ParagraphList.C (erase): new function, taking two iterators
2349
2350 2003-05-22  André Pönitz  <poenitz@gmx.net>
2351
2352         * undo_funcs.C: remove duplicated code
2353
2354         * iterator.[Ch]: operator=
2355
2356 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2357
2358         * tabular.C (SetMultiColumn): ws changes
2359
2360         * rowpainter.C (paintFirst): get rid of a ->previous
2361
2362         * lyx_cb.C (getPossibleLabel): parlist simplification
2363
2364         * BufferView.C (ChangeInsets): simplify slightly.
2365
2366 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2367
2368         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2369         * lfuns.h: new LFUN_SPACE
2370         * lyxfunc.C: protected space has a new lfun
2371         * paragraph_funcs.C: read new space insets
2372         * text3.C:
2373         * factory.C: handle new space insets
2374
2375 2003-05-22  André Pönitz  <poenitz@gmx.net>
2376
2377         * BufferView.C:
2378         * BufferView_pimpl.C:
2379         * buffer.[Ch]:
2380         * lyxfunc.C:
2381         * undo_funcs.C: return a ParIterator from getParFromID.
2382
2383         * iterators.[Ch]: add two const's
2384
2385 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2386
2387         * toc.C (getTocList): adjust
2388
2389         * iterators.[Ch]: rework for parlist
2390
2391         * buffer.C (par_iterator_begin): adjust
2392         (par_iterator_end): adjust
2393
2394         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2395
2396         * BufferView.C (removeAutoInsets): adjust
2397         (ChangeInsets): adjust
2398
2399 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2400
2401         * text.C (top_y): fix bug 1110
2402
2403 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2404
2405         * errorlist.[Ch]: added
2406         * buffer.C:
2407         * BufferView.[Ch]:
2408         * BufferView_pimpl.C:
2409         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2410         instead
2411
2412 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2413
2414         * Makefile.am: ensure that lyx is relinked upon changes to the
2415         various "convenience" libs.
2416
2417 2003-05-20  Angus Leeming  <leeming@lyx.org>
2418
2419         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2420         files are compiled in alphabetical order again.
2421
2422         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2423
2424 2003-05-19  Angus Leeming  <leeming@lyx.org>
2425
2426         * gettext.[Ch]: remove "char const * _(char const *)".
2427
2428 2003-05-19  André Pönitz  <poenitz@gmx.net>
2429
2430         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2431
2432         * Makefile.am:
2433         * BufferView.C:
2434         * DepTable.h:
2435         * LaTeXFeatures.C:
2436         * buffer.C:
2437         * lyxfont.C:
2438         * lyxlex.h:
2439         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2440
2441 2003-05-19  André Pönitz  <poenitz@gmx.net>
2442
2443         * buffer.C:
2444         * lyxlayout.[Ch]:
2445         * lyxtextclass.[Ch]:
2446         * paragraph.C:
2447         * paragraph_funcs.[Ch]:
2448         * text2.C:
2449         * text3.C: more insetenv work
2450
2451 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2452
2453         * ParagraphParameters.C (params2string): small bug fixed
2454
2455 2003-05-16  André Pönitz  <poenitz@gmx.net>
2456
2457         * debug.C:
2458         * bufferview_funcs.C: patch from Kornel Benko to prevent
2459           crash when _(...) is called twice in a statement
2460
2461 2003-05-16  André Pönitz  <poenitz@gmx.net>
2462
2463         * BufferView.C:
2464         * lyxfunc.C:
2465         * text.C:
2466         * text2.C:
2467         * text3.C:
2468         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2469
2470 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2471
2472         * lyx_main.C (init): remove spurious static_cast
2473
2474 2003-05-14  André Pönitz  <poenitz@gmx.net>
2475
2476         * BufferView.C: fix format string
2477
2478 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2479
2480         * BufferView.[Ch] (insertErrors): removed
2481         * BufferView.[Ch] (showErrorList): added
2482         * buffer.C (runChkTeX):
2483         * converter.C (scanLog): call showErrorList instead of inserterrors
2484
2485 2003-05-13  André Pönitz  <poenitz@gmx.net>
2486
2487         * BufferView_pimpl.C:
2488         * buffer.C:
2489         * bufferview_func.C:
2490         * MenuBackend.C:
2491         * lyxfunc.C:
2492         * lyxrc.C:
2493         * tex-accent.C:
2494         * text3.C:
2495         * toc.C:
2496         * tabular_funcs.h: tostr() from its own header
2497
2498         * ParagraphParameters.C:
2499         * ToolbarBackend.C:
2500         * bufferparams.C:
2501         * format.C:
2502         * lyxlex_pimpl.C:
2503         * text3.C: STRCONV()
2504
2505 2003-05-12  André Pönitz  <poenitz@gmx.net>
2506
2507         * BufferView.C:
2508         * BufferView_pimpl.C:
2509         * CutAndPaste.C:
2510         * LaTeX.C:
2511         * LaTeXFeatures.C:
2512         * ParagraphParameters.C:
2513         * buffer.C:
2514         * bufferlist.C:
2515         * bufferparams.C:
2516         * bufferview_funcs.C:
2517         * converter.C:
2518         * counters.C:
2519         * debug.C:
2520         * exporter.C:
2521         * format.C:
2522         * importer.C:
2523         * lyx_cb.C:
2524         * lyx_main.C:
2525         * lyxfont.C:
2526         * lyxfunc.C:
2527         * lyxvc.C:
2528         * paragraph.C:
2529         * paragraph_funcs.C:
2530         * tabular.C:
2531         * tabular_funcs.C:
2532         * text2.C:
2533         * text3.C:  boost::format -> bformat  all over the place
2534
2535
2536 2003-05-09  André Pönitz  <poenitz@gmx.net>
2537
2538         * LColor.[Ch]: Pimpl the #include <map> away
2539
2540 2003-05-09  John Levon  <levon@movementarian.org>
2541
2542         * bufferlist.C: never remove emergency saves
2543
2544 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2545
2546         * Makefile.am: better lib building
2547
2548 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2549
2550         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2551         instead.
2552         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2553         (simpleTeXSpecialChars): adjust
2554         (simpleTeXSpecialChars): adjust
2555         * paragraph.C (simpleTeXOnePar): adjust
2556         * buffer.C (makeLaTeXFile): adjust
2557
2558         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2559
2560         * text2.C (changeDepth): parlist cleanup
2561         (getColumnNearX): ditto
2562
2563         * rowpainter.C (getLabelFont): parlist cleanup
2564
2565         * bufferlist.C (newFile): parlist cleanup
2566
2567         * CutAndPaste.C (eraseSelection): parlist cleanup
2568
2569         * BufferView_pimpl.C (trackChanges): parlist cleanup
2570         (dispatch): ditto
2571
2572         * BufferView.C (lockInset): parlist cleanup.
2573         (ChangeInsets): ditto
2574
2575 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2576
2577         * CutAndPaste.h: Update file header.
2578
2579         * CutAndPaste.C: Update file header.
2580         Store the parts cut out of the Document in a limited_stack.
2581         (copySelection): adjust
2582         (pasteSelection): new function, takes the index in the limited stack.
2583         (nrOfParagraphs): adjust
2584         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2585         simplify error inset insertion.
2586         (checkPastePossible): adjust
2587
2588 2003-05-06  John Levon  <levon@movementarian.org>
2589
2590         * text2.C: don't cast wrap inset to float
2591
2592 2003-05-05  André Pönitz  <poenitz@gmx.net>
2593
2594         * iterator.C:
2595         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2596
2597         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2598           few naked Paragraph *.
2599
2600 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2601
2602         * bufferparams.C: Output warning if a document with missing
2603         TeX document class is loaded
2604         * exporter.C: Disable TeX exports if the document class is missing
2605         * lyxtextclass.C:
2606         * lyxtextclass.h:
2607         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2608         isTeXClassAvailable()
2609
2610 2003-05-03  John Levon  <levon@movementarian.org>
2611
2612         * BufferView.h:
2613         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2614         explicit cursor show/hide
2615
2616         * BufferView_pimpl.h:
2617         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2618         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2619
2620         * lyxfunc.C: hide cursor before dispatching.
2621
2622         * lyx_cb.C:
2623         * lyxfind.C:
2624         * text.C:
2625         * text3.C: remove explicit cursor hides
2626
2627 2003-05-02  André Pönitz  <poenitz@gmx.net>
2628
2629         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2630
2631         * undo_funcs.C:
2632         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2633           linked lists
2634
2635         * text2.C: tiny whitespace
2636
2637 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2638
2639         * undo_funcs.C: almost only ws changes.
2640
2641         * ParagraphList.C (splice): just return if pl is empty.
2642
2643 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2644
2645         * ParagraphList.C (splice): new function.
2646
2647         * CutAndPaste.C (pasteSelection): use it
2648
2649 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650
2651         * CutAndPaste.C (pasteSelection): remove the last next and
2652         previous from this file.
2653
2654 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2655
2656         * CutAndPaste.C (pasteSelection): more clean up, user proper
2657         ParagraphList functions for pasteing.
2658
2659         * ParagraphList.C (insert): new function, three arg insert
2660
2661 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2662
2663         * ParagraphList.C (insert): new function, three arg insert
2664
2665         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2666         not on paragraphs.
2667
2668 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2669
2670         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2671
2672 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2673
2674         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2675
2676 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2677
2678         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2679         (copySelection): clean up a bit.
2680         (pasteSelection): use make_pair
2681
2682         * ParagraphList.C (ParagraphList): implement copy constructor
2683         (operator=): implement, base on copy constructor.
2684         (assign): new func
2685
2686         * paragraph.C (erase): return a bool
2687
2688         * paragraph_pimpl.C (erasePos): remove function, move contents...
2689         (erase): ... here. Return a bool.
2690         (erase): call erase instead of erasePos.
2691
2692 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2693
2694         * ParagraphList.h: define PitPosPair
2695         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2696         ParagraphList, fix a bug on pasting multiple pars
2697         * text2.C: change interface to C&P
2698
2699 2003-04-30  André Pönitz  <poenitz@gmx.net>
2700
2701         * undo_func.C: revert part of yesterday's patch 2
2702
2703 2003-04-30  John Levon  <levon@movementarian.org>
2704
2705         * LColor.C: s/tabular/table/
2706
2707 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2708
2709         * text3.C (dispatch): do not convert iterator -> pointer
2710         * undo_funcs.C (setCursorParUndo): ditto
2711         * text_funcs.C (transposeChars): ditto
2712
2713         * text2.C (setLayout): ws changes only
2714
2715         * text.C (breakParagraph): do not convert iterator -> pointer
2716         (insertChar): ditto
2717         (acceptChange): ditto
2718         (rejectChange): ditto
2719         (changeCase): ditto
2720         (Delete): ditto
2721         (backspace): ditto
2722
2723         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2724         pointer
2725
2726 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2727
2728         * text3.C (gotoInset): YABG (yet another bad getChar)
2729
2730 2003-04-29  André Pönitz  <poenitz@gmx.net>
2731
2732         * paragraph.h: make operator= private unimplemented as long as
2733           it is unusable
2734
2735         * ParagraphList.C: whitespace
2736
2737         * paragraph.[Ch]:
2738         * paragraph_pimpl.[Ch]:
2739         * paragraph_funcs.C:
2740         * CutAndPaste.C:
2741         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2742
2743         * text2.C:
2744           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2745
2746 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2747
2748         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2749         * paragraph.[Ch] (erase):
2750         * paragraph_pimpl.[Ch] (erase): change return type and value
2751         * text2.C (cutSelection): some rework
2752
2753 2003-04-28  John Levon  <levon@movementarian.org>
2754
2755         * bufferlist.C: changes for unsaved changes dialog
2756
2757 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2758
2759         * bufferlist.C (newFile): set language (messages_) for new
2760         documents also.
2761
2762         * buffer.C (readFile): ws changes only.
2763
2764 2003-04-28  André Pönitz  <poenitz@gmx.net>
2765
2766         * undo_funcs.C:
2767         * lyxfunc.C:
2768         * buffer.[Ch]:
2769         * BufferView_pimpl.C:
2770         * BufferView.C: getParFromID related ParagraphList::iterator changes
2771
2772 2003-04-28  André Pönitz  <poenitz@gmx.net>
2773
2774         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2775           Changes
2776
2777 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2778
2779         * messages.C: remove one more localedir class variable.
2780
2781 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2782
2783         * messages.C (getLocaleDir): singleton generation function
2784         (Pimpl): use it.
2785         (Messages): add a default constructor.
2786
2787         * main.C (main): do not setup localedir here, do not call
2788         gettext_init.
2789
2790         * gettext.C (_): use it.
2791         (gettext_init): delete funciton
2792
2793 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2794
2795         * gettext.C (getLyXMessages): new singleton generating function.
2796
2797         * buffer.C (updateDocLang): adjust
2798
2799         * Makefile.am (messages.o): add target
2800         (main.o): remove target
2801
2802 2003-04-27  John Levon  <levon@movementarian.org>
2803
2804         * bufferlist.C:
2805         * lyx_cb.C:
2806         * lyxfunc.C:
2807         * lyxvc.C: specify cancel button in Alert::prompt
2808
2809 2003-04-26  John Levon  <levon@movementarian.org>
2810
2811         * text3.C:
2812         * lyxfunc.C:
2813         * lfuns.h:
2814         * LyXAction.C: add LFUN_INSET_SETTINGS
2815
2816         * lyxfunc.C: don't enable tabular-feature when there's
2817         just any locking inset
2818
2819 2003-04-26  John Levon  <levon@movementarian.org>
2820
2821         * bufferlist.C: re-add Cancel to buffer close question
2822
2823         * lyxfunc.C: fix import UI a bit
2824
2825 2003-04-25  John Levon  <levon@movementarian.org>
2826
2827         * gettext.C: remove the broken asserts for now
2828
2829 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2830
2831         * messages.C: make case where setlocale cannot comply work better.
2832
2833         * buffer.C (updateDocLang): new function
2834         (changeLanguage): use it
2835         (readFile): use it
2836
2837         * text2.C (setCounter): use B_ a bit.
2838
2839         * lyxlayout.C (Read): be sure to trim the label strings.
2840
2841         * messages.C (Messages): fix typo in comment
2842
2843         * buffer.C (readFile): set message_ after file is loaded.
2844         (makeDocBookFile): remove double return
2845         (changeLanguage): reset message_ upon language change.
2846         (B_): new func, use this to get translated buffer strings.
2847
2848         * main.C: add myself and Jean Marc as authors.
2849
2850 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2851
2852         * messages.[hC]: pimplify Messages, and three different pimpls to be
2853         used in different circumstances.
2854
2855         * gettext.[Ch]: change for use with new message code.
2856
2857 2003-04-24 André Pönitz <poenitz@gmx.net>
2858
2859         * factory.C: support for eqref
2860
2861 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2862
2863         * messages.[Ch]: add missing char
2864
2865         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2866
2867         * messages.[Ch]: New files
2868
2869 2003-04-18  John Levon  <levon@movementarian.org>
2870
2871         * BufferView.h:
2872         * BufferView.C:
2873         * BufferView_pimpl.C:
2874         * lfuns.h:
2875         * LyXAction.C:
2876         * lyxtext.h:
2877         * text2.C: remove layout-copy/paste (bug 778)
2878
2879 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2880
2881         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2882
2883 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2884
2885         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2886         if they succeed. Act accordingly.
2887
2888 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2889
2890         * text2.C (setCharFont): adjust
2891         (setCounter): adjust
2892         (insertStringAsLines): adjust
2893
2894         * text.C (leftMargin): adjust
2895         (setHeightOfRow): adjust
2896
2897         * rowpainter.C (paintFirst): adjust
2898         (paintLast): adjust
2899
2900         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2901         (outerHook): ditto
2902         (isFirstInSequence): ditto
2903         (getEndLabel): ditto
2904         (outerFont): adjust
2905
2906         * paragraph.C (getParLanguage): comment out some hard stuff.
2907
2908         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2909         (sgmlError): ditto
2910         (simpleDocBookOnePar): ditto
2911         (makeDocBookFile): use ParagraphList::iterator
2912
2913         * CutAndPaste.C (pasteSelection): adjust
2914
2915 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2916
2917         * text2.C (getFont): adjust
2918         (getLayoutFont): adjust
2919         (getLabelFont): adjust
2920
2921         * paragraph_funcs.C (TeXOnePar): adjust
2922
2923         * buffer.C (simpleLinuxDocOnePar): adjust
2924         (simpleDocBookOnePar): adjust
2925
2926         * CutAndPaste.C (pasteSelection): adjust
2927
2928         * BufferView.C (getEncoding): adjust
2929
2930         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2931
2932 2003-04-16  John Levon  <levon@movementarian.org>
2933
2934         * lyxfind.C: use parlist stuff for search/changes
2935
2936 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2937
2938         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2939
2940         * text2.C (deleteEmptyParagraphMechanism): adjust
2941
2942         * text2.[Ch] (ownerParagraph): delete func (both of them
2943
2944 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2947
2948 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2949
2950         * ParagraphList.C: prepare for NO_NEXT
2951
2952 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2953
2954         * text2.C (getFont): adjust
2955         (getLayoutFont): adjust
2956         (getLabelFont): adjust
2957
2958         * paragraph.C (getFont): adjust
2959         (getLabelFont): adjust
2960         (getLayoutFont): adjust
2961
2962         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2963
2964 2003-04-15  John Levon  <levon@movementarian.org>
2965
2966         From Angus Leeming
2967
2968         * lyx_main.C: handle Include in .ui files
2969
2970 2003-04-15  John Levon  <levon@movementarian.org>
2971
2972         * MenuBackend.C: make the doc files length shorter
2973
2974         * ToolbarBackend.h:
2975         * ToolbarBackend.C: handle toolbar placement flags,
2976         Minibuffer
2977
2978 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2981         adjust
2982
2983         * paragraph_funcs.C (TeXOnePar): adjust
2984
2985         * paragraph.C (getLabelFont): add outerfont arg, adjust
2986         (getLayoutFont): ditto
2987         (simpleTeXOnePar): adjust
2988
2989         * paragraph_pimpl.C (realizeFont): delete func
2990
2991 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2992
2993         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2994         row argument, constify cur argument.
2995
2996 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2997
2998         * text2.C (getFont): adjust
2999         (getLayoutFont): adjust
3000         (getLabelFont): adjust
3001
3002         * paragraph_funcs.C (TeXOnePar): adjust
3003         (outerFont): new func...
3004         (realizeFont): ...moved out from here, changed this to facilitate
3005         transition
3006
3007         * paragraph.C (getFont): take outerfont as arg, adjust
3008         (simpleTeXOnePar): add outerfont arg, adjust
3009
3010         * buffer.C (simpleLinuxDocOnePar): adjust
3011         (simpleDocBookOnePar): adjust
3012
3013         * CutAndPaste.C (pasteSelection): adjust
3014
3015         * BufferView.C (getEncoding): adjust
3016
3017 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3018
3019         * text2.C (setCharFont): adjust
3020         (setCounter): adjust
3021
3022         * text.C (leftMargin): adjust
3023         (setHeightOfRow): adjust
3024
3025         * rowpainter.C (paintFirst): adjust
3026         (paintLast): adjust
3027
3028         * paragraph_pimpl.C (realizeFont): adjust
3029
3030         * paragraph.C (isFirstInSequence): move from here...
3031         * paragraph_funcs.C (isFirstInSequence): ...to here
3032
3033         * paragraph.C (outerHook): move from here...
3034         * paragraph_funcs.C (outerHook): ...to here
3035
3036         * paragraph.C (depthHook): move from here...
3037         * paragraph_funcs.C (depthHook): ...to here
3038
3039         * paragraph.C (getEndLabel): move from here...
3040         * paragraph_funcs.C (getEndLabel): ...to here
3041
3042         * text2.C (realizeFont): move from here...
3043         * paragraph_funcs.C (realizeFont): ...to here
3044
3045 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3048
3049 2003-04-14  Angus Leeming  <leeming@lyx.org>
3050
3051         * LColor.[Ch]: scrap LColor mathcursor.
3052
3053 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * lyxlex.[Ch] (text): delete function
3056         * trans.C (Load): adjust
3057         * paragraph_funcs.C (readParToken): adjust
3058
3059 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3060
3061         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3062         vector<char> instead of a char[].
3063
3064         * lyxlex_pimpl.C (getString): adjust
3065         (next): adjust
3066         (lex): use getString
3067         (eatLine): adjust
3068         (nextToken): adjust
3069
3070         * lyxlex.C (text): use pimpl_->getString()
3071         (getBool): ditto
3072         (findToken): ditto
3073
3074 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3075
3076         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3077         (makeFontEntriesLayoutSpecific): temp var for par.size()
3078         (setLayout): temp var for ownerParagraphs().end()
3079         (fullRebreak): temp var for rows().end()
3080         (selectionAsString): temp var for boost::next(startpit), realize
3081         that the while really is a regular for loop.
3082         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3083         setCursor in one place.
3084         (setParagraph): temp vr for ownerParagraphs().end()
3085         (updateCounters): make the while loop a for loop
3086         (cutSelection): temp var for ownerParagraphs().end()
3087         (updateInset): make the do {} while() a regular for loop
3088         (getCursorX): use temp vars
3089         (setCurrentFont): use temp vars
3090         (getColumnNearX): use temp vars
3091
3092 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3093
3094         * text.C (transformChar): use temp var for getChar
3095         (computeBidiTables): use temp var for row->par()
3096         (fill): move temp vars for row->par() and pit->layout() earlier in
3097         the function.
3098         (labelFill): use temp var for row->par()
3099         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3100         asc and desc, realize that pit never changes and that firstpit is
3101         just a duplicate and not needed. Exchange rit->par() with pit in a
3102         lot of places.
3103         (breakAgain): use a temp var for boost::next(rit)
3104         (breakAgainOneRow): ditto
3105         (breakParagraph): use a temp var for rows().begin()
3106         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3107         (cursorRightOneWord): use temp var for cursor.par() and
3108         cursor.pos(), remove usage of tmpcursor.
3109         (cursorLeftOneWord): use temp var for cursor.par() and
3110         cursor.pos() only set cur at end of function.
3111
3112 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3113
3114         * text.C, text2.C: exchange all usage of Paragraph::next with
3115         boost::next(ParagraphList::iterator)
3116
3117         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3118
3119         * text2.C (cursorTop): simplify implementation
3120         (cursorBottom): ditto
3121         (setParagraph): use ParagraphList::iterator
3122         (setCurrentFont): adjust
3123         (getColumnNearX): adjust
3124         (cursorRight): adjust
3125         (cursorLeft): remove usage of Paragraph::previous
3126         (cursorUpParagraph): ditto
3127         (deleteEmptyParagraphMechanism): slight cleanup
3128
3129         * text.C (isBoundary): take a Paragraph const & instead of a
3130         pointer as arg.
3131         (addressBreakPoint): ditto
3132         (leftMargin): remove usage of Paragraph::previous.
3133         (setHeightOfRow): ditto
3134         (cursorLeftOneWord): ditto
3135         (selectNextWordToSpellcheck): ditto
3136         (Delete): ditto
3137         (backspace): ditto
3138         (breakParagraph): remove one usage of Paragraph::next
3139         (redoParagraph): ditto
3140         (acceptChange): ditto
3141         (insertChar): adjust
3142         (rowBreakPoint): adjust
3143
3144         * bufferview_funcs.C (toggleAndShow): adjust
3145
3146 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3147
3148         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3149         methods to access it.
3150         * lyxtext.h:
3151         * text.C: Added updateRowPositions to compute all row positions.
3152         Make top_y and getRowNearY() to use the cached y position
3153
3154 2003-04-11  John Levon  <levon@movementarian.org>
3155
3156         * text.C (rowBreakPoint): reintroduce the labelEnd
3157         checks, code copied from the row fill stuff. Deep voodoo.
3158
3159         * text.C (fill): add a comment and debugging for the
3160         next poor soul.
3161
3162 2003-04-11  John Levon  <levon@movementarian.org>
3163
3164         * text.C: make sure fullrow insets get wrapped to the next line,
3165         even when they're in a manual label
3166
3167 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3168
3169         * text2.C (insertParagraph): make it take ParagraphList::iterator
3170         as arg.
3171         (setLayout): make it return ParagraphList::iterator
3172         (redoParagraphs): ditto
3173         (setCounter): ditto
3174         (checkParagraph): ditto
3175
3176         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3177
3178         * text2.C: adjust several funcs.
3179         (realizeFont): take a ParagraphList::iterator as arg.
3180         (getLayoutFont): ditto
3181         (getLabelFont): ditto
3182         (setCharFont): ditto
3183
3184         * text.C: adjust several funcs.
3185
3186 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3187
3188         * text.C (selectNextWordToSpellcheck): don't accidentally
3189         skip insets
3190
3191 2003-04-10  John Levon  <levon@movementarian.org>
3192
3193         * ToolbarBackend.C (getIcon): special handling for
3194         LFUN_MATH_DELIM
3195
3196 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3197
3198         * text2.C (cursorRight): a getChar assert fixed
3199
3200 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3201
3202         * text2.C (getFont): change to take a ParagraphList::iterator
3203         instead of Paragraph*
3204         Adjust several functions.
3205
3206         * text.C (transformChar): change to take a ParagraphList::iterator
3207         instead of Paragraph*
3208         (singleWidth): ditto
3209         Adjust several functions.
3210
3211         * rowpainter.C: adjust several functions
3212         * rowpainter.h:store a ParagraphList::iterator and not a
3213         Paragraph&.
3214
3215
3216 2003-04-09  John Levon  <levon@movementarian.org>
3217
3218         * lyxfunc.C:
3219         * lfuns.h:
3220         * LyXAction.h:
3221         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3222         and the "help" bits as well
3223
3224 2003-04-09  John Levon  <levon@movementarian.org>
3225
3226         * ToolbarBackend.h:
3227         * ToolbarBackend.C: allow multiple toolbars
3228
3229 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3230
3231         * undo_funcs.C (setCursorParUndo): adjust
3232
3233         * text_funcs.C (transposeChars): adjust
3234
3235         * text3.C (gotoNextInset): adjust
3236         (dispatch): adjust
3237
3238         * text2.C (setLayout): adjust
3239         (changeDepth): adjust
3240         (setFont): adjust
3241         (redoParagraphs): adjust
3242         (selectionAsString): adjust
3243         (setParagraph): adjust
3244         (insertInset): adjust
3245         (cutSelection): adjust
3246         (copySelection): adjust
3247         (pasteSelection): adjust
3248         (insertStringAsLines): adjust
3249         (updateInset): adjust
3250         (setCursor): change to take a ParagraphList::iterator parameter
3251         (setCursorIntern): change to take a ParagraphList::iterator parameter
3252         (setCurrentFont): adjust
3253         (cursorLeft): adjust
3254         (cursorRight): adjust
3255         (deleteEmptyParagraphMechanism): adjust
3256
3257         * text.C (breakParagraph): adjust
3258         (insertChar): adjust
3259         (acceptChange): adjust
3260         (rejectChange): adjust
3261         (selectNextWordToSpellcheck): adjust
3262         (changeCase): adjust
3263         (Delete): adjust
3264         (backspace): adjust
3265
3266         * lyxfind.C (SearchForward): adjust
3267         (SearchBackward): adjust
3268         (nextChange): adjust
3269
3270         * lyxcursor.C (par): adjust
3271
3272         * lyxcursor.h: store a ParagraphList::iterator instead of a
3273         Paragraph*
3274
3275         * lyx_cb.C (getPossibleLabel): adjust
3276
3277         * bufferview_funcs.C (toggleAndShow): adjust
3278
3279         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3280         (dispatch): adjust
3281
3282         * BufferView.C (removeAutoInsets): adjust
3283         (lockedInsetStoreUndo): adjust
3284
3285 2003-04-09  John Levon  <levon@movementarian.org>
3286
3287         * ToolbarBackend.C: try icon without argument
3288         if with argument fails
3289
3290 2003-04-08  John Levon  <levon@movementarian.org>
3291
3292         * ToolbarBackend.h:
3293         * ToolbarBackend.C: add getIcon(), handle tooltip,
3294         and change from "Icon" to "Item".
3295
3296 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3297
3298         * BufferView.C (lockInset): another bad getchar crunched
3299
3300 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3301
3302         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3303         again)
3304
3305 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3306
3307         * lyxfind.C (searchForward, searchBackwards): bug 782
3308
3309 2003-04-07  John Levon  <levon@movementarian.org>
3310
3311         * paragraph.C: remove dead comment
3312
3313         * text.C: remove troublesome depth-fiddling code
3314         in leftMargin() and rightMargin() (bug 1017)
3315
3316         * text.C: fix breaking of rows in nested lists
3317         (bug 1004)
3318
3319         * text2.C (updateCounters): fix up depth values
3320         (bug 1013)
3321
3322 2003-04-07  John Levon  <levon@movementarian.org>
3323
3324         * BufferView_pimpl.C: clear message when doc finishes resizing,
3325         and after a mouse event
3326
3327         * lyxfunc.C: clear message after exiting inset
3328
3329 2003-04-07  John Levon  <levon@movementarian.org>
3330
3331         * bufferview_funcs.C: show math status not outside
3332         status in the statusbar
3333
3334 2003-04-07  John Levon  <levon@movementarian.org>
3335
3336         * lyxfunc.C: note status changed after a depth change
3337
3338 2003-04-04  Angus Leeming  <leeming@lyx.org>
3339
3340         * LaTeX.h: move AuxInfo operator==, != out of line.
3341         Remove LaTeX virtual destructor; nothing derives from it.
3342         Move operator()() out of public area and rename it startscript().
3343         Change protected for private.
3344
3345 2003-04-04  Angus Leeming  <leeming@lyx.org>
3346
3347         * lyxfunc.C:
3348         * text2.C: remove unneeded #includes.
3349
3350 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3351
3352         * text2.C (dEPM): fix the heigth of the next row
3353
3354 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3355
3356         * text.C: squashed an invalid getChar requester + some ws changes
3357
3358 2003-04-03  John Levon  <levon@movementarian.org>
3359
3360         * bufferview_funcs.h:
3361         * bufferview_funcs.C:
3362         * lyxfunc.C:
3363         * lyxtext.h:
3364         * text2.C: make getStatus work for the env depth lfuns
3365
3366 2003-04-03  John Levon  <levon@movementarian.org>
3367
3368         * bufferview_funcs.h:
3369         * bufferview_funcs.C:
3370         * lyxfunc.C:
3371         * lyxtext.h:
3372         * text2.C: parlistize decDepth(), by merging it with incDepth()
3373
3374 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3375
3376         * lyxrow.h: store a ParagraphList::iterator instead of a
3377         Paragraph* and adjust other class functions to suit.
3378
3379         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3380         above.
3381
3382 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3383
3384         * text2.C (setCursor): do not anchor to cursor row for the time being
3385
3386 2003-04-02  John Levon  <levon@movementarian.org>
3387
3388         * LyXAction.C:
3389         * lfuns.h:
3390         * lyx_main.C:
3391         * lyxtext.h:
3392         * text.C:
3393         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3394
3395 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3396
3397         * paragraph.h: make ParagraphList and ParagraphList::iterator
3398         friends of Paragraph.
3399
3400         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3401
3402         * ParagraphList.C: Use the private next_ and previous_ from
3403         Paragraph.
3404
3405 2003-04-01  John Levon  <levon@movementarian.org>
3406
3407         * ToolbarBackend.h:
3408         * ToolbarBackend.C:
3409         * Makefile.am: rename, remove defaults gunk
3410
3411         * MenuBackend.h:
3412         * MenuBackend.C: remove defaults gunk
3413
3414         * Languages.h:
3415         * Languages.C: remove defaults gunk
3416
3417         * lyx_main.h:
3418         * lyx_main.C: error out if files couldn't be found.
3419
3420 2003-04-02  John Levon  <levon@movementarian.org>
3421
3422         * text2.C: make incDepth() use parlist
3423
3424 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3425
3426         * undo_funcs.C (firstUndoParagraph): adjust
3427
3428         * text3.C (gotoInset): adjust
3429         (dispatch): adjust, and rewrite loop.
3430
3431         * text2.C (init): adjust, and rewrite loop.
3432         (redoParagraphs): adjust
3433         (updateInset): adjust, and rewrite loop.
3434         (deleteEmptyParagraphMechanism): adjust
3435
3436         * tabular.C (LyXTabular): adjust
3437         (SetMultiColumn): adjust
3438         (TeXRow): adjust
3439
3440         * lyxtext.[Ch] (ownerParagraph): delete function
3441         (ownerParagraphs): new function returns a ParagraphList.
3442
3443         * BufferView.C (removeAutoInsets): adjust
3444         (insertErrors): adjust
3445         (setCursorFromRow): adjust
3446
3447 2003-04-01  Angus Leeming  <leeming@lyx.org>
3448
3449         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3450         in the frontends.
3451
3452 2003-04-02  John Levon  <levon@movementarian.org>
3453
3454         * lyxtext.h:
3455         * text.C:
3456         * Makefile.am:
3457         * text_funcs.h:
3458         * text_funcs.C: make transposeChars a free function
3459
3460         * lyxrow_funcs.C: remove wrong comment
3461
3462 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3463
3464         * lyxtext.h: adjust
3465         * rowpainter.C: adjust
3466         * text.C: adjust
3467         * text2.C: adjust
3468         * text3.C: adjust
3469
3470         * lyxrow_funcs. [Ch]: new files
3471
3472         * lyxrow.[Ch]: remove next and previous pointers
3473         (next,previous): remove accessor functions
3474         (isParEnd): move to lyxrow_funcs
3475         (lastPos): move to lyxrow_funcs
3476         (nextRowIsAllInset): move to lyxrow_funcs
3477         (lastPrintablePos): move to lyxrow_funcs
3478         (numberOfSeparators): move to lyxrow_funcs
3479         (numberOfHfills): move to lyxrow_funcs
3480         (numberOfLabelHfills): move to lyxrow_funcs
3481         (hfillExpansion): move to lyxrow_funcs
3482
3483         * lyxfunc.C: adjust
3484
3485         * bufferview_funcs.C (toggleAndShow): adjust
3486
3487         * RowList.h: Remove class RowList from file leave just a
3488         std::list<Row>.
3489
3490         * RowList.C: delete file
3491
3492         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3493         and lyxrow_funcs.h
3494
3495 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3496
3497         * text3.C (cursorPrevious): adjust
3498         (cursorNext): adjust
3499         (dispatch): adjust
3500
3501         * text2.C (redoHeightOfParagraph): adjust
3502         (redoDrawingOfParagraph): adjust
3503         (setCursor): adjust
3504
3505         * text.C (breakParagraph): adjust
3506         (insertChar): adjust
3507         (backspace): adjust
3508
3509         * rowpainter.C (RowPainter): adjust
3510         (leftMargin): simplify and adjust
3511         (most rowpainter functions): adjust.
3512
3513         * rowpainter.h: store the row as RowList::iterator not as Row*
3514
3515         * lyxcursor.C (row): taka RowList::iterator as arg
3516         (irow): ditto
3517
3518         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3519         of Row*.
3520
3521 2003-04-01  Angus Leeming  <leeming@lyx.org>
3522
3523         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3524         stuff like bool Bool.
3525
3526 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3527
3528         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3529         rewrite a loop
3530
3531 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3532
3533         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3534         RowList::iterator.
3535
3536         * lyxtext.h (rows): drop one version and leve a const variant that
3537         returns a RowList::iterator.
3538
3539 2003-03-31  Angus Leeming  <leeming@lyx.org>
3540
3541         * text.C (fill): ensure that the signature is the same as that in the
3542         header file.
3543
3544 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3545
3546         * text2.C (redoParagraphs): adjust
3547         (updateCounters): adjust
3548         (checkParagraph): adjust
3549         (getColumnNearX): adjust and reformat a bit.
3550
3551         * text.C (top_y): adjust
3552         (workWidth): adjust
3553         (leftMargin): adjust
3554         (prepareToPrint): adjust
3555         (getRow): adjust
3556         (getRowNearY): adjust
3557
3558         * lyxtext.h: make rowlist_ mutable.
3559
3560         * RowList.h: add const_iterator
3561         * RowList.C: adjust for RowList::const_iterator.
3562
3563         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3564         adjust.
3565
3566 2003-03-31  John Levon  <levon@movementarian.org>
3567
3568         * lyxrc.h:
3569         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3570
3571         * lyx_main.C: set default fonts from using lyx_gui funcs
3572
3573         * exporter.C: pdf_mode moved from lyxrc
3574
3575         * lyx_cb.C:
3576         * lyxfunc.C: changes from above
3577
3578 2003-03-31  John Levon  <levon@movementarian.org>
3579
3580         * lyx_main.C: fix to the last fix
3581
3582 2003-03-31  John Levon  <levon@movementarian.org>
3583
3584         * bufferlist.C: "Load original" -> "Load Original"
3585
3586         * converter.C:
3587         * exporter.C:
3588         * importer.C:
3589         * lyx_main.C:
3590         * format.C: more Alert cleanups
3591
3592 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3593
3594         * text2.C (removeParagraph): make it take a RowList::iterator as
3595         arg, adjust.
3596         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3597         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3598
3599         * text.C (anchor_row): make it take a RowList::iterator as arg,
3600         adjust.
3601         (computeBidiTables): make it take a const reference to Row instead
3602         of Row pointer, adjust.
3603         (leftMargin): make it take a RowList::iterator as arg, adjust.
3604         (rowBreakPoint): adjust
3605         (breakAgainOneRow): make it take a RowList::iterator as arg,
3606         adjust.
3607         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3608
3609         * bufferview_funcs.C (toggleAndShow): adjust
3610
3611 2003-03-30  John Levon  <levon@movementarian.org>
3612
3613         * Makefile.am:
3614         * BoostFormat.h:
3615         * boost-inst.C: moved to support
3616
3617         * several files: changes as a result
3618
3619 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3620
3621         * text2.C (LyXText): adjust.
3622         (init): adjust
3623         (removeRow): make it take a RowList::iterator as arg, adjust.
3624         (fullRebreak): adjust
3625         (deleteEmptyParagraphMechanism): adjust
3626         (clearPaint): adjust
3627         (postPaint): adjust
3628
3629         * text.C (top_y): adjust
3630         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3631         (breakAgain): make it take a RowList::iterator as arg, adjust.
3632         (breakParagraph): adjust
3633         (insertChar): adjust
3634         (backspace): adjust
3635
3636         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3637         need_break_row, and refresh_row.
3638
3639         * text3.C (dispatch): adjust
3640
3641         * text2.C (checkParagraph): adjust
3642         (setCursor): adjust
3643         (setCursorFromCoordinates): adjust
3644
3645         * text.C (top_y): adjust
3646         (workWidth): adjust
3647         (getRow): make it return a RowList::iterator, adjust
3648         (getRowNearY): make it return a RowList::iterator, adjust
3649
3650         * text2.C (init): adjust
3651         (insertRow): remove function
3652         (insertParagraph): adjust
3653         (redoParagraphs): adjust
3654         (fullRebreak): adjust
3655         (updateCounters): adjust
3656
3657         * text.C (top_y): rewrite to use RowList iterators.
3658         (top_y): adjust
3659         (setHeightOfRow): rewrite to sue RowList iterators.
3660         (appendParagraph): adjust
3661         (breakAgain): adjust
3662         (breakAgainOneRow): adjust
3663         (breakParagraph): adjust
3664         (getRow): adjust
3665         (getRowNearY): adjust, and remove commented code.
3666
3667         * lyxtext.h (firstRow): delete function
3668         (lastRow): delete function
3669         (rows): new function (const and non-const versions.)
3670         (insertRow): delete function
3671
3672         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3673
3674 2003-03-29  John Levon  <levon@movementarian.org>
3675
3676         * BufferView_pimpl.C: always update scrollbar top
3677         because pasting text when we're anchored could mean we
3678         miss an update altogether
3679
3680 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * text2.C (init): use rowlist_.end() and not 0.
3683         (insertRow): change to take a RowList::iterator as arg, adjust
3684         for this.
3685         (insertParagraph): change to take a RowList::iterator as arg,
3686         adjust for this.
3687         (redoParagraphs): remove some debug msgs.
3688
3689         * text.C (appendParagraph): change to take a RowList::iterator
3690         arg, adjust for this.
3691         (breakAgain): add an assert
3692         (breakAgainOneRow): ditto
3693
3694 2003-03-29  John Levon  <levon@movementarian.org>
3695
3696         * text2.C: do not clear selection after inc/decDepth
3697         (bug 550)
3698
3699 2003-03-29  John Levon  <levon@movementarian.org>
3700
3701         * BufferView.C:
3702         * buffer.C: fix broken strerrors according to Lars
3703
3704 2003-03-29  John Levon  <levon@movementarian.org>
3705
3706         * converters.C: more Alert cleanups
3707
3708 2003-03-29  John Levon  <levon@movementarian.org>
3709
3710         * bufferview_funcs.C: remove pointless Alert
3711
3712         * buffer.C: fix confusing error message when
3713         a template is chmoded 000
3714
3715 2003-03-29  John Levon  <levon@movementarian.org>
3716
3717         * BufferView.C:
3718         * BufferView.h:
3719         * BufferView_pimpl.C: Alert fixes
3720
3721         * Makefile.am:
3722         * tabular.C:
3723         * tabular-old.C: remove unused table compat reading
3724
3725 2003-03-29  John Levon  <levon@movementarian.org>
3726
3727         * BufferView.C:
3728         * buffer.C:
3729         * lyx_cb.h:
3730         * lyx_cb.C: more Alert cleanups
3731
3732         * lyxfunc.C: don't allow chktex if not latex document
3733
3734 2003-03-29  John Levon  <levon@movementarian.org>
3735
3736         * lyx_cb.C:
3737         * BufferView.C:
3738         * buffer.C: warnings pushed down from support/,
3739         kill err_alert
3740
3741 2003-03-29  John Levon  <levon@movementarian.org>
3742
3743         * lyxfunc.C: safety check for C-r (revert)
3744
3745 2003-03-29  John Levon  <levon@movementarian.org>
3746
3747         * bufferlist.h:
3748         * bufferlist.C: several UI fixes using Alert::prompt.
3749         Fix the pointless looping quit code. Fix stupid revert
3750         behaviour (bug 938)
3751
3752         * lyxvc.h:
3753         * lyxvc.C:
3754         * lyx_cb.C: use Alert::prompt
3755
3756         * lyx_main.C: remove a silly question
3757
3758         * lyxfunc.C: remove a couple of silly questions,
3759         use Alert::prompt
3760
3761 2003-03-28  John Levon  <levon@movementarian.org>
3762
3763         * text2.C: fix bug 974 (End on empty par)
3764
3765 2003-03-28  John Levon  <levon@movementarian.org>
3766
3767         * BufferView_pimpl.C:
3768         * LyXAction.C:
3769         * lfuns.h: remove do-nothing math greek lfuns
3770
3771 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3772
3773         * lyxgluelength.h (isValidGlueLength): add default arg on
3774         parameter 2. Remove default arg from friend in class.
3775
3776         * lyxlength.h (isValidLength): add default arg on parameter 2.
3777         Remove default arg from friend in class.
3778
3779         * text2.C (LyXText): adjust, initialize refresh_row.
3780         (init): adjust
3781         (removeRow): adjust
3782         (insertRow): adjust
3783         (insertParagraph): adjst
3784         (redoParagraphs): adjust
3785         (fullRebreak): adjust
3786         (updateCounters): adjust
3787         (deleteEmptyParagraphMechanism): first attempt at fixing a
3788         crashing bug.
3789
3790         * text.C (top_y): adjust
3791         (setHeightOfRow): adjust
3792         (getRow): adjust
3793         (getRowNearY): adjust
3794
3795         * lyxtext.h: include RowList.h
3796         (~LyXText): not needed anymore, deleted.
3797         (firstRow): modify for RowList
3798         (lastRow): new function
3799         Delete firstrow and lastrow class variables, add a Rowlist
3800         rowlist_ class variable.
3801
3802         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3803         paragraph is empty.
3804
3805         * RowList.C (insert): fix case where it == begin().
3806
3807 2003-03-26  Angus Leeming  <leeming@lyx.org>
3808
3809         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3810         the thesaurus dialog.
3811
3812 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3813
3814         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3815
3816         * RowList.[Ch]: new files
3817
3818         * ParagraphList.C (erase): handle the case where it == begin
3819         correctly.
3820
3821 2003-03-25  John Levon  <levon@movementarian.org>
3822
3823         * Makefile.am:
3824         * aspell_local.h:
3825         * aspell.C: add new aspell support
3826
3827         * lyxrc.h:
3828         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3829         have it accessible.
3830
3831 2003-03-25  Angus Leeming  <leeming@lyx.org>
3832
3833         * lfuns.h:
3834         * LyXAction.C (init): new LFUN_INSET_INSERT.
3835
3836         * BufferView_pimpl.C (dispatch): split out part of the
3837         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3838
3839         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3840         LFUN_INSET_APPLY.
3841
3842 2003-03-25  Angus Leeming  <leeming@lyx.org>
3843
3844         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3845
3846 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3847
3848         * text2.C:
3849         * text3.C: remove useless row->height(0)
3850
3851 2003-03-25  John Levon  <levon@movementarian.org>
3852
3853         * lyxtext.h:
3854         * text2.C:
3855         * text3.C: rename the refreshing stuff to better names
3856
3857 2003-03-24  John Levon  <levon@movementarian.org>
3858
3859         * BufferView_pimpl.h:
3860         * BufferView_pimpl.C: update layout choice on a mouse
3861         press/release
3862
3863 2003-03-23  John Levon  <levon@movementarian.org>
3864
3865         * Makefile.am: fix commandtags.h reference
3866
3867 2003-03-22  John Levon  <levon@movementarian.org>
3868
3869         * BufferView_pimpl.C:
3870         * lyxtext.h:
3871         * rowpainter.C:
3872         * rowpainter.h:
3873         * text.C:
3874         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3875
3876 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3877
3878         * lyxtext.h:
3879         * text.C: take the rtl methods out of line
3880
3881 2003-03-21 André Pönitz <poenitz@gmx.net>
3882
3883         * metricsinfo.[Ch]: new files containing structures to be passed around
3884         during the two-phase-drawing...
3885
3886 2003-03-21 André Pönitz <poenitz@gmx.net>
3887
3888         * lyxtextclass.C: read 'environment' tag.
3889
3890 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3891
3892         * text2.C (removeRow): fix bug 964
3893
3894 2003-03-20  John Levon  <levon@movementarian.org>
3895
3896         * rowpainter.C:
3897         * text.C:
3898         * text2.C: paint cleanups. Inset::update() dropped font
3899         parameter
3900
3901 2003-03-19  John Levon  <levon@movementarian.org>
3902
3903         * lyxfunc.C: only fitcursor/markDirty if available()
3904
3905 2003-03-19  John Levon  <levon@movementarian.org>
3906
3907         * commandtags.h: rename to ...
3908
3909         * lfuns.h: ... this, and renumber / cleanup
3910
3911 2003-03-19  John Levon  <levon@movementarian.org>
3912
3913         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3914         fit the cursor after an lfun
3915
3916         * BufferView.h:
3917         * BufferView.C:
3918         * BufferView_pimpl.h:
3919         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3920
3921         * LyXAction.C: layout-character should have ReadOnly
3922
3923         * ParagraphParameters.C:
3924         * buffer.C:
3925         * bufferview_funcs.C:
3926         * lyx_cb.C:
3927         * lyxfind.C:
3928         * lyxtext.h:
3929         * text.C:
3930         * text2.C:
3931         * text3.C:
3932         * undo_funcs.C: changes from above
3933
3934 2003-03-18  John Levon  <levon@movementarian.org>
3935
3936         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3937         remove it from update()
3938
3939         * lyxfunc.C: update layout choice after an lfun
3940
3941         * text3.C: remove extra updateLayoutChoice()s
3942
3943 2003-03-18  John Levon  <levon@movementarian.org>
3944
3945         * text.C: top_y change means full repaint, fix
3946         a drawing bug with cursor movement
3947
3948 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3949
3950         * lyxtext.h:
3951         * text.C:
3952         * text2.C: anchor row on setCursor
3953
3954 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3955
3956         * lyxtext.h: remove almost all mutable keywords
3957         * text.C:
3958         * text2.C:
3959         * text3.C: remove const keywords accordingly
3960
3961 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3962
3963         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3964         anon namespace
3965         (TeXEnvironment): ditto
3966         (TeXOnePar): ditto
3967
3968 2003-03-17  John Levon  <levon@movementarian.org>
3969
3970         * text.C (rowBreakPoint): remove attempt to fix displayed
3971         math insets inside a manual label
3972
3973 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3974
3975         * lyxtext.h: remove BufferView* as first arg from almost all class
3976         functions.
3977         * other files: adjust.
3978
3979 2003-03-17  John Levon  <levon@movementarian.org>
3980
3981         * lyxtext.h:
3982         * undo_funcs.C:
3983         * text2.C: more paint cleanups
3984
3985         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3986
3987         * rowpainter.h:
3988         * rowpainter.C: remove "smart" background painting code
3989
3990 2003-03-16  John Levon  <levon@movementarian.org>
3991
3992         * lyxtext.h:
3993         * text.C:
3994         * text2.C:
3995         * text3.C: add helper functions for setting refresh_row/y
3996
3997 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3998
3999         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4000         newline inset which *can* get inserted in the pass_thru layouts.
4001         This is primarily for literate documents.
4002
4003 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4004
4005         * buffer.C: increment LYX_FORMAT to 223
4006
4007 2003-03-14 André Pönitz <poenitz@gmx.net>
4008
4009         * textclass.h: prepare for environment handling, ws changes
4010         * lyxlayout.C: read latexheader and latexfooter tags
4011
4012 2003-03-14  John Levon  <levon@movementarian.org>
4013
4014         * text2.C: rewrite ::status() a bit
4015
4016 2003-03-13  John Levon  <levon@movementarian.org>
4017
4018         * lyxtext.h: add some docs
4019
4020 2003-03-13  John Levon  <levon@movementarian.org>
4021
4022         * lyxtext.h:
4023         * text.C:
4024         * text2.C:
4025         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4026
4027 2003-03-13  John Levon  <levon@movementarian.org>
4028
4029         * text3.C: fix appendix redrawing
4030
4031 2003-03-13  John Levon  <levon@movementarian.org>
4032
4033         * text.C (setHeightOfRow):
4034         * rowpainter.h:
4035         * rowpainter.C: make appendix mark have the text
4036           "Appendix" so the user knows what it is
4037
4038         * LColor.h:
4039         * LColor.C: s/appendixline/appendix/ from above
4040
4041 2003-03-13  John Levon  <levon@movementarian.org>
4042
4043         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4044
4045         * text.C: fix a getChar(pos) bug properly
4046
4047 2003-03-13  Angus Leeming  <leeming@lyx.org>
4048
4049         * commandtags.h:
4050         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4051         Probably only temporary. Let's see how things pan out.
4052
4053         * BufferView.C (unlockInset):
4054         * BufferView_pimpl.C (fitCursor):
4055         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4056
4057         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4058         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4059
4060         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4061         new functions that convert ParagraphParameters to and from a string.
4062
4063         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4064         BufferView::Pimpl's dispatch.
4065         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4066
4067 2003-03-13 André Pönitz <poenitz@gmx.net>
4068
4069         * lyxfunc.C:
4070         * text3.C:
4071         * factory.C: make it aware of InsetEnv
4072
4073 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4074
4075         * text2.C (setCursor): never ask for one past last
4076         (setCursor): add some debugging messages.
4077
4078         * text.C (singleWidth): never ask for one past last
4079         (singleWidth): ditto
4080         (leftMargin): ditto
4081         (rightMargin): ditto
4082         (rowBreakPoint): ditto
4083         (setHeightOfRow): ditto
4084         (prepareToPrint): ditto
4085
4086         * rowpainter.C (paintBackground): never ask for one past last
4087         (paintText): never ask for one past last
4088
4089         * paragraph_pimpl.C (getChar): make the assert stricter, never
4090         allow the one past last pos to be taken
4091
4092         * paragraph.C (getChar): ws changes only
4093
4094         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4095         (numberOfSeparators): ditto
4096         (numberOfHfills): ditto
4097
4098 2003-03-12  John Levon  <levon@movementarian.org>
4099
4100         * author.h:
4101         * author.C:
4102         * bufferparams.h:
4103         * bufferparams.C:
4104         * paragraph_funcs.C: fix per-buffer authorlists
4105
4106 2003-03-12  John Levon  <levon@movementarian.org>
4107
4108         * text.C: fix newline in right address
4109
4110 2003-03-12  Angus Leeming  <leeming@lyx.org>
4111
4112         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4113         duplicate those in LyXFunc::dispatch.
4114
4115         * commandtags.h:
4116         * LyXAction.C:
4117         * ToolbarDefaults.C:
4118         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4119         Add LFUN_FONTFREE_UPDATE.
4120
4121         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4122         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4123
4124         * bufferview_func.[Ch]: several new functions to facilliate
4125         transfer of data to and from the character dialog.
4126
4127 2003-03-12  John Levon  <levon@movementarian.org>
4128
4129         * buffer.C:
4130         * paragraph.h:
4131         * paragraph.C:
4132         * paragraph_funcs.C:
4133         * paragraph_pimpl.C:
4134         * sgml.C:
4135         * tabular.C:
4136         * text.C:
4137         * text3.C: remove META_NEWLINE in favour of an inset
4138
4139         * rowpainter.h:
4140         * rowpainter.C: remove paintNewline (done by inset)
4141
4142 2003-03-12  John Levon  <levon@movementarian.org>
4143
4144         * paragraph_pimpl.C: complain about bad getChar()s
4145         for a while at least
4146
4147 2003-03-12  John Levon  <levon@movementarian.org>
4148
4149         * buffer.h:
4150         * buffer.C: move paragraph read into a separate function,
4151         a little renaming to reflect that.
4152
4153         * bufferparams.h:
4154         * bufferparams.C: remove the author_ids map, not necessary now
4155
4156         * factory.h:
4157         * factory.C: moved Buffer::readInset to here
4158
4159         * paragraph_funcs.h:
4160         * paragraph_funcs.C: readParagraph free function moved from
4161         buffer.C
4162
4163         * tabular.C: name change
4164
4165 2003-03-12  John Levon  <levon@movementarian.org>
4166
4167         * buffer.C:
4168         * ParagraphParameters.C: move par params input to
4169         a read() method
4170
4171         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4172         behave like a normal read from the stream wrt reading
4173         a line vs. a \\token
4174
4175 2003-03-12  John Levon  <levon@movementarian.org>
4176
4177         * paragraph.C:
4178         * ParagraphParameters.h:
4179         * ParagraphParameters.C: move output code to a
4180         ::write() method
4181
4182 2003-03-12  John Levon  <levon@movementarian.org>
4183
4184         * BufferView.C (insertLyXFile):
4185         * buffer.h:
4186         * buffer.C:
4187         * tabular.C: use a parlist iterator for creating the
4188           document.
4189
4190 2003-03-12  John Levon  <levon@movementarian.org>
4191
4192         * buffer.C: make current_change static local not
4193           static file-scope
4194
4195 2003-03-12  John Levon  <levon@movementarian.org>
4196
4197         * buffer.C: fix insertStringAsLines for change tracking
4198
4199 2003-03-12  John Levon  <levon@movementarian.org>
4200
4201         * BufferView.C:
4202         * tabular.C:
4203         * buffer.h:
4204         * buffer.C:
4205         * bufferparams.h:
4206         * bufferparams.C: move author list into params. Rename some
4207           functions. Move the header reading into a separate token
4208           loop. Move the header token reading into BufferParams.
4209
4210 2003-03-12  John Levon  <levon@movementarian.org>
4211
4212         * changes.C: put debug inside lyxerr.debugging() checks
4213
4214 2003-03-11 André Pönitz <poenitz@gmx.net>
4215
4216         * factory.C: make it aware of InsetHFill
4217
4218 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4219
4220         * buffer.C (latexParagraphs): move function from here...
4221         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4222         args.
4223
4224 2003-03-10  Angus Leeming  <leeming@lyx.org>
4225
4226         * LyXAction.C (init): fix bug in poplating array with multiple entries
4227         with the same LFUN (spotted by JMarc).
4228
4229 2003-03-10  John Levon  <levon@movementarian.org>
4230
4231         * text.C:
4232         * text2.C: move getColumnNearX() near its
4233         only call site
4234
4235 2003-03-10  John Levon  <levon@movementarian.org>
4236
4237         * text.C: fix break before a minipage
4238
4239 2003-03-10  John Levon  <levon@movementarian.org>
4240
4241         * text.C: fix the last commit
4242
4243 2003-03-09  John Levon  <levon@movementarian.org>
4244
4245         * lyxtext.h:
4246         * text.C:
4247         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4248         bug 365 (don't break before insets unless needed). Don't
4249         return a value > last under any circumstances.
4250
4251 2003-03-09  Angus Leeming  <leeming@lyx.org>
4252
4253         * BufferView_pimpl.C (trackChanges, dispatch): call
4254         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4255
4256 2003-03-09  Angus Leeming  <leeming@lyx.org>
4257
4258         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4259         than Dialogs::showAboutlyx().
4260
4261 2003-03-09  Angus Leeming  <leeming@lyx.org>
4262
4263         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4264         than Dialogs::showTabularCreate().
4265
4266 2003-03-09  John Levon  <levon@movementarian.org>
4267
4268         * lyxtext.h:
4269         * text.C:
4270         * text2.C: 3rd arg to nextBreakPoint was always the same.
4271           Use references.
4272
4273 2003-03-08  John Levon  <levon@movementarian.org>
4274
4275         * lyxrow.C:
4276         * paragraph.C:
4277         * paragraph.h:
4278         * rowpainter.C:
4279         * text.C:
4280         * text2.C: Remove the "main" bit from the "main body"
4281           notion.
4282
4283 2003-03-08  John Levon  <levon@movementarian.org>
4284
4285         * text.C (leftMargin): The left margin of an empty
4286         manual label paragraph should not include the label width
4287         string length.
4288
4289         * text.C (prepareToPrint): don't attempt to measure hfills
4290         for empty manual label paragraphs - the answer should be 0
4291
4292 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4293
4294         * CutAndPaste.C: remove commented code and reindent.
4295
4296 2003-03-08  John Levon  <levon@movementarian.org>
4297
4298         * lyxfunc.h:
4299         * lyxfunc.C: move reloadBuffer()
4300
4301         * BufferView.h:
4302         * BufferView.C: to here
4303
4304         * lyxvc.C: add comment
4305
4306         * vc-backend.h:
4307         * vc-backend.C: call bv->reload() to avoid
4308           getStatus() check on MENURELOAD
4309
4310 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4311
4312         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4313         to an old format .dep file.
4314
4315 2003-03-07  Angus Leeming  <leeming@lyx.org>
4316
4317         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4318         when the LFUN_MOUSE_RELEASE should have been handled by
4319         inset->localDispatch.
4320
4321 2003-03-07  Angus Leeming  <leeming@lyx.org>
4322
4323         * BufferView_pimpl.C (dispatch):
4324         * LyXAction.C (init):
4325         * ToolbarDefaults.C (init):
4326         * commandtags.h:
4327         * lyxfunc.C (getStatus):
4328         remove LFUN_INSET_GRAPHICS.
4329
4330         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4331
4332 2003-03-07  Angus Leeming  <leeming@lyx.org>
4333
4334         * commandtags.h:
4335         * LyXAction.C (init):
4336         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4337
4338         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4339
4340         * commandtags.h:
4341         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4342
4343         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4344         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4345
4346 2003-03-07  Angus Leeming  <leeming@lyx.org>
4347
4348         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4349         remove "ert".
4350
4351 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4352
4353         * ParagraphList.C (front): new function
4354         (back): implement
4355
4356 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4357
4358         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4359         and top_row_offset_. removed var first_y.
4360         * text.C (top_y):
4361         * text2.C (LyXText, removeRow):
4362         * text3.C:
4363         * BufferView_pimpl.C:
4364         use these methods instead of using first_y
4365
4366 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4367
4368         * text2.C (pasteSelection): adjust for checkPastePossible
4369
4370         * CutAndPaste.C: remove Paragraph * buf and replace with
4371         ParagraphList paragraphs.
4372         (DeleteBuffer): delete
4373         (cutSelection): change the tc type to textclass_type
4374         (copySelection): change the tc type to textclass_type
4375         (copySelection): adjust for ParagraphList
4376         (pasteSelection): change the tc type to textclass_type
4377         (pasteSelection): adjust for Paragraphlist
4378         (nrOfParagraphs): simplify for ParagraphList
4379         (checkPastePossible): simplify for ParagraphList
4380         (checkPastePossible): remove unused arg
4381
4382         * ParagraphList.C (insert): handle the case where there are no
4383         paragraphs yet.
4384
4385         * CutAndPaste.h: make CutAndPaste a namespace.
4386
4387         * text3.C (dispatch): adjust
4388
4389         * text.C (breakParagraph): add a ParagraphList as arg
4390
4391         * paragraph_funcs.C (breakParagraph): change to take a
4392         BufferParams and a ParagraphList as args.
4393         (breakParagraphConservative): ditto
4394         (mergeParagraph): ditto
4395         (TeXDeeper): add a ParagraphList arg
4396         (TeXEnvironment): ditto
4397         (TeXOnePar): ditto
4398
4399         * buffer.C (readLyXformat2): adjust
4400         (insertStringAsLines): adjust
4401         (latexParagraphs): adjust
4402
4403         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4404         (cutSelection): adjust
4405         (pasteSelection): adjust
4406
4407         * BufferView_pimpl.C (insertInset): adjust
4408
4409 2003-03-05  Angus Leeming  <leeming@lyx.org>
4410
4411         * commandtags.h:
4412         * LyXAction.C (init):
4413         * BufferView_pimpl.C (dispatch):
4414         * lyxfunc.C (getStatus):
4415         remove LFUN_CHILD_INSERT.
4416
4417         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4418
4419 2003-03-05  Angus Leeming  <leeming@lyx.org>
4420
4421         * commandtags.h:
4422         * LyXAction.C (init):
4423         * src/factory.C (createInset):
4424         * lyxfunc.C (getStatus):
4425         * text3.C (dispatch):
4426         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4427
4428         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4429
4430 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * ParagraphList.C (insert): handle insert right before end()
4433         (erase): fix cases where it can be first or last paragraph.
4434
4435 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4436
4437         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4438         Paragraph::next and Paragraph::previous
4439         (TeXOnePar): ditto
4440
4441         * text.C (breakParagraph): adjust
4442
4443         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4444         BufferParams& as arg.
4445         (breakParagraph): use ParagraphList::insert
4446         (breakParagraphConservative): take a Buffer* instead of a
4447         BufferParams& as arg.
4448         (breakParagraphConservative): use ParagraphList::insert.
4449
4450         * buffer.C (insertStringAsLines): un-const it
4451         (insertStringAsLines): adjust
4452
4453         * ParagraphList.C (insert): new function
4454
4455         * CutAndPaste.C (pasteSelection): adjust
4456
4457         * text.C (backspace): adjust
4458
4459         * tabular.C (SetMultiColumn): adjust
4460
4461         * CutAndPaste.C (cutSelection): adjust
4462         (pasteSelection): adjust
4463
4464         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4465         Buffer const * as arg
4466
4467         * ParagraphList.C (erase): new function
4468         * paragraph_funcs.C (mergeParagraph): use it
4469         (mergeParagraph): make it take a Buffer* instead of a
4470         BufferParams* as arg
4471
4472         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4473         as arg
4474         (breakParagraphConservative): ditto
4475
4476         * paragraph.h: remove the breakParagraph friend
4477
4478         * paragraph.C (eraseIntern): new function
4479         (setChange): new function
4480
4481         * paragraph_funcs.C (mergeParagraph): make it take a
4482         ParagraphList::iterator instead of a Paragraph *, adjust
4483         accordingly.
4484
4485         * paragraph.h: move an #endif so that the change tracking stuff
4486         also works in the NO_NEXT case.
4487
4488 2003-03-04  Angus Leeming  <leeming@lyx.org>
4489
4490         * commandtags.h:
4491         * LyXAction.C: new LFUN_INSET_MODIFY.
4492
4493         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4494         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4495
4496 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4497
4498         * several files: ws changes only
4499
4500         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4501         (TeXEnvironment): ditto
4502         (TeXDeeper): ditto
4503
4504         * buffer.C (makeLaTeXFile): adjust
4505         (latexParagraphs): make it take ParagraphList::iterator as args
4506
4507 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4508
4509         * buffer.C (latexParagraphs): adjust
4510
4511         * paragraph.C (TeXOnePar): move function...
4512         (optArgInset): move function...
4513         (TeXEnvironment): move function...
4514         * paragraph_pimpl.C (TeXDeeper): move function...
4515         * paragraph_funcs.C: ...here
4516
4517         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4518
4519 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4520
4521         * buffer.C (readInset): remove compability code for old Figure and
4522         InsetInfo insets
4523
4524 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * buffer.C: ws changes
4527         (readInset):
4528
4529         * BufferView_pimpl.C: ditto
4530         * author.C: ditto
4531         * buffer.h: ditto
4532         * bufferlist.h: ditto
4533         * changes.h: ditto
4534         * lyxfunc.C: ditto
4535
4536 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4537
4538         * converter.[Ch]: split into itself +
4539         * graph.[Ch]
4540         * format.[Ch]
4541         * Makefile.am: += graph.[Ch] + format.[Ch]
4542         * MenuBackend.C
4543         * buffer.C
4544         * exporter.C
4545         * importer.C
4546         * lyx_main.C
4547         * lyxfunc.C
4548         * lyxrc.C: added #include "format.h"
4549
4550 2003-02-27  Angus Leeming  <leeming@lyx.org>
4551
4552         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4553           a label.
4554
4555         * factory.C (createInset): add "label" to the factory.
4556
4557         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4558           string and do no more.
4559
4560 2003-02-27  Angus Leeming  <leeming@lyx.org>
4561
4562         * commandtags.h:
4563         * LyXAction.C (init):
4564         * factory.C (createInset):
4565         * BufferView_pimpl.C (dispatch):
4566           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4567
4568         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4569
4570         * lyxfunc.C (dispatch):
4571         * text3.C (dispatch): pass name to params2string.
4572
4573 2003-02-26  Angus Leeming  <leeming@lyx.org>
4574
4575         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4576           blocks together.
4577           Rearrange the ~includes. Strip out the unnecessary ones.
4578
4579         * factory.C (createInset): reformat.
4580           create new insets for the various LFUN_XYZ_APPLY lfuns.
4581
4582 2003-02-26  John Levon  <levon@movementarian.org>
4583
4584         * lyxrow.h:
4585         * lyxrow.C: add isParStart,isParEnd helpers
4586
4587         * paragraph.h: make isInserted/DeletedText take refs
4588
4589         * paragraph_funcs.h:
4590         * paragraph_funcs.C: remove #if 0'd code
4591
4592         * lyxtext.h:
4593         * text3.C:
4594         * text2.C:
4595         * text.C: use lyxrow helpers above.
4596           Move draw and paint routines to RowPainter.
4597           Make several methods use refs not pointers.
4598           Make backgroundColor() const.
4599           Add markChangeInDraw(), isInInset().
4600           Merge changeRegionCase into changeCase.
4601           Make workWidth() shouldn't-happen code into an Assert.
4602
4603         * rowpainter.h:
4604         * rowpainter.C: new class for painting a row.
4605
4606         * vspace.h:
4607         * vspace.C: make inPixels take a ref
4608
4609 2003-02-26  Angus Leeming  <leeming@lyx.org>
4610
4611         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4612         LFUN_REF_APPLY.
4613
4614 2003-02-25  John Levon  <levon@movementarian.org>
4615
4616         * ispell.C: give the forked command a more accurate name
4617
4618 2003-02-22  John Levon  <levon@movementarian.org>
4619
4620         * toc.h:
4621         * toc.C: make TocItem store an id not a Paragraph *
4622           (bug #913)
4623
4624 2003-02-21  Angus Leeming  <leeming@lyx.org>
4625
4626         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4627           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4628           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4629           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4630           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4631           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4632
4633         * BufferView_pimpl.C (dispatch):
4634         * LyXAction.C (init):
4635         * factory.C (createInset):
4636         * lyxfunc.C (getStatus, dispatch):
4637         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4638
4639 2003-02-21  Angus Leeming  <leeming@lyx.org>
4640
4641         * BufferView_pimpl.C (MenuInsertLyXFile):
4642         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4643         * lyxfunc.C (menuNew, open, doImport):
4644           no longer pass a LyXView & to fileDlg.
4645
4646 2003-02-21  Angus Leeming  <leeming@lyx.org>
4647
4648         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4649         * LyXAction.C: change, BIBKEY to BIBITEM.
4650         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4651         Change InsetBibKey to InsetBibitem.
4652         Change BIBKEY_CODE to BIBITEM_CODE.
4653         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4654         * factory.C: replace insetbib.h with insetbibitem.h.
4655         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4656         * paragraph.C: replace insetbib.h with insetbibitem.h.
4657         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4658         Change bibkey() to bibitem().
4659         * text.C: remove insetbib.h.
4660         * text2.C: replace insetbib.h with insetbibitem.h.
4661         change bibkey() to bibitem().
4662         * text3.C: remove insetbib.h.
4663         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4664
4665 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4666
4667         * lyxrc.C (output): enclose user email in quotes (in case there are
4668         several words)
4669
4670 2003-02-18  John Levon  <levon@movementarian.org>
4671
4672         * buffer.h: add std::
4673
4674 2003-02-17  John Levon  <levon@movementarian.org>
4675
4676         * SpellBase.h:
4677         * ispell.h:
4678         * ispell.C:
4679         * pspell.h:
4680         * pspell.C: reworking. Especially in ispell, a large
4681           number of clean ups and bug fixes.
4682
4683         * lyxfunc.C: fix revert to behave sensibly
4684
4685 2003-02-17 André Pönitz <poenitz@gmx.net>
4686
4687         * LyXAction.C:
4688         * commandtags.h: new LFUN_INSERT_BIBKEY
4689
4690         * layout.h:
4691         * lyxlayout.C:
4692         * buffer.C:
4693         * factory.C:
4694         * text.C:
4695         * text2.C:
4696         * text3.C:
4697         * paragraph.[Ch]:
4698         * paragraph_func.C: remove special bibkey handling
4699
4700 2003-02-17  John Levon  <levon@movementarian.org>
4701
4702         * text.C (Delete): fix case where delete at the end of
4703           the very first paragraph would not merge the pars
4704
4705 2003-02-17  John Levon  <levon@movementarian.org>
4706
4707         * lyxrow.C: fix lastPrintablePos()
4708
4709 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4710
4711         * bufferparams.C (writeLaTeX): add a std:here
4712
4713         * buffer.C: and remove a using directive there
4714
4715 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4716
4717         * buffer.C (makeLaTeXFile): move the code that generates the
4718           preamble...
4719
4720         * bufferparams.C (writeLaTeX): ... in this new method
4721
4722         * LaTeXFeatures.C (getEncodingSet): make const
4723           (getLanguages): make const
4724
4725         * MenuBackend.C (binding): returns the binding associated to this
4726           action
4727           (add): sets the status of each item by calling getStatus. Adds
4728           some intelligence.
4729           (read): add support for OptSubMenu
4730           (expand): remove extra separator at the end of expanded menu
4731
4732 2003-02-15  John Levon  <levon@movementarian.org>
4733
4734         * BufferView.C:
4735         * BufferView_pimpl.C:
4736         * bufferlist.h:
4737         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4738           inset code that had no actual effect. Remove unneeded status
4739           code.
4740
4741 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4742
4743         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4744           in preamble
4745
4746 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4747
4748         * text.C (drawLengthMarker): also draw an arrow marker for
4749           symbolic lengths (medskip...)
4750
4751 2003-02-14  John Levon  <levon@movementarian.org>
4752
4753         * tabular.h:
4754         * tabular.C: better method names
4755
4756 2003-02-14  John Levon  <levon@movementarian.org>
4757
4758         * BufferView_pimpl.C:
4759         * bufferlist.C:
4760         * buffer.C:
4761         * converter.C:
4762         * lyx_cb.C:
4763         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4764           it's a more accurate name. Remove some pointless uses.
4765
4766 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4767
4768         * text2.C (LyXText): change order of initilizers to shut off
4769           warnings
4770
4771 2003-02-14  John Levon  <levon@movementarian.org>
4772
4773         * buffer.C: use ParIterator for getParFromID()
4774
4775         * paragraph.h:
4776         * paragraph.C:
4777         * paragraph_pimpl.h:
4778         * paragraph_pimpl.C: remove unused getParFromID()
4779
4780 2003-02-14  John Levon  <levon@movementarian.org>
4781
4782         * buffer.C: remove some very old #if 0'd parse code
4783
4784 2003-02-13  John Levon  <levon@movementarian.org>
4785
4786         * text.h:
4787         * text.C:
4788         * text2.C: move hfillExpansion(), numberOfSeparators(),
4789           rowLast(), rowLastPrintable(), numberofHfills(),
4790           numberOfLabelHfills() ...
4791
4792         * lyxrow.h:
4793         * lyxrow.C: ... to member functions here.
4794
4795         * paragraph.h:
4796         * paragraph.C:
4797         * lyxtext.h:
4798         * text.C: remove LyXText::beginningOfMainBody(), and call
4799           p->beginningOfMainBody() directly. Move the check for
4800           LABEL_MANUAL into the latter.
4801
4802         * text.h:
4803         * text.C:
4804         * text2.C:
4805         * vspace.C:
4806         * BufferView.h:
4807         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4808
4809         * text.h:
4810         * text.C:
4811         * text2.C:
4812         * text3.C:
4813         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4814           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4815
4816 2003-02-13  John Levon  <levon@movementarian.org>
4817
4818         * CutAndPaste.C: remove debug
4819
4820 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4821
4822         * paragraph.C (asString): remove two unused variables
4823
4824         * lyxtextclass.C (readTitleType):
4825           (Read):
4826           (LyXTextClass): handle new members titletype_ and titlename_
4827
4828         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4829
4830 2003-02-09  John Levon  <levon@movementarian.org>
4831
4832         * buffer.h:
4833         * buffer.C: replace hand-coded list with a map for the dep clean
4834
4835 2003-02-08  John Levon  <levon@movementarian.org>
4836
4837         * LaTeX.C: consolidate code into showRunMessage() helper
4838
4839 2003-02-08  John Levon  <levon@movementarian.org>
4840
4841         * lyxfind.C:
4842         * lyxtext.h:
4843         * text2.C:
4844         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4845           and pass the size in explicitly
4846
4847         * BufferView_pimpl.h:
4848         * BufferView_pimpl.C:
4849         * BufferView.h:
4850         * BufferView.C: add getCurrentChange()
4851
4852         * BufferView_pimpl.h:
4853         * BufferView_pimpl.C: handle change lfuns
4854
4855         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4856           for changes. Mark pasted paragraphs as new.
4857
4858         * support/lyxtime.h:
4859         * support/lyxtime.C:
4860         * DepTable.C: abstract time_t as lyx::time_type
4861
4862         * LColor.h:
4863         * LColor.C: add colours for new text, deleted text, changebars
4864
4865         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4866           package use "usenames" option.
4867
4868         * commandtags.h:
4869         * lyxfunc.C:
4870         * LyXAction.C: add change lfuns
4871
4872         * Makefile.am:
4873         * author.h:
4874         * author.C: author handling
4875
4876         * buffer.h:
4877         * buffer.C: add a per-buffer author list, with first entry as
4878           current author. Handle new .lyx tokens for change tracking. Output
4879           author list to .lyx file. Output dvipost stuff to .tex preamble.
4880           Bump lyx format to 222.
4881
4882         * bufferlist.h:
4883         * bufferlist.C: add setCurrentAuthor() to reset current author details
4884           in all buffers.
4885
4886         * bufferparams.h:
4887         * bufferparams.C: add param for tracking
4888
4889         * bufferview_funcs.C: output change info in minibuffer
4890
4891         * Makefile.am:
4892         * changes.h:
4893         * changes.C: add change-tracking structure
4894
4895         * debug.h:
4896         * debug.C: add CHANGES debug flag
4897
4898         * lyxfind.h:
4899         * lyxfind.C: add code for finding the next change piece
4900
4901         * lyxrc.h:
4902         * lyxrc.C: add user_name and user_email
4903
4904         * lyxrow.h:
4905         * lyxrow.C: add a metric for the top of the text line
4906
4907         * lyxtext.h:
4908         * text.C: implement accept/rejectChange()
4909
4910         * lyxtext.h:
4911         * text.C: paint changebars. Paint new/deleted text in the chosen
4912         colours. Strike through deleted text.
4913
4914         * paragraph.h:
4915         * paragraph.C:
4916         * paragraph_pimpl.h:
4917         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4918           in the current change to the insert functions. Rework erase to
4919           mark text as deleted, adding an eraseIntern() and a range-based
4920           erase(). Implement per-paragraph change lookup and
4921           accept/reject.
4922
4923         * paragraph_funcs.C: Fixup paste for change tracking.
4924
4925         * tabular.C: mark added row/columns as new.
4926
4927         * text.C: fix rowLast() to never return -1. Don't allow
4928           spellchecking of deleted text. Track transpose changes. Don't
4929           allow paragraph break or merge where appropriate.
4930
4931         * text2.C: leave cursor at end of selection after a cut.
4932
4933 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4934
4935         * text.C (getLengthMarkerHeight):
4936         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4937         visible on screen too.
4938
4939 2003-02-07  John Levon  <levon@movementarian.org>
4940
4941         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4942
4943 2003-02-05  Angus Leeming  <leeming@lyx.org>
4944
4945         * lyxserver.C (read_ready): revert my patch of 11 September last year
4946         as it sends PC cpu through the roof. Presumably this means that
4947         the lyxserver will no longer run on an Alpha...
4948
4949 2003-01-30  Angus Leeming  <leeming@lyx.org>
4950
4951         * factory.C (createInset): create an InsetCommandParam of type "index"
4952         and use it to 'do the right thing'.
4953
4954         * text2.C (getStringToIndex): ensure that cursor position is always
4955         reset to the reset_cursor position.
4956
4957 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4958
4959         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4960         disabled.
4961
4962 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4963
4964         * bufferview.C:
4965         * lyxcb.C:
4966         * lyxfunc.C: Output messages with identical spelling, punctuation,
4967         and spaces
4968
4969 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4970
4971         * MenuBackend.C (expandFormats): List only viewable export formats
4972         in "View" menu
4973
4974         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4975         message
4976
4977         * lyxfunc.C (getStatus): Make sure that formats other than
4978         "fax" can also be disabled
4979
4980 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4981
4982         * text3.C (dispatch): put the lfuns that insert insets in 3
4983         groups, and call doInsertInset with appropriate arguments.
4984         (doInsertInset): new function, that creates an inset and inserts
4985         it according to some boolean parameters.
4986
4987 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * buffer.C (readFile): remember to pass on 'par' when calling
4990         readFile recursively.
4991
4992 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4993
4994         * MenuBackend.C (expandFormats): add "..." to import formats.
4995
4996 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4997
4998         * paragraph.C (asString): Remove XForms RTL hacks.
4999
5000 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5001         * buffer.C: fix typo
5002
5003 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5004
5005         * Makefile.am (LIBS): delete var
5006         (lyx_LDADD): add @LIBS@ here instead.
5007
5008 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5009
5010         * Clarify the meaning of "wheel mouse jump"
5011
5012 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5013
5014         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5015         tabular in a float
5016
5017 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5018
5019         * importer.C (Loaders): do not preallocate 3 elements in the
5020         vector, since one ends up with 6 elements otherwise
5021
5022 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5023
5024         * DepTable.C (write): write the file name as last element of the
5025         .dep file (because it may contain spaces)
5026         (read): read info in the right order
5027
5028 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5029
5030         * paragraph_pimpl.C (simpleTeXBlanks):
5031         (simpleTeXSpecialChars):
5032         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5033
5034         * tabular.C (latex): add some missing case statements. Reindent.
5035
5036         * MenuBackend.C (expandToc): remove unused variable.
5037
5038 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5039
5040         * LColor.C:
5041         * LaTeX.C:
5042         * LyXAction.C:
5043         * MenuBackend.C:
5044         * buffer.C:
5045         * exporter.C:
5046         * lyxfunc.C:
5047         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5048         and the like.
5049
5050 2003-01-05  John Levon  <levon@movementarian.org>
5051
5052         * BufferView.h:
5053         * BufferView.C: add getEncoding()
5054
5055         * kbsequence.h:
5056         * kbsequence.C: do not store last keypress
5057
5058         * lyxfunc.h:
5059         * lyxfunc.C: store last keypress here instead. Pass encoding
5060           to getISOEncoded()
5061
5062 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5063
5064         * lyx_main.C (init): remove annoying error message when following
5065         symbolic links (bug #780)
5066
5067 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5068
5069         * text.C (insertChar):
5070         * lyxrc.C (getDescription): remove extra spaces
5071
5072 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5073
5074         * lyxrc.C (getDescription): remove extra spaces
5075
5076 2002-12-20  John Levon  <levon@movementarian.org>
5077
5078         * text3.C: hack fix for page up/down across tall rows
5079
5080 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5081
5082         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5083         not been invoked
5084
5085 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5086
5087         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5088         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5089         thesaurus is not compiled in
5090
5091 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5092
5093         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5094
5095 2002-12-16  Angus Leeming  <leeming@lyx.org>
5096
5097         * lyxrc.[Ch]:
5098         * lyx_main.C (init): remove override_x_deadkeys stuff.
5099
5100 2002-12-12  John Levon  <levon@movementarian.org>
5101
5102         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5103           insert. Only remove shift modifier under strict
5104           circumstances.
5105
5106 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * MenuBackend.C (expandToc): fix crash.
5109
5110 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5111
5112         * MenuBackend.C (expandToc): gettext on float names.
5113
5114 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5115
5116         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5117         implement bool empty() [bug 490]
5118
5119 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5120
5121         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5122
5123 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5124
5125         * several files: ws changes
5126
5127 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5128
5129         * text2.C (setCounter): clean up a bit, use boost.format.
5130         (updateCounters): initialize par upon declaration.
5131
5132         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5133         if the layout exists. We do not just store the layout any more.
5134         (SwitchLayoutsBetweenClasses): use boost.format
5135
5136 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5137
5138         * converter.C (convert): if from and to files are the same, use a
5139         temporary files as intermediary
5140
5141 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5142
5143         * commandtags.h:
5144         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5145
5146 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5147
5148         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5149
5150 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5151
5152         * tabular.C (asciiPrintCell): use string(size, char) instead of
5153         explicit loop.
5154
5155         * sgml.C (openTag): fix order of arguments to string constructor
5156         (closeTag): ditto
5157
5158         * lyxfunc.C (dispatch): use boost.format
5159
5160         * lots of files: change "c" -> 'c'
5161
5162 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5163
5164         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5165
5166 2002-11-25  Angus Leeming  <leeming@lyx.org>
5167
5168         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5169
5170         * lyx_main.C (init): compile fix.
5171
5172 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * lyx_cb.C (start): boost.formatify
5175         do not include <iostream>
5176
5177         * lengthcommon.C: ws only
5178
5179         * boost-inst.C,BoostFormat.h: add more explict instantations
5180
5181 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * lots of files: handle USE_BOOST_FORMAT
5184
5185 2002-11-21  John Levon  <levon@movementarian.org>
5186
5187         * pspell.C: fix compile
5188
5189 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5190
5191         * lyxfunc.C (dispatch): use boost::format
5192         (open): ditto
5193         (doImport): ditto
5194
5195         * lyxfont.C (stateText): use boost::format
5196
5197         * lyx_main.C (LyX): use boost::format
5198         (init): ditto
5199         (queryUserLyXDir): ditto
5200         (readRcFile): ditto
5201         (parse_dbg): ditto
5202         (typedef boost::function): use the recommened syntax.
5203
5204         * importer.C (Import): use boost::format
5205
5206         * debug.C (showLevel): use boost::format
5207
5208         * converter.C (view): use boost::format
5209         (convert): ditto
5210         (move): ditto
5211         (scanLog): ditto
5212
5213         * bufferview_funcs.C (currentState): use boost::format
5214
5215         * bufferlist.C (emergencyWrite): use boost::format
5216
5217         * buffer.C (readLyXformat2): use boost::format
5218         (parseSingleLyXformat2Token): ditto
5219
5220         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5221
5222         * LaTeX.C (run): use boost::format
5223
5224         * Chktex.C (scanLogFile): use boost::format
5225
5226         * BufferView_pimpl.C (savePosition): use boost::format
5227         (restorePosition): ditto
5228         (MenuInsertLyXFile): ditto
5229
5230         * BoostFormat.h: help file for explicit instation.
5231
5232 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5233
5234         * tabular.C (latex): Support for block alignment in fixed width
5235         columns.
5236
5237 2002-11-17  John Levon  <levon@movementarian.org>
5238
5239         * BufferView_pimpl.C:
5240         * lyx_cb.C:
5241         * lyxfunc.C: split filedialog into open/save
5242
5243 2002-11-08  Juergen Vigna  <jug@sad.it>
5244
5245         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5246         by my last patch (hopefully).
5247
5248 2002-11-08  John Levon  <levon@movementarian.org>
5249
5250         * iterators.h:
5251         * iterators.C:
5252         * buffer.h:
5253         * buffer.C:
5254         * paragraph.h:
5255         * paragraph.C:
5256         * toc.h:
5257         * toc.C: ParConstIterator, and use it (from Lars)
5258
5259 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5260
5261         * lyxtextclass.[Ch]: revise and add doxygen comments
5262
5263 2002-11-07  John Levon  <levon@movementarian.org>
5264
5265         * text.C: fix progress value for spellchecker
5266
5267         * toc.C: fix navigate menu for insetwrap inside minipage
5268
5269         * paragraph_funcs.C: added FIXME for suspect code
5270
5271 2002-11-07  John Levon  <levon@movementarian.org>
5272
5273         * BufferView_pimpl.C: fix redrawing of insets
5274           on buffer switch
5275
5276 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5277
5278         * text2.C (updateCounters): fix bug 668
5279
5280 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5281
5282         * text3.C (dispatch): Do not make the buffer dirty when moving the
5283         cursor.
5284
5285 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * vc-backend.C: STRCONV
5288         (scanMaster): ditto
5289
5290         * text2.C (setCounter): STRCONV
5291
5292         * paragraph.C (asString): STRCONV
5293
5294         * lyxlength.C (asString): STRCONV
5295         (asLatexString): ditto
5296
5297         * lyxgluelength.C (asString): STRCONV
5298         (asLatexString): ditto
5299
5300         * lyxfunc.C (dispatch): STRCONV
5301         (open): ditto
5302
5303         * lyxfont.C (stateText): STRCONV
5304
5305         * importer.C (Import): STRCONV
5306
5307         * counters.C (labelItem): STRCONV
5308         (numberLabel): ditto
5309         (numberLabel): remove unused ostringstream o
5310
5311         * chset.C: STRCONV
5312         (loadFile): ditto
5313
5314         * bufferview_funcs.C (currentState): STRCONV
5315
5316         * buffer.C (readFile): STRCONV
5317         (asciiParagraph): ditto
5318         (makeLaTeXFile): ditto
5319
5320         * Spacing.C (writeEnvirBegin): STRCONV
5321
5322         * LaTeXFeatures.C (getLanguages): STRCONV
5323         (getPackages): ditto
5324         (getMacros): ditto
5325         (getBabelOptions): ditto
5326         (getTClassPreamble): ditto
5327         (getLyXSGMLEntities): ditto
5328         (getIncludedFiles): ditto
5329
5330         * LaTeX.C: STRCONV
5331         (run): ditto
5332         (scanAuxFile): ditto
5333         (deplog): ditto
5334
5335         * LString.h: add the STRCONV macros
5336
5337         * BufferView_pimpl.C (savePosition): STRCONV
5338         (restorePosition): ditto
5339         (MenuInsertLyXFile): ditto
5340
5341         * vc-backend.C (scanMaster): change from submatch[...] to
5342         submatch.str(...)
5343
5344         * funcrequest.C: include config.h
5345
5346         * factory.C: include config.h
5347
5348         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5349
5350         * box.C: include config.h
5351
5352         * LaTeX.C (scanAuxFile): change from submatch[...] to
5353         submatch.str(...)
5354         (deplog): ditto
5355
5356 2002-10-25  Angus Leeming  <leeming@lyx.org>
5357
5358         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5359
5360         * ispell.[Ch] (setError): new method.
5361         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5362         Use setError() insetead of goto END.
5363
5364         * lyx_cb.C (AutoSave): move out child process into new class
5365         AutoSaveBuffer.
5366
5367 2002-10-30  John Levon  <levon@movementarian.org>
5368
5369         * text3.C: make start appendix undoable
5370
5371 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5372
5373         * lyxlength.C (inPixels): Fix returned value.
5374
5375         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5376         environment.
5377
5378 2002-10-24  Angus Leeming  <leeming@lyx.org>
5379
5380         * lyxgluelength.h: no need to forward declare BufferParams
5381         or BufferView, so don't.
5382
5383 2002-10-21  John Levon  <levon@movementarian.org>
5384
5385         * BufferView.C: menuUndo ->undo, redo
5386
5387         * BufferView.h: document, remove dead, make some methods private
5388
5389         * paragraph_funcs.h:
5390         * paragraph_funcs.C:
5391         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5392
5393         * buffer.h:
5394         * buffer.C:
5395         * sgml.h:
5396         * sgml.C: move sgml open/close tag into sgml.C
5397
5398         * bufferview_funcs.h: unused prototype
5399
5400         * lyxfunc.h:
5401         * lyxfunc.C: remove unused
5402
5403         * lyxtext.h:
5404         * text.C: remove unused
5405
5406 2002-10-21  John Levon  <levon@movementarian.org>
5407
5408         * BufferView.h:
5409         * BufferView.C:
5410         * BufferView_pimpl.h:
5411         * BufferView_pimpl.C: fix mouse wheel handling based on
5412           patch from Darren Freeman
5413
5414 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5415
5416         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5417
5418 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5419
5420         * lyxlength.C (inPixels): Fix hanfling of negative length.
5421         Fix LyXLength::MU case.
5422
5423 2002-10-16  John Levon  <levon@movementarian.org>
5424
5425         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5426
5427 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5428
5429         * converter.C (view): add support for $$i (file name) and $$p
5430         (file path) for the viewer command. If $$i is not specified, then
5431         it is appended to the command (for compatibility with old syntax)
5432
5433 2002-10-14  Juergen Vigna  <jug@sad.it>
5434
5435         * undo_funcs.C (textHandleUndo): alter the order in which the
5436         new undopar is added to the LyXText, as we have to set first
5437         the right prev/next and then add it as otherwise the rebuild of
5438         LyXText is not correct. Also reset the cursor to the right paragraph,
5439         with this IMO we could remove the hack in "redoParagraphs()".
5440
5441 2002-10-09  Angus Leeming  <leeming@lyx.org>
5442
5443         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5444         to turn off an optimisation if a new inset is to be inserted.
5445
5446 2002-10-11 André Pönitz <poenitz@gmx.net>
5447
5448         * lyxtext.h: make some functions public to allow access
5449         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5450
5451 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5452
5453         * text3.C (dispatch): when changing layout, avoid an infinite loop
5454         [bug #652]
5455
5456 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5457
5458         * lyxrc.C (read): treat a viewer or converter command of "none" as
5459         if it were empty.
5460
5461         * MenuBackend.C (expandFormats): for an update, also allow the
5462         formats that are not viewable
5463
5464         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5465         script if it is newer than the lyxrc.defaults in user directory
5466
5467 2002-10-07 André Pönitz <poenitz@gmx.net>
5468
5469         * text.C: Vitaly Lipatov's small i18n fix
5470
5471 2002-09-25  Angus Leeming  <leeming@lyx.org>
5472
5473         * ispell.h: doxygen fix.
5474
5475 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5476
5477         * buffer.h (readFile): Add a new argument to the method, to allow
5478         reading of old-format templates.
5479
5480 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5481
5482         * toc.C (getTocList): Get TOC from InsetWrap.
5483
5484 2002-09-16  John Levon  <levon@movementarian.org>
5485
5486         * lyxfunc.C: check tabular for cut/copy too
5487
5488 2002-09-12  John Levon  <levon@movementarian.org>
5489
5490         * LyXAction.C: tidy
5491
5492         * factory.h:
5493         * factory.C: add header
5494
5495         * paragraph_funcs.h:
5496         * paragraph_funcs.C: cleanup
5497
5498 2002-09-11  John Levon  <levon@movementarian.org>
5499
5500         * PrinterParams.h: odd/even default to true
5501
5502 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5503
5504         * PrinterParams.h: update printer parameters for new xforms dialog
5505
5506 2002-09-11  Angus Leeming  <leeming@lyx.org>
5507
5508         * lyxserver.C (read_ready): re-write to make it more transparent
5509         and to make it work in coherent fashion under Tru64 Unix.
5510
5511 2002-09-11  André Pönitz <poenitz@gmx.net>
5512
5513         * commandtags.h:
5514         * LyXAction.C:
5515         * text3.C: implement LFUN_WORDSEL
5516
5517 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5520         make floatlist_ a boost::shared_ptr<FloatList>
5521
5522         * lyxtextclass.C: include FloatList.h
5523         (LyXTextClass): initialize floatlist_
5524         (TextClassTags): add TC_NOFLOAT
5525         (Read): match "nofloat" to TC_NOFLOAT and use it.
5526         (readFloat): modify call to floatlist_
5527         (floats): ditto
5528         (floats): ditto
5529
5530         * FloatList.[Ch] (FloatList): remove commented out float
5531         initialization.
5532         (erase): new function
5533
5534 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5535
5536         * MenuBackend.C (expandToc): fix crash when there is no document
5537         open
5538
5539 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5540
5541         * many files: Add insetwrap.
5542
5543 2002-09-09  John Levon  <levon@movementarian.org>
5544
5545         * text2.C: remove confusing and awkward depth wraparound
5546
5547 2002-09-09  John Levon  <levon@movementarian.org>
5548
5549         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5550
5551         * buffer.h:
5552         * buffer.C: remove getIncludeonlyList()
5553
5554         * paragraph.C:
5555         * lyxfunc.C: remove headers
5556
5557 2002-09-09  Juergen Vigna  <jug@sad.it>
5558
5559         * text.C (getColumnNearX): fix form Michael this is most
5560         probably a cut&paste bug.
5561
5562 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5565
5566         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5567         references, ws changes.
5568
5569         * text2.C (init): update counters after init
5570         (insertParagraph): no need to set counter on idividual paragraphs.
5571         (setCounter): access the counters object in the textclass object
5572         on in the buffer object.
5573         (updateCounters): ditto
5574
5575         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5576         shared_ptr<Counters> to avoid loading counters.h in all
5577         compilation units.
5578         (LyXTextClass): initialize ctrs_
5579         (TextClassTags): add TC_COUNTER, and ...
5580         (Read): use it here.
5581         (CounterTags): new tags
5582         (readCounter): new function
5583         (counters): new funtion
5584         (defaultLayoutName): return a const reference
5585
5586         * counters.C (Counters): remove contructor
5587         (newCounter): remove a couple of unneeded statements.
5588         (newCounter): simplify a bit.
5589         (numberLabel): some small formatting changes.
5590
5591         * buffer.[Ch]: remove all traces of counters, move the Counters
5592         object to the LyXTextClass.
5593
5594 2002-09-06  Alain Castera  <castera@in2p3.fr>
5595
5596         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5597         package to set the horizontal alignment on fixed width columns.
5598
5599         * lyx_sty.C:
5600         * lyx_sty.h: added tabularnewline macro def.
5601
5602         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5603
5604 2002-09-06  John Levon  <levon@movementarian.org>
5605
5606         * LyXAction.C: tooltips for sub/superscript
5607
5608         * MenuBackend.C: a bit more verbose
5609
5610         * lyxfunc.C: tiny clean
5611
5612         * undo_funcs.C: document undo_frozen
5613
5614 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * counters.C (Counters): add missing algorithm counter.
5617
5618         * text2.C (setCounter): lookup the counter with layouts latexname
5619         instead of by section number.
5620         (setCounter): use a hackish way to lookup the correct enum
5621         counter.
5622         a float name->type change
5623         reset enum couners with counter name directly instead of depth value.
5624
5625         * counters.C (Counters): remove the push_backs, change to use the
5626         float type not the float name.
5627         (labelItem): remove unused string, float name->type change
5628
5629         * counters.h: don't include vector, loose the enums and sects vectors
5630
5631 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5632
5633         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5634         (Read): add float->TC_FLOAT to textclassTags
5635         (Read): and handle it in the switch
5636         (readFloat): new function
5637
5638         * FloatList.C (FloatList): comment out the hardcoded float
5639         definitions.
5640
5641         * lyxlayout.h: ws change.
5642
5643 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5644
5645         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5646
5647 2002-09-03  Angus Leeming  <leeming@lyx.org>
5648
5649         * BufferView_pimpl.h: qualified name is not allowed in member
5650         declaration: WorkArea & Pimpl::workarea() const;
5651
5652         * factory.C: added using std::endl directive.
5653
5654         * text3.C: added using std::find and std::vector directives.
5655
5656 2002-08-29  André Pönitz <poenitz@gmx.net>
5657
5658         * lyxtext.h:
5659         * text2.C: remove unused member number_of_rows
5660
5661         * Makefile.am:
5662         * BufferView2.C: remove file, move contents to...
5663         * BufferView.C: ... here
5664
5665         * BufferView_pimpl.C:
5666         * factory.C: move more inset creation to factory
5667
5668         * vspace.C: avoid direct usage of LyXText, ws changes
5669
5670         * BufferView.[Ch]:
5671                 don't provide direct access to WorkArea, use two simple
5672                 acessors haveSelction() and workHeight() instead
5673
5674
5675 2002-08-29  John Levon  <levon@movementarian.org>
5676
5677         * BufferView_pimpl.C (dispatch): do not continue when
5678           no buffer
5679
5680 2002-08-28  André Pönitz <poenitz@gmx.net>
5681
5682         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5683
5684         * BufferView.h:
5685         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5686
5687 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5688
5689         * buffer.C: increment LYX_FORMAT to 221
5690
5691         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5692         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5693
5694         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5695
5696         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5697
5698 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5699
5700         * factory.C (createInset): use LyXTextClass::floats
5701
5702         * MenuBackend.C (expandFloatListInsert):
5703         (expandFloatInsert):
5704         (expandToc):
5705
5706         * text2.C (setCounter):
5707
5708         * LaTeXFeatures.C (useFloat):
5709         (getFloatDefinitions):
5710
5711         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5712
5713         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5714         floatlist_, with accessor floats().
5715
5716         * FloatList.h: remove global FloatList
5717
5718 2002-08-26  André Pönitz <poenitz@gmx.net>
5719
5720         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5721
5722         * BufferView.h:
5723         * BufferView2.C:
5724         * BufferView_pimpl.C:
5725         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5726
5727 2002-08-25  John Levon  <levon@movementarian.org>
5728
5729         * LyXAction.C: fix margin note description
5730
5731 2002-08-24  John Levon  <levon@movementarian.org>
5732
5733         * buffer.C:
5734         * bufferlist.C:
5735         * bufferview_funcs.C:
5736         * lyxfont.C:
5737         * undo_funcs.C: cleanups
5738
5739         * lyxfunc.C: disable CUT/COPY when no selection
5740
5741 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5742
5743         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5744         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5745
5746         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5747         Add backward compatibility to "mono", "gray" and "no".
5748
5749 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5750
5751         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5752         (and file_format >= 200).
5753
5754 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5755
5756         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5757
5758 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5759
5760         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5761
5762 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5763
5764         * BufferView_pimpl.C:
5765         * LyXAction.C:
5766         * buffer.C:
5767         * commandtags.h:
5768         * lyxfunc.C:
5769         * paragraph.[Ch]:
5770         * text2.C:
5771         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5772         inset and code to make it  work with the paragraph code. The inset
5773         can be anywhere in the paragraph, but will only do the expected
5774         thing in LaTeX if the layout file contains the parameter line
5775                         OptionalArgs    1
5776         (or more generally, a nonzero value) for that layout.
5777
5778 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5779
5780         * paragraph.h: remove the declaration of undefined counters class
5781         function.
5782
5783 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5784
5785         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5786         Dr. Richard Hawkins.
5787
5788 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5789
5790         * paragraph_funcs.h: remove some unneeded includes
5791
5792         * text.C (backspace): pasteParagraph now in global scipe
5793
5794         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5795         (pasteSelection): ditto
5796
5797         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5798         * paragraph_funcs.C (pasteParagraph): ... here
5799
5800 2002-08-20  André Pönitz <poenitz@gmx.net>
5801
5802         * commandtags.h: new LFUNs for swapping/copying table row/colums
5803
5804         * LyXAction.C:
5805         * lyxfunc.C: support for new lfuns
5806
5807 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5808
5809         * tabular.C:
5810         * buffer.[Ch]: remove NO_COMPABILITY stuff
5811
5812 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5813
5814         * boost.C (throw_exception): new file, with helper function for
5815         boost compiled without exceptions.
5816
5817         * paragraph.h:
5818         * lyxlength.C:
5819         * buffer.C:
5820         * ParameterStruct.h:
5821         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5822
5823         * bufferlist.C (emergencyWriteAll): use boost bind
5824
5825         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5826
5827         * text.C: include paragraph_funcs.h
5828         (breakParagraph): breakParagraph is now in global scope
5829
5830         * paragraph_funcs.[Ch]: new files
5831
5832         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5833         global scope
5834
5835         * buffer.C: include paragraph_funcs.h
5836         (insertStringAsLines): breakParagraph is now in global scope
5837
5838         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5839         paragraph_funcs.C
5840
5841         * CutAndPaste.C: include paragraph_funcs.h
5842         (cutSelection): breakParagraphConservative is now in global scope
5843         (pasteSelection): ditto
5844
5845         * buffer.h: declare oprator== and operator!= for
5846         Buffer::inset_iterator
5847
5848         * bufferlist.C (emergencyWrite): don't use fmt(...)
5849
5850         * text3.C: add using std::endl
5851
5852         * BufferView.C (moveCursorUpdate): remove default arg
5853
5854 2002-08-20  André Pönitz <poenitz@gmx.net>
5855
5856         * buffer.[Ch]: move inline functions to .C
5857
5858         * BufferView2.C:
5859         * BufferView_pimpl.C:
5860         * text.C:
5861         * buffer.[Ch]: use improved inset_iterator
5862
5863         * buffer.C:
5864         * paragraph.[Ch]: write one paragraph at a time
5865
5866 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5867
5868         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5869         style if style is not specified.
5870
5871 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5872
5873         * text2.C (setCounter): when searching for right label for a
5874         caption, make sure to recurse to parent insets (so that a caption
5875         in a minipage in a figure float works) (bug #568)
5876
5877 2002-08-20  André Pönitz <poenitz@gmx.net>
5878
5879         * text3.C: new file for LyXText::dispatch() and helpers
5880
5881         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5882
5883         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5884
5885 2002-08-19  André Pönitz <poenitz@gmx.net>
5886
5887         * lyxtext.h:
5888         * text.C: new LyXText::dispatch()
5889
5890         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5891
5892 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5893
5894         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5895
5896         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5897         Hebrew text.
5898
5899 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5900
5901         * Makefile.am: use $(variables) instead of @substitutions@
5902
5903 2002-08-15  André Pönitz <poenitz@gmx.net>
5904
5905         * lyxfunc.C:
5906         * BufferView_pimpl.C: streamlining mathed <-> outer world
5907         interaction
5908
5909         * commandtags.h:
5910         * LyXAction.C: remove unused LFUN_MATH
5911
5912 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5913
5914         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5915
5916 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * paragraph.C (Paragraph): reformat a bit
5919         (cutIntoMinibuffer): use builtin InsetList function instad of
5920         doing it manually.
5921         (getInset): ditto
5922
5923         * buffer.C: include boost/bind.hpp, add using std::for_each
5924         (writeFileAscii): use ParagraphList iterators
5925         (validate): use for_each for validate traversal of paragraphs
5926         (getBibkeyList): use ParagraphList iterators
5927         (resizeInsets): use for_each to resizeInsetsLyXText for all
5928         paragraphs.
5929         (getParFromID): use ParagraphList iterators
5930
5931         * BufferView2.C (lockInset): use paragraph list and iterators
5932
5933 2002-08-14  John Levon  <levon@movementarian.org>
5934
5935         * lyxserver.C: remove spurious xforms include
5936
5937 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5938
5939         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5940
5941 2002-08-13  André Pönitz <poenitz@gmx.net>
5942
5943         * LyXAction.[Ch]:
5944         * lyxfunc.C: further cleaning
5945
5946 2002-08-13  André Pönitz <poenitz@gmx.net>
5947
5948         * funcrequest.h: new constructor
5949
5950         * funcrequest.C: move stuff here from .h
5951
5952         * Makefile.am:
5953         * BufferView_pimpl.C:
5954         * LyXAction.C:
5955         * toc.C:
5956         * lyxfunc.C: subsequent changes
5957
5958         * lyxfunc.h: new view() member function
5959
5960         * lyxfunc.C: subsequent changes
5961
5962 2002-08-13  Angus Leeming  <leeming@lyx.org>
5963
5964         * BufferView2.C:
5965         * BufferView_pimpl.C:
5966         * buffer.C:
5967         * converter.C:
5968         * importer.C:
5969         * lyxfunc.C:
5970         * lyxvc.C:
5971         * toc.C:
5972         * vc-backend.C:
5973         changes due to the changed LyXView interface that now returns references
5974         to member variables not pointers.
5975
5976 2002-08-13  Angus Leeming  <leeming@lyx.org>
5977
5978         * WordLangTuple (word, lang_code): return references to strings,
5979         not strings.
5980
5981         * BufferView.h:
5982         * SpellBase.h:
5983         * lyxtext.h: forward-declare WordLangTuple.
5984
5985         * BufferView2.C:
5986         * ispell.C:
5987         * pspell.C:
5988         * text.C: #include "WordLangTuple.h".
5989
5990         * lyxtext.h:
5991         * text.C: (selectNextWordToSpellcheck): constify return type.
5992
5993 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5994
5995         * buffer.C:
5996         * buffer.h:
5997         * lyxtext.h:
5998         * paragraph.C:
5999         * paragraph_pimpl.h:
6000         * text.C:
6001         * text2.C:
6002         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6003         suggested by Angus.
6004         Made updateCounter always count from start of buffer, and removed
6005         second argument (par).
6006         Reverted floats number display to '#'. Perhaps I'll try again when the
6007         code base is sanitized a bit.
6008
6009 2002-08-12  Angus Leeming  <leeming@lyx.org>
6010
6011         * buffer.[Ch] (getLabelList): constify.
6012
6013 2002-08-07  André Pönitz <poenitz@gmx.net>
6014
6015         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6016
6017         * funcrequest.h: extension to keep mouse (x,y) position
6018
6019 2002-08-12  Juergen Vigna  <jug@sad.it>
6020
6021         * BufferView2.C (insertErrors): forbid undo when inserting error
6022         insets.
6023
6024         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6025
6026 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6027
6028         * ParagraphList.[Ch]: new files
6029
6030         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6031
6032         * BufferView2.C (lockInset): ParagraphList changes
6033         * toc.C: ditto
6034         * text2.C: ditto
6035         * bufferlist.C: ditto
6036         * buffer.h: ditto
6037         * buffer.C: ditto
6038
6039 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6042         unused class variable counter_,
6043
6044         * paragraph.[Ch] (getFirstCounter): delete unused function
6045
6046         * counters.C: include LAssert.h
6047         (reset): add a new function with no arg, change other version to
6048         not have def. arg and to not allow empty arg.
6049
6050         * text2.C (setCounter): remove empty arg from call to Counters::reset
6051
6052 2002-08-11  John Levon  <levon@movementarian.org>
6053
6054         * Makefile.am: add WordLangTuple.h
6055
6056 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6057
6058         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6059         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6060
6061         * insets/insettext.C: InsetList changes
6062
6063         * graphics/GraphicsSupport.C (operator()): InsetList changes
6064
6065         * toc.C (getTocList): InsetList changes
6066
6067         * paragraph_pimpl.[Ch]: InsetList changes
6068
6069         * paragraph.[Ch]: InsetList changes
6070
6071         * buffer.C (inset_iterator): InsetList changes
6072         (setParagraph): ditto
6073         * buffer.h (inset_iterator): ditto
6074         * iterators.C (operator++): ditto
6075         * iterators.h: ditto
6076
6077         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6078
6079         * InsetList.[Ch]: new files, most InsetList handling moved out of
6080         paragraph.C.
6081
6082         * BufferView2.C (removeAutoInsets): InsetList changes
6083         (lockInset): ditto
6084         (ChangeInsets): ditto
6085
6086 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6087
6088         * paragraph_pimpl.h (empty): new function
6089
6090         * paragraph.[Ch] (empty): new function
6091
6092         * other files: use the new Paragraph::empty function
6093
6094 2002-08-09  John Levon  <levon@movementarian.org>
6095
6096         * lyxtext.h: remove unused refresh_height
6097
6098 2002-08-09  John Levon  <levon@movementarian.org>
6099
6100         * Makefile.am:
6101         * sgml.h:
6102         * sgml.C:
6103         * buffer.C:
6104         * paragraph.h:
6105         * paragraph.C: move sgml char escaping out of paragraph
6106
6107         * paragraph.h:
6108         * paragraph.C: remove id setter
6109
6110         * buffer.C:
6111         * paragraph.C:
6112         * paragraph_pimpl.C: remove dead tex_code_break_column
6113
6114         * bufferview_funcs.C: small cleanup
6115
6116         * lyxfunc.C: remove dead proto
6117
6118         * lyxtext.h: make some stuff private. Remove some dead stuff.
6119
6120         * lyxgluelength.C: make as[LyX]String() readable
6121
6122 2002-08-08  John Levon  <levon@movementarian.org>
6123
6124         * LyXAction.h:
6125         * LyXAction.C:
6126         * MenuBackend.C:
6127         * ToolbarDefaults.C:
6128         * lyxfunc.C:
6129         * lyxrc.C:
6130         * toc.C: lyxaction cleanup
6131
6132 2002-08-08  John Levon  <levon@movementarian.org>
6133
6134         * BufferView2.C: small cleanup
6135
6136         * lyxfind.h:
6137         * lyxfind.C: move unnecessary header into the .C
6138
6139 2002-08-08  John Levon  <levon@movementarian.org>
6140
6141         * funcrequest.h: just tedious nonsense
6142
6143         * lyx_main.h:
6144         * lyx_main.C: cleanups
6145
6146         * buffer.C:
6147         * vspace.C: remove dead header lyx_main.h
6148
6149 2002-08-07  Angus Leeming  <leeming@lyx.org>
6150
6151         * Paragraph.[Ch]:
6152         * paragraph_pimpl.h:
6153         Forward declare class Counters in paragraph.h by moving the ctrs member
6154         variable into Paragraph::Pimpl.
6155         (counters): new method, returning a reference to pimpl_->ctrs.
6156
6157         * text2.C: ensuing changes.
6158
6159 2002-08-07  John Levon  <levon@movementarian.org>
6160
6161         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6162
6163         * BufferView_pimpl.C: announce X selection on double/triple
6164           click
6165
6166         * lyx_main.C: use correct bool in batch dispatch
6167
6168         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6169
6170 2002-08-07  André Pönitz <poenitz@gmx.net>
6171
6172         * funcrequest.h: new class to wrap a kb_action and its argument
6173
6174         * BufferView.[Ch]:
6175         * BufferView_pimpl[Ch]:
6176         * LaTeX.C:
6177         * LyXAction.[Ch]:
6178         * lyxfunc.[Ch]:
6179         * lyxrc.C: subsequent changes
6180
6181
6182 2002-08-07  John Levon  <levon@movementarian.org>
6183
6184         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6185           document options change.
6186
6187 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6188
6189         * counters.[Ch]
6190         * text2.C
6191         * paragraph.[Ch]
6192         * makefile.am: move counters functionality over from
6193         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6194
6195 2002-08-06  John Levon  <levon@movementarian.org>
6196
6197         * WordLangTuple.h: new file for word + language code tuple
6198
6199         * SpellBase.h:
6200         * pspell.h:
6201         * pspell.C:
6202         * ispell.h:
6203         * ispell.C:
6204         * lyxtext.h:
6205         * text.C:
6206         * text2.C:
6207         * BufferView.h:
6208         * BufferView2.C: use WordLangTuple
6209
6210         * layout.h:
6211         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6212
6213 2002-08-06  John Levon  <levon@movementarian.org>
6214
6215         * lyx_main.C: fix cmdline batch handling
6216
6217 2002-08-06  André Pönitz <poenitz@gmx.net>
6218
6219         * lyxrc.C: set default for show_banner to true
6220
6221 2002-08-06  John Levon  <levon@movementarian.org>
6222
6223         * pspell.C: fix a crash, and allow new aspell to work
6224
6225 2002-08-06  John Levon  <levon@movementarian.org>
6226
6227         * lyxfunc.C:
6228         * kbmap.C: small cleanup
6229
6230         * vspace.h:
6231         * vspace.C: add const
6232
6233 2002-08-05  John Levon  <levon@movementarian.org>
6234
6235         * LyXAction.C: back to tabular-insert
6236
6237 2002-08-04  John Levon  <levon@movementarian.org>
6238
6239         * BufferView.h:
6240         * BufferView.C: cosmetic change
6241
6242         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6243
6244         * bufferlist.C:
6245         * buffer.h:
6246         * buffer.C:
6247         * lyxcb.h:
6248         * lyxcb.C:
6249         * lyxserver.C:
6250         * lyxvc.C:
6251         * vc-backend.C:
6252         * BufferView2.C: purge all "Lyx" not "LyX" strings
6253
6254         * lyxcursor.h:
6255         * lyxcursor.C: attempt to add some documentation
6256
6257         * lyxfunc.C:
6258         * commandtags.h:
6259         * LyXAction.C:
6260         * ToolbarDefaults.C:
6261         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6262           merge with LFUN_TABULAR_INSERT
6263
6264         * Makefile.am:
6265         * SpellBase.h:
6266         * ispell.h:
6267         * ispell.C:
6268         * pspell.h:
6269         * pspell.C: split up i/pspell implementations into separate
6270           files, many cleanups
6271
6272         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6273
6274         * text2.C: some cleanup
6275
6276         * lyxfunc.C: don't check for isp_command == "none" any more, it
6277           didn't make any sense
6278
6279 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6280
6281         * counters.[Ch]
6282         * text2.C
6283         * paragraph.[Ch]
6284         * makefile.am: move counters functionality over
6285         from text2.C/paragraph.[Ch] to counters.[Ch], and
6286         make proper C++.
6287 2002-08-02  John Levon  <levon@movementarian.org>
6288
6289         * buffer.C: s/lyxconvert/lyx2lyx/
6290
6291 2002-08-02  Angus Leeming  <leeming@lyx.org>
6292
6293         * lyxlex.C: revert John's change as it breaks reading of the user
6294         preamble.
6295
6296 2002-08-02  Angus Leeming  <leeming@lyx.org>
6297
6298         * importer.C (Import):
6299         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6300         changes due to LyXView::view() now returning a boost::shared_ptr.
6301
6302 2002-08-02  John Levon  <levon@movementarian.org>
6303
6304         * lyxlex.C: small cleanup
6305
6306 2002-08-02  John Levon  <levon@movementarian.org>
6307
6308         * text2.C (status): small cleanup, no logic change
6309
6310 2002-08-01  John Levon  <levon@movementarian.org>
6311
6312         * buffer.h:
6313         * buffer.C (writeFile): don't output alerts, caller
6314           handles this
6315
6316         * bufferlist.C:
6317         * lyx_cb.C: from above
6318
6319         * lyxfunc.C: allow to open non-existent files
6320
6321 2002-07-31  John Levon  <levon@movementarian.org>
6322
6323         * lyxserver.C: don't let incidental errors get
6324           in the way (errno)
6325
6326 2002-07-30  John Levon  <levon@movementarian.org>
6327
6328         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6329
6330 2002-07-30  John Levon  <levon@movementarian.org>
6331
6332         * lyxserver.h:
6333         * lyxserver.C: remove I/O callback too
6334
6335 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6336
6337         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6338         log.
6339
6340 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6341
6342         * many files: strip,frontStrip -> trim,ltrim,rtrim
6343
6344 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6345
6346         * PrinterParams.h: remove extern containsOnly, and include
6347         support/lstrings.h instead.
6348
6349         * LaTeX.C (scanAuxFile): modify because of strip changes
6350         (deplog): ditto
6351         * buffer.C (makeLaTeXFile): ditto
6352         * bufferparams.C (writeFile): ditt
6353         * lyxfont.C (stateText): ditto
6354         * lyxserver.C (read_ready): ditto
6355         * vc-backend.C (scanMaster): ditto
6356
6357         * BufferView_pimpl.h: ws changes
6358
6359         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6360
6361 2002-07-26  André Pönitz <poenitz@gmx.net>
6362
6363         * kb_sequence.C: remove unnedred usings
6364
6365 2002-07-26  Juergen Vigna  <jug@sad.it>
6366
6367         * lyxfind.C (LyXReplace): we have to check better if the returned
6368         text is not of theLockingInset()->getLockingInset().
6369
6370 2002-07-25  Juergen Vigna  <jug@sad.it>
6371
6372         * lyxfind.C (LyXReplace): don't replace if we don't get the
6373         right LyXText.
6374
6375         * undo_funcs.C (createUndo): remove debugging code.
6376
6377 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6378
6379         * buffer.C (parseSingleLyXformat2Token): Use default placement
6380         when reading old floats.
6381
6382         * FloatList.C (FloatList): Change the default placement of figure
6383         and tables to "tbp".
6384
6385 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6386
6387         * MenuBackend.C: using std::max
6388
6389 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6390
6391         * MenuBackend.C (expandToc):
6392         (expandToc2): code moved from xforms menu frontend. It is now
6393         generic and TOCs are transparent to menu frontends.
6394
6395 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6396
6397         * toc.C (getTocList): protect against buf=0
6398
6399         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6400         Menu as first parameter. Now, this calls itself recursively to
6401         expand a whole tree (this will be useful for TOC handling)
6402         (expandFloatInsert): remove 'wide' version of floats
6403
6404         * MenuBackend.h (submenuname): returns the name of the submenu.
6405         (submenu): returns the submenu itself, provided it has been
6406         created by MenuBackend::expand
6407
6408 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6409
6410         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6411         insets which have noFontChange == true. (bug #172)
6412
6413 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6414
6415         * BufferView_pimpl.C: add connection objects and use them...
6416         (Pimpl): here.
6417
6418 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6419
6420         * MenuBackend.C (expandLastfiles):
6421         (expandDocuments):
6422         (expandFormats):
6423         (expandFloatListInsert):
6424         (expandFloatInsert):
6425         (expand): split expand in parts
6426
6427 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6428
6429         * lyx_gui.C: use lyx_gui::exit()
6430
6431 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6432
6433         * LyXAction.C: show the failing pseudo action
6434
6435 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6436
6437         * buffer.C (readFile): Run the lyxconvert script in order to read
6438         old files.
6439
6440 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6441
6442         * LyXAction.C:
6443         * commandtags.h:
6444         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6445
6446 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6447
6448         * LyXAction.C:
6449         * commandtags.h:
6450         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6451
6452 2002-07-22  Herbert Voss  <voss@lyx.org>
6453
6454         * lengthcommon.C:
6455         * lyxlength.[Ch]: add support for the vertical lengths
6456
6457 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6458
6459         * toc.[Ch]: std:: fixes
6460
6461 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6462
6463         * lyxrc.C: do not include lyx_main.h
6464
6465         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6466         for layouts
6467
6468         * lyxrc.C:
6469         * encoding.C:
6470         * bufferlist.C:
6471         * BufferView2.C: include "lyxlex.h"
6472
6473         * tabular.h:
6474         * bufferparams.h: do not #include "lyxlex.h"
6475
6476         * lyxtextclasslist.C (Add): remove method
6477         (classlist): renamed to classlist_
6478
6479         * paragraph_pimpl.C:
6480         * paragraph.C:
6481         * text2.C:
6482         * CutAndPaste.C:
6483         * bufferview_funcs.C:
6484         * bufferlist.C:
6485         * text.C:
6486         * LaTeXFeatures.C:
6487         * buffer.C:
6488         * toc.C (getTocList): use BufferParams::getLyXTextClass
6489
6490         * toc.C (getTocList): use InsetFloat::addToToc
6491
6492         * toc.[Ch]: new files, containing helper functions to handle table
6493         of contents
6494
6495         * lyxfunc.C (dispatch): no need to remove spaces around command
6496         given as a string
6497         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6498         first command of the sequence; it is not very clever, but I do not
6499         have a better idea, actually
6500
6501         * LyXAction.C (LookupFunc): make sure to remove space at the
6502         beginning and end of the command
6503
6504 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6505
6506         * MenuBackend.C (getMenubar): new method: return the menubar of
6507         this menu set
6508         (read): treat differently reading of menu and menubar (in
6509         particular, the menubar has no name now)
6510         (Menu::menubar): remove
6511
6512         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6513         saving is finished
6514
6515 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6516
6517         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6518         a bibitem inset in a RTL paragraph.
6519
6520 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6521
6522         * paragraph_pimpl.C: constify
6523
6524         * BufferView_pimpl.C:
6525         * LaTeX.C:
6526         * lyxfunc.C: fix dispatch in a nicer way
6527
6528 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6529
6530         * lyxfunc.C (dispatch):
6531         * BufferView_pimpl.C:
6532         * BufferView_pimpl.h:
6533         * BufferView.C:
6534         * BufferView.h: rename Dispatch() to dispatch()
6535
6536         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6537
6538         * lyxlayout.C (Read): honor DependsOn tag
6539
6540         * lyxlayout.[Ch] (depends_on): new method
6541
6542         * version.C.in: update lyx_docversion
6543
6544         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6545
6546         * paragraph.C (validate): remove from here...
6547         * paragraph_pimpl.C (validate): ... and move here
6548         (isTextAt): make it const
6549
6550         * buffer.C (getLists): ws cleanup
6551
6552 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6553
6554         * language.C (read): Use iso8859-1 encoding in latex_lang
6555         (this prevents LyX from crashing when using iso10646-1 encoding).
6556
6557 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6558
6559         * text2.C (toggleInset): if cursor is inside an inset, close the
6560         inset and leave cursor _after_ it
6561
6562 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6563
6564         * lyxfunc.C: move minibuffer completion handling out of here
6565
6566 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6567
6568         * BufferView_pimpl.C:
6569         * LaTeX.C: fix dispatch calls
6570
6571 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6572
6573         * text.C (drawChars): Fix Arabic text rendering.
6574
6575 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6576
6577         * LyXAction.C:
6578         * commandtags.h:
6579         * lyxfunc.C: remove message-push/pop
6580
6581         * lyxserver.C:
6582         * lyxfunc.h:
6583         * lyxfunc.C: rationalise some code by removing verboseDispatch
6584           in favour of a bool argument to dispatch()
6585
6586 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6587
6588         * lyx_main.C (init): make sure to read symlinks as absolute paths
6589
6590 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6591
6592         * lyxfunc.h:
6593         * lyxfunc.C: no need for commandshortcut to be a member
6594
6595 2002-07-15  André Pönitz <poenitz@gmx.net>
6596
6597         * converter.C: add support for $$s (scripts from lib/scripts dir)
6598         * lyx_main.C: white space
6599
6600 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6601
6602         * bufferlist.C:
6603         * lyxrc.h:
6604         * lyxrc.C: remove second exit confirmation
6605
6606 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6607
6608         * BufferView.h:
6609         * BufferView.C:
6610         * BufferView2.C:
6611         * BufferView_pimpl.h:
6612         * BufferView_pimpl.C:
6613         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6614
6615 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6616
6617         * MenuBackend.C (expand): add numeric shortcuts to document menu
6618
6619         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6620
6621 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6622
6623         * lyxfont.C (setLyXFamily):
6624         (setLyXSeries):
6625         (setLyXShape):
6626         (setLyXSize):
6627         (setLyXMisc):
6628         (lyxRead):
6629         * debug.C (value):
6630         * buffer.C (asciiParagraph): use ascii_lowercase
6631
6632 2002-07-15  Mike Fabian  <mfabian@suse.de>
6633
6634         * lyxlex_pimpl.C (search_kw):
6635         * lyxlex.C (getLongString):
6636         * converter.h (operator<):
6637         * converter.C (operator<):
6638         * buffer.C (parseSingleLyXformat2Token):
6639         (asciiParagraph):
6640         * ToolbarDefaults.C (read):
6641         * MenuBackend.C (checkShortcuts):
6642         (read):
6643         * LColor.C (getFromGUIName):
6644         (getFromLyXName): use the compare_ascii_no_case instead of
6645         compare_no_case, because in turkish, 'i' is not the lowercase
6646         version of 'I', and thus turkish locale breaks parsing of tags.
6647
6648 2002-07-16  Angus Leeming  <leeming@lyx.org>
6649
6650         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6651         now takes a Buffer const & argument.
6652
6653 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6654
6655         * BufferView.C (resize): check there's a buffer to resize
6656
6657 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6658
6659         * lyxfunc.C: remove dead code
6660
6661         * lyxserver.h:
6662         * lyxserver.C: use lyx_guii::set_read_callback
6663
6664 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6665
6666         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6667         an inset in a RTL paragraph.
6668
6669 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6670
6671         * lyxfunc.C: repaint after a font size update
6672
6673 2002-07-15  André Pönitz <poenitz@gmx.net>
6674
6675         * lyxlength.C: inBP should be able to return negative values
6676
6677 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6678
6679         * lyxfunc.C: use lyx_gui::update_fonts()
6680
6681 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6682
6683         * lyxfunc.C: use lyx_gui::update_color()
6684
6685 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6686
6687         * bufferlist.C:
6688         * lyxfunc.h:
6689         * lyxfunc.C:
6690         * lyxrc.h:
6691         * lyxrc.C: remove file->new asks for name option, and let
6692           buffer-new take an argument
6693
6694 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6695
6696         * BufferView_pimpl.C: remove unneeded extra repaint()
6697
6698 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6699
6700         * LyXAction.C: allow command-sequence with NoBuffer
6701
6702         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6703
6704 2002-07-10  Angus Leeming  <leeming@lyx.org>
6705
6706         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6707
6708 2002-07-09  Angus Leeming  <leeming@lyx.org>
6709
6710         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6711
6712 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6713
6714         * lengthcommon.h: whitespace
6715
6716         * lyxfunc.C: update scrollbar after goto paragraph
6717
6718         * lyxtext.h: factor out page break drawing, and fix it so
6719           page break/added space paints as selected nicely
6720
6721 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6722
6723         * BufferView_pimpl.C: add FIXMEs, clean up a little
6724
6725 2002-07-09  André Pönitz <poenitz@gmx.net>
6726
6727         * lyxfont.[Ch]: support for wasy symbols
6728
6729 2002-07-08  André Pönitz <poenitz@gmx.net>
6730
6731         * BufferView_pimpl.C: apply John's patch for #93.
6732
6733 2002-07-05  Angus Leeming  <leeming@lyx.org>
6734
6735         * BufferView_pimpl.C (buffer): generate previews if desired.
6736
6737         * LColor.h: add "preview" to the color enum.
6738
6739         * LColor.C (LColor): add a corresponding entry to the items array.
6740
6741         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6742         with this buffer.
6743
6744 2002-07-05  Angus Leeming  <leeming@lyx.org>
6745
6746         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6747         The body of the code is now in the method that is passed an ostream &
6748         rather than a file name.
6749         Pass an additional only_preamble parameter, useful for the forthcoming
6750         preview stuff.
6751
6752 2002-07-03  André Pönitz <poenitz@gmx.net>
6753
6754         * lyxfunc.C: simplify getStatus() a bit for math stuff
6755
6756 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6757
6758         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6759
6760 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6761
6762         * text.C (changeRegionCase): do not change case of all the
6763         document when region ends at paragraph end (bug #461)
6764
6765 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6766
6767         * paragraph.C (startTeXParParams):
6768         (endTeXParParams): add \protect when necessary
6769
6770 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6771
6772         * BufferView_pimpl.C (workAreaExpose): remove warning
6773
6774 2002-06-27  Angus Leeming  <leeming@lyx.org>
6775
6776         * Makefile.am: add lyxlayout_ptr_fwd.h.
6777
6778 2002-06-26  André Pönitz <poenitz@gmx.net>
6779
6780         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6781
6782 2002-06-25  Angus Leeming  <leeming@lyx.org>
6783
6784         * lyxfunc.C (dispatch): Comment out the call to
6785         grfx::GCache::changeDisplay. The method no longer exists now that the
6786         pixmap generation part of the graphics loader has been moved into
6787         InsetGraphics.
6788
6789 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6790
6791         * text2.C: layout as layout
6792
6793         * text.C: layout as layout
6794
6795         * tabular.C (OldFormatRead): layout as layout
6796
6797         * paragraph_pimpl.C (TeXDeeper): layout as layout
6798         (realizeFont): layout as layout
6799
6800         * paragraph.C (writeFile): layout as layout
6801         (validate): layout as layout
6802         (getFont): layout as layout
6803         (getLabelFont): layout as layout
6804         (getLayoutFont): layout as layout
6805         (breakParagraph): layout as layout
6806         (stripLeadingSpaces): layout as layout
6807         (getEndLabel): layout as layout
6808         (getMaxDepthAfter): layout as layout
6809         (applyLayout): layout as layout
6810         (TeXOnePar): layout as layout
6811         (simpleTeXOnePar): layout as layout
6812         (TeXEnvironment): layout as layout
6813         (layout): layout as layout
6814         (layout): layout as layout
6815
6816         * lyxtextclass.C (compare_name): new functor to work with
6817         shared_ptr, layout as layout
6818         (Read): layout as layout
6819         (hasLayout): layout as layout
6820         (operator): layout as layout
6821         (delete_layout): layout as layout
6822         (defaultLayout): layout as layout
6823
6824         * lyxlayout_ptr_fwd.h: new file
6825
6826         * lyxlayout.C (Read): layout as layout
6827
6828         * lyx_cb.C (MenuInsertLabel): layout as layout
6829
6830         * bufferlist.C (newFile): layout as layout
6831
6832         * buffer.C (readLyXformat2): layout as layout
6833         (parseSingleLyXformat2Token): layout as layout
6834         (insertStringAsLines): layout as layout
6835         (asciiParagraph): layout as layout
6836         (latexParagraphs): layout as layout
6837         (makeLinuxDocFile): layout as layout
6838         (simpleLinuxDocOnePar): layout as layout
6839         (makeDocBookFile): layout as layout
6840         (simpleDocBookOnePar): layout as layout
6841         (getLists): layout as layout
6842
6843         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6844
6845         * CutAndPaste.C (cutSelection): layout as layout
6846         (pasteSelection): layout as layout
6847         (SwitchLayoutsBetweenClasses): layout as layout
6848
6849         * BufferView_pimpl.C (Dispatch): layout as layout
6850         (smartQuote): layout as layout
6851
6852         * BufferView2.C (unlockInset): layout as layout
6853
6854 2002-06-24  André Pönitz <poenitz@gmx.net>
6855
6856         * lyxfunc.C: fix #487
6857
6858 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6859
6860         * lyxrc.h:
6861         * lyxrc.C:
6862         * lyxfunc.C: remove display_shortcuts, show_banner
6863
6864 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6865
6866         * Buffer_pimpl.C: oops, update on resize
6867
6868 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6869
6870         * buffer.C:
6871         * converter.C:
6872         * exporter.C:
6873         * lyxfunc.C:
6874         * BufferView.h:
6875         * BufferView.C: use repaint()
6876
6877         * BufferView_pimpl.h:
6878         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6879           as it's a clearer description. Remove superfluous
6880           redraws.
6881
6882 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6883
6884         * text.C: fix bug 488. Not ideal, but getting
6885           getWord() to work properly for the insets that
6886           matter is more difficult ...
6887
6888 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6889
6890         * BufferView_pimpl.C:
6891         * LyXAction.C:
6892         * commandtags.h:
6893         * lyxfunc.C: remove the six million index lyxfuncs to just
6894           one, and DTRT (bug 458)
6895
6896 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6897
6898         * BufferView.h:
6899         * BufferView.C:
6900         * BufferView_pimpl.h:
6901         * BufferView_pimpl.C: clean up resize() stuff,
6902           and unnecessary updateScreen()s
6903
6904 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6905
6906         * BufferView.h:
6907         * BufferView.C:
6908         * BufferView_pimpl.h:
6909         * BufferView_pimpl.C:
6910         * lyxfind.h:
6911         * lyxfind.C:
6912         * minibuffer.C: remove focus management of workarea,
6913           not needed. Use screen's greyOut()
6914
6915 2002-06-17  Herbert Voss  <voss@lyx.org>
6916
6917         * converter.C: (convert) do not post a message, when converting
6918         fails, let the calling function decide what to do in this case
6919
6920 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6921
6922         * lyxfunc.C: tidy up a little
6923
6924 2002-06-16    <alstrup@diku.dk>
6925
6926         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6927         Got rid of FORMS_H_LOCATION include. Now we are
6928         GUII.
6929
6930 2002-06-15  LyX Development team  <lyx@rilke>
6931
6932         * buffer.[Ch] (sgmlOpenTag):
6933         (sgmlCloseTag): Added support for avoiding pernicious mixed
6934         content. Return number of lines written.
6935
6936         (makeLinuxDocFile):
6937         (makeDocBookFile): Fixed calls to sgml*Tag.
6938         Simple white space clean.
6939
6940         (simpleDocBookOnePar): Simple white space clean.
6941
6942         * tabular.[Ch] (docBook): Renamed to docbook and got another
6943         argument to related with the pernicious mixed content.
6944
6945         (docbookRow): Fixed calls for docbook inset method.
6946
6947 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6948
6949         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6950         so it's X11 independent.
6951
6952         * kb*.[Ch]: ditto.
6953
6954         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6955
6956 2002-06-15  Lyx Development team  <lyx@electronia>
6957
6958         * intl.h: Renamed getTrans to getTransManager.
6959
6960 2002-06-14  Angus Leeming  <leeming@lyx.org>
6961
6962         * Makefile.am: nuke forgotten stl_string_fwd.h.
6963
6964 2002-06-12  Angus Leeming  <leeming@lyx.org>
6965
6966         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6967
6968 2002-06-13  Angus Leeming  <leeming@lyx.org>
6969
6970         * LaTeX.C:
6971         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6972
6973 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6974
6975         * kbmap.C (getiso): add support for cyrillic and greek
6976
6977 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6978
6979         * BufferView.h:
6980         * BufferView.C:
6981         * BufferView_pimpl.h:
6982         * BufferView_pimpl.C: move bogus scrolling logic
6983           to xforms
6984
6985 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6986
6987         * lyxfunc.C:
6988         * BufferView_pimpl.C: view->resize() change
6989
6990 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6991
6992         * BufferView_pimpl.C: topCursorVisible
6993           prototype change
6994
6995 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6996
6997         * Makefile.am:
6998         * lyx_gui.h:
6999         * lyx_gui.C: move to frontends/
7000
7001         * main.C:
7002         * lyx_main.h:
7003         * lyx_main.C: changes from above
7004
7005 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7006
7007         * intl.C:
7008         * intl.h:
7009         * kbmap.C:
7010         * kbsequence.C:
7011         * lyx_cb.C:
7012         * lyx_main.C: minor tidy
7013
7014 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7015
7016         * BufferView_pimpl.h:
7017         * BufferView_pimpl.C:
7018         * BufferView.h:
7019         * BufferView.C: make painter() const,
7020           remove dead code
7021
7022         * BufferView2.C: use screen() accessor
7023
7024         * lyx_main.h:
7025         * lyx_main.C: some minor cleanup
7026
7027 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7028
7029         * BufferView_pimpl.h:
7030         * BufferView_pimpl.C: remove enter/leaveView,
7031           use workHeight()
7032
7033 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7034
7035         * BufferView.h:
7036         * BufferView.C:
7037         * BufferView2.C:
7038         * BufferView_pimpl.h:
7039         * BufferView_pimpl.C: only construct screen once,
7040           rename
7041
7042         * lyxrc.C: remove pointless comment
7043
7044 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7045
7046         * BufferView.h:
7047         * BufferView.C: remove active() and belowMouse()
7048
7049         * BufferView_pimpl.h:
7050         * BufferView_pimpl.C: use workarea() not workarea_,
7051           and make it use a scoped_ptr instead
7052
7053 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7054
7055         * lyx_gui.C: add debug message on BadWindow
7056
7057 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7058
7059         * sp_spell.C: fdopen is not part of the C++ standard.
7060
7061         * paragraph.C (InsetIterator): use >= instead of ==
7062
7063 2002-06-07  Angus Leeming  <leeming@lyx.org>
7064
7065         Fixes needed to compile with Compaq cxx 6.5.
7066         * BufferView_pimpl.C:
7067         * DepTable.C:
7068         * buffer.C:
7069         * converter.C:
7070         * encoding.C:
7071         * lyx_gui.C:
7072         * lyx_main.C:
7073         * lyxtextclasslist.C:
7074         * minibuffer.C:
7075         * sp_spell.C:
7076         * tabular_funcs.C:
7077         * vc-backend.C:
7078         all c-library variables have been moved into namespace std. Wrap
7079         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7080
7081         * lyxlength.C:
7082         * tabular-old.C:
7083         * tabular.C:
7084         Add a using std::abs declaration.
7085
7086         * kbmap.h (modifier_pair):
7087         * paragraph.h (InsetTable, InsetList):
7088         * lyxfont.h (FontBits):
7089         type definition made public.
7090
7091         * bufferlist.C (emergencyWriteAll): the compiler complains that
7092         there is more than one possible lyx::class_fun template to choose from.
7093         I re-named the void specialisation as lyx::void_class_fun.
7094
7095         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7096
7097         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7098         the compiler is is unable to find tostr in write_attribute.
7099
7100 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7101
7102         * buffer.C (sgmlError): hide #warning
7103
7104 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7105
7106         * xtl/*: get rid of xtl, which is not in use anyway
7107
7108         * LyXAction.C (init):
7109         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7110         were unimplemented xtl experimentation
7111
7112 2002-06-04  André Pönitz <poenitz@gmx.net>
7113
7114         * lyxfunc.C: disable array operation on simple formulae
7115
7116 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7117
7118         * converter.C: constify a bit
7119
7120 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7121
7122         * lyx_gui.C: check xforms version correctly
7123
7124 2002-04-30  Herbert Voss  <voss@lyx.org>
7125
7126         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7127         "keep" option
7128
7129 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7130
7131         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7132           attempt to register it with a VCS)
7133
7134 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7135
7136         * lyx_main.C (init): honor variables LYX_DIR_13x and
7137         LYX_USERDIR_13x
7138
7139 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7140
7141         * buffer.h:
7142         * buffer.C:
7143         * lyx_main.C: fix a crash on bad command line,
7144           and give a useful exit status on error
7145
7146         * lyxfunc.C (doImport): allow -i lyx to work
7147
7148 2002-03-30  André Pönitz <poenitz@gmx.net>
7149
7150         * lyxfunc.C: mathed font changes
7151
7152 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7153
7154         * LaTeX.C:
7155         * importer.h:
7156         * importer.C:
7157         * lyx_sty.h:
7158         * lyx_sty.C:
7159         * lyxlex.C:
7160         * lyxrow.h:
7161         * lyxtext.h:
7162         * paragraph.h:
7163         * paragraph.C:
7164         * texrow.h:
7165         * texrow.C:
7166         * text.C:
7167         * trans_mgr.h: srcdocs, and some minor cleanups
7168
7169 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7170
7171         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7172         call getFont all the time)
7173
7174 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7175
7176         * switch from SigC signals to boost::signals
7177
7178 2002-05-29  André Pönitz <poenitz@gmx.net>
7179
7180         * paragraph_pimpl.C (getChar): don't call size() too often...
7181
7182 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7183
7184         * paragraph_pimpl.C (insertChar): do not try to update tables when
7185         appending (pos == size())
7186
7187         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7188         in order to reduce drastically the number of comparisons needed to
7189         parse a large document
7190
7191 2002-05-29  André Pönitz <poenitz@gmx.net>
7192
7193         * text.C:
7194         * text2.C:
7195         * lyxtextclass.C:
7196         * sp_pspell.h:
7197         * textclasslist.[Ch]:
7198         * sp_ispell.h: whitespace change
7199
7200 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7201
7202         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7203         lyxaction directly now.
7204
7205 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7206
7207         * trans.C:
7208         * lyxfont.C:
7209         * lyxvc.C: remove unused headers
7210
7211 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7212
7213         * Makefile.am:
7214         * buffer.h:
7215         * undostack.h:
7216         * undostack.C:
7217         * undo_funcs.h:
7218         * undo_funcs.C: some cleanups. Use shared_ptr
7219           and a template for the undo stacks.
7220
7221 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7222
7223         * BufferView_pimpl.h:
7224         * BufferView_pimpl.C:
7225         * kbmap.h:
7226         * kbmap.C:
7227         * kbsequence.h:
7228         * kbsequence.C:
7229         * lyxfunc.h:
7230         * lyxfunc.C:
7231         * text2.C: use key_state/mouse_state
7232
7233 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7234
7235         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7236         and LSubstring
7237
7238         * chset.C: change include order
7239         (loadFile): use boost regex and get rid of LRegex and LSubstring
7240
7241         * Makefile.am (BOOST_LIBS): new variable
7242         (lyx_LDADD): use it
7243
7244         * LaTeX.C: change include order.
7245         (scanAuxFile): use boost regex and get rid of LRegex and
7246         LSubstring
7247         (deplog): ditto
7248
7249 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7250
7251         * ColorHandler.h:
7252         * ColorHandler.C:
7253         * FontInfo.h:
7254         * FontInfo.C: moved to frontends/xforms/
7255
7256         * FontLoader.h:
7257         * FontLoader.C: moved into frontends for GUIIzation
7258
7259         * Makefile.am:
7260         * lyx_gui.C:
7261         * lyxfont.C:
7262         * lyxfunc.C: changes from above
7263
7264 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7265
7266         * LColor.C: remove spurious X include
7267
7268         * BufferView_pimpl.C:
7269         * Makefile.am:
7270         * font.h:
7271         * font.C:
7272         * text.C:
7273         * text2.C: move font metrics to frontends/
7274
7275 2002-05-24  Juergen Vigna  <jug@sad.it>
7276
7277         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7278         setting the undo_cursor.
7279
7280         * ParagraphParameters.h: include local includes first.
7281
7282 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7283
7284         * BufferView_pimpl.C:
7285         * BufferView_pimpl.h:
7286         * Makefile.am:
7287         * WorkArea.h:
7288         * WorkArea.C:
7289         * screen.C: move WorkArea into frontends/
7290
7291         * lyxscreen.h:
7292         * screen.C:
7293         * text.C:
7294         * BufferView.C:
7295         * BufferView2.C: move LyXScreen into frontends/
7296
7297         * lyxlookup.h:
7298         * lyxlookup.C:
7299         * lyx_gui.C: move lyxlookup into frontends/xforms/
7300
7301 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7302
7303         * BufferView2.C:
7304         * BufferView_pimpl.C:
7305         * FontLoader.C:
7306         * LyXView.h:
7307         * LyXView.C:
7308         * Makefile.am:
7309         * WorkArea.C:
7310         * XFormsView.h:
7311         * XFormsView.C:
7312         * buffer.C:
7313         * bufferlist.C:
7314         * bufferview_funcs.C:
7315         * converter.C:
7316         * importer.C:
7317         * lyx_cb.C:
7318         * lyx_gui.C:
7319         * lyx_main.C:
7320         * lyx_find.C:
7321         * lyxfunc.C:
7322         * lyxvc.C:
7323         * minibuffer.C:
7324         * text.C:
7325         * text2.C:
7326         * trans.C:
7327         * vc-backend.C: move LyX/XFormsView into frontends/
7328
7329 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7330
7331         * Makefile.am:
7332         * PainterBase.C:
7333         * PainterBase.h:
7334         * Painter.C:
7335         * Painter.h:
7336         * WorkArea.C:
7337         * WorkArea.h:
7338         * screen.C:
7339         * tabular.C:
7340         * text.C:
7341         * text2.C: move Painter to frontends/
7342
7343 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7344
7345         * buffer.C: comment out some some code that depend upon lyx_format
7346         < 220
7347
7348         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7349         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7350
7351         * buffer.h (NO_COMPABILITY): turn off compability
7352
7353         * ColorHandler.C: include scoped_array.hpp
7354
7355         * font.C: Use more specific smart_ptr header.
7356         * Painter.C: ditto
7357         * gettext.C: ditto
7358         * ShareContainer.h: ditto
7359         * lyx_main.h: ditto
7360         * kbmap.h: ditto
7361         * FontInfo.h: ditto
7362         * BufferView_pimpl.h: ditto
7363         * ColorHandler.h: ditto
7364
7365         * kbmap.C (defkey): change call to shared_ptr::reset
7366
7367 2002-05-21  Juergen Vigna  <jug@sad.it>
7368
7369         * buffer.C (insertErtContents): fix to insert ert asis if it is
7370         non empty. Skip it completely if it contains only whitespaces.
7371
7372 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7373
7374         * BufferView_pimpl.C:
7375         * BufferView2.C: clear selection on paste (bug 393)
7376
7377 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7378
7379         * DepTable.C: include ctime
7380
7381 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7382
7383         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7384
7385 2002-05-14  Juergen Vigna  <jug@sad.it>
7386
7387         * text.C (breakParagraph): fixed function to honor the keepempty
7388         layout in the right maner and also to permit the right breaking
7389         algorithm on empty or non empyt keepempty paragraphs.
7390
7391         * paragraph.C (breakParagraph): we have to check also if the par
7392         is really empty (!size()) for isempty otherwise we do the wrong
7393         paragraph break.
7394
7395 2002-05-10  Juergen Vigna  <jug@sad.it>
7396
7397         * buffer.[Ch] : The following are only changes to the ert
7398         compatibility read reading old LaTeX layout and font stuff and
7399         convert it to ERTInsets.
7400
7401         * buffer.h: added isErtInset().
7402
7403         * buffer.C (struct ErtComp): add a fromlayout bool to check
7404         if we're inside a LaTeX layout.
7405         (isErtInset): new helper function.
7406         (insertErtContents): look for other ert insets before this one
7407         and insert the contents there, so that we don't have subsequent
7408         ERT insets with nothing between them. This way we create only one
7409         inset with multiple paragraphs. Also check if we don't insert only
7410         spaces ' ' as they are ignored anyway afterwards in the .tex file
7411         so if we have only spaces we will ignore this latex part in the
7412         new file.
7413         (parseSingleLyXformat2Token \\layout): better compatibility when
7414         reading layout-latex stuff.
7415         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7416         language tag.
7417         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7418         stuff after reading the inset only get the information back from
7419         the stack.
7420
7421 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7422
7423         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7424
7425         * LaTeXFeatures.C (getBabelOptions): New method.
7426
7427 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7428
7429         * BufferView_pimpl.C (Dispatch): work around missing argument for
7430         'layout'
7431
7432 2002-05-08  Juergen Vigna  <jug@sad.it>
7433
7434         * text.C (leftMargin): handle paragraph leftindent.
7435
7436         * paragraph.C (writeFile): write the new \\leftindent tag.
7437         (validate): handle leftindent code.
7438         (TeXEnvironment): handle paragraphleftindent code again.
7439
7440         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7441
7442         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7443         for paragrap_extra indent code and new token \\leftindent.
7444         (latexParagraphs): handle the leftindent as environment.
7445
7446         * ParameterStruct.h: added leftindent support.
7447
7448         * ParagraphParameters.C (leftIndent): added support functions for
7449         the paragraph left indent.
7450
7451         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7452         more appropriate.
7453
7454 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7455
7456         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7457         inside insetERT.
7458
7459         * text.C (computeBidiTables): No bidi in insetERT.
7460
7461         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7462         in RTL documents.
7463
7464 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7465
7466         * version.C.in: pre 5
7467
7468 2002-05-02  José Matos  <jamatos@fep.up.pt>
7469         * buffer.C (makeDocBookFile): white space changes, add newline to
7470         command styles.
7471         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7472
7473         * tabular.C (docBook): fix typo.
7474
7475 2002-05-03  Juergen Vigna  <jug@sad.it>
7476
7477         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7478         change in LyXText as we can not be sure it was not freed.
7479         (drawOneRow): remove unused code.
7480
7481         * text.C (drawInset): redo the calculation of the need_break_row as
7482         it could have a row which was already freed.
7483         (draw): look at the return value of drawInset and return false if
7484         it also returned false.
7485         (paintRowText): look at the return value of draw and return false if
7486         it also returned false.
7487
7488         * lyxtext.h: added bool return type to drawInset() and draw() so that
7489         if we have a change in the row so that the rowbreak has to be redone
7490         we abort drawing as it will be called again.
7491
7492 2002-05-02  Juergen Vigna  <jug@sad.it>
7493
7494         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7495         a change in the maintext also if we're inside an inset.
7496         (Dispatch): set the cursor again after a break line and after the
7497         screen has been updated as it could be we're in a different row.
7498
7499         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7500         to set the cursor behind the pargraph with > size().
7501         (setCursor): check also for the same paragraph when checking where
7502         to put the cursor if we have a NFR inset.
7503
7504         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7505         parts of layout read further up as it still was in the wrong
7506         position.
7507
7508 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7509
7510         * screen.C (drawFromTo): change sine fullRebreak always return
7511         true.
7512
7513         * buffer.C (parseSingleLyXformat2Token): reindent some
7514
7515         * BufferView_pimpl.C (update): change since fullRebreak always
7516         return true.
7517         (Dispatch): git rid of the last hardcoded "Standard"s.
7518
7519 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7520
7521         * text2.[Ch] (fullRebreak): make it return void now that we always
7522         returned true.
7523
7524 2002-04-30  Juergen Vigna  <jug@sad.it>
7525
7526         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7527         ert compatibility check for "latex" layout.
7528
7529 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7530
7531         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7532         minipages: use col% instead of p%, and also use the current font.
7533         (makeLaTeXFile): Fix use babel condition.
7534         (parseSingleLyXformat2Token): Correct font when reading old floats.
7535
7536 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7537
7538         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7539         inserting list of floats.
7540
7541 2002-04-25  Herbert Voss  <voss@lyx.org>
7542
7543         * MenuBackend.C (expand): don't add the graphics extensions to the
7544         export menu
7545
7546 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7547
7548         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7549         non-existing layout, do not complain if it was the default layout
7550         of the original class (bug #342)
7551
7552 2002-04-24  Juergen Vigna  <jug@sad.it>
7553
7554         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7555         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7556
7557 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7558
7559         * buffer.C (getBibkeyList): If using \bibliography, return the
7560         option field with the reference itself. Enables us to provide natbib
7561         support when using \bibliography.
7562
7563 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7564
7565         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7566
7567         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7568         natbib is provided by the LaTeX class.
7569
7570 2002-04-23  Juergen Vigna  <jug@sad.it>
7571
7572         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7573         Wakeup functions.
7574
7575         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7576
7577 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7578
7579         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7580
7581         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7582         ensuremath around textordmasculine, textordfeminine and
7583         textdegree.
7584
7585 2002-04-19  Juergen Vigna  <jug@sad.it>
7586
7587         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7588         reinitializing the buffer otherwise row-dimensions may be wrong.
7589         (update): reset also the selection cursors if they do exits otherwise
7590         their x/y positions may be wrong.
7591
7592         * text2.C (cursorDown): don't enter the inset if we came from a row
7593         above and are one row over the inset.
7594
7595         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7596         really leaving an inset.
7597
7598 2002-04-18  Juergen Vigna  <jug@sad.it>
7599
7600         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7601         of the selected paragraph does not have the selected layout also if
7602         the last one had!
7603
7604         * text2.C (setLayout): fixed bug which did not change last selected
7605         paragraph.
7606
7607         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7608         changed the read and substituted \\end_float with \\end_inset!
7609
7610         * BufferView_pimpl.C (cursorPrevious):
7611         (cursorNext): fixed to make it work with rows heigher than the work
7612         area without moving the cursor only the draw of the row.
7613         (workAreaMotionNotify): fix jumping over high rows.
7614
7615 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7616
7617         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7618         Ressler.
7619
7620 2002-04-16  Juergen Vigna  <jug@sad.it>
7621
7622         * text2.C (setCursor): set also the irow().
7623         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7624         (cursorUp):
7625         (cursorDown): support for locking an inset if the x_fix value goes
7626         inside it. That way I can transverse insets too with cursor up/down.
7627
7628         * lyxrow.h: added irow helper function same as other (i) functions.
7629
7630         * BufferView_pimpl.C (cursorPrevious):
7631         (cursorNext): fixed for insets!
7632
7633 2002-04-15  Juergen Vigna  <jug@sad.it>
7634
7635         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7636         position otherwise it is wrong in some cases.
7637
7638         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7639         inside the inset before the call.
7640
7641 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7642
7643         * buffer.[Ch] (getBibkeyList): make it const.
7644
7645 2002-04-12  Juergen Vigna  <jug@sad.it>
7646
7647         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7648
7649         * text2.C (getCursorX): new helper function
7650         (setCursor): compute also ix_
7651         (setCursorFromCoordinates): set also ix.
7652
7653         * lyxcursor.h: added ix_ and helper functions.
7654
7655         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7656
7657         * buffer.C (insertStringAsLines): dont break paragraph if the this
7658         paragraph is inside an inset which does not permit it!
7659
7660         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7661         also with no chars on this paragraph.
7662         (paintRowText): only paint stuff if it's inside the workarea!
7663
7664         * paragraph.C (breakParagraph): honor keepempty flag and break the
7665         paragraph always below not above.
7666
7667         * BufferView2.C (unlockInset): update the paragraph layout on inset
7668         unlock as we changed paragraph in such a case.
7669
7670         * lyxfind.C (LyXFind): clear the former selection if not found!
7671
7672         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7673         again called in insertChar().
7674
7675         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7676         an inset which uses the whole row!
7677         (rightMargin): ditto.
7678         (insertChar): force a rebreak if we inserted an inset!
7679
7680 2002-03-28  Herbert Voss  <voss@lyx.org>
7681
7682         * lyxlength.[Ch]: add inBP() to get the right PS-point
7683         units (BigPoint). With inPixels we have rounding errors
7684
7685 2002-04-11  Juergen Vigna  <jug@sad.it>
7686
7687         * text2.C (setCursorFromCoordinates): set iy to the right value.
7688         (setCursor): add check if row->previous exists!
7689
7690         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7691         an old float_type as this was the case in the old code!
7692
7693         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7694
7695         * BufferView2.C (showLockedInsetCursor): use iy
7696         (fitLockedInsetCursor): ditto
7697
7698         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7699         locked insets as there we have the right value now.
7700
7701         * lyxcursor.C: added iy_ variable and iy functions to set to the
7702         baseline of cursor-y of the locked inset.
7703
7704         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7705         (setCursor): fixed for insets which need a full row.
7706
7707         * text.C (rowLastPrintable): don't ignore the last space when before
7708         an inset which needs a full row.
7709         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7710         as last character of a row when before a inset which needs a full row.
7711
7712 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7713
7714         * version.C.in: update date
7715
7716         * text2.C (fullRebreak): try to always return true and see what
7717         happens...
7718
7719 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7720
7721         * MenuBackend.C (expand): use Floating::listName
7722
7723         * FloatList.C (FloatList): add listName argument to the built-in
7724         floats
7725
7726         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7727         text associated with the float.
7728
7729 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7730
7731         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7732
7733 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7734
7735         * ShareContainer.h: add a couple of missing typenames.
7736
7737 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7738
7739         * lyxrc.C (getDescription): use _() correctly rather than N_().
7740
7741 2002-03-28  Herbert Voss  <voss@lyx.org>
7742
7743         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7744         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7745
7746 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7747
7748         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7749         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7750
7751 2002-03-29  Juergen Vigna  <jug@sad.it>
7752
7753         * lyxfunc.C (dispatch): add a missing fitCursor call.
7754
7755         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7756         it was scrolled by a cursor move, so return the bool status.
7757
7758         * BufferView.C (fitCursor): return the bool flag also to the outside
7759         world as this is needed.
7760
7761         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7762
7763         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7764         call the edit() as it is not needed (and wrong) IMO.
7765         (workAreaButtonPress): set the screen_first variable before evt.
7766         unlock the inset as this may change screen_first and then we have
7767         a wrong y position for the click!
7768
7769 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7770
7771         * MenuBackend.C (expand): another translation that I missed
7772
7773 2002-03-28  Juergen Vigna  <jug@sad.it>
7774
7775         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7776
7777         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7778
7779 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7780
7781         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7782
7783         * MenuBackend.C (expand): fix export/view/update when there is no
7784         document open.
7785
7786 2002-03-27  Herbert Voss  <voss@lyx.org>
7787
7788         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7789         and text%
7790
7791 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7792
7793         * bufferview_funcs.C (currentState): only show paragraph number
7794         for is DEVEL_VERSION is set.
7795
7796         * lyxfunc.C (dispatch): put warning in INFO channel
7797
7798         * MenuBackend.C (expand): translate the name of floats
7799
7800         * FloatList.C (FloatList): mark the float names for translation
7801
7802         * converter.C (convert): use LibScriptSearch
7803
7804 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7805
7806         * MenuBackend.C (defaults): fix default menu (we might as well get
7807         rid of it...)
7808
7809 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7810
7811         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7812         directory.
7813
7814 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7815
7816         * lyxvc.C: reorder includes.
7817
7818 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7819
7820         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7821           properly
7822
7823 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7824
7825         * CutAndPaste.C: change layouts earlier on paste
7826           to avoid crashing when calling getFont()
7827
7828 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7829
7830         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7831         irritating #error.
7832
7833 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7834
7835         * WorkArea.C: remove 'Pending' debug message.
7836
7837         * most files: ws cleanup
7838
7839         * buffer.[Ch]: ws changes
7840
7841         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7842
7843 2002-03-21  Juergen Vigna  <jug@sad.it>
7844
7845         * tabular.C (SetMultiColumn): collapse also the contents of the
7846         cells and set the last border right. Added a Buffer const * param.
7847
7848 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7849
7850         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7851         linking or not.
7852
7853 2002-03-19  Juergen Vigna  <jug@sad.it>
7854
7855         * text2.C (clearSelection): reset also xsel_cache.
7856
7857         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7858         where it needs to be called (John tells us to do so too :)
7859         (selectionLost): reset sel_cache.
7860
7861         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7862
7863 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7864
7865         * text2.C (setCursorIntern): put debuging code in INSETS channel
7866
7867 2002-03-19  André Pönitz <poenitz@gmx.net>
7868
7869         * lyxfunc.C: tiny whitespace change
7870
7871 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7872
7873         * ToolbarDefaults.C (init):
7874         * LyXAction.C (init):
7875         * commandtags.h:
7876         * BufferView_pimpl.C (Dispatch):
7877         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7878
7879 2002-03-19  Allan Rae  <rae@lyx.org>
7880
7881         * exporter.C (Export): removeAutoInsets before doing anything else.
7882         While I've just introduced a dependency on BufferView this really is
7883         the best place to clean the buffer otherwise you need to cleanup in
7884         a dozen places before calling export or cleanup in a dozen functions
7885         that export calls.
7886
7887         * converter.C (runLaTeX):
7888         (scanLog): Better handling of removeAutoInsets and screen updates.
7889
7890         * lyxfunc.C (dispatch): small whitespace changes
7891
7892 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7893
7894         * WorkArea.C (C_WorkAreaEvent): return a value.
7895         (event_cb): return 1 if we handled the event, 0 otherwise.
7896
7897         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7898
7899 2002-03-18  Juergen Vigna  <jug@sad.it>
7900
7901         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7902         (GetAdditionalWidth): ditto.
7903         (RightLine): ditto.
7904         (LeftLine): ditto.
7905
7906         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7907         inset if we're there actually (probably not used right now but this
7908         is the direction to go for unifying code).
7909         (paste): disable code to clear the selection.
7910
7911         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7912         inside an InsetText and move the check further up as it is in the
7913         wrong place.
7914
7915         * text2.C (pasteSelection): set a selection over the pasted text.
7916
7917 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7918
7919         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7920         and libgraphics to build on Cygwin.
7921
7922 2002-03-15  Juergen Vigna  <jug@sad.it>
7923
7924         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7925         inserting an Inset into the paragraph. I know this is not the best
7926         fix but we already use current_view in CutAndPaste so we will remove
7927         all of it's using at the same time.
7928
7929         * buffer.C (sgmlError): deactivated function till it is rewritten in
7930         the right mode, now it can create problems.
7931
7932         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7933         before accessing it.
7934
7935 2002-03-14  Juergen Vigna  <jug@sad.it>
7936
7937         * undo_funcs.C (textHandleUndo): do the right thing when updating
7938         the inset after the undo/redo.
7939
7940         * text2.C (setCursor): just some testcode for #44 not ready yet.
7941
7942         * undo_funcs.C (textHandleUndo): set the next() and previous()
7943         pointers of the paragraph to 0 before deleting otherwise we have
7944         problems with the Paragraph::[destructor].
7945
7946         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7947         on a paragraph insertion.
7948
7949 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7950
7951         * buffer.C (asciiParagraph): use += operator for char append to
7952         string.
7953
7954         * paragraph.C (getFontSettings): compare >= not just >
7955         (highestFontInRange): ditto
7956         (setFont): ditto
7957
7958 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7959
7960         * paragraph.C: change several algorithm to be more appripriate for
7961         the problem domain. This is lookip in FontList and in the InsetList.
7962
7963 2002-03-13  André Pönitz <poenitz@gmx.net>
7964
7965         * commandtags.h:
7966         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7967
7968 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7969
7970         * commandtags.h:
7971         * LyXAction.C:
7972         * lyxfunc.C:
7973         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7974
7975 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7976
7977         * Painter.C (display): anon helper function, adjust code for this
7978         change.
7979         (pixmap): remove function.
7980
7981         * Painter.h: remove private display variable.
7982
7983         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7984
7985 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7986
7987         * WorkArea.[Ch]: remove figinset_canvas cruft.
7988
7989 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7990
7991         * lyxtextclass.C (operator): add one item cache optimization.
7992
7993         * bufferlist.h: doxy changes
7994
7995         * bufferlist.C: ws changes
7996
7997         * DepTable.[Ch] (ext_exist): place const in the right spot.
7998
7999         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8000         call resizeInsets.
8001         (workAreaExpose): call resizeInsets when the with BufferView changes.
8002         (Dispatch): adjust for protectedBlank removal
8003         (specialChar): call updateInset if the insert went ok.
8004
8005         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8006         specialChar instead.
8007
8008         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8009
8010         * BufferView.h: doxy change
8011
8012         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8013
8014         * lyxtextclass.C (operator[]): remove non-const version
8015         (defaultLayout): remove non-const version
8016
8017 2002-03-12  Juergen Vigna  <jug@sad.it>
8018
8019         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8020         did resize the LyXText too.
8021
8022         * buffer.C (readLyXformat2): set layout information on newly allocated
8023         paragraphs.
8024
8025         * tabular.C (OldFormatRead): set layout information on the paragraph.
8026
8027 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8028
8029         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8030
8031 2002-03-11  Juergen Vigna  <jug@sad.it>
8032
8033         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8034         plainly wrong.
8035         (resizeCurrentBuffer): force also the insets to resize themselfes.
8036         (moveCursorUpdate): fixed up for InsetText.
8037
8038 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8039
8040         * commandtags.h:
8041         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8042         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8043         value of Dialogs::tooltipsEnabled().
8044         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8045
8046 2002-03-08  Juergen Vigna  <jug@sad.it>
8047
8048         * BufferView_pimpl.C (updateInset): update inset inside inset also
8049         if it isn't inside theLockingInset().
8050
8051 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8052
8053         * buffer.C (asciiParagraph): redo some of the word and line length
8054         handling.
8055         (getLists): look for Caption instead of caption.
8056
8057 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8058
8059         * buffer.C (Buffer): initialize niceFile to true
8060         (makeLaTeXFile):
8061         (makeLinuxDocFile):
8062         (makeDocBookFile): make sure niceFile is true on exit
8063
8064 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8065
8066         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8067
8068 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8069
8070         * LyXSendto.C: remove.
8071         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8072         * lyx_gui.C: remove now-redundant comment.
8073         * ColorHandler.h: remove forward declaration of class WorkArea.
8074         * lyxfunc.C: remove #include "WorkArea.h".
8075
8076 2002-03-07  Juergen Vigna  <jug@sad.it>
8077
8078         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8079         got moved away with the DEPM and also set the inset_owner always
8080         right which before could have been omitted.
8081
8082 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8083
8084         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8085         wanted layout is not found.
8086
8087 2002-03-07  Juergen Vigna  <jug@sad.it>
8088
8089         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8090
8091 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8092
8093         * paragraph.C (breakParagraph): use default layout not layout of
8094         prev paragraph.
8095         (Paragraph): clear ParagraphParameters.
8096
8097 2002-03-06  Juergen Vigna  <jug@sad.it>
8098
8099         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8100         otherwise it would not be a valid lenght. Fixed a special case in
8101         the minipage compatibility read where we end the document with a
8102         minipage.
8103
8104         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8105         was set as it could be 0 for InsetTexts first entry.
8106
8107 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8108
8109         * paragraph.C (writeFile): if layout is empty write out
8110         defaultLayoutName().
8111
8112         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8113         file without named layout we set layout to defaultLayoutName().
8114
8115 2002-03-06  Juergen Vigna  <jug@sad.it>
8116
8117         * CutAndPaste.C (copySelection): set layout for new paragraph.
8118
8119         * text.C (prepareToPrint): leave ERT inset left aligned
8120         (leftMargin): don't indent paragraphs inside ERT insets
8121
8122 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8123
8124         * paragraph.C (breakParagraph): dont call clear do the work manually
8125
8126         * paragraph.[Ch] (clear): remove function
8127
8128 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8129
8130         * paragraph.C (Paragraph): dont call clear, the work has already
8131         been done.
8132
8133         * lyxtextclass.C (operator): assert if n is empty
8134
8135         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8136         work manually instead.
8137
8138 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8139
8140         * BufferView_pimpl.C: protect selectionLost against text == 0
8141
8142 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8143
8144         * text.C (breakParagraph): fix a setting layout to '0' problem.
8145
8146 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8147
8148         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8149         final location of file, for the included files, and graphics.
8150
8151 2002-03-05  Juergen Vigna  <jug@sad.it>
8152
8153         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8154
8155 2002-03-04  Juergen Vigna  <jug@sad.it>
8156
8157         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8158
8159         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8160         last column of multicolumn cells.
8161         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8162
8163 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8164
8165         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8166         file if it doesn't go to a temporary file.
8167
8168         * buffer.C (sgmlOpenTag):
8169         (sgmlCloseTag):  remove extra newline insertion.
8170
8171 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8172
8173         * text.C (getRowNearY): comment out debug msg
8174
8175 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8176
8177         * text2.C: first -> first_y
8178
8179         * text.C (getRowNearY): add some attemts at a possible
8180         optimization, not working.
8181
8182         * tabular.[Ch]: add BufferParams to several function so that newly
8183         created paragraph can be initialized to he default layotu for the
8184         buffers textclass.
8185
8186         * tabular-old.C (ReadOld): add buf->params to call of Init
8187
8188         * screen.C: rename text->first to text->first_y
8189
8190         * paragraph.C (breakParagraph): always set layout in the broken
8191         paragraph
8192
8193         * lyxtextclass.C (Read): remove lowercase
8194         (hasLayout): ditto
8195         (operator): ditto
8196         (delete_layout): ditto
8197
8198         * lyxtext.h: rename first -> first_y
8199
8200         * lyxlayout.C (Read): remove lowercase
8201         (name): ditto
8202         (setName): ditto
8203         (obsoleted_by): ditto
8204
8205         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8206
8207         * buffer.C (insertErtContents): add params are to InsetERT
8208         (parseSingleLyXformat2Token): add code to check if a paragraphs
8209         layout really exist.
8210         (parseSingleLyXformat2Token): add params to several inset
8211         constructors
8212         (asciiParagraph): remove lowercase, do the layout comparisons with
8213         no_case
8214
8215         * BufferView_pimpl.C (cursorNext): first -> first_y
8216         (resizeCurrentBuffer): first -> first_y
8217         (updateScrollbar): first -> first_y
8218         (scrollCB): first -> first_y
8219         (workAreaMotionNotify): first -> first_y
8220         (workAreaButtonPress): first -> first_y
8221         (checkInsetHit): first -> first_y
8222         (cursorPrevious): first -> first_y
8223         (cursorNext): first -> first_y
8224         (Dispatch): add buffer_->params to severl inset contructors
8225
8226 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8227
8228         * lyxlayout.C (Read): remove some debug info that I forgot.
8229
8230         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8231         clean up the code slightly.
8232         (makeLinuxDocFile): ditto
8233         (makeDocBookFile): ditto
8234
8235         * text2.C: layout as string
8236
8237         * text.C: layout as string
8238
8239         * paragraph_pimpl.C: layout as string
8240
8241         * paragraph.[Ch]: layout as string
8242
8243         * lyxtextclasslist.[Ch]: layout as string
8244
8245         * lyxtextclass.[Ch]: layout as string
8246
8247         * lyxtext.h: layout as string
8248
8249         * lyxlayout.[Ch]: layout as string
8250
8251         * lyx_cb.C: layout as string
8252
8253         * bufferview_funcs.C: layout as string
8254
8255         * bufferparams.C: layout as string
8256
8257         * buffer.C: layout as string
8258
8259         * LyXView.[Ch]: layout as string
8260
8261         * LaTeXFeatures.[Ch]: layout as string
8262
8263         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8264
8265         * BufferView_pimpl.C: change current_layout to string, remove
8266         lyx::layout_type.
8267         (Dispatch):
8268         (smartQuote):
8269         (insertInset):
8270         (workAreaButtonRelease): layout as string
8271
8272         * BufferView2.C (unlockInset): adjust
8273
8274         * vspace.C (asLatexCommand): use an explict temp variable.
8275
8276 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8277
8278         * Makefile.am: use FRONTEND_*
8279
8280 2002-03-01  Juergen Vigna  <jug@sad.it>
8281
8282         * tabular.C (SetWidthOfMulticolCell): changed to something better
8283         I hope but still work in progress.
8284         (recalculateMulticolumnsOfColumn): renamed function from
8285         recalculateMulticolCells as it is more appropriate now.
8286         (SetWidthOfCell): calculate multicols better.
8287
8288 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8289
8290         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8291
8292         * lyxfunc.C (processKeySym): print sequence also if it is
8293         `deleted' (complete)
8294
8295         * kbsequence.C (print): print sequence even if it is deleted
8296         (complete would be a better word, actually).
8297
8298         * lyxfunc.C (dispatch): print complete options after a prefix key
8299
8300         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8301
8302 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8303
8304         * text2.C (setCharFont): eliminate setCharFont code duplication.
8305
8306 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8307
8308         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8309         LFUN_TABULAR_FEATURE (bug #177)
8310
8311 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8312
8313         * Makefile.am: remove figure.h
8314
8315 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8316
8317         * Bufferview_pimpl.C:
8318         * CutAndPasteC:
8319         * LaTeX.C:
8320         * LyXSendto.C:
8321         * buffer.C:
8322         * bufferlist.C:
8323         * converter.C:
8324         * language.C:
8325         * lyxfunc.C:
8326         * lyxvc.C:
8327         * paragraph.C:
8328         * text.C:
8329         * text2.C: remove #include "lyx_gui_misc.h".
8330
8331         * LaTeX.C: added #include <cstdio>
8332
8333 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8334
8335         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8336         that the paragraph following this one can have.
8337
8338         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8339
8340         * vspace.C (asLatexCommand): fix bogus gcc warning
8341
8342         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8343
8344 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8345
8346         * text2.C (setLayout): get rid of redundant code
8347
8348 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8349
8350         * text2.C (incDepth): make sure depth cannot be increased beyond
8351         reasonable values.
8352
8353 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8354
8355         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8356         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8357
8358         * PainterBase.h (image):
8359         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8360         a LyXImage const *.
8361
8362 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8363
8364         * BufferView.C:
8365         * BufferView.h:
8366         * BufferView_pimpl.C:
8367         * BufferView_pimpl.h:
8368         * LaTeXFeatures.C:
8369         * LyXAction.C:
8370         * LyXView.C:
8371         * Makefile.am:
8372         * UpdateList.h:
8373         * UpdateList.C:
8374         * buffer.C:
8375         * figure.h:
8376         * figureForm.C:
8377         * figureForm.h:
8378         * figure_form.C:
8379         * figure_form.h:
8380         * lyx_cb.C:
8381         * lyx_gui.C:
8382         * lyx_gui_misc.C:
8383         * lyxfunc.C:
8384         * sp_base.h:
8385         * sp_ispell.h:
8386         * sp_pspell.h:
8387         * sp_spell.C: remove fig inset, and the crap house of
8388           cards that follows it
8389
8390 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8391
8392         * Makefile.am:
8393         * lyxserver.C:
8394         * os2_defines.h:
8395         * os2_errortable.h:
8396         * nt_defines.h: move .h into support/
8397
8398         * vms_defines.h: remove
8399
8400         * WorkArea.C: add space in debug output
8401
8402         * text2.C:
8403         * paragraph.C:
8404         * buffer.C: add WITH_WARNINGS
8405
8406         * vc-backend.h:
8407         * vc-backend.C:
8408         * bufferlist.C: s/retrive/retrieve/, add docs
8409
8410         * vspace.h:
8411         * vspace.C:
8412         * kbmap.h:
8413         * lyxlength.h:
8414         * lyxgluelength.h:
8415         * length_common.h:
8416         * chset.h:
8417         * chset.C: add docs
8418
8419         * lyxgui.C: add ID to X error handler
8420
8421         * lyxtestclass.c: fix typo
8422
8423 2002-02-26  Juergen Vigna  <jug@sad.it>
8424
8425         * tabular_funcs.C (write_attribute): changed so that some default
8426         attributes are not written at all.
8427         (getTokenValue): set default values before trying to read the
8428         value so we have the return value always set as default if we don't
8429         find the token we search for.
8430
8431         * tabular.C (Write): write bools as bools not as strings!
8432
8433 2002-02-22  Juergen Vigna  <jug@sad.it>
8434
8435         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8436         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8437
8438         * text.C (leftMargin): don't add an indent for paragraphs inside
8439         tabular cells (fix #208).
8440
8441 2002-02-21  José Matos  <jamatos@fep.up.pt>
8442
8443         * tabular.C (docBook): fixed support for long tables.
8444
8445 2002-02-20  Juergen Vigna  <jug@sad.it>
8446
8447         * text2.C (getFont): get the drawing font of the Inset if this
8448         paragraph is inside an inset (only important for InsetERT for now).
8449
8450         * buffer.C (insertErtContents): use new lanugage params in ERT
8451         constructor.
8452
8453         * CutAndPaste.C: commenting out seemingly uneeded code.
8454
8455 2002-02-19  Allan Rae  <rae@lyx.org>
8456
8457         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8458         Iterators might be simple to use but they also get invalidated.
8459         (removeAutoInsets): renamed saved cursor tracking variables and added
8460         some comments to clarify what everything does.
8461
8462 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8463
8464         * Chktex.C:
8465         * LaTeX.C:
8466         * LyXSendto.C:
8467         * converter.C:
8468         * lyx_cb.C:
8469         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8470         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8471
8472         * lyxfunc.C:
8473         * vc-backend.h: remove #include "support/syscall.h"
8474
8475         * LaTeX.C:
8476         * LyXSendto.C:
8477         * converter.C: rearrange #includes in Lars' approved fashion.
8478
8479         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8480         forward declare class Timeout in the header file.
8481
8482         * XFormsView.C: changes due to the above.
8483
8484         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8485         similar to LyXView.
8486
8487         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8488         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8489
8490 2002-02-18  José Matos  <jamatos@fep.up.pt>
8491
8492         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8493         insets contents.
8494
8495 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8496
8497         * a lot of small ws changes
8498         * add a lot of using std::XXX
8499         * use std construcs some places where approp.
8500         * use some exisint stuff from lyxfunctional where approp.
8501         * Make file changes to use partial linking (lets test this now...)
8502
8503 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8504
8505         * Chktex.C:
8506         * buffer.C:
8507         remove #include "support/syscontr.h" as it's redundant. Always has been.
8508
8509         * Chktex.C:
8510         * LaTeX.C:
8511         * LyXSendto.C:
8512         * converter.C:
8513         * lyx_cb.C:
8514         * vc-backend.C:
8515         change Systemcalls::System to Systemcalls::Wait and
8516         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8517         No change of functionality, just reflects the stripped down Systemcalls
8518         class.
8519
8520 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8521
8522         * debug.[Ch]: add a GRAPHICS type to the enum.
8523
8524 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8525
8526         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8527
8528         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8529         there is an inset.
8530
8531 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8532
8533         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8534         match the changes below.
8535
8536         * text2.C (toggleInset): if there is not editable inset at cursor
8537         position, try to see if cursor is _inside_ a collapsable inset
8538         and close it.
8539
8540 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8541
8542         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8543         document menu has a nice checkbox
8544
8545 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8546
8547         * lyxlength.C (asLatexString): change PW to output as percent of
8548         \textwidth.
8549
8550         * lengthcommon.C: change '%' to 't%'
8551
8552         * lyxfunc.C (dispatch): a few comments from Martin
8553
8554 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8555
8556         * WorkArea.h:
8557         * WorkArea.C:
8558         * BufferView_pimpl.h:
8559         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8560           the X selection.
8561
8562 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8563
8564         * vspace.C (inPixels): fix compiler warning
8565
8566 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8567
8568         * lyxfunc.C (getStatus): fix status message for disabled commands.
8569
8570 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8571
8572         * BufferView_pimpl.C: fix crash on close buffer
8573         during selection (#227)
8574
8575 2002-01-27  Herbert Voss  <voss@lyx.org>
8576
8577         * buffer.C: link old Figure to new graphic inset
8578
8579 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8580
8581         * FontLoader.C (getFontinfo): Change the latex font names in order
8582         to match the names of type1inst.
8583
8584 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8585
8586         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8587
8588         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8589         (extchanged): ditto
8590         (ext_exist): ditto
8591         (remove_files_with_extension): ditto
8592         (remove_file): ditto
8593         (write): ditto
8594
8595         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8596         document is smaller than the work area height. Do not initialize
8597         static variables to 0.
8598
8599 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8600
8601         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8602
8603         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8604         LFUN_LAYOUT_PARAGRAPHS.
8605
8606         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8607         tabular. It is possible to provide a possible cell, which will
8608         typically be the actcell from the corresponding insettabular
8609
8610         * lyxfunc.C (getStatus): small cleanup; disable
8611         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8612         true
8613
8614 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8615
8616         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8617
8618         * paragraph.C (startTeXParParams):
8619         (endTeXParParams): new methods. The LaTeX code to
8620         start/end paragraph formatting
8621         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8622         empty (fixes bug #200)
8623
8624         * vspace.C (inPixels): adapt to the change below
8625         (inPixels): [later] more cleanups (remove unused variables)
8626
8627         * lyxlength.C (inPixels): change to use a width and a height as
8628         parameter.
8629
8630 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8631
8632         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8633         Replaced with \paperwidth
8634
8635         * DepTable.C (insert): add std:: qualifier
8636
8637 2002-01-18  Allan Rae  <rae@lyx.org>
8638
8639         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8640         updated also?
8641
8642         * text.C (drawInset): Turned out I didn't know enough about how
8643         rebreaking worked.  This fixes most of the redraw problems.  I see
8644         an occasional cursor trail when a line is broken now and the cursor
8645         placement can seem out by a few pixels also after a rebreak.
8646
8647 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8648
8649         * buffer.C (parseSingleLyXformat2Token): update because minipage
8650         width is now a LyXLength
8651
8652         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8653
8654         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8655         math insets
8656
8657 2002-01-17  Juergen Vigna  <jug@sad.it>
8658
8659         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8660
8661         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8662         is set correctly and the inset is updated correctly.
8663
8664 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8665
8666         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8667         the beginning of the loop.
8668
8669 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8670
8671         * lyxrc.C: improve help for use_scalable_fonts
8672
8673 2002-01-17  Allan Rae  <rae@lyx.org>
8674
8675         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8676
8677 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8678
8679         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8680         make sure to set their inset_owner to the right value (bug #171)
8681
8682 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8683
8684         * DepTable.h
8685         * DepTable.C: Implement mtime checking to reduce time spent doing
8686         CRCs.
8687
8688 2002-01-16  Juergen Vigna  <jug@sad.it>
8689
8690         * tabular.C (GetAdditionalHeight): one of error fixed.
8691
8692         * lyxrc.C (output): small fix in writing use_pspell.
8693
8694 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8695
8696         * sp_base.h: #include LString.h
8697
8698 2002-01-16  Allan Rae  <rae@lyx.org>
8699
8700         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8701         Can someone check this please?
8702
8703         * text.C (drawInset): It was possible that p.row would be removed by
8704         breakAgainOneRow upsetting a few other settings.  There may be another
8705         small tweak possible by setting need_break_row = 0 when p.row has been
8706         removed but I don't know enough about the logic here.
8707
8708 2002-01-15  Allan Rae  <rae@lyx.org>
8709
8710         * text.C (insertChar): removed conditional truism.
8711
8712         * BufferView2.C (removeAutoInsets): More tweaks.
8713         cur_par_prev could be a stray pointer.  Check for trailing empty line
8714         in case last line was cur_par and only had an error inset on it.
8715
8716 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8717
8718         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8719         absolute
8720
8721         * vc-backend.C (most methods):
8722         * exporter.C (Export):
8723         * converter.C (convert):
8724         (runLaTeX):
8725         * LyXSendto.C (SendtoApplyCB):
8726         * lyxfunc.C (dispatch):
8727         (menuNew):
8728         (open):
8729         (doImport):
8730         * lyx_cb.C (AutoSave):
8731         (InsertAsciiFile):
8732         * BufferView_pimpl.C (MenuInsertLyXFile):
8733         * buffer.C (runChktex): use Buffer::filePath().
8734
8735         * buffer.h: rename filename to filename_; rename filepath to
8736         filepath_ and make it private
8737         (filePath): new method
8738
8739         * buffer.C (writeFile): use fileName()
8740         (getLatexName):
8741
8742         * lyx_main.C (init): fix starting  of LyX when the binary is a
8743         link from so,ewhere else.
8744
8745         * minibuffer.C: include <cctype> for isprint
8746
8747 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8748
8749         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8750         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8751         name clash with InsetCollapsable's width function.
8752
8753 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8754
8755         * lastfiles.C: include <iterator>
8756
8757 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8758
8759         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8760         std::count.
8761
8762         * buffer.C (makeLaTeXFile): ditto.
8763         Also make loop operation more transparent.
8764
8765 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8766
8767         * ToolbarDefaults.C: remove trailing comma closing namespace.
8768
8769         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8770
8771         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8772         as in WorkArea.
8773
8774         * trans.C (Load): comment out unused variable, allowed.
8775
8776 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8777
8778         * minibuffer.[Ch] (append_char): new method to recieve input from the
8779         drop-down completion browser. If a key was pressed, then recieve this
8780         char and append it to the existing string.
8781         (peek_event): modify the positioning data passed to the completion
8782         browser so that it can be placed above the minibuffer rather than below.
8783 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8784
8785         * LyXAction.C (init): alloe error-next for readonly documents.
8786
8787         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8788         count.
8789
8790 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8791
8792         * bufferlist.C (readFile): create the buffer _after_ checking that
8793         the file exists.
8794
8795         * lyxfunc.C (verboseDispatch): fix handling of arguments
8796
8797         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8798
8799         * lyxrc.C: use string::erase() instead of initializing to "".
8800
8801
8802 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8803
8804         * BufferView_pimpl.h:
8805         * BufferView_pimpl.C:
8806         * WorkArea.h:
8807         * WorkArea.C:
8808         * text2.C: tell X when we have made a selection for copying
8809
8810 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8811
8812         * BufferView_pimpl.C (MenuInsertLyXFile):
8813         * lyxfunc.C (menuNew):
8814         (open):
8815         (doImport): add shortcuts to directory buttons
8816
8817         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8818         open a float)
8819
8820         * lyxfunc.C (setStatusMessage):
8821         (getStatusMessage): new methods
8822         (getStatus):use setStatusMessage instead of setErrorMessage
8823         (dispatch): when function is disabled, set error message here
8824         [instead of in getStatus previously]
8825
8826         * BufferView_pimpl.C (workAreaButtonRelease): update
8827         toolbar/menubar here too.
8828
8829 2002-01-13  Allan Rae  <rae@lyx.org>
8830
8831         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8832         Now seems indestructible.  Remaining task is to audit all other
8833         code affected by deleteEmptyParagraphMechanism.  One small quirk
8834         left is that an empty document with an error in the preamble can
8835         be made to report an error but no error box appears.  I don't know
8836         where it goes.
8837         (removeAutoInsets): Improved comments.
8838
8839 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8840
8841         * Thesaurus.h:
8842         * Thesaurus.C: update for Aiksaurus 0.14
8843
8844 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8845
8846         * text2.C (firstParagraph): removed member function, all uses
8847         replaces with ownerParagraph
8848         (redoParagraphs): here
8849         (updateInset): here
8850         (toggleAppendix): here
8851         * BufferView2.C (insertErrors): here
8852         (setCursorFromRow): here
8853
8854 2002-01-13  Allan Rae  <rae@lyx.org>
8855
8856         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8857         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8858         There is still a way to segfault this although you may have to do this
8859         multiple times: Have an InsetERT with an unknown command in it.
8860         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8861         <down-arrow>, <Enter> again, View->DVI, BANG!
8862
8863         * text2.C (setCursor):
8864         (deleteEmptyParagraphMechanism):
8865         * lyxtext.h (setCursor):
8866         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8867         Making use of the return value may help fix other bugs.
8868
8869 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8870
8871         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8872
8873         * LyXView.C (updateMenubar): call MenuBar::update here
8874         (updateToolbar): but not here
8875         (showState): do not update toolbar/menubar
8876
8877         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8878         should need to care about that.
8879
8880         * lyxfunc.C (verboseDispatch): simplify a bit
8881         (getStatus): have a version which takes a pseudoaction, and
8882         another which requires a (kb_action,string).
8883
8884         * LyXAction.C (retrieveActionArg): make it work also when action
8885         is not a pseudo-action.
8886         (getActionName): simplify a bit
8887         (helpText):
8888
8889 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8890
8891         * lyxfunc.C (verboseDispatch): new families of methods with
8892         several ways to specify a command and a bool to indicate whether
8893         the command name and shortcut should be displayed in minibuffer
8894         (eventually, we could extend that to a finer bitmask like
8895         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8896         (dispatch): the pristine dispatch command which just, well,
8897         dispatchs! Note it still sets its result to minibuffer; I'm not
8898         sure we want that.
8899
8900         * lyxfunc.h: remove setHintMessage
8901
8902         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8903
8904 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8905
8906         * BufferView_pimpl.C (specialChar): delete new inset if we have
8907         not been able to insert it.
8908
8909         * kbmap.C: revert to using int instead of kb_action, since all we
8910         are dealing with is pseudo-actions.
8911
8912         * LyXAction.C (searchActionArg): change to return int instead of
8913         kb_action, since the result is a pseudoaction.
8914
8915 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8916
8917         * buffer.C (insertErtContents): Fix (partially) the font bug.
8918
8919 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8920
8921         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8922         as the other one is broken on my machine!
8923
8924 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8925
8926         * commandtags.h:
8927         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8928
8929 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8930
8931         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8932         reflect their actual use. Provide compatibility code for older lyxrc
8933         files.
8934
8935         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8936         FL_NORMAL_STYLE.
8937         change names of popup font variables in line with the changes to lyxrc.C
8938
8939 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8940
8941         * buffer.C (asciiParagraph): avoid outputing a word twice after
8942         an inset.
8943
8944         * lyxrc.C (getDescription): document that document_path and
8945         template_path can be empty.
8946
8947 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8948
8949         * LaTeXFeatures.C (getMacros):
8950         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8951
8952         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8953
8954         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8955         getPackages.
8956         (getPackages): rename feature "floats" to "float". Use an array to
8957         iterate over 'simple' features (i.e. just a \usepackage). Add
8958         handling of "amsmath" (renamed from "amsstyle").
8959
8960 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8961
8962         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8963         features list.
8964
8965 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8966
8967         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8968         FuncStaus::FuncStatus & FuncStaus::some_method().
8969
8970 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8971
8972         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8973         of the func_satus stuff. Edited and massaged in various ways by
8974         JMarc.
8975
8976         * lyxfunc.C (getStatus): use FuncStatus
8977
8978 2002-01-08  Juergen Vigna  <jug@sad.it>
8979
8980         * text.C (nextBreakPoint): use function Inset::isChar().
8981
8982         * paragraph.C (TeXOnePar): use function
8983         Inset::forceDefaultParagraphs.
8984
8985         * buffer.C (latexParagraphs): use function
8986         Inset::forceDefaultParagraphs.
8987
8988 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8989
8990         * lyx_gui.C (init): set the style of the menu popups to
8991         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8992
8993 2002-01-07  Juergen Vigna  <jug@sad.it>
8994
8995         * text.C (setHeightOfRow): small fix
8996         (prepareToPrint): don't look at alignment if we don't have the place
8997         for doing it.
8998
8999 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9000
9001         * box.C: New file. Move the Box methods and functions out of box.h,
9002         following Lars' suggestion.
9003
9004 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9005
9006         * box.h: #include "support/LOstream.h", needed for inlined function.
9007
9008         * lyxtextclass.C:
9009         * lyxtextclasslist.C: added some using std declarations.
9010
9011 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9012
9013         * box.h: make signed dimensions to allow insets wider than
9014           the screen (bug #162)
9015
9016         * BufferView_pimpl.C: add some insetHit debug
9017
9018 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9019
9020         * vc-backend.C: add FIXME
9021
9022 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9023
9024         * lyxfunc.C (getStatus): enable code for showing math font status
9025         in toolbar/menu.
9026
9027 2002-01-07  Juergen Vigna  <jug@sad.it>
9028
9029         * text.C (nextBreakPoint): removed debug output not needed anymore.
9030
9031 2002-01-06  Juergen Vigna  <jug@sad.it>
9032
9033         * text.C (nextBreakPoint): fixed up this function we had this bug
9034         since ever but now hopefully we break row better.
9035         (insertChar): we have to check if an inset is the next char as it
9036         could now happen that a large inset is causing a break.
9037
9038 2002-01-05  Juergen Vigna  <jug@sad.it>
9039
9040         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9041         if it doesn't like to be drawed.
9042
9043 2002-01-04  Juergen Vigna  <jug@sad.it>
9044
9045         * BufferView2.C (lockInset): forgot to set a cursor.
9046
9047         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9048
9049 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9050
9051         * FormMathsPanel.C:
9052         * FormMathsPanel.h
9053         * MathsSymbols.C:
9054         * form_maths_panel.C:
9055         * form_maths_panel.h:
9056         * form_maths_panel.fd: implemented sub- and super- buttons in math
9057         panel.
9058
9059         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9060         (or ^ space) to be used as in TeX (req'd by André).
9061
9062         * lyxfunc.C: Allow ^ and _ again to be used both as
9063         super/subscript (mathed) and as themselves (in text).
9064
9065 2002-01-03  Allan Rae  <rae@lyx.org>
9066
9067         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9068         "LyX" or the filename of the current buffer if it has one.  This is a
9069         modified form of John Levon's patch.
9070
9071         * XFormsView.C (setWindowTitle): also set icon title.
9072
9073         * LyXView.h (setWindowTitle): signature changed.
9074         * XFormsView.h (setWindowTitle): ditto.
9075
9076 2002-01-02  Juergen Vigna  <jug@sad.it>
9077
9078         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9079
9080 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9081
9082         * screen.C (topCursorVisible): introduce a temp var for
9083         text->cursor.row(), handle the case where this row is null. (kindo
9084         hachish)
9085
9086         * text2.C (setCursor): add a couple of asserts.
9087
9088         * paragraph.h (inset_iterator): add -> operator
9089
9090         * paragraph.[Ch] (autoDeleteInsets): remove member function
9091
9092         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9093         cursor pos correctly and handle inset deletion by itself.
9094         (insertErrors): move iterator declaration out of for expression
9095
9096         * lyxtextclass.C: add <algorithm>
9097
9098         * Makefile.am: added the new files to sources, removed layout.C
9099
9100         * layout.C: removed file
9101
9102         * layout.h: remove LYX_DUMMY_LAYOUT
9103
9104         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9105         layout.
9106
9107         * lyxlayout.[Ch]:
9108         * lyxtextclass.[Ch]:
9109         * lyxtextclasslist.[Ch]: new files
9110
9111         * include order changes to a lot of files, also changes because of
9112         the six new files.
9113
9114 2001-12-27  Juergen Vigna  <jug@sad.it>
9115
9116         * buffer.C (asciiParagraph): more fixes.
9117
9118         * tabular.C (ascii): make ascii export support export of only the
9119         data separated by a column-delimiter.
9120         (ascii): better support for ascii export.
9121
9122         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9123
9124 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9125
9126         * tabular_funcs.C: use a "using std::getline" instead of the
9127         previous fix from Angus (necessary for cxx + lyxstring)
9128
9129 2001-12-24  Juergen Vigna  <jug@sad.it>
9130
9131         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9132
9133         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9134         problems. First check a minipage also if we have some ert-contents
9135         (not only on par->size(), second set the right depth of the paragraph
9136         on the relink to the root-paragraph-list!
9137
9138         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9139         which then did not anymore update the main paragraphs on undo/redo!
9140
9141 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9142
9143         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9144         code. Support all font-changing funcs (even those which are not in
9145         menu currently). Support for reporting font settings in
9146         mathed (disabled until Andre provides a function on mathed's side).
9147
9148         * func_status.h (toggle): small helper function to set toggle
9149         state on a flag.
9150
9151 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9152
9153         * tabular_funcs.C: getline -> std::getline
9154
9155 2001-12-21  Juergen Vigna  <jug@sad.it>
9156
9157         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9158         accessed and could be 0 (I couldn't generate this but it seems
9159         Michael could!).
9160
9161 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9162
9163         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9164         * tabular_funcs.h: here and include iosfwd
9165
9166 2001-12-20  Juergen Vigna  <jug@sad.it>
9167
9168         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9169         inside inset but undo_par was.
9170
9171 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9172
9173         * Thesaurus.C: always include <config.h> in sources.
9174
9175         * Painter.h:
9176         * lyxlookup.h:
9177         * box.h: do not include <config.h> in header files
9178
9179         * text.C (paintLastRow): remove unused variable
9180
9181         * text.C (transformChar):
9182         (insertChar):
9183         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9184
9185         * Painter.C (text):
9186         * font.C (width): rewrite to use uppercase() instead of
9187         islower/toupper.
9188
9189         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9190
9191 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9192
9193         * lyxfind.C: clean up of find failure position change
9194
9195 2001-12-20  Juergen Vigna  <jug@sad.it>
9196
9197         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9198
9199         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9200         (TeXRow): added to LaTeX a single tabular row.
9201         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9202         (Latex): simplified and finally good LT-h/f support.
9203         (various_functions): just small adaptions for LT-h/f support.
9204
9205         * tabular_funcs.[hC]: added and moved here all not classfunctions
9206         of LyXTabular.
9207
9208 2001-12-19  Juergen Vigna  <jug@sad.it>
9209
9210         * tabular.[Ch]: better support for longtabular options (not finished
9211         yet!)
9212
9213 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9214
9215         * text.C (paintLastRow): use the label font instead of the font of
9216         the last character to compute the size of *_BOX. This makes more
9217         sense and avoids a crash with empty paragraphs.
9218         Use Painter::rectangle to draw EMPTY_BOX.
9219
9220 2001-12-19  Juergen Vigna  <jug@sad.it>
9221
9222         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9223         the paragraphs if the replaced paragraph is not the first one!
9224         Tried to delete not used paragraphs but does not work yet so for
9225         now it's inside #ifdef's and by default off!
9226
9227 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9228
9229         * MenuBackend.C: include "lyx_main.h" instead of declaring
9230         lastfiles (actually was declared as LastFiles* instead of a
9231         scoped_ptr).
9232
9233 2001-12-17  Juergen Vigna  <jug@sad.it>
9234
9235         * tabular.C (AppendColumn): applied John's fix
9236
9237 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9238
9239         * BufferView.h:
9240         * BufferView.C:
9241         * BufferView_pimpl.h:
9242         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9243
9244         * Makefile.am:
9245         * box.h: new start of class for above
9246
9247         * lyxfunc.C: ignore space-only minibuffer dispatches.
9248           Show the command name when it doesn't exist
9249
9250         * minibuffer.C: don't add empty lines to the history
9251
9252         * minibuffer.C: add a space on dropdown completion
9253
9254 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * text.C: fix line above/below drawing in insets
9257
9258 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9259
9260         * lyxlength.C (LyXLength): Initialize private variables.
9261
9262 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9263
9264         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9265         when inserting error insets.
9266
9267 2001-12-13  Juergen Vigna  <jug@sad.it>
9268
9269         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9270         actually sometimes the before-paragraph.
9271         (setUndo): don't clear the redostack if we're not actually undoing!
9272
9273 2001-12-06  Juergen Vigna  <jug@sad.it>
9274
9275         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9276         and fixed redoing of main paragraph, so we can use it now ;)
9277
9278         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9279
9280 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9281
9282         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9283         Juergen's request
9284
9285 2001-12-13  André Pönitz <poenitz@gmx.net>
9286
9287         * undostack.[Ch]:
9288         * undo_func.C: minor cleanup
9289
9290 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9291
9292         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9293         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9294         font in urw-fonts package which is marked as -urw-fontspecific and
9295         does not work (incidentally, changing the encoding in the
9296         fonts.dir of this package to -adobe-fontspecific fixes the
9297         problem).
9298
9299         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9300         is a crash when undoing first paragraph (Juergen, please take a
9301         look). THis does not mean the undo fix is wrong, just that it
9302         uncovers problems.
9303
9304         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9305         the (Paragraph*) version when needed instead of duplicating the
9306         code.
9307
9308         * text.C (workWidth): use Inset::parOwner to find out where the
9309         inset has been inserted. This is a huge performance gain for large
9310         documents with lots of insets. If Inset::parOwner is not set, fall
9311         back on the brute force method
9312
9313         * paragraph_pimpl.C (insertInset):
9314         * paragraph.C (Paragraph):
9315         (cutIntoMinibuffer): set parOwner of insets when
9316         inserting/removing them
9317
9318         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9319
9320 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9321
9322         * commandtags.h:
9323         * LyXAction.C:
9324         * lyx_main.C:
9325         * lyxfunc.C:
9326         * mathed/formulabase.C:
9327         * mathed/math_cursor.[Ch]:
9328         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9329
9330
9331 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9332
9333         * lyxlength.[Ch] (operator!=): new function
9334
9335 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * text.C (workWidth): use Inset::parOwner to find out where the
9338         inset has been inserted. This is a huge performance gain for large
9339         documents with lots of insets. If Inset::parOwner is not set, fall
9340         back on the brute force method
9341
9342         * paragraph_pimpl.C (insertInset):
9343         * paragraph.C (Paragraph):
9344         (cutIntoMinibuffer): set parOwner of insets when
9345         inserting/removing them
9346
9347         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9348
9349 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9350
9351         * tabular-old.C (getTokenValue):
9352         * tabular.C (getTokenValue):
9353         (write_attribute): new versions for LyXLength
9354         (everywhere): adjust the use of widths
9355
9356         * tabular.h: change the type of widths from string to LyXLength
9357
9358 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9359
9360         * paragraph.C: fixed missing line number count when exporting
9361         Environments to LaTeX file
9362
9363         * buffer.C: added informational message for checking line numbers.
9364
9365 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9366
9367         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9368         paragraph, do the 'double space' part, but not the 'empty
9369         paragraph' one.
9370
9371         * text.C (workWidth): small optimization
9372         (getLengthMarkerHeight): use minimal size for negative lengths.
9373
9374 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9375
9376         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9377
9378         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9379
9380 2001-12-11  André Pönitz <poenitz@gmx.net>
9381
9382         * FontLoader.C:
9383         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9384
9385 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9386
9387         * text2.C: keep selection on a setFont()
9388
9389 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9390
9391         * lyx_cb.C: another bv->text misuse, from insert label
9392
9393 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9394
9395         * kbsequence.h:
9396         * kbsequence.C: re-instate nmodifier mask
9397
9398 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9399
9400         * lyx_main.h: make lyxGUI private.
9401
9402 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9403
9404         * lyxfind.C: place the cursor correctly on failed search
9405
9406 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9407
9408         * text.C (getLengthMarkerHeight): for small heights, the arrows
9409         are not always on top/bottom of the text
9410         (drawLengthMarker): smaller arrows; take the left margin in
9411         account; draw also vfills.
9412         (paintFirstRow):
9413         (paintLastRow): remove special code for vfill and standard spaces,
9414         since everything is handled in drawLengthMarker now.
9415
9416 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9417
9418         * buffer.C (insertErtContents): try to handle font and language
9419         interaction a bit better.g
9420
9421         * ColorHandler.C (updateColor): change the hash to cover the whole
9422         LColor enum, ws cleanup
9423         (getGCLinepars): ditto
9424         (getGCLinepars): only lookup in the linecache once.
9425
9426 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9427
9428         * iterators.C (operator++): Make the iterator more robust
9429
9430         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9431         (John's patch)
9432         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9433
9434 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9435
9436         * lyxtext.h:
9437         * text.C: better added space drawing
9438
9439 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * LyXView.C:
9442         * BufferView2.C: fix layout combo update on inset unlock
9443
9444 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9445
9446         * Makefile.am: don't compile unused files
9447
9448 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9449
9450         * lyxfunc.C:
9451         * commandtags.h:
9452         * LyXAction.C: remove old LFUN_LAYOUTNO
9453
9454 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9455
9456         * paragraph_pimpl.h:
9457         * paragraph_pimpl.C: isTextAt() doesn't need font param
9458
9459 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9460
9461         * lyxlex.h:
9462         * lyxlex.C: little cleanup
9463
9464 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9465
9466         * BufferView_pimpl.C: fix insertAscii for insets
9467
9468 2001-12-05  Juergen Vigna  <jug@sad.it>
9469
9470         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9471         set the right font on the "multi" paragraph paste!
9472
9473 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9474
9475         * trans_decl.h:
9476         * trans_mgr.[Ch]:
9477         * trans.[Ch]:
9478         * lyxgluelength.C:
9479         * lyxlength.C: remove out-commented code.
9480
9481         * BufferView_pimpl:
9482         * CutAndPaste.C:
9483         * DepTable.C:
9484         * buffer.C:
9485         * chset.C:
9486         * lastfiles.C:
9487         * lyxlex.C:
9488         * lyxlex_pimpl.C:
9489         * lyxserver.C:
9490         * screen.C:
9491         * tabular-old.C:
9492         * tabular.C:
9493         * text.C:
9494         * trans_mgr.C:
9495         * vc-backend.C: change "while(" to "while ("
9496
9497         * lyxlength.[Ch]: add zero function to check if length is zero or
9498         not
9499         * lyxgluelength.C: use it
9500
9501 2001-12-05  Allan Rae  <rae@lyx.org>
9502
9503         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9504         Works for 2.95.3, from what I understand of Garst's reports this should
9505         work for other g++ versions.  We're screwed if the abs(int) definition
9506         changed between bugfix releases of gcc.
9507
9508 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9509
9510         * text.C: fix chapter label offset !
9511
9512 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * lyxtext.h:
9515         * text.C: fix hfill at end of line, clean up
9516
9517 2001-12-04  Juergen Vigna  <jug@sad.it>
9518
9519         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9520         that we force an update of the inset and it's owners if neccessary.
9521
9522 2001-12-03  Juergen Vigna  <jug@sad.it>
9523
9524         * text.C (rowLast): simplified code
9525
9526 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9527
9528         * lyxfunc.C: fix show options on timeout
9529
9530 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9531
9532         * screen.C (topCursorVisible): scroll half a page when the cursor
9533         reached top of bottom of screen
9534
9535 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9536
9537         * minibuffer.C: deactivate on loss of focus
9538
9539 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9540
9541         * vspace.[Ch] (operator!=): add operator.
9542
9543 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9544
9545         * BufferView_pimpl.C: refuse to open an inset when
9546         there's a selection.
9547
9548 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9549
9550         * BufferView_pimpl.C: allow to click on RHS of full row insets
9551
9552 2001-11-30  Juergen Vigna  <jug@sad.it>
9553
9554         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9555         insets for undo reasons.
9556
9557 2001-11-28  André Pönitz <poenitz@gmx.net>
9558
9559         * vspace.[Ch]: cosmetical changes
9560
9561 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9562
9563         * LyXAction.h:
9564         * LyXAction.C:
9565         * lyxfunc.h:
9566         * lyxfunc.C:
9567         * kbmap.h:
9568         * kbmap.C:
9569         * lyxrc.C:
9570         * kbsequence.h:
9571         * kbsequence.C: part re-write of old kb code
9572
9573         * Painter.C:
9574         * WorkArea.C: remove Lgb_bug_find_hack
9575
9576 2001-11-30  José Matos <jamatos@fep.up.pt>
9577
9578         * buffer.C (makeDocBookFile): add a comment to point a hack.
9579         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9580         Fixed a double write of labels.
9581
9582 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9583
9584         * LaTeX.C:
9585         * LaTeX.h Fixed bug in LaTeX class where it would not
9586         re-run latex if no depfiles were changed, but the .dvi was removed.
9587
9588 2001-11-28  André Pönitz <poenitz@gmx.net>
9589
9590         * all the files from the change on 2001/11/26:
9591         use lyx::layout_type instead of LyXTextClass::size_type
9592         use lyx::textclass_type instead of LyXTextClassList::size_type
9593
9594 2001-11-29  Juergen Vigna  <jug@sad.it>
9595
9596         * text.C: added support for paragraph::isFreeSpacing()
9597
9598         * buffer.C: same as above
9599
9600         * paragraph.h: inserted isFreeSpacing() function to enable
9601         FreeSpacing inside InsetERT.
9602
9603         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9604         of the paragraph's in the cut/copy buffer to 0!
9605
9606         * text2.C (removeRow): remove the assert as it can!
9607
9608         * lyxtext.h: added helper function firstRow returning firstrow and
9609         made firstrow private again.
9610
9611         * BufferView2.C (lockInset): don't relock if we're already locked!
9612
9613         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9614         the only paragraph.
9615         (removeRow): added Assert::(firstrow)
9616
9617         * debug.C: forgot to add INSETTEXT here.
9618
9619 2001-11-28  Juergen Vigna  <jug@sad.it>
9620
9621         * sp_spell.C (initialize): changed error text to more general
9622         spellchecker command use (not only ispell!)
9623
9624         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9625
9626         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9627
9628 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9629
9630         * vspace.C: initialise lyxgluelength on failure
9631
9632 2001-11-28  Allan Rae  <rae@lyx.org>
9633
9634         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9635         declaration & definition that looks like a function declaration.
9636
9637 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9638
9639         * BufferView2.C (copy):
9640         (copyEnvironment): do not clear the selection when doing a copy.
9641
9642         * text.C (paintFirstRow): compilation fix
9643
9644 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9645
9646         * tabular.C (Latex): correct line count when writing latex.
9647
9648 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9649
9650         * paragraph_pimpl.h:
9651         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9652           bug a bit
9653
9654 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9655
9656         * text.C:
9657         * LColor.h:
9658         * LColor.C: change vfillline->added_space
9659
9660         * text.C: add markers and text for added space
9661
9662         * vspace.C: fix comment
9663
9664 2001-11-28  André Pönitz <poenitz@gmx.net>
9665
9666         * paragraph.C: whitespace changes
9667         * all the other files from the change on 2001/11/26:
9668         change *::pos_type into lyx::pos_type
9669
9670 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9671
9672         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9673         language of the document when inserting error insets.
9674
9675 2001-11-26  André Pönitz <poenitz@gmx.net>
9676
9677         * BufferView_pimpl.[Ch]:
9678         *       CutAndPaste.C:
9679         * buffer.[Ch]:
9680         * lyxcursor.[Ch]:
9681         * lyxfind.C:
9682         * lyxfunc.C:
9683         * lyxrow.[Ch]:
9684         * paragraph.[Ch]:
9685         * paragraph_pimpl.[Ch]:
9686         * sp_spell.C:
9687         * text.C:
9688         * text2.C: reduce header dependencies, introduce type for positions
9689
9690 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9691
9692         * <various>: change to use Alert.h
9693
9694 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9695
9696         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9697         when encountering an unknown token.
9698         (readLyXformat2): Show an error message if there were unknown tokens.
9699
9700 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9701
9702         * BufferView2.C:
9703         * BufferView_pimpl.C:
9704         * buffer.C:
9705         * paragraph.h:
9706         * text.C:
9707         * text2.C: use par->isInset()
9708
9709 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9710
9711         * paragraph_pimpl.h:
9712         * paragraph_pimpl.C: cleanup
9713
9714 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9715
9716         * text2.C (removeRow):
9717         * text.C (setHeightOfRow): remove useless (and costly) call to
9718         getRow.
9719
9720 2001-11-20  Allan Rae  <rae@lyx.org>
9721
9722         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9723         Now need Inset*::checkInsertChar() to return true for appropriate
9724         cases so that the characters in the minibuffer will actually be
9725         inserted.
9726
9727 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9728
9729         * text.C: change the order of the includes.
9730         (workWidth): initialize it at once.
9731         (workWidth): make maxw unsigned
9732         (setHeightOfRow): remove unused variable (inset)
9733         (selectSelectedWord): remove unused variable (inset)
9734         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9735
9736 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9737
9738         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9739         server is not running.
9740         (openConnection):
9741         (closeConnection): add debug info when server is disabled.
9742
9743         * ColorHandler.C (getGCForeground): send debug message to GUI
9744         channel.
9745
9746         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9747
9748         * kbmap.C (bind): modify because return conventions of
9749         kb_sequence::parse have changed.
9750
9751         * kbsequence.C (parse): only ignore spaces and not any stupid
9752         control character. This avoids tests like s[i] <= ' ', which are
9753         guaranteed to fail with 8bit characters and signed chars.
9754         Change return code to string::npos when there have been no error
9755         (0 was a bad idea when error is at first character)
9756
9757 2001-11-14  José Matos  <jamatos@fep.up.pt>
9758
9759         * buffer.h:
9760         * buffer.C (simpleDocBookOnePar): removed unused argument.
9761
9762 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9763
9764         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9765         insets which are part of a word. Paragraph::isLetter takes care of
9766         that now. Use Paragraph::isInset to identify insets.
9767         (selectSelectedWord): do not test for hyphenation break.
9768
9769         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9770         that protected spaces are considered as spaces.
9771
9772         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9773         Inset::isLetter.
9774
9775 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9776
9777         * lyxserver.h:
9778         * lyxserver.C: fix it. and small cleanup.
9779
9780 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9781
9782         * BufferView_pimpl.C: use inline helpers
9783
9784         * LaTeXFeatures.h:
9785         * LaTeXFeatures.C: fix typos
9786
9787         * Spacing.h:
9788         * Spacing.C: move spacing_string into class
9789
9790         * ToolbarDefaults.C: move stuff into namespace anon
9791
9792         * layout.h: update enum
9793
9794         * lyxfunc.C: use better debug
9795
9796         * minibuffer.h: fix typo
9797
9798         * debug.h:
9799         * debug.C:
9800         * WorkArea.C: add and use Debug::WORKAREA
9801
9802         * lyxtext.h:
9803         * text.C:
9804         * text2.C: code re-organisation, inline helpers
9805
9806 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9807
9808         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9809         std::vector.empty().
9810
9811 2001-11-09  Allan Rae  <rae@lyx.org>
9812
9813         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9814         '\n's after tables.  Tabular and ERT inset work now makes this no
9815         longer necessary.
9816
9817 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9818
9819         * minibuffer.h:
9820         * minibuffer.C: fix crash, improve drop-down completion
9821
9822 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9823
9824         * lyxserver.h:
9825         * lyxserver.C: invalidate fd's when doing endPipe()
9826
9827 2001-11-08  José Matos  <jamatos@fep.up.pt>
9828
9829         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9830         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9831
9832         * paragraph.h:
9833         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9834
9835 2001-11-07  José Matos  <jamatos@fep.up.pt>
9836
9837         * buffer.h:
9838         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9839         const qualifier.
9840
9841         * buffer.C (sgmlOpenTag):
9842         * buffer.C (sgmlCloseTag): removed debug info.
9843
9844         * buffer.h (sgmlOpenTag):
9845         * buffer.h (sgmlCloseTag): made public.
9846
9847 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9848
9849         * buffer.C (saveParamsAsDefaults):
9850         * lyx_cb.C (MenuLayoutSave): remove
9851
9852         * LyXAction.C (init):
9853         * commandtags.h:
9854         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9855
9856 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9857
9858         * buffer.C (setPaperStuff): removed from here...
9859
9860         * bufferparams.C (setPaperStuff): ... and moved there.
9861
9862 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9863
9864         * minibuffer.h:
9865         * minibuffer.C:
9866         * XFormsView.C: add support for drop-down completion
9867
9868 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9869
9870         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9871         commands.
9872
9873 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9874
9875         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9876         disabled.
9877
9878 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9879
9880         * lyx_main.C: change ref to known bugs
9881
9882 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9883
9884         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9885         to work around older babel problems.
9886
9887 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9888
9889         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9890
9891 2001-10-24  Juergen Vigna  <jug@sad.it>
9892
9893         * tabular-old.C (ReadOld): below variable changes reflected.
9894
9895         * tabular.[Ch]: added ltType struct for longtable header/footer
9896         defines and changed all instances where they are used. Added
9897         future support for double top/bottom rows.
9898
9899 2001-10-24  José Matos  <jamatos@fep.up.pt>
9900
9901         * buffer.h (docbookHandleCaption):
9902         * buffer.C (docbookHandleCaption): removed unused function.
9903         (makeDocBookFile): moved docbook supported version to v4.1.
9904
9905 2001-10-24  José Matos  <jamatos@fep.up.pt>
9906
9907         * tabular.h:
9908         * tabular.C (docbookRow): new function to export docbook code of a row.
9909         (DocBook): now honors the longtable flags.
9910
9911 2001-10-23  José Matos  <jamatos@fep.up.pt>
9912
9913         * LaTeXFeatures.h:
9914         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9915         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9916
9917         * buffer.C (makeLinuxDocFile):
9918         (makeDocBookFile): reworked the preamble, more clean, and with
9919         support for lyx defined entities. Changed the document declaration
9920         to be more XML friendly.
9921
9922         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9923         if we need to output XML that should be done with a filter.
9924
9925 2001-10-22  Juergen Vigna  <jug@sad.it>
9926
9927         * sp_pspell.h (class PSpell): add alive function needed in the
9928         controller to see if the spellchecker could be started.
9929
9930 2001-10-22  Juergen Vigna  <jug@sad.it>
9931
9932         * buffer.C (insertStringAsLines): modify the font for inserting
9933         chars in certain conditions by calling checkInsertChar(font).
9934
9935 2001-10-19  Juergen Vigna  <jug@sad.it>
9936
9937         * text.C (workWidth): use getRow instead of wrong algorithm.
9938         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9939
9940 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * lyxserver.h:
9943         * lyxserver.C:
9944         * lyx_main.h:
9945         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9946
9947 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9948
9949         * text.C (workWidth): do not search for the exact row when
9950         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9951         optimization for big documents.
9952
9953 2001-10-18  Juergen Vigna  <jug@sad.it>
9954
9955         * text.C (workWidth): new function with added Inset * parameter.
9956
9957 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9958
9959         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9960
9961         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9962         change return type of getColumnNearX.
9963
9964
9965         * text.C (changeRegionCase): use uppercase/lowercase instead of
9966         toupper/tolower.
9967         (leftMargin):
9968         (rightMargin): simplify code by factoring out the uses of
9969         textclasslist.
9970         (labelFill):
9971         (numberOfHfills):
9972         (setHeightOfRow):
9973         (appendParagraph): use Paragraph::size_type
9974
9975 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9976
9977         * vspace.C (asLatexString): add a missing break
9978
9979 2001-10-15  Herbert Voss  <voss@perce.de>
9980
9981         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9982
9983 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9984
9985         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9986         is not available.
9987
9988 2001-10-10  André Pönitz <poenitz@gmx.net>
9989
9990         * lyxfunc.C: removed greek_kb_flag.
9991
9992 2001-10-10  Herbert Voss  <voss@perce.de>
9993
9994         * lyx_main.C: delete global string help_lyxdir.
9995
9996 2001-10-09  Herbert Voss  <voss@perce.de>
9997
9998         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9999
10000         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10001
10002         * lyx_main.C: added global string help_lyxdir.
10003
10004         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10005
10006 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10007
10008         * lyxrc.C (set_font_norm_type): support iso8859-4
10009
10010 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10011
10012         * LaTeX.C (deplog): add another regex for MikTeX
10013
10014 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10015
10016         * lyxrc.C (set_font_norm_type): support iso8859-3
10017
10018 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10019
10020         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10021
10022         * LaTeXFeatures.C: remove special case of french and index
10023
10024         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10025         before \begin{document}). This solves several incompatibilities.
10026
10027 2001-10-03  Garst Reese  <reese@isn.net>
10028
10029         * lyx_cb.C: change CheckTex error msg.
10030
10031 2001-10-03  José Matos  <jamatos@fep.up.pt>
10032
10033         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10034
10035 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10036
10037         * .cvsignore: update
10038
10039         * lyx_main.C (commandLineVersionInfo): use new style version info.
10040
10041         * buffer.C (writeFile):
10042         (makeLaTeXFile):
10043         (makeLinuxDocFile):
10044         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10045
10046         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10047
10048         * version.h: update to use stuff in version.C
10049
10050         * version.C.in: new file. Contains version information determined
10051         at compile time. This is a merging of version.h and
10052         version_info.h.in.
10053
10054 2001-10-03  Juergen Vigna  <jug@sad.it>
10055
10056         * BufferView_pimpl.C (update): don't change "dirty" status in
10057         updateInset call.
10058
10059 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10060
10061         * WorkArea.C (c-tor): re-position version string slightly.
10062
10063 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10064
10065         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10066         revert to previous code.
10067
10068         WorkArea.[Ch]: (show, destroySplash): methods removed.
10069
10070         WorkArea.C: rework code so that it's an amalgam of the codes before and
10071         after the splash screen was moved to WorkArea.
10072
10073 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10074
10075         * lyxrc.C (read):
10076         * vspace.C (inPixels):
10077         (lyx_advance):
10078         * kbmap.C (bind):
10079         * buffer.C (insertStringAsLines):
10080         (asciiParagraph): fix types to be large enough
10081
10082         * lyxlex_pimpl.h: change member status from short to int
10083
10084         * layout.h: fix type of endlabeltype
10085
10086         * kbmap.C (bind):
10087         * kbsequence.C (parse): change return type to string::size_type
10088
10089         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10090         variable
10091
10092         * Bullet.C (bulletSize):
10093         (bulletEntry): do not use short ints as parameters
10094
10095         * BufferView2.C (insertLyXFile): change a char to an int.
10096
10097         * WorkArea.C (WorkArea): remove unneeded floats in computation
10098
10099 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10100
10101         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10102
10103         * paragraph.C (asString): Do not ignore newline/hfill chars when
10104         copying to the clipboard.
10105
10106 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10107
10108         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10109         after a multi-line inset.
10110
10111 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10112
10113         * paragraph.C (validate): Set NeedLyXFootnoteCode
10114
10115 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10116
10117         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10118         and decrease-error to decrease.
10119
10120 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10121
10122         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10123         it more readable (should be equivalent)
10124
10125 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10126
10127         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10128
10129 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10130
10131         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10132         of a cursor (row, etc.) after a character has been deleted
10133         (deleteEmptyParagraphMechanism): call the method above on _all_
10134         cursors held by the LyXText when a double space has been
10135         detected/deleted.
10136
10137 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10138
10139         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10140         pixmap.
10141         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10142
10143         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10144         background. Use greyOut() and the new show() methods to toggle between
10145         the foreground and background. Add code to remove the splash after
10146         its initial showing.
10147
10148         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10149         (create_forms): no longer call Dialogs::showSplash.
10150
10151 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10152
10153         * .cvsignore: add version_info.h
10154
10155 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10156
10157         * version_info.h.in: new file
10158
10159         * Makefile.am: add version_info.h.in
10160
10161         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10162         version_info.h instead of VERSION_INFO
10163
10164 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10165
10166         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10167         The ERT inset now returns string().
10168
10169 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10170
10171         * lyxtext.h, text.C (selectNextWord): renamed as
10172         selectNextWordToSpellcheck.
10173
10174         * text.C (selectNextWordToSpellcheck): Modified to not select
10175         words inside an ERT inset.
10176
10177 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10178
10179         * lyx_cb.C (MenuLayoutSave): change a bit the question
10180
10181         * sp_base.h: include <sys/types.h>
10182
10183 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10184
10185         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10186
10187 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10188
10189         * several files: fix typos in user-visible strings
10190
10191 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10192
10193         * text2.C (pasteSelection): do not set the selection, since it
10194         will be cleared later. Actually, the intent was to fix the way the
10195         selection was set, but I figured rmoving the code was just as good.
10196
10197 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10198
10199         * FontLoader.C (available): Check if font is available without
10200         loading the font.
10201
10202 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10203
10204         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10205
10206 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10207
10208         * lyxrc.[Ch]: added display_graphics variable and associated code.
10209
10210 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10211
10212         * bufferparams.C (hasClassDefaults): new method. Returns true if
10213         the buffer parameters correspond to known class defaults
10214
10215 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10216
10217         * XFormsView.C (show): set minimum size to the main window.
10218
10219 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10220
10221         * text2.C (copySelection):
10222         (cutSelection):
10223         * lyxfind.C (LyXReplace):
10224         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10225         LyXText::selectionAsString.
10226
10227         * paragraph.C (asString): add "label" argument to the second form
10228
10229         * text2.C (selectionAsString): add "label" argument and pass it to
10230         Paragraph::asString.
10231
10232 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10233
10234         * lyx_main.C (commandLineHelp): remove version information
10235
10236 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10237
10238         * lyx_main.C: add -version commandline option
10239
10240 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10241
10242         * paragraph.h: make the optional constructor arg required instead.
10243         some modifications to other files because of this.
10244
10245         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10246
10247         * lyxserver.C (C_LyXComm_callback): make it static
10248
10249         * lyx_main.C (error_handler): make it static
10250
10251         * lyx_gui.C (LyX_XErrHandler): make it static
10252
10253         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10254
10255         * WorkArea.C: make the extern "C" methods static.
10256
10257         * Makefile.am (lyx_LDADD): simplify
10258
10259 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10260
10261         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10262         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10263
10264         * LyXAction.C (init):
10265         * lyxfunc.C (dispatch): associated code removal.
10266
10267 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10268
10269         * lyxfont.h (isSymbolFont): shut off warning
10270
10271         * text.C (setHeightOfRow):
10272         (getVisibleRow): fix crash with empty paragraphs which have a
10273         bottom line
10274
10275 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10276
10277         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10278         code.
10279
10280 2001-09-04  José Matos  <jamatos@fep.up.pt>
10281         * buffer.C
10282         * buffer.h
10283         * tabular.C (docbook): rename docBook method to docbook.
10284
10285 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10286
10287         * Makefile.am: add dependencies to main.o.
10288
10289 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10290
10291         * FontLoader.C (available): Return false if !lyxrc.use_gui
10292
10293 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10294
10295         * FontInfo.C (query):
10296         * converter.C (view):
10297         * importer.C (Import):
10298         * exporter.C (Export): Can not -> cannot.
10299
10300 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10301
10302         * BufferView_pimpl.C: allow to create index inset even if
10303           string is empty
10304
10305 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10306
10307         * buffer.C (getLists): replace boost::tie code with an explicit pair
10308         as boost::tie can break some compilers.
10309
10310         * iterators.h: Added a std:: declaration to the return type of
10311         ParIterator::size.
10312
10313 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10314
10315         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10316           case.
10317
10318 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10319
10320         * iterators.[Ch]: New files. Provide paragraph iterators.
10321
10322         * buffer.C (changeLanguage): Use paragraph iterators.
10323         (isMultiLingual): ditto
10324
10325         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10326
10327 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10328
10329         * FontLoader.C: Support for cmr font.
10330
10331 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10332
10333         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10334         (available): New method.
10335
10336         * FontInfo.C (getFontname): Use scalable fonts even when
10337         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10338         found.
10339
10340 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10341
10342         * converter.C (Formats::view): reverted! Incorrect fix.
10343
10344 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10345
10346         * converter.C (Formats::view): only output the -paper option
10347         if the dvi viewer is xdvi, thereby fixing bug #233429.
10348
10349 2001-08-23  Herbert Voss  <voss@perce>
10350
10351         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10352
10353 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10354
10355         * Spacing.h (Spacing): Set space to Default on in the default
10356         constructor.
10357
10358 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10359
10360         * vc-backend.h (RCS::versionString): add RCS to version
10361         (CVS::versionString): add CVS to version
10362
10363         * vc-backend.C (scanMaster): do not add CVS to version.
10364         (scanMaster): do not add RCS to version
10365
10366         * lyxvc.C (versionString): new method
10367
10368         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10369
10370 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10371
10372         * Spacing.C (set): initialize fval
10373
10374 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10375
10376         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10377         " or \.
10378
10379 2001-08-16  Juergen Vigna  <jug@sad.it>
10380
10381         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10382
10383 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10384
10385         * BufferView_pimpl.C:
10386         * figureForm.C:
10387         * lyxtext.h:
10388         * text2.C: setParagraph takes linespacing now
10389
10390 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10391
10392         * LyxAction.C: add internal LFUN_CITATION_INSERT
10393
10394         * LyXView.C: actually apply fix
10395
10396         * bufferlist.C: fix open non-existent file
10397
10398         * lyxfind.C: fix indentation
10399
10400         * lyxfunc.C: remove unneeded assert, fix typo
10401
10402 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10403
10404         * MenuBackend.C: use "Floatname List"
10405
10406 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10407
10408         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10409         when converting LaTeX layout to insetERT.
10410         Generate a non-collapsed float when reading old float
10411
10412 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10413
10414         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10415         ERT insets.
10416
10417 2001-08-13  Juergen Vigna  <jug@sad.it>
10418
10419         * text.C (fill): return 0 instead of 20 as this seems to be the more
10420         correct value.
10421
10422 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10423
10424         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10425         lyxrc.font_norm.
10426
10427 2001-08-13  Juergen Vigna  <jug@sad.it>
10428
10429         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10430         casesensitive off.
10431         (SearchBackward): comment out the unlocking of the inset_owner this
10432         should not be needed!
10433
10434 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10435
10436         * Many files: Remove inherit_language, and add latex_language
10437
10438         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10439         collapsible insets.
10440
10441 2001-08-10  Juergen Vigna  <jug@sad.it>
10442
10443         * text.C (prepareToPrint): fixed hfill-width in draw!
10444
10445         * BufferView2.C (selectLastWord): save the selection cursor as this
10446         now is cleared in the function LyXText::clearSelection!
10447
10448 2001-08-08  Juergen Vigna  <jug@sad.it>
10449
10450         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10451         BACKSPACE type functions.
10452
10453         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10454         is only cutted from the document but not put in the cut-buffer, where
10455         still the old stuff should be.
10456
10457         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10458
10459         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10460
10461         * tabular.C (SetWidthOfCell): fixed special case where the width
10462         was not updated!
10463         (LeftLine): handle '|' in align_special.
10464         (RightLine): ditto
10465         (LeftAlreadyDrawed): ditto
10466         (SetWidthOfCell): ditto
10467
10468 2001-08-07  Juergen Vigna  <jug@sad.it>
10469
10470         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10471
10472 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10473
10474         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10475         * lyxlex.[hC]: ditto
10476
10477 2001-08-06  Juergen Vigna  <jug@sad.it>
10478
10479         * text.C (getVisibleRow): fix up row clearing a bit.
10480
10481 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10482
10483         * minibuffer.C: make sure the X server sees the changes in the input.
10484
10485 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10486
10487         * paragraph.C (getFont): split into...
10488         (getLabelFont): this
10489         (getLayoutFont): and this
10490         * paragraph_pimpl.C (realizeFont): calling this
10491
10492         * text2.C (getFont): split into...
10493         (getLayoutFont): this
10494         (getLabelFont): and this
10495         (realizeFont): all three calling this
10496
10497         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10498         files where used.
10499
10500 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10501
10502         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10503
10504 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10505
10506         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10507         layouts from the Quote inset insertion.
10508
10509 2001-08-03  Juergen Vigna  <jug@sad.it>
10510
10511         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10512
10513         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10514         only if status not is already CHANGED_IN_DRAW (second level).
10515
10516         * text.C (draw): don't set the need_break_row when inside an
10517         InsetText LyXText.
10518
10519 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10520
10521         * buffer.C (parseSingleLyXformat2Token): handle more latex
10522         conversion cases.
10523
10524         * bufferview_funcs.[hC]: change function names to
10525         begin with small char, adjust other files.
10526
10527 2001-08-02  André Pönitz <poenitz@gmx.net>
10528
10529         * lyxfunc.C:
10530         BufferView_pimpl.C: remove broken special code for math-greek
10531
10532 2001-08-02  Juergen Vigna  <jug@sad.it>
10533
10534         * BufferView_pimpl.C (update): redone this function so that we
10535         update the text again if there was a CHANGE_IN_DRAW.
10536
10537         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10538         (drawFromTo): added a new internal bool which is used by draw() and
10539         redraw() function.
10540         (general): some cursor drawing problems fixed.
10541
10542 2001-08-01  Juergen Vigna  <jug@sad.it>
10543
10544         * lyxfind.C (LyXFind): fixed
10545         (SearchForward): ditto
10546         (SearchBackward): ditto
10547
10548         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10549         spurius drawing of the cursor in the main area.
10550
10551         * text2.C (status): small fix which could lead to a segfault!
10552         (clearSelection): remove unneeded BufferView param.
10553
10554 2001-08-01  André Pönitz <poenitz@gmx.net>
10555
10556         * lyxfunc.C: small change due to changed mathed interface
10557
10558 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10559
10560         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10561
10562 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * lyxfunc.c: fail gracefully if file doesn't exist
10565
10566         * LyXSendto.C:
10567         * buffer.C:
10568         * lyxfunc.C:
10569         * BufferView_pimpl.C: IsDirWriteable() proto changed
10570
10571         * LyXView.C: fix updateWindowTitle() to store the last title
10572
10573 2001-07-31  Juergen Vigna  <jug@sad.it>
10574
10575         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10576         the font (wrong since using of Paragraph::highestFontInRange).
10577
10578         * paragraph.C (highestFontInRange): added a default_size parameter.
10579
10580         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10581         (setHeightOfRow): reformat
10582
10583 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10584
10585         * converter.[hC] + affected files: move to (inital-char)lowercase
10586         function names.
10587
10588         * ParagraphParameters.C (ParagraphParameters): remove commented code
10589
10590         * PainterBase.[Ch]: remove commented code
10591
10592         * LaTeXFeatures.h: add "bool floats" for float.sty
10593
10594         * LaTeXFeatures.C (LaTeXFeatures): init floats
10595         (require): handle float
10596         (getPackages): do it with floats
10597
10598 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10599
10600         * BufferView_pimpl.C (Dispatch): improve handling of
10601         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10602
10603         * commandtags.h: #include lyxfont.h here temporarily to avoid
10604         keybinding bug.
10605
10606         * bufferlist.h: include LString.h here.
10607
10608 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10609
10610         * text2.C (getStringToIndex): new method.
10611
10612 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10613
10614         * *: Reduced header file dependencies all over.
10615
10616 2001-07-30  Baruch Even  <baruch@lyx.org>
10617
10618         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10619
10620 2001-07-29  Baruch Even  <baruch@lyx.org>
10621
10622         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10623
10624 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10625
10626         * ParameterStruct.h (endif): add a default constructor to make
10627         sure that all variables is initialized.
10628
10629         * ParagraphParameters.C (ParagraphParameters): adjust
10630
10631 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10632
10633         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10634         index; also, check that there is something to index, and that it
10635         does not span over several paragraphs.
10636         (doubleClick): use WHOLE_WORD_STRICT for double click.
10637
10638         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10639
10640         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10641         scheme.
10642
10643 2001-07-26  Baruch Even  <baruch@lyx.org>
10644
10645         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10646         an InsetFig figure, backwards compatible reading of old figure code.
10647
10648 2001-07-27  Juergen Vigna  <jug@sad.it>
10649
10650         * text2.C: font.realize function adaption.
10651
10652         * text.C (draw): add a warnings lyxerr text if needed.
10653
10654         * layout.C: font.realize function adaption.
10655
10656         * language.C: add inherit_language and implement it's handlings
10657
10658         * bufferview_funcs.C (StyleReset): remove language parameter from
10659         font creation (should be language_inherit now).
10660
10661         * bufferparams.C (writeFile): handle ignore_language.
10662
10663         * paragraph.C (getFontSettings): the language has to be resolved
10664         otherwise we have problems in LyXFont!
10665
10666         * lyxfont.C (lyxWriteChanges): added document_language parameter
10667         (update): removed unneeded language parameter
10668
10669         * paragraph.C (validate): fixed wrong output of color-package when
10670         using interface colors for certain fonts in certain environments,
10671         which should not seen as that on the final output.
10672
10673 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10674
10675         * BufferView_pimpl.C:
10676         * Thesaurus.h:
10677         * Thesaurus.C:
10678         * Makefile.am:
10679         * commandtags.h:
10680         * LyXAction.C: add thesaurus support
10681
10682         * lyxfind.h:
10683         * lyxfind.C: add "once" parameter, for thesaurus, to not
10684           move to the next match
10685
10686 2001-07-26  Juergen Vigna  <jug@sad.it>
10687
10688         * lyxfont.C (realize): honor ignore_language too!
10689         (resolved): ditto.
10690
10691         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10692
10693         * text.C (draw): one place more for ignore_language to not draw
10694         itself!
10695
10696 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10697
10698         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10699
10700 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10701
10702         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10703         the minipage conversion problem.
10704
10705 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10706
10707         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10708         insert an inset.
10709
10710 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10711
10712         * BufferView.h: don't forward declare WorkArea
10713
10714         * BufferView.C: don't include WorkArea.h
10715
10716 2001-07-25  André Pönitz <poenitz@gmx.net>
10717
10718         * commandtags.h:
10719         * LyXAction.C:
10720         * lyxfunc.C:  new LFUN 'math-space'
10721
10722         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10723
10724 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10725
10726         * text2.C (toggleInset): call open/close
10727
10728 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10729
10730         * lyxfunc.C (dispatch): add debug for the disabled case
10731
10732         * font.C (buttonText): make similar to rectText
10733
10734         * buffer.C (readInset): comment out parsing of insetlist and
10735         insttheorem
10736
10737         * PainterBase.C (rectText): small correction
10738
10739         * BufferView_pimpl.C: comment out insettheorem and insetlist
10740         * LyXAction.C: ditto
10741         * commandtags.h: ditto
10742
10743 2001-07-24  Juergen Vigna  <jug@sad.it>
10744
10745         * text.C (draw): honor the ignore_language.
10746
10747         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10748
10749 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10750
10751         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10752         char inset.
10753
10754 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10755
10756         * lyxtext.h: remove unused (and unimplemented) methods
10757
10758 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10759
10760         * text.C (getVisibleRow): honor background color
10761
10762         * PainterBase.h:
10763         * Painter.h: remove default color argument for fillRectangle
10764
10765         * text.C (backgroundColor): new method
10766
10767 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10768
10769         * text.C (getVisibleRow): adjust
10770
10771         * font.[Ch] (rectText): new method, metrics
10772         (buttonText): new method, metrics
10773
10774         * PainterBase.[hC]: make rectText and buttonText always draw and take
10775         fewer paramteres.
10776
10777 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10778
10779         * ToolbarDefaults.C (read):
10780         * MenuBackend.C (read): allow escaping in all strings
10781
10782         * BufferView_pimpl.C (insertAndEditInset): new method.
10783         (Dispatch): use insertAndEditInset whenever appropriate.
10784
10785         * BufferView_pimpl.C (insertNote): removed
10786
10787         * BufferView_pimpl.C (smartQuote): new method, moved from
10788         BufferView; if an insetquote cannot be inserted, insert a '"'
10789         character instead.
10790
10791         * BufferView2.C: remove insertCorrectQuote();
10792
10793         * lyxfunc.C (getStatus): Add support for all remaingin
10794         inset-insert lfuns.
10795
10796         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10797
10798         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10799         command (necessary to pass " as parameter of self-insert.
10800
10801         * text.C (selectWordWhenUnderCursor):
10802         (selectWord): add word_location parameter
10803         (selectWordWhenUnderCursor): same + remove special code for word
10804         boundary.
10805         (selectNextWord): use kind() to guess type of insetspecialchar,
10806         not latex().
10807
10808         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10809         (insertErtContents): create ert insets as collapsed.
10810         (readInset): better compatibility code for Info inset.
10811
10812 2001-07-20  Juergen Vigna  <jug@sad.it>
10813
10814         * lyxfunc.C (dispatch): use always LyXFind now!
10815
10816         * text2.C (init): add a reinit flag so that the LyXText can be
10817         reinited instead of deleted and reallocated (used in InsetText).
10818
10819         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10820
10821         * text.C: ditto
10822
10823         * text2.C: ditto
10824
10825 2001-07-18  Juergen Vigna  <jug@sad.it>
10826
10827         * text.C (selectNextWord): handle insets inside inset by calling
10828         always the bv->text functions so that we can go up the_locking_inset!
10829
10830         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10831         in strange locations when inside an inset!
10832
10833         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10834         handling to include insets.
10835
10836         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10837
10838 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10839
10840         * LyXAction.C (init):
10841         * commandtags.h:
10842         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10843         LIGATURE_BREAK, since the name is so stupid.
10844
10845 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10846
10847         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10848         InsetInfos.
10849
10850         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10851
10852         * sp_form.[Ch]: remove.
10853
10854         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10855
10856         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10857         InsetInfo.
10858
10859         * src/buffer.C (readInset): ditto.
10860
10861 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10862
10863         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10864         menuSeparator(), endOfSentenceDot(), ldots() and
10865         hyphenationPoint(), which are therefore removed.
10866         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10867
10868         * LyXAction.C (init):
10869         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10870
10871         * paragraph.C (getWord): removed.
10872
10873         * BufferView_pimpl.C (Dispatch): use last word or selection for
10874         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10875
10876         * lyx_main.C (queryUserLyXDir): do not ask before creating
10877         user_dir, except if it has been named explicitely.
10878
10879 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10880
10881         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10882         a document of zero size.
10883
10884 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10885
10886         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10887         approriately in the c-tor and in require().
10888         (getPackages): output the appropriate LaTeX for natbib support.
10889
10890         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10891         variables "use_natbib" and "use_numerical_citations" when reading the
10892         LyX file.
10893         (readInset): read the various natbib cite commands.
10894         (validate): white-space change.
10895
10896         * bufferparams.[Ch]: new variables "bool use_natbib" and
10897         "bool use_numerical_citations".
10898         (writeFile): output them in the LyX file.
10899
10900 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10901
10902         * lyxfunc.C (getStatus): add support for all the inset insertion
10903         commands.
10904
10905         * text2.C (insertInset):
10906         * paragraph.C (insetAllowed):
10907         * BufferView_pimpl.C (insertInset): update to take in account the
10908         renaming of insertInsetAllowed
10909
10910         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10911
10912         * text2.C (getInset): new method. returns inset at cursor position.
10913
10914         * BufferView_pimpl.C (Dispatch): changes because of this.
10915
10916         * LyXAction.C (init): rename open-stuff to inset-toggle.
10917
10918         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10919
10920         * text2.C (toggleInset): renamed from openStuff; use
10921         Inset::open().
10922
10923 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10924
10925         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10926
10927         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10928
10929 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10930
10931         * buffer.C (readLyXformat2): Add filename to the error dialog
10932
10933 2001-07-18  Juergen Vigna  <jug@sad.it>
10934
10935         * tabular.C (GetCellNumber): put an assert here instead of the check!
10936
10937 2001-07-17  Juergen Vigna  <jug@sad.it>
10938
10939         * BufferView_pimpl.C (toggleSelection): adapted too.
10940
10941         * text.C (selectNextWord): adapted for use with insets.
10942         (selectSelectedWord): ditto
10943
10944 2001-07-17  Juergen Vigna  <jug@sad.it>
10945
10946         * sp_spell.C (PSpell): fix initialitation order.
10947
10948 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10949
10950         * paragraph.C: spacing
10951
10952 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10953
10954         * sp_spell.C: repair language selection for pspell
10955
10956 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10957
10958         * lyxfunc.h: change more methods to begin with lower char.
10959
10960 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10961
10962         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10963         for unknown layouts.
10964
10965 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10966
10967         * buffer.C (readLyXformat2): Generate an error dialog if there are
10968         unknown layouts.
10969
10970 2001-07-16  Juergen Vigna  <jug@sad.it>
10971
10972         * sp_spell.C: always compile ISpell part.
10973
10974         * lyxrc.C: added use_pspell entry and it's handling.
10975
10976 2001-07-13  Juergen Vigna  <jug@sad.it>
10977
10978         * sp_spell.C: removed double includes.
10979
10980 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10981
10982         Consistent use of Lsstream.h:
10983         * Lsstream.h: added using std::stringstream for consistencies sake.
10984
10985         * buffer.C: removed using std::stringstream
10986
10987         * lyxfont.C (stateText):
10988         * paragraph.C (asString):
10989         * text.C (selectNextWord, selectSelectedWord):
10990         * text2.C (setCounter):
10991         * vspace.C (asString, asLatexString):
10992         std::ostringstream -> ostringstream.
10993
10994 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10995
10996         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10997         * commandtags.h: add LFUN_HELP_ABOUTLYX
10998         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10999
11000 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11001
11002         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11003         cursorToggle()
11004         * lyx_gui_misc.C: remove spellchecker
11005         * lyxfunc.C: showSpellchecker
11006         * sp_base.h: added
11007         * sp_ispell.h: added
11008         * sp_pspell.h: added
11009         * sp_spell.C: added
11010         * sp_form.[Ch]: removed
11011         * spellchecker.[Ch]: removed
11012
11013 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11014
11015         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11016         is set.
11017         (simpleTeXSpecialChars): Simply print the input character without
11018         any special translation if pass_thru is set.
11019
11020         * layout.h: Added bool pass_thru to layout class for being able to
11021         implement pass through of a paragraph for Literate Programming.
11022
11023         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11024         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11025         * layout.C (Read): add "passthru" to list of layout tags and add
11026         code to set the pass_thru boolean when it is read.
11027
11028 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11029
11030         * trans_decl.h: remove allowed from KmodInfo
11031
11032         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11033         remove allowed code
11034         (Load): adjust
11035
11036         * paragraph_pimpl.C (erase): use boost::prior
11037
11038         * Painter.C (text): use data() instead of c_str() when length is
11039         also provided.
11040         * WorkArea.C (putClipboard): ditto
11041         * font.h (width): ditto
11042
11043         * BufferView2.C: use it-> instead of (*it). for iterators
11044         * texrow.C: ditto
11045         * paragraph_pimpl.C: ditto
11046         * paragraph.C: ditto
11047         * minibuffer.C: ditto
11048         * language.C: ditto
11049         * kbmap.C: ditto
11050         * encoding.C: ditto
11051         * counters.C: ditto
11052         * converter.C: ditto
11053         * chset.C: ditto
11054         * Variables.C: ditto
11055         * TextCache.C: ditto
11056         * MenuBackend.C: ditto
11057         * LyXAction.C: ditto
11058         * LColor.C: ditto
11059         * FloatList.C: ditto
11060         * DepTable.C: ditto
11061         * ColorHandler.C (LyXColorHandler): ditto
11062
11063 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11064
11065         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11066
11067         * text2.C (openStuff): reintroduce this method (which had been
11068         nuked in NEW_INSETS frenzy).
11069
11070         * lyxfunc.C (Dispatch): when an action has not been handled, use
11071         its name in the error message, not its number.
11072
11073         * paragraph.C (inInset): change method name to begin with lowercase.
11074
11075         * undo_funcs.C:
11076         * text2.C: updates because of this.
11077
11078 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11079
11080         * ToolbarDefaults.C (add): add spaces in error message
11081
11082 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11083
11084         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11085         (readLyXformat2): rename return_par to first_par, use lyxlex's
11086         pushToken and remove the manual push handling.
11087         (parseSingleLyXformat2Token): add another ert comp. variable:
11088         in_tabular, rename return_par to first_par. handle newlines better
11089
11090 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11091
11092         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11093
11094 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11095
11096         * text2.C (getParFromID): removed
11097
11098         * buffer.C (getParFromID): new method moved form lyxtext.
11099         * BufferView2.C (insertErrors): adjust
11100         (setCursorFromRow): adjust
11101         * BufferView_pimpl.C (restorePosition): adjust
11102         * lyxfunc.C (Dispatch): adjust
11103         * undo_funcs.C (textUndo): adjust
11104         (textRedo): adjust
11105         (textHandleUndo): adjust
11106         (textHandleUndo): adjust
11107
11108 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11109
11110         * buffer.C: up' the LYX_FORMAT
11111
11112         * lyxfont.h: turn NO_LATEX on as default
11113
11114         * buffer.C (insertErtContents): new methods of tex style compability.
11115         (parseSingleLyXformat2Token): use it several places.
11116         * tabular.C (OldFormatRead): and here
11117
11118 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11119
11120         * text2.C: remove some commented code.
11121         reindent file.
11122
11123         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11124         * trans.C: changes because of the above.
11125
11126 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11127
11128         * text2.C (setCounter): Fix counters bug with bibliography layout.
11129
11130 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11131
11132         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11133         own member functions
11134         (simpleTeXSpecialChars): ditto
11135
11136 2001-07-06  Juergen Vigna  <jug@sad.it>
11137
11138         * a lot of files: changed the access to LyXText::status and the
11139         call of undo-functions.
11140
11141         * undo.[Ch]: added a inset_id to the undo informations.
11142
11143         * undo_funcs.[Ch]: added and moved here all undo functions.
11144
11145         * lyxtext.h: give the status enum a weight, made status_ a private
11146         variable and made accessor functions for it, removed the whole bunch
11147         of undo-functions as they are now in their own file, make some
11148         functions publically available. Added function ownerParagraph with
11149         int parameter.
11150
11151         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11152         made InInset() a const function, added getParFromID() function.
11153
11154         * buffer.[Ch]: added const version for inset_iterator functions,
11155         added getInsetFromID() function.
11156
11157         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11158         changed undo functions for new version.
11159
11160 2001-07-05  Juergen Vigna  <jug@sad.it>
11161
11162         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11163         unknow mechanism does not call the proper constructor but only this
11164         one also if I request the other!?
11165
11166 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11167
11168         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11169
11170         * text2.C (LyXText): use initialization lists.
11171
11172         * lyxtext.h (Selection): initialize set_ and mark_
11173         (init): remove method
11174
11175 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11176
11177         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11178
11179 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11180
11181         * screen.[Ch]: change method names to begin with lowercase
11182
11183         * BufferView_pimpl.C (updateScrollbar): simplify further and
11184         hopefully make it a bit faster.
11185
11186 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11187
11188         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11189         calling directly xforms functions.
11190
11191         * Painter.C (Painter):
11192         * lyx_cb.C (MenuWrite):
11193         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11194         fl_display.
11195
11196         * lyx_gui.C: remove bogus guiruntime extern declaration.
11197
11198 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11199
11200         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11201         in NEW_INSETS
11202         (redoDrawingOfParagraph): ditto
11203         (redoParagraphs): ditto
11204         (cutSelection): don't create a object for CutAndPaste use the
11205         static method directly
11206         (pasteSelection): ditto
11207
11208         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11209         LyXview (+ rename)
11210
11211 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * modifications to some other files because of this.
11214
11215         * Makefile.am (lyx_SOURCES): add XFormsView
11216
11217         * XFormsView.[Ch]: new files
11218
11219         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11220         the main window. Move the gui dependent stuff to XFormsView
11221
11222 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11223
11224         * tabular.C (GetCellInset): update cur_cell also in the row/col
11225         version of this function.
11226
11227         * lyxfunc.C: no need to include figure_form.h here.
11228
11229         * FontLoader.h:
11230         * lyxfunc.h:
11231         * lyxscreen.h:
11232         * text2.C:
11233         * lyxvc.C: no need to include forms.h here.
11234
11235 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11236
11237         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11238
11239         * lyxfunc.C (Dispatch):
11240         * Spacing.C (set):
11241         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11242         constructor argument.
11243
11244 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11245
11246         * paragraph.C (Paragraph): dont't clear, and just set layout.
11247         (makeSameLayout): use params's copy contructor.
11248
11249         * ParagraphParameters.[Ch] (makeSame): delete method
11250
11251 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11252
11253         * Variables.[Ch]: fix indentation, rename set to isSet
11254
11255 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11256
11257         * lyxfunc.C (Dispatch): fix typo
11258
11259 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11260
11261         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11262         upper_bound.
11263
11264         * bufferlist.C: include assert.h for emergencyWrite().
11265
11266 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11267
11268         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11269           give up at last (bug #425202) !
11270
11271 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11272
11273         * lyx_gui_misc.C:
11274         * sp_form.h:
11275         * sp_form.C:
11276         * spellchecker.h:
11277         * spellchecker.C: strip spellchecker options and bring up
11278           preferences tab instead
11279
11280 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11281
11282         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11283         the istringstream constructor
11284
11285 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11286
11287         * paragraph.C (getLayout): fix return value
11288
11289         * paragraph.h: do not declare getLayout as inline.
11290
11291         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11292
11293 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11294
11295         * lyxcursor.h (operator<): new func
11296         (operator>): new func
11297         (operator>=): new func
11298         (operator<=): new func
11299
11300         * text.C (changeCase): use selection.start and selection.end
11301         (changeRegionCase): require from to be <= to. Require par to be a
11302         valid paragraph.
11303
11304         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11305
11306 2001-06-27  Juergen Vigna  <jug@sad.it>
11307
11308         * text.C (cursorLeftOneWord): changed to return the cursor and added
11309         overlay with BufferView * parameter which calls this one.
11310         (getWord): added
11311         (selectWord): use new getWord function.
11312         (changeCase): renamed from changeWordCase as and extended to work
11313         also on selections.
11314
11315         * lyxtext.h: added enum word_location
11316
11317         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11318         changeCase as this operates now also on selections.
11319
11320 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11321
11322         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11323
11324         * many files: send debug output to Debug::INFO instead of
11325         Debug::ANY.
11326
11327         * converter.C (View):
11328         (Convert):
11329         (Move): send debug output to Debug::FILES instead of console.
11330
11331 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11332
11333         * lyxfunc.C (getStatus): use func_status
11334
11335         * func_status.h: new header, describing the results of
11336         LyXFunc::getStatus;
11337
11338         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11339         LFUN_MATH_HALIGN.
11340
11341 2001-06-25  The LyX Project  <jug@sad.it>
11342
11343         * buffer.C (sgmlOpenTag):
11344         (sgmlCloseTag):
11345         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11346
11347 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * text2.C: remove some dead code
11350
11351         * tabular.C (GetCellInset): store the last cell checked (gotten)
11352
11353         * tabular.h: add the helper for the speedup
11354
11355         * lyxtext.h: remove some dead code
11356
11357 2001-06-26  The LyX Project  <Asger>
11358
11359         * paragraph.C: Change export to LaTeX of alignment to
11360         \begin{center} and family for better roundtrip work with reLyX.
11361
11362         * Tune the math drawing a bit.
11363
11364 2001-06-25  The LyX Project  <Asger>
11365
11366         * LColor.C (LColor): New color for math background. New color
11367         for buttons.
11368
11369 2001-06-25  The LyX Project  <jug@sad.it>
11370
11371         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11372
11373         * lyxfunc.C (Open):
11374         * bufferlist.C (newFile): do not restrict to files ending with
11375         .lyx
11376
11377         * BufferView_pimpl.C (MenuInsertLyXFile):
11378
11379 2001-06-24  The LyX Project  <jug@sad.it>
11380
11381         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11382         of compare_no_case
11383
11384 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11385
11386         * lyxtext.h: rename most methods to begin with a small char.
11387         Lots of changes because of this.
11388
11389         * paragraph.C (Paragraph): do not call fitToSize
11390         (erase): call Pimpl::erase
11391         (insertChar): call Pimpl::insertChar
11392         (insertInset): call Pipl::insertInset
11393         (breakParagraph): do not call fitToSize
11394         (breakParagraphConservative): do not call fitToSize
11395         (fitToSize): remove method
11396
11397         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11398
11399 2001-06-24  The LyX Project  <Asger>
11400
11401         * Fix Qt compilation^2
11402
11403 2001-06-24  The LyX Project  <jug@sad.it>
11404
11405         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11406         depthHook(getDepth()-1).
11407
11408         * paragraph.h:
11409         * ParagraphParameters.h:
11410         * ParameterStruct.h: change type of depth to unsigned int ==
11411         depth_type. Many adaptations to other files before of that.
11412
11413 2001-06-24  The LyX Project  <Asger>
11414
11415         * Fix Qt compilation.
11416
11417 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11418
11419         * paragraph.h: renamed several methods to begin with small letter.
11420         several changes to many parts of the code because of this.
11421
11422 2001-06-23  The LyX Project  <jug@sad.it>
11423
11424         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11425         rewritten to discard all double spaces when KeepEmpty is off
11426         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11427         to only handle newlines but not fiddle with spaces and friends.
11428
11429         * lyxfunc.C (MenuNew): when doing 'new from template', use
11430         template_path as default directory
11431
11432 2001-06-23  The LyX Project  <Asger>
11433
11434         * Clean-up of header file includes all over
11435         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11436
11437 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11438
11439         * paragraph.h: renamed from lyxparagraph.h
11440
11441 2001-06-23  Asger  <lyx@violet.home.sad.it>
11442
11443         * Buffer.h: Removed Buffer::resize
11444         * BufferList.h: Removed BufferList::resize
11445         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11446         the document lazily when we change the width, or the font settings.
11447
11448 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11451
11452 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11453
11454         * buffer.h: remove out of date comment
11455
11456 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * lyxscreen.h:
11459         * screen.C: fix "theoretical" GC leak
11460
11461 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11462
11463         * LaTeX.C (scanAuxFile):
11464         (deplog): remove trailing \r when reading stream (useful under
11465         win32)
11466
11467 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11468
11469         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11470         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11471         and BufferView::theLockingInset(Inset*), so should use them and not
11472         access bv_->text->the_locking_inset directly.
11473
11474         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11475
11476 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * Makefile.am:
11479         * tex-defs.h: remove old unused file
11480
11481 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * BufferView_pimpl.C: fix typo, remove minibuffer message
11484           when buffer has loaded
11485
11486 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11487
11488         * lyxfunc.C (Dispatch): use stringstream
11489         (MenuNew): use stringstream
11490         (Open): use stringstream
11491
11492         * importer.C (Import): use stringstream
11493
11494         * bufferview_funcs.C (CurrentState): use stringstream
11495
11496         * LaTeX.C (run): use stringstream
11497
11498         * BufferView_pimpl.C (savePosition): use stringstream
11499         (restorePosition): use stringstream
11500         (MenuInsertLyXFile): use stringstream
11501
11502 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11503
11504         * BufferView.C:
11505         * Bullet.C:
11506         * ColorHandler.C:
11507         * FontInfo.C:
11508         * FontLoader.C:
11509         * LColor.C:
11510         * LaTeXFeatures.C:
11511         * Painter.C:
11512         * gettext.C:
11513         * lyx_gui_misc.C:
11514         * lyxserver.C:
11515         * vspace.C: removed // -*- C++ -*- as first line.
11516
11517         * lyxfind.h:
11518         * version.h: added // -*- C++ -*- as first line.
11519
11520 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11521
11522         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11523
11524         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11525         of string
11526
11527 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11530         of floats.
11531
11532 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11533
11534         * gettext.C: include LString.h even when --disable-nls is on.
11535
11536 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11537
11538         * converter.h (Get): changed argument type from int to
11539         FormatList::size_type to avoid unnecessary conversion.
11540
11541         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11542         before using it.
11543
11544 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11545
11546         * gettext.h: include LString.h even when --disable-nls is on.
11547
11548 2001-06-07  Juergen Vigna  <jug@sad.it>
11549
11550         * text.C (BreakAgain): subst spaces with tabs.
11551
11552         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11553         (resizeInsetsLyXText): set force on resizeLyXText.
11554
11555 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11556
11557         * gettext.h (gettext_init):
11558         (locale_init): use a real definition instead of a macro
11559
11560 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11561
11562         * Bufferview_pimpl.C:
11563         * LColor.h:
11564         * LColor.C: further lcolor tidies
11565
11566 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11567
11568         * BufferView_pimpl.C (updateScrollbar): simplify.
11569
11570         * BufferView2.C: don't include insets/insetinfo.h, change
11571         prototype for insertInset and call the Pimpl version. let
11572         updateInset call Pimpl version.
11573
11574         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11575         gotoInset to BufferView::Pimpl
11576
11577 2001-06-01  Juergen Vigna  <jug@sad.it>
11578
11579         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11580         inside a LockingInset (is the update needed at all?).
11581
11582 2001-05-31  Juergen Vigna  <jug@sad.it>
11583
11584         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11585         here not the old one otherwise how should we compare it afterwards
11586         if it's the same!
11587
11588 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11589
11590         * lyxfont.C:
11591         * tabular.C:
11592         * tabular-old.C:
11593         * FontInfo.C: bring C functions into global namespace when
11594         necessary
11595
11596 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11597
11598         * LString.h: make sure config.h has been loaded before LString.h.
11599
11600         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11601         (one for each char read by EatLine!).
11602
11603         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11604         variables.
11605
11606 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11607
11608         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11609         to the same as the par we break from
11610
11611 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11614
11615         * MenuBackend.C (expand): also create menu entries for wide
11616         versions of the floats.
11617
11618         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11619
11620         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11621
11622         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11623         frontends/Makefile.am
11624
11625         * text2.C: adjust
11626         * text.C: adjust
11627
11628
11629         * tabular.C (getTokenValue): add std::
11630
11631         * tabular-old.C (getTokenValue): add std::
11632         (getTokenValue): ditto
11633         (getTokenValue): ditto
11634
11635         * screen.C (ToggleSelection): adjust
11636
11637         * lyxtext.h: put selection cursors inside a Selection struct.
11638
11639         * lyxfunc.C (moveCursorUpdate): adjust
11640
11641         * lyxfont.C (latexWriteStartChanges): add std::
11642
11643         * lyxfind.C: adjust
11644
11645         * font.h: delete with(char const *, LyXFont const &)
11646
11647         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11648
11649         * FontInfo.C (getFontname): add std::
11650
11651         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11652         (workAreaButtonPress): adjust
11653         (tripleClick): adjust
11654         (update): adjust
11655         (moveCursorUpdate): adjust
11656         (Dispatch): adjust
11657
11658         * BufferView2.C (gotoInset): adjust
11659
11660 2001-05-30  Juergen Vigna  <jug@sad.it>
11661
11662         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11663         to check pspell I add this as default as I now have new pspell
11664         libraries and they seem to use this.
11665
11666 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11667
11668         * text2.C (CutSelection): make the cursor valid before the call to
11669         ClearSelection.
11670
11671 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11672
11673         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11674         relied on 0 terminated strings and other horrors. Bug found due to
11675         the new assert in lyxstring!
11676
11677         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11678         KP_ keys.
11679
11680 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11681
11682         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11683         to latinkeys.bind.
11684
11685         * lyxfunc.C (processKeySym): change method of getting to the
11686         self-insert char.
11687
11688         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11689         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11690         * BufferView_pimpl.[Ch]: here as private methods.
11691
11692 2001-05-28  Juergen Vigna  <jug@sad.it>
11693
11694         * text.C (SetHeightOfRow): added the update() call again as it is
11695         needed to initialize inset dimensions!
11696
11697 2001-05-16  Juergen Vigna  <jug@sad.it>
11698
11699         * text2.C (SetCharFont): Add new function with BufferView * and
11700         bool toggleall parameters for setting insets internal fonts.
11701         (SetFont): Freeze the undo as we may change fonts in Insets and
11702         all this change should be inside only one Undo!
11703
11704         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11705         setting font's in insets as for them we have the SetFont function!
11706
11707 2001-05-15  Juergen Vigna  <jug@sad.it>
11708
11709         * text2.C (ClearSelection): to be sure we REALLY don't have any
11710         selection anymore!
11711
11712         * tabular.C (TeXCellPreamble): fixed the left border problem for
11713         multicolumn cells.
11714
11715 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11716
11717         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11718         dependancy file
11719
11720 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11721
11722         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11723         LFUN_BREAKPARAGRAPH.
11724
11725         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11726         help test to "internal only", similar for LFUN_INSERT_URL
11727
11728         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11729         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11730         auto_region_delete and deadkeys.
11731
11732 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * LColor.h:
11735         * LColor.C: remove some dead entries, tidy a little
11736
11737 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11738
11739         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11740         commented code.
11741         (Dispatch): implement LFUN_ESCAPE
11742
11743         * commandtags.h: add LFUN_ESCAPE
11744
11745         * LyXAction.C (init): add entry for LFUN_ESCAPE
11746
11747         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11748         Remove commented code.
11749         (insertNote): moved here
11750         (open_new_inset): moved here
11751
11752         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11753         BufferView_pimpl
11754
11755 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11756
11757         * kbmap.C (findbinding): clean it up and make it work correctly.
11758
11759         * lyx_main.C (init): do not pass argc and argv as parameters
11760
11761 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11762
11763         * buffer.C: fix path for OS/2 & Win32
11764
11765         * lyx_gui.C:
11766         * lyx_main:
11767         * lyx_main.C: Added os:: class.
11768
11769         * os2_defines.h: update
11770
11771 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11772
11773         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11774         better by trying again with reduced state.
11775
11776 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11777
11778         * lyxrc.C (read): print error about invalid key sequence only when
11779         debugging (because not all latinX keysyms are known to some X
11780         servers)
11781
11782         * kbsequence.C (getiso): add a few std:: qualifiers
11783         (getiso): comment out extra return statement.
11784
11785 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11788         handling.
11789         (Dispatch): enhance the accent inset a bit. (not perfect)
11790
11791 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11792
11793         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11794
11795 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11796
11797         * bufferlist.C (emergencyWrite): fix assert() call
11798
11799 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11800
11801         * text.C (InsertChar): Added trivial patch to only send the "you
11802         can not do multiple spaces this way" message once during a
11803         session.
11804
11805 2001-05-08  Baruch Even  <baruch@lyx.org>
11806
11807         * Makefile.am: Changed order of libraries to get LyX to link properly
11808         with the gnome frontend.
11809
11810 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11811
11812         * LaTeXFeatures.h: add a std:: qualifier
11813
11814 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11815
11816         * paragraph.C (String): use stringstream
11817
11818 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11819
11820         * paragraph.C (writeFile): remove footflag arg
11821
11822         * buffer.C (makeLaTeXFile): use stringstream
11823         (latexParagraphs): remove footnot gurba
11824
11825         * LaTeXFeatures.C (getPackages): use stringstream
11826         (getMacros): likewise
11827         (getTClassPreamble): likewise
11828         (getFloatDefinitions): new method
11829
11830         * paragraph.C (writeFile): reindent
11831         (Erase): reindent
11832
11833         * WorkArea.h: revert the xpos + etc changes.
11834
11835         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11836
11837         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11838
11839         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11840         (pasteSelection): likewise
11841         * text2.C (CreateUndo): likewise
11842
11843 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11844
11845         * minibuffer.C (peek_event): temporarily reduce the functionality
11846         of the minibuffer (to allow args on lfuns)
11847
11848         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11849         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11850
11851         * buffer.C (readInset): add compability reading of old float
11852         lists, add reading of new style float list.
11853         (readInset): avoid reevaluation of inscmd.getCmdName()
11854         (getLists): reindent
11855
11856         * MenuBackend.C (MenuItem): implement parsing of
11857         md_floatlistinsert and md_floatinsert.
11858         (expand::LastFiles): move initalizaton of iterators out of loop,
11859         avoid reevaluation.
11860         (expand::Documents): introduce typdedef vector<string> Strings,
11861         and use it.
11862         (expand::ExportFormats): introduce typedef vector<Format const *>
11863         Formats, and use it.
11864         (expand): implement FloatListInsert and FloatInsert.
11865
11866         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11867         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11868         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11869
11870         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11871         handling.
11872         (Dispatch::LFUN_FLOAT_LIST): implement
11873
11874 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11875
11876         * LaTeX.C (run): Fix problem with --export code.
11877
11878 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11879
11880         * BufferView.[Ch] (workarea): removed.
11881         (getClipboard) new method; wrapper for workarea()->getClipboard()
11882
11883         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11884         bug.
11885
11886         * WorkArea.h (width, height, xpos, ypos): These methods all
11887         returned the dimensions of the work_area sub-area of WorkArea,
11888         resulting in a position error if the WorkArea were resized. Now
11889         return the dimensions of the entire WorkArea.
11890
11891         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11892
11893 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11894
11895         * LaTeX.C (deplog): correct the syntax of regex reg1
11896
11897 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11898
11899         * undo.C: remove !NEW_INSETS cruft
11900
11901 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * text2.C: remove !NEW_INSETS cruft
11904
11905         * text.C: remove !NEW_INSETS cruft
11906
11907         * tabular.C: remove !NEW_INSETS cruft
11908
11909         * spellchecker.C: remove !NEW_INSETS cruft
11910
11911         * lyxtext.h: remove !NEW_INSETS cruft
11912
11913         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11914
11915         * lyxfunc.C: remove !NEW_INSETS cruft
11916
11917         * lyxfind.C: remove !NEW_INSETS cruft
11918
11919         * lyx_cb.C: remove !NEW_INSETS cruft
11920
11921         * figureForm.C: remove  !NEW_INSETS cruft
11922
11923         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11924
11925         * buffer.[Ch]: remove !NEW_INSETS cruft
11926
11927         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11928
11929         * CutAndPaste.C: remove !NEW_INSETS cruft
11930
11931         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11932
11933         * BufferView2.C: remove !NEW_INSETS cruft
11934
11935         * BufferView.h: remove !NEW_INSETS cruft
11936
11937 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11938
11939         * Lsstream.h: include LString.h before the sstream headers to
11940         fix problem with gcc 2.95.3 and lyxstring
11941
11942 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11943
11944         * lyx_main.C: add using directives when needed for C functions
11945         declared in std:: namespace.
11946
11947 2001-04-27  Juergen Vigna  <jug@sad.it>
11948
11949         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11950         (SetHeightOfRow): comment out the update call should not be needed!
11951
11952 2001-04-13  Juergen Vigna  <jug@sad.it>
11953
11954         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11955         (LyXTabular): tried to minimize operator= operations (and realized
11956         hopfully Lars wish).
11957
11958 2001-04-27  Juergen Vigna  <jug@sad.it>
11959
11960         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11961
11962 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11963
11964         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11965
11966         * buffer.C (readInset): hack to make listof algorithm work
11967
11968         * BufferView_pimpl.C: hack to make listof algorithm work
11969
11970 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11971
11972         * LyXAction.C: removed all !NEW_INSETS cruft
11973         (init): moved lfun_item in method
11974
11975         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11976
11977 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11978
11979         * BufferView2.C (theLockingInset): white space.
11980
11981 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11982
11983         * minibuffer.C: include <iostream>
11984
11985         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11986
11987         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11988
11989         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11990
11991         * text.[Ch] (TransposeChars): new method
11992
11993 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11994
11995         * call message directly through LyXView instead of through LyXFunc
11996         * BufferView2.C: adjust
11997         * BufferView_pimpl.C: adjust
11998         * FontLoader.C: adjust
11999         * buffer.C: adjust
12000         * bufferview_funcs.C: adjust
12001         * converter.C: adjust
12002         * figureForm.C: adjust
12003         * importer.C: adjust
12004         * lyx_cb.C: adjust
12005         * lyx_gui_misc.C: adjust
12006         * lyxfunc.C: adjust
12007         * lyxvc.C: adjust
12008         * text2.C: adjust
12009         + more files in subdirs
12010
12011         * lyxparagraph.h (size): move up int file
12012         (GetLayout): ditto
12013
12014         * adjust all uses of Assert to lyx::Assert.
12015
12016         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12017         lyxfunctional in namespace lyx
12018         * layout.C (hasLayout): ditto
12019         (GetLayout): ditto
12020         (GetLayout): ditto
12021         (delete_layout): ditto
12022         (NumberOfClass): ditto
12023         * converter.C (GetFormat): ditto
12024         (GetNumber): ditto
12025         (Add): ditto
12026         (Delete): ditto
12027         (SetViewer): ditto
12028         * bufferlist.C (getFileNames): ditto
12029         (emergencyWriteAll): ditto
12030         (exists): ditto
12031         (getBuffer): ditto
12032         * MenuBackend.C (hasSubmenu): ditto
12033         (hasMenu): ditto
12034         (getMenu): ditto
12035         * BufferView_pimpl.C (getInsetByCode): ditto
12036
12037 2001-04-18  Juergen Vigna  <jug@sad.it>
12038
12039         * vspace.C (asLatexString): fixed the 100% problem.
12040
12041 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12042
12043         * lyxfunc.C (Dispatch):
12044         * minibuffer.C:
12045         * minibuffer.h: add a few std:: qualifiers
12046
12047 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12048
12049         * minibuffer.[Ch]: reimplement so that commands is initiated and
12050         run from lyxfunc, simplified som handling, and made the completion
12051         and history code for complete. wip.
12052
12053         * lyxfunc.C (processKeySym): call message
12054         (miniDispatch): new temporary method
12055         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12056         (LFUN_MESSAGE): implement
12057         (LFUN_MESSAGE_PUSH): implement
12058         (LFUN_MESSAGE_POP): implement
12059         (initMiniBuffer): the initial/defualt minibuffer message.
12060
12061         * lyxfont.[Ch]: inline some more getters
12062
12063         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12064
12065         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12066
12067         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12068         (AutoSave): use LFUN_MESSAGE
12069         (Reconfigure): ditto
12070
12071         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12072
12073         * figureForm.C: use LFUN_MESSAGE
12074
12075         * converter.C (runLaTeX): use LFUN_MESSAGE
12076
12077         * bufferview_funcs.C: use LFUN_MESSAGE
12078         (Melt): ditto
12079         (changeDepth): ditto
12080
12081         * bufferparams.h: use boost::
12082
12083         * bufferlist.h: inherit privately from noncopyable
12084
12085         * bufferlist.C (loadLyXFile): remove some commented code.
12086
12087         * buffer.C (runChktex): use LFUN_MESSAGE
12088
12089         * ShareContainer.h: inherit privately from noncopyable
12090
12091         * ParagraphParameters.[hC] (depth): inline it.
12092
12093         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12094         methods.
12095         (message): new method
12096         (messagePush): ditto
12097         (messagePop): ditto
12098         (show): init minibuffer
12099         (showState): direct call
12100
12101         * LaTeX.[Ch]: inherit privately from noncopyable
12102         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12103         instead of WriteStatus.
12104
12105         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12106
12107         * BufferView_pimpl.C (buffer): don't init minibuffer
12108         (workAreaButtonPress): use LFUN_MESSAGE
12109         (workAreaButtonRelease): ditto
12110         (savePosition): ditto
12111         (restorePosition): ditto
12112         (MenuInsertLyXFile): ditto
12113         (workAreaExpose): don't init minibuffer
12114         (update): remove commented code, simplify
12115
12116         * BufferView2.C (openStuff): use LFUN_MESSAGE
12117         (toggleFloat): ditto
12118         (menuUndo): ditto
12119         (menuRedo): ditto
12120         (copyEnvironment): ditto
12121         (pasteEnvironment): ditto
12122         (copy): ditto
12123         (cut): ditto
12124         (paste): ditto
12125         (gotoInset): ditto
12126         (updateInset): remove some commented code
12127
12128         * lastfiles.h: inherit privately from noncopyable
12129         * layout.h: ditto
12130         * lyx_gui.h: ditto
12131         * lyx_main.h: ditto
12132         * lyxlex.h: ditto
12133         * lyxlex_pimpl.h: ditto
12134
12135         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12136         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12137         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12138
12139         * LyXAction.h: inherit privately from noncopyable, add methods
12140         func_begin, func_end, returning iterators to the func map.
12141
12142         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12143         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12144         (func_begin): new method
12145         (func_end): new method
12146
12147         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12148         and not)
12149         (copySelection): ditto
12150         (pasteSelection): ditto
12151
12152         * BufferView.C: whitespace change
12153         * BufferView.h: inherit privately from noncopyable
12154
12155 2001-04-16  Allan Rae  <rae@lyx.org>
12156
12157         * tabular-old.C (l_getline):
12158         * spellchecker.C (sc_check_word):
12159         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12160         an unrecognised preprocessor directive.  So ensure they're wrapped.
12161
12162 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12163
12164         * src/exporter.C (Export): Give an error message when path to file
12165         contains spaces.
12166
12167 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12168
12169         * LaTeX.C (deplog): Always check that foundfile exists.
12170
12171 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12172
12173         * lyx_main.h:
12174         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12175
12176 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12177
12178         * tabular.[Ch] (getLabelList): implement new method
12179
12180         * minibuffer.h: comment ouf setTiimer
12181
12182         * minibuffer.C (ExecutingCB): constify res
12183         (peek_event): constify s
12184         (Set): constify ntext
12185         (Init): constify nicename
12186
12187         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12188
12189         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12190         (savePosition): use two params to Minibuffer::Set
12191         (restorePosition): ditto
12192
12193 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12194
12195         * lyx_main.C: include language.h
12196
12197         * Makefile.am (lyx_main.o): add language.h
12198
12199 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12200
12201         * exporter.C:
12202         * paragraph.C:
12203         * screen.C:
12204         * tabular.C:
12205         * CutAndPaste.C: include gettext.h
12206
12207         * lyxfont.h: remove old hack with ON and OFF.
12208
12209         * lyxparagraph.h:
12210         * lyxfont.h: do not include language.h...
12211
12212         * BufferView2.C:
12213         * LaTeXFeatures.C:
12214         * Painter.C:
12215         * bufferview_funcs.C:
12216         * font.C:
12217         * lyxfont.C:
12218         * text.C:
12219         * text2.C:
12220         * trans_mgr.C:
12221         * paragraph.C: ... but do it here instead
12222
12223 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12224
12225         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12226
12227         * tabular.C: small reformat
12228
12229         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12230         NEW_INSETS version
12231         (GetChar): ditto
12232         (BreakParagraph): ditto
12233         (SetOnlyLayout): ditto
12234         (SetLayout): ditto
12235
12236         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12237         with one arg less.
12238
12239         * lastfiles.C: removed most using decl, add std:: where needed
12240
12241         * buffer.C: ws changes
12242
12243         * MenuBackend.C (class compare_format): put into anon namespace
12244         (expand): constify label, names, action, action2
12245         (expand):
12246
12247         * text.C (SingleWidth): constify font
12248         (IsBoundary): constify rtl2
12249         (GetVisibleRow): constify ww
12250
12251         * LaTeX.C (deplog): constify logfile
12252
12253         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12254         start_x, end_x
12255         (workAreaExpose): constify widthChange, heightChange
12256
12257         * lyxrow.C (par): moved
12258         (height): moved
12259         (next): moved
12260         * lyxrow.h: as inlines here
12261
12262         * lyxfont.h (shape): moved from lyxfont.C
12263         (emph): moved from lyxfont.C
12264
12265         * lyxfont.C (LyXFont): use initialization list for all
12266         constructors
12267         (shape): move to lyxfont.h as inline
12268         (emph): move to lyxfont.h as inline
12269
12270
12271 2001-04-04  Juergen Vigna  <jug@sad.it>
12272
12273         * vspace.C: had to include stdio.h for use of sscanf
12274
12275 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12276
12277         * BufferView.h:
12278         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12279         independent of xforms.
12280
12281 2001-04-02  Juergen Vigna  <jug@sad.it>
12282
12283         * spellchecker.C: fixed namespace placing!
12284
12285 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12286
12287         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12288         the LyXParagraph * is 0.
12289
12290 2001-03-29  Juergen Vigna  <jug@sad.it>
12291
12292         * vspace.C: added support for %, c%, p%, l%.
12293         (stringFromUnit): added helper function.
12294         (asLatexString): changed to give right results for the %-values.
12295
12296         * buffer.C: convert the widthp in a width%.
12297
12298 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12299
12300         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12301         figureForm.[Ch].
12302
12303         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12304         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12305
12306         * lyx_cb.[Ch]: see above.
12307
12308         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12309         form1.[Ch].
12310
12311         * form1.[Ch]:
12312         * lyx.[Ch]: replaced by figure_form.[Ch].
12313
12314         * lyx_gui.C:
12315         * lyx_gui_misc.C:
12316         * lyxfunc.C: changed headers associated with above changes.
12317
12318 2001-03-27  Juergen Vigna  <jug@sad.it>
12319
12320         * BufferView_pimpl.C: set the temporary cursor right!
12321
12322 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12323
12324         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12325
12326 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12327
12328         * LString.h: removed "using std::getline"!
12329
12330         * BufferView_pimpl.C (Dispatch): changes due to changes in
12331         InsetInclude::Params.
12332
12333         * buffer.C (tag_name): removed redundant break statements as they were
12334         producing lots of warnings with my compiler.
12335
12336 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12337
12338         * LString.h: add "using std::getline" when using the real <string>.
12339
12340 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12341
12342         * buffer.C: removed bitset usage.
12343         PAR_TAG moved to an anonymous name space.
12344         (tag_name): new funtion, also in the anonymous namespace.
12345         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12346         (makeDocBookFile): clean code. Completed transition from string arrays
12347         to string vectors.
12348         (SimpleDocBookOnePar): code clean.
12349
12350 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12351
12352         * tabular.C: add some comments.
12353
12354 2001-03-22  Juergen Vigna  <jug@sad.it>
12355
12356         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12357         compatibility read a bit and fixed bug with minipage in different
12358         depth.
12359
12360 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12361
12362         * buffer.C (pop_tag): removed.
12363         (push_tag): removed.
12364         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12365         array replaced with vector. Added support for CDATA sections.
12366         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12367         at any nest level.
12368         (makeDocBookFile): XML conformant declaration of CDATA section,
12369         fixed bug related to <emphasis> in the first paragraph char.
12370         (sgmlOpenTag): exclude empty tags.
12371         (sgmlCloseTag): ditto.
12372
12373         * buffer.h (pop_tag): removed.
12374         (push_tag): removed.
12375
12376 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12377
12378         * language.h (Languages): added size_type and size().
12379
12380 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12381
12382         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12383         response on compability reading of minipages. One probliem is that
12384         the old usage of minipages was «flertydig»
12385
12386         * several files here and in subdirs: don't use static at file
12387         scope use anon namespaces instead.
12388
12389 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12390
12391         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12392         LaTeX output. This is necessary for Literate document
12393         processing.
12394
12395 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12396
12397         * buffer.C: insert hfill when needed.
12398
12399         * tabular.C (l_getline): use string::erase, small whitespace change.
12400
12401         * BufferView_pimpl.C: try the anon namespace.
12402         * WorkArea.C: ditto
12403
12404 2001-03-16  Juergen Vigna  <jug@sad.it>
12405
12406         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12407         otherwise it won't open options-dialogs.
12408
12409         * buffer.C: honor pextraWidth(p) on converting minipages.
12410
12411         * tabular.C (l_getline): changed the functions to strip trailing \r.
12412
12413 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12414
12415         * BufferView_pimpl.C:
12416         * minibuffer..C: added "using SigC::slot" declaration.
12417
12418 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12419
12420         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12421
12422         * text2.C: ditto
12423
12424         * text.C: ditto
12425
12426         * paragraph.C: ditto
12427
12428         * lyxtext.h: NO_PEXTRA
12429
12430         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12431
12432         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12433         * ParameterStruct.h: ditto
12434         * ParagraphParameters.h: ditto
12435         * lyxparagraph.h: ditto
12436
12437 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12438
12439         * buffer.C: add compability for minipage alignment.
12440         (latexParagraphs): remove unwanted pextra check.
12441
12442         * several files: remove CXX_WORKING_NAMESPACES
12443
12444         * buffer.C (pop_tag): tie is in namespace boost
12445
12446         * BufferView.h: noncopyable is in namespace boost
12447         * lyxlex.h: ditto
12448         * lyx_main.h: ditto
12449         * lyx_gui.h: ditto
12450         * layout.h: ditto
12451         * lastfiles.h: ditto
12452         * bufferlist.h: ditto
12453         * ShareContainer.h: ditto
12454         * LyXView.h: ditto
12455         * LyXAction.h: ditto
12456         * LaTeX.h: ditto
12457
12458 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12459
12460         * Merging changes from BRANCH_MVC back into HEAD.
12461
12462         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12463
12464 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * BufferView_pimpl.C: change from intl.C
12467
12468         * combox.h:
12469         * combox.C:
12470         * Makefile.am: move combox.*
12471
12472         * form1.h:
12473         * form1.C:
12474         * lyx_gui.C:
12475         * intl.h:
12476         * intl.C: remove dialog (covered by prefs)
12477
12478 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12479
12480         * lyxfunc.C (Dispatch): removed redundant break statement.
12481
12482 2001-03-14  Juergen Vigna  <jug@sad.it>
12483
12484         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12485
12486 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12487
12488         * buffer.C: add hack to fix compability reading of minipages.
12489
12490 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12491
12492         * buffer.C (getLists): Cleanup.
12493
12494 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12495
12496         * lyxfont.C (update): don't honor toggleall on font size.
12497
12498 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12499
12500         * bmtable.c:
12501         * bmtable.h:
12502         * Makefile.am: moved to frontends/xforms/
12503
12504         * lyx_gui_misc.C:
12505         * lyxfunc.C:
12506         * BufferView_pimpl.C: changes for moved mathpanel
12507
12508 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12509
12510         * gettext.h: fix gettext_init() in --disable-nls
12511
12512 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12513
12514         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12515
12516 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * lyx.C:
12519         * lyx.h: strip external form
12520
12521 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * BufferView_pimpl.C: add comment, destroySplash()
12524
12525 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12526
12527         * BufferView_pimpl.C:
12528         * LyXAction.C:
12529         * buffer.C:
12530         * commandtags.h:
12531         * lyxfunc.C: use re-worked insetinclude
12532
12533 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12534
12535         * buffer.C: add using std::stringstream.
12536
12537         * lyx_cb.C: readd using std::ios.
12538
12539         * buffer.C: add using std::map.
12540
12541         * BufferView_pimpl.C: add using std::vector.
12542
12543         * ShareContainer.h: add std:: to swap.
12544
12545         * buffer.h: add some typedefs
12546         * buffer.C (getLists): use them
12547         (getLists): renamed from getTocList.
12548         add a counter for the different float types and use it in the
12549         generated string.
12550         (getLists): use the same counter for the NEW_INSETS and the "non"
12551         NEW_INSETS
12552
12553         * lyx_cb.h: remove unused items, includes, using etc.
12554
12555         * ShareContainer.h: remove some commented code, add more comments
12556         and "documentation".
12557
12558 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12559
12560         * buffer.C (getTocList): make the list also when NEW_INSETS is
12561         defined.
12562
12563         * buffer.h: remove TocType
12564
12565         * buffer.C (getTocList): change to return a map<string,
12566         vector<TocItem> >, implement for dynamic number of list.
12567
12568         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12569         * text2.C (PasteSelection): adjust
12570         * CutAndPaste.C (pasteSelection): adjust
12571
12572         * FloatList.C (FloatList): update from the new_insets branch.
12573         * Floating.[Ch]: ditto
12574         * LaTeXFeatures.C: ditto
12575         * buffer.C: ditto
12576         * lyxlex_pimpl.C: ditto
12577
12578         * paragraph.C (Last): remove when NEW_INSETS is defined.
12579
12580         * other file: changes because of the above.
12581
12582 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12583
12584         * lyxparagraph.h: rename next to next_, previous to previous_,
12585         make them private for NEW_INSETS. Rename Next() to next(),
12586         Previous() to previous().
12587
12588         * other files: changes because of the above.
12589
12590 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12591
12592         * BufferView.h:
12593         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12594         problem.
12595
12596 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12597
12598         * main.C (main): pass lyx_localedir to gettext_init().
12599
12600         * gettext.h: remove locale_init and gettext_init macros
12601
12602         * gettext.C (locale_init): new function
12603         (gettext_init): new function
12604
12605         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12606         setlocale().
12607
12608 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12609
12610         * Moved credits to frontends:
12611         * credits.[Ch]: removed
12612         * credits_form.[Ch]: removed
12613         * lyx_gui_misc.C: remove credits stuff
12614         * Makefile.am:
12615
12616 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12617
12618         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12619
12620         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12621         unneeded destructor.
12622
12623         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12624         a standalone pointer again.
12625
12626         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12627
12628 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12629
12630         * Makefile.am:
12631         * filedlg.h:
12632         * filedlg.C:
12633         * LyXAction.C:
12634         * ToolbarDefaults.C:
12635         * bufferlist.C:
12636         * commandtags.h:
12637         * form1.C:
12638         * form1.h:
12639         * lyx_cb.C:
12640         * lyx_cb.h:
12641         * lyxfunc.h:
12642         * lyxfunc.C:
12643         * BufferView_pimpl.C: use new file dialog in GUII
12644
12645         * lyx_cb.h:
12646         * lyx_cb.C: remove LayoutsCB to Toolbar
12647
12648 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12649
12650         * ShareContainer.h (get): add std:: qualifier
12651
12652 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12653
12654         * ShareContainer.h: define a proper ShareContainer::value_type
12655         type (and use typename to please compaq cxx)
12656
12657 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12658
12659         * lyxparagraph.h: move serveral local vars to
12660         ParameterStruct/ParagraphParameters., use ShareContainer in
12661         FontTable., make vars in FontTable private and add getter and
12662         setter.
12663
12664         * paragraph.C: changes because of the above.
12665
12666         * lyxfont.h: remove copy constructor and copy assignment. (the
12667         default ones is ok), move number inside FontBits. move inlines to
12668         lyxfont.C
12669
12670         * lyxfont.C: add number to initializaton of statics, move several
12671         inlines here. constify several local vars. some whitespace
12672         cleanup. Dont hide outerscope variables.
12673
12674         * Spacing.h: add two new constructors to match the set methods.
12675
12676         * ShareContainer.h: new file, will perhaps be moved to support
12677
12678         * ParameterStruct.h: new file
12679
12680         * ParagraphParameters.h: new file
12681
12682         * ParagraphParameters.C: new file
12683
12684         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12685         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12686
12687         * BufferView_pimpl.C: ParagraphParameter changes.
12688         * buffer.C: Likewise.
12689         * bufferview_funcs.C: Likewise.
12690         * text.C: Likewise.
12691         * text2.C: Likewise.
12692
12693 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12694
12695         * lyxfind.C (LyXReplace): do not redefine default argument in
12696         implementation.
12697         (IsStringInText): ditto
12698         (SearchForward): ditto
12699         (SearchBackward): ditto
12700
12701 2001-03-06  Juergen Vigna  <jug@sad.it>
12702
12703         * lyxfind.C (IsStringInText): put parentes around expressions.
12704
12705 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12706
12707         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12708
12709 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12710
12711         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12712
12713         * stl_string_fwd.h: add comment
12714
12715         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12716
12717         * tabular.h:
12718         * tabular.C: remove unused DocBook methods
12719
12720         * intl.C:
12721         * language.C:
12722         * paragraph.C:
12723         * buffer.C:
12724         killed DO_USE_DEFAULT_LANGUAGE
12725
12726 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12727
12728         * lyx_gui.C: do not include language.h.
12729
12730         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12731         arguments in function implementation.
12732
12733 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12734
12735         * BufferView_pimpl.C: add <ctime>
12736
12737 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12738
12739         * BufferView_pimpl.C: add using std::find_if
12740
12741 2001-02-27  José Matos  <jamatos@fep.up.pt>
12742
12743         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12744         by OnlyPath.
12745
12746 2001-02-11  José Matos  <jamatos@fep.up.pt>
12747
12748         * buffer.C (makeDocBookFile): command styles now have a parameter as
12749         "title" by default.
12750
12751 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12752
12753         * layout_forms.[Ch]: removed
12754         * lyx_cb.[Ch]: out character
12755         * lyx_gui.C: out character
12756         * lyx_gui_misc.C: out character
12757         * bufferview_funcs.C: : out character,
12758         added toggleall as parameter in ToggleAndShow
12759
12760 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12761
12762         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12763
12764         * text2.C (SetCurrentFont): Disable number property at boundary.
12765
12766 2001-02-26  Juergen Vigna  <jug@sad.it>
12767
12768         * lyxfunc.C (getStatus): added a string argument override function so
12769         that this is correctly called from LyXFunc::Dispatch if it contains a
12770         do_not_use_argument which is used!
12771         (Dispatch): added check for "custom" export and call appropriate func.
12772
12773 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12774
12775         * lyxrc.C: Add language_command_local, language_use_babel and
12776         language_global_options.
12777
12778         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12779
12780         * buffer.C (makeLaTeXFile): Use language_use_babel and
12781         language_global_options.
12782
12783 2001-02-23  Juergen Vigna  <jug@sad.it>
12784
12785         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12786         which works with LyXText and putted it inside BufferView. Here now we
12787         only call for that part the BufferView::Dispatch() function.
12788
12789         * BufferView.C (Dispatch): added.
12790
12791         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12792         functions which needs to use a LyXText over from LyXFunc.
12793         (MenuInsertLyXFile): added
12794         (getInsetByCode): added
12795         (moveCursorUpdate): added
12796         (static TEXT): added
12797
12798 2001-02-22  Juergen Vigna  <jug@sad.it>
12799
12800         * BufferView_pimpl.C (update): call a status update to see if LyXText
12801         needs it.
12802
12803 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12804
12805         * vc-backend.C (revert): implement for CVS
12806         (getLog): implement for CVS
12807
12808 2001-02-20  Juergen Vigna  <jug@sad.it>
12809
12810         * text2.C (ClearSelection): added BufferView param for inset_owner call
12811
12812         * lyxfunc.C (TEXT): added this function and use it instead of
12813         directly owner->view()-text of getLyXText().
12814
12815 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12816
12817         * src/layout_forms.C: out preamble
12818         * src/layout_forms.h: out preamble
12819         * src/lyx_cb.C: out preamble
12820         * src/lyx_cb.h: out preamble
12821         * src/lyx_gui.C: out preamble
12822         * src/lyx_gui_misc.C: out preamble
12823         * src/lyxfunc.C: connect with guii preamble
12824
12825 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12826
12827         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12828
12829 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12830
12831         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12832         whether to run bibtex.
12833
12834 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12835
12836         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12837
12838 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12839
12840         * Makefile.am (lyx_SOURCES): removed bibforms.h
12841
12842         * vspace.h: doxygen
12843
12844         * text.C (GetVisibleRow): make several local vars const
12845
12846         * tabular.C: small cleanup.
12847
12848         * lyxserver.C (callback): use compare instead of strncmp
12849
12850         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12851         inlines to after class or to paragraph.C
12852
12853         * lyxfont.h: remove friend operator!=
12854
12855         * converter.h: move friend bool operator< to non friend and after
12856         class def.
12857
12858         * combox.h: small cleanup
12859
12860         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12861         to inlines after class def.
12862
12863         * buffer.C (pop_tag): use string operations instead of strcmp
12864
12865         * bmtable.c: doxygen, small cleanup
12866
12867         * LaTeX.h: remove friend operator==
12868
12869 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12870
12871         * screen.C:
12872         * lyxrc.[Ch]:
12873         * lyxfunc.C:
12874         * lyxfont.[Ch]:
12875         * lyx_cb.C:
12876         * intl.[Ch]:
12877         * commandtags.h:
12878         * buffer.C:
12879         * WorkArea.[Ch]:
12880         * LyXAction.C:
12881         * BufferView_pimpl.C:
12882         * BufferView.[Ch]: remove cruft
12883
12884 2001-02-14  Juergen Vigna  <jug@sad.it>
12885
12886         * lyxfunc.C: removed #if 0 unused code
12887
12888         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12889
12890         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12891
12892         * text2.C (SetSelection): added a BufferView * parameter
12893
12894 2001-02-13  Juergen Vigna  <jug@sad.it>
12895
12896         * lyxfunc.C (Dispatch): fixed protected blank problem.
12897         * BufferView2.C (protectedBlank): added LyxText * parameter.
12898
12899         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12900         (AppendColumn): same as above for column_info.
12901
12902         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12903         (moveCursorUpdate): use a LyXText param for support of InsetText.
12904
12905         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12906         (tripleClick): ditto
12907
12908         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12909
12910         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12911
12912         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12913
12914         * text2.C (SetSelection): set correct update status if inset_owner
12915         (ToggleFree): ditto
12916
12917 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12918
12919         * tabular.C: remove some commented code.
12920
12921 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12922
12923         * BufferView_pimpl.C: call hideSplash()
12924
12925         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12926
12927         * include_form.h:
12928         * bibforms.h: remove
12929
12930         * lyxfunc.C:
12931         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12932           add LFUN_CHILD_CREATE
12933
12934         * counters.h: fix tiny typo
12935
12936         * lyx_cb.C:
12937         * lyx.h:
12938         * lyx_gui.C:
12939         * lyx.C: move splash to frontends/xforms/
12940
12941         * lyx_gui_misc.C: move Include and Bibform to frontends
12942
12943         * lyxvc.h: clarify comment
12944
12945         * vspace.C: tiny housekeeping
12946
12947 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12948
12949         * text.C (PrepareToPrint): RTL Fix.
12950
12951         * paragraph.C (GetUChar): New method.
12952         (String):  Use GetUChar.
12953
12954         * buffer.C (asciiParagraph): Use GetUChar.
12955
12956 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12957
12958         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12959
12960 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12961
12962         * buffer.h:
12963         * buffer.C: rename to getLogName(), handle
12964           build log / latex log nicely
12965
12966 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12967
12968         * MenuBackend.C:
12969         * MenuBackend.h: remove support for reference menuitem type.
12970
12971 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12972
12973         * BufferView_pimpl.C: housekeeping
12974         * BufferView_pimpl.h:
12975         * LyXView.h:
12976         * Makefile.am:
12977         * Timeout.C:
12978         * Timeout.h:
12979         * minibuffer.h: move Timeout GUI-I
12980
12981 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12982
12983         * lyxrc.C (read): Update converters data-structures.
12984
12985 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12986
12987         * LaTeX.h (operator!=): add operator != for Aux_Info
12988
12989 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12990
12991         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12992
12993         * LaTeXLog.C: deleted, useful code moved to Buffer
12994
12995         * buffer.h:
12996         * buffer.C: new function getLatexLogName()
12997
12998         * lyx_gui_misc.C:
12999         * lyx_gui.C:
13000         * lyxvc.C:
13001         * lyxvc.h:
13002         * lyxfunc.C: use frontends for LaTeX and VC logs
13003
13004 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13005
13006         * LaTeX.h: yet another std:: that Allan forgot.
13007
13008         * Variables.C (set): renamed from isset(), because this clashes
13009         with some HP-UX macros (grr).
13010
13011 2001-02-06  Allan Rae  <rae@lyx.org>
13012
13013         * LaTeX.h: Another bug fix.  Missing std:: this time.
13014
13015 2001-02-04  Allan Rae  <rae@lyx.org>
13016
13017         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13018         floats problem. I've left it commented out because it's not quite
13019         correct.  It should also test that the current object is a table or
13020         figure inset.  But I haven't gotten around to figuring out how to do
13021         that.  I *think* it'll be something like: "table" == inset.type()
13022
13023         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13024         bool.
13025
13026 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13027
13028         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13029         all the citation/databases/styles in the auxilary file.
13030         (run): Rerun latex if there was a babel language error.
13031
13032 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13033
13034         * text.C (Backspace): Preserve the font when changing newline char
13035         with a space.
13036         (BreakParagraph): If the cursor is before a space, delete the space.
13037
13038         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13039
13040 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13041
13042         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13043         new argument (code).
13044         (ChangeCitationsIfUnique): New method.
13045
13046         * paragraph.C (GetPositionOfInset): Handle bibkey.
13047
13048 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13049
13050         * BufferView_pimpl.h: change type of Position::par_pos to
13051         LyXParagraph::size_type.
13052
13053 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13054
13055         * BufferView_pimpl.C (savePosition, restorePosition): Write
13056         messages to minibuffer.
13057
13058 2001-01-28  José Matos  <jamatos@fep.up.pt>
13059
13060         * buffer.C (makeDocBookFile): adds support for document language.
13061         A silly restriction on the name of LatexCommand types where removed.
13062         Added support for CDATA sections, allows to chars unescaped, used
13063         among others in code, to avoid escape < and >.
13064
13065 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13066
13067         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13068         saved positions instrad of a stack. Furthermore, a position is
13069         stored using paragraph id/paragraph position.
13070
13071         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13072         Remove LFUN_REF_BACK.
13073
13074 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13075
13076         * converter.C (dvipdfm_options): New method.
13077
13078 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13079
13080         * vspace.C (isValidLength): Fix for empty input string.
13081
13082 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13083
13084         * LyXAction.C (init): change description of LFUN_FIGURE to
13085         "Insert Graphics"
13086
13087 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13088
13089         * LaTeX.C: add using directive
13090
13091 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13092
13093         * MenuBackend.C (expand): Fix the sorting of the formats.
13094
13095 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13096
13097         * lyx_main.C: tiny error message fix
13098
13099 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13100
13101         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13102         calling fl_initialize(). This fixes the problem with ',' as
13103         decimal separator in text files.
13104
13105 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13106
13107         * trans.C (process): Fix the keymap bug.
13108
13109 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13110
13111         * LaTeX.C (scanAuxFiles): New method. Provides support for
13112         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13113         (scanLogFile) Scan for "run BibTeX" messages.
13114
13115         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13116         OT1 font encoding. Also, load the aecompl package if the ae
13117         package is loaded.
13118
13119         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13120
13121 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13122
13123         * texrow.C (increasePos): turn two error messages into debug
13124         messages.
13125
13126 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13127
13128         * LaTeX.C (scanAux): Handle the \@input macro.
13129         (runBibTeX): Use scanAux().
13130
13131         * language.C (latex_options_): New field.
13132
13133         * LaTeXFeatures.C (getMacros): Add language macros.
13134
13135         * buffer.C (makeLaTeXFile): Small fix.
13136
13137 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13138
13139         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13140
13141         * text2.C: add a using directive.
13142
13143 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13144
13145         * BufferView2.C:
13146         * lyx_gui_misc.h:
13147         * lyxfr1.C:
13148         * lyxfunc.C: kill LyXBell.
13149
13150 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13151
13152         * text.C (IsBoundary): Remove the error message
13153
13154         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13155
13156         * lyxrc.C (setDefaults): Correct initialization value for
13157         font_norm_type.
13158
13159 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13160
13161         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13162         gotoError().
13163
13164         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13165         and GotoNextNote().
13166
13167         * src/LyXAction.C: Added reference-next.
13168
13169         * text.C (InsertChar): Use contains instead of strchr.
13170
13171         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13172
13173 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13174
13175         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13176         alignment commands (when needed).
13177
13178         * text.C (InsertChar): Add ':' to number separator chars.