]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ce268232590ee454d540a898333bb19b303eaa38
[lyx.git] / src / ChangeLog
1 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4         * lyxtext.h: ditto
5         * text3.C (dispatch): ditto
6
7 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8
9         * lyxserver.C (callback): adjust
10
11         * lyxfunc.C (getStatus): add a missing brace in commented code
12         (ensureBufferClean): reindent
13         (dispatch): delete version taking a string
14
15 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
16
17         * LaTeX.C (deplog): move found file handlig from here...
18         (handleFoundFile): .. to new function here.
19         (deplog): make sure to discover several files mentioned on the
20         same log line.
21
22 2003-10-10  André Pönitz  <poenitz@gmx.net>
23
24         * lyxfunc.C:
25         * lyxtext.h:
26         * tabular.C:
27         * text.C:
28         * text2.C:
29         * text3.C: fix some of the tabular crashes
30
31 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
32
33         * MenuBackend.C (binding): put debug message into Debug::KBMAP
34
35         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
36
37 2003-10-09  André Pönitz  <poenitz@gmx.net>
38
39         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
40
41         * BufferView.C:
42         * BufferView_pimpl.C:
43         * bufferview_funcs.C:
44         * lyx_cb.C:
45         * lyxcursor.C:
46         * lyxfind.C:
47         * lyxfunc.C:
48         * lyxtext.h:
49         * text.C:
50         * text2.C:
51         * text3.C:
52         * text_funcs.[Ch]:
53         * textcursor.[Ch]:
54         * undo_funcs.C: adjust
55
56 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
57
58         * text2.C (incrementItemDepth): new function, use a backtracking
59         algorithm to discover the correct item depth.
60         (resetEnumCounterIfNeeded): new function, use a backtracking
61         algorithm to discover if counter reset is needed.
62         (setCounter): use them. Simplify a bit. Add different labels for
63         different item depths for itemize.
64
65         * paragraph.C (Paragraph): remove initialization of enumdepth
66         (operator=): ditto
67
68         * paragraph.h: get rid of enumdepth, and use itemdepth both for
69         enumerate and itemize. Change the type of itemdepth to signed char.
70
71 2003-10-08  André Pönitz  <poenitz@gmx.net>
72
73         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
74           thing assignable.
75         * text.C:
76         * text2.C: adjust
77
78         * tabular.[Ch]: fix crash after 'row-insert'
79
80 2003-10-08  Angus Leeming  <leeming@lyx.org>
81
82         Fix doxygen warnings.
83
84         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
85         Remove CutAndPaste:: prefix from header file declaration.
86
87         * LColor.h (fill): remove LColor:: prefix from declaration.
88
89         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
90         use lyx::depth_type rather than Paragraph::depth_type so that
91         header file and .C file match.
92
93         * converter.h (intToFormat): remove Converters:: prefix from declaration.
94
95         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
96         * aspell.C: \file aspell_local.C -> \file aspell.C
97         * gettext.C: \file gettext.C -> \file src/gettext.C
98         * gettext.h: \file gettext.h -> \file src/gettext.h
99         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
100         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
101         * text.C: \file text.C -> \file src/text.C
102
103         * toc.C: move comment so that doxygen is not confused.
104
105 2003-10-07  Angus Leeming  <leeming@lyx.org>
106
107         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
108
109 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
110
111         * aspell.C:
112         * aspell_local.h: add forgotten std::string's.
113
114 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
115
116         * LaTeXFeatures.C:
117         * LyXAction.C:
118         * factory.C:
119         * lfuns.h:
120         * lyxfunc.C:
121         * text3.C: The Box patch. Fancybox support, minipage, parbox
122
123 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
124
125         * CutAndPaste.h:
126         * DepTable.h:
127         * FloatList.h:
128         * LaTeXFeatures.h:
129         * ParagraphParameters.h:
130         * TextCache.h:
131         * Thesaurus.h:
132         * bufferlist.h:
133         * exporter.h:
134         * importer.h:
135         * lastfiles.h:
136         * lyxfind.h:
137         * lyxfont.h:
138         * lyxlex.h:
139         * lyxtextclasslist.h:
140         * messages.h:
141         * paragraph.h:
142         * paragraph_pimpl.C:
143         * textcursor.h: add <string> and other small fixes to make Lars'
144         std::string patch compile with STLport.
145
146 2003-10-06  Angus Leeming  <leeming@lyx.org>
147
148         * LColor.h: Add missing #include <string>.
149
150 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
151
152         * All most all file in all subdirs: Make <string> be the prefered
153         way of getting to std::string, add using declarations.
154
155 2003-10-06  André Pönitz  <poenitz@gmx.net>
156
157         * metricsinfo.C: initialize LyXFont before changing attribute.
158         (fixes the 'math in \emph is upright' bug)
159
160 2003-10-06  André Pönitz  <poenitz@gmx.net>
161
162         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
163
164 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
165
166         * graph.C:
167         * paragraph_pimpl.C: Small fixes to build using STLport
168
169 2003-10-02  André Pönitz  <poenitz@gmx.net>
170
171         * lyxfunc.C:
172         * text3.C: move handling of LFUN_DEPTH *; fix #1360
173
174 2003-10-01  André Pönitz  <poenitz@gmx.net>
175
176         * factory.C: assert early
177
178 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
179
180         * lyx_main.C: remove the global debug object
181
182         * debug.h: adjust for new debugstream
183
184         * debug.C: adjust for new debugstream and keep the global debug
185         object here.
186
187 2003-09-22  Angus Leeming  <leeming@lyx.org>
188
189         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
190         of g++ which otherwise complain that the scoped_ptr destructor can't delete
191         an incomplete class LyXFont.
192
193 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
194
195         * factory.C: bug fix in branches
196
197 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
198
199         * lyxfunc.C (processKeySym): adjust
200         (dispatch): adjust
201         (dispatch): change arg name from ev to func, adjust
202         (sendDispatchMessage): ditto
203
204         * lyx_main.C (defaultKeyBindings): adjust keybindings
205         (deadKeyBindings): ditto
206
207         * kbsequence.C (addkey): return a FuncRequest
208
209         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
210
211         * kbmap.C (bind): take a FuncRequest as arg, adjust
212         (read): adjust
213         (lookup): adjust
214         (defkey): change to take a FuncRequest as arg, adjust
215         (findbinding): take a FuncRequest as arg, adjust.
216
217         * funcrequest.h (operator=): added
218
219         * funcrequest.C (FuncRequest): default kb_action changed from
220         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
221
222         * buffer.C (dispatch): simplify
223         (dispatch): adjust to take a FuncRequest as arg, adjust
224
225         * boost.C (assertion_failed): change assertion message slightly
226
227         * ToolbarBackend.C (read): simplify
228
229         * MenuBackend.C (binding): adjust call to findbinding, add a
230         message if no binding is found.
231         (read): simplify
232         (expandToc): correct by adding a empty FuncRequest
233
234         * LyXAction.C: include <boost/assert.hpp>
235         (isPseudoAction): delete function
236         (LookupFunc): change name to...
237         (lookupFunc): this. change return type to FuncRequest.
238         (getActionName): take kb_action as arg, simplify
239         (funcHasFlag): add an assert, simplify.
240
241 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
242
243         * toc.C (action): return a FuncRequest, simplify
244
245         * lyxfunc.C (processKeySym): adjust
246         (getStatus): delete version that takes an int.
247         (getStatus): adjust
248         (dispatch): delete version that takes action as int
249         (dispatch): adjust
250         (sendDispatchMessage): simplify and adjust
251
252         * funcrequest.C (getArg): take unsigned int as arg
253
254         * ToolbarBackend.C (read): adjust
255         (add): delete version that takes func as a string.
256         (getIton): take a FuncRequest as arg
257
258         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
259         action.
260
261         * MenuBackend.C (MenuItem): add a new construct that only takes a
262         Kind, simplify the constructor use for submenus.
263         (add): adjust
264         (expandLastfiles): adjust
265         (expandDocuments): adjust
266         (expandFormats): adjust
267         (expandFloatListInsert): adjust
268         (expandFloatInsert): adjust
269         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
270
271         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
272         Remove class variables lyx_pseudo_map and lyx_arg_map
273
274         * LyXAction.C (searchActionArg): delete function
275         (getPseudoAction): delete function
276         (retrieveActionArg): delete function
277         (LookupFunc): make it return kb_action, simplify.
278         (getActionName): simplify
279
280         * factory.C (createInset): fix new bug
281
282 2003-09-19  Angus Leeming  <leeming@lyx.org>
283
284         * CutAndPaste.C (pasteSelection): remove fudge used to set the
285         masterFilename_ parameter in the include inset.
286
287         * factory.C (createInset): changes due to the changes to InsetInclude.
288
289 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
290
291         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
292
293 2003-09-18  Angus Leeming  <leeming@lyx.org>
294
295         * buffer.C:
296         * BufferView.C: pass the buffer when calling Inset::getLabelList,
297         Inset::fillWithBibKeys.
298         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
299
300 2003-09-18  Angus Leeming  <leeming@lyx.org>
301
302         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
303         variables.
304         (ctor): pass and store a 'Buffer const &'
305         (buffer): new member function.
306
307         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
308         '*this' to the LaTeXFeatures ctor.
309
310 2003-09-18  Angus Leeming  <leeming@lyx.org>
311
312         * LColor.h:
313         * lyxfont.C:
314         * lyxfont.h:
315         * lyxtext.h:
316         * text.C: rename EnumLColor as LColor_color.
317
318 2003-09-18  Angus Leeming  <leeming@lyx.org>
319
320         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
321         remove #include "insets/insetbase.h" from cursor.h.
322
323 2003-09-18  Angus Leeming  <leeming@lyx.org>
324
325         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
326         InsetOld_code to remove #include "inset.h".
327
328         * iterators.C: add #include "insets/inset.h"
329
330 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
331
332         * BufferView.C: remove more locking stuff that apparently doesn't
333         do anything sensible.
334
335 2003-09-16  André Pönitz  <poenitz@gmx.net>
336
337         * paragraph.[Ch]:
338         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
339           performance boost.
340
341 2003-09-16  Angus Leeming  <leeming@lyx.org>
342
343         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
344
345         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
346         arg/return type.
347
348         * paragraph.h: remove #include "lyxfont.h". Forward declare
349         LyXFont_size.
350
351 2003-09-16  Angus Leeming  <leeming@lyx.org>
352
353         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
354         of support/textutils.h.
355         (isWord): move the contents of support/textutils.h's IsWordChar here.
356
357         * buffer.C:
358         * lyxfind.C:
359         * rowpainter.C:
360         * text.C:
361         * text2.C: add #include "paragraph.h".
362
363         * rowpainter.C:
364         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
365
366 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
367
368         * main.C:
369         * lyx_main.C:
370         * lyx_cb.C:
371         * buffer.C:
372         * LaTeX.C: use namespace alias for lyx::support::os
373
374 2003-09-16  Angus Leeming  <leeming@lyx.org>
375
376         * bufferparams.C:
377         * bufferview_funcs.C:
378         * factory.C:
379         * lyxfunc.C:
380         * paragraph_pimpl.C:
381         * rowpainter.C:
382         * text.C: add #include "LColor.h".
383
384 2003-09-16  Angus Leeming  <leeming@lyx.org>
385
386         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
387         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
388         return LyXFont &.
389         Store the FontBits::color variable as an int rather than as an
390         LColor::colorso that we can move LColor.h out of the lyxfont.h header
391         file.
392
393         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
394         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
395         string calls together.
396
397         * lyxrc.C: add #include "LColor.h".
398
399 2003-09-15  Angus Leeming  <leeming@lyx.org>
400
401         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
402         a cow_ptr.
403
404 2003-09-15  Angus Leeming  <leeming@lyx.org>
405
406         * LColor.h: add an EnumLColor wrapper for LColor::color.
407
408         * lyxfont.[Ch] (color, setColor, realColor):
409         * lyxtext.h, text.C (backgroundColor):
410         pass EnumLColor args to/from the functions, rather than LColor::color
411         ones.
412
413         * lyxfont.h:
414         * lyxtext.h: forward declare EnumLColor.
415
416         * lyx_main.C: add #include "LColor.h".
417
418 2003-09-15  Angus Leeming  <leeming@lyx.org>
419
420         * .cvsignore: add lyx-gtk.
421
422 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
423
424         * Chktex.C
425         * LaTeX.C
426         * LaTeXFeatures.C
427         * ParagraphParameters.C
428         * Spacing.C
429         * buffer.C
430         * bufferparams.C
431         * bufferview_funcs.C
432         * chset.C
433         * counters.C
434         * funcrequest.C
435         * lyxfont.C
436         * lyxgluelength.C
437         * lyxlength.C
438         * paragraph.C
439         * paragraph_funcs.C
440         * text3.C
441         * vc-backend.C: remove usage of STRCONV
442
443 2003-09-15  Angus Leeming  <leeming@lyx.org>
444
445         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
446         explicitly define the color passed to the painter.
447
448 2003-09-15  Angus Leeming  <leeming@lyx.org>
449
450         * bufferparams.C (BufferParams): reorder member initializers to avoid
451         compiler warning.
452
453 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
454
455         * CutAndPaste.C (pasteSelection): remove an outdated #warning
456         * text.C (updateRowPositions): remove an unusual nop
457
458 2003-09-12  André Pönitz  <poenitz@gmx.net>
459
460         * BufferView_pimpl.C:
461         * Bullet.C:
462         * layout.h:
463         * lyxfunc.C:
464         * lyxlayout.[Ch]:
465         * lyxtextclass.C:
466         * rowpainter.C:
467         * text.C:
468         * text2.C:
469         * Counters.[Ch]: finish the 'automatic counters' job
470
471 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
472
473         * aspell.C: include <boost/assert.cpp> (compile fix)
474
475 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
476
477         * boost.C (assertion_failed): use lyx::support::abort instead of
478         assert.
479
480 2003-09-10  Angus Leeming  <leeming@lyx.org>
481
482         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
483         with their _fwd progeny.
484
485 2003-09-09  Angus Leeming  <leeming@lyx.org>
486
487         134 files throughtout the source tree: replace 'using namespace abc;'
488         directives with the appropriate 'using abc::xyz;' declarations.
489
490 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
491
492         * boost.C (emergencyCleanup): moved here from LAssert.c
493         (assertion_failed): new function, called by BOOST_ASSERT
494
495         * several files: change Assert to BOOST_ASSERT
496
497 2003-09-09  Angus Leeming  <leeming@lyx.org>
498
499         * buffer.[Ch]: Add an Impl class and move Buffer's member
500         variables into it. As a result move several header files out of
501         buffer.h.
502
503         Add header files to lots of .C files all over the tree as a result.
504
505 2003-09-09  Angus Leeming  <leeming@lyx.org>
506
507         * buffer.[Ch]: make Buffer's member variables private. Add
508         accessor functions.
509
510         Lots of changes all over the tree as a result.
511
512 2003-09-08  Angus Leeming  <leeming@lyx.org>
513
514         * graph.C: #include <config.h>.
515
516 2003-09-08  Angus Leeming  <leeming@lyx.org>
517
518         * BranchList.C:
519         * BufferView.C:
520         * BufferView_pimpl.C:
521         * CutAndPaste.C:
522         * DepTable.C:
523         * LaTeX.C:
524         * LaTeXFeatures.C:
525         * LyXAction.C:
526         * MenuBackend.C:
527         * TextCache.C:
528         * aspell.C:
529         * buffer.C:
530         * bufferlist.C:
531         * changes.C:
532         * chset.C:
533         * converter.C:
534         * counters.C:
535         * debug.C:
536         * graph.C:
537         * ispell.C:
538         * lyx_cb.C:
539         * lyxfind.C:
540         * lyxfunc.C:
541         * lyxlex_pimpl.C:
542         * lyxrc.C:
543         * lyxrow.C:
544         * paragraph.C:
545         * rowpainter.C:
546         * texrow.C:
547         * text.C:
548         * text2.C:
549         * toc.C: remove redundant using directives.
550
551 2003-09-07  Angus Leeming  <leeming@lyx.org>
552
553         * LaTeXFeatures.h: remove #include "support/types.h".
554         * ToolbarBackend.h: remove #include <algorithm>.
555         * changes.h: remove #include <ctime>.
556         * debug.h: remove #include <iosfwd>.
557         * graph.h: remove #include "support/std_string.h".
558         * lyx_main.h: remove #include <csignal>.
559         * lyxlex_pimpl.h: remove #include <fstream>.
560         * sgml.h: remove #include <algorithm>, <utility>.
561         * toc.h: remove #include "support/std_ostream.h".
562         Add #include <iosfwd>.
563
564 2003-09-07  Angus Leeming  <leeming@lyx.org>
565
566         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
567
568         * converter.h: forward declare LatexRunParams.
569         * encoding.h: remove #include "lyxrc.h".
570         * lyxtext.h: remove #include "LColor.h".
571         * lyxtextclass.h: remove #include "support/types.h".
572         * trans.h: remove #include "tex-accent.h".
573         * trans_mgr.h: remove #include "tex-accent.h".
574         * insets/inset.h: remove #include "support/types.h", <vector>.
575         * insets/insetcollapsable.h: remove #include "LColor.h".
576         * insets/insetinclude.h: remove #include "dimension.h".
577         * insets/insetlatexaccent.h: remove #include "dimension.h".
578         * insets/insetoptarg.h:: remove #include "insettext.h".
579         * insets/insettext.h: remove #include "dimension.h",
580         <boost/shared_ptr.hpp>
581
582         * insets/renderers.h: add #include "dimension.h".
583         * insets/updatableinset.h: add #include "support/types.h".
584
585         * many .C files: Associated changes.
586
587 2003-09-06  Angus Leeming  <leeming@lyx.org>
588
589         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
590         one, inside testInvariant.
591
592         * PrinterParams.C: new file.
593         * PrinterParams.[Ch]: move the function bodies out of line.
594
595 2003-09-06  Angus Leeming  <leeming@lyx.org>
596
597         * ParagraphParameters.h: forward declare ParameterStruct rather than
598         including its header file.
599         (depth): moved out-of-line.
600
601 2003-09-06  Angus Leeming  <leeming@lyx.org>
602
603         * BufferView_pimpl.h:
604         * kbmap.h:
605         * kbsequence.h:
606         * lyxfunc.h: forward declare LyXKeySym rather than
607         #include "frontends/LyXKeySym.h".
608
609         * BufferView_pimpl.C:
610         * kbmap.C:
611         * kbsequence.C:
612         * lyxfunc.C: associated changes.
613
614 2003-09-06  Angus Leeming  <leeming@lyx.org>
615
616         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
617         As a result, can remove the #include "insets/inset.h" from BufferView.h
618
619 2003-09-06  Angus Leeming  <leeming@lyx.org>
620
621         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
622         As a result, can remove the #include "insets/inset.h" from BufferView.h
623
624 2003-09-06  Angus Leeming  <leeming@lyx.org>
625
626         * buffer_funcs.C:
627         * buffer.h:
628         * bufferlist.C:
629         * BufferView.C:
630         * bufferview_funcs.C:
631         * BufferView_pimpl.C:
632         * CutAndPaste.C:
633         * lyx_cb.C:
634         * lyxfunc.C:
635         * paragraph.h:
636         * ParagraphParameters.C:
637         * tabular.C:
638         * text3.C:
639         * toc.C:
640         * undo_funcs.C:
641         * frontends/controllers/ControlDocument.C:
642         * insets/insetcaption.C: rearrange the #includes into some sort of
643         coherent order.
644
645         * buffer.h: remove #includes ErrorList.h, undo.h
646
647 2003-09-06  Angus Leeming  <leeming@lyx.org>
648
649         * support/types.h: add a 'depth_type' typedef, used to store the
650         nesting depth of a paragraph.
651
652         * paragraph.h:
653         * ParameterStruct.h: use this lyx::depth_type typedef rather than
654         defining explicitly.
655
656         * buffer.h:
657         * paragraph_funcs.h:
658         * ParagraphParameters.h:
659         * sgml.h: use lyx::depth_type rather than Paragraph or
660         ParameterStruct's depth_type.
661
662         * buffer.h
663         * paragraph_funcs.h: no need to #include paragraph.h anymore.
664
665         * BufferView.C:
666         * BufferView_pimpl.C:
667         * CutAndPaste.C:
668         * ParagraphParameters.C:
669         * buffer_funcs.C:
670         * bufferlist.C:
671         * bufferview_funcs.C:
672         * lyx_cb.C:
673         * lyxfunc.C:
674         * tabular.C:
675         * text3.C:
676         * toc.C:
677         * undo_funcs.C:
678         * frontends/LyXView.C:
679         * frontends/controllers/ControlDocument.C:
680         * frontends/controllers/ControlErrorList.C:
681         * insets/insetbibitem.C:
682         * insets/insetbranch.C:
683         * insets/insetcaption.C:
684         * insets/insetcollapsable.C:
685         * insets/insetenv.C:
686         * insets/insetert.C:
687         * insets/insetfloat.C:
688         * insets/insetfoot.C:
689         * insets/insetfootlike.C:
690         * insets/insetnewline.C:
691         * insets/insetquotes.C:
692         * insets/insettabular.C:
693         * insets/insettext.C:
694         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
695
696         * frontends/controllers/ControlChanges.C: #include "changes.h".
697
698 2003-09-06  Angus Leeming  <leeming@lyx.org>
699
700         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
701         than #including paragraph.h.
702
703         * ParagraphList.h:
704         * RowList.h: deleted. Superfluous.
705
706         * CutAndPaste.h:
707         * iterators.h:
708         * lyxcursor.h:
709         * lyxtext.h:
710         * text_funcs.h:
711         * undo.h:
712         * undo_funcs.h:
713         * insets/inset.h:
714         * insets/insettext.h: use ParagraphList_fwd.h rather than
715         ParagraphList.h.
716
717         * paragraph.h: don't forward declare ParagraphList.
718
719         * buffer.h:
720         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
721         rather than ParagraphList.h. paragraph.h is still needed for the
722         Paragraph::depth_type parameters.
723
724         * textcursor.h: enable it to compile stand-alone in light of the
725         above changes.
726
727         * bufferview_funcs.C:
728         * iterators.C:
729         * lyxfunc.C:
730         * lyxrow_funcs.C:
731         * paragraph.C:
732         * rowpainter.C:
733         * text.C:
734         * text2.C:
735         * text3.C:
736         * text_funcs.C:
737         * textcursor.C:
738         * undo.C:
739         * frontends/controllers/ControlParagraph.C:
740         * frontends/controllers/ControlTabular.C:
741         * insets/insetmarginal.C:
742         * insets/insetminipage.C:
743         * insets/insetnote.C:
744         * insets/insetoptarg.C: add header files needed to compile again.
745
746 2003-09-06  Angus Leeming  <leeming@lyx.org>
747
748         * RowList_fwd.h: new file, forward-declaring Row rather than
749         #including lyxrow.h.
750
751         * lyxrow_funcs.h:
752         * lyxtext.h:
753         * paragraph.h:
754         * insets/insettext.h: use it instead of RowList.h
755
756         * bufferview_funcs.C:
757         * lyxfunc.C:
758         * lyxrow_funcs.C:
759         * paragraph.C:
760         * rowpainter.C:
761         * text.C:
762         * text2.C:
763         * text3.C: #include "RowList.h".
764
765 2003-09-05  Angus Leeming  <leeming@lyx.org>
766
767         * factory.C (createInset):
768         * vspace.C (c-tor): replace sscanf call with an istringstream.
769         * ispell.C: re-add missing HP/UX headers.
770         * lyxserver.C: re-add missing  os2 headers.
771
772 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
773
774         * BranchList.C:
775         * graph.C:
776         * ispell.C:
777         * lastfiles.C:
778         * lyx_cb.C:
779         * lyxserver.C:
780         * texrow.C:
781         * text3.C: re-add missing system headers, needed for 2.95.2.
782
783 2003-09-05  Angus Leeming  <leeming@lyx.org>
784
785         Changes most place everywhere due to the removal of using directives
786         from support/std_sstream.h.
787
788 2003-09-05  Angus Leeming  <leeming@lyx.org>
789
790         Replace LString.h with support/std_string.h,
791         Lsstream.h with support/std_sstream.h,
792         support/LIstream.h with support/std_istream.h,
793         support/LOstream.h with support/std_ostream.h.
794
795         Changes resulting throughout the tree.
796
797 2003-09-05  Angus Leeming  <leeming@lyx.org>
798
799         * sgml.h: ensure that the header file can be compiled stand-alone.
800         * *.C: strip out redundant #includes. (320 in total.)
801
802 2003-09-04  Angus Leeming  <leeming@lyx.org>
803
804         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
805         here (from getPackages).
806
807         * debug.[Ch]: add a new EXTERNAL tag.
808
809 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
810
811         * text2.C (cursorEnd): simplify
812         (setCursor): adjust
813         (getColumnNearX): adjust
814
815         * text.C (computeBidiTables): adjust
816         (fill): adjust
817
818         * rowpainter.C (paintChars): adjust
819         (paintSelection): adjust
820         (paintChangeBar): adjust
821         (paintText): adjust
822
823         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
824         lastPos instead.
825         (numberOfSeparators): adjust
826
827 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
828
829         * LyXAction.C:
830         * box.[Ch]:
831         * lfuns.h:
832         * lyxfunc.C:
833         * text3.C: Restricts the mouse click functionality
834         of insets like bibtex, include, toc and floatlist to the visible
835         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
836         up the dialogs. Cursor has to be in front of the inset (i.e.
837         start of row) for this to function.
838
839 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
840
841         * bufferview_funcs.C (currentState): output row information
842
843 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
844
845         * bufferview_funcs.C (currentState): output paragraph position
846
847 2003-09-04  Angus Leeming  <leeming@lyx.org>
848
849         * FloatList.h: move out #include "Floating.h".
850         * LaTeX.h: move out #include "DepTable.h".
851         * LyXAction.h: move out #include "funcrequest.h".
852         * buffer.h: move out #include "author.h", "iterators.h".
853         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
854         * lyx_main.h: move out #include "errorlist.h".
855         * lyxfunc.h: move out #include "FuncStatus.h".
856         * lyxtext: move out #include "lyxcursor.h".
857         * paragraph_pimpl.h: move out #include "counters.h".
858
859 2003-09-03  Angus Leeming  <leeming@lyx.org>
860
861         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
862         preamble_snippets list, enabling us to add snippets to the preamble
863         only if the snippet was not there already.
864
865 2003-09-04  Angus Leeming  <leeming@lyx.org>
866
867         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
868
869 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
870
871         * lyxfunc.C (dispatch): if fitCursor did something be sure to
872         update
873
874 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
875
876         * BranchList.C: point fix, earlier forgotten
877
878 2003-09-02  Angus Leeming  <leeming@lyx.org>
879
880         * box.C (contains): renamed from 'contained' after a fantastic
881         amount of hot air.
882
883 2003-09-02  John Levon  <levon@movementarian.org>
884
885         * BufferView.C:
886         * lyxcursor.h:
887         * lyxcursor.C:
888         * lyxfunc.C:
889         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
890
891 2003-09-02  John Levon  <levon@movementarian.org>
892
893         * text2.C: simplification of cursorEnd(), including partial
894         fix for bug 1376
895
896 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
897
898         * buffer.C (readFile): add a space
899
900 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
901
902         * BufferView_pimpl.C (update): remove bogus fitCursor() call
903
904 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
905
906         * buffer.C (readFile): new function, take a filename and a
907         ParagraphList::iterator
908         (readFile): adjust
909         (readFile): adjust, make it private. don't use setStream, make
910         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
911         always contain the filename.
912
913         * BufferView.C (insertLyXFile): simplify and make it work for
914         gzipped files.
915
916 2003-08-30  John Levon  <levon@movementarian.org>
917
918         * Makefile.am: fix dist (from Kayvan)
919
920 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
921
922         * most files: change to use const Buffer refs
923
924 2003-08-27  André Pönitz  <poenitz@gmx.net>
925
926         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
927         on top of ownerPar().
928
929 2003-08-27  John Levon  <levon@movementarian.org>
930
931         * funcrequest.C: properly initialise POD members
932
933 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
934
935         * lyxtext.h (top_y): move top_y from here
936         * text.C:
937         * text2.C:
938         * text3.C:
939         * BufferView.[Ch]:
940         * BufferView_pimpl.[Ch]: to here
941         * frontends/screen.C:
942         * insets/insettabular.C:
943         * insets/insettext.C: adjust
944         * rowpainter.[Ch] (paintRows): remove LyXText & argument
945
946 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
947
948         * BufferView.[Ch]:
949         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
950
951 2003-08-26  André Pönitz  <poenitz@gmx.net>
952
953         * paragraph_func.[Ch] (outerPar): new function
954
955         * paragraph.C:
956         * paragraph_funcs.C:
957         * paragraph_funcs.h:
958         * paragraph_pimpl.C:
959         * text2.C: remove Inset::par_owner
960
961 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
962
963         * lyxrow_funcs.C:
964         * lyxtext.h:
965         * text.C:
966         * text2.C: eliminates the needFullRow/display() stuff
967         altogether, putting the logic in metrics/draw in the insets.
968
969 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
970
971         * text2.C (redoParagraphInternal, redoParagraphs):
972         * text.C (redoParagraph): add a call to updateRowPositions at the
973         end of each 'metrics-like' call. Remove all others.
974         (getRow): remove the 'y-computing' version.
975         (getRowNearY): do not compute nor return the real y. Solve the
976         'y < 0' problem and simplify.
977
978 2003-08-22  Angus Leeming  <leeming@lyx.org>
979
980         * *.[Ch]: clean-up of licence and author blurbs.
981         Also move config.h out of a few .h files and into a few .C files.
982
983 2003-08-22  André Pönitz  <poenitz@gmx.net>
984
985         * lyxrow.[Ch]: add x_ and *fill_ members
986
987         * lyxtext.h:
988         * text.C:
989         * rowpainter.C:
990         * text2.C: adjust/remove prepareToPrint() calls
991
992 2003-08-22  André Pönitz  <poenitz@gmx.net>
993
994         * lyxrow.[Ch]: add  end_ member
995
996         * lyxrow_funcs.C: use LyXRow::end_
997
998         * lyxtext.h (singleWidth): add LyXFont parameter
999
1000         * rowpainter.C:
1001         * text2.C: adjust LyXText::singleWidth() calls
1002
1003         * text.C (redoParagraph): simplify row breaking logic
1004
1005
1006 2003-08-19  André Pönitz  <poenitz@gmx.net>
1007
1008         * funcrequest.C: initialize button_ member
1009
1010         * text3.C:
1011         * rowpainter.[Ch]: interface consolidation
1012
1013 2003-08-18  André Pönitz  <poenitz@gmx.net>
1014
1015         * BufferView.C:
1016         * BufferView_pimpl.C:
1017         * lyxfind.C:
1018         * paragraph_funcs.C:
1019         * rowpainter.C:
1020         * text3.C: remove LyXScreen::draw() and fitCursor calls
1021
1022         * BranchList.h: remove spurious semicolons
1023
1024         * MenuBackend.C: fix branchlist related crash
1025
1026 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1027
1028         * BranchList.[Ch]:
1029         * InsetList.[Ch]:
1030         * LColor.[Ch]:
1031         * LyXAction.C:
1032         * Makefile.am:
1033         * MenuBackend.[Ch]:
1034         * bufferparams.[Ch]:
1035         * factory.C:
1036         * lfuns.h:
1037         * lyxfunc.C:
1038         * text3.C: implements the 'branch inset'
1039         idea. This allows the output of various versions of a document
1040         from a single source version, selectively outputing or suppressing
1041         output of parts of the text.
1042         This implementation contains a 'branch list editor' in a separate
1043         tab of the document settings dialog. Branches are user definable
1044         and have a "display colour" to distinguish them on-screen.
1045
1046         ColorHandler was somewhat cleaned up.
1047         (1) make possible a dynamically growing LColor list by allowing
1048         the graphic context cache to grow along (vector);
1049         (2) eliminate an IMHO unnecessary step in colour allocation.
1050
1051 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1052
1053         * BufferView_pimpl.C: compile fix
1054
1055 2003-08-15  André Pönitz  <poenitz@gmx.net>
1056
1057         * rowpainter.C: remove extra metrics calls
1058
1059         * lyxtext.h: merge the two constructors into a single one,
1060           pass reference to owner's par list
1061
1062         * BufferView_pimpl.C:
1063         * text.C:
1064         * text2.C: adjust
1065
1066 2003-08-15  André Pönitz  <poenitz@gmx.net>
1067
1068         * lyxrow_funcs.[Ch]:
1069         * lyxtext.h:
1070         * paragraph.h:
1071         * paragraph_funcs.C:
1072         * rowpainter.C:
1073         * text.C:
1074         * text2.C:
1075         * text3.C:
1076         * text_funcs.C: split LyXText::rowlist_ into individual
1077         Paragraph::rows_ chunks
1078
1079         * BufferView.[Ch]:
1080         * BufferView_pimpl.[Ch]:
1081         * lyxfind.C:
1082         * lyxtext.h:
1083         * text3.C: remove toggleSelection()
1084
1085 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1086
1087         * bufferlist.C: beautify two alerts (shorter text of buttons)
1088         * buffer.C: Remove redundant ' ' from message
1089         * tabular.h:
1090         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1091         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1092         rename VALIGN_CENTER to VALIGN_MIDDLE
1093
1094 2003-08-11  André Pönitz  <poenitz@gmx.net>
1095
1096         * lyxtext.h (getPar):
1097         * text.C: new function
1098
1099 2003-08-11  André Pönitz  <poenitz@gmx.net>
1100
1101         * Makefile.am:
1102         * tracer.[Ch]: remove unneeded files
1103
1104         * InsetList.[Ch]: remove resizeInsetsLyXText()
1105
1106         * lyxtext.h:
1107         * text.C:
1108         * text2.C:
1109         * text3.C: merge insertParagraphs() and appendParagraph()
1110         remove breakAgain(), update()
1111
1112         * BufferView_pimpl.[Ch]:
1113         * bufferview_funcs.[Ch]:
1114         * lyxfunc.C:
1115         * paragraph.[Ch]:
1116         * rowpainter.C:
1117         * tabular.C: adjust after text & InsetList changes.
1118
1119 2003-08-08  André Pönitz  <poenitz@gmx.net>
1120
1121         * text.C (insertChar, backspace): replace rowlist fiddling
1122         with rebreak of full par
1123
1124         * lyxtext.h:
1125         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1126         checkParagraph, updateInset): removed
1127
1128 2003-08-07  André Pönitz  <poenitz@gmx.net>
1129
1130         * paragraph.C:
1131         * text3.C: merge some LFUN handlers, remove dead code
1132
1133 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1134
1135         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1136
1137 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1138
1139         * text2.C (DEPM): fix part of bug 1255 and 1256
1140
1141 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1142
1143         * BufferView_pimpl.C (workAreaDispatch): change to use
1144         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1145         that are no mouse related.
1146
1147 2003-08-05  André Pönitz  <poenitz@gmx.net>
1148
1149         * BufferView.[Ch]:
1150         * BufferView_pimpl.[Ch]:
1151         * bufferview_funcs.C:
1152         * text2.C:
1153         * text3.C: rip out "deep update"
1154
1155         * textcursor.[Ch] (last_sel_cursor): remove unused member
1156
1157 2003-08-04  André Pönitz  <poenitz@gmx.net>
1158
1159         * BufferView.[Ch]:
1160         * BufferView_pimpl.[Ch]:
1161         * ParagraphParameters.C:
1162         * bufferview_funcs.C:
1163         * lyx_cb.C:
1164         * lyxfind.C:
1165         * lyxfunc.C:
1166         * text.C:
1167         * text2.C:
1168         * text3.C: replace "complicated" BufferView::update(...) calls with
1169         simpler ones.
1170
1171         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1172
1173 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1174
1175         * Makefile.am (lyx_SOURCES): add paper.h
1176
1177 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1178
1179         * Makefile.am: move things around so that both lyx-qt and
1180         lyx-xforms can be built (according to --with-frontend). Then lyx
1181         is a symbolic link to lyx-[firstfrontend]
1182
1183 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1184
1185         * Always use std::endl with lyxerr
1186
1187 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1188
1189         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1190
1191 2003-08-01  André Pönitz  <poenitz@gmx.net>
1192
1193         * BufferView.[Ch]:
1194         * BufferView_pimpl.[Ch]:
1195         * lyxfunc.C:
1196         * text3.C: merge BufferView::repaint() and BufferView::update()
1197
1198 2003-08-01  José Matos  <jamatos@lyx.org>
1199
1200         * buffer.[Ch]: file_format is no longer a buffer data element.
1201
1202 2003-08-01  André Pönitz  <poenitz@gmx.net>
1203
1204         * BufferView.C:
1205         * lyxtext.h:
1206         * text.C:
1207         * text2.C: make redoParagraph more independent of current cursor
1208
1209         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1210         * text.C:
1211         * text2.C: remove unneeded members
1212
1213 2003-07-30  André Pönitz  <poenitz@gmx.net>
1214
1215         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1216
1217         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1218           create a single function...
1219
1220         * paragraph_funcs.C (moveItem): ... here.
1221
1222         * text.C:
1223           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1224
1225 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1226
1227         * LColor.[Ch]: Add comment and greyedout logical colors.
1228
1229 2003-07-30  André Pönitz  <poenitz@gmx.net>
1230
1231         * tabular.C: don't use Assert too heavily. This crashes where it
1232           shouldn't
1233
1234 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1235
1236         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1237         is disabled (bug 1232)
1238
1239 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1240
1241         * factory.C: limited 'arg' scope
1242
1243 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1244
1245         * factory.C: fixed Note submenu issues
1246
1247 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1248
1249         * factory.C: submenu for Note/Comment/Greyedout
1250
1251 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1252
1253         * lyx_main.C (LyX):
1254         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1255
1256 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1257
1258         * LaTeXFeatures.C:
1259         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1260         greyedout. Patch provided by Jürgen Spitzmüller.
1261
1262 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1263
1264         * kbmap.C (read): fix error message when reading bind files
1265
1266 2003-07-29  Angus Leeming  <leeming@lyx.org>
1267
1268         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1269         certainly does not do what it purports to do. I am doing it, and
1270         us, a favour by killing it.
1271
1272 2003-07-28  José Matos  <jamatos@lyx.org>
1273
1274         * buffer.C (readBody, do_writeFile):
1275         * paragraph.C(readParagraph): \end_document replaces \the_end.
1276
1277 2003-07-29  André Pönitz  <poenitz@gmx.net>
1278
1279         * BufferView.[Ch]:
1280         * BufferView_pimpl.[Ch]:
1281         * lyxfunc.C:
1282         * text2.C:
1283         * text3.C:
1284         * textcursor.[Ch]: remove toggleToggle & Co
1285
1286 2003-07-28  José Matos  <jamatos@fep.up.pt>
1287
1288         * buffer.C (readParagraph):
1289         * params_func (readParToken, readParagraph):
1290         * paragraph.C (write): \layout -> \begin_layout.
1291
1292 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1293
1294         * lyxlex_pimpl.C (setFile): clean up slightly.
1295
1296         * bufferparams.h: add compressed var
1297
1298         * buffer_funcs.C (readFile): adjust for LyXLex change
1299         (newFile): ditto + simplify
1300
1301         * buffer.C (writeFile): handle writing of compressed files
1302
1303         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1304         Check if the file is compressed and set a bufferparm if so.
1305
1306         * Makefile.am (lyx_LDADD): remove explicit -lz
1307
1308 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1309
1310         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1311         makeDocBookFile): put the real LyX version in the first line of
1312         the file
1313
1314         * version.h:
1315         * version.C.in: remove lyx_docversion
1316
1317         * tabular.C (write_attribute): add a template-based version to
1318         write enums properly
1319
1320 2003-07-28  André Pönitz  <poenitz@gmx.net>
1321
1322         * lyxtext.h:
1323         * text.C:
1324         * text2.C:
1325         * text3.C: use doubles again for x-coordinates. They are needed.
1326
1327 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1328
1329         * messages.C (getLocaleDir): use lyx_localedir()
1330
1331         * lyxlex_pimpl.C (setFile): compress stuff
1332
1333         * buffer.C (writeFile): add some compression stuff
1334         (do_writeFile): new func, dont call expliti close... will this
1335         breake anything?
1336
1337         * Makefile.am (lyx_LDADD): add -lz
1338
1339 2003-07-28  José Matos  <jamatos@fep.up.pt>
1340
1341         * buffer.C: increment file format.
1342         * paragraph_funcs (readParagraph, readParToken):
1343         * paragraph.C (readParagraph): add \end_layout.
1344
1345 2003-07-27  Angus Leeming  <leeming@lyx.org>
1346
1347         * Makefile.am: remove special casing for configure-time setting of
1348         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1349
1350         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1351         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1352
1353 2003-07-26  André Pönitz  <poenitz@gmx.net>
1354
1355         * paragraph_func.[Ch]:
1356         * paragraph.C (realizeFont): inline it whereever it is used
1357
1358         * rowpainter.C:
1359         * text.C:
1360         * text2.C:
1361         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1362
1363
1364 2003-07-26  André Pönitz  <poenitz@gmx.net>
1365
1366         *       lyxtext.h:
1367         * text.C:
1368         * text2.C: get rid of LyXText::need_break_row
1369
1370 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1371
1372         * toc.[Ch]: put namespace toc inside namespace lyx
1373
1374         * MenuBackend.C (expandToc2): adjust for lyx::toc
1375         (expandToc): ditto
1376
1377         * lyxfunc.C (dispatch): adjust for lyx::find
1378
1379         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1380         lyx::find instead. Reorganize a bit.
1381         (LyXReplace): rename to replace
1382         (LyXFind): rename to find
1383
1384         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1385         (dispatch): ditto
1386
1387 2003-07-26  André Pönitz  <poenitz@gmx.net>
1388
1389         * text.C (setHeightOfRow): restrict scope of temporary variable
1390
1391         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1392           code (never has been used?)
1393
1394 2003-07-27  Asger Alstrup  <alstrup@local>
1395
1396         * text.C (fill): Optimise algorithm to exploit that we can reuse
1397         the LyXFont for many characters.
1398         (setHeightOfRow): Same thing.
1399         (rowBreakPoint): Same thing.
1400
1401 2003-07-26  Asger Alstrup  <alstrup@local>
1402
1403         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1404
1405         * text.C (singleWidth): Spurious font copying in hot-spot
1406         singleWidth avoided. Reorder tests for arabic for efficiency.
1407
1408         * text.C (fill): handle empty paragraphs better.
1409
1410 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1411
1412         * ispell.C:
1413         * encoding.h: add includes
1414
1415         * lyxrc.C: remove reading of bind files
1416
1417         * lyx_main.C (init): setup bindings and menus only if we have a
1418         gui.
1419
1420         * kbmap.C (read): new method. Do the actual reading of bind
1421         files.
1422
1423         * converter.C (dvipdfm_options):
1424         * bufferparams.C:
1425         * lyxrc.C (read):
1426         (output): adapt PAPER_* enums.
1427
1428         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1429
1430         * bufferparams.h: remove paper-related enums from there
1431
1432         * paper.h: New file. A trivial header file to hold paper-related
1433         enums. It should later expand to contain many paper-related
1434         horrors access.
1435
1436         * lyxrc.C: declare extern displayTranslator
1437
1438 2003-07-27  José Matos  <jamatos@fep.up.pt>
1439
1440         * tabular.[Ch] (linuxdoc): add support for tables and figures
1441         (linuxdoc).
1442
1443 2003-07-27  José Matos  <jamatos@fep.up.pt>
1444
1445         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1446         consistency in both functions.
1447         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1448
1449 2003-07-26  Asger Alstrup  <alstrup@local>
1450
1451         * rowpainter.C (paintRows): Change algorithm to work directly on
1452         the insets rather than asking every character in the document
1453         whether its an inset.
1454
1455 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1456
1457         * buffer.C (openFileWrite): factorize some code
1458
1459 2003-07-26  Angus Leeming  <leeming@lyx.org>
1460
1461         * lyx_cb.C:
1462         * lyx_main.[Ch]: replace occurances of system_tempdir with
1463         os::getTmpDir().
1464
1465 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1466
1467         * rename Inset to InsetOld
1468
1469 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1470
1471         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1472         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1473         which I think is a bit clearer. EDIT is gone, since it was
1474         premature optimisation, and broken for mathed anyway.
1475         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1476         with cursor positioning in insets as well (math insets still do not
1477         work, but that's a different story anyway.) It mysteriously
1478         crashes sometimes with undo in the first paragraph, but I'm fairly
1479         confident that this is a compiler bug.
1480
1481 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1482
1483         * paragraph.C (Paragraph): adjust for new clone return type
1484         (operator==): ditto
1485         (copyIntoMinibuffer): ditto
1486
1487 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1488
1489         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1490         by not having a special case, and always doing a full rebreak of
1491         the document after undo.
1492
1493 2003-07-23  Angus Leeming  <leeming@lyx.org>
1494
1495         * factory.C (createInset): InsetExternal::setParams now takes a
1496         Buffer const * arg.
1497
1498 2003-07-23  Angus Leeming  <leeming@lyx.org>
1499
1500         * factory.C (createInset): changed interface to the external and
1501         graphics mailers' string2params functions.
1502
1503 2003-07-23  Angus Leeming  <leeming@lyx.org>
1504
1505         * factory.C (createInset): pass a
1506         Buffer const * parameter to InsetExternalMailer's string2params.
1507
1508 2003-07-22  John Levon  <levon@movementarian.org>
1509
1510         * Thesaurus.h: include the right aiksaurus header
1511
1512 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1513
1514         * MenuBackend.C (expand): check menu shortcuts unconditionally
1515
1516 2003-07-21  Angus Leeming  <leeming@lyx.org>
1517
1518         * factory.C (createInset): pass a
1519         buffer_path parameter to InsetGraphicsMailer's string2params.
1520
1521 2003-07-21  Angus Leeming  <leeming@lyx.org>
1522
1523         * BufferView_pimpl.C (buffer):
1524         * buffer.C (d-tor):
1525         * lyx_main.C (LyX):
1526         * lyxfunc.C (dispatch):
1527         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1528         rather than the grfx shortcut.
1529
1530 2003-07-21  André Pönitz  <poenitz@gmx.net>
1531
1532         * rowpainter.C: remove unused variables
1533
1534         * tabular_funcs.C:
1535         * tabular_funcs.h: move to tabular.C
1536         * Makefile.am: adjust
1537
1538         * tabular.[Ch]: basic optical cleaning
1539
1540         * author.h: pass references, not values
1541
1542 2003-07-18  André Pönitz  <poenitz@gmx.net>
1543
1544         * lyxtext.h:
1545         * metricsinfo.C:
1546         * metricsinfo.h:
1547         * rowpainter.C:
1548         * text.C:
1549         * text2.C:
1550         * text3.C: two-phase drawing for InsetText and InsetTabular
1551         some float -> int changes.
1552
1553 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1554
1555         * lyx_main.C: fix the fix
1556
1557 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1558
1559         * lyx_main.C: fix a crash in batch mode if no files specified
1560         * converter.C: ws
1561
1562 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1563
1564         * format.[Ch] (papersize): moved to BufferParams
1565         * converter.[Ch] (dvips_options): moved to BufferParams
1566         (dvipdfm_options): moved to anon namespace
1567         * bufferparams.[Ch]: added above functions.
1568
1569 2003-07-17  André Pönitz  <poenitz@gmx.net>
1570
1571         * lyxtext.h:
1572         * rowpainter.C:
1573         * text2.C: don't call inset->update() anymore
1574
1575         * metricsinfo.[Ch]: add convenience constructor
1576
1577 2003-07-16  André Pönitz  <poenitz@gmx.net>
1578
1579         * lyxcursor.[Ch]:
1580         * lyxfunc.[Ch]:
1581         * text.C:
1582         * text2.C: replace the LyXCursor::irow_ member with
1583          on-demand computation of the value
1584
1585 2003-07-16  John Levon  <levon@movementarian.org>
1586
1587         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1588
1589 2003-07-15  André Pönitz  <poenitz@gmx.net>
1590
1591         * text.C:
1592         * text2.C: remove no more needed refresh_row
1593
1594 2003-07-15  André Pönitz  <poenitz@gmx.net>
1595
1596         * lyxtext.h:
1597         * rowpainter.C:
1598         * text2.C:
1599         * text3.C: refresh_status tristate -> need_update bool
1600
1601 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1602
1603         * lyxtext.h (init): remove reinit argument (act as if always true)
1604         * text2.C: adjust to that
1605
1606 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1607
1608         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1609         * text3.C: use it to delete selections in some cases
1610         (bugs 441, 673, 702, 954).
1611
1612 2003-07-14  André Pönitz  <poenitz@gmx.net>
1613
1614         * rowpainter.[Ch]: reduce interface
1615
1616 2003-07-14  André Pönitz  <poenitz@gmx.net>
1617
1618         * BufferView_pimpl.C:
1619         * text2.C: adjust after removing unused BufferView * argument
1620
1621 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1622
1623         * text2.C (init): fix a crash fired on resize
1624
1625 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1626
1627         * buffer.[Ch]: added new closing signal
1628         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1629         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1630         BufferView::Pimpl via the closing the signal
1631
1632 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1633
1634         * buffer.[Ch]: take out all bv-related from buffer
1635         * BufferView.C:
1636         * BufferView_pimpl.[Ch]: connect to new signals
1637         * CutAndPaste.C: removed useless asserts
1638         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1639         * lyxvc.[Ch]:
1640         * vc-backend.[Ch]:
1641         * lyxfunc.C: moved view-related funciontality from vc here
1642         * paragraph.C: removed outdated comments
1643         * text.C: ws
1644
1645 2003-07-10  André Pönitz  <poenitz@gmx.net>
1646
1647         * BufferView_pimpl.C:
1648         * tabular.h:
1649         * tabular_funcs.C:
1650         * text.C:
1651         * text2.C: remove InsetText::InnerCache, clean up consequences
1652
1653 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1654
1655         * ispell.C: fix two typos in error messages
1656
1657 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1658
1659         * Extend Note inset to other forms of annotation like Comment
1660         and Greyedout. Right button click gives dialog.
1661
1662         Files modified or added (+):
1663
1664         * insetnote.[Ch]
1665         * FormNote.[Ch]      +
1666         * ControlNote.[Ch]   +
1667         * form_note.fd       +
1668         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1669         frontends/controllers
1670         * xforms/Dialogs.C
1671         * factory.C
1672
1673 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1674
1675         * aspell.C: add missing namespace lyx::support
1676
1677 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1678
1679         * BufferView.[Ch] (newFile): Add
1680         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1681         * LaTeX.[Ch] (message): added this signal and use it
1682         * buffer.[Ch] (busy, message): added these signals and use them
1683         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1684         * converter.C:
1685         * exporter.C:
1686         * format.C:
1687         * importer.C: use buffer signals instead of direct bv calling
1688         * lyx_cb.[Ch] (ShowMessage): removed
1689         * lyx_main.C:
1690         * lyxfunc.C:
1691         * paragraph_funcs.C:
1692         * text2.C: use buffer signals
1693
1694 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1695
1696         * introduce namespace lyx::graphics
1697
1698 2003-07-02  André Pönitz  <poenitz@gmx.net>
1699
1700         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1701
1702 2003-07-01  André Pönitz  <poenitz@gmx.net>
1703
1704         * text.C:
1705         * text2.C:
1706         * text3.C:
1707         * text_funcs.[Ch]:
1708         * textcursor.h:
1709         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1710           text*.C to text_func.C
1711
1712 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1713
1714         * introduce namespace lyx::support
1715
1716 2003-06-30  André Pönitz  <poenitz@gmx.net>
1717
1718         * Chktex.C:
1719         * funcrequest.C:
1720         * lyxtext.h:
1721         * text.C: re-enable --with-included-string
1722
1723 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1724
1725         * textcursor.C: add <config.h>
1726
1727         * text.C (getWord): remove const from word_location arg
1728
1729         * lyxvc.C (getLogFile): fix const type order
1730
1731         * lyxtext.h: remove const from word_location arg, add arg name
1732
1733         * lyxlayout.h: currect type on labeltype.
1734
1735         * importer.C: correct \file
1736
1737         * converter.C (intToFormat): use std:: on ret val, ws changes
1738
1739         * bufferlist.h: correct \file
1740
1741         * buffer.C (makeLinuxDocFile): fix const type order
1742         (makeDocBookFile): ditto
1743         (fillWithBibKeys): use std:: on stdlib args.
1744
1745         * CutAndPaste.C: fix authors.
1746         (availableSelections): use std:: on return vector
1747
1748 2003-06-27  André Pönitz  <poenitz@gmx.net>
1749
1750         * BufferView_pimpl.C:
1751         * bufferview_funcs.C:
1752         * lyxcursor.C:
1753         * lyxcursor.h:
1754         * lyxfunc.C:
1755         * lyxtext.h:
1756         * rowpainter.C:
1757         * text.C:
1758         * text2.C:
1759         * text3.C: remove LyXCursor::row_ member
1760
1761         * lyxtext.h:
1762         * text.C: rename fullRebreak() to partialRebreak() and implement
1763           a fullRebreak() that really bereks fully
1764
1765         * textcursor.h: new struct for cursor-related data
1766
1767 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1768
1769         * lyx_main.C (LyX): get full path of document loaded on the
1770         command line
1771
1772 2003-06-26  André Pönitz  <poenitz@gmx.net>
1773
1774         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1775           remove unused/broken operator>,<,>=.
1776
1777         *       text.C: remove only use of broken operator<= in an Assert().
1778
1779 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1780
1781         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1782         moved errorlist_.clear to showErrorList
1783
1784 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1785
1786         * converter.C (scanLog, runLaTeX):
1787         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1788         move the bv->showErrorList call to the callers
1789         * lyxfunc.C: i.e. here...
1790         * text2.C: and here
1791         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1792         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1793         namespace, the second to...
1794         * buffer_funcs (BufferFormat, parseErrors): added
1795         * errorlist.C (ErrorList(TeXErrors const &)): removed
1796
1797 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1798
1799         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1800
1801 2003-06-24  "Garst R. Reese" <reese@isn.net>
1802
1803         * debug.C: fix typo
1804
1805 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1806
1807         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1808
1809         * version.C.in: change docversion to 1.4
1810
1811 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1812
1813         * buffer.C: fix a bug just introduced
1814
1815 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1816
1817         * buffer.[Ch]: added the parseError signal and use it, removed
1818         sgmlError
1819         * BufferView.[Ch] (addError): moved to ...
1820         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1821         to the Buffer::parseError signal to catch (guess what) parse errors
1822         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1823
1824 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1825
1826         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1827         ability to create a buffer and to return an existing one from
1828         the list. Moved these functions to...
1829         * buffer_funcs.[Ch]: added
1830         * BufferView.[Ch] (loadLyXFile): added
1831         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1832         job removed from bufferlist::loadLyXFile.
1833         * buffer.C (setReadOnly): make it work without view
1834         (i.e added an if (users))
1835
1836 2003-06-19  Angus Leeming  <leeming@lyx.org>
1837
1838         * lfuns.h:
1839         * LyXAction.C (init):
1840         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1841         with LFUN_DIALOG_SHOW <name> <data>.
1842
1843 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1844
1845         * CutAndPaste.C (availableSelections): small compilation fix for
1846         ancient (gcc 2.9x) compilers
1847
1848 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1849
1850         * text3.C (cursorNext): add tmp var
1851
1852         * text2.C (updateCounters): for function calling out of for clause
1853         (replaceSelectionWithString): ditto
1854         (insertStringAsParagraphs): ditto
1855         (getColumnNearX): add tmp var
1856         (setCursorFromCoordinates): add tmp var
1857         (cursorDownParagraph): add tmp var
1858         (deleteEmptyParagraphMechanism): add tmp var
1859
1860         * text.C (insertChar): add tmp var
1861
1862         * rowpainter.C (paintDepthBar): add tmp var
1863
1864         * CutAndPaste.C (availableSelections): potentially check all
1865         paragraphs in a cut to fill the shown strings.
1866
1867 2003-06-18  André Pönitz  <poenitz@gmx.net>
1868
1869         * kbmap.[Ch]: use vector<> instead of list<>
1870
1871 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1872
1873         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1874         pasteSelection with index
1875
1876         * text2.C (pasteSelection): modify, call pasteSelection with index
1877
1878         * paragraph.C (asString): reimplement version with no interval to
1879         call the one with interval.
1880
1881         * lyxtext.h: add index arg to pasteSelection
1882
1883         * MenuBackend.C (MenuItem): handle PasteRecent
1884         (Menu::read::Menutags): add md_pasterecent
1885         (read): handle it
1886         (expandPasteRecent): new function
1887         (expand): use it
1888
1889         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1890
1891         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1892         the limited stack
1893         (availableSelections): new function
1894
1895 2003-06-17  Angus Leeming  <leeming@lyx.org>
1896
1897         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1898
1899 2003-06-17  Angus Leeming  <leeming@lyx.org>
1900
1901         * lfuns.h:
1902         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1903
1904         * lyxfunc.C (dispatch): invoke it.
1905
1906 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1907
1908         * iterators.C (operator++, ParPosition): reintroduce some
1909         const_cast for the benefit of older compilers.
1910
1911 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1912
1913         * text3.C (dispatch): do not modify clipboard when doing
1914         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1915         LFUN_DELETE_SKIP on a selection selection
1916
1917 2003-06-16  André Pönitz  <poenitz@gmx.net>
1918
1919         * BufferView.C:
1920         * buffer.C:
1921         * buffer.h:
1922         * paragraph.C:
1923         * tabular.[Ch]: IU of clone() and getLabelList();
1924
1925 2003-06-13  André Pönitz  <poenitz@gmx.net>
1926
1927         * tabular.h: compactification
1928
1929 2003-06-12  André Pönitz  <poenitz@gmx.net>
1930
1931         * tabular.C:
1932         * tabular.h:
1933         * tabular_funcs.h: some renaming plus whitespace
1934
1935 2003-06-12  André Pönitz  <poenitz@gmx.net>
1936
1937         * BufferView.C:
1938         * BufferView_pimpl.C:
1939         * CutAndPaste.C:
1940         * buffer.C:
1941         * iterators.[Ch]:
1942         * lyxfunc.C:
1943         * text.C:
1944         * toc.C: Return a Paragraph & for ParIterator::operator*()
1945
1946 2003-06-11  John Levon  <levon@movementarian.org>
1947
1948         * lyx_main.C:
1949         * ToolbarBackend.h:
1950         * ToolbarBackend.C: add "Toolbars" section and
1951         put the flags there
1952
1953 2003-06-10  Angus Leeming  <leeming@lyx.org>
1954
1955         * lfuns.h:
1956         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1957
1958         * lyxfunc.C (dispatch): invoke it.
1959
1960 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1961
1962         * main.C: protect <ios> with HAVE_IOS
1963         (main): protect sync_with_stdio with HAVE_IOS
1964
1965 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1966
1967         * text2.C (cutSelection): adjust
1968         (pasteSelection): adjust
1969
1970         * messages.C: handle get of empty string
1971
1972         * main.C (main): use sync_with_stdio(false)
1973
1974         * lyxfunc.C (dispatch): adjust
1975
1976         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1977         (WriteAs): remove unneeded BufferView arg.
1978
1979         * bufferparams.h: use correct types on papersize, papersize2 and
1980         paperpackage.
1981
1982         * bufferparams.C (readToken): adjust for type
1983         (writeLaTeX): add missing cases to switch.
1984
1985         * bufferlist.C (quitWriteBuffer): adjust
1986         (close): adjust
1987
1988         * buffer.C (asciiParagraph): remove some commented code.
1989
1990         * CutAndPaste.C: remove current_view extern variable.
1991         (cutSelection): add BufferParams arg.
1992         (eraseSelection): add BufferParams arg.
1993         (pasteSelection): add Buffer const & arg
1994
1995 2003-06-07  John Levon  <levon@movementarian.org>
1996
1997         * buffer.C:
1998         * paragraph_funcs.C:
1999         * paragraph_pimpl.C:
2000         * text.C:
2001         * text2.C:
2002         * paragraph.h:
2003         * paragraph.C: allow InsetERT to freely space lines,
2004         and some consolidation of code
2005
2006 2003-06-06  José Matos  <jamatos@fep.up.pt>
2007
2008         * buffer.C (makeDocBookFile): fix bug #821
2009
2010 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2011
2012         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2013
2014 2003-06-04  Angus Leeming  <leeming@lyx.org>
2015
2016         * buffer.C: bump format to 224.
2017
2018 2003-06-05  André Pönitz  <poenitz@gmx.net>
2019
2020         * text2.C (redoParagraphs): remove two const_cast<>
2021
2022 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2023
2024         * ParagraphList.h: remove last remnants of NO_STD_LIST
2025
2026 2003-06-03  Angus Leeming  <leeming@lyx.org>
2027
2028         * factory.C (createInset): small change to the way InsetExternal's params
2029         are set.
2030
2031 2003-06-04  André Pönitz  <poenitz@gmx.net>
2032
2033         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2034
2035         * paragraph_pimpl.h:
2036         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2037
2038         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2039
2040         * undo_funcs.C: make some simple cases of undo work again
2041
2042 2003-06-03  John Levon  <levon@movementarian.org>
2043
2044         * ispell.C: HPUX doesn't have sys/select.h
2045         (from Albert Chin)
2046
2047 2003-06-03  John Levon  <levon@movementarian.org>
2048
2049         * CutAndPaste.C: update tabular and include inset
2050         buffer references
2051
2052         * buffer.h:
2053         * paragraph.h:
2054         * paragraph.C: remove owningBuffer(), don't pass Buffer
2055         to clone()
2056
2057         * factory.C: insetGraphicsParams changed
2058
2059 2003-06-02  John Levon  <levon@movementarian.org>
2060
2061         * LyXAction.C:
2062         * factory.C:
2063         * lfuns.h:
2064         * lyxfunc.C:
2065         * text3.C: remove insetparent
2066
2067 2003-06-02  John Levon  <levon@movementarian.org>
2068
2069         * buffer.h:
2070         * buffer.C: fix inset_iterator.end(), move out of line
2071         (bug 1149)
2072
2073 2003-06-01  John Levon  <levon@movementarian.org>
2074
2075         * text3.C: use a proper cut/paste when doing inset
2076         insert (from Jürgen Spitzmüller)
2077
2078 2003-06-01  John Levon  <levon@movementarian.org>
2079
2080         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2081
2082 2003-05-30  André Pönitz  <poenitz@gmx.net>
2083
2084         * rowpainter.C: unify second drawing phase
2085
2086 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2087
2088         * trans_mgr.C: remove one case of current_view
2089
2090         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2091
2092         * paragraph_funcs.h: remove paragraph.h include
2093
2094         * paragraph.h: delete NO_STD_LIST stuff
2095
2096         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2097
2098         * buffer.h: remove paragraph.h include
2099
2100         * ParagraphList.C: delete file
2101
2102         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2103
2104         * toc.C (getTocList): adjust
2105
2106         * paragraph_pimpl.C (validate): adjust
2107
2108         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2109
2110         * paragraph.C (Paragraph): adjust
2111         (getPositionOfInset): use const_iterator, adjust
2112         (bibitem): use const_iterator, adjust
2113         (setInsetOwner): adjust
2114
2115         * iterators.C (operator++): adjust
2116
2117         * InsetList.[Ch]: Replace selfmade iterator with standard
2118         vector::iterator also introduce const_iterator. Remove getPos,
2119         getInset and setInset from InsetTable. Adjust accordingly.
2120
2121         * BufferView.C (lockInset): adjust
2122         (ChangeInsets): adjust
2123
2124         * tabular.[Ch]: delete commented same_id functions
2125
2126 2003-05-28  John Levon  <levon@movementarian.org>
2127
2128         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2129
2130 2003-05-28  André Pönitz  <poenitz@gmx.net>
2131
2132         * metricsinfo.[Ch]: remove 'fullredraw' member
2133
2134 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2135
2136         * lyxtextclass.C (operator): remove caching.
2137
2138 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2139
2140         * text3.C: adjust
2141
2142         * text2.C (cursorBottom): adjust
2143         (setCounter): use ParagraphList::find, adjust
2144
2145         * text.C (workWidth): use ParagraphList::find, adjust
2146
2147         * lyxcursor.C (LyXCursor): adjust
2148
2149         * buffer.C (inset_iterator): adjust
2150
2151         * ParagraphList.h: make iterator(value_type) private, make
2152         ParagraphList a friend of iterator.
2153
2154         * ParagraphList.C (find): new function
2155
2156         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2157
2158 2003-05-27  André Pönitz  <poenitz@gmx.net>
2159
2160         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2161
2162 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2163
2164         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2165
2166 2003-05-26  John Levon  <levon@movementarian.org>
2167
2168         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2169
2170 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2171
2172         * remove same_id from function signatures, adjust.
2173
2174 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2175
2176         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2177
2178         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2179
2180         * paragraph.C (Paragraph): get rid of same_ids parameter
2181
2182         * ParagraphList.C (insert): adjust
2183         (push_back): adjust
2184
2185 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2186
2187         * paragraph_funcs.C (breakParagraph): adjust
2188         (breakParagraphConservative): adjust
2189
2190         * buffer.C (readParagraph): adjust
2191
2192         * ParagraphList.C (insert): take a reference instead of a pointer
2193         (insert): adjust
2194
2195         * paragraph.[Ch] (id): new function
2196
2197         * bufferlist.C (newFile): adjust
2198
2199         * ParagraphList.C (ParagraphList): adjust
2200         (assign): adjust
2201         (push_back): take a reference instead of a pointer.
2202
2203         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2204
2205         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2206         instead.
2207
2208         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2209         set else use old code.
2210
2211         * ParagraphList.C: remove all NO_NEXT code and only compile this
2212         code of NO_STD_LIST is set.
2213
2214 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2215
2216         * BufferView_pimpl.C:
2217         * TextCache.C:
2218         * TextCache.h:
2219         * bufferlist.C:
2220         * errorlist.h:
2221         * format.C:
2222         * format.h:
2223         * graph.C:
2224         * lyxfunc.C:
2225         * lyxrc.C:
2226         * graphics/GraphicsConverter.C:
2227         * graphics/PreviewLoader.C: header adjustment
2228
2229 2003-05-23  Angus Leeming  <leeming@lyx.org>
2230
2231         * LaTeXFeatures.[Ch] (useBabel): new method.
2232         * bufferparams.C (writeLaTeX): use it.
2233
2234 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2235
2236         * ParagraphList.h (set): remove unused function.
2237
2238 2003-05-23  André Pönitz  <poenitz@gmx.net>
2239
2240         * BufferView.C:
2241         * BufferView_pimpl.C:
2242         * buffer.C:
2243         * buffer.h:
2244         * lyxfunc.C:
2245         * undo_funcs.C: setUndo reworked
2246
2247         * iterators.[Ch]: add access to topmost ParagraphList
2248
2249         * lyxtext.[Ch] (workWidth): add a const
2250
2251 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2252
2253         * texrow.[Ch] (increasePos): remove function
2254         * exporter.C (export): removed unused var and outdated comment
2255
2256 2003-05-23  Angus Leeming  <leeming@lyx.org>
2257
2258         * latexrunparams.h: rename fragile as moving_arg.
2259         * paragraph.C (simpleTeXOnePar): ditto.
2260         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2261
2262 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2263
2264         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2265         (createUndo): ditto
2266         (textUndoOrRedo): comment out a currently unused var.
2267
2268         * paragraph.h (NO_NEXT): enable NO_NEXT
2269
2270         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2271
2272         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2273
2274         * exporter.C (Export): adjust for removeAutoInsets removal.
2275
2276         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2277
2278         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2279
2280         * BufferView.[Ch] (removeAutoInsets): delete function
2281
2282 2003-05-22  Angus Leeming  <leeming@lyx.org>
2283
2284         * latexrunparams.h: add a free_spacing variable.
2285
2286         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2287         to pass moving_arg, as the data is stored in runparams.fragile.
2288
2289         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2290         to Inset::latexOptional or to simpleTeXOnePar.
2291
2292         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2293         free_spacing arg to Inset::latexOptional.
2294
2295         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2296         free_spacing arg.
2297
2298 2003-05-22  Angus Leeming  <leeming@lyx.org>
2299
2300         * latexrunparams.h: add fragile and use_babel variables.
2301
2302         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2303         * buffer.C (makeLaTeXFile): store this returned value in
2304         runparams.use_babel, thus passing it to the inset::latex methods.
2305
2306         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2307         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2308
2309         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2310         longer has a fragile arg, as it is stored in runparams.fragile.
2311
2312         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2313         moving_arg parameter as the data is stored in runparams.fragile.
2314
2315         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2316         a fragile parameter as the data is stored in runparams.fragile.
2317
2318 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2319
2320         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2321
2322 2003-05-22  Angus Leeming  <leeming@lyx.org>
2323
2324         * latexrunparams.h: add a 'bool nice' which defaults to false.
2325
2326         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2327         now encapsulated within runparams.
2328
2329         * bufferlist.C (updateIncludedTeXfiles):
2330         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2331
2332 2003-05-22  Angus Leeming  <leeming@lyx.org>
2333
2334         * latexrunparams.h: new file containing struct LatexRunParams.
2335         * Makefile.am: add new file.
2336
2337         * LaTeX.[Ch] (c-tor, run):
2338         * buffer.[Ch] (makeLaTeXFile):
2339         * bufferlist.[Ch] (updateIncludedTeXfiles):
2340         * converter.C (convert, scanLog):
2341         * converter.[Ch] (runLaTeX):
2342         * exporter.C (Export):
2343         * paragraph.[Ch] (simpleTeXOnePar):
2344         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2345         * paragraph_funcs.[Ch] (latexParagraphs):
2346         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2347         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2348         pass around a LatexRunParams parameter.
2349
2350 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2351
2352         * paragraph.[Ch]: remove unused constructor
2353
2354         * ParagraphList.C (erase): new function, taking two iterators
2355
2356 2003-05-22  André Pönitz  <poenitz@gmx.net>
2357
2358         * undo_funcs.C: remove duplicated code
2359
2360         * iterator.[Ch]: operator=
2361
2362 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2363
2364         * tabular.C (SetMultiColumn): ws changes
2365
2366         * rowpainter.C (paintFirst): get rid of a ->previous
2367
2368         * lyx_cb.C (getPossibleLabel): parlist simplification
2369
2370         * BufferView.C (ChangeInsets): simplify slightly.
2371
2372 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2373
2374         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2375         * lfuns.h: new LFUN_SPACE
2376         * lyxfunc.C: protected space has a new lfun
2377         * paragraph_funcs.C: read new space insets
2378         * text3.C:
2379         * factory.C: handle new space insets
2380
2381 2003-05-22  André Pönitz  <poenitz@gmx.net>
2382
2383         * BufferView.C:
2384         * BufferView_pimpl.C:
2385         * buffer.[Ch]:
2386         * lyxfunc.C:
2387         * undo_funcs.C: return a ParIterator from getParFromID.
2388
2389         * iterators.[Ch]: add two const's
2390
2391 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2392
2393         * toc.C (getTocList): adjust
2394
2395         * iterators.[Ch]: rework for parlist
2396
2397         * buffer.C (par_iterator_begin): adjust
2398         (par_iterator_end): adjust
2399
2400         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2401
2402         * BufferView.C (removeAutoInsets): adjust
2403         (ChangeInsets): adjust
2404
2405 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2406
2407         * text.C (top_y): fix bug 1110
2408
2409 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2410
2411         * errorlist.[Ch]: added
2412         * buffer.C:
2413         * BufferView.[Ch]:
2414         * BufferView_pimpl.C:
2415         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2416         instead
2417
2418 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2419
2420         * Makefile.am: ensure that lyx is relinked upon changes to the
2421         various "convenience" libs.
2422
2423 2003-05-20  Angus Leeming  <leeming@lyx.org>
2424
2425         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2426         files are compiled in alphabetical order again.
2427
2428         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2429
2430 2003-05-19  Angus Leeming  <leeming@lyx.org>
2431
2432         * gettext.[Ch]: remove "char const * _(char const *)".
2433
2434 2003-05-19  André Pönitz  <poenitz@gmx.net>
2435
2436         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2437
2438         * Makefile.am:
2439         * BufferView.C:
2440         * DepTable.h:
2441         * LaTeXFeatures.C:
2442         * buffer.C:
2443         * lyxfont.C:
2444         * lyxlex.h:
2445         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2446
2447 2003-05-19  André Pönitz  <poenitz@gmx.net>
2448
2449         * buffer.C:
2450         * lyxlayout.[Ch]:
2451         * lyxtextclass.[Ch]:
2452         * paragraph.C:
2453         * paragraph_funcs.[Ch]:
2454         * text2.C:
2455         * text3.C: more insetenv work
2456
2457 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2458
2459         * ParagraphParameters.C (params2string): small bug fixed
2460
2461 2003-05-16  André Pönitz  <poenitz@gmx.net>
2462
2463         * debug.C:
2464         * bufferview_funcs.C: patch from Kornel Benko to prevent
2465           crash when _(...) is called twice in a statement
2466
2467 2003-05-16  André Pönitz  <poenitz@gmx.net>
2468
2469         * BufferView.C:
2470         * lyxfunc.C:
2471         * text.C:
2472         * text2.C:
2473         * text3.C:
2474         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2475
2476 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2477
2478         * lyx_main.C (init): remove spurious static_cast
2479
2480 2003-05-14  André Pönitz  <poenitz@gmx.net>
2481
2482         * BufferView.C: fix format string
2483
2484 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2485
2486         * BufferView.[Ch] (insertErrors): removed
2487         * BufferView.[Ch] (showErrorList): added
2488         * buffer.C (runChkTeX):
2489         * converter.C (scanLog): call showErrorList instead of inserterrors
2490
2491 2003-05-13  André Pönitz  <poenitz@gmx.net>
2492
2493         * BufferView_pimpl.C:
2494         * buffer.C:
2495         * bufferview_func.C:
2496         * MenuBackend.C:
2497         * lyxfunc.C:
2498         * lyxrc.C:
2499         * tex-accent.C:
2500         * text3.C:
2501         * toc.C:
2502         * tabular_funcs.h: tostr() from its own header
2503
2504         * ParagraphParameters.C:
2505         * ToolbarBackend.C:
2506         * bufferparams.C:
2507         * format.C:
2508         * lyxlex_pimpl.C:
2509         * text3.C: STRCONV()
2510
2511 2003-05-12  André Pönitz  <poenitz@gmx.net>
2512
2513         * BufferView.C:
2514         * BufferView_pimpl.C:
2515         * CutAndPaste.C:
2516         * LaTeX.C:
2517         * LaTeXFeatures.C:
2518         * ParagraphParameters.C:
2519         * buffer.C:
2520         * bufferlist.C:
2521         * bufferparams.C:
2522         * bufferview_funcs.C:
2523         * converter.C:
2524         * counters.C:
2525         * debug.C:
2526         * exporter.C:
2527         * format.C:
2528         * importer.C:
2529         * lyx_cb.C:
2530         * lyx_main.C:
2531         * lyxfont.C:
2532         * lyxfunc.C:
2533         * lyxvc.C:
2534         * paragraph.C:
2535         * paragraph_funcs.C:
2536         * tabular.C:
2537         * tabular_funcs.C:
2538         * text2.C:
2539         * text3.C:  boost::format -> bformat  all over the place
2540
2541
2542 2003-05-09  André Pönitz  <poenitz@gmx.net>
2543
2544         * LColor.[Ch]: Pimpl the #include <map> away
2545
2546 2003-05-09  John Levon  <levon@movementarian.org>
2547
2548         * bufferlist.C: never remove emergency saves
2549
2550 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2551
2552         * Makefile.am: better lib building
2553
2554 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2555
2556         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2557         instead.
2558         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2559         (simpleTeXSpecialChars): adjust
2560         (simpleTeXSpecialChars): adjust
2561         * paragraph.C (simpleTeXOnePar): adjust
2562         * buffer.C (makeLaTeXFile): adjust
2563
2564         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2565
2566         * text2.C (changeDepth): parlist cleanup
2567         (getColumnNearX): ditto
2568
2569         * rowpainter.C (getLabelFont): parlist cleanup
2570
2571         * bufferlist.C (newFile): parlist cleanup
2572
2573         * CutAndPaste.C (eraseSelection): parlist cleanup
2574
2575         * BufferView_pimpl.C (trackChanges): parlist cleanup
2576         (dispatch): ditto
2577
2578         * BufferView.C (lockInset): parlist cleanup.
2579         (ChangeInsets): ditto
2580
2581 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2582
2583         * CutAndPaste.h: Update file header.
2584
2585         * CutAndPaste.C: Update file header.
2586         Store the parts cut out of the Document in a limited_stack.
2587         (copySelection): adjust
2588         (pasteSelection): new function, takes the index in the limited stack.
2589         (nrOfParagraphs): adjust
2590         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2591         simplify error inset insertion.
2592         (checkPastePossible): adjust
2593
2594 2003-05-06  John Levon  <levon@movementarian.org>
2595
2596         * text2.C: don't cast wrap inset to float
2597
2598 2003-05-05  André Pönitz  <poenitz@gmx.net>
2599
2600         * iterator.C:
2601         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2602
2603         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2604           few naked Paragraph *.
2605
2606 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2607
2608         * bufferparams.C: Output warning if a document with missing
2609         TeX document class is loaded
2610         * exporter.C: Disable TeX exports if the document class is missing
2611         * lyxtextclass.C:
2612         * lyxtextclass.h:
2613         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2614         isTeXClassAvailable()
2615
2616 2003-05-03  John Levon  <levon@movementarian.org>
2617
2618         * BufferView.h:
2619         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2620         explicit cursor show/hide
2621
2622         * BufferView_pimpl.h:
2623         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2624         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2625
2626         * lyxfunc.C: hide cursor before dispatching.
2627
2628         * lyx_cb.C:
2629         * lyxfind.C:
2630         * text.C:
2631         * text3.C: remove explicit cursor hides
2632
2633 2003-05-02  André Pönitz  <poenitz@gmx.net>
2634
2635         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2636
2637         * undo_funcs.C:
2638         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2639           linked lists
2640
2641         * text2.C: tiny whitespace
2642
2643 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2644
2645         * undo_funcs.C: almost only ws changes.
2646
2647         * ParagraphList.C (splice): just return if pl is empty.
2648
2649 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650
2651         * ParagraphList.C (splice): new function.
2652
2653         * CutAndPaste.C (pasteSelection): use it
2654
2655 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2656
2657         * CutAndPaste.C (pasteSelection): remove the last next and
2658         previous from this file.
2659
2660 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2661
2662         * CutAndPaste.C (pasteSelection): more clean up, user proper
2663         ParagraphList functions for pasteing.
2664
2665         * ParagraphList.C (insert): new function, three arg insert
2666
2667 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2668
2669         * ParagraphList.C (insert): new function, three arg insert
2670
2671         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2672         not on paragraphs.
2673
2674 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2675
2676         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2677
2678 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2679
2680         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2681
2682 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2683
2684         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2685         (copySelection): clean up a bit.
2686         (pasteSelection): use make_pair
2687
2688         * ParagraphList.C (ParagraphList): implement copy constructor
2689         (operator=): implement, base on copy constructor.
2690         (assign): new func
2691
2692         * paragraph.C (erase): return a bool
2693
2694         * paragraph_pimpl.C (erasePos): remove function, move contents...
2695         (erase): ... here. Return a bool.
2696         (erase): call erase instead of erasePos.
2697
2698 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2699
2700         * ParagraphList.h: define PitPosPair
2701         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2702         ParagraphList, fix a bug on pasting multiple pars
2703         * text2.C: change interface to C&P
2704
2705 2003-04-30  André Pönitz  <poenitz@gmx.net>
2706
2707         * undo_func.C: revert part of yesterday's patch 2
2708
2709 2003-04-30  John Levon  <levon@movementarian.org>
2710
2711         * LColor.C: s/tabular/table/
2712
2713 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2714
2715         * text3.C (dispatch): do not convert iterator -> pointer
2716         * undo_funcs.C (setCursorParUndo): ditto
2717         * text_funcs.C (transposeChars): ditto
2718
2719         * text2.C (setLayout): ws changes only
2720
2721         * text.C (breakParagraph): do not convert iterator -> pointer
2722         (insertChar): ditto
2723         (acceptChange): ditto
2724         (rejectChange): ditto
2725         (changeCase): ditto
2726         (Delete): ditto
2727         (backspace): ditto
2728
2729         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2730         pointer
2731
2732 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2733
2734         * text3.C (gotoInset): YABG (yet another bad getChar)
2735
2736 2003-04-29  André Pönitz  <poenitz@gmx.net>
2737
2738         * paragraph.h: make operator= private unimplemented as long as
2739           it is unusable
2740
2741         * ParagraphList.C: whitespace
2742
2743         * paragraph.[Ch]:
2744         * paragraph_pimpl.[Ch]:
2745         * paragraph_funcs.C:
2746         * CutAndPaste.C:
2747         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2748
2749         * text2.C:
2750           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2751
2752 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2753
2754         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2755         * paragraph.[Ch] (erase):
2756         * paragraph_pimpl.[Ch] (erase): change return type and value
2757         * text2.C (cutSelection): some rework
2758
2759 2003-04-28  John Levon  <levon@movementarian.org>
2760
2761         * bufferlist.C: changes for unsaved changes dialog
2762
2763 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2764
2765         * bufferlist.C (newFile): set language (messages_) for new
2766         documents also.
2767
2768         * buffer.C (readFile): ws changes only.
2769
2770 2003-04-28  André Pönitz  <poenitz@gmx.net>
2771
2772         * undo_funcs.C:
2773         * lyxfunc.C:
2774         * buffer.[Ch]:
2775         * BufferView_pimpl.C:
2776         * BufferView.C: getParFromID related ParagraphList::iterator changes
2777
2778 2003-04-28  André Pönitz  <poenitz@gmx.net>
2779
2780         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2781           Changes
2782
2783 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2784
2785         * messages.C: remove one more localedir class variable.
2786
2787 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2788
2789         * messages.C (getLocaleDir): singleton generation function
2790         (Pimpl): use it.
2791         (Messages): add a default constructor.
2792
2793         * main.C (main): do not setup localedir here, do not call
2794         gettext_init.
2795
2796         * gettext.C (_): use it.
2797         (gettext_init): delete funciton
2798
2799 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2800
2801         * gettext.C (getLyXMessages): new singleton generating function.
2802
2803         * buffer.C (updateDocLang): adjust
2804
2805         * Makefile.am (messages.o): add target
2806         (main.o): remove target
2807
2808 2003-04-27  John Levon  <levon@movementarian.org>
2809
2810         * bufferlist.C:
2811         * lyx_cb.C:
2812         * lyxfunc.C:
2813         * lyxvc.C: specify cancel button in Alert::prompt
2814
2815 2003-04-26  John Levon  <levon@movementarian.org>
2816
2817         * text3.C:
2818         * lyxfunc.C:
2819         * lfuns.h:
2820         * LyXAction.C: add LFUN_INSET_SETTINGS
2821
2822         * lyxfunc.C: don't enable tabular-feature when there's
2823         just any locking inset
2824
2825 2003-04-26  John Levon  <levon@movementarian.org>
2826
2827         * bufferlist.C: re-add Cancel to buffer close question
2828
2829         * lyxfunc.C: fix import UI a bit
2830
2831 2003-04-25  John Levon  <levon@movementarian.org>
2832
2833         * gettext.C: remove the broken asserts for now
2834
2835 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2836
2837         * messages.C: make case where setlocale cannot comply work better.
2838
2839         * buffer.C (updateDocLang): new function
2840         (changeLanguage): use it
2841         (readFile): use it
2842
2843         * text2.C (setCounter): use B_ a bit.
2844
2845         * lyxlayout.C (Read): be sure to trim the label strings.
2846
2847         * messages.C (Messages): fix typo in comment
2848
2849         * buffer.C (readFile): set message_ after file is loaded.
2850         (makeDocBookFile): remove double return
2851         (changeLanguage): reset message_ upon language change.
2852         (B_): new func, use this to get translated buffer strings.
2853
2854         * main.C: add myself and Jean Marc as authors.
2855
2856 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2857
2858         * messages.[hC]: pimplify Messages, and three different pimpls to be
2859         used in different circumstances.
2860
2861         * gettext.[Ch]: change for use with new message code.
2862
2863 2003-04-24 André Pönitz <poenitz@gmx.net>
2864
2865         * factory.C: support for eqref
2866
2867 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2868
2869         * messages.[Ch]: add missing char
2870
2871         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2872
2873         * messages.[Ch]: New files
2874
2875 2003-04-18  John Levon  <levon@movementarian.org>
2876
2877         * BufferView.h:
2878         * BufferView.C:
2879         * BufferView_pimpl.C:
2880         * lfuns.h:
2881         * LyXAction.C:
2882         * lyxtext.h:
2883         * text2.C: remove layout-copy/paste (bug 778)
2884
2885 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2886
2887         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2888
2889 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2890
2891         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2892         if they succeed. Act accordingly.
2893
2894 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2895
2896         * text2.C (setCharFont): adjust
2897         (setCounter): adjust
2898         (insertStringAsLines): adjust
2899
2900         * text.C (leftMargin): adjust
2901         (setHeightOfRow): adjust
2902
2903         * rowpainter.C (paintFirst): adjust
2904         (paintLast): adjust
2905
2906         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2907         (outerHook): ditto
2908         (isFirstInSequence): ditto
2909         (getEndLabel): ditto
2910         (outerFont): adjust
2911
2912         * paragraph.C (getParLanguage): comment out some hard stuff.
2913
2914         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2915         (sgmlError): ditto
2916         (simpleDocBookOnePar): ditto
2917         (makeDocBookFile): use ParagraphList::iterator
2918
2919         * CutAndPaste.C (pasteSelection): adjust
2920
2921 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * text2.C (getFont): adjust
2924         (getLayoutFont): adjust
2925         (getLabelFont): adjust
2926
2927         * paragraph_funcs.C (TeXOnePar): adjust
2928
2929         * buffer.C (simpleLinuxDocOnePar): adjust
2930         (simpleDocBookOnePar): adjust
2931
2932         * CutAndPaste.C (pasteSelection): adjust
2933
2934         * BufferView.C (getEncoding): adjust
2935
2936         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2937
2938 2003-04-16  John Levon  <levon@movementarian.org>
2939
2940         * lyxfind.C: use parlist stuff for search/changes
2941
2942 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2943
2944         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2945
2946         * text2.C (deleteEmptyParagraphMechanism): adjust
2947
2948         * text2.[Ch] (ownerParagraph): delete func (both of them
2949
2950 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2951
2952         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2953
2954 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2955
2956         * ParagraphList.C: prepare for NO_NEXT
2957
2958 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2959
2960         * text2.C (getFont): adjust
2961         (getLayoutFont): adjust
2962         (getLabelFont): adjust
2963
2964         * paragraph.C (getFont): adjust
2965         (getLabelFont): adjust
2966         (getLayoutFont): adjust
2967
2968         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2969
2970 2003-04-15  John Levon  <levon@movementarian.org>
2971
2972         From Angus Leeming
2973
2974         * lyx_main.C: handle Include in .ui files
2975
2976 2003-04-15  John Levon  <levon@movementarian.org>
2977
2978         * MenuBackend.C: make the doc files length shorter
2979
2980         * ToolbarBackend.h:
2981         * ToolbarBackend.C: handle toolbar placement flags,
2982         Minibuffer
2983
2984 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2985
2986         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2987         adjust
2988
2989         * paragraph_funcs.C (TeXOnePar): adjust
2990
2991         * paragraph.C (getLabelFont): add outerfont arg, adjust
2992         (getLayoutFont): ditto
2993         (simpleTeXOnePar): adjust
2994
2995         * paragraph_pimpl.C (realizeFont): delete func
2996
2997 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2998
2999         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3000         row argument, constify cur argument.
3001
3002 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * text2.C (getFont): adjust
3005         (getLayoutFont): adjust
3006         (getLabelFont): adjust
3007
3008         * paragraph_funcs.C (TeXOnePar): adjust
3009         (outerFont): new func...
3010         (realizeFont): ...moved out from here, changed this to facilitate
3011         transition
3012
3013         * paragraph.C (getFont): take outerfont as arg, adjust
3014         (simpleTeXOnePar): add outerfont arg, adjust
3015
3016         * buffer.C (simpleLinuxDocOnePar): adjust
3017         (simpleDocBookOnePar): adjust
3018
3019         * CutAndPaste.C (pasteSelection): adjust
3020
3021         * BufferView.C (getEncoding): adjust
3022
3023 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * text2.C (setCharFont): adjust
3026         (setCounter): adjust
3027
3028         * text.C (leftMargin): adjust
3029         (setHeightOfRow): adjust
3030
3031         * rowpainter.C (paintFirst): adjust
3032         (paintLast): adjust
3033
3034         * paragraph_pimpl.C (realizeFont): adjust
3035
3036         * paragraph.C (isFirstInSequence): move from here...
3037         * paragraph_funcs.C (isFirstInSequence): ...to here
3038
3039         * paragraph.C (outerHook): move from here...
3040         * paragraph_funcs.C (outerHook): ...to here
3041
3042         * paragraph.C (depthHook): move from here...
3043         * paragraph_funcs.C (depthHook): ...to here
3044
3045         * paragraph.C (getEndLabel): move from here...
3046         * paragraph_funcs.C (getEndLabel): ...to here
3047
3048         * text2.C (realizeFont): move from here...
3049         * paragraph_funcs.C (realizeFont): ...to here
3050
3051 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3052
3053         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3054
3055 2003-04-14  Angus Leeming  <leeming@lyx.org>
3056
3057         * LColor.[Ch]: scrap LColor mathcursor.
3058
3059 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3060
3061         * lyxlex.[Ch] (text): delete function
3062         * trans.C (Load): adjust
3063         * paragraph_funcs.C (readParToken): adjust
3064
3065 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3066
3067         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3068         vector<char> instead of a char[].
3069
3070         * lyxlex_pimpl.C (getString): adjust
3071         (next): adjust
3072         (lex): use getString
3073         (eatLine): adjust
3074         (nextToken): adjust
3075
3076         * lyxlex.C (text): use pimpl_->getString()
3077         (getBool): ditto
3078         (findToken): ditto
3079
3080 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3081
3082         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3083         (makeFontEntriesLayoutSpecific): temp var for par.size()
3084         (setLayout): temp var for ownerParagraphs().end()
3085         (fullRebreak): temp var for rows().end()
3086         (selectionAsString): temp var for boost::next(startpit), realize
3087         that the while really is a regular for loop.
3088         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3089         setCursor in one place.
3090         (setParagraph): temp vr for ownerParagraphs().end()
3091         (updateCounters): make the while loop a for loop
3092         (cutSelection): temp var for ownerParagraphs().end()
3093         (updateInset): make the do {} while() a regular for loop
3094         (getCursorX): use temp vars
3095         (setCurrentFont): use temp vars
3096         (getColumnNearX): use temp vars
3097
3098 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3099
3100         * text.C (transformChar): use temp var for getChar
3101         (computeBidiTables): use temp var for row->par()
3102         (fill): move temp vars for row->par() and pit->layout() earlier in
3103         the function.
3104         (labelFill): use temp var for row->par()
3105         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3106         asc and desc, realize that pit never changes and that firstpit is
3107         just a duplicate and not needed. Exchange rit->par() with pit in a
3108         lot of places.
3109         (breakAgain): use a temp var for boost::next(rit)
3110         (breakAgainOneRow): ditto
3111         (breakParagraph): use a temp var for rows().begin()
3112         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3113         (cursorRightOneWord): use temp var for cursor.par() and
3114         cursor.pos(), remove usage of tmpcursor.
3115         (cursorLeftOneWord): use temp var for cursor.par() and
3116         cursor.pos() only set cur at end of function.
3117
3118 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3119
3120         * text.C, text2.C: exchange all usage of Paragraph::next with
3121         boost::next(ParagraphList::iterator)
3122
3123         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3124
3125         * text2.C (cursorTop): simplify implementation
3126         (cursorBottom): ditto
3127         (setParagraph): use ParagraphList::iterator
3128         (setCurrentFont): adjust
3129         (getColumnNearX): adjust
3130         (cursorRight): adjust
3131         (cursorLeft): remove usage of Paragraph::previous
3132         (cursorUpParagraph): ditto
3133         (deleteEmptyParagraphMechanism): slight cleanup
3134
3135         * text.C (isBoundary): take a Paragraph const & instead of a
3136         pointer as arg.
3137         (addressBreakPoint): ditto
3138         (leftMargin): remove usage of Paragraph::previous.
3139         (setHeightOfRow): ditto
3140         (cursorLeftOneWord): ditto
3141         (selectNextWordToSpellcheck): ditto
3142         (Delete): ditto
3143         (backspace): ditto
3144         (breakParagraph): remove one usage of Paragraph::next
3145         (redoParagraph): ditto
3146         (acceptChange): ditto
3147         (insertChar): adjust
3148         (rowBreakPoint): adjust
3149
3150         * bufferview_funcs.C (toggleAndShow): adjust
3151
3152 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3153
3154         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3155         methods to access it.
3156         * lyxtext.h:
3157         * text.C: Added updateRowPositions to compute all row positions.
3158         Make top_y and getRowNearY() to use the cached y position
3159
3160 2003-04-11  John Levon  <levon@movementarian.org>
3161
3162         * text.C (rowBreakPoint): reintroduce the labelEnd
3163         checks, code copied from the row fill stuff. Deep voodoo.
3164
3165         * text.C (fill): add a comment and debugging for the
3166         next poor soul.
3167
3168 2003-04-11  John Levon  <levon@movementarian.org>
3169
3170         * text.C: make sure fullrow insets get wrapped to the next line,
3171         even when they're in a manual label
3172
3173 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3174
3175         * text2.C (insertParagraph): make it take ParagraphList::iterator
3176         as arg.
3177         (setLayout): make it return ParagraphList::iterator
3178         (redoParagraphs): ditto
3179         (setCounter): ditto
3180         (checkParagraph): ditto
3181
3182         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3183
3184         * text2.C: adjust several funcs.
3185         (realizeFont): take a ParagraphList::iterator as arg.
3186         (getLayoutFont): ditto
3187         (getLabelFont): ditto
3188         (setCharFont): ditto
3189
3190         * text.C: adjust several funcs.
3191
3192 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3193
3194         * text.C (selectNextWordToSpellcheck): don't accidentally
3195         skip insets
3196
3197 2003-04-10  John Levon  <levon@movementarian.org>
3198
3199         * ToolbarBackend.C (getIcon): special handling for
3200         LFUN_MATH_DELIM
3201
3202 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3203
3204         * text2.C (cursorRight): a getChar assert fixed
3205
3206 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3207
3208         * text2.C (getFont): change to take a ParagraphList::iterator
3209         instead of Paragraph*
3210         Adjust several functions.
3211
3212         * text.C (transformChar): change to take a ParagraphList::iterator
3213         instead of Paragraph*
3214         (singleWidth): ditto
3215         Adjust several functions.
3216
3217         * rowpainter.C: adjust several functions
3218         * rowpainter.h:store a ParagraphList::iterator and not a
3219         Paragraph&.
3220
3221
3222 2003-04-09  John Levon  <levon@movementarian.org>
3223
3224         * lyxfunc.C:
3225         * lfuns.h:
3226         * LyXAction.h:
3227         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3228         and the "help" bits as well
3229
3230 2003-04-09  John Levon  <levon@movementarian.org>
3231
3232         * ToolbarBackend.h:
3233         * ToolbarBackend.C: allow multiple toolbars
3234
3235 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3236
3237         * undo_funcs.C (setCursorParUndo): adjust
3238
3239         * text_funcs.C (transposeChars): adjust
3240
3241         * text3.C (gotoNextInset): adjust
3242         (dispatch): adjust
3243
3244         * text2.C (setLayout): adjust
3245         (changeDepth): adjust
3246         (setFont): adjust
3247         (redoParagraphs): adjust
3248         (selectionAsString): adjust
3249         (setParagraph): adjust
3250         (insertInset): adjust
3251         (cutSelection): adjust
3252         (copySelection): adjust
3253         (pasteSelection): adjust
3254         (insertStringAsLines): adjust
3255         (updateInset): adjust
3256         (setCursor): change to take a ParagraphList::iterator parameter
3257         (setCursorIntern): change to take a ParagraphList::iterator parameter
3258         (setCurrentFont): adjust
3259         (cursorLeft): adjust
3260         (cursorRight): adjust
3261         (deleteEmptyParagraphMechanism): adjust
3262
3263         * text.C (breakParagraph): adjust
3264         (insertChar): adjust
3265         (acceptChange): adjust
3266         (rejectChange): adjust
3267         (selectNextWordToSpellcheck): adjust
3268         (changeCase): adjust
3269         (Delete): adjust
3270         (backspace): adjust
3271
3272         * lyxfind.C (SearchForward): adjust
3273         (SearchBackward): adjust
3274         (nextChange): adjust
3275
3276         * lyxcursor.C (par): adjust
3277
3278         * lyxcursor.h: store a ParagraphList::iterator instead of a
3279         Paragraph*
3280
3281         * lyx_cb.C (getPossibleLabel): adjust
3282
3283         * bufferview_funcs.C (toggleAndShow): adjust
3284
3285         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3286         (dispatch): adjust
3287
3288         * BufferView.C (removeAutoInsets): adjust
3289         (lockedInsetStoreUndo): adjust
3290
3291 2003-04-09  John Levon  <levon@movementarian.org>
3292
3293         * ToolbarBackend.C: try icon without argument
3294         if with argument fails
3295
3296 2003-04-08  John Levon  <levon@movementarian.org>
3297
3298         * ToolbarBackend.h:
3299         * ToolbarBackend.C: add getIcon(), handle tooltip,
3300         and change from "Icon" to "Item".
3301
3302 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3303
3304         * BufferView.C (lockInset): another bad getchar crunched
3305
3306 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3307
3308         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3309         again)
3310
3311 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3312
3313         * lyxfind.C (searchForward, searchBackwards): bug 782
3314
3315 2003-04-07  John Levon  <levon@movementarian.org>
3316
3317         * paragraph.C: remove dead comment
3318
3319         * text.C: remove troublesome depth-fiddling code
3320         in leftMargin() and rightMargin() (bug 1017)
3321
3322         * text.C: fix breaking of rows in nested lists
3323         (bug 1004)
3324
3325         * text2.C (updateCounters): fix up depth values
3326         (bug 1013)
3327
3328 2003-04-07  John Levon  <levon@movementarian.org>
3329
3330         * BufferView_pimpl.C: clear message when doc finishes resizing,
3331         and after a mouse event
3332
3333         * lyxfunc.C: clear message after exiting inset
3334
3335 2003-04-07  John Levon  <levon@movementarian.org>
3336
3337         * bufferview_funcs.C: show math status not outside
3338         status in the statusbar
3339
3340 2003-04-07  John Levon  <levon@movementarian.org>
3341
3342         * lyxfunc.C: note status changed after a depth change
3343
3344 2003-04-04  Angus Leeming  <leeming@lyx.org>
3345
3346         * LaTeX.h: move AuxInfo operator==, != out of line.
3347         Remove LaTeX virtual destructor; nothing derives from it.
3348         Move operator()() out of public area and rename it startscript().
3349         Change protected for private.
3350
3351 2003-04-04  Angus Leeming  <leeming@lyx.org>
3352
3353         * lyxfunc.C:
3354         * text2.C: remove unneeded #includes.
3355
3356 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3357
3358         * text2.C (dEPM): fix the heigth of the next row
3359
3360 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3361
3362         * text.C: squashed an invalid getChar requester + some ws changes
3363
3364 2003-04-03  John Levon  <levon@movementarian.org>
3365
3366         * bufferview_funcs.h:
3367         * bufferview_funcs.C:
3368         * lyxfunc.C:
3369         * lyxtext.h:
3370         * text2.C: make getStatus work for the env depth lfuns
3371
3372 2003-04-03  John Levon  <levon@movementarian.org>
3373
3374         * bufferview_funcs.h:
3375         * bufferview_funcs.C:
3376         * lyxfunc.C:
3377         * lyxtext.h:
3378         * text2.C: parlistize decDepth(), by merging it with incDepth()
3379
3380 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3381
3382         * lyxrow.h: store a ParagraphList::iterator instead of a
3383         Paragraph* and adjust other class functions to suit.
3384
3385         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3386         above.
3387
3388 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3389
3390         * text2.C (setCursor): do not anchor to cursor row for the time being
3391
3392 2003-04-02  John Levon  <levon@movementarian.org>
3393
3394         * LyXAction.C:
3395         * lfuns.h:
3396         * lyx_main.C:
3397         * lyxtext.h:
3398         * text.C:
3399         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3400
3401 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3402
3403         * paragraph.h: make ParagraphList and ParagraphList::iterator
3404         friends of Paragraph.
3405
3406         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3407
3408         * ParagraphList.C: Use the private next_ and previous_ from
3409         Paragraph.
3410
3411 2003-04-01  John Levon  <levon@movementarian.org>
3412
3413         * ToolbarBackend.h:
3414         * ToolbarBackend.C:
3415         * Makefile.am: rename, remove defaults gunk
3416
3417         * MenuBackend.h:
3418         * MenuBackend.C: remove defaults gunk
3419
3420         * Languages.h:
3421         * Languages.C: remove defaults gunk
3422
3423         * lyx_main.h:
3424         * lyx_main.C: error out if files couldn't be found.
3425
3426 2003-04-02  John Levon  <levon@movementarian.org>
3427
3428         * text2.C: make incDepth() use parlist
3429
3430 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3431
3432         * undo_funcs.C (firstUndoParagraph): adjust
3433
3434         * text3.C (gotoInset): adjust
3435         (dispatch): adjust, and rewrite loop.
3436
3437         * text2.C (init): adjust, and rewrite loop.
3438         (redoParagraphs): adjust
3439         (updateInset): adjust, and rewrite loop.
3440         (deleteEmptyParagraphMechanism): adjust
3441
3442         * tabular.C (LyXTabular): adjust
3443         (SetMultiColumn): adjust
3444         (TeXRow): adjust
3445
3446         * lyxtext.[Ch] (ownerParagraph): delete function
3447         (ownerParagraphs): new function returns a ParagraphList.
3448
3449         * BufferView.C (removeAutoInsets): adjust
3450         (insertErrors): adjust
3451         (setCursorFromRow): adjust
3452
3453 2003-04-01  Angus Leeming  <leeming@lyx.org>
3454
3455         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3456         in the frontends.
3457
3458 2003-04-02  John Levon  <levon@movementarian.org>
3459
3460         * lyxtext.h:
3461         * text.C:
3462         * Makefile.am:
3463         * text_funcs.h:
3464         * text_funcs.C: make transposeChars a free function
3465
3466         * lyxrow_funcs.C: remove wrong comment
3467
3468 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3469
3470         * lyxtext.h: adjust
3471         * rowpainter.C: adjust
3472         * text.C: adjust
3473         * text2.C: adjust
3474         * text3.C: adjust
3475
3476         * lyxrow_funcs. [Ch]: new files
3477
3478         * lyxrow.[Ch]: remove next and previous pointers
3479         (next,previous): remove accessor functions
3480         (isParEnd): move to lyxrow_funcs
3481         (lastPos): move to lyxrow_funcs
3482         (nextRowIsAllInset): move to lyxrow_funcs
3483         (lastPrintablePos): move to lyxrow_funcs
3484         (numberOfSeparators): move to lyxrow_funcs
3485         (numberOfHfills): move to lyxrow_funcs
3486         (numberOfLabelHfills): move to lyxrow_funcs
3487         (hfillExpansion): move to lyxrow_funcs
3488
3489         * lyxfunc.C: adjust
3490
3491         * bufferview_funcs.C (toggleAndShow): adjust
3492
3493         * RowList.h: Remove class RowList from file leave just a
3494         std::list<Row>.
3495
3496         * RowList.C: delete file
3497
3498         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3499         and lyxrow_funcs.h
3500
3501 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3502
3503         * text3.C (cursorPrevious): adjust
3504         (cursorNext): adjust
3505         (dispatch): adjust
3506
3507         * text2.C (redoHeightOfParagraph): adjust
3508         (redoDrawingOfParagraph): adjust
3509         (setCursor): adjust
3510
3511         * text.C (breakParagraph): adjust
3512         (insertChar): adjust
3513         (backspace): adjust
3514
3515         * rowpainter.C (RowPainter): adjust
3516         (leftMargin): simplify and adjust
3517         (most rowpainter functions): adjust.
3518
3519         * rowpainter.h: store the row as RowList::iterator not as Row*
3520
3521         * lyxcursor.C (row): taka RowList::iterator as arg
3522         (irow): ditto
3523
3524         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3525         of Row*.
3526
3527 2003-04-01  Angus Leeming  <leeming@lyx.org>
3528
3529         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3530         stuff like bool Bool.
3531
3532 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3533
3534         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3535         rewrite a loop
3536
3537 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3538
3539         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3540         RowList::iterator.
3541
3542         * lyxtext.h (rows): drop one version and leve a const variant that
3543         returns a RowList::iterator.
3544
3545 2003-03-31  Angus Leeming  <leeming@lyx.org>
3546
3547         * text.C (fill): ensure that the signature is the same as that in the
3548         header file.
3549
3550 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3551
3552         * text2.C (redoParagraphs): adjust
3553         (updateCounters): adjust
3554         (checkParagraph): adjust
3555         (getColumnNearX): adjust and reformat a bit.
3556
3557         * text.C (top_y): adjust
3558         (workWidth): adjust
3559         (leftMargin): adjust
3560         (prepareToPrint): adjust
3561         (getRow): adjust
3562         (getRowNearY): adjust
3563
3564         * lyxtext.h: make rowlist_ mutable.
3565
3566         * RowList.h: add const_iterator
3567         * RowList.C: adjust for RowList::const_iterator.
3568
3569         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3570         adjust.
3571
3572 2003-03-31  John Levon  <levon@movementarian.org>
3573
3574         * lyxrc.h:
3575         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3576
3577         * lyx_main.C: set default fonts from using lyx_gui funcs
3578
3579         * exporter.C: pdf_mode moved from lyxrc
3580
3581         * lyx_cb.C:
3582         * lyxfunc.C: changes from above
3583
3584 2003-03-31  John Levon  <levon@movementarian.org>
3585
3586         * lyx_main.C: fix to the last fix
3587
3588 2003-03-31  John Levon  <levon@movementarian.org>
3589
3590         * bufferlist.C: "Load original" -> "Load Original"
3591
3592         * converter.C:
3593         * exporter.C:
3594         * importer.C:
3595         * lyx_main.C:
3596         * format.C: more Alert cleanups
3597
3598 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3599
3600         * text2.C (removeParagraph): make it take a RowList::iterator as
3601         arg, adjust.
3602         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3603         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3604
3605         * text.C (anchor_row): make it take a RowList::iterator as arg,
3606         adjust.
3607         (computeBidiTables): make it take a const reference to Row instead
3608         of Row pointer, adjust.
3609         (leftMargin): make it take a RowList::iterator as arg, adjust.
3610         (rowBreakPoint): adjust
3611         (breakAgainOneRow): make it take a RowList::iterator as arg,
3612         adjust.
3613         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3614
3615         * bufferview_funcs.C (toggleAndShow): adjust
3616
3617 2003-03-30  John Levon  <levon@movementarian.org>
3618
3619         * Makefile.am:
3620         * BoostFormat.h:
3621         * boost-inst.C: moved to support
3622
3623         * several files: changes as a result
3624
3625 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3626
3627         * text2.C (LyXText): adjust.
3628         (init): adjust
3629         (removeRow): make it take a RowList::iterator as arg, adjust.
3630         (fullRebreak): adjust
3631         (deleteEmptyParagraphMechanism): adjust
3632         (clearPaint): adjust
3633         (postPaint): adjust
3634
3635         * text.C (top_y): adjust
3636         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3637         (breakAgain): make it take a RowList::iterator as arg, adjust.
3638         (breakParagraph): adjust
3639         (insertChar): adjust
3640         (backspace): adjust
3641
3642         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3643         need_break_row, and refresh_row.
3644
3645         * text3.C (dispatch): adjust
3646
3647         * text2.C (checkParagraph): adjust
3648         (setCursor): adjust
3649         (setCursorFromCoordinates): adjust
3650
3651         * text.C (top_y): adjust
3652         (workWidth): adjust
3653         (getRow): make it return a RowList::iterator, adjust
3654         (getRowNearY): make it return a RowList::iterator, adjust
3655
3656         * text2.C (init): adjust
3657         (insertRow): remove function
3658         (insertParagraph): adjust
3659         (redoParagraphs): adjust
3660         (fullRebreak): adjust
3661         (updateCounters): adjust
3662
3663         * text.C (top_y): rewrite to use RowList iterators.
3664         (top_y): adjust
3665         (setHeightOfRow): rewrite to sue RowList iterators.
3666         (appendParagraph): adjust
3667         (breakAgain): adjust
3668         (breakAgainOneRow): adjust
3669         (breakParagraph): adjust
3670         (getRow): adjust
3671         (getRowNearY): adjust, and remove commented code.
3672
3673         * lyxtext.h (firstRow): delete function
3674         (lastRow): delete function
3675         (rows): new function (const and non-const versions.)
3676         (insertRow): delete function
3677
3678         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3679
3680 2003-03-29  John Levon  <levon@movementarian.org>
3681
3682         * BufferView_pimpl.C: always update scrollbar top
3683         because pasting text when we're anchored could mean we
3684         miss an update altogether
3685
3686 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3687
3688         * text2.C (init): use rowlist_.end() and not 0.
3689         (insertRow): change to take a RowList::iterator as arg, adjust
3690         for this.
3691         (insertParagraph): change to take a RowList::iterator as arg,
3692         adjust for this.
3693         (redoParagraphs): remove some debug msgs.
3694
3695         * text.C (appendParagraph): change to take a RowList::iterator
3696         arg, adjust for this.
3697         (breakAgain): add an assert
3698         (breakAgainOneRow): ditto
3699
3700 2003-03-29  John Levon  <levon@movementarian.org>
3701
3702         * text2.C: do not clear selection after inc/decDepth
3703         (bug 550)
3704
3705 2003-03-29  John Levon  <levon@movementarian.org>
3706
3707         * BufferView.C:
3708         * buffer.C: fix broken strerrors according to Lars
3709
3710 2003-03-29  John Levon  <levon@movementarian.org>
3711
3712         * converters.C: more Alert cleanups
3713
3714 2003-03-29  John Levon  <levon@movementarian.org>
3715
3716         * bufferview_funcs.C: remove pointless Alert
3717
3718         * buffer.C: fix confusing error message when
3719         a template is chmoded 000
3720
3721 2003-03-29  John Levon  <levon@movementarian.org>
3722
3723         * BufferView.C:
3724         * BufferView.h:
3725         * BufferView_pimpl.C: Alert fixes
3726
3727         * Makefile.am:
3728         * tabular.C:
3729         * tabular-old.C: remove unused table compat reading
3730
3731 2003-03-29  John Levon  <levon@movementarian.org>
3732
3733         * BufferView.C:
3734         * buffer.C:
3735         * lyx_cb.h:
3736         * lyx_cb.C: more Alert cleanups
3737
3738         * lyxfunc.C: don't allow chktex if not latex document
3739
3740 2003-03-29  John Levon  <levon@movementarian.org>
3741
3742         * lyx_cb.C:
3743         * BufferView.C:
3744         * buffer.C: warnings pushed down from support/,
3745         kill err_alert
3746
3747 2003-03-29  John Levon  <levon@movementarian.org>
3748
3749         * lyxfunc.C: safety check for C-r (revert)
3750
3751 2003-03-29  John Levon  <levon@movementarian.org>
3752
3753         * bufferlist.h:
3754         * bufferlist.C: several UI fixes using Alert::prompt.
3755         Fix the pointless looping quit code. Fix stupid revert
3756         behaviour (bug 938)
3757
3758         * lyxvc.h:
3759         * lyxvc.C:
3760         * lyx_cb.C: use Alert::prompt
3761
3762         * lyx_main.C: remove a silly question
3763
3764         * lyxfunc.C: remove a couple of silly questions,
3765         use Alert::prompt
3766
3767 2003-03-28  John Levon  <levon@movementarian.org>
3768
3769         * text2.C: fix bug 974 (End on empty par)
3770
3771 2003-03-28  John Levon  <levon@movementarian.org>
3772
3773         * BufferView_pimpl.C:
3774         * LyXAction.C:
3775         * lfuns.h: remove do-nothing math greek lfuns
3776
3777 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3778
3779         * lyxgluelength.h (isValidGlueLength): add default arg on
3780         parameter 2. Remove default arg from friend in class.
3781
3782         * lyxlength.h (isValidLength): add default arg on parameter 2.
3783         Remove default arg from friend in class.
3784
3785         * text2.C (LyXText): adjust, initialize refresh_row.
3786         (init): adjust
3787         (removeRow): adjust
3788         (insertRow): adjust
3789         (insertParagraph): adjst
3790         (redoParagraphs): adjust
3791         (fullRebreak): adjust
3792         (updateCounters): adjust
3793         (deleteEmptyParagraphMechanism): first attempt at fixing a
3794         crashing bug.
3795
3796         * text.C (top_y): adjust
3797         (setHeightOfRow): adjust
3798         (getRow): adjust
3799         (getRowNearY): adjust
3800
3801         * lyxtext.h: include RowList.h
3802         (~LyXText): not needed anymore, deleted.
3803         (firstRow): modify for RowList
3804         (lastRow): new function
3805         Delete firstrow and lastrow class variables, add a Rowlist
3806         rowlist_ class variable.
3807
3808         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3809         paragraph is empty.
3810
3811         * RowList.C (insert): fix case where it == begin().
3812
3813 2003-03-26  Angus Leeming  <leeming@lyx.org>
3814
3815         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3816         the thesaurus dialog.
3817
3818 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3819
3820         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3821
3822         * RowList.[Ch]: new files
3823
3824         * ParagraphList.C (erase): handle the case where it == begin
3825         correctly.
3826
3827 2003-03-25  John Levon  <levon@movementarian.org>
3828
3829         * Makefile.am:
3830         * aspell_local.h:
3831         * aspell.C: add new aspell support
3832
3833         * lyxrc.h:
3834         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3835         have it accessible.
3836
3837 2003-03-25  Angus Leeming  <leeming@lyx.org>
3838
3839         * lfuns.h:
3840         * LyXAction.C (init): new LFUN_INSET_INSERT.
3841
3842         * BufferView_pimpl.C (dispatch): split out part of the
3843         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3844
3845         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3846         LFUN_INSET_APPLY.
3847
3848 2003-03-25  Angus Leeming  <leeming@lyx.org>
3849
3850         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3851
3852 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3853
3854         * text2.C:
3855         * text3.C: remove useless row->height(0)
3856
3857 2003-03-25  John Levon  <levon@movementarian.org>
3858
3859         * lyxtext.h:
3860         * text2.C:
3861         * text3.C: rename the refreshing stuff to better names
3862
3863 2003-03-24  John Levon  <levon@movementarian.org>
3864
3865         * BufferView_pimpl.h:
3866         * BufferView_pimpl.C: update layout choice on a mouse
3867         press/release
3868
3869 2003-03-23  John Levon  <levon@movementarian.org>
3870
3871         * Makefile.am: fix commandtags.h reference
3872
3873 2003-03-22  John Levon  <levon@movementarian.org>
3874
3875         * BufferView_pimpl.C:
3876         * lyxtext.h:
3877         * rowpainter.C:
3878         * rowpainter.h:
3879         * text.C:
3880         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3881
3882 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3883
3884         * lyxtext.h:
3885         * text.C: take the rtl methods out of line
3886
3887 2003-03-21 André Pönitz <poenitz@gmx.net>
3888
3889         * metricsinfo.[Ch]: new files containing structures to be passed around
3890         during the two-phase-drawing...
3891
3892 2003-03-21 André Pönitz <poenitz@gmx.net>
3893
3894         * lyxtextclass.C: read 'environment' tag.
3895
3896 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3897
3898         * text2.C (removeRow): fix bug 964
3899
3900 2003-03-20  John Levon  <levon@movementarian.org>
3901
3902         * rowpainter.C:
3903         * text.C:
3904         * text2.C: paint cleanups. Inset::update() dropped font
3905         parameter
3906
3907 2003-03-19  John Levon  <levon@movementarian.org>
3908
3909         * lyxfunc.C: only fitcursor/markDirty if available()
3910
3911 2003-03-19  John Levon  <levon@movementarian.org>
3912
3913         * commandtags.h: rename to ...
3914
3915         * lfuns.h: ... this, and renumber / cleanup
3916
3917 2003-03-19  John Levon  <levon@movementarian.org>
3918
3919         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3920         fit the cursor after an lfun
3921
3922         * BufferView.h:
3923         * BufferView.C:
3924         * BufferView_pimpl.h:
3925         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3926
3927         * LyXAction.C: layout-character should have ReadOnly
3928
3929         * ParagraphParameters.C:
3930         * buffer.C:
3931         * bufferview_funcs.C:
3932         * lyx_cb.C:
3933         * lyxfind.C:
3934         * lyxtext.h:
3935         * text.C:
3936         * text2.C:
3937         * text3.C:
3938         * undo_funcs.C: changes from above
3939
3940 2003-03-18  John Levon  <levon@movementarian.org>
3941
3942         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3943         remove it from update()
3944
3945         * lyxfunc.C: update layout choice after an lfun
3946
3947         * text3.C: remove extra updateLayoutChoice()s
3948
3949 2003-03-18  John Levon  <levon@movementarian.org>
3950
3951         * text.C: top_y change means full repaint, fix
3952         a drawing bug with cursor movement
3953
3954 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3955
3956         * lyxtext.h:
3957         * text.C:
3958         * text2.C: anchor row on setCursor
3959
3960 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3961
3962         * lyxtext.h: remove almost all mutable keywords
3963         * text.C:
3964         * text2.C:
3965         * text3.C: remove const keywords accordingly
3966
3967 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3968
3969         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3970         anon namespace
3971         (TeXEnvironment): ditto
3972         (TeXOnePar): ditto
3973
3974 2003-03-17  John Levon  <levon@movementarian.org>
3975
3976         * text.C (rowBreakPoint): remove attempt to fix displayed
3977         math insets inside a manual label
3978
3979 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3980
3981         * lyxtext.h: remove BufferView* as first arg from almost all class
3982         functions.
3983         * other files: adjust.
3984
3985 2003-03-17  John Levon  <levon@movementarian.org>
3986
3987         * lyxtext.h:
3988         * undo_funcs.C:
3989         * text2.C: more paint cleanups
3990
3991         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3992
3993         * rowpainter.h:
3994         * rowpainter.C: remove "smart" background painting code
3995
3996 2003-03-16  John Levon  <levon@movementarian.org>
3997
3998         * lyxtext.h:
3999         * text.C:
4000         * text2.C:
4001         * text3.C: add helper functions for setting refresh_row/y
4002
4003 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4004
4005         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4006         newline inset which *can* get inserted in the pass_thru layouts.
4007         This is primarily for literate documents.
4008
4009 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4010
4011         * buffer.C: increment LYX_FORMAT to 223
4012
4013 2003-03-14 André Pönitz <poenitz@gmx.net>
4014
4015         * textclass.h: prepare for environment handling, ws changes
4016         * lyxlayout.C: read latexheader and latexfooter tags
4017
4018 2003-03-14  John Levon  <levon@movementarian.org>
4019
4020         * text2.C: rewrite ::status() a bit
4021
4022 2003-03-13  John Levon  <levon@movementarian.org>
4023
4024         * lyxtext.h: add some docs
4025
4026 2003-03-13  John Levon  <levon@movementarian.org>
4027
4028         * lyxtext.h:
4029         * text.C:
4030         * text2.C:
4031         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4032
4033 2003-03-13  John Levon  <levon@movementarian.org>
4034
4035         * text3.C: fix appendix redrawing
4036
4037 2003-03-13  John Levon  <levon@movementarian.org>
4038
4039         * text.C (setHeightOfRow):
4040         * rowpainter.h:
4041         * rowpainter.C: make appendix mark have the text
4042           "Appendix" so the user knows what it is
4043
4044         * LColor.h:
4045         * LColor.C: s/appendixline/appendix/ from above
4046
4047 2003-03-13  John Levon  <levon@movementarian.org>
4048
4049         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4050
4051         * text.C: fix a getChar(pos) bug properly
4052
4053 2003-03-13  Angus Leeming  <leeming@lyx.org>
4054
4055         * commandtags.h:
4056         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4057         Probably only temporary. Let's see how things pan out.
4058
4059         * BufferView.C (unlockInset):
4060         * BufferView_pimpl.C (fitCursor):
4061         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4062
4063         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4064         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4065
4066         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4067         new functions that convert ParagraphParameters to and from a string.
4068
4069         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4070         BufferView::Pimpl's dispatch.
4071         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4072
4073 2003-03-13 André Pönitz <poenitz@gmx.net>
4074
4075         * lyxfunc.C:
4076         * text3.C:
4077         * factory.C: make it aware of InsetEnv
4078
4079 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4080
4081         * text2.C (setCursor): never ask for one past last
4082         (setCursor): add some debugging messages.
4083
4084         * text.C (singleWidth): never ask for one past last
4085         (singleWidth): ditto
4086         (leftMargin): ditto
4087         (rightMargin): ditto
4088         (rowBreakPoint): ditto
4089         (setHeightOfRow): ditto
4090         (prepareToPrint): ditto
4091
4092         * rowpainter.C (paintBackground): never ask for one past last
4093         (paintText): never ask for one past last
4094
4095         * paragraph_pimpl.C (getChar): make the assert stricter, never
4096         allow the one past last pos to be taken
4097
4098         * paragraph.C (getChar): ws changes only
4099
4100         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4101         (numberOfSeparators): ditto
4102         (numberOfHfills): ditto
4103
4104 2003-03-12  John Levon  <levon@movementarian.org>
4105
4106         * author.h:
4107         * author.C:
4108         * bufferparams.h:
4109         * bufferparams.C:
4110         * paragraph_funcs.C: fix per-buffer authorlists
4111
4112 2003-03-12  John Levon  <levon@movementarian.org>
4113
4114         * text.C: fix newline in right address
4115
4116 2003-03-12  Angus Leeming  <leeming@lyx.org>
4117
4118         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4119         duplicate those in LyXFunc::dispatch.
4120
4121         * commandtags.h:
4122         * LyXAction.C:
4123         * ToolbarDefaults.C:
4124         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4125         Add LFUN_FONTFREE_UPDATE.
4126
4127         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4128         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4129
4130         * bufferview_func.[Ch]: several new functions to facilliate
4131         transfer of data to and from the character dialog.
4132
4133 2003-03-12  John Levon  <levon@movementarian.org>
4134
4135         * buffer.C:
4136         * paragraph.h:
4137         * paragraph.C:
4138         * paragraph_funcs.C:
4139         * paragraph_pimpl.C:
4140         * sgml.C:
4141         * tabular.C:
4142         * text.C:
4143         * text3.C: remove META_NEWLINE in favour of an inset
4144
4145         * rowpainter.h:
4146         * rowpainter.C: remove paintNewline (done by inset)
4147
4148 2003-03-12  John Levon  <levon@movementarian.org>
4149
4150         * paragraph_pimpl.C: complain about bad getChar()s
4151         for a while at least
4152
4153 2003-03-12  John Levon  <levon@movementarian.org>
4154
4155         * buffer.h:
4156         * buffer.C: move paragraph read into a separate function,
4157         a little renaming to reflect that.
4158
4159         * bufferparams.h:
4160         * bufferparams.C: remove the author_ids map, not necessary now
4161
4162         * factory.h:
4163         * factory.C: moved Buffer::readInset to here
4164
4165         * paragraph_funcs.h:
4166         * paragraph_funcs.C: readParagraph free function moved from
4167         buffer.C
4168
4169         * tabular.C: name change
4170
4171 2003-03-12  John Levon  <levon@movementarian.org>
4172
4173         * buffer.C:
4174         * ParagraphParameters.C: move par params input to
4175         a read() method
4176
4177         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4178         behave like a normal read from the stream wrt reading
4179         a line vs. a \\token
4180
4181 2003-03-12  John Levon  <levon@movementarian.org>
4182
4183         * paragraph.C:
4184         * ParagraphParameters.h:
4185         * ParagraphParameters.C: move output code to a
4186         ::write() method
4187
4188 2003-03-12  John Levon  <levon@movementarian.org>
4189
4190         * BufferView.C (insertLyXFile):
4191         * buffer.h:
4192         * buffer.C:
4193         * tabular.C: use a parlist iterator for creating the
4194           document.
4195
4196 2003-03-12  John Levon  <levon@movementarian.org>
4197
4198         * buffer.C: make current_change static local not
4199           static file-scope
4200
4201 2003-03-12  John Levon  <levon@movementarian.org>
4202
4203         * buffer.C: fix insertStringAsLines for change tracking
4204
4205 2003-03-12  John Levon  <levon@movementarian.org>
4206
4207         * BufferView.C:
4208         * tabular.C:
4209         * buffer.h:
4210         * buffer.C:
4211         * bufferparams.h:
4212         * bufferparams.C: move author list into params. Rename some
4213           functions. Move the header reading into a separate token
4214           loop. Move the header token reading into BufferParams.
4215
4216 2003-03-12  John Levon  <levon@movementarian.org>
4217
4218         * changes.C: put debug inside lyxerr.debugging() checks
4219
4220 2003-03-11 André Pönitz <poenitz@gmx.net>
4221
4222         * factory.C: make it aware of InsetHFill
4223
4224 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4225
4226         * buffer.C (latexParagraphs): move function from here...
4227         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4228         args.
4229
4230 2003-03-10  Angus Leeming  <leeming@lyx.org>
4231
4232         * LyXAction.C (init): fix bug in poplating array with multiple entries
4233         with the same LFUN (spotted by JMarc).
4234
4235 2003-03-10  John Levon  <levon@movementarian.org>
4236
4237         * text.C:
4238         * text2.C: move getColumnNearX() near its
4239         only call site
4240
4241 2003-03-10  John Levon  <levon@movementarian.org>
4242
4243         * text.C: fix break before a minipage
4244
4245 2003-03-10  John Levon  <levon@movementarian.org>
4246
4247         * text.C: fix the last commit
4248
4249 2003-03-09  John Levon  <levon@movementarian.org>
4250
4251         * lyxtext.h:
4252         * text.C:
4253         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4254         bug 365 (don't break before insets unless needed). Don't
4255         return a value > last under any circumstances.
4256
4257 2003-03-09  Angus Leeming  <leeming@lyx.org>
4258
4259         * BufferView_pimpl.C (trackChanges, dispatch): call
4260         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4261
4262 2003-03-09  Angus Leeming  <leeming@lyx.org>
4263
4264         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4265         than Dialogs::showAboutlyx().
4266
4267 2003-03-09  Angus Leeming  <leeming@lyx.org>
4268
4269         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4270         than Dialogs::showTabularCreate().
4271
4272 2003-03-09  John Levon  <levon@movementarian.org>
4273
4274         * lyxtext.h:
4275         * text.C:
4276         * text2.C: 3rd arg to nextBreakPoint was always the same.
4277           Use references.
4278
4279 2003-03-08  John Levon  <levon@movementarian.org>
4280
4281         * lyxrow.C:
4282         * paragraph.C:
4283         * paragraph.h:
4284         * rowpainter.C:
4285         * text.C:
4286         * text2.C: Remove the "main" bit from the "main body"
4287           notion.
4288
4289 2003-03-08  John Levon  <levon@movementarian.org>
4290
4291         * text.C (leftMargin): The left margin of an empty
4292         manual label paragraph should not include the label width
4293         string length.
4294
4295         * text.C (prepareToPrint): don't attempt to measure hfills
4296         for empty manual label paragraphs - the answer should be 0
4297
4298 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4299
4300         * CutAndPaste.C: remove commented code and reindent.
4301
4302 2003-03-08  John Levon  <levon@movementarian.org>
4303
4304         * lyxfunc.h:
4305         * lyxfunc.C: move reloadBuffer()
4306
4307         * BufferView.h:
4308         * BufferView.C: to here
4309
4310         * lyxvc.C: add comment
4311
4312         * vc-backend.h:
4313         * vc-backend.C: call bv->reload() to avoid
4314           getStatus() check on MENURELOAD
4315
4316 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4317
4318         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4319         to an old format .dep file.
4320
4321 2003-03-07  Angus Leeming  <leeming@lyx.org>
4322
4323         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4324         when the LFUN_MOUSE_RELEASE should have been handled by
4325         inset->localDispatch.
4326
4327 2003-03-07  Angus Leeming  <leeming@lyx.org>
4328
4329         * BufferView_pimpl.C (dispatch):
4330         * LyXAction.C (init):
4331         * ToolbarDefaults.C (init):
4332         * commandtags.h:
4333         * lyxfunc.C (getStatus):
4334         remove LFUN_INSET_GRAPHICS.
4335
4336         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4337
4338 2003-03-07  Angus Leeming  <leeming@lyx.org>
4339
4340         * commandtags.h:
4341         * LyXAction.C (init):
4342         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4343
4344         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4345
4346         * commandtags.h:
4347         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4348
4349         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4350         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4351
4352 2003-03-07  Angus Leeming  <leeming@lyx.org>
4353
4354         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4355         remove "ert".
4356
4357 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * ParagraphList.C (front): new function
4360         (back): implement
4361
4362 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4363
4364         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4365         and top_row_offset_. removed var first_y.
4366         * text.C (top_y):
4367         * text2.C (LyXText, removeRow):
4368         * text3.C:
4369         * BufferView_pimpl.C:
4370         use these methods instead of using first_y
4371
4372 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4373
4374         * text2.C (pasteSelection): adjust for checkPastePossible
4375
4376         * CutAndPaste.C: remove Paragraph * buf and replace with
4377         ParagraphList paragraphs.
4378         (DeleteBuffer): delete
4379         (cutSelection): change the tc type to textclass_type
4380         (copySelection): change the tc type to textclass_type
4381         (copySelection): adjust for ParagraphList
4382         (pasteSelection): change the tc type to textclass_type
4383         (pasteSelection): adjust for Paragraphlist
4384         (nrOfParagraphs): simplify for ParagraphList
4385         (checkPastePossible): simplify for ParagraphList
4386         (checkPastePossible): remove unused arg
4387
4388         * ParagraphList.C (insert): handle the case where there are no
4389         paragraphs yet.
4390
4391         * CutAndPaste.h: make CutAndPaste a namespace.
4392
4393         * text3.C (dispatch): adjust
4394
4395         * text.C (breakParagraph): add a ParagraphList as arg
4396
4397         * paragraph_funcs.C (breakParagraph): change to take a
4398         BufferParams and a ParagraphList as args.
4399         (breakParagraphConservative): ditto
4400         (mergeParagraph): ditto
4401         (TeXDeeper): add a ParagraphList arg
4402         (TeXEnvironment): ditto
4403         (TeXOnePar): ditto
4404
4405         * buffer.C (readLyXformat2): adjust
4406         (insertStringAsLines): adjust
4407         (latexParagraphs): adjust
4408
4409         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4410         (cutSelection): adjust
4411         (pasteSelection): adjust
4412
4413         * BufferView_pimpl.C (insertInset): adjust
4414
4415 2003-03-05  Angus Leeming  <leeming@lyx.org>
4416
4417         * commandtags.h:
4418         * LyXAction.C (init):
4419         * BufferView_pimpl.C (dispatch):
4420         * lyxfunc.C (getStatus):
4421         remove LFUN_CHILD_INSERT.
4422
4423         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4424
4425 2003-03-05  Angus Leeming  <leeming@lyx.org>
4426
4427         * commandtags.h:
4428         * LyXAction.C (init):
4429         * src/factory.C (createInset):
4430         * lyxfunc.C (getStatus):
4431         * text3.C (dispatch):
4432         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4433
4434         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4435
4436 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4437
4438         * ParagraphList.C (insert): handle insert right before end()
4439         (erase): fix cases where it can be first or last paragraph.
4440
4441 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4442
4443         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4444         Paragraph::next and Paragraph::previous
4445         (TeXOnePar): ditto
4446
4447         * text.C (breakParagraph): adjust
4448
4449         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4450         BufferParams& as arg.
4451         (breakParagraph): use ParagraphList::insert
4452         (breakParagraphConservative): take a Buffer* instead of a
4453         BufferParams& as arg.
4454         (breakParagraphConservative): use ParagraphList::insert.
4455
4456         * buffer.C (insertStringAsLines): un-const it
4457         (insertStringAsLines): adjust
4458
4459         * ParagraphList.C (insert): new function
4460
4461         * CutAndPaste.C (pasteSelection): adjust
4462
4463         * text.C (backspace): adjust
4464
4465         * tabular.C (SetMultiColumn): adjust
4466
4467         * CutAndPaste.C (cutSelection): adjust
4468         (pasteSelection): adjust
4469
4470         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4471         Buffer const * as arg
4472
4473         * ParagraphList.C (erase): new function
4474         * paragraph_funcs.C (mergeParagraph): use it
4475         (mergeParagraph): make it take a Buffer* instead of a
4476         BufferParams* as arg
4477
4478         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4479         as arg
4480         (breakParagraphConservative): ditto
4481
4482         * paragraph.h: remove the breakParagraph friend
4483
4484         * paragraph.C (eraseIntern): new function
4485         (setChange): new function
4486
4487         * paragraph_funcs.C (mergeParagraph): make it take a
4488         ParagraphList::iterator instead of a Paragraph *, adjust
4489         accordingly.
4490
4491         * paragraph.h: move an #endif so that the change tracking stuff
4492         also works in the NO_NEXT case.
4493
4494 2003-03-04  Angus Leeming  <leeming@lyx.org>
4495
4496         * commandtags.h:
4497         * LyXAction.C: new LFUN_INSET_MODIFY.
4498
4499         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4500         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4501
4502 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4503
4504         * several files: ws changes only
4505
4506         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4507         (TeXEnvironment): ditto
4508         (TeXDeeper): ditto
4509
4510         * buffer.C (makeLaTeXFile): adjust
4511         (latexParagraphs): make it take ParagraphList::iterator as args
4512
4513 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4514
4515         * buffer.C (latexParagraphs): adjust
4516
4517         * paragraph.C (TeXOnePar): move function...
4518         (optArgInset): move function...
4519         (TeXEnvironment): move function...
4520         * paragraph_pimpl.C (TeXDeeper): move function...
4521         * paragraph_funcs.C: ...here
4522
4523         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4524
4525 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4526
4527         * buffer.C (readInset): remove compability code for old Figure and
4528         InsetInfo insets
4529
4530 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4531
4532         * buffer.C: ws changes
4533         (readInset):
4534
4535         * BufferView_pimpl.C: ditto
4536         * author.C: ditto
4537         * buffer.h: ditto
4538         * bufferlist.h: ditto
4539         * changes.h: ditto
4540         * lyxfunc.C: ditto
4541
4542 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4543
4544         * converter.[Ch]: split into itself +
4545         * graph.[Ch]
4546         * format.[Ch]
4547         * Makefile.am: += graph.[Ch] + format.[Ch]
4548         * MenuBackend.C
4549         * buffer.C
4550         * exporter.C
4551         * importer.C
4552         * lyx_main.C
4553         * lyxfunc.C
4554         * lyxrc.C: added #include "format.h"
4555
4556 2003-02-27  Angus Leeming  <leeming@lyx.org>
4557
4558         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4559           a label.
4560
4561         * factory.C (createInset): add "label" to the factory.
4562
4563         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4564           string and do no more.
4565
4566 2003-02-27  Angus Leeming  <leeming@lyx.org>
4567
4568         * commandtags.h:
4569         * LyXAction.C (init):
4570         * factory.C (createInset):
4571         * BufferView_pimpl.C (dispatch):
4572           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4573
4574         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4575
4576         * lyxfunc.C (dispatch):
4577         * text3.C (dispatch): pass name to params2string.
4578
4579 2003-02-26  Angus Leeming  <leeming@lyx.org>
4580
4581         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4582           blocks together.
4583           Rearrange the ~includes. Strip out the unnecessary ones.
4584
4585         * factory.C (createInset): reformat.
4586           create new insets for the various LFUN_XYZ_APPLY lfuns.
4587
4588 2003-02-26  John Levon  <levon@movementarian.org>
4589
4590         * lyxrow.h:
4591         * lyxrow.C: add isParStart,isParEnd helpers
4592
4593         * paragraph.h: make isInserted/DeletedText take refs
4594
4595         * paragraph_funcs.h:
4596         * paragraph_funcs.C: remove #if 0'd code
4597
4598         * lyxtext.h:
4599         * text3.C:
4600         * text2.C:
4601         * text.C: use lyxrow helpers above.
4602           Move draw and paint routines to RowPainter.
4603           Make several methods use refs not pointers.
4604           Make backgroundColor() const.
4605           Add markChangeInDraw(), isInInset().
4606           Merge changeRegionCase into changeCase.
4607           Make workWidth() shouldn't-happen code into an Assert.
4608
4609         * rowpainter.h:
4610         * rowpainter.C: new class for painting a row.
4611
4612         * vspace.h:
4613         * vspace.C: make inPixels take a ref
4614
4615 2003-02-26  Angus Leeming  <leeming@lyx.org>
4616
4617         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4618         LFUN_REF_APPLY.
4619
4620 2003-02-25  John Levon  <levon@movementarian.org>
4621
4622         * ispell.C: give the forked command a more accurate name
4623
4624 2003-02-22  John Levon  <levon@movementarian.org>
4625
4626         * toc.h:
4627         * toc.C: make TocItem store an id not a Paragraph *
4628           (bug #913)
4629
4630 2003-02-21  Angus Leeming  <leeming@lyx.org>
4631
4632         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4633           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4634           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4635           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4636           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4637           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4638
4639         * BufferView_pimpl.C (dispatch):
4640         * LyXAction.C (init):
4641         * factory.C (createInset):
4642         * lyxfunc.C (getStatus, dispatch):
4643         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4644
4645 2003-02-21  Angus Leeming  <leeming@lyx.org>
4646
4647         * BufferView_pimpl.C (MenuInsertLyXFile):
4648         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4649         * lyxfunc.C (menuNew, open, doImport):
4650           no longer pass a LyXView & to fileDlg.
4651
4652 2003-02-21  Angus Leeming  <leeming@lyx.org>
4653
4654         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4655         * LyXAction.C: change, BIBKEY to BIBITEM.
4656         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4657         Change InsetBibKey to InsetBibitem.
4658         Change BIBKEY_CODE to BIBITEM_CODE.
4659         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4660         * factory.C: replace insetbib.h with insetbibitem.h.
4661         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4662         * paragraph.C: replace insetbib.h with insetbibitem.h.
4663         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4664         Change bibkey() to bibitem().
4665         * text.C: remove insetbib.h.
4666         * text2.C: replace insetbib.h with insetbibitem.h.
4667         change bibkey() to bibitem().
4668         * text3.C: remove insetbib.h.
4669         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4670
4671 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4672
4673         * lyxrc.C (output): enclose user email in quotes (in case there are
4674         several words)
4675
4676 2003-02-18  John Levon  <levon@movementarian.org>
4677
4678         * buffer.h: add std::
4679
4680 2003-02-17  John Levon  <levon@movementarian.org>
4681
4682         * SpellBase.h:
4683         * ispell.h:
4684         * ispell.C:
4685         * pspell.h:
4686         * pspell.C: reworking. Especially in ispell, a large
4687           number of clean ups and bug fixes.
4688
4689         * lyxfunc.C: fix revert to behave sensibly
4690
4691 2003-02-17 André Pönitz <poenitz@gmx.net>
4692
4693         * LyXAction.C:
4694         * commandtags.h: new LFUN_INSERT_BIBKEY
4695
4696         * layout.h:
4697         * lyxlayout.C:
4698         * buffer.C:
4699         * factory.C:
4700         * text.C:
4701         * text2.C:
4702         * text3.C:
4703         * paragraph.[Ch]:
4704         * paragraph_func.C: remove special bibkey handling
4705
4706 2003-02-17  John Levon  <levon@movementarian.org>
4707
4708         * text.C (Delete): fix case where delete at the end of
4709           the very first paragraph would not merge the pars
4710
4711 2003-02-17  John Levon  <levon@movementarian.org>
4712
4713         * lyxrow.C: fix lastPrintablePos()
4714
4715 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4716
4717         * bufferparams.C (writeLaTeX): add a std:here
4718
4719         * buffer.C: and remove a using directive there
4720
4721 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4722
4723         * buffer.C (makeLaTeXFile): move the code that generates the
4724           preamble...
4725
4726         * bufferparams.C (writeLaTeX): ... in this new method
4727
4728         * LaTeXFeatures.C (getEncodingSet): make const
4729           (getLanguages): make const
4730
4731         * MenuBackend.C (binding): returns the binding associated to this
4732           action
4733           (add): sets the status of each item by calling getStatus. Adds
4734           some intelligence.
4735           (read): add support for OptSubMenu
4736           (expand): remove extra separator at the end of expanded menu
4737
4738 2003-02-15  John Levon  <levon@movementarian.org>
4739
4740         * BufferView.C:
4741         * BufferView_pimpl.C:
4742         * bufferlist.h:
4743         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4744           inset code that had no actual effect. Remove unneeded status
4745           code.
4746
4747 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4748
4749         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4750           in preamble
4751
4752 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4753
4754         * text.C (drawLengthMarker): also draw an arrow marker for
4755           symbolic lengths (medskip...)
4756
4757 2003-02-14  John Levon  <levon@movementarian.org>
4758
4759         * tabular.h:
4760         * tabular.C: better method names
4761
4762 2003-02-14  John Levon  <levon@movementarian.org>
4763
4764         * BufferView_pimpl.C:
4765         * bufferlist.C:
4766         * buffer.C:
4767         * converter.C:
4768         * lyx_cb.C:
4769         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4770           it's a more accurate name. Remove some pointless uses.
4771
4772 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4773
4774         * text2.C (LyXText): change order of initilizers to shut off
4775           warnings
4776
4777 2003-02-14  John Levon  <levon@movementarian.org>
4778
4779         * buffer.C: use ParIterator for getParFromID()
4780
4781         * paragraph.h:
4782         * paragraph.C:
4783         * paragraph_pimpl.h:
4784         * paragraph_pimpl.C: remove unused getParFromID()
4785
4786 2003-02-14  John Levon  <levon@movementarian.org>
4787
4788         * buffer.C: remove some very old #if 0'd parse code
4789
4790 2003-02-13  John Levon  <levon@movementarian.org>
4791
4792         * text.h:
4793         * text.C:
4794         * text2.C: move hfillExpansion(), numberOfSeparators(),
4795           rowLast(), rowLastPrintable(), numberofHfills(),
4796           numberOfLabelHfills() ...
4797
4798         * lyxrow.h:
4799         * lyxrow.C: ... to member functions here.
4800
4801         * paragraph.h:
4802         * paragraph.C:
4803         * lyxtext.h:
4804         * text.C: remove LyXText::beginningOfMainBody(), and call
4805           p->beginningOfMainBody() directly. Move the check for
4806           LABEL_MANUAL into the latter.
4807
4808         * text.h:
4809         * text.C:
4810         * text2.C:
4811         * vspace.C:
4812         * BufferView.h:
4813         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4814
4815         * text.h:
4816         * text.C:
4817         * text2.C:
4818         * text3.C:
4819         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4820           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4821
4822 2003-02-13  John Levon  <levon@movementarian.org>
4823
4824         * CutAndPaste.C: remove debug
4825
4826 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4827
4828         * paragraph.C (asString): remove two unused variables
4829
4830         * lyxtextclass.C (readTitleType):
4831           (Read):
4832           (LyXTextClass): handle new members titletype_ and titlename_
4833
4834         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4835
4836 2003-02-09  John Levon  <levon@movementarian.org>
4837
4838         * buffer.h:
4839         * buffer.C: replace hand-coded list with a map for the dep clean
4840
4841 2003-02-08  John Levon  <levon@movementarian.org>
4842
4843         * LaTeX.C: consolidate code into showRunMessage() helper
4844
4845 2003-02-08  John Levon  <levon@movementarian.org>
4846
4847         * lyxfind.C:
4848         * lyxtext.h:
4849         * text2.C:
4850         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4851           and pass the size in explicitly
4852
4853         * BufferView_pimpl.h:
4854         * BufferView_pimpl.C:
4855         * BufferView.h:
4856         * BufferView.C: add getCurrentChange()
4857
4858         * BufferView_pimpl.h:
4859         * BufferView_pimpl.C: handle change lfuns
4860
4861         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4862           for changes. Mark pasted paragraphs as new.
4863
4864         * support/lyxtime.h:
4865         * support/lyxtime.C:
4866         * DepTable.C: abstract time_t as lyx::time_type
4867
4868         * LColor.h:
4869         * LColor.C: add colours for new text, deleted text, changebars
4870
4871         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4872           package use "usenames" option.
4873
4874         * commandtags.h:
4875         * lyxfunc.C:
4876         * LyXAction.C: add change lfuns
4877
4878         * Makefile.am:
4879         * author.h:
4880         * author.C: author handling
4881
4882         * buffer.h:
4883         * buffer.C: add a per-buffer author list, with first entry as
4884           current author. Handle new .lyx tokens for change tracking. Output
4885           author list to .lyx file. Output dvipost stuff to .tex preamble.
4886           Bump lyx format to 222.
4887
4888         * bufferlist.h:
4889         * bufferlist.C: add setCurrentAuthor() to reset current author details
4890           in all buffers.
4891
4892         * bufferparams.h:
4893         * bufferparams.C: add param for tracking
4894
4895         * bufferview_funcs.C: output change info in minibuffer
4896
4897         * Makefile.am:
4898         * changes.h:
4899         * changes.C: add change-tracking structure
4900
4901         * debug.h:
4902         * debug.C: add CHANGES debug flag
4903
4904         * lyxfind.h:
4905         * lyxfind.C: add code for finding the next change piece
4906
4907         * lyxrc.h:
4908         * lyxrc.C: add user_name and user_email
4909
4910         * lyxrow.h:
4911         * lyxrow.C: add a metric for the top of the text line
4912
4913         * lyxtext.h:
4914         * text.C: implement accept/rejectChange()
4915
4916         * lyxtext.h:
4917         * text.C: paint changebars. Paint new/deleted text in the chosen
4918         colours. Strike through deleted text.
4919
4920         * paragraph.h:
4921         * paragraph.C:
4922         * paragraph_pimpl.h:
4923         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4924           in the current change to the insert functions. Rework erase to
4925           mark text as deleted, adding an eraseIntern() and a range-based
4926           erase(). Implement per-paragraph change lookup and
4927           accept/reject.
4928
4929         * paragraph_funcs.C: Fixup paste for change tracking.
4930
4931         * tabular.C: mark added row/columns as new.
4932
4933         * text.C: fix rowLast() to never return -1. Don't allow
4934           spellchecking of deleted text. Track transpose changes. Don't
4935           allow paragraph break or merge where appropriate.
4936
4937         * text2.C: leave cursor at end of selection after a cut.
4938
4939 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4940
4941         * text.C (getLengthMarkerHeight):
4942         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4943         visible on screen too.
4944
4945 2003-02-07  John Levon  <levon@movementarian.org>
4946
4947         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4948
4949 2003-02-05  Angus Leeming  <leeming@lyx.org>
4950
4951         * lyxserver.C (read_ready): revert my patch of 11 September last year
4952         as it sends PC cpu through the roof. Presumably this means that
4953         the lyxserver will no longer run on an Alpha...
4954
4955 2003-01-30  Angus Leeming  <leeming@lyx.org>
4956
4957         * factory.C (createInset): create an InsetCommandParam of type "index"
4958         and use it to 'do the right thing'.
4959
4960         * text2.C (getStringToIndex): ensure that cursor position is always
4961         reset to the reset_cursor position.
4962
4963 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4964
4965         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4966         disabled.
4967
4968 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4969
4970         * bufferview.C:
4971         * lyxcb.C:
4972         * lyxfunc.C: Output messages with identical spelling, punctuation,
4973         and spaces
4974
4975 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4976
4977         * MenuBackend.C (expandFormats): List only viewable export formats
4978         in "View" menu
4979
4980         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4981         message
4982
4983         * lyxfunc.C (getStatus): Make sure that formats other than
4984         "fax" can also be disabled
4985
4986 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4987
4988         * text3.C (dispatch): put the lfuns that insert insets in 3
4989         groups, and call doInsertInset with appropriate arguments.
4990         (doInsertInset): new function, that creates an inset and inserts
4991         it according to some boolean parameters.
4992
4993 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4994
4995         * buffer.C (readFile): remember to pass on 'par' when calling
4996         readFile recursively.
4997
4998 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4999
5000         * MenuBackend.C (expandFormats): add "..." to import formats.
5001
5002 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5003
5004         * paragraph.C (asString): Remove XForms RTL hacks.
5005
5006 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5007         * buffer.C: fix typo
5008
5009 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5010
5011         * Makefile.am (LIBS): delete var
5012         (lyx_LDADD): add @LIBS@ here instead.
5013
5014 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5015
5016         * Clarify the meaning of "wheel mouse jump"
5017
5018 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5019
5020         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5021         tabular in a float
5022
5023 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5024
5025         * importer.C (Loaders): do not preallocate 3 elements in the
5026         vector, since one ends up with 6 elements otherwise
5027
5028 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5029
5030         * DepTable.C (write): write the file name as last element of the
5031         .dep file (because it may contain spaces)
5032         (read): read info in the right order
5033
5034 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5035
5036         * paragraph_pimpl.C (simpleTeXBlanks):
5037         (simpleTeXSpecialChars):
5038         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5039
5040         * tabular.C (latex): add some missing case statements. Reindent.
5041
5042         * MenuBackend.C (expandToc): remove unused variable.
5043
5044 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5045
5046         * LColor.C:
5047         * LaTeX.C:
5048         * LyXAction.C:
5049         * MenuBackend.C:
5050         * buffer.C:
5051         * exporter.C:
5052         * lyxfunc.C:
5053         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5054         and the like.
5055
5056 2003-01-05  John Levon  <levon@movementarian.org>
5057
5058         * BufferView.h:
5059         * BufferView.C: add getEncoding()
5060
5061         * kbsequence.h:
5062         * kbsequence.C: do not store last keypress
5063
5064         * lyxfunc.h:
5065         * lyxfunc.C: store last keypress here instead. Pass encoding
5066           to getISOEncoded()
5067
5068 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5069
5070         * lyx_main.C (init): remove annoying error message when following
5071         symbolic links (bug #780)
5072
5073 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5074
5075         * text.C (insertChar):
5076         * lyxrc.C (getDescription): remove extra spaces
5077
5078 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5079
5080         * lyxrc.C (getDescription): remove extra spaces
5081
5082 2002-12-20  John Levon  <levon@movementarian.org>
5083
5084         * text3.C: hack fix for page up/down across tall rows
5085
5086 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5087
5088         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5089         not been invoked
5090
5091 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5092
5093         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5094         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5095         thesaurus is not compiled in
5096
5097 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5098
5099         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5100
5101 2002-12-16  Angus Leeming  <leeming@lyx.org>
5102
5103         * lyxrc.[Ch]:
5104         * lyx_main.C (init): remove override_x_deadkeys stuff.
5105
5106 2002-12-12  John Levon  <levon@movementarian.org>
5107
5108         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5109           insert. Only remove shift modifier under strict
5110           circumstances.
5111
5112 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5113
5114         * MenuBackend.C (expandToc): fix crash.
5115
5116 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * MenuBackend.C (expandToc): gettext on float names.
5119
5120 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5121
5122         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5123         implement bool empty() [bug 490]
5124
5125 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5126
5127         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5128
5129 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * several files: ws changes
5132
5133 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5134
5135         * text2.C (setCounter): clean up a bit, use boost.format.
5136         (updateCounters): initialize par upon declaration.
5137
5138         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5139         if the layout exists. We do not just store the layout any more.
5140         (SwitchLayoutsBetweenClasses): use boost.format
5141
5142 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5143
5144         * converter.C (convert): if from and to files are the same, use a
5145         temporary files as intermediary
5146
5147 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5148
5149         * commandtags.h:
5150         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5151
5152 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5153
5154         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5155
5156 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * tabular.C (asciiPrintCell): use string(size, char) instead of
5159         explicit loop.
5160
5161         * sgml.C (openTag): fix order of arguments to string constructor
5162         (closeTag): ditto
5163
5164         * lyxfunc.C (dispatch): use boost.format
5165
5166         * lots of files: change "c" -> 'c'
5167
5168 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5169
5170         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5171
5172 2002-11-25  Angus Leeming  <leeming@lyx.org>
5173
5174         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5175
5176         * lyx_main.C (init): compile fix.
5177
5178 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * lyx_cb.C (start): boost.formatify
5181         do not include <iostream>
5182
5183         * lengthcommon.C: ws only
5184
5185         * boost-inst.C,BoostFormat.h: add more explict instantations
5186
5187 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * lots of files: handle USE_BOOST_FORMAT
5190
5191 2002-11-21  John Levon  <levon@movementarian.org>
5192
5193         * pspell.C: fix compile
5194
5195 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5196
5197         * lyxfunc.C (dispatch): use boost::format
5198         (open): ditto
5199         (doImport): ditto
5200
5201         * lyxfont.C (stateText): use boost::format
5202
5203         * lyx_main.C (LyX): use boost::format
5204         (init): ditto
5205         (queryUserLyXDir): ditto
5206         (readRcFile): ditto
5207         (parse_dbg): ditto
5208         (typedef boost::function): use the recommened syntax.
5209
5210         * importer.C (Import): use boost::format
5211
5212         * debug.C (showLevel): use boost::format
5213
5214         * converter.C (view): use boost::format
5215         (convert): ditto
5216         (move): ditto
5217         (scanLog): ditto
5218
5219         * bufferview_funcs.C (currentState): use boost::format
5220
5221         * bufferlist.C (emergencyWrite): use boost::format
5222
5223         * buffer.C (readLyXformat2): use boost::format
5224         (parseSingleLyXformat2Token): ditto
5225
5226         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5227
5228         * LaTeX.C (run): use boost::format
5229
5230         * Chktex.C (scanLogFile): use boost::format
5231
5232         * BufferView_pimpl.C (savePosition): use boost::format
5233         (restorePosition): ditto
5234         (MenuInsertLyXFile): ditto
5235
5236         * BoostFormat.h: help file for explicit instation.
5237
5238 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5239
5240         * tabular.C (latex): Support for block alignment in fixed width
5241         columns.
5242
5243 2002-11-17  John Levon  <levon@movementarian.org>
5244
5245         * BufferView_pimpl.C:
5246         * lyx_cb.C:
5247         * lyxfunc.C: split filedialog into open/save
5248
5249 2002-11-08  Juergen Vigna  <jug@sad.it>
5250
5251         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5252         by my last patch (hopefully).
5253
5254 2002-11-08  John Levon  <levon@movementarian.org>
5255
5256         * iterators.h:
5257         * iterators.C:
5258         * buffer.h:
5259         * buffer.C:
5260         * paragraph.h:
5261         * paragraph.C:
5262         * toc.h:
5263         * toc.C: ParConstIterator, and use it (from Lars)
5264
5265 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5266
5267         * lyxtextclass.[Ch]: revise and add doxygen comments
5268
5269 2002-11-07  John Levon  <levon@movementarian.org>
5270
5271         * text.C: fix progress value for spellchecker
5272
5273         * toc.C: fix navigate menu for insetwrap inside minipage
5274
5275         * paragraph_funcs.C: added FIXME for suspect code
5276
5277 2002-11-07  John Levon  <levon@movementarian.org>
5278
5279         * BufferView_pimpl.C: fix redrawing of insets
5280           on buffer switch
5281
5282 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5283
5284         * text2.C (updateCounters): fix bug 668
5285
5286 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5287
5288         * text3.C (dispatch): Do not make the buffer dirty when moving the
5289         cursor.
5290
5291 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * vc-backend.C: STRCONV
5294         (scanMaster): ditto
5295
5296         * text2.C (setCounter): STRCONV
5297
5298         * paragraph.C (asString): STRCONV
5299
5300         * lyxlength.C (asString): STRCONV
5301         (asLatexString): ditto
5302
5303         * lyxgluelength.C (asString): STRCONV
5304         (asLatexString): ditto
5305
5306         * lyxfunc.C (dispatch): STRCONV
5307         (open): ditto
5308
5309         * lyxfont.C (stateText): STRCONV
5310
5311         * importer.C (Import): STRCONV
5312
5313         * counters.C (labelItem): STRCONV
5314         (numberLabel): ditto
5315         (numberLabel): remove unused ostringstream o
5316
5317         * chset.C: STRCONV
5318         (loadFile): ditto
5319
5320         * bufferview_funcs.C (currentState): STRCONV
5321
5322         * buffer.C (readFile): STRCONV
5323         (asciiParagraph): ditto
5324         (makeLaTeXFile): ditto
5325
5326         * Spacing.C (writeEnvirBegin): STRCONV
5327
5328         * LaTeXFeatures.C (getLanguages): STRCONV
5329         (getPackages): ditto
5330         (getMacros): ditto
5331         (getBabelOptions): ditto
5332         (getTClassPreamble): ditto
5333         (getLyXSGMLEntities): ditto
5334         (getIncludedFiles): ditto
5335
5336         * LaTeX.C: STRCONV
5337         (run): ditto
5338         (scanAuxFile): ditto
5339         (deplog): ditto
5340
5341         * LString.h: add the STRCONV macros
5342
5343         * BufferView_pimpl.C (savePosition): STRCONV
5344         (restorePosition): ditto
5345         (MenuInsertLyXFile): ditto
5346
5347         * vc-backend.C (scanMaster): change from submatch[...] to
5348         submatch.str(...)
5349
5350         * funcrequest.C: include config.h
5351
5352         * factory.C: include config.h
5353
5354         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5355
5356         * box.C: include config.h
5357
5358         * LaTeX.C (scanAuxFile): change from submatch[...] to
5359         submatch.str(...)
5360         (deplog): ditto
5361
5362 2002-10-25  Angus Leeming  <leeming@lyx.org>
5363
5364         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5365
5366         * ispell.[Ch] (setError): new method.
5367         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5368         Use setError() insetead of goto END.
5369
5370         * lyx_cb.C (AutoSave): move out child process into new class
5371         AutoSaveBuffer.
5372
5373 2002-10-30  John Levon  <levon@movementarian.org>
5374
5375         * text3.C: make start appendix undoable
5376
5377 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5378
5379         * lyxlength.C (inPixels): Fix returned value.
5380
5381         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5382         environment.
5383
5384 2002-10-24  Angus Leeming  <leeming@lyx.org>
5385
5386         * lyxgluelength.h: no need to forward declare BufferParams
5387         or BufferView, so don't.
5388
5389 2002-10-21  John Levon  <levon@movementarian.org>
5390
5391         * BufferView.C: menuUndo ->undo, redo
5392
5393         * BufferView.h: document, remove dead, make some methods private
5394
5395         * paragraph_funcs.h:
5396         * paragraph_funcs.C:
5397         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5398
5399         * buffer.h:
5400         * buffer.C:
5401         * sgml.h:
5402         * sgml.C: move sgml open/close tag into sgml.C
5403
5404         * bufferview_funcs.h: unused prototype
5405
5406         * lyxfunc.h:
5407         * lyxfunc.C: remove unused
5408
5409         * lyxtext.h:
5410         * text.C: remove unused
5411
5412 2002-10-21  John Levon  <levon@movementarian.org>
5413
5414         * BufferView.h:
5415         * BufferView.C:
5416         * BufferView_pimpl.h:
5417         * BufferView_pimpl.C: fix mouse wheel handling based on
5418           patch from Darren Freeman
5419
5420 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5421
5422         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5423
5424 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5425
5426         * lyxlength.C (inPixels): Fix hanfling of negative length.
5427         Fix LyXLength::MU case.
5428
5429 2002-10-16  John Levon  <levon@movementarian.org>
5430
5431         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5432
5433 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5434
5435         * converter.C (view): add support for $$i (file name) and $$p
5436         (file path) for the viewer command. If $$i is not specified, then
5437         it is appended to the command (for compatibility with old syntax)
5438
5439 2002-10-14  Juergen Vigna  <jug@sad.it>
5440
5441         * undo_funcs.C (textHandleUndo): alter the order in which the
5442         new undopar is added to the LyXText, as we have to set first
5443         the right prev/next and then add it as otherwise the rebuild of
5444         LyXText is not correct. Also reset the cursor to the right paragraph,
5445         with this IMO we could remove the hack in "redoParagraphs()".
5446
5447 2002-10-09  Angus Leeming  <leeming@lyx.org>
5448
5449         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5450         to turn off an optimisation if a new inset is to be inserted.
5451
5452 2002-10-11 André Pönitz <poenitz@gmx.net>
5453
5454         * lyxtext.h: make some functions public to allow access
5455         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5456
5457 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5458
5459         * text3.C (dispatch): when changing layout, avoid an infinite loop
5460         [bug #652]
5461
5462 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5463
5464         * lyxrc.C (read): treat a viewer or converter command of "none" as
5465         if it were empty.
5466
5467         * MenuBackend.C (expandFormats): for an update, also allow the
5468         formats that are not viewable
5469
5470         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5471         script if it is newer than the lyxrc.defaults in user directory
5472
5473 2002-10-07 André Pönitz <poenitz@gmx.net>
5474
5475         * text.C: Vitaly Lipatov's small i18n fix
5476
5477 2002-09-25  Angus Leeming  <leeming@lyx.org>
5478
5479         * ispell.h: doxygen fix.
5480
5481 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5482
5483         * buffer.h (readFile): Add a new argument to the method, to allow
5484         reading of old-format templates.
5485
5486 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5487
5488         * toc.C (getTocList): Get TOC from InsetWrap.
5489
5490 2002-09-16  John Levon  <levon@movementarian.org>
5491
5492         * lyxfunc.C: check tabular for cut/copy too
5493
5494 2002-09-12  John Levon  <levon@movementarian.org>
5495
5496         * LyXAction.C: tidy
5497
5498         * factory.h:
5499         * factory.C: add header
5500
5501         * paragraph_funcs.h:
5502         * paragraph_funcs.C: cleanup
5503
5504 2002-09-11  John Levon  <levon@movementarian.org>
5505
5506         * PrinterParams.h: odd/even default to true
5507
5508 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5509
5510         * PrinterParams.h: update printer parameters for new xforms dialog
5511
5512 2002-09-11  Angus Leeming  <leeming@lyx.org>
5513
5514         * lyxserver.C (read_ready): re-write to make it more transparent
5515         and to make it work in coherent fashion under Tru64 Unix.
5516
5517 2002-09-11  André Pönitz <poenitz@gmx.net>
5518
5519         * commandtags.h:
5520         * LyXAction.C:
5521         * text3.C: implement LFUN_WORDSEL
5522
5523 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5526         make floatlist_ a boost::shared_ptr<FloatList>
5527
5528         * lyxtextclass.C: include FloatList.h
5529         (LyXTextClass): initialize floatlist_
5530         (TextClassTags): add TC_NOFLOAT
5531         (Read): match "nofloat" to TC_NOFLOAT and use it.
5532         (readFloat): modify call to floatlist_
5533         (floats): ditto
5534         (floats): ditto
5535
5536         * FloatList.[Ch] (FloatList): remove commented out float
5537         initialization.
5538         (erase): new function
5539
5540 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5541
5542         * MenuBackend.C (expandToc): fix crash when there is no document
5543         open
5544
5545 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5546
5547         * many files: Add insetwrap.
5548
5549 2002-09-09  John Levon  <levon@movementarian.org>
5550
5551         * text2.C: remove confusing and awkward depth wraparound
5552
5553 2002-09-09  John Levon  <levon@movementarian.org>
5554
5555         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5556
5557         * buffer.h:
5558         * buffer.C: remove getIncludeonlyList()
5559
5560         * paragraph.C:
5561         * lyxfunc.C: remove headers
5562
5563 2002-09-09  Juergen Vigna  <jug@sad.it>
5564
5565         * text.C (getColumnNearX): fix form Michael this is most
5566         probably a cut&paste bug.
5567
5568 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5571
5572         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5573         references, ws changes.
5574
5575         * text2.C (init): update counters after init
5576         (insertParagraph): no need to set counter on idividual paragraphs.
5577         (setCounter): access the counters object in the textclass object
5578         on in the buffer object.
5579         (updateCounters): ditto
5580
5581         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5582         shared_ptr<Counters> to avoid loading counters.h in all
5583         compilation units.
5584         (LyXTextClass): initialize ctrs_
5585         (TextClassTags): add TC_COUNTER, and ...
5586         (Read): use it here.
5587         (CounterTags): new tags
5588         (readCounter): new function
5589         (counters): new funtion
5590         (defaultLayoutName): return a const reference
5591
5592         * counters.C (Counters): remove contructor
5593         (newCounter): remove a couple of unneeded statements.
5594         (newCounter): simplify a bit.
5595         (numberLabel): some small formatting changes.
5596
5597         * buffer.[Ch]: remove all traces of counters, move the Counters
5598         object to the LyXTextClass.
5599
5600 2002-09-06  Alain Castera  <castera@in2p3.fr>
5601
5602         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5603         package to set the horizontal alignment on fixed width columns.
5604
5605         * lyx_sty.C:
5606         * lyx_sty.h: added tabularnewline macro def.
5607
5608         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5609
5610 2002-09-06  John Levon  <levon@movementarian.org>
5611
5612         * LyXAction.C: tooltips for sub/superscript
5613
5614         * MenuBackend.C: a bit more verbose
5615
5616         * lyxfunc.C: tiny clean
5617
5618         * undo_funcs.C: document undo_frozen
5619
5620 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5621
5622         * counters.C (Counters): add missing algorithm counter.
5623
5624         * text2.C (setCounter): lookup the counter with layouts latexname
5625         instead of by section number.
5626         (setCounter): use a hackish way to lookup the correct enum
5627         counter.
5628         a float name->type change
5629         reset enum couners with counter name directly instead of depth value.
5630
5631         * counters.C (Counters): remove the push_backs, change to use the
5632         float type not the float name.
5633         (labelItem): remove unused string, float name->type change
5634
5635         * counters.h: don't include vector, loose the enums and sects vectors
5636
5637 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5638
5639         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5640         (Read): add float->TC_FLOAT to textclassTags
5641         (Read): and handle it in the switch
5642         (readFloat): new function
5643
5644         * FloatList.C (FloatList): comment out the hardcoded float
5645         definitions.
5646
5647         * lyxlayout.h: ws change.
5648
5649 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5650
5651         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5652
5653 2002-09-03  Angus Leeming  <leeming@lyx.org>
5654
5655         * BufferView_pimpl.h: qualified name is not allowed in member
5656         declaration: WorkArea & Pimpl::workarea() const;
5657
5658         * factory.C: added using std::endl directive.
5659
5660         * text3.C: added using std::find and std::vector directives.
5661
5662 2002-08-29  André Pönitz <poenitz@gmx.net>
5663
5664         * lyxtext.h:
5665         * text2.C: remove unused member number_of_rows
5666
5667         * Makefile.am:
5668         * BufferView2.C: remove file, move contents to...
5669         * BufferView.C: ... here
5670
5671         * BufferView_pimpl.C:
5672         * factory.C: move more inset creation to factory
5673
5674         * vspace.C: avoid direct usage of LyXText, ws changes
5675
5676         * BufferView.[Ch]:
5677                 don't provide direct access to WorkArea, use two simple
5678                 acessors haveSelction() and workHeight() instead
5679
5680
5681 2002-08-29  John Levon  <levon@movementarian.org>
5682
5683         * BufferView_pimpl.C (dispatch): do not continue when
5684           no buffer
5685
5686 2002-08-28  André Pönitz <poenitz@gmx.net>
5687
5688         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5689
5690         * BufferView.h:
5691         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5692
5693 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5694
5695         * buffer.C: increment LYX_FORMAT to 221
5696
5697         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5698         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5699
5700         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5701
5702         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5703
5704 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5705
5706         * factory.C (createInset): use LyXTextClass::floats
5707
5708         * MenuBackend.C (expandFloatListInsert):
5709         (expandFloatInsert):
5710         (expandToc):
5711
5712         * text2.C (setCounter):
5713
5714         * LaTeXFeatures.C (useFloat):
5715         (getFloatDefinitions):
5716
5717         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5718
5719         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5720         floatlist_, with accessor floats().
5721
5722         * FloatList.h: remove global FloatList
5723
5724 2002-08-26  André Pönitz <poenitz@gmx.net>
5725
5726         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5727
5728         * BufferView.h:
5729         * BufferView2.C:
5730         * BufferView_pimpl.C:
5731         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5732
5733 2002-08-25  John Levon  <levon@movementarian.org>
5734
5735         * LyXAction.C: fix margin note description
5736
5737 2002-08-24  John Levon  <levon@movementarian.org>
5738
5739         * buffer.C:
5740         * bufferlist.C:
5741         * bufferview_funcs.C:
5742         * lyxfont.C:
5743         * undo_funcs.C: cleanups
5744
5745         * lyxfunc.C: disable CUT/COPY when no selection
5746
5747 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5748
5749         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5750         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5751
5752         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5753         Add backward compatibility to "mono", "gray" and "no".
5754
5755 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5756
5757         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5758         (and file_format >= 200).
5759
5760 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5761
5762         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5763
5764 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5765
5766         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5767
5768 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5769
5770         * BufferView_pimpl.C:
5771         * LyXAction.C:
5772         * buffer.C:
5773         * commandtags.h:
5774         * lyxfunc.C:
5775         * paragraph.[Ch]:
5776         * text2.C:
5777         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5778         inset and code to make it  work with the paragraph code. The inset
5779         can be anywhere in the paragraph, but will only do the expected
5780         thing in LaTeX if the layout file contains the parameter line
5781                         OptionalArgs    1
5782         (or more generally, a nonzero value) for that layout.
5783
5784 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5785
5786         * paragraph.h: remove the declaration of undefined counters class
5787         function.
5788
5789 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5790
5791         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5792         Dr. Richard Hawkins.
5793
5794 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5795
5796         * paragraph_funcs.h: remove some unneeded includes
5797
5798         * text.C (backspace): pasteParagraph now in global scipe
5799
5800         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5801         (pasteSelection): ditto
5802
5803         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5804         * paragraph_funcs.C (pasteParagraph): ... here
5805
5806 2002-08-20  André Pönitz <poenitz@gmx.net>
5807
5808         * commandtags.h: new LFUNs for swapping/copying table row/colums
5809
5810         * LyXAction.C:
5811         * lyxfunc.C: support for new lfuns
5812
5813 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5814
5815         * tabular.C:
5816         * buffer.[Ch]: remove NO_COMPABILITY stuff
5817
5818 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5819
5820         * boost.C (throw_exception): new file, with helper function for
5821         boost compiled without exceptions.
5822
5823         * paragraph.h:
5824         * lyxlength.C:
5825         * buffer.C:
5826         * ParameterStruct.h:
5827         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5828
5829         * bufferlist.C (emergencyWriteAll): use boost bind
5830
5831         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5832
5833         * text.C: include paragraph_funcs.h
5834         (breakParagraph): breakParagraph is now in global scope
5835
5836         * paragraph_funcs.[Ch]: new files
5837
5838         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5839         global scope
5840
5841         * buffer.C: include paragraph_funcs.h
5842         (insertStringAsLines): breakParagraph is now in global scope
5843
5844         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5845         paragraph_funcs.C
5846
5847         * CutAndPaste.C: include paragraph_funcs.h
5848         (cutSelection): breakParagraphConservative is now in global scope
5849         (pasteSelection): ditto
5850
5851         * buffer.h: declare oprator== and operator!= for
5852         Buffer::inset_iterator
5853
5854         * bufferlist.C (emergencyWrite): don't use fmt(...)
5855
5856         * text3.C: add using std::endl
5857
5858         * BufferView.C (moveCursorUpdate): remove default arg
5859
5860 2002-08-20  André Pönitz <poenitz@gmx.net>
5861
5862         * buffer.[Ch]: move inline functions to .C
5863
5864         * BufferView2.C:
5865         * BufferView_pimpl.C:
5866         * text.C:
5867         * buffer.[Ch]: use improved inset_iterator
5868
5869         * buffer.C:
5870         * paragraph.[Ch]: write one paragraph at a time
5871
5872 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5873
5874         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5875         style if style is not specified.
5876
5877 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5878
5879         * text2.C (setCounter): when searching for right label for a
5880         caption, make sure to recurse to parent insets (so that a caption
5881         in a minipage in a figure float works) (bug #568)
5882
5883 2002-08-20  André Pönitz <poenitz@gmx.net>
5884
5885         * text3.C: new file for LyXText::dispatch() and helpers
5886
5887         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5888
5889         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5890
5891 2002-08-19  André Pönitz <poenitz@gmx.net>
5892
5893         * lyxtext.h:
5894         * text.C: new LyXText::dispatch()
5895
5896         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5897
5898 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5899
5900         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5901
5902         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5903         Hebrew text.
5904
5905 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5906
5907         * Makefile.am: use $(variables) instead of @substitutions@
5908
5909 2002-08-15  André Pönitz <poenitz@gmx.net>
5910
5911         * lyxfunc.C:
5912         * BufferView_pimpl.C: streamlining mathed <-> outer world
5913         interaction
5914
5915         * commandtags.h:
5916         * LyXAction.C: remove unused LFUN_MATH
5917
5918 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5921
5922 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5923
5924         * paragraph.C (Paragraph): reformat a bit
5925         (cutIntoMinibuffer): use builtin InsetList function instad of
5926         doing it manually.
5927         (getInset): ditto
5928
5929         * buffer.C: include boost/bind.hpp, add using std::for_each
5930         (writeFileAscii): use ParagraphList iterators
5931         (validate): use for_each for validate traversal of paragraphs
5932         (getBibkeyList): use ParagraphList iterators
5933         (resizeInsets): use for_each to resizeInsetsLyXText for all
5934         paragraphs.
5935         (getParFromID): use ParagraphList iterators
5936
5937         * BufferView2.C (lockInset): use paragraph list and iterators
5938
5939 2002-08-14  John Levon  <levon@movementarian.org>
5940
5941         * lyxserver.C: remove spurious xforms include
5942
5943 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5944
5945         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5946
5947 2002-08-13  André Pönitz <poenitz@gmx.net>
5948
5949         * LyXAction.[Ch]:
5950         * lyxfunc.C: further cleaning
5951
5952 2002-08-13  André Pönitz <poenitz@gmx.net>
5953
5954         * funcrequest.h: new constructor
5955
5956         * funcrequest.C: move stuff here from .h
5957
5958         * Makefile.am:
5959         * BufferView_pimpl.C:
5960         * LyXAction.C:
5961         * toc.C:
5962         * lyxfunc.C: subsequent changes
5963
5964         * lyxfunc.h: new view() member function
5965
5966         * lyxfunc.C: subsequent changes
5967
5968 2002-08-13  Angus Leeming  <leeming@lyx.org>
5969
5970         * BufferView2.C:
5971         * BufferView_pimpl.C:
5972         * buffer.C:
5973         * converter.C:
5974         * importer.C:
5975         * lyxfunc.C:
5976         * lyxvc.C:
5977         * toc.C:
5978         * vc-backend.C:
5979         changes due to the changed LyXView interface that now returns references
5980         to member variables not pointers.
5981
5982 2002-08-13  Angus Leeming  <leeming@lyx.org>
5983
5984         * WordLangTuple (word, lang_code): return references to strings,
5985         not strings.
5986
5987         * BufferView.h:
5988         * SpellBase.h:
5989         * lyxtext.h: forward-declare WordLangTuple.
5990
5991         * BufferView2.C:
5992         * ispell.C:
5993         * pspell.C:
5994         * text.C: #include "WordLangTuple.h".
5995
5996         * lyxtext.h:
5997         * text.C: (selectNextWordToSpellcheck): constify return type.
5998
5999 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6000
6001         * buffer.C:
6002         * buffer.h:
6003         * lyxtext.h:
6004         * paragraph.C:
6005         * paragraph_pimpl.h:
6006         * text.C:
6007         * text2.C:
6008         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6009         suggested by Angus.
6010         Made updateCounter always count from start of buffer, and removed
6011         second argument (par).
6012         Reverted floats number display to '#'. Perhaps I'll try again when the
6013         code base is sanitized a bit.
6014
6015 2002-08-12  Angus Leeming  <leeming@lyx.org>
6016
6017         * buffer.[Ch] (getLabelList): constify.
6018
6019 2002-08-07  André Pönitz <poenitz@gmx.net>
6020
6021         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6022
6023         * funcrequest.h: extension to keep mouse (x,y) position
6024
6025 2002-08-12  Juergen Vigna  <jug@sad.it>
6026
6027         * BufferView2.C (insertErrors): forbid undo when inserting error
6028         insets.
6029
6030         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6031
6032 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * ParagraphList.[Ch]: new files
6035
6036         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6037
6038         * BufferView2.C (lockInset): ParagraphList changes
6039         * toc.C: ditto
6040         * text2.C: ditto
6041         * bufferlist.C: ditto
6042         * buffer.h: ditto
6043         * buffer.C: ditto
6044
6045 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6046
6047         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6048         unused class variable counter_,
6049
6050         * paragraph.[Ch] (getFirstCounter): delete unused function
6051
6052         * counters.C: include LAssert.h
6053         (reset): add a new function with no arg, change other version to
6054         not have def. arg and to not allow empty arg.
6055
6056         * text2.C (setCounter): remove empty arg from call to Counters::reset
6057
6058 2002-08-11  John Levon  <levon@movementarian.org>
6059
6060         * Makefile.am: add WordLangTuple.h
6061
6062 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6063
6064         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6065         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6066
6067         * insets/insettext.C: InsetList changes
6068
6069         * graphics/GraphicsSupport.C (operator()): InsetList changes
6070
6071         * toc.C (getTocList): InsetList changes
6072
6073         * paragraph_pimpl.[Ch]: InsetList changes
6074
6075         * paragraph.[Ch]: InsetList changes
6076
6077         * buffer.C (inset_iterator): InsetList changes
6078         (setParagraph): ditto
6079         * buffer.h (inset_iterator): ditto
6080         * iterators.C (operator++): ditto
6081         * iterators.h: ditto
6082
6083         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6084
6085         * InsetList.[Ch]: new files, most InsetList handling moved out of
6086         paragraph.C.
6087
6088         * BufferView2.C (removeAutoInsets): InsetList changes
6089         (lockInset): ditto
6090         (ChangeInsets): ditto
6091
6092 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6093
6094         * paragraph_pimpl.h (empty): new function
6095
6096         * paragraph.[Ch] (empty): new function
6097
6098         * other files: use the new Paragraph::empty function
6099
6100 2002-08-09  John Levon  <levon@movementarian.org>
6101
6102         * lyxtext.h: remove unused refresh_height
6103
6104 2002-08-09  John Levon  <levon@movementarian.org>
6105
6106         * Makefile.am:
6107         * sgml.h:
6108         * sgml.C:
6109         * buffer.C:
6110         * paragraph.h:
6111         * paragraph.C: move sgml char escaping out of paragraph
6112
6113         * paragraph.h:
6114         * paragraph.C: remove id setter
6115
6116         * buffer.C:
6117         * paragraph.C:
6118         * paragraph_pimpl.C: remove dead tex_code_break_column
6119
6120         * bufferview_funcs.C: small cleanup
6121
6122         * lyxfunc.C: remove dead proto
6123
6124         * lyxtext.h: make some stuff private. Remove some dead stuff.
6125
6126         * lyxgluelength.C: make as[LyX]String() readable
6127
6128 2002-08-08  John Levon  <levon@movementarian.org>
6129
6130         * LyXAction.h:
6131         * LyXAction.C:
6132         * MenuBackend.C:
6133         * ToolbarDefaults.C:
6134         * lyxfunc.C:
6135         * lyxrc.C:
6136         * toc.C: lyxaction cleanup
6137
6138 2002-08-08  John Levon  <levon@movementarian.org>
6139
6140         * BufferView2.C: small cleanup
6141
6142         * lyxfind.h:
6143         * lyxfind.C: move unnecessary header into the .C
6144
6145 2002-08-08  John Levon  <levon@movementarian.org>
6146
6147         * funcrequest.h: just tedious nonsense
6148
6149         * lyx_main.h:
6150         * lyx_main.C: cleanups
6151
6152         * buffer.C:
6153         * vspace.C: remove dead header lyx_main.h
6154
6155 2002-08-07  Angus Leeming  <leeming@lyx.org>
6156
6157         * Paragraph.[Ch]:
6158         * paragraph_pimpl.h:
6159         Forward declare class Counters in paragraph.h by moving the ctrs member
6160         variable into Paragraph::Pimpl.
6161         (counters): new method, returning a reference to pimpl_->ctrs.
6162
6163         * text2.C: ensuing changes.
6164
6165 2002-08-07  John Levon  <levon@movementarian.org>
6166
6167         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6168
6169         * BufferView_pimpl.C: announce X selection on double/triple
6170           click
6171
6172         * lyx_main.C: use correct bool in batch dispatch
6173
6174         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6175
6176 2002-08-07  André Pönitz <poenitz@gmx.net>
6177
6178         * funcrequest.h: new class to wrap a kb_action and its argument
6179
6180         * BufferView.[Ch]:
6181         * BufferView_pimpl[Ch]:
6182         * LaTeX.C:
6183         * LyXAction.[Ch]:
6184         * lyxfunc.[Ch]:
6185         * lyxrc.C: subsequent changes
6186
6187
6188 2002-08-07  John Levon  <levon@movementarian.org>
6189
6190         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6191           document options change.
6192
6193 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6194
6195         * counters.[Ch]
6196         * text2.C
6197         * paragraph.[Ch]
6198         * makefile.am: move counters functionality over from
6199         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6200
6201 2002-08-06  John Levon  <levon@movementarian.org>
6202
6203         * WordLangTuple.h: new file for word + language code tuple
6204
6205         * SpellBase.h:
6206         * pspell.h:
6207         * pspell.C:
6208         * ispell.h:
6209         * ispell.C:
6210         * lyxtext.h:
6211         * text.C:
6212         * text2.C:
6213         * BufferView.h:
6214         * BufferView2.C: use WordLangTuple
6215
6216         * layout.h:
6217         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6218
6219 2002-08-06  John Levon  <levon@movementarian.org>
6220
6221         * lyx_main.C: fix cmdline batch handling
6222
6223 2002-08-06  André Pönitz <poenitz@gmx.net>
6224
6225         * lyxrc.C: set default for show_banner to true
6226
6227 2002-08-06  John Levon  <levon@movementarian.org>
6228
6229         * pspell.C: fix a crash, and allow new aspell to work
6230
6231 2002-08-06  John Levon  <levon@movementarian.org>
6232
6233         * lyxfunc.C:
6234         * kbmap.C: small cleanup
6235
6236         * vspace.h:
6237         * vspace.C: add const
6238
6239 2002-08-05  John Levon  <levon@movementarian.org>
6240
6241         * LyXAction.C: back to tabular-insert
6242
6243 2002-08-04  John Levon  <levon@movementarian.org>
6244
6245         * BufferView.h:
6246         * BufferView.C: cosmetic change
6247
6248         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6249
6250         * bufferlist.C:
6251         * buffer.h:
6252         * buffer.C:
6253         * lyxcb.h:
6254         * lyxcb.C:
6255         * lyxserver.C:
6256         * lyxvc.C:
6257         * vc-backend.C:
6258         * BufferView2.C: purge all "Lyx" not "LyX" strings
6259
6260         * lyxcursor.h:
6261         * lyxcursor.C: attempt to add some documentation
6262
6263         * lyxfunc.C:
6264         * commandtags.h:
6265         * LyXAction.C:
6266         * ToolbarDefaults.C:
6267         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6268           merge with LFUN_TABULAR_INSERT
6269
6270         * Makefile.am:
6271         * SpellBase.h:
6272         * ispell.h:
6273         * ispell.C:
6274         * pspell.h:
6275         * pspell.C: split up i/pspell implementations into separate
6276           files, many cleanups
6277
6278         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6279
6280         * text2.C: some cleanup
6281
6282         * lyxfunc.C: don't check for isp_command == "none" any more, it
6283           didn't make any sense
6284
6285 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6286
6287         * counters.[Ch]
6288         * text2.C
6289         * paragraph.[Ch]
6290         * makefile.am: move counters functionality over
6291         from text2.C/paragraph.[Ch] to counters.[Ch], and
6292         make proper C++.
6293 2002-08-02  John Levon  <levon@movementarian.org>
6294
6295         * buffer.C: s/lyxconvert/lyx2lyx/
6296
6297 2002-08-02  Angus Leeming  <leeming@lyx.org>
6298
6299         * lyxlex.C: revert John's change as it breaks reading of the user
6300         preamble.
6301
6302 2002-08-02  Angus Leeming  <leeming@lyx.org>
6303
6304         * importer.C (Import):
6305         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6306         changes due to LyXView::view() now returning a boost::shared_ptr.
6307
6308 2002-08-02  John Levon  <levon@movementarian.org>
6309
6310         * lyxlex.C: small cleanup
6311
6312 2002-08-02  John Levon  <levon@movementarian.org>
6313
6314         * text2.C (status): small cleanup, no logic change
6315
6316 2002-08-01  John Levon  <levon@movementarian.org>
6317
6318         * buffer.h:
6319         * buffer.C (writeFile): don't output alerts, caller
6320           handles this
6321
6322         * bufferlist.C:
6323         * lyx_cb.C: from above
6324
6325         * lyxfunc.C: allow to open non-existent files
6326
6327 2002-07-31  John Levon  <levon@movementarian.org>
6328
6329         * lyxserver.C: don't let incidental errors get
6330           in the way (errno)
6331
6332 2002-07-30  John Levon  <levon@movementarian.org>
6333
6334         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6335
6336 2002-07-30  John Levon  <levon@movementarian.org>
6337
6338         * lyxserver.h:
6339         * lyxserver.C: remove I/O callback too
6340
6341 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6342
6343         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6344         log.
6345
6346 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * many files: strip,frontStrip -> trim,ltrim,rtrim
6349
6350 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * PrinterParams.h: remove extern containsOnly, and include
6353         support/lstrings.h instead.
6354
6355         * LaTeX.C (scanAuxFile): modify because of strip changes
6356         (deplog): ditto
6357         * buffer.C (makeLaTeXFile): ditto
6358         * bufferparams.C (writeFile): ditt
6359         * lyxfont.C (stateText): ditto
6360         * lyxserver.C (read_ready): ditto
6361         * vc-backend.C (scanMaster): ditto
6362
6363         * BufferView_pimpl.h: ws changes
6364
6365         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6366
6367 2002-07-26  André Pönitz <poenitz@gmx.net>
6368
6369         * kb_sequence.C: remove unnedred usings
6370
6371 2002-07-26  Juergen Vigna  <jug@sad.it>
6372
6373         * lyxfind.C (LyXReplace): we have to check better if the returned
6374         text is not of theLockingInset()->getLockingInset().
6375
6376 2002-07-25  Juergen Vigna  <jug@sad.it>
6377
6378         * lyxfind.C (LyXReplace): don't replace if we don't get the
6379         right LyXText.
6380
6381         * undo_funcs.C (createUndo): remove debugging code.
6382
6383 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6384
6385         * buffer.C (parseSingleLyXformat2Token): Use default placement
6386         when reading old floats.
6387
6388         * FloatList.C (FloatList): Change the default placement of figure
6389         and tables to "tbp".
6390
6391 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6392
6393         * MenuBackend.C: using std::max
6394
6395 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6396
6397         * MenuBackend.C (expandToc):
6398         (expandToc2): code moved from xforms menu frontend. It is now
6399         generic and TOCs are transparent to menu frontends.
6400
6401 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6402
6403         * toc.C (getTocList): protect against buf=0
6404
6405         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6406         Menu as first parameter. Now, this calls itself recursively to
6407         expand a whole tree (this will be useful for TOC handling)
6408         (expandFloatInsert): remove 'wide' version of floats
6409
6410         * MenuBackend.h (submenuname): returns the name of the submenu.
6411         (submenu): returns the submenu itself, provided it has been
6412         created by MenuBackend::expand
6413
6414 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6415
6416         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6417         insets which have noFontChange == true. (bug #172)
6418
6419 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6420
6421         * BufferView_pimpl.C: add connection objects and use them...
6422         (Pimpl): here.
6423
6424 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6425
6426         * MenuBackend.C (expandLastfiles):
6427         (expandDocuments):
6428         (expandFormats):
6429         (expandFloatListInsert):
6430         (expandFloatInsert):
6431         (expand): split expand in parts
6432
6433 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6434
6435         * lyx_gui.C: use lyx_gui::exit()
6436
6437 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6438
6439         * LyXAction.C: show the failing pseudo action
6440
6441 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6442
6443         * buffer.C (readFile): Run the lyxconvert script in order to read
6444         old files.
6445
6446 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6447
6448         * LyXAction.C:
6449         * commandtags.h:
6450         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6451
6452 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6453
6454         * LyXAction.C:
6455         * commandtags.h:
6456         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6457
6458 2002-07-22  Herbert Voss  <voss@lyx.org>
6459
6460         * lengthcommon.C:
6461         * lyxlength.[Ch]: add support for the vertical lengths
6462
6463 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6464
6465         * toc.[Ch]: std:: fixes
6466
6467 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6468
6469         * lyxrc.C: do not include lyx_main.h
6470
6471         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6472         for layouts
6473
6474         * lyxrc.C:
6475         * encoding.C:
6476         * bufferlist.C:
6477         * BufferView2.C: include "lyxlex.h"
6478
6479         * tabular.h:
6480         * bufferparams.h: do not #include "lyxlex.h"
6481
6482         * lyxtextclasslist.C (Add): remove method
6483         (classlist): renamed to classlist_
6484
6485         * paragraph_pimpl.C:
6486         * paragraph.C:
6487         * text2.C:
6488         * CutAndPaste.C:
6489         * bufferview_funcs.C:
6490         * bufferlist.C:
6491         * text.C:
6492         * LaTeXFeatures.C:
6493         * buffer.C:
6494         * toc.C (getTocList): use BufferParams::getLyXTextClass
6495
6496         * toc.C (getTocList): use InsetFloat::addToToc
6497
6498         * toc.[Ch]: new files, containing helper functions to handle table
6499         of contents
6500
6501         * lyxfunc.C (dispatch): no need to remove spaces around command
6502         given as a string
6503         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6504         first command of the sequence; it is not very clever, but I do not
6505         have a better idea, actually
6506
6507         * LyXAction.C (LookupFunc): make sure to remove space at the
6508         beginning and end of the command
6509
6510 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6511
6512         * MenuBackend.C (getMenubar): new method: return the menubar of
6513         this menu set
6514         (read): treat differently reading of menu and menubar (in
6515         particular, the menubar has no name now)
6516         (Menu::menubar): remove
6517
6518         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6519         saving is finished
6520
6521 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6522
6523         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6524         a bibitem inset in a RTL paragraph.
6525
6526 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6527
6528         * paragraph_pimpl.C: constify
6529
6530         * BufferView_pimpl.C:
6531         * LaTeX.C:
6532         * lyxfunc.C: fix dispatch in a nicer way
6533
6534 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6535
6536         * lyxfunc.C (dispatch):
6537         * BufferView_pimpl.C:
6538         * BufferView_pimpl.h:
6539         * BufferView.C:
6540         * BufferView.h: rename Dispatch() to dispatch()
6541
6542         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6543
6544         * lyxlayout.C (Read): honor DependsOn tag
6545
6546         * lyxlayout.[Ch] (depends_on): new method
6547
6548         * version.C.in: update lyx_docversion
6549
6550         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6551
6552         * paragraph.C (validate): remove from here...
6553         * paragraph_pimpl.C (validate): ... and move here
6554         (isTextAt): make it const
6555
6556         * buffer.C (getLists): ws cleanup
6557
6558 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6559
6560         * language.C (read): Use iso8859-1 encoding in latex_lang
6561         (this prevents LyX from crashing when using iso10646-1 encoding).
6562
6563 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6564
6565         * text2.C (toggleInset): if cursor is inside an inset, close the
6566         inset and leave cursor _after_ it
6567
6568 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6569
6570         * lyxfunc.C: move minibuffer completion handling out of here
6571
6572 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6573
6574         * BufferView_pimpl.C:
6575         * LaTeX.C: fix dispatch calls
6576
6577 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6578
6579         * text.C (drawChars): Fix Arabic text rendering.
6580
6581 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6582
6583         * LyXAction.C:
6584         * commandtags.h:
6585         * lyxfunc.C: remove message-push/pop
6586
6587         * lyxserver.C:
6588         * lyxfunc.h:
6589         * lyxfunc.C: rationalise some code by removing verboseDispatch
6590           in favour of a bool argument to dispatch()
6591
6592 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6593
6594         * lyx_main.C (init): make sure to read symlinks as absolute paths
6595
6596 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6597
6598         * lyxfunc.h:
6599         * lyxfunc.C: no need for commandshortcut to be a member
6600
6601 2002-07-15  André Pönitz <poenitz@gmx.net>
6602
6603         * converter.C: add support for $$s (scripts from lib/scripts dir)
6604         * lyx_main.C: white space
6605
6606 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6607
6608         * bufferlist.C:
6609         * lyxrc.h:
6610         * lyxrc.C: remove second exit confirmation
6611
6612 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6613
6614         * BufferView.h:
6615         * BufferView.C:
6616         * BufferView2.C:
6617         * BufferView_pimpl.h:
6618         * BufferView_pimpl.C:
6619         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6620
6621 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6622
6623         * MenuBackend.C (expand): add numeric shortcuts to document menu
6624
6625         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6626
6627 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6628
6629         * lyxfont.C (setLyXFamily):
6630         (setLyXSeries):
6631         (setLyXShape):
6632         (setLyXSize):
6633         (setLyXMisc):
6634         (lyxRead):
6635         * debug.C (value):
6636         * buffer.C (asciiParagraph): use ascii_lowercase
6637
6638 2002-07-15  Mike Fabian  <mfabian@suse.de>
6639
6640         * lyxlex_pimpl.C (search_kw):
6641         * lyxlex.C (getLongString):
6642         * converter.h (operator<):
6643         * converter.C (operator<):
6644         * buffer.C (parseSingleLyXformat2Token):
6645         (asciiParagraph):
6646         * ToolbarDefaults.C (read):
6647         * MenuBackend.C (checkShortcuts):
6648         (read):
6649         * LColor.C (getFromGUIName):
6650         (getFromLyXName): use the compare_ascii_no_case instead of
6651         compare_no_case, because in turkish, 'i' is not the lowercase
6652         version of 'I', and thus turkish locale breaks parsing of tags.
6653
6654 2002-07-16  Angus Leeming  <leeming@lyx.org>
6655
6656         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6657         now takes a Buffer const & argument.
6658
6659 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6660
6661         * BufferView.C (resize): check there's a buffer to resize
6662
6663 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6664
6665         * lyxfunc.C: remove dead code
6666
6667         * lyxserver.h:
6668         * lyxserver.C: use lyx_guii::set_read_callback
6669
6670 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6671
6672         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6673         an inset in a RTL paragraph.
6674
6675 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6676
6677         * lyxfunc.C: repaint after a font size update
6678
6679 2002-07-15  André Pönitz <poenitz@gmx.net>
6680
6681         * lyxlength.C: inBP should be able to return negative values
6682
6683 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6684
6685         * lyxfunc.C: use lyx_gui::update_fonts()
6686
6687 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6688
6689         * lyxfunc.C: use lyx_gui::update_color()
6690
6691 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6692
6693         * bufferlist.C:
6694         * lyxfunc.h:
6695         * lyxfunc.C:
6696         * lyxrc.h:
6697         * lyxrc.C: remove file->new asks for name option, and let
6698           buffer-new take an argument
6699
6700 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6701
6702         * BufferView_pimpl.C: remove unneeded extra repaint()
6703
6704 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6705
6706         * LyXAction.C: allow command-sequence with NoBuffer
6707
6708         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6709
6710 2002-07-10  Angus Leeming  <leeming@lyx.org>
6711
6712         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6713
6714 2002-07-09  Angus Leeming  <leeming@lyx.org>
6715
6716         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6717
6718 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6719
6720         * lengthcommon.h: whitespace
6721
6722         * lyxfunc.C: update scrollbar after goto paragraph
6723
6724         * lyxtext.h: factor out page break drawing, and fix it so
6725           page break/added space paints as selected nicely
6726
6727 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6728
6729         * BufferView_pimpl.C: add FIXMEs, clean up a little
6730
6731 2002-07-09  André Pönitz <poenitz@gmx.net>
6732
6733         * lyxfont.[Ch]: support for wasy symbols
6734
6735 2002-07-08  André Pönitz <poenitz@gmx.net>
6736
6737         * BufferView_pimpl.C: apply John's patch for #93.
6738
6739 2002-07-05  Angus Leeming  <leeming@lyx.org>
6740
6741         * BufferView_pimpl.C (buffer): generate previews if desired.
6742
6743         * LColor.h: add "preview" to the color enum.
6744
6745         * LColor.C (LColor): add a corresponding entry to the items array.
6746
6747         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6748         with this buffer.
6749
6750 2002-07-05  Angus Leeming  <leeming@lyx.org>
6751
6752         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6753         The body of the code is now in the method that is passed an ostream &
6754         rather than a file name.
6755         Pass an additional only_preamble parameter, useful for the forthcoming
6756         preview stuff.
6757
6758 2002-07-03  André Pönitz <poenitz@gmx.net>
6759
6760         * lyxfunc.C: simplify getStatus() a bit for math stuff
6761
6762 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6763
6764         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6765
6766 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6767
6768         * text.C (changeRegionCase): do not change case of all the
6769         document when region ends at paragraph end (bug #461)
6770
6771 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6772
6773         * paragraph.C (startTeXParParams):
6774         (endTeXParParams): add \protect when necessary
6775
6776 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6777
6778         * BufferView_pimpl.C (workAreaExpose): remove warning
6779
6780 2002-06-27  Angus Leeming  <leeming@lyx.org>
6781
6782         * Makefile.am: add lyxlayout_ptr_fwd.h.
6783
6784 2002-06-26  André Pönitz <poenitz@gmx.net>
6785
6786         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6787
6788 2002-06-25  Angus Leeming  <leeming@lyx.org>
6789
6790         * lyxfunc.C (dispatch): Comment out the call to
6791         grfx::GCache::changeDisplay. The method no longer exists now that the
6792         pixmap generation part of the graphics loader has been moved into
6793         InsetGraphics.
6794
6795 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6796
6797         * text2.C: layout as layout
6798
6799         * text.C: layout as layout
6800
6801         * tabular.C (OldFormatRead): layout as layout
6802
6803         * paragraph_pimpl.C (TeXDeeper): layout as layout
6804         (realizeFont): layout as layout
6805
6806         * paragraph.C (writeFile): layout as layout
6807         (validate): layout as layout
6808         (getFont): layout as layout
6809         (getLabelFont): layout as layout
6810         (getLayoutFont): layout as layout
6811         (breakParagraph): layout as layout
6812         (stripLeadingSpaces): layout as layout
6813         (getEndLabel): layout as layout
6814         (getMaxDepthAfter): layout as layout
6815         (applyLayout): layout as layout
6816         (TeXOnePar): layout as layout
6817         (simpleTeXOnePar): layout as layout
6818         (TeXEnvironment): layout as layout
6819         (layout): layout as layout
6820         (layout): layout as layout
6821
6822         * lyxtextclass.C (compare_name): new functor to work with
6823         shared_ptr, layout as layout
6824         (Read): layout as layout
6825         (hasLayout): layout as layout
6826         (operator): layout as layout
6827         (delete_layout): layout as layout
6828         (defaultLayout): layout as layout
6829
6830         * lyxlayout_ptr_fwd.h: new file
6831
6832         * lyxlayout.C (Read): layout as layout
6833
6834         * lyx_cb.C (MenuInsertLabel): layout as layout
6835
6836         * bufferlist.C (newFile): layout as layout
6837
6838         * buffer.C (readLyXformat2): layout as layout
6839         (parseSingleLyXformat2Token): layout as layout
6840         (insertStringAsLines): layout as layout
6841         (asciiParagraph): layout as layout
6842         (latexParagraphs): layout as layout
6843         (makeLinuxDocFile): layout as layout
6844         (simpleLinuxDocOnePar): layout as layout
6845         (makeDocBookFile): layout as layout
6846         (simpleDocBookOnePar): layout as layout
6847         (getLists): layout as layout
6848
6849         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6850
6851         * CutAndPaste.C (cutSelection): layout as layout
6852         (pasteSelection): layout as layout
6853         (SwitchLayoutsBetweenClasses): layout as layout
6854
6855         * BufferView_pimpl.C (Dispatch): layout as layout
6856         (smartQuote): layout as layout
6857
6858         * BufferView2.C (unlockInset): layout as layout
6859
6860 2002-06-24  André Pönitz <poenitz@gmx.net>
6861
6862         * lyxfunc.C: fix #487
6863
6864 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6865
6866         * lyxrc.h:
6867         * lyxrc.C:
6868         * lyxfunc.C: remove display_shortcuts, show_banner
6869
6870 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6871
6872         * Buffer_pimpl.C: oops, update on resize
6873
6874 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6875
6876         * buffer.C:
6877         * converter.C:
6878         * exporter.C:
6879         * lyxfunc.C:
6880         * BufferView.h:
6881         * BufferView.C: use repaint()
6882
6883         * BufferView_pimpl.h:
6884         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6885           as it's a clearer description. Remove superfluous
6886           redraws.
6887
6888 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6889
6890         * text.C: fix bug 488. Not ideal, but getting
6891           getWord() to work properly for the insets that
6892           matter is more difficult ...
6893
6894 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6895
6896         * BufferView_pimpl.C:
6897         * LyXAction.C:
6898         * commandtags.h:
6899         * lyxfunc.C: remove the six million index lyxfuncs to just
6900           one, and DTRT (bug 458)
6901
6902 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6903
6904         * BufferView.h:
6905         * BufferView.C:
6906         * BufferView_pimpl.h:
6907         * BufferView_pimpl.C: clean up resize() stuff,
6908           and unnecessary updateScreen()s
6909
6910 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6911
6912         * BufferView.h:
6913         * BufferView.C:
6914         * BufferView_pimpl.h:
6915         * BufferView_pimpl.C:
6916         * lyxfind.h:
6917         * lyxfind.C:
6918         * minibuffer.C: remove focus management of workarea,
6919           not needed. Use screen's greyOut()
6920
6921 2002-06-17  Herbert Voss  <voss@lyx.org>
6922
6923         * converter.C: (convert) do not post a message, when converting
6924         fails, let the calling function decide what to do in this case
6925
6926 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6927
6928         * lyxfunc.C: tidy up a little
6929
6930 2002-06-16    <alstrup@diku.dk>
6931
6932         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6933         Got rid of FORMS_H_LOCATION include. Now we are
6934         GUII.
6935
6936 2002-06-15  LyX Development team  <lyx@rilke>
6937
6938         * buffer.[Ch] (sgmlOpenTag):
6939         (sgmlCloseTag): Added support for avoiding pernicious mixed
6940         content. Return number of lines written.
6941
6942         (makeLinuxDocFile):
6943         (makeDocBookFile): Fixed calls to sgml*Tag.
6944         Simple white space clean.
6945
6946         (simpleDocBookOnePar): Simple white space clean.
6947
6948         * tabular.[Ch] (docBook): Renamed to docbook and got another
6949         argument to related with the pernicious mixed content.
6950
6951         (docbookRow): Fixed calls for docbook inset method.
6952
6953 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6954
6955         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6956         so it's X11 independent.
6957
6958         * kb*.[Ch]: ditto.
6959
6960         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6961
6962 2002-06-15  Lyx Development team  <lyx@electronia>
6963
6964         * intl.h: Renamed getTrans to getTransManager.
6965
6966 2002-06-14  Angus Leeming  <leeming@lyx.org>
6967
6968         * Makefile.am: nuke forgotten stl_string_fwd.h.
6969
6970 2002-06-12  Angus Leeming  <leeming@lyx.org>
6971
6972         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6973
6974 2002-06-13  Angus Leeming  <leeming@lyx.org>
6975
6976         * LaTeX.C:
6977         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6978
6979 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6980
6981         * kbmap.C (getiso): add support for cyrillic and greek
6982
6983 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6984
6985         * BufferView.h:
6986         * BufferView.C:
6987         * BufferView_pimpl.h:
6988         * BufferView_pimpl.C: move bogus scrolling logic
6989           to xforms
6990
6991 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6992
6993         * lyxfunc.C:
6994         * BufferView_pimpl.C: view->resize() change
6995
6996 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6997
6998         * BufferView_pimpl.C: topCursorVisible
6999           prototype change
7000
7001 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7002
7003         * Makefile.am:
7004         * lyx_gui.h:
7005         * lyx_gui.C: move to frontends/
7006
7007         * main.C:
7008         * lyx_main.h:
7009         * lyx_main.C: changes from above
7010
7011 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7012
7013         * intl.C:
7014         * intl.h:
7015         * kbmap.C:
7016         * kbsequence.C:
7017         * lyx_cb.C:
7018         * lyx_main.C: minor tidy
7019
7020 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7021
7022         * BufferView_pimpl.h:
7023         * BufferView_pimpl.C:
7024         * BufferView.h:
7025         * BufferView.C: make painter() const,
7026           remove dead code
7027
7028         * BufferView2.C: use screen() accessor
7029
7030         * lyx_main.h:
7031         * lyx_main.C: some minor cleanup
7032
7033 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7034
7035         * BufferView_pimpl.h:
7036         * BufferView_pimpl.C: remove enter/leaveView,
7037           use workHeight()
7038
7039 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7040
7041         * BufferView.h:
7042         * BufferView.C:
7043         * BufferView2.C:
7044         * BufferView_pimpl.h:
7045         * BufferView_pimpl.C: only construct screen once,
7046           rename
7047
7048         * lyxrc.C: remove pointless comment
7049
7050 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7051
7052         * BufferView.h:
7053         * BufferView.C: remove active() and belowMouse()
7054
7055         * BufferView_pimpl.h:
7056         * BufferView_pimpl.C: use workarea() not workarea_,
7057           and make it use a scoped_ptr instead
7058
7059 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7060
7061         * lyx_gui.C: add debug message on BadWindow
7062
7063 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7064
7065         * sp_spell.C: fdopen is not part of the C++ standard.
7066
7067         * paragraph.C (InsetIterator): use >= instead of ==
7068
7069 2002-06-07  Angus Leeming  <leeming@lyx.org>
7070
7071         Fixes needed to compile with Compaq cxx 6.5.
7072         * BufferView_pimpl.C:
7073         * DepTable.C:
7074         * buffer.C:
7075         * converter.C:
7076         * encoding.C:
7077         * lyx_gui.C:
7078         * lyx_main.C:
7079         * lyxtextclasslist.C:
7080         * minibuffer.C:
7081         * sp_spell.C:
7082         * tabular_funcs.C:
7083         * vc-backend.C:
7084         all c-library variables have been moved into namespace std. Wrap
7085         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7086
7087         * lyxlength.C:
7088         * tabular-old.C:
7089         * tabular.C:
7090         Add a using std::abs declaration.
7091
7092         * kbmap.h (modifier_pair):
7093         * paragraph.h (InsetTable, InsetList):
7094         * lyxfont.h (FontBits):
7095         type definition made public.
7096
7097         * bufferlist.C (emergencyWriteAll): the compiler complains that
7098         there is more than one possible lyx::class_fun template to choose from.
7099         I re-named the void specialisation as lyx::void_class_fun.
7100
7101         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7102
7103         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7104         the compiler is is unable to find tostr in write_attribute.
7105
7106 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7107
7108         * buffer.C (sgmlError): hide #warning
7109
7110 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7111
7112         * xtl/*: get rid of xtl, which is not in use anyway
7113
7114         * LyXAction.C (init):
7115         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7116         were unimplemented xtl experimentation
7117
7118 2002-06-04  André Pönitz <poenitz@gmx.net>
7119
7120         * lyxfunc.C: disable array operation on simple formulae
7121
7122 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7123
7124         * converter.C: constify a bit
7125
7126 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7127
7128         * lyx_gui.C: check xforms version correctly
7129
7130 2002-04-30  Herbert Voss  <voss@lyx.org>
7131
7132         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7133         "keep" option
7134
7135 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7136
7137         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7138           attempt to register it with a VCS)
7139
7140 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7141
7142         * lyx_main.C (init): honor variables LYX_DIR_13x and
7143         LYX_USERDIR_13x
7144
7145 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7146
7147         * buffer.h:
7148         * buffer.C:
7149         * lyx_main.C: fix a crash on bad command line,
7150           and give a useful exit status on error
7151
7152         * lyxfunc.C (doImport): allow -i lyx to work
7153
7154 2002-03-30  André Pönitz <poenitz@gmx.net>
7155
7156         * lyxfunc.C: mathed font changes
7157
7158 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7159
7160         * LaTeX.C:
7161         * importer.h:
7162         * importer.C:
7163         * lyx_sty.h:
7164         * lyx_sty.C:
7165         * lyxlex.C:
7166         * lyxrow.h:
7167         * lyxtext.h:
7168         * paragraph.h:
7169         * paragraph.C:
7170         * texrow.h:
7171         * texrow.C:
7172         * text.C:
7173         * trans_mgr.h: srcdocs, and some minor cleanups
7174
7175 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7176
7177         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7178         call getFont all the time)
7179
7180 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7181
7182         * switch from SigC signals to boost::signals
7183
7184 2002-05-29  André Pönitz <poenitz@gmx.net>
7185
7186         * paragraph_pimpl.C (getChar): don't call size() too often...
7187
7188 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7189
7190         * paragraph_pimpl.C (insertChar): do not try to update tables when
7191         appending (pos == size())
7192
7193         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7194         in order to reduce drastically the number of comparisons needed to
7195         parse a large document
7196
7197 2002-05-29  André Pönitz <poenitz@gmx.net>
7198
7199         * text.C:
7200         * text2.C:
7201         * lyxtextclass.C:
7202         * sp_pspell.h:
7203         * textclasslist.[Ch]:
7204         * sp_ispell.h: whitespace change
7205
7206 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7207
7208         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7209         lyxaction directly now.
7210
7211 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7212
7213         * trans.C:
7214         * lyxfont.C:
7215         * lyxvc.C: remove unused headers
7216
7217 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7218
7219         * Makefile.am:
7220         * buffer.h:
7221         * undostack.h:
7222         * undostack.C:
7223         * undo_funcs.h:
7224         * undo_funcs.C: some cleanups. Use shared_ptr
7225           and a template for the undo stacks.
7226
7227 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7228
7229         * BufferView_pimpl.h:
7230         * BufferView_pimpl.C:
7231         * kbmap.h:
7232         * kbmap.C:
7233         * kbsequence.h:
7234         * kbsequence.C:
7235         * lyxfunc.h:
7236         * lyxfunc.C:
7237         * text2.C: use key_state/mouse_state
7238
7239 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7240
7241         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7242         and LSubstring
7243
7244         * chset.C: change include order
7245         (loadFile): use boost regex and get rid of LRegex and LSubstring
7246
7247         * Makefile.am (BOOST_LIBS): new variable
7248         (lyx_LDADD): use it
7249
7250         * LaTeX.C: change include order.
7251         (scanAuxFile): use boost regex and get rid of LRegex and
7252         LSubstring
7253         (deplog): ditto
7254
7255 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7256
7257         * ColorHandler.h:
7258         * ColorHandler.C:
7259         * FontInfo.h:
7260         * FontInfo.C: moved to frontends/xforms/
7261
7262         * FontLoader.h:
7263         * FontLoader.C: moved into frontends for GUIIzation
7264
7265         * Makefile.am:
7266         * lyx_gui.C:
7267         * lyxfont.C:
7268         * lyxfunc.C: changes from above
7269
7270 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7271
7272         * LColor.C: remove spurious X include
7273
7274         * BufferView_pimpl.C:
7275         * Makefile.am:
7276         * font.h:
7277         * font.C:
7278         * text.C:
7279         * text2.C: move font metrics to frontends/
7280
7281 2002-05-24  Juergen Vigna  <jug@sad.it>
7282
7283         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7284         setting the undo_cursor.
7285
7286         * ParagraphParameters.h: include local includes first.
7287
7288 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7289
7290         * BufferView_pimpl.C:
7291         * BufferView_pimpl.h:
7292         * Makefile.am:
7293         * WorkArea.h:
7294         * WorkArea.C:
7295         * screen.C: move WorkArea into frontends/
7296
7297         * lyxscreen.h:
7298         * screen.C:
7299         * text.C:
7300         * BufferView.C:
7301         * BufferView2.C: move LyXScreen into frontends/
7302
7303         * lyxlookup.h:
7304         * lyxlookup.C:
7305         * lyx_gui.C: move lyxlookup into frontends/xforms/
7306
7307 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7308
7309         * BufferView2.C:
7310         * BufferView_pimpl.C:
7311         * FontLoader.C:
7312         * LyXView.h:
7313         * LyXView.C:
7314         * Makefile.am:
7315         * WorkArea.C:
7316         * XFormsView.h:
7317         * XFormsView.C:
7318         * buffer.C:
7319         * bufferlist.C:
7320         * bufferview_funcs.C:
7321         * converter.C:
7322         * importer.C:
7323         * lyx_cb.C:
7324         * lyx_gui.C:
7325         * lyx_main.C:
7326         * lyx_find.C:
7327         * lyxfunc.C:
7328         * lyxvc.C:
7329         * minibuffer.C:
7330         * text.C:
7331         * text2.C:
7332         * trans.C:
7333         * vc-backend.C: move LyX/XFormsView into frontends/
7334
7335 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7336
7337         * Makefile.am:
7338         * PainterBase.C:
7339         * PainterBase.h:
7340         * Painter.C:
7341         * Painter.h:
7342         * WorkArea.C:
7343         * WorkArea.h:
7344         * screen.C:
7345         * tabular.C:
7346         * text.C:
7347         * text2.C: move Painter to frontends/
7348
7349 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7350
7351         * buffer.C: comment out some some code that depend upon lyx_format
7352         < 220
7353
7354         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7355         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7356
7357         * buffer.h (NO_COMPABILITY): turn off compability
7358
7359         * ColorHandler.C: include scoped_array.hpp
7360
7361         * font.C: Use more specific smart_ptr header.
7362         * Painter.C: ditto
7363         * gettext.C: ditto
7364         * ShareContainer.h: ditto
7365         * lyx_main.h: ditto
7366         * kbmap.h: ditto
7367         * FontInfo.h: ditto
7368         * BufferView_pimpl.h: ditto
7369         * ColorHandler.h: ditto
7370
7371         * kbmap.C (defkey): change call to shared_ptr::reset
7372
7373 2002-05-21  Juergen Vigna  <jug@sad.it>
7374
7375         * buffer.C (insertErtContents): fix to insert ert asis if it is
7376         non empty. Skip it completely if it contains only whitespaces.
7377
7378 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7379
7380         * BufferView_pimpl.C:
7381         * BufferView2.C: clear selection on paste (bug 393)
7382
7383 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7384
7385         * DepTable.C: include ctime
7386
7387 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7388
7389         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7390
7391 2002-05-14  Juergen Vigna  <jug@sad.it>
7392
7393         * text.C (breakParagraph): fixed function to honor the keepempty
7394         layout in the right maner and also to permit the right breaking
7395         algorithm on empty or non empyt keepempty paragraphs.
7396
7397         * paragraph.C (breakParagraph): we have to check also if the par
7398         is really empty (!size()) for isempty otherwise we do the wrong
7399         paragraph break.
7400
7401 2002-05-10  Juergen Vigna  <jug@sad.it>
7402
7403         * buffer.[Ch] : The following are only changes to the ert
7404         compatibility read reading old LaTeX layout and font stuff and
7405         convert it to ERTInsets.
7406
7407         * buffer.h: added isErtInset().
7408
7409         * buffer.C (struct ErtComp): add a fromlayout bool to check
7410         if we're inside a LaTeX layout.
7411         (isErtInset): new helper function.
7412         (insertErtContents): look for other ert insets before this one
7413         and insert the contents there, so that we don't have subsequent
7414         ERT insets with nothing between them. This way we create only one
7415         inset with multiple paragraphs. Also check if we don't insert only
7416         spaces ' ' as they are ignored anyway afterwards in the .tex file
7417         so if we have only spaces we will ignore this latex part in the
7418         new file.
7419         (parseSingleLyXformat2Token \\layout): better compatibility when
7420         reading layout-latex stuff.
7421         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7422         language tag.
7423         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7424         stuff after reading the inset only get the information back from
7425         the stack.
7426
7427 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7428
7429         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7430
7431         * LaTeXFeatures.C (getBabelOptions): New method.
7432
7433 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7434
7435         * BufferView_pimpl.C (Dispatch): work around missing argument for
7436         'layout'
7437
7438 2002-05-08  Juergen Vigna  <jug@sad.it>
7439
7440         * text.C (leftMargin): handle paragraph leftindent.
7441
7442         * paragraph.C (writeFile): write the new \\leftindent tag.
7443         (validate): handle leftindent code.
7444         (TeXEnvironment): handle paragraphleftindent code again.
7445
7446         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7447
7448         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7449         for paragrap_extra indent code and new token \\leftindent.
7450         (latexParagraphs): handle the leftindent as environment.
7451
7452         * ParameterStruct.h: added leftindent support.
7453
7454         * ParagraphParameters.C (leftIndent): added support functions for
7455         the paragraph left indent.
7456
7457         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7458         more appropriate.
7459
7460 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7461
7462         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7463         inside insetERT.
7464
7465         * text.C (computeBidiTables): No bidi in insetERT.
7466
7467         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7468         in RTL documents.
7469
7470 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7471
7472         * version.C.in: pre 5
7473
7474 2002-05-02  José Matos  <jamatos@fep.up.pt>
7475         * buffer.C (makeDocBookFile): white space changes, add newline to
7476         command styles.
7477         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7478
7479         * tabular.C (docBook): fix typo.
7480
7481 2002-05-03  Juergen Vigna  <jug@sad.it>
7482
7483         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7484         change in LyXText as we can not be sure it was not freed.
7485         (drawOneRow): remove unused code.
7486
7487         * text.C (drawInset): redo the calculation of the need_break_row as
7488         it could have a row which was already freed.
7489         (draw): look at the return value of drawInset and return false if
7490         it also returned false.
7491         (paintRowText): look at the return value of draw and return false if
7492         it also returned false.
7493
7494         * lyxtext.h: added bool return type to drawInset() and draw() so that
7495         if we have a change in the row so that the rowbreak has to be redone
7496         we abort drawing as it will be called again.
7497
7498 2002-05-02  Juergen Vigna  <jug@sad.it>
7499
7500         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7501         a change in the maintext also if we're inside an inset.
7502         (Dispatch): set the cursor again after a break line and after the
7503         screen has been updated as it could be we're in a different row.
7504
7505         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7506         to set the cursor behind the pargraph with > size().
7507         (setCursor): check also for the same paragraph when checking where
7508         to put the cursor if we have a NFR inset.
7509
7510         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7511         parts of layout read further up as it still was in the wrong
7512         position.
7513
7514 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7515
7516         * screen.C (drawFromTo): change sine fullRebreak always return
7517         true.
7518
7519         * buffer.C (parseSingleLyXformat2Token): reindent some
7520
7521         * BufferView_pimpl.C (update): change since fullRebreak always
7522         return true.
7523         (Dispatch): git rid of the last hardcoded "Standard"s.
7524
7525 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7526
7527         * text2.[Ch] (fullRebreak): make it return void now that we always
7528         returned true.
7529
7530 2002-04-30  Juergen Vigna  <jug@sad.it>
7531
7532         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7533         ert compatibility check for "latex" layout.
7534
7535 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7536
7537         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7538         minipages: use col% instead of p%, and also use the current font.
7539         (makeLaTeXFile): Fix use babel condition.
7540         (parseSingleLyXformat2Token): Correct font when reading old floats.
7541
7542 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7543
7544         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7545         inserting list of floats.
7546
7547 2002-04-25  Herbert Voss  <voss@lyx.org>
7548
7549         * MenuBackend.C (expand): don't add the graphics extensions to the
7550         export menu
7551
7552 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7553
7554         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7555         non-existing layout, do not complain if it was the default layout
7556         of the original class (bug #342)
7557
7558 2002-04-24  Juergen Vigna  <jug@sad.it>
7559
7560         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7561         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7562
7563 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7564
7565         * buffer.C (getBibkeyList): If using \bibliography, return the
7566         option field with the reference itself. Enables us to provide natbib
7567         support when using \bibliography.
7568
7569 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7570
7571         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7572
7573         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7574         natbib is provided by the LaTeX class.
7575
7576 2002-04-23  Juergen Vigna  <jug@sad.it>
7577
7578         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7579         Wakeup functions.
7580
7581         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7582
7583 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7584
7585         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7586
7587         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7588         ensuremath around textordmasculine, textordfeminine and
7589         textdegree.
7590
7591 2002-04-19  Juergen Vigna  <jug@sad.it>
7592
7593         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7594         reinitializing the buffer otherwise row-dimensions may be wrong.
7595         (update): reset also the selection cursors if they do exits otherwise
7596         their x/y positions may be wrong.
7597
7598         * text2.C (cursorDown): don't enter the inset if we came from a row
7599         above and are one row over the inset.
7600
7601         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7602         really leaving an inset.
7603
7604 2002-04-18  Juergen Vigna  <jug@sad.it>
7605
7606         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7607         of the selected paragraph does not have the selected layout also if
7608         the last one had!
7609
7610         * text2.C (setLayout): fixed bug which did not change last selected
7611         paragraph.
7612
7613         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7614         changed the read and substituted \\end_float with \\end_inset!
7615
7616         * BufferView_pimpl.C (cursorPrevious):
7617         (cursorNext): fixed to make it work with rows heigher than the work
7618         area without moving the cursor only the draw of the row.
7619         (workAreaMotionNotify): fix jumping over high rows.
7620
7621 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7622
7623         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7624         Ressler.
7625
7626 2002-04-16  Juergen Vigna  <jug@sad.it>
7627
7628         * text2.C (setCursor): set also the irow().
7629         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7630         (cursorUp):
7631         (cursorDown): support for locking an inset if the x_fix value goes
7632         inside it. That way I can transverse insets too with cursor up/down.
7633
7634         * lyxrow.h: added irow helper function same as other (i) functions.
7635
7636         * BufferView_pimpl.C (cursorPrevious):
7637         (cursorNext): fixed for insets!
7638
7639 2002-04-15  Juergen Vigna  <jug@sad.it>
7640
7641         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7642         position otherwise it is wrong in some cases.
7643
7644         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7645         inside the inset before the call.
7646
7647 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7648
7649         * buffer.[Ch] (getBibkeyList): make it const.
7650
7651 2002-04-12  Juergen Vigna  <jug@sad.it>
7652
7653         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7654
7655         * text2.C (getCursorX): new helper function
7656         (setCursor): compute also ix_
7657         (setCursorFromCoordinates): set also ix.
7658
7659         * lyxcursor.h: added ix_ and helper functions.
7660
7661         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7662
7663         * buffer.C (insertStringAsLines): dont break paragraph if the this
7664         paragraph is inside an inset which does not permit it!
7665
7666         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7667         also with no chars on this paragraph.
7668         (paintRowText): only paint stuff if it's inside the workarea!
7669
7670         * paragraph.C (breakParagraph): honor keepempty flag and break the
7671         paragraph always below not above.
7672
7673         * BufferView2.C (unlockInset): update the paragraph layout on inset
7674         unlock as we changed paragraph in such a case.
7675
7676         * lyxfind.C (LyXFind): clear the former selection if not found!
7677
7678         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7679         again called in insertChar().
7680
7681         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7682         an inset which uses the whole row!
7683         (rightMargin): ditto.
7684         (insertChar): force a rebreak if we inserted an inset!
7685
7686 2002-03-28  Herbert Voss  <voss@lyx.org>
7687
7688         * lyxlength.[Ch]: add inBP() to get the right PS-point
7689         units (BigPoint). With inPixels we have rounding errors
7690
7691 2002-04-11  Juergen Vigna  <jug@sad.it>
7692
7693         * text2.C (setCursorFromCoordinates): set iy to the right value.
7694         (setCursor): add check if row->previous exists!
7695
7696         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7697         an old float_type as this was the case in the old code!
7698
7699         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7700
7701         * BufferView2.C (showLockedInsetCursor): use iy
7702         (fitLockedInsetCursor): ditto
7703
7704         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7705         locked insets as there we have the right value now.
7706
7707         * lyxcursor.C: added iy_ variable and iy functions to set to the
7708         baseline of cursor-y of the locked inset.
7709
7710         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7711         (setCursor): fixed for insets which need a full row.
7712
7713         * text.C (rowLastPrintable): don't ignore the last space when before
7714         an inset which needs a full row.
7715         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7716         as last character of a row when before a inset which needs a full row.
7717
7718 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7719
7720         * version.C.in: update date
7721
7722         * text2.C (fullRebreak): try to always return true and see what
7723         happens...
7724
7725 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7726
7727         * MenuBackend.C (expand): use Floating::listName
7728
7729         * FloatList.C (FloatList): add listName argument to the built-in
7730         floats
7731
7732         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7733         text associated with the float.
7734
7735 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7736
7737         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7738
7739 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7740
7741         * ShareContainer.h: add a couple of missing typenames.
7742
7743 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7744
7745         * lyxrc.C (getDescription): use _() correctly rather than N_().
7746
7747 2002-03-28  Herbert Voss  <voss@lyx.org>
7748
7749         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7750         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7751
7752 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7753
7754         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7755         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7756
7757 2002-03-29  Juergen Vigna  <jug@sad.it>
7758
7759         * lyxfunc.C (dispatch): add a missing fitCursor call.
7760
7761         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7762         it was scrolled by a cursor move, so return the bool status.
7763
7764         * BufferView.C (fitCursor): return the bool flag also to the outside
7765         world as this is needed.
7766
7767         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7768
7769         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7770         call the edit() as it is not needed (and wrong) IMO.
7771         (workAreaButtonPress): set the screen_first variable before evt.
7772         unlock the inset as this may change screen_first and then we have
7773         a wrong y position for the click!
7774
7775 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7776
7777         * MenuBackend.C (expand): another translation that I missed
7778
7779 2002-03-28  Juergen Vigna  <jug@sad.it>
7780
7781         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7782
7783         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7784
7785 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7786
7787         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7788
7789         * MenuBackend.C (expand): fix export/view/update when there is no
7790         document open.
7791
7792 2002-03-27  Herbert Voss  <voss@lyx.org>
7793
7794         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7795         and text%
7796
7797 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7798
7799         * bufferview_funcs.C (currentState): only show paragraph number
7800         for is DEVEL_VERSION is set.
7801
7802         * lyxfunc.C (dispatch): put warning in INFO channel
7803
7804         * MenuBackend.C (expand): translate the name of floats
7805
7806         * FloatList.C (FloatList): mark the float names for translation
7807
7808         * converter.C (convert): use LibScriptSearch
7809
7810 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7811
7812         * MenuBackend.C (defaults): fix default menu (we might as well get
7813         rid of it...)
7814
7815 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7816
7817         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7818         directory.
7819
7820 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7821
7822         * lyxvc.C: reorder includes.
7823
7824 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7825
7826         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7827           properly
7828
7829 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7830
7831         * CutAndPaste.C: change layouts earlier on paste
7832           to avoid crashing when calling getFont()
7833
7834 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7835
7836         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7837         irritating #error.
7838
7839 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7840
7841         * WorkArea.C: remove 'Pending' debug message.
7842
7843         * most files: ws cleanup
7844
7845         * buffer.[Ch]: ws changes
7846
7847         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7848
7849 2002-03-21  Juergen Vigna  <jug@sad.it>
7850
7851         * tabular.C (SetMultiColumn): collapse also the contents of the
7852         cells and set the last border right. Added a Buffer const * param.
7853
7854 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7855
7856         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7857         linking or not.
7858
7859 2002-03-19  Juergen Vigna  <jug@sad.it>
7860
7861         * text2.C (clearSelection): reset also xsel_cache.
7862
7863         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7864         where it needs to be called (John tells us to do so too :)
7865         (selectionLost): reset sel_cache.
7866
7867         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7868
7869 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7870
7871         * text2.C (setCursorIntern): put debuging code in INSETS channel
7872
7873 2002-03-19  André Pönitz <poenitz@gmx.net>
7874
7875         * lyxfunc.C: tiny whitespace change
7876
7877 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7878
7879         * ToolbarDefaults.C (init):
7880         * LyXAction.C (init):
7881         * commandtags.h:
7882         * BufferView_pimpl.C (Dispatch):
7883         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7884
7885 2002-03-19  Allan Rae  <rae@lyx.org>
7886
7887         * exporter.C (Export): removeAutoInsets before doing anything else.
7888         While I've just introduced a dependency on BufferView this really is
7889         the best place to clean the buffer otherwise you need to cleanup in
7890         a dozen places before calling export or cleanup in a dozen functions
7891         that export calls.
7892
7893         * converter.C (runLaTeX):
7894         (scanLog): Better handling of removeAutoInsets and screen updates.
7895
7896         * lyxfunc.C (dispatch): small whitespace changes
7897
7898 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7899
7900         * WorkArea.C (C_WorkAreaEvent): return a value.
7901         (event_cb): return 1 if we handled the event, 0 otherwise.
7902
7903         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7904
7905 2002-03-18  Juergen Vigna  <jug@sad.it>
7906
7907         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7908         (GetAdditionalWidth): ditto.
7909         (RightLine): ditto.
7910         (LeftLine): ditto.
7911
7912         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7913         inset if we're there actually (probably not used right now but this
7914         is the direction to go for unifying code).
7915         (paste): disable code to clear the selection.
7916
7917         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7918         inside an InsetText and move the check further up as it is in the
7919         wrong place.
7920
7921         * text2.C (pasteSelection): set a selection over the pasted text.
7922
7923 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7924
7925         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7926         and libgraphics to build on Cygwin.
7927
7928 2002-03-15  Juergen Vigna  <jug@sad.it>
7929
7930         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7931         inserting an Inset into the paragraph. I know this is not the best
7932         fix but we already use current_view in CutAndPaste so we will remove
7933         all of it's using at the same time.
7934
7935         * buffer.C (sgmlError): deactivated function till it is rewritten in
7936         the right mode, now it can create problems.
7937
7938         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7939         before accessing it.
7940
7941 2002-03-14  Juergen Vigna  <jug@sad.it>
7942
7943         * undo_funcs.C (textHandleUndo): do the right thing when updating
7944         the inset after the undo/redo.
7945
7946         * text2.C (setCursor): just some testcode for #44 not ready yet.
7947
7948         * undo_funcs.C (textHandleUndo): set the next() and previous()
7949         pointers of the paragraph to 0 before deleting otherwise we have
7950         problems with the Paragraph::[destructor].
7951
7952         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7953         on a paragraph insertion.
7954
7955 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7956
7957         * buffer.C (asciiParagraph): use += operator for char append to
7958         string.
7959
7960         * paragraph.C (getFontSettings): compare >= not just >
7961         (highestFontInRange): ditto
7962         (setFont): ditto
7963
7964 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7965
7966         * paragraph.C: change several algorithm to be more appripriate for
7967         the problem domain. This is lookip in FontList and in the InsetList.
7968
7969 2002-03-13  André Pönitz <poenitz@gmx.net>
7970
7971         * commandtags.h:
7972         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7973
7974 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7975
7976         * commandtags.h:
7977         * LyXAction.C:
7978         * lyxfunc.C:
7979         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7980
7981 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7982
7983         * Painter.C (display): anon helper function, adjust code for this
7984         change.
7985         (pixmap): remove function.
7986
7987         * Painter.h: remove private display variable.
7988
7989         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7990
7991 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7992
7993         * WorkArea.[Ch]: remove figinset_canvas cruft.
7994
7995 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7996
7997         * lyxtextclass.C (operator): add one item cache optimization.
7998
7999         * bufferlist.h: doxy changes
8000
8001         * bufferlist.C: ws changes
8002
8003         * DepTable.[Ch] (ext_exist): place const in the right spot.
8004
8005         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8006         call resizeInsets.
8007         (workAreaExpose): call resizeInsets when the with BufferView changes.
8008         (Dispatch): adjust for protectedBlank removal
8009         (specialChar): call updateInset if the insert went ok.
8010
8011         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8012         specialChar instead.
8013
8014         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8015
8016         * BufferView.h: doxy change
8017
8018         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8019
8020         * lyxtextclass.C (operator[]): remove non-const version
8021         (defaultLayout): remove non-const version
8022
8023 2002-03-12  Juergen Vigna  <jug@sad.it>
8024
8025         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8026         did resize the LyXText too.
8027
8028         * buffer.C (readLyXformat2): set layout information on newly allocated
8029         paragraphs.
8030
8031         * tabular.C (OldFormatRead): set layout information on the paragraph.
8032
8033 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8034
8035         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8036
8037 2002-03-11  Juergen Vigna  <jug@sad.it>
8038
8039         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8040         plainly wrong.
8041         (resizeCurrentBuffer): force also the insets to resize themselfes.
8042         (moveCursorUpdate): fixed up for InsetText.
8043
8044 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8045
8046         * commandtags.h:
8047         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8048         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8049         value of Dialogs::tooltipsEnabled().
8050         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8051
8052 2002-03-08  Juergen Vigna  <jug@sad.it>
8053
8054         * BufferView_pimpl.C (updateInset): update inset inside inset also
8055         if it isn't inside theLockingInset().
8056
8057 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8058
8059         * buffer.C (asciiParagraph): redo some of the word and line length
8060         handling.
8061         (getLists): look for Caption instead of caption.
8062
8063 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8064
8065         * buffer.C (Buffer): initialize niceFile to true
8066         (makeLaTeXFile):
8067         (makeLinuxDocFile):
8068         (makeDocBookFile): make sure niceFile is true on exit
8069
8070 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8071
8072         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8073
8074 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8075
8076         * LyXSendto.C: remove.
8077         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8078         * lyx_gui.C: remove now-redundant comment.
8079         * ColorHandler.h: remove forward declaration of class WorkArea.
8080         * lyxfunc.C: remove #include "WorkArea.h".
8081
8082 2002-03-07  Juergen Vigna  <jug@sad.it>
8083
8084         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8085         got moved away with the DEPM and also set the inset_owner always
8086         right which before could have been omitted.
8087
8088 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8089
8090         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8091         wanted layout is not found.
8092
8093 2002-03-07  Juergen Vigna  <jug@sad.it>
8094
8095         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8096
8097 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8098
8099         * paragraph.C (breakParagraph): use default layout not layout of
8100         prev paragraph.
8101         (Paragraph): clear ParagraphParameters.
8102
8103 2002-03-06  Juergen Vigna  <jug@sad.it>
8104
8105         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8106         otherwise it would not be a valid lenght. Fixed a special case in
8107         the minipage compatibility read where we end the document with a
8108         minipage.
8109
8110         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8111         was set as it could be 0 for InsetTexts first entry.
8112
8113 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8114
8115         * paragraph.C (writeFile): if layout is empty write out
8116         defaultLayoutName().
8117
8118         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8119         file without named layout we set layout to defaultLayoutName().
8120
8121 2002-03-06  Juergen Vigna  <jug@sad.it>
8122
8123         * CutAndPaste.C (copySelection): set layout for new paragraph.
8124
8125         * text.C (prepareToPrint): leave ERT inset left aligned
8126         (leftMargin): don't indent paragraphs inside ERT insets
8127
8128 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8129
8130         * paragraph.C (breakParagraph): dont call clear do the work manually
8131
8132         * paragraph.[Ch] (clear): remove function
8133
8134 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8135
8136         * paragraph.C (Paragraph): dont call clear, the work has already
8137         been done.
8138
8139         * lyxtextclass.C (operator): assert if n is empty
8140
8141         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8142         work manually instead.
8143
8144 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8145
8146         * BufferView_pimpl.C: protect selectionLost against text == 0
8147
8148 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8149
8150         * text.C (breakParagraph): fix a setting layout to '0' problem.
8151
8152 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8153
8154         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8155         final location of file, for the included files, and graphics.
8156
8157 2002-03-05  Juergen Vigna  <jug@sad.it>
8158
8159         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8160
8161 2002-03-04  Juergen Vigna  <jug@sad.it>
8162
8163         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8164
8165         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8166         last column of multicolumn cells.
8167         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8168
8169 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8170
8171         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8172         file if it doesn't go to a temporary file.
8173
8174         * buffer.C (sgmlOpenTag):
8175         (sgmlCloseTag):  remove extra newline insertion.
8176
8177 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8178
8179         * text.C (getRowNearY): comment out debug msg
8180
8181 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8182
8183         * text2.C: first -> first_y
8184
8185         * text.C (getRowNearY): add some attemts at a possible
8186         optimization, not working.
8187
8188         * tabular.[Ch]: add BufferParams to several function so that newly
8189         created paragraph can be initialized to he default layotu for the
8190         buffers textclass.
8191
8192         * tabular-old.C (ReadOld): add buf->params to call of Init
8193
8194         * screen.C: rename text->first to text->first_y
8195
8196         * paragraph.C (breakParagraph): always set layout in the broken
8197         paragraph
8198
8199         * lyxtextclass.C (Read): remove lowercase
8200         (hasLayout): ditto
8201         (operator): ditto
8202         (delete_layout): ditto
8203
8204         * lyxtext.h: rename first -> first_y
8205
8206         * lyxlayout.C (Read): remove lowercase
8207         (name): ditto
8208         (setName): ditto
8209         (obsoleted_by): ditto
8210
8211         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8212
8213         * buffer.C (insertErtContents): add params are to InsetERT
8214         (parseSingleLyXformat2Token): add code to check if a paragraphs
8215         layout really exist.
8216         (parseSingleLyXformat2Token): add params to several inset
8217         constructors
8218         (asciiParagraph): remove lowercase, do the layout comparisons with
8219         no_case
8220
8221         * BufferView_pimpl.C (cursorNext): first -> first_y
8222         (resizeCurrentBuffer): first -> first_y
8223         (updateScrollbar): first -> first_y
8224         (scrollCB): first -> first_y
8225         (workAreaMotionNotify): first -> first_y
8226         (workAreaButtonPress): first -> first_y
8227         (checkInsetHit): first -> first_y
8228         (cursorPrevious): first -> first_y
8229         (cursorNext): first -> first_y
8230         (Dispatch): add buffer_->params to severl inset contructors
8231
8232 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8233
8234         * lyxlayout.C (Read): remove some debug info that I forgot.
8235
8236         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8237         clean up the code slightly.
8238         (makeLinuxDocFile): ditto
8239         (makeDocBookFile): ditto
8240
8241         * text2.C: layout as string
8242
8243         * text.C: layout as string
8244
8245         * paragraph_pimpl.C: layout as string
8246
8247         * paragraph.[Ch]: layout as string
8248
8249         * lyxtextclasslist.[Ch]: layout as string
8250
8251         * lyxtextclass.[Ch]: layout as string
8252
8253         * lyxtext.h: layout as string
8254
8255         * lyxlayout.[Ch]: layout as string
8256
8257         * lyx_cb.C: layout as string
8258
8259         * bufferview_funcs.C: layout as string
8260
8261         * bufferparams.C: layout as string
8262
8263         * buffer.C: layout as string
8264
8265         * LyXView.[Ch]: layout as string
8266
8267         * LaTeXFeatures.[Ch]: layout as string
8268
8269         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8270
8271         * BufferView_pimpl.C: change current_layout to string, remove
8272         lyx::layout_type.
8273         (Dispatch):
8274         (smartQuote):
8275         (insertInset):
8276         (workAreaButtonRelease): layout as string
8277
8278         * BufferView2.C (unlockInset): adjust
8279
8280         * vspace.C (asLatexCommand): use an explict temp variable.
8281
8282 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8283
8284         * Makefile.am: use FRONTEND_*
8285
8286 2002-03-01  Juergen Vigna  <jug@sad.it>
8287
8288         * tabular.C (SetWidthOfMulticolCell): changed to something better
8289         I hope but still work in progress.
8290         (recalculateMulticolumnsOfColumn): renamed function from
8291         recalculateMulticolCells as it is more appropriate now.
8292         (SetWidthOfCell): calculate multicols better.
8293
8294 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8295
8296         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8297
8298         * lyxfunc.C (processKeySym): print sequence also if it is
8299         `deleted' (complete)
8300
8301         * kbsequence.C (print): print sequence even if it is deleted
8302         (complete would be a better word, actually).
8303
8304         * lyxfunc.C (dispatch): print complete options after a prefix key
8305
8306         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8307
8308 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8309
8310         * text2.C (setCharFont): eliminate setCharFont code duplication.
8311
8312 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8313
8314         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8315         LFUN_TABULAR_FEATURE (bug #177)
8316
8317 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8318
8319         * Makefile.am: remove figure.h
8320
8321 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8322
8323         * Bufferview_pimpl.C:
8324         * CutAndPasteC:
8325         * LaTeX.C:
8326         * LyXSendto.C:
8327         * buffer.C:
8328         * bufferlist.C:
8329         * converter.C:
8330         * language.C:
8331         * lyxfunc.C:
8332         * lyxvc.C:
8333         * paragraph.C:
8334         * text.C:
8335         * text2.C: remove #include "lyx_gui_misc.h".
8336
8337         * LaTeX.C: added #include <cstdio>
8338
8339 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8340
8341         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8342         that the paragraph following this one can have.
8343
8344         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8345
8346         * vspace.C (asLatexCommand): fix bogus gcc warning
8347
8348         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8349
8350 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8351
8352         * text2.C (setLayout): get rid of redundant code
8353
8354 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8355
8356         * text2.C (incDepth): make sure depth cannot be increased beyond
8357         reasonable values.
8358
8359 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8360
8361         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8362         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8363
8364         * PainterBase.h (image):
8365         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8366         a LyXImage const *.
8367
8368 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8369
8370         * BufferView.C:
8371         * BufferView.h:
8372         * BufferView_pimpl.C:
8373         * BufferView_pimpl.h:
8374         * LaTeXFeatures.C:
8375         * LyXAction.C:
8376         * LyXView.C:
8377         * Makefile.am:
8378         * UpdateList.h:
8379         * UpdateList.C:
8380         * buffer.C:
8381         * figure.h:
8382         * figureForm.C:
8383         * figureForm.h:
8384         * figure_form.C:
8385         * figure_form.h:
8386         * lyx_cb.C:
8387         * lyx_gui.C:
8388         * lyx_gui_misc.C:
8389         * lyxfunc.C:
8390         * sp_base.h:
8391         * sp_ispell.h:
8392         * sp_pspell.h:
8393         * sp_spell.C: remove fig inset, and the crap house of
8394           cards that follows it
8395
8396 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8397
8398         * Makefile.am:
8399         * lyxserver.C:
8400         * os2_defines.h:
8401         * os2_errortable.h:
8402         * nt_defines.h: move .h into support/
8403
8404         * vms_defines.h: remove
8405
8406         * WorkArea.C: add space in debug output
8407
8408         * text2.C:
8409         * paragraph.C:
8410         * buffer.C: add WITH_WARNINGS
8411
8412         * vc-backend.h:
8413         * vc-backend.C:
8414         * bufferlist.C: s/retrive/retrieve/, add docs
8415
8416         * vspace.h:
8417         * vspace.C:
8418         * kbmap.h:
8419         * lyxlength.h:
8420         * lyxgluelength.h:
8421         * length_common.h:
8422         * chset.h:
8423         * chset.C: add docs
8424
8425         * lyxgui.C: add ID to X error handler
8426
8427         * lyxtestclass.c: fix typo
8428
8429 2002-02-26  Juergen Vigna  <jug@sad.it>
8430
8431         * tabular_funcs.C (write_attribute): changed so that some default
8432         attributes are not written at all.
8433         (getTokenValue): set default values before trying to read the
8434         value so we have the return value always set as default if we don't
8435         find the token we search for.
8436
8437         * tabular.C (Write): write bools as bools not as strings!
8438
8439 2002-02-22  Juergen Vigna  <jug@sad.it>
8440
8441         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8442         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8443
8444         * text.C (leftMargin): don't add an indent for paragraphs inside
8445         tabular cells (fix #208).
8446
8447 2002-02-21  José Matos  <jamatos@fep.up.pt>
8448
8449         * tabular.C (docBook): fixed support for long tables.
8450
8451 2002-02-20  Juergen Vigna  <jug@sad.it>
8452
8453         * text2.C (getFont): get the drawing font of the Inset if this
8454         paragraph is inside an inset (only important for InsetERT for now).
8455
8456         * buffer.C (insertErtContents): use new lanugage params in ERT
8457         constructor.
8458
8459         * CutAndPaste.C: commenting out seemingly uneeded code.
8460
8461 2002-02-19  Allan Rae  <rae@lyx.org>
8462
8463         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8464         Iterators might be simple to use but they also get invalidated.
8465         (removeAutoInsets): renamed saved cursor tracking variables and added
8466         some comments to clarify what everything does.
8467
8468 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8469
8470         * Chktex.C:
8471         * LaTeX.C:
8472         * LyXSendto.C:
8473         * converter.C:
8474         * lyx_cb.C:
8475         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8476         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8477
8478         * lyxfunc.C:
8479         * vc-backend.h: remove #include "support/syscall.h"
8480
8481         * LaTeX.C:
8482         * LyXSendto.C:
8483         * converter.C: rearrange #includes in Lars' approved fashion.
8484
8485         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8486         forward declare class Timeout in the header file.
8487
8488         * XFormsView.C: changes due to the above.
8489
8490         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8491         similar to LyXView.
8492
8493         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8494         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8495
8496 2002-02-18  José Matos  <jamatos@fep.up.pt>
8497
8498         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8499         insets contents.
8500
8501 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8502
8503         * a lot of small ws changes
8504         * add a lot of using std::XXX
8505         * use std construcs some places where approp.
8506         * use some exisint stuff from lyxfunctional where approp.
8507         * Make file changes to use partial linking (lets test this now...)
8508
8509 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8510
8511         * Chktex.C:
8512         * buffer.C:
8513         remove #include "support/syscontr.h" as it's redundant. Always has been.
8514
8515         * Chktex.C:
8516         * LaTeX.C:
8517         * LyXSendto.C:
8518         * converter.C:
8519         * lyx_cb.C:
8520         * vc-backend.C:
8521         change Systemcalls::System to Systemcalls::Wait and
8522         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8523         No change of functionality, just reflects the stripped down Systemcalls
8524         class.
8525
8526 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8527
8528         * debug.[Ch]: add a GRAPHICS type to the enum.
8529
8530 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8531
8532         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8533
8534         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8535         there is an inset.
8536
8537 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8538
8539         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8540         match the changes below.
8541
8542         * text2.C (toggleInset): if there is not editable inset at cursor
8543         position, try to see if cursor is _inside_ a collapsable inset
8544         and close it.
8545
8546 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8547
8548         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8549         document menu has a nice checkbox
8550
8551 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8552
8553         * lyxlength.C (asLatexString): change PW to output as percent of
8554         \textwidth.
8555
8556         * lengthcommon.C: change '%' to 't%'
8557
8558         * lyxfunc.C (dispatch): a few comments from Martin
8559
8560 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8561
8562         * WorkArea.h:
8563         * WorkArea.C:
8564         * BufferView_pimpl.h:
8565         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8566           the X selection.
8567
8568 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8569
8570         * vspace.C (inPixels): fix compiler warning
8571
8572 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8573
8574         * lyxfunc.C (getStatus): fix status message for disabled commands.
8575
8576 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8577
8578         * BufferView_pimpl.C: fix crash on close buffer
8579         during selection (#227)
8580
8581 2002-01-27  Herbert Voss  <voss@lyx.org>
8582
8583         * buffer.C: link old Figure to new graphic inset
8584
8585 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8586
8587         * FontLoader.C (getFontinfo): Change the latex font names in order
8588         to match the names of type1inst.
8589
8590 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8591
8592         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8593
8594         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8595         (extchanged): ditto
8596         (ext_exist): ditto
8597         (remove_files_with_extension): ditto
8598         (remove_file): ditto
8599         (write): ditto
8600
8601         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8602         document is smaller than the work area height. Do not initialize
8603         static variables to 0.
8604
8605 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8606
8607         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8608
8609         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8610         LFUN_LAYOUT_PARAGRAPHS.
8611
8612         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8613         tabular. It is possible to provide a possible cell, which will
8614         typically be the actcell from the corresponding insettabular
8615
8616         * lyxfunc.C (getStatus): small cleanup; disable
8617         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8618         true
8619
8620 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8621
8622         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8623
8624         * paragraph.C (startTeXParParams):
8625         (endTeXParParams): new methods. The LaTeX code to
8626         start/end paragraph formatting
8627         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8628         empty (fixes bug #200)
8629
8630         * vspace.C (inPixels): adapt to the change below
8631         (inPixels): [later] more cleanups (remove unused variables)
8632
8633         * lyxlength.C (inPixels): change to use a width and a height as
8634         parameter.
8635
8636 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8637
8638         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8639         Replaced with \paperwidth
8640
8641         * DepTable.C (insert): add std:: qualifier
8642
8643 2002-01-18  Allan Rae  <rae@lyx.org>
8644
8645         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8646         updated also?
8647
8648         * text.C (drawInset): Turned out I didn't know enough about how
8649         rebreaking worked.  This fixes most of the redraw problems.  I see
8650         an occasional cursor trail when a line is broken now and the cursor
8651         placement can seem out by a few pixels also after a rebreak.
8652
8653 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8654
8655         * buffer.C (parseSingleLyXformat2Token): update because minipage
8656         width is now a LyXLength
8657
8658         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8659
8660         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8661         math insets
8662
8663 2002-01-17  Juergen Vigna  <jug@sad.it>
8664
8665         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8666
8667         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8668         is set correctly and the inset is updated correctly.
8669
8670 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8671
8672         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8673         the beginning of the loop.
8674
8675 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8676
8677         * lyxrc.C: improve help for use_scalable_fonts
8678
8679 2002-01-17  Allan Rae  <rae@lyx.org>
8680
8681         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8682
8683 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8684
8685         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8686         make sure to set their inset_owner to the right value (bug #171)
8687
8688 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8689
8690         * DepTable.h
8691         * DepTable.C: Implement mtime checking to reduce time spent doing
8692         CRCs.
8693
8694 2002-01-16  Juergen Vigna  <jug@sad.it>
8695
8696         * tabular.C (GetAdditionalHeight): one of error fixed.
8697
8698         * lyxrc.C (output): small fix in writing use_pspell.
8699
8700 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8701
8702         * sp_base.h: #include LString.h
8703
8704 2002-01-16  Allan Rae  <rae@lyx.org>
8705
8706         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8707         Can someone check this please?
8708
8709         * text.C (drawInset): It was possible that p.row would be removed by
8710         breakAgainOneRow upsetting a few other settings.  There may be another
8711         small tweak possible by setting need_break_row = 0 when p.row has been
8712         removed but I don't know enough about the logic here.
8713
8714 2002-01-15  Allan Rae  <rae@lyx.org>
8715
8716         * text.C (insertChar): removed conditional truism.
8717
8718         * BufferView2.C (removeAutoInsets): More tweaks.
8719         cur_par_prev could be a stray pointer.  Check for trailing empty line
8720         in case last line was cur_par and only had an error inset on it.
8721
8722 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8723
8724         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8725         absolute
8726
8727         * vc-backend.C (most methods):
8728         * exporter.C (Export):
8729         * converter.C (convert):
8730         (runLaTeX):
8731         * LyXSendto.C (SendtoApplyCB):
8732         * lyxfunc.C (dispatch):
8733         (menuNew):
8734         (open):
8735         (doImport):
8736         * lyx_cb.C (AutoSave):
8737         (InsertAsciiFile):
8738         * BufferView_pimpl.C (MenuInsertLyXFile):
8739         * buffer.C (runChktex): use Buffer::filePath().
8740
8741         * buffer.h: rename filename to filename_; rename filepath to
8742         filepath_ and make it private
8743         (filePath): new method
8744
8745         * buffer.C (writeFile): use fileName()
8746         (getLatexName):
8747
8748         * lyx_main.C (init): fix starting  of LyX when the binary is a
8749         link from so,ewhere else.
8750
8751         * minibuffer.C: include <cctype> for isprint
8752
8753 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8754
8755         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8756         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8757         name clash with InsetCollapsable's width function.
8758
8759 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8760
8761         * lastfiles.C: include <iterator>
8762
8763 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8764
8765         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8766         std::count.
8767
8768         * buffer.C (makeLaTeXFile): ditto.
8769         Also make loop operation more transparent.
8770
8771 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8772
8773         * ToolbarDefaults.C: remove trailing comma closing namespace.
8774
8775         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8776
8777         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8778         as in WorkArea.
8779
8780         * trans.C (Load): comment out unused variable, allowed.
8781
8782 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8783
8784         * minibuffer.[Ch] (append_char): new method to recieve input from the
8785         drop-down completion browser. If a key was pressed, then recieve this
8786         char and append it to the existing string.
8787         (peek_event): modify the positioning data passed to the completion
8788         browser so that it can be placed above the minibuffer rather than below.
8789 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8790
8791         * LyXAction.C (init): alloe error-next for readonly documents.
8792
8793         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8794         count.
8795
8796 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8797
8798         * bufferlist.C (readFile): create the buffer _after_ checking that
8799         the file exists.
8800
8801         * lyxfunc.C (verboseDispatch): fix handling of arguments
8802
8803         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8804
8805         * lyxrc.C: use string::erase() instead of initializing to "".
8806
8807
8808 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8809
8810         * BufferView_pimpl.h:
8811         * BufferView_pimpl.C:
8812         * WorkArea.h:
8813         * WorkArea.C:
8814         * text2.C: tell X when we have made a selection for copying
8815
8816 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8817
8818         * BufferView_pimpl.C (MenuInsertLyXFile):
8819         * lyxfunc.C (menuNew):
8820         (open):
8821         (doImport): add shortcuts to directory buttons
8822
8823         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8824         open a float)
8825
8826         * lyxfunc.C (setStatusMessage):
8827         (getStatusMessage): new methods
8828         (getStatus):use setStatusMessage instead of setErrorMessage
8829         (dispatch): when function is disabled, set error message here
8830         [instead of in getStatus previously]
8831
8832         * BufferView_pimpl.C (workAreaButtonRelease): update
8833         toolbar/menubar here too.
8834
8835 2002-01-13  Allan Rae  <rae@lyx.org>
8836
8837         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8838         Now seems indestructible.  Remaining task is to audit all other
8839         code affected by deleteEmptyParagraphMechanism.  One small quirk
8840         left is that an empty document with an error in the preamble can
8841         be made to report an error but no error box appears.  I don't know
8842         where it goes.
8843         (removeAutoInsets): Improved comments.
8844
8845 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8846
8847         * Thesaurus.h:
8848         * Thesaurus.C: update for Aiksaurus 0.14
8849
8850 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8851
8852         * text2.C (firstParagraph): removed member function, all uses
8853         replaces with ownerParagraph
8854         (redoParagraphs): here
8855         (updateInset): here
8856         (toggleAppendix): here
8857         * BufferView2.C (insertErrors): here
8858         (setCursorFromRow): here
8859
8860 2002-01-13  Allan Rae  <rae@lyx.org>
8861
8862         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8863         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8864         There is still a way to segfault this although you may have to do this
8865         multiple times: Have an InsetERT with an unknown command in it.
8866         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8867         <down-arrow>, <Enter> again, View->DVI, BANG!
8868
8869         * text2.C (setCursor):
8870         (deleteEmptyParagraphMechanism):
8871         * lyxtext.h (setCursor):
8872         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8873         Making use of the return value may help fix other bugs.
8874
8875 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8876
8877         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8878
8879         * LyXView.C (updateMenubar): call MenuBar::update here
8880         (updateToolbar): but not here
8881         (showState): do not update toolbar/menubar
8882
8883         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8884         should need to care about that.
8885
8886         * lyxfunc.C (verboseDispatch): simplify a bit
8887         (getStatus): have a version which takes a pseudoaction, and
8888         another which requires a (kb_action,string).
8889
8890         * LyXAction.C (retrieveActionArg): make it work also when action
8891         is not a pseudo-action.
8892         (getActionName): simplify a bit
8893         (helpText):
8894
8895 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8896
8897         * lyxfunc.C (verboseDispatch): new families of methods with
8898         several ways to specify a command and a bool to indicate whether
8899         the command name and shortcut should be displayed in minibuffer
8900         (eventually, we could extend that to a finer bitmask like
8901         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8902         (dispatch): the pristine dispatch command which just, well,
8903         dispatchs! Note it still sets its result to minibuffer; I'm not
8904         sure we want that.
8905
8906         * lyxfunc.h: remove setHintMessage
8907
8908         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8909
8910 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8911
8912         * BufferView_pimpl.C (specialChar): delete new inset if we have
8913         not been able to insert it.
8914
8915         * kbmap.C: revert to using int instead of kb_action, since all we
8916         are dealing with is pseudo-actions.
8917
8918         * LyXAction.C (searchActionArg): change to return int instead of
8919         kb_action, since the result is a pseudoaction.
8920
8921 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8922
8923         * buffer.C (insertErtContents): Fix (partially) the font bug.
8924
8925 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8926
8927         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8928         as the other one is broken on my machine!
8929
8930 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8931
8932         * commandtags.h:
8933         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8934
8935 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8936
8937         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8938         reflect their actual use. Provide compatibility code for older lyxrc
8939         files.
8940
8941         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8942         FL_NORMAL_STYLE.
8943         change names of popup font variables in line with the changes to lyxrc.C
8944
8945 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8946
8947         * buffer.C (asciiParagraph): avoid outputing a word twice after
8948         an inset.
8949
8950         * lyxrc.C (getDescription): document that document_path and
8951         template_path can be empty.
8952
8953 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8954
8955         * LaTeXFeatures.C (getMacros):
8956         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8957
8958         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8959
8960         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8961         getPackages.
8962         (getPackages): rename feature "floats" to "float". Use an array to
8963         iterate over 'simple' features (i.e. just a \usepackage). Add
8964         handling of "amsmath" (renamed from "amsstyle").
8965
8966 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8967
8968         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8969         features list.
8970
8971 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8972
8973         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8974         FuncStaus::FuncStatus & FuncStaus::some_method().
8975
8976 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8977
8978         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8979         of the func_satus stuff. Edited and massaged in various ways by
8980         JMarc.
8981
8982         * lyxfunc.C (getStatus): use FuncStatus
8983
8984 2002-01-08  Juergen Vigna  <jug@sad.it>
8985
8986         * text.C (nextBreakPoint): use function Inset::isChar().
8987
8988         * paragraph.C (TeXOnePar): use function
8989         Inset::forceDefaultParagraphs.
8990
8991         * buffer.C (latexParagraphs): use function
8992         Inset::forceDefaultParagraphs.
8993
8994 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8995
8996         * lyx_gui.C (init): set the style of the menu popups to
8997         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8998
8999 2002-01-07  Juergen Vigna  <jug@sad.it>
9000
9001         * text.C (setHeightOfRow): small fix
9002         (prepareToPrint): don't look at alignment if we don't have the place
9003         for doing it.
9004
9005 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9006
9007         * box.C: New file. Move the Box methods and functions out of box.h,
9008         following Lars' suggestion.
9009
9010 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9011
9012         * box.h: #include "support/LOstream.h", needed for inlined function.
9013
9014         * lyxtextclass.C:
9015         * lyxtextclasslist.C: added some using std declarations.
9016
9017 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9018
9019         * box.h: make signed dimensions to allow insets wider than
9020           the screen (bug #162)
9021
9022         * BufferView_pimpl.C: add some insetHit debug
9023
9024 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9025
9026         * vc-backend.C: add FIXME
9027
9028 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9029
9030         * lyxfunc.C (getStatus): enable code for showing math font status
9031         in toolbar/menu.
9032
9033 2002-01-07  Juergen Vigna  <jug@sad.it>
9034
9035         * text.C (nextBreakPoint): removed debug output not needed anymore.
9036
9037 2002-01-06  Juergen Vigna  <jug@sad.it>
9038
9039         * text.C (nextBreakPoint): fixed up this function we had this bug
9040         since ever but now hopefully we break row better.
9041         (insertChar): we have to check if an inset is the next char as it
9042         could now happen that a large inset is causing a break.
9043
9044 2002-01-05  Juergen Vigna  <jug@sad.it>
9045
9046         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9047         if it doesn't like to be drawed.
9048
9049 2002-01-04  Juergen Vigna  <jug@sad.it>
9050
9051         * BufferView2.C (lockInset): forgot to set a cursor.
9052
9053         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9054
9055 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9056
9057         * FormMathsPanel.C:
9058         * FormMathsPanel.h
9059         * MathsSymbols.C:
9060         * form_maths_panel.C:
9061         * form_maths_panel.h:
9062         * form_maths_panel.fd: implemented sub- and super- buttons in math
9063         panel.
9064
9065         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9066         (or ^ space) to be used as in TeX (req'd by André).
9067
9068         * lyxfunc.C: Allow ^ and _ again to be used both as
9069         super/subscript (mathed) and as themselves (in text).
9070
9071 2002-01-03  Allan Rae  <rae@lyx.org>
9072
9073         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9074         "LyX" or the filename of the current buffer if it has one.  This is a
9075         modified form of John Levon's patch.
9076
9077         * XFormsView.C (setWindowTitle): also set icon title.
9078
9079         * LyXView.h (setWindowTitle): signature changed.
9080         * XFormsView.h (setWindowTitle): ditto.
9081
9082 2002-01-02  Juergen Vigna  <jug@sad.it>
9083
9084         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9085
9086 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9087
9088         * screen.C (topCursorVisible): introduce a temp var for
9089         text->cursor.row(), handle the case where this row is null. (kindo
9090         hachish)
9091
9092         * text2.C (setCursor): add a couple of asserts.
9093
9094         * paragraph.h (inset_iterator): add -> operator
9095
9096         * paragraph.[Ch] (autoDeleteInsets): remove member function
9097
9098         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9099         cursor pos correctly and handle inset deletion by itself.
9100         (insertErrors): move iterator declaration out of for expression
9101
9102         * lyxtextclass.C: add <algorithm>
9103
9104         * Makefile.am: added the new files to sources, removed layout.C
9105
9106         * layout.C: removed file
9107
9108         * layout.h: remove LYX_DUMMY_LAYOUT
9109
9110         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9111         layout.
9112
9113         * lyxlayout.[Ch]:
9114         * lyxtextclass.[Ch]:
9115         * lyxtextclasslist.[Ch]: new files
9116
9117         * include order changes to a lot of files, also changes because of
9118         the six new files.
9119
9120 2001-12-27  Juergen Vigna  <jug@sad.it>
9121
9122         * buffer.C (asciiParagraph): more fixes.
9123
9124         * tabular.C (ascii): make ascii export support export of only the
9125         data separated by a column-delimiter.
9126         (ascii): better support for ascii export.
9127
9128         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9129
9130 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9131
9132         * tabular_funcs.C: use a "using std::getline" instead of the
9133         previous fix from Angus (necessary for cxx + lyxstring)
9134
9135 2001-12-24  Juergen Vigna  <jug@sad.it>
9136
9137         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9138
9139         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9140         problems. First check a minipage also if we have some ert-contents
9141         (not only on par->size(), second set the right depth of the paragraph
9142         on the relink to the root-paragraph-list!
9143
9144         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9145         which then did not anymore update the main paragraphs on undo/redo!
9146
9147 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9148
9149         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9150         code. Support all font-changing funcs (even those which are not in
9151         menu currently). Support for reporting font settings in
9152         mathed (disabled until Andre provides a function on mathed's side).
9153
9154         * func_status.h (toggle): small helper function to set toggle
9155         state on a flag.
9156
9157 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9158
9159         * tabular_funcs.C: getline -> std::getline
9160
9161 2001-12-21  Juergen Vigna  <jug@sad.it>
9162
9163         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9164         accessed and could be 0 (I couldn't generate this but it seems
9165         Michael could!).
9166
9167 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9168
9169         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9170         * tabular_funcs.h: here and include iosfwd
9171
9172 2001-12-20  Juergen Vigna  <jug@sad.it>
9173
9174         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9175         inside inset but undo_par was.
9176
9177 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9178
9179         * Thesaurus.C: always include <config.h> in sources.
9180
9181         * Painter.h:
9182         * lyxlookup.h:
9183         * box.h: do not include <config.h> in header files
9184
9185         * text.C (paintLastRow): remove unused variable
9186
9187         * text.C (transformChar):
9188         (insertChar):
9189         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9190
9191         * Painter.C (text):
9192         * font.C (width): rewrite to use uppercase() instead of
9193         islower/toupper.
9194
9195         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9196
9197 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9198
9199         * lyxfind.C: clean up of find failure position change
9200
9201 2001-12-20  Juergen Vigna  <jug@sad.it>
9202
9203         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9204
9205         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9206         (TeXRow): added to LaTeX a single tabular row.
9207         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9208         (Latex): simplified and finally good LT-h/f support.
9209         (various_functions): just small adaptions for LT-h/f support.
9210
9211         * tabular_funcs.[hC]: added and moved here all not classfunctions
9212         of LyXTabular.
9213
9214 2001-12-19  Juergen Vigna  <jug@sad.it>
9215
9216         * tabular.[Ch]: better support for longtabular options (not finished
9217         yet!)
9218
9219 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9220
9221         * text.C (paintLastRow): use the label font instead of the font of
9222         the last character to compute the size of *_BOX. This makes more
9223         sense and avoids a crash with empty paragraphs.
9224         Use Painter::rectangle to draw EMPTY_BOX.
9225
9226 2001-12-19  Juergen Vigna  <jug@sad.it>
9227
9228         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9229         the paragraphs if the replaced paragraph is not the first one!
9230         Tried to delete not used paragraphs but does not work yet so for
9231         now it's inside #ifdef's and by default off!
9232
9233 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9234
9235         * MenuBackend.C: include "lyx_main.h" instead of declaring
9236         lastfiles (actually was declared as LastFiles* instead of a
9237         scoped_ptr).
9238
9239 2001-12-17  Juergen Vigna  <jug@sad.it>
9240
9241         * tabular.C (AppendColumn): applied John's fix
9242
9243 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9244
9245         * BufferView.h:
9246         * BufferView.C:
9247         * BufferView_pimpl.h:
9248         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9249
9250         * Makefile.am:
9251         * box.h: new start of class for above
9252
9253         * lyxfunc.C: ignore space-only minibuffer dispatches.
9254           Show the command name when it doesn't exist
9255
9256         * minibuffer.C: don't add empty lines to the history
9257
9258         * minibuffer.C: add a space on dropdown completion
9259
9260 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9261
9262         * text.C: fix line above/below drawing in insets
9263
9264 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9265
9266         * lyxlength.C (LyXLength): Initialize private variables.
9267
9268 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9269
9270         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9271         when inserting error insets.
9272
9273 2001-12-13  Juergen Vigna  <jug@sad.it>
9274
9275         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9276         actually sometimes the before-paragraph.
9277         (setUndo): don't clear the redostack if we're not actually undoing!
9278
9279 2001-12-06  Juergen Vigna  <jug@sad.it>
9280
9281         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9282         and fixed redoing of main paragraph, so we can use it now ;)
9283
9284         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9285
9286 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9287
9288         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9289         Juergen's request
9290
9291 2001-12-13  André Pönitz <poenitz@gmx.net>
9292
9293         * undostack.[Ch]:
9294         * undo_func.C: minor cleanup
9295
9296 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9297
9298         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9299         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9300         font in urw-fonts package which is marked as -urw-fontspecific and
9301         does not work (incidentally, changing the encoding in the
9302         fonts.dir of this package to -adobe-fontspecific fixes the
9303         problem).
9304
9305         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9306         is a crash when undoing first paragraph (Juergen, please take a
9307         look). THis does not mean the undo fix is wrong, just that it
9308         uncovers problems.
9309
9310         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9311         the (Paragraph*) version when needed instead of duplicating the
9312         code.
9313
9314         * text.C (workWidth): use Inset::parOwner to find out where the
9315         inset has been inserted. This is a huge performance gain for large
9316         documents with lots of insets. If Inset::parOwner is not set, fall
9317         back on the brute force method
9318
9319         * paragraph_pimpl.C (insertInset):
9320         * paragraph.C (Paragraph):
9321         (cutIntoMinibuffer): set parOwner of insets when
9322         inserting/removing them
9323
9324         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9325
9326 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9327
9328         * commandtags.h:
9329         * LyXAction.C:
9330         * lyx_main.C:
9331         * lyxfunc.C:
9332         * mathed/formulabase.C:
9333         * mathed/math_cursor.[Ch]:
9334         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9335
9336
9337 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9338
9339         * lyxlength.[Ch] (operator!=): new function
9340
9341 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9342
9343         * text.C (workWidth): use Inset::parOwner to find out where the
9344         inset has been inserted. This is a huge performance gain for large
9345         documents with lots of insets. If Inset::parOwner is not set, fall
9346         back on the brute force method
9347
9348         * paragraph_pimpl.C (insertInset):
9349         * paragraph.C (Paragraph):
9350         (cutIntoMinibuffer): set parOwner of insets when
9351         inserting/removing them
9352
9353         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9354
9355 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9356
9357         * tabular-old.C (getTokenValue):
9358         * tabular.C (getTokenValue):
9359         (write_attribute): new versions for LyXLength
9360         (everywhere): adjust the use of widths
9361
9362         * tabular.h: change the type of widths from string to LyXLength
9363
9364 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9365
9366         * paragraph.C: fixed missing line number count when exporting
9367         Environments to LaTeX file
9368
9369         * buffer.C: added informational message for checking line numbers.
9370
9371 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9372
9373         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9374         paragraph, do the 'double space' part, but not the 'empty
9375         paragraph' one.
9376
9377         * text.C (workWidth): small optimization
9378         (getLengthMarkerHeight): use minimal size for negative lengths.
9379
9380 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9381
9382         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9383
9384         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9385
9386 2001-12-11  André Pönitz <poenitz@gmx.net>
9387
9388         * FontLoader.C:
9389         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9390
9391 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9392
9393         * text2.C: keep selection on a setFont()
9394
9395 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9396
9397         * lyx_cb.C: another bv->text misuse, from insert label
9398
9399 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9400
9401         * kbsequence.h:
9402         * kbsequence.C: re-instate nmodifier mask
9403
9404 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9405
9406         * lyx_main.h: make lyxGUI private.
9407
9408 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9409
9410         * lyxfind.C: place the cursor correctly on failed search
9411
9412 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9413
9414         * text.C (getLengthMarkerHeight): for small heights, the arrows
9415         are not always on top/bottom of the text
9416         (drawLengthMarker): smaller arrows; take the left margin in
9417         account; draw also vfills.
9418         (paintFirstRow):
9419         (paintLastRow): remove special code for vfill and standard spaces,
9420         since everything is handled in drawLengthMarker now.
9421
9422 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9423
9424         * buffer.C (insertErtContents): try to handle font and language
9425         interaction a bit better.g
9426
9427         * ColorHandler.C (updateColor): change the hash to cover the whole
9428         LColor enum, ws cleanup
9429         (getGCLinepars): ditto
9430         (getGCLinepars): only lookup in the linecache once.
9431
9432 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9433
9434         * iterators.C (operator++): Make the iterator more robust
9435
9436         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9437         (John's patch)
9438         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9439
9440 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9441
9442         * lyxtext.h:
9443         * text.C: better added space drawing
9444
9445 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9446
9447         * LyXView.C:
9448         * BufferView2.C: fix layout combo update on inset unlock
9449
9450 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9451
9452         * Makefile.am: don't compile unused files
9453
9454 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9455
9456         * lyxfunc.C:
9457         * commandtags.h:
9458         * LyXAction.C: remove old LFUN_LAYOUTNO
9459
9460 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9461
9462         * paragraph_pimpl.h:
9463         * paragraph_pimpl.C: isTextAt() doesn't need font param
9464
9465 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9466
9467         * lyxlex.h:
9468         * lyxlex.C: little cleanup
9469
9470 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9471
9472         * BufferView_pimpl.C: fix insertAscii for insets
9473
9474 2001-12-05  Juergen Vigna  <jug@sad.it>
9475
9476         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9477         set the right font on the "multi" paragraph paste!
9478
9479 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9480
9481         * trans_decl.h:
9482         * trans_mgr.[Ch]:
9483         * trans.[Ch]:
9484         * lyxgluelength.C:
9485         * lyxlength.C: remove out-commented code.
9486
9487         * BufferView_pimpl:
9488         * CutAndPaste.C:
9489         * DepTable.C:
9490         * buffer.C:
9491         * chset.C:
9492         * lastfiles.C:
9493         * lyxlex.C:
9494         * lyxlex_pimpl.C:
9495         * lyxserver.C:
9496         * screen.C:
9497         * tabular-old.C:
9498         * tabular.C:
9499         * text.C:
9500         * trans_mgr.C:
9501         * vc-backend.C: change "while(" to "while ("
9502
9503         * lyxlength.[Ch]: add zero function to check if length is zero or
9504         not
9505         * lyxgluelength.C: use it
9506
9507 2001-12-05  Allan Rae  <rae@lyx.org>
9508
9509         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9510         Works for 2.95.3, from what I understand of Garst's reports this should
9511         work for other g++ versions.  We're screwed if the abs(int) definition
9512         changed between bugfix releases of gcc.
9513
9514 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9515
9516         * text.C: fix chapter label offset !
9517
9518 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9519
9520         * lyxtext.h:
9521         * text.C: fix hfill at end of line, clean up
9522
9523 2001-12-04  Juergen Vigna  <jug@sad.it>
9524
9525         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9526         that we force an update of the inset and it's owners if neccessary.
9527
9528 2001-12-03  Juergen Vigna  <jug@sad.it>
9529
9530         * text.C (rowLast): simplified code
9531
9532 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9533
9534         * lyxfunc.C: fix show options on timeout
9535
9536 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9537
9538         * screen.C (topCursorVisible): scroll half a page when the cursor
9539         reached top of bottom of screen
9540
9541 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9542
9543         * minibuffer.C: deactivate on loss of focus
9544
9545 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9546
9547         * vspace.[Ch] (operator!=): add operator.
9548
9549 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9550
9551         * BufferView_pimpl.C: refuse to open an inset when
9552         there's a selection.
9553
9554 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9555
9556         * BufferView_pimpl.C: allow to click on RHS of full row insets
9557
9558 2001-11-30  Juergen Vigna  <jug@sad.it>
9559
9560         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9561         insets for undo reasons.
9562
9563 2001-11-28  André Pönitz <poenitz@gmx.net>
9564
9565         * vspace.[Ch]: cosmetical changes
9566
9567 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9568
9569         * LyXAction.h:
9570         * LyXAction.C:
9571         * lyxfunc.h:
9572         * lyxfunc.C:
9573         * kbmap.h:
9574         * kbmap.C:
9575         * lyxrc.C:
9576         * kbsequence.h:
9577         * kbsequence.C: part re-write of old kb code
9578
9579         * Painter.C:
9580         * WorkArea.C: remove Lgb_bug_find_hack
9581
9582 2001-11-30  José Matos <jamatos@fep.up.pt>
9583
9584         * buffer.C (makeDocBookFile): add a comment to point a hack.
9585         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9586         Fixed a double write of labels.
9587
9588 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9589
9590         * LaTeX.C:
9591         * LaTeX.h Fixed bug in LaTeX class where it would not
9592         re-run latex if no depfiles were changed, but the .dvi was removed.
9593
9594 2001-11-28  André Pönitz <poenitz@gmx.net>
9595
9596         * all the files from the change on 2001/11/26:
9597         use lyx::layout_type instead of LyXTextClass::size_type
9598         use lyx::textclass_type instead of LyXTextClassList::size_type
9599
9600 2001-11-29  Juergen Vigna  <jug@sad.it>
9601
9602         * text.C: added support for paragraph::isFreeSpacing()
9603
9604         * buffer.C: same as above
9605
9606         * paragraph.h: inserted isFreeSpacing() function to enable
9607         FreeSpacing inside InsetERT.
9608
9609         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9610         of the paragraph's in the cut/copy buffer to 0!
9611
9612         * text2.C (removeRow): remove the assert as it can!
9613
9614         * lyxtext.h: added helper function firstRow returning firstrow and
9615         made firstrow private again.
9616
9617         * BufferView2.C (lockInset): don't relock if we're already locked!
9618
9619         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9620         the only paragraph.
9621         (removeRow): added Assert::(firstrow)
9622
9623         * debug.C: forgot to add INSETTEXT here.
9624
9625 2001-11-28  Juergen Vigna  <jug@sad.it>
9626
9627         * sp_spell.C (initialize): changed error text to more general
9628         spellchecker command use (not only ispell!)
9629
9630         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9631
9632         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9633
9634 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9635
9636         * vspace.C: initialise lyxgluelength on failure
9637
9638 2001-11-28  Allan Rae  <rae@lyx.org>
9639
9640         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9641         declaration & definition that looks like a function declaration.
9642
9643 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9644
9645         * BufferView2.C (copy):
9646         (copyEnvironment): do not clear the selection when doing a copy.
9647
9648         * text.C (paintFirstRow): compilation fix
9649
9650 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9651
9652         * tabular.C (Latex): correct line count when writing latex.
9653
9654 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9655
9656         * paragraph_pimpl.h:
9657         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9658           bug a bit
9659
9660 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9661
9662         * text.C:
9663         * LColor.h:
9664         * LColor.C: change vfillline->added_space
9665
9666         * text.C: add markers and text for added space
9667
9668         * vspace.C: fix comment
9669
9670 2001-11-28  André Pönitz <poenitz@gmx.net>
9671
9672         * paragraph.C: whitespace changes
9673         * all the other files from the change on 2001/11/26:
9674         change *::pos_type into lyx::pos_type
9675
9676 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9677
9678         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9679         language of the document when inserting error insets.
9680
9681 2001-11-26  André Pönitz <poenitz@gmx.net>
9682
9683         * BufferView_pimpl.[Ch]:
9684         *       CutAndPaste.C:
9685         * buffer.[Ch]:
9686         * lyxcursor.[Ch]:
9687         * lyxfind.C:
9688         * lyxfunc.C:
9689         * lyxrow.[Ch]:
9690         * paragraph.[Ch]:
9691         * paragraph_pimpl.[Ch]:
9692         * sp_spell.C:
9693         * text.C:
9694         * text2.C: reduce header dependencies, introduce type for positions
9695
9696 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9697
9698         * <various>: change to use Alert.h
9699
9700 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9701
9702         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9703         when encountering an unknown token.
9704         (readLyXformat2): Show an error message if there were unknown tokens.
9705
9706 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9707
9708         * BufferView2.C:
9709         * BufferView_pimpl.C:
9710         * buffer.C:
9711         * paragraph.h:
9712         * text.C:
9713         * text2.C: use par->isInset()
9714
9715 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9716
9717         * paragraph_pimpl.h:
9718         * paragraph_pimpl.C: cleanup
9719
9720 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9721
9722         * text2.C (removeRow):
9723         * text.C (setHeightOfRow): remove useless (and costly) call to
9724         getRow.
9725
9726 2001-11-20  Allan Rae  <rae@lyx.org>
9727
9728         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9729         Now need Inset*::checkInsertChar() to return true for appropriate
9730         cases so that the characters in the minibuffer will actually be
9731         inserted.
9732
9733 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9734
9735         * text.C: change the order of the includes.
9736         (workWidth): initialize it at once.
9737         (workWidth): make maxw unsigned
9738         (setHeightOfRow): remove unused variable (inset)
9739         (selectSelectedWord): remove unused variable (inset)
9740         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9741
9742 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9743
9744         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9745         server is not running.
9746         (openConnection):
9747         (closeConnection): add debug info when server is disabled.
9748
9749         * ColorHandler.C (getGCForeground): send debug message to GUI
9750         channel.
9751
9752         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9753
9754         * kbmap.C (bind): modify because return conventions of
9755         kb_sequence::parse have changed.
9756
9757         * kbsequence.C (parse): only ignore spaces and not any stupid
9758         control character. This avoids tests like s[i] <= ' ', which are
9759         guaranteed to fail with 8bit characters and signed chars.
9760         Change return code to string::npos when there have been no error
9761         (0 was a bad idea when error is at first character)
9762
9763 2001-11-14  José Matos  <jamatos@fep.up.pt>
9764
9765         * buffer.h:
9766         * buffer.C (simpleDocBookOnePar): removed unused argument.
9767
9768 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9769
9770         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9771         insets which are part of a word. Paragraph::isLetter takes care of
9772         that now. Use Paragraph::isInset to identify insets.
9773         (selectSelectedWord): do not test for hyphenation break.
9774
9775         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9776         that protected spaces are considered as spaces.
9777
9778         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9779         Inset::isLetter.
9780
9781 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9782
9783         * lyxserver.h:
9784         * lyxserver.C: fix it. and small cleanup.
9785
9786 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9787
9788         * BufferView_pimpl.C: use inline helpers
9789
9790         * LaTeXFeatures.h:
9791         * LaTeXFeatures.C: fix typos
9792
9793         * Spacing.h:
9794         * Spacing.C: move spacing_string into class
9795
9796         * ToolbarDefaults.C: move stuff into namespace anon
9797
9798         * layout.h: update enum
9799
9800         * lyxfunc.C: use better debug
9801
9802         * minibuffer.h: fix typo
9803
9804         * debug.h:
9805         * debug.C:
9806         * WorkArea.C: add and use Debug::WORKAREA
9807
9808         * lyxtext.h:
9809         * text.C:
9810         * text2.C: code re-organisation, inline helpers
9811
9812 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9813
9814         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9815         std::vector.empty().
9816
9817 2001-11-09  Allan Rae  <rae@lyx.org>
9818
9819         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9820         '\n's after tables.  Tabular and ERT inset work now makes this no
9821         longer necessary.
9822
9823 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9824
9825         * minibuffer.h:
9826         * minibuffer.C: fix crash, improve drop-down completion
9827
9828 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9829
9830         * lyxserver.h:
9831         * lyxserver.C: invalidate fd's when doing endPipe()
9832
9833 2001-11-08  José Matos  <jamatos@fep.up.pt>
9834
9835         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9836         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9837
9838         * paragraph.h:
9839         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9840
9841 2001-11-07  José Matos  <jamatos@fep.up.pt>
9842
9843         * buffer.h:
9844         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9845         const qualifier.
9846
9847         * buffer.C (sgmlOpenTag):
9848         * buffer.C (sgmlCloseTag): removed debug info.
9849
9850         * buffer.h (sgmlOpenTag):
9851         * buffer.h (sgmlCloseTag): made public.
9852
9853 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9854
9855         * buffer.C (saveParamsAsDefaults):
9856         * lyx_cb.C (MenuLayoutSave): remove
9857
9858         * LyXAction.C (init):
9859         * commandtags.h:
9860         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9861
9862 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9863
9864         * buffer.C (setPaperStuff): removed from here...
9865
9866         * bufferparams.C (setPaperStuff): ... and moved there.
9867
9868 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9869
9870         * minibuffer.h:
9871         * minibuffer.C:
9872         * XFormsView.C: add support for drop-down completion
9873
9874 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9875
9876         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9877         commands.
9878
9879 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9880
9881         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9882         disabled.
9883
9884 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9885
9886         * lyx_main.C: change ref to known bugs
9887
9888 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9889
9890         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9891         to work around older babel problems.
9892
9893 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9894
9895         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9896
9897 2001-10-24  Juergen Vigna  <jug@sad.it>
9898
9899         * tabular-old.C (ReadOld): below variable changes reflected.
9900
9901         * tabular.[Ch]: added ltType struct for longtable header/footer
9902         defines and changed all instances where they are used. Added
9903         future support for double top/bottom rows.
9904
9905 2001-10-24  José Matos  <jamatos@fep.up.pt>
9906
9907         * buffer.h (docbookHandleCaption):
9908         * buffer.C (docbookHandleCaption): removed unused function.
9909         (makeDocBookFile): moved docbook supported version to v4.1.
9910
9911 2001-10-24  José Matos  <jamatos@fep.up.pt>
9912
9913         * tabular.h:
9914         * tabular.C (docbookRow): new function to export docbook code of a row.
9915         (DocBook): now honors the longtable flags.
9916
9917 2001-10-23  José Matos  <jamatos@fep.up.pt>
9918
9919         * LaTeXFeatures.h:
9920         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9921         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9922
9923         * buffer.C (makeLinuxDocFile):
9924         (makeDocBookFile): reworked the preamble, more clean, and with
9925         support for lyx defined entities. Changed the document declaration
9926         to be more XML friendly.
9927
9928         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9929         if we need to output XML that should be done with a filter.
9930
9931 2001-10-22  Juergen Vigna  <jug@sad.it>
9932
9933         * sp_pspell.h (class PSpell): add alive function needed in the
9934         controller to see if the spellchecker could be started.
9935
9936 2001-10-22  Juergen Vigna  <jug@sad.it>
9937
9938         * buffer.C (insertStringAsLines): modify the font for inserting
9939         chars in certain conditions by calling checkInsertChar(font).
9940
9941 2001-10-19  Juergen Vigna  <jug@sad.it>
9942
9943         * text.C (workWidth): use getRow instead of wrong algorithm.
9944         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9945
9946 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9947
9948         * lyxserver.h:
9949         * lyxserver.C:
9950         * lyx_main.h:
9951         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9952
9953 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9954
9955         * text.C (workWidth): do not search for the exact row when
9956         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9957         optimization for big documents.
9958
9959 2001-10-18  Juergen Vigna  <jug@sad.it>
9960
9961         * text.C (workWidth): new function with added Inset * parameter.
9962
9963 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9964
9965         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9966
9967         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9968         change return type of getColumnNearX.
9969
9970
9971         * text.C (changeRegionCase): use uppercase/lowercase instead of
9972         toupper/tolower.
9973         (leftMargin):
9974         (rightMargin): simplify code by factoring out the uses of
9975         textclasslist.
9976         (labelFill):
9977         (numberOfHfills):
9978         (setHeightOfRow):
9979         (appendParagraph): use Paragraph::size_type
9980
9981 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9982
9983         * vspace.C (asLatexString): add a missing break
9984
9985 2001-10-15  Herbert Voss  <voss@perce.de>
9986
9987         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9988
9989 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9990
9991         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9992         is not available.
9993
9994 2001-10-10  André Pönitz <poenitz@gmx.net>
9995
9996         * lyxfunc.C: removed greek_kb_flag.
9997
9998 2001-10-10  Herbert Voss  <voss@perce.de>
9999
10000         * lyx_main.C: delete global string help_lyxdir.
10001
10002 2001-10-09  Herbert Voss  <voss@perce.de>
10003
10004         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10005
10006         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10007
10008         * lyx_main.C: added global string help_lyxdir.
10009
10010         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10011
10012 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10013
10014         * lyxrc.C (set_font_norm_type): support iso8859-4
10015
10016 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10017
10018         * LaTeX.C (deplog): add another regex for MikTeX
10019
10020 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10021
10022         * lyxrc.C (set_font_norm_type): support iso8859-3
10023
10024 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10025
10026         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10027
10028         * LaTeXFeatures.C: remove special case of french and index
10029
10030         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10031         before \begin{document}). This solves several incompatibilities.
10032
10033 2001-10-03  Garst Reese  <reese@isn.net>
10034
10035         * lyx_cb.C: change CheckTex error msg.
10036
10037 2001-10-03  José Matos  <jamatos@fep.up.pt>
10038
10039         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10040
10041 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10042
10043         * .cvsignore: update
10044
10045         * lyx_main.C (commandLineVersionInfo): use new style version info.
10046
10047         * buffer.C (writeFile):
10048         (makeLaTeXFile):
10049         (makeLinuxDocFile):
10050         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10051
10052         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10053
10054         * version.h: update to use stuff in version.C
10055
10056         * version.C.in: new file. Contains version information determined
10057         at compile time. This is a merging of version.h and
10058         version_info.h.in.
10059
10060 2001-10-03  Juergen Vigna  <jug@sad.it>
10061
10062         * BufferView_pimpl.C (update): don't change "dirty" status in
10063         updateInset call.
10064
10065 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10066
10067         * WorkArea.C (c-tor): re-position version string slightly.
10068
10069 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10070
10071         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10072         revert to previous code.
10073
10074         WorkArea.[Ch]: (show, destroySplash): methods removed.
10075
10076         WorkArea.C: rework code so that it's an amalgam of the codes before and
10077         after the splash screen was moved to WorkArea.
10078
10079 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10080
10081         * lyxrc.C (read):
10082         * vspace.C (inPixels):
10083         (lyx_advance):
10084         * kbmap.C (bind):
10085         * buffer.C (insertStringAsLines):
10086         (asciiParagraph): fix types to be large enough
10087
10088         * lyxlex_pimpl.h: change member status from short to int
10089
10090         * layout.h: fix type of endlabeltype
10091
10092         * kbmap.C (bind):
10093         * kbsequence.C (parse): change return type to string::size_type
10094
10095         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10096         variable
10097
10098         * Bullet.C (bulletSize):
10099         (bulletEntry): do not use short ints as parameters
10100
10101         * BufferView2.C (insertLyXFile): change a char to an int.
10102
10103         * WorkArea.C (WorkArea): remove unneeded floats in computation
10104
10105 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10106
10107         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10108
10109         * paragraph.C (asString): Do not ignore newline/hfill chars when
10110         copying to the clipboard.
10111
10112 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10113
10114         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10115         after a multi-line inset.
10116
10117 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10118
10119         * paragraph.C (validate): Set NeedLyXFootnoteCode
10120
10121 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10122
10123         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10124         and decrease-error to decrease.
10125
10126 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10127
10128         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10129         it more readable (should be equivalent)
10130
10131 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10132
10133         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10134
10135 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10136
10137         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10138         of a cursor (row, etc.) after a character has been deleted
10139         (deleteEmptyParagraphMechanism): call the method above on _all_
10140         cursors held by the LyXText when a double space has been
10141         detected/deleted.
10142
10143 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10144
10145         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10146         pixmap.
10147         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10148
10149         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10150         background. Use greyOut() and the new show() methods to toggle between
10151         the foreground and background. Add code to remove the splash after
10152         its initial showing.
10153
10154         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10155         (create_forms): no longer call Dialogs::showSplash.
10156
10157 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10158
10159         * .cvsignore: add version_info.h
10160
10161 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10162
10163         * version_info.h.in: new file
10164
10165         * Makefile.am: add version_info.h.in
10166
10167         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10168         version_info.h instead of VERSION_INFO
10169
10170 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10171
10172         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10173         The ERT inset now returns string().
10174
10175 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10176
10177         * lyxtext.h, text.C (selectNextWord): renamed as
10178         selectNextWordToSpellcheck.
10179
10180         * text.C (selectNextWordToSpellcheck): Modified to not select
10181         words inside an ERT inset.
10182
10183 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10184
10185         * lyx_cb.C (MenuLayoutSave): change a bit the question
10186
10187         * sp_base.h: include <sys/types.h>
10188
10189 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10190
10191         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10192
10193 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10194
10195         * several files: fix typos in user-visible strings
10196
10197 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10198
10199         * text2.C (pasteSelection): do not set the selection, since it
10200         will be cleared later. Actually, the intent was to fix the way the
10201         selection was set, but I figured rmoving the code was just as good.
10202
10203 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10204
10205         * FontLoader.C (available): Check if font is available without
10206         loading the font.
10207
10208 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10209
10210         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10211
10212 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10213
10214         * lyxrc.[Ch]: added display_graphics variable and associated code.
10215
10216 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10217
10218         * bufferparams.C (hasClassDefaults): new method. Returns true if
10219         the buffer parameters correspond to known class defaults
10220
10221 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10222
10223         * XFormsView.C (show): set minimum size to the main window.
10224
10225 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10226
10227         * text2.C (copySelection):
10228         (cutSelection):
10229         * lyxfind.C (LyXReplace):
10230         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10231         LyXText::selectionAsString.
10232
10233         * paragraph.C (asString): add "label" argument to the second form
10234
10235         * text2.C (selectionAsString): add "label" argument and pass it to
10236         Paragraph::asString.
10237
10238 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10239
10240         * lyx_main.C (commandLineHelp): remove version information
10241
10242 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10243
10244         * lyx_main.C: add -version commandline option
10245
10246 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10247
10248         * paragraph.h: make the optional constructor arg required instead.
10249         some modifications to other files because of this.
10250
10251         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10252
10253         * lyxserver.C (C_LyXComm_callback): make it static
10254
10255         * lyx_main.C (error_handler): make it static
10256
10257         * lyx_gui.C (LyX_XErrHandler): make it static
10258
10259         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10260
10261         * WorkArea.C: make the extern "C" methods static.
10262
10263         * Makefile.am (lyx_LDADD): simplify
10264
10265 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10266
10267         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10268         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10269
10270         * LyXAction.C (init):
10271         * lyxfunc.C (dispatch): associated code removal.
10272
10273 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10274
10275         * lyxfont.h (isSymbolFont): shut off warning
10276
10277         * text.C (setHeightOfRow):
10278         (getVisibleRow): fix crash with empty paragraphs which have a
10279         bottom line
10280
10281 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10282
10283         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10284         code.
10285
10286 2001-09-04  José Matos  <jamatos@fep.up.pt>
10287         * buffer.C
10288         * buffer.h
10289         * tabular.C (docbook): rename docBook method to docbook.
10290
10291 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10292
10293         * Makefile.am: add dependencies to main.o.
10294
10295 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10296
10297         * FontLoader.C (available): Return false if !lyxrc.use_gui
10298
10299 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10300
10301         * FontInfo.C (query):
10302         * converter.C (view):
10303         * importer.C (Import):
10304         * exporter.C (Export): Can not -> cannot.
10305
10306 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10307
10308         * BufferView_pimpl.C: allow to create index inset even if
10309           string is empty
10310
10311 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10312
10313         * buffer.C (getLists): replace boost::tie code with an explicit pair
10314         as boost::tie can break some compilers.
10315
10316         * iterators.h: Added a std:: declaration to the return type of
10317         ParIterator::size.
10318
10319 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10320
10321         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10322           case.
10323
10324 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10325
10326         * iterators.[Ch]: New files. Provide paragraph iterators.
10327
10328         * buffer.C (changeLanguage): Use paragraph iterators.
10329         (isMultiLingual): ditto
10330
10331         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10332
10333 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10334
10335         * FontLoader.C: Support for cmr font.
10336
10337 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10338
10339         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10340         (available): New method.
10341
10342         * FontInfo.C (getFontname): Use scalable fonts even when
10343         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10344         found.
10345
10346 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10347
10348         * converter.C (Formats::view): reverted! Incorrect fix.
10349
10350 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10351
10352         * converter.C (Formats::view): only output the -paper option
10353         if the dvi viewer is xdvi, thereby fixing bug #233429.
10354
10355 2001-08-23  Herbert Voss  <voss@perce>
10356
10357         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10358
10359 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10360
10361         * Spacing.h (Spacing): Set space to Default on in the default
10362         constructor.
10363
10364 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10365
10366         * vc-backend.h (RCS::versionString): add RCS to version
10367         (CVS::versionString): add CVS to version
10368
10369         * vc-backend.C (scanMaster): do not add CVS to version.
10370         (scanMaster): do not add RCS to version
10371
10372         * lyxvc.C (versionString): new method
10373
10374         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10375
10376 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10377
10378         * Spacing.C (set): initialize fval
10379
10380 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10381
10382         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10383         " or \.
10384
10385 2001-08-16  Juergen Vigna  <jug@sad.it>
10386
10387         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10388
10389 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10390
10391         * BufferView_pimpl.C:
10392         * figureForm.C:
10393         * lyxtext.h:
10394         * text2.C: setParagraph takes linespacing now
10395
10396 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10397
10398         * LyxAction.C: add internal LFUN_CITATION_INSERT
10399
10400         * LyXView.C: actually apply fix
10401
10402         * bufferlist.C: fix open non-existent file
10403
10404         * lyxfind.C: fix indentation
10405
10406         * lyxfunc.C: remove unneeded assert, fix typo
10407
10408 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10409
10410         * MenuBackend.C: use "Floatname List"
10411
10412 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10413
10414         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10415         when converting LaTeX layout to insetERT.
10416         Generate a non-collapsed float when reading old float
10417
10418 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10419
10420         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10421         ERT insets.
10422
10423 2001-08-13  Juergen Vigna  <jug@sad.it>
10424
10425         * text.C (fill): return 0 instead of 20 as this seems to be the more
10426         correct value.
10427
10428 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10429
10430         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10431         lyxrc.font_norm.
10432
10433 2001-08-13  Juergen Vigna  <jug@sad.it>
10434
10435         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10436         casesensitive off.
10437         (SearchBackward): comment out the unlocking of the inset_owner this
10438         should not be needed!
10439
10440 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10441
10442         * Many files: Remove inherit_language, and add latex_language
10443
10444         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10445         collapsible insets.
10446
10447 2001-08-10  Juergen Vigna  <jug@sad.it>
10448
10449         * text.C (prepareToPrint): fixed hfill-width in draw!
10450
10451         * BufferView2.C (selectLastWord): save the selection cursor as this
10452         now is cleared in the function LyXText::clearSelection!
10453
10454 2001-08-08  Juergen Vigna  <jug@sad.it>
10455
10456         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10457         BACKSPACE type functions.
10458
10459         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10460         is only cutted from the document but not put in the cut-buffer, where
10461         still the old stuff should be.
10462
10463         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10464
10465         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10466
10467         * tabular.C (SetWidthOfCell): fixed special case where the width
10468         was not updated!
10469         (LeftLine): handle '|' in align_special.
10470         (RightLine): ditto
10471         (LeftAlreadyDrawed): ditto
10472         (SetWidthOfCell): ditto
10473
10474 2001-08-07  Juergen Vigna  <jug@sad.it>
10475
10476         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10477
10478 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10479
10480         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10481         * lyxlex.[hC]: ditto
10482
10483 2001-08-06  Juergen Vigna  <jug@sad.it>
10484
10485         * text.C (getVisibleRow): fix up row clearing a bit.
10486
10487 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10488
10489         * minibuffer.C: make sure the X server sees the changes in the input.
10490
10491 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10492
10493         * paragraph.C (getFont): split into...
10494         (getLabelFont): this
10495         (getLayoutFont): and this
10496         * paragraph_pimpl.C (realizeFont): calling this
10497
10498         * text2.C (getFont): split into...
10499         (getLayoutFont): this
10500         (getLabelFont): and this
10501         (realizeFont): all three calling this
10502
10503         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10504         files where used.
10505
10506 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10507
10508         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10509
10510 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10511
10512         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10513         layouts from the Quote inset insertion.
10514
10515 2001-08-03  Juergen Vigna  <jug@sad.it>
10516
10517         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10518
10519         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10520         only if status not is already CHANGED_IN_DRAW (second level).
10521
10522         * text.C (draw): don't set the need_break_row when inside an
10523         InsetText LyXText.
10524
10525 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10526
10527         * buffer.C (parseSingleLyXformat2Token): handle more latex
10528         conversion cases.
10529
10530         * bufferview_funcs.[hC]: change function names to
10531         begin with small char, adjust other files.
10532
10533 2001-08-02  André Pönitz <poenitz@gmx.net>
10534
10535         * lyxfunc.C:
10536         BufferView_pimpl.C: remove broken special code for math-greek
10537
10538 2001-08-02  Juergen Vigna  <jug@sad.it>
10539
10540         * BufferView_pimpl.C (update): redone this function so that we
10541         update the text again if there was a CHANGE_IN_DRAW.
10542
10543         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10544         (drawFromTo): added a new internal bool which is used by draw() and
10545         redraw() function.
10546         (general): some cursor drawing problems fixed.
10547
10548 2001-08-01  Juergen Vigna  <jug@sad.it>
10549
10550         * lyxfind.C (LyXFind): fixed
10551         (SearchForward): ditto
10552         (SearchBackward): ditto
10553
10554         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10555         spurius drawing of the cursor in the main area.
10556
10557         * text2.C (status): small fix which could lead to a segfault!
10558         (clearSelection): remove unneeded BufferView param.
10559
10560 2001-08-01  André Pönitz <poenitz@gmx.net>
10561
10562         * lyxfunc.C: small change due to changed mathed interface
10563
10564 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10565
10566         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10567
10568 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10569
10570         * lyxfunc.c: fail gracefully if file doesn't exist
10571
10572         * LyXSendto.C:
10573         * buffer.C:
10574         * lyxfunc.C:
10575         * BufferView_pimpl.C: IsDirWriteable() proto changed
10576
10577         * LyXView.C: fix updateWindowTitle() to store the last title
10578
10579 2001-07-31  Juergen Vigna  <jug@sad.it>
10580
10581         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10582         the font (wrong since using of Paragraph::highestFontInRange).
10583
10584         * paragraph.C (highestFontInRange): added a default_size parameter.
10585
10586         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10587         (setHeightOfRow): reformat
10588
10589 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10590
10591         * converter.[hC] + affected files: move to (inital-char)lowercase
10592         function names.
10593
10594         * ParagraphParameters.C (ParagraphParameters): remove commented code
10595
10596         * PainterBase.[Ch]: remove commented code
10597
10598         * LaTeXFeatures.h: add "bool floats" for float.sty
10599
10600         * LaTeXFeatures.C (LaTeXFeatures): init floats
10601         (require): handle float
10602         (getPackages): do it with floats
10603
10604 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10605
10606         * BufferView_pimpl.C (Dispatch): improve handling of
10607         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10608
10609         * commandtags.h: #include lyxfont.h here temporarily to avoid
10610         keybinding bug.
10611
10612         * bufferlist.h: include LString.h here.
10613
10614 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10615
10616         * text2.C (getStringToIndex): new method.
10617
10618 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10619
10620         * *: Reduced header file dependencies all over.
10621
10622 2001-07-30  Baruch Even  <baruch@lyx.org>
10623
10624         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10625
10626 2001-07-29  Baruch Even  <baruch@lyx.org>
10627
10628         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10629
10630 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10631
10632         * ParameterStruct.h (endif): add a default constructor to make
10633         sure that all variables is initialized.
10634
10635         * ParagraphParameters.C (ParagraphParameters): adjust
10636
10637 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10638
10639         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10640         index; also, check that there is something to index, and that it
10641         does not span over several paragraphs.
10642         (doubleClick): use WHOLE_WORD_STRICT for double click.
10643
10644         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10645
10646         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10647         scheme.
10648
10649 2001-07-26  Baruch Even  <baruch@lyx.org>
10650
10651         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10652         an InsetFig figure, backwards compatible reading of old figure code.
10653
10654 2001-07-27  Juergen Vigna  <jug@sad.it>
10655
10656         * text2.C: font.realize function adaption.
10657
10658         * text.C (draw): add a warnings lyxerr text if needed.
10659
10660         * layout.C: font.realize function adaption.
10661
10662         * language.C: add inherit_language and implement it's handlings
10663
10664         * bufferview_funcs.C (StyleReset): remove language parameter from
10665         font creation (should be language_inherit now).
10666
10667         * bufferparams.C (writeFile): handle ignore_language.
10668
10669         * paragraph.C (getFontSettings): the language has to be resolved
10670         otherwise we have problems in LyXFont!
10671
10672         * lyxfont.C (lyxWriteChanges): added document_language parameter
10673         (update): removed unneeded language parameter
10674
10675         * paragraph.C (validate): fixed wrong output of color-package when
10676         using interface colors for certain fonts in certain environments,
10677         which should not seen as that on the final output.
10678
10679 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10680
10681         * BufferView_pimpl.C:
10682         * Thesaurus.h:
10683         * Thesaurus.C:
10684         * Makefile.am:
10685         * commandtags.h:
10686         * LyXAction.C: add thesaurus support
10687
10688         * lyxfind.h:
10689         * lyxfind.C: add "once" parameter, for thesaurus, to not
10690           move to the next match
10691
10692 2001-07-26  Juergen Vigna  <jug@sad.it>
10693
10694         * lyxfont.C (realize): honor ignore_language too!
10695         (resolved): ditto.
10696
10697         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10698
10699         * text.C (draw): one place more for ignore_language to not draw
10700         itself!
10701
10702 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10703
10704         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10705
10706 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10707
10708         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10709         the minipage conversion problem.
10710
10711 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10712
10713         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10714         insert an inset.
10715
10716 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10717
10718         * BufferView.h: don't forward declare WorkArea
10719
10720         * BufferView.C: don't include WorkArea.h
10721
10722 2001-07-25  André Pönitz <poenitz@gmx.net>
10723
10724         * commandtags.h:
10725         * LyXAction.C:
10726         * lyxfunc.C:  new LFUN 'math-space'
10727
10728         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10729
10730 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10731
10732         * text2.C (toggleInset): call open/close
10733
10734 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10735
10736         * lyxfunc.C (dispatch): add debug for the disabled case
10737
10738         * font.C (buttonText): make similar to rectText
10739
10740         * buffer.C (readInset): comment out parsing of insetlist and
10741         insttheorem
10742
10743         * PainterBase.C (rectText): small correction
10744
10745         * BufferView_pimpl.C: comment out insettheorem and insetlist
10746         * LyXAction.C: ditto
10747         * commandtags.h: ditto
10748
10749 2001-07-24  Juergen Vigna  <jug@sad.it>
10750
10751         * text.C (draw): honor the ignore_language.
10752
10753         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10754
10755 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10756
10757         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10758         char inset.
10759
10760 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10761
10762         * lyxtext.h: remove unused (and unimplemented) methods
10763
10764 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10765
10766         * text.C (getVisibleRow): honor background color
10767
10768         * PainterBase.h:
10769         * Painter.h: remove default color argument for fillRectangle
10770
10771         * text.C (backgroundColor): new method
10772
10773 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10774
10775         * text.C (getVisibleRow): adjust
10776
10777         * font.[Ch] (rectText): new method, metrics
10778         (buttonText): new method, metrics
10779
10780         * PainterBase.[hC]: make rectText and buttonText always draw and take
10781         fewer paramteres.
10782
10783 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10784
10785         * ToolbarDefaults.C (read):
10786         * MenuBackend.C (read): allow escaping in all strings
10787
10788         * BufferView_pimpl.C (insertAndEditInset): new method.
10789         (Dispatch): use insertAndEditInset whenever appropriate.
10790
10791         * BufferView_pimpl.C (insertNote): removed
10792
10793         * BufferView_pimpl.C (smartQuote): new method, moved from
10794         BufferView; if an insetquote cannot be inserted, insert a '"'
10795         character instead.
10796
10797         * BufferView2.C: remove insertCorrectQuote();
10798
10799         * lyxfunc.C (getStatus): Add support for all remaingin
10800         inset-insert lfuns.
10801
10802         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10803
10804         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10805         command (necessary to pass " as parameter of self-insert.
10806
10807         * text.C (selectWordWhenUnderCursor):
10808         (selectWord): add word_location parameter
10809         (selectWordWhenUnderCursor): same + remove special code for word
10810         boundary.
10811         (selectNextWord): use kind() to guess type of insetspecialchar,
10812         not latex().
10813
10814         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10815         (insertErtContents): create ert insets as collapsed.
10816         (readInset): better compatibility code for Info inset.
10817
10818 2001-07-20  Juergen Vigna  <jug@sad.it>
10819
10820         * lyxfunc.C (dispatch): use always LyXFind now!
10821
10822         * text2.C (init): add a reinit flag so that the LyXText can be
10823         reinited instead of deleted and reallocated (used in InsetText).
10824
10825         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10826
10827         * text.C: ditto
10828
10829         * text2.C: ditto
10830
10831 2001-07-18  Juergen Vigna  <jug@sad.it>
10832
10833         * text.C (selectNextWord): handle insets inside inset by calling
10834         always the bv->text functions so that we can go up the_locking_inset!
10835
10836         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10837         in strange locations when inside an inset!
10838
10839         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10840         handling to include insets.
10841
10842         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10843
10844 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10845
10846         * LyXAction.C (init):
10847         * commandtags.h:
10848         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10849         LIGATURE_BREAK, since the name is so stupid.
10850
10851 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10852
10853         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10854         InsetInfos.
10855
10856         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10857
10858         * sp_form.[Ch]: remove.
10859
10860         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10861
10862         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10863         InsetInfo.
10864
10865         * src/buffer.C (readInset): ditto.
10866
10867 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10868
10869         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10870         menuSeparator(), endOfSentenceDot(), ldots() and
10871         hyphenationPoint(), which are therefore removed.
10872         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10873
10874         * LyXAction.C (init):
10875         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10876
10877         * paragraph.C (getWord): removed.
10878
10879         * BufferView_pimpl.C (Dispatch): use last word or selection for
10880         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10881
10882         * lyx_main.C (queryUserLyXDir): do not ask before creating
10883         user_dir, except if it has been named explicitely.
10884
10885 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10886
10887         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10888         a document of zero size.
10889
10890 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10891
10892         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10893         approriately in the c-tor and in require().
10894         (getPackages): output the appropriate LaTeX for natbib support.
10895
10896         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10897         variables "use_natbib" and "use_numerical_citations" when reading the
10898         LyX file.
10899         (readInset): read the various natbib cite commands.
10900         (validate): white-space change.
10901
10902         * bufferparams.[Ch]: new variables "bool use_natbib" and
10903         "bool use_numerical_citations".
10904         (writeFile): output them in the LyX file.
10905
10906 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10907
10908         * lyxfunc.C (getStatus): add support for all the inset insertion
10909         commands.
10910
10911         * text2.C (insertInset):
10912         * paragraph.C (insetAllowed):
10913         * BufferView_pimpl.C (insertInset): update to take in account the
10914         renaming of insertInsetAllowed
10915
10916         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10917
10918         * text2.C (getInset): new method. returns inset at cursor position.
10919
10920         * BufferView_pimpl.C (Dispatch): changes because of this.
10921
10922         * LyXAction.C (init): rename open-stuff to inset-toggle.
10923
10924         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10925
10926         * text2.C (toggleInset): renamed from openStuff; use
10927         Inset::open().
10928
10929 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10930
10931         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10932
10933         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10934
10935 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10936
10937         * buffer.C (readLyXformat2): Add filename to the error dialog
10938
10939 2001-07-18  Juergen Vigna  <jug@sad.it>
10940
10941         * tabular.C (GetCellNumber): put an assert here instead of the check!
10942
10943 2001-07-17  Juergen Vigna  <jug@sad.it>
10944
10945         * BufferView_pimpl.C (toggleSelection): adapted too.
10946
10947         * text.C (selectNextWord): adapted for use with insets.
10948         (selectSelectedWord): ditto
10949
10950 2001-07-17  Juergen Vigna  <jug@sad.it>
10951
10952         * sp_spell.C (PSpell): fix initialitation order.
10953
10954 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10955
10956         * paragraph.C: spacing
10957
10958 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10959
10960         * sp_spell.C: repair language selection for pspell
10961
10962 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10963
10964         * lyxfunc.h: change more methods to begin with lower char.
10965
10966 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10967
10968         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10969         for unknown layouts.
10970
10971 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10972
10973         * buffer.C (readLyXformat2): Generate an error dialog if there are
10974         unknown layouts.
10975
10976 2001-07-16  Juergen Vigna  <jug@sad.it>
10977
10978         * sp_spell.C: always compile ISpell part.
10979
10980         * lyxrc.C: added use_pspell entry and it's handling.
10981
10982 2001-07-13  Juergen Vigna  <jug@sad.it>
10983
10984         * sp_spell.C: removed double includes.
10985
10986 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10987
10988         Consistent use of Lsstream.h:
10989         * Lsstream.h: added using std::stringstream for consistencies sake.
10990
10991         * buffer.C: removed using std::stringstream
10992
10993         * lyxfont.C (stateText):
10994         * paragraph.C (asString):
10995         * text.C (selectNextWord, selectSelectedWord):
10996         * text2.C (setCounter):
10997         * vspace.C (asString, asLatexString):
10998         std::ostringstream -> ostringstream.
10999
11000 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11001
11002         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11003         * commandtags.h: add LFUN_HELP_ABOUTLYX
11004         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11005
11006 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11007
11008         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11009         cursorToggle()
11010         * lyx_gui_misc.C: remove spellchecker
11011         * lyxfunc.C: showSpellchecker
11012         * sp_base.h: added
11013         * sp_ispell.h: added
11014         * sp_pspell.h: added
11015         * sp_spell.C: added
11016         * sp_form.[Ch]: removed
11017         * spellchecker.[Ch]: removed
11018
11019 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11020
11021         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11022         is set.
11023         (simpleTeXSpecialChars): Simply print the input character without
11024         any special translation if pass_thru is set.
11025
11026         * layout.h: Added bool pass_thru to layout class for being able to
11027         implement pass through of a paragraph for Literate Programming.
11028
11029         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11030         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11031         * layout.C (Read): add "passthru" to list of layout tags and add
11032         code to set the pass_thru boolean when it is read.
11033
11034 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11035
11036         * trans_decl.h: remove allowed from KmodInfo
11037
11038         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11039         remove allowed code
11040         (Load): adjust
11041
11042         * paragraph_pimpl.C (erase): use boost::prior
11043
11044         * Painter.C (text): use data() instead of c_str() when length is
11045         also provided.
11046         * WorkArea.C (putClipboard): ditto
11047         * font.h (width): ditto
11048
11049         * BufferView2.C: use it-> instead of (*it). for iterators
11050         * texrow.C: ditto
11051         * paragraph_pimpl.C: ditto
11052         * paragraph.C: ditto
11053         * minibuffer.C: ditto
11054         * language.C: ditto
11055         * kbmap.C: ditto
11056         * encoding.C: ditto
11057         * counters.C: ditto
11058         * converter.C: ditto
11059         * chset.C: ditto
11060         * Variables.C: ditto
11061         * TextCache.C: ditto
11062         * MenuBackend.C: ditto
11063         * LyXAction.C: ditto
11064         * LColor.C: ditto
11065         * FloatList.C: ditto
11066         * DepTable.C: ditto
11067         * ColorHandler.C (LyXColorHandler): ditto
11068
11069 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11070
11071         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11072
11073         * text2.C (openStuff): reintroduce this method (which had been
11074         nuked in NEW_INSETS frenzy).
11075
11076         * lyxfunc.C (Dispatch): when an action has not been handled, use
11077         its name in the error message, not its number.
11078
11079         * paragraph.C (inInset): change method name to begin with lowercase.
11080
11081         * undo_funcs.C:
11082         * text2.C: updates because of this.
11083
11084 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11085
11086         * ToolbarDefaults.C (add): add spaces in error message
11087
11088 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11089
11090         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11091         (readLyXformat2): rename return_par to first_par, use lyxlex's
11092         pushToken and remove the manual push handling.
11093         (parseSingleLyXformat2Token): add another ert comp. variable:
11094         in_tabular, rename return_par to first_par. handle newlines better
11095
11096 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11097
11098         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11099
11100 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11101
11102         * text2.C (getParFromID): removed
11103
11104         * buffer.C (getParFromID): new method moved form lyxtext.
11105         * BufferView2.C (insertErrors): adjust
11106         (setCursorFromRow): adjust
11107         * BufferView_pimpl.C (restorePosition): adjust
11108         * lyxfunc.C (Dispatch): adjust
11109         * undo_funcs.C (textUndo): adjust
11110         (textRedo): adjust
11111         (textHandleUndo): adjust
11112         (textHandleUndo): adjust
11113
11114 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11115
11116         * buffer.C: up' the LYX_FORMAT
11117
11118         * lyxfont.h: turn NO_LATEX on as default
11119
11120         * buffer.C (insertErtContents): new methods of tex style compability.
11121         (parseSingleLyXformat2Token): use it several places.
11122         * tabular.C (OldFormatRead): and here
11123
11124 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11125
11126         * text2.C: remove some commented code.
11127         reindent file.
11128
11129         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11130         * trans.C: changes because of the above.
11131
11132 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11133
11134         * text2.C (setCounter): Fix counters bug with bibliography layout.
11135
11136 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11137
11138         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11139         own member functions
11140         (simpleTeXSpecialChars): ditto
11141
11142 2001-07-06  Juergen Vigna  <jug@sad.it>
11143
11144         * a lot of files: changed the access to LyXText::status and the
11145         call of undo-functions.
11146
11147         * undo.[Ch]: added a inset_id to the undo informations.
11148
11149         * undo_funcs.[Ch]: added and moved here all undo functions.
11150
11151         * lyxtext.h: give the status enum a weight, made status_ a private
11152         variable and made accessor functions for it, removed the whole bunch
11153         of undo-functions as they are now in their own file, make some
11154         functions publically available. Added function ownerParagraph with
11155         int parameter.
11156
11157         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11158         made InInset() a const function, added getParFromID() function.
11159
11160         * buffer.[Ch]: added const version for inset_iterator functions,
11161         added getInsetFromID() function.
11162
11163         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11164         changed undo functions for new version.
11165
11166 2001-07-05  Juergen Vigna  <jug@sad.it>
11167
11168         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11169         unknow mechanism does not call the proper constructor but only this
11170         one also if I request the other!?
11171
11172 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11173
11174         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11175
11176         * text2.C (LyXText): use initialization lists.
11177
11178         * lyxtext.h (Selection): initialize set_ and mark_
11179         (init): remove method
11180
11181 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11182
11183         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11184
11185 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11186
11187         * screen.[Ch]: change method names to begin with lowercase
11188
11189         * BufferView_pimpl.C (updateScrollbar): simplify further and
11190         hopefully make it a bit faster.
11191
11192 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11193
11194         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11195         calling directly xforms functions.
11196
11197         * Painter.C (Painter):
11198         * lyx_cb.C (MenuWrite):
11199         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11200         fl_display.
11201
11202         * lyx_gui.C: remove bogus guiruntime extern declaration.
11203
11204 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11205
11206         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11207         in NEW_INSETS
11208         (redoDrawingOfParagraph): ditto
11209         (redoParagraphs): ditto
11210         (cutSelection): don't create a object for CutAndPaste use the
11211         static method directly
11212         (pasteSelection): ditto
11213
11214         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11215         LyXview (+ rename)
11216
11217 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11218
11219         * modifications to some other files because of this.
11220
11221         * Makefile.am (lyx_SOURCES): add XFormsView
11222
11223         * XFormsView.[Ch]: new files
11224
11225         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11226         the main window. Move the gui dependent stuff to XFormsView
11227
11228 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11229
11230         * tabular.C (GetCellInset): update cur_cell also in the row/col
11231         version of this function.
11232
11233         * lyxfunc.C: no need to include figure_form.h here.
11234
11235         * FontLoader.h:
11236         * lyxfunc.h:
11237         * lyxscreen.h:
11238         * text2.C:
11239         * lyxvc.C: no need to include forms.h here.
11240
11241 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11242
11243         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11244
11245         * lyxfunc.C (Dispatch):
11246         * Spacing.C (set):
11247         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11248         constructor argument.
11249
11250 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11251
11252         * paragraph.C (Paragraph): dont't clear, and just set layout.
11253         (makeSameLayout): use params's copy contructor.
11254
11255         * ParagraphParameters.[Ch] (makeSame): delete method
11256
11257 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11258
11259         * Variables.[Ch]: fix indentation, rename set to isSet
11260
11261 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11262
11263         * lyxfunc.C (Dispatch): fix typo
11264
11265 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11266
11267         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11268         upper_bound.
11269
11270         * bufferlist.C: include assert.h for emergencyWrite().
11271
11272 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11273
11274         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11275           give up at last (bug #425202) !
11276
11277 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * lyx_gui_misc.C:
11280         * sp_form.h:
11281         * sp_form.C:
11282         * spellchecker.h:
11283         * spellchecker.C: strip spellchecker options and bring up
11284           preferences tab instead
11285
11286 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11287
11288         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11289         the istringstream constructor
11290
11291 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11292
11293         * paragraph.C (getLayout): fix return value
11294
11295         * paragraph.h: do not declare getLayout as inline.
11296
11297         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11298
11299 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11300
11301         * lyxcursor.h (operator<): new func
11302         (operator>): new func
11303         (operator>=): new func
11304         (operator<=): new func
11305
11306         * text.C (changeCase): use selection.start and selection.end
11307         (changeRegionCase): require from to be <= to. Require par to be a
11308         valid paragraph.
11309
11310         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11311
11312 2001-06-27  Juergen Vigna  <jug@sad.it>
11313
11314         * text.C (cursorLeftOneWord): changed to return the cursor and added
11315         overlay with BufferView * parameter which calls this one.
11316         (getWord): added
11317         (selectWord): use new getWord function.
11318         (changeCase): renamed from changeWordCase as and extended to work
11319         also on selections.
11320
11321         * lyxtext.h: added enum word_location
11322
11323         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11324         changeCase as this operates now also on selections.
11325
11326 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11327
11328         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11329
11330         * many files: send debug output to Debug::INFO instead of
11331         Debug::ANY.
11332
11333         * converter.C (View):
11334         (Convert):
11335         (Move): send debug output to Debug::FILES instead of console.
11336
11337 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11338
11339         * lyxfunc.C (getStatus): use func_status
11340
11341         * func_status.h: new header, describing the results of
11342         LyXFunc::getStatus;
11343
11344         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11345         LFUN_MATH_HALIGN.
11346
11347 2001-06-25  The LyX Project  <jug@sad.it>
11348
11349         * buffer.C (sgmlOpenTag):
11350         (sgmlCloseTag):
11351         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11352
11353 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11354
11355         * text2.C: remove some dead code
11356
11357         * tabular.C (GetCellInset): store the last cell checked (gotten)
11358
11359         * tabular.h: add the helper for the speedup
11360
11361         * lyxtext.h: remove some dead code
11362
11363 2001-06-26  The LyX Project  <Asger>
11364
11365         * paragraph.C: Change export to LaTeX of alignment to
11366         \begin{center} and family for better roundtrip work with reLyX.
11367
11368         * Tune the math drawing a bit.
11369
11370 2001-06-25  The LyX Project  <Asger>
11371
11372         * LColor.C (LColor): New color for math background. New color
11373         for buttons.
11374
11375 2001-06-25  The LyX Project  <jug@sad.it>
11376
11377         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11378
11379         * lyxfunc.C (Open):
11380         * bufferlist.C (newFile): do not restrict to files ending with
11381         .lyx
11382
11383         * BufferView_pimpl.C (MenuInsertLyXFile):
11384
11385 2001-06-24  The LyX Project  <jug@sad.it>
11386
11387         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11388         of compare_no_case
11389
11390 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11391
11392         * lyxtext.h: rename most methods to begin with a small char.
11393         Lots of changes because of this.
11394
11395         * paragraph.C (Paragraph): do not call fitToSize
11396         (erase): call Pimpl::erase
11397         (insertChar): call Pimpl::insertChar
11398         (insertInset): call Pipl::insertInset
11399         (breakParagraph): do not call fitToSize
11400         (breakParagraphConservative): do not call fitToSize
11401         (fitToSize): remove method
11402
11403         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11404
11405 2001-06-24  The LyX Project  <Asger>
11406
11407         * Fix Qt compilation^2
11408
11409 2001-06-24  The LyX Project  <jug@sad.it>
11410
11411         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11412         depthHook(getDepth()-1).
11413
11414         * paragraph.h:
11415         * ParagraphParameters.h:
11416         * ParameterStruct.h: change type of depth to unsigned int ==
11417         depth_type. Many adaptations to other files before of that.
11418
11419 2001-06-24  The LyX Project  <Asger>
11420
11421         * Fix Qt compilation.
11422
11423 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11424
11425         * paragraph.h: renamed several methods to begin with small letter.
11426         several changes to many parts of the code because of this.
11427
11428 2001-06-23  The LyX Project  <jug@sad.it>
11429
11430         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11431         rewritten to discard all double spaces when KeepEmpty is off
11432         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11433         to only handle newlines but not fiddle with spaces and friends.
11434
11435         * lyxfunc.C (MenuNew): when doing 'new from template', use
11436         template_path as default directory
11437
11438 2001-06-23  The LyX Project  <Asger>
11439
11440         * Clean-up of header file includes all over
11441         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11442
11443 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11444
11445         * paragraph.h: renamed from lyxparagraph.h
11446
11447 2001-06-23  Asger  <lyx@violet.home.sad.it>
11448
11449         * Buffer.h: Removed Buffer::resize
11450         * BufferList.h: Removed BufferList::resize
11451         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11452         the document lazily when we change the width, or the font settings.
11453
11454 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11457
11458 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11459
11460         * buffer.h: remove out of date comment
11461
11462 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * lyxscreen.h:
11465         * screen.C: fix "theoretical" GC leak
11466
11467 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11468
11469         * LaTeX.C (scanAuxFile):
11470         (deplog): remove trailing \r when reading stream (useful under
11471         win32)
11472
11473 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11474
11475         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11476         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11477         and BufferView::theLockingInset(Inset*), so should use them and not
11478         access bv_->text->the_locking_inset directly.
11479
11480         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11481
11482 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * Makefile.am:
11485         * tex-defs.h: remove old unused file
11486
11487 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11488
11489         * BufferView_pimpl.C: fix typo, remove minibuffer message
11490           when buffer has loaded
11491
11492 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11493
11494         * lyxfunc.C (Dispatch): use stringstream
11495         (MenuNew): use stringstream
11496         (Open): use stringstream
11497
11498         * importer.C (Import): use stringstream
11499
11500         * bufferview_funcs.C (CurrentState): use stringstream
11501
11502         * LaTeX.C (run): use stringstream
11503
11504         * BufferView_pimpl.C (savePosition): use stringstream
11505         (restorePosition): use stringstream
11506         (MenuInsertLyXFile): use stringstream
11507
11508 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11509
11510         * BufferView.C:
11511         * Bullet.C:
11512         * ColorHandler.C:
11513         * FontInfo.C:
11514         * FontLoader.C:
11515         * LColor.C:
11516         * LaTeXFeatures.C:
11517         * Painter.C:
11518         * gettext.C:
11519         * lyx_gui_misc.C:
11520         * lyxserver.C:
11521         * vspace.C: removed // -*- C++ -*- as first line.
11522
11523         * lyxfind.h:
11524         * version.h: added // -*- C++ -*- as first line.
11525
11526 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11527
11528         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11529
11530         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11531         of string
11532
11533 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11534
11535         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11536         of floats.
11537
11538 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11539
11540         * gettext.C: include LString.h even when --disable-nls is on.
11541
11542 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11543
11544         * converter.h (Get): changed argument type from int to
11545         FormatList::size_type to avoid unnecessary conversion.
11546
11547         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11548         before using it.
11549
11550 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11551
11552         * gettext.h: include LString.h even when --disable-nls is on.
11553
11554 2001-06-07  Juergen Vigna  <jug@sad.it>
11555
11556         * text.C (BreakAgain): subst spaces with tabs.
11557
11558         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11559         (resizeInsetsLyXText): set force on resizeLyXText.
11560
11561 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11562
11563         * gettext.h (gettext_init):
11564         (locale_init): use a real definition instead of a macro
11565
11566 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * Bufferview_pimpl.C:
11569         * LColor.h:
11570         * LColor.C: further lcolor tidies
11571
11572 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11573
11574         * BufferView_pimpl.C (updateScrollbar): simplify.
11575
11576         * BufferView2.C: don't include insets/insetinfo.h, change
11577         prototype for insertInset and call the Pimpl version. let
11578         updateInset call Pimpl version.
11579
11580         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11581         gotoInset to BufferView::Pimpl
11582
11583 2001-06-01  Juergen Vigna  <jug@sad.it>
11584
11585         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11586         inside a LockingInset (is the update needed at all?).
11587
11588 2001-05-31  Juergen Vigna  <jug@sad.it>
11589
11590         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11591         here not the old one otherwise how should we compare it afterwards
11592         if it's the same!
11593
11594 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11595
11596         * lyxfont.C:
11597         * tabular.C:
11598         * tabular-old.C:
11599         * FontInfo.C: bring C functions into global namespace when
11600         necessary
11601
11602 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11603
11604         * LString.h: make sure config.h has been loaded before LString.h.
11605
11606         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11607         (one for each char read by EatLine!).
11608
11609         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11610         variables.
11611
11612 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11615         to the same as the par we break from
11616
11617 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11618
11619         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11620
11621         * MenuBackend.C (expand): also create menu entries for wide
11622         versions of the floats.
11623
11624         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11625
11626         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11627
11628         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11629         frontends/Makefile.am
11630
11631         * text2.C: adjust
11632         * text.C: adjust
11633
11634
11635         * tabular.C (getTokenValue): add std::
11636
11637         * tabular-old.C (getTokenValue): add std::
11638         (getTokenValue): ditto
11639         (getTokenValue): ditto
11640
11641         * screen.C (ToggleSelection): adjust
11642
11643         * lyxtext.h: put selection cursors inside a Selection struct.
11644
11645         * lyxfunc.C (moveCursorUpdate): adjust
11646
11647         * lyxfont.C (latexWriteStartChanges): add std::
11648
11649         * lyxfind.C: adjust
11650
11651         * font.h: delete with(char const *, LyXFont const &)
11652
11653         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11654
11655         * FontInfo.C (getFontname): add std::
11656
11657         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11658         (workAreaButtonPress): adjust
11659         (tripleClick): adjust
11660         (update): adjust
11661         (moveCursorUpdate): adjust
11662         (Dispatch): adjust
11663
11664         * BufferView2.C (gotoInset): adjust
11665
11666 2001-05-30  Juergen Vigna  <jug@sad.it>
11667
11668         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11669         to check pspell I add this as default as I now have new pspell
11670         libraries and they seem to use this.
11671
11672 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11673
11674         * text2.C (CutSelection): make the cursor valid before the call to
11675         ClearSelection.
11676
11677 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11678
11679         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11680         relied on 0 terminated strings and other horrors. Bug found due to
11681         the new assert in lyxstring!
11682
11683         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11684         KP_ keys.
11685
11686 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11687
11688         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11689         to latinkeys.bind.
11690
11691         * lyxfunc.C (processKeySym): change method of getting to the
11692         self-insert char.
11693
11694         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11695         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11696         * BufferView_pimpl.[Ch]: here as private methods.
11697
11698 2001-05-28  Juergen Vigna  <jug@sad.it>
11699
11700         * text.C (SetHeightOfRow): added the update() call again as it is
11701         needed to initialize inset dimensions!
11702
11703 2001-05-16  Juergen Vigna  <jug@sad.it>
11704
11705         * text2.C (SetCharFont): Add new function with BufferView * and
11706         bool toggleall parameters for setting insets internal fonts.
11707         (SetFont): Freeze the undo as we may change fonts in Insets and
11708         all this change should be inside only one Undo!
11709
11710         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11711         setting font's in insets as for them we have the SetFont function!
11712
11713 2001-05-15  Juergen Vigna  <jug@sad.it>
11714
11715         * text2.C (ClearSelection): to be sure we REALLY don't have any
11716         selection anymore!
11717
11718         * tabular.C (TeXCellPreamble): fixed the left border problem for
11719         multicolumn cells.
11720
11721 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11722
11723         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11724         dependancy file
11725
11726 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11727
11728         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11729         LFUN_BREAKPARAGRAPH.
11730
11731         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11732         help test to "internal only", similar for LFUN_INSERT_URL
11733
11734         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11735         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11736         auto_region_delete and deadkeys.
11737
11738 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11739
11740         * LColor.h:
11741         * LColor.C: remove some dead entries, tidy a little
11742
11743 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11746         commented code.
11747         (Dispatch): implement LFUN_ESCAPE
11748
11749         * commandtags.h: add LFUN_ESCAPE
11750
11751         * LyXAction.C (init): add entry for LFUN_ESCAPE
11752
11753         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11754         Remove commented code.
11755         (insertNote): moved here
11756         (open_new_inset): moved here
11757
11758         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11759         BufferView_pimpl
11760
11761 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11762
11763         * kbmap.C (findbinding): clean it up and make it work correctly.
11764
11765         * lyx_main.C (init): do not pass argc and argv as parameters
11766
11767 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11768
11769         * buffer.C: fix path for OS/2 & Win32
11770
11771         * lyx_gui.C:
11772         * lyx_main:
11773         * lyx_main.C: Added os:: class.
11774
11775         * os2_defines.h: update
11776
11777 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11778
11779         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11780         better by trying again with reduced state.
11781
11782 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11783
11784         * lyxrc.C (read): print error about invalid key sequence only when
11785         debugging (because not all latinX keysyms are known to some X
11786         servers)
11787
11788         * kbsequence.C (getiso): add a few std:: qualifiers
11789         (getiso): comment out extra return statement.
11790
11791 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11792
11793         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11794         handling.
11795         (Dispatch): enhance the accent inset a bit. (not perfect)
11796
11797 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11798
11799         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11800
11801 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11802
11803         * bufferlist.C (emergencyWrite): fix assert() call
11804
11805 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11806
11807         * text.C (InsertChar): Added trivial patch to only send the "you
11808         can not do multiple spaces this way" message once during a
11809         session.
11810
11811 2001-05-08  Baruch Even  <baruch@lyx.org>
11812
11813         * Makefile.am: Changed order of libraries to get LyX to link properly
11814         with the gnome frontend.
11815
11816 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11817
11818         * LaTeXFeatures.h: add a std:: qualifier
11819
11820 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11821
11822         * paragraph.C (String): use stringstream
11823
11824 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11825
11826         * paragraph.C (writeFile): remove footflag arg
11827
11828         * buffer.C (makeLaTeXFile): use stringstream
11829         (latexParagraphs): remove footnot gurba
11830
11831         * LaTeXFeatures.C (getPackages): use stringstream
11832         (getMacros): likewise
11833         (getTClassPreamble): likewise
11834         (getFloatDefinitions): new method
11835
11836         * paragraph.C (writeFile): reindent
11837         (Erase): reindent
11838
11839         * WorkArea.h: revert the xpos + etc changes.
11840
11841         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11842
11843         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11844
11845         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11846         (pasteSelection): likewise
11847         * text2.C (CreateUndo): likewise
11848
11849 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11850
11851         * minibuffer.C (peek_event): temporarily reduce the functionality
11852         of the minibuffer (to allow args on lfuns)
11853
11854         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11855         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11856
11857         * buffer.C (readInset): add compability reading of old float
11858         lists, add reading of new style float list.
11859         (readInset): avoid reevaluation of inscmd.getCmdName()
11860         (getLists): reindent
11861
11862         * MenuBackend.C (MenuItem): implement parsing of
11863         md_floatlistinsert and md_floatinsert.
11864         (expand::LastFiles): move initalizaton of iterators out of loop,
11865         avoid reevaluation.
11866         (expand::Documents): introduce typdedef vector<string> Strings,
11867         and use it.
11868         (expand::ExportFormats): introduce typedef vector<Format const *>
11869         Formats, and use it.
11870         (expand): implement FloatListInsert and FloatInsert.
11871
11872         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11873         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11874         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11875
11876         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11877         handling.
11878         (Dispatch::LFUN_FLOAT_LIST): implement
11879
11880 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11881
11882         * LaTeX.C (run): Fix problem with --export code.
11883
11884 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11885
11886         * BufferView.[Ch] (workarea): removed.
11887         (getClipboard) new method; wrapper for workarea()->getClipboard()
11888
11889         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11890         bug.
11891
11892         * WorkArea.h (width, height, xpos, ypos): These methods all
11893         returned the dimensions of the work_area sub-area of WorkArea,
11894         resulting in a position error if the WorkArea were resized. Now
11895         return the dimensions of the entire WorkArea.
11896
11897         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11898
11899 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11900
11901         * LaTeX.C (deplog): correct the syntax of regex reg1
11902
11903 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11904
11905         * undo.C: remove !NEW_INSETS cruft
11906
11907 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11908
11909         * text2.C: remove !NEW_INSETS cruft
11910
11911         * text.C: remove !NEW_INSETS cruft
11912
11913         * tabular.C: remove !NEW_INSETS cruft
11914
11915         * spellchecker.C: remove !NEW_INSETS cruft
11916
11917         * lyxtext.h: remove !NEW_INSETS cruft
11918
11919         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11920
11921         * lyxfunc.C: remove !NEW_INSETS cruft
11922
11923         * lyxfind.C: remove !NEW_INSETS cruft
11924
11925         * lyx_cb.C: remove !NEW_INSETS cruft
11926
11927         * figureForm.C: remove  !NEW_INSETS cruft
11928
11929         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11930
11931         * buffer.[Ch]: remove !NEW_INSETS cruft
11932
11933         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11934
11935         * CutAndPaste.C: remove !NEW_INSETS cruft
11936
11937         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11938
11939         * BufferView2.C: remove !NEW_INSETS cruft
11940
11941         * BufferView.h: remove !NEW_INSETS cruft
11942
11943 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11944
11945         * Lsstream.h: include LString.h before the sstream headers to
11946         fix problem with gcc 2.95.3 and lyxstring
11947
11948 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11949
11950         * lyx_main.C: add using directives when needed for C functions
11951         declared in std:: namespace.
11952
11953 2001-04-27  Juergen Vigna  <jug@sad.it>
11954
11955         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11956         (SetHeightOfRow): comment out the update call should not be needed!
11957
11958 2001-04-13  Juergen Vigna  <jug@sad.it>
11959
11960         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11961         (LyXTabular): tried to minimize operator= operations (and realized
11962         hopfully Lars wish).
11963
11964 2001-04-27  Juergen Vigna  <jug@sad.it>
11965
11966         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11967
11968 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11969
11970         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11971
11972         * buffer.C (readInset): hack to make listof algorithm work
11973
11974         * BufferView_pimpl.C: hack to make listof algorithm work
11975
11976 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11977
11978         * LyXAction.C: removed all !NEW_INSETS cruft
11979         (init): moved lfun_item in method
11980
11981         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11982
11983 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11984
11985         * BufferView2.C (theLockingInset): white space.
11986
11987 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11988
11989         * minibuffer.C: include <iostream>
11990
11991         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11992
11993         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11994
11995         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11996
11997         * text.[Ch] (TransposeChars): new method
11998
11999 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * call message directly through LyXView instead of through LyXFunc
12002         * BufferView2.C: adjust
12003         * BufferView_pimpl.C: adjust
12004         * FontLoader.C: adjust
12005         * buffer.C: adjust
12006         * bufferview_funcs.C: adjust
12007         * converter.C: adjust
12008         * figureForm.C: adjust
12009         * importer.C: adjust
12010         * lyx_cb.C: adjust
12011         * lyx_gui_misc.C: adjust
12012         * lyxfunc.C: adjust
12013         * lyxvc.C: adjust
12014         * text2.C: adjust
12015         + more files in subdirs
12016
12017         * lyxparagraph.h (size): move up int file
12018         (GetLayout): ditto
12019
12020         * adjust all uses of Assert to lyx::Assert.
12021
12022         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12023         lyxfunctional in namespace lyx
12024         * layout.C (hasLayout): ditto
12025         (GetLayout): ditto
12026         (GetLayout): ditto
12027         (delete_layout): ditto
12028         (NumberOfClass): ditto
12029         * converter.C (GetFormat): ditto
12030         (GetNumber): ditto
12031         (Add): ditto
12032         (Delete): ditto
12033         (SetViewer): ditto
12034         * bufferlist.C (getFileNames): ditto
12035         (emergencyWriteAll): ditto
12036         (exists): ditto
12037         (getBuffer): ditto
12038         * MenuBackend.C (hasSubmenu): ditto
12039         (hasMenu): ditto
12040         (getMenu): ditto
12041         * BufferView_pimpl.C (getInsetByCode): ditto
12042
12043 2001-04-18  Juergen Vigna  <jug@sad.it>
12044
12045         * vspace.C (asLatexString): fixed the 100% problem.
12046
12047 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12048
12049         * lyxfunc.C (Dispatch):
12050         * minibuffer.C:
12051         * minibuffer.h: add a few std:: qualifiers
12052
12053 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12054
12055         * minibuffer.[Ch]: reimplement so that commands is initiated and
12056         run from lyxfunc, simplified som handling, and made the completion
12057         and history code for complete. wip.
12058
12059         * lyxfunc.C (processKeySym): call message
12060         (miniDispatch): new temporary method
12061         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12062         (LFUN_MESSAGE): implement
12063         (LFUN_MESSAGE_PUSH): implement
12064         (LFUN_MESSAGE_POP): implement
12065         (initMiniBuffer): the initial/defualt minibuffer message.
12066
12067         * lyxfont.[Ch]: inline some more getters
12068
12069         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12070
12071         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12072
12073         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12074         (AutoSave): use LFUN_MESSAGE
12075         (Reconfigure): ditto
12076
12077         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12078
12079         * figureForm.C: use LFUN_MESSAGE
12080
12081         * converter.C (runLaTeX): use LFUN_MESSAGE
12082
12083         * bufferview_funcs.C: use LFUN_MESSAGE
12084         (Melt): ditto
12085         (changeDepth): ditto
12086
12087         * bufferparams.h: use boost::
12088
12089         * bufferlist.h: inherit privately from noncopyable
12090
12091         * bufferlist.C (loadLyXFile): remove some commented code.
12092
12093         * buffer.C (runChktex): use LFUN_MESSAGE
12094
12095         * ShareContainer.h: inherit privately from noncopyable
12096
12097         * ParagraphParameters.[hC] (depth): inline it.
12098
12099         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12100         methods.
12101         (message): new method
12102         (messagePush): ditto
12103         (messagePop): ditto
12104         (show): init minibuffer
12105         (showState): direct call
12106
12107         * LaTeX.[Ch]: inherit privately from noncopyable
12108         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12109         instead of WriteStatus.
12110
12111         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12112
12113         * BufferView_pimpl.C (buffer): don't init minibuffer
12114         (workAreaButtonPress): use LFUN_MESSAGE
12115         (workAreaButtonRelease): ditto
12116         (savePosition): ditto
12117         (restorePosition): ditto
12118         (MenuInsertLyXFile): ditto
12119         (workAreaExpose): don't init minibuffer
12120         (update): remove commented code, simplify
12121
12122         * BufferView2.C (openStuff): use LFUN_MESSAGE
12123         (toggleFloat): ditto
12124         (menuUndo): ditto
12125         (menuRedo): ditto
12126         (copyEnvironment): ditto
12127         (pasteEnvironment): ditto
12128         (copy): ditto
12129         (cut): ditto
12130         (paste): ditto
12131         (gotoInset): ditto
12132         (updateInset): remove some commented code
12133
12134         * lastfiles.h: inherit privately from noncopyable
12135         * layout.h: ditto
12136         * lyx_gui.h: ditto
12137         * lyx_main.h: ditto
12138         * lyxlex.h: ditto
12139         * lyxlex_pimpl.h: ditto
12140
12141         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12142         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12143         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12144
12145         * LyXAction.h: inherit privately from noncopyable, add methods
12146         func_begin, func_end, returning iterators to the func map.
12147
12148         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12149         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12150         (func_begin): new method
12151         (func_end): new method
12152
12153         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12154         and not)
12155         (copySelection): ditto
12156         (pasteSelection): ditto
12157
12158         * BufferView.C: whitespace change
12159         * BufferView.h: inherit privately from noncopyable
12160
12161 2001-04-16  Allan Rae  <rae@lyx.org>
12162
12163         * tabular-old.C (l_getline):
12164         * spellchecker.C (sc_check_word):
12165         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12166         an unrecognised preprocessor directive.  So ensure they're wrapped.
12167
12168 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12169
12170         * src/exporter.C (Export): Give an error message when path to file
12171         contains spaces.
12172
12173 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12174
12175         * LaTeX.C (deplog): Always check that foundfile exists.
12176
12177 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12178
12179         * lyx_main.h:
12180         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12181
12182 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12183
12184         * tabular.[Ch] (getLabelList): implement new method
12185
12186         * minibuffer.h: comment ouf setTiimer
12187
12188         * minibuffer.C (ExecutingCB): constify res
12189         (peek_event): constify s
12190         (Set): constify ntext
12191         (Init): constify nicename
12192
12193         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12194
12195         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12196         (savePosition): use two params to Minibuffer::Set
12197         (restorePosition): ditto
12198
12199 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12200
12201         * lyx_main.C: include language.h
12202
12203         * Makefile.am (lyx_main.o): add language.h
12204
12205 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12206
12207         * exporter.C:
12208         * paragraph.C:
12209         * screen.C:
12210         * tabular.C:
12211         * CutAndPaste.C: include gettext.h
12212
12213         * lyxfont.h: remove old hack with ON and OFF.
12214
12215         * lyxparagraph.h:
12216         * lyxfont.h: do not include language.h...
12217
12218         * BufferView2.C:
12219         * LaTeXFeatures.C:
12220         * Painter.C:
12221         * bufferview_funcs.C:
12222         * font.C:
12223         * lyxfont.C:
12224         * text.C:
12225         * text2.C:
12226         * trans_mgr.C:
12227         * paragraph.C: ... but do it here instead
12228
12229 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12230
12231         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12232
12233         * tabular.C: small reformat
12234
12235         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12236         NEW_INSETS version
12237         (GetChar): ditto
12238         (BreakParagraph): ditto
12239         (SetOnlyLayout): ditto
12240         (SetLayout): ditto
12241
12242         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12243         with one arg less.
12244
12245         * lastfiles.C: removed most using decl, add std:: where needed
12246
12247         * buffer.C: ws changes
12248
12249         * MenuBackend.C (class compare_format): put into anon namespace
12250         (expand): constify label, names, action, action2
12251         (expand):
12252
12253         * text.C (SingleWidth): constify font
12254         (IsBoundary): constify rtl2
12255         (GetVisibleRow): constify ww
12256
12257         * LaTeX.C (deplog): constify logfile
12258
12259         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12260         start_x, end_x
12261         (workAreaExpose): constify widthChange, heightChange
12262
12263         * lyxrow.C (par): moved
12264         (height): moved
12265         (next): moved
12266         * lyxrow.h: as inlines here
12267
12268         * lyxfont.h (shape): moved from lyxfont.C
12269         (emph): moved from lyxfont.C
12270
12271         * lyxfont.C (LyXFont): use initialization list for all
12272         constructors
12273         (shape): move to lyxfont.h as inline
12274         (emph): move to lyxfont.h as inline
12275
12276
12277 2001-04-04  Juergen Vigna  <jug@sad.it>
12278
12279         * vspace.C: had to include stdio.h for use of sscanf
12280
12281 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12282
12283         * BufferView.h:
12284         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12285         independent of xforms.
12286
12287 2001-04-02  Juergen Vigna  <jug@sad.it>
12288
12289         * spellchecker.C: fixed namespace placing!
12290
12291 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12292
12293         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12294         the LyXParagraph * is 0.
12295
12296 2001-03-29  Juergen Vigna  <jug@sad.it>
12297
12298         * vspace.C: added support for %, c%, p%, l%.
12299         (stringFromUnit): added helper function.
12300         (asLatexString): changed to give right results for the %-values.
12301
12302         * buffer.C: convert the widthp in a width%.
12303
12304 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12305
12306         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12307         figureForm.[Ch].
12308
12309         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12310         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12311
12312         * lyx_cb.[Ch]: see above.
12313
12314         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12315         form1.[Ch].
12316
12317         * form1.[Ch]:
12318         * lyx.[Ch]: replaced by figure_form.[Ch].
12319
12320         * lyx_gui.C:
12321         * lyx_gui_misc.C:
12322         * lyxfunc.C: changed headers associated with above changes.
12323
12324 2001-03-27  Juergen Vigna  <jug@sad.it>
12325
12326         * BufferView_pimpl.C: set the temporary cursor right!
12327
12328 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12329
12330         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12331
12332 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12333
12334         * LString.h: removed "using std::getline"!
12335
12336         * BufferView_pimpl.C (Dispatch): changes due to changes in
12337         InsetInclude::Params.
12338
12339         * buffer.C (tag_name): removed redundant break statements as they were
12340         producing lots of warnings with my compiler.
12341
12342 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12343
12344         * LString.h: add "using std::getline" when using the real <string>.
12345
12346 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12347
12348         * buffer.C: removed bitset usage.
12349         PAR_TAG moved to an anonymous name space.
12350         (tag_name): new funtion, also in the anonymous namespace.
12351         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12352         (makeDocBookFile): clean code. Completed transition from string arrays
12353         to string vectors.
12354         (SimpleDocBookOnePar): code clean.
12355
12356 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12357
12358         * tabular.C: add some comments.
12359
12360 2001-03-22  Juergen Vigna  <jug@sad.it>
12361
12362         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12363         compatibility read a bit and fixed bug with minipage in different
12364         depth.
12365
12366 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12367
12368         * buffer.C (pop_tag): removed.
12369         (push_tag): removed.
12370         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12371         array replaced with vector. Added support for CDATA sections.
12372         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12373         at any nest level.
12374         (makeDocBookFile): XML conformant declaration of CDATA section,
12375         fixed bug related to <emphasis> in the first paragraph char.
12376         (sgmlOpenTag): exclude empty tags.
12377         (sgmlCloseTag): ditto.
12378
12379         * buffer.h (pop_tag): removed.
12380         (push_tag): removed.
12381
12382 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12383
12384         * language.h (Languages): added size_type and size().
12385
12386 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12387
12388         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12389         response on compability reading of minipages. One probliem is that
12390         the old usage of minipages was «flertydig»
12391
12392         * several files here and in subdirs: don't use static at file
12393         scope use anon namespaces instead.
12394
12395 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12396
12397         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12398         LaTeX output. This is necessary for Literate document
12399         processing.
12400
12401 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12402
12403         * buffer.C: insert hfill when needed.
12404
12405         * tabular.C (l_getline): use string::erase, small whitespace change.
12406
12407         * BufferView_pimpl.C: try the anon namespace.
12408         * WorkArea.C: ditto
12409
12410 2001-03-16  Juergen Vigna  <jug@sad.it>
12411
12412         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12413         otherwise it won't open options-dialogs.
12414
12415         * buffer.C: honor pextraWidth(p) on converting minipages.
12416
12417         * tabular.C (l_getline): changed the functions to strip trailing \r.
12418
12419 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12420
12421         * BufferView_pimpl.C:
12422         * minibuffer..C: added "using SigC::slot" declaration.
12423
12424 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12425
12426         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12427
12428         * text2.C: ditto
12429
12430         * text.C: ditto
12431
12432         * paragraph.C: ditto
12433
12434         * lyxtext.h: NO_PEXTRA
12435
12436         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12437
12438         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12439         * ParameterStruct.h: ditto
12440         * ParagraphParameters.h: ditto
12441         * lyxparagraph.h: ditto
12442
12443 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12444
12445         * buffer.C: add compability for minipage alignment.
12446         (latexParagraphs): remove unwanted pextra check.
12447
12448         * several files: remove CXX_WORKING_NAMESPACES
12449
12450         * buffer.C (pop_tag): tie is in namespace boost
12451
12452         * BufferView.h: noncopyable is in namespace boost
12453         * lyxlex.h: ditto
12454         * lyx_main.h: ditto
12455         * lyx_gui.h: ditto
12456         * layout.h: ditto
12457         * lastfiles.h: ditto
12458         * bufferlist.h: ditto
12459         * ShareContainer.h: ditto
12460         * LyXView.h: ditto
12461         * LyXAction.h: ditto
12462         * LaTeX.h: ditto
12463
12464 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12465
12466         * Merging changes from BRANCH_MVC back into HEAD.
12467
12468         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12469
12470 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * BufferView_pimpl.C: change from intl.C
12473
12474         * combox.h:
12475         * combox.C:
12476         * Makefile.am: move combox.*
12477
12478         * form1.h:
12479         * form1.C:
12480         * lyx_gui.C:
12481         * intl.h:
12482         * intl.C: remove dialog (covered by prefs)
12483
12484 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12485
12486         * lyxfunc.C (Dispatch): removed redundant break statement.
12487
12488 2001-03-14  Juergen Vigna  <jug@sad.it>
12489
12490         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12491
12492 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12493
12494         * buffer.C: add hack to fix compability reading of minipages.
12495
12496 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12497
12498         * buffer.C (getLists): Cleanup.
12499
12500 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12501
12502         * lyxfont.C (update): don't honor toggleall on font size.
12503
12504 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12505
12506         * bmtable.c:
12507         * bmtable.h:
12508         * Makefile.am: moved to frontends/xforms/
12509
12510         * lyx_gui_misc.C:
12511         * lyxfunc.C:
12512         * BufferView_pimpl.C: changes for moved mathpanel
12513
12514 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12515
12516         * gettext.h: fix gettext_init() in --disable-nls
12517
12518 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12519
12520         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12521
12522 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * lyx.C:
12525         * lyx.h: strip external form
12526
12527 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12528
12529         * BufferView_pimpl.C: add comment, destroySplash()
12530
12531 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12532
12533         * BufferView_pimpl.C:
12534         * LyXAction.C:
12535         * buffer.C:
12536         * commandtags.h:
12537         * lyxfunc.C: use re-worked insetinclude
12538
12539 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12540
12541         * buffer.C: add using std::stringstream.
12542
12543         * lyx_cb.C: readd using std::ios.
12544
12545         * buffer.C: add using std::map.
12546
12547         * BufferView_pimpl.C: add using std::vector.
12548
12549         * ShareContainer.h: add std:: to swap.
12550
12551         * buffer.h: add some typedefs
12552         * buffer.C (getLists): use them
12553         (getLists): renamed from getTocList.
12554         add a counter for the different float types and use it in the
12555         generated string.
12556         (getLists): use the same counter for the NEW_INSETS and the "non"
12557         NEW_INSETS
12558
12559         * lyx_cb.h: remove unused items, includes, using etc.
12560
12561         * ShareContainer.h: remove some commented code, add more comments
12562         and "documentation".
12563
12564 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12565
12566         * buffer.C (getTocList): make the list also when NEW_INSETS is
12567         defined.
12568
12569         * buffer.h: remove TocType
12570
12571         * buffer.C (getTocList): change to return a map<string,
12572         vector<TocItem> >, implement for dynamic number of list.
12573
12574         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12575         * text2.C (PasteSelection): adjust
12576         * CutAndPaste.C (pasteSelection): adjust
12577
12578         * FloatList.C (FloatList): update from the new_insets branch.
12579         * Floating.[Ch]: ditto
12580         * LaTeXFeatures.C: ditto
12581         * buffer.C: ditto
12582         * lyxlex_pimpl.C: ditto
12583
12584         * paragraph.C (Last): remove when NEW_INSETS is defined.
12585
12586         * other file: changes because of the above.
12587
12588 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12589
12590         * lyxparagraph.h: rename next to next_, previous to previous_,
12591         make them private for NEW_INSETS. Rename Next() to next(),
12592         Previous() to previous().
12593
12594         * other files: changes because of the above.
12595
12596 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12597
12598         * BufferView.h:
12599         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12600         problem.
12601
12602 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12603
12604         * main.C (main): pass lyx_localedir to gettext_init().
12605
12606         * gettext.h: remove locale_init and gettext_init macros
12607
12608         * gettext.C (locale_init): new function
12609         (gettext_init): new function
12610
12611         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12612         setlocale().
12613
12614 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12615
12616         * Moved credits to frontends:
12617         * credits.[Ch]: removed
12618         * credits_form.[Ch]: removed
12619         * lyx_gui_misc.C: remove credits stuff
12620         * Makefile.am:
12621
12622 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12623
12624         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12625
12626         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12627         unneeded destructor.
12628
12629         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12630         a standalone pointer again.
12631
12632         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12633
12634 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12635
12636         * Makefile.am:
12637         * filedlg.h:
12638         * filedlg.C:
12639         * LyXAction.C:
12640         * ToolbarDefaults.C:
12641         * bufferlist.C:
12642         * commandtags.h:
12643         * form1.C:
12644         * form1.h:
12645         * lyx_cb.C:
12646         * lyx_cb.h:
12647         * lyxfunc.h:
12648         * lyxfunc.C:
12649         * BufferView_pimpl.C: use new file dialog in GUII
12650
12651         * lyx_cb.h:
12652         * lyx_cb.C: remove LayoutsCB to Toolbar
12653
12654 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12655
12656         * ShareContainer.h (get): add std:: qualifier
12657
12658 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12659
12660         * ShareContainer.h: define a proper ShareContainer::value_type
12661         type (and use typename to please compaq cxx)
12662
12663 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12664
12665         * lyxparagraph.h: move serveral local vars to
12666         ParameterStruct/ParagraphParameters., use ShareContainer in
12667         FontTable., make vars in FontTable private and add getter and
12668         setter.
12669
12670         * paragraph.C: changes because of the above.
12671
12672         * lyxfont.h: remove copy constructor and copy assignment. (the
12673         default ones is ok), move number inside FontBits. move inlines to
12674         lyxfont.C
12675
12676         * lyxfont.C: add number to initializaton of statics, move several
12677         inlines here. constify several local vars. some whitespace
12678         cleanup. Dont hide outerscope variables.
12679
12680         * Spacing.h: add two new constructors to match the set methods.
12681
12682         * ShareContainer.h: new file, will perhaps be moved to support
12683
12684         * ParameterStruct.h: new file
12685
12686         * ParagraphParameters.h: new file
12687
12688         * ParagraphParameters.C: new file
12689
12690         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12691         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12692
12693         * BufferView_pimpl.C: ParagraphParameter changes.
12694         * buffer.C: Likewise.
12695         * bufferview_funcs.C: Likewise.
12696         * text.C: Likewise.
12697         * text2.C: Likewise.
12698
12699 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12700
12701         * lyxfind.C (LyXReplace): do not redefine default argument in
12702         implementation.
12703         (IsStringInText): ditto
12704         (SearchForward): ditto
12705         (SearchBackward): ditto
12706
12707 2001-03-06  Juergen Vigna  <jug@sad.it>
12708
12709         * lyxfind.C (IsStringInText): put parentes around expressions.
12710
12711 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12712
12713         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12714
12715 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12716
12717         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12718
12719         * stl_string_fwd.h: add comment
12720
12721         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12722
12723         * tabular.h:
12724         * tabular.C: remove unused DocBook methods
12725
12726         * intl.C:
12727         * language.C:
12728         * paragraph.C:
12729         * buffer.C:
12730         killed DO_USE_DEFAULT_LANGUAGE
12731
12732 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12733
12734         * lyx_gui.C: do not include language.h.
12735
12736         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12737         arguments in function implementation.
12738
12739 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12740
12741         * BufferView_pimpl.C: add <ctime>
12742
12743 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12744
12745         * BufferView_pimpl.C: add using std::find_if
12746
12747 2001-02-27  José Matos  <jamatos@fep.up.pt>
12748
12749         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12750         by OnlyPath.
12751
12752 2001-02-11  José Matos  <jamatos@fep.up.pt>
12753
12754         * buffer.C (makeDocBookFile): command styles now have a parameter as
12755         "title" by default.
12756
12757 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12758
12759         * layout_forms.[Ch]: removed
12760         * lyx_cb.[Ch]: out character
12761         * lyx_gui.C: out character
12762         * lyx_gui_misc.C: out character
12763         * bufferview_funcs.C: : out character,
12764         added toggleall as parameter in ToggleAndShow
12765
12766 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12767
12768         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12769
12770         * text2.C (SetCurrentFont): Disable number property at boundary.
12771
12772 2001-02-26  Juergen Vigna  <jug@sad.it>
12773
12774         * lyxfunc.C (getStatus): added a string argument override function so
12775         that this is correctly called from LyXFunc::Dispatch if it contains a
12776         do_not_use_argument which is used!
12777         (Dispatch): added check for "custom" export and call appropriate func.
12778
12779 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12780
12781         * lyxrc.C: Add language_command_local, language_use_babel and
12782         language_global_options.
12783
12784         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12785
12786         * buffer.C (makeLaTeXFile): Use language_use_babel and
12787         language_global_options.
12788
12789 2001-02-23  Juergen Vigna  <jug@sad.it>
12790
12791         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12792         which works with LyXText and putted it inside BufferView. Here now we
12793         only call for that part the BufferView::Dispatch() function.
12794
12795         * BufferView.C (Dispatch): added.
12796
12797         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12798         functions which needs to use a LyXText over from LyXFunc.
12799         (MenuInsertLyXFile): added
12800         (getInsetByCode): added
12801         (moveCursorUpdate): added
12802         (static TEXT): added
12803
12804 2001-02-22  Juergen Vigna  <jug@sad.it>
12805
12806         * BufferView_pimpl.C (update): call a status update to see if LyXText
12807         needs it.
12808
12809 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12810
12811         * vc-backend.C (revert): implement for CVS
12812         (getLog): implement for CVS
12813
12814 2001-02-20  Juergen Vigna  <jug@sad.it>
12815
12816         * text2.C (ClearSelection): added BufferView param for inset_owner call
12817
12818         * lyxfunc.C (TEXT): added this function and use it instead of
12819         directly owner->view()-text of getLyXText().
12820
12821 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12822
12823         * src/layout_forms.C: out preamble
12824         * src/layout_forms.h: out preamble
12825         * src/lyx_cb.C: out preamble
12826         * src/lyx_cb.h: out preamble
12827         * src/lyx_gui.C: out preamble
12828         * src/lyx_gui_misc.C: out preamble
12829         * src/lyxfunc.C: connect with guii preamble
12830
12831 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12832
12833         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12834
12835 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12836
12837         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12838         whether to run bibtex.
12839
12840 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12841
12842         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12843
12844 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12845
12846         * Makefile.am (lyx_SOURCES): removed bibforms.h
12847
12848         * vspace.h: doxygen
12849
12850         * text.C (GetVisibleRow): make several local vars const
12851
12852         * tabular.C: small cleanup.
12853
12854         * lyxserver.C (callback): use compare instead of strncmp
12855
12856         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12857         inlines to after class or to paragraph.C
12858
12859         * lyxfont.h: remove friend operator!=
12860
12861         * converter.h: move friend bool operator< to non friend and after
12862         class def.
12863
12864         * combox.h: small cleanup
12865
12866         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12867         to inlines after class def.
12868
12869         * buffer.C (pop_tag): use string operations instead of strcmp
12870
12871         * bmtable.c: doxygen, small cleanup
12872
12873         * LaTeX.h: remove friend operator==
12874
12875 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12876
12877         * screen.C:
12878         * lyxrc.[Ch]:
12879         * lyxfunc.C:
12880         * lyxfont.[Ch]:
12881         * lyx_cb.C:
12882         * intl.[Ch]:
12883         * commandtags.h:
12884         * buffer.C:
12885         * WorkArea.[Ch]:
12886         * LyXAction.C:
12887         * BufferView_pimpl.C:
12888         * BufferView.[Ch]: remove cruft
12889
12890 2001-02-14  Juergen Vigna  <jug@sad.it>
12891
12892         * lyxfunc.C: removed #if 0 unused code
12893
12894         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12895
12896         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12897
12898         * text2.C (SetSelection): added a BufferView * parameter
12899
12900 2001-02-13  Juergen Vigna  <jug@sad.it>
12901
12902         * lyxfunc.C (Dispatch): fixed protected blank problem.
12903         * BufferView2.C (protectedBlank): added LyxText * parameter.
12904
12905         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12906         (AppendColumn): same as above for column_info.
12907
12908         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12909         (moveCursorUpdate): use a LyXText param for support of InsetText.
12910
12911         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12912         (tripleClick): ditto
12913
12914         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12915
12916         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12917
12918         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12919
12920         * text2.C (SetSelection): set correct update status if inset_owner
12921         (ToggleFree): ditto
12922
12923 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12924
12925         * tabular.C: remove some commented code.
12926
12927 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12928
12929         * BufferView_pimpl.C: call hideSplash()
12930
12931         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12932
12933         * include_form.h:
12934         * bibforms.h: remove
12935
12936         * lyxfunc.C:
12937         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12938           add LFUN_CHILD_CREATE
12939
12940         * counters.h: fix tiny typo
12941
12942         * lyx_cb.C:
12943         * lyx.h:
12944         * lyx_gui.C:
12945         * lyx.C: move splash to frontends/xforms/
12946
12947         * lyx_gui_misc.C: move Include and Bibform to frontends
12948
12949         * lyxvc.h: clarify comment
12950
12951         * vspace.C: tiny housekeeping
12952
12953 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12954
12955         * text.C (PrepareToPrint): RTL Fix.
12956
12957         * paragraph.C (GetUChar): New method.
12958         (String):  Use GetUChar.
12959
12960         * buffer.C (asciiParagraph): Use GetUChar.
12961
12962 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12963
12964         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12965
12966 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12967
12968         * buffer.h:
12969         * buffer.C: rename to getLogName(), handle
12970           build log / latex log nicely
12971
12972 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12973
12974         * MenuBackend.C:
12975         * MenuBackend.h: remove support for reference menuitem type.
12976
12977 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12978
12979         * BufferView_pimpl.C: housekeeping
12980         * BufferView_pimpl.h:
12981         * LyXView.h:
12982         * Makefile.am:
12983         * Timeout.C:
12984         * Timeout.h:
12985         * minibuffer.h: move Timeout GUI-I
12986
12987 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12988
12989         * lyxrc.C (read): Update converters data-structures.
12990
12991 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12992
12993         * LaTeX.h (operator!=): add operator != for Aux_Info
12994
12995 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12996
12997         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12998
12999         * LaTeXLog.C: deleted, useful code moved to Buffer
13000
13001         * buffer.h:
13002         * buffer.C: new function getLatexLogName()
13003
13004         * lyx_gui_misc.C:
13005         * lyx_gui.C:
13006         * lyxvc.C:
13007         * lyxvc.h:
13008         * lyxfunc.C: use frontends for LaTeX and VC logs
13009
13010 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13011
13012         * LaTeX.h: yet another std:: that Allan forgot.
13013
13014         * Variables.C (set): renamed from isset(), because this clashes
13015         with some HP-UX macros (grr).
13016
13017 2001-02-06  Allan Rae  <rae@lyx.org>
13018
13019         * LaTeX.h: Another bug fix.  Missing std:: this time.
13020
13021 2001-02-04  Allan Rae  <rae@lyx.org>
13022
13023         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13024         floats problem. I've left it commented out because it's not quite
13025         correct.  It should also test that the current object is a table or
13026         figure inset.  But I haven't gotten around to figuring out how to do
13027         that.  I *think* it'll be something like: "table" == inset.type()
13028
13029         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13030         bool.
13031
13032 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13033
13034         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13035         all the citation/databases/styles in the auxilary file.
13036         (run): Rerun latex if there was a babel language error.
13037
13038 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13039
13040         * text.C (Backspace): Preserve the font when changing newline char
13041         with a space.
13042         (BreakParagraph): If the cursor is before a space, delete the space.
13043
13044         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13045
13046 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13047
13048         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13049         new argument (code).
13050         (ChangeCitationsIfUnique): New method.
13051
13052         * paragraph.C (GetPositionOfInset): Handle bibkey.
13053
13054 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13055
13056         * BufferView_pimpl.h: change type of Position::par_pos to
13057         LyXParagraph::size_type.
13058
13059 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13060
13061         * BufferView_pimpl.C (savePosition, restorePosition): Write
13062         messages to minibuffer.
13063
13064 2001-01-28  José Matos  <jamatos@fep.up.pt>
13065
13066         * buffer.C (makeDocBookFile): adds support for document language.
13067         A silly restriction on the name of LatexCommand types where removed.
13068         Added support for CDATA sections, allows to chars unescaped, used
13069         among others in code, to avoid escape < and >.
13070
13071 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13072
13073         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13074         saved positions instrad of a stack. Furthermore, a position is
13075         stored using paragraph id/paragraph position.
13076
13077         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13078         Remove LFUN_REF_BACK.
13079
13080 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13081
13082         * converter.C (dvipdfm_options): New method.
13083
13084 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13085
13086         * vspace.C (isValidLength): Fix for empty input string.
13087
13088 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * LyXAction.C (init): change description of LFUN_FIGURE to
13091         "Insert Graphics"
13092
13093 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13094
13095         * LaTeX.C: add using directive
13096
13097 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13098
13099         * MenuBackend.C (expand): Fix the sorting of the formats.
13100
13101 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13102
13103         * lyx_main.C: tiny error message fix
13104
13105 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13106
13107         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13108         calling fl_initialize(). This fixes the problem with ',' as
13109         decimal separator in text files.
13110
13111 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13112
13113         * trans.C (process): Fix the keymap bug.
13114
13115 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13116
13117         * LaTeX.C (scanAuxFiles): New method. Provides support for
13118         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13119         (scanLogFile) Scan for "run BibTeX" messages.
13120
13121         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13122         OT1 font encoding. Also, load the aecompl package if the ae
13123         package is loaded.
13124
13125         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13126
13127 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13128
13129         * texrow.C (increasePos): turn two error messages into debug
13130         messages.
13131
13132 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13133
13134         * LaTeX.C (scanAux): Handle the \@input macro.
13135         (runBibTeX): Use scanAux().
13136
13137         * language.C (latex_options_): New field.
13138
13139         * LaTeXFeatures.C (getMacros): Add language macros.
13140
13141         * buffer.C (makeLaTeXFile): Small fix.
13142
13143 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13144
13145         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13146
13147         * text2.C: add a using directive.
13148
13149 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13150
13151         * BufferView2.C:
13152         * lyx_gui_misc.h:
13153         * lyxfr1.C:
13154         * lyxfunc.C: kill LyXBell.
13155
13156 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13157
13158         * text.C (IsBoundary): Remove the error message
13159
13160         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13161
13162         * lyxrc.C (setDefaults): Correct initialization value for
13163         font_norm_type.
13164
13165 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13166
13167         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13168         gotoError().
13169
13170         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13171         and GotoNextNote().
13172
13173         * src/LyXAction.C: Added reference-next.
13174
13175         * text.C (InsertChar): Use contains instead of strchr.
13176
13177         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13178
13179 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13180
13181         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13182         alignment commands (when needed).
13183
13184         * text.C (InsertChar): Add ':' to number separator chars.