]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
eece3490916df311d7052ab0e6256bc4c5ff61b6
[lyx.git] / src / ChangeLog
1 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * LaTeX.C (deplog): move found file handlig from here...
4         (handleFoundFile): .. to new function here.
5         (deplog): make sure to discover several files mentioned on the
6         same log line.
7
8 2003-10-10  André Pönitz  <poenitz@gmx.net>
9
10         * lyxfunc.C:
11         * lyxtext.h:
12         * tabular.C:
13         * text.C:
14         * text2.C:
15         * text3.C: fix some of the tabular crashes
16
17 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
18
19         * MenuBackend.C (binding): put debug message into Debug::KBMAP
20
21         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
22
23 2003-10-09  André Pönitz  <poenitz@gmx.net>
24
25         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
26
27         * BufferView.C:
28         * BufferView_pimpl.C:
29         * bufferview_funcs.C:
30         * lyx_cb.C:
31         * lyxcursor.C:
32         * lyxfind.C:
33         * lyxfunc.C:
34         * lyxtext.h:
35         * text.C:
36         * text2.C:
37         * text3.C:
38         * text_funcs.[Ch]:
39         * textcursor.[Ch]:
40         * undo_funcs.C: adjust
41
42 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
43
44         * text2.C (incrementItemDepth): new function, use a backtracking
45         algorithm to discover the correct item depth.
46         (resetEnumCounterIfNeeded): new function, use a backtracking
47         algorithm to discover if counter reset is needed.
48         (setCounter): use them. Simplify a bit. Add different labels for
49         different item depths for itemize.
50
51         * paragraph.C (Paragraph): remove initialization of enumdepth
52         (operator=): ditto
53
54         * paragraph.h: get rid of enumdepth, and use itemdepth both for
55         enumerate and itemize. Change the type of itemdepth to signed char.
56
57 2003-10-08  André Pönitz  <poenitz@gmx.net>
58
59         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
60           thing assignable.
61         * text.C:
62         * text2.C: adjust
63
64         * tabular.[Ch]: fix crash after 'row-insert'
65
66 2003-10-08  Angus Leeming  <leeming@lyx.org>
67
68         Fix doxygen warnings.
69
70         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
71         Remove CutAndPaste:: prefix from header file declaration.
72
73         * LColor.h (fill): remove LColor:: prefix from declaration.
74
75         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
76         use lyx::depth_type rather than Paragraph::depth_type so that
77         header file and .C file match.
78
79         * converter.h (intToFormat): remove Converters:: prefix from declaration.
80
81         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
82         * aspell.C: \file aspell_local.C -> \file aspell.C
83         * gettext.C: \file gettext.C -> \file src/gettext.C
84         * gettext.h: \file gettext.h -> \file src/gettext.h
85         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
86         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
87         * text.C: \file text.C -> \file src/text.C
88
89         * toc.C: move comment so that doxygen is not confused.
90
91 2003-10-07  Angus Leeming  <leeming@lyx.org>
92
93         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
94
95 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96
97         * aspell.C:
98         * aspell_local.h: add forgotten std::string's.
99
100 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
101
102         * LaTeXFeatures.C:
103         * LyXAction.C:
104         * factory.C:
105         * lfuns.h:
106         * lyxfunc.C:
107         * text3.C: The Box patch. Fancybox support, minipage, parbox
108
109 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
110
111         * CutAndPaste.h:
112         * DepTable.h:
113         * FloatList.h:
114         * LaTeXFeatures.h:
115         * ParagraphParameters.h:
116         * TextCache.h:
117         * Thesaurus.h:
118         * bufferlist.h:
119         * exporter.h:
120         * importer.h:
121         * lastfiles.h:
122         * lyxfind.h:
123         * lyxfont.h:
124         * lyxlex.h:
125         * lyxtextclasslist.h:
126         * messages.h:
127         * paragraph.h:
128         * paragraph_pimpl.C:
129         * textcursor.h: add <string> and other small fixes to make Lars'
130         std::string patch compile with STLport.
131
132 2003-10-06  Angus Leeming  <leeming@lyx.org>
133
134         * LColor.h: Add missing #include <string>.
135
136 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
137
138         * All most all file in all subdirs: Make <string> be the prefered
139         way of getting to std::string, add using declarations.
140
141 2003-10-06  André Pönitz  <poenitz@gmx.net>
142
143         * metricsinfo.C: initialize LyXFont before changing attribute.
144         (fixes the 'math in \emph is upright' bug)
145
146 2003-10-06  André Pönitz  <poenitz@gmx.net>
147
148         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
149
150 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
151
152         * graph.C:
153         * paragraph_pimpl.C: Small fixes to build using STLport
154
155 2003-10-02  André Pönitz  <poenitz@gmx.net>
156
157         * lyxfunc.C:
158         * text3.C: move handling of LFUN_DEPTH *; fix #1360
159
160 2003-10-01  André Pönitz  <poenitz@gmx.net>
161
162         * factory.C: assert early
163
164 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
165
166         * lyx_main.C: remove the global debug object
167
168         * debug.h: adjust for new debugstream
169
170         * debug.C: adjust for new debugstream and keep the global debug
171         object here.
172
173 2003-09-22  Angus Leeming  <leeming@lyx.org>
174
175         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
176         of g++ which otherwise complain that the scoped_ptr destructor can't delete
177         an incomplete class LyXFont.
178
179 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
180
181         * factory.C: bug fix in branches
182
183 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
184
185         * lyxfunc.C (processKeySym): adjust
186         (dispatch): adjust
187         (dispatch): change arg name from ev to func, adjust
188         (sendDispatchMessage): ditto
189
190         * lyx_main.C (defaultKeyBindings): adjust keybindings
191         (deadKeyBindings): ditto
192
193         * kbsequence.C (addkey): return a FuncRequest
194
195         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
196
197         * kbmap.C (bind): take a FuncRequest as arg, adjust
198         (read): adjust
199         (lookup): adjust
200         (defkey): change to take a FuncRequest as arg, adjust
201         (findbinding): take a FuncRequest as arg, adjust.
202
203         * funcrequest.h (operator=): added
204
205         * funcrequest.C (FuncRequest): default kb_action changed from
206         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
207
208         * buffer.C (dispatch): simplify
209         (dispatch): adjust to take a FuncRequest as arg, adjust
210
211         * boost.C (assertion_failed): change assertion message slightly
212
213         * ToolbarBackend.C (read): simplify
214
215         * MenuBackend.C (binding): adjust call to findbinding, add a
216         message if no binding is found.
217         (read): simplify
218         (expandToc): correct by adding a empty FuncRequest
219
220         * LyXAction.C: include <boost/assert.hpp>
221         (isPseudoAction): delete function
222         (LookupFunc): change name to...
223         (lookupFunc): this. change return type to FuncRequest.
224         (getActionName): take kb_action as arg, simplify
225         (funcHasFlag): add an assert, simplify.
226
227 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
228
229         * toc.C (action): return a FuncRequest, simplify
230
231         * lyxfunc.C (processKeySym): adjust
232         (getStatus): delete version that takes an int.
233         (getStatus): adjust
234         (dispatch): delete version that takes action as int
235         (dispatch): adjust
236         (sendDispatchMessage): simplify and adjust
237
238         * funcrequest.C (getArg): take unsigned int as arg
239
240         * ToolbarBackend.C (read): adjust
241         (add): delete version that takes func as a string.
242         (getIton): take a FuncRequest as arg
243
244         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
245         action.
246
247         * MenuBackend.C (MenuItem): add a new construct that only takes a
248         Kind, simplify the constructor use for submenus.
249         (add): adjust
250         (expandLastfiles): adjust
251         (expandDocuments): adjust
252         (expandFormats): adjust
253         (expandFloatListInsert): adjust
254         (expandFloatInsert): adjust
255         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
256
257         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
258         Remove class variables lyx_pseudo_map and lyx_arg_map
259
260         * LyXAction.C (searchActionArg): delete function
261         (getPseudoAction): delete function
262         (retrieveActionArg): delete function
263         (LookupFunc): make it return kb_action, simplify.
264         (getActionName): simplify
265
266         * factory.C (createInset): fix new bug
267
268 2003-09-19  Angus Leeming  <leeming@lyx.org>
269
270         * CutAndPaste.C (pasteSelection): remove fudge used to set the
271         masterFilename_ parameter in the include inset.
272
273         * factory.C (createInset): changes due to the changes to InsetInclude.
274
275 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
276
277         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
278
279 2003-09-18  Angus Leeming  <leeming@lyx.org>
280
281         * buffer.C:
282         * BufferView.C: pass the buffer when calling Inset::getLabelList,
283         Inset::fillWithBibKeys.
284         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
285
286 2003-09-18  Angus Leeming  <leeming@lyx.org>
287
288         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
289         variables.
290         (ctor): pass and store a 'Buffer const &'
291         (buffer): new member function.
292
293         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
294         '*this' to the LaTeXFeatures ctor.
295
296 2003-09-18  Angus Leeming  <leeming@lyx.org>
297
298         * LColor.h:
299         * lyxfont.C:
300         * lyxfont.h:
301         * lyxtext.h:
302         * text.C: rename EnumLColor as LColor_color.
303
304 2003-09-18  Angus Leeming  <leeming@lyx.org>
305
306         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
307         remove #include "insets/insetbase.h" from cursor.h.
308
309 2003-09-18  Angus Leeming  <leeming@lyx.org>
310
311         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
312         InsetOld_code to remove #include "inset.h".
313
314         * iterators.C: add #include "insets/inset.h"
315
316 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
317
318         * BufferView.C: remove more locking stuff that apparently doesn't
319         do anything sensible.
320
321 2003-09-16  André Pönitz  <poenitz@gmx.net>
322
323         * paragraph.[Ch]:
324         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
325           performance boost.
326
327 2003-09-16  Angus Leeming  <leeming@lyx.org>
328
329         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
330
331         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
332         arg/return type.
333
334         * paragraph.h: remove #include "lyxfont.h". Forward declare
335         LyXFont_size.
336
337 2003-09-16  Angus Leeming  <leeming@lyx.org>
338
339         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
340         of support/textutils.h.
341         (isWord): move the contents of support/textutils.h's IsWordChar here.
342
343         * buffer.C:
344         * lyxfind.C:
345         * rowpainter.C:
346         * text.C:
347         * text2.C: add #include "paragraph.h".
348
349         * rowpainter.C:
350         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
351
352 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
353
354         * main.C:
355         * lyx_main.C:
356         * lyx_cb.C:
357         * buffer.C:
358         * LaTeX.C: use namespace alias for lyx::support::os
359
360 2003-09-16  Angus Leeming  <leeming@lyx.org>
361
362         * bufferparams.C:
363         * bufferview_funcs.C:
364         * factory.C:
365         * lyxfunc.C:
366         * paragraph_pimpl.C:
367         * rowpainter.C:
368         * text.C: add #include "LColor.h".
369
370 2003-09-16  Angus Leeming  <leeming@lyx.org>
371
372         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
373         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
374         return LyXFont &.
375         Store the FontBits::color variable as an int rather than as an
376         LColor::colorso that we can move LColor.h out of the lyxfont.h header
377         file.
378
379         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
380         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
381         string calls together.
382
383         * lyxrc.C: add #include "LColor.h".
384
385 2003-09-15  Angus Leeming  <leeming@lyx.org>
386
387         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
388         a cow_ptr.
389
390 2003-09-15  Angus Leeming  <leeming@lyx.org>
391
392         * LColor.h: add an EnumLColor wrapper for LColor::color.
393
394         * lyxfont.[Ch] (color, setColor, realColor):
395         * lyxtext.h, text.C (backgroundColor):
396         pass EnumLColor args to/from the functions, rather than LColor::color
397         ones.
398
399         * lyxfont.h:
400         * lyxtext.h: forward declare EnumLColor.
401
402         * lyx_main.C: add #include "LColor.h".
403
404 2003-09-15  Angus Leeming  <leeming@lyx.org>
405
406         * .cvsignore: add lyx-gtk.
407
408 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
409
410         * Chktex.C
411         * LaTeX.C
412         * LaTeXFeatures.C
413         * ParagraphParameters.C
414         * Spacing.C
415         * buffer.C
416         * bufferparams.C
417         * bufferview_funcs.C
418         * chset.C
419         * counters.C
420         * funcrequest.C
421         * lyxfont.C
422         * lyxgluelength.C
423         * lyxlength.C
424         * paragraph.C
425         * paragraph_funcs.C
426         * text3.C
427         * vc-backend.C: remove usage of STRCONV
428
429 2003-09-15  Angus Leeming  <leeming@lyx.org>
430
431         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
432         explicitly define the color passed to the painter.
433
434 2003-09-15  Angus Leeming  <leeming@lyx.org>
435
436         * bufferparams.C (BufferParams): reorder member initializers to avoid
437         compiler warning.
438
439 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
440
441         * CutAndPaste.C (pasteSelection): remove an outdated #warning
442         * text.C (updateRowPositions): remove an unusual nop
443
444 2003-09-12  André Pönitz  <poenitz@gmx.net>
445
446         * BufferView_pimpl.C:
447         * Bullet.C:
448         * layout.h:
449         * lyxfunc.C:
450         * lyxlayout.[Ch]:
451         * lyxtextclass.C:
452         * rowpainter.C:
453         * text.C:
454         * text2.C:
455         * Counters.[Ch]: finish the 'automatic counters' job
456
457 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
458
459         * aspell.C: include <boost/assert.cpp> (compile fix)
460
461 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
462
463         * boost.C (assertion_failed): use lyx::support::abort instead of
464         assert.
465
466 2003-09-10  Angus Leeming  <leeming@lyx.org>
467
468         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
469         with their _fwd progeny.
470
471 2003-09-09  Angus Leeming  <leeming@lyx.org>
472
473         134 files throughtout the source tree: replace 'using namespace abc;'
474         directives with the appropriate 'using abc::xyz;' declarations.
475
476 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
477
478         * boost.C (emergencyCleanup): moved here from LAssert.c
479         (assertion_failed): new function, called by BOOST_ASSERT
480
481         * several files: change Assert to BOOST_ASSERT
482
483 2003-09-09  Angus Leeming  <leeming@lyx.org>
484
485         * buffer.[Ch]: Add an Impl class and move Buffer's member
486         variables into it. As a result move several header files out of
487         buffer.h.
488
489         Add header files to lots of .C files all over the tree as a result.
490
491 2003-09-09  Angus Leeming  <leeming@lyx.org>
492
493         * buffer.[Ch]: make Buffer's member variables private. Add
494         accessor functions.
495
496         Lots of changes all over the tree as a result.
497
498 2003-09-08  Angus Leeming  <leeming@lyx.org>
499
500         * graph.C: #include <config.h>.
501
502 2003-09-08  Angus Leeming  <leeming@lyx.org>
503
504         * BranchList.C:
505         * BufferView.C:
506         * BufferView_pimpl.C:
507         * CutAndPaste.C:
508         * DepTable.C:
509         * LaTeX.C:
510         * LaTeXFeatures.C:
511         * LyXAction.C:
512         * MenuBackend.C:
513         * TextCache.C:
514         * aspell.C:
515         * buffer.C:
516         * bufferlist.C:
517         * changes.C:
518         * chset.C:
519         * converter.C:
520         * counters.C:
521         * debug.C:
522         * graph.C:
523         * ispell.C:
524         * lyx_cb.C:
525         * lyxfind.C:
526         * lyxfunc.C:
527         * lyxlex_pimpl.C:
528         * lyxrc.C:
529         * lyxrow.C:
530         * paragraph.C:
531         * rowpainter.C:
532         * texrow.C:
533         * text.C:
534         * text2.C:
535         * toc.C: remove redundant using directives.
536
537 2003-09-07  Angus Leeming  <leeming@lyx.org>
538
539         * LaTeXFeatures.h: remove #include "support/types.h".
540         * ToolbarBackend.h: remove #include <algorithm>.
541         * changes.h: remove #include <ctime>.
542         * debug.h: remove #include <iosfwd>.
543         * graph.h: remove #include "support/std_string.h".
544         * lyx_main.h: remove #include <csignal>.
545         * lyxlex_pimpl.h: remove #include <fstream>.
546         * sgml.h: remove #include <algorithm>, <utility>.
547         * toc.h: remove #include "support/std_ostream.h".
548         Add #include <iosfwd>.
549
550 2003-09-07  Angus Leeming  <leeming@lyx.org>
551
552         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
553
554         * converter.h: forward declare LatexRunParams.
555         * encoding.h: remove #include "lyxrc.h".
556         * lyxtext.h: remove #include "LColor.h".
557         * lyxtextclass.h: remove #include "support/types.h".
558         * trans.h: remove #include "tex-accent.h".
559         * trans_mgr.h: remove #include "tex-accent.h".
560         * insets/inset.h: remove #include "support/types.h", <vector>.
561         * insets/insetcollapsable.h: remove #include "LColor.h".
562         * insets/insetinclude.h: remove #include "dimension.h".
563         * insets/insetlatexaccent.h: remove #include "dimension.h".
564         * insets/insetoptarg.h:: remove #include "insettext.h".
565         * insets/insettext.h: remove #include "dimension.h",
566         <boost/shared_ptr.hpp>
567
568         * insets/renderers.h: add #include "dimension.h".
569         * insets/updatableinset.h: add #include "support/types.h".
570
571         * many .C files: Associated changes.
572
573 2003-09-06  Angus Leeming  <leeming@lyx.org>
574
575         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
576         one, inside testInvariant.
577
578         * PrinterParams.C: new file.
579         * PrinterParams.[Ch]: move the function bodies out of line.
580
581 2003-09-06  Angus Leeming  <leeming@lyx.org>
582
583         * ParagraphParameters.h: forward declare ParameterStruct rather than
584         including its header file.
585         (depth): moved out-of-line.
586
587 2003-09-06  Angus Leeming  <leeming@lyx.org>
588
589         * BufferView_pimpl.h:
590         * kbmap.h:
591         * kbsequence.h:
592         * lyxfunc.h: forward declare LyXKeySym rather than
593         #include "frontends/LyXKeySym.h".
594
595         * BufferView_pimpl.C:
596         * kbmap.C:
597         * kbsequence.C:
598         * lyxfunc.C: associated changes.
599
600 2003-09-06  Angus Leeming  <leeming@lyx.org>
601
602         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
603         As a result, can remove the #include "insets/inset.h" from BufferView.h
604
605 2003-09-06  Angus Leeming  <leeming@lyx.org>
606
607         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
608         As a result, can remove the #include "insets/inset.h" from BufferView.h
609
610 2003-09-06  Angus Leeming  <leeming@lyx.org>
611
612         * buffer_funcs.C:
613         * buffer.h:
614         * bufferlist.C:
615         * BufferView.C:
616         * bufferview_funcs.C:
617         * BufferView_pimpl.C:
618         * CutAndPaste.C:
619         * lyx_cb.C:
620         * lyxfunc.C:
621         * paragraph.h:
622         * ParagraphParameters.C:
623         * tabular.C:
624         * text3.C:
625         * toc.C:
626         * undo_funcs.C:
627         * frontends/controllers/ControlDocument.C:
628         * insets/insetcaption.C: rearrange the #includes into some sort of
629         coherent order.
630
631         * buffer.h: remove #includes ErrorList.h, undo.h
632
633 2003-09-06  Angus Leeming  <leeming@lyx.org>
634
635         * support/types.h: add a 'depth_type' typedef, used to store the
636         nesting depth of a paragraph.
637
638         * paragraph.h:
639         * ParameterStruct.h: use this lyx::depth_type typedef rather than
640         defining explicitly.
641
642         * buffer.h:
643         * paragraph_funcs.h:
644         * ParagraphParameters.h:
645         * sgml.h: use lyx::depth_type rather than Paragraph or
646         ParameterStruct's depth_type.
647
648         * buffer.h
649         * paragraph_funcs.h: no need to #include paragraph.h anymore.
650
651         * BufferView.C:
652         * BufferView_pimpl.C:
653         * CutAndPaste.C:
654         * ParagraphParameters.C:
655         * buffer_funcs.C:
656         * bufferlist.C:
657         * bufferview_funcs.C:
658         * lyx_cb.C:
659         * lyxfunc.C:
660         * tabular.C:
661         * text3.C:
662         * toc.C:
663         * undo_funcs.C:
664         * frontends/LyXView.C:
665         * frontends/controllers/ControlDocument.C:
666         * frontends/controllers/ControlErrorList.C:
667         * insets/insetbibitem.C:
668         * insets/insetbranch.C:
669         * insets/insetcaption.C:
670         * insets/insetcollapsable.C:
671         * insets/insetenv.C:
672         * insets/insetert.C:
673         * insets/insetfloat.C:
674         * insets/insetfoot.C:
675         * insets/insetfootlike.C:
676         * insets/insetnewline.C:
677         * insets/insetquotes.C:
678         * insets/insettabular.C:
679         * insets/insettext.C:
680         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
681
682         * frontends/controllers/ControlChanges.C: #include "changes.h".
683
684 2003-09-06  Angus Leeming  <leeming@lyx.org>
685
686         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
687         than #including paragraph.h.
688
689         * ParagraphList.h:
690         * RowList.h: deleted. Superfluous.
691
692         * CutAndPaste.h:
693         * iterators.h:
694         * lyxcursor.h:
695         * lyxtext.h:
696         * text_funcs.h:
697         * undo.h:
698         * undo_funcs.h:
699         * insets/inset.h:
700         * insets/insettext.h: use ParagraphList_fwd.h rather than
701         ParagraphList.h.
702
703         * paragraph.h: don't forward declare ParagraphList.
704
705         * buffer.h:
706         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
707         rather than ParagraphList.h. paragraph.h is still needed for the
708         Paragraph::depth_type parameters.
709
710         * textcursor.h: enable it to compile stand-alone in light of the
711         above changes.
712
713         * bufferview_funcs.C:
714         * iterators.C:
715         * lyxfunc.C:
716         * lyxrow_funcs.C:
717         * paragraph.C:
718         * rowpainter.C:
719         * text.C:
720         * text2.C:
721         * text3.C:
722         * text_funcs.C:
723         * textcursor.C:
724         * undo.C:
725         * frontends/controllers/ControlParagraph.C:
726         * frontends/controllers/ControlTabular.C:
727         * insets/insetmarginal.C:
728         * insets/insetminipage.C:
729         * insets/insetnote.C:
730         * insets/insetoptarg.C: add header files needed to compile again.
731
732 2003-09-06  Angus Leeming  <leeming@lyx.org>
733
734         * RowList_fwd.h: new file, forward-declaring Row rather than
735         #including lyxrow.h.
736
737         * lyxrow_funcs.h:
738         * lyxtext.h:
739         * paragraph.h:
740         * insets/insettext.h: use it instead of RowList.h
741
742         * bufferview_funcs.C:
743         * lyxfunc.C:
744         * lyxrow_funcs.C:
745         * paragraph.C:
746         * rowpainter.C:
747         * text.C:
748         * text2.C:
749         * text3.C: #include "RowList.h".
750
751 2003-09-05  Angus Leeming  <leeming@lyx.org>
752
753         * factory.C (createInset):
754         * vspace.C (c-tor): replace sscanf call with an istringstream.
755         * ispell.C: re-add missing HP/UX headers.
756         * lyxserver.C: re-add missing  os2 headers.
757
758 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
759
760         * BranchList.C:
761         * graph.C:
762         * ispell.C:
763         * lastfiles.C:
764         * lyx_cb.C:
765         * lyxserver.C:
766         * texrow.C:
767         * text3.C: re-add missing system headers, needed for 2.95.2.
768
769 2003-09-05  Angus Leeming  <leeming@lyx.org>
770
771         Changes most place everywhere due to the removal of using directives
772         from support/std_sstream.h.
773
774 2003-09-05  Angus Leeming  <leeming@lyx.org>
775
776         Replace LString.h with support/std_string.h,
777         Lsstream.h with support/std_sstream.h,
778         support/LIstream.h with support/std_istream.h,
779         support/LOstream.h with support/std_ostream.h.
780
781         Changes resulting throughout the tree.
782
783 2003-09-05  Angus Leeming  <leeming@lyx.org>
784
785         * sgml.h: ensure that the header file can be compiled stand-alone.
786         * *.C: strip out redundant #includes. (320 in total.)
787
788 2003-09-04  Angus Leeming  <leeming@lyx.org>
789
790         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
791         here (from getPackages).
792
793         * debug.[Ch]: add a new EXTERNAL tag.
794
795 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
796
797         * text2.C (cursorEnd): simplify
798         (setCursor): adjust
799         (getColumnNearX): adjust
800
801         * text.C (computeBidiTables): adjust
802         (fill): adjust
803
804         * rowpainter.C (paintChars): adjust
805         (paintSelection): adjust
806         (paintChangeBar): adjust
807         (paintText): adjust
808
809         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
810         lastPos instead.
811         (numberOfSeparators): adjust
812
813 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
814
815         * LyXAction.C:
816         * box.[Ch]:
817         * lfuns.h:
818         * lyxfunc.C:
819         * text3.C: Restricts the mouse click functionality
820         of insets like bibtex, include, toc and floatlist to the visible
821         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
822         up the dialogs. Cursor has to be in front of the inset (i.e.
823         start of row) for this to function.
824
825 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
826
827         * bufferview_funcs.C (currentState): output row information
828
829 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
830
831         * bufferview_funcs.C (currentState): output paragraph position
832
833 2003-09-04  Angus Leeming  <leeming@lyx.org>
834
835         * FloatList.h: move out #include "Floating.h".
836         * LaTeX.h: move out #include "DepTable.h".
837         * LyXAction.h: move out #include "funcrequest.h".
838         * buffer.h: move out #include "author.h", "iterators.h".
839         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
840         * lyx_main.h: move out #include "errorlist.h".
841         * lyxfunc.h: move out #include "FuncStatus.h".
842         * lyxtext: move out #include "lyxcursor.h".
843         * paragraph_pimpl.h: move out #include "counters.h".
844
845 2003-09-03  Angus Leeming  <leeming@lyx.org>
846
847         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
848         preamble_snippets list, enabling us to add snippets to the preamble
849         only if the snippet was not there already.
850
851 2003-09-04  Angus Leeming  <leeming@lyx.org>
852
853         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
854
855 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
856
857         * lyxfunc.C (dispatch): if fitCursor did something be sure to
858         update
859
860 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
861
862         * BranchList.C: point fix, earlier forgotten
863
864 2003-09-02  Angus Leeming  <leeming@lyx.org>
865
866         * box.C (contains): renamed from 'contained' after a fantastic
867         amount of hot air.
868
869 2003-09-02  John Levon  <levon@movementarian.org>
870
871         * BufferView.C:
872         * lyxcursor.h:
873         * lyxcursor.C:
874         * lyxfunc.C:
875         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
876
877 2003-09-02  John Levon  <levon@movementarian.org>
878
879         * text2.C: simplification of cursorEnd(), including partial
880         fix for bug 1376
881
882 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
883
884         * buffer.C (readFile): add a space
885
886 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
887
888         * BufferView_pimpl.C (update): remove bogus fitCursor() call
889
890 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
891
892         * buffer.C (readFile): new function, take a filename and a
893         ParagraphList::iterator
894         (readFile): adjust
895         (readFile): adjust, make it private. don't use setStream, make
896         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
897         always contain the filename.
898
899         * BufferView.C (insertLyXFile): simplify and make it work for
900         gzipped files.
901
902 2003-08-30  John Levon  <levon@movementarian.org>
903
904         * Makefile.am: fix dist (from Kayvan)
905
906 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
907
908         * most files: change to use const Buffer refs
909
910 2003-08-27  André Pönitz  <poenitz@gmx.net>
911
912         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
913         on top of ownerPar().
914
915 2003-08-27  John Levon  <levon@movementarian.org>
916
917         * funcrequest.C: properly initialise POD members
918
919 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
920
921         * lyxtext.h (top_y): move top_y from here
922         * text.C:
923         * text2.C:
924         * text3.C:
925         * BufferView.[Ch]:
926         * BufferView_pimpl.[Ch]: to here
927         * frontends/screen.C:
928         * insets/insettabular.C:
929         * insets/insettext.C: adjust
930         * rowpainter.[Ch] (paintRows): remove LyXText & argument
931
932 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
933
934         * BufferView.[Ch]:
935         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
936
937 2003-08-26  André Pönitz  <poenitz@gmx.net>
938
939         * paragraph_func.[Ch] (outerPar): new function
940
941         * paragraph.C:
942         * paragraph_funcs.C:
943         * paragraph_funcs.h:
944         * paragraph_pimpl.C:
945         * text2.C: remove Inset::par_owner
946
947 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
948
949         * lyxrow_funcs.C:
950         * lyxtext.h:
951         * text.C:
952         * text2.C: eliminates the needFullRow/display() stuff
953         altogether, putting the logic in metrics/draw in the insets.
954
955 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
956
957         * text2.C (redoParagraphInternal, redoParagraphs):
958         * text.C (redoParagraph): add a call to updateRowPositions at the
959         end of each 'metrics-like' call. Remove all others.
960         (getRow): remove the 'y-computing' version.
961         (getRowNearY): do not compute nor return the real y. Solve the
962         'y < 0' problem and simplify.
963
964 2003-08-22  Angus Leeming  <leeming@lyx.org>
965
966         * *.[Ch]: clean-up of licence and author blurbs.
967         Also move config.h out of a few .h files and into a few .C files.
968
969 2003-08-22  André Pönitz  <poenitz@gmx.net>
970
971         * lyxrow.[Ch]: add x_ and *fill_ members
972
973         * lyxtext.h:
974         * text.C:
975         * rowpainter.C:
976         * text2.C: adjust/remove prepareToPrint() calls
977
978 2003-08-22  André Pönitz  <poenitz@gmx.net>
979
980         * lyxrow.[Ch]: add  end_ member
981
982         * lyxrow_funcs.C: use LyXRow::end_
983
984         * lyxtext.h (singleWidth): add LyXFont parameter
985
986         * rowpainter.C:
987         * text2.C: adjust LyXText::singleWidth() calls
988
989         * text.C (redoParagraph): simplify row breaking logic
990
991
992 2003-08-19  André Pönitz  <poenitz@gmx.net>
993
994         * funcrequest.C: initialize button_ member
995
996         * text3.C:
997         * rowpainter.[Ch]: interface consolidation
998
999 2003-08-18  André Pönitz  <poenitz@gmx.net>
1000
1001         * BufferView.C:
1002         * BufferView_pimpl.C:
1003         * lyxfind.C:
1004         * paragraph_funcs.C:
1005         * rowpainter.C:
1006         * text3.C: remove LyXScreen::draw() and fitCursor calls
1007
1008         * BranchList.h: remove spurious semicolons
1009
1010         * MenuBackend.C: fix branchlist related crash
1011
1012 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1013
1014         * BranchList.[Ch]:
1015         * InsetList.[Ch]:
1016         * LColor.[Ch]:
1017         * LyXAction.C:
1018         * Makefile.am:
1019         * MenuBackend.[Ch]:
1020         * bufferparams.[Ch]:
1021         * factory.C:
1022         * lfuns.h:
1023         * lyxfunc.C:
1024         * text3.C: implements the 'branch inset'
1025         idea. This allows the output of various versions of a document
1026         from a single source version, selectively outputing or suppressing
1027         output of parts of the text.
1028         This implementation contains a 'branch list editor' in a separate
1029         tab of the document settings dialog. Branches are user definable
1030         and have a "display colour" to distinguish them on-screen.
1031
1032         ColorHandler was somewhat cleaned up.
1033         (1) make possible a dynamically growing LColor list by allowing
1034         the graphic context cache to grow along (vector);
1035         (2) eliminate an IMHO unnecessary step in colour allocation.
1036
1037 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1038
1039         * BufferView_pimpl.C: compile fix
1040
1041 2003-08-15  André Pönitz  <poenitz@gmx.net>
1042
1043         * rowpainter.C: remove extra metrics calls
1044
1045         * lyxtext.h: merge the two constructors into a single one,
1046           pass reference to owner's par list
1047
1048         * BufferView_pimpl.C:
1049         * text.C:
1050         * text2.C: adjust
1051
1052 2003-08-15  André Pönitz  <poenitz@gmx.net>
1053
1054         * lyxrow_funcs.[Ch]:
1055         * lyxtext.h:
1056         * paragraph.h:
1057         * paragraph_funcs.C:
1058         * rowpainter.C:
1059         * text.C:
1060         * text2.C:
1061         * text3.C:
1062         * text_funcs.C: split LyXText::rowlist_ into individual
1063         Paragraph::rows_ chunks
1064
1065         * BufferView.[Ch]:
1066         * BufferView_pimpl.[Ch]:
1067         * lyxfind.C:
1068         * lyxtext.h:
1069         * text3.C: remove toggleSelection()
1070
1071 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1072
1073         * bufferlist.C: beautify two alerts (shorter text of buttons)
1074         * buffer.C: Remove redundant ' ' from message
1075         * tabular.h:
1076         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1077         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1078         rename VALIGN_CENTER to VALIGN_MIDDLE
1079
1080 2003-08-11  André Pönitz  <poenitz@gmx.net>
1081
1082         * lyxtext.h (getPar):
1083         * text.C: new function
1084
1085 2003-08-11  André Pönitz  <poenitz@gmx.net>
1086
1087         * Makefile.am:
1088         * tracer.[Ch]: remove unneeded files
1089
1090         * InsetList.[Ch]: remove resizeInsetsLyXText()
1091
1092         * lyxtext.h:
1093         * text.C:
1094         * text2.C:
1095         * text3.C: merge insertParagraphs() and appendParagraph()
1096         remove breakAgain(), update()
1097
1098         * BufferView_pimpl.[Ch]:
1099         * bufferview_funcs.[Ch]:
1100         * lyxfunc.C:
1101         * paragraph.[Ch]:
1102         * rowpainter.C:
1103         * tabular.C: adjust after text & InsetList changes.
1104
1105 2003-08-08  André Pönitz  <poenitz@gmx.net>
1106
1107         * text.C (insertChar, backspace): replace rowlist fiddling
1108         with rebreak of full par
1109
1110         * lyxtext.h:
1111         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1112         checkParagraph, updateInset): removed
1113
1114 2003-08-07  André Pönitz  <poenitz@gmx.net>
1115
1116         * paragraph.C:
1117         * text3.C: merge some LFUN handlers, remove dead code
1118
1119 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1120
1121         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1122
1123 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1124
1125         * text2.C (DEPM): fix part of bug 1255 and 1256
1126
1127 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1128
1129         * BufferView_pimpl.C (workAreaDispatch): change to use
1130         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1131         that are no mouse related.
1132
1133 2003-08-05  André Pönitz  <poenitz@gmx.net>
1134
1135         * BufferView.[Ch]:
1136         * BufferView_pimpl.[Ch]:
1137         * bufferview_funcs.C:
1138         * text2.C:
1139         * text3.C: rip out "deep update"
1140
1141         * textcursor.[Ch] (last_sel_cursor): remove unused member
1142
1143 2003-08-04  André Pönitz  <poenitz@gmx.net>
1144
1145         * BufferView.[Ch]:
1146         * BufferView_pimpl.[Ch]:
1147         * ParagraphParameters.C:
1148         * bufferview_funcs.C:
1149         * lyx_cb.C:
1150         * lyxfind.C:
1151         * lyxfunc.C:
1152         * text.C:
1153         * text2.C:
1154         * text3.C: replace "complicated" BufferView::update(...) calls with
1155         simpler ones.
1156
1157         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1158
1159 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1160
1161         * Makefile.am (lyx_SOURCES): add paper.h
1162
1163 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1164
1165         * Makefile.am: move things around so that both lyx-qt and
1166         lyx-xforms can be built (according to --with-frontend). Then lyx
1167         is a symbolic link to lyx-[firstfrontend]
1168
1169 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1170
1171         * Always use std::endl with lyxerr
1172
1173 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1174
1175         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1176
1177 2003-08-01  André Pönitz  <poenitz@gmx.net>
1178
1179         * BufferView.[Ch]:
1180         * BufferView_pimpl.[Ch]:
1181         * lyxfunc.C:
1182         * text3.C: merge BufferView::repaint() and BufferView::update()
1183
1184 2003-08-01  José Matos  <jamatos@lyx.org>
1185
1186         * buffer.[Ch]: file_format is no longer a buffer data element.
1187
1188 2003-08-01  André Pönitz  <poenitz@gmx.net>
1189
1190         * BufferView.C:
1191         * lyxtext.h:
1192         * text.C:
1193         * text2.C: make redoParagraph more independent of current cursor
1194
1195         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1196         * text.C:
1197         * text2.C: remove unneeded members
1198
1199 2003-07-30  André Pönitz  <poenitz@gmx.net>
1200
1201         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1202
1203         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1204           create a single function...
1205
1206         * paragraph_funcs.C (moveItem): ... here.
1207
1208         * text.C:
1209           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1210
1211 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1212
1213         * LColor.[Ch]: Add comment and greyedout logical colors.
1214
1215 2003-07-30  André Pönitz  <poenitz@gmx.net>
1216
1217         * tabular.C: don't use Assert too heavily. This crashes where it
1218           shouldn't
1219
1220 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1221
1222         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1223         is disabled (bug 1232)
1224
1225 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1226
1227         * factory.C: limited 'arg' scope
1228
1229 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1230
1231         * factory.C: fixed Note submenu issues
1232
1233 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1234
1235         * factory.C: submenu for Note/Comment/Greyedout
1236
1237 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1238
1239         * lyx_main.C (LyX):
1240         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1241
1242 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1243
1244         * LaTeXFeatures.C:
1245         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1246         greyedout. Patch provided by Jürgen Spitzmüller.
1247
1248 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1249
1250         * kbmap.C (read): fix error message when reading bind files
1251
1252 2003-07-29  Angus Leeming  <leeming@lyx.org>
1253
1254         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1255         certainly does not do what it purports to do. I am doing it, and
1256         us, a favour by killing it.
1257
1258 2003-07-28  José Matos  <jamatos@lyx.org>
1259
1260         * buffer.C (readBody, do_writeFile):
1261         * paragraph.C(readParagraph): \end_document replaces \the_end.
1262
1263 2003-07-29  André Pönitz  <poenitz@gmx.net>
1264
1265         * BufferView.[Ch]:
1266         * BufferView_pimpl.[Ch]:
1267         * lyxfunc.C:
1268         * text2.C:
1269         * text3.C:
1270         * textcursor.[Ch]: remove toggleToggle & Co
1271
1272 2003-07-28  José Matos  <jamatos@fep.up.pt>
1273
1274         * buffer.C (readParagraph):
1275         * params_func (readParToken, readParagraph):
1276         * paragraph.C (write): \layout -> \begin_layout.
1277
1278 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1279
1280         * lyxlex_pimpl.C (setFile): clean up slightly.
1281
1282         * bufferparams.h: add compressed var
1283
1284         * buffer_funcs.C (readFile): adjust for LyXLex change
1285         (newFile): ditto + simplify
1286
1287         * buffer.C (writeFile): handle writing of compressed files
1288
1289         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1290         Check if the file is compressed and set a bufferparm if so.
1291
1292         * Makefile.am (lyx_LDADD): remove explicit -lz
1293
1294 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1295
1296         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1297         makeDocBookFile): put the real LyX version in the first line of
1298         the file
1299
1300         * version.h:
1301         * version.C.in: remove lyx_docversion
1302
1303         * tabular.C (write_attribute): add a template-based version to
1304         write enums properly
1305
1306 2003-07-28  André Pönitz  <poenitz@gmx.net>
1307
1308         * lyxtext.h:
1309         * text.C:
1310         * text2.C:
1311         * text3.C: use doubles again for x-coordinates. They are needed.
1312
1313 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1314
1315         * messages.C (getLocaleDir): use lyx_localedir()
1316
1317         * lyxlex_pimpl.C (setFile): compress stuff
1318
1319         * buffer.C (writeFile): add some compression stuff
1320         (do_writeFile): new func, dont call expliti close... will this
1321         breake anything?
1322
1323         * Makefile.am (lyx_LDADD): add -lz
1324
1325 2003-07-28  José Matos  <jamatos@fep.up.pt>
1326
1327         * buffer.C: increment file format.
1328         * paragraph_funcs (readParagraph, readParToken):
1329         * paragraph.C (readParagraph): add \end_layout.
1330
1331 2003-07-27  Angus Leeming  <leeming@lyx.org>
1332
1333         * Makefile.am: remove special casing for configure-time setting of
1334         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1335
1336         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1337         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1338
1339 2003-07-26  André Pönitz  <poenitz@gmx.net>
1340
1341         * paragraph_func.[Ch]:
1342         * paragraph.C (realizeFont): inline it whereever it is used
1343
1344         * rowpainter.C:
1345         * text.C:
1346         * text2.C:
1347         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1348
1349
1350 2003-07-26  André Pönitz  <poenitz@gmx.net>
1351
1352         *       lyxtext.h:
1353         * text.C:
1354         * text2.C: get rid of LyXText::need_break_row
1355
1356 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1357
1358         * toc.[Ch]: put namespace toc inside namespace lyx
1359
1360         * MenuBackend.C (expandToc2): adjust for lyx::toc
1361         (expandToc): ditto
1362
1363         * lyxfunc.C (dispatch): adjust for lyx::find
1364
1365         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1366         lyx::find instead. Reorganize a bit.
1367         (LyXReplace): rename to replace
1368         (LyXFind): rename to find
1369
1370         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1371         (dispatch): ditto
1372
1373 2003-07-26  André Pönitz  <poenitz@gmx.net>
1374
1375         * text.C (setHeightOfRow): restrict scope of temporary variable
1376
1377         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1378           code (never has been used?)
1379
1380 2003-07-27  Asger Alstrup  <alstrup@local>
1381
1382         * text.C (fill): Optimise algorithm to exploit that we can reuse
1383         the LyXFont for many characters.
1384         (setHeightOfRow): Same thing.
1385         (rowBreakPoint): Same thing.
1386
1387 2003-07-26  Asger Alstrup  <alstrup@local>
1388
1389         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1390
1391         * text.C (singleWidth): Spurious font copying in hot-spot
1392         singleWidth avoided. Reorder tests for arabic for efficiency.
1393
1394         * text.C (fill): handle empty paragraphs better.
1395
1396 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1397
1398         * ispell.C:
1399         * encoding.h: add includes
1400
1401         * lyxrc.C: remove reading of bind files
1402
1403         * lyx_main.C (init): setup bindings and menus only if we have a
1404         gui.
1405
1406         * kbmap.C (read): new method. Do the actual reading of bind
1407         files.
1408
1409         * converter.C (dvipdfm_options):
1410         * bufferparams.C:
1411         * lyxrc.C (read):
1412         (output): adapt PAPER_* enums.
1413
1414         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1415
1416         * bufferparams.h: remove paper-related enums from there
1417
1418         * paper.h: New file. A trivial header file to hold paper-related
1419         enums. It should later expand to contain many paper-related
1420         horrors access.
1421
1422         * lyxrc.C: declare extern displayTranslator
1423
1424 2003-07-27  José Matos  <jamatos@fep.up.pt>
1425
1426         * tabular.[Ch] (linuxdoc): add support for tables and figures
1427         (linuxdoc).
1428
1429 2003-07-27  José Matos  <jamatos@fep.up.pt>
1430
1431         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1432         consistency in both functions.
1433         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1434
1435 2003-07-26  Asger Alstrup  <alstrup@local>
1436
1437         * rowpainter.C (paintRows): Change algorithm to work directly on
1438         the insets rather than asking every character in the document
1439         whether its an inset.
1440
1441 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1442
1443         * buffer.C (openFileWrite): factorize some code
1444
1445 2003-07-26  Angus Leeming  <leeming@lyx.org>
1446
1447         * lyx_cb.C:
1448         * lyx_main.[Ch]: replace occurances of system_tempdir with
1449         os::getTmpDir().
1450
1451 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1452
1453         * rename Inset to InsetOld
1454
1455 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1456
1457         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1458         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1459         which I think is a bit clearer. EDIT is gone, since it was
1460         premature optimisation, and broken for mathed anyway.
1461         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1462         with cursor positioning in insets as well (math insets still do not
1463         work, but that's a different story anyway.) It mysteriously
1464         crashes sometimes with undo in the first paragraph, but I'm fairly
1465         confident that this is a compiler bug.
1466
1467 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1468
1469         * paragraph.C (Paragraph): adjust for new clone return type
1470         (operator==): ditto
1471         (copyIntoMinibuffer): ditto
1472
1473 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1474
1475         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1476         by not having a special case, and always doing a full rebreak of
1477         the document after undo.
1478
1479 2003-07-23  Angus Leeming  <leeming@lyx.org>
1480
1481         * factory.C (createInset): InsetExternal::setParams now takes a
1482         Buffer const * arg.
1483
1484 2003-07-23  Angus Leeming  <leeming@lyx.org>
1485
1486         * factory.C (createInset): changed interface to the external and
1487         graphics mailers' string2params functions.
1488
1489 2003-07-23  Angus Leeming  <leeming@lyx.org>
1490
1491         * factory.C (createInset): pass a
1492         Buffer const * parameter to InsetExternalMailer's string2params.
1493
1494 2003-07-22  John Levon  <levon@movementarian.org>
1495
1496         * Thesaurus.h: include the right aiksaurus header
1497
1498 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1499
1500         * MenuBackend.C (expand): check menu shortcuts unconditionally
1501
1502 2003-07-21  Angus Leeming  <leeming@lyx.org>
1503
1504         * factory.C (createInset): pass a
1505         buffer_path parameter to InsetGraphicsMailer's string2params.
1506
1507 2003-07-21  Angus Leeming  <leeming@lyx.org>
1508
1509         * BufferView_pimpl.C (buffer):
1510         * buffer.C (d-tor):
1511         * lyx_main.C (LyX):
1512         * lyxfunc.C (dispatch):
1513         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1514         rather than the grfx shortcut.
1515
1516 2003-07-21  André Pönitz  <poenitz@gmx.net>
1517
1518         * rowpainter.C: remove unused variables
1519
1520         * tabular_funcs.C:
1521         * tabular_funcs.h: move to tabular.C
1522         * Makefile.am: adjust
1523
1524         * tabular.[Ch]: basic optical cleaning
1525
1526         * author.h: pass references, not values
1527
1528 2003-07-18  André Pönitz  <poenitz@gmx.net>
1529
1530         * lyxtext.h:
1531         * metricsinfo.C:
1532         * metricsinfo.h:
1533         * rowpainter.C:
1534         * text.C:
1535         * text2.C:
1536         * text3.C: two-phase drawing for InsetText and InsetTabular
1537         some float -> int changes.
1538
1539 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1540
1541         * lyx_main.C: fix the fix
1542
1543 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1544
1545         * lyx_main.C: fix a crash in batch mode if no files specified
1546         * converter.C: ws
1547
1548 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1549
1550         * format.[Ch] (papersize): moved to BufferParams
1551         * converter.[Ch] (dvips_options): moved to BufferParams
1552         (dvipdfm_options): moved to anon namespace
1553         * bufferparams.[Ch]: added above functions.
1554
1555 2003-07-17  André Pönitz  <poenitz@gmx.net>
1556
1557         * lyxtext.h:
1558         * rowpainter.C:
1559         * text2.C: don't call inset->update() anymore
1560
1561         * metricsinfo.[Ch]: add convenience constructor
1562
1563 2003-07-16  André Pönitz  <poenitz@gmx.net>
1564
1565         * lyxcursor.[Ch]:
1566         * lyxfunc.[Ch]:
1567         * text.C:
1568         * text2.C: replace the LyXCursor::irow_ member with
1569          on-demand computation of the value
1570
1571 2003-07-16  John Levon  <levon@movementarian.org>
1572
1573         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1574
1575 2003-07-15  André Pönitz  <poenitz@gmx.net>
1576
1577         * text.C:
1578         * text2.C: remove no more needed refresh_row
1579
1580 2003-07-15  André Pönitz  <poenitz@gmx.net>
1581
1582         * lyxtext.h:
1583         * rowpainter.C:
1584         * text2.C:
1585         * text3.C: refresh_status tristate -> need_update bool
1586
1587 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1588
1589         * lyxtext.h (init): remove reinit argument (act as if always true)
1590         * text2.C: adjust to that
1591
1592 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1593
1594         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1595         * text3.C: use it to delete selections in some cases
1596         (bugs 441, 673, 702, 954).
1597
1598 2003-07-14  André Pönitz  <poenitz@gmx.net>
1599
1600         * rowpainter.[Ch]: reduce interface
1601
1602 2003-07-14  André Pönitz  <poenitz@gmx.net>
1603
1604         * BufferView_pimpl.C:
1605         * text2.C: adjust after removing unused BufferView * argument
1606
1607 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1608
1609         * text2.C (init): fix a crash fired on resize
1610
1611 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1612
1613         * buffer.[Ch]: added new closing signal
1614         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1615         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1616         BufferView::Pimpl via the closing the signal
1617
1618 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1619
1620         * buffer.[Ch]: take out all bv-related from buffer
1621         * BufferView.C:
1622         * BufferView_pimpl.[Ch]: connect to new signals
1623         * CutAndPaste.C: removed useless asserts
1624         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1625         * lyxvc.[Ch]:
1626         * vc-backend.[Ch]:
1627         * lyxfunc.C: moved view-related funciontality from vc here
1628         * paragraph.C: removed outdated comments
1629         * text.C: ws
1630
1631 2003-07-10  André Pönitz  <poenitz@gmx.net>
1632
1633         * BufferView_pimpl.C:
1634         * tabular.h:
1635         * tabular_funcs.C:
1636         * text.C:
1637         * text2.C: remove InsetText::InnerCache, clean up consequences
1638
1639 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1640
1641         * ispell.C: fix two typos in error messages
1642
1643 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1644
1645         * Extend Note inset to other forms of annotation like Comment
1646         and Greyedout. Right button click gives dialog.
1647
1648         Files modified or added (+):
1649
1650         * insetnote.[Ch]
1651         * FormNote.[Ch]      +
1652         * ControlNote.[Ch]   +
1653         * form_note.fd       +
1654         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1655         frontends/controllers
1656         * xforms/Dialogs.C
1657         * factory.C
1658
1659 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1660
1661         * aspell.C: add missing namespace lyx::support
1662
1663 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1664
1665         * BufferView.[Ch] (newFile): Add
1666         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1667         * LaTeX.[Ch] (message): added this signal and use it
1668         * buffer.[Ch] (busy, message): added these signals and use them
1669         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1670         * converter.C:
1671         * exporter.C:
1672         * format.C:
1673         * importer.C: use buffer signals instead of direct bv calling
1674         * lyx_cb.[Ch] (ShowMessage): removed
1675         * lyx_main.C:
1676         * lyxfunc.C:
1677         * paragraph_funcs.C:
1678         * text2.C: use buffer signals
1679
1680 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1681
1682         * introduce namespace lyx::graphics
1683
1684 2003-07-02  André Pönitz  <poenitz@gmx.net>
1685
1686         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1687
1688 2003-07-01  André Pönitz  <poenitz@gmx.net>
1689
1690         * text.C:
1691         * text2.C:
1692         * text3.C:
1693         * text_funcs.[Ch]:
1694         * textcursor.h:
1695         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1696           text*.C to text_func.C
1697
1698 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1699
1700         * introduce namespace lyx::support
1701
1702 2003-06-30  André Pönitz  <poenitz@gmx.net>
1703
1704         * Chktex.C:
1705         * funcrequest.C:
1706         * lyxtext.h:
1707         * text.C: re-enable --with-included-string
1708
1709 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1710
1711         * textcursor.C: add <config.h>
1712
1713         * text.C (getWord): remove const from word_location arg
1714
1715         * lyxvc.C (getLogFile): fix const type order
1716
1717         * lyxtext.h: remove const from word_location arg, add arg name
1718
1719         * lyxlayout.h: currect type on labeltype.
1720
1721         * importer.C: correct \file
1722
1723         * converter.C (intToFormat): use std:: on ret val, ws changes
1724
1725         * bufferlist.h: correct \file
1726
1727         * buffer.C (makeLinuxDocFile): fix const type order
1728         (makeDocBookFile): ditto
1729         (fillWithBibKeys): use std:: on stdlib args.
1730
1731         * CutAndPaste.C: fix authors.
1732         (availableSelections): use std:: on return vector
1733
1734 2003-06-27  André Pönitz  <poenitz@gmx.net>
1735
1736         * BufferView_pimpl.C:
1737         * bufferview_funcs.C:
1738         * lyxcursor.C:
1739         * lyxcursor.h:
1740         * lyxfunc.C:
1741         * lyxtext.h:
1742         * rowpainter.C:
1743         * text.C:
1744         * text2.C:
1745         * text3.C: remove LyXCursor::row_ member
1746
1747         * lyxtext.h:
1748         * text.C: rename fullRebreak() to partialRebreak() and implement
1749           a fullRebreak() that really bereks fully
1750
1751         * textcursor.h: new struct for cursor-related data
1752
1753 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1754
1755         * lyx_main.C (LyX): get full path of document loaded on the
1756         command line
1757
1758 2003-06-26  André Pönitz  <poenitz@gmx.net>
1759
1760         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1761           remove unused/broken operator>,<,>=.
1762
1763         *       text.C: remove only use of broken operator<= in an Assert().
1764
1765 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1766
1767         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1768         moved errorlist_.clear to showErrorList
1769
1770 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1771
1772         * converter.C (scanLog, runLaTeX):
1773         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1774         move the bv->showErrorList call to the callers
1775         * lyxfunc.C: i.e. here...
1776         * text2.C: and here
1777         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1778         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1779         namespace, the second to...
1780         * buffer_funcs (BufferFormat, parseErrors): added
1781         * errorlist.C (ErrorList(TeXErrors const &)): removed
1782
1783 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1784
1785         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1786
1787 2003-06-24  "Garst R. Reese" <reese@isn.net>
1788
1789         * debug.C: fix typo
1790
1791 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1792
1793         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1794
1795         * version.C.in: change docversion to 1.4
1796
1797 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1798
1799         * buffer.C: fix a bug just introduced
1800
1801 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1802
1803         * buffer.[Ch]: added the parseError signal and use it, removed
1804         sgmlError
1805         * BufferView.[Ch] (addError): moved to ...
1806         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1807         to the Buffer::parseError signal to catch (guess what) parse errors
1808         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1809
1810 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1811
1812         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1813         ability to create a buffer and to return an existing one from
1814         the list. Moved these functions to...
1815         * buffer_funcs.[Ch]: added
1816         * BufferView.[Ch] (loadLyXFile): added
1817         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1818         job removed from bufferlist::loadLyXFile.
1819         * buffer.C (setReadOnly): make it work without view
1820         (i.e added an if (users))
1821
1822 2003-06-19  Angus Leeming  <leeming@lyx.org>
1823
1824         * lfuns.h:
1825         * LyXAction.C (init):
1826         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1827         with LFUN_DIALOG_SHOW <name> <data>.
1828
1829 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1830
1831         * CutAndPaste.C (availableSelections): small compilation fix for
1832         ancient (gcc 2.9x) compilers
1833
1834 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1835
1836         * text3.C (cursorNext): add tmp var
1837
1838         * text2.C (updateCounters): for function calling out of for clause
1839         (replaceSelectionWithString): ditto
1840         (insertStringAsParagraphs): ditto
1841         (getColumnNearX): add tmp var
1842         (setCursorFromCoordinates): add tmp var
1843         (cursorDownParagraph): add tmp var
1844         (deleteEmptyParagraphMechanism): add tmp var
1845
1846         * text.C (insertChar): add tmp var
1847
1848         * rowpainter.C (paintDepthBar): add tmp var
1849
1850         * CutAndPaste.C (availableSelections): potentially check all
1851         paragraphs in a cut to fill the shown strings.
1852
1853 2003-06-18  André Pönitz  <poenitz@gmx.net>
1854
1855         * kbmap.[Ch]: use vector<> instead of list<>
1856
1857 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1858
1859         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1860         pasteSelection with index
1861
1862         * text2.C (pasteSelection): modify, call pasteSelection with index
1863
1864         * paragraph.C (asString): reimplement version with no interval to
1865         call the one with interval.
1866
1867         * lyxtext.h: add index arg to pasteSelection
1868
1869         * MenuBackend.C (MenuItem): handle PasteRecent
1870         (Menu::read::Menutags): add md_pasterecent
1871         (read): handle it
1872         (expandPasteRecent): new function
1873         (expand): use it
1874
1875         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1876
1877         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1878         the limited stack
1879         (availableSelections): new function
1880
1881 2003-06-17  Angus Leeming  <leeming@lyx.org>
1882
1883         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1884
1885 2003-06-17  Angus Leeming  <leeming@lyx.org>
1886
1887         * lfuns.h:
1888         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1889
1890         * lyxfunc.C (dispatch): invoke it.
1891
1892 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1893
1894         * iterators.C (operator++, ParPosition): reintroduce some
1895         const_cast for the benefit of older compilers.
1896
1897 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1898
1899         * text3.C (dispatch): do not modify clipboard when doing
1900         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1901         LFUN_DELETE_SKIP on a selection selection
1902
1903 2003-06-16  André Pönitz  <poenitz@gmx.net>
1904
1905         * BufferView.C:
1906         * buffer.C:
1907         * buffer.h:
1908         * paragraph.C:
1909         * tabular.[Ch]: IU of clone() and getLabelList();
1910
1911 2003-06-13  André Pönitz  <poenitz@gmx.net>
1912
1913         * tabular.h: compactification
1914
1915 2003-06-12  André Pönitz  <poenitz@gmx.net>
1916
1917         * tabular.C:
1918         * tabular.h:
1919         * tabular_funcs.h: some renaming plus whitespace
1920
1921 2003-06-12  André Pönitz  <poenitz@gmx.net>
1922
1923         * BufferView.C:
1924         * BufferView_pimpl.C:
1925         * CutAndPaste.C:
1926         * buffer.C:
1927         * iterators.[Ch]:
1928         * lyxfunc.C:
1929         * text.C:
1930         * toc.C: Return a Paragraph & for ParIterator::operator*()
1931
1932 2003-06-11  John Levon  <levon@movementarian.org>
1933
1934         * lyx_main.C:
1935         * ToolbarBackend.h:
1936         * ToolbarBackend.C: add "Toolbars" section and
1937         put the flags there
1938
1939 2003-06-10  Angus Leeming  <leeming@lyx.org>
1940
1941         * lfuns.h:
1942         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1943
1944         * lyxfunc.C (dispatch): invoke it.
1945
1946 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1947
1948         * main.C: protect <ios> with HAVE_IOS
1949         (main): protect sync_with_stdio with HAVE_IOS
1950
1951 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1952
1953         * text2.C (cutSelection): adjust
1954         (pasteSelection): adjust
1955
1956         * messages.C: handle get of empty string
1957
1958         * main.C (main): use sync_with_stdio(false)
1959
1960         * lyxfunc.C (dispatch): adjust
1961
1962         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1963         (WriteAs): remove unneeded BufferView arg.
1964
1965         * bufferparams.h: use correct types on papersize, papersize2 and
1966         paperpackage.
1967
1968         * bufferparams.C (readToken): adjust for type
1969         (writeLaTeX): add missing cases to switch.
1970
1971         * bufferlist.C (quitWriteBuffer): adjust
1972         (close): adjust
1973
1974         * buffer.C (asciiParagraph): remove some commented code.
1975
1976         * CutAndPaste.C: remove current_view extern variable.
1977         (cutSelection): add BufferParams arg.
1978         (eraseSelection): add BufferParams arg.
1979         (pasteSelection): add Buffer const & arg
1980
1981 2003-06-07  John Levon  <levon@movementarian.org>
1982
1983         * buffer.C:
1984         * paragraph_funcs.C:
1985         * paragraph_pimpl.C:
1986         * text.C:
1987         * text2.C:
1988         * paragraph.h:
1989         * paragraph.C: allow InsetERT to freely space lines,
1990         and some consolidation of code
1991
1992 2003-06-06  José Matos  <jamatos@fep.up.pt>
1993
1994         * buffer.C (makeDocBookFile): fix bug #821
1995
1996 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1997
1998         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1999
2000 2003-06-04  Angus Leeming  <leeming@lyx.org>
2001
2002         * buffer.C: bump format to 224.
2003
2004 2003-06-05  André Pönitz  <poenitz@gmx.net>
2005
2006         * text2.C (redoParagraphs): remove two const_cast<>
2007
2008 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2009
2010         * ParagraphList.h: remove last remnants of NO_STD_LIST
2011
2012 2003-06-03  Angus Leeming  <leeming@lyx.org>
2013
2014         * factory.C (createInset): small change to the way InsetExternal's params
2015         are set.
2016
2017 2003-06-04  André Pönitz  <poenitz@gmx.net>
2018
2019         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2020
2021         * paragraph_pimpl.h:
2022         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2023
2024         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2025
2026         * undo_funcs.C: make some simple cases of undo work again
2027
2028 2003-06-03  John Levon  <levon@movementarian.org>
2029
2030         * ispell.C: HPUX doesn't have sys/select.h
2031         (from Albert Chin)
2032
2033 2003-06-03  John Levon  <levon@movementarian.org>
2034
2035         * CutAndPaste.C: update tabular and include inset
2036         buffer references
2037
2038         * buffer.h:
2039         * paragraph.h:
2040         * paragraph.C: remove owningBuffer(), don't pass Buffer
2041         to clone()
2042
2043         * factory.C: insetGraphicsParams changed
2044
2045 2003-06-02  John Levon  <levon@movementarian.org>
2046
2047         * LyXAction.C:
2048         * factory.C:
2049         * lfuns.h:
2050         * lyxfunc.C:
2051         * text3.C: remove insetparent
2052
2053 2003-06-02  John Levon  <levon@movementarian.org>
2054
2055         * buffer.h:
2056         * buffer.C: fix inset_iterator.end(), move out of line
2057         (bug 1149)
2058
2059 2003-06-01  John Levon  <levon@movementarian.org>
2060
2061         * text3.C: use a proper cut/paste when doing inset
2062         insert (from Jürgen Spitzmüller)
2063
2064 2003-06-01  John Levon  <levon@movementarian.org>
2065
2066         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2067
2068 2003-05-30  André Pönitz  <poenitz@gmx.net>
2069
2070         * rowpainter.C: unify second drawing phase
2071
2072 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2073
2074         * trans_mgr.C: remove one case of current_view
2075
2076         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2077
2078         * paragraph_funcs.h: remove paragraph.h include
2079
2080         * paragraph.h: delete NO_STD_LIST stuff
2081
2082         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2083
2084         * buffer.h: remove paragraph.h include
2085
2086         * ParagraphList.C: delete file
2087
2088         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2089
2090         * toc.C (getTocList): adjust
2091
2092         * paragraph_pimpl.C (validate): adjust
2093
2094         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2095
2096         * paragraph.C (Paragraph): adjust
2097         (getPositionOfInset): use const_iterator, adjust
2098         (bibitem): use const_iterator, adjust
2099         (setInsetOwner): adjust
2100
2101         * iterators.C (operator++): adjust
2102
2103         * InsetList.[Ch]: Replace selfmade iterator with standard
2104         vector::iterator also introduce const_iterator. Remove getPos,
2105         getInset and setInset from InsetTable. Adjust accordingly.
2106
2107         * BufferView.C (lockInset): adjust
2108         (ChangeInsets): adjust
2109
2110         * tabular.[Ch]: delete commented same_id functions
2111
2112 2003-05-28  John Levon  <levon@movementarian.org>
2113
2114         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2115
2116 2003-05-28  André Pönitz  <poenitz@gmx.net>
2117
2118         * metricsinfo.[Ch]: remove 'fullredraw' member
2119
2120 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2121
2122         * lyxtextclass.C (operator): remove caching.
2123
2124 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2125
2126         * text3.C: adjust
2127
2128         * text2.C (cursorBottom): adjust
2129         (setCounter): use ParagraphList::find, adjust
2130
2131         * text.C (workWidth): use ParagraphList::find, adjust
2132
2133         * lyxcursor.C (LyXCursor): adjust
2134
2135         * buffer.C (inset_iterator): adjust
2136
2137         * ParagraphList.h: make iterator(value_type) private, make
2138         ParagraphList a friend of iterator.
2139
2140         * ParagraphList.C (find): new function
2141
2142         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2143
2144 2003-05-27  André Pönitz  <poenitz@gmx.net>
2145
2146         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2147
2148 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2149
2150         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2151
2152 2003-05-26  John Levon  <levon@movementarian.org>
2153
2154         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2155
2156 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2157
2158         * remove same_id from function signatures, adjust.
2159
2160 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2161
2162         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2163
2164         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2165
2166         * paragraph.C (Paragraph): get rid of same_ids parameter
2167
2168         * ParagraphList.C (insert): adjust
2169         (push_back): adjust
2170
2171 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2172
2173         * paragraph_funcs.C (breakParagraph): adjust
2174         (breakParagraphConservative): adjust
2175
2176         * buffer.C (readParagraph): adjust
2177
2178         * ParagraphList.C (insert): take a reference instead of a pointer
2179         (insert): adjust
2180
2181         * paragraph.[Ch] (id): new function
2182
2183         * bufferlist.C (newFile): adjust
2184
2185         * ParagraphList.C (ParagraphList): adjust
2186         (assign): adjust
2187         (push_back): take a reference instead of a pointer.
2188
2189         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2190
2191         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2192         instead.
2193
2194         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2195         set else use old code.
2196
2197         * ParagraphList.C: remove all NO_NEXT code and only compile this
2198         code of NO_STD_LIST is set.
2199
2200 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2201
2202         * BufferView_pimpl.C:
2203         * TextCache.C:
2204         * TextCache.h:
2205         * bufferlist.C:
2206         * errorlist.h:
2207         * format.C:
2208         * format.h:
2209         * graph.C:
2210         * lyxfunc.C:
2211         * lyxrc.C:
2212         * graphics/GraphicsConverter.C:
2213         * graphics/PreviewLoader.C: header adjustment
2214
2215 2003-05-23  Angus Leeming  <leeming@lyx.org>
2216
2217         * LaTeXFeatures.[Ch] (useBabel): new method.
2218         * bufferparams.C (writeLaTeX): use it.
2219
2220 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2221
2222         * ParagraphList.h (set): remove unused function.
2223
2224 2003-05-23  André Pönitz  <poenitz@gmx.net>
2225
2226         * BufferView.C:
2227         * BufferView_pimpl.C:
2228         * buffer.C:
2229         * buffer.h:
2230         * lyxfunc.C:
2231         * undo_funcs.C: setUndo reworked
2232
2233         * iterators.[Ch]: add access to topmost ParagraphList
2234
2235         * lyxtext.[Ch] (workWidth): add a const
2236
2237 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2238
2239         * texrow.[Ch] (increasePos): remove function
2240         * exporter.C (export): removed unused var and outdated comment
2241
2242 2003-05-23  Angus Leeming  <leeming@lyx.org>
2243
2244         * latexrunparams.h: rename fragile as moving_arg.
2245         * paragraph.C (simpleTeXOnePar): ditto.
2246         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2247
2248 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2249
2250         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2251         (createUndo): ditto
2252         (textUndoOrRedo): comment out a currently unused var.
2253
2254         * paragraph.h (NO_NEXT): enable NO_NEXT
2255
2256         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2257
2258         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2259
2260         * exporter.C (Export): adjust for removeAutoInsets removal.
2261
2262         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2263
2264         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2265
2266         * BufferView.[Ch] (removeAutoInsets): delete function
2267
2268 2003-05-22  Angus Leeming  <leeming@lyx.org>
2269
2270         * latexrunparams.h: add a free_spacing variable.
2271
2272         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2273         to pass moving_arg, as the data is stored in runparams.fragile.
2274
2275         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2276         to Inset::latexOptional or to simpleTeXOnePar.
2277
2278         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2279         free_spacing arg to Inset::latexOptional.
2280
2281         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2282         free_spacing arg.
2283
2284 2003-05-22  Angus Leeming  <leeming@lyx.org>
2285
2286         * latexrunparams.h: add fragile and use_babel variables.
2287
2288         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2289         * buffer.C (makeLaTeXFile): store this returned value in
2290         runparams.use_babel, thus passing it to the inset::latex methods.
2291
2292         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2293         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2294
2295         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2296         longer has a fragile arg, as it is stored in runparams.fragile.
2297
2298         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2299         moving_arg parameter as the data is stored in runparams.fragile.
2300
2301         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2302         a fragile parameter as the data is stored in runparams.fragile.
2303
2304 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2305
2306         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2307
2308 2003-05-22  Angus Leeming  <leeming@lyx.org>
2309
2310         * latexrunparams.h: add a 'bool nice' which defaults to false.
2311
2312         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2313         now encapsulated within runparams.
2314
2315         * bufferlist.C (updateIncludedTeXfiles):
2316         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2317
2318 2003-05-22  Angus Leeming  <leeming@lyx.org>
2319
2320         * latexrunparams.h: new file containing struct LatexRunParams.
2321         * Makefile.am: add new file.
2322
2323         * LaTeX.[Ch] (c-tor, run):
2324         * buffer.[Ch] (makeLaTeXFile):
2325         * bufferlist.[Ch] (updateIncludedTeXfiles):
2326         * converter.C (convert, scanLog):
2327         * converter.[Ch] (runLaTeX):
2328         * exporter.C (Export):
2329         * paragraph.[Ch] (simpleTeXOnePar):
2330         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2331         * paragraph_funcs.[Ch] (latexParagraphs):
2332         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2333         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2334         pass around a LatexRunParams parameter.
2335
2336 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2337
2338         * paragraph.[Ch]: remove unused constructor
2339
2340         * ParagraphList.C (erase): new function, taking two iterators
2341
2342 2003-05-22  André Pönitz  <poenitz@gmx.net>
2343
2344         * undo_funcs.C: remove duplicated code
2345
2346         * iterator.[Ch]: operator=
2347
2348 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2349
2350         * tabular.C (SetMultiColumn): ws changes
2351
2352         * rowpainter.C (paintFirst): get rid of a ->previous
2353
2354         * lyx_cb.C (getPossibleLabel): parlist simplification
2355
2356         * BufferView.C (ChangeInsets): simplify slightly.
2357
2358 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2359
2360         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2361         * lfuns.h: new LFUN_SPACE
2362         * lyxfunc.C: protected space has a new lfun
2363         * paragraph_funcs.C: read new space insets
2364         * text3.C:
2365         * factory.C: handle new space insets
2366
2367 2003-05-22  André Pönitz  <poenitz@gmx.net>
2368
2369         * BufferView.C:
2370         * BufferView_pimpl.C:
2371         * buffer.[Ch]:
2372         * lyxfunc.C:
2373         * undo_funcs.C: return a ParIterator from getParFromID.
2374
2375         * iterators.[Ch]: add two const's
2376
2377 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2378
2379         * toc.C (getTocList): adjust
2380
2381         * iterators.[Ch]: rework for parlist
2382
2383         * buffer.C (par_iterator_begin): adjust
2384         (par_iterator_end): adjust
2385
2386         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2387
2388         * BufferView.C (removeAutoInsets): adjust
2389         (ChangeInsets): adjust
2390
2391 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2392
2393         * text.C (top_y): fix bug 1110
2394
2395 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2396
2397         * errorlist.[Ch]: added
2398         * buffer.C:
2399         * BufferView.[Ch]:
2400         * BufferView_pimpl.C:
2401         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2402         instead
2403
2404 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2405
2406         * Makefile.am: ensure that lyx is relinked upon changes to the
2407         various "convenience" libs.
2408
2409 2003-05-20  Angus Leeming  <leeming@lyx.org>
2410
2411         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2412         files are compiled in alphabetical order again.
2413
2414         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2415
2416 2003-05-19  Angus Leeming  <leeming@lyx.org>
2417
2418         * gettext.[Ch]: remove "char const * _(char const *)".
2419
2420 2003-05-19  André Pönitz  <poenitz@gmx.net>
2421
2422         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2423
2424         * Makefile.am:
2425         * BufferView.C:
2426         * DepTable.h:
2427         * LaTeXFeatures.C:
2428         * buffer.C:
2429         * lyxfont.C:
2430         * lyxlex.h:
2431         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2432
2433 2003-05-19  André Pönitz  <poenitz@gmx.net>
2434
2435         * buffer.C:
2436         * lyxlayout.[Ch]:
2437         * lyxtextclass.[Ch]:
2438         * paragraph.C:
2439         * paragraph_funcs.[Ch]:
2440         * text2.C:
2441         * text3.C: more insetenv work
2442
2443 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2444
2445         * ParagraphParameters.C (params2string): small bug fixed
2446
2447 2003-05-16  André Pönitz  <poenitz@gmx.net>
2448
2449         * debug.C:
2450         * bufferview_funcs.C: patch from Kornel Benko to prevent
2451           crash when _(...) is called twice in a statement
2452
2453 2003-05-16  André Pönitz  <poenitz@gmx.net>
2454
2455         * BufferView.C:
2456         * lyxfunc.C:
2457         * text.C:
2458         * text2.C:
2459         * text3.C:
2460         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2461
2462 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2463
2464         * lyx_main.C (init): remove spurious static_cast
2465
2466 2003-05-14  André Pönitz  <poenitz@gmx.net>
2467
2468         * BufferView.C: fix format string
2469
2470 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2471
2472         * BufferView.[Ch] (insertErrors): removed
2473         * BufferView.[Ch] (showErrorList): added
2474         * buffer.C (runChkTeX):
2475         * converter.C (scanLog): call showErrorList instead of inserterrors
2476
2477 2003-05-13  André Pönitz  <poenitz@gmx.net>
2478
2479         * BufferView_pimpl.C:
2480         * buffer.C:
2481         * bufferview_func.C:
2482         * MenuBackend.C:
2483         * lyxfunc.C:
2484         * lyxrc.C:
2485         * tex-accent.C:
2486         * text3.C:
2487         * toc.C:
2488         * tabular_funcs.h: tostr() from its own header
2489
2490         * ParagraphParameters.C:
2491         * ToolbarBackend.C:
2492         * bufferparams.C:
2493         * format.C:
2494         * lyxlex_pimpl.C:
2495         * text3.C: STRCONV()
2496
2497 2003-05-12  André Pönitz  <poenitz@gmx.net>
2498
2499         * BufferView.C:
2500         * BufferView_pimpl.C:
2501         * CutAndPaste.C:
2502         * LaTeX.C:
2503         * LaTeXFeatures.C:
2504         * ParagraphParameters.C:
2505         * buffer.C:
2506         * bufferlist.C:
2507         * bufferparams.C:
2508         * bufferview_funcs.C:
2509         * converter.C:
2510         * counters.C:
2511         * debug.C:
2512         * exporter.C:
2513         * format.C:
2514         * importer.C:
2515         * lyx_cb.C:
2516         * lyx_main.C:
2517         * lyxfont.C:
2518         * lyxfunc.C:
2519         * lyxvc.C:
2520         * paragraph.C:
2521         * paragraph_funcs.C:
2522         * tabular.C:
2523         * tabular_funcs.C:
2524         * text2.C:
2525         * text3.C:  boost::format -> bformat  all over the place
2526
2527
2528 2003-05-09  André Pönitz  <poenitz@gmx.net>
2529
2530         * LColor.[Ch]: Pimpl the #include <map> away
2531
2532 2003-05-09  John Levon  <levon@movementarian.org>
2533
2534         * bufferlist.C: never remove emergency saves
2535
2536 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2537
2538         * Makefile.am: better lib building
2539
2540 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2541
2542         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2543         instead.
2544         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2545         (simpleTeXSpecialChars): adjust
2546         (simpleTeXSpecialChars): adjust
2547         * paragraph.C (simpleTeXOnePar): adjust
2548         * buffer.C (makeLaTeXFile): adjust
2549
2550         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2551
2552         * text2.C (changeDepth): parlist cleanup
2553         (getColumnNearX): ditto
2554
2555         * rowpainter.C (getLabelFont): parlist cleanup
2556
2557         * bufferlist.C (newFile): parlist cleanup
2558
2559         * CutAndPaste.C (eraseSelection): parlist cleanup
2560
2561         * BufferView_pimpl.C (trackChanges): parlist cleanup
2562         (dispatch): ditto
2563
2564         * BufferView.C (lockInset): parlist cleanup.
2565         (ChangeInsets): ditto
2566
2567 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2568
2569         * CutAndPaste.h: Update file header.
2570
2571         * CutAndPaste.C: Update file header.
2572         Store the parts cut out of the Document in a limited_stack.
2573         (copySelection): adjust
2574         (pasteSelection): new function, takes the index in the limited stack.
2575         (nrOfParagraphs): adjust
2576         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2577         simplify error inset insertion.
2578         (checkPastePossible): adjust
2579
2580 2003-05-06  John Levon  <levon@movementarian.org>
2581
2582         * text2.C: don't cast wrap inset to float
2583
2584 2003-05-05  André Pönitz  <poenitz@gmx.net>
2585
2586         * iterator.C:
2587         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2588
2589         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2590           few naked Paragraph *.
2591
2592 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2593
2594         * bufferparams.C: Output warning if a document with missing
2595         TeX document class is loaded
2596         * exporter.C: Disable TeX exports if the document class is missing
2597         * lyxtextclass.C:
2598         * lyxtextclass.h:
2599         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2600         isTeXClassAvailable()
2601
2602 2003-05-03  John Levon  <levon@movementarian.org>
2603
2604         * BufferView.h:
2605         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2606         explicit cursor show/hide
2607
2608         * BufferView_pimpl.h:
2609         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2610         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2611
2612         * lyxfunc.C: hide cursor before dispatching.
2613
2614         * lyx_cb.C:
2615         * lyxfind.C:
2616         * text.C:
2617         * text3.C: remove explicit cursor hides
2618
2619 2003-05-02  André Pönitz  <poenitz@gmx.net>
2620
2621         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2622
2623         * undo_funcs.C:
2624         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2625           linked lists
2626
2627         * text2.C: tiny whitespace
2628
2629 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2630
2631         * undo_funcs.C: almost only ws changes.
2632
2633         * ParagraphList.C (splice): just return if pl is empty.
2634
2635 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2636
2637         * ParagraphList.C (splice): new function.
2638
2639         * CutAndPaste.C (pasteSelection): use it
2640
2641 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2642
2643         * CutAndPaste.C (pasteSelection): remove the last next and
2644         previous from this file.
2645
2646 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2647
2648         * CutAndPaste.C (pasteSelection): more clean up, user proper
2649         ParagraphList functions for pasteing.
2650
2651         * ParagraphList.C (insert): new function, three arg insert
2652
2653 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2654
2655         * ParagraphList.C (insert): new function, three arg insert
2656
2657         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2658         not on paragraphs.
2659
2660 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2661
2662         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2663
2664 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2665
2666         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2667
2668 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2669
2670         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2671         (copySelection): clean up a bit.
2672         (pasteSelection): use make_pair
2673
2674         * ParagraphList.C (ParagraphList): implement copy constructor
2675         (operator=): implement, base on copy constructor.
2676         (assign): new func
2677
2678         * paragraph.C (erase): return a bool
2679
2680         * paragraph_pimpl.C (erasePos): remove function, move contents...
2681         (erase): ... here. Return a bool.
2682         (erase): call erase instead of erasePos.
2683
2684 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2685
2686         * ParagraphList.h: define PitPosPair
2687         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2688         ParagraphList, fix a bug on pasting multiple pars
2689         * text2.C: change interface to C&P
2690
2691 2003-04-30  André Pönitz  <poenitz@gmx.net>
2692
2693         * undo_func.C: revert part of yesterday's patch 2
2694
2695 2003-04-30  John Levon  <levon@movementarian.org>
2696
2697         * LColor.C: s/tabular/table/
2698
2699 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2700
2701         * text3.C (dispatch): do not convert iterator -> pointer
2702         * undo_funcs.C (setCursorParUndo): ditto
2703         * text_funcs.C (transposeChars): ditto
2704
2705         * text2.C (setLayout): ws changes only
2706
2707         * text.C (breakParagraph): do not convert iterator -> pointer
2708         (insertChar): ditto
2709         (acceptChange): ditto
2710         (rejectChange): ditto
2711         (changeCase): ditto
2712         (Delete): ditto
2713         (backspace): ditto
2714
2715         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2716         pointer
2717
2718 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2719
2720         * text3.C (gotoInset): YABG (yet another bad getChar)
2721
2722 2003-04-29  André Pönitz  <poenitz@gmx.net>
2723
2724         * paragraph.h: make operator= private unimplemented as long as
2725           it is unusable
2726
2727         * ParagraphList.C: whitespace
2728
2729         * paragraph.[Ch]:
2730         * paragraph_pimpl.[Ch]:
2731         * paragraph_funcs.C:
2732         * CutAndPaste.C:
2733         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2734
2735         * text2.C:
2736           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2737
2738 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2739
2740         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2741         * paragraph.[Ch] (erase):
2742         * paragraph_pimpl.[Ch] (erase): change return type and value
2743         * text2.C (cutSelection): some rework
2744
2745 2003-04-28  John Levon  <levon@movementarian.org>
2746
2747         * bufferlist.C: changes for unsaved changes dialog
2748
2749 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2750
2751         * bufferlist.C (newFile): set language (messages_) for new
2752         documents also.
2753
2754         * buffer.C (readFile): ws changes only.
2755
2756 2003-04-28  André Pönitz  <poenitz@gmx.net>
2757
2758         * undo_funcs.C:
2759         * lyxfunc.C:
2760         * buffer.[Ch]:
2761         * BufferView_pimpl.C:
2762         * BufferView.C: getParFromID related ParagraphList::iterator changes
2763
2764 2003-04-28  André Pönitz  <poenitz@gmx.net>
2765
2766         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2767           Changes
2768
2769 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2770
2771         * messages.C: remove one more localedir class variable.
2772
2773 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2774
2775         * messages.C (getLocaleDir): singleton generation function
2776         (Pimpl): use it.
2777         (Messages): add a default constructor.
2778
2779         * main.C (main): do not setup localedir here, do not call
2780         gettext_init.
2781
2782         * gettext.C (_): use it.
2783         (gettext_init): delete funciton
2784
2785 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2786
2787         * gettext.C (getLyXMessages): new singleton generating function.
2788
2789         * buffer.C (updateDocLang): adjust
2790
2791         * Makefile.am (messages.o): add target
2792         (main.o): remove target
2793
2794 2003-04-27  John Levon  <levon@movementarian.org>
2795
2796         * bufferlist.C:
2797         * lyx_cb.C:
2798         * lyxfunc.C:
2799         * lyxvc.C: specify cancel button in Alert::prompt
2800
2801 2003-04-26  John Levon  <levon@movementarian.org>
2802
2803         * text3.C:
2804         * lyxfunc.C:
2805         * lfuns.h:
2806         * LyXAction.C: add LFUN_INSET_SETTINGS
2807
2808         * lyxfunc.C: don't enable tabular-feature when there's
2809         just any locking inset
2810
2811 2003-04-26  John Levon  <levon@movementarian.org>
2812
2813         * bufferlist.C: re-add Cancel to buffer close question
2814
2815         * lyxfunc.C: fix import UI a bit
2816
2817 2003-04-25  John Levon  <levon@movementarian.org>
2818
2819         * gettext.C: remove the broken asserts for now
2820
2821 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2822
2823         * messages.C: make case where setlocale cannot comply work better.
2824
2825         * buffer.C (updateDocLang): new function
2826         (changeLanguage): use it
2827         (readFile): use it
2828
2829         * text2.C (setCounter): use B_ a bit.
2830
2831         * lyxlayout.C (Read): be sure to trim the label strings.
2832
2833         * messages.C (Messages): fix typo in comment
2834
2835         * buffer.C (readFile): set message_ after file is loaded.
2836         (makeDocBookFile): remove double return
2837         (changeLanguage): reset message_ upon language change.
2838         (B_): new func, use this to get translated buffer strings.
2839
2840         * main.C: add myself and Jean Marc as authors.
2841
2842 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2843
2844         * messages.[hC]: pimplify Messages, and three different pimpls to be
2845         used in different circumstances.
2846
2847         * gettext.[Ch]: change for use with new message code.
2848
2849 2003-04-24 André Pönitz <poenitz@gmx.net>
2850
2851         * factory.C: support for eqref
2852
2853 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2854
2855         * messages.[Ch]: add missing char
2856
2857         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2858
2859         * messages.[Ch]: New files
2860
2861 2003-04-18  John Levon  <levon@movementarian.org>
2862
2863         * BufferView.h:
2864         * BufferView.C:
2865         * BufferView_pimpl.C:
2866         * lfuns.h:
2867         * LyXAction.C:
2868         * lyxtext.h:
2869         * text2.C: remove layout-copy/paste (bug 778)
2870
2871 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2872
2873         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2874
2875 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2876
2877         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2878         if they succeed. Act accordingly.
2879
2880 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2881
2882         * text2.C (setCharFont): adjust
2883         (setCounter): adjust
2884         (insertStringAsLines): adjust
2885
2886         * text.C (leftMargin): adjust
2887         (setHeightOfRow): adjust
2888
2889         * rowpainter.C (paintFirst): adjust
2890         (paintLast): adjust
2891
2892         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2893         (outerHook): ditto
2894         (isFirstInSequence): ditto
2895         (getEndLabel): ditto
2896         (outerFont): adjust
2897
2898         * paragraph.C (getParLanguage): comment out some hard stuff.
2899
2900         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2901         (sgmlError): ditto
2902         (simpleDocBookOnePar): ditto
2903         (makeDocBookFile): use ParagraphList::iterator
2904
2905         * CutAndPaste.C (pasteSelection): adjust
2906
2907 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2908
2909         * text2.C (getFont): adjust
2910         (getLayoutFont): adjust
2911         (getLabelFont): adjust
2912
2913         * paragraph_funcs.C (TeXOnePar): adjust
2914
2915         * buffer.C (simpleLinuxDocOnePar): adjust
2916         (simpleDocBookOnePar): adjust
2917
2918         * CutAndPaste.C (pasteSelection): adjust
2919
2920         * BufferView.C (getEncoding): adjust
2921
2922         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2923
2924 2003-04-16  John Levon  <levon@movementarian.org>
2925
2926         * lyxfind.C: use parlist stuff for search/changes
2927
2928 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2929
2930         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2931
2932         * text2.C (deleteEmptyParagraphMechanism): adjust
2933
2934         * text2.[Ch] (ownerParagraph): delete func (both of them
2935
2936 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2937
2938         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2939
2940 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2941
2942         * ParagraphList.C: prepare for NO_NEXT
2943
2944 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * text2.C (getFont): adjust
2947         (getLayoutFont): adjust
2948         (getLabelFont): adjust
2949
2950         * paragraph.C (getFont): adjust
2951         (getLabelFont): adjust
2952         (getLayoutFont): adjust
2953
2954         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2955
2956 2003-04-15  John Levon  <levon@movementarian.org>
2957
2958         From Angus Leeming
2959
2960         * lyx_main.C: handle Include in .ui files
2961
2962 2003-04-15  John Levon  <levon@movementarian.org>
2963
2964         * MenuBackend.C: make the doc files length shorter
2965
2966         * ToolbarBackend.h:
2967         * ToolbarBackend.C: handle toolbar placement flags,
2968         Minibuffer
2969
2970 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2971
2972         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2973         adjust
2974
2975         * paragraph_funcs.C (TeXOnePar): adjust
2976
2977         * paragraph.C (getLabelFont): add outerfont arg, adjust
2978         (getLayoutFont): ditto
2979         (simpleTeXOnePar): adjust
2980
2981         * paragraph_pimpl.C (realizeFont): delete func
2982
2983 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2984
2985         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2986         row argument, constify cur argument.
2987
2988 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2989
2990         * text2.C (getFont): adjust
2991         (getLayoutFont): adjust
2992         (getLabelFont): adjust
2993
2994         * paragraph_funcs.C (TeXOnePar): adjust
2995         (outerFont): new func...
2996         (realizeFont): ...moved out from here, changed this to facilitate
2997         transition
2998
2999         * paragraph.C (getFont): take outerfont as arg, adjust
3000         (simpleTeXOnePar): add outerfont arg, adjust
3001
3002         * buffer.C (simpleLinuxDocOnePar): adjust
3003         (simpleDocBookOnePar): adjust
3004
3005         * CutAndPaste.C (pasteSelection): adjust
3006
3007         * BufferView.C (getEncoding): adjust
3008
3009 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3010
3011         * text2.C (setCharFont): adjust
3012         (setCounter): adjust
3013
3014         * text.C (leftMargin): adjust
3015         (setHeightOfRow): adjust
3016
3017         * rowpainter.C (paintFirst): adjust
3018         (paintLast): adjust
3019
3020         * paragraph_pimpl.C (realizeFont): adjust
3021
3022         * paragraph.C (isFirstInSequence): move from here...
3023         * paragraph_funcs.C (isFirstInSequence): ...to here
3024
3025         * paragraph.C (outerHook): move from here...
3026         * paragraph_funcs.C (outerHook): ...to here
3027
3028         * paragraph.C (depthHook): move from here...
3029         * paragraph_funcs.C (depthHook): ...to here
3030
3031         * paragraph.C (getEndLabel): move from here...
3032         * paragraph_funcs.C (getEndLabel): ...to here
3033
3034         * text2.C (realizeFont): move from here...
3035         * paragraph_funcs.C (realizeFont): ...to here
3036
3037 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3038
3039         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3040
3041 2003-04-14  Angus Leeming  <leeming@lyx.org>
3042
3043         * LColor.[Ch]: scrap LColor mathcursor.
3044
3045 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * lyxlex.[Ch] (text): delete function
3048         * trans.C (Load): adjust
3049         * paragraph_funcs.C (readParToken): adjust
3050
3051 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3052
3053         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3054         vector<char> instead of a char[].
3055
3056         * lyxlex_pimpl.C (getString): adjust
3057         (next): adjust
3058         (lex): use getString
3059         (eatLine): adjust
3060         (nextToken): adjust
3061
3062         * lyxlex.C (text): use pimpl_->getString()
3063         (getBool): ditto
3064         (findToken): ditto
3065
3066 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3067
3068         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3069         (makeFontEntriesLayoutSpecific): temp var for par.size()
3070         (setLayout): temp var for ownerParagraphs().end()
3071         (fullRebreak): temp var for rows().end()
3072         (selectionAsString): temp var for boost::next(startpit), realize
3073         that the while really is a regular for loop.
3074         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3075         setCursor in one place.
3076         (setParagraph): temp vr for ownerParagraphs().end()
3077         (updateCounters): make the while loop a for loop
3078         (cutSelection): temp var for ownerParagraphs().end()
3079         (updateInset): make the do {} while() a regular for loop
3080         (getCursorX): use temp vars
3081         (setCurrentFont): use temp vars
3082         (getColumnNearX): use temp vars
3083
3084 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * text.C (transformChar): use temp var for getChar
3087         (computeBidiTables): use temp var for row->par()
3088         (fill): move temp vars for row->par() and pit->layout() earlier in
3089         the function.
3090         (labelFill): use temp var for row->par()
3091         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3092         asc and desc, realize that pit never changes and that firstpit is
3093         just a duplicate and not needed. Exchange rit->par() with pit in a
3094         lot of places.
3095         (breakAgain): use a temp var for boost::next(rit)
3096         (breakAgainOneRow): ditto
3097         (breakParagraph): use a temp var for rows().begin()
3098         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3099         (cursorRightOneWord): use temp var for cursor.par() and
3100         cursor.pos(), remove usage of tmpcursor.
3101         (cursorLeftOneWord): use temp var for cursor.par() and
3102         cursor.pos() only set cur at end of function.
3103
3104 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3105
3106         * text.C, text2.C: exchange all usage of Paragraph::next with
3107         boost::next(ParagraphList::iterator)
3108
3109         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3110
3111         * text2.C (cursorTop): simplify implementation
3112         (cursorBottom): ditto
3113         (setParagraph): use ParagraphList::iterator
3114         (setCurrentFont): adjust
3115         (getColumnNearX): adjust
3116         (cursorRight): adjust
3117         (cursorLeft): remove usage of Paragraph::previous
3118         (cursorUpParagraph): ditto
3119         (deleteEmptyParagraphMechanism): slight cleanup
3120
3121         * text.C (isBoundary): take a Paragraph const & instead of a
3122         pointer as arg.
3123         (addressBreakPoint): ditto
3124         (leftMargin): remove usage of Paragraph::previous.
3125         (setHeightOfRow): ditto
3126         (cursorLeftOneWord): ditto
3127         (selectNextWordToSpellcheck): ditto
3128         (Delete): ditto
3129         (backspace): ditto
3130         (breakParagraph): remove one usage of Paragraph::next
3131         (redoParagraph): ditto
3132         (acceptChange): ditto
3133         (insertChar): adjust
3134         (rowBreakPoint): adjust
3135
3136         * bufferview_funcs.C (toggleAndShow): adjust
3137
3138 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3139
3140         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3141         methods to access it.
3142         * lyxtext.h:
3143         * text.C: Added updateRowPositions to compute all row positions.
3144         Make top_y and getRowNearY() to use the cached y position
3145
3146 2003-04-11  John Levon  <levon@movementarian.org>
3147
3148         * text.C (rowBreakPoint): reintroduce the labelEnd
3149         checks, code copied from the row fill stuff. Deep voodoo.
3150
3151         * text.C (fill): add a comment and debugging for the
3152         next poor soul.
3153
3154 2003-04-11  John Levon  <levon@movementarian.org>
3155
3156         * text.C: make sure fullrow insets get wrapped to the next line,
3157         even when they're in a manual label
3158
3159 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3160
3161         * text2.C (insertParagraph): make it take ParagraphList::iterator
3162         as arg.
3163         (setLayout): make it return ParagraphList::iterator
3164         (redoParagraphs): ditto
3165         (setCounter): ditto
3166         (checkParagraph): ditto
3167
3168         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3169
3170         * text2.C: adjust several funcs.
3171         (realizeFont): take a ParagraphList::iterator as arg.
3172         (getLayoutFont): ditto
3173         (getLabelFont): ditto
3174         (setCharFont): ditto
3175
3176         * text.C: adjust several funcs.
3177
3178 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3179
3180         * text.C (selectNextWordToSpellcheck): don't accidentally
3181         skip insets
3182
3183 2003-04-10  John Levon  <levon@movementarian.org>
3184
3185         * ToolbarBackend.C (getIcon): special handling for
3186         LFUN_MATH_DELIM
3187
3188 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3189
3190         * text2.C (cursorRight): a getChar assert fixed
3191
3192 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3193
3194         * text2.C (getFont): change to take a ParagraphList::iterator
3195         instead of Paragraph*
3196         Adjust several functions.
3197
3198         * text.C (transformChar): change to take a ParagraphList::iterator
3199         instead of Paragraph*
3200         (singleWidth): ditto
3201         Adjust several functions.
3202
3203         * rowpainter.C: adjust several functions
3204         * rowpainter.h:store a ParagraphList::iterator and not a
3205         Paragraph&.
3206
3207
3208 2003-04-09  John Levon  <levon@movementarian.org>
3209
3210         * lyxfunc.C:
3211         * lfuns.h:
3212         * LyXAction.h:
3213         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3214         and the "help" bits as well
3215
3216 2003-04-09  John Levon  <levon@movementarian.org>
3217
3218         * ToolbarBackend.h:
3219         * ToolbarBackend.C: allow multiple toolbars
3220
3221 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3222
3223         * undo_funcs.C (setCursorParUndo): adjust
3224
3225         * text_funcs.C (transposeChars): adjust
3226
3227         * text3.C (gotoNextInset): adjust
3228         (dispatch): adjust
3229
3230         * text2.C (setLayout): adjust
3231         (changeDepth): adjust
3232         (setFont): adjust
3233         (redoParagraphs): adjust
3234         (selectionAsString): adjust
3235         (setParagraph): adjust
3236         (insertInset): adjust
3237         (cutSelection): adjust
3238         (copySelection): adjust
3239         (pasteSelection): adjust
3240         (insertStringAsLines): adjust
3241         (updateInset): adjust
3242         (setCursor): change to take a ParagraphList::iterator parameter
3243         (setCursorIntern): change to take a ParagraphList::iterator parameter
3244         (setCurrentFont): adjust
3245         (cursorLeft): adjust
3246         (cursorRight): adjust
3247         (deleteEmptyParagraphMechanism): adjust
3248
3249         * text.C (breakParagraph): adjust
3250         (insertChar): adjust
3251         (acceptChange): adjust
3252         (rejectChange): adjust
3253         (selectNextWordToSpellcheck): adjust
3254         (changeCase): adjust
3255         (Delete): adjust
3256         (backspace): adjust
3257
3258         * lyxfind.C (SearchForward): adjust
3259         (SearchBackward): adjust
3260         (nextChange): adjust
3261
3262         * lyxcursor.C (par): adjust
3263
3264         * lyxcursor.h: store a ParagraphList::iterator instead of a
3265         Paragraph*
3266
3267         * lyx_cb.C (getPossibleLabel): adjust
3268
3269         * bufferview_funcs.C (toggleAndShow): adjust
3270
3271         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3272         (dispatch): adjust
3273
3274         * BufferView.C (removeAutoInsets): adjust
3275         (lockedInsetStoreUndo): adjust
3276
3277 2003-04-09  John Levon  <levon@movementarian.org>
3278
3279         * ToolbarBackend.C: try icon without argument
3280         if with argument fails
3281
3282 2003-04-08  John Levon  <levon@movementarian.org>
3283
3284         * ToolbarBackend.h:
3285         * ToolbarBackend.C: add getIcon(), handle tooltip,
3286         and change from "Icon" to "Item".
3287
3288 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3289
3290         * BufferView.C (lockInset): another bad getchar crunched
3291
3292 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3295         again)
3296
3297 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3298
3299         * lyxfind.C (searchForward, searchBackwards): bug 782
3300
3301 2003-04-07  John Levon  <levon@movementarian.org>
3302
3303         * paragraph.C: remove dead comment
3304
3305         * text.C: remove troublesome depth-fiddling code
3306         in leftMargin() and rightMargin() (bug 1017)
3307
3308         * text.C: fix breaking of rows in nested lists
3309         (bug 1004)
3310
3311         * text2.C (updateCounters): fix up depth values
3312         (bug 1013)
3313
3314 2003-04-07  John Levon  <levon@movementarian.org>
3315
3316         * BufferView_pimpl.C: clear message when doc finishes resizing,
3317         and after a mouse event
3318
3319         * lyxfunc.C: clear message after exiting inset
3320
3321 2003-04-07  John Levon  <levon@movementarian.org>
3322
3323         * bufferview_funcs.C: show math status not outside
3324         status in the statusbar
3325
3326 2003-04-07  John Levon  <levon@movementarian.org>
3327
3328         * lyxfunc.C: note status changed after a depth change
3329
3330 2003-04-04  Angus Leeming  <leeming@lyx.org>
3331
3332         * LaTeX.h: move AuxInfo operator==, != out of line.
3333         Remove LaTeX virtual destructor; nothing derives from it.
3334         Move operator()() out of public area and rename it startscript().
3335         Change protected for private.
3336
3337 2003-04-04  Angus Leeming  <leeming@lyx.org>
3338
3339         * lyxfunc.C:
3340         * text2.C: remove unneeded #includes.
3341
3342 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3343
3344         * text2.C (dEPM): fix the heigth of the next row
3345
3346 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3347
3348         * text.C: squashed an invalid getChar requester + some ws changes
3349
3350 2003-04-03  John Levon  <levon@movementarian.org>
3351
3352         * bufferview_funcs.h:
3353         * bufferview_funcs.C:
3354         * lyxfunc.C:
3355         * lyxtext.h:
3356         * text2.C: make getStatus work for the env depth lfuns
3357
3358 2003-04-03  John Levon  <levon@movementarian.org>
3359
3360         * bufferview_funcs.h:
3361         * bufferview_funcs.C:
3362         * lyxfunc.C:
3363         * lyxtext.h:
3364         * text2.C: parlistize decDepth(), by merging it with incDepth()
3365
3366 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3367
3368         * lyxrow.h: store a ParagraphList::iterator instead of a
3369         Paragraph* and adjust other class functions to suit.
3370
3371         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3372         above.
3373
3374 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3375
3376         * text2.C (setCursor): do not anchor to cursor row for the time being
3377
3378 2003-04-02  John Levon  <levon@movementarian.org>
3379
3380         * LyXAction.C:
3381         * lfuns.h:
3382         * lyx_main.C:
3383         * lyxtext.h:
3384         * text.C:
3385         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3386
3387 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3388
3389         * paragraph.h: make ParagraphList and ParagraphList::iterator
3390         friends of Paragraph.
3391
3392         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3393
3394         * ParagraphList.C: Use the private next_ and previous_ from
3395         Paragraph.
3396
3397 2003-04-01  John Levon  <levon@movementarian.org>
3398
3399         * ToolbarBackend.h:
3400         * ToolbarBackend.C:
3401         * Makefile.am: rename, remove defaults gunk
3402
3403         * MenuBackend.h:
3404         * MenuBackend.C: remove defaults gunk
3405
3406         * Languages.h:
3407         * Languages.C: remove defaults gunk
3408
3409         * lyx_main.h:
3410         * lyx_main.C: error out if files couldn't be found.
3411
3412 2003-04-02  John Levon  <levon@movementarian.org>
3413
3414         * text2.C: make incDepth() use parlist
3415
3416 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3417
3418         * undo_funcs.C (firstUndoParagraph): adjust
3419
3420         * text3.C (gotoInset): adjust
3421         (dispatch): adjust, and rewrite loop.
3422
3423         * text2.C (init): adjust, and rewrite loop.
3424         (redoParagraphs): adjust
3425         (updateInset): adjust, and rewrite loop.
3426         (deleteEmptyParagraphMechanism): adjust
3427
3428         * tabular.C (LyXTabular): adjust
3429         (SetMultiColumn): adjust
3430         (TeXRow): adjust
3431
3432         * lyxtext.[Ch] (ownerParagraph): delete function
3433         (ownerParagraphs): new function returns a ParagraphList.
3434
3435         * BufferView.C (removeAutoInsets): adjust
3436         (insertErrors): adjust
3437         (setCursorFromRow): adjust
3438
3439 2003-04-01  Angus Leeming  <leeming@lyx.org>
3440
3441         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3442         in the frontends.
3443
3444 2003-04-02  John Levon  <levon@movementarian.org>
3445
3446         * lyxtext.h:
3447         * text.C:
3448         * Makefile.am:
3449         * text_funcs.h:
3450         * text_funcs.C: make transposeChars a free function
3451
3452         * lyxrow_funcs.C: remove wrong comment
3453
3454 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3455
3456         * lyxtext.h: adjust
3457         * rowpainter.C: adjust
3458         * text.C: adjust
3459         * text2.C: adjust
3460         * text3.C: adjust
3461
3462         * lyxrow_funcs. [Ch]: new files
3463
3464         * lyxrow.[Ch]: remove next and previous pointers
3465         (next,previous): remove accessor functions
3466         (isParEnd): move to lyxrow_funcs
3467         (lastPos): move to lyxrow_funcs
3468         (nextRowIsAllInset): move to lyxrow_funcs
3469         (lastPrintablePos): move to lyxrow_funcs
3470         (numberOfSeparators): move to lyxrow_funcs
3471         (numberOfHfills): move to lyxrow_funcs
3472         (numberOfLabelHfills): move to lyxrow_funcs
3473         (hfillExpansion): move to lyxrow_funcs
3474
3475         * lyxfunc.C: adjust
3476
3477         * bufferview_funcs.C (toggleAndShow): adjust
3478
3479         * RowList.h: Remove class RowList from file leave just a
3480         std::list<Row>.
3481
3482         * RowList.C: delete file
3483
3484         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3485         and lyxrow_funcs.h
3486
3487 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3488
3489         * text3.C (cursorPrevious): adjust
3490         (cursorNext): adjust
3491         (dispatch): adjust
3492
3493         * text2.C (redoHeightOfParagraph): adjust
3494         (redoDrawingOfParagraph): adjust
3495         (setCursor): adjust
3496
3497         * text.C (breakParagraph): adjust
3498         (insertChar): adjust
3499         (backspace): adjust
3500
3501         * rowpainter.C (RowPainter): adjust
3502         (leftMargin): simplify and adjust
3503         (most rowpainter functions): adjust.
3504
3505         * rowpainter.h: store the row as RowList::iterator not as Row*
3506
3507         * lyxcursor.C (row): taka RowList::iterator as arg
3508         (irow): ditto
3509
3510         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3511         of Row*.
3512
3513 2003-04-01  Angus Leeming  <leeming@lyx.org>
3514
3515         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3516         stuff like bool Bool.
3517
3518 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3519
3520         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3521         rewrite a loop
3522
3523 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3524
3525         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3526         RowList::iterator.
3527
3528         * lyxtext.h (rows): drop one version and leve a const variant that
3529         returns a RowList::iterator.
3530
3531 2003-03-31  Angus Leeming  <leeming@lyx.org>
3532
3533         * text.C (fill): ensure that the signature is the same as that in the
3534         header file.
3535
3536 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * text2.C (redoParagraphs): adjust
3539         (updateCounters): adjust
3540         (checkParagraph): adjust
3541         (getColumnNearX): adjust and reformat a bit.
3542
3543         * text.C (top_y): adjust
3544         (workWidth): adjust
3545         (leftMargin): adjust
3546         (prepareToPrint): adjust
3547         (getRow): adjust
3548         (getRowNearY): adjust
3549
3550         * lyxtext.h: make rowlist_ mutable.
3551
3552         * RowList.h: add const_iterator
3553         * RowList.C: adjust for RowList::const_iterator.
3554
3555         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3556         adjust.
3557
3558 2003-03-31  John Levon  <levon@movementarian.org>
3559
3560         * lyxrc.h:
3561         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3562
3563         * lyx_main.C: set default fonts from using lyx_gui funcs
3564
3565         * exporter.C: pdf_mode moved from lyxrc
3566
3567         * lyx_cb.C:
3568         * lyxfunc.C: changes from above
3569
3570 2003-03-31  John Levon  <levon@movementarian.org>
3571
3572         * lyx_main.C: fix to the last fix
3573
3574 2003-03-31  John Levon  <levon@movementarian.org>
3575
3576         * bufferlist.C: "Load original" -> "Load Original"
3577
3578         * converter.C:
3579         * exporter.C:
3580         * importer.C:
3581         * lyx_main.C:
3582         * format.C: more Alert cleanups
3583
3584 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3585
3586         * text2.C (removeParagraph): make it take a RowList::iterator as
3587         arg, adjust.
3588         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3589         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3590
3591         * text.C (anchor_row): make it take a RowList::iterator as arg,
3592         adjust.
3593         (computeBidiTables): make it take a const reference to Row instead
3594         of Row pointer, adjust.
3595         (leftMargin): make it take a RowList::iterator as arg, adjust.
3596         (rowBreakPoint): adjust
3597         (breakAgainOneRow): make it take a RowList::iterator as arg,
3598         adjust.
3599         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3600
3601         * bufferview_funcs.C (toggleAndShow): adjust
3602
3603 2003-03-30  John Levon  <levon@movementarian.org>
3604
3605         * Makefile.am:
3606         * BoostFormat.h:
3607         * boost-inst.C: moved to support
3608
3609         * several files: changes as a result
3610
3611 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3612
3613         * text2.C (LyXText): adjust.
3614         (init): adjust
3615         (removeRow): make it take a RowList::iterator as arg, adjust.
3616         (fullRebreak): adjust
3617         (deleteEmptyParagraphMechanism): adjust
3618         (clearPaint): adjust
3619         (postPaint): adjust
3620
3621         * text.C (top_y): adjust
3622         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3623         (breakAgain): make it take a RowList::iterator as arg, adjust.
3624         (breakParagraph): adjust
3625         (insertChar): adjust
3626         (backspace): adjust
3627
3628         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3629         need_break_row, and refresh_row.
3630
3631         * text3.C (dispatch): adjust
3632
3633         * text2.C (checkParagraph): adjust
3634         (setCursor): adjust
3635         (setCursorFromCoordinates): adjust
3636
3637         * text.C (top_y): adjust
3638         (workWidth): adjust
3639         (getRow): make it return a RowList::iterator, adjust
3640         (getRowNearY): make it return a RowList::iterator, adjust
3641
3642         * text2.C (init): adjust
3643         (insertRow): remove function
3644         (insertParagraph): adjust
3645         (redoParagraphs): adjust
3646         (fullRebreak): adjust
3647         (updateCounters): adjust
3648
3649         * text.C (top_y): rewrite to use RowList iterators.
3650         (top_y): adjust
3651         (setHeightOfRow): rewrite to sue RowList iterators.
3652         (appendParagraph): adjust
3653         (breakAgain): adjust
3654         (breakAgainOneRow): adjust
3655         (breakParagraph): adjust
3656         (getRow): adjust
3657         (getRowNearY): adjust, and remove commented code.
3658
3659         * lyxtext.h (firstRow): delete function
3660         (lastRow): delete function
3661         (rows): new function (const and non-const versions.)
3662         (insertRow): delete function
3663
3664         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3665
3666 2003-03-29  John Levon  <levon@movementarian.org>
3667
3668         * BufferView_pimpl.C: always update scrollbar top
3669         because pasting text when we're anchored could mean we
3670         miss an update altogether
3671
3672 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3673
3674         * text2.C (init): use rowlist_.end() and not 0.
3675         (insertRow): change to take a RowList::iterator as arg, adjust
3676         for this.
3677         (insertParagraph): change to take a RowList::iterator as arg,
3678         adjust for this.
3679         (redoParagraphs): remove some debug msgs.
3680
3681         * text.C (appendParagraph): change to take a RowList::iterator
3682         arg, adjust for this.
3683         (breakAgain): add an assert
3684         (breakAgainOneRow): ditto
3685
3686 2003-03-29  John Levon  <levon@movementarian.org>
3687
3688         * text2.C: do not clear selection after inc/decDepth
3689         (bug 550)
3690
3691 2003-03-29  John Levon  <levon@movementarian.org>
3692
3693         * BufferView.C:
3694         * buffer.C: fix broken strerrors according to Lars
3695
3696 2003-03-29  John Levon  <levon@movementarian.org>
3697
3698         * converters.C: more Alert cleanups
3699
3700 2003-03-29  John Levon  <levon@movementarian.org>
3701
3702         * bufferview_funcs.C: remove pointless Alert
3703
3704         * buffer.C: fix confusing error message when
3705         a template is chmoded 000
3706
3707 2003-03-29  John Levon  <levon@movementarian.org>
3708
3709         * BufferView.C:
3710         * BufferView.h:
3711         * BufferView_pimpl.C: Alert fixes
3712
3713         * Makefile.am:
3714         * tabular.C:
3715         * tabular-old.C: remove unused table compat reading
3716
3717 2003-03-29  John Levon  <levon@movementarian.org>
3718
3719         * BufferView.C:
3720         * buffer.C:
3721         * lyx_cb.h:
3722         * lyx_cb.C: more Alert cleanups
3723
3724         * lyxfunc.C: don't allow chktex if not latex document
3725
3726 2003-03-29  John Levon  <levon@movementarian.org>
3727
3728         * lyx_cb.C:
3729         * BufferView.C:
3730         * buffer.C: warnings pushed down from support/,
3731         kill err_alert
3732
3733 2003-03-29  John Levon  <levon@movementarian.org>
3734
3735         * lyxfunc.C: safety check for C-r (revert)
3736
3737 2003-03-29  John Levon  <levon@movementarian.org>
3738
3739         * bufferlist.h:
3740         * bufferlist.C: several UI fixes using Alert::prompt.
3741         Fix the pointless looping quit code. Fix stupid revert
3742         behaviour (bug 938)
3743
3744         * lyxvc.h:
3745         * lyxvc.C:
3746         * lyx_cb.C: use Alert::prompt
3747
3748         * lyx_main.C: remove a silly question
3749
3750         * lyxfunc.C: remove a couple of silly questions,
3751         use Alert::prompt
3752
3753 2003-03-28  John Levon  <levon@movementarian.org>
3754
3755         * text2.C: fix bug 974 (End on empty par)
3756
3757 2003-03-28  John Levon  <levon@movementarian.org>
3758
3759         * BufferView_pimpl.C:
3760         * LyXAction.C:
3761         * lfuns.h: remove do-nothing math greek lfuns
3762
3763 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3764
3765         * lyxgluelength.h (isValidGlueLength): add default arg on
3766         parameter 2. Remove default arg from friend in class.
3767
3768         * lyxlength.h (isValidLength): add default arg on parameter 2.
3769         Remove default arg from friend in class.
3770
3771         * text2.C (LyXText): adjust, initialize refresh_row.
3772         (init): adjust
3773         (removeRow): adjust
3774         (insertRow): adjust
3775         (insertParagraph): adjst
3776         (redoParagraphs): adjust
3777         (fullRebreak): adjust
3778         (updateCounters): adjust
3779         (deleteEmptyParagraphMechanism): first attempt at fixing a
3780         crashing bug.
3781
3782         * text.C (top_y): adjust
3783         (setHeightOfRow): adjust
3784         (getRow): adjust
3785         (getRowNearY): adjust
3786
3787         * lyxtext.h: include RowList.h
3788         (~LyXText): not needed anymore, deleted.
3789         (firstRow): modify for RowList
3790         (lastRow): new function
3791         Delete firstrow and lastrow class variables, add a Rowlist
3792         rowlist_ class variable.
3793
3794         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3795         paragraph is empty.
3796
3797         * RowList.C (insert): fix case where it == begin().
3798
3799 2003-03-26  Angus Leeming  <leeming@lyx.org>
3800
3801         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3802         the thesaurus dialog.
3803
3804 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3807
3808         * RowList.[Ch]: new files
3809
3810         * ParagraphList.C (erase): handle the case where it == begin
3811         correctly.
3812
3813 2003-03-25  John Levon  <levon@movementarian.org>
3814
3815         * Makefile.am:
3816         * aspell_local.h:
3817         * aspell.C: add new aspell support
3818
3819         * lyxrc.h:
3820         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3821         have it accessible.
3822
3823 2003-03-25  Angus Leeming  <leeming@lyx.org>
3824
3825         * lfuns.h:
3826         * LyXAction.C (init): new LFUN_INSET_INSERT.
3827
3828         * BufferView_pimpl.C (dispatch): split out part of the
3829         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3830
3831         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3832         LFUN_INSET_APPLY.
3833
3834 2003-03-25  Angus Leeming  <leeming@lyx.org>
3835
3836         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3837
3838 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3839
3840         * text2.C:
3841         * text3.C: remove useless row->height(0)
3842
3843 2003-03-25  John Levon  <levon@movementarian.org>
3844
3845         * lyxtext.h:
3846         * text2.C:
3847         * text3.C: rename the refreshing stuff to better names
3848
3849 2003-03-24  John Levon  <levon@movementarian.org>
3850
3851         * BufferView_pimpl.h:
3852         * BufferView_pimpl.C: update layout choice on a mouse
3853         press/release
3854
3855 2003-03-23  John Levon  <levon@movementarian.org>
3856
3857         * Makefile.am: fix commandtags.h reference
3858
3859 2003-03-22  John Levon  <levon@movementarian.org>
3860
3861         * BufferView_pimpl.C:
3862         * lyxtext.h:
3863         * rowpainter.C:
3864         * rowpainter.h:
3865         * text.C:
3866         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3867
3868 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3869
3870         * lyxtext.h:
3871         * text.C: take the rtl methods out of line
3872
3873 2003-03-21 André Pönitz <poenitz@gmx.net>
3874
3875         * metricsinfo.[Ch]: new files containing structures to be passed around
3876         during the two-phase-drawing...
3877
3878 2003-03-21 André Pönitz <poenitz@gmx.net>
3879
3880         * lyxtextclass.C: read 'environment' tag.
3881
3882 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3883
3884         * text2.C (removeRow): fix bug 964
3885
3886 2003-03-20  John Levon  <levon@movementarian.org>
3887
3888         * rowpainter.C:
3889         * text.C:
3890         * text2.C: paint cleanups. Inset::update() dropped font
3891         parameter
3892
3893 2003-03-19  John Levon  <levon@movementarian.org>
3894
3895         * lyxfunc.C: only fitcursor/markDirty if available()
3896
3897 2003-03-19  John Levon  <levon@movementarian.org>
3898
3899         * commandtags.h: rename to ...
3900
3901         * lfuns.h: ... this, and renumber / cleanup
3902
3903 2003-03-19  John Levon  <levon@movementarian.org>
3904
3905         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3906         fit the cursor after an lfun
3907
3908         * BufferView.h:
3909         * BufferView.C:
3910         * BufferView_pimpl.h:
3911         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3912
3913         * LyXAction.C: layout-character should have ReadOnly
3914
3915         * ParagraphParameters.C:
3916         * buffer.C:
3917         * bufferview_funcs.C:
3918         * lyx_cb.C:
3919         * lyxfind.C:
3920         * lyxtext.h:
3921         * text.C:
3922         * text2.C:
3923         * text3.C:
3924         * undo_funcs.C: changes from above
3925
3926 2003-03-18  John Levon  <levon@movementarian.org>
3927
3928         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3929         remove it from update()
3930
3931         * lyxfunc.C: update layout choice after an lfun
3932
3933         * text3.C: remove extra updateLayoutChoice()s
3934
3935 2003-03-18  John Levon  <levon@movementarian.org>
3936
3937         * text.C: top_y change means full repaint, fix
3938         a drawing bug with cursor movement
3939
3940 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3941
3942         * lyxtext.h:
3943         * text.C:
3944         * text2.C: anchor row on setCursor
3945
3946 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3947
3948         * lyxtext.h: remove almost all mutable keywords
3949         * text.C:
3950         * text2.C:
3951         * text3.C: remove const keywords accordingly
3952
3953 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3956         anon namespace
3957         (TeXEnvironment): ditto
3958         (TeXOnePar): ditto
3959
3960 2003-03-17  John Levon  <levon@movementarian.org>
3961
3962         * text.C (rowBreakPoint): remove attempt to fix displayed
3963         math insets inside a manual label
3964
3965 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * lyxtext.h: remove BufferView* as first arg from almost all class
3968         functions.
3969         * other files: adjust.
3970
3971 2003-03-17  John Levon  <levon@movementarian.org>
3972
3973         * lyxtext.h:
3974         * undo_funcs.C:
3975         * text2.C: more paint cleanups
3976
3977         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3978
3979         * rowpainter.h:
3980         * rowpainter.C: remove "smart" background painting code
3981
3982 2003-03-16  John Levon  <levon@movementarian.org>
3983
3984         * lyxtext.h:
3985         * text.C:
3986         * text2.C:
3987         * text3.C: add helper functions for setting refresh_row/y
3988
3989 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3990
3991         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3992         newline inset which *can* get inserted in the pass_thru layouts.
3993         This is primarily for literate documents.
3994
3995 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3996
3997         * buffer.C: increment LYX_FORMAT to 223
3998
3999 2003-03-14 André Pönitz <poenitz@gmx.net>
4000
4001         * textclass.h: prepare for environment handling, ws changes
4002         * lyxlayout.C: read latexheader and latexfooter tags
4003
4004 2003-03-14  John Levon  <levon@movementarian.org>
4005
4006         * text2.C: rewrite ::status() a bit
4007
4008 2003-03-13  John Levon  <levon@movementarian.org>
4009
4010         * lyxtext.h: add some docs
4011
4012 2003-03-13  John Levon  <levon@movementarian.org>
4013
4014         * lyxtext.h:
4015         * text.C:
4016         * text2.C:
4017         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4018
4019 2003-03-13  John Levon  <levon@movementarian.org>
4020
4021         * text3.C: fix appendix redrawing
4022
4023 2003-03-13  John Levon  <levon@movementarian.org>
4024
4025         * text.C (setHeightOfRow):
4026         * rowpainter.h:
4027         * rowpainter.C: make appendix mark have the text
4028           "Appendix" so the user knows what it is
4029
4030         * LColor.h:
4031         * LColor.C: s/appendixline/appendix/ from above
4032
4033 2003-03-13  John Levon  <levon@movementarian.org>
4034
4035         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4036
4037         * text.C: fix a getChar(pos) bug properly
4038
4039 2003-03-13  Angus Leeming  <leeming@lyx.org>
4040
4041         * commandtags.h:
4042         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4043         Probably only temporary. Let's see how things pan out.
4044
4045         * BufferView.C (unlockInset):
4046         * BufferView_pimpl.C (fitCursor):
4047         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4048
4049         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4050         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4051
4052         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4053         new functions that convert ParagraphParameters to and from a string.
4054
4055         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4056         BufferView::Pimpl's dispatch.
4057         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4058
4059 2003-03-13 André Pönitz <poenitz@gmx.net>
4060
4061         * lyxfunc.C:
4062         * text3.C:
4063         * factory.C: make it aware of InsetEnv
4064
4065 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4066
4067         * text2.C (setCursor): never ask for one past last
4068         (setCursor): add some debugging messages.
4069
4070         * text.C (singleWidth): never ask for one past last
4071         (singleWidth): ditto
4072         (leftMargin): ditto
4073         (rightMargin): ditto
4074         (rowBreakPoint): ditto
4075         (setHeightOfRow): ditto
4076         (prepareToPrint): ditto
4077
4078         * rowpainter.C (paintBackground): never ask for one past last
4079         (paintText): never ask for one past last
4080
4081         * paragraph_pimpl.C (getChar): make the assert stricter, never
4082         allow the one past last pos to be taken
4083
4084         * paragraph.C (getChar): ws changes only
4085
4086         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4087         (numberOfSeparators): ditto
4088         (numberOfHfills): ditto
4089
4090 2003-03-12  John Levon  <levon@movementarian.org>
4091
4092         * author.h:
4093         * author.C:
4094         * bufferparams.h:
4095         * bufferparams.C:
4096         * paragraph_funcs.C: fix per-buffer authorlists
4097
4098 2003-03-12  John Levon  <levon@movementarian.org>
4099
4100         * text.C: fix newline in right address
4101
4102 2003-03-12  Angus Leeming  <leeming@lyx.org>
4103
4104         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4105         duplicate those in LyXFunc::dispatch.
4106
4107         * commandtags.h:
4108         * LyXAction.C:
4109         * ToolbarDefaults.C:
4110         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4111         Add LFUN_FONTFREE_UPDATE.
4112
4113         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4114         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4115
4116         * bufferview_func.[Ch]: several new functions to facilliate
4117         transfer of data to and from the character dialog.
4118
4119 2003-03-12  John Levon  <levon@movementarian.org>
4120
4121         * buffer.C:
4122         * paragraph.h:
4123         * paragraph.C:
4124         * paragraph_funcs.C:
4125         * paragraph_pimpl.C:
4126         * sgml.C:
4127         * tabular.C:
4128         * text.C:
4129         * text3.C: remove META_NEWLINE in favour of an inset
4130
4131         * rowpainter.h:
4132         * rowpainter.C: remove paintNewline (done by inset)
4133
4134 2003-03-12  John Levon  <levon@movementarian.org>
4135
4136         * paragraph_pimpl.C: complain about bad getChar()s
4137         for a while at least
4138
4139 2003-03-12  John Levon  <levon@movementarian.org>
4140
4141         * buffer.h:
4142         * buffer.C: move paragraph read into a separate function,
4143         a little renaming to reflect that.
4144
4145         * bufferparams.h:
4146         * bufferparams.C: remove the author_ids map, not necessary now
4147
4148         * factory.h:
4149         * factory.C: moved Buffer::readInset to here
4150
4151         * paragraph_funcs.h:
4152         * paragraph_funcs.C: readParagraph free function moved from
4153         buffer.C
4154
4155         * tabular.C: name change
4156
4157 2003-03-12  John Levon  <levon@movementarian.org>
4158
4159         * buffer.C:
4160         * ParagraphParameters.C: move par params input to
4161         a read() method
4162
4163         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4164         behave like a normal read from the stream wrt reading
4165         a line vs. a \\token
4166
4167 2003-03-12  John Levon  <levon@movementarian.org>
4168
4169         * paragraph.C:
4170         * ParagraphParameters.h:
4171         * ParagraphParameters.C: move output code to a
4172         ::write() method
4173
4174 2003-03-12  John Levon  <levon@movementarian.org>
4175
4176         * BufferView.C (insertLyXFile):
4177         * buffer.h:
4178         * buffer.C:
4179         * tabular.C: use a parlist iterator for creating the
4180           document.
4181
4182 2003-03-12  John Levon  <levon@movementarian.org>
4183
4184         * buffer.C: make current_change static local not
4185           static file-scope
4186
4187 2003-03-12  John Levon  <levon@movementarian.org>
4188
4189         * buffer.C: fix insertStringAsLines for change tracking
4190
4191 2003-03-12  John Levon  <levon@movementarian.org>
4192
4193         * BufferView.C:
4194         * tabular.C:
4195         * buffer.h:
4196         * buffer.C:
4197         * bufferparams.h:
4198         * bufferparams.C: move author list into params. Rename some
4199           functions. Move the header reading into a separate token
4200           loop. Move the header token reading into BufferParams.
4201
4202 2003-03-12  John Levon  <levon@movementarian.org>
4203
4204         * changes.C: put debug inside lyxerr.debugging() checks
4205
4206 2003-03-11 André Pönitz <poenitz@gmx.net>
4207
4208         * factory.C: make it aware of InsetHFill
4209
4210 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4211
4212         * buffer.C (latexParagraphs): move function from here...
4213         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4214         args.
4215
4216 2003-03-10  Angus Leeming  <leeming@lyx.org>
4217
4218         * LyXAction.C (init): fix bug in poplating array with multiple entries
4219         with the same LFUN (spotted by JMarc).
4220
4221 2003-03-10  John Levon  <levon@movementarian.org>
4222
4223         * text.C:
4224         * text2.C: move getColumnNearX() near its
4225         only call site
4226
4227 2003-03-10  John Levon  <levon@movementarian.org>
4228
4229         * text.C: fix break before a minipage
4230
4231 2003-03-10  John Levon  <levon@movementarian.org>
4232
4233         * text.C: fix the last commit
4234
4235 2003-03-09  John Levon  <levon@movementarian.org>
4236
4237         * lyxtext.h:
4238         * text.C:
4239         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4240         bug 365 (don't break before insets unless needed). Don't
4241         return a value > last under any circumstances.
4242
4243 2003-03-09  Angus Leeming  <leeming@lyx.org>
4244
4245         * BufferView_pimpl.C (trackChanges, dispatch): call
4246         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4247
4248 2003-03-09  Angus Leeming  <leeming@lyx.org>
4249
4250         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4251         than Dialogs::showAboutlyx().
4252
4253 2003-03-09  Angus Leeming  <leeming@lyx.org>
4254
4255         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4256         than Dialogs::showTabularCreate().
4257
4258 2003-03-09  John Levon  <levon@movementarian.org>
4259
4260         * lyxtext.h:
4261         * text.C:
4262         * text2.C: 3rd arg to nextBreakPoint was always the same.
4263           Use references.
4264
4265 2003-03-08  John Levon  <levon@movementarian.org>
4266
4267         * lyxrow.C:
4268         * paragraph.C:
4269         * paragraph.h:
4270         * rowpainter.C:
4271         * text.C:
4272         * text2.C: Remove the "main" bit from the "main body"
4273           notion.
4274
4275 2003-03-08  John Levon  <levon@movementarian.org>
4276
4277         * text.C (leftMargin): The left margin of an empty
4278         manual label paragraph should not include the label width
4279         string length.
4280
4281         * text.C (prepareToPrint): don't attempt to measure hfills
4282         for empty manual label paragraphs - the answer should be 0
4283
4284 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4285
4286         * CutAndPaste.C: remove commented code and reindent.
4287
4288 2003-03-08  John Levon  <levon@movementarian.org>
4289
4290         * lyxfunc.h:
4291         * lyxfunc.C: move reloadBuffer()
4292
4293         * BufferView.h:
4294         * BufferView.C: to here
4295
4296         * lyxvc.C: add comment
4297
4298         * vc-backend.h:
4299         * vc-backend.C: call bv->reload() to avoid
4300           getStatus() check on MENURELOAD
4301
4302 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4303
4304         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4305         to an old format .dep file.
4306
4307 2003-03-07  Angus Leeming  <leeming@lyx.org>
4308
4309         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4310         when the LFUN_MOUSE_RELEASE should have been handled by
4311         inset->localDispatch.
4312
4313 2003-03-07  Angus Leeming  <leeming@lyx.org>
4314
4315         * BufferView_pimpl.C (dispatch):
4316         * LyXAction.C (init):
4317         * ToolbarDefaults.C (init):
4318         * commandtags.h:
4319         * lyxfunc.C (getStatus):
4320         remove LFUN_INSET_GRAPHICS.
4321
4322         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4323
4324 2003-03-07  Angus Leeming  <leeming@lyx.org>
4325
4326         * commandtags.h:
4327         * LyXAction.C (init):
4328         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4329
4330         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4331
4332         * commandtags.h:
4333         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4334
4335         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4336         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4337
4338 2003-03-07  Angus Leeming  <leeming@lyx.org>
4339
4340         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4341         remove "ert".
4342
4343 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4344
4345         * ParagraphList.C (front): new function
4346         (back): implement
4347
4348 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4349
4350         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4351         and top_row_offset_. removed var first_y.
4352         * text.C (top_y):
4353         * text2.C (LyXText, removeRow):
4354         * text3.C:
4355         * BufferView_pimpl.C:
4356         use these methods instead of using first_y
4357
4358 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4359
4360         * text2.C (pasteSelection): adjust for checkPastePossible
4361
4362         * CutAndPaste.C: remove Paragraph * buf and replace with
4363         ParagraphList paragraphs.
4364         (DeleteBuffer): delete
4365         (cutSelection): change the tc type to textclass_type
4366         (copySelection): change the tc type to textclass_type
4367         (copySelection): adjust for ParagraphList
4368         (pasteSelection): change the tc type to textclass_type
4369         (pasteSelection): adjust for Paragraphlist
4370         (nrOfParagraphs): simplify for ParagraphList
4371         (checkPastePossible): simplify for ParagraphList
4372         (checkPastePossible): remove unused arg
4373
4374         * ParagraphList.C (insert): handle the case where there are no
4375         paragraphs yet.
4376
4377         * CutAndPaste.h: make CutAndPaste a namespace.
4378
4379         * text3.C (dispatch): adjust
4380
4381         * text.C (breakParagraph): add a ParagraphList as arg
4382
4383         * paragraph_funcs.C (breakParagraph): change to take a
4384         BufferParams and a ParagraphList as args.
4385         (breakParagraphConservative): ditto
4386         (mergeParagraph): ditto
4387         (TeXDeeper): add a ParagraphList arg
4388         (TeXEnvironment): ditto
4389         (TeXOnePar): ditto
4390
4391         * buffer.C (readLyXformat2): adjust
4392         (insertStringAsLines): adjust
4393         (latexParagraphs): adjust
4394
4395         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4396         (cutSelection): adjust
4397         (pasteSelection): adjust
4398
4399         * BufferView_pimpl.C (insertInset): adjust
4400
4401 2003-03-05  Angus Leeming  <leeming@lyx.org>
4402
4403         * commandtags.h:
4404         * LyXAction.C (init):
4405         * BufferView_pimpl.C (dispatch):
4406         * lyxfunc.C (getStatus):
4407         remove LFUN_CHILD_INSERT.
4408
4409         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4410
4411 2003-03-05  Angus Leeming  <leeming@lyx.org>
4412
4413         * commandtags.h:
4414         * LyXAction.C (init):
4415         * src/factory.C (createInset):
4416         * lyxfunc.C (getStatus):
4417         * text3.C (dispatch):
4418         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4419
4420         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4421
4422 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4423
4424         * ParagraphList.C (insert): handle insert right before end()
4425         (erase): fix cases where it can be first or last paragraph.
4426
4427 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4428
4429         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4430         Paragraph::next and Paragraph::previous
4431         (TeXOnePar): ditto
4432
4433         * text.C (breakParagraph): adjust
4434
4435         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4436         BufferParams& as arg.
4437         (breakParagraph): use ParagraphList::insert
4438         (breakParagraphConservative): take a Buffer* instead of a
4439         BufferParams& as arg.
4440         (breakParagraphConservative): use ParagraphList::insert.
4441
4442         * buffer.C (insertStringAsLines): un-const it
4443         (insertStringAsLines): adjust
4444
4445         * ParagraphList.C (insert): new function
4446
4447         * CutAndPaste.C (pasteSelection): adjust
4448
4449         * text.C (backspace): adjust
4450
4451         * tabular.C (SetMultiColumn): adjust
4452
4453         * CutAndPaste.C (cutSelection): adjust
4454         (pasteSelection): adjust
4455
4456         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4457         Buffer const * as arg
4458
4459         * ParagraphList.C (erase): new function
4460         * paragraph_funcs.C (mergeParagraph): use it
4461         (mergeParagraph): make it take a Buffer* instead of a
4462         BufferParams* as arg
4463
4464         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4465         as arg
4466         (breakParagraphConservative): ditto
4467
4468         * paragraph.h: remove the breakParagraph friend
4469
4470         * paragraph.C (eraseIntern): new function
4471         (setChange): new function
4472
4473         * paragraph_funcs.C (mergeParagraph): make it take a
4474         ParagraphList::iterator instead of a Paragraph *, adjust
4475         accordingly.
4476
4477         * paragraph.h: move an #endif so that the change tracking stuff
4478         also works in the NO_NEXT case.
4479
4480 2003-03-04  Angus Leeming  <leeming@lyx.org>
4481
4482         * commandtags.h:
4483         * LyXAction.C: new LFUN_INSET_MODIFY.
4484
4485         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4486         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4487
4488 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4489
4490         * several files: ws changes only
4491
4492         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4493         (TeXEnvironment): ditto
4494         (TeXDeeper): ditto
4495
4496         * buffer.C (makeLaTeXFile): adjust
4497         (latexParagraphs): make it take ParagraphList::iterator as args
4498
4499 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4500
4501         * buffer.C (latexParagraphs): adjust
4502
4503         * paragraph.C (TeXOnePar): move function...
4504         (optArgInset): move function...
4505         (TeXEnvironment): move function...
4506         * paragraph_pimpl.C (TeXDeeper): move function...
4507         * paragraph_funcs.C: ...here
4508
4509         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4510
4511 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4512
4513         * buffer.C (readInset): remove compability code for old Figure and
4514         InsetInfo insets
4515
4516 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4517
4518         * buffer.C: ws changes
4519         (readInset):
4520
4521         * BufferView_pimpl.C: ditto
4522         * author.C: ditto
4523         * buffer.h: ditto
4524         * bufferlist.h: ditto
4525         * changes.h: ditto
4526         * lyxfunc.C: ditto
4527
4528 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4529
4530         * converter.[Ch]: split into itself +
4531         * graph.[Ch]
4532         * format.[Ch]
4533         * Makefile.am: += graph.[Ch] + format.[Ch]
4534         * MenuBackend.C
4535         * buffer.C
4536         * exporter.C
4537         * importer.C
4538         * lyx_main.C
4539         * lyxfunc.C
4540         * lyxrc.C: added #include "format.h"
4541
4542 2003-02-27  Angus Leeming  <leeming@lyx.org>
4543
4544         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4545           a label.
4546
4547         * factory.C (createInset): add "label" to the factory.
4548
4549         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4550           string and do no more.
4551
4552 2003-02-27  Angus Leeming  <leeming@lyx.org>
4553
4554         * commandtags.h:
4555         * LyXAction.C (init):
4556         * factory.C (createInset):
4557         * BufferView_pimpl.C (dispatch):
4558           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4559
4560         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4561
4562         * lyxfunc.C (dispatch):
4563         * text3.C (dispatch): pass name to params2string.
4564
4565 2003-02-26  Angus Leeming  <leeming@lyx.org>
4566
4567         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4568           blocks together.
4569           Rearrange the ~includes. Strip out the unnecessary ones.
4570
4571         * factory.C (createInset): reformat.
4572           create new insets for the various LFUN_XYZ_APPLY lfuns.
4573
4574 2003-02-26  John Levon  <levon@movementarian.org>
4575
4576         * lyxrow.h:
4577         * lyxrow.C: add isParStart,isParEnd helpers
4578
4579         * paragraph.h: make isInserted/DeletedText take refs
4580
4581         * paragraph_funcs.h:
4582         * paragraph_funcs.C: remove #if 0'd code
4583
4584         * lyxtext.h:
4585         * text3.C:
4586         * text2.C:
4587         * text.C: use lyxrow helpers above.
4588           Move draw and paint routines to RowPainter.
4589           Make several methods use refs not pointers.
4590           Make backgroundColor() const.
4591           Add markChangeInDraw(), isInInset().
4592           Merge changeRegionCase into changeCase.
4593           Make workWidth() shouldn't-happen code into an Assert.
4594
4595         * rowpainter.h:
4596         * rowpainter.C: new class for painting a row.
4597
4598         * vspace.h:
4599         * vspace.C: make inPixels take a ref
4600
4601 2003-02-26  Angus Leeming  <leeming@lyx.org>
4602
4603         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4604         LFUN_REF_APPLY.
4605
4606 2003-02-25  John Levon  <levon@movementarian.org>
4607
4608         * ispell.C: give the forked command a more accurate name
4609
4610 2003-02-22  John Levon  <levon@movementarian.org>
4611
4612         * toc.h:
4613         * toc.C: make TocItem store an id not a Paragraph *
4614           (bug #913)
4615
4616 2003-02-21  Angus Leeming  <leeming@lyx.org>
4617
4618         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4619           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4620           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4621           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4622           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4623           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4624
4625         * BufferView_pimpl.C (dispatch):
4626         * LyXAction.C (init):
4627         * factory.C (createInset):
4628         * lyxfunc.C (getStatus, dispatch):
4629         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4630
4631 2003-02-21  Angus Leeming  <leeming@lyx.org>
4632
4633         * BufferView_pimpl.C (MenuInsertLyXFile):
4634         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4635         * lyxfunc.C (menuNew, open, doImport):
4636           no longer pass a LyXView & to fileDlg.
4637
4638 2003-02-21  Angus Leeming  <leeming@lyx.org>
4639
4640         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4641         * LyXAction.C: change, BIBKEY to BIBITEM.
4642         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4643         Change InsetBibKey to InsetBibitem.
4644         Change BIBKEY_CODE to BIBITEM_CODE.
4645         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4646         * factory.C: replace insetbib.h with insetbibitem.h.
4647         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4648         * paragraph.C: replace insetbib.h with insetbibitem.h.
4649         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4650         Change bibkey() to bibitem().
4651         * text.C: remove insetbib.h.
4652         * text2.C: replace insetbib.h with insetbibitem.h.
4653         change bibkey() to bibitem().
4654         * text3.C: remove insetbib.h.
4655         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4656
4657 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4658
4659         * lyxrc.C (output): enclose user email in quotes (in case there are
4660         several words)
4661
4662 2003-02-18  John Levon  <levon@movementarian.org>
4663
4664         * buffer.h: add std::
4665
4666 2003-02-17  John Levon  <levon@movementarian.org>
4667
4668         * SpellBase.h:
4669         * ispell.h:
4670         * ispell.C:
4671         * pspell.h:
4672         * pspell.C: reworking. Especially in ispell, a large
4673           number of clean ups and bug fixes.
4674
4675         * lyxfunc.C: fix revert to behave sensibly
4676
4677 2003-02-17 André Pönitz <poenitz@gmx.net>
4678
4679         * LyXAction.C:
4680         * commandtags.h: new LFUN_INSERT_BIBKEY
4681
4682         * layout.h:
4683         * lyxlayout.C:
4684         * buffer.C:
4685         * factory.C:
4686         * text.C:
4687         * text2.C:
4688         * text3.C:
4689         * paragraph.[Ch]:
4690         * paragraph_func.C: remove special bibkey handling
4691
4692 2003-02-17  John Levon  <levon@movementarian.org>
4693
4694         * text.C (Delete): fix case where delete at the end of
4695           the very first paragraph would not merge the pars
4696
4697 2003-02-17  John Levon  <levon@movementarian.org>
4698
4699         * lyxrow.C: fix lastPrintablePos()
4700
4701 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4702
4703         * bufferparams.C (writeLaTeX): add a std:here
4704
4705         * buffer.C: and remove a using directive there
4706
4707 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4708
4709         * buffer.C (makeLaTeXFile): move the code that generates the
4710           preamble...
4711
4712         * bufferparams.C (writeLaTeX): ... in this new method
4713
4714         * LaTeXFeatures.C (getEncodingSet): make const
4715           (getLanguages): make const
4716
4717         * MenuBackend.C (binding): returns the binding associated to this
4718           action
4719           (add): sets the status of each item by calling getStatus. Adds
4720           some intelligence.
4721           (read): add support for OptSubMenu
4722           (expand): remove extra separator at the end of expanded menu
4723
4724 2003-02-15  John Levon  <levon@movementarian.org>
4725
4726         * BufferView.C:
4727         * BufferView_pimpl.C:
4728         * bufferlist.h:
4729         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4730           inset code that had no actual effect. Remove unneeded status
4731           code.
4732
4733 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4734
4735         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4736           in preamble
4737
4738 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4739
4740         * text.C (drawLengthMarker): also draw an arrow marker for
4741           symbolic lengths (medskip...)
4742
4743 2003-02-14  John Levon  <levon@movementarian.org>
4744
4745         * tabular.h:
4746         * tabular.C: better method names
4747
4748 2003-02-14  John Levon  <levon@movementarian.org>
4749
4750         * BufferView_pimpl.C:
4751         * bufferlist.C:
4752         * buffer.C:
4753         * converter.C:
4754         * lyx_cb.C:
4755         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4756           it's a more accurate name. Remove some pointless uses.
4757
4758 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4759
4760         * text2.C (LyXText): change order of initilizers to shut off
4761           warnings
4762
4763 2003-02-14  John Levon  <levon@movementarian.org>
4764
4765         * buffer.C: use ParIterator for getParFromID()
4766
4767         * paragraph.h:
4768         * paragraph.C:
4769         * paragraph_pimpl.h:
4770         * paragraph_pimpl.C: remove unused getParFromID()
4771
4772 2003-02-14  John Levon  <levon@movementarian.org>
4773
4774         * buffer.C: remove some very old #if 0'd parse code
4775
4776 2003-02-13  John Levon  <levon@movementarian.org>
4777
4778         * text.h:
4779         * text.C:
4780         * text2.C: move hfillExpansion(), numberOfSeparators(),
4781           rowLast(), rowLastPrintable(), numberofHfills(),
4782           numberOfLabelHfills() ...
4783
4784         * lyxrow.h:
4785         * lyxrow.C: ... to member functions here.
4786
4787         * paragraph.h:
4788         * paragraph.C:
4789         * lyxtext.h:
4790         * text.C: remove LyXText::beginningOfMainBody(), and call
4791           p->beginningOfMainBody() directly. Move the check for
4792           LABEL_MANUAL into the latter.
4793
4794         * text.h:
4795         * text.C:
4796         * text2.C:
4797         * vspace.C:
4798         * BufferView.h:
4799         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4800
4801         * text.h:
4802         * text.C:
4803         * text2.C:
4804         * text3.C:
4805         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4806           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4807
4808 2003-02-13  John Levon  <levon@movementarian.org>
4809
4810         * CutAndPaste.C: remove debug
4811
4812 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4813
4814         * paragraph.C (asString): remove two unused variables
4815
4816         * lyxtextclass.C (readTitleType):
4817           (Read):
4818           (LyXTextClass): handle new members titletype_ and titlename_
4819
4820         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4821
4822 2003-02-09  John Levon  <levon@movementarian.org>
4823
4824         * buffer.h:
4825         * buffer.C: replace hand-coded list with a map for the dep clean
4826
4827 2003-02-08  John Levon  <levon@movementarian.org>
4828
4829         * LaTeX.C: consolidate code into showRunMessage() helper
4830
4831 2003-02-08  John Levon  <levon@movementarian.org>
4832
4833         * lyxfind.C:
4834         * lyxtext.h:
4835         * text2.C:
4836         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4837           and pass the size in explicitly
4838
4839         * BufferView_pimpl.h:
4840         * BufferView_pimpl.C:
4841         * BufferView.h:
4842         * BufferView.C: add getCurrentChange()
4843
4844         * BufferView_pimpl.h:
4845         * BufferView_pimpl.C: handle change lfuns
4846
4847         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4848           for changes. Mark pasted paragraphs as new.
4849
4850         * support/lyxtime.h:
4851         * support/lyxtime.C:
4852         * DepTable.C: abstract time_t as lyx::time_type
4853
4854         * LColor.h:
4855         * LColor.C: add colours for new text, deleted text, changebars
4856
4857         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4858           package use "usenames" option.
4859
4860         * commandtags.h:
4861         * lyxfunc.C:
4862         * LyXAction.C: add change lfuns
4863
4864         * Makefile.am:
4865         * author.h:
4866         * author.C: author handling
4867
4868         * buffer.h:
4869         * buffer.C: add a per-buffer author list, with first entry as
4870           current author. Handle new .lyx tokens for change tracking. Output
4871           author list to .lyx file. Output dvipost stuff to .tex preamble.
4872           Bump lyx format to 222.
4873
4874         * bufferlist.h:
4875         * bufferlist.C: add setCurrentAuthor() to reset current author details
4876           in all buffers.
4877
4878         * bufferparams.h:
4879         * bufferparams.C: add param for tracking
4880
4881         * bufferview_funcs.C: output change info in minibuffer
4882
4883         * Makefile.am:
4884         * changes.h:
4885         * changes.C: add change-tracking structure
4886
4887         * debug.h:
4888         * debug.C: add CHANGES debug flag
4889
4890         * lyxfind.h:
4891         * lyxfind.C: add code for finding the next change piece
4892
4893         * lyxrc.h:
4894         * lyxrc.C: add user_name and user_email
4895
4896         * lyxrow.h:
4897         * lyxrow.C: add a metric for the top of the text line
4898
4899         * lyxtext.h:
4900         * text.C: implement accept/rejectChange()
4901
4902         * lyxtext.h:
4903         * text.C: paint changebars. Paint new/deleted text in the chosen
4904         colours. Strike through deleted text.
4905
4906         * paragraph.h:
4907         * paragraph.C:
4908         * paragraph_pimpl.h:
4909         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4910           in the current change to the insert functions. Rework erase to
4911           mark text as deleted, adding an eraseIntern() and a range-based
4912           erase(). Implement per-paragraph change lookup and
4913           accept/reject.
4914
4915         * paragraph_funcs.C: Fixup paste for change tracking.
4916
4917         * tabular.C: mark added row/columns as new.
4918
4919         * text.C: fix rowLast() to never return -1. Don't allow
4920           spellchecking of deleted text. Track transpose changes. Don't
4921           allow paragraph break or merge where appropriate.
4922
4923         * text2.C: leave cursor at end of selection after a cut.
4924
4925 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4926
4927         * text.C (getLengthMarkerHeight):
4928         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4929         visible on screen too.
4930
4931 2003-02-07  John Levon  <levon@movementarian.org>
4932
4933         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4934
4935 2003-02-05  Angus Leeming  <leeming@lyx.org>
4936
4937         * lyxserver.C (read_ready): revert my patch of 11 September last year
4938         as it sends PC cpu through the roof. Presumably this means that
4939         the lyxserver will no longer run on an Alpha...
4940
4941 2003-01-30  Angus Leeming  <leeming@lyx.org>
4942
4943         * factory.C (createInset): create an InsetCommandParam of type "index"
4944         and use it to 'do the right thing'.
4945
4946         * text2.C (getStringToIndex): ensure that cursor position is always
4947         reset to the reset_cursor position.
4948
4949 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4950
4951         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4952         disabled.
4953
4954 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4955
4956         * bufferview.C:
4957         * lyxcb.C:
4958         * lyxfunc.C: Output messages with identical spelling, punctuation,
4959         and spaces
4960
4961 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4962
4963         * MenuBackend.C (expandFormats): List only viewable export formats
4964         in "View" menu
4965
4966         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4967         message
4968
4969         * lyxfunc.C (getStatus): Make sure that formats other than
4970         "fax" can also be disabled
4971
4972 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4973
4974         * text3.C (dispatch): put the lfuns that insert insets in 3
4975         groups, and call doInsertInset with appropriate arguments.
4976         (doInsertInset): new function, that creates an inset and inserts
4977         it according to some boolean parameters.
4978
4979 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4980
4981         * buffer.C (readFile): remember to pass on 'par' when calling
4982         readFile recursively.
4983
4984 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4985
4986         * MenuBackend.C (expandFormats): add "..." to import formats.
4987
4988 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4989
4990         * paragraph.C (asString): Remove XForms RTL hacks.
4991
4992 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4993         * buffer.C: fix typo
4994
4995 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * Makefile.am (LIBS): delete var
4998         (lyx_LDADD): add @LIBS@ here instead.
4999
5000 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5001
5002         * Clarify the meaning of "wheel mouse jump"
5003
5004 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5005
5006         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5007         tabular in a float
5008
5009 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5010
5011         * importer.C (Loaders): do not preallocate 3 elements in the
5012         vector, since one ends up with 6 elements otherwise
5013
5014 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5015
5016         * DepTable.C (write): write the file name as last element of the
5017         .dep file (because it may contain spaces)
5018         (read): read info in the right order
5019
5020 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5021
5022         * paragraph_pimpl.C (simpleTeXBlanks):
5023         (simpleTeXSpecialChars):
5024         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5025
5026         * tabular.C (latex): add some missing case statements. Reindent.
5027
5028         * MenuBackend.C (expandToc): remove unused variable.
5029
5030 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5031
5032         * LColor.C:
5033         * LaTeX.C:
5034         * LyXAction.C:
5035         * MenuBackend.C:
5036         * buffer.C:
5037         * exporter.C:
5038         * lyxfunc.C:
5039         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5040         and the like.
5041
5042 2003-01-05  John Levon  <levon@movementarian.org>
5043
5044         * BufferView.h:
5045         * BufferView.C: add getEncoding()
5046
5047         * kbsequence.h:
5048         * kbsequence.C: do not store last keypress
5049
5050         * lyxfunc.h:
5051         * lyxfunc.C: store last keypress here instead. Pass encoding
5052           to getISOEncoded()
5053
5054 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5055
5056         * lyx_main.C (init): remove annoying error message when following
5057         symbolic links (bug #780)
5058
5059 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5060
5061         * text.C (insertChar):
5062         * lyxrc.C (getDescription): remove extra spaces
5063
5064 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5065
5066         * lyxrc.C (getDescription): remove extra spaces
5067
5068 2002-12-20  John Levon  <levon@movementarian.org>
5069
5070         * text3.C: hack fix for page up/down across tall rows
5071
5072 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5073
5074         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5075         not been invoked
5076
5077 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5078
5079         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5080         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5081         thesaurus is not compiled in
5082
5083 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5084
5085         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5086
5087 2002-12-16  Angus Leeming  <leeming@lyx.org>
5088
5089         * lyxrc.[Ch]:
5090         * lyx_main.C (init): remove override_x_deadkeys stuff.
5091
5092 2002-12-12  John Levon  <levon@movementarian.org>
5093
5094         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5095           insert. Only remove shift modifier under strict
5096           circumstances.
5097
5098 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5099
5100         * MenuBackend.C (expandToc): fix crash.
5101
5102 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5103
5104         * MenuBackend.C (expandToc): gettext on float names.
5105
5106 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5107
5108         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5109         implement bool empty() [bug 490]
5110
5111 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5112
5113         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5114
5115 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5116
5117         * several files: ws changes
5118
5119 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5120
5121         * text2.C (setCounter): clean up a bit, use boost.format.
5122         (updateCounters): initialize par upon declaration.
5123
5124         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5125         if the layout exists. We do not just store the layout any more.
5126         (SwitchLayoutsBetweenClasses): use boost.format
5127
5128 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5129
5130         * converter.C (convert): if from and to files are the same, use a
5131         temporary files as intermediary
5132
5133 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5134
5135         * commandtags.h:
5136         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5137
5138 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5139
5140         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5141
5142 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * tabular.C (asciiPrintCell): use string(size, char) instead of
5145         explicit loop.
5146
5147         * sgml.C (openTag): fix order of arguments to string constructor
5148         (closeTag): ditto
5149
5150         * lyxfunc.C (dispatch): use boost.format
5151
5152         * lots of files: change "c" -> 'c'
5153
5154 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5155
5156         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5157
5158 2002-11-25  Angus Leeming  <leeming@lyx.org>
5159
5160         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5161
5162         * lyx_main.C (init): compile fix.
5163
5164 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * lyx_cb.C (start): boost.formatify
5167         do not include <iostream>
5168
5169         * lengthcommon.C: ws only
5170
5171         * boost-inst.C,BoostFormat.h: add more explict instantations
5172
5173 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * lots of files: handle USE_BOOST_FORMAT
5176
5177 2002-11-21  John Levon  <levon@movementarian.org>
5178
5179         * pspell.C: fix compile
5180
5181 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5182
5183         * lyxfunc.C (dispatch): use boost::format
5184         (open): ditto
5185         (doImport): ditto
5186
5187         * lyxfont.C (stateText): use boost::format
5188
5189         * lyx_main.C (LyX): use boost::format
5190         (init): ditto
5191         (queryUserLyXDir): ditto
5192         (readRcFile): ditto
5193         (parse_dbg): ditto
5194         (typedef boost::function): use the recommened syntax.
5195
5196         * importer.C (Import): use boost::format
5197
5198         * debug.C (showLevel): use boost::format
5199
5200         * converter.C (view): use boost::format
5201         (convert): ditto
5202         (move): ditto
5203         (scanLog): ditto
5204
5205         * bufferview_funcs.C (currentState): use boost::format
5206
5207         * bufferlist.C (emergencyWrite): use boost::format
5208
5209         * buffer.C (readLyXformat2): use boost::format
5210         (parseSingleLyXformat2Token): ditto
5211
5212         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5213
5214         * LaTeX.C (run): use boost::format
5215
5216         * Chktex.C (scanLogFile): use boost::format
5217
5218         * BufferView_pimpl.C (savePosition): use boost::format
5219         (restorePosition): ditto
5220         (MenuInsertLyXFile): ditto
5221
5222         * BoostFormat.h: help file for explicit instation.
5223
5224 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5225
5226         * tabular.C (latex): Support for block alignment in fixed width
5227         columns.
5228
5229 2002-11-17  John Levon  <levon@movementarian.org>
5230
5231         * BufferView_pimpl.C:
5232         * lyx_cb.C:
5233         * lyxfunc.C: split filedialog into open/save
5234
5235 2002-11-08  Juergen Vigna  <jug@sad.it>
5236
5237         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5238         by my last patch (hopefully).
5239
5240 2002-11-08  John Levon  <levon@movementarian.org>
5241
5242         * iterators.h:
5243         * iterators.C:
5244         * buffer.h:
5245         * buffer.C:
5246         * paragraph.h:
5247         * paragraph.C:
5248         * toc.h:
5249         * toc.C: ParConstIterator, and use it (from Lars)
5250
5251 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5252
5253         * lyxtextclass.[Ch]: revise and add doxygen comments
5254
5255 2002-11-07  John Levon  <levon@movementarian.org>
5256
5257         * text.C: fix progress value for spellchecker
5258
5259         * toc.C: fix navigate menu for insetwrap inside minipage
5260
5261         * paragraph_funcs.C: added FIXME for suspect code
5262
5263 2002-11-07  John Levon  <levon@movementarian.org>
5264
5265         * BufferView_pimpl.C: fix redrawing of insets
5266           on buffer switch
5267
5268 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5269
5270         * text2.C (updateCounters): fix bug 668
5271
5272 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5273
5274         * text3.C (dispatch): Do not make the buffer dirty when moving the
5275         cursor.
5276
5277 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5278
5279         * vc-backend.C: STRCONV
5280         (scanMaster): ditto
5281
5282         * text2.C (setCounter): STRCONV
5283
5284         * paragraph.C (asString): STRCONV
5285
5286         * lyxlength.C (asString): STRCONV
5287         (asLatexString): ditto
5288
5289         * lyxgluelength.C (asString): STRCONV
5290         (asLatexString): ditto
5291
5292         * lyxfunc.C (dispatch): STRCONV
5293         (open): ditto
5294
5295         * lyxfont.C (stateText): STRCONV
5296
5297         * importer.C (Import): STRCONV
5298
5299         * counters.C (labelItem): STRCONV
5300         (numberLabel): ditto
5301         (numberLabel): remove unused ostringstream o
5302
5303         * chset.C: STRCONV
5304         (loadFile): ditto
5305
5306         * bufferview_funcs.C (currentState): STRCONV
5307
5308         * buffer.C (readFile): STRCONV
5309         (asciiParagraph): ditto
5310         (makeLaTeXFile): ditto
5311
5312         * Spacing.C (writeEnvirBegin): STRCONV
5313
5314         * LaTeXFeatures.C (getLanguages): STRCONV
5315         (getPackages): ditto
5316         (getMacros): ditto
5317         (getBabelOptions): ditto
5318         (getTClassPreamble): ditto
5319         (getLyXSGMLEntities): ditto
5320         (getIncludedFiles): ditto
5321
5322         * LaTeX.C: STRCONV
5323         (run): ditto
5324         (scanAuxFile): ditto
5325         (deplog): ditto
5326
5327         * LString.h: add the STRCONV macros
5328
5329         * BufferView_pimpl.C (savePosition): STRCONV
5330         (restorePosition): ditto
5331         (MenuInsertLyXFile): ditto
5332
5333         * vc-backend.C (scanMaster): change from submatch[...] to
5334         submatch.str(...)
5335
5336         * funcrequest.C: include config.h
5337
5338         * factory.C: include config.h
5339
5340         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5341
5342         * box.C: include config.h
5343
5344         * LaTeX.C (scanAuxFile): change from submatch[...] to
5345         submatch.str(...)
5346         (deplog): ditto
5347
5348 2002-10-25  Angus Leeming  <leeming@lyx.org>
5349
5350         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5351
5352         * ispell.[Ch] (setError): new method.
5353         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5354         Use setError() insetead of goto END.
5355
5356         * lyx_cb.C (AutoSave): move out child process into new class
5357         AutoSaveBuffer.
5358
5359 2002-10-30  John Levon  <levon@movementarian.org>
5360
5361         * text3.C: make start appendix undoable
5362
5363 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5364
5365         * lyxlength.C (inPixels): Fix returned value.
5366
5367         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5368         environment.
5369
5370 2002-10-24  Angus Leeming  <leeming@lyx.org>
5371
5372         * lyxgluelength.h: no need to forward declare BufferParams
5373         or BufferView, so don't.
5374
5375 2002-10-21  John Levon  <levon@movementarian.org>
5376
5377         * BufferView.C: menuUndo ->undo, redo
5378
5379         * BufferView.h: document, remove dead, make some methods private
5380
5381         * paragraph_funcs.h:
5382         * paragraph_funcs.C:
5383         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5384
5385         * buffer.h:
5386         * buffer.C:
5387         * sgml.h:
5388         * sgml.C: move sgml open/close tag into sgml.C
5389
5390         * bufferview_funcs.h: unused prototype
5391
5392         * lyxfunc.h:
5393         * lyxfunc.C: remove unused
5394
5395         * lyxtext.h:
5396         * text.C: remove unused
5397
5398 2002-10-21  John Levon  <levon@movementarian.org>
5399
5400         * BufferView.h:
5401         * BufferView.C:
5402         * BufferView_pimpl.h:
5403         * BufferView_pimpl.C: fix mouse wheel handling based on
5404           patch from Darren Freeman
5405
5406 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5407
5408         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5409
5410 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5411
5412         * lyxlength.C (inPixels): Fix hanfling of negative length.
5413         Fix LyXLength::MU case.
5414
5415 2002-10-16  John Levon  <levon@movementarian.org>
5416
5417         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5418
5419 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5420
5421         * converter.C (view): add support for $$i (file name) and $$p
5422         (file path) for the viewer command. If $$i is not specified, then
5423         it is appended to the command (for compatibility with old syntax)
5424
5425 2002-10-14  Juergen Vigna  <jug@sad.it>
5426
5427         * undo_funcs.C (textHandleUndo): alter the order in which the
5428         new undopar is added to the LyXText, as we have to set first
5429         the right prev/next and then add it as otherwise the rebuild of
5430         LyXText is not correct. Also reset the cursor to the right paragraph,
5431         with this IMO we could remove the hack in "redoParagraphs()".
5432
5433 2002-10-09  Angus Leeming  <leeming@lyx.org>
5434
5435         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5436         to turn off an optimisation if a new inset is to be inserted.
5437
5438 2002-10-11 André Pönitz <poenitz@gmx.net>
5439
5440         * lyxtext.h: make some functions public to allow access
5441         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5442
5443 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5444
5445         * text3.C (dispatch): when changing layout, avoid an infinite loop
5446         [bug #652]
5447
5448 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5449
5450         * lyxrc.C (read): treat a viewer or converter command of "none" as
5451         if it were empty.
5452
5453         * MenuBackend.C (expandFormats): for an update, also allow the
5454         formats that are not viewable
5455
5456         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5457         script if it is newer than the lyxrc.defaults in user directory
5458
5459 2002-10-07 André Pönitz <poenitz@gmx.net>
5460
5461         * text.C: Vitaly Lipatov's small i18n fix
5462
5463 2002-09-25  Angus Leeming  <leeming@lyx.org>
5464
5465         * ispell.h: doxygen fix.
5466
5467 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5468
5469         * buffer.h (readFile): Add a new argument to the method, to allow
5470         reading of old-format templates.
5471
5472 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5473
5474         * toc.C (getTocList): Get TOC from InsetWrap.
5475
5476 2002-09-16  John Levon  <levon@movementarian.org>
5477
5478         * lyxfunc.C: check tabular for cut/copy too
5479
5480 2002-09-12  John Levon  <levon@movementarian.org>
5481
5482         * LyXAction.C: tidy
5483
5484         * factory.h:
5485         * factory.C: add header
5486
5487         * paragraph_funcs.h:
5488         * paragraph_funcs.C: cleanup
5489
5490 2002-09-11  John Levon  <levon@movementarian.org>
5491
5492         * PrinterParams.h: odd/even default to true
5493
5494 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5495
5496         * PrinterParams.h: update printer parameters for new xforms dialog
5497
5498 2002-09-11  Angus Leeming  <leeming@lyx.org>
5499
5500         * lyxserver.C (read_ready): re-write to make it more transparent
5501         and to make it work in coherent fashion under Tru64 Unix.
5502
5503 2002-09-11  André Pönitz <poenitz@gmx.net>
5504
5505         * commandtags.h:
5506         * LyXAction.C:
5507         * text3.C: implement LFUN_WORDSEL
5508
5509 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5510
5511         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5512         make floatlist_ a boost::shared_ptr<FloatList>
5513
5514         * lyxtextclass.C: include FloatList.h
5515         (LyXTextClass): initialize floatlist_
5516         (TextClassTags): add TC_NOFLOAT
5517         (Read): match "nofloat" to TC_NOFLOAT and use it.
5518         (readFloat): modify call to floatlist_
5519         (floats): ditto
5520         (floats): ditto
5521
5522         * FloatList.[Ch] (FloatList): remove commented out float
5523         initialization.
5524         (erase): new function
5525
5526 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5527
5528         * MenuBackend.C (expandToc): fix crash when there is no document
5529         open
5530
5531 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5532
5533         * many files: Add insetwrap.
5534
5535 2002-09-09  John Levon  <levon@movementarian.org>
5536
5537         * text2.C: remove confusing and awkward depth wraparound
5538
5539 2002-09-09  John Levon  <levon@movementarian.org>
5540
5541         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5542
5543         * buffer.h:
5544         * buffer.C: remove getIncludeonlyList()
5545
5546         * paragraph.C:
5547         * lyxfunc.C: remove headers
5548
5549 2002-09-09  Juergen Vigna  <jug@sad.it>
5550
5551         * text.C (getColumnNearX): fix form Michael this is most
5552         probably a cut&paste bug.
5553
5554 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5555
5556         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5557
5558         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5559         references, ws changes.
5560
5561         * text2.C (init): update counters after init
5562         (insertParagraph): no need to set counter on idividual paragraphs.
5563         (setCounter): access the counters object in the textclass object
5564         on in the buffer object.
5565         (updateCounters): ditto
5566
5567         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5568         shared_ptr<Counters> to avoid loading counters.h in all
5569         compilation units.
5570         (LyXTextClass): initialize ctrs_
5571         (TextClassTags): add TC_COUNTER, and ...
5572         (Read): use it here.
5573         (CounterTags): new tags
5574         (readCounter): new function
5575         (counters): new funtion
5576         (defaultLayoutName): return a const reference
5577
5578         * counters.C (Counters): remove contructor
5579         (newCounter): remove a couple of unneeded statements.
5580         (newCounter): simplify a bit.
5581         (numberLabel): some small formatting changes.
5582
5583         * buffer.[Ch]: remove all traces of counters, move the Counters
5584         object to the LyXTextClass.
5585
5586 2002-09-06  Alain Castera  <castera@in2p3.fr>
5587
5588         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5589         package to set the horizontal alignment on fixed width columns.
5590
5591         * lyx_sty.C:
5592         * lyx_sty.h: added tabularnewline macro def.
5593
5594         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5595
5596 2002-09-06  John Levon  <levon@movementarian.org>
5597
5598         * LyXAction.C: tooltips for sub/superscript
5599
5600         * MenuBackend.C: a bit more verbose
5601
5602         * lyxfunc.C: tiny clean
5603
5604         * undo_funcs.C: document undo_frozen
5605
5606 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5607
5608         * counters.C (Counters): add missing algorithm counter.
5609
5610         * text2.C (setCounter): lookup the counter with layouts latexname
5611         instead of by section number.
5612         (setCounter): use a hackish way to lookup the correct enum
5613         counter.
5614         a float name->type change
5615         reset enum couners with counter name directly instead of depth value.
5616
5617         * counters.C (Counters): remove the push_backs, change to use the
5618         float type not the float name.
5619         (labelItem): remove unused string, float name->type change
5620
5621         * counters.h: don't include vector, loose the enums and sects vectors
5622
5623 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5624
5625         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5626         (Read): add float->TC_FLOAT to textclassTags
5627         (Read): and handle it in the switch
5628         (readFloat): new function
5629
5630         * FloatList.C (FloatList): comment out the hardcoded float
5631         definitions.
5632
5633         * lyxlayout.h: ws change.
5634
5635 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5636
5637         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5638
5639 2002-09-03  Angus Leeming  <leeming@lyx.org>
5640
5641         * BufferView_pimpl.h: qualified name is not allowed in member
5642         declaration: WorkArea & Pimpl::workarea() const;
5643
5644         * factory.C: added using std::endl directive.
5645
5646         * text3.C: added using std::find and std::vector directives.
5647
5648 2002-08-29  André Pönitz <poenitz@gmx.net>
5649
5650         * lyxtext.h:
5651         * text2.C: remove unused member number_of_rows
5652
5653         * Makefile.am:
5654         * BufferView2.C: remove file, move contents to...
5655         * BufferView.C: ... here
5656
5657         * BufferView_pimpl.C:
5658         * factory.C: move more inset creation to factory
5659
5660         * vspace.C: avoid direct usage of LyXText, ws changes
5661
5662         * BufferView.[Ch]:
5663                 don't provide direct access to WorkArea, use two simple
5664                 acessors haveSelction() and workHeight() instead
5665
5666
5667 2002-08-29  John Levon  <levon@movementarian.org>
5668
5669         * BufferView_pimpl.C (dispatch): do not continue when
5670           no buffer
5671
5672 2002-08-28  André Pönitz <poenitz@gmx.net>
5673
5674         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5675
5676         * BufferView.h:
5677         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5678
5679 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5680
5681         * buffer.C: increment LYX_FORMAT to 221
5682
5683         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5684         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5685
5686         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5687
5688         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5689
5690 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5691
5692         * factory.C (createInset): use LyXTextClass::floats
5693
5694         * MenuBackend.C (expandFloatListInsert):
5695         (expandFloatInsert):
5696         (expandToc):
5697
5698         * text2.C (setCounter):
5699
5700         * LaTeXFeatures.C (useFloat):
5701         (getFloatDefinitions):
5702
5703         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5704
5705         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5706         floatlist_, with accessor floats().
5707
5708         * FloatList.h: remove global FloatList
5709
5710 2002-08-26  André Pönitz <poenitz@gmx.net>
5711
5712         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5713
5714         * BufferView.h:
5715         * BufferView2.C:
5716         * BufferView_pimpl.C:
5717         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5718
5719 2002-08-25  John Levon  <levon@movementarian.org>
5720
5721         * LyXAction.C: fix margin note description
5722
5723 2002-08-24  John Levon  <levon@movementarian.org>
5724
5725         * buffer.C:
5726         * bufferlist.C:
5727         * bufferview_funcs.C:
5728         * lyxfont.C:
5729         * undo_funcs.C: cleanups
5730
5731         * lyxfunc.C: disable CUT/COPY when no selection
5732
5733 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5734
5735         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5736         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5737
5738         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5739         Add backward compatibility to "mono", "gray" and "no".
5740
5741 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5742
5743         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5744         (and file_format >= 200).
5745
5746 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5747
5748         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5749
5750 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5751
5752         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5753
5754 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5755
5756         * BufferView_pimpl.C:
5757         * LyXAction.C:
5758         * buffer.C:
5759         * commandtags.h:
5760         * lyxfunc.C:
5761         * paragraph.[Ch]:
5762         * text2.C:
5763         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5764         inset and code to make it  work with the paragraph code. The inset
5765         can be anywhere in the paragraph, but will only do the expected
5766         thing in LaTeX if the layout file contains the parameter line
5767                         OptionalArgs    1
5768         (or more generally, a nonzero value) for that layout.
5769
5770 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5771
5772         * paragraph.h: remove the declaration of undefined counters class
5773         function.
5774
5775 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5776
5777         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5778         Dr. Richard Hawkins.
5779
5780 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5781
5782         * paragraph_funcs.h: remove some unneeded includes
5783
5784         * text.C (backspace): pasteParagraph now in global scipe
5785
5786         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5787         (pasteSelection): ditto
5788
5789         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5790         * paragraph_funcs.C (pasteParagraph): ... here
5791
5792 2002-08-20  André Pönitz <poenitz@gmx.net>
5793
5794         * commandtags.h: new LFUNs for swapping/copying table row/colums
5795
5796         * LyXAction.C:
5797         * lyxfunc.C: support for new lfuns
5798
5799 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5800
5801         * tabular.C:
5802         * buffer.[Ch]: remove NO_COMPABILITY stuff
5803
5804 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5805
5806         * boost.C (throw_exception): new file, with helper function for
5807         boost compiled without exceptions.
5808
5809         * paragraph.h:
5810         * lyxlength.C:
5811         * buffer.C:
5812         * ParameterStruct.h:
5813         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5814
5815         * bufferlist.C (emergencyWriteAll): use boost bind
5816
5817         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5818
5819         * text.C: include paragraph_funcs.h
5820         (breakParagraph): breakParagraph is now in global scope
5821
5822         * paragraph_funcs.[Ch]: new files
5823
5824         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5825         global scope
5826
5827         * buffer.C: include paragraph_funcs.h
5828         (insertStringAsLines): breakParagraph is now in global scope
5829
5830         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5831         paragraph_funcs.C
5832
5833         * CutAndPaste.C: include paragraph_funcs.h
5834         (cutSelection): breakParagraphConservative is now in global scope
5835         (pasteSelection): ditto
5836
5837         * buffer.h: declare oprator== and operator!= for
5838         Buffer::inset_iterator
5839
5840         * bufferlist.C (emergencyWrite): don't use fmt(...)
5841
5842         * text3.C: add using std::endl
5843
5844         * BufferView.C (moveCursorUpdate): remove default arg
5845
5846 2002-08-20  André Pönitz <poenitz@gmx.net>
5847
5848         * buffer.[Ch]: move inline functions to .C
5849
5850         * BufferView2.C:
5851         * BufferView_pimpl.C:
5852         * text.C:
5853         * buffer.[Ch]: use improved inset_iterator
5854
5855         * buffer.C:
5856         * paragraph.[Ch]: write one paragraph at a time
5857
5858 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5859
5860         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5861         style if style is not specified.
5862
5863 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5864
5865         * text2.C (setCounter): when searching for right label for a
5866         caption, make sure to recurse to parent insets (so that a caption
5867         in a minipage in a figure float works) (bug #568)
5868
5869 2002-08-20  André Pönitz <poenitz@gmx.net>
5870
5871         * text3.C: new file for LyXText::dispatch() and helpers
5872
5873         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5874
5875         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5876
5877 2002-08-19  André Pönitz <poenitz@gmx.net>
5878
5879         * lyxtext.h:
5880         * text.C: new LyXText::dispatch()
5881
5882         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5883
5884 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5885
5886         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5887
5888         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5889         Hebrew text.
5890
5891 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5892
5893         * Makefile.am: use $(variables) instead of @substitutions@
5894
5895 2002-08-15  André Pönitz <poenitz@gmx.net>
5896
5897         * lyxfunc.C:
5898         * BufferView_pimpl.C: streamlining mathed <-> outer world
5899         interaction
5900
5901         * commandtags.h:
5902         * LyXAction.C: remove unused LFUN_MATH
5903
5904 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5905
5906         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5907
5908 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5909
5910         * paragraph.C (Paragraph): reformat a bit
5911         (cutIntoMinibuffer): use builtin InsetList function instad of
5912         doing it manually.
5913         (getInset): ditto
5914
5915         * buffer.C: include boost/bind.hpp, add using std::for_each
5916         (writeFileAscii): use ParagraphList iterators
5917         (validate): use for_each for validate traversal of paragraphs
5918         (getBibkeyList): use ParagraphList iterators
5919         (resizeInsets): use for_each to resizeInsetsLyXText for all
5920         paragraphs.
5921         (getParFromID): use ParagraphList iterators
5922
5923         * BufferView2.C (lockInset): use paragraph list and iterators
5924
5925 2002-08-14  John Levon  <levon@movementarian.org>
5926
5927         * lyxserver.C: remove spurious xforms include
5928
5929 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5930
5931         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5932
5933 2002-08-13  André Pönitz <poenitz@gmx.net>
5934
5935         * LyXAction.[Ch]:
5936         * lyxfunc.C: further cleaning
5937
5938 2002-08-13  André Pönitz <poenitz@gmx.net>
5939
5940         * funcrequest.h: new constructor
5941
5942         * funcrequest.C: move stuff here from .h
5943
5944         * Makefile.am:
5945         * BufferView_pimpl.C:
5946         * LyXAction.C:
5947         * toc.C:
5948         * lyxfunc.C: subsequent changes
5949
5950         * lyxfunc.h: new view() member function
5951
5952         * lyxfunc.C: subsequent changes
5953
5954 2002-08-13  Angus Leeming  <leeming@lyx.org>
5955
5956         * BufferView2.C:
5957         * BufferView_pimpl.C:
5958         * buffer.C:
5959         * converter.C:
5960         * importer.C:
5961         * lyxfunc.C:
5962         * lyxvc.C:
5963         * toc.C:
5964         * vc-backend.C:
5965         changes due to the changed LyXView interface that now returns references
5966         to member variables not pointers.
5967
5968 2002-08-13  Angus Leeming  <leeming@lyx.org>
5969
5970         * WordLangTuple (word, lang_code): return references to strings,
5971         not strings.
5972
5973         * BufferView.h:
5974         * SpellBase.h:
5975         * lyxtext.h: forward-declare WordLangTuple.
5976
5977         * BufferView2.C:
5978         * ispell.C:
5979         * pspell.C:
5980         * text.C: #include "WordLangTuple.h".
5981
5982         * lyxtext.h:
5983         * text.C: (selectNextWordToSpellcheck): constify return type.
5984
5985 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5986
5987         * buffer.C:
5988         * buffer.h:
5989         * lyxtext.h:
5990         * paragraph.C:
5991         * paragraph_pimpl.h:
5992         * text.C:
5993         * text2.C:
5994         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5995         suggested by Angus.
5996         Made updateCounter always count from start of buffer, and removed
5997         second argument (par).
5998         Reverted floats number display to '#'. Perhaps I'll try again when the
5999         code base is sanitized a bit.
6000
6001 2002-08-12  Angus Leeming  <leeming@lyx.org>
6002
6003         * buffer.[Ch] (getLabelList): constify.
6004
6005 2002-08-07  André Pönitz <poenitz@gmx.net>
6006
6007         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6008
6009         * funcrequest.h: extension to keep mouse (x,y) position
6010
6011 2002-08-12  Juergen Vigna  <jug@sad.it>
6012
6013         * BufferView2.C (insertErrors): forbid undo when inserting error
6014         insets.
6015
6016         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6017
6018 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6019
6020         * ParagraphList.[Ch]: new files
6021
6022         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6023
6024         * BufferView2.C (lockInset): ParagraphList changes
6025         * toc.C: ditto
6026         * text2.C: ditto
6027         * bufferlist.C: ditto
6028         * buffer.h: ditto
6029         * buffer.C: ditto
6030
6031 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6032
6033         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6034         unused class variable counter_,
6035
6036         * paragraph.[Ch] (getFirstCounter): delete unused function
6037
6038         * counters.C: include LAssert.h
6039         (reset): add a new function with no arg, change other version to
6040         not have def. arg and to not allow empty arg.
6041
6042         * text2.C (setCounter): remove empty arg from call to Counters::reset
6043
6044 2002-08-11  John Levon  <levon@movementarian.org>
6045
6046         * Makefile.am: add WordLangTuple.h
6047
6048 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6049
6050         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6051         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6052
6053         * insets/insettext.C: InsetList changes
6054
6055         * graphics/GraphicsSupport.C (operator()): InsetList changes
6056
6057         * toc.C (getTocList): InsetList changes
6058
6059         * paragraph_pimpl.[Ch]: InsetList changes
6060
6061         * paragraph.[Ch]: InsetList changes
6062
6063         * buffer.C (inset_iterator): InsetList changes
6064         (setParagraph): ditto
6065         * buffer.h (inset_iterator): ditto
6066         * iterators.C (operator++): ditto
6067         * iterators.h: ditto
6068
6069         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6070
6071         * InsetList.[Ch]: new files, most InsetList handling moved out of
6072         paragraph.C.
6073
6074         * BufferView2.C (removeAutoInsets): InsetList changes
6075         (lockInset): ditto
6076         (ChangeInsets): ditto
6077
6078 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6079
6080         * paragraph_pimpl.h (empty): new function
6081
6082         * paragraph.[Ch] (empty): new function
6083
6084         * other files: use the new Paragraph::empty function
6085
6086 2002-08-09  John Levon  <levon@movementarian.org>
6087
6088         * lyxtext.h: remove unused refresh_height
6089
6090 2002-08-09  John Levon  <levon@movementarian.org>
6091
6092         * Makefile.am:
6093         * sgml.h:
6094         * sgml.C:
6095         * buffer.C:
6096         * paragraph.h:
6097         * paragraph.C: move sgml char escaping out of paragraph
6098
6099         * paragraph.h:
6100         * paragraph.C: remove id setter
6101
6102         * buffer.C:
6103         * paragraph.C:
6104         * paragraph_pimpl.C: remove dead tex_code_break_column
6105
6106         * bufferview_funcs.C: small cleanup
6107
6108         * lyxfunc.C: remove dead proto
6109
6110         * lyxtext.h: make some stuff private. Remove some dead stuff.
6111
6112         * lyxgluelength.C: make as[LyX]String() readable
6113
6114 2002-08-08  John Levon  <levon@movementarian.org>
6115
6116         * LyXAction.h:
6117         * LyXAction.C:
6118         * MenuBackend.C:
6119         * ToolbarDefaults.C:
6120         * lyxfunc.C:
6121         * lyxrc.C:
6122         * toc.C: lyxaction cleanup
6123
6124 2002-08-08  John Levon  <levon@movementarian.org>
6125
6126         * BufferView2.C: small cleanup
6127
6128         * lyxfind.h:
6129         * lyxfind.C: move unnecessary header into the .C
6130
6131 2002-08-08  John Levon  <levon@movementarian.org>
6132
6133         * funcrequest.h: just tedious nonsense
6134
6135         * lyx_main.h:
6136         * lyx_main.C: cleanups
6137
6138         * buffer.C:
6139         * vspace.C: remove dead header lyx_main.h
6140
6141 2002-08-07  Angus Leeming  <leeming@lyx.org>
6142
6143         * Paragraph.[Ch]:
6144         * paragraph_pimpl.h:
6145         Forward declare class Counters in paragraph.h by moving the ctrs member
6146         variable into Paragraph::Pimpl.
6147         (counters): new method, returning a reference to pimpl_->ctrs.
6148
6149         * text2.C: ensuing changes.
6150
6151 2002-08-07  John Levon  <levon@movementarian.org>
6152
6153         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6154
6155         * BufferView_pimpl.C: announce X selection on double/triple
6156           click
6157
6158         * lyx_main.C: use correct bool in batch dispatch
6159
6160         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6161
6162 2002-08-07  André Pönitz <poenitz@gmx.net>
6163
6164         * funcrequest.h: new class to wrap a kb_action and its argument
6165
6166         * BufferView.[Ch]:
6167         * BufferView_pimpl[Ch]:
6168         * LaTeX.C:
6169         * LyXAction.[Ch]:
6170         * lyxfunc.[Ch]:
6171         * lyxrc.C: subsequent changes
6172
6173
6174 2002-08-07  John Levon  <levon@movementarian.org>
6175
6176         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6177           document options change.
6178
6179 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6180
6181         * counters.[Ch]
6182         * text2.C
6183         * paragraph.[Ch]
6184         * makefile.am: move counters functionality over from
6185         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6186
6187 2002-08-06  John Levon  <levon@movementarian.org>
6188
6189         * WordLangTuple.h: new file for word + language code tuple
6190
6191         * SpellBase.h:
6192         * pspell.h:
6193         * pspell.C:
6194         * ispell.h:
6195         * ispell.C:
6196         * lyxtext.h:
6197         * text.C:
6198         * text2.C:
6199         * BufferView.h:
6200         * BufferView2.C: use WordLangTuple
6201
6202         * layout.h:
6203         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6204
6205 2002-08-06  John Levon  <levon@movementarian.org>
6206
6207         * lyx_main.C: fix cmdline batch handling
6208
6209 2002-08-06  André Pönitz <poenitz@gmx.net>
6210
6211         * lyxrc.C: set default for show_banner to true
6212
6213 2002-08-06  John Levon  <levon@movementarian.org>
6214
6215         * pspell.C: fix a crash, and allow new aspell to work
6216
6217 2002-08-06  John Levon  <levon@movementarian.org>
6218
6219         * lyxfunc.C:
6220         * kbmap.C: small cleanup
6221
6222         * vspace.h:
6223         * vspace.C: add const
6224
6225 2002-08-05  John Levon  <levon@movementarian.org>
6226
6227         * LyXAction.C: back to tabular-insert
6228
6229 2002-08-04  John Levon  <levon@movementarian.org>
6230
6231         * BufferView.h:
6232         * BufferView.C: cosmetic change
6233
6234         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6235
6236         * bufferlist.C:
6237         * buffer.h:
6238         * buffer.C:
6239         * lyxcb.h:
6240         * lyxcb.C:
6241         * lyxserver.C:
6242         * lyxvc.C:
6243         * vc-backend.C:
6244         * BufferView2.C: purge all "Lyx" not "LyX" strings
6245
6246         * lyxcursor.h:
6247         * lyxcursor.C: attempt to add some documentation
6248
6249         * lyxfunc.C:
6250         * commandtags.h:
6251         * LyXAction.C:
6252         * ToolbarDefaults.C:
6253         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6254           merge with LFUN_TABULAR_INSERT
6255
6256         * Makefile.am:
6257         * SpellBase.h:
6258         * ispell.h:
6259         * ispell.C:
6260         * pspell.h:
6261         * pspell.C: split up i/pspell implementations into separate
6262           files, many cleanups
6263
6264         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6265
6266         * text2.C: some cleanup
6267
6268         * lyxfunc.C: don't check for isp_command == "none" any more, it
6269           didn't make any sense
6270
6271 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6272
6273         * counters.[Ch]
6274         * text2.C
6275         * paragraph.[Ch]
6276         * makefile.am: move counters functionality over
6277         from text2.C/paragraph.[Ch] to counters.[Ch], and
6278         make proper C++.
6279 2002-08-02  John Levon  <levon@movementarian.org>
6280
6281         * buffer.C: s/lyxconvert/lyx2lyx/
6282
6283 2002-08-02  Angus Leeming  <leeming@lyx.org>
6284
6285         * lyxlex.C: revert John's change as it breaks reading of the user
6286         preamble.
6287
6288 2002-08-02  Angus Leeming  <leeming@lyx.org>
6289
6290         * importer.C (Import):
6291         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6292         changes due to LyXView::view() now returning a boost::shared_ptr.
6293
6294 2002-08-02  John Levon  <levon@movementarian.org>
6295
6296         * lyxlex.C: small cleanup
6297
6298 2002-08-02  John Levon  <levon@movementarian.org>
6299
6300         * text2.C (status): small cleanup, no logic change
6301
6302 2002-08-01  John Levon  <levon@movementarian.org>
6303
6304         * buffer.h:
6305         * buffer.C (writeFile): don't output alerts, caller
6306           handles this
6307
6308         * bufferlist.C:
6309         * lyx_cb.C: from above
6310
6311         * lyxfunc.C: allow to open non-existent files
6312
6313 2002-07-31  John Levon  <levon@movementarian.org>
6314
6315         * lyxserver.C: don't let incidental errors get
6316           in the way (errno)
6317
6318 2002-07-30  John Levon  <levon@movementarian.org>
6319
6320         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6321
6322 2002-07-30  John Levon  <levon@movementarian.org>
6323
6324         * lyxserver.h:
6325         * lyxserver.C: remove I/O callback too
6326
6327 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6328
6329         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6330         log.
6331
6332 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * many files: strip,frontStrip -> trim,ltrim,rtrim
6335
6336 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6337
6338         * PrinterParams.h: remove extern containsOnly, and include
6339         support/lstrings.h instead.
6340
6341         * LaTeX.C (scanAuxFile): modify because of strip changes
6342         (deplog): ditto
6343         * buffer.C (makeLaTeXFile): ditto
6344         * bufferparams.C (writeFile): ditt
6345         * lyxfont.C (stateText): ditto
6346         * lyxserver.C (read_ready): ditto
6347         * vc-backend.C (scanMaster): ditto
6348
6349         * BufferView_pimpl.h: ws changes
6350
6351         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6352
6353 2002-07-26  André Pönitz <poenitz@gmx.net>
6354
6355         * kb_sequence.C: remove unnedred usings
6356
6357 2002-07-26  Juergen Vigna  <jug@sad.it>
6358
6359         * lyxfind.C (LyXReplace): we have to check better if the returned
6360         text is not of theLockingInset()->getLockingInset().
6361
6362 2002-07-25  Juergen Vigna  <jug@sad.it>
6363
6364         * lyxfind.C (LyXReplace): don't replace if we don't get the
6365         right LyXText.
6366
6367         * undo_funcs.C (createUndo): remove debugging code.
6368
6369 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6370
6371         * buffer.C (parseSingleLyXformat2Token): Use default placement
6372         when reading old floats.
6373
6374         * FloatList.C (FloatList): Change the default placement of figure
6375         and tables to "tbp".
6376
6377 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6378
6379         * MenuBackend.C: using std::max
6380
6381 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6382
6383         * MenuBackend.C (expandToc):
6384         (expandToc2): code moved from xforms menu frontend. It is now
6385         generic and TOCs are transparent to menu frontends.
6386
6387 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6388
6389         * toc.C (getTocList): protect against buf=0
6390
6391         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6392         Menu as first parameter. Now, this calls itself recursively to
6393         expand a whole tree (this will be useful for TOC handling)
6394         (expandFloatInsert): remove 'wide' version of floats
6395
6396         * MenuBackend.h (submenuname): returns the name of the submenu.
6397         (submenu): returns the submenu itself, provided it has been
6398         created by MenuBackend::expand
6399
6400 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6401
6402         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6403         insets which have noFontChange == true. (bug #172)
6404
6405 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6406
6407         * BufferView_pimpl.C: add connection objects and use them...
6408         (Pimpl): here.
6409
6410 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6411
6412         * MenuBackend.C (expandLastfiles):
6413         (expandDocuments):
6414         (expandFormats):
6415         (expandFloatListInsert):
6416         (expandFloatInsert):
6417         (expand): split expand in parts
6418
6419 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6420
6421         * lyx_gui.C: use lyx_gui::exit()
6422
6423 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6424
6425         * LyXAction.C: show the failing pseudo action
6426
6427 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6428
6429         * buffer.C (readFile): Run the lyxconvert script in order to read
6430         old files.
6431
6432 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6433
6434         * LyXAction.C:
6435         * commandtags.h:
6436         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6437
6438 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6439
6440         * LyXAction.C:
6441         * commandtags.h:
6442         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6443
6444 2002-07-22  Herbert Voss  <voss@lyx.org>
6445
6446         * lengthcommon.C:
6447         * lyxlength.[Ch]: add support for the vertical lengths
6448
6449 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6450
6451         * toc.[Ch]: std:: fixes
6452
6453 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6454
6455         * lyxrc.C: do not include lyx_main.h
6456
6457         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6458         for layouts
6459
6460         * lyxrc.C:
6461         * encoding.C:
6462         * bufferlist.C:
6463         * BufferView2.C: include "lyxlex.h"
6464
6465         * tabular.h:
6466         * bufferparams.h: do not #include "lyxlex.h"
6467
6468         * lyxtextclasslist.C (Add): remove method
6469         (classlist): renamed to classlist_
6470
6471         * paragraph_pimpl.C:
6472         * paragraph.C:
6473         * text2.C:
6474         * CutAndPaste.C:
6475         * bufferview_funcs.C:
6476         * bufferlist.C:
6477         * text.C:
6478         * LaTeXFeatures.C:
6479         * buffer.C:
6480         * toc.C (getTocList): use BufferParams::getLyXTextClass
6481
6482         * toc.C (getTocList): use InsetFloat::addToToc
6483
6484         * toc.[Ch]: new files, containing helper functions to handle table
6485         of contents
6486
6487         * lyxfunc.C (dispatch): no need to remove spaces around command
6488         given as a string
6489         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6490         first command of the sequence; it is not very clever, but I do not
6491         have a better idea, actually
6492
6493         * LyXAction.C (LookupFunc): make sure to remove space at the
6494         beginning and end of the command
6495
6496 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6497
6498         * MenuBackend.C (getMenubar): new method: return the menubar of
6499         this menu set
6500         (read): treat differently reading of menu and menubar (in
6501         particular, the menubar has no name now)
6502         (Menu::menubar): remove
6503
6504         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6505         saving is finished
6506
6507 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6508
6509         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6510         a bibitem inset in a RTL paragraph.
6511
6512 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6513
6514         * paragraph_pimpl.C: constify
6515
6516         * BufferView_pimpl.C:
6517         * LaTeX.C:
6518         * lyxfunc.C: fix dispatch in a nicer way
6519
6520 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6521
6522         * lyxfunc.C (dispatch):
6523         * BufferView_pimpl.C:
6524         * BufferView_pimpl.h:
6525         * BufferView.C:
6526         * BufferView.h: rename Dispatch() to dispatch()
6527
6528         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6529
6530         * lyxlayout.C (Read): honor DependsOn tag
6531
6532         * lyxlayout.[Ch] (depends_on): new method
6533
6534         * version.C.in: update lyx_docversion
6535
6536         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6537
6538         * paragraph.C (validate): remove from here...
6539         * paragraph_pimpl.C (validate): ... and move here
6540         (isTextAt): make it const
6541
6542         * buffer.C (getLists): ws cleanup
6543
6544 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6545
6546         * language.C (read): Use iso8859-1 encoding in latex_lang
6547         (this prevents LyX from crashing when using iso10646-1 encoding).
6548
6549 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6550
6551         * text2.C (toggleInset): if cursor is inside an inset, close the
6552         inset and leave cursor _after_ it
6553
6554 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6555
6556         * lyxfunc.C: move minibuffer completion handling out of here
6557
6558 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6559
6560         * BufferView_pimpl.C:
6561         * LaTeX.C: fix dispatch calls
6562
6563 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6564
6565         * text.C (drawChars): Fix Arabic text rendering.
6566
6567 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6568
6569         * LyXAction.C:
6570         * commandtags.h:
6571         * lyxfunc.C: remove message-push/pop
6572
6573         * lyxserver.C:
6574         * lyxfunc.h:
6575         * lyxfunc.C: rationalise some code by removing verboseDispatch
6576           in favour of a bool argument to dispatch()
6577
6578 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6579
6580         * lyx_main.C (init): make sure to read symlinks as absolute paths
6581
6582 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6583
6584         * lyxfunc.h:
6585         * lyxfunc.C: no need for commandshortcut to be a member
6586
6587 2002-07-15  André Pönitz <poenitz@gmx.net>
6588
6589         * converter.C: add support for $$s (scripts from lib/scripts dir)
6590         * lyx_main.C: white space
6591
6592 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6593
6594         * bufferlist.C:
6595         * lyxrc.h:
6596         * lyxrc.C: remove second exit confirmation
6597
6598 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6599
6600         * BufferView.h:
6601         * BufferView.C:
6602         * BufferView2.C:
6603         * BufferView_pimpl.h:
6604         * BufferView_pimpl.C:
6605         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6606
6607 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6608
6609         * MenuBackend.C (expand): add numeric shortcuts to document menu
6610
6611         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6612
6613 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6614
6615         * lyxfont.C (setLyXFamily):
6616         (setLyXSeries):
6617         (setLyXShape):
6618         (setLyXSize):
6619         (setLyXMisc):
6620         (lyxRead):
6621         * debug.C (value):
6622         * buffer.C (asciiParagraph): use ascii_lowercase
6623
6624 2002-07-15  Mike Fabian  <mfabian@suse.de>
6625
6626         * lyxlex_pimpl.C (search_kw):
6627         * lyxlex.C (getLongString):
6628         * converter.h (operator<):
6629         * converter.C (operator<):
6630         * buffer.C (parseSingleLyXformat2Token):
6631         (asciiParagraph):
6632         * ToolbarDefaults.C (read):
6633         * MenuBackend.C (checkShortcuts):
6634         (read):
6635         * LColor.C (getFromGUIName):
6636         (getFromLyXName): use the compare_ascii_no_case instead of
6637         compare_no_case, because in turkish, 'i' is not the lowercase
6638         version of 'I', and thus turkish locale breaks parsing of tags.
6639
6640 2002-07-16  Angus Leeming  <leeming@lyx.org>
6641
6642         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6643         now takes a Buffer const & argument.
6644
6645 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6646
6647         * BufferView.C (resize): check there's a buffer to resize
6648
6649 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6650
6651         * lyxfunc.C: remove dead code
6652
6653         * lyxserver.h:
6654         * lyxserver.C: use lyx_guii::set_read_callback
6655
6656 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6657
6658         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6659         an inset in a RTL paragraph.
6660
6661 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6662
6663         * lyxfunc.C: repaint after a font size update
6664
6665 2002-07-15  André Pönitz <poenitz@gmx.net>
6666
6667         * lyxlength.C: inBP should be able to return negative values
6668
6669 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6670
6671         * lyxfunc.C: use lyx_gui::update_fonts()
6672
6673 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6674
6675         * lyxfunc.C: use lyx_gui::update_color()
6676
6677 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6678
6679         * bufferlist.C:
6680         * lyxfunc.h:
6681         * lyxfunc.C:
6682         * lyxrc.h:
6683         * lyxrc.C: remove file->new asks for name option, and let
6684           buffer-new take an argument
6685
6686 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6687
6688         * BufferView_pimpl.C: remove unneeded extra repaint()
6689
6690 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6691
6692         * LyXAction.C: allow command-sequence with NoBuffer
6693
6694         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6695
6696 2002-07-10  Angus Leeming  <leeming@lyx.org>
6697
6698         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6699
6700 2002-07-09  Angus Leeming  <leeming@lyx.org>
6701
6702         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6703
6704 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6705
6706         * lengthcommon.h: whitespace
6707
6708         * lyxfunc.C: update scrollbar after goto paragraph
6709
6710         * lyxtext.h: factor out page break drawing, and fix it so
6711           page break/added space paints as selected nicely
6712
6713 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6714
6715         * BufferView_pimpl.C: add FIXMEs, clean up a little
6716
6717 2002-07-09  André Pönitz <poenitz@gmx.net>
6718
6719         * lyxfont.[Ch]: support for wasy symbols
6720
6721 2002-07-08  André Pönitz <poenitz@gmx.net>
6722
6723         * BufferView_pimpl.C: apply John's patch for #93.
6724
6725 2002-07-05  Angus Leeming  <leeming@lyx.org>
6726
6727         * BufferView_pimpl.C (buffer): generate previews if desired.
6728
6729         * LColor.h: add "preview" to the color enum.
6730
6731         * LColor.C (LColor): add a corresponding entry to the items array.
6732
6733         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6734         with this buffer.
6735
6736 2002-07-05  Angus Leeming  <leeming@lyx.org>
6737
6738         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6739         The body of the code is now in the method that is passed an ostream &
6740         rather than a file name.
6741         Pass an additional only_preamble parameter, useful for the forthcoming
6742         preview stuff.
6743
6744 2002-07-03  André Pönitz <poenitz@gmx.net>
6745
6746         * lyxfunc.C: simplify getStatus() a bit for math stuff
6747
6748 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6749
6750         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6751
6752 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6753
6754         * text.C (changeRegionCase): do not change case of all the
6755         document when region ends at paragraph end (bug #461)
6756
6757 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6758
6759         * paragraph.C (startTeXParParams):
6760         (endTeXParParams): add \protect when necessary
6761
6762 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6763
6764         * BufferView_pimpl.C (workAreaExpose): remove warning
6765
6766 2002-06-27  Angus Leeming  <leeming@lyx.org>
6767
6768         * Makefile.am: add lyxlayout_ptr_fwd.h.
6769
6770 2002-06-26  André Pönitz <poenitz@gmx.net>
6771
6772         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6773
6774 2002-06-25  Angus Leeming  <leeming@lyx.org>
6775
6776         * lyxfunc.C (dispatch): Comment out the call to
6777         grfx::GCache::changeDisplay. The method no longer exists now that the
6778         pixmap generation part of the graphics loader has been moved into
6779         InsetGraphics.
6780
6781 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6782
6783         * text2.C: layout as layout
6784
6785         * text.C: layout as layout
6786
6787         * tabular.C (OldFormatRead): layout as layout
6788
6789         * paragraph_pimpl.C (TeXDeeper): layout as layout
6790         (realizeFont): layout as layout
6791
6792         * paragraph.C (writeFile): layout as layout
6793         (validate): layout as layout
6794         (getFont): layout as layout
6795         (getLabelFont): layout as layout
6796         (getLayoutFont): layout as layout
6797         (breakParagraph): layout as layout
6798         (stripLeadingSpaces): layout as layout
6799         (getEndLabel): layout as layout
6800         (getMaxDepthAfter): layout as layout
6801         (applyLayout): layout as layout
6802         (TeXOnePar): layout as layout
6803         (simpleTeXOnePar): layout as layout
6804         (TeXEnvironment): layout as layout
6805         (layout): layout as layout
6806         (layout): layout as layout
6807
6808         * lyxtextclass.C (compare_name): new functor to work with
6809         shared_ptr, layout as layout
6810         (Read): layout as layout
6811         (hasLayout): layout as layout
6812         (operator): layout as layout
6813         (delete_layout): layout as layout
6814         (defaultLayout): layout as layout
6815
6816         * lyxlayout_ptr_fwd.h: new file
6817
6818         * lyxlayout.C (Read): layout as layout
6819
6820         * lyx_cb.C (MenuInsertLabel): layout as layout
6821
6822         * bufferlist.C (newFile): layout as layout
6823
6824         * buffer.C (readLyXformat2): layout as layout
6825         (parseSingleLyXformat2Token): layout as layout
6826         (insertStringAsLines): layout as layout
6827         (asciiParagraph): layout as layout
6828         (latexParagraphs): layout as layout
6829         (makeLinuxDocFile): layout as layout
6830         (simpleLinuxDocOnePar): layout as layout
6831         (makeDocBookFile): layout as layout
6832         (simpleDocBookOnePar): layout as layout
6833         (getLists): layout as layout
6834
6835         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6836
6837         * CutAndPaste.C (cutSelection): layout as layout
6838         (pasteSelection): layout as layout
6839         (SwitchLayoutsBetweenClasses): layout as layout
6840
6841         * BufferView_pimpl.C (Dispatch): layout as layout
6842         (smartQuote): layout as layout
6843
6844         * BufferView2.C (unlockInset): layout as layout
6845
6846 2002-06-24  André Pönitz <poenitz@gmx.net>
6847
6848         * lyxfunc.C: fix #487
6849
6850 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6851
6852         * lyxrc.h:
6853         * lyxrc.C:
6854         * lyxfunc.C: remove display_shortcuts, show_banner
6855
6856 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6857
6858         * Buffer_pimpl.C: oops, update on resize
6859
6860 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6861
6862         * buffer.C:
6863         * converter.C:
6864         * exporter.C:
6865         * lyxfunc.C:
6866         * BufferView.h:
6867         * BufferView.C: use repaint()
6868
6869         * BufferView_pimpl.h:
6870         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6871           as it's a clearer description. Remove superfluous
6872           redraws.
6873
6874 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6875
6876         * text.C: fix bug 488. Not ideal, but getting
6877           getWord() to work properly for the insets that
6878           matter is more difficult ...
6879
6880 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6881
6882         * BufferView_pimpl.C:
6883         * LyXAction.C:
6884         * commandtags.h:
6885         * lyxfunc.C: remove the six million index lyxfuncs to just
6886           one, and DTRT (bug 458)
6887
6888 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6889
6890         * BufferView.h:
6891         * BufferView.C:
6892         * BufferView_pimpl.h:
6893         * BufferView_pimpl.C: clean up resize() stuff,
6894           and unnecessary updateScreen()s
6895
6896 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6897
6898         * BufferView.h:
6899         * BufferView.C:
6900         * BufferView_pimpl.h:
6901         * BufferView_pimpl.C:
6902         * lyxfind.h:
6903         * lyxfind.C:
6904         * minibuffer.C: remove focus management of workarea,
6905           not needed. Use screen's greyOut()
6906
6907 2002-06-17  Herbert Voss  <voss@lyx.org>
6908
6909         * converter.C: (convert) do not post a message, when converting
6910         fails, let the calling function decide what to do in this case
6911
6912 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6913
6914         * lyxfunc.C: tidy up a little
6915
6916 2002-06-16    <alstrup@diku.dk>
6917
6918         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6919         Got rid of FORMS_H_LOCATION include. Now we are
6920         GUII.
6921
6922 2002-06-15  LyX Development team  <lyx@rilke>
6923
6924         * buffer.[Ch] (sgmlOpenTag):
6925         (sgmlCloseTag): Added support for avoiding pernicious mixed
6926         content. Return number of lines written.
6927
6928         (makeLinuxDocFile):
6929         (makeDocBookFile): Fixed calls to sgml*Tag.
6930         Simple white space clean.
6931
6932         (simpleDocBookOnePar): Simple white space clean.
6933
6934         * tabular.[Ch] (docBook): Renamed to docbook and got another
6935         argument to related with the pernicious mixed content.
6936
6937         (docbookRow): Fixed calls for docbook inset method.
6938
6939 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6940
6941         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6942         so it's X11 independent.
6943
6944         * kb*.[Ch]: ditto.
6945
6946         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6947
6948 2002-06-15  Lyx Development team  <lyx@electronia>
6949
6950         * intl.h: Renamed getTrans to getTransManager.
6951
6952 2002-06-14  Angus Leeming  <leeming@lyx.org>
6953
6954         * Makefile.am: nuke forgotten stl_string_fwd.h.
6955
6956 2002-06-12  Angus Leeming  <leeming@lyx.org>
6957
6958         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6959
6960 2002-06-13  Angus Leeming  <leeming@lyx.org>
6961
6962         * LaTeX.C:
6963         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6964
6965 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6966
6967         * kbmap.C (getiso): add support for cyrillic and greek
6968
6969 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6970
6971         * BufferView.h:
6972         * BufferView.C:
6973         * BufferView_pimpl.h:
6974         * BufferView_pimpl.C: move bogus scrolling logic
6975           to xforms
6976
6977 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6978
6979         * lyxfunc.C:
6980         * BufferView_pimpl.C: view->resize() change
6981
6982 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6983
6984         * BufferView_pimpl.C: topCursorVisible
6985           prototype change
6986
6987 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6988
6989         * Makefile.am:
6990         * lyx_gui.h:
6991         * lyx_gui.C: move to frontends/
6992
6993         * main.C:
6994         * lyx_main.h:
6995         * lyx_main.C: changes from above
6996
6997 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6998
6999         * intl.C:
7000         * intl.h:
7001         * kbmap.C:
7002         * kbsequence.C:
7003         * lyx_cb.C:
7004         * lyx_main.C: minor tidy
7005
7006 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7007
7008         * BufferView_pimpl.h:
7009         * BufferView_pimpl.C:
7010         * BufferView.h:
7011         * BufferView.C: make painter() const,
7012           remove dead code
7013
7014         * BufferView2.C: use screen() accessor
7015
7016         * lyx_main.h:
7017         * lyx_main.C: some minor cleanup
7018
7019 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7020
7021         * BufferView_pimpl.h:
7022         * BufferView_pimpl.C: remove enter/leaveView,
7023           use workHeight()
7024
7025 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7026
7027         * BufferView.h:
7028         * BufferView.C:
7029         * BufferView2.C:
7030         * BufferView_pimpl.h:
7031         * BufferView_pimpl.C: only construct screen once,
7032           rename
7033
7034         * lyxrc.C: remove pointless comment
7035
7036 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7037
7038         * BufferView.h:
7039         * BufferView.C: remove active() and belowMouse()
7040
7041         * BufferView_pimpl.h:
7042         * BufferView_pimpl.C: use workarea() not workarea_,
7043           and make it use a scoped_ptr instead
7044
7045 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7046
7047         * lyx_gui.C: add debug message on BadWindow
7048
7049 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7050
7051         * sp_spell.C: fdopen is not part of the C++ standard.
7052
7053         * paragraph.C (InsetIterator): use >= instead of ==
7054
7055 2002-06-07  Angus Leeming  <leeming@lyx.org>
7056
7057         Fixes needed to compile with Compaq cxx 6.5.
7058         * BufferView_pimpl.C:
7059         * DepTable.C:
7060         * buffer.C:
7061         * converter.C:
7062         * encoding.C:
7063         * lyx_gui.C:
7064         * lyx_main.C:
7065         * lyxtextclasslist.C:
7066         * minibuffer.C:
7067         * sp_spell.C:
7068         * tabular_funcs.C:
7069         * vc-backend.C:
7070         all c-library variables have been moved into namespace std. Wrap
7071         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7072
7073         * lyxlength.C:
7074         * tabular-old.C:
7075         * tabular.C:
7076         Add a using std::abs declaration.
7077
7078         * kbmap.h (modifier_pair):
7079         * paragraph.h (InsetTable, InsetList):
7080         * lyxfont.h (FontBits):
7081         type definition made public.
7082
7083         * bufferlist.C (emergencyWriteAll): the compiler complains that
7084         there is more than one possible lyx::class_fun template to choose from.
7085         I re-named the void specialisation as lyx::void_class_fun.
7086
7087         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7088
7089         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7090         the compiler is is unable to find tostr in write_attribute.
7091
7092 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7093
7094         * buffer.C (sgmlError): hide #warning
7095
7096 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7097
7098         * xtl/*: get rid of xtl, which is not in use anyway
7099
7100         * LyXAction.C (init):
7101         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7102         were unimplemented xtl experimentation
7103
7104 2002-06-04  André Pönitz <poenitz@gmx.net>
7105
7106         * lyxfunc.C: disable array operation on simple formulae
7107
7108 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7109
7110         * converter.C: constify a bit
7111
7112 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7113
7114         * lyx_gui.C: check xforms version correctly
7115
7116 2002-04-30  Herbert Voss  <voss@lyx.org>
7117
7118         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7119         "keep" option
7120
7121 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7122
7123         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7124           attempt to register it with a VCS)
7125
7126 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7127
7128         * lyx_main.C (init): honor variables LYX_DIR_13x and
7129         LYX_USERDIR_13x
7130
7131 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7132
7133         * buffer.h:
7134         * buffer.C:
7135         * lyx_main.C: fix a crash on bad command line,
7136           and give a useful exit status on error
7137
7138         * lyxfunc.C (doImport): allow -i lyx to work
7139
7140 2002-03-30  André Pönitz <poenitz@gmx.net>
7141
7142         * lyxfunc.C: mathed font changes
7143
7144 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7145
7146         * LaTeX.C:
7147         * importer.h:
7148         * importer.C:
7149         * lyx_sty.h:
7150         * lyx_sty.C:
7151         * lyxlex.C:
7152         * lyxrow.h:
7153         * lyxtext.h:
7154         * paragraph.h:
7155         * paragraph.C:
7156         * texrow.h:
7157         * texrow.C:
7158         * text.C:
7159         * trans_mgr.h: srcdocs, and some minor cleanups
7160
7161 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7162
7163         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7164         call getFont all the time)
7165
7166 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7167
7168         * switch from SigC signals to boost::signals
7169
7170 2002-05-29  André Pönitz <poenitz@gmx.net>
7171
7172         * paragraph_pimpl.C (getChar): don't call size() too often...
7173
7174 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7175
7176         * paragraph_pimpl.C (insertChar): do not try to update tables when
7177         appending (pos == size())
7178
7179         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7180         in order to reduce drastically the number of comparisons needed to
7181         parse a large document
7182
7183 2002-05-29  André Pönitz <poenitz@gmx.net>
7184
7185         * text.C:
7186         * text2.C:
7187         * lyxtextclass.C:
7188         * sp_pspell.h:
7189         * textclasslist.[Ch]:
7190         * sp_ispell.h: whitespace change
7191
7192 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7193
7194         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7195         lyxaction directly now.
7196
7197 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7198
7199         * trans.C:
7200         * lyxfont.C:
7201         * lyxvc.C: remove unused headers
7202
7203 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7204
7205         * Makefile.am:
7206         * buffer.h:
7207         * undostack.h:
7208         * undostack.C:
7209         * undo_funcs.h:
7210         * undo_funcs.C: some cleanups. Use shared_ptr
7211           and a template for the undo stacks.
7212
7213 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7214
7215         * BufferView_pimpl.h:
7216         * BufferView_pimpl.C:
7217         * kbmap.h:
7218         * kbmap.C:
7219         * kbsequence.h:
7220         * kbsequence.C:
7221         * lyxfunc.h:
7222         * lyxfunc.C:
7223         * text2.C: use key_state/mouse_state
7224
7225 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7226
7227         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7228         and LSubstring
7229
7230         * chset.C: change include order
7231         (loadFile): use boost regex and get rid of LRegex and LSubstring
7232
7233         * Makefile.am (BOOST_LIBS): new variable
7234         (lyx_LDADD): use it
7235
7236         * LaTeX.C: change include order.
7237         (scanAuxFile): use boost regex and get rid of LRegex and
7238         LSubstring
7239         (deplog): ditto
7240
7241 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7242
7243         * ColorHandler.h:
7244         * ColorHandler.C:
7245         * FontInfo.h:
7246         * FontInfo.C: moved to frontends/xforms/
7247
7248         * FontLoader.h:
7249         * FontLoader.C: moved into frontends for GUIIzation
7250
7251         * Makefile.am:
7252         * lyx_gui.C:
7253         * lyxfont.C:
7254         * lyxfunc.C: changes from above
7255
7256 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7257
7258         * LColor.C: remove spurious X include
7259
7260         * BufferView_pimpl.C:
7261         * Makefile.am:
7262         * font.h:
7263         * font.C:
7264         * text.C:
7265         * text2.C: move font metrics to frontends/
7266
7267 2002-05-24  Juergen Vigna  <jug@sad.it>
7268
7269         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7270         setting the undo_cursor.
7271
7272         * ParagraphParameters.h: include local includes first.
7273
7274 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7275
7276         * BufferView_pimpl.C:
7277         * BufferView_pimpl.h:
7278         * Makefile.am:
7279         * WorkArea.h:
7280         * WorkArea.C:
7281         * screen.C: move WorkArea into frontends/
7282
7283         * lyxscreen.h:
7284         * screen.C:
7285         * text.C:
7286         * BufferView.C:
7287         * BufferView2.C: move LyXScreen into frontends/
7288
7289         * lyxlookup.h:
7290         * lyxlookup.C:
7291         * lyx_gui.C: move lyxlookup into frontends/xforms/
7292
7293 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7294
7295         * BufferView2.C:
7296         * BufferView_pimpl.C:
7297         * FontLoader.C:
7298         * LyXView.h:
7299         * LyXView.C:
7300         * Makefile.am:
7301         * WorkArea.C:
7302         * XFormsView.h:
7303         * XFormsView.C:
7304         * buffer.C:
7305         * bufferlist.C:
7306         * bufferview_funcs.C:
7307         * converter.C:
7308         * importer.C:
7309         * lyx_cb.C:
7310         * lyx_gui.C:
7311         * lyx_main.C:
7312         * lyx_find.C:
7313         * lyxfunc.C:
7314         * lyxvc.C:
7315         * minibuffer.C:
7316         * text.C:
7317         * text2.C:
7318         * trans.C:
7319         * vc-backend.C: move LyX/XFormsView into frontends/
7320
7321 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7322
7323         * Makefile.am:
7324         * PainterBase.C:
7325         * PainterBase.h:
7326         * Painter.C:
7327         * Painter.h:
7328         * WorkArea.C:
7329         * WorkArea.h:
7330         * screen.C:
7331         * tabular.C:
7332         * text.C:
7333         * text2.C: move Painter to frontends/
7334
7335 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7336
7337         * buffer.C: comment out some some code that depend upon lyx_format
7338         < 220
7339
7340         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7341         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7342
7343         * buffer.h (NO_COMPABILITY): turn off compability
7344
7345         * ColorHandler.C: include scoped_array.hpp
7346
7347         * font.C: Use more specific smart_ptr header.
7348         * Painter.C: ditto
7349         * gettext.C: ditto
7350         * ShareContainer.h: ditto
7351         * lyx_main.h: ditto
7352         * kbmap.h: ditto
7353         * FontInfo.h: ditto
7354         * BufferView_pimpl.h: ditto
7355         * ColorHandler.h: ditto
7356
7357         * kbmap.C (defkey): change call to shared_ptr::reset
7358
7359 2002-05-21  Juergen Vigna  <jug@sad.it>
7360
7361         * buffer.C (insertErtContents): fix to insert ert asis if it is
7362         non empty. Skip it completely if it contains only whitespaces.
7363
7364 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7365
7366         * BufferView_pimpl.C:
7367         * BufferView2.C: clear selection on paste (bug 393)
7368
7369 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7370
7371         * DepTable.C: include ctime
7372
7373 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7374
7375         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7376
7377 2002-05-14  Juergen Vigna  <jug@sad.it>
7378
7379         * text.C (breakParagraph): fixed function to honor the keepempty
7380         layout in the right maner and also to permit the right breaking
7381         algorithm on empty or non empyt keepempty paragraphs.
7382
7383         * paragraph.C (breakParagraph): we have to check also if the par
7384         is really empty (!size()) for isempty otherwise we do the wrong
7385         paragraph break.
7386
7387 2002-05-10  Juergen Vigna  <jug@sad.it>
7388
7389         * buffer.[Ch] : The following are only changes to the ert
7390         compatibility read reading old LaTeX layout and font stuff and
7391         convert it to ERTInsets.
7392
7393         * buffer.h: added isErtInset().
7394
7395         * buffer.C (struct ErtComp): add a fromlayout bool to check
7396         if we're inside a LaTeX layout.
7397         (isErtInset): new helper function.
7398         (insertErtContents): look for other ert insets before this one
7399         and insert the contents there, so that we don't have subsequent
7400         ERT insets with nothing between them. This way we create only one
7401         inset with multiple paragraphs. Also check if we don't insert only
7402         spaces ' ' as they are ignored anyway afterwards in the .tex file
7403         so if we have only spaces we will ignore this latex part in the
7404         new file.
7405         (parseSingleLyXformat2Token \\layout): better compatibility when
7406         reading layout-latex stuff.
7407         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7408         language tag.
7409         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7410         stuff after reading the inset only get the information back from
7411         the stack.
7412
7413 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7414
7415         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7416
7417         * LaTeXFeatures.C (getBabelOptions): New method.
7418
7419 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7420
7421         * BufferView_pimpl.C (Dispatch): work around missing argument for
7422         'layout'
7423
7424 2002-05-08  Juergen Vigna  <jug@sad.it>
7425
7426         * text.C (leftMargin): handle paragraph leftindent.
7427
7428         * paragraph.C (writeFile): write the new \\leftindent tag.
7429         (validate): handle leftindent code.
7430         (TeXEnvironment): handle paragraphleftindent code again.
7431
7432         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7433
7434         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7435         for paragrap_extra indent code and new token \\leftindent.
7436         (latexParagraphs): handle the leftindent as environment.
7437
7438         * ParameterStruct.h: added leftindent support.
7439
7440         * ParagraphParameters.C (leftIndent): added support functions for
7441         the paragraph left indent.
7442
7443         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7444         more appropriate.
7445
7446 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7447
7448         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7449         inside insetERT.
7450
7451         * text.C (computeBidiTables): No bidi in insetERT.
7452
7453         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7454         in RTL documents.
7455
7456 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7457
7458         * version.C.in: pre 5
7459
7460 2002-05-02  José Matos  <jamatos@fep.up.pt>
7461         * buffer.C (makeDocBookFile): white space changes, add newline to
7462         command styles.
7463         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7464
7465         * tabular.C (docBook): fix typo.
7466
7467 2002-05-03  Juergen Vigna  <jug@sad.it>
7468
7469         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7470         change in LyXText as we can not be sure it was not freed.
7471         (drawOneRow): remove unused code.
7472
7473         * text.C (drawInset): redo the calculation of the need_break_row as
7474         it could have a row which was already freed.
7475         (draw): look at the return value of drawInset and return false if
7476         it also returned false.
7477         (paintRowText): look at the return value of draw and return false if
7478         it also returned false.
7479
7480         * lyxtext.h: added bool return type to drawInset() and draw() so that
7481         if we have a change in the row so that the rowbreak has to be redone
7482         we abort drawing as it will be called again.
7483
7484 2002-05-02  Juergen Vigna  <jug@sad.it>
7485
7486         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7487         a change in the maintext also if we're inside an inset.
7488         (Dispatch): set the cursor again after a break line and after the
7489         screen has been updated as it could be we're in a different row.
7490
7491         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7492         to set the cursor behind the pargraph with > size().
7493         (setCursor): check also for the same paragraph when checking where
7494         to put the cursor if we have a NFR inset.
7495
7496         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7497         parts of layout read further up as it still was in the wrong
7498         position.
7499
7500 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7501
7502         * screen.C (drawFromTo): change sine fullRebreak always return
7503         true.
7504
7505         * buffer.C (parseSingleLyXformat2Token): reindent some
7506
7507         * BufferView_pimpl.C (update): change since fullRebreak always
7508         return true.
7509         (Dispatch): git rid of the last hardcoded "Standard"s.
7510
7511 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7512
7513         * text2.[Ch] (fullRebreak): make it return void now that we always
7514         returned true.
7515
7516 2002-04-30  Juergen Vigna  <jug@sad.it>
7517
7518         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7519         ert compatibility check for "latex" layout.
7520
7521 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7522
7523         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7524         minipages: use col% instead of p%, and also use the current font.
7525         (makeLaTeXFile): Fix use babel condition.
7526         (parseSingleLyXformat2Token): Correct font when reading old floats.
7527
7528 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7529
7530         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7531         inserting list of floats.
7532
7533 2002-04-25  Herbert Voss  <voss@lyx.org>
7534
7535         * MenuBackend.C (expand): don't add the graphics extensions to the
7536         export menu
7537
7538 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7539
7540         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7541         non-existing layout, do not complain if it was the default layout
7542         of the original class (bug #342)
7543
7544 2002-04-24  Juergen Vigna  <jug@sad.it>
7545
7546         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7547         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7548
7549 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7550
7551         * buffer.C (getBibkeyList): If using \bibliography, return the
7552         option field with the reference itself. Enables us to provide natbib
7553         support when using \bibliography.
7554
7555 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7556
7557         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7558
7559         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7560         natbib is provided by the LaTeX class.
7561
7562 2002-04-23  Juergen Vigna  <jug@sad.it>
7563
7564         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7565         Wakeup functions.
7566
7567         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7568
7569 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7570
7571         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7572
7573         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7574         ensuremath around textordmasculine, textordfeminine and
7575         textdegree.
7576
7577 2002-04-19  Juergen Vigna  <jug@sad.it>
7578
7579         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7580         reinitializing the buffer otherwise row-dimensions may be wrong.
7581         (update): reset also the selection cursors if they do exits otherwise
7582         their x/y positions may be wrong.
7583
7584         * text2.C (cursorDown): don't enter the inset if we came from a row
7585         above and are one row over the inset.
7586
7587         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7588         really leaving an inset.
7589
7590 2002-04-18  Juergen Vigna  <jug@sad.it>
7591
7592         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7593         of the selected paragraph does not have the selected layout also if
7594         the last one had!
7595
7596         * text2.C (setLayout): fixed bug which did not change last selected
7597         paragraph.
7598
7599         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7600         changed the read and substituted \\end_float with \\end_inset!
7601
7602         * BufferView_pimpl.C (cursorPrevious):
7603         (cursorNext): fixed to make it work with rows heigher than the work
7604         area without moving the cursor only the draw of the row.
7605         (workAreaMotionNotify): fix jumping over high rows.
7606
7607 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7608
7609         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7610         Ressler.
7611
7612 2002-04-16  Juergen Vigna  <jug@sad.it>
7613
7614         * text2.C (setCursor): set also the irow().
7615         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7616         (cursorUp):
7617         (cursorDown): support for locking an inset if the x_fix value goes
7618         inside it. That way I can transverse insets too with cursor up/down.
7619
7620         * lyxrow.h: added irow helper function same as other (i) functions.
7621
7622         * BufferView_pimpl.C (cursorPrevious):
7623         (cursorNext): fixed for insets!
7624
7625 2002-04-15  Juergen Vigna  <jug@sad.it>
7626
7627         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7628         position otherwise it is wrong in some cases.
7629
7630         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7631         inside the inset before the call.
7632
7633 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7634
7635         * buffer.[Ch] (getBibkeyList): make it const.
7636
7637 2002-04-12  Juergen Vigna  <jug@sad.it>
7638
7639         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7640
7641         * text2.C (getCursorX): new helper function
7642         (setCursor): compute also ix_
7643         (setCursorFromCoordinates): set also ix.
7644
7645         * lyxcursor.h: added ix_ and helper functions.
7646
7647         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7648
7649         * buffer.C (insertStringAsLines): dont break paragraph if the this
7650         paragraph is inside an inset which does not permit it!
7651
7652         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7653         also with no chars on this paragraph.
7654         (paintRowText): only paint stuff if it's inside the workarea!
7655
7656         * paragraph.C (breakParagraph): honor keepempty flag and break the
7657         paragraph always below not above.
7658
7659         * BufferView2.C (unlockInset): update the paragraph layout on inset
7660         unlock as we changed paragraph in such a case.
7661
7662         * lyxfind.C (LyXFind): clear the former selection if not found!
7663
7664         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7665         again called in insertChar().
7666
7667         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7668         an inset which uses the whole row!
7669         (rightMargin): ditto.
7670         (insertChar): force a rebreak if we inserted an inset!
7671
7672 2002-03-28  Herbert Voss  <voss@lyx.org>
7673
7674         * lyxlength.[Ch]: add inBP() to get the right PS-point
7675         units (BigPoint). With inPixels we have rounding errors
7676
7677 2002-04-11  Juergen Vigna  <jug@sad.it>
7678
7679         * text2.C (setCursorFromCoordinates): set iy to the right value.
7680         (setCursor): add check if row->previous exists!
7681
7682         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7683         an old float_type as this was the case in the old code!
7684
7685         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7686
7687         * BufferView2.C (showLockedInsetCursor): use iy
7688         (fitLockedInsetCursor): ditto
7689
7690         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7691         locked insets as there we have the right value now.
7692
7693         * lyxcursor.C: added iy_ variable and iy functions to set to the
7694         baseline of cursor-y of the locked inset.
7695
7696         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7697         (setCursor): fixed for insets which need a full row.
7698
7699         * text.C (rowLastPrintable): don't ignore the last space when before
7700         an inset which needs a full row.
7701         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7702         as last character of a row when before a inset which needs a full row.
7703
7704 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7705
7706         * version.C.in: update date
7707
7708         * text2.C (fullRebreak): try to always return true and see what
7709         happens...
7710
7711 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7712
7713         * MenuBackend.C (expand): use Floating::listName
7714
7715         * FloatList.C (FloatList): add listName argument to the built-in
7716         floats
7717
7718         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7719         text associated with the float.
7720
7721 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7722
7723         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7724
7725 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7726
7727         * ShareContainer.h: add a couple of missing typenames.
7728
7729 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7730
7731         * lyxrc.C (getDescription): use _() correctly rather than N_().
7732
7733 2002-03-28  Herbert Voss  <voss@lyx.org>
7734
7735         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7736         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7737
7738 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7739
7740         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7741         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7742
7743 2002-03-29  Juergen Vigna  <jug@sad.it>
7744
7745         * lyxfunc.C (dispatch): add a missing fitCursor call.
7746
7747         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7748         it was scrolled by a cursor move, so return the bool status.
7749
7750         * BufferView.C (fitCursor): return the bool flag also to the outside
7751         world as this is needed.
7752
7753         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7754
7755         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7756         call the edit() as it is not needed (and wrong) IMO.
7757         (workAreaButtonPress): set the screen_first variable before evt.
7758         unlock the inset as this may change screen_first and then we have
7759         a wrong y position for the click!
7760
7761 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7762
7763         * MenuBackend.C (expand): another translation that I missed
7764
7765 2002-03-28  Juergen Vigna  <jug@sad.it>
7766
7767         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7768
7769         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7770
7771 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7772
7773         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7774
7775         * MenuBackend.C (expand): fix export/view/update when there is no
7776         document open.
7777
7778 2002-03-27  Herbert Voss  <voss@lyx.org>
7779
7780         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7781         and text%
7782
7783 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7784
7785         * bufferview_funcs.C (currentState): only show paragraph number
7786         for is DEVEL_VERSION is set.
7787
7788         * lyxfunc.C (dispatch): put warning in INFO channel
7789
7790         * MenuBackend.C (expand): translate the name of floats
7791
7792         * FloatList.C (FloatList): mark the float names for translation
7793
7794         * converter.C (convert): use LibScriptSearch
7795
7796 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7797
7798         * MenuBackend.C (defaults): fix default menu (we might as well get
7799         rid of it...)
7800
7801 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7802
7803         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7804         directory.
7805
7806 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7807
7808         * lyxvc.C: reorder includes.
7809
7810 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7811
7812         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7813           properly
7814
7815 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7816
7817         * CutAndPaste.C: change layouts earlier on paste
7818           to avoid crashing when calling getFont()
7819
7820 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7821
7822         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7823         irritating #error.
7824
7825 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7826
7827         * WorkArea.C: remove 'Pending' debug message.
7828
7829         * most files: ws cleanup
7830
7831         * buffer.[Ch]: ws changes
7832
7833         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7834
7835 2002-03-21  Juergen Vigna  <jug@sad.it>
7836
7837         * tabular.C (SetMultiColumn): collapse also the contents of the
7838         cells and set the last border right. Added a Buffer const * param.
7839
7840 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7841
7842         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7843         linking or not.
7844
7845 2002-03-19  Juergen Vigna  <jug@sad.it>
7846
7847         * text2.C (clearSelection): reset also xsel_cache.
7848
7849         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7850         where it needs to be called (John tells us to do so too :)
7851         (selectionLost): reset sel_cache.
7852
7853         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7854
7855 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7856
7857         * text2.C (setCursorIntern): put debuging code in INSETS channel
7858
7859 2002-03-19  André Pönitz <poenitz@gmx.net>
7860
7861         * lyxfunc.C: tiny whitespace change
7862
7863 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7864
7865         * ToolbarDefaults.C (init):
7866         * LyXAction.C (init):
7867         * commandtags.h:
7868         * BufferView_pimpl.C (Dispatch):
7869         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7870
7871 2002-03-19  Allan Rae  <rae@lyx.org>
7872
7873         * exporter.C (Export): removeAutoInsets before doing anything else.
7874         While I've just introduced a dependency on BufferView this really is
7875         the best place to clean the buffer otherwise you need to cleanup in
7876         a dozen places before calling export or cleanup in a dozen functions
7877         that export calls.
7878
7879         * converter.C (runLaTeX):
7880         (scanLog): Better handling of removeAutoInsets and screen updates.
7881
7882         * lyxfunc.C (dispatch): small whitespace changes
7883
7884 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7885
7886         * WorkArea.C (C_WorkAreaEvent): return a value.
7887         (event_cb): return 1 if we handled the event, 0 otherwise.
7888
7889         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7890
7891 2002-03-18  Juergen Vigna  <jug@sad.it>
7892
7893         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7894         (GetAdditionalWidth): ditto.
7895         (RightLine): ditto.
7896         (LeftLine): ditto.
7897
7898         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7899         inset if we're there actually (probably not used right now but this
7900         is the direction to go for unifying code).
7901         (paste): disable code to clear the selection.
7902
7903         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7904         inside an InsetText and move the check further up as it is in the
7905         wrong place.
7906
7907         * text2.C (pasteSelection): set a selection over the pasted text.
7908
7909 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7910
7911         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7912         and libgraphics to build on Cygwin.
7913
7914 2002-03-15  Juergen Vigna  <jug@sad.it>
7915
7916         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7917         inserting an Inset into the paragraph. I know this is not the best
7918         fix but we already use current_view in CutAndPaste so we will remove
7919         all of it's using at the same time.
7920
7921         * buffer.C (sgmlError): deactivated function till it is rewritten in
7922         the right mode, now it can create problems.
7923
7924         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7925         before accessing it.
7926
7927 2002-03-14  Juergen Vigna  <jug@sad.it>
7928
7929         * undo_funcs.C (textHandleUndo): do the right thing when updating
7930         the inset after the undo/redo.
7931
7932         * text2.C (setCursor): just some testcode for #44 not ready yet.
7933
7934         * undo_funcs.C (textHandleUndo): set the next() and previous()
7935         pointers of the paragraph to 0 before deleting otherwise we have
7936         problems with the Paragraph::[destructor].
7937
7938         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7939         on a paragraph insertion.
7940
7941 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7942
7943         * buffer.C (asciiParagraph): use += operator for char append to
7944         string.
7945
7946         * paragraph.C (getFontSettings): compare >= not just >
7947         (highestFontInRange): ditto
7948         (setFont): ditto
7949
7950 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7951
7952         * paragraph.C: change several algorithm to be more appripriate for
7953         the problem domain. This is lookip in FontList and in the InsetList.
7954
7955 2002-03-13  André Pönitz <poenitz@gmx.net>
7956
7957         * commandtags.h:
7958         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7959
7960 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7961
7962         * commandtags.h:
7963         * LyXAction.C:
7964         * lyxfunc.C:
7965         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7966
7967 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7968
7969         * Painter.C (display): anon helper function, adjust code for this
7970         change.
7971         (pixmap): remove function.
7972
7973         * Painter.h: remove private display variable.
7974
7975         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7976
7977 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7978
7979         * WorkArea.[Ch]: remove figinset_canvas cruft.
7980
7981 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7982
7983         * lyxtextclass.C (operator): add one item cache optimization.
7984
7985         * bufferlist.h: doxy changes
7986
7987         * bufferlist.C: ws changes
7988
7989         * DepTable.[Ch] (ext_exist): place const in the right spot.
7990
7991         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7992         call resizeInsets.
7993         (workAreaExpose): call resizeInsets when the with BufferView changes.
7994         (Dispatch): adjust for protectedBlank removal
7995         (specialChar): call updateInset if the insert went ok.
7996
7997         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7998         specialChar instead.
7999
8000         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8001
8002         * BufferView.h: doxy change
8003
8004         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8005
8006         * lyxtextclass.C (operator[]): remove non-const version
8007         (defaultLayout): remove non-const version
8008
8009 2002-03-12  Juergen Vigna  <jug@sad.it>
8010
8011         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8012         did resize the LyXText too.
8013
8014         * buffer.C (readLyXformat2): set layout information on newly allocated
8015         paragraphs.
8016
8017         * tabular.C (OldFormatRead): set layout information on the paragraph.
8018
8019 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8020
8021         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8022
8023 2002-03-11  Juergen Vigna  <jug@sad.it>
8024
8025         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8026         plainly wrong.
8027         (resizeCurrentBuffer): force also the insets to resize themselfes.
8028         (moveCursorUpdate): fixed up for InsetText.
8029
8030 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8031
8032         * commandtags.h:
8033         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8034         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8035         value of Dialogs::tooltipsEnabled().
8036         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8037
8038 2002-03-08  Juergen Vigna  <jug@sad.it>
8039
8040         * BufferView_pimpl.C (updateInset): update inset inside inset also
8041         if it isn't inside theLockingInset().
8042
8043 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8044
8045         * buffer.C (asciiParagraph): redo some of the word and line length
8046         handling.
8047         (getLists): look for Caption instead of caption.
8048
8049 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8050
8051         * buffer.C (Buffer): initialize niceFile to true
8052         (makeLaTeXFile):
8053         (makeLinuxDocFile):
8054         (makeDocBookFile): make sure niceFile is true on exit
8055
8056 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8057
8058         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8059
8060 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8061
8062         * LyXSendto.C: remove.
8063         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8064         * lyx_gui.C: remove now-redundant comment.
8065         * ColorHandler.h: remove forward declaration of class WorkArea.
8066         * lyxfunc.C: remove #include "WorkArea.h".
8067
8068 2002-03-07  Juergen Vigna  <jug@sad.it>
8069
8070         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8071         got moved away with the DEPM and also set the inset_owner always
8072         right which before could have been omitted.
8073
8074 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8075
8076         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8077         wanted layout is not found.
8078
8079 2002-03-07  Juergen Vigna  <jug@sad.it>
8080
8081         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8082
8083 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8084
8085         * paragraph.C (breakParagraph): use default layout not layout of
8086         prev paragraph.
8087         (Paragraph): clear ParagraphParameters.
8088
8089 2002-03-06  Juergen Vigna  <jug@sad.it>
8090
8091         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8092         otherwise it would not be a valid lenght. Fixed a special case in
8093         the minipage compatibility read where we end the document with a
8094         minipage.
8095
8096         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8097         was set as it could be 0 for InsetTexts first entry.
8098
8099 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8100
8101         * paragraph.C (writeFile): if layout is empty write out
8102         defaultLayoutName().
8103
8104         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8105         file without named layout we set layout to defaultLayoutName().
8106
8107 2002-03-06  Juergen Vigna  <jug@sad.it>
8108
8109         * CutAndPaste.C (copySelection): set layout for new paragraph.
8110
8111         * text.C (prepareToPrint): leave ERT inset left aligned
8112         (leftMargin): don't indent paragraphs inside ERT insets
8113
8114 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8115
8116         * paragraph.C (breakParagraph): dont call clear do the work manually
8117
8118         * paragraph.[Ch] (clear): remove function
8119
8120 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8121
8122         * paragraph.C (Paragraph): dont call clear, the work has already
8123         been done.
8124
8125         * lyxtextclass.C (operator): assert if n is empty
8126
8127         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8128         work manually instead.
8129
8130 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8131
8132         * BufferView_pimpl.C: protect selectionLost against text == 0
8133
8134 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8135
8136         * text.C (breakParagraph): fix a setting layout to '0' problem.
8137
8138 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8139
8140         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8141         final location of file, for the included files, and graphics.
8142
8143 2002-03-05  Juergen Vigna  <jug@sad.it>
8144
8145         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8146
8147 2002-03-04  Juergen Vigna  <jug@sad.it>
8148
8149         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8150
8151         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8152         last column of multicolumn cells.
8153         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8154
8155 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8156
8157         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8158         file if it doesn't go to a temporary file.
8159
8160         * buffer.C (sgmlOpenTag):
8161         (sgmlCloseTag):  remove extra newline insertion.
8162
8163 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8164
8165         * text.C (getRowNearY): comment out debug msg
8166
8167 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8168
8169         * text2.C: first -> first_y
8170
8171         * text.C (getRowNearY): add some attemts at a possible
8172         optimization, not working.
8173
8174         * tabular.[Ch]: add BufferParams to several function so that newly
8175         created paragraph can be initialized to he default layotu for the
8176         buffers textclass.
8177
8178         * tabular-old.C (ReadOld): add buf->params to call of Init
8179
8180         * screen.C: rename text->first to text->first_y
8181
8182         * paragraph.C (breakParagraph): always set layout in the broken
8183         paragraph
8184
8185         * lyxtextclass.C (Read): remove lowercase
8186         (hasLayout): ditto
8187         (operator): ditto
8188         (delete_layout): ditto
8189
8190         * lyxtext.h: rename first -> first_y
8191
8192         * lyxlayout.C (Read): remove lowercase
8193         (name): ditto
8194         (setName): ditto
8195         (obsoleted_by): ditto
8196
8197         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8198
8199         * buffer.C (insertErtContents): add params are to InsetERT
8200         (parseSingleLyXformat2Token): add code to check if a paragraphs
8201         layout really exist.
8202         (parseSingleLyXformat2Token): add params to several inset
8203         constructors
8204         (asciiParagraph): remove lowercase, do the layout comparisons with
8205         no_case
8206
8207         * BufferView_pimpl.C (cursorNext): first -> first_y
8208         (resizeCurrentBuffer): first -> first_y
8209         (updateScrollbar): first -> first_y
8210         (scrollCB): first -> first_y
8211         (workAreaMotionNotify): first -> first_y
8212         (workAreaButtonPress): first -> first_y
8213         (checkInsetHit): first -> first_y
8214         (cursorPrevious): first -> first_y
8215         (cursorNext): first -> first_y
8216         (Dispatch): add buffer_->params to severl inset contructors
8217
8218 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8219
8220         * lyxlayout.C (Read): remove some debug info that I forgot.
8221
8222         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8223         clean up the code slightly.
8224         (makeLinuxDocFile): ditto
8225         (makeDocBookFile): ditto
8226
8227         * text2.C: layout as string
8228
8229         * text.C: layout as string
8230
8231         * paragraph_pimpl.C: layout as string
8232
8233         * paragraph.[Ch]: layout as string
8234
8235         * lyxtextclasslist.[Ch]: layout as string
8236
8237         * lyxtextclass.[Ch]: layout as string
8238
8239         * lyxtext.h: layout as string
8240
8241         * lyxlayout.[Ch]: layout as string
8242
8243         * lyx_cb.C: layout as string
8244
8245         * bufferview_funcs.C: layout as string
8246
8247         * bufferparams.C: layout as string
8248
8249         * buffer.C: layout as string
8250
8251         * LyXView.[Ch]: layout as string
8252
8253         * LaTeXFeatures.[Ch]: layout as string
8254
8255         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8256
8257         * BufferView_pimpl.C: change current_layout to string, remove
8258         lyx::layout_type.
8259         (Dispatch):
8260         (smartQuote):
8261         (insertInset):
8262         (workAreaButtonRelease): layout as string
8263
8264         * BufferView2.C (unlockInset): adjust
8265
8266         * vspace.C (asLatexCommand): use an explict temp variable.
8267
8268 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8269
8270         * Makefile.am: use FRONTEND_*
8271
8272 2002-03-01  Juergen Vigna  <jug@sad.it>
8273
8274         * tabular.C (SetWidthOfMulticolCell): changed to something better
8275         I hope but still work in progress.
8276         (recalculateMulticolumnsOfColumn): renamed function from
8277         recalculateMulticolCells as it is more appropriate now.
8278         (SetWidthOfCell): calculate multicols better.
8279
8280 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8281
8282         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8283
8284         * lyxfunc.C (processKeySym): print sequence also if it is
8285         `deleted' (complete)
8286
8287         * kbsequence.C (print): print sequence even if it is deleted
8288         (complete would be a better word, actually).
8289
8290         * lyxfunc.C (dispatch): print complete options after a prefix key
8291
8292         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8293
8294 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8295
8296         * text2.C (setCharFont): eliminate setCharFont code duplication.
8297
8298 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8299
8300         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8301         LFUN_TABULAR_FEATURE (bug #177)
8302
8303 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8304
8305         * Makefile.am: remove figure.h
8306
8307 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8308
8309         * Bufferview_pimpl.C:
8310         * CutAndPasteC:
8311         * LaTeX.C:
8312         * LyXSendto.C:
8313         * buffer.C:
8314         * bufferlist.C:
8315         * converter.C:
8316         * language.C:
8317         * lyxfunc.C:
8318         * lyxvc.C:
8319         * paragraph.C:
8320         * text.C:
8321         * text2.C: remove #include "lyx_gui_misc.h".
8322
8323         * LaTeX.C: added #include <cstdio>
8324
8325 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8326
8327         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8328         that the paragraph following this one can have.
8329
8330         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8331
8332         * vspace.C (asLatexCommand): fix bogus gcc warning
8333
8334         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8335
8336 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8337
8338         * text2.C (setLayout): get rid of redundant code
8339
8340 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8341
8342         * text2.C (incDepth): make sure depth cannot be increased beyond
8343         reasonable values.
8344
8345 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8346
8347         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8348         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8349
8350         * PainterBase.h (image):
8351         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8352         a LyXImage const *.
8353
8354 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8355
8356         * BufferView.C:
8357         * BufferView.h:
8358         * BufferView_pimpl.C:
8359         * BufferView_pimpl.h:
8360         * LaTeXFeatures.C:
8361         * LyXAction.C:
8362         * LyXView.C:
8363         * Makefile.am:
8364         * UpdateList.h:
8365         * UpdateList.C:
8366         * buffer.C:
8367         * figure.h:
8368         * figureForm.C:
8369         * figureForm.h:
8370         * figure_form.C:
8371         * figure_form.h:
8372         * lyx_cb.C:
8373         * lyx_gui.C:
8374         * lyx_gui_misc.C:
8375         * lyxfunc.C:
8376         * sp_base.h:
8377         * sp_ispell.h:
8378         * sp_pspell.h:
8379         * sp_spell.C: remove fig inset, and the crap house of
8380           cards that follows it
8381
8382 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8383
8384         * Makefile.am:
8385         * lyxserver.C:
8386         * os2_defines.h:
8387         * os2_errortable.h:
8388         * nt_defines.h: move .h into support/
8389
8390         * vms_defines.h: remove
8391
8392         * WorkArea.C: add space in debug output
8393
8394         * text2.C:
8395         * paragraph.C:
8396         * buffer.C: add WITH_WARNINGS
8397
8398         * vc-backend.h:
8399         * vc-backend.C:
8400         * bufferlist.C: s/retrive/retrieve/, add docs
8401
8402         * vspace.h:
8403         * vspace.C:
8404         * kbmap.h:
8405         * lyxlength.h:
8406         * lyxgluelength.h:
8407         * length_common.h:
8408         * chset.h:
8409         * chset.C: add docs
8410
8411         * lyxgui.C: add ID to X error handler
8412
8413         * lyxtestclass.c: fix typo
8414
8415 2002-02-26  Juergen Vigna  <jug@sad.it>
8416
8417         * tabular_funcs.C (write_attribute): changed so that some default
8418         attributes are not written at all.
8419         (getTokenValue): set default values before trying to read the
8420         value so we have the return value always set as default if we don't
8421         find the token we search for.
8422
8423         * tabular.C (Write): write bools as bools not as strings!
8424
8425 2002-02-22  Juergen Vigna  <jug@sad.it>
8426
8427         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8428         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8429
8430         * text.C (leftMargin): don't add an indent for paragraphs inside
8431         tabular cells (fix #208).
8432
8433 2002-02-21  José Matos  <jamatos@fep.up.pt>
8434
8435         * tabular.C (docBook): fixed support for long tables.
8436
8437 2002-02-20  Juergen Vigna  <jug@sad.it>
8438
8439         * text2.C (getFont): get the drawing font of the Inset if this
8440         paragraph is inside an inset (only important for InsetERT for now).
8441
8442         * buffer.C (insertErtContents): use new lanugage params in ERT
8443         constructor.
8444
8445         * CutAndPaste.C: commenting out seemingly uneeded code.
8446
8447 2002-02-19  Allan Rae  <rae@lyx.org>
8448
8449         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8450         Iterators might be simple to use but they also get invalidated.
8451         (removeAutoInsets): renamed saved cursor tracking variables and added
8452         some comments to clarify what everything does.
8453
8454 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8455
8456         * Chktex.C:
8457         * LaTeX.C:
8458         * LyXSendto.C:
8459         * converter.C:
8460         * lyx_cb.C:
8461         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8462         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8463
8464         * lyxfunc.C:
8465         * vc-backend.h: remove #include "support/syscall.h"
8466
8467         * LaTeX.C:
8468         * LyXSendto.C:
8469         * converter.C: rearrange #includes in Lars' approved fashion.
8470
8471         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8472         forward declare class Timeout in the header file.
8473
8474         * XFormsView.C: changes due to the above.
8475
8476         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8477         similar to LyXView.
8478
8479         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8480         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8481
8482 2002-02-18  José Matos  <jamatos@fep.up.pt>
8483
8484         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8485         insets contents.
8486
8487 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8488
8489         * a lot of small ws changes
8490         * add a lot of using std::XXX
8491         * use std construcs some places where approp.
8492         * use some exisint stuff from lyxfunctional where approp.
8493         * Make file changes to use partial linking (lets test this now...)
8494
8495 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8496
8497         * Chktex.C:
8498         * buffer.C:
8499         remove #include "support/syscontr.h" as it's redundant. Always has been.
8500
8501         * Chktex.C:
8502         * LaTeX.C:
8503         * LyXSendto.C:
8504         * converter.C:
8505         * lyx_cb.C:
8506         * vc-backend.C:
8507         change Systemcalls::System to Systemcalls::Wait and
8508         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8509         No change of functionality, just reflects the stripped down Systemcalls
8510         class.
8511
8512 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8513
8514         * debug.[Ch]: add a GRAPHICS type to the enum.
8515
8516 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8517
8518         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8519
8520         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8521         there is an inset.
8522
8523 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8524
8525         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8526         match the changes below.
8527
8528         * text2.C (toggleInset): if there is not editable inset at cursor
8529         position, try to see if cursor is _inside_ a collapsable inset
8530         and close it.
8531
8532 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8533
8534         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8535         document menu has a nice checkbox
8536
8537 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8538
8539         * lyxlength.C (asLatexString): change PW to output as percent of
8540         \textwidth.
8541
8542         * lengthcommon.C: change '%' to 't%'
8543
8544         * lyxfunc.C (dispatch): a few comments from Martin
8545
8546 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8547
8548         * WorkArea.h:
8549         * WorkArea.C:
8550         * BufferView_pimpl.h:
8551         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8552           the X selection.
8553
8554 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8555
8556         * vspace.C (inPixels): fix compiler warning
8557
8558 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8559
8560         * lyxfunc.C (getStatus): fix status message for disabled commands.
8561
8562 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8563
8564         * BufferView_pimpl.C: fix crash on close buffer
8565         during selection (#227)
8566
8567 2002-01-27  Herbert Voss  <voss@lyx.org>
8568
8569         * buffer.C: link old Figure to new graphic inset
8570
8571 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8572
8573         * FontLoader.C (getFontinfo): Change the latex font names in order
8574         to match the names of type1inst.
8575
8576 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8577
8578         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8579
8580         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8581         (extchanged): ditto
8582         (ext_exist): ditto
8583         (remove_files_with_extension): ditto
8584         (remove_file): ditto
8585         (write): ditto
8586
8587         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8588         document is smaller than the work area height. Do not initialize
8589         static variables to 0.
8590
8591 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8592
8593         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8594
8595         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8596         LFUN_LAYOUT_PARAGRAPHS.
8597
8598         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8599         tabular. It is possible to provide a possible cell, which will
8600         typically be the actcell from the corresponding insettabular
8601
8602         * lyxfunc.C (getStatus): small cleanup; disable
8603         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8604         true
8605
8606 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8607
8608         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8609
8610         * paragraph.C (startTeXParParams):
8611         (endTeXParParams): new methods. The LaTeX code to
8612         start/end paragraph formatting
8613         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8614         empty (fixes bug #200)
8615
8616         * vspace.C (inPixels): adapt to the change below
8617         (inPixels): [later] more cleanups (remove unused variables)
8618
8619         * lyxlength.C (inPixels): change to use a width and a height as
8620         parameter.
8621
8622 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8623
8624         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8625         Replaced with \paperwidth
8626
8627         * DepTable.C (insert): add std:: qualifier
8628
8629 2002-01-18  Allan Rae  <rae@lyx.org>
8630
8631         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8632         updated also?
8633
8634         * text.C (drawInset): Turned out I didn't know enough about how
8635         rebreaking worked.  This fixes most of the redraw problems.  I see
8636         an occasional cursor trail when a line is broken now and the cursor
8637         placement can seem out by a few pixels also after a rebreak.
8638
8639 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8640
8641         * buffer.C (parseSingleLyXformat2Token): update because minipage
8642         width is now a LyXLength
8643
8644         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8645
8646         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8647         math insets
8648
8649 2002-01-17  Juergen Vigna  <jug@sad.it>
8650
8651         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8652
8653         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8654         is set correctly and the inset is updated correctly.
8655
8656 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8657
8658         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8659         the beginning of the loop.
8660
8661 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8662
8663         * lyxrc.C: improve help for use_scalable_fonts
8664
8665 2002-01-17  Allan Rae  <rae@lyx.org>
8666
8667         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8668
8669 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8670
8671         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8672         make sure to set their inset_owner to the right value (bug #171)
8673
8674 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8675
8676         * DepTable.h
8677         * DepTable.C: Implement mtime checking to reduce time spent doing
8678         CRCs.
8679
8680 2002-01-16  Juergen Vigna  <jug@sad.it>
8681
8682         * tabular.C (GetAdditionalHeight): one of error fixed.
8683
8684         * lyxrc.C (output): small fix in writing use_pspell.
8685
8686 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8687
8688         * sp_base.h: #include LString.h
8689
8690 2002-01-16  Allan Rae  <rae@lyx.org>
8691
8692         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8693         Can someone check this please?
8694
8695         * text.C (drawInset): It was possible that p.row would be removed by
8696         breakAgainOneRow upsetting a few other settings.  There may be another
8697         small tweak possible by setting need_break_row = 0 when p.row has been
8698         removed but I don't know enough about the logic here.
8699
8700 2002-01-15  Allan Rae  <rae@lyx.org>
8701
8702         * text.C (insertChar): removed conditional truism.
8703
8704         * BufferView2.C (removeAutoInsets): More tweaks.
8705         cur_par_prev could be a stray pointer.  Check for trailing empty line
8706         in case last line was cur_par and only had an error inset on it.
8707
8708 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8709
8710         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8711         absolute
8712
8713         * vc-backend.C (most methods):
8714         * exporter.C (Export):
8715         * converter.C (convert):
8716         (runLaTeX):
8717         * LyXSendto.C (SendtoApplyCB):
8718         * lyxfunc.C (dispatch):
8719         (menuNew):
8720         (open):
8721         (doImport):
8722         * lyx_cb.C (AutoSave):
8723         (InsertAsciiFile):
8724         * BufferView_pimpl.C (MenuInsertLyXFile):
8725         * buffer.C (runChktex): use Buffer::filePath().
8726
8727         * buffer.h: rename filename to filename_; rename filepath to
8728         filepath_ and make it private
8729         (filePath): new method
8730
8731         * buffer.C (writeFile): use fileName()
8732         (getLatexName):
8733
8734         * lyx_main.C (init): fix starting  of LyX when the binary is a
8735         link from so,ewhere else.
8736
8737         * minibuffer.C: include <cctype> for isprint
8738
8739 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8740
8741         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8742         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8743         name clash with InsetCollapsable's width function.
8744
8745 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8746
8747         * lastfiles.C: include <iterator>
8748
8749 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8750
8751         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8752         std::count.
8753
8754         * buffer.C (makeLaTeXFile): ditto.
8755         Also make loop operation more transparent.
8756
8757 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8758
8759         * ToolbarDefaults.C: remove trailing comma closing namespace.
8760
8761         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8762
8763         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8764         as in WorkArea.
8765
8766         * trans.C (Load): comment out unused variable, allowed.
8767
8768 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8769
8770         * minibuffer.[Ch] (append_char): new method to recieve input from the
8771         drop-down completion browser. If a key was pressed, then recieve this
8772         char and append it to the existing string.
8773         (peek_event): modify the positioning data passed to the completion
8774         browser so that it can be placed above the minibuffer rather than below.
8775 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8776
8777         * LyXAction.C (init): alloe error-next for readonly documents.
8778
8779         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8780         count.
8781
8782 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8783
8784         * bufferlist.C (readFile): create the buffer _after_ checking that
8785         the file exists.
8786
8787         * lyxfunc.C (verboseDispatch): fix handling of arguments
8788
8789         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8790
8791         * lyxrc.C: use string::erase() instead of initializing to "".
8792
8793
8794 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8795
8796         * BufferView_pimpl.h:
8797         * BufferView_pimpl.C:
8798         * WorkArea.h:
8799         * WorkArea.C:
8800         * text2.C: tell X when we have made a selection for copying
8801
8802 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8803
8804         * BufferView_pimpl.C (MenuInsertLyXFile):
8805         * lyxfunc.C (menuNew):
8806         (open):
8807         (doImport): add shortcuts to directory buttons
8808
8809         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8810         open a float)
8811
8812         * lyxfunc.C (setStatusMessage):
8813         (getStatusMessage): new methods
8814         (getStatus):use setStatusMessage instead of setErrorMessage
8815         (dispatch): when function is disabled, set error message here
8816         [instead of in getStatus previously]
8817
8818         * BufferView_pimpl.C (workAreaButtonRelease): update
8819         toolbar/menubar here too.
8820
8821 2002-01-13  Allan Rae  <rae@lyx.org>
8822
8823         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8824         Now seems indestructible.  Remaining task is to audit all other
8825         code affected by deleteEmptyParagraphMechanism.  One small quirk
8826         left is that an empty document with an error in the preamble can
8827         be made to report an error but no error box appears.  I don't know
8828         where it goes.
8829         (removeAutoInsets): Improved comments.
8830
8831 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8832
8833         * Thesaurus.h:
8834         * Thesaurus.C: update for Aiksaurus 0.14
8835
8836 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8837
8838         * text2.C (firstParagraph): removed member function, all uses
8839         replaces with ownerParagraph
8840         (redoParagraphs): here
8841         (updateInset): here
8842         (toggleAppendix): here
8843         * BufferView2.C (insertErrors): here
8844         (setCursorFromRow): here
8845
8846 2002-01-13  Allan Rae  <rae@lyx.org>
8847
8848         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8849         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8850         There is still a way to segfault this although you may have to do this
8851         multiple times: Have an InsetERT with an unknown command in it.
8852         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8853         <down-arrow>, <Enter> again, View->DVI, BANG!
8854
8855         * text2.C (setCursor):
8856         (deleteEmptyParagraphMechanism):
8857         * lyxtext.h (setCursor):
8858         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8859         Making use of the return value may help fix other bugs.
8860
8861 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8862
8863         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8864
8865         * LyXView.C (updateMenubar): call MenuBar::update here
8866         (updateToolbar): but not here
8867         (showState): do not update toolbar/menubar
8868
8869         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8870         should need to care about that.
8871
8872         * lyxfunc.C (verboseDispatch): simplify a bit
8873         (getStatus): have a version which takes a pseudoaction, and
8874         another which requires a (kb_action,string).
8875
8876         * LyXAction.C (retrieveActionArg): make it work also when action
8877         is not a pseudo-action.
8878         (getActionName): simplify a bit
8879         (helpText):
8880
8881 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8882
8883         * lyxfunc.C (verboseDispatch): new families of methods with
8884         several ways to specify a command and a bool to indicate whether
8885         the command name and shortcut should be displayed in minibuffer
8886         (eventually, we could extend that to a finer bitmask like
8887         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8888         (dispatch): the pristine dispatch command which just, well,
8889         dispatchs! Note it still sets its result to minibuffer; I'm not
8890         sure we want that.
8891
8892         * lyxfunc.h: remove setHintMessage
8893
8894         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8895
8896 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8897
8898         * BufferView_pimpl.C (specialChar): delete new inset if we have
8899         not been able to insert it.
8900
8901         * kbmap.C: revert to using int instead of kb_action, since all we
8902         are dealing with is pseudo-actions.
8903
8904         * LyXAction.C (searchActionArg): change to return int instead of
8905         kb_action, since the result is a pseudoaction.
8906
8907 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8908
8909         * buffer.C (insertErtContents): Fix (partially) the font bug.
8910
8911 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8912
8913         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8914         as the other one is broken on my machine!
8915
8916 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8917
8918         * commandtags.h:
8919         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8920
8921 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8922
8923         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8924         reflect their actual use. Provide compatibility code for older lyxrc
8925         files.
8926
8927         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8928         FL_NORMAL_STYLE.
8929         change names of popup font variables in line with the changes to lyxrc.C
8930
8931 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8932
8933         * buffer.C (asciiParagraph): avoid outputing a word twice after
8934         an inset.
8935
8936         * lyxrc.C (getDescription): document that document_path and
8937         template_path can be empty.
8938
8939 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8940
8941         * LaTeXFeatures.C (getMacros):
8942         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8943
8944         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8945
8946         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8947         getPackages.
8948         (getPackages): rename feature "floats" to "float". Use an array to
8949         iterate over 'simple' features (i.e. just a \usepackage). Add
8950         handling of "amsmath" (renamed from "amsstyle").
8951
8952 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8953
8954         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8955         features list.
8956
8957 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8958
8959         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8960         FuncStaus::FuncStatus & FuncStaus::some_method().
8961
8962 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8963
8964         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8965         of the func_satus stuff. Edited and massaged in various ways by
8966         JMarc.
8967
8968         * lyxfunc.C (getStatus): use FuncStatus
8969
8970 2002-01-08  Juergen Vigna  <jug@sad.it>
8971
8972         * text.C (nextBreakPoint): use function Inset::isChar().
8973
8974         * paragraph.C (TeXOnePar): use function
8975         Inset::forceDefaultParagraphs.
8976
8977         * buffer.C (latexParagraphs): use function
8978         Inset::forceDefaultParagraphs.
8979
8980 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8981
8982         * lyx_gui.C (init): set the style of the menu popups to
8983         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8984
8985 2002-01-07  Juergen Vigna  <jug@sad.it>
8986
8987         * text.C (setHeightOfRow): small fix
8988         (prepareToPrint): don't look at alignment if we don't have the place
8989         for doing it.
8990
8991 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8992
8993         * box.C: New file. Move the Box methods and functions out of box.h,
8994         following Lars' suggestion.
8995
8996 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8997
8998         * box.h: #include "support/LOstream.h", needed for inlined function.
8999
9000         * lyxtextclass.C:
9001         * lyxtextclasslist.C: added some using std declarations.
9002
9003 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9004
9005         * box.h: make signed dimensions to allow insets wider than
9006           the screen (bug #162)
9007
9008         * BufferView_pimpl.C: add some insetHit debug
9009
9010 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9011
9012         * vc-backend.C: add FIXME
9013
9014 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9015
9016         * lyxfunc.C (getStatus): enable code for showing math font status
9017         in toolbar/menu.
9018
9019 2002-01-07  Juergen Vigna  <jug@sad.it>
9020
9021         * text.C (nextBreakPoint): removed debug output not needed anymore.
9022
9023 2002-01-06  Juergen Vigna  <jug@sad.it>
9024
9025         * text.C (nextBreakPoint): fixed up this function we had this bug
9026         since ever but now hopefully we break row better.
9027         (insertChar): we have to check if an inset is the next char as it
9028         could now happen that a large inset is causing a break.
9029
9030 2002-01-05  Juergen Vigna  <jug@sad.it>
9031
9032         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9033         if it doesn't like to be drawed.
9034
9035 2002-01-04  Juergen Vigna  <jug@sad.it>
9036
9037         * BufferView2.C (lockInset): forgot to set a cursor.
9038
9039         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9040
9041 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9042
9043         * FormMathsPanel.C:
9044         * FormMathsPanel.h
9045         * MathsSymbols.C:
9046         * form_maths_panel.C:
9047         * form_maths_panel.h:
9048         * form_maths_panel.fd: implemented sub- and super- buttons in math
9049         panel.
9050
9051         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9052         (or ^ space) to be used as in TeX (req'd by André).
9053
9054         * lyxfunc.C: Allow ^ and _ again to be used both as
9055         super/subscript (mathed) and as themselves (in text).
9056
9057 2002-01-03  Allan Rae  <rae@lyx.org>
9058
9059         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9060         "LyX" or the filename of the current buffer if it has one.  This is a
9061         modified form of John Levon's patch.
9062
9063         * XFormsView.C (setWindowTitle): also set icon title.
9064
9065         * LyXView.h (setWindowTitle): signature changed.
9066         * XFormsView.h (setWindowTitle): ditto.
9067
9068 2002-01-02  Juergen Vigna  <jug@sad.it>
9069
9070         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9071
9072 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9073
9074         * screen.C (topCursorVisible): introduce a temp var for
9075         text->cursor.row(), handle the case where this row is null. (kindo
9076         hachish)
9077
9078         * text2.C (setCursor): add a couple of asserts.
9079
9080         * paragraph.h (inset_iterator): add -> operator
9081
9082         * paragraph.[Ch] (autoDeleteInsets): remove member function
9083
9084         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9085         cursor pos correctly and handle inset deletion by itself.
9086         (insertErrors): move iterator declaration out of for expression
9087
9088         * lyxtextclass.C: add <algorithm>
9089
9090         * Makefile.am: added the new files to sources, removed layout.C
9091
9092         * layout.C: removed file
9093
9094         * layout.h: remove LYX_DUMMY_LAYOUT
9095
9096         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9097         layout.
9098
9099         * lyxlayout.[Ch]:
9100         * lyxtextclass.[Ch]:
9101         * lyxtextclasslist.[Ch]: new files
9102
9103         * include order changes to a lot of files, also changes because of
9104         the six new files.
9105
9106 2001-12-27  Juergen Vigna  <jug@sad.it>
9107
9108         * buffer.C (asciiParagraph): more fixes.
9109
9110         * tabular.C (ascii): make ascii export support export of only the
9111         data separated by a column-delimiter.
9112         (ascii): better support for ascii export.
9113
9114         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9115
9116 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9117
9118         * tabular_funcs.C: use a "using std::getline" instead of the
9119         previous fix from Angus (necessary for cxx + lyxstring)
9120
9121 2001-12-24  Juergen Vigna  <jug@sad.it>
9122
9123         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9124
9125         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9126         problems. First check a minipage also if we have some ert-contents
9127         (not only on par->size(), second set the right depth of the paragraph
9128         on the relink to the root-paragraph-list!
9129
9130         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9131         which then did not anymore update the main paragraphs on undo/redo!
9132
9133 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9134
9135         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9136         code. Support all font-changing funcs (even those which are not in
9137         menu currently). Support for reporting font settings in
9138         mathed (disabled until Andre provides a function on mathed's side).
9139
9140         * func_status.h (toggle): small helper function to set toggle
9141         state on a flag.
9142
9143 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9144
9145         * tabular_funcs.C: getline -> std::getline
9146
9147 2001-12-21  Juergen Vigna  <jug@sad.it>
9148
9149         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9150         accessed and could be 0 (I couldn't generate this but it seems
9151         Michael could!).
9152
9153 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9154
9155         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9156         * tabular_funcs.h: here and include iosfwd
9157
9158 2001-12-20  Juergen Vigna  <jug@sad.it>
9159
9160         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9161         inside inset but undo_par was.
9162
9163 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9164
9165         * Thesaurus.C: always include <config.h> in sources.
9166
9167         * Painter.h:
9168         * lyxlookup.h:
9169         * box.h: do not include <config.h> in header files
9170
9171         * text.C (paintLastRow): remove unused variable
9172
9173         * text.C (transformChar):
9174         (insertChar):
9175         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9176
9177         * Painter.C (text):
9178         * font.C (width): rewrite to use uppercase() instead of
9179         islower/toupper.
9180
9181         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9182
9183 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9184
9185         * lyxfind.C: clean up of find failure position change
9186
9187 2001-12-20  Juergen Vigna  <jug@sad.it>
9188
9189         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9190
9191         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9192         (TeXRow): added to LaTeX a single tabular row.
9193         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9194         (Latex): simplified and finally good LT-h/f support.
9195         (various_functions): just small adaptions for LT-h/f support.
9196
9197         * tabular_funcs.[hC]: added and moved here all not classfunctions
9198         of LyXTabular.
9199
9200 2001-12-19  Juergen Vigna  <jug@sad.it>
9201
9202         * tabular.[Ch]: better support for longtabular options (not finished
9203         yet!)
9204
9205 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9206
9207         * text.C (paintLastRow): use the label font instead of the font of
9208         the last character to compute the size of *_BOX. This makes more
9209         sense and avoids a crash with empty paragraphs.
9210         Use Painter::rectangle to draw EMPTY_BOX.
9211
9212 2001-12-19  Juergen Vigna  <jug@sad.it>
9213
9214         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9215         the paragraphs if the replaced paragraph is not the first one!
9216         Tried to delete not used paragraphs but does not work yet so for
9217         now it's inside #ifdef's and by default off!
9218
9219 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9220
9221         * MenuBackend.C: include "lyx_main.h" instead of declaring
9222         lastfiles (actually was declared as LastFiles* instead of a
9223         scoped_ptr).
9224
9225 2001-12-17  Juergen Vigna  <jug@sad.it>
9226
9227         * tabular.C (AppendColumn): applied John's fix
9228
9229 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9230
9231         * BufferView.h:
9232         * BufferView.C:
9233         * BufferView_pimpl.h:
9234         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9235
9236         * Makefile.am:
9237         * box.h: new start of class for above
9238
9239         * lyxfunc.C: ignore space-only minibuffer dispatches.
9240           Show the command name when it doesn't exist
9241
9242         * minibuffer.C: don't add empty lines to the history
9243
9244         * minibuffer.C: add a space on dropdown completion
9245
9246 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9247
9248         * text.C: fix line above/below drawing in insets
9249
9250 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9251
9252         * lyxlength.C (LyXLength): Initialize private variables.
9253
9254 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9255
9256         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9257         when inserting error insets.
9258
9259 2001-12-13  Juergen Vigna  <jug@sad.it>
9260
9261         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9262         actually sometimes the before-paragraph.
9263         (setUndo): don't clear the redostack if we're not actually undoing!
9264
9265 2001-12-06  Juergen Vigna  <jug@sad.it>
9266
9267         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9268         and fixed redoing of main paragraph, so we can use it now ;)
9269
9270         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9271
9272 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9273
9274         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9275         Juergen's request
9276
9277 2001-12-13  André Pönitz <poenitz@gmx.net>
9278
9279         * undostack.[Ch]:
9280         * undo_func.C: minor cleanup
9281
9282 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9283
9284         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9285         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9286         font in urw-fonts package which is marked as -urw-fontspecific and
9287         does not work (incidentally, changing the encoding in the
9288         fonts.dir of this package to -adobe-fontspecific fixes the
9289         problem).
9290
9291         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9292         is a crash when undoing first paragraph (Juergen, please take a
9293         look). THis does not mean the undo fix is wrong, just that it
9294         uncovers problems.
9295
9296         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9297         the (Paragraph*) version when needed instead of duplicating the
9298         code.
9299
9300         * text.C (workWidth): use Inset::parOwner to find out where the
9301         inset has been inserted. This is a huge performance gain for large
9302         documents with lots of insets. If Inset::parOwner is not set, fall
9303         back on the brute force method
9304
9305         * paragraph_pimpl.C (insertInset):
9306         * paragraph.C (Paragraph):
9307         (cutIntoMinibuffer): set parOwner of insets when
9308         inserting/removing them
9309
9310         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9311
9312 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9313
9314         * commandtags.h:
9315         * LyXAction.C:
9316         * lyx_main.C:
9317         * lyxfunc.C:
9318         * mathed/formulabase.C:
9319         * mathed/math_cursor.[Ch]:
9320         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9321
9322
9323 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9324
9325         * lyxlength.[Ch] (operator!=): new function
9326
9327 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9328
9329         * text.C (workWidth): use Inset::parOwner to find out where the
9330         inset has been inserted. This is a huge performance gain for large
9331         documents with lots of insets. If Inset::parOwner is not set, fall
9332         back on the brute force method
9333
9334         * paragraph_pimpl.C (insertInset):
9335         * paragraph.C (Paragraph):
9336         (cutIntoMinibuffer): set parOwner of insets when
9337         inserting/removing them
9338
9339         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9340
9341 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9342
9343         * tabular-old.C (getTokenValue):
9344         * tabular.C (getTokenValue):
9345         (write_attribute): new versions for LyXLength
9346         (everywhere): adjust the use of widths
9347
9348         * tabular.h: change the type of widths from string to LyXLength
9349
9350 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9351
9352         * paragraph.C: fixed missing line number count when exporting
9353         Environments to LaTeX file
9354
9355         * buffer.C: added informational message for checking line numbers.
9356
9357 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9358
9359         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9360         paragraph, do the 'double space' part, but not the 'empty
9361         paragraph' one.
9362
9363         * text.C (workWidth): small optimization
9364         (getLengthMarkerHeight): use minimal size for negative lengths.
9365
9366 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9367
9368         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9369
9370         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9371
9372 2001-12-11  André Pönitz <poenitz@gmx.net>
9373
9374         * FontLoader.C:
9375         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9376
9377 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9378
9379         * text2.C: keep selection on a setFont()
9380
9381 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9382
9383         * lyx_cb.C: another bv->text misuse, from insert label
9384
9385 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9386
9387         * kbsequence.h:
9388         * kbsequence.C: re-instate nmodifier mask
9389
9390 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9391
9392         * lyx_main.h: make lyxGUI private.
9393
9394 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9395
9396         * lyxfind.C: place the cursor correctly on failed search
9397
9398 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9399
9400         * text.C (getLengthMarkerHeight): for small heights, the arrows
9401         are not always on top/bottom of the text
9402         (drawLengthMarker): smaller arrows; take the left margin in
9403         account; draw also vfills.
9404         (paintFirstRow):
9405         (paintLastRow): remove special code for vfill and standard spaces,
9406         since everything is handled in drawLengthMarker now.
9407
9408 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9409
9410         * buffer.C (insertErtContents): try to handle font and language
9411         interaction a bit better.g
9412
9413         * ColorHandler.C (updateColor): change the hash to cover the whole
9414         LColor enum, ws cleanup
9415         (getGCLinepars): ditto
9416         (getGCLinepars): only lookup in the linecache once.
9417
9418 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9419
9420         * iterators.C (operator++): Make the iterator more robust
9421
9422         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9423         (John's patch)
9424         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9425
9426 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9427
9428         * lyxtext.h:
9429         * text.C: better added space drawing
9430
9431 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9432
9433         * LyXView.C:
9434         * BufferView2.C: fix layout combo update on inset unlock
9435
9436 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9437
9438         * Makefile.am: don't compile unused files
9439
9440 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9441
9442         * lyxfunc.C:
9443         * commandtags.h:
9444         * LyXAction.C: remove old LFUN_LAYOUTNO
9445
9446 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9447
9448         * paragraph_pimpl.h:
9449         * paragraph_pimpl.C: isTextAt() doesn't need font param
9450
9451 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9452
9453         * lyxlex.h:
9454         * lyxlex.C: little cleanup
9455
9456 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9457
9458         * BufferView_pimpl.C: fix insertAscii for insets
9459
9460 2001-12-05  Juergen Vigna  <jug@sad.it>
9461
9462         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9463         set the right font on the "multi" paragraph paste!
9464
9465 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9466
9467         * trans_decl.h:
9468         * trans_mgr.[Ch]:
9469         * trans.[Ch]:
9470         * lyxgluelength.C:
9471         * lyxlength.C: remove out-commented code.
9472
9473         * BufferView_pimpl:
9474         * CutAndPaste.C:
9475         * DepTable.C:
9476         * buffer.C:
9477         * chset.C:
9478         * lastfiles.C:
9479         * lyxlex.C:
9480         * lyxlex_pimpl.C:
9481         * lyxserver.C:
9482         * screen.C:
9483         * tabular-old.C:
9484         * tabular.C:
9485         * text.C:
9486         * trans_mgr.C:
9487         * vc-backend.C: change "while(" to "while ("
9488
9489         * lyxlength.[Ch]: add zero function to check if length is zero or
9490         not
9491         * lyxgluelength.C: use it
9492
9493 2001-12-05  Allan Rae  <rae@lyx.org>
9494
9495         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9496         Works for 2.95.3, from what I understand of Garst's reports this should
9497         work for other g++ versions.  We're screwed if the abs(int) definition
9498         changed between bugfix releases of gcc.
9499
9500 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9501
9502         * text.C: fix chapter label offset !
9503
9504 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9505
9506         * lyxtext.h:
9507         * text.C: fix hfill at end of line, clean up
9508
9509 2001-12-04  Juergen Vigna  <jug@sad.it>
9510
9511         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9512         that we force an update of the inset and it's owners if neccessary.
9513
9514 2001-12-03  Juergen Vigna  <jug@sad.it>
9515
9516         * text.C (rowLast): simplified code
9517
9518 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9519
9520         * lyxfunc.C: fix show options on timeout
9521
9522 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9523
9524         * screen.C (topCursorVisible): scroll half a page when the cursor
9525         reached top of bottom of screen
9526
9527 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9528
9529         * minibuffer.C: deactivate on loss of focus
9530
9531 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9532
9533         * vspace.[Ch] (operator!=): add operator.
9534
9535 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9536
9537         * BufferView_pimpl.C: refuse to open an inset when
9538         there's a selection.
9539
9540 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9541
9542         * BufferView_pimpl.C: allow to click on RHS of full row insets
9543
9544 2001-11-30  Juergen Vigna  <jug@sad.it>
9545
9546         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9547         insets for undo reasons.
9548
9549 2001-11-28  André Pönitz <poenitz@gmx.net>
9550
9551         * vspace.[Ch]: cosmetical changes
9552
9553 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9554
9555         * LyXAction.h:
9556         * LyXAction.C:
9557         * lyxfunc.h:
9558         * lyxfunc.C:
9559         * kbmap.h:
9560         * kbmap.C:
9561         * lyxrc.C:
9562         * kbsequence.h:
9563         * kbsequence.C: part re-write of old kb code
9564
9565         * Painter.C:
9566         * WorkArea.C: remove Lgb_bug_find_hack
9567
9568 2001-11-30  José Matos <jamatos@fep.up.pt>
9569
9570         * buffer.C (makeDocBookFile): add a comment to point a hack.
9571         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9572         Fixed a double write of labels.
9573
9574 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9575
9576         * LaTeX.C:
9577         * LaTeX.h Fixed bug in LaTeX class where it would not
9578         re-run latex if no depfiles were changed, but the .dvi was removed.
9579
9580 2001-11-28  André Pönitz <poenitz@gmx.net>
9581
9582         * all the files from the change on 2001/11/26:
9583         use lyx::layout_type instead of LyXTextClass::size_type
9584         use lyx::textclass_type instead of LyXTextClassList::size_type
9585
9586 2001-11-29  Juergen Vigna  <jug@sad.it>
9587
9588         * text.C: added support for paragraph::isFreeSpacing()
9589
9590         * buffer.C: same as above
9591
9592         * paragraph.h: inserted isFreeSpacing() function to enable
9593         FreeSpacing inside InsetERT.
9594
9595         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9596         of the paragraph's in the cut/copy buffer to 0!
9597
9598         * text2.C (removeRow): remove the assert as it can!
9599
9600         * lyxtext.h: added helper function firstRow returning firstrow and
9601         made firstrow private again.
9602
9603         * BufferView2.C (lockInset): don't relock if we're already locked!
9604
9605         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9606         the only paragraph.
9607         (removeRow): added Assert::(firstrow)
9608
9609         * debug.C: forgot to add INSETTEXT here.
9610
9611 2001-11-28  Juergen Vigna  <jug@sad.it>
9612
9613         * sp_spell.C (initialize): changed error text to more general
9614         spellchecker command use (not only ispell!)
9615
9616         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9617
9618         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9619
9620 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9621
9622         * vspace.C: initialise lyxgluelength on failure
9623
9624 2001-11-28  Allan Rae  <rae@lyx.org>
9625
9626         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9627         declaration & definition that looks like a function declaration.
9628
9629 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9630
9631         * BufferView2.C (copy):
9632         (copyEnvironment): do not clear the selection when doing a copy.
9633
9634         * text.C (paintFirstRow): compilation fix
9635
9636 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9637
9638         * tabular.C (Latex): correct line count when writing latex.
9639
9640 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9641
9642         * paragraph_pimpl.h:
9643         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9644           bug a bit
9645
9646 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9647
9648         * text.C:
9649         * LColor.h:
9650         * LColor.C: change vfillline->added_space
9651
9652         * text.C: add markers and text for added space
9653
9654         * vspace.C: fix comment
9655
9656 2001-11-28  André Pönitz <poenitz@gmx.net>
9657
9658         * paragraph.C: whitespace changes
9659         * all the other files from the change on 2001/11/26:
9660         change *::pos_type into lyx::pos_type
9661
9662 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9663
9664         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9665         language of the document when inserting error insets.
9666
9667 2001-11-26  André Pönitz <poenitz@gmx.net>
9668
9669         * BufferView_pimpl.[Ch]:
9670         *       CutAndPaste.C:
9671         * buffer.[Ch]:
9672         * lyxcursor.[Ch]:
9673         * lyxfind.C:
9674         * lyxfunc.C:
9675         * lyxrow.[Ch]:
9676         * paragraph.[Ch]:
9677         * paragraph_pimpl.[Ch]:
9678         * sp_spell.C:
9679         * text.C:
9680         * text2.C: reduce header dependencies, introduce type for positions
9681
9682 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9683
9684         * <various>: change to use Alert.h
9685
9686 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9687
9688         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9689         when encountering an unknown token.
9690         (readLyXformat2): Show an error message if there were unknown tokens.
9691
9692 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9693
9694         * BufferView2.C:
9695         * BufferView_pimpl.C:
9696         * buffer.C:
9697         * paragraph.h:
9698         * text.C:
9699         * text2.C: use par->isInset()
9700
9701 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9702
9703         * paragraph_pimpl.h:
9704         * paragraph_pimpl.C: cleanup
9705
9706 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9707
9708         * text2.C (removeRow):
9709         * text.C (setHeightOfRow): remove useless (and costly) call to
9710         getRow.
9711
9712 2001-11-20  Allan Rae  <rae@lyx.org>
9713
9714         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9715         Now need Inset*::checkInsertChar() to return true for appropriate
9716         cases so that the characters in the minibuffer will actually be
9717         inserted.
9718
9719 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9720
9721         * text.C: change the order of the includes.
9722         (workWidth): initialize it at once.
9723         (workWidth): make maxw unsigned
9724         (setHeightOfRow): remove unused variable (inset)
9725         (selectSelectedWord): remove unused variable (inset)
9726         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9727
9728 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9729
9730         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9731         server is not running.
9732         (openConnection):
9733         (closeConnection): add debug info when server is disabled.
9734
9735         * ColorHandler.C (getGCForeground): send debug message to GUI
9736         channel.
9737
9738         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9739
9740         * kbmap.C (bind): modify because return conventions of
9741         kb_sequence::parse have changed.
9742
9743         * kbsequence.C (parse): only ignore spaces and not any stupid
9744         control character. This avoids tests like s[i] <= ' ', which are
9745         guaranteed to fail with 8bit characters and signed chars.
9746         Change return code to string::npos when there have been no error
9747         (0 was a bad idea when error is at first character)
9748
9749 2001-11-14  José Matos  <jamatos@fep.up.pt>
9750
9751         * buffer.h:
9752         * buffer.C (simpleDocBookOnePar): removed unused argument.
9753
9754 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9755
9756         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9757         insets which are part of a word. Paragraph::isLetter takes care of
9758         that now. Use Paragraph::isInset to identify insets.
9759         (selectSelectedWord): do not test for hyphenation break.
9760
9761         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9762         that protected spaces are considered as spaces.
9763
9764         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9765         Inset::isLetter.
9766
9767 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9768
9769         * lyxserver.h:
9770         * lyxserver.C: fix it. and small cleanup.
9771
9772 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9773
9774         * BufferView_pimpl.C: use inline helpers
9775
9776         * LaTeXFeatures.h:
9777         * LaTeXFeatures.C: fix typos
9778
9779         * Spacing.h:
9780         * Spacing.C: move spacing_string into class
9781
9782         * ToolbarDefaults.C: move stuff into namespace anon
9783
9784         * layout.h: update enum
9785
9786         * lyxfunc.C: use better debug
9787
9788         * minibuffer.h: fix typo
9789
9790         * debug.h:
9791         * debug.C:
9792         * WorkArea.C: add and use Debug::WORKAREA
9793
9794         * lyxtext.h:
9795         * text.C:
9796         * text2.C: code re-organisation, inline helpers
9797
9798 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9799
9800         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9801         std::vector.empty().
9802
9803 2001-11-09  Allan Rae  <rae@lyx.org>
9804
9805         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9806         '\n's after tables.  Tabular and ERT inset work now makes this no
9807         longer necessary.
9808
9809 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9810
9811         * minibuffer.h:
9812         * minibuffer.C: fix crash, improve drop-down completion
9813
9814 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9815
9816         * lyxserver.h:
9817         * lyxserver.C: invalidate fd's when doing endPipe()
9818
9819 2001-11-08  José Matos  <jamatos@fep.up.pt>
9820
9821         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9822         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9823
9824         * paragraph.h:
9825         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9826
9827 2001-11-07  José Matos  <jamatos@fep.up.pt>
9828
9829         * buffer.h:
9830         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9831         const qualifier.
9832
9833         * buffer.C (sgmlOpenTag):
9834         * buffer.C (sgmlCloseTag): removed debug info.
9835
9836         * buffer.h (sgmlOpenTag):
9837         * buffer.h (sgmlCloseTag): made public.
9838
9839 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9840
9841         * buffer.C (saveParamsAsDefaults):
9842         * lyx_cb.C (MenuLayoutSave): remove
9843
9844         * LyXAction.C (init):
9845         * commandtags.h:
9846         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9847
9848 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9849
9850         * buffer.C (setPaperStuff): removed from here...
9851
9852         * bufferparams.C (setPaperStuff): ... and moved there.
9853
9854 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9855
9856         * minibuffer.h:
9857         * minibuffer.C:
9858         * XFormsView.C: add support for drop-down completion
9859
9860 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9861
9862         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9863         commands.
9864
9865 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9866
9867         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9868         disabled.
9869
9870 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9871
9872         * lyx_main.C: change ref to known bugs
9873
9874 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9875
9876         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9877         to work around older babel problems.
9878
9879 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9880
9881         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9882
9883 2001-10-24  Juergen Vigna  <jug@sad.it>
9884
9885         * tabular-old.C (ReadOld): below variable changes reflected.
9886
9887         * tabular.[Ch]: added ltType struct for longtable header/footer
9888         defines and changed all instances where they are used. Added
9889         future support for double top/bottom rows.
9890
9891 2001-10-24  José Matos  <jamatos@fep.up.pt>
9892
9893         * buffer.h (docbookHandleCaption):
9894         * buffer.C (docbookHandleCaption): removed unused function.
9895         (makeDocBookFile): moved docbook supported version to v4.1.
9896
9897 2001-10-24  José Matos  <jamatos@fep.up.pt>
9898
9899         * tabular.h:
9900         * tabular.C (docbookRow): new function to export docbook code of a row.
9901         (DocBook): now honors the longtable flags.
9902
9903 2001-10-23  José Matos  <jamatos@fep.up.pt>
9904
9905         * LaTeXFeatures.h:
9906         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9907         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9908
9909         * buffer.C (makeLinuxDocFile):
9910         (makeDocBookFile): reworked the preamble, more clean, and with
9911         support for lyx defined entities. Changed the document declaration
9912         to be more XML friendly.
9913
9914         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9915         if we need to output XML that should be done with a filter.
9916
9917 2001-10-22  Juergen Vigna  <jug@sad.it>
9918
9919         * sp_pspell.h (class PSpell): add alive function needed in the
9920         controller to see if the spellchecker could be started.
9921
9922 2001-10-22  Juergen Vigna  <jug@sad.it>
9923
9924         * buffer.C (insertStringAsLines): modify the font for inserting
9925         chars in certain conditions by calling checkInsertChar(font).
9926
9927 2001-10-19  Juergen Vigna  <jug@sad.it>
9928
9929         * text.C (workWidth): use getRow instead of wrong algorithm.
9930         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9931
9932 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9933
9934         * lyxserver.h:
9935         * lyxserver.C:
9936         * lyx_main.h:
9937         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9938
9939 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9940
9941         * text.C (workWidth): do not search for the exact row when
9942         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9943         optimization for big documents.
9944
9945 2001-10-18  Juergen Vigna  <jug@sad.it>
9946
9947         * text.C (workWidth): new function with added Inset * parameter.
9948
9949 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9950
9951         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9952
9953         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9954         change return type of getColumnNearX.
9955
9956
9957         * text.C (changeRegionCase): use uppercase/lowercase instead of
9958         toupper/tolower.
9959         (leftMargin):
9960         (rightMargin): simplify code by factoring out the uses of
9961         textclasslist.
9962         (labelFill):
9963         (numberOfHfills):
9964         (setHeightOfRow):
9965         (appendParagraph): use Paragraph::size_type
9966
9967 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9968
9969         * vspace.C (asLatexString): add a missing break
9970
9971 2001-10-15  Herbert Voss  <voss@perce.de>
9972
9973         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9974
9975 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9976
9977         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9978         is not available.
9979
9980 2001-10-10  André Pönitz <poenitz@gmx.net>
9981
9982         * lyxfunc.C: removed greek_kb_flag.
9983
9984 2001-10-10  Herbert Voss  <voss@perce.de>
9985
9986         * lyx_main.C: delete global string help_lyxdir.
9987
9988 2001-10-09  Herbert Voss  <voss@perce.de>
9989
9990         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9991
9992         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9993
9994         * lyx_main.C: added global string help_lyxdir.
9995
9996         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9997
9998 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9999
10000         * lyxrc.C (set_font_norm_type): support iso8859-4
10001
10002 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10003
10004         * LaTeX.C (deplog): add another regex for MikTeX
10005
10006 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10007
10008         * lyxrc.C (set_font_norm_type): support iso8859-3
10009
10010 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10011
10012         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10013
10014         * LaTeXFeatures.C: remove special case of french and index
10015
10016         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10017         before \begin{document}). This solves several incompatibilities.
10018
10019 2001-10-03  Garst Reese  <reese@isn.net>
10020
10021         * lyx_cb.C: change CheckTex error msg.
10022
10023 2001-10-03  José Matos  <jamatos@fep.up.pt>
10024
10025         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10026
10027 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10028
10029         * .cvsignore: update
10030
10031         * lyx_main.C (commandLineVersionInfo): use new style version info.
10032
10033         * buffer.C (writeFile):
10034         (makeLaTeXFile):
10035         (makeLinuxDocFile):
10036         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10037
10038         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10039
10040         * version.h: update to use stuff in version.C
10041
10042         * version.C.in: new file. Contains version information determined
10043         at compile time. This is a merging of version.h and
10044         version_info.h.in.
10045
10046 2001-10-03  Juergen Vigna  <jug@sad.it>
10047
10048         * BufferView_pimpl.C (update): don't change "dirty" status in
10049         updateInset call.
10050
10051 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10052
10053         * WorkArea.C (c-tor): re-position version string slightly.
10054
10055 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10056
10057         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10058         revert to previous code.
10059
10060         WorkArea.[Ch]: (show, destroySplash): methods removed.
10061
10062         WorkArea.C: rework code so that it's an amalgam of the codes before and
10063         after the splash screen was moved to WorkArea.
10064
10065 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10066
10067         * lyxrc.C (read):
10068         * vspace.C (inPixels):
10069         (lyx_advance):
10070         * kbmap.C (bind):
10071         * buffer.C (insertStringAsLines):
10072         (asciiParagraph): fix types to be large enough
10073
10074         * lyxlex_pimpl.h: change member status from short to int
10075
10076         * layout.h: fix type of endlabeltype
10077
10078         * kbmap.C (bind):
10079         * kbsequence.C (parse): change return type to string::size_type
10080
10081         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10082         variable
10083
10084         * Bullet.C (bulletSize):
10085         (bulletEntry): do not use short ints as parameters
10086
10087         * BufferView2.C (insertLyXFile): change a char to an int.
10088
10089         * WorkArea.C (WorkArea): remove unneeded floats in computation
10090
10091 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10092
10093         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10094
10095         * paragraph.C (asString): Do not ignore newline/hfill chars when
10096         copying to the clipboard.
10097
10098 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10099
10100         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10101         after a multi-line inset.
10102
10103 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10104
10105         * paragraph.C (validate): Set NeedLyXFootnoteCode
10106
10107 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10108
10109         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10110         and decrease-error to decrease.
10111
10112 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10113
10114         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10115         it more readable (should be equivalent)
10116
10117 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10118
10119         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10120
10121 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10122
10123         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10124         of a cursor (row, etc.) after a character has been deleted
10125         (deleteEmptyParagraphMechanism): call the method above on _all_
10126         cursors held by the LyXText when a double space has been
10127         detected/deleted.
10128
10129 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10130
10131         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10132         pixmap.
10133         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10134
10135         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10136         background. Use greyOut() and the new show() methods to toggle between
10137         the foreground and background. Add code to remove the splash after
10138         its initial showing.
10139
10140         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10141         (create_forms): no longer call Dialogs::showSplash.
10142
10143 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10144
10145         * .cvsignore: add version_info.h
10146
10147 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10148
10149         * version_info.h.in: new file
10150
10151         * Makefile.am: add version_info.h.in
10152
10153         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10154         version_info.h instead of VERSION_INFO
10155
10156 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10157
10158         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10159         The ERT inset now returns string().
10160
10161 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10162
10163         * lyxtext.h, text.C (selectNextWord): renamed as
10164         selectNextWordToSpellcheck.
10165
10166         * text.C (selectNextWordToSpellcheck): Modified to not select
10167         words inside an ERT inset.
10168
10169 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10170
10171         * lyx_cb.C (MenuLayoutSave): change a bit the question
10172
10173         * sp_base.h: include <sys/types.h>
10174
10175 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10176
10177         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10178
10179 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10180
10181         * several files: fix typos in user-visible strings
10182
10183 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10184
10185         * text2.C (pasteSelection): do not set the selection, since it
10186         will be cleared later. Actually, the intent was to fix the way the
10187         selection was set, but I figured rmoving the code was just as good.
10188
10189 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10190
10191         * FontLoader.C (available): Check if font is available without
10192         loading the font.
10193
10194 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10195
10196         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10197
10198 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10199
10200         * lyxrc.[Ch]: added display_graphics variable and associated code.
10201
10202 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10203
10204         * bufferparams.C (hasClassDefaults): new method. Returns true if
10205         the buffer parameters correspond to known class defaults
10206
10207 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10208
10209         * XFormsView.C (show): set minimum size to the main window.
10210
10211 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10212
10213         * text2.C (copySelection):
10214         (cutSelection):
10215         * lyxfind.C (LyXReplace):
10216         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10217         LyXText::selectionAsString.
10218
10219         * paragraph.C (asString): add "label" argument to the second form
10220
10221         * text2.C (selectionAsString): add "label" argument and pass it to
10222         Paragraph::asString.
10223
10224 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10225
10226         * lyx_main.C (commandLineHelp): remove version information
10227
10228 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10229
10230         * lyx_main.C: add -version commandline option
10231
10232 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10233
10234         * paragraph.h: make the optional constructor arg required instead.
10235         some modifications to other files because of this.
10236
10237         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10238
10239         * lyxserver.C (C_LyXComm_callback): make it static
10240
10241         * lyx_main.C (error_handler): make it static
10242
10243         * lyx_gui.C (LyX_XErrHandler): make it static
10244
10245         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10246
10247         * WorkArea.C: make the extern "C" methods static.
10248
10249         * Makefile.am (lyx_LDADD): simplify
10250
10251 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10252
10253         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10254         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10255
10256         * LyXAction.C (init):
10257         * lyxfunc.C (dispatch): associated code removal.
10258
10259 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10260
10261         * lyxfont.h (isSymbolFont): shut off warning
10262
10263         * text.C (setHeightOfRow):
10264         (getVisibleRow): fix crash with empty paragraphs which have a
10265         bottom line
10266
10267 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10268
10269         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10270         code.
10271
10272 2001-09-04  José Matos  <jamatos@fep.up.pt>
10273         * buffer.C
10274         * buffer.h
10275         * tabular.C (docbook): rename docBook method to docbook.
10276
10277 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10278
10279         * Makefile.am: add dependencies to main.o.
10280
10281 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10282
10283         * FontLoader.C (available): Return false if !lyxrc.use_gui
10284
10285 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10286
10287         * FontInfo.C (query):
10288         * converter.C (view):
10289         * importer.C (Import):
10290         * exporter.C (Export): Can not -> cannot.
10291
10292 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10293
10294         * BufferView_pimpl.C: allow to create index inset even if
10295           string is empty
10296
10297 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10298
10299         * buffer.C (getLists): replace boost::tie code with an explicit pair
10300         as boost::tie can break some compilers.
10301
10302         * iterators.h: Added a std:: declaration to the return type of
10303         ParIterator::size.
10304
10305 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10306
10307         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10308           case.
10309
10310 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10311
10312         * iterators.[Ch]: New files. Provide paragraph iterators.
10313
10314         * buffer.C (changeLanguage): Use paragraph iterators.
10315         (isMultiLingual): ditto
10316
10317         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10318
10319 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10320
10321         * FontLoader.C: Support for cmr font.
10322
10323 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10324
10325         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10326         (available): New method.
10327
10328         * FontInfo.C (getFontname): Use scalable fonts even when
10329         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10330         found.
10331
10332 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10333
10334         * converter.C (Formats::view): reverted! Incorrect fix.
10335
10336 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10337
10338         * converter.C (Formats::view): only output the -paper option
10339         if the dvi viewer is xdvi, thereby fixing bug #233429.
10340
10341 2001-08-23  Herbert Voss  <voss@perce>
10342
10343         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10344
10345 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10346
10347         * Spacing.h (Spacing): Set space to Default on in the default
10348         constructor.
10349
10350 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10351
10352         * vc-backend.h (RCS::versionString): add RCS to version
10353         (CVS::versionString): add CVS to version
10354
10355         * vc-backend.C (scanMaster): do not add CVS to version.
10356         (scanMaster): do not add RCS to version
10357
10358         * lyxvc.C (versionString): new method
10359
10360         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10361
10362 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10363
10364         * Spacing.C (set): initialize fval
10365
10366 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10367
10368         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10369         " or \.
10370
10371 2001-08-16  Juergen Vigna  <jug@sad.it>
10372
10373         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10374
10375 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10376
10377         * BufferView_pimpl.C:
10378         * figureForm.C:
10379         * lyxtext.h:
10380         * text2.C: setParagraph takes linespacing now
10381
10382 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * LyxAction.C: add internal LFUN_CITATION_INSERT
10385
10386         * LyXView.C: actually apply fix
10387
10388         * bufferlist.C: fix open non-existent file
10389
10390         * lyxfind.C: fix indentation
10391
10392         * lyxfunc.C: remove unneeded assert, fix typo
10393
10394 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10395
10396         * MenuBackend.C: use "Floatname List"
10397
10398 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10399
10400         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10401         when converting LaTeX layout to insetERT.
10402         Generate a non-collapsed float when reading old float
10403
10404 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10405
10406         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10407         ERT insets.
10408
10409 2001-08-13  Juergen Vigna  <jug@sad.it>
10410
10411         * text.C (fill): return 0 instead of 20 as this seems to be the more
10412         correct value.
10413
10414 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10415
10416         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10417         lyxrc.font_norm.
10418
10419 2001-08-13  Juergen Vigna  <jug@sad.it>
10420
10421         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10422         casesensitive off.
10423         (SearchBackward): comment out the unlocking of the inset_owner this
10424         should not be needed!
10425
10426 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10427
10428         * Many files: Remove inherit_language, and add latex_language
10429
10430         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10431         collapsible insets.
10432
10433 2001-08-10  Juergen Vigna  <jug@sad.it>
10434
10435         * text.C (prepareToPrint): fixed hfill-width in draw!
10436
10437         * BufferView2.C (selectLastWord): save the selection cursor as this
10438         now is cleared in the function LyXText::clearSelection!
10439
10440 2001-08-08  Juergen Vigna  <jug@sad.it>
10441
10442         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10443         BACKSPACE type functions.
10444
10445         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10446         is only cutted from the document but not put in the cut-buffer, where
10447         still the old stuff should be.
10448
10449         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10450
10451         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10452
10453         * tabular.C (SetWidthOfCell): fixed special case where the width
10454         was not updated!
10455         (LeftLine): handle '|' in align_special.
10456         (RightLine): ditto
10457         (LeftAlreadyDrawed): ditto
10458         (SetWidthOfCell): ditto
10459
10460 2001-08-07  Juergen Vigna  <jug@sad.it>
10461
10462         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10463
10464 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10465
10466         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10467         * lyxlex.[hC]: ditto
10468
10469 2001-08-06  Juergen Vigna  <jug@sad.it>
10470
10471         * text.C (getVisibleRow): fix up row clearing a bit.
10472
10473 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10474
10475         * minibuffer.C: make sure the X server sees the changes in the input.
10476
10477 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10478
10479         * paragraph.C (getFont): split into...
10480         (getLabelFont): this
10481         (getLayoutFont): and this
10482         * paragraph_pimpl.C (realizeFont): calling this
10483
10484         * text2.C (getFont): split into...
10485         (getLayoutFont): this
10486         (getLabelFont): and this
10487         (realizeFont): all three calling this
10488
10489         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10490         files where used.
10491
10492 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10493
10494         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10495
10496 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10497
10498         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10499         layouts from the Quote inset insertion.
10500
10501 2001-08-03  Juergen Vigna  <jug@sad.it>
10502
10503         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10504
10505         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10506         only if status not is already CHANGED_IN_DRAW (second level).
10507
10508         * text.C (draw): don't set the need_break_row when inside an
10509         InsetText LyXText.
10510
10511 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10512
10513         * buffer.C (parseSingleLyXformat2Token): handle more latex
10514         conversion cases.
10515
10516         * bufferview_funcs.[hC]: change function names to
10517         begin with small char, adjust other files.
10518
10519 2001-08-02  André Pönitz <poenitz@gmx.net>
10520
10521         * lyxfunc.C:
10522         BufferView_pimpl.C: remove broken special code for math-greek
10523
10524 2001-08-02  Juergen Vigna  <jug@sad.it>
10525
10526         * BufferView_pimpl.C (update): redone this function so that we
10527         update the text again if there was a CHANGE_IN_DRAW.
10528
10529         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10530         (drawFromTo): added a new internal bool which is used by draw() and
10531         redraw() function.
10532         (general): some cursor drawing problems fixed.
10533
10534 2001-08-01  Juergen Vigna  <jug@sad.it>
10535
10536         * lyxfind.C (LyXFind): fixed
10537         (SearchForward): ditto
10538         (SearchBackward): ditto
10539
10540         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10541         spurius drawing of the cursor in the main area.
10542
10543         * text2.C (status): small fix which could lead to a segfault!
10544         (clearSelection): remove unneeded BufferView param.
10545
10546 2001-08-01  André Pönitz <poenitz@gmx.net>
10547
10548         * lyxfunc.C: small change due to changed mathed interface
10549
10550 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10551
10552         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10553
10554 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * lyxfunc.c: fail gracefully if file doesn't exist
10557
10558         * LyXSendto.C:
10559         * buffer.C:
10560         * lyxfunc.C:
10561         * BufferView_pimpl.C: IsDirWriteable() proto changed
10562
10563         * LyXView.C: fix updateWindowTitle() to store the last title
10564
10565 2001-07-31  Juergen Vigna  <jug@sad.it>
10566
10567         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10568         the font (wrong since using of Paragraph::highestFontInRange).
10569
10570         * paragraph.C (highestFontInRange): added a default_size parameter.
10571
10572         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10573         (setHeightOfRow): reformat
10574
10575 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10576
10577         * converter.[hC] + affected files: move to (inital-char)lowercase
10578         function names.
10579
10580         * ParagraphParameters.C (ParagraphParameters): remove commented code
10581
10582         * PainterBase.[Ch]: remove commented code
10583
10584         * LaTeXFeatures.h: add "bool floats" for float.sty
10585
10586         * LaTeXFeatures.C (LaTeXFeatures): init floats
10587         (require): handle float
10588         (getPackages): do it with floats
10589
10590 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10591
10592         * BufferView_pimpl.C (Dispatch): improve handling of
10593         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10594
10595         * commandtags.h: #include lyxfont.h here temporarily to avoid
10596         keybinding bug.
10597
10598         * bufferlist.h: include LString.h here.
10599
10600 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10601
10602         * text2.C (getStringToIndex): new method.
10603
10604 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10605
10606         * *: Reduced header file dependencies all over.
10607
10608 2001-07-30  Baruch Even  <baruch@lyx.org>
10609
10610         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10611
10612 2001-07-29  Baruch Even  <baruch@lyx.org>
10613
10614         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10615
10616 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10617
10618         * ParameterStruct.h (endif): add a default constructor to make
10619         sure that all variables is initialized.
10620
10621         * ParagraphParameters.C (ParagraphParameters): adjust
10622
10623 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10624
10625         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10626         index; also, check that there is something to index, and that it
10627         does not span over several paragraphs.
10628         (doubleClick): use WHOLE_WORD_STRICT for double click.
10629
10630         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10631
10632         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10633         scheme.
10634
10635 2001-07-26  Baruch Even  <baruch@lyx.org>
10636
10637         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10638         an InsetFig figure, backwards compatible reading of old figure code.
10639
10640 2001-07-27  Juergen Vigna  <jug@sad.it>
10641
10642         * text2.C: font.realize function adaption.
10643
10644         * text.C (draw): add a warnings lyxerr text if needed.
10645
10646         * layout.C: font.realize function adaption.
10647
10648         * language.C: add inherit_language and implement it's handlings
10649
10650         * bufferview_funcs.C (StyleReset): remove language parameter from
10651         font creation (should be language_inherit now).
10652
10653         * bufferparams.C (writeFile): handle ignore_language.
10654
10655         * paragraph.C (getFontSettings): the language has to be resolved
10656         otherwise we have problems in LyXFont!
10657
10658         * lyxfont.C (lyxWriteChanges): added document_language parameter
10659         (update): removed unneeded language parameter
10660
10661         * paragraph.C (validate): fixed wrong output of color-package when
10662         using interface colors for certain fonts in certain environments,
10663         which should not seen as that on the final output.
10664
10665 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10666
10667         * BufferView_pimpl.C:
10668         * Thesaurus.h:
10669         * Thesaurus.C:
10670         * Makefile.am:
10671         * commandtags.h:
10672         * LyXAction.C: add thesaurus support
10673
10674         * lyxfind.h:
10675         * lyxfind.C: add "once" parameter, for thesaurus, to not
10676           move to the next match
10677
10678 2001-07-26  Juergen Vigna  <jug@sad.it>
10679
10680         * lyxfont.C (realize): honor ignore_language too!
10681         (resolved): ditto.
10682
10683         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10684
10685         * text.C (draw): one place more for ignore_language to not draw
10686         itself!
10687
10688 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10689
10690         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10691
10692 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10693
10694         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10695         the minipage conversion problem.
10696
10697 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10698
10699         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10700         insert an inset.
10701
10702 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10703
10704         * BufferView.h: don't forward declare WorkArea
10705
10706         * BufferView.C: don't include WorkArea.h
10707
10708 2001-07-25  André Pönitz <poenitz@gmx.net>
10709
10710         * commandtags.h:
10711         * LyXAction.C:
10712         * lyxfunc.C:  new LFUN 'math-space'
10713
10714         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10715
10716 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10717
10718         * text2.C (toggleInset): call open/close
10719
10720 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10721
10722         * lyxfunc.C (dispatch): add debug for the disabled case
10723
10724         * font.C (buttonText): make similar to rectText
10725
10726         * buffer.C (readInset): comment out parsing of insetlist and
10727         insttheorem
10728
10729         * PainterBase.C (rectText): small correction
10730
10731         * BufferView_pimpl.C: comment out insettheorem and insetlist
10732         * LyXAction.C: ditto
10733         * commandtags.h: ditto
10734
10735 2001-07-24  Juergen Vigna  <jug@sad.it>
10736
10737         * text.C (draw): honor the ignore_language.
10738
10739         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10740
10741 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10742
10743         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10744         char inset.
10745
10746 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10747
10748         * lyxtext.h: remove unused (and unimplemented) methods
10749
10750 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10751
10752         * text.C (getVisibleRow): honor background color
10753
10754         * PainterBase.h:
10755         * Painter.h: remove default color argument for fillRectangle
10756
10757         * text.C (backgroundColor): new method
10758
10759 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10760
10761         * text.C (getVisibleRow): adjust
10762
10763         * font.[Ch] (rectText): new method, metrics
10764         (buttonText): new method, metrics
10765
10766         * PainterBase.[hC]: make rectText and buttonText always draw and take
10767         fewer paramteres.
10768
10769 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10770
10771         * ToolbarDefaults.C (read):
10772         * MenuBackend.C (read): allow escaping in all strings
10773
10774         * BufferView_pimpl.C (insertAndEditInset): new method.
10775         (Dispatch): use insertAndEditInset whenever appropriate.
10776
10777         * BufferView_pimpl.C (insertNote): removed
10778
10779         * BufferView_pimpl.C (smartQuote): new method, moved from
10780         BufferView; if an insetquote cannot be inserted, insert a '"'
10781         character instead.
10782
10783         * BufferView2.C: remove insertCorrectQuote();
10784
10785         * lyxfunc.C (getStatus): Add support for all remaingin
10786         inset-insert lfuns.
10787
10788         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10789
10790         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10791         command (necessary to pass " as parameter of self-insert.
10792
10793         * text.C (selectWordWhenUnderCursor):
10794         (selectWord): add word_location parameter
10795         (selectWordWhenUnderCursor): same + remove special code for word
10796         boundary.
10797         (selectNextWord): use kind() to guess type of insetspecialchar,
10798         not latex().
10799
10800         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10801         (insertErtContents): create ert insets as collapsed.
10802         (readInset): better compatibility code for Info inset.
10803
10804 2001-07-20  Juergen Vigna  <jug@sad.it>
10805
10806         * lyxfunc.C (dispatch): use always LyXFind now!
10807
10808         * text2.C (init): add a reinit flag so that the LyXText can be
10809         reinited instead of deleted and reallocated (used in InsetText).
10810
10811         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10812
10813         * text.C: ditto
10814
10815         * text2.C: ditto
10816
10817 2001-07-18  Juergen Vigna  <jug@sad.it>
10818
10819         * text.C (selectNextWord): handle insets inside inset by calling
10820         always the bv->text functions so that we can go up the_locking_inset!
10821
10822         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10823         in strange locations when inside an inset!
10824
10825         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10826         handling to include insets.
10827
10828         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10829
10830 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10831
10832         * LyXAction.C (init):
10833         * commandtags.h:
10834         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10835         LIGATURE_BREAK, since the name is so stupid.
10836
10837 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10838
10839         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10840         InsetInfos.
10841
10842         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10843
10844         * sp_form.[Ch]: remove.
10845
10846         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10847
10848         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10849         InsetInfo.
10850
10851         * src/buffer.C (readInset): ditto.
10852
10853 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10854
10855         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10856         menuSeparator(), endOfSentenceDot(), ldots() and
10857         hyphenationPoint(), which are therefore removed.
10858         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10859
10860         * LyXAction.C (init):
10861         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10862
10863         * paragraph.C (getWord): removed.
10864
10865         * BufferView_pimpl.C (Dispatch): use last word or selection for
10866         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10867
10868         * lyx_main.C (queryUserLyXDir): do not ask before creating
10869         user_dir, except if it has been named explicitely.
10870
10871 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10872
10873         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10874         a document of zero size.
10875
10876 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10877
10878         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10879         approriately in the c-tor and in require().
10880         (getPackages): output the appropriate LaTeX for natbib support.
10881
10882         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10883         variables "use_natbib" and "use_numerical_citations" when reading the
10884         LyX file.
10885         (readInset): read the various natbib cite commands.
10886         (validate): white-space change.
10887
10888         * bufferparams.[Ch]: new variables "bool use_natbib" and
10889         "bool use_numerical_citations".
10890         (writeFile): output them in the LyX file.
10891
10892 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10893
10894         * lyxfunc.C (getStatus): add support for all the inset insertion
10895         commands.
10896
10897         * text2.C (insertInset):
10898         * paragraph.C (insetAllowed):
10899         * BufferView_pimpl.C (insertInset): update to take in account the
10900         renaming of insertInsetAllowed
10901
10902         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10903
10904         * text2.C (getInset): new method. returns inset at cursor position.
10905
10906         * BufferView_pimpl.C (Dispatch): changes because of this.
10907
10908         * LyXAction.C (init): rename open-stuff to inset-toggle.
10909
10910         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10911
10912         * text2.C (toggleInset): renamed from openStuff; use
10913         Inset::open().
10914
10915 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10916
10917         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10918
10919         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10920
10921 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10922
10923         * buffer.C (readLyXformat2): Add filename to the error dialog
10924
10925 2001-07-18  Juergen Vigna  <jug@sad.it>
10926
10927         * tabular.C (GetCellNumber): put an assert here instead of the check!
10928
10929 2001-07-17  Juergen Vigna  <jug@sad.it>
10930
10931         * BufferView_pimpl.C (toggleSelection): adapted too.
10932
10933         * text.C (selectNextWord): adapted for use with insets.
10934         (selectSelectedWord): ditto
10935
10936 2001-07-17  Juergen Vigna  <jug@sad.it>
10937
10938         * sp_spell.C (PSpell): fix initialitation order.
10939
10940 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10941
10942         * paragraph.C: spacing
10943
10944 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10945
10946         * sp_spell.C: repair language selection for pspell
10947
10948 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10949
10950         * lyxfunc.h: change more methods to begin with lower char.
10951
10952 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10953
10954         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10955         for unknown layouts.
10956
10957 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10958
10959         * buffer.C (readLyXformat2): Generate an error dialog if there are
10960         unknown layouts.
10961
10962 2001-07-16  Juergen Vigna  <jug@sad.it>
10963
10964         * sp_spell.C: always compile ISpell part.
10965
10966         * lyxrc.C: added use_pspell entry and it's handling.
10967
10968 2001-07-13  Juergen Vigna  <jug@sad.it>
10969
10970         * sp_spell.C: removed double includes.
10971
10972 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10973
10974         Consistent use of Lsstream.h:
10975         * Lsstream.h: added using std::stringstream for consistencies sake.
10976
10977         * buffer.C: removed using std::stringstream
10978
10979         * lyxfont.C (stateText):
10980         * paragraph.C (asString):
10981         * text.C (selectNextWord, selectSelectedWord):
10982         * text2.C (setCounter):
10983         * vspace.C (asString, asLatexString):
10984         std::ostringstream -> ostringstream.
10985
10986 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10987
10988         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10989         * commandtags.h: add LFUN_HELP_ABOUTLYX
10990         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10991
10992 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10993
10994         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10995         cursorToggle()
10996         * lyx_gui_misc.C: remove spellchecker
10997         * lyxfunc.C: showSpellchecker
10998         * sp_base.h: added
10999         * sp_ispell.h: added
11000         * sp_pspell.h: added
11001         * sp_spell.C: added
11002         * sp_form.[Ch]: removed
11003         * spellchecker.[Ch]: removed
11004
11005 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11006
11007         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11008         is set.
11009         (simpleTeXSpecialChars): Simply print the input character without
11010         any special translation if pass_thru is set.
11011
11012         * layout.h: Added bool pass_thru to layout class for being able to
11013         implement pass through of a paragraph for Literate Programming.
11014
11015         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11016         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11017         * layout.C (Read): add "passthru" to list of layout tags and add
11018         code to set the pass_thru boolean when it is read.
11019
11020 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11021
11022         * trans_decl.h: remove allowed from KmodInfo
11023
11024         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11025         remove allowed code
11026         (Load): adjust
11027
11028         * paragraph_pimpl.C (erase): use boost::prior
11029
11030         * Painter.C (text): use data() instead of c_str() when length is
11031         also provided.
11032         * WorkArea.C (putClipboard): ditto
11033         * font.h (width): ditto
11034
11035         * BufferView2.C: use it-> instead of (*it). for iterators
11036         * texrow.C: ditto
11037         * paragraph_pimpl.C: ditto
11038         * paragraph.C: ditto
11039         * minibuffer.C: ditto
11040         * language.C: ditto
11041         * kbmap.C: ditto
11042         * encoding.C: ditto
11043         * counters.C: ditto
11044         * converter.C: ditto
11045         * chset.C: ditto
11046         * Variables.C: ditto
11047         * TextCache.C: ditto
11048         * MenuBackend.C: ditto
11049         * LyXAction.C: ditto
11050         * LColor.C: ditto
11051         * FloatList.C: ditto
11052         * DepTable.C: ditto
11053         * ColorHandler.C (LyXColorHandler): ditto
11054
11055 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11056
11057         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11058
11059         * text2.C (openStuff): reintroduce this method (which had been
11060         nuked in NEW_INSETS frenzy).
11061
11062         * lyxfunc.C (Dispatch): when an action has not been handled, use
11063         its name in the error message, not its number.
11064
11065         * paragraph.C (inInset): change method name to begin with lowercase.
11066
11067         * undo_funcs.C:
11068         * text2.C: updates because of this.
11069
11070 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11071
11072         * ToolbarDefaults.C (add): add spaces in error message
11073
11074 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11075
11076         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11077         (readLyXformat2): rename return_par to first_par, use lyxlex's
11078         pushToken and remove the manual push handling.
11079         (parseSingleLyXformat2Token): add another ert comp. variable:
11080         in_tabular, rename return_par to first_par. handle newlines better
11081
11082 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11083
11084         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11085
11086 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11087
11088         * text2.C (getParFromID): removed
11089
11090         * buffer.C (getParFromID): new method moved form lyxtext.
11091         * BufferView2.C (insertErrors): adjust
11092         (setCursorFromRow): adjust
11093         * BufferView_pimpl.C (restorePosition): adjust
11094         * lyxfunc.C (Dispatch): adjust
11095         * undo_funcs.C (textUndo): adjust
11096         (textRedo): adjust
11097         (textHandleUndo): adjust
11098         (textHandleUndo): adjust
11099
11100 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11101
11102         * buffer.C: up' the LYX_FORMAT
11103
11104         * lyxfont.h: turn NO_LATEX on as default
11105
11106         * buffer.C (insertErtContents): new methods of tex style compability.
11107         (parseSingleLyXformat2Token): use it several places.
11108         * tabular.C (OldFormatRead): and here
11109
11110 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11111
11112         * text2.C: remove some commented code.
11113         reindent file.
11114
11115         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11116         * trans.C: changes because of the above.
11117
11118 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11119
11120         * text2.C (setCounter): Fix counters bug with bibliography layout.
11121
11122 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11123
11124         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11125         own member functions
11126         (simpleTeXSpecialChars): ditto
11127
11128 2001-07-06  Juergen Vigna  <jug@sad.it>
11129
11130         * a lot of files: changed the access to LyXText::status and the
11131         call of undo-functions.
11132
11133         * undo.[Ch]: added a inset_id to the undo informations.
11134
11135         * undo_funcs.[Ch]: added and moved here all undo functions.
11136
11137         * lyxtext.h: give the status enum a weight, made status_ a private
11138         variable and made accessor functions for it, removed the whole bunch
11139         of undo-functions as they are now in their own file, make some
11140         functions publically available. Added function ownerParagraph with
11141         int parameter.
11142
11143         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11144         made InInset() a const function, added getParFromID() function.
11145
11146         * buffer.[Ch]: added const version for inset_iterator functions,
11147         added getInsetFromID() function.
11148
11149         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11150         changed undo functions for new version.
11151
11152 2001-07-05  Juergen Vigna  <jug@sad.it>
11153
11154         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11155         unknow mechanism does not call the proper constructor but only this
11156         one also if I request the other!?
11157
11158 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11159
11160         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11161
11162         * text2.C (LyXText): use initialization lists.
11163
11164         * lyxtext.h (Selection): initialize set_ and mark_
11165         (init): remove method
11166
11167 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11168
11169         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11170
11171 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11172
11173         * screen.[Ch]: change method names to begin with lowercase
11174
11175         * BufferView_pimpl.C (updateScrollbar): simplify further and
11176         hopefully make it a bit faster.
11177
11178 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11179
11180         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11181         calling directly xforms functions.
11182
11183         * Painter.C (Painter):
11184         * lyx_cb.C (MenuWrite):
11185         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11186         fl_display.
11187
11188         * lyx_gui.C: remove bogus guiruntime extern declaration.
11189
11190 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11191
11192         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11193         in NEW_INSETS
11194         (redoDrawingOfParagraph): ditto
11195         (redoParagraphs): ditto
11196         (cutSelection): don't create a object for CutAndPaste use the
11197         static method directly
11198         (pasteSelection): ditto
11199
11200         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11201         LyXview (+ rename)
11202
11203 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11204
11205         * modifications to some other files because of this.
11206
11207         * Makefile.am (lyx_SOURCES): add XFormsView
11208
11209         * XFormsView.[Ch]: new files
11210
11211         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11212         the main window. Move the gui dependent stuff to XFormsView
11213
11214 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11215
11216         * tabular.C (GetCellInset): update cur_cell also in the row/col
11217         version of this function.
11218
11219         * lyxfunc.C: no need to include figure_form.h here.
11220
11221         * FontLoader.h:
11222         * lyxfunc.h:
11223         * lyxscreen.h:
11224         * text2.C:
11225         * lyxvc.C: no need to include forms.h here.
11226
11227 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11228
11229         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11230
11231         * lyxfunc.C (Dispatch):
11232         * Spacing.C (set):
11233         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11234         constructor argument.
11235
11236 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11237
11238         * paragraph.C (Paragraph): dont't clear, and just set layout.
11239         (makeSameLayout): use params's copy contructor.
11240
11241         * ParagraphParameters.[Ch] (makeSame): delete method
11242
11243 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11244
11245         * Variables.[Ch]: fix indentation, rename set to isSet
11246
11247 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11248
11249         * lyxfunc.C (Dispatch): fix typo
11250
11251 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11252
11253         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11254         upper_bound.
11255
11256         * bufferlist.C: include assert.h for emergencyWrite().
11257
11258 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11261           give up at last (bug #425202) !
11262
11263 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11264
11265         * lyx_gui_misc.C:
11266         * sp_form.h:
11267         * sp_form.C:
11268         * spellchecker.h:
11269         * spellchecker.C: strip spellchecker options and bring up
11270           preferences tab instead
11271
11272 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11273
11274         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11275         the istringstream constructor
11276
11277 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11278
11279         * paragraph.C (getLayout): fix return value
11280
11281         * paragraph.h: do not declare getLayout as inline.
11282
11283         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11284
11285 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11286
11287         * lyxcursor.h (operator<): new func
11288         (operator>): new func
11289         (operator>=): new func
11290         (operator<=): new func
11291
11292         * text.C (changeCase): use selection.start and selection.end
11293         (changeRegionCase): require from to be <= to. Require par to be a
11294         valid paragraph.
11295
11296         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11297
11298 2001-06-27  Juergen Vigna  <jug@sad.it>
11299
11300         * text.C (cursorLeftOneWord): changed to return the cursor and added
11301         overlay with BufferView * parameter which calls this one.
11302         (getWord): added
11303         (selectWord): use new getWord function.
11304         (changeCase): renamed from changeWordCase as and extended to work
11305         also on selections.
11306
11307         * lyxtext.h: added enum word_location
11308
11309         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11310         changeCase as this operates now also on selections.
11311
11312 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11313
11314         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11315
11316         * many files: send debug output to Debug::INFO instead of
11317         Debug::ANY.
11318
11319         * converter.C (View):
11320         (Convert):
11321         (Move): send debug output to Debug::FILES instead of console.
11322
11323 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11324
11325         * lyxfunc.C (getStatus): use func_status
11326
11327         * func_status.h: new header, describing the results of
11328         LyXFunc::getStatus;
11329
11330         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11331         LFUN_MATH_HALIGN.
11332
11333 2001-06-25  The LyX Project  <jug@sad.it>
11334
11335         * buffer.C (sgmlOpenTag):
11336         (sgmlCloseTag):
11337         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11338
11339 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11340
11341         * text2.C: remove some dead code
11342
11343         * tabular.C (GetCellInset): store the last cell checked (gotten)
11344
11345         * tabular.h: add the helper for the speedup
11346
11347         * lyxtext.h: remove some dead code
11348
11349 2001-06-26  The LyX Project  <Asger>
11350
11351         * paragraph.C: Change export to LaTeX of alignment to
11352         \begin{center} and family for better roundtrip work with reLyX.
11353
11354         * Tune the math drawing a bit.
11355
11356 2001-06-25  The LyX Project  <Asger>
11357
11358         * LColor.C (LColor): New color for math background. New color
11359         for buttons.
11360
11361 2001-06-25  The LyX Project  <jug@sad.it>
11362
11363         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11364
11365         * lyxfunc.C (Open):
11366         * bufferlist.C (newFile): do not restrict to files ending with
11367         .lyx
11368
11369         * BufferView_pimpl.C (MenuInsertLyXFile):
11370
11371 2001-06-24  The LyX Project  <jug@sad.it>
11372
11373         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11374         of compare_no_case
11375
11376 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11377
11378         * lyxtext.h: rename most methods to begin with a small char.
11379         Lots of changes because of this.
11380
11381         * paragraph.C (Paragraph): do not call fitToSize
11382         (erase): call Pimpl::erase
11383         (insertChar): call Pimpl::insertChar
11384         (insertInset): call Pipl::insertInset
11385         (breakParagraph): do not call fitToSize
11386         (breakParagraphConservative): do not call fitToSize
11387         (fitToSize): remove method
11388
11389         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11390
11391 2001-06-24  The LyX Project  <Asger>
11392
11393         * Fix Qt compilation^2
11394
11395 2001-06-24  The LyX Project  <jug@sad.it>
11396
11397         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11398         depthHook(getDepth()-1).
11399
11400         * paragraph.h:
11401         * ParagraphParameters.h:
11402         * ParameterStruct.h: change type of depth to unsigned int ==
11403         depth_type. Many adaptations to other files before of that.
11404
11405 2001-06-24  The LyX Project  <Asger>
11406
11407         * Fix Qt compilation.
11408
11409 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11410
11411         * paragraph.h: renamed several methods to begin with small letter.
11412         several changes to many parts of the code because of this.
11413
11414 2001-06-23  The LyX Project  <jug@sad.it>
11415
11416         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11417         rewritten to discard all double spaces when KeepEmpty is off
11418         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11419         to only handle newlines but not fiddle with spaces and friends.
11420
11421         * lyxfunc.C (MenuNew): when doing 'new from template', use
11422         template_path as default directory
11423
11424 2001-06-23  The LyX Project  <Asger>
11425
11426         * Clean-up of header file includes all over
11427         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11428
11429 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11430
11431         * paragraph.h: renamed from lyxparagraph.h
11432
11433 2001-06-23  Asger  <lyx@violet.home.sad.it>
11434
11435         * Buffer.h: Removed Buffer::resize
11436         * BufferList.h: Removed BufferList::resize
11437         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11438         the document lazily when we change the width, or the font settings.
11439
11440 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11441
11442         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11443
11444 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11445
11446         * buffer.h: remove out of date comment
11447
11448 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * lyxscreen.h:
11451         * screen.C: fix "theoretical" GC leak
11452
11453 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11454
11455         * LaTeX.C (scanAuxFile):
11456         (deplog): remove trailing \r when reading stream (useful under
11457         win32)
11458
11459 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11460
11461         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11462         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11463         and BufferView::theLockingInset(Inset*), so should use them and not
11464         access bv_->text->the_locking_inset directly.
11465
11466         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11467
11468 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11469
11470         * Makefile.am:
11471         * tex-defs.h: remove old unused file
11472
11473 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11474
11475         * BufferView_pimpl.C: fix typo, remove minibuffer message
11476           when buffer has loaded
11477
11478 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11479
11480         * lyxfunc.C (Dispatch): use stringstream
11481         (MenuNew): use stringstream
11482         (Open): use stringstream
11483
11484         * importer.C (Import): use stringstream
11485
11486         * bufferview_funcs.C (CurrentState): use stringstream
11487
11488         * LaTeX.C (run): use stringstream
11489
11490         * BufferView_pimpl.C (savePosition): use stringstream
11491         (restorePosition): use stringstream
11492         (MenuInsertLyXFile): use stringstream
11493
11494 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11495
11496         * BufferView.C:
11497         * Bullet.C:
11498         * ColorHandler.C:
11499         * FontInfo.C:
11500         * FontLoader.C:
11501         * LColor.C:
11502         * LaTeXFeatures.C:
11503         * Painter.C:
11504         * gettext.C:
11505         * lyx_gui_misc.C:
11506         * lyxserver.C:
11507         * vspace.C: removed // -*- C++ -*- as first line.
11508
11509         * lyxfind.h:
11510         * version.h: added // -*- C++ -*- as first line.
11511
11512 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11513
11514         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11515
11516         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11517         of string
11518
11519 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11520
11521         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11522         of floats.
11523
11524 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11525
11526         * gettext.C: include LString.h even when --disable-nls is on.
11527
11528 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11529
11530         * converter.h (Get): changed argument type from int to
11531         FormatList::size_type to avoid unnecessary conversion.
11532
11533         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11534         before using it.
11535
11536 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11537
11538         * gettext.h: include LString.h even when --disable-nls is on.
11539
11540 2001-06-07  Juergen Vigna  <jug@sad.it>
11541
11542         * text.C (BreakAgain): subst spaces with tabs.
11543
11544         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11545         (resizeInsetsLyXText): set force on resizeLyXText.
11546
11547 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11548
11549         * gettext.h (gettext_init):
11550         (locale_init): use a real definition instead of a macro
11551
11552 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * Bufferview_pimpl.C:
11555         * LColor.h:
11556         * LColor.C: further lcolor tidies
11557
11558 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11559
11560         * BufferView_pimpl.C (updateScrollbar): simplify.
11561
11562         * BufferView2.C: don't include insets/insetinfo.h, change
11563         prototype for insertInset and call the Pimpl version. let
11564         updateInset call Pimpl version.
11565
11566         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11567         gotoInset to BufferView::Pimpl
11568
11569 2001-06-01  Juergen Vigna  <jug@sad.it>
11570
11571         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11572         inside a LockingInset (is the update needed at all?).
11573
11574 2001-05-31  Juergen Vigna  <jug@sad.it>
11575
11576         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11577         here not the old one otherwise how should we compare it afterwards
11578         if it's the same!
11579
11580 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11581
11582         * lyxfont.C:
11583         * tabular.C:
11584         * tabular-old.C:
11585         * FontInfo.C: bring C functions into global namespace when
11586         necessary
11587
11588 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11589
11590         * LString.h: make sure config.h has been loaded before LString.h.
11591
11592         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11593         (one for each char read by EatLine!).
11594
11595         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11596         variables.
11597
11598 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11601         to the same as the par we break from
11602
11603 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11604
11605         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11606
11607         * MenuBackend.C (expand): also create menu entries for wide
11608         versions of the floats.
11609
11610         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11611
11612         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11613
11614         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11615         frontends/Makefile.am
11616
11617         * text2.C: adjust
11618         * text.C: adjust
11619
11620
11621         * tabular.C (getTokenValue): add std::
11622
11623         * tabular-old.C (getTokenValue): add std::
11624         (getTokenValue): ditto
11625         (getTokenValue): ditto
11626
11627         * screen.C (ToggleSelection): adjust
11628
11629         * lyxtext.h: put selection cursors inside a Selection struct.
11630
11631         * lyxfunc.C (moveCursorUpdate): adjust
11632
11633         * lyxfont.C (latexWriteStartChanges): add std::
11634
11635         * lyxfind.C: adjust
11636
11637         * font.h: delete with(char const *, LyXFont const &)
11638
11639         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11640
11641         * FontInfo.C (getFontname): add std::
11642
11643         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11644         (workAreaButtonPress): adjust
11645         (tripleClick): adjust
11646         (update): adjust
11647         (moveCursorUpdate): adjust
11648         (Dispatch): adjust
11649
11650         * BufferView2.C (gotoInset): adjust
11651
11652 2001-05-30  Juergen Vigna  <jug@sad.it>
11653
11654         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11655         to check pspell I add this as default as I now have new pspell
11656         libraries and they seem to use this.
11657
11658 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11659
11660         * text2.C (CutSelection): make the cursor valid before the call to
11661         ClearSelection.
11662
11663 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11664
11665         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11666         relied on 0 terminated strings and other horrors. Bug found due to
11667         the new assert in lyxstring!
11668
11669         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11670         KP_ keys.
11671
11672 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11673
11674         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11675         to latinkeys.bind.
11676
11677         * lyxfunc.C (processKeySym): change method of getting to the
11678         self-insert char.
11679
11680         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11681         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11682         * BufferView_pimpl.[Ch]: here as private methods.
11683
11684 2001-05-28  Juergen Vigna  <jug@sad.it>
11685
11686         * text.C (SetHeightOfRow): added the update() call again as it is
11687         needed to initialize inset dimensions!
11688
11689 2001-05-16  Juergen Vigna  <jug@sad.it>
11690
11691         * text2.C (SetCharFont): Add new function with BufferView * and
11692         bool toggleall parameters for setting insets internal fonts.
11693         (SetFont): Freeze the undo as we may change fonts in Insets and
11694         all this change should be inside only one Undo!
11695
11696         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11697         setting font's in insets as for them we have the SetFont function!
11698
11699 2001-05-15  Juergen Vigna  <jug@sad.it>
11700
11701         * text2.C (ClearSelection): to be sure we REALLY don't have any
11702         selection anymore!
11703
11704         * tabular.C (TeXCellPreamble): fixed the left border problem for
11705         multicolumn cells.
11706
11707 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11708
11709         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11710         dependancy file
11711
11712 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11713
11714         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11715         LFUN_BREAKPARAGRAPH.
11716
11717         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11718         help test to "internal only", similar for LFUN_INSERT_URL
11719
11720         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11721         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11722         auto_region_delete and deadkeys.
11723
11724 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11725
11726         * LColor.h:
11727         * LColor.C: remove some dead entries, tidy a little
11728
11729 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11730
11731         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11732         commented code.
11733         (Dispatch): implement LFUN_ESCAPE
11734
11735         * commandtags.h: add LFUN_ESCAPE
11736
11737         * LyXAction.C (init): add entry for LFUN_ESCAPE
11738
11739         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11740         Remove commented code.
11741         (insertNote): moved here
11742         (open_new_inset): moved here
11743
11744         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11745         BufferView_pimpl
11746
11747 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11748
11749         * kbmap.C (findbinding): clean it up and make it work correctly.
11750
11751         * lyx_main.C (init): do not pass argc and argv as parameters
11752
11753 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11754
11755         * buffer.C: fix path for OS/2 & Win32
11756
11757         * lyx_gui.C:
11758         * lyx_main:
11759         * lyx_main.C: Added os:: class.
11760
11761         * os2_defines.h: update
11762
11763 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11764
11765         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11766         better by trying again with reduced state.
11767
11768 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11769
11770         * lyxrc.C (read): print error about invalid key sequence only when
11771         debugging (because not all latinX keysyms are known to some X
11772         servers)
11773
11774         * kbsequence.C (getiso): add a few std:: qualifiers
11775         (getiso): comment out extra return statement.
11776
11777 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11778
11779         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11780         handling.
11781         (Dispatch): enhance the accent inset a bit. (not perfect)
11782
11783 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11784
11785         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11786
11787 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11788
11789         * bufferlist.C (emergencyWrite): fix assert() call
11790
11791 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11792
11793         * text.C (InsertChar): Added trivial patch to only send the "you
11794         can not do multiple spaces this way" message once during a
11795         session.
11796
11797 2001-05-08  Baruch Even  <baruch@lyx.org>
11798
11799         * Makefile.am: Changed order of libraries to get LyX to link properly
11800         with the gnome frontend.
11801
11802 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11803
11804         * LaTeXFeatures.h: add a std:: qualifier
11805
11806 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11807
11808         * paragraph.C (String): use stringstream
11809
11810 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * paragraph.C (writeFile): remove footflag arg
11813
11814         * buffer.C (makeLaTeXFile): use stringstream
11815         (latexParagraphs): remove footnot gurba
11816
11817         * LaTeXFeatures.C (getPackages): use stringstream
11818         (getMacros): likewise
11819         (getTClassPreamble): likewise
11820         (getFloatDefinitions): new method
11821
11822         * paragraph.C (writeFile): reindent
11823         (Erase): reindent
11824
11825         * WorkArea.h: revert the xpos + etc changes.
11826
11827         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11828
11829         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11830
11831         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11832         (pasteSelection): likewise
11833         * text2.C (CreateUndo): likewise
11834
11835 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11836
11837         * minibuffer.C (peek_event): temporarily reduce the functionality
11838         of the minibuffer (to allow args on lfuns)
11839
11840         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11841         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11842
11843         * buffer.C (readInset): add compability reading of old float
11844         lists, add reading of new style float list.
11845         (readInset): avoid reevaluation of inscmd.getCmdName()
11846         (getLists): reindent
11847
11848         * MenuBackend.C (MenuItem): implement parsing of
11849         md_floatlistinsert and md_floatinsert.
11850         (expand::LastFiles): move initalizaton of iterators out of loop,
11851         avoid reevaluation.
11852         (expand::Documents): introduce typdedef vector<string> Strings,
11853         and use it.
11854         (expand::ExportFormats): introduce typedef vector<Format const *>
11855         Formats, and use it.
11856         (expand): implement FloatListInsert and FloatInsert.
11857
11858         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11859         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11860         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11861
11862         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11863         handling.
11864         (Dispatch::LFUN_FLOAT_LIST): implement
11865
11866 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11867
11868         * LaTeX.C (run): Fix problem with --export code.
11869
11870 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11871
11872         * BufferView.[Ch] (workarea): removed.
11873         (getClipboard) new method; wrapper for workarea()->getClipboard()
11874
11875         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11876         bug.
11877
11878         * WorkArea.h (width, height, xpos, ypos): These methods all
11879         returned the dimensions of the work_area sub-area of WorkArea,
11880         resulting in a position error if the WorkArea were resized. Now
11881         return the dimensions of the entire WorkArea.
11882
11883         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11884
11885 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11886
11887         * LaTeX.C (deplog): correct the syntax of regex reg1
11888
11889 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11890
11891         * undo.C: remove !NEW_INSETS cruft
11892
11893 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11894
11895         * text2.C: remove !NEW_INSETS cruft
11896
11897         * text.C: remove !NEW_INSETS cruft
11898
11899         * tabular.C: remove !NEW_INSETS cruft
11900
11901         * spellchecker.C: remove !NEW_INSETS cruft
11902
11903         * lyxtext.h: remove !NEW_INSETS cruft
11904
11905         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11906
11907         * lyxfunc.C: remove !NEW_INSETS cruft
11908
11909         * lyxfind.C: remove !NEW_INSETS cruft
11910
11911         * lyx_cb.C: remove !NEW_INSETS cruft
11912
11913         * figureForm.C: remove  !NEW_INSETS cruft
11914
11915         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11916
11917         * buffer.[Ch]: remove !NEW_INSETS cruft
11918
11919         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11920
11921         * CutAndPaste.C: remove !NEW_INSETS cruft
11922
11923         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11924
11925         * BufferView2.C: remove !NEW_INSETS cruft
11926
11927         * BufferView.h: remove !NEW_INSETS cruft
11928
11929 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11930
11931         * Lsstream.h: include LString.h before the sstream headers to
11932         fix problem with gcc 2.95.3 and lyxstring
11933
11934 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11935
11936         * lyx_main.C: add using directives when needed for C functions
11937         declared in std:: namespace.
11938
11939 2001-04-27  Juergen Vigna  <jug@sad.it>
11940
11941         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11942         (SetHeightOfRow): comment out the update call should not be needed!
11943
11944 2001-04-13  Juergen Vigna  <jug@sad.it>
11945
11946         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11947         (LyXTabular): tried to minimize operator= operations (and realized
11948         hopfully Lars wish).
11949
11950 2001-04-27  Juergen Vigna  <jug@sad.it>
11951
11952         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11953
11954 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11955
11956         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11957
11958         * buffer.C (readInset): hack to make listof algorithm work
11959
11960         * BufferView_pimpl.C: hack to make listof algorithm work
11961
11962 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11963
11964         * LyXAction.C: removed all !NEW_INSETS cruft
11965         (init): moved lfun_item in method
11966
11967         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11968
11969 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11970
11971         * BufferView2.C (theLockingInset): white space.
11972
11973 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11974
11975         * minibuffer.C: include <iostream>
11976
11977         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11978
11979         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11980
11981         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11982
11983         * text.[Ch] (TransposeChars): new method
11984
11985 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * call message directly through LyXView instead of through LyXFunc
11988         * BufferView2.C: adjust
11989         * BufferView_pimpl.C: adjust
11990         * FontLoader.C: adjust
11991         * buffer.C: adjust
11992         * bufferview_funcs.C: adjust
11993         * converter.C: adjust
11994         * figureForm.C: adjust
11995         * importer.C: adjust
11996         * lyx_cb.C: adjust
11997         * lyx_gui_misc.C: adjust
11998         * lyxfunc.C: adjust
11999         * lyxvc.C: adjust
12000         * text2.C: adjust
12001         + more files in subdirs
12002
12003         * lyxparagraph.h (size): move up int file
12004         (GetLayout): ditto
12005
12006         * adjust all uses of Assert to lyx::Assert.
12007
12008         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12009         lyxfunctional in namespace lyx
12010         * layout.C (hasLayout): ditto
12011         (GetLayout): ditto
12012         (GetLayout): ditto
12013         (delete_layout): ditto
12014         (NumberOfClass): ditto
12015         * converter.C (GetFormat): ditto
12016         (GetNumber): ditto
12017         (Add): ditto
12018         (Delete): ditto
12019         (SetViewer): ditto
12020         * bufferlist.C (getFileNames): ditto
12021         (emergencyWriteAll): ditto
12022         (exists): ditto
12023         (getBuffer): ditto
12024         * MenuBackend.C (hasSubmenu): ditto
12025         (hasMenu): ditto
12026         (getMenu): ditto
12027         * BufferView_pimpl.C (getInsetByCode): ditto
12028
12029 2001-04-18  Juergen Vigna  <jug@sad.it>
12030
12031         * vspace.C (asLatexString): fixed the 100% problem.
12032
12033 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12034
12035         * lyxfunc.C (Dispatch):
12036         * minibuffer.C:
12037         * minibuffer.h: add a few std:: qualifiers
12038
12039 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12040
12041         * minibuffer.[Ch]: reimplement so that commands is initiated and
12042         run from lyxfunc, simplified som handling, and made the completion
12043         and history code for complete. wip.
12044
12045         * lyxfunc.C (processKeySym): call message
12046         (miniDispatch): new temporary method
12047         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12048         (LFUN_MESSAGE): implement
12049         (LFUN_MESSAGE_PUSH): implement
12050         (LFUN_MESSAGE_POP): implement
12051         (initMiniBuffer): the initial/defualt minibuffer message.
12052
12053         * lyxfont.[Ch]: inline some more getters
12054
12055         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12056
12057         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12058
12059         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12060         (AutoSave): use LFUN_MESSAGE
12061         (Reconfigure): ditto
12062
12063         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12064
12065         * figureForm.C: use LFUN_MESSAGE
12066
12067         * converter.C (runLaTeX): use LFUN_MESSAGE
12068
12069         * bufferview_funcs.C: use LFUN_MESSAGE
12070         (Melt): ditto
12071         (changeDepth): ditto
12072
12073         * bufferparams.h: use boost::
12074
12075         * bufferlist.h: inherit privately from noncopyable
12076
12077         * bufferlist.C (loadLyXFile): remove some commented code.
12078
12079         * buffer.C (runChktex): use LFUN_MESSAGE
12080
12081         * ShareContainer.h: inherit privately from noncopyable
12082
12083         * ParagraphParameters.[hC] (depth): inline it.
12084
12085         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12086         methods.
12087         (message): new method
12088         (messagePush): ditto
12089         (messagePop): ditto
12090         (show): init minibuffer
12091         (showState): direct call
12092
12093         * LaTeX.[Ch]: inherit privately from noncopyable
12094         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12095         instead of WriteStatus.
12096
12097         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12098
12099         * BufferView_pimpl.C (buffer): don't init minibuffer
12100         (workAreaButtonPress): use LFUN_MESSAGE
12101         (workAreaButtonRelease): ditto
12102         (savePosition): ditto
12103         (restorePosition): ditto
12104         (MenuInsertLyXFile): ditto
12105         (workAreaExpose): don't init minibuffer
12106         (update): remove commented code, simplify
12107
12108         * BufferView2.C (openStuff): use LFUN_MESSAGE
12109         (toggleFloat): ditto
12110         (menuUndo): ditto
12111         (menuRedo): ditto
12112         (copyEnvironment): ditto
12113         (pasteEnvironment): ditto
12114         (copy): ditto
12115         (cut): ditto
12116         (paste): ditto
12117         (gotoInset): ditto
12118         (updateInset): remove some commented code
12119
12120         * lastfiles.h: inherit privately from noncopyable
12121         * layout.h: ditto
12122         * lyx_gui.h: ditto
12123         * lyx_main.h: ditto
12124         * lyxlex.h: ditto
12125         * lyxlex_pimpl.h: ditto
12126
12127         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12128         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12129         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12130
12131         * LyXAction.h: inherit privately from noncopyable, add methods
12132         func_begin, func_end, returning iterators to the func map.
12133
12134         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12135         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12136         (func_begin): new method
12137         (func_end): new method
12138
12139         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12140         and not)
12141         (copySelection): ditto
12142         (pasteSelection): ditto
12143
12144         * BufferView.C: whitespace change
12145         * BufferView.h: inherit privately from noncopyable
12146
12147 2001-04-16  Allan Rae  <rae@lyx.org>
12148
12149         * tabular-old.C (l_getline):
12150         * spellchecker.C (sc_check_word):
12151         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12152         an unrecognised preprocessor directive.  So ensure they're wrapped.
12153
12154 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12155
12156         * src/exporter.C (Export): Give an error message when path to file
12157         contains spaces.
12158
12159 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12160
12161         * LaTeX.C (deplog): Always check that foundfile exists.
12162
12163 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12164
12165         * lyx_main.h:
12166         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12167
12168 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12169
12170         * tabular.[Ch] (getLabelList): implement new method
12171
12172         * minibuffer.h: comment ouf setTiimer
12173
12174         * minibuffer.C (ExecutingCB): constify res
12175         (peek_event): constify s
12176         (Set): constify ntext
12177         (Init): constify nicename
12178
12179         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12180
12181         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12182         (savePosition): use two params to Minibuffer::Set
12183         (restorePosition): ditto
12184
12185 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12186
12187         * lyx_main.C: include language.h
12188
12189         * Makefile.am (lyx_main.o): add language.h
12190
12191 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12192
12193         * exporter.C:
12194         * paragraph.C:
12195         * screen.C:
12196         * tabular.C:
12197         * CutAndPaste.C: include gettext.h
12198
12199         * lyxfont.h: remove old hack with ON and OFF.
12200
12201         * lyxparagraph.h:
12202         * lyxfont.h: do not include language.h...
12203
12204         * BufferView2.C:
12205         * LaTeXFeatures.C:
12206         * Painter.C:
12207         * bufferview_funcs.C:
12208         * font.C:
12209         * lyxfont.C:
12210         * text.C:
12211         * text2.C:
12212         * trans_mgr.C:
12213         * paragraph.C: ... but do it here instead
12214
12215 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12216
12217         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12218
12219         * tabular.C: small reformat
12220
12221         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12222         NEW_INSETS version
12223         (GetChar): ditto
12224         (BreakParagraph): ditto
12225         (SetOnlyLayout): ditto
12226         (SetLayout): ditto
12227
12228         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12229         with one arg less.
12230
12231         * lastfiles.C: removed most using decl, add std:: where needed
12232
12233         * buffer.C: ws changes
12234
12235         * MenuBackend.C (class compare_format): put into anon namespace
12236         (expand): constify label, names, action, action2
12237         (expand):
12238
12239         * text.C (SingleWidth): constify font
12240         (IsBoundary): constify rtl2
12241         (GetVisibleRow): constify ww
12242
12243         * LaTeX.C (deplog): constify logfile
12244
12245         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12246         start_x, end_x
12247         (workAreaExpose): constify widthChange, heightChange
12248
12249         * lyxrow.C (par): moved
12250         (height): moved
12251         (next): moved
12252         * lyxrow.h: as inlines here
12253
12254         * lyxfont.h (shape): moved from lyxfont.C
12255         (emph): moved from lyxfont.C
12256
12257         * lyxfont.C (LyXFont): use initialization list for all
12258         constructors
12259         (shape): move to lyxfont.h as inline
12260         (emph): move to lyxfont.h as inline
12261
12262
12263 2001-04-04  Juergen Vigna  <jug@sad.it>
12264
12265         * vspace.C: had to include stdio.h for use of sscanf
12266
12267 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12268
12269         * BufferView.h:
12270         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12271         independent of xforms.
12272
12273 2001-04-02  Juergen Vigna  <jug@sad.it>
12274
12275         * spellchecker.C: fixed namespace placing!
12276
12277 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12278
12279         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12280         the LyXParagraph * is 0.
12281
12282 2001-03-29  Juergen Vigna  <jug@sad.it>
12283
12284         * vspace.C: added support for %, c%, p%, l%.
12285         (stringFromUnit): added helper function.
12286         (asLatexString): changed to give right results for the %-values.
12287
12288         * buffer.C: convert the widthp in a width%.
12289
12290 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12291
12292         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12293         figureForm.[Ch].
12294
12295         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12296         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12297
12298         * lyx_cb.[Ch]: see above.
12299
12300         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12301         form1.[Ch].
12302
12303         * form1.[Ch]:
12304         * lyx.[Ch]: replaced by figure_form.[Ch].
12305
12306         * lyx_gui.C:
12307         * lyx_gui_misc.C:
12308         * lyxfunc.C: changed headers associated with above changes.
12309
12310 2001-03-27  Juergen Vigna  <jug@sad.it>
12311
12312         * BufferView_pimpl.C: set the temporary cursor right!
12313
12314 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12315
12316         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12317
12318 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12319
12320         * LString.h: removed "using std::getline"!
12321
12322         * BufferView_pimpl.C (Dispatch): changes due to changes in
12323         InsetInclude::Params.
12324
12325         * buffer.C (tag_name): removed redundant break statements as they were
12326         producing lots of warnings with my compiler.
12327
12328 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12329
12330         * LString.h: add "using std::getline" when using the real <string>.
12331
12332 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12333
12334         * buffer.C: removed bitset usage.
12335         PAR_TAG moved to an anonymous name space.
12336         (tag_name): new funtion, also in the anonymous namespace.
12337         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12338         (makeDocBookFile): clean code. Completed transition from string arrays
12339         to string vectors.
12340         (SimpleDocBookOnePar): code clean.
12341
12342 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12343
12344         * tabular.C: add some comments.
12345
12346 2001-03-22  Juergen Vigna  <jug@sad.it>
12347
12348         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12349         compatibility read a bit and fixed bug with minipage in different
12350         depth.
12351
12352 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12353
12354         * buffer.C (pop_tag): removed.
12355         (push_tag): removed.
12356         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12357         array replaced with vector. Added support for CDATA sections.
12358         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12359         at any nest level.
12360         (makeDocBookFile): XML conformant declaration of CDATA section,
12361         fixed bug related to <emphasis> in the first paragraph char.
12362         (sgmlOpenTag): exclude empty tags.
12363         (sgmlCloseTag): ditto.
12364
12365         * buffer.h (pop_tag): removed.
12366         (push_tag): removed.
12367
12368 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12369
12370         * language.h (Languages): added size_type and size().
12371
12372 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12373
12374         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12375         response on compability reading of minipages. One probliem is that
12376         the old usage of minipages was «flertydig»
12377
12378         * several files here and in subdirs: don't use static at file
12379         scope use anon namespaces instead.
12380
12381 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12382
12383         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12384         LaTeX output. This is necessary for Literate document
12385         processing.
12386
12387 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12388
12389         * buffer.C: insert hfill when needed.
12390
12391         * tabular.C (l_getline): use string::erase, small whitespace change.
12392
12393         * BufferView_pimpl.C: try the anon namespace.
12394         * WorkArea.C: ditto
12395
12396 2001-03-16  Juergen Vigna  <jug@sad.it>
12397
12398         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12399         otherwise it won't open options-dialogs.
12400
12401         * buffer.C: honor pextraWidth(p) on converting minipages.
12402
12403         * tabular.C (l_getline): changed the functions to strip trailing \r.
12404
12405 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12406
12407         * BufferView_pimpl.C:
12408         * minibuffer..C: added "using SigC::slot" declaration.
12409
12410 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12411
12412         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12413
12414         * text2.C: ditto
12415
12416         * text.C: ditto
12417
12418         * paragraph.C: ditto
12419
12420         * lyxtext.h: NO_PEXTRA
12421
12422         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12423
12424         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12425         * ParameterStruct.h: ditto
12426         * ParagraphParameters.h: ditto
12427         * lyxparagraph.h: ditto
12428
12429 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12430
12431         * buffer.C: add compability for minipage alignment.
12432         (latexParagraphs): remove unwanted pextra check.
12433
12434         * several files: remove CXX_WORKING_NAMESPACES
12435
12436         * buffer.C (pop_tag): tie is in namespace boost
12437
12438         * BufferView.h: noncopyable is in namespace boost
12439         * lyxlex.h: ditto
12440         * lyx_main.h: ditto
12441         * lyx_gui.h: ditto
12442         * layout.h: ditto
12443         * lastfiles.h: ditto
12444         * bufferlist.h: ditto
12445         * ShareContainer.h: ditto
12446         * LyXView.h: ditto
12447         * LyXAction.h: ditto
12448         * LaTeX.h: ditto
12449
12450 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12451
12452         * Merging changes from BRANCH_MVC back into HEAD.
12453
12454         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12455
12456 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * BufferView_pimpl.C: change from intl.C
12459
12460         * combox.h:
12461         * combox.C:
12462         * Makefile.am: move combox.*
12463
12464         * form1.h:
12465         * form1.C:
12466         * lyx_gui.C:
12467         * intl.h:
12468         * intl.C: remove dialog (covered by prefs)
12469
12470 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12471
12472         * lyxfunc.C (Dispatch): removed redundant break statement.
12473
12474 2001-03-14  Juergen Vigna  <jug@sad.it>
12475
12476         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12477
12478 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12479
12480         * buffer.C: add hack to fix compability reading of minipages.
12481
12482 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12483
12484         * buffer.C (getLists): Cleanup.
12485
12486 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12487
12488         * lyxfont.C (update): don't honor toggleall on font size.
12489
12490 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * bmtable.c:
12493         * bmtable.h:
12494         * Makefile.am: moved to frontends/xforms/
12495
12496         * lyx_gui_misc.C:
12497         * lyxfunc.C:
12498         * BufferView_pimpl.C: changes for moved mathpanel
12499
12500 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * gettext.h: fix gettext_init() in --disable-nls
12503
12504 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12505
12506         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12507
12508 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12509
12510         * lyx.C:
12511         * lyx.h: strip external form
12512
12513 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12514
12515         * BufferView_pimpl.C: add comment, destroySplash()
12516
12517 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12518
12519         * BufferView_pimpl.C:
12520         * LyXAction.C:
12521         * buffer.C:
12522         * commandtags.h:
12523         * lyxfunc.C: use re-worked insetinclude
12524
12525 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12526
12527         * buffer.C: add using std::stringstream.
12528
12529         * lyx_cb.C: readd using std::ios.
12530
12531         * buffer.C: add using std::map.
12532
12533         * BufferView_pimpl.C: add using std::vector.
12534
12535         * ShareContainer.h: add std:: to swap.
12536
12537         * buffer.h: add some typedefs
12538         * buffer.C (getLists): use them
12539         (getLists): renamed from getTocList.
12540         add a counter for the different float types and use it in the
12541         generated string.
12542         (getLists): use the same counter for the NEW_INSETS and the "non"
12543         NEW_INSETS
12544
12545         * lyx_cb.h: remove unused items, includes, using etc.
12546
12547         * ShareContainer.h: remove some commented code, add more comments
12548         and "documentation".
12549
12550 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12551
12552         * buffer.C (getTocList): make the list also when NEW_INSETS is
12553         defined.
12554
12555         * buffer.h: remove TocType
12556
12557         * buffer.C (getTocList): change to return a map<string,
12558         vector<TocItem> >, implement for dynamic number of list.
12559
12560         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12561         * text2.C (PasteSelection): adjust
12562         * CutAndPaste.C (pasteSelection): adjust
12563
12564         * FloatList.C (FloatList): update from the new_insets branch.
12565         * Floating.[Ch]: ditto
12566         * LaTeXFeatures.C: ditto
12567         * buffer.C: ditto
12568         * lyxlex_pimpl.C: ditto
12569
12570         * paragraph.C (Last): remove when NEW_INSETS is defined.
12571
12572         * other file: changes because of the above.
12573
12574 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12575
12576         * lyxparagraph.h: rename next to next_, previous to previous_,
12577         make them private for NEW_INSETS. Rename Next() to next(),
12578         Previous() to previous().
12579
12580         * other files: changes because of the above.
12581
12582 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12583
12584         * BufferView.h:
12585         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12586         problem.
12587
12588 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12589
12590         * main.C (main): pass lyx_localedir to gettext_init().
12591
12592         * gettext.h: remove locale_init and gettext_init macros
12593
12594         * gettext.C (locale_init): new function
12595         (gettext_init): new function
12596
12597         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12598         setlocale().
12599
12600 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12601
12602         * Moved credits to frontends:
12603         * credits.[Ch]: removed
12604         * credits_form.[Ch]: removed
12605         * lyx_gui_misc.C: remove credits stuff
12606         * Makefile.am:
12607
12608 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12609
12610         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12611
12612         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12613         unneeded destructor.
12614
12615         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12616         a standalone pointer again.
12617
12618         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12619
12620 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12621
12622         * Makefile.am:
12623         * filedlg.h:
12624         * filedlg.C:
12625         * LyXAction.C:
12626         * ToolbarDefaults.C:
12627         * bufferlist.C:
12628         * commandtags.h:
12629         * form1.C:
12630         * form1.h:
12631         * lyx_cb.C:
12632         * lyx_cb.h:
12633         * lyxfunc.h:
12634         * lyxfunc.C:
12635         * BufferView_pimpl.C: use new file dialog in GUII
12636
12637         * lyx_cb.h:
12638         * lyx_cb.C: remove LayoutsCB to Toolbar
12639
12640 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12641
12642         * ShareContainer.h (get): add std:: qualifier
12643
12644 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12645
12646         * ShareContainer.h: define a proper ShareContainer::value_type
12647         type (and use typename to please compaq cxx)
12648
12649 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12650
12651         * lyxparagraph.h: move serveral local vars to
12652         ParameterStruct/ParagraphParameters., use ShareContainer in
12653         FontTable., make vars in FontTable private and add getter and
12654         setter.
12655
12656         * paragraph.C: changes because of the above.
12657
12658         * lyxfont.h: remove copy constructor and copy assignment. (the
12659         default ones is ok), move number inside FontBits. move inlines to
12660         lyxfont.C
12661
12662         * lyxfont.C: add number to initializaton of statics, move several
12663         inlines here. constify several local vars. some whitespace
12664         cleanup. Dont hide outerscope variables.
12665
12666         * Spacing.h: add two new constructors to match the set methods.
12667
12668         * ShareContainer.h: new file, will perhaps be moved to support
12669
12670         * ParameterStruct.h: new file
12671
12672         * ParagraphParameters.h: new file
12673
12674         * ParagraphParameters.C: new file
12675
12676         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12677         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12678
12679         * BufferView_pimpl.C: ParagraphParameter changes.
12680         * buffer.C: Likewise.
12681         * bufferview_funcs.C: Likewise.
12682         * text.C: Likewise.
12683         * text2.C: Likewise.
12684
12685 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12686
12687         * lyxfind.C (LyXReplace): do not redefine default argument in
12688         implementation.
12689         (IsStringInText): ditto
12690         (SearchForward): ditto
12691         (SearchBackward): ditto
12692
12693 2001-03-06  Juergen Vigna  <jug@sad.it>
12694
12695         * lyxfind.C (IsStringInText): put parentes around expressions.
12696
12697 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12698
12699         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12700
12701 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12702
12703         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12704
12705         * stl_string_fwd.h: add comment
12706
12707         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12708
12709         * tabular.h:
12710         * tabular.C: remove unused DocBook methods
12711
12712         * intl.C:
12713         * language.C:
12714         * paragraph.C:
12715         * buffer.C:
12716         killed DO_USE_DEFAULT_LANGUAGE
12717
12718 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12719
12720         * lyx_gui.C: do not include language.h.
12721
12722         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12723         arguments in function implementation.
12724
12725 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12726
12727         * BufferView_pimpl.C: add <ctime>
12728
12729 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12730
12731         * BufferView_pimpl.C: add using std::find_if
12732
12733 2001-02-27  José Matos  <jamatos@fep.up.pt>
12734
12735         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12736         by OnlyPath.
12737
12738 2001-02-11  José Matos  <jamatos@fep.up.pt>
12739
12740         * buffer.C (makeDocBookFile): command styles now have a parameter as
12741         "title" by default.
12742
12743 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12744
12745         * layout_forms.[Ch]: removed
12746         * lyx_cb.[Ch]: out character
12747         * lyx_gui.C: out character
12748         * lyx_gui_misc.C: out character
12749         * bufferview_funcs.C: : out character,
12750         added toggleall as parameter in ToggleAndShow
12751
12752 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12753
12754         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12755
12756         * text2.C (SetCurrentFont): Disable number property at boundary.
12757
12758 2001-02-26  Juergen Vigna  <jug@sad.it>
12759
12760         * lyxfunc.C (getStatus): added a string argument override function so
12761         that this is correctly called from LyXFunc::Dispatch if it contains a
12762         do_not_use_argument which is used!
12763         (Dispatch): added check for "custom" export and call appropriate func.
12764
12765 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12766
12767         * lyxrc.C: Add language_command_local, language_use_babel and
12768         language_global_options.
12769
12770         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12771
12772         * buffer.C (makeLaTeXFile): Use language_use_babel and
12773         language_global_options.
12774
12775 2001-02-23  Juergen Vigna  <jug@sad.it>
12776
12777         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12778         which works with LyXText and putted it inside BufferView. Here now we
12779         only call for that part the BufferView::Dispatch() function.
12780
12781         * BufferView.C (Dispatch): added.
12782
12783         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12784         functions which needs to use a LyXText over from LyXFunc.
12785         (MenuInsertLyXFile): added
12786         (getInsetByCode): added
12787         (moveCursorUpdate): added
12788         (static TEXT): added
12789
12790 2001-02-22  Juergen Vigna  <jug@sad.it>
12791
12792         * BufferView_pimpl.C (update): call a status update to see if LyXText
12793         needs it.
12794
12795 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12796
12797         * vc-backend.C (revert): implement for CVS
12798         (getLog): implement for CVS
12799
12800 2001-02-20  Juergen Vigna  <jug@sad.it>
12801
12802         * text2.C (ClearSelection): added BufferView param for inset_owner call
12803
12804         * lyxfunc.C (TEXT): added this function and use it instead of
12805         directly owner->view()-text of getLyXText().
12806
12807 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12808
12809         * src/layout_forms.C: out preamble
12810         * src/layout_forms.h: out preamble
12811         * src/lyx_cb.C: out preamble
12812         * src/lyx_cb.h: out preamble
12813         * src/lyx_gui.C: out preamble
12814         * src/lyx_gui_misc.C: out preamble
12815         * src/lyxfunc.C: connect with guii preamble
12816
12817 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12818
12819         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12820
12821 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12822
12823         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12824         whether to run bibtex.
12825
12826 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12827
12828         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12829
12830 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12831
12832         * Makefile.am (lyx_SOURCES): removed bibforms.h
12833
12834         * vspace.h: doxygen
12835
12836         * text.C (GetVisibleRow): make several local vars const
12837
12838         * tabular.C: small cleanup.
12839
12840         * lyxserver.C (callback): use compare instead of strncmp
12841
12842         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12843         inlines to after class or to paragraph.C
12844
12845         * lyxfont.h: remove friend operator!=
12846
12847         * converter.h: move friend bool operator< to non friend and after
12848         class def.
12849
12850         * combox.h: small cleanup
12851
12852         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12853         to inlines after class def.
12854
12855         * buffer.C (pop_tag): use string operations instead of strcmp
12856
12857         * bmtable.c: doxygen, small cleanup
12858
12859         * LaTeX.h: remove friend operator==
12860
12861 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12862
12863         * screen.C:
12864         * lyxrc.[Ch]:
12865         * lyxfunc.C:
12866         * lyxfont.[Ch]:
12867         * lyx_cb.C:
12868         * intl.[Ch]:
12869         * commandtags.h:
12870         * buffer.C:
12871         * WorkArea.[Ch]:
12872         * LyXAction.C:
12873         * BufferView_pimpl.C:
12874         * BufferView.[Ch]: remove cruft
12875
12876 2001-02-14  Juergen Vigna  <jug@sad.it>
12877
12878         * lyxfunc.C: removed #if 0 unused code
12879
12880         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12881
12882         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12883
12884         * text2.C (SetSelection): added a BufferView * parameter
12885
12886 2001-02-13  Juergen Vigna  <jug@sad.it>
12887
12888         * lyxfunc.C (Dispatch): fixed protected blank problem.
12889         * BufferView2.C (protectedBlank): added LyxText * parameter.
12890
12891         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12892         (AppendColumn): same as above for column_info.
12893
12894         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12895         (moveCursorUpdate): use a LyXText param for support of InsetText.
12896
12897         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12898         (tripleClick): ditto
12899
12900         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12901
12902         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12903
12904         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12905
12906         * text2.C (SetSelection): set correct update status if inset_owner
12907         (ToggleFree): ditto
12908
12909 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12910
12911         * tabular.C: remove some commented code.
12912
12913 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12914
12915         * BufferView_pimpl.C: call hideSplash()
12916
12917         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12918
12919         * include_form.h:
12920         * bibforms.h: remove
12921
12922         * lyxfunc.C:
12923         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12924           add LFUN_CHILD_CREATE
12925
12926         * counters.h: fix tiny typo
12927
12928         * lyx_cb.C:
12929         * lyx.h:
12930         * lyx_gui.C:
12931         * lyx.C: move splash to frontends/xforms/
12932
12933         * lyx_gui_misc.C: move Include and Bibform to frontends
12934
12935         * lyxvc.h: clarify comment
12936
12937         * vspace.C: tiny housekeeping
12938
12939 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12940
12941         * text.C (PrepareToPrint): RTL Fix.
12942
12943         * paragraph.C (GetUChar): New method.
12944         (String):  Use GetUChar.
12945
12946         * buffer.C (asciiParagraph): Use GetUChar.
12947
12948 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12949
12950         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12951
12952 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12953
12954         * buffer.h:
12955         * buffer.C: rename to getLogName(), handle
12956           build log / latex log nicely
12957
12958 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12959
12960         * MenuBackend.C:
12961         * MenuBackend.h: remove support for reference menuitem type.
12962
12963 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * BufferView_pimpl.C: housekeeping
12966         * BufferView_pimpl.h:
12967         * LyXView.h:
12968         * Makefile.am:
12969         * Timeout.C:
12970         * Timeout.h:
12971         * minibuffer.h: move Timeout GUI-I
12972
12973 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12974
12975         * lyxrc.C (read): Update converters data-structures.
12976
12977 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12978
12979         * LaTeX.h (operator!=): add operator != for Aux_Info
12980
12981 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12982
12983         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12984
12985         * LaTeXLog.C: deleted, useful code moved to Buffer
12986
12987         * buffer.h:
12988         * buffer.C: new function getLatexLogName()
12989
12990         * lyx_gui_misc.C:
12991         * lyx_gui.C:
12992         * lyxvc.C:
12993         * lyxvc.h:
12994         * lyxfunc.C: use frontends for LaTeX and VC logs
12995
12996 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12997
12998         * LaTeX.h: yet another std:: that Allan forgot.
12999
13000         * Variables.C (set): renamed from isset(), because this clashes
13001         with some HP-UX macros (grr).
13002
13003 2001-02-06  Allan Rae  <rae@lyx.org>
13004
13005         * LaTeX.h: Another bug fix.  Missing std:: this time.
13006
13007 2001-02-04  Allan Rae  <rae@lyx.org>
13008
13009         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13010         floats problem. I've left it commented out because it's not quite
13011         correct.  It should also test that the current object is a table or
13012         figure inset.  But I haven't gotten around to figuring out how to do
13013         that.  I *think* it'll be something like: "table" == inset.type()
13014
13015         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13016         bool.
13017
13018 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13019
13020         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13021         all the citation/databases/styles in the auxilary file.
13022         (run): Rerun latex if there was a babel language error.
13023
13024 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13025
13026         * text.C (Backspace): Preserve the font when changing newline char
13027         with a space.
13028         (BreakParagraph): If the cursor is before a space, delete the space.
13029
13030         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13031
13032 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13033
13034         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13035         new argument (code).
13036         (ChangeCitationsIfUnique): New method.
13037
13038         * paragraph.C (GetPositionOfInset): Handle bibkey.
13039
13040 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13041
13042         * BufferView_pimpl.h: change type of Position::par_pos to
13043         LyXParagraph::size_type.
13044
13045 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13046
13047         * BufferView_pimpl.C (savePosition, restorePosition): Write
13048         messages to minibuffer.
13049
13050 2001-01-28  José Matos  <jamatos@fep.up.pt>
13051
13052         * buffer.C (makeDocBookFile): adds support for document language.
13053         A silly restriction on the name of LatexCommand types where removed.
13054         Added support for CDATA sections, allows to chars unescaped, used
13055         among others in code, to avoid escape < and >.
13056
13057 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13058
13059         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13060         saved positions instrad of a stack. Furthermore, a position is
13061         stored using paragraph id/paragraph position.
13062
13063         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13064         Remove LFUN_REF_BACK.
13065
13066 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13067
13068         * converter.C (dvipdfm_options): New method.
13069
13070 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13071
13072         * vspace.C (isValidLength): Fix for empty input string.
13073
13074 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13075
13076         * LyXAction.C (init): change description of LFUN_FIGURE to
13077         "Insert Graphics"
13078
13079 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13080
13081         * LaTeX.C: add using directive
13082
13083 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13084
13085         * MenuBackend.C (expand): Fix the sorting of the formats.
13086
13087 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13088
13089         * lyx_main.C: tiny error message fix
13090
13091 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13092
13093         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13094         calling fl_initialize(). This fixes the problem with ',' as
13095         decimal separator in text files.
13096
13097 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13098
13099         * trans.C (process): Fix the keymap bug.
13100
13101 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13102
13103         * LaTeX.C (scanAuxFiles): New method. Provides support for
13104         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13105         (scanLogFile) Scan for "run BibTeX" messages.
13106
13107         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13108         OT1 font encoding. Also, load the aecompl package if the ae
13109         package is loaded.
13110
13111         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13112
13113 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13114
13115         * texrow.C (increasePos): turn two error messages into debug
13116         messages.
13117
13118 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13119
13120         * LaTeX.C (scanAux): Handle the \@input macro.
13121         (runBibTeX): Use scanAux().
13122
13123         * language.C (latex_options_): New field.
13124
13125         * LaTeXFeatures.C (getMacros): Add language macros.
13126
13127         * buffer.C (makeLaTeXFile): Small fix.
13128
13129 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13130
13131         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13132
13133         * text2.C: add a using directive.
13134
13135 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13136
13137         * BufferView2.C:
13138         * lyx_gui_misc.h:
13139         * lyxfr1.C:
13140         * lyxfunc.C: kill LyXBell.
13141
13142 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13143
13144         * text.C (IsBoundary): Remove the error message
13145
13146         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13147
13148         * lyxrc.C (setDefaults): Correct initialization value for
13149         font_norm_type.
13150
13151 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13152
13153         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13154         gotoError().
13155
13156         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13157         and GotoNextNote().
13158
13159         * src/LyXAction.C: Added reference-next.
13160
13161         * text.C (InsertChar): Use contains instead of strchr.
13162
13163         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13164
13165 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13166
13167         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13168         alignment commands (when needed).
13169
13170         * text.C (InsertChar): Add ':' to number separator chars.