]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
7be9bf58776d32cdc33f554e249f0ad9eec101a9
[lyx.git] / src / ChangeLog
1 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * All most all file in all subdirs: Make <string> be the prefered
4         way of getting to std::string, add using declarations.
5
6 2003-10-06  André Pönitz  <poenitz@gmx.net>
7
8         * metricsinfo.C: initialize LyXFont before changiging attribute.
9         (fixes the 'math in \emph is upright' bug)
10
11 2003-10-06  André Pönitz  <poenitz@gmx.net>
12
13         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
14
15 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
16
17         * graph.C:
18         * paragraph_pimpl.C: Small fixes to build using STLport
19
20 2003-10-02  André Pönitz  <poenitz@gmx.net>
21
22         * lyxfunc.C:
23         * text3.C: move handling of LFUN_DEPTH *; fix #1360
24
25 2003-10-01  André Pönitz  <poenitz@gmx.net>
26
27         * factory.C: assert early
28
29 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
30
31         * lyx_main.C: remove the global debug object
32
33         * debug.h: adjust for new debugstream
34
35         * debug.C: adjust for new debugstream and keep the global debug
36         object here.
37
38 2003-09-22  Angus Leeming  <leeming@lyx.org>
39
40         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
41         of g++ which otherwise complain that the scoped_ptr destructor can't delete
42         an incomplete class LyXFont.
43
44 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
45
46         * factory.C: bug fix in branches
47
48 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
49
50         * lyxfunc.C (processKeySym): adjust
51         (dispatch): adjust
52         (dispatch): change arg name from ev to func, adjust
53         (sendDispatchMessage): ditto
54
55         * lyx_main.C (defaultKeyBindings): adjust keybindings
56         (deadKeyBindings): ditto
57
58         * kbsequence.C (addkey): return a FuncRequest
59
60         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
61
62         * kbmap.C (bind): take a FuncRequest as arg, adjust
63         (read): adjust
64         (lookup): adjust
65         (defkey): change to take a FuncRequest as arg, adjust
66         (findbinding): take a FuncRequest as arg, adjust.
67
68         * funcrequest.h (operator=): added
69
70         * funcrequest.C (FuncRequest): default kb_action changed from
71         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
72
73         * buffer.C (dispatch): simplify
74         (dispatch): adjust to take a FuncRequest as arg, adjust
75
76         * boost.C (assertion_failed): change assertion message slightly
77
78         * ToolbarBackend.C (read): simplify
79
80         * MenuBackend.C (binding): adjust call to findbinding, add a
81         message if no binding is found.
82         (read): simplify
83         (expandToc): correct by adding a empty FuncRequest
84
85         * LyXAction.C: include <boost/assert.hpp>
86         (isPseudoAction): delete function
87         (LookupFunc): change name to...
88         (lookupFunc): this. change return type to FuncRequest.
89         (getActionName): take kb_action as arg, simplify
90         (funcHasFlag): add an assert, simplify.
91
92 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
93
94         * toc.C (action): return a FuncRequest, simplify
95
96         * lyxfunc.C (processKeySym): adjust
97         (getStatus): delete version that takes an int.
98         (getStatus): adjust
99         (dispatch): delete version that takes action as int
100         (dispatch): adjust
101         (sendDispatchMessage): simplify and adjust
102
103         * funcrequest.C (getArg): take unsigned int as arg
104
105         * ToolbarBackend.C (read): adjust
106         (add): delete version that takes func as a string.
107         (getIton): take a FuncRequest as arg
108
109         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
110         action.
111
112         * MenuBackend.C (MenuItem): add a new construct that only takes a
113         Kind, simplify the constructor use for submenus.
114         (add): adjust
115         (expandLastfiles): adjust
116         (expandDocuments): adjust
117         (expandFormats): adjust
118         (expandFloatListInsert): adjust
119         (expandFloatInsert): adjust
120         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
121
122         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
123         Remove class variables lyx_pseudo_map and lyx_arg_map
124
125         * LyXAction.C (searchActionArg): delete function
126         (getPseudoAction): delete function
127         (retrieveActionArg): delete function
128         (LookupFunc): make it return kb_action, simplify.
129         (getActionName): simplify
130
131         * factory.C (createInset): fix new bug
132
133 2003-09-19  Angus Leeming  <leeming@lyx.org>
134
135         * CutAndPaste.C (pasteSelection): remove fudge used to set the
136         masterFilename_ parameter in the include inset.
137
138         * factory.C (createInset): changes due to the changes to InsetInclude.
139
140 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
141
142         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
143
144 2003-09-18  Angus Leeming  <leeming@lyx.org>
145
146         * buffer.C:
147         * BufferView.C: pass the buffer when calling Inset::getLabelList,
148         Inset::fillWithBibKeys.
149         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
150
151 2003-09-18  Angus Leeming  <leeming@lyx.org>
152
153         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
154         variables.
155         (ctor): pass and store a 'Buffer const &'
156         (buffer): new member function.
157
158         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
159         '*this' to the LaTeXFeatures ctor.
160
161 2003-09-18  Angus Leeming  <leeming@lyx.org>
162
163         * LColor.h:
164         * lyxfont.C:
165         * lyxfont.h:
166         * lyxtext.h:
167         * text.C: rename EnumLColor as LColor_color.
168
169 2003-09-18  Angus Leeming  <leeming@lyx.org>
170
171         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
172         remove #include "insets/insetbase.h" from cursor.h.
173
174 2003-09-18  Angus Leeming  <leeming@lyx.org>
175
176         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
177         InsetOld_code to remove #include "inset.h".
178
179         * iterators.C: add #include "insets/inset.h"
180
181 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
182
183         * BufferView.C: remove more locking stuff that apparently doesn't
184         do anything sensible.
185
186 2003-09-16  André Pönitz  <poenitz@gmx.net>
187
188         * paragraph.[Ch]:
189         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
190           performance boost.
191
192 2003-09-16  Angus Leeming  <leeming@lyx.org>
193
194         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
195
196         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
197         arg/return type.
198
199         * paragraph.h: remove #include "lyxfont.h". Forward declare
200         LyXFont_size.
201
202 2003-09-16  Angus Leeming  <leeming@lyx.org>
203
204         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
205         of support/textutils.h.
206         (isWord): move the contents of support/textutils.h's IsWordChar here.
207
208         * buffer.C:
209         * lyxfind.C:
210         * rowpainter.C:
211         * text.C:
212         * text2.C: add #include "paragraph.h".
213
214         * rowpainter.C:
215         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
216
217 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
218
219         * main.C:
220         * lyx_main.C:
221         * lyx_cb.C:
222         * buffer.C:
223         * LaTeX.C: use namespace alias for lyx::support::os
224
225 2003-09-16  Angus Leeming  <leeming@lyx.org>
226
227         * bufferparams.C:
228         * bufferview_funcs.C:
229         * factory.C:
230         * lyxfunc.C:
231         * paragraph_pimpl.C:
232         * rowpainter.C:
233         * text.C: add #include "LColor.h".
234
235 2003-09-16  Angus Leeming  <leeming@lyx.org>
236
237         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
238         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
239         return LyXFont &.
240         Store the FontBits::color variable as an int rather than as an
241         LColor::colorso that we can move LColor.h out of the lyxfont.h header
242         file.
243
244         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
245         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
246         string calls together.
247
248         * lyxrc.C: add #include "LColor.h".
249
250 2003-09-15  Angus Leeming  <leeming@lyx.org>
251
252         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
253         a cow_ptr.
254
255 2003-09-15  Angus Leeming  <leeming@lyx.org>
256
257         * LColor.h: add an EnumLColor wrapper for LColor::color.
258
259         * lyxfont.[Ch] (color, setColor, realColor):
260         * lyxtext.h, text.C (backgroundColor):
261         pass EnumLColor args to/from the functions, rather than LColor::color
262         ones.
263
264         * lyxfont.h:
265         * lyxtext.h: forward declare EnumLColor.
266
267         * lyx_main.C: add #include "LColor.h".
268
269 2003-09-15  Angus Leeming  <leeming@lyx.org>
270
271         * .cvsignore: add lyx-gtk.
272
273 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
274
275         * Chktex.C
276         * LaTeX.C
277         * LaTeXFeatures.C
278         * ParagraphParameters.C
279         * Spacing.C
280         * buffer.C
281         * bufferparams.C
282         * bufferview_funcs.C
283         * chset.C
284         * counters.C
285         * funcrequest.C
286         * lyxfont.C
287         * lyxgluelength.C
288         * lyxlength.C
289         * paragraph.C
290         * paragraph_funcs.C
291         * text3.C
292         * vc-backend.C: remove usage of STRCONV
293
294 2003-09-15  Angus Leeming  <leeming@lyx.org>
295
296         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
297         explicitly define the color passed to the painter.
298
299 2003-09-15  Angus Leeming  <leeming@lyx.org>
300
301         * bufferparams.C (BufferParams): reorder member initializers to avoid
302         compiler warning.
303
304 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
305
306         * CutAndPaste.C (pasteSelection): remove an outdated #warning
307         * text.C (updateRowPositions): remove an unusual nop
308
309 2003-09-12  André Pönitz  <poenitz@gmx.net>
310
311         * BufferView_pimpl.C:
312         * Bullet.C:
313         * layout.h:
314         * lyxfunc.C:
315         * lyxlayout.[Ch]:
316         * lyxtextclass.C:
317         * rowpainter.C:
318         * text.C:
319         * text2.C:
320         * Counters.[Ch]: finish the 'automatic counters' job
321
322 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
323
324         * aspell.C: include <boost/assert.cpp> (compile fix)
325
326 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
327
328         * boost.C (assertion_failed): use lyx::support::abort instead of
329         assert.
330
331 2003-09-10  Angus Leeming  <leeming@lyx.org>
332
333         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
334         with their _fwd progeny.
335
336 2003-09-09  Angus Leeming  <leeming@lyx.org>
337
338         134 files throughtout the source tree: replace 'using namespace abc;'
339         directives with the appropriate 'using abc::xyz;' declarations.
340
341 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
342
343         * boost.C (emergencyCleanup): moved here from LAssert.c
344         (assertion_failed): new function, called by BOOST_ASSERT
345
346         * several files: change Assert to BOOST_ASSERT
347
348 2003-09-09  Angus Leeming  <leeming@lyx.org>
349
350         * buffer.[Ch]: Add an Impl class and move Buffer's member
351         variables into it. As a result move several header files out of
352         buffer.h.
353
354         Add header files to lots of .C files all over the tree as a result.
355
356 2003-09-09  Angus Leeming  <leeming@lyx.org>
357
358         * buffer.[Ch]: make Buffer's member variables private. Add
359         accessor functions.
360
361         Lots of changes all over the tree as a result.
362
363 2003-09-08  Angus Leeming  <leeming@lyx.org>
364
365         * graph.C: #include <config.h>.
366
367 2003-09-08  Angus Leeming  <leeming@lyx.org>
368
369         * BranchList.C:
370         * BufferView.C:
371         * BufferView_pimpl.C:
372         * CutAndPaste.C:
373         * DepTable.C:
374         * LaTeX.C:
375         * LaTeXFeatures.C:
376         * LyXAction.C:
377         * MenuBackend.C:
378         * TextCache.C:
379         * aspell.C:
380         * buffer.C:
381         * bufferlist.C:
382         * changes.C:
383         * chset.C:
384         * converter.C:
385         * counters.C:
386         * debug.C:
387         * graph.C:
388         * ispell.C:
389         * lyx_cb.C:
390         * lyxfind.C:
391         * lyxfunc.C:
392         * lyxlex_pimpl.C:
393         * lyxrc.C:
394         * lyxrow.C:
395         * paragraph.C:
396         * rowpainter.C:
397         * texrow.C:
398         * text.C:
399         * text2.C:
400         * toc.C: remove redundant using directives.
401
402 2003-09-07  Angus Leeming  <leeming@lyx.org>
403
404         * LaTeXFeatures.h: remove #include "support/types.h".
405         * ToolbarBackend.h: remove #include <algorithm>.
406         * changes.h: remove #include <ctime>.
407         * debug.h: remove #include <iosfwd>.
408         * graph.h: remove #include "support/std_string.h".
409         * lyx_main.h: remove #include <csignal>.
410         * lyxlex_pimpl.h: remove #include <fstream>.
411         * sgml.h: remove #include <algorithm>, <utility>.
412         * toc.h: remove #include "support/std_ostream.h".
413         Add #include <iosfwd>.
414
415 2003-09-07  Angus Leeming  <leeming@lyx.org>
416
417         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
418
419         * converter.h: forward declare LatexRunParams.
420         * encoding.h: remove #include "lyxrc.h".
421         * lyxtext.h: remove #include "LColor.h".
422         * lyxtextclass.h: remove #include "support/types.h".
423         * trans.h: remove #include "tex-accent.h".
424         * trans_mgr.h: remove #include "tex-accent.h".
425         * insets/inset.h: remove #include "support/types.h", <vector>.
426         * insets/insetcollapsable.h: remove #include "LColor.h".
427         * insets/insetinclude.h: remove #include "dimension.h".
428         * insets/insetlatexaccent.h: remove #include "dimension.h".
429         * insets/insetoptarg.h:: remove #include "insettext.h".
430         * insets/insettext.h: remove #include "dimension.h",
431         <boost/shared_ptr.hpp>
432
433         * insets/renderers.h: add #include "dimension.h".
434         * insets/updatableinset.h: add #include "support/types.h".
435
436         * many .C files: Associated changes.
437
438 2003-09-06  Angus Leeming  <leeming@lyx.org>
439
440         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
441         one, inside testInvariant.
442
443         * PrinterParams.C: new file.
444         * PrinterParams.[Ch]: move the function bodies out of line.
445
446 2003-09-06  Angus Leeming  <leeming@lyx.org>
447
448         * ParagraphParameters.h: forward declare ParameterStruct rather than
449         including its header file.
450         (depth): moved out-of-line.
451
452 2003-09-06  Angus Leeming  <leeming@lyx.org>
453
454         * BufferView_pimpl.h:
455         * kbmap.h:
456         * kbsequence.h:
457         * lyxfunc.h: forward declare LyXKeySym rather than
458         #include "frontends/LyXKeySym.h".
459
460         * BufferView_pimpl.C:
461         * kbmap.C:
462         * kbsequence.C:
463         * lyxfunc.C: associated changes.
464
465 2003-09-06  Angus Leeming  <leeming@lyx.org>
466
467         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
468         As a result, can remove the #include "insets/inset.h" from BufferView.h
469
470 2003-09-06  Angus Leeming  <leeming@lyx.org>
471
472         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
473         As a result, can remove the #include "insets/inset.h" from BufferView.h
474
475 2003-09-06  Angus Leeming  <leeming@lyx.org>
476
477         * buffer_funcs.C:
478         * buffer.h:
479         * bufferlist.C:
480         * BufferView.C:
481         * bufferview_funcs.C:
482         * BufferView_pimpl.C:
483         * CutAndPaste.C:
484         * lyx_cb.C:
485         * lyxfunc.C:
486         * paragraph.h:
487         * ParagraphParameters.C:
488         * tabular.C:
489         * text3.C:
490         * toc.C:
491         * undo_funcs.C:
492         * frontends/controllers/ControlDocument.C:
493         * insets/insetcaption.C: rearrange the #includes into some sort of
494         coherent order.
495
496         * buffer.h: remove #includes ErrorList.h, undo.h
497
498 2003-09-06  Angus Leeming  <leeming@lyx.org>
499
500         * support/types.h: add a 'depth_type' typedef, used to store the
501         nesting depth of a paragraph.
502
503         * paragraph.h:
504         * ParameterStruct.h: use this lyx::depth_type typedef rather than
505         defining explicitly.
506
507         * buffer.h:
508         * paragraph_funcs.h:
509         * ParagraphParameters.h:
510         * sgml.h: use lyx::depth_type rather than Paragraph or
511         ParameterStruct's depth_type.
512
513         * buffer.h
514         * paragraph_funcs.h: no need to #include paragraph.h anymore.
515
516         * BufferView.C:
517         * BufferView_pimpl.C:
518         * CutAndPaste.C:
519         * ParagraphParameters.C:
520         * buffer_funcs.C:
521         * bufferlist.C:
522         * bufferview_funcs.C:
523         * lyx_cb.C:
524         * lyxfunc.C:
525         * tabular.C:
526         * text3.C:
527         * toc.C:
528         * undo_funcs.C:
529         * frontends/LyXView.C:
530         * frontends/controllers/ControlDocument.C:
531         * frontends/controllers/ControlErrorList.C:
532         * insets/insetbibitem.C:
533         * insets/insetbranch.C:
534         * insets/insetcaption.C:
535         * insets/insetcollapsable.C:
536         * insets/insetenv.C:
537         * insets/insetert.C:
538         * insets/insetfloat.C:
539         * insets/insetfoot.C:
540         * insets/insetfootlike.C:
541         * insets/insetnewline.C:
542         * insets/insetquotes.C:
543         * insets/insettabular.C:
544         * insets/insettext.C:
545         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
546
547         * frontends/controllers/ControlChanges.C: #include "changes.h".
548
549 2003-09-06  Angus Leeming  <leeming@lyx.org>
550
551         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
552         than #including paragraph.h.
553
554         * ParagraphList.h:
555         * RowList.h: deleted. Superfluous.
556
557         * CutAndPaste.h:
558         * iterators.h:
559         * lyxcursor.h:
560         * lyxtext.h:
561         * text_funcs.h:
562         * undo.h:
563         * undo_funcs.h:
564         * insets/inset.h:
565         * insets/insettext.h: use ParagraphList_fwd.h rather than
566         ParagraphList.h.
567
568         * paragraph.h: don't forward declare ParagraphList.
569
570         * buffer.h:
571         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
572         rather than ParagraphList.h. paragraph.h is still needed for the
573         Paragraph::depth_type parameters.
574
575         * textcursor.h: enable it to compile stand-alone in light of the
576         above changes.
577
578         * bufferview_funcs.C:
579         * iterators.C:
580         * lyxfunc.C:
581         * lyxrow_funcs.C:
582         * paragraph.C:
583         * rowpainter.C:
584         * text.C:
585         * text2.C:
586         * text3.C:
587         * text_funcs.C:
588         * textcursor.C:
589         * undo.C:
590         * frontends/controllers/ControlParagraph.C:
591         * frontends/controllers/ControlTabular.C:
592         * insets/insetmarginal.C:
593         * insets/insetminipage.C:
594         * insets/insetnote.C:
595         * insets/insetoptarg.C: add header files needed to compile again.
596
597 2003-09-06  Angus Leeming  <leeming@lyx.org>
598
599         * RowList_fwd.h: new file, forward-declaring Row rather than
600         #including lyxrow.h.
601
602         * lyxrow_funcs.h:
603         * lyxtext.h:
604         * paragraph.h:
605         * insets/insettext.h: use it instead of RowList.h
606
607         * bufferview_funcs.C:
608         * lyxfunc.C:
609         * lyxrow_funcs.C:
610         * paragraph.C:
611         * rowpainter.C:
612         * text.C:
613         * text2.C:
614         * text3.C: #include "RowList.h".
615
616 2003-09-05  Angus Leeming  <leeming@lyx.org>
617
618         * factory.C (createInset):
619         * vspace.C (c-tor): replace sscanf call with an istringstream.
620         * ispell.C: re-add missing HP/UX headers.
621         * lyxserver.C: re-add missing  os2 headers.
622
623 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
624
625         * BranchList.C:
626         * graph.C:
627         * ispell.C:
628         * lastfiles.C:
629         * lyx_cb.C:
630         * lyxserver.C:
631         * texrow.C:
632         * text3.C: re-add missing system headers, needed for 2.95.2.
633
634 2003-09-05  Angus Leeming  <leeming@lyx.org>
635
636         Changes most place everywhere due to the removal of using directives
637         from support/std_sstream.h.
638
639 2003-09-05  Angus Leeming  <leeming@lyx.org>
640
641         Replace LString.h with support/std_string.h,
642         Lsstream.h with support/std_sstream.h,
643         support/LIstream.h with support/std_istream.h,
644         support/LOstream.h with support/std_ostream.h.
645
646         Changes resulting throughout the tree.
647
648 2003-09-05  Angus Leeming  <leeming@lyx.org>
649
650         * sgml.h: ensure that the header file can be compiled stand-alone.
651         * *.C: strip out redundant #includes. (320 in total.)
652
653 2003-09-04  Angus Leeming  <leeming@lyx.org>
654
655         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
656         here (from getPackages).
657
658         * debug.[Ch]: add a new EXTERNAL tag.
659
660 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
661
662         * text2.C (cursorEnd): simplify
663         (setCursor): adjust
664         (getColumnNearX): adjust
665
666         * text.C (computeBidiTables): adjust
667         (fill): adjust
668
669         * rowpainter.C (paintChars): adjust
670         (paintSelection): adjust
671         (paintChangeBar): adjust
672         (paintText): adjust
673
674         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
675         lastPos instead.
676         (numberOfSeparators): adjust
677
678 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
679
680         * LyXAction.C:
681         * box.[Ch]:
682         * lfuns.h:
683         * lyxfunc.C:
684         * text3.C: Restricts the mouse click functionality
685         of insets like bibtex, include, toc and floatlist to the visible
686         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
687         up the dialogs. Cursor has to be in front of the inset (i.e.
688         start of row) for this to function.
689
690 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
691
692         * bufferview_funcs.C (currentState): output row information
693
694 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
695
696         * bufferview_funcs.C (currentState): output paragraph position
697
698 2003-09-04  Angus Leeming  <leeming@lyx.org>
699
700         * FloatList.h: move out #include "Floating.h".
701         * LaTeX.h: move out #include "DepTable.h".
702         * LyXAction.h: move out #include "funcrequest.h".
703         * buffer.h: move out #include "author.h", "iterators.h".
704         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
705         * lyx_main.h: move out #include "errorlist.h".
706         * lyxfunc.h: move out #include "FuncStatus.h".
707         * lyxtext: move out #include "lyxcursor.h".
708         * paragraph_pimpl.h: move out #include "counters.h".
709
710 2003-09-03  Angus Leeming  <leeming@lyx.org>
711
712         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
713         preamble_snippets list, enabling us to add snippets to the preamble
714         only if the snippet was not there already.
715
716 2003-09-04  Angus Leeming  <leeming@lyx.org>
717
718         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
719
720 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
721
722         * lyxfunc.C (dispatch): if fitCursor did something be sure to
723         update
724
725 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
726
727         * BranchList.C: point fix, earlier forgotten
728
729 2003-09-02  Angus Leeming  <leeming@lyx.org>
730
731         * box.C (contains): renamed from 'contained' after a fantastic
732         amount of hot air.
733
734 2003-09-02  John Levon  <levon@movementarian.org>
735
736         * BufferView.C:
737         * lyxcursor.h:
738         * lyxcursor.C:
739         * lyxfunc.C:
740         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
741
742 2003-09-02  John Levon  <levon@movementarian.org>
743
744         * text2.C: simplification of cursorEnd(), including partial
745         fix for bug 1376
746
747 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
748
749         * buffer.C (readFile): add a space
750
751 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
752
753         * BufferView_pimpl.C (update): remove bogus fitCursor() call
754
755 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
756
757         * buffer.C (readFile): new function, take a filename and a
758         ParagraphList::iterator
759         (readFile): adjust
760         (readFile): adjust, make it private. don't use setStream, make
761         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
762         always contain the filename.
763
764         * BufferView.C (insertLyXFile): simplify and make it work for
765         gzipped files.
766
767 2003-08-30  John Levon  <levon@movementarian.org>
768
769         * Makefile.am: fix dist (from Kayvan)
770
771 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
772
773         * most files: change to use const Buffer refs
774
775 2003-08-27  André Pönitz  <poenitz@gmx.net>
776
777         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
778         on top of ownerPar().
779
780 2003-08-27  John Levon  <levon@movementarian.org>
781
782         * funcrequest.C: properly initialise POD members
783
784 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
785
786         * lyxtext.h (top_y): move top_y from here
787         * text.C:
788         * text2.C:
789         * text3.C:
790         * BufferView.[Ch]:
791         * BufferView_pimpl.[Ch]: to here
792         * frontends/screen.C:
793         * insets/insettabular.C:
794         * insets/insettext.C: adjust
795         * rowpainter.[Ch] (paintRows): remove LyXText & argument
796
797 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
798
799         * BufferView.[Ch]:
800         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
801
802 2003-08-26  André Pönitz  <poenitz@gmx.net>
803
804         * paragraph_func.[Ch] (outerPar): new function
805
806         * paragraph.C:
807         * paragraph_funcs.C:
808         * paragraph_funcs.h:
809         * paragraph_pimpl.C:
810         * text2.C: remove Inset::par_owner
811
812 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
813
814         * lyxrow_funcs.C:
815         * lyxtext.h:
816         * text.C:
817         * text2.C: eliminates the needFullRow/display() stuff
818         altogether, putting the logic in metrics/draw in the insets.
819
820 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
821
822         * text2.C (redoParagraphInternal, redoParagraphs):
823         * text.C (redoParagraph): add a call to updateRowPositions at the
824         end of each 'metrics-like' call. Remove all others.
825         (getRow): remove the 'y-computing' version.
826         (getRowNearY): do not compute nor return the real y. Solve the
827         'y < 0' problem and simplify.
828
829 2003-08-22  Angus Leeming  <leeming@lyx.org>
830
831         * *.[Ch]: clean-up of licence and author blurbs.
832         Also move config.h out of a few .h files and into a few .C files.
833
834 2003-08-22  André Pönitz  <poenitz@gmx.net>
835
836         * lyxrow.[Ch]: add x_ and *fill_ members
837
838         * lyxtext.h:
839         * text.C:
840         * rowpainter.C:
841         * text2.C: adjust/remove prepareToPrint() calls
842
843 2003-08-22  André Pönitz  <poenitz@gmx.net>
844
845         * lyxrow.[Ch]: add  end_ member
846
847         * lyxrow_funcs.C: use LyXRow::end_
848
849         * lyxtext.h (singleWidth): add LyXFont parameter
850
851         * rowpainter.C:
852         * text2.C: adjust LyXText::singleWidth() calls
853
854         * text.C (redoParagraph): simplify row breaking logic
855
856
857 2003-08-19  André Pönitz  <poenitz@gmx.net>
858
859         * funcrequest.C: initialize button_ member
860
861         * text3.C:
862         * rowpainter.[Ch]: interface consolidation
863
864 2003-08-18  André Pönitz  <poenitz@gmx.net>
865
866         * BufferView.C:
867         * BufferView_pimpl.C:
868         * lyxfind.C:
869         * paragraph_funcs.C:
870         * rowpainter.C:
871         * text3.C: remove LyXScreen::draw() and fitCursor calls
872
873         * BranchList.h: remove spurious semicolons
874
875         * MenuBackend.C: fix branchlist related crash
876
877 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
878
879         * BranchList.[Ch]:
880         * InsetList.[Ch]:
881         * LColor.[Ch]:
882         * LyXAction.C:
883         * Makefile.am:
884         * MenuBackend.[Ch]:
885         * bufferparams.[Ch]:
886         * factory.C:
887         * lfuns.h:
888         * lyxfunc.C:
889         * text3.C: implements the 'branch inset'
890         idea. This allows the output of various versions of a document
891         from a single source version, selectively outputing or suppressing
892         output of parts of the text.
893         This implementation contains a 'branch list editor' in a separate
894         tab of the document settings dialog. Branches are user definable
895         and have a "display colour" to distinguish them on-screen.
896
897         ColorHandler was somewhat cleaned up.
898         (1) make possible a dynamically growing LColor list by allowing
899         the graphic context cache to grow along (vector);
900         (2) eliminate an IMHO unnecessary step in colour allocation.
901
902 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
903
904         * BufferView_pimpl.C: compile fix
905
906 2003-08-15  André Pönitz  <poenitz@gmx.net>
907
908         * rowpainter.C: remove extra metrics calls
909
910         * lyxtext.h: merge the two constructors into a single one,
911           pass reference to owner's par list
912
913         * BufferView_pimpl.C:
914         * text.C:
915         * text2.C: adjust
916
917 2003-08-15  André Pönitz  <poenitz@gmx.net>
918
919         * lyxrow_funcs.[Ch]:
920         * lyxtext.h:
921         * paragraph.h:
922         * paragraph_funcs.C:
923         * rowpainter.C:
924         * text.C:
925         * text2.C:
926         * text3.C:
927         * text_funcs.C: split LyXText::rowlist_ into individual
928         Paragraph::rows_ chunks
929
930         * BufferView.[Ch]:
931         * BufferView_pimpl.[Ch]:
932         * lyxfind.C:
933         * lyxtext.h:
934         * text3.C: remove toggleSelection()
935
936 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
937
938         * bufferlist.C: beautify two alerts (shorter text of buttons)
939         * buffer.C: Remove redundant ' ' from message
940         * tabular.h:
941         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
942         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
943         rename VALIGN_CENTER to VALIGN_MIDDLE
944
945 2003-08-11  André Pönitz  <poenitz@gmx.net>
946
947         * lyxtext.h (getPar):
948         * text.C: new function
949
950 2003-08-11  André Pönitz  <poenitz@gmx.net>
951
952         * Makefile.am:
953         * tracer.[Ch]: remove unneeded files
954
955         * InsetList.[Ch]: remove resizeInsetsLyXText()
956
957         * lyxtext.h:
958         * text.C:
959         * text2.C:
960         * text3.C: merge insertParagraphs() and appendParagraph()
961         remove breakAgain(), update()
962
963         * BufferView_pimpl.[Ch]:
964         * bufferview_funcs.[Ch]:
965         * lyxfunc.C:
966         * paragraph.[Ch]:
967         * rowpainter.C:
968         * tabular.C: adjust after text & InsetList changes.
969
970 2003-08-08  André Pönitz  <poenitz@gmx.net>
971
972         * text.C (insertChar, backspace): replace rowlist fiddling
973         with rebreak of full par
974
975         * lyxtext.h:
976         * text.C (breakAgainOneRow, redoHeightOfParagraph,
977         checkParagraph, updateInset): removed
978
979 2003-08-07  André Pönitz  <poenitz@gmx.net>
980
981         * paragraph.C:
982         * text3.C: merge some LFUN handlers, remove dead code
983
984 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
985
986         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
987
988 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
989
990         * text2.C (DEPM): fix part of bug 1255 and 1256
991
992 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
993
994         * BufferView_pimpl.C (workAreaDispatch): change to use
995         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
996         that are no mouse related.
997
998 2003-08-05  André Pönitz  <poenitz@gmx.net>
999
1000         * BufferView.[Ch]:
1001         * BufferView_pimpl.[Ch]:
1002         * bufferview_funcs.C:
1003         * text2.C:
1004         * text3.C: rip out "deep update"
1005
1006         * textcursor.[Ch] (last_sel_cursor): remove unused member
1007
1008 2003-08-04  André Pönitz  <poenitz@gmx.net>
1009
1010         * BufferView.[Ch]:
1011         * BufferView_pimpl.[Ch]:
1012         * ParagraphParameters.C:
1013         * bufferview_funcs.C:
1014         * lyx_cb.C:
1015         * lyxfind.C:
1016         * lyxfunc.C:
1017         * text.C:
1018         * text2.C:
1019         * text3.C: replace "complicated" BufferView::update(...) calls with
1020         simpler ones.
1021
1022         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1023
1024 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1025
1026         * Makefile.am (lyx_SOURCES): add paper.h
1027
1028 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1029
1030         * Makefile.am: move things around so that both lyx-qt and
1031         lyx-xforms can be built (according to --with-frontend). Then lyx
1032         is a symbolic link to lyx-[firstfrontend]
1033
1034 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1035
1036         * Always use std::endl with lyxerr
1037
1038 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1039
1040         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1041
1042 2003-08-01  André Pönitz  <poenitz@gmx.net>
1043
1044         * BufferView.[Ch]:
1045         * BufferView_pimpl.[Ch]:
1046         * lyxfunc.C:
1047         * text3.C: merge BufferView::repaint() and BufferView::update()
1048
1049 2003-08-01  José Matos  <jamatos@lyx.org>
1050
1051         * buffer.[Ch]: file_format is no longer a buffer data element.
1052
1053 2003-08-01  André Pönitz  <poenitz@gmx.net>
1054
1055         * BufferView.C:
1056         * lyxtext.h:
1057         * text.C:
1058         * text2.C: make redoParagraph more independent of current cursor
1059
1060         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1061         * text.C:
1062         * text2.C: remove unneeded members
1063
1064 2003-07-30  André Pönitz  <poenitz@gmx.net>
1065
1066         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1067
1068         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1069           create a single function...
1070
1071         * paragraph_funcs.C (moveItem): ... here.
1072
1073         * text.C:
1074           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1075
1076 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1077
1078         * LColor.[Ch]: Add comment and greyedout logical colors.
1079
1080 2003-07-30  André Pönitz  <poenitz@gmx.net>
1081
1082         * tabular.C: don't use Assert too heavily. This crashes where it
1083           shouldn't
1084
1085 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1086
1087         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1088         is disabled (bug 1232)
1089
1090 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1091
1092         * factory.C: limited 'arg' scope
1093
1094 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1095
1096         * factory.C: fixed Note submenu issues
1097
1098 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1099
1100         * factory.C: submenu for Note/Comment/Greyedout
1101
1102 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1103
1104         * lyx_main.C (LyX):
1105         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1106
1107 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1108
1109         * LaTeXFeatures.C:
1110         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1111         greyedout. Patch provided by Jürgen Spitzmüller.
1112
1113 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1114
1115         * kbmap.C (read): fix error message when reading bind files
1116
1117 2003-07-29  Angus Leeming  <leeming@lyx.org>
1118
1119         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1120         certainly does not do what it purports to do. I am doing it, and
1121         us, a favour by killing it.
1122
1123 2003-07-28  José Matos  <jamatos@lyx.org>
1124
1125         * buffer.C (readBody, do_writeFile):
1126         * paragraph.C(readParagraph): \end_document replaces \the_end.
1127
1128 2003-07-29  André Pönitz  <poenitz@gmx.net>
1129
1130         * BufferView.[Ch]:
1131         * BufferView_pimpl.[Ch]:
1132         * lyxfunc.C:
1133         * text2.C:
1134         * text3.C:
1135         * textcursor.[Ch]: remove toggleToggle & Co
1136
1137 2003-07-28  José Matos  <jamatos@fep.up.pt>
1138
1139         * buffer.C (readParagraph):
1140         * params_func (readParToken, readParagraph):
1141         * paragraph.C (write): \layout -> \begin_layout.
1142
1143 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1144
1145         * lyxlex_pimpl.C (setFile): clean up slightly.
1146
1147         * bufferparams.h: add compressed var
1148
1149         * buffer_funcs.C (readFile): adjust for LyXLex change
1150         (newFile): ditto + simplify
1151
1152         * buffer.C (writeFile): handle writing of compressed files
1153
1154         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1155         Check if the file is compressed and set a bufferparm if so.
1156
1157         * Makefile.am (lyx_LDADD): remove explicit -lz
1158
1159 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1160
1161         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1162         makeDocBookFile): put the real LyX version in the first line of
1163         the file
1164
1165         * version.h:
1166         * version.C.in: remove lyx_docversion
1167
1168         * tabular.C (write_attribute): add a template-based version to
1169         write enums properly
1170
1171 2003-07-28  André Pönitz  <poenitz@gmx.net>
1172
1173         * lyxtext.h:
1174         * text.C:
1175         * text2.C:
1176         * text3.C: use doubles again for x-coordinates. They are needed.
1177
1178 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1179
1180         * messages.C (getLocaleDir): use lyx_localedir()
1181
1182         * lyxlex_pimpl.C (setFile): compress stuff
1183
1184         * buffer.C (writeFile): add some compression stuff
1185         (do_writeFile): new func, dont call expliti close... will this
1186         breake anything?
1187
1188         * Makefile.am (lyx_LDADD): add -lz
1189
1190 2003-07-28  José Matos  <jamatos@fep.up.pt>
1191
1192         * buffer.C: increment file format.
1193         * paragraph_funcs (readParagraph, readParToken):
1194         * paragraph.C (readParagraph): add \end_layout.
1195
1196 2003-07-27  Angus Leeming  <leeming@lyx.org>
1197
1198         * Makefile.am: remove special casing for configure-time setting of
1199         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1200
1201         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1202         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1203
1204 2003-07-26  André Pönitz  <poenitz@gmx.net>
1205
1206         * paragraph_func.[Ch]:
1207         * paragraph.C (realizeFont): inline it whereever it is used
1208
1209         * rowpainter.C:
1210         * text.C:
1211         * text2.C:
1212         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1213
1214
1215 2003-07-26  André Pönitz  <poenitz@gmx.net>
1216
1217         *       lyxtext.h:
1218         * text.C:
1219         * text2.C: get rid of LyXText::need_break_row
1220
1221 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1222
1223         * toc.[Ch]: put namespace toc inside namespace lyx
1224
1225         * MenuBackend.C (expandToc2): adjust for lyx::toc
1226         (expandToc): ditto
1227
1228         * lyxfunc.C (dispatch): adjust for lyx::find
1229
1230         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1231         lyx::find instead. Reorganize a bit.
1232         (LyXReplace): rename to replace
1233         (LyXFind): rename to find
1234
1235         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1236         (dispatch): ditto
1237
1238 2003-07-26  André Pönitz  <poenitz@gmx.net>
1239
1240         * text.C (setHeightOfRow): restrict scope of temporary variable
1241
1242         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1243           code (never has been used?)
1244
1245 2003-07-27  Asger Alstrup  <alstrup@local>
1246
1247         * text.C (fill): Optimise algorithm to exploit that we can reuse
1248         the LyXFont for many characters.
1249         (setHeightOfRow): Same thing.
1250         (rowBreakPoint): Same thing.
1251
1252 2003-07-26  Asger Alstrup  <alstrup@local>
1253
1254         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1255
1256         * text.C (singleWidth): Spurious font copying in hot-spot
1257         singleWidth avoided. Reorder tests for arabic for efficiency.
1258
1259         * text.C (fill): handle empty paragraphs better.
1260
1261 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1262
1263         * ispell.C:
1264         * encoding.h: add includes
1265
1266         * lyxrc.C: remove reading of bind files
1267
1268         * lyx_main.C (init): setup bindings and menus only if we have a
1269         gui.
1270
1271         * kbmap.C (read): new method. Do the actual reading of bind
1272         files.
1273
1274         * converter.C (dvipdfm_options):
1275         * bufferparams.C:
1276         * lyxrc.C (read):
1277         (output): adapt PAPER_* enums.
1278
1279         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1280
1281         * bufferparams.h: remove paper-related enums from there
1282
1283         * paper.h: New file. A trivial header file to hold paper-related
1284         enums. It should later expand to contain many paper-related
1285         horrors access.
1286
1287         * lyxrc.C: declare extern displayTranslator
1288
1289 2003-07-27  José Matos  <jamatos@fep.up.pt>
1290
1291         * tabular.[Ch] (linuxdoc): add support for tables and figures
1292         (linuxdoc).
1293
1294 2003-07-27  José Matos  <jamatos@fep.up.pt>
1295
1296         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1297         consistency in both functions.
1298         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1299
1300 2003-07-26  Asger Alstrup  <alstrup@local>
1301
1302         * rowpainter.C (paintRows): Change algorithm to work directly on
1303         the insets rather than asking every character in the document
1304         whether its an inset.
1305
1306 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1307
1308         * buffer.C (openFileWrite): factorize some code
1309
1310 2003-07-26  Angus Leeming  <leeming@lyx.org>
1311
1312         * lyx_cb.C:
1313         * lyx_main.[Ch]: replace occurances of system_tempdir with
1314         os::getTmpDir().
1315
1316 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1317
1318         * rename Inset to InsetOld
1319
1320 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1321
1322         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1323         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1324         which I think is a bit clearer. EDIT is gone, since it was
1325         premature optimisation, and broken for mathed anyway.
1326         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1327         with cursor positioning in insets as well (math insets still do not
1328         work, but that's a different story anyway.) It mysteriously
1329         crashes sometimes with undo in the first paragraph, but I'm fairly
1330         confident that this is a compiler bug.
1331
1332 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1333
1334         * paragraph.C (Paragraph): adjust for new clone return type
1335         (operator==): ditto
1336         (copyIntoMinibuffer): ditto
1337
1338 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1339
1340         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1341         by not having a special case, and always doing a full rebreak of
1342         the document after undo.
1343
1344 2003-07-23  Angus Leeming  <leeming@lyx.org>
1345
1346         * factory.C (createInset): InsetExternal::setParams now takes a
1347         Buffer const * arg.
1348
1349 2003-07-23  Angus Leeming  <leeming@lyx.org>
1350
1351         * factory.C (createInset): changed interface to the external and
1352         graphics mailers' string2params functions.
1353
1354 2003-07-23  Angus Leeming  <leeming@lyx.org>
1355
1356         * factory.C (createInset): pass a
1357         Buffer const * parameter to InsetExternalMailer's string2params.
1358
1359 2003-07-22  John Levon  <levon@movementarian.org>
1360
1361         * Thesaurus.h: include the right aiksaurus header
1362
1363 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1364
1365         * MenuBackend.C (expand): check menu shortcuts unconditionally
1366
1367 2003-07-21  Angus Leeming  <leeming@lyx.org>
1368
1369         * factory.C (createInset): pass a
1370         buffer_path parameter to InsetGraphicsMailer's string2params.
1371
1372 2003-07-21  Angus Leeming  <leeming@lyx.org>
1373
1374         * BufferView_pimpl.C (buffer):
1375         * buffer.C (d-tor):
1376         * lyx_main.C (LyX):
1377         * lyxfunc.C (dispatch):
1378         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1379         rather than the grfx shortcut.
1380
1381 2003-07-21  André Pönitz  <poenitz@gmx.net>
1382
1383         * rowpainter.C: remove unused variables
1384
1385         * tabular_funcs.C:
1386         * tabular_funcs.h: move to tabular.C
1387         * Makefile.am: adjust
1388
1389         * tabular.[Ch]: basic optical cleaning
1390
1391         * author.h: pass references, not values
1392
1393 2003-07-18  André Pönitz  <poenitz@gmx.net>
1394
1395         * lyxtext.h:
1396         * metricsinfo.C:
1397         * metricsinfo.h:
1398         * rowpainter.C:
1399         * text.C:
1400         * text2.C:
1401         * text3.C: two-phase drawing for InsetText and InsetTabular
1402         some float -> int changes.
1403
1404 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1405
1406         * lyx_main.C: fix the fix
1407
1408 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1409
1410         * lyx_main.C: fix a crash in batch mode if no files specified
1411         * converter.C: ws
1412
1413 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1414
1415         * format.[Ch] (papersize): moved to BufferParams
1416         * converter.[Ch] (dvips_options): moved to BufferParams
1417         (dvipdfm_options): moved to anon namespace
1418         * bufferparams.[Ch]: added above functions.
1419
1420 2003-07-17  André Pönitz  <poenitz@gmx.net>
1421
1422         * lyxtext.h:
1423         * rowpainter.C:
1424         * text2.C: don't call inset->update() anymore
1425
1426         * metricsinfo.[Ch]: add convenience constructor
1427
1428 2003-07-16  André Pönitz  <poenitz@gmx.net>
1429
1430         * lyxcursor.[Ch]:
1431         * lyxfunc.[Ch]:
1432         * text.C:
1433         * text2.C: replace the LyXCursor::irow_ member with
1434          on-demand computation of the value
1435
1436 2003-07-16  John Levon  <levon@movementarian.org>
1437
1438         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1439
1440 2003-07-15  André Pönitz  <poenitz@gmx.net>
1441
1442         * text.C:
1443         * text2.C: remove no more needed refresh_row
1444
1445 2003-07-15  André Pönitz  <poenitz@gmx.net>
1446
1447         * lyxtext.h:
1448         * rowpainter.C:
1449         * text2.C:
1450         * text3.C: refresh_status tristate -> need_update bool
1451
1452 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1453
1454         * lyxtext.h (init): remove reinit argument (act as if always true)
1455         * text2.C: adjust to that
1456
1457 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1458
1459         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1460         * text3.C: use it to delete selections in some cases
1461         (bugs 441, 673, 702, 954).
1462
1463 2003-07-14  André Pönitz  <poenitz@gmx.net>
1464
1465         * rowpainter.[Ch]: reduce interface
1466
1467 2003-07-14  André Pönitz  <poenitz@gmx.net>
1468
1469         * BufferView_pimpl.C:
1470         * text2.C: adjust after removing unused BufferView * argument
1471
1472 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1473
1474         * text2.C (init): fix a crash fired on resize
1475
1476 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1477
1478         * buffer.[Ch]: added new closing signal
1479         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1480         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1481         BufferView::Pimpl via the closing the signal
1482
1483 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1484
1485         * buffer.[Ch]: take out all bv-related from buffer
1486         * BufferView.C:
1487         * BufferView_pimpl.[Ch]: connect to new signals
1488         * CutAndPaste.C: removed useless asserts
1489         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1490         * lyxvc.[Ch]:
1491         * vc-backend.[Ch]:
1492         * lyxfunc.C: moved view-related funciontality from vc here
1493         * paragraph.C: removed outdated comments
1494         * text.C: ws
1495
1496 2003-07-10  André Pönitz  <poenitz@gmx.net>
1497
1498         * BufferView_pimpl.C:
1499         * tabular.h:
1500         * tabular_funcs.C:
1501         * text.C:
1502         * text2.C: remove InsetText::InnerCache, clean up consequences
1503
1504 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1505
1506         * ispell.C: fix two typos in error messages
1507
1508 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1509
1510         * Extend Note inset to other forms of annotation like Comment
1511         and Greyedout. Right button click gives dialog.
1512
1513         Files modified or added (+):
1514
1515         * insetnote.[Ch]
1516         * FormNote.[Ch]      +
1517         * ControlNote.[Ch]   +
1518         * form_note.fd       +
1519         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1520         frontends/controllers
1521         * xforms/Dialogs.C
1522         * factory.C
1523
1524 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1525
1526         * aspell.C: add missing namespace lyx::support
1527
1528 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1529
1530         * BufferView.[Ch] (newFile): Add
1531         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1532         * LaTeX.[Ch] (message): added this signal and use it
1533         * buffer.[Ch] (busy, message): added these signals and use them
1534         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1535         * converter.C:
1536         * exporter.C:
1537         * format.C:
1538         * importer.C: use buffer signals instead of direct bv calling
1539         * lyx_cb.[Ch] (ShowMessage): removed
1540         * lyx_main.C:
1541         * lyxfunc.C:
1542         * paragraph_funcs.C:
1543         * text2.C: use buffer signals
1544
1545 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1546
1547         * introduce namespace lyx::graphics
1548
1549 2003-07-02  André Pönitz  <poenitz@gmx.net>
1550
1551         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1552
1553 2003-07-01  André Pönitz  <poenitz@gmx.net>
1554
1555         * text.C:
1556         * text2.C:
1557         * text3.C:
1558         * text_funcs.[Ch]:
1559         * textcursor.h:
1560         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1561           text*.C to text_func.C
1562
1563 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1564
1565         * introduce namespace lyx::support
1566
1567 2003-06-30  André Pönitz  <poenitz@gmx.net>
1568
1569         * Chktex.C:
1570         * funcrequest.C:
1571         * lyxtext.h:
1572         * text.C: re-enable --with-included-string
1573
1574 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1575
1576         * textcursor.C: add <config.h>
1577
1578         * text.C (getWord): remove const from word_location arg
1579
1580         * lyxvc.C (getLogFile): fix const type order
1581
1582         * lyxtext.h: remove const from word_location arg, add arg name
1583
1584         * lyxlayout.h: currect type on labeltype.
1585
1586         * importer.C: correct \file
1587
1588         * converter.C (intToFormat): use std:: on ret val, ws changes
1589
1590         * bufferlist.h: correct \file
1591
1592         * buffer.C (makeLinuxDocFile): fix const type order
1593         (makeDocBookFile): ditto
1594         (fillWithBibKeys): use std:: on stdlib args.
1595
1596         * CutAndPaste.C: fix authors.
1597         (availableSelections): use std:: on return vector
1598
1599 2003-06-27  André Pönitz  <poenitz@gmx.net>
1600
1601         * BufferView_pimpl.C:
1602         * bufferview_funcs.C:
1603         * lyxcursor.C:
1604         * lyxcursor.h:
1605         * lyxfunc.C:
1606         * lyxtext.h:
1607         * rowpainter.C:
1608         * text.C:
1609         * text2.C:
1610         * text3.C: remove LyXCursor::row_ member
1611
1612         * lyxtext.h:
1613         * text.C: rename fullRebreak() to partialRebreak() and implement
1614           a fullRebreak() that really bereks fully
1615
1616         * textcursor.h: new struct for cursor-related data
1617
1618 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1619
1620         * lyx_main.C (LyX): get full path of document loaded on the
1621         command line
1622
1623 2003-06-26  André Pönitz  <poenitz@gmx.net>
1624
1625         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1626           remove unused/broken operator>,<,>=.
1627
1628         *       text.C: remove only use of broken operator<= in an Assert().
1629
1630 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1631
1632         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1633         moved errorlist_.clear to showErrorList
1634
1635 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1636
1637         * converter.C (scanLog, runLaTeX):
1638         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1639         move the bv->showErrorList call to the callers
1640         * lyxfunc.C: i.e. here...
1641         * text2.C: and here
1642         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1643         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1644         namespace, the second to...
1645         * buffer_funcs (BufferFormat, parseErrors): added
1646         * errorlist.C (ErrorList(TeXErrors const &)): removed
1647
1648 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1649
1650         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1651
1652 2003-06-24  "Garst R. Reese" <reese@isn.net>
1653
1654         * debug.C: fix typo
1655
1656 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1657
1658         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1659
1660         * version.C.in: change docversion to 1.4
1661
1662 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1663
1664         * buffer.C: fix a bug just introduced
1665
1666 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1667
1668         * buffer.[Ch]: added the parseError signal and use it, removed
1669         sgmlError
1670         * BufferView.[Ch] (addError): moved to ...
1671         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1672         to the Buffer::parseError signal to catch (guess what) parse errors
1673         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1674
1675 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1676
1677         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1678         ability to create a buffer and to return an existing one from
1679         the list. Moved these functions to...
1680         * buffer_funcs.[Ch]: added
1681         * BufferView.[Ch] (loadLyXFile): added
1682         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1683         job removed from bufferlist::loadLyXFile.
1684         * buffer.C (setReadOnly): make it work without view
1685         (i.e added an if (users))
1686
1687 2003-06-19  Angus Leeming  <leeming@lyx.org>
1688
1689         * lfuns.h:
1690         * LyXAction.C (init):
1691         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1692         with LFUN_DIALOG_SHOW <name> <data>.
1693
1694 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1695
1696         * CutAndPaste.C (availableSelections): small compilation fix for
1697         ancient (gcc 2.9x) compilers
1698
1699 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1700
1701         * text3.C (cursorNext): add tmp var
1702
1703         * text2.C (updateCounters): for function calling out of for clause
1704         (replaceSelectionWithString): ditto
1705         (insertStringAsParagraphs): ditto
1706         (getColumnNearX): add tmp var
1707         (setCursorFromCoordinates): add tmp var
1708         (cursorDownParagraph): add tmp var
1709         (deleteEmptyParagraphMechanism): add tmp var
1710
1711         * text.C (insertChar): add tmp var
1712
1713         * rowpainter.C (paintDepthBar): add tmp var
1714
1715         * CutAndPaste.C (availableSelections): potentially check all
1716         paragraphs in a cut to fill the shown strings.
1717
1718 2003-06-18  André Pönitz  <poenitz@gmx.net>
1719
1720         * kbmap.[Ch]: use vector<> instead of list<>
1721
1722 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1723
1724         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1725         pasteSelection with index
1726
1727         * text2.C (pasteSelection): modify, call pasteSelection with index
1728
1729         * paragraph.C (asString): reimplement version with no interval to
1730         call the one with interval.
1731
1732         * lyxtext.h: add index arg to pasteSelection
1733
1734         * MenuBackend.C (MenuItem): handle PasteRecent
1735         (Menu::read::Menutags): add md_pasterecent
1736         (read): handle it
1737         (expandPasteRecent): new function
1738         (expand): use it
1739
1740         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1741
1742         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1743         the limited stack
1744         (availableSelections): new function
1745
1746 2003-06-17  Angus Leeming  <leeming@lyx.org>
1747
1748         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1749
1750 2003-06-17  Angus Leeming  <leeming@lyx.org>
1751
1752         * lfuns.h:
1753         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1754
1755         * lyxfunc.C (dispatch): invoke it.
1756
1757 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1758
1759         * iterators.C (operator++, ParPosition): reintroduce some
1760         const_cast for the benefit of older compilers.
1761
1762 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1763
1764         * text3.C (dispatch): do not modify clipboard when doing
1765         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1766         LFUN_DELETE_SKIP on a selection selection
1767
1768 2003-06-16  André Pönitz  <poenitz@gmx.net>
1769
1770         * BufferView.C:
1771         * buffer.C:
1772         * buffer.h:
1773         * paragraph.C:
1774         * tabular.[Ch]: IU of clone() and getLabelList();
1775
1776 2003-06-13  André Pönitz  <poenitz@gmx.net>
1777
1778         * tabular.h: compactification
1779
1780 2003-06-12  André Pönitz  <poenitz@gmx.net>
1781
1782         * tabular.C:
1783         * tabular.h:
1784         * tabular_funcs.h: some renaming plus whitespace
1785
1786 2003-06-12  André Pönitz  <poenitz@gmx.net>
1787
1788         * BufferView.C:
1789         * BufferView_pimpl.C:
1790         * CutAndPaste.C:
1791         * buffer.C:
1792         * iterators.[Ch]:
1793         * lyxfunc.C:
1794         * text.C:
1795         * toc.C: Return a Paragraph & for ParIterator::operator*()
1796
1797 2003-06-11  John Levon  <levon@movementarian.org>
1798
1799         * lyx_main.C:
1800         * ToolbarBackend.h:
1801         * ToolbarBackend.C: add "Toolbars" section and
1802         put the flags there
1803
1804 2003-06-10  Angus Leeming  <leeming@lyx.org>
1805
1806         * lfuns.h:
1807         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1808
1809         * lyxfunc.C (dispatch): invoke it.
1810
1811 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1812
1813         * main.C: protect <ios> with HAVE_IOS
1814         (main): protect sync_with_stdio with HAVE_IOS
1815
1816 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1817
1818         * text2.C (cutSelection): adjust
1819         (pasteSelection): adjust
1820
1821         * messages.C: handle get of empty string
1822
1823         * main.C (main): use sync_with_stdio(false)
1824
1825         * lyxfunc.C (dispatch): adjust
1826
1827         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1828         (WriteAs): remove unneeded BufferView arg.
1829
1830         * bufferparams.h: use correct types on papersize, papersize2 and
1831         paperpackage.
1832
1833         * bufferparams.C (readToken): adjust for type
1834         (writeLaTeX): add missing cases to switch.
1835
1836         * bufferlist.C (quitWriteBuffer): adjust
1837         (close): adjust
1838
1839         * buffer.C (asciiParagraph): remove some commented code.
1840
1841         * CutAndPaste.C: remove current_view extern variable.
1842         (cutSelection): add BufferParams arg.
1843         (eraseSelection): add BufferParams arg.
1844         (pasteSelection): add Buffer const & arg
1845
1846 2003-06-07  John Levon  <levon@movementarian.org>
1847
1848         * buffer.C:
1849         * paragraph_funcs.C:
1850         * paragraph_pimpl.C:
1851         * text.C:
1852         * text2.C:
1853         * paragraph.h:
1854         * paragraph.C: allow InsetERT to freely space lines,
1855         and some consolidation of code
1856
1857 2003-06-06  José Matos  <jamatos@fep.up.pt>
1858
1859         * buffer.C (makeDocBookFile): fix bug #821
1860
1861 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1862
1863         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1864
1865 2003-06-04  Angus Leeming  <leeming@lyx.org>
1866
1867         * buffer.C: bump format to 224.
1868
1869 2003-06-05  André Pönitz  <poenitz@gmx.net>
1870
1871         * text2.C (redoParagraphs): remove two const_cast<>
1872
1873 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1874
1875         * ParagraphList.h: remove last remnants of NO_STD_LIST
1876
1877 2003-06-03  Angus Leeming  <leeming@lyx.org>
1878
1879         * factory.C (createInset): small change to the way InsetExternal's params
1880         are set.
1881
1882 2003-06-04  André Pönitz  <poenitz@gmx.net>
1883
1884         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1885
1886         * paragraph_pimpl.h:
1887         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1888
1889         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1890
1891         * undo_funcs.C: make some simple cases of undo work again
1892
1893 2003-06-03  John Levon  <levon@movementarian.org>
1894
1895         * ispell.C: HPUX doesn't have sys/select.h
1896         (from Albert Chin)
1897
1898 2003-06-03  John Levon  <levon@movementarian.org>
1899
1900         * CutAndPaste.C: update tabular and include inset
1901         buffer references
1902
1903         * buffer.h:
1904         * paragraph.h:
1905         * paragraph.C: remove owningBuffer(), don't pass Buffer
1906         to clone()
1907
1908         * factory.C: insetGraphicsParams changed
1909
1910 2003-06-02  John Levon  <levon@movementarian.org>
1911
1912         * LyXAction.C:
1913         * factory.C:
1914         * lfuns.h:
1915         * lyxfunc.C:
1916         * text3.C: remove insetparent
1917
1918 2003-06-02  John Levon  <levon@movementarian.org>
1919
1920         * buffer.h:
1921         * buffer.C: fix inset_iterator.end(), move out of line
1922         (bug 1149)
1923
1924 2003-06-01  John Levon  <levon@movementarian.org>
1925
1926         * text3.C: use a proper cut/paste when doing inset
1927         insert (from Jürgen Spitzmüller)
1928
1929 2003-06-01  John Levon  <levon@movementarian.org>
1930
1931         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1932
1933 2003-05-30  André Pönitz  <poenitz@gmx.net>
1934
1935         * rowpainter.C: unify second drawing phase
1936
1937 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1938
1939         * trans_mgr.C: remove one case of current_view
1940
1941         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1942
1943         * paragraph_funcs.h: remove paragraph.h include
1944
1945         * paragraph.h: delete NO_STD_LIST stuff
1946
1947         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1948
1949         * buffer.h: remove paragraph.h include
1950
1951         * ParagraphList.C: delete file
1952
1953         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1954
1955         * toc.C (getTocList): adjust
1956
1957         * paragraph_pimpl.C (validate): adjust
1958
1959         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1960
1961         * paragraph.C (Paragraph): adjust
1962         (getPositionOfInset): use const_iterator, adjust
1963         (bibitem): use const_iterator, adjust
1964         (setInsetOwner): adjust
1965
1966         * iterators.C (operator++): adjust
1967
1968         * InsetList.[Ch]: Replace selfmade iterator with standard
1969         vector::iterator also introduce const_iterator. Remove getPos,
1970         getInset and setInset from InsetTable. Adjust accordingly.
1971
1972         * BufferView.C (lockInset): adjust
1973         (ChangeInsets): adjust
1974
1975         * tabular.[Ch]: delete commented same_id functions
1976
1977 2003-05-28  John Levon  <levon@movementarian.org>
1978
1979         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1980
1981 2003-05-28  André Pönitz  <poenitz@gmx.net>
1982
1983         * metricsinfo.[Ch]: remove 'fullredraw' member
1984
1985 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1986
1987         * lyxtextclass.C (operator): remove caching.
1988
1989 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1990
1991         * text3.C: adjust
1992
1993         * text2.C (cursorBottom): adjust
1994         (setCounter): use ParagraphList::find, adjust
1995
1996         * text.C (workWidth): use ParagraphList::find, adjust
1997
1998         * lyxcursor.C (LyXCursor): adjust
1999
2000         * buffer.C (inset_iterator): adjust
2001
2002         * ParagraphList.h: make iterator(value_type) private, make
2003         ParagraphList a friend of iterator.
2004
2005         * ParagraphList.C (find): new function
2006
2007         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2008
2009 2003-05-27  André Pönitz  <poenitz@gmx.net>
2010
2011         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2012
2013 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2014
2015         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2016
2017 2003-05-26  John Levon  <levon@movementarian.org>
2018
2019         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2020
2021 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2022
2023         * remove same_id from function signatures, adjust.
2024
2025 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2026
2027         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2028
2029         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2030
2031         * paragraph.C (Paragraph): get rid of same_ids parameter
2032
2033         * ParagraphList.C (insert): adjust
2034         (push_back): adjust
2035
2036 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2037
2038         * paragraph_funcs.C (breakParagraph): adjust
2039         (breakParagraphConservative): adjust
2040
2041         * buffer.C (readParagraph): adjust
2042
2043         * ParagraphList.C (insert): take a reference instead of a pointer
2044         (insert): adjust
2045
2046         * paragraph.[Ch] (id): new function
2047
2048         * bufferlist.C (newFile): adjust
2049
2050         * ParagraphList.C (ParagraphList): adjust
2051         (assign): adjust
2052         (push_back): take a reference instead of a pointer.
2053
2054         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2055
2056         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2057         instead.
2058
2059         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2060         set else use old code.
2061
2062         * ParagraphList.C: remove all NO_NEXT code and only compile this
2063         code of NO_STD_LIST is set.
2064
2065 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2066
2067         * BufferView_pimpl.C:
2068         * TextCache.C:
2069         * TextCache.h:
2070         * bufferlist.C:
2071         * errorlist.h:
2072         * format.C:
2073         * format.h:
2074         * graph.C:
2075         * lyxfunc.C:
2076         * lyxrc.C:
2077         * graphics/GraphicsConverter.C:
2078         * graphics/PreviewLoader.C: header adjustment
2079
2080 2003-05-23  Angus Leeming  <leeming@lyx.org>
2081
2082         * LaTeXFeatures.[Ch] (useBabel): new method.
2083         * bufferparams.C (writeLaTeX): use it.
2084
2085 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2086
2087         * ParagraphList.h (set): remove unused function.
2088
2089 2003-05-23  André Pönitz  <poenitz@gmx.net>
2090
2091         * BufferView.C:
2092         * BufferView_pimpl.C:
2093         * buffer.C:
2094         * buffer.h:
2095         * lyxfunc.C:
2096         * undo_funcs.C: setUndo reworked
2097
2098         * iterators.[Ch]: add access to topmost ParagraphList
2099
2100         * lyxtext.[Ch] (workWidth): add a const
2101
2102 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2103
2104         * texrow.[Ch] (increasePos): remove function
2105         * exporter.C (export): removed unused var and outdated comment
2106
2107 2003-05-23  Angus Leeming  <leeming@lyx.org>
2108
2109         * latexrunparams.h: rename fragile as moving_arg.
2110         * paragraph.C (simpleTeXOnePar): ditto.
2111         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2112
2113 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2114
2115         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2116         (createUndo): ditto
2117         (textUndoOrRedo): comment out a currently unused var.
2118
2119         * paragraph.h (NO_NEXT): enable NO_NEXT
2120
2121         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2122
2123         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2124
2125         * exporter.C (Export): adjust for removeAutoInsets removal.
2126
2127         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2128
2129         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2130
2131         * BufferView.[Ch] (removeAutoInsets): delete function
2132
2133 2003-05-22  Angus Leeming  <leeming@lyx.org>
2134
2135         * latexrunparams.h: add a free_spacing variable.
2136
2137         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2138         to pass moving_arg, as the data is stored in runparams.fragile.
2139
2140         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2141         to Inset::latexOptional or to simpleTeXOnePar.
2142
2143         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2144         free_spacing arg to Inset::latexOptional.
2145
2146         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2147         free_spacing arg.
2148
2149 2003-05-22  Angus Leeming  <leeming@lyx.org>
2150
2151         * latexrunparams.h: add fragile and use_babel variables.
2152
2153         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2154         * buffer.C (makeLaTeXFile): store this returned value in
2155         runparams.use_babel, thus passing it to the inset::latex methods.
2156
2157         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2158         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2159
2160         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2161         longer has a fragile arg, as it is stored in runparams.fragile.
2162
2163         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2164         moving_arg parameter as the data is stored in runparams.fragile.
2165
2166         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2167         a fragile parameter as the data is stored in runparams.fragile.
2168
2169 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2170
2171         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2172
2173 2003-05-22  Angus Leeming  <leeming@lyx.org>
2174
2175         * latexrunparams.h: add a 'bool nice' which defaults to false.
2176
2177         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2178         now encapsulated within runparams.
2179
2180         * bufferlist.C (updateIncludedTeXfiles):
2181         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2182
2183 2003-05-22  Angus Leeming  <leeming@lyx.org>
2184
2185         * latexrunparams.h: new file containing struct LatexRunParams.
2186         * Makefile.am: add new file.
2187
2188         * LaTeX.[Ch] (c-tor, run):
2189         * buffer.[Ch] (makeLaTeXFile):
2190         * bufferlist.[Ch] (updateIncludedTeXfiles):
2191         * converter.C (convert, scanLog):
2192         * converter.[Ch] (runLaTeX):
2193         * exporter.C (Export):
2194         * paragraph.[Ch] (simpleTeXOnePar):
2195         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2196         * paragraph_funcs.[Ch] (latexParagraphs):
2197         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2198         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2199         pass around a LatexRunParams parameter.
2200
2201 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * paragraph.[Ch]: remove unused constructor
2204
2205         * ParagraphList.C (erase): new function, taking two iterators
2206
2207 2003-05-22  André Pönitz  <poenitz@gmx.net>
2208
2209         * undo_funcs.C: remove duplicated code
2210
2211         * iterator.[Ch]: operator=
2212
2213 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2214
2215         * tabular.C (SetMultiColumn): ws changes
2216
2217         * rowpainter.C (paintFirst): get rid of a ->previous
2218
2219         * lyx_cb.C (getPossibleLabel): parlist simplification
2220
2221         * BufferView.C (ChangeInsets): simplify slightly.
2222
2223 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2224
2225         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2226         * lfuns.h: new LFUN_SPACE
2227         * lyxfunc.C: protected space has a new lfun
2228         * paragraph_funcs.C: read new space insets
2229         * text3.C:
2230         * factory.C: handle new space insets
2231
2232 2003-05-22  André Pönitz  <poenitz@gmx.net>
2233
2234         * BufferView.C:
2235         * BufferView_pimpl.C:
2236         * buffer.[Ch]:
2237         * lyxfunc.C:
2238         * undo_funcs.C: return a ParIterator from getParFromID.
2239
2240         * iterators.[Ch]: add two const's
2241
2242 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2243
2244         * toc.C (getTocList): adjust
2245
2246         * iterators.[Ch]: rework for parlist
2247
2248         * buffer.C (par_iterator_begin): adjust
2249         (par_iterator_end): adjust
2250
2251         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2252
2253         * BufferView.C (removeAutoInsets): adjust
2254         (ChangeInsets): adjust
2255
2256 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2257
2258         * text.C (top_y): fix bug 1110
2259
2260 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2261
2262         * errorlist.[Ch]: added
2263         * buffer.C:
2264         * BufferView.[Ch]:
2265         * BufferView_pimpl.C:
2266         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2267         instead
2268
2269 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2270
2271         * Makefile.am: ensure that lyx is relinked upon changes to the
2272         various "convenience" libs.
2273
2274 2003-05-20  Angus Leeming  <leeming@lyx.org>
2275
2276         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2277         files are compiled in alphabetical order again.
2278
2279         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2280
2281 2003-05-19  Angus Leeming  <leeming@lyx.org>
2282
2283         * gettext.[Ch]: remove "char const * _(char const *)".
2284
2285 2003-05-19  André Pönitz  <poenitz@gmx.net>
2286
2287         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2288
2289         * Makefile.am:
2290         * BufferView.C:
2291         * DepTable.h:
2292         * LaTeXFeatures.C:
2293         * buffer.C:
2294         * lyxfont.C:
2295         * lyxlex.h:
2296         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2297
2298 2003-05-19  André Pönitz  <poenitz@gmx.net>
2299
2300         * buffer.C:
2301         * lyxlayout.[Ch]:
2302         * lyxtextclass.[Ch]:
2303         * paragraph.C:
2304         * paragraph_funcs.[Ch]:
2305         * text2.C:
2306         * text3.C: more insetenv work
2307
2308 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2309
2310         * ParagraphParameters.C (params2string): small bug fixed
2311
2312 2003-05-16  André Pönitz  <poenitz@gmx.net>
2313
2314         * debug.C:
2315         * bufferview_funcs.C: patch from Kornel Benko to prevent
2316           crash when _(...) is called twice in a statement
2317
2318 2003-05-16  André Pönitz  <poenitz@gmx.net>
2319
2320         * BufferView.C:
2321         * lyxfunc.C:
2322         * text.C:
2323         * text2.C:
2324         * text3.C:
2325         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2326
2327 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2328
2329         * lyx_main.C (init): remove spurious static_cast
2330
2331 2003-05-14  André Pönitz  <poenitz@gmx.net>
2332
2333         * BufferView.C: fix format string
2334
2335 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2336
2337         * BufferView.[Ch] (insertErrors): removed
2338         * BufferView.[Ch] (showErrorList): added
2339         * buffer.C (runChkTeX):
2340         * converter.C (scanLog): call showErrorList instead of inserterrors
2341
2342 2003-05-13  André Pönitz  <poenitz@gmx.net>
2343
2344         * BufferView_pimpl.C:
2345         * buffer.C:
2346         * bufferview_func.C:
2347         * MenuBackend.C:
2348         * lyxfunc.C:
2349         * lyxrc.C:
2350         * tex-accent.C:
2351         * text3.C:
2352         * toc.C:
2353         * tabular_funcs.h: tostr() from its own header
2354
2355         * ParagraphParameters.C:
2356         * ToolbarBackend.C:
2357         * bufferparams.C:
2358         * format.C:
2359         * lyxlex_pimpl.C:
2360         * text3.C: STRCONV()
2361
2362 2003-05-12  André Pönitz  <poenitz@gmx.net>
2363
2364         * BufferView.C:
2365         * BufferView_pimpl.C:
2366         * CutAndPaste.C:
2367         * LaTeX.C:
2368         * LaTeXFeatures.C:
2369         * ParagraphParameters.C:
2370         * buffer.C:
2371         * bufferlist.C:
2372         * bufferparams.C:
2373         * bufferview_funcs.C:
2374         * converter.C:
2375         * counters.C:
2376         * debug.C:
2377         * exporter.C:
2378         * format.C:
2379         * importer.C:
2380         * lyx_cb.C:
2381         * lyx_main.C:
2382         * lyxfont.C:
2383         * lyxfunc.C:
2384         * lyxvc.C:
2385         * paragraph.C:
2386         * paragraph_funcs.C:
2387         * tabular.C:
2388         * tabular_funcs.C:
2389         * text2.C:
2390         * text3.C:  boost::format -> bformat  all over the place
2391
2392
2393 2003-05-09  André Pönitz  <poenitz@gmx.net>
2394
2395         * LColor.[Ch]: Pimpl the #include <map> away
2396
2397 2003-05-09  John Levon  <levon@movementarian.org>
2398
2399         * bufferlist.C: never remove emergency saves
2400
2401 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2402
2403         * Makefile.am: better lib building
2404
2405 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2406
2407         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2408         instead.
2409         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2410         (simpleTeXSpecialChars): adjust
2411         (simpleTeXSpecialChars): adjust
2412         * paragraph.C (simpleTeXOnePar): adjust
2413         * buffer.C (makeLaTeXFile): adjust
2414
2415         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2416
2417         * text2.C (changeDepth): parlist cleanup
2418         (getColumnNearX): ditto
2419
2420         * rowpainter.C (getLabelFont): parlist cleanup
2421
2422         * bufferlist.C (newFile): parlist cleanup
2423
2424         * CutAndPaste.C (eraseSelection): parlist cleanup
2425
2426         * BufferView_pimpl.C (trackChanges): parlist cleanup
2427         (dispatch): ditto
2428
2429         * BufferView.C (lockInset): parlist cleanup.
2430         (ChangeInsets): ditto
2431
2432 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2433
2434         * CutAndPaste.h: Update file header.
2435
2436         * CutAndPaste.C: Update file header.
2437         Store the parts cut out of the Document in a limited_stack.
2438         (copySelection): adjust
2439         (pasteSelection): new function, takes the index in the limited stack.
2440         (nrOfParagraphs): adjust
2441         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2442         simplify error inset insertion.
2443         (checkPastePossible): adjust
2444
2445 2003-05-06  John Levon  <levon@movementarian.org>
2446
2447         * text2.C: don't cast wrap inset to float
2448
2449 2003-05-05  André Pönitz  <poenitz@gmx.net>
2450
2451         * iterator.C:
2452         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2453
2454         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2455           few naked Paragraph *.
2456
2457 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2458
2459         * bufferparams.C: Output warning if a document with missing
2460         TeX document class is loaded
2461         * exporter.C: Disable TeX exports if the document class is missing
2462         * lyxtextclass.C:
2463         * lyxtextclass.h:
2464         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2465         isTeXClassAvailable()
2466
2467 2003-05-03  John Levon  <levon@movementarian.org>
2468
2469         * BufferView.h:
2470         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2471         explicit cursor show/hide
2472
2473         * BufferView_pimpl.h:
2474         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2475         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2476
2477         * lyxfunc.C: hide cursor before dispatching.
2478
2479         * lyx_cb.C:
2480         * lyxfind.C:
2481         * text.C:
2482         * text3.C: remove explicit cursor hides
2483
2484 2003-05-02  André Pönitz  <poenitz@gmx.net>
2485
2486         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2487
2488         * undo_funcs.C:
2489         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2490           linked lists
2491
2492         * text2.C: tiny whitespace
2493
2494 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2495
2496         * undo_funcs.C: almost only ws changes.
2497
2498         * ParagraphList.C (splice): just return if pl is empty.
2499
2500 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2501
2502         * ParagraphList.C (splice): new function.
2503
2504         * CutAndPaste.C (pasteSelection): use it
2505
2506 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2507
2508         * CutAndPaste.C (pasteSelection): remove the last next and
2509         previous from this file.
2510
2511 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2512
2513         * CutAndPaste.C (pasteSelection): more clean up, user proper
2514         ParagraphList functions for pasteing.
2515
2516         * ParagraphList.C (insert): new function, three arg insert
2517
2518 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2519
2520         * ParagraphList.C (insert): new function, three arg insert
2521
2522         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2523         not on paragraphs.
2524
2525 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2526
2527         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2528
2529 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2530
2531         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2532
2533 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2534
2535         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2536         (copySelection): clean up a bit.
2537         (pasteSelection): use make_pair
2538
2539         * ParagraphList.C (ParagraphList): implement copy constructor
2540         (operator=): implement, base on copy constructor.
2541         (assign): new func
2542
2543         * paragraph.C (erase): return a bool
2544
2545         * paragraph_pimpl.C (erasePos): remove function, move contents...
2546         (erase): ... here. Return a bool.
2547         (erase): call erase instead of erasePos.
2548
2549 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2550
2551         * ParagraphList.h: define PitPosPair
2552         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2553         ParagraphList, fix a bug on pasting multiple pars
2554         * text2.C: change interface to C&P
2555
2556 2003-04-30  André Pönitz  <poenitz@gmx.net>
2557
2558         * undo_func.C: revert part of yesterday's patch 2
2559
2560 2003-04-30  John Levon  <levon@movementarian.org>
2561
2562         * LColor.C: s/tabular/table/
2563
2564 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2565
2566         * text3.C (dispatch): do not convert iterator -> pointer
2567         * undo_funcs.C (setCursorParUndo): ditto
2568         * text_funcs.C (transposeChars): ditto
2569
2570         * text2.C (setLayout): ws changes only
2571
2572         * text.C (breakParagraph): do not convert iterator -> pointer
2573         (insertChar): ditto
2574         (acceptChange): ditto
2575         (rejectChange): ditto
2576         (changeCase): ditto
2577         (Delete): ditto
2578         (backspace): ditto
2579
2580         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2581         pointer
2582
2583 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2584
2585         * text3.C (gotoInset): YABG (yet another bad getChar)
2586
2587 2003-04-29  André Pönitz  <poenitz@gmx.net>
2588
2589         * paragraph.h: make operator= private unimplemented as long as
2590           it is unusable
2591
2592         * ParagraphList.C: whitespace
2593
2594         * paragraph.[Ch]:
2595         * paragraph_pimpl.[Ch]:
2596         * paragraph_funcs.C:
2597         * CutAndPaste.C:
2598         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2599
2600         * text2.C:
2601           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2602
2603 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2604
2605         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2606         * paragraph.[Ch] (erase):
2607         * paragraph_pimpl.[Ch] (erase): change return type and value
2608         * text2.C (cutSelection): some rework
2609
2610 2003-04-28  John Levon  <levon@movementarian.org>
2611
2612         * bufferlist.C: changes for unsaved changes dialog
2613
2614 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2615
2616         * bufferlist.C (newFile): set language (messages_) for new
2617         documents also.
2618
2619         * buffer.C (readFile): ws changes only.
2620
2621 2003-04-28  André Pönitz  <poenitz@gmx.net>
2622
2623         * undo_funcs.C:
2624         * lyxfunc.C:
2625         * buffer.[Ch]:
2626         * BufferView_pimpl.C:
2627         * BufferView.C: getParFromID related ParagraphList::iterator changes
2628
2629 2003-04-28  André Pönitz  <poenitz@gmx.net>
2630
2631         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2632           Changes
2633
2634 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2635
2636         * messages.C: remove one more localedir class variable.
2637
2638 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2639
2640         * messages.C (getLocaleDir): singleton generation function
2641         (Pimpl): use it.
2642         (Messages): add a default constructor.
2643
2644         * main.C (main): do not setup localedir here, do not call
2645         gettext_init.
2646
2647         * gettext.C (_): use it.
2648         (gettext_init): delete funciton
2649
2650 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2651
2652         * gettext.C (getLyXMessages): new singleton generating function.
2653
2654         * buffer.C (updateDocLang): adjust
2655
2656         * Makefile.am (messages.o): add target
2657         (main.o): remove target
2658
2659 2003-04-27  John Levon  <levon@movementarian.org>
2660
2661         * bufferlist.C:
2662         * lyx_cb.C:
2663         * lyxfunc.C:
2664         * lyxvc.C: specify cancel button in Alert::prompt
2665
2666 2003-04-26  John Levon  <levon@movementarian.org>
2667
2668         * text3.C:
2669         * lyxfunc.C:
2670         * lfuns.h:
2671         * LyXAction.C: add LFUN_INSET_SETTINGS
2672
2673         * lyxfunc.C: don't enable tabular-feature when there's
2674         just any locking inset
2675
2676 2003-04-26  John Levon  <levon@movementarian.org>
2677
2678         * bufferlist.C: re-add Cancel to buffer close question
2679
2680         * lyxfunc.C: fix import UI a bit
2681
2682 2003-04-25  John Levon  <levon@movementarian.org>
2683
2684         * gettext.C: remove the broken asserts for now
2685
2686 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2687
2688         * messages.C: make case where setlocale cannot comply work better.
2689
2690         * buffer.C (updateDocLang): new function
2691         (changeLanguage): use it
2692         (readFile): use it
2693
2694         * text2.C (setCounter): use B_ a bit.
2695
2696         * lyxlayout.C (Read): be sure to trim the label strings.
2697
2698         * messages.C (Messages): fix typo in comment
2699
2700         * buffer.C (readFile): set message_ after file is loaded.
2701         (makeDocBookFile): remove double return
2702         (changeLanguage): reset message_ upon language change.
2703         (B_): new func, use this to get translated buffer strings.
2704
2705         * main.C: add myself and Jean Marc as authors.
2706
2707 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2708
2709         * messages.[hC]: pimplify Messages, and three different pimpls to be
2710         used in different circumstances.
2711
2712         * gettext.[Ch]: change for use with new message code.
2713
2714 2003-04-24 André Pönitz <poenitz@gmx.net>
2715
2716         * factory.C: support for eqref
2717
2718 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2719
2720         * messages.[Ch]: add missing char
2721
2722         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2723
2724         * messages.[Ch]: New files
2725
2726 2003-04-18  John Levon  <levon@movementarian.org>
2727
2728         * BufferView.h:
2729         * BufferView.C:
2730         * BufferView_pimpl.C:
2731         * lfuns.h:
2732         * LyXAction.C:
2733         * lyxtext.h:
2734         * text2.C: remove layout-copy/paste (bug 778)
2735
2736 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2737
2738         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2739
2740 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2741
2742         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2743         if they succeed. Act accordingly.
2744
2745 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2746
2747         * text2.C (setCharFont): adjust
2748         (setCounter): adjust
2749         (insertStringAsLines): adjust
2750
2751         * text.C (leftMargin): adjust
2752         (setHeightOfRow): adjust
2753
2754         * rowpainter.C (paintFirst): adjust
2755         (paintLast): adjust
2756
2757         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2758         (outerHook): ditto
2759         (isFirstInSequence): ditto
2760         (getEndLabel): ditto
2761         (outerFont): adjust
2762
2763         * paragraph.C (getParLanguage): comment out some hard stuff.
2764
2765         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2766         (sgmlError): ditto
2767         (simpleDocBookOnePar): ditto
2768         (makeDocBookFile): use ParagraphList::iterator
2769
2770         * CutAndPaste.C (pasteSelection): adjust
2771
2772 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2773
2774         * text2.C (getFont): adjust
2775         (getLayoutFont): adjust
2776         (getLabelFont): adjust
2777
2778         * paragraph_funcs.C (TeXOnePar): adjust
2779
2780         * buffer.C (simpleLinuxDocOnePar): adjust
2781         (simpleDocBookOnePar): adjust
2782
2783         * CutAndPaste.C (pasteSelection): adjust
2784
2785         * BufferView.C (getEncoding): adjust
2786
2787         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2788
2789 2003-04-16  John Levon  <levon@movementarian.org>
2790
2791         * lyxfind.C: use parlist stuff for search/changes
2792
2793 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2794
2795         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2796
2797         * text2.C (deleteEmptyParagraphMechanism): adjust
2798
2799         * text2.[Ch] (ownerParagraph): delete func (both of them
2800
2801 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2802
2803         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2804
2805 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2806
2807         * ParagraphList.C: prepare for NO_NEXT
2808
2809 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * text2.C (getFont): adjust
2812         (getLayoutFont): adjust
2813         (getLabelFont): adjust
2814
2815         * paragraph.C (getFont): adjust
2816         (getLabelFont): adjust
2817         (getLayoutFont): adjust
2818
2819         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2820
2821 2003-04-15  John Levon  <levon@movementarian.org>
2822
2823         From Angus Leeming
2824
2825         * lyx_main.C: handle Include in .ui files
2826
2827 2003-04-15  John Levon  <levon@movementarian.org>
2828
2829         * MenuBackend.C: make the doc files length shorter
2830
2831         * ToolbarBackend.h:
2832         * ToolbarBackend.C: handle toolbar placement flags,
2833         Minibuffer
2834
2835 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2836
2837         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2838         adjust
2839
2840         * paragraph_funcs.C (TeXOnePar): adjust
2841
2842         * paragraph.C (getLabelFont): add outerfont arg, adjust
2843         (getLayoutFont): ditto
2844         (simpleTeXOnePar): adjust
2845
2846         * paragraph_pimpl.C (realizeFont): delete func
2847
2848 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2849
2850         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2851         row argument, constify cur argument.
2852
2853 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2854
2855         * text2.C (getFont): adjust
2856         (getLayoutFont): adjust
2857         (getLabelFont): adjust
2858
2859         * paragraph_funcs.C (TeXOnePar): adjust
2860         (outerFont): new func...
2861         (realizeFont): ...moved out from here, changed this to facilitate
2862         transition
2863
2864         * paragraph.C (getFont): take outerfont as arg, adjust
2865         (simpleTeXOnePar): add outerfont arg, adjust
2866
2867         * buffer.C (simpleLinuxDocOnePar): adjust
2868         (simpleDocBookOnePar): adjust
2869
2870         * CutAndPaste.C (pasteSelection): adjust
2871
2872         * BufferView.C (getEncoding): adjust
2873
2874 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2875
2876         * text2.C (setCharFont): adjust
2877         (setCounter): adjust
2878
2879         * text.C (leftMargin): adjust
2880         (setHeightOfRow): adjust
2881
2882         * rowpainter.C (paintFirst): adjust
2883         (paintLast): adjust
2884
2885         * paragraph_pimpl.C (realizeFont): adjust
2886
2887         * paragraph.C (isFirstInSequence): move from here...
2888         * paragraph_funcs.C (isFirstInSequence): ...to here
2889
2890         * paragraph.C (outerHook): move from here...
2891         * paragraph_funcs.C (outerHook): ...to here
2892
2893         * paragraph.C (depthHook): move from here...
2894         * paragraph_funcs.C (depthHook): ...to here
2895
2896         * paragraph.C (getEndLabel): move from here...
2897         * paragraph_funcs.C (getEndLabel): ...to here
2898
2899         * text2.C (realizeFont): move from here...
2900         * paragraph_funcs.C (realizeFont): ...to here
2901
2902 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2903
2904         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2905
2906 2003-04-14  Angus Leeming  <leeming@lyx.org>
2907
2908         * LColor.[Ch]: scrap LColor mathcursor.
2909
2910 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2911
2912         * lyxlex.[Ch] (text): delete function
2913         * trans.C (Load): adjust
2914         * paragraph_funcs.C (readParToken): adjust
2915
2916 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2917
2918         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2919         vector<char> instead of a char[].
2920
2921         * lyxlex_pimpl.C (getString): adjust
2922         (next): adjust
2923         (lex): use getString
2924         (eatLine): adjust
2925         (nextToken): adjust
2926
2927         * lyxlex.C (text): use pimpl_->getString()
2928         (getBool): ditto
2929         (findToken): ditto
2930
2931 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2932
2933         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2934         (makeFontEntriesLayoutSpecific): temp var for par.size()
2935         (setLayout): temp var for ownerParagraphs().end()
2936         (fullRebreak): temp var for rows().end()
2937         (selectionAsString): temp var for boost::next(startpit), realize
2938         that the while really is a regular for loop.
2939         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2940         setCursor in one place.
2941         (setParagraph): temp vr for ownerParagraphs().end()
2942         (updateCounters): make the while loop a for loop
2943         (cutSelection): temp var for ownerParagraphs().end()
2944         (updateInset): make the do {} while() a regular for loop
2945         (getCursorX): use temp vars
2946         (setCurrentFont): use temp vars
2947         (getColumnNearX): use temp vars
2948
2949 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2950
2951         * text.C (transformChar): use temp var for getChar
2952         (computeBidiTables): use temp var for row->par()
2953         (fill): move temp vars for row->par() and pit->layout() earlier in
2954         the function.
2955         (labelFill): use temp var for row->par()
2956         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2957         asc and desc, realize that pit never changes and that firstpit is
2958         just a duplicate and not needed. Exchange rit->par() with pit in a
2959         lot of places.
2960         (breakAgain): use a temp var for boost::next(rit)
2961         (breakAgainOneRow): ditto
2962         (breakParagraph): use a temp var for rows().begin()
2963         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2964         (cursorRightOneWord): use temp var for cursor.par() and
2965         cursor.pos(), remove usage of tmpcursor.
2966         (cursorLeftOneWord): use temp var for cursor.par() and
2967         cursor.pos() only set cur at end of function.
2968
2969 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2970
2971         * text.C, text2.C: exchange all usage of Paragraph::next with
2972         boost::next(ParagraphList::iterator)
2973
2974         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2975
2976         * text2.C (cursorTop): simplify implementation
2977         (cursorBottom): ditto
2978         (setParagraph): use ParagraphList::iterator
2979         (setCurrentFont): adjust
2980         (getColumnNearX): adjust
2981         (cursorRight): adjust
2982         (cursorLeft): remove usage of Paragraph::previous
2983         (cursorUpParagraph): ditto
2984         (deleteEmptyParagraphMechanism): slight cleanup
2985
2986         * text.C (isBoundary): take a Paragraph const & instead of a
2987         pointer as arg.
2988         (addressBreakPoint): ditto
2989         (leftMargin): remove usage of Paragraph::previous.
2990         (setHeightOfRow): ditto
2991         (cursorLeftOneWord): ditto
2992         (selectNextWordToSpellcheck): ditto
2993         (Delete): ditto
2994         (backspace): ditto
2995         (breakParagraph): remove one usage of Paragraph::next
2996         (redoParagraph): ditto
2997         (acceptChange): ditto
2998         (insertChar): adjust
2999         (rowBreakPoint): adjust
3000
3001         * bufferview_funcs.C (toggleAndShow): adjust
3002
3003 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3004
3005         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3006         methods to access it.
3007         * lyxtext.h:
3008         * text.C: Added updateRowPositions to compute all row positions.
3009         Make top_y and getRowNearY() to use the cached y position
3010
3011 2003-04-11  John Levon  <levon@movementarian.org>
3012
3013         * text.C (rowBreakPoint): reintroduce the labelEnd
3014         checks, code copied from the row fill stuff. Deep voodoo.
3015
3016         * text.C (fill): add a comment and debugging for the
3017         next poor soul.
3018
3019 2003-04-11  John Levon  <levon@movementarian.org>
3020
3021         * text.C: make sure fullrow insets get wrapped to the next line,
3022         even when they're in a manual label
3023
3024 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3025
3026         * text2.C (insertParagraph): make it take ParagraphList::iterator
3027         as arg.
3028         (setLayout): make it return ParagraphList::iterator
3029         (redoParagraphs): ditto
3030         (setCounter): ditto
3031         (checkParagraph): ditto
3032
3033         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3034
3035         * text2.C: adjust several funcs.
3036         (realizeFont): take a ParagraphList::iterator as arg.
3037         (getLayoutFont): ditto
3038         (getLabelFont): ditto
3039         (setCharFont): ditto
3040
3041         * text.C: adjust several funcs.
3042
3043 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3044
3045         * text.C (selectNextWordToSpellcheck): don't accidentally
3046         skip insets
3047
3048 2003-04-10  John Levon  <levon@movementarian.org>
3049
3050         * ToolbarBackend.C (getIcon): special handling for
3051         LFUN_MATH_DELIM
3052
3053 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3054
3055         * text2.C (cursorRight): a getChar assert fixed
3056
3057 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3058
3059         * text2.C (getFont): change to take a ParagraphList::iterator
3060         instead of Paragraph*
3061         Adjust several functions.
3062
3063         * text.C (transformChar): change to take a ParagraphList::iterator
3064         instead of Paragraph*
3065         (singleWidth): ditto
3066         Adjust several functions.
3067
3068         * rowpainter.C: adjust several functions
3069         * rowpainter.h:store a ParagraphList::iterator and not a
3070         Paragraph&.
3071
3072
3073 2003-04-09  John Levon  <levon@movementarian.org>
3074
3075         * lyxfunc.C:
3076         * lfuns.h:
3077         * LyXAction.h:
3078         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3079         and the "help" bits as well
3080
3081 2003-04-09  John Levon  <levon@movementarian.org>
3082
3083         * ToolbarBackend.h:
3084         * ToolbarBackend.C: allow multiple toolbars
3085
3086 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3087
3088         * undo_funcs.C (setCursorParUndo): adjust
3089
3090         * text_funcs.C (transposeChars): adjust
3091
3092         * text3.C (gotoNextInset): adjust
3093         (dispatch): adjust
3094
3095         * text2.C (setLayout): adjust
3096         (changeDepth): adjust
3097         (setFont): adjust
3098         (redoParagraphs): adjust
3099         (selectionAsString): adjust
3100         (setParagraph): adjust
3101         (insertInset): adjust
3102         (cutSelection): adjust
3103         (copySelection): adjust
3104         (pasteSelection): adjust
3105         (insertStringAsLines): adjust
3106         (updateInset): adjust
3107         (setCursor): change to take a ParagraphList::iterator parameter
3108         (setCursorIntern): change to take a ParagraphList::iterator parameter
3109         (setCurrentFont): adjust
3110         (cursorLeft): adjust
3111         (cursorRight): adjust
3112         (deleteEmptyParagraphMechanism): adjust
3113
3114         * text.C (breakParagraph): adjust
3115         (insertChar): adjust
3116         (acceptChange): adjust
3117         (rejectChange): adjust
3118         (selectNextWordToSpellcheck): adjust
3119         (changeCase): adjust
3120         (Delete): adjust
3121         (backspace): adjust
3122
3123         * lyxfind.C (SearchForward): adjust
3124         (SearchBackward): adjust
3125         (nextChange): adjust
3126
3127         * lyxcursor.C (par): adjust
3128
3129         * lyxcursor.h: store a ParagraphList::iterator instead of a
3130         Paragraph*
3131
3132         * lyx_cb.C (getPossibleLabel): adjust
3133
3134         * bufferview_funcs.C (toggleAndShow): adjust
3135
3136         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3137         (dispatch): adjust
3138
3139         * BufferView.C (removeAutoInsets): adjust
3140         (lockedInsetStoreUndo): adjust
3141
3142 2003-04-09  John Levon  <levon@movementarian.org>
3143
3144         * ToolbarBackend.C: try icon without argument
3145         if with argument fails
3146
3147 2003-04-08  John Levon  <levon@movementarian.org>
3148
3149         * ToolbarBackend.h:
3150         * ToolbarBackend.C: add getIcon(), handle tooltip,
3151         and change from "Icon" to "Item".
3152
3153 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3154
3155         * BufferView.C (lockInset): another bad getchar crunched
3156
3157 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3158
3159         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3160         again)
3161
3162 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3163
3164         * lyxfind.C (searchForward, searchBackwards): bug 782
3165
3166 2003-04-07  John Levon  <levon@movementarian.org>
3167
3168         * paragraph.C: remove dead comment
3169
3170         * text.C: remove troublesome depth-fiddling code
3171         in leftMargin() and rightMargin() (bug 1017)
3172
3173         * text.C: fix breaking of rows in nested lists
3174         (bug 1004)
3175
3176         * text2.C (updateCounters): fix up depth values
3177         (bug 1013)
3178
3179 2003-04-07  John Levon  <levon@movementarian.org>
3180
3181         * BufferView_pimpl.C: clear message when doc finishes resizing,
3182         and after a mouse event
3183
3184         * lyxfunc.C: clear message after exiting inset
3185
3186 2003-04-07  John Levon  <levon@movementarian.org>
3187
3188         * bufferview_funcs.C: show math status not outside
3189         status in the statusbar
3190
3191 2003-04-07  John Levon  <levon@movementarian.org>
3192
3193         * lyxfunc.C: note status changed after a depth change
3194
3195 2003-04-04  Angus Leeming  <leeming@lyx.org>
3196
3197         * LaTeX.h: move AuxInfo operator==, != out of line.
3198         Remove LaTeX virtual destructor; nothing derives from it.
3199         Move operator()() out of public area and rename it startscript().
3200         Change protected for private.
3201
3202 2003-04-04  Angus Leeming  <leeming@lyx.org>
3203
3204         * lyxfunc.C:
3205         * text2.C: remove unneeded #includes.
3206
3207 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3208
3209         * text2.C (dEPM): fix the heigth of the next row
3210
3211 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3212
3213         * text.C: squashed an invalid getChar requester + some ws changes
3214
3215 2003-04-03  John Levon  <levon@movementarian.org>
3216
3217         * bufferview_funcs.h:
3218         * bufferview_funcs.C:
3219         * lyxfunc.C:
3220         * lyxtext.h:
3221         * text2.C: make getStatus work for the env depth lfuns
3222
3223 2003-04-03  John Levon  <levon@movementarian.org>
3224
3225         * bufferview_funcs.h:
3226         * bufferview_funcs.C:
3227         * lyxfunc.C:
3228         * lyxtext.h:
3229         * text2.C: parlistize decDepth(), by merging it with incDepth()
3230
3231 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3232
3233         * lyxrow.h: store a ParagraphList::iterator instead of a
3234         Paragraph* and adjust other class functions to suit.
3235
3236         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3237         above.
3238
3239 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3240
3241         * text2.C (setCursor): do not anchor to cursor row for the time being
3242
3243 2003-04-02  John Levon  <levon@movementarian.org>
3244
3245         * LyXAction.C:
3246         * lfuns.h:
3247         * lyx_main.C:
3248         * lyxtext.h:
3249         * text.C:
3250         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3251
3252 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3253
3254         * paragraph.h: make ParagraphList and ParagraphList::iterator
3255         friends of Paragraph.
3256
3257         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3258
3259         * ParagraphList.C: Use the private next_ and previous_ from
3260         Paragraph.
3261
3262 2003-04-01  John Levon  <levon@movementarian.org>
3263
3264         * ToolbarBackend.h:
3265         * ToolbarBackend.C:
3266         * Makefile.am: rename, remove defaults gunk
3267
3268         * MenuBackend.h:
3269         * MenuBackend.C: remove defaults gunk
3270
3271         * Languages.h:
3272         * Languages.C: remove defaults gunk
3273
3274         * lyx_main.h:
3275         * lyx_main.C: error out if files couldn't be found.
3276
3277 2003-04-02  John Levon  <levon@movementarian.org>
3278
3279         * text2.C: make incDepth() use parlist
3280
3281 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3282
3283         * undo_funcs.C (firstUndoParagraph): adjust
3284
3285         * text3.C (gotoInset): adjust
3286         (dispatch): adjust, and rewrite loop.
3287
3288         * text2.C (init): adjust, and rewrite loop.
3289         (redoParagraphs): adjust
3290         (updateInset): adjust, and rewrite loop.
3291         (deleteEmptyParagraphMechanism): adjust
3292
3293         * tabular.C (LyXTabular): adjust
3294         (SetMultiColumn): adjust
3295         (TeXRow): adjust
3296
3297         * lyxtext.[Ch] (ownerParagraph): delete function
3298         (ownerParagraphs): new function returns a ParagraphList.
3299
3300         * BufferView.C (removeAutoInsets): adjust
3301         (insertErrors): adjust
3302         (setCursorFromRow): adjust
3303
3304 2003-04-01  Angus Leeming  <leeming@lyx.org>
3305
3306         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3307         in the frontends.
3308
3309 2003-04-02  John Levon  <levon@movementarian.org>
3310
3311         * lyxtext.h:
3312         * text.C:
3313         * Makefile.am:
3314         * text_funcs.h:
3315         * text_funcs.C: make transposeChars a free function
3316
3317         * lyxrow_funcs.C: remove wrong comment
3318
3319 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3320
3321         * lyxtext.h: adjust
3322         * rowpainter.C: adjust
3323         * text.C: adjust
3324         * text2.C: adjust
3325         * text3.C: adjust
3326
3327         * lyxrow_funcs. [Ch]: new files
3328
3329         * lyxrow.[Ch]: remove next and previous pointers
3330         (next,previous): remove accessor functions
3331         (isParEnd): move to lyxrow_funcs
3332         (lastPos): move to lyxrow_funcs
3333         (nextRowIsAllInset): move to lyxrow_funcs
3334         (lastPrintablePos): move to lyxrow_funcs
3335         (numberOfSeparators): move to lyxrow_funcs
3336         (numberOfHfills): move to lyxrow_funcs
3337         (numberOfLabelHfills): move to lyxrow_funcs
3338         (hfillExpansion): move to lyxrow_funcs
3339
3340         * lyxfunc.C: adjust
3341
3342         * bufferview_funcs.C (toggleAndShow): adjust
3343
3344         * RowList.h: Remove class RowList from file leave just a
3345         std::list<Row>.
3346
3347         * RowList.C: delete file
3348
3349         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3350         and lyxrow_funcs.h
3351
3352 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * text3.C (cursorPrevious): adjust
3355         (cursorNext): adjust
3356         (dispatch): adjust
3357
3358         * text2.C (redoHeightOfParagraph): adjust
3359         (redoDrawingOfParagraph): adjust
3360         (setCursor): adjust
3361
3362         * text.C (breakParagraph): adjust
3363         (insertChar): adjust
3364         (backspace): adjust
3365
3366         * rowpainter.C (RowPainter): adjust
3367         (leftMargin): simplify and adjust
3368         (most rowpainter functions): adjust.
3369
3370         * rowpainter.h: store the row as RowList::iterator not as Row*
3371
3372         * lyxcursor.C (row): taka RowList::iterator as arg
3373         (irow): ditto
3374
3375         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3376         of Row*.
3377
3378 2003-04-01  Angus Leeming  <leeming@lyx.org>
3379
3380         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3381         stuff like bool Bool.
3382
3383 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3384
3385         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3386         rewrite a loop
3387
3388 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3389
3390         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3391         RowList::iterator.
3392
3393         * lyxtext.h (rows): drop one version and leve a const variant that
3394         returns a RowList::iterator.
3395
3396 2003-03-31  Angus Leeming  <leeming@lyx.org>
3397
3398         * text.C (fill): ensure that the signature is the same as that in the
3399         header file.
3400
3401 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3402
3403         * text2.C (redoParagraphs): adjust
3404         (updateCounters): adjust
3405         (checkParagraph): adjust
3406         (getColumnNearX): adjust and reformat a bit.
3407
3408         * text.C (top_y): adjust
3409         (workWidth): adjust
3410         (leftMargin): adjust
3411         (prepareToPrint): adjust
3412         (getRow): adjust
3413         (getRowNearY): adjust
3414
3415         * lyxtext.h: make rowlist_ mutable.
3416
3417         * RowList.h: add const_iterator
3418         * RowList.C: adjust for RowList::const_iterator.
3419
3420         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3421         adjust.
3422
3423 2003-03-31  John Levon  <levon@movementarian.org>
3424
3425         * lyxrc.h:
3426         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3427
3428         * lyx_main.C: set default fonts from using lyx_gui funcs
3429
3430         * exporter.C: pdf_mode moved from lyxrc
3431
3432         * lyx_cb.C:
3433         * lyxfunc.C: changes from above
3434
3435 2003-03-31  John Levon  <levon@movementarian.org>
3436
3437         * lyx_main.C: fix to the last fix
3438
3439 2003-03-31  John Levon  <levon@movementarian.org>
3440
3441         * bufferlist.C: "Load original" -> "Load Original"
3442
3443         * converter.C:
3444         * exporter.C:
3445         * importer.C:
3446         * lyx_main.C:
3447         * format.C: more Alert cleanups
3448
3449 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3450
3451         * text2.C (removeParagraph): make it take a RowList::iterator as
3452         arg, adjust.
3453         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3454         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3455
3456         * text.C (anchor_row): make it take a RowList::iterator as arg,
3457         adjust.
3458         (computeBidiTables): make it take a const reference to Row instead
3459         of Row pointer, adjust.
3460         (leftMargin): make it take a RowList::iterator as arg, adjust.
3461         (rowBreakPoint): adjust
3462         (breakAgainOneRow): make it take a RowList::iterator as arg,
3463         adjust.
3464         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3465
3466         * bufferview_funcs.C (toggleAndShow): adjust
3467
3468 2003-03-30  John Levon  <levon@movementarian.org>
3469
3470         * Makefile.am:
3471         * BoostFormat.h:
3472         * boost-inst.C: moved to support
3473
3474         * several files: changes as a result
3475
3476 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3477
3478         * text2.C (LyXText): adjust.
3479         (init): adjust
3480         (removeRow): make it take a RowList::iterator as arg, adjust.
3481         (fullRebreak): adjust
3482         (deleteEmptyParagraphMechanism): adjust
3483         (clearPaint): adjust
3484         (postPaint): adjust
3485
3486         * text.C (top_y): adjust
3487         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3488         (breakAgain): make it take a RowList::iterator as arg, adjust.
3489         (breakParagraph): adjust
3490         (insertChar): adjust
3491         (backspace): adjust
3492
3493         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3494         need_break_row, and refresh_row.
3495
3496         * text3.C (dispatch): adjust
3497
3498         * text2.C (checkParagraph): adjust
3499         (setCursor): adjust
3500         (setCursorFromCoordinates): adjust
3501
3502         * text.C (top_y): adjust
3503         (workWidth): adjust
3504         (getRow): make it return a RowList::iterator, adjust
3505         (getRowNearY): make it return a RowList::iterator, adjust
3506
3507         * text2.C (init): adjust
3508         (insertRow): remove function
3509         (insertParagraph): adjust
3510         (redoParagraphs): adjust
3511         (fullRebreak): adjust
3512         (updateCounters): adjust
3513
3514         * text.C (top_y): rewrite to use RowList iterators.
3515         (top_y): adjust
3516         (setHeightOfRow): rewrite to sue RowList iterators.
3517         (appendParagraph): adjust
3518         (breakAgain): adjust
3519         (breakAgainOneRow): adjust
3520         (breakParagraph): adjust
3521         (getRow): adjust
3522         (getRowNearY): adjust, and remove commented code.
3523
3524         * lyxtext.h (firstRow): delete function
3525         (lastRow): delete function
3526         (rows): new function (const and non-const versions.)
3527         (insertRow): delete function
3528
3529         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3530
3531 2003-03-29  John Levon  <levon@movementarian.org>
3532
3533         * BufferView_pimpl.C: always update scrollbar top
3534         because pasting text when we're anchored could mean we
3535         miss an update altogether
3536
3537 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3538
3539         * text2.C (init): use rowlist_.end() and not 0.
3540         (insertRow): change to take a RowList::iterator as arg, adjust
3541         for this.
3542         (insertParagraph): change to take a RowList::iterator as arg,
3543         adjust for this.
3544         (redoParagraphs): remove some debug msgs.
3545
3546         * text.C (appendParagraph): change to take a RowList::iterator
3547         arg, adjust for this.
3548         (breakAgain): add an assert
3549         (breakAgainOneRow): ditto
3550
3551 2003-03-29  John Levon  <levon@movementarian.org>
3552
3553         * text2.C: do not clear selection after inc/decDepth
3554         (bug 550)
3555
3556 2003-03-29  John Levon  <levon@movementarian.org>
3557
3558         * BufferView.C:
3559         * buffer.C: fix broken strerrors according to Lars
3560
3561 2003-03-29  John Levon  <levon@movementarian.org>
3562
3563         * converters.C: more Alert cleanups
3564
3565 2003-03-29  John Levon  <levon@movementarian.org>
3566
3567         * bufferview_funcs.C: remove pointless Alert
3568
3569         * buffer.C: fix confusing error message when
3570         a template is chmoded 000
3571
3572 2003-03-29  John Levon  <levon@movementarian.org>
3573
3574         * BufferView.C:
3575         * BufferView.h:
3576         * BufferView_pimpl.C: Alert fixes
3577
3578         * Makefile.am:
3579         * tabular.C:
3580         * tabular-old.C: remove unused table compat reading
3581
3582 2003-03-29  John Levon  <levon@movementarian.org>
3583
3584         * BufferView.C:
3585         * buffer.C:
3586         * lyx_cb.h:
3587         * lyx_cb.C: more Alert cleanups
3588
3589         * lyxfunc.C: don't allow chktex if not latex document
3590
3591 2003-03-29  John Levon  <levon@movementarian.org>
3592
3593         * lyx_cb.C:
3594         * BufferView.C:
3595         * buffer.C: warnings pushed down from support/,
3596         kill err_alert
3597
3598 2003-03-29  John Levon  <levon@movementarian.org>
3599
3600         * lyxfunc.C: safety check for C-r (revert)
3601
3602 2003-03-29  John Levon  <levon@movementarian.org>
3603
3604         * bufferlist.h:
3605         * bufferlist.C: several UI fixes using Alert::prompt.
3606         Fix the pointless looping quit code. Fix stupid revert
3607         behaviour (bug 938)
3608
3609         * lyxvc.h:
3610         * lyxvc.C:
3611         * lyx_cb.C: use Alert::prompt
3612
3613         * lyx_main.C: remove a silly question
3614
3615         * lyxfunc.C: remove a couple of silly questions,
3616         use Alert::prompt
3617
3618 2003-03-28  John Levon  <levon@movementarian.org>
3619
3620         * text2.C: fix bug 974 (End on empty par)
3621
3622 2003-03-28  John Levon  <levon@movementarian.org>
3623
3624         * BufferView_pimpl.C:
3625         * LyXAction.C:
3626         * lfuns.h: remove do-nothing math greek lfuns
3627
3628 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3629
3630         * lyxgluelength.h (isValidGlueLength): add default arg on
3631         parameter 2. Remove default arg from friend in class.
3632
3633         * lyxlength.h (isValidLength): add default arg on parameter 2.
3634         Remove default arg from friend in class.
3635
3636         * text2.C (LyXText): adjust, initialize refresh_row.
3637         (init): adjust
3638         (removeRow): adjust
3639         (insertRow): adjust
3640         (insertParagraph): adjst
3641         (redoParagraphs): adjust
3642         (fullRebreak): adjust
3643         (updateCounters): adjust
3644         (deleteEmptyParagraphMechanism): first attempt at fixing a
3645         crashing bug.
3646
3647         * text.C (top_y): adjust
3648         (setHeightOfRow): adjust
3649         (getRow): adjust
3650         (getRowNearY): adjust
3651
3652         * lyxtext.h: include RowList.h
3653         (~LyXText): not needed anymore, deleted.
3654         (firstRow): modify for RowList
3655         (lastRow): new function
3656         Delete firstrow and lastrow class variables, add a Rowlist
3657         rowlist_ class variable.
3658
3659         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3660         paragraph is empty.
3661
3662         * RowList.C (insert): fix case where it == begin().
3663
3664 2003-03-26  Angus Leeming  <leeming@lyx.org>
3665
3666         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3667         the thesaurus dialog.
3668
3669 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3672
3673         * RowList.[Ch]: new files
3674
3675         * ParagraphList.C (erase): handle the case where it == begin
3676         correctly.
3677
3678 2003-03-25  John Levon  <levon@movementarian.org>
3679
3680         * Makefile.am:
3681         * aspell_local.h:
3682         * aspell.C: add new aspell support
3683
3684         * lyxrc.h:
3685         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3686         have it accessible.
3687
3688 2003-03-25  Angus Leeming  <leeming@lyx.org>
3689
3690         * lfuns.h:
3691         * LyXAction.C (init): new LFUN_INSET_INSERT.
3692
3693         * BufferView_pimpl.C (dispatch): split out part of the
3694         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3695
3696         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3697         LFUN_INSET_APPLY.
3698
3699 2003-03-25  Angus Leeming  <leeming@lyx.org>
3700
3701         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3702
3703 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3704
3705         * text2.C:
3706         * text3.C: remove useless row->height(0)
3707
3708 2003-03-25  John Levon  <levon@movementarian.org>
3709
3710         * lyxtext.h:
3711         * text2.C:
3712         * text3.C: rename the refreshing stuff to better names
3713
3714 2003-03-24  John Levon  <levon@movementarian.org>
3715
3716         * BufferView_pimpl.h:
3717         * BufferView_pimpl.C: update layout choice on a mouse
3718         press/release
3719
3720 2003-03-23  John Levon  <levon@movementarian.org>
3721
3722         * Makefile.am: fix commandtags.h reference
3723
3724 2003-03-22  John Levon  <levon@movementarian.org>
3725
3726         * BufferView_pimpl.C:
3727         * lyxtext.h:
3728         * rowpainter.C:
3729         * rowpainter.h:
3730         * text.C:
3731         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3732
3733 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3734
3735         * lyxtext.h:
3736         * text.C: take the rtl methods out of line
3737
3738 2003-03-21 André Pönitz <poenitz@gmx.net>
3739
3740         * metricsinfo.[Ch]: new files containing structures to be passed around
3741         during the two-phase-drawing...
3742
3743 2003-03-21 André Pönitz <poenitz@gmx.net>
3744
3745         * lyxtextclass.C: read 'environment' tag.
3746
3747 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3748
3749         * text2.C (removeRow): fix bug 964
3750
3751 2003-03-20  John Levon  <levon@movementarian.org>
3752
3753         * rowpainter.C:
3754         * text.C:
3755         * text2.C: paint cleanups. Inset::update() dropped font
3756         parameter
3757
3758 2003-03-19  John Levon  <levon@movementarian.org>
3759
3760         * lyxfunc.C: only fitcursor/markDirty if available()
3761
3762 2003-03-19  John Levon  <levon@movementarian.org>
3763
3764         * commandtags.h: rename to ...
3765
3766         * lfuns.h: ... this, and renumber / cleanup
3767
3768 2003-03-19  John Levon  <levon@movementarian.org>
3769
3770         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3771         fit the cursor after an lfun
3772
3773         * BufferView.h:
3774         * BufferView.C:
3775         * BufferView_pimpl.h:
3776         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3777
3778         * LyXAction.C: layout-character should have ReadOnly
3779
3780         * ParagraphParameters.C:
3781         * buffer.C:
3782         * bufferview_funcs.C:
3783         * lyx_cb.C:
3784         * lyxfind.C:
3785         * lyxtext.h:
3786         * text.C:
3787         * text2.C:
3788         * text3.C:
3789         * undo_funcs.C: changes from above
3790
3791 2003-03-18  John Levon  <levon@movementarian.org>
3792
3793         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3794         remove it from update()
3795
3796         * lyxfunc.C: update layout choice after an lfun
3797
3798         * text3.C: remove extra updateLayoutChoice()s
3799
3800 2003-03-18  John Levon  <levon@movementarian.org>
3801
3802         * text.C: top_y change means full repaint, fix
3803         a drawing bug with cursor movement
3804
3805 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3806
3807         * lyxtext.h:
3808         * text.C:
3809         * text2.C: anchor row on setCursor
3810
3811 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3812
3813         * lyxtext.h: remove almost all mutable keywords
3814         * text.C:
3815         * text2.C:
3816         * text3.C: remove const keywords accordingly
3817
3818 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3819
3820         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3821         anon namespace
3822         (TeXEnvironment): ditto
3823         (TeXOnePar): ditto
3824
3825 2003-03-17  John Levon  <levon@movementarian.org>
3826
3827         * text.C (rowBreakPoint): remove attempt to fix displayed
3828         math insets inside a manual label
3829
3830 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3831
3832         * lyxtext.h: remove BufferView* as first arg from almost all class
3833         functions.
3834         * other files: adjust.
3835
3836 2003-03-17  John Levon  <levon@movementarian.org>
3837
3838         * lyxtext.h:
3839         * undo_funcs.C:
3840         * text2.C: more paint cleanups
3841
3842         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3843
3844         * rowpainter.h:
3845         * rowpainter.C: remove "smart" background painting code
3846
3847 2003-03-16  John Levon  <levon@movementarian.org>
3848
3849         * lyxtext.h:
3850         * text.C:
3851         * text2.C:
3852         * text3.C: add helper functions for setting refresh_row/y
3853
3854 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3855
3856         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3857         newline inset which *can* get inserted in the pass_thru layouts.
3858         This is primarily for literate documents.
3859
3860 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3861
3862         * buffer.C: increment LYX_FORMAT to 223
3863
3864 2003-03-14 André Pönitz <poenitz@gmx.net>
3865
3866         * textclass.h: prepare for environment handling, ws changes
3867         * lyxlayout.C: read latexheader and latexfooter tags
3868
3869 2003-03-14  John Levon  <levon@movementarian.org>
3870
3871         * text2.C: rewrite ::status() a bit
3872
3873 2003-03-13  John Levon  <levon@movementarian.org>
3874
3875         * lyxtext.h: add some docs
3876
3877 2003-03-13  John Levon  <levon@movementarian.org>
3878
3879         * lyxtext.h:
3880         * text.C:
3881         * text2.C:
3882         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3883
3884 2003-03-13  John Levon  <levon@movementarian.org>
3885
3886         * text3.C: fix appendix redrawing
3887
3888 2003-03-13  John Levon  <levon@movementarian.org>
3889
3890         * text.C (setHeightOfRow):
3891         * rowpainter.h:
3892         * rowpainter.C: make appendix mark have the text
3893           "Appendix" so the user knows what it is
3894
3895         * LColor.h:
3896         * LColor.C: s/appendixline/appendix/ from above
3897
3898 2003-03-13  John Levon  <levon@movementarian.org>
3899
3900         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3901
3902         * text.C: fix a getChar(pos) bug properly
3903
3904 2003-03-13  Angus Leeming  <leeming@lyx.org>
3905
3906         * commandtags.h:
3907         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3908         Probably only temporary. Let's see how things pan out.
3909
3910         * BufferView.C (unlockInset):
3911         * BufferView_pimpl.C (fitCursor):
3912         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3913
3914         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3915         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3916
3917         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3918         new functions that convert ParagraphParameters to and from a string.
3919
3920         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3921         BufferView::Pimpl's dispatch.
3922         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3923
3924 2003-03-13 André Pönitz <poenitz@gmx.net>
3925
3926         * lyxfunc.C:
3927         * text3.C:
3928         * factory.C: make it aware of InsetEnv
3929
3930 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * text2.C (setCursor): never ask for one past last
3933         (setCursor): add some debugging messages.
3934
3935         * text.C (singleWidth): never ask for one past last
3936         (singleWidth): ditto
3937         (leftMargin): ditto
3938         (rightMargin): ditto
3939         (rowBreakPoint): ditto
3940         (setHeightOfRow): ditto
3941         (prepareToPrint): ditto
3942
3943         * rowpainter.C (paintBackground): never ask for one past last
3944         (paintText): never ask for one past last
3945
3946         * paragraph_pimpl.C (getChar): make the assert stricter, never
3947         allow the one past last pos to be taken
3948
3949         * paragraph.C (getChar): ws changes only
3950
3951         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3952         (numberOfSeparators): ditto
3953         (numberOfHfills): ditto
3954
3955 2003-03-12  John Levon  <levon@movementarian.org>
3956
3957         * author.h:
3958         * author.C:
3959         * bufferparams.h:
3960         * bufferparams.C:
3961         * paragraph_funcs.C: fix per-buffer authorlists
3962
3963 2003-03-12  John Levon  <levon@movementarian.org>
3964
3965         * text.C: fix newline in right address
3966
3967 2003-03-12  Angus Leeming  <leeming@lyx.org>
3968
3969         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3970         duplicate those in LyXFunc::dispatch.
3971
3972         * commandtags.h:
3973         * LyXAction.C:
3974         * ToolbarDefaults.C:
3975         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3976         Add LFUN_FONTFREE_UPDATE.
3977
3978         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3979         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3980
3981         * bufferview_func.[Ch]: several new functions to facilliate
3982         transfer of data to and from the character dialog.
3983
3984 2003-03-12  John Levon  <levon@movementarian.org>
3985
3986         * buffer.C:
3987         * paragraph.h:
3988         * paragraph.C:
3989         * paragraph_funcs.C:
3990         * paragraph_pimpl.C:
3991         * sgml.C:
3992         * tabular.C:
3993         * text.C:
3994         * text3.C: remove META_NEWLINE in favour of an inset
3995
3996         * rowpainter.h:
3997         * rowpainter.C: remove paintNewline (done by inset)
3998
3999 2003-03-12  John Levon  <levon@movementarian.org>
4000
4001         * paragraph_pimpl.C: complain about bad getChar()s
4002         for a while at least
4003
4004 2003-03-12  John Levon  <levon@movementarian.org>
4005
4006         * buffer.h:
4007         * buffer.C: move paragraph read into a separate function,
4008         a little renaming to reflect that.
4009
4010         * bufferparams.h:
4011         * bufferparams.C: remove the author_ids map, not necessary now
4012
4013         * factory.h:
4014         * factory.C: moved Buffer::readInset to here
4015
4016         * paragraph_funcs.h:
4017         * paragraph_funcs.C: readParagraph free function moved from
4018         buffer.C
4019
4020         * tabular.C: name change
4021
4022 2003-03-12  John Levon  <levon@movementarian.org>
4023
4024         * buffer.C:
4025         * ParagraphParameters.C: move par params input to
4026         a read() method
4027
4028         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4029         behave like a normal read from the stream wrt reading
4030         a line vs. a \\token
4031
4032 2003-03-12  John Levon  <levon@movementarian.org>
4033
4034         * paragraph.C:
4035         * ParagraphParameters.h:
4036         * ParagraphParameters.C: move output code to a
4037         ::write() method
4038
4039 2003-03-12  John Levon  <levon@movementarian.org>
4040
4041         * BufferView.C (insertLyXFile):
4042         * buffer.h:
4043         * buffer.C:
4044         * tabular.C: use a parlist iterator for creating the
4045           document.
4046
4047 2003-03-12  John Levon  <levon@movementarian.org>
4048
4049         * buffer.C: make current_change static local not
4050           static file-scope
4051
4052 2003-03-12  John Levon  <levon@movementarian.org>
4053
4054         * buffer.C: fix insertStringAsLines for change tracking
4055
4056 2003-03-12  John Levon  <levon@movementarian.org>
4057
4058         * BufferView.C:
4059         * tabular.C:
4060         * buffer.h:
4061         * buffer.C:
4062         * bufferparams.h:
4063         * bufferparams.C: move author list into params. Rename some
4064           functions. Move the header reading into a separate token
4065           loop. Move the header token reading into BufferParams.
4066
4067 2003-03-12  John Levon  <levon@movementarian.org>
4068
4069         * changes.C: put debug inside lyxerr.debugging() checks
4070
4071 2003-03-11 André Pönitz <poenitz@gmx.net>
4072
4073         * factory.C: make it aware of InsetHFill
4074
4075 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4076
4077         * buffer.C (latexParagraphs): move function from here...
4078         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4079         args.
4080
4081 2003-03-10  Angus Leeming  <leeming@lyx.org>
4082
4083         * LyXAction.C (init): fix bug in poplating array with multiple entries
4084         with the same LFUN (spotted by JMarc).
4085
4086 2003-03-10  John Levon  <levon@movementarian.org>
4087
4088         * text.C:
4089         * text2.C: move getColumnNearX() near its
4090         only call site
4091
4092 2003-03-10  John Levon  <levon@movementarian.org>
4093
4094         * text.C: fix break before a minipage
4095
4096 2003-03-10  John Levon  <levon@movementarian.org>
4097
4098         * text.C: fix the last commit
4099
4100 2003-03-09  John Levon  <levon@movementarian.org>
4101
4102         * lyxtext.h:
4103         * text.C:
4104         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4105         bug 365 (don't break before insets unless needed). Don't
4106         return a value > last under any circumstances.
4107
4108 2003-03-09  Angus Leeming  <leeming@lyx.org>
4109
4110         * BufferView_pimpl.C (trackChanges, dispatch): call
4111         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4112
4113 2003-03-09  Angus Leeming  <leeming@lyx.org>
4114
4115         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4116         than Dialogs::showAboutlyx().
4117
4118 2003-03-09  Angus Leeming  <leeming@lyx.org>
4119
4120         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4121         than Dialogs::showTabularCreate().
4122
4123 2003-03-09  John Levon  <levon@movementarian.org>
4124
4125         * lyxtext.h:
4126         * text.C:
4127         * text2.C: 3rd arg to nextBreakPoint was always the same.
4128           Use references.
4129
4130 2003-03-08  John Levon  <levon@movementarian.org>
4131
4132         * lyxrow.C:
4133         * paragraph.C:
4134         * paragraph.h:
4135         * rowpainter.C:
4136         * text.C:
4137         * text2.C: Remove the "main" bit from the "main body"
4138           notion.
4139
4140 2003-03-08  John Levon  <levon@movementarian.org>
4141
4142         * text.C (leftMargin): The left margin of an empty
4143         manual label paragraph should not include the label width
4144         string length.
4145
4146         * text.C (prepareToPrint): don't attempt to measure hfills
4147         for empty manual label paragraphs - the answer should be 0
4148
4149 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * CutAndPaste.C: remove commented code and reindent.
4152
4153 2003-03-08  John Levon  <levon@movementarian.org>
4154
4155         * lyxfunc.h:
4156         * lyxfunc.C: move reloadBuffer()
4157
4158         * BufferView.h:
4159         * BufferView.C: to here
4160
4161         * lyxvc.C: add comment
4162
4163         * vc-backend.h:
4164         * vc-backend.C: call bv->reload() to avoid
4165           getStatus() check on MENURELOAD
4166
4167 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4168
4169         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4170         to an old format .dep file.
4171
4172 2003-03-07  Angus Leeming  <leeming@lyx.org>
4173
4174         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4175         when the LFUN_MOUSE_RELEASE should have been handled by
4176         inset->localDispatch.
4177
4178 2003-03-07  Angus Leeming  <leeming@lyx.org>
4179
4180         * BufferView_pimpl.C (dispatch):
4181         * LyXAction.C (init):
4182         * ToolbarDefaults.C (init):
4183         * commandtags.h:
4184         * lyxfunc.C (getStatus):
4185         remove LFUN_INSET_GRAPHICS.
4186
4187         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4188
4189 2003-03-07  Angus Leeming  <leeming@lyx.org>
4190
4191         * commandtags.h:
4192         * LyXAction.C (init):
4193         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4194
4195         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4196
4197         * commandtags.h:
4198         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4199
4200         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4201         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4202
4203 2003-03-07  Angus Leeming  <leeming@lyx.org>
4204
4205         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4206         remove "ert".
4207
4208 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4209
4210         * ParagraphList.C (front): new function
4211         (back): implement
4212
4213 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4214
4215         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4216         and top_row_offset_. removed var first_y.
4217         * text.C (top_y):
4218         * text2.C (LyXText, removeRow):
4219         * text3.C:
4220         * BufferView_pimpl.C:
4221         use these methods instead of using first_y
4222
4223 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4224
4225         * text2.C (pasteSelection): adjust for checkPastePossible
4226
4227         * CutAndPaste.C: remove Paragraph * buf and replace with
4228         ParagraphList paragraphs.
4229         (DeleteBuffer): delete
4230         (cutSelection): change the tc type to textclass_type
4231         (copySelection): change the tc type to textclass_type
4232         (copySelection): adjust for ParagraphList
4233         (pasteSelection): change the tc type to textclass_type
4234         (pasteSelection): adjust for Paragraphlist
4235         (nrOfParagraphs): simplify for ParagraphList
4236         (checkPastePossible): simplify for ParagraphList
4237         (checkPastePossible): remove unused arg
4238
4239         * ParagraphList.C (insert): handle the case where there are no
4240         paragraphs yet.
4241
4242         * CutAndPaste.h: make CutAndPaste a namespace.
4243
4244         * text3.C (dispatch): adjust
4245
4246         * text.C (breakParagraph): add a ParagraphList as arg
4247
4248         * paragraph_funcs.C (breakParagraph): change to take a
4249         BufferParams and a ParagraphList as args.
4250         (breakParagraphConservative): ditto
4251         (mergeParagraph): ditto
4252         (TeXDeeper): add a ParagraphList arg
4253         (TeXEnvironment): ditto
4254         (TeXOnePar): ditto
4255
4256         * buffer.C (readLyXformat2): adjust
4257         (insertStringAsLines): adjust
4258         (latexParagraphs): adjust
4259
4260         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4261         (cutSelection): adjust
4262         (pasteSelection): adjust
4263
4264         * BufferView_pimpl.C (insertInset): adjust
4265
4266 2003-03-05  Angus Leeming  <leeming@lyx.org>
4267
4268         * commandtags.h:
4269         * LyXAction.C (init):
4270         * BufferView_pimpl.C (dispatch):
4271         * lyxfunc.C (getStatus):
4272         remove LFUN_CHILD_INSERT.
4273
4274         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4275
4276 2003-03-05  Angus Leeming  <leeming@lyx.org>
4277
4278         * commandtags.h:
4279         * LyXAction.C (init):
4280         * src/factory.C (createInset):
4281         * lyxfunc.C (getStatus):
4282         * text3.C (dispatch):
4283         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4284
4285         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4286
4287 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * ParagraphList.C (insert): handle insert right before end()
4290         (erase): fix cases where it can be first or last paragraph.
4291
4292 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4293
4294         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4295         Paragraph::next and Paragraph::previous
4296         (TeXOnePar): ditto
4297
4298         * text.C (breakParagraph): adjust
4299
4300         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4301         BufferParams& as arg.
4302         (breakParagraph): use ParagraphList::insert
4303         (breakParagraphConservative): take a Buffer* instead of a
4304         BufferParams& as arg.
4305         (breakParagraphConservative): use ParagraphList::insert.
4306
4307         * buffer.C (insertStringAsLines): un-const it
4308         (insertStringAsLines): adjust
4309
4310         * ParagraphList.C (insert): new function
4311
4312         * CutAndPaste.C (pasteSelection): adjust
4313
4314         * text.C (backspace): adjust
4315
4316         * tabular.C (SetMultiColumn): adjust
4317
4318         * CutAndPaste.C (cutSelection): adjust
4319         (pasteSelection): adjust
4320
4321         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4322         Buffer const * as arg
4323
4324         * ParagraphList.C (erase): new function
4325         * paragraph_funcs.C (mergeParagraph): use it
4326         (mergeParagraph): make it take a Buffer* instead of a
4327         BufferParams* as arg
4328
4329         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4330         as arg
4331         (breakParagraphConservative): ditto
4332
4333         * paragraph.h: remove the breakParagraph friend
4334
4335         * paragraph.C (eraseIntern): new function
4336         (setChange): new function
4337
4338         * paragraph_funcs.C (mergeParagraph): make it take a
4339         ParagraphList::iterator instead of a Paragraph *, adjust
4340         accordingly.
4341
4342         * paragraph.h: move an #endif so that the change tracking stuff
4343         also works in the NO_NEXT case.
4344
4345 2003-03-04  Angus Leeming  <leeming@lyx.org>
4346
4347         * commandtags.h:
4348         * LyXAction.C: new LFUN_INSET_MODIFY.
4349
4350         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4351         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4352
4353 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * several files: ws changes only
4356
4357         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4358         (TeXEnvironment): ditto
4359         (TeXDeeper): ditto
4360
4361         * buffer.C (makeLaTeXFile): adjust
4362         (latexParagraphs): make it take ParagraphList::iterator as args
4363
4364 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4365
4366         * buffer.C (latexParagraphs): adjust
4367
4368         * paragraph.C (TeXOnePar): move function...
4369         (optArgInset): move function...
4370         (TeXEnvironment): move function...
4371         * paragraph_pimpl.C (TeXDeeper): move function...
4372         * paragraph_funcs.C: ...here
4373
4374         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4375
4376 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4377
4378         * buffer.C (readInset): remove compability code for old Figure and
4379         InsetInfo insets
4380
4381 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4382
4383         * buffer.C: ws changes
4384         (readInset):
4385
4386         * BufferView_pimpl.C: ditto
4387         * author.C: ditto
4388         * buffer.h: ditto
4389         * bufferlist.h: ditto
4390         * changes.h: ditto
4391         * lyxfunc.C: ditto
4392
4393 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4394
4395         * converter.[Ch]: split into itself +
4396         * graph.[Ch]
4397         * format.[Ch]
4398         * Makefile.am: += graph.[Ch] + format.[Ch]
4399         * MenuBackend.C
4400         * buffer.C
4401         * exporter.C
4402         * importer.C
4403         * lyx_main.C
4404         * lyxfunc.C
4405         * lyxrc.C: added #include "format.h"
4406
4407 2003-02-27  Angus Leeming  <leeming@lyx.org>
4408
4409         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4410           a label.
4411
4412         * factory.C (createInset): add "label" to the factory.
4413
4414         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4415           string and do no more.
4416
4417 2003-02-27  Angus Leeming  <leeming@lyx.org>
4418
4419         * commandtags.h:
4420         * LyXAction.C (init):
4421         * factory.C (createInset):
4422         * BufferView_pimpl.C (dispatch):
4423           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4424
4425         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4426
4427         * lyxfunc.C (dispatch):
4428         * text3.C (dispatch): pass name to params2string.
4429
4430 2003-02-26  Angus Leeming  <leeming@lyx.org>
4431
4432         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4433           blocks together.
4434           Rearrange the ~includes. Strip out the unnecessary ones.
4435
4436         * factory.C (createInset): reformat.
4437           create new insets for the various LFUN_XYZ_APPLY lfuns.
4438
4439 2003-02-26  John Levon  <levon@movementarian.org>
4440
4441         * lyxrow.h:
4442         * lyxrow.C: add isParStart,isParEnd helpers
4443
4444         * paragraph.h: make isInserted/DeletedText take refs
4445
4446         * paragraph_funcs.h:
4447         * paragraph_funcs.C: remove #if 0'd code
4448
4449         * lyxtext.h:
4450         * text3.C:
4451         * text2.C:
4452         * text.C: use lyxrow helpers above.
4453           Move draw and paint routines to RowPainter.
4454           Make several methods use refs not pointers.
4455           Make backgroundColor() const.
4456           Add markChangeInDraw(), isInInset().
4457           Merge changeRegionCase into changeCase.
4458           Make workWidth() shouldn't-happen code into an Assert.
4459
4460         * rowpainter.h:
4461         * rowpainter.C: new class for painting a row.
4462
4463         * vspace.h:
4464         * vspace.C: make inPixels take a ref
4465
4466 2003-02-26  Angus Leeming  <leeming@lyx.org>
4467
4468         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4469         LFUN_REF_APPLY.
4470
4471 2003-02-25  John Levon  <levon@movementarian.org>
4472
4473         * ispell.C: give the forked command a more accurate name
4474
4475 2003-02-22  John Levon  <levon@movementarian.org>
4476
4477         * toc.h:
4478         * toc.C: make TocItem store an id not a Paragraph *
4479           (bug #913)
4480
4481 2003-02-21  Angus Leeming  <leeming@lyx.org>
4482
4483         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4484           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4485           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4486           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4487           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4488           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4489
4490         * BufferView_pimpl.C (dispatch):
4491         * LyXAction.C (init):
4492         * factory.C (createInset):
4493         * lyxfunc.C (getStatus, dispatch):
4494         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4495
4496 2003-02-21  Angus Leeming  <leeming@lyx.org>
4497
4498         * BufferView_pimpl.C (MenuInsertLyXFile):
4499         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4500         * lyxfunc.C (menuNew, open, doImport):
4501           no longer pass a LyXView & to fileDlg.
4502
4503 2003-02-21  Angus Leeming  <leeming@lyx.org>
4504
4505         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4506         * LyXAction.C: change, BIBKEY to BIBITEM.
4507         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4508         Change InsetBibKey to InsetBibitem.
4509         Change BIBKEY_CODE to BIBITEM_CODE.
4510         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4511         * factory.C: replace insetbib.h with insetbibitem.h.
4512         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4513         * paragraph.C: replace insetbib.h with insetbibitem.h.
4514         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4515         Change bibkey() to bibitem().
4516         * text.C: remove insetbib.h.
4517         * text2.C: replace insetbib.h with insetbibitem.h.
4518         change bibkey() to bibitem().
4519         * text3.C: remove insetbib.h.
4520         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4521
4522 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4523
4524         * lyxrc.C (output): enclose user email in quotes (in case there are
4525         several words)
4526
4527 2003-02-18  John Levon  <levon@movementarian.org>
4528
4529         * buffer.h: add std::
4530
4531 2003-02-17  John Levon  <levon@movementarian.org>
4532
4533         * SpellBase.h:
4534         * ispell.h:
4535         * ispell.C:
4536         * pspell.h:
4537         * pspell.C: reworking. Especially in ispell, a large
4538           number of clean ups and bug fixes.
4539
4540         * lyxfunc.C: fix revert to behave sensibly
4541
4542 2003-02-17 André Pönitz <poenitz@gmx.net>
4543
4544         * LyXAction.C:
4545         * commandtags.h: new LFUN_INSERT_BIBKEY
4546
4547         * layout.h:
4548         * lyxlayout.C:
4549         * buffer.C:
4550         * factory.C:
4551         * text.C:
4552         * text2.C:
4553         * text3.C:
4554         * paragraph.[Ch]:
4555         * paragraph_func.C: remove special bibkey handling
4556
4557 2003-02-17  John Levon  <levon@movementarian.org>
4558
4559         * text.C (Delete): fix case where delete at the end of
4560           the very first paragraph would not merge the pars
4561
4562 2003-02-17  John Levon  <levon@movementarian.org>
4563
4564         * lyxrow.C: fix lastPrintablePos()
4565
4566 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4567
4568         * bufferparams.C (writeLaTeX): add a std:here
4569
4570         * buffer.C: and remove a using directive there
4571
4572 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4573
4574         * buffer.C (makeLaTeXFile): move the code that generates the
4575           preamble...
4576
4577         * bufferparams.C (writeLaTeX): ... in this new method
4578
4579         * LaTeXFeatures.C (getEncodingSet): make const
4580           (getLanguages): make const
4581
4582         * MenuBackend.C (binding): returns the binding associated to this
4583           action
4584           (add): sets the status of each item by calling getStatus. Adds
4585           some intelligence.
4586           (read): add support for OptSubMenu
4587           (expand): remove extra separator at the end of expanded menu
4588
4589 2003-02-15  John Levon  <levon@movementarian.org>
4590
4591         * BufferView.C:
4592         * BufferView_pimpl.C:
4593         * bufferlist.h:
4594         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4595           inset code that had no actual effect. Remove unneeded status
4596           code.
4597
4598 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4599
4600         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4601           in preamble
4602
4603 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4604
4605         * text.C (drawLengthMarker): also draw an arrow marker for
4606           symbolic lengths (medskip...)
4607
4608 2003-02-14  John Levon  <levon@movementarian.org>
4609
4610         * tabular.h:
4611         * tabular.C: better method names
4612
4613 2003-02-14  John Levon  <levon@movementarian.org>
4614
4615         * BufferView_pimpl.C:
4616         * bufferlist.C:
4617         * buffer.C:
4618         * converter.C:
4619         * lyx_cb.C:
4620         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4621           it's a more accurate name. Remove some pointless uses.
4622
4623 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4624
4625         * text2.C (LyXText): change order of initilizers to shut off
4626           warnings
4627
4628 2003-02-14  John Levon  <levon@movementarian.org>
4629
4630         * buffer.C: use ParIterator for getParFromID()
4631
4632         * paragraph.h:
4633         * paragraph.C:
4634         * paragraph_pimpl.h:
4635         * paragraph_pimpl.C: remove unused getParFromID()
4636
4637 2003-02-14  John Levon  <levon@movementarian.org>
4638
4639         * buffer.C: remove some very old #if 0'd parse code
4640
4641 2003-02-13  John Levon  <levon@movementarian.org>
4642
4643         * text.h:
4644         * text.C:
4645         * text2.C: move hfillExpansion(), numberOfSeparators(),
4646           rowLast(), rowLastPrintable(), numberofHfills(),
4647           numberOfLabelHfills() ...
4648
4649         * lyxrow.h:
4650         * lyxrow.C: ... to member functions here.
4651
4652         * paragraph.h:
4653         * paragraph.C:
4654         * lyxtext.h:
4655         * text.C: remove LyXText::beginningOfMainBody(), and call
4656           p->beginningOfMainBody() directly. Move the check for
4657           LABEL_MANUAL into the latter.
4658
4659         * text.h:
4660         * text.C:
4661         * text2.C:
4662         * vspace.C:
4663         * BufferView.h:
4664         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4665
4666         * text.h:
4667         * text.C:
4668         * text2.C:
4669         * text3.C:
4670         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4671           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4672
4673 2003-02-13  John Levon  <levon@movementarian.org>
4674
4675         * CutAndPaste.C: remove debug
4676
4677 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4678
4679         * paragraph.C (asString): remove two unused variables
4680
4681         * lyxtextclass.C (readTitleType):
4682           (Read):
4683           (LyXTextClass): handle new members titletype_ and titlename_
4684
4685         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4686
4687 2003-02-09  John Levon  <levon@movementarian.org>
4688
4689         * buffer.h:
4690         * buffer.C: replace hand-coded list with a map for the dep clean
4691
4692 2003-02-08  John Levon  <levon@movementarian.org>
4693
4694         * LaTeX.C: consolidate code into showRunMessage() helper
4695
4696 2003-02-08  John Levon  <levon@movementarian.org>
4697
4698         * lyxfind.C:
4699         * lyxtext.h:
4700         * text2.C:
4701         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4702           and pass the size in explicitly
4703
4704         * BufferView_pimpl.h:
4705         * BufferView_pimpl.C:
4706         * BufferView.h:
4707         * BufferView.C: add getCurrentChange()
4708
4709         * BufferView_pimpl.h:
4710         * BufferView_pimpl.C: handle change lfuns
4711
4712         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4713           for changes. Mark pasted paragraphs as new.
4714
4715         * support/lyxtime.h:
4716         * support/lyxtime.C:
4717         * DepTable.C: abstract time_t as lyx::time_type
4718
4719         * LColor.h:
4720         * LColor.C: add colours for new text, deleted text, changebars
4721
4722         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4723           package use "usenames" option.
4724
4725         * commandtags.h:
4726         * lyxfunc.C:
4727         * LyXAction.C: add change lfuns
4728
4729         * Makefile.am:
4730         * author.h:
4731         * author.C: author handling
4732
4733         * buffer.h:
4734         * buffer.C: add a per-buffer author list, with first entry as
4735           current author. Handle new .lyx tokens for change tracking. Output
4736           author list to .lyx file. Output dvipost stuff to .tex preamble.
4737           Bump lyx format to 222.
4738
4739         * bufferlist.h:
4740         * bufferlist.C: add setCurrentAuthor() to reset current author details
4741           in all buffers.
4742
4743         * bufferparams.h:
4744         * bufferparams.C: add param for tracking
4745
4746         * bufferview_funcs.C: output change info in minibuffer
4747
4748         * Makefile.am:
4749         * changes.h:
4750         * changes.C: add change-tracking structure
4751
4752         * debug.h:
4753         * debug.C: add CHANGES debug flag
4754
4755         * lyxfind.h:
4756         * lyxfind.C: add code for finding the next change piece
4757
4758         * lyxrc.h:
4759         * lyxrc.C: add user_name and user_email
4760
4761         * lyxrow.h:
4762         * lyxrow.C: add a metric for the top of the text line
4763
4764         * lyxtext.h:
4765         * text.C: implement accept/rejectChange()
4766
4767         * lyxtext.h:
4768         * text.C: paint changebars. Paint new/deleted text in the chosen
4769         colours. Strike through deleted text.
4770
4771         * paragraph.h:
4772         * paragraph.C:
4773         * paragraph_pimpl.h:
4774         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4775           in the current change to the insert functions. Rework erase to
4776           mark text as deleted, adding an eraseIntern() and a range-based
4777           erase(). Implement per-paragraph change lookup and
4778           accept/reject.
4779
4780         * paragraph_funcs.C: Fixup paste for change tracking.
4781
4782         * tabular.C: mark added row/columns as new.
4783
4784         * text.C: fix rowLast() to never return -1. Don't allow
4785           spellchecking of deleted text. Track transpose changes. Don't
4786           allow paragraph break or merge where appropriate.
4787
4788         * text2.C: leave cursor at end of selection after a cut.
4789
4790 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4791
4792         * text.C (getLengthMarkerHeight):
4793         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4794         visible on screen too.
4795
4796 2003-02-07  John Levon  <levon@movementarian.org>
4797
4798         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4799
4800 2003-02-05  Angus Leeming  <leeming@lyx.org>
4801
4802         * lyxserver.C (read_ready): revert my patch of 11 September last year
4803         as it sends PC cpu through the roof. Presumably this means that
4804         the lyxserver will no longer run on an Alpha...
4805
4806 2003-01-30  Angus Leeming  <leeming@lyx.org>
4807
4808         * factory.C (createInset): create an InsetCommandParam of type "index"
4809         and use it to 'do the right thing'.
4810
4811         * text2.C (getStringToIndex): ensure that cursor position is always
4812         reset to the reset_cursor position.
4813
4814 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4815
4816         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4817         disabled.
4818
4819 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4820
4821         * bufferview.C:
4822         * lyxcb.C:
4823         * lyxfunc.C: Output messages with identical spelling, punctuation,
4824         and spaces
4825
4826 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4827
4828         * MenuBackend.C (expandFormats): List only viewable export formats
4829         in "View" menu
4830
4831         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4832         message
4833
4834         * lyxfunc.C (getStatus): Make sure that formats other than
4835         "fax" can also be disabled
4836
4837 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4838
4839         * text3.C (dispatch): put the lfuns that insert insets in 3
4840         groups, and call doInsertInset with appropriate arguments.
4841         (doInsertInset): new function, that creates an inset and inserts
4842         it according to some boolean parameters.
4843
4844 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4845
4846         * buffer.C (readFile): remember to pass on 'par' when calling
4847         readFile recursively.
4848
4849 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4850
4851         * MenuBackend.C (expandFormats): add "..." to import formats.
4852
4853 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4854
4855         * paragraph.C (asString): Remove XForms RTL hacks.
4856
4857 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4858         * buffer.C: fix typo
4859
4860 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4861
4862         * Makefile.am (LIBS): delete var
4863         (lyx_LDADD): add @LIBS@ here instead.
4864
4865 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4866
4867         * Clarify the meaning of "wheel mouse jump"
4868
4869 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4870
4871         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4872         tabular in a float
4873
4874 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4875
4876         * importer.C (Loaders): do not preallocate 3 elements in the
4877         vector, since one ends up with 6 elements otherwise
4878
4879 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4880
4881         * DepTable.C (write): write the file name as last element of the
4882         .dep file (because it may contain spaces)
4883         (read): read info in the right order
4884
4885 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4886
4887         * paragraph_pimpl.C (simpleTeXBlanks):
4888         (simpleTeXSpecialChars):
4889         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4890
4891         * tabular.C (latex): add some missing case statements. Reindent.
4892
4893         * MenuBackend.C (expandToc): remove unused variable.
4894
4895 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4896
4897         * LColor.C:
4898         * LaTeX.C:
4899         * LyXAction.C:
4900         * MenuBackend.C:
4901         * buffer.C:
4902         * exporter.C:
4903         * lyxfunc.C:
4904         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4905         and the like.
4906
4907 2003-01-05  John Levon  <levon@movementarian.org>
4908
4909         * BufferView.h:
4910         * BufferView.C: add getEncoding()
4911
4912         * kbsequence.h:
4913         * kbsequence.C: do not store last keypress
4914
4915         * lyxfunc.h:
4916         * lyxfunc.C: store last keypress here instead. Pass encoding
4917           to getISOEncoded()
4918
4919 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4920
4921         * lyx_main.C (init): remove annoying error message when following
4922         symbolic links (bug #780)
4923
4924 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4925
4926         * text.C (insertChar):
4927         * lyxrc.C (getDescription): remove extra spaces
4928
4929 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4930
4931         * lyxrc.C (getDescription): remove extra spaces
4932
4933 2002-12-20  John Levon  <levon@movementarian.org>
4934
4935         * text3.C: hack fix for page up/down across tall rows
4936
4937 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4938
4939         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4940         not been invoked
4941
4942 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4943
4944         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4945         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4946         thesaurus is not compiled in
4947
4948 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4949
4950         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4951
4952 2002-12-16  Angus Leeming  <leeming@lyx.org>
4953
4954         * lyxrc.[Ch]:
4955         * lyx_main.C (init): remove override_x_deadkeys stuff.
4956
4957 2002-12-12  John Levon  <levon@movementarian.org>
4958
4959         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4960           insert. Only remove shift modifier under strict
4961           circumstances.
4962
4963 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * MenuBackend.C (expandToc): fix crash.
4966
4967 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * MenuBackend.C (expandToc): gettext on float names.
4970
4971 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4972
4973         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4974         implement bool empty() [bug 490]
4975
4976 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4979
4980 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4981
4982         * several files: ws changes
4983
4984 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4985
4986         * text2.C (setCounter): clean up a bit, use boost.format.
4987         (updateCounters): initialize par upon declaration.
4988
4989         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4990         if the layout exists. We do not just store the layout any more.
4991         (SwitchLayoutsBetweenClasses): use boost.format
4992
4993 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4994
4995         * converter.C (convert): if from and to files are the same, use a
4996         temporary files as intermediary
4997
4998 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4999
5000         * commandtags.h:
5001         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5002
5003 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5004
5005         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5006
5007 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5008
5009         * tabular.C (asciiPrintCell): use string(size, char) instead of
5010         explicit loop.
5011
5012         * sgml.C (openTag): fix order of arguments to string constructor
5013         (closeTag): ditto
5014
5015         * lyxfunc.C (dispatch): use boost.format
5016
5017         * lots of files: change "c" -> 'c'
5018
5019 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5020
5021         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5022
5023 2002-11-25  Angus Leeming  <leeming@lyx.org>
5024
5025         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5026
5027         * lyx_main.C (init): compile fix.
5028
5029 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5030
5031         * lyx_cb.C (start): boost.formatify
5032         do not include <iostream>
5033
5034         * lengthcommon.C: ws only
5035
5036         * boost-inst.C,BoostFormat.h: add more explict instantations
5037
5038 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5039
5040         * lots of files: handle USE_BOOST_FORMAT
5041
5042 2002-11-21  John Levon  <levon@movementarian.org>
5043
5044         * pspell.C: fix compile
5045
5046 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5047
5048         * lyxfunc.C (dispatch): use boost::format
5049         (open): ditto
5050         (doImport): ditto
5051
5052         * lyxfont.C (stateText): use boost::format
5053
5054         * lyx_main.C (LyX): use boost::format
5055         (init): ditto
5056         (queryUserLyXDir): ditto
5057         (readRcFile): ditto
5058         (parse_dbg): ditto
5059         (typedef boost::function): use the recommened syntax.
5060
5061         * importer.C (Import): use boost::format
5062
5063         * debug.C (showLevel): use boost::format
5064
5065         * converter.C (view): use boost::format
5066         (convert): ditto
5067         (move): ditto
5068         (scanLog): ditto
5069
5070         * bufferview_funcs.C (currentState): use boost::format
5071
5072         * bufferlist.C (emergencyWrite): use boost::format
5073
5074         * buffer.C (readLyXformat2): use boost::format
5075         (parseSingleLyXformat2Token): ditto
5076
5077         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5078
5079         * LaTeX.C (run): use boost::format
5080
5081         * Chktex.C (scanLogFile): use boost::format
5082
5083         * BufferView_pimpl.C (savePosition): use boost::format
5084         (restorePosition): ditto
5085         (MenuInsertLyXFile): ditto
5086
5087         * BoostFormat.h: help file for explicit instation.
5088
5089 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5090
5091         * tabular.C (latex): Support for block alignment in fixed width
5092         columns.
5093
5094 2002-11-17  John Levon  <levon@movementarian.org>
5095
5096         * BufferView_pimpl.C:
5097         * lyx_cb.C:
5098         * lyxfunc.C: split filedialog into open/save
5099
5100 2002-11-08  Juergen Vigna  <jug@sad.it>
5101
5102         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5103         by my last patch (hopefully).
5104
5105 2002-11-08  John Levon  <levon@movementarian.org>
5106
5107         * iterators.h:
5108         * iterators.C:
5109         * buffer.h:
5110         * buffer.C:
5111         * paragraph.h:
5112         * paragraph.C:
5113         * toc.h:
5114         * toc.C: ParConstIterator, and use it (from Lars)
5115
5116 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5117
5118         * lyxtextclass.[Ch]: revise and add doxygen comments
5119
5120 2002-11-07  John Levon  <levon@movementarian.org>
5121
5122         * text.C: fix progress value for spellchecker
5123
5124         * toc.C: fix navigate menu for insetwrap inside minipage
5125
5126         * paragraph_funcs.C: added FIXME for suspect code
5127
5128 2002-11-07  John Levon  <levon@movementarian.org>
5129
5130         * BufferView_pimpl.C: fix redrawing of insets
5131           on buffer switch
5132
5133 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5134
5135         * text2.C (updateCounters): fix bug 668
5136
5137 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5138
5139         * text3.C (dispatch): Do not make the buffer dirty when moving the
5140         cursor.
5141
5142 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * vc-backend.C: STRCONV
5145         (scanMaster): ditto
5146
5147         * text2.C (setCounter): STRCONV
5148
5149         * paragraph.C (asString): STRCONV
5150
5151         * lyxlength.C (asString): STRCONV
5152         (asLatexString): ditto
5153
5154         * lyxgluelength.C (asString): STRCONV
5155         (asLatexString): ditto
5156
5157         * lyxfunc.C (dispatch): STRCONV
5158         (open): ditto
5159
5160         * lyxfont.C (stateText): STRCONV
5161
5162         * importer.C (Import): STRCONV
5163
5164         * counters.C (labelItem): STRCONV
5165         (numberLabel): ditto
5166         (numberLabel): remove unused ostringstream o
5167
5168         * chset.C: STRCONV
5169         (loadFile): ditto
5170
5171         * bufferview_funcs.C (currentState): STRCONV
5172
5173         * buffer.C (readFile): STRCONV
5174         (asciiParagraph): ditto
5175         (makeLaTeXFile): ditto
5176
5177         * Spacing.C (writeEnvirBegin): STRCONV
5178
5179         * LaTeXFeatures.C (getLanguages): STRCONV
5180         (getPackages): ditto
5181         (getMacros): ditto
5182         (getBabelOptions): ditto
5183         (getTClassPreamble): ditto
5184         (getLyXSGMLEntities): ditto
5185         (getIncludedFiles): ditto
5186
5187         * LaTeX.C: STRCONV
5188         (run): ditto
5189         (scanAuxFile): ditto
5190         (deplog): ditto
5191
5192         * LString.h: add the STRCONV macros
5193
5194         * BufferView_pimpl.C (savePosition): STRCONV
5195         (restorePosition): ditto
5196         (MenuInsertLyXFile): ditto
5197
5198         * vc-backend.C (scanMaster): change from submatch[...] to
5199         submatch.str(...)
5200
5201         * funcrequest.C: include config.h
5202
5203         * factory.C: include config.h
5204
5205         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5206
5207         * box.C: include config.h
5208
5209         * LaTeX.C (scanAuxFile): change from submatch[...] to
5210         submatch.str(...)
5211         (deplog): ditto
5212
5213 2002-10-25  Angus Leeming  <leeming@lyx.org>
5214
5215         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5216
5217         * ispell.[Ch] (setError): new method.
5218         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5219         Use setError() insetead of goto END.
5220
5221         * lyx_cb.C (AutoSave): move out child process into new class
5222         AutoSaveBuffer.
5223
5224 2002-10-30  John Levon  <levon@movementarian.org>
5225
5226         * text3.C: make start appendix undoable
5227
5228 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5229
5230         * lyxlength.C (inPixels): Fix returned value.
5231
5232         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5233         environment.
5234
5235 2002-10-24  Angus Leeming  <leeming@lyx.org>
5236
5237         * lyxgluelength.h: no need to forward declare BufferParams
5238         or BufferView, so don't.
5239
5240 2002-10-21  John Levon  <levon@movementarian.org>
5241
5242         * BufferView.C: menuUndo ->undo, redo
5243
5244         * BufferView.h: document, remove dead, make some methods private
5245
5246         * paragraph_funcs.h:
5247         * paragraph_funcs.C:
5248         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5249
5250         * buffer.h:
5251         * buffer.C:
5252         * sgml.h:
5253         * sgml.C: move sgml open/close tag into sgml.C
5254
5255         * bufferview_funcs.h: unused prototype
5256
5257         * lyxfunc.h:
5258         * lyxfunc.C: remove unused
5259
5260         * lyxtext.h:
5261         * text.C: remove unused
5262
5263 2002-10-21  John Levon  <levon@movementarian.org>
5264
5265         * BufferView.h:
5266         * BufferView.C:
5267         * BufferView_pimpl.h:
5268         * BufferView_pimpl.C: fix mouse wheel handling based on
5269           patch from Darren Freeman
5270
5271 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5272
5273         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5274
5275 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5276
5277         * lyxlength.C (inPixels): Fix hanfling of negative length.
5278         Fix LyXLength::MU case.
5279
5280 2002-10-16  John Levon  <levon@movementarian.org>
5281
5282         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5283
5284 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5285
5286         * converter.C (view): add support for $$i (file name) and $$p
5287         (file path) for the viewer command. If $$i is not specified, then
5288         it is appended to the command (for compatibility with old syntax)
5289
5290 2002-10-14  Juergen Vigna  <jug@sad.it>
5291
5292         * undo_funcs.C (textHandleUndo): alter the order in which the
5293         new undopar is added to the LyXText, as we have to set first
5294         the right prev/next and then add it as otherwise the rebuild of
5295         LyXText is not correct. Also reset the cursor to the right paragraph,
5296         with this IMO we could remove the hack in "redoParagraphs()".
5297
5298 2002-10-09  Angus Leeming  <leeming@lyx.org>
5299
5300         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5301         to turn off an optimisation if a new inset is to be inserted.
5302
5303 2002-10-11 André Pönitz <poenitz@gmx.net>
5304
5305         * lyxtext.h: make some functions public to allow access
5306         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5307
5308 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5309
5310         * text3.C (dispatch): when changing layout, avoid an infinite loop
5311         [bug #652]
5312
5313 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5314
5315         * lyxrc.C (read): treat a viewer or converter command of "none" as
5316         if it were empty.
5317
5318         * MenuBackend.C (expandFormats): for an update, also allow the
5319         formats that are not viewable
5320
5321         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5322         script if it is newer than the lyxrc.defaults in user directory
5323
5324 2002-10-07 André Pönitz <poenitz@gmx.net>
5325
5326         * text.C: Vitaly Lipatov's small i18n fix
5327
5328 2002-09-25  Angus Leeming  <leeming@lyx.org>
5329
5330         * ispell.h: doxygen fix.
5331
5332 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5333
5334         * buffer.h (readFile): Add a new argument to the method, to allow
5335         reading of old-format templates.
5336
5337 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5338
5339         * toc.C (getTocList): Get TOC from InsetWrap.
5340
5341 2002-09-16  John Levon  <levon@movementarian.org>
5342
5343         * lyxfunc.C: check tabular for cut/copy too
5344
5345 2002-09-12  John Levon  <levon@movementarian.org>
5346
5347         * LyXAction.C: tidy
5348
5349         * factory.h:
5350         * factory.C: add header
5351
5352         * paragraph_funcs.h:
5353         * paragraph_funcs.C: cleanup
5354
5355 2002-09-11  John Levon  <levon@movementarian.org>
5356
5357         * PrinterParams.h: odd/even default to true
5358
5359 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5360
5361         * PrinterParams.h: update printer parameters for new xforms dialog
5362
5363 2002-09-11  Angus Leeming  <leeming@lyx.org>
5364
5365         * lyxserver.C (read_ready): re-write to make it more transparent
5366         and to make it work in coherent fashion under Tru64 Unix.
5367
5368 2002-09-11  André Pönitz <poenitz@gmx.net>
5369
5370         * commandtags.h:
5371         * LyXAction.C:
5372         * text3.C: implement LFUN_WORDSEL
5373
5374 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5375
5376         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5377         make floatlist_ a boost::shared_ptr<FloatList>
5378
5379         * lyxtextclass.C: include FloatList.h
5380         (LyXTextClass): initialize floatlist_
5381         (TextClassTags): add TC_NOFLOAT
5382         (Read): match "nofloat" to TC_NOFLOAT and use it.
5383         (readFloat): modify call to floatlist_
5384         (floats): ditto
5385         (floats): ditto
5386
5387         * FloatList.[Ch] (FloatList): remove commented out float
5388         initialization.
5389         (erase): new function
5390
5391 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5392
5393         * MenuBackend.C (expandToc): fix crash when there is no document
5394         open
5395
5396 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5397
5398         * many files: Add insetwrap.
5399
5400 2002-09-09  John Levon  <levon@movementarian.org>
5401
5402         * text2.C: remove confusing and awkward depth wraparound
5403
5404 2002-09-09  John Levon  <levon@movementarian.org>
5405
5406         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5407
5408         * buffer.h:
5409         * buffer.C: remove getIncludeonlyList()
5410
5411         * paragraph.C:
5412         * lyxfunc.C: remove headers
5413
5414 2002-09-09  Juergen Vigna  <jug@sad.it>
5415
5416         * text.C (getColumnNearX): fix form Michael this is most
5417         probably a cut&paste bug.
5418
5419 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5420
5421         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5422
5423         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5424         references, ws changes.
5425
5426         * text2.C (init): update counters after init
5427         (insertParagraph): no need to set counter on idividual paragraphs.
5428         (setCounter): access the counters object in the textclass object
5429         on in the buffer object.
5430         (updateCounters): ditto
5431
5432         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5433         shared_ptr<Counters> to avoid loading counters.h in all
5434         compilation units.
5435         (LyXTextClass): initialize ctrs_
5436         (TextClassTags): add TC_COUNTER, and ...
5437         (Read): use it here.
5438         (CounterTags): new tags
5439         (readCounter): new function
5440         (counters): new funtion
5441         (defaultLayoutName): return a const reference
5442
5443         * counters.C (Counters): remove contructor
5444         (newCounter): remove a couple of unneeded statements.
5445         (newCounter): simplify a bit.
5446         (numberLabel): some small formatting changes.
5447
5448         * buffer.[Ch]: remove all traces of counters, move the Counters
5449         object to the LyXTextClass.
5450
5451 2002-09-06  Alain Castera  <castera@in2p3.fr>
5452
5453         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5454         package to set the horizontal alignment on fixed width columns.
5455
5456         * lyx_sty.C:
5457         * lyx_sty.h: added tabularnewline macro def.
5458
5459         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5460
5461 2002-09-06  John Levon  <levon@movementarian.org>
5462
5463         * LyXAction.C: tooltips for sub/superscript
5464
5465         * MenuBackend.C: a bit more verbose
5466
5467         * lyxfunc.C: tiny clean
5468
5469         * undo_funcs.C: document undo_frozen
5470
5471 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5472
5473         * counters.C (Counters): add missing algorithm counter.
5474
5475         * text2.C (setCounter): lookup the counter with layouts latexname
5476         instead of by section number.
5477         (setCounter): use a hackish way to lookup the correct enum
5478         counter.
5479         a float name->type change
5480         reset enum couners with counter name directly instead of depth value.
5481
5482         * counters.C (Counters): remove the push_backs, change to use the
5483         float type not the float name.
5484         (labelItem): remove unused string, float name->type change
5485
5486         * counters.h: don't include vector, loose the enums and sects vectors
5487
5488 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5491         (Read): add float->TC_FLOAT to textclassTags
5492         (Read): and handle it in the switch
5493         (readFloat): new function
5494
5495         * FloatList.C (FloatList): comment out the hardcoded float
5496         definitions.
5497
5498         * lyxlayout.h: ws change.
5499
5500 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5501
5502         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5503
5504 2002-09-03  Angus Leeming  <leeming@lyx.org>
5505
5506         * BufferView_pimpl.h: qualified name is not allowed in member
5507         declaration: WorkArea & Pimpl::workarea() const;
5508
5509         * factory.C: added using std::endl directive.
5510
5511         * text3.C: added using std::find and std::vector directives.
5512
5513 2002-08-29  André Pönitz <poenitz@gmx.net>
5514
5515         * lyxtext.h:
5516         * text2.C: remove unused member number_of_rows
5517
5518         * Makefile.am:
5519         * BufferView2.C: remove file, move contents to...
5520         * BufferView.C: ... here
5521
5522         * BufferView_pimpl.C:
5523         * factory.C: move more inset creation to factory
5524
5525         * vspace.C: avoid direct usage of LyXText, ws changes
5526
5527         * BufferView.[Ch]:
5528                 don't provide direct access to WorkArea, use two simple
5529                 acessors haveSelction() and workHeight() instead
5530
5531
5532 2002-08-29  John Levon  <levon@movementarian.org>
5533
5534         * BufferView_pimpl.C (dispatch): do not continue when
5535           no buffer
5536
5537 2002-08-28  André Pönitz <poenitz@gmx.net>
5538
5539         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5540
5541         * BufferView.h:
5542         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5543
5544 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5545
5546         * buffer.C: increment LYX_FORMAT to 221
5547
5548         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5549         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5550
5551         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5552
5553         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5554
5555 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5556
5557         * factory.C (createInset): use LyXTextClass::floats
5558
5559         * MenuBackend.C (expandFloatListInsert):
5560         (expandFloatInsert):
5561         (expandToc):
5562
5563         * text2.C (setCounter):
5564
5565         * LaTeXFeatures.C (useFloat):
5566         (getFloatDefinitions):
5567
5568         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5569
5570         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5571         floatlist_, with accessor floats().
5572
5573         * FloatList.h: remove global FloatList
5574
5575 2002-08-26  André Pönitz <poenitz@gmx.net>
5576
5577         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5578
5579         * BufferView.h:
5580         * BufferView2.C:
5581         * BufferView_pimpl.C:
5582         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5583
5584 2002-08-25  John Levon  <levon@movementarian.org>
5585
5586         * LyXAction.C: fix margin note description
5587
5588 2002-08-24  John Levon  <levon@movementarian.org>
5589
5590         * buffer.C:
5591         * bufferlist.C:
5592         * bufferview_funcs.C:
5593         * lyxfont.C:
5594         * undo_funcs.C: cleanups
5595
5596         * lyxfunc.C: disable CUT/COPY when no selection
5597
5598 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5599
5600         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5601         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5602
5603         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5604         Add backward compatibility to "mono", "gray" and "no".
5605
5606 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5607
5608         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5609         (and file_format >= 200).
5610
5611 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5612
5613         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5614
5615 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5616
5617         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5618
5619 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5620
5621         * BufferView_pimpl.C:
5622         * LyXAction.C:
5623         * buffer.C:
5624         * commandtags.h:
5625         * lyxfunc.C:
5626         * paragraph.[Ch]:
5627         * text2.C:
5628         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5629         inset and code to make it  work with the paragraph code. The inset
5630         can be anywhere in the paragraph, but will only do the expected
5631         thing in LaTeX if the layout file contains the parameter line
5632                         OptionalArgs    1
5633         (or more generally, a nonzero value) for that layout.
5634
5635 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5636
5637         * paragraph.h: remove the declaration of undefined counters class
5638         function.
5639
5640 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5641
5642         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5643         Dr. Richard Hawkins.
5644
5645 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5646
5647         * paragraph_funcs.h: remove some unneeded includes
5648
5649         * text.C (backspace): pasteParagraph now in global scipe
5650
5651         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5652         (pasteSelection): ditto
5653
5654         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5655         * paragraph_funcs.C (pasteParagraph): ... here
5656
5657 2002-08-20  André Pönitz <poenitz@gmx.net>
5658
5659         * commandtags.h: new LFUNs for swapping/copying table row/colums
5660
5661         * LyXAction.C:
5662         * lyxfunc.C: support for new lfuns
5663
5664 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5665
5666         * tabular.C:
5667         * buffer.[Ch]: remove NO_COMPABILITY stuff
5668
5669 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5670
5671         * boost.C (throw_exception): new file, with helper function for
5672         boost compiled without exceptions.
5673
5674         * paragraph.h:
5675         * lyxlength.C:
5676         * buffer.C:
5677         * ParameterStruct.h:
5678         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5679
5680         * bufferlist.C (emergencyWriteAll): use boost bind
5681
5682         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5683
5684         * text.C: include paragraph_funcs.h
5685         (breakParagraph): breakParagraph is now in global scope
5686
5687         * paragraph_funcs.[Ch]: new files
5688
5689         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5690         global scope
5691
5692         * buffer.C: include paragraph_funcs.h
5693         (insertStringAsLines): breakParagraph is now in global scope
5694
5695         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5696         paragraph_funcs.C
5697
5698         * CutAndPaste.C: include paragraph_funcs.h
5699         (cutSelection): breakParagraphConservative is now in global scope
5700         (pasteSelection): ditto
5701
5702         * buffer.h: declare oprator== and operator!= for
5703         Buffer::inset_iterator
5704
5705         * bufferlist.C (emergencyWrite): don't use fmt(...)
5706
5707         * text3.C: add using std::endl
5708
5709         * BufferView.C (moveCursorUpdate): remove default arg
5710
5711 2002-08-20  André Pönitz <poenitz@gmx.net>
5712
5713         * buffer.[Ch]: move inline functions to .C
5714
5715         * BufferView2.C:
5716         * BufferView_pimpl.C:
5717         * text.C:
5718         * buffer.[Ch]: use improved inset_iterator
5719
5720         * buffer.C:
5721         * paragraph.[Ch]: write one paragraph at a time
5722
5723 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5724
5725         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5726         style if style is not specified.
5727
5728 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5729
5730         * text2.C (setCounter): when searching for right label for a
5731         caption, make sure to recurse to parent insets (so that a caption
5732         in a minipage in a figure float works) (bug #568)
5733
5734 2002-08-20  André Pönitz <poenitz@gmx.net>
5735
5736         * text3.C: new file for LyXText::dispatch() and helpers
5737
5738         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5739
5740         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5741
5742 2002-08-19  André Pönitz <poenitz@gmx.net>
5743
5744         * lyxtext.h:
5745         * text.C: new LyXText::dispatch()
5746
5747         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5748
5749 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5750
5751         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5752
5753         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5754         Hebrew text.
5755
5756 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5757
5758         * Makefile.am: use $(variables) instead of @substitutions@
5759
5760 2002-08-15  André Pönitz <poenitz@gmx.net>
5761
5762         * lyxfunc.C:
5763         * BufferView_pimpl.C: streamlining mathed <-> outer world
5764         interaction
5765
5766         * commandtags.h:
5767         * LyXAction.C: remove unused LFUN_MATH
5768
5769 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5770
5771         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5772
5773 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5774
5775         * paragraph.C (Paragraph): reformat a bit
5776         (cutIntoMinibuffer): use builtin InsetList function instad of
5777         doing it manually.
5778         (getInset): ditto
5779
5780         * buffer.C: include boost/bind.hpp, add using std::for_each
5781         (writeFileAscii): use ParagraphList iterators
5782         (validate): use for_each for validate traversal of paragraphs
5783         (getBibkeyList): use ParagraphList iterators
5784         (resizeInsets): use for_each to resizeInsetsLyXText for all
5785         paragraphs.
5786         (getParFromID): use ParagraphList iterators
5787
5788         * BufferView2.C (lockInset): use paragraph list and iterators
5789
5790 2002-08-14  John Levon  <levon@movementarian.org>
5791
5792         * lyxserver.C: remove spurious xforms include
5793
5794 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5795
5796         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5797
5798 2002-08-13  André Pönitz <poenitz@gmx.net>
5799
5800         * LyXAction.[Ch]:
5801         * lyxfunc.C: further cleaning
5802
5803 2002-08-13  André Pönitz <poenitz@gmx.net>
5804
5805         * funcrequest.h: new constructor
5806
5807         * funcrequest.C: move stuff here from .h
5808
5809         * Makefile.am:
5810         * BufferView_pimpl.C:
5811         * LyXAction.C:
5812         * toc.C:
5813         * lyxfunc.C: subsequent changes
5814
5815         * lyxfunc.h: new view() member function
5816
5817         * lyxfunc.C: subsequent changes
5818
5819 2002-08-13  Angus Leeming  <leeming@lyx.org>
5820
5821         * BufferView2.C:
5822         * BufferView_pimpl.C:
5823         * buffer.C:
5824         * converter.C:
5825         * importer.C:
5826         * lyxfunc.C:
5827         * lyxvc.C:
5828         * toc.C:
5829         * vc-backend.C:
5830         changes due to the changed LyXView interface that now returns references
5831         to member variables not pointers.
5832
5833 2002-08-13  Angus Leeming  <leeming@lyx.org>
5834
5835         * WordLangTuple (word, lang_code): return references to strings,
5836         not strings.
5837
5838         * BufferView.h:
5839         * SpellBase.h:
5840         * lyxtext.h: forward-declare WordLangTuple.
5841
5842         * BufferView2.C:
5843         * ispell.C:
5844         * pspell.C:
5845         * text.C: #include "WordLangTuple.h".
5846
5847         * lyxtext.h:
5848         * text.C: (selectNextWordToSpellcheck): constify return type.
5849
5850 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5851
5852         * buffer.C:
5853         * buffer.h:
5854         * lyxtext.h:
5855         * paragraph.C:
5856         * paragraph_pimpl.h:
5857         * text.C:
5858         * text2.C:
5859         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5860         suggested by Angus.
5861         Made updateCounter always count from start of buffer, and removed
5862         second argument (par).
5863         Reverted floats number display to '#'. Perhaps I'll try again when the
5864         code base is sanitized a bit.
5865
5866 2002-08-12  Angus Leeming  <leeming@lyx.org>
5867
5868         * buffer.[Ch] (getLabelList): constify.
5869
5870 2002-08-07  André Pönitz <poenitz@gmx.net>
5871
5872         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5873
5874         * funcrequest.h: extension to keep mouse (x,y) position
5875
5876 2002-08-12  Juergen Vigna  <jug@sad.it>
5877
5878         * BufferView2.C (insertErrors): forbid undo when inserting error
5879         insets.
5880
5881         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5882
5883 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5884
5885         * ParagraphList.[Ch]: new files
5886
5887         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5888
5889         * BufferView2.C (lockInset): ParagraphList changes
5890         * toc.C: ditto
5891         * text2.C: ditto
5892         * bufferlist.C: ditto
5893         * buffer.h: ditto
5894         * buffer.C: ditto
5895
5896 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5899         unused class variable counter_,
5900
5901         * paragraph.[Ch] (getFirstCounter): delete unused function
5902
5903         * counters.C: include LAssert.h
5904         (reset): add a new function with no arg, change other version to
5905         not have def. arg and to not allow empty arg.
5906
5907         * text2.C (setCounter): remove empty arg from call to Counters::reset
5908
5909 2002-08-11  John Levon  <levon@movementarian.org>
5910
5911         * Makefile.am: add WordLangTuple.h
5912
5913 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5914
5915         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5916         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5917
5918         * insets/insettext.C: InsetList changes
5919
5920         * graphics/GraphicsSupport.C (operator()): InsetList changes
5921
5922         * toc.C (getTocList): InsetList changes
5923
5924         * paragraph_pimpl.[Ch]: InsetList changes
5925
5926         * paragraph.[Ch]: InsetList changes
5927
5928         * buffer.C (inset_iterator): InsetList changes
5929         (setParagraph): ditto
5930         * buffer.h (inset_iterator): ditto
5931         * iterators.C (operator++): ditto
5932         * iterators.h: ditto
5933
5934         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5935
5936         * InsetList.[Ch]: new files, most InsetList handling moved out of
5937         paragraph.C.
5938
5939         * BufferView2.C (removeAutoInsets): InsetList changes
5940         (lockInset): ditto
5941         (ChangeInsets): ditto
5942
5943 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5944
5945         * paragraph_pimpl.h (empty): new function
5946
5947         * paragraph.[Ch] (empty): new function
5948
5949         * other files: use the new Paragraph::empty function
5950
5951 2002-08-09  John Levon  <levon@movementarian.org>
5952
5953         * lyxtext.h: remove unused refresh_height
5954
5955 2002-08-09  John Levon  <levon@movementarian.org>
5956
5957         * Makefile.am:
5958         * sgml.h:
5959         * sgml.C:
5960         * buffer.C:
5961         * paragraph.h:
5962         * paragraph.C: move sgml char escaping out of paragraph
5963
5964         * paragraph.h:
5965         * paragraph.C: remove id setter
5966
5967         * buffer.C:
5968         * paragraph.C:
5969         * paragraph_pimpl.C: remove dead tex_code_break_column
5970
5971         * bufferview_funcs.C: small cleanup
5972
5973         * lyxfunc.C: remove dead proto
5974
5975         * lyxtext.h: make some stuff private. Remove some dead stuff.
5976
5977         * lyxgluelength.C: make as[LyX]String() readable
5978
5979 2002-08-08  John Levon  <levon@movementarian.org>
5980
5981         * LyXAction.h:
5982         * LyXAction.C:
5983         * MenuBackend.C:
5984         * ToolbarDefaults.C:
5985         * lyxfunc.C:
5986         * lyxrc.C:
5987         * toc.C: lyxaction cleanup
5988
5989 2002-08-08  John Levon  <levon@movementarian.org>
5990
5991         * BufferView2.C: small cleanup
5992
5993         * lyxfind.h:
5994         * lyxfind.C: move unnecessary header into the .C
5995
5996 2002-08-08  John Levon  <levon@movementarian.org>
5997
5998         * funcrequest.h: just tedious nonsense
5999
6000         * lyx_main.h:
6001         * lyx_main.C: cleanups
6002
6003         * buffer.C:
6004         * vspace.C: remove dead header lyx_main.h
6005
6006 2002-08-07  Angus Leeming  <leeming@lyx.org>
6007
6008         * Paragraph.[Ch]:
6009         * paragraph_pimpl.h:
6010         Forward declare class Counters in paragraph.h by moving the ctrs member
6011         variable into Paragraph::Pimpl.
6012         (counters): new method, returning a reference to pimpl_->ctrs.
6013
6014         * text2.C: ensuing changes.
6015
6016 2002-08-07  John Levon  <levon@movementarian.org>
6017
6018         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6019
6020         * BufferView_pimpl.C: announce X selection on double/triple
6021           click
6022
6023         * lyx_main.C: use correct bool in batch dispatch
6024
6025         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6026
6027 2002-08-07  André Pönitz <poenitz@gmx.net>
6028
6029         * funcrequest.h: new class to wrap a kb_action and its argument
6030
6031         * BufferView.[Ch]:
6032         * BufferView_pimpl[Ch]:
6033         * LaTeX.C:
6034         * LyXAction.[Ch]:
6035         * lyxfunc.[Ch]:
6036         * lyxrc.C: subsequent changes
6037
6038
6039 2002-08-07  John Levon  <levon@movementarian.org>
6040
6041         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6042           document options change.
6043
6044 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6045
6046         * counters.[Ch]
6047         * text2.C
6048         * paragraph.[Ch]
6049         * makefile.am: move counters functionality over from
6050         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6051
6052 2002-08-06  John Levon  <levon@movementarian.org>
6053
6054         * WordLangTuple.h: new file for word + language code tuple
6055
6056         * SpellBase.h:
6057         * pspell.h:
6058         * pspell.C:
6059         * ispell.h:
6060         * ispell.C:
6061         * lyxtext.h:
6062         * text.C:
6063         * text2.C:
6064         * BufferView.h:
6065         * BufferView2.C: use WordLangTuple
6066
6067         * layout.h:
6068         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6069
6070 2002-08-06  John Levon  <levon@movementarian.org>
6071
6072         * lyx_main.C: fix cmdline batch handling
6073
6074 2002-08-06  André Pönitz <poenitz@gmx.net>
6075
6076         * lyxrc.C: set default for show_banner to true
6077
6078 2002-08-06  John Levon  <levon@movementarian.org>
6079
6080         * pspell.C: fix a crash, and allow new aspell to work
6081
6082 2002-08-06  John Levon  <levon@movementarian.org>
6083
6084         * lyxfunc.C:
6085         * kbmap.C: small cleanup
6086
6087         * vspace.h:
6088         * vspace.C: add const
6089
6090 2002-08-05  John Levon  <levon@movementarian.org>
6091
6092         * LyXAction.C: back to tabular-insert
6093
6094 2002-08-04  John Levon  <levon@movementarian.org>
6095
6096         * BufferView.h:
6097         * BufferView.C: cosmetic change
6098
6099         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6100
6101         * bufferlist.C:
6102         * buffer.h:
6103         * buffer.C:
6104         * lyxcb.h:
6105         * lyxcb.C:
6106         * lyxserver.C:
6107         * lyxvc.C:
6108         * vc-backend.C:
6109         * BufferView2.C: purge all "Lyx" not "LyX" strings
6110
6111         * lyxcursor.h:
6112         * lyxcursor.C: attempt to add some documentation
6113
6114         * lyxfunc.C:
6115         * commandtags.h:
6116         * LyXAction.C:
6117         * ToolbarDefaults.C:
6118         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6119           merge with LFUN_TABULAR_INSERT
6120
6121         * Makefile.am:
6122         * SpellBase.h:
6123         * ispell.h:
6124         * ispell.C:
6125         * pspell.h:
6126         * pspell.C: split up i/pspell implementations into separate
6127           files, many cleanups
6128
6129         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6130
6131         * text2.C: some cleanup
6132
6133         * lyxfunc.C: don't check for isp_command == "none" any more, it
6134           didn't make any sense
6135
6136 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6137
6138         * counters.[Ch]
6139         * text2.C
6140         * paragraph.[Ch]
6141         * makefile.am: move counters functionality over
6142         from text2.C/paragraph.[Ch] to counters.[Ch], and
6143         make proper C++.
6144 2002-08-02  John Levon  <levon@movementarian.org>
6145
6146         * buffer.C: s/lyxconvert/lyx2lyx/
6147
6148 2002-08-02  Angus Leeming  <leeming@lyx.org>
6149
6150         * lyxlex.C: revert John's change as it breaks reading of the user
6151         preamble.
6152
6153 2002-08-02  Angus Leeming  <leeming@lyx.org>
6154
6155         * importer.C (Import):
6156         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6157         changes due to LyXView::view() now returning a boost::shared_ptr.
6158
6159 2002-08-02  John Levon  <levon@movementarian.org>
6160
6161         * lyxlex.C: small cleanup
6162
6163 2002-08-02  John Levon  <levon@movementarian.org>
6164
6165         * text2.C (status): small cleanup, no logic change
6166
6167 2002-08-01  John Levon  <levon@movementarian.org>
6168
6169         * buffer.h:
6170         * buffer.C (writeFile): don't output alerts, caller
6171           handles this
6172
6173         * bufferlist.C:
6174         * lyx_cb.C: from above
6175
6176         * lyxfunc.C: allow to open non-existent files
6177
6178 2002-07-31  John Levon  <levon@movementarian.org>
6179
6180         * lyxserver.C: don't let incidental errors get
6181           in the way (errno)
6182
6183 2002-07-30  John Levon  <levon@movementarian.org>
6184
6185         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6186
6187 2002-07-30  John Levon  <levon@movementarian.org>
6188
6189         * lyxserver.h:
6190         * lyxserver.C: remove I/O callback too
6191
6192 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6193
6194         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6195         log.
6196
6197 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6198
6199         * many files: strip,frontStrip -> trim,ltrim,rtrim
6200
6201 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * PrinterParams.h: remove extern containsOnly, and include
6204         support/lstrings.h instead.
6205
6206         * LaTeX.C (scanAuxFile): modify because of strip changes
6207         (deplog): ditto
6208         * buffer.C (makeLaTeXFile): ditto
6209         * bufferparams.C (writeFile): ditt
6210         * lyxfont.C (stateText): ditto
6211         * lyxserver.C (read_ready): ditto
6212         * vc-backend.C (scanMaster): ditto
6213
6214         * BufferView_pimpl.h: ws changes
6215
6216         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6217
6218 2002-07-26  André Pönitz <poenitz@gmx.net>
6219
6220         * kb_sequence.C: remove unnedred usings
6221
6222 2002-07-26  Juergen Vigna  <jug@sad.it>
6223
6224         * lyxfind.C (LyXReplace): we have to check better if the returned
6225         text is not of theLockingInset()->getLockingInset().
6226
6227 2002-07-25  Juergen Vigna  <jug@sad.it>
6228
6229         * lyxfind.C (LyXReplace): don't replace if we don't get the
6230         right LyXText.
6231
6232         * undo_funcs.C (createUndo): remove debugging code.
6233
6234 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6235
6236         * buffer.C (parseSingleLyXformat2Token): Use default placement
6237         when reading old floats.
6238
6239         * FloatList.C (FloatList): Change the default placement of figure
6240         and tables to "tbp".
6241
6242 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6243
6244         * MenuBackend.C: using std::max
6245
6246 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6247
6248         * MenuBackend.C (expandToc):
6249         (expandToc2): code moved from xforms menu frontend. It is now
6250         generic and TOCs are transparent to menu frontends.
6251
6252 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6253
6254         * toc.C (getTocList): protect against buf=0
6255
6256         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6257         Menu as first parameter. Now, this calls itself recursively to
6258         expand a whole tree (this will be useful for TOC handling)
6259         (expandFloatInsert): remove 'wide' version of floats
6260
6261         * MenuBackend.h (submenuname): returns the name of the submenu.
6262         (submenu): returns the submenu itself, provided it has been
6263         created by MenuBackend::expand
6264
6265 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6266
6267         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6268         insets which have noFontChange == true. (bug #172)
6269
6270 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6271
6272         * BufferView_pimpl.C: add connection objects and use them...
6273         (Pimpl): here.
6274
6275 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6276
6277         * MenuBackend.C (expandLastfiles):
6278         (expandDocuments):
6279         (expandFormats):
6280         (expandFloatListInsert):
6281         (expandFloatInsert):
6282         (expand): split expand in parts
6283
6284 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6285
6286         * lyx_gui.C: use lyx_gui::exit()
6287
6288 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6289
6290         * LyXAction.C: show the failing pseudo action
6291
6292 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6293
6294         * buffer.C (readFile): Run the lyxconvert script in order to read
6295         old files.
6296
6297 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6298
6299         * LyXAction.C:
6300         * commandtags.h:
6301         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6302
6303 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6304
6305         * LyXAction.C:
6306         * commandtags.h:
6307         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6308
6309 2002-07-22  Herbert Voss  <voss@lyx.org>
6310
6311         * lengthcommon.C:
6312         * lyxlength.[Ch]: add support for the vertical lengths
6313
6314 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6315
6316         * toc.[Ch]: std:: fixes
6317
6318 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6319
6320         * lyxrc.C: do not include lyx_main.h
6321
6322         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6323         for layouts
6324
6325         * lyxrc.C:
6326         * encoding.C:
6327         * bufferlist.C:
6328         * BufferView2.C: include "lyxlex.h"
6329
6330         * tabular.h:
6331         * bufferparams.h: do not #include "lyxlex.h"
6332
6333         * lyxtextclasslist.C (Add): remove method
6334         (classlist): renamed to classlist_
6335
6336         * paragraph_pimpl.C:
6337         * paragraph.C:
6338         * text2.C:
6339         * CutAndPaste.C:
6340         * bufferview_funcs.C:
6341         * bufferlist.C:
6342         * text.C:
6343         * LaTeXFeatures.C:
6344         * buffer.C:
6345         * toc.C (getTocList): use BufferParams::getLyXTextClass
6346
6347         * toc.C (getTocList): use InsetFloat::addToToc
6348
6349         * toc.[Ch]: new files, containing helper functions to handle table
6350         of contents
6351
6352         * lyxfunc.C (dispatch): no need to remove spaces around command
6353         given as a string
6354         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6355         first command of the sequence; it is not very clever, but I do not
6356         have a better idea, actually
6357
6358         * LyXAction.C (LookupFunc): make sure to remove space at the
6359         beginning and end of the command
6360
6361 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6362
6363         * MenuBackend.C (getMenubar): new method: return the menubar of
6364         this menu set
6365         (read): treat differently reading of menu and menubar (in
6366         particular, the menubar has no name now)
6367         (Menu::menubar): remove
6368
6369         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6370         saving is finished
6371
6372 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6373
6374         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6375         a bibitem inset in a RTL paragraph.
6376
6377 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6378
6379         * paragraph_pimpl.C: constify
6380
6381         * BufferView_pimpl.C:
6382         * LaTeX.C:
6383         * lyxfunc.C: fix dispatch in a nicer way
6384
6385 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6386
6387         * lyxfunc.C (dispatch):
6388         * BufferView_pimpl.C:
6389         * BufferView_pimpl.h:
6390         * BufferView.C:
6391         * BufferView.h: rename Dispatch() to dispatch()
6392
6393         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6394
6395         * lyxlayout.C (Read): honor DependsOn tag
6396
6397         * lyxlayout.[Ch] (depends_on): new method
6398
6399         * version.C.in: update lyx_docversion
6400
6401         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6402
6403         * paragraph.C (validate): remove from here...
6404         * paragraph_pimpl.C (validate): ... and move here
6405         (isTextAt): make it const
6406
6407         * buffer.C (getLists): ws cleanup
6408
6409 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6410
6411         * language.C (read): Use iso8859-1 encoding in latex_lang
6412         (this prevents LyX from crashing when using iso10646-1 encoding).
6413
6414 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6415
6416         * text2.C (toggleInset): if cursor is inside an inset, close the
6417         inset and leave cursor _after_ it
6418
6419 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6420
6421         * lyxfunc.C: move minibuffer completion handling out of here
6422
6423 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6424
6425         * BufferView_pimpl.C:
6426         * LaTeX.C: fix dispatch calls
6427
6428 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6429
6430         * text.C (drawChars): Fix Arabic text rendering.
6431
6432 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6433
6434         * LyXAction.C:
6435         * commandtags.h:
6436         * lyxfunc.C: remove message-push/pop
6437
6438         * lyxserver.C:
6439         * lyxfunc.h:
6440         * lyxfunc.C: rationalise some code by removing verboseDispatch
6441           in favour of a bool argument to dispatch()
6442
6443 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6444
6445         * lyx_main.C (init): make sure to read symlinks as absolute paths
6446
6447 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6448
6449         * lyxfunc.h:
6450         * lyxfunc.C: no need for commandshortcut to be a member
6451
6452 2002-07-15  André Pönitz <poenitz@gmx.net>
6453
6454         * converter.C: add support for $$s (scripts from lib/scripts dir)
6455         * lyx_main.C: white space
6456
6457 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6458
6459         * bufferlist.C:
6460         * lyxrc.h:
6461         * lyxrc.C: remove second exit confirmation
6462
6463 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6464
6465         * BufferView.h:
6466         * BufferView.C:
6467         * BufferView2.C:
6468         * BufferView_pimpl.h:
6469         * BufferView_pimpl.C:
6470         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6471
6472 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6473
6474         * MenuBackend.C (expand): add numeric shortcuts to document menu
6475
6476         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6477
6478 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6479
6480         * lyxfont.C (setLyXFamily):
6481         (setLyXSeries):
6482         (setLyXShape):
6483         (setLyXSize):
6484         (setLyXMisc):
6485         (lyxRead):
6486         * debug.C (value):
6487         * buffer.C (asciiParagraph): use ascii_lowercase
6488
6489 2002-07-15  Mike Fabian  <mfabian@suse.de>
6490
6491         * lyxlex_pimpl.C (search_kw):
6492         * lyxlex.C (getLongString):
6493         * converter.h (operator<):
6494         * converter.C (operator<):
6495         * buffer.C (parseSingleLyXformat2Token):
6496         (asciiParagraph):
6497         * ToolbarDefaults.C (read):
6498         * MenuBackend.C (checkShortcuts):
6499         (read):
6500         * LColor.C (getFromGUIName):
6501         (getFromLyXName): use the compare_ascii_no_case instead of
6502         compare_no_case, because in turkish, 'i' is not the lowercase
6503         version of 'I', and thus turkish locale breaks parsing of tags.
6504
6505 2002-07-16  Angus Leeming  <leeming@lyx.org>
6506
6507         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6508         now takes a Buffer const & argument.
6509
6510 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6511
6512         * BufferView.C (resize): check there's a buffer to resize
6513
6514 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6515
6516         * lyxfunc.C: remove dead code
6517
6518         * lyxserver.h:
6519         * lyxserver.C: use lyx_guii::set_read_callback
6520
6521 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6522
6523         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6524         an inset in a RTL paragraph.
6525
6526 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6527
6528         * lyxfunc.C: repaint after a font size update
6529
6530 2002-07-15  André Pönitz <poenitz@gmx.net>
6531
6532         * lyxlength.C: inBP should be able to return negative values
6533
6534 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6535
6536         * lyxfunc.C: use lyx_gui::update_fonts()
6537
6538 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6539
6540         * lyxfunc.C: use lyx_gui::update_color()
6541
6542 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6543
6544         * bufferlist.C:
6545         * lyxfunc.h:
6546         * lyxfunc.C:
6547         * lyxrc.h:
6548         * lyxrc.C: remove file->new asks for name option, and let
6549           buffer-new take an argument
6550
6551 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6552
6553         * BufferView_pimpl.C: remove unneeded extra repaint()
6554
6555 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6556
6557         * LyXAction.C: allow command-sequence with NoBuffer
6558
6559         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6560
6561 2002-07-10  Angus Leeming  <leeming@lyx.org>
6562
6563         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6564
6565 2002-07-09  Angus Leeming  <leeming@lyx.org>
6566
6567         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6568
6569 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6570
6571         * lengthcommon.h: whitespace
6572
6573         * lyxfunc.C: update scrollbar after goto paragraph
6574
6575         * lyxtext.h: factor out page break drawing, and fix it so
6576           page break/added space paints as selected nicely
6577
6578 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6579
6580         * BufferView_pimpl.C: add FIXMEs, clean up a little
6581
6582 2002-07-09  André Pönitz <poenitz@gmx.net>
6583
6584         * lyxfont.[Ch]: support for wasy symbols
6585
6586 2002-07-08  André Pönitz <poenitz@gmx.net>
6587
6588         * BufferView_pimpl.C: apply John's patch for #93.
6589
6590 2002-07-05  Angus Leeming  <leeming@lyx.org>
6591
6592         * BufferView_pimpl.C (buffer): generate previews if desired.
6593
6594         * LColor.h: add "preview" to the color enum.
6595
6596         * LColor.C (LColor): add a corresponding entry to the items array.
6597
6598         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6599         with this buffer.
6600
6601 2002-07-05  Angus Leeming  <leeming@lyx.org>
6602
6603         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6604         The body of the code is now in the method that is passed an ostream &
6605         rather than a file name.
6606         Pass an additional only_preamble parameter, useful for the forthcoming
6607         preview stuff.
6608
6609 2002-07-03  André Pönitz <poenitz@gmx.net>
6610
6611         * lyxfunc.C: simplify getStatus() a bit for math stuff
6612
6613 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6614
6615         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6616
6617 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6618
6619         * text.C (changeRegionCase): do not change case of all the
6620         document when region ends at paragraph end (bug #461)
6621
6622 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6623
6624         * paragraph.C (startTeXParParams):
6625         (endTeXParParams): add \protect when necessary
6626
6627 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6628
6629         * BufferView_pimpl.C (workAreaExpose): remove warning
6630
6631 2002-06-27  Angus Leeming  <leeming@lyx.org>
6632
6633         * Makefile.am: add lyxlayout_ptr_fwd.h.
6634
6635 2002-06-26  André Pönitz <poenitz@gmx.net>
6636
6637         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6638
6639 2002-06-25  Angus Leeming  <leeming@lyx.org>
6640
6641         * lyxfunc.C (dispatch): Comment out the call to
6642         grfx::GCache::changeDisplay. The method no longer exists now that the
6643         pixmap generation part of the graphics loader has been moved into
6644         InsetGraphics.
6645
6646 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6647
6648         * text2.C: layout as layout
6649
6650         * text.C: layout as layout
6651
6652         * tabular.C (OldFormatRead): layout as layout
6653
6654         * paragraph_pimpl.C (TeXDeeper): layout as layout
6655         (realizeFont): layout as layout
6656
6657         * paragraph.C (writeFile): layout as layout
6658         (validate): layout as layout
6659         (getFont): layout as layout
6660         (getLabelFont): layout as layout
6661         (getLayoutFont): layout as layout
6662         (breakParagraph): layout as layout
6663         (stripLeadingSpaces): layout as layout
6664         (getEndLabel): layout as layout
6665         (getMaxDepthAfter): layout as layout
6666         (applyLayout): layout as layout
6667         (TeXOnePar): layout as layout
6668         (simpleTeXOnePar): layout as layout
6669         (TeXEnvironment): layout as layout
6670         (layout): layout as layout
6671         (layout): layout as layout
6672
6673         * lyxtextclass.C (compare_name): new functor to work with
6674         shared_ptr, layout as layout
6675         (Read): layout as layout
6676         (hasLayout): layout as layout
6677         (operator): layout as layout
6678         (delete_layout): layout as layout
6679         (defaultLayout): layout as layout
6680
6681         * lyxlayout_ptr_fwd.h: new file
6682
6683         * lyxlayout.C (Read): layout as layout
6684
6685         * lyx_cb.C (MenuInsertLabel): layout as layout
6686
6687         * bufferlist.C (newFile): layout as layout
6688
6689         * buffer.C (readLyXformat2): layout as layout
6690         (parseSingleLyXformat2Token): layout as layout
6691         (insertStringAsLines): layout as layout
6692         (asciiParagraph): layout as layout
6693         (latexParagraphs): layout as layout
6694         (makeLinuxDocFile): layout as layout
6695         (simpleLinuxDocOnePar): layout as layout
6696         (makeDocBookFile): layout as layout
6697         (simpleDocBookOnePar): layout as layout
6698         (getLists): layout as layout
6699
6700         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6701
6702         * CutAndPaste.C (cutSelection): layout as layout
6703         (pasteSelection): layout as layout
6704         (SwitchLayoutsBetweenClasses): layout as layout
6705
6706         * BufferView_pimpl.C (Dispatch): layout as layout
6707         (smartQuote): layout as layout
6708
6709         * BufferView2.C (unlockInset): layout as layout
6710
6711 2002-06-24  André Pönitz <poenitz@gmx.net>
6712
6713         * lyxfunc.C: fix #487
6714
6715 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6716
6717         * lyxrc.h:
6718         * lyxrc.C:
6719         * lyxfunc.C: remove display_shortcuts, show_banner
6720
6721 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6722
6723         * Buffer_pimpl.C: oops, update on resize
6724
6725 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6726
6727         * buffer.C:
6728         * converter.C:
6729         * exporter.C:
6730         * lyxfunc.C:
6731         * BufferView.h:
6732         * BufferView.C: use repaint()
6733
6734         * BufferView_pimpl.h:
6735         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6736           as it's a clearer description. Remove superfluous
6737           redraws.
6738
6739 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6740
6741         * text.C: fix bug 488. Not ideal, but getting
6742           getWord() to work properly for the insets that
6743           matter is more difficult ...
6744
6745 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6746
6747         * BufferView_pimpl.C:
6748         * LyXAction.C:
6749         * commandtags.h:
6750         * lyxfunc.C: remove the six million index lyxfuncs to just
6751           one, and DTRT (bug 458)
6752
6753 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6754
6755         * BufferView.h:
6756         * BufferView.C:
6757         * BufferView_pimpl.h:
6758         * BufferView_pimpl.C: clean up resize() stuff,
6759           and unnecessary updateScreen()s
6760
6761 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6762
6763         * BufferView.h:
6764         * BufferView.C:
6765         * BufferView_pimpl.h:
6766         * BufferView_pimpl.C:
6767         * lyxfind.h:
6768         * lyxfind.C:
6769         * minibuffer.C: remove focus management of workarea,
6770           not needed. Use screen's greyOut()
6771
6772 2002-06-17  Herbert Voss  <voss@lyx.org>
6773
6774         * converter.C: (convert) do not post a message, when converting
6775         fails, let the calling function decide what to do in this case
6776
6777 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6778
6779         * lyxfunc.C: tidy up a little
6780
6781 2002-06-16    <alstrup@diku.dk>
6782
6783         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6784         Got rid of FORMS_H_LOCATION include. Now we are
6785         GUII.
6786
6787 2002-06-15  LyX Development team  <lyx@rilke>
6788
6789         * buffer.[Ch] (sgmlOpenTag):
6790         (sgmlCloseTag): Added support for avoiding pernicious mixed
6791         content. Return number of lines written.
6792
6793         (makeLinuxDocFile):
6794         (makeDocBookFile): Fixed calls to sgml*Tag.
6795         Simple white space clean.
6796
6797         (simpleDocBookOnePar): Simple white space clean.
6798
6799         * tabular.[Ch] (docBook): Renamed to docbook and got another
6800         argument to related with the pernicious mixed content.
6801
6802         (docbookRow): Fixed calls for docbook inset method.
6803
6804 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6805
6806         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6807         so it's X11 independent.
6808
6809         * kb*.[Ch]: ditto.
6810
6811         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6812
6813 2002-06-15  Lyx Development team  <lyx@electronia>
6814
6815         * intl.h: Renamed getTrans to getTransManager.
6816
6817 2002-06-14  Angus Leeming  <leeming@lyx.org>
6818
6819         * Makefile.am: nuke forgotten stl_string_fwd.h.
6820
6821 2002-06-12  Angus Leeming  <leeming@lyx.org>
6822
6823         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6824
6825 2002-06-13  Angus Leeming  <leeming@lyx.org>
6826
6827         * LaTeX.C:
6828         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6829
6830 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6831
6832         * kbmap.C (getiso): add support for cyrillic and greek
6833
6834 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6835
6836         * BufferView.h:
6837         * BufferView.C:
6838         * BufferView_pimpl.h:
6839         * BufferView_pimpl.C: move bogus scrolling logic
6840           to xforms
6841
6842 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6843
6844         * lyxfunc.C:
6845         * BufferView_pimpl.C: view->resize() change
6846
6847 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6848
6849         * BufferView_pimpl.C: topCursorVisible
6850           prototype change
6851
6852 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6853
6854         * Makefile.am:
6855         * lyx_gui.h:
6856         * lyx_gui.C: move to frontends/
6857
6858         * main.C:
6859         * lyx_main.h:
6860         * lyx_main.C: changes from above
6861
6862 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6863
6864         * intl.C:
6865         * intl.h:
6866         * kbmap.C:
6867         * kbsequence.C:
6868         * lyx_cb.C:
6869         * lyx_main.C: minor tidy
6870
6871 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6872
6873         * BufferView_pimpl.h:
6874         * BufferView_pimpl.C:
6875         * BufferView.h:
6876         * BufferView.C: make painter() const,
6877           remove dead code
6878
6879         * BufferView2.C: use screen() accessor
6880
6881         * lyx_main.h:
6882         * lyx_main.C: some minor cleanup
6883
6884 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6885
6886         * BufferView_pimpl.h:
6887         * BufferView_pimpl.C: remove enter/leaveView,
6888           use workHeight()
6889
6890 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6891
6892         * BufferView.h:
6893         * BufferView.C:
6894         * BufferView2.C:
6895         * BufferView_pimpl.h:
6896         * BufferView_pimpl.C: only construct screen once,
6897           rename
6898
6899         * lyxrc.C: remove pointless comment
6900
6901 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6902
6903         * BufferView.h:
6904         * BufferView.C: remove active() and belowMouse()
6905
6906         * BufferView_pimpl.h:
6907         * BufferView_pimpl.C: use workarea() not workarea_,
6908           and make it use a scoped_ptr instead
6909
6910 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6911
6912         * lyx_gui.C: add debug message on BadWindow
6913
6914 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6915
6916         * sp_spell.C: fdopen is not part of the C++ standard.
6917
6918         * paragraph.C (InsetIterator): use >= instead of ==
6919
6920 2002-06-07  Angus Leeming  <leeming@lyx.org>
6921
6922         Fixes needed to compile with Compaq cxx 6.5.
6923         * BufferView_pimpl.C:
6924         * DepTable.C:
6925         * buffer.C:
6926         * converter.C:
6927         * encoding.C:
6928         * lyx_gui.C:
6929         * lyx_main.C:
6930         * lyxtextclasslist.C:
6931         * minibuffer.C:
6932         * sp_spell.C:
6933         * tabular_funcs.C:
6934         * vc-backend.C:
6935         all c-library variables have been moved into namespace std. Wrap
6936         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6937
6938         * lyxlength.C:
6939         * tabular-old.C:
6940         * tabular.C:
6941         Add a using std::abs declaration.
6942
6943         * kbmap.h (modifier_pair):
6944         * paragraph.h (InsetTable, InsetList):
6945         * lyxfont.h (FontBits):
6946         type definition made public.
6947
6948         * bufferlist.C (emergencyWriteAll): the compiler complains that
6949         there is more than one possible lyx::class_fun template to choose from.
6950         I re-named the void specialisation as lyx::void_class_fun.
6951
6952         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6953
6954         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6955         the compiler is is unable to find tostr in write_attribute.
6956
6957 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6958
6959         * buffer.C (sgmlError): hide #warning
6960
6961 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6962
6963         * xtl/*: get rid of xtl, which is not in use anyway
6964
6965         * LyXAction.C (init):
6966         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6967         were unimplemented xtl experimentation
6968
6969 2002-06-04  André Pönitz <poenitz@gmx.net>
6970
6971         * lyxfunc.C: disable array operation on simple formulae
6972
6973 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6974
6975         * converter.C: constify a bit
6976
6977 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6978
6979         * lyx_gui.C: check xforms version correctly
6980
6981 2002-04-30  Herbert Voss  <voss@lyx.org>
6982
6983         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6984         "keep" option
6985
6986 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6987
6988         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6989           attempt to register it with a VCS)
6990
6991 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6992
6993         * lyx_main.C (init): honor variables LYX_DIR_13x and
6994         LYX_USERDIR_13x
6995
6996 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6997
6998         * buffer.h:
6999         * buffer.C:
7000         * lyx_main.C: fix a crash on bad command line,
7001           and give a useful exit status on error
7002
7003         * lyxfunc.C (doImport): allow -i lyx to work
7004
7005 2002-03-30  André Pönitz <poenitz@gmx.net>
7006
7007         * lyxfunc.C: mathed font changes
7008
7009 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7010
7011         * LaTeX.C:
7012         * importer.h:
7013         * importer.C:
7014         * lyx_sty.h:
7015         * lyx_sty.C:
7016         * lyxlex.C:
7017         * lyxrow.h:
7018         * lyxtext.h:
7019         * paragraph.h:
7020         * paragraph.C:
7021         * texrow.h:
7022         * texrow.C:
7023         * text.C:
7024         * trans_mgr.h: srcdocs, and some minor cleanups
7025
7026 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7027
7028         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7029         call getFont all the time)
7030
7031 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7032
7033         * switch from SigC signals to boost::signals
7034
7035 2002-05-29  André Pönitz <poenitz@gmx.net>
7036
7037         * paragraph_pimpl.C (getChar): don't call size() too often...
7038
7039 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7040
7041         * paragraph_pimpl.C (insertChar): do not try to update tables when
7042         appending (pos == size())
7043
7044         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7045         in order to reduce drastically the number of comparisons needed to
7046         parse a large document
7047
7048 2002-05-29  André Pönitz <poenitz@gmx.net>
7049
7050         * text.C:
7051         * text2.C:
7052         * lyxtextclass.C:
7053         * sp_pspell.h:
7054         * textclasslist.[Ch]:
7055         * sp_ispell.h: whitespace change
7056
7057 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7058
7059         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7060         lyxaction directly now.
7061
7062 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7063
7064         * trans.C:
7065         * lyxfont.C:
7066         * lyxvc.C: remove unused headers
7067
7068 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7069
7070         * Makefile.am:
7071         * buffer.h:
7072         * undostack.h:
7073         * undostack.C:
7074         * undo_funcs.h:
7075         * undo_funcs.C: some cleanups. Use shared_ptr
7076           and a template for the undo stacks.
7077
7078 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7079
7080         * BufferView_pimpl.h:
7081         * BufferView_pimpl.C:
7082         * kbmap.h:
7083         * kbmap.C:
7084         * kbsequence.h:
7085         * kbsequence.C:
7086         * lyxfunc.h:
7087         * lyxfunc.C:
7088         * text2.C: use key_state/mouse_state
7089
7090 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7091
7092         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7093         and LSubstring
7094
7095         * chset.C: change include order
7096         (loadFile): use boost regex and get rid of LRegex and LSubstring
7097
7098         * Makefile.am (BOOST_LIBS): new variable
7099         (lyx_LDADD): use it
7100
7101         * LaTeX.C: change include order.
7102         (scanAuxFile): use boost regex and get rid of LRegex and
7103         LSubstring
7104         (deplog): ditto
7105
7106 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7107
7108         * ColorHandler.h:
7109         * ColorHandler.C:
7110         * FontInfo.h:
7111         * FontInfo.C: moved to frontends/xforms/
7112
7113         * FontLoader.h:
7114         * FontLoader.C: moved into frontends for GUIIzation
7115
7116         * Makefile.am:
7117         * lyx_gui.C:
7118         * lyxfont.C:
7119         * lyxfunc.C: changes from above
7120
7121 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7122
7123         * LColor.C: remove spurious X include
7124
7125         * BufferView_pimpl.C:
7126         * Makefile.am:
7127         * font.h:
7128         * font.C:
7129         * text.C:
7130         * text2.C: move font metrics to frontends/
7131
7132 2002-05-24  Juergen Vigna  <jug@sad.it>
7133
7134         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7135         setting the undo_cursor.
7136
7137         * ParagraphParameters.h: include local includes first.
7138
7139 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7140
7141         * BufferView_pimpl.C:
7142         * BufferView_pimpl.h:
7143         * Makefile.am:
7144         * WorkArea.h:
7145         * WorkArea.C:
7146         * screen.C: move WorkArea into frontends/
7147
7148         * lyxscreen.h:
7149         * screen.C:
7150         * text.C:
7151         * BufferView.C:
7152         * BufferView2.C: move LyXScreen into frontends/
7153
7154         * lyxlookup.h:
7155         * lyxlookup.C:
7156         * lyx_gui.C: move lyxlookup into frontends/xforms/
7157
7158 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7159
7160         * BufferView2.C:
7161         * BufferView_pimpl.C:
7162         * FontLoader.C:
7163         * LyXView.h:
7164         * LyXView.C:
7165         * Makefile.am:
7166         * WorkArea.C:
7167         * XFormsView.h:
7168         * XFormsView.C:
7169         * buffer.C:
7170         * bufferlist.C:
7171         * bufferview_funcs.C:
7172         * converter.C:
7173         * importer.C:
7174         * lyx_cb.C:
7175         * lyx_gui.C:
7176         * lyx_main.C:
7177         * lyx_find.C:
7178         * lyxfunc.C:
7179         * lyxvc.C:
7180         * minibuffer.C:
7181         * text.C:
7182         * text2.C:
7183         * trans.C:
7184         * vc-backend.C: move LyX/XFormsView into frontends/
7185
7186 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7187
7188         * Makefile.am:
7189         * PainterBase.C:
7190         * PainterBase.h:
7191         * Painter.C:
7192         * Painter.h:
7193         * WorkArea.C:
7194         * WorkArea.h:
7195         * screen.C:
7196         * tabular.C:
7197         * text.C:
7198         * text2.C: move Painter to frontends/
7199
7200 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7201
7202         * buffer.C: comment out some some code that depend upon lyx_format
7203         < 220
7204
7205         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7206         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7207
7208         * buffer.h (NO_COMPABILITY): turn off compability
7209
7210         * ColorHandler.C: include scoped_array.hpp
7211
7212         * font.C: Use more specific smart_ptr header.
7213         * Painter.C: ditto
7214         * gettext.C: ditto
7215         * ShareContainer.h: ditto
7216         * lyx_main.h: ditto
7217         * kbmap.h: ditto
7218         * FontInfo.h: ditto
7219         * BufferView_pimpl.h: ditto
7220         * ColorHandler.h: ditto
7221
7222         * kbmap.C (defkey): change call to shared_ptr::reset
7223
7224 2002-05-21  Juergen Vigna  <jug@sad.it>
7225
7226         * buffer.C (insertErtContents): fix to insert ert asis if it is
7227         non empty. Skip it completely if it contains only whitespaces.
7228
7229 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7230
7231         * BufferView_pimpl.C:
7232         * BufferView2.C: clear selection on paste (bug 393)
7233
7234 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7235
7236         * DepTable.C: include ctime
7237
7238 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7239
7240         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7241
7242 2002-05-14  Juergen Vigna  <jug@sad.it>
7243
7244         * text.C (breakParagraph): fixed function to honor the keepempty
7245         layout in the right maner and also to permit the right breaking
7246         algorithm on empty or non empyt keepempty paragraphs.
7247
7248         * paragraph.C (breakParagraph): we have to check also if the par
7249         is really empty (!size()) for isempty otherwise we do the wrong
7250         paragraph break.
7251
7252 2002-05-10  Juergen Vigna  <jug@sad.it>
7253
7254         * buffer.[Ch] : The following are only changes to the ert
7255         compatibility read reading old LaTeX layout and font stuff and
7256         convert it to ERTInsets.
7257
7258         * buffer.h: added isErtInset().
7259
7260         * buffer.C (struct ErtComp): add a fromlayout bool to check
7261         if we're inside a LaTeX layout.
7262         (isErtInset): new helper function.
7263         (insertErtContents): look for other ert insets before this one
7264         and insert the contents there, so that we don't have subsequent
7265         ERT insets with nothing between them. This way we create only one
7266         inset with multiple paragraphs. Also check if we don't insert only
7267         spaces ' ' as they are ignored anyway afterwards in the .tex file
7268         so if we have only spaces we will ignore this latex part in the
7269         new file.
7270         (parseSingleLyXformat2Token \\layout): better compatibility when
7271         reading layout-latex stuff.
7272         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7273         language tag.
7274         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7275         stuff after reading the inset only get the information back from
7276         the stack.
7277
7278 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7279
7280         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7281
7282         * LaTeXFeatures.C (getBabelOptions): New method.
7283
7284 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7285
7286         * BufferView_pimpl.C (Dispatch): work around missing argument for
7287         'layout'
7288
7289 2002-05-08  Juergen Vigna  <jug@sad.it>
7290
7291         * text.C (leftMargin): handle paragraph leftindent.
7292
7293         * paragraph.C (writeFile): write the new \\leftindent tag.
7294         (validate): handle leftindent code.
7295         (TeXEnvironment): handle paragraphleftindent code again.
7296
7297         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7298
7299         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7300         for paragrap_extra indent code and new token \\leftindent.
7301         (latexParagraphs): handle the leftindent as environment.
7302
7303         * ParameterStruct.h: added leftindent support.
7304
7305         * ParagraphParameters.C (leftIndent): added support functions for
7306         the paragraph left indent.
7307
7308         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7309         more appropriate.
7310
7311 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7312
7313         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7314         inside insetERT.
7315
7316         * text.C (computeBidiTables): No bidi in insetERT.
7317
7318         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7319         in RTL documents.
7320
7321 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7322
7323         * version.C.in: pre 5
7324
7325 2002-05-02  José Matos  <jamatos@fep.up.pt>
7326         * buffer.C (makeDocBookFile): white space changes, add newline to
7327         command styles.
7328         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7329
7330         * tabular.C (docBook): fix typo.
7331
7332 2002-05-03  Juergen Vigna  <jug@sad.it>
7333
7334         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7335         change in LyXText as we can not be sure it was not freed.
7336         (drawOneRow): remove unused code.
7337
7338         * text.C (drawInset): redo the calculation of the need_break_row as
7339         it could have a row which was already freed.
7340         (draw): look at the return value of drawInset and return false if
7341         it also returned false.
7342         (paintRowText): look at the return value of draw and return false if
7343         it also returned false.
7344
7345         * lyxtext.h: added bool return type to drawInset() and draw() so that
7346         if we have a change in the row so that the rowbreak has to be redone
7347         we abort drawing as it will be called again.
7348
7349 2002-05-02  Juergen Vigna  <jug@sad.it>
7350
7351         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7352         a change in the maintext also if we're inside an inset.
7353         (Dispatch): set the cursor again after a break line and after the
7354         screen has been updated as it could be we're in a different row.
7355
7356         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7357         to set the cursor behind the pargraph with > size().
7358         (setCursor): check also for the same paragraph when checking where
7359         to put the cursor if we have a NFR inset.
7360
7361         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7362         parts of layout read further up as it still was in the wrong
7363         position.
7364
7365 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7366
7367         * screen.C (drawFromTo): change sine fullRebreak always return
7368         true.
7369
7370         * buffer.C (parseSingleLyXformat2Token): reindent some
7371
7372         * BufferView_pimpl.C (update): change since fullRebreak always
7373         return true.
7374         (Dispatch): git rid of the last hardcoded "Standard"s.
7375
7376 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7377
7378         * text2.[Ch] (fullRebreak): make it return void now that we always
7379         returned true.
7380
7381 2002-04-30  Juergen Vigna  <jug@sad.it>
7382
7383         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7384         ert compatibility check for "latex" layout.
7385
7386 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7387
7388         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7389         minipages: use col% instead of p%, and also use the current font.
7390         (makeLaTeXFile): Fix use babel condition.
7391         (parseSingleLyXformat2Token): Correct font when reading old floats.
7392
7393 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7394
7395         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7396         inserting list of floats.
7397
7398 2002-04-25  Herbert Voss  <voss@lyx.org>
7399
7400         * MenuBackend.C (expand): don't add the graphics extensions to the
7401         export menu
7402
7403 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7404
7405         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7406         non-existing layout, do not complain if it was the default layout
7407         of the original class (bug #342)
7408
7409 2002-04-24  Juergen Vigna  <jug@sad.it>
7410
7411         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7412         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7413
7414 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7415
7416         * buffer.C (getBibkeyList): If using \bibliography, return the
7417         option field with the reference itself. Enables us to provide natbib
7418         support when using \bibliography.
7419
7420 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7421
7422         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7423
7424         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7425         natbib is provided by the LaTeX class.
7426
7427 2002-04-23  Juergen Vigna  <jug@sad.it>
7428
7429         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7430         Wakeup functions.
7431
7432         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7433
7434 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7435
7436         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7437
7438         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7439         ensuremath around textordmasculine, textordfeminine and
7440         textdegree.
7441
7442 2002-04-19  Juergen Vigna  <jug@sad.it>
7443
7444         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7445         reinitializing the buffer otherwise row-dimensions may be wrong.
7446         (update): reset also the selection cursors if they do exits otherwise
7447         their x/y positions may be wrong.
7448
7449         * text2.C (cursorDown): don't enter the inset if we came from a row
7450         above and are one row over the inset.
7451
7452         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7453         really leaving an inset.
7454
7455 2002-04-18  Juergen Vigna  <jug@sad.it>
7456
7457         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7458         of the selected paragraph does not have the selected layout also if
7459         the last one had!
7460
7461         * text2.C (setLayout): fixed bug which did not change last selected
7462         paragraph.
7463
7464         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7465         changed the read and substituted \\end_float with \\end_inset!
7466
7467         * BufferView_pimpl.C (cursorPrevious):
7468         (cursorNext): fixed to make it work with rows heigher than the work
7469         area without moving the cursor only the draw of the row.
7470         (workAreaMotionNotify): fix jumping over high rows.
7471
7472 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7473
7474         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7475         Ressler.
7476
7477 2002-04-16  Juergen Vigna  <jug@sad.it>
7478
7479         * text2.C (setCursor): set also the irow().
7480         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7481         (cursorUp):
7482         (cursorDown): support for locking an inset if the x_fix value goes
7483         inside it. That way I can transverse insets too with cursor up/down.
7484
7485         * lyxrow.h: added irow helper function same as other (i) functions.
7486
7487         * BufferView_pimpl.C (cursorPrevious):
7488         (cursorNext): fixed for insets!
7489
7490 2002-04-15  Juergen Vigna  <jug@sad.it>
7491
7492         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7493         position otherwise it is wrong in some cases.
7494
7495         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7496         inside the inset before the call.
7497
7498 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7499
7500         * buffer.[Ch] (getBibkeyList): make it const.
7501
7502 2002-04-12  Juergen Vigna  <jug@sad.it>
7503
7504         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7505
7506         * text2.C (getCursorX): new helper function
7507         (setCursor): compute also ix_
7508         (setCursorFromCoordinates): set also ix.
7509
7510         * lyxcursor.h: added ix_ and helper functions.
7511
7512         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7513
7514         * buffer.C (insertStringAsLines): dont break paragraph if the this
7515         paragraph is inside an inset which does not permit it!
7516
7517         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7518         also with no chars on this paragraph.
7519         (paintRowText): only paint stuff if it's inside the workarea!
7520
7521         * paragraph.C (breakParagraph): honor keepempty flag and break the
7522         paragraph always below not above.
7523
7524         * BufferView2.C (unlockInset): update the paragraph layout on inset
7525         unlock as we changed paragraph in such a case.
7526
7527         * lyxfind.C (LyXFind): clear the former selection if not found!
7528
7529         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7530         again called in insertChar().
7531
7532         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7533         an inset which uses the whole row!
7534         (rightMargin): ditto.
7535         (insertChar): force a rebreak if we inserted an inset!
7536
7537 2002-03-28  Herbert Voss  <voss@lyx.org>
7538
7539         * lyxlength.[Ch]: add inBP() to get the right PS-point
7540         units (BigPoint). With inPixels we have rounding errors
7541
7542 2002-04-11  Juergen Vigna  <jug@sad.it>
7543
7544         * text2.C (setCursorFromCoordinates): set iy to the right value.
7545         (setCursor): add check if row->previous exists!
7546
7547         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7548         an old float_type as this was the case in the old code!
7549
7550         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7551
7552         * BufferView2.C (showLockedInsetCursor): use iy
7553         (fitLockedInsetCursor): ditto
7554
7555         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7556         locked insets as there we have the right value now.
7557
7558         * lyxcursor.C: added iy_ variable and iy functions to set to the
7559         baseline of cursor-y of the locked inset.
7560
7561         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7562         (setCursor): fixed for insets which need a full row.
7563
7564         * text.C (rowLastPrintable): don't ignore the last space when before
7565         an inset which needs a full row.
7566         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7567         as last character of a row when before a inset which needs a full row.
7568
7569 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7570
7571         * version.C.in: update date
7572
7573         * text2.C (fullRebreak): try to always return true and see what
7574         happens...
7575
7576 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7577
7578         * MenuBackend.C (expand): use Floating::listName
7579
7580         * FloatList.C (FloatList): add listName argument to the built-in
7581         floats
7582
7583         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7584         text associated with the float.
7585
7586 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7587
7588         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7589
7590 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7591
7592         * ShareContainer.h: add a couple of missing typenames.
7593
7594 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7595
7596         * lyxrc.C (getDescription): use _() correctly rather than N_().
7597
7598 2002-03-28  Herbert Voss  <voss@lyx.org>
7599
7600         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7601         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7602
7603 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7604
7605         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7606         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7607
7608 2002-03-29  Juergen Vigna  <jug@sad.it>
7609
7610         * lyxfunc.C (dispatch): add a missing fitCursor call.
7611
7612         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7613         it was scrolled by a cursor move, so return the bool status.
7614
7615         * BufferView.C (fitCursor): return the bool flag also to the outside
7616         world as this is needed.
7617
7618         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7619
7620         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7621         call the edit() as it is not needed (and wrong) IMO.
7622         (workAreaButtonPress): set the screen_first variable before evt.
7623         unlock the inset as this may change screen_first and then we have
7624         a wrong y position for the click!
7625
7626 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7627
7628         * MenuBackend.C (expand): another translation that I missed
7629
7630 2002-03-28  Juergen Vigna  <jug@sad.it>
7631
7632         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7633
7634         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7635
7636 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7637
7638         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7639
7640         * MenuBackend.C (expand): fix export/view/update when there is no
7641         document open.
7642
7643 2002-03-27  Herbert Voss  <voss@lyx.org>
7644
7645         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7646         and text%
7647
7648 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7649
7650         * bufferview_funcs.C (currentState): only show paragraph number
7651         for is DEVEL_VERSION is set.
7652
7653         * lyxfunc.C (dispatch): put warning in INFO channel
7654
7655         * MenuBackend.C (expand): translate the name of floats
7656
7657         * FloatList.C (FloatList): mark the float names for translation
7658
7659         * converter.C (convert): use LibScriptSearch
7660
7661 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7662
7663         * MenuBackend.C (defaults): fix default menu (we might as well get
7664         rid of it...)
7665
7666 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7667
7668         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7669         directory.
7670
7671 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7672
7673         * lyxvc.C: reorder includes.
7674
7675 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7676
7677         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7678           properly
7679
7680 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7681
7682         * CutAndPaste.C: change layouts earlier on paste
7683           to avoid crashing when calling getFont()
7684
7685 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7686
7687         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7688         irritating #error.
7689
7690 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7691
7692         * WorkArea.C: remove 'Pending' debug message.
7693
7694         * most files: ws cleanup
7695
7696         * buffer.[Ch]: ws changes
7697
7698         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7699
7700 2002-03-21  Juergen Vigna  <jug@sad.it>
7701
7702         * tabular.C (SetMultiColumn): collapse also the contents of the
7703         cells and set the last border right. Added a Buffer const * param.
7704
7705 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7706
7707         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7708         linking or not.
7709
7710 2002-03-19  Juergen Vigna  <jug@sad.it>
7711
7712         * text2.C (clearSelection): reset also xsel_cache.
7713
7714         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7715         where it needs to be called (John tells us to do so too :)
7716         (selectionLost): reset sel_cache.
7717
7718         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7719
7720 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7721
7722         * text2.C (setCursorIntern): put debuging code in INSETS channel
7723
7724 2002-03-19  André Pönitz <poenitz@gmx.net>
7725
7726         * lyxfunc.C: tiny whitespace change
7727
7728 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7729
7730         * ToolbarDefaults.C (init):
7731         * LyXAction.C (init):
7732         * commandtags.h:
7733         * BufferView_pimpl.C (Dispatch):
7734         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7735
7736 2002-03-19  Allan Rae  <rae@lyx.org>
7737
7738         * exporter.C (Export): removeAutoInsets before doing anything else.
7739         While I've just introduced a dependency on BufferView this really is
7740         the best place to clean the buffer otherwise you need to cleanup in
7741         a dozen places before calling export or cleanup in a dozen functions
7742         that export calls.
7743
7744         * converter.C (runLaTeX):
7745         (scanLog): Better handling of removeAutoInsets and screen updates.
7746
7747         * lyxfunc.C (dispatch): small whitespace changes
7748
7749 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7750
7751         * WorkArea.C (C_WorkAreaEvent): return a value.
7752         (event_cb): return 1 if we handled the event, 0 otherwise.
7753
7754         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7755
7756 2002-03-18  Juergen Vigna  <jug@sad.it>
7757
7758         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7759         (GetAdditionalWidth): ditto.
7760         (RightLine): ditto.
7761         (LeftLine): ditto.
7762
7763         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7764         inset if we're there actually (probably not used right now but this
7765         is the direction to go for unifying code).
7766         (paste): disable code to clear the selection.
7767
7768         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7769         inside an InsetText and move the check further up as it is in the
7770         wrong place.
7771
7772         * text2.C (pasteSelection): set a selection over the pasted text.
7773
7774 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7775
7776         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7777         and libgraphics to build on Cygwin.
7778
7779 2002-03-15  Juergen Vigna  <jug@sad.it>
7780
7781         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7782         inserting an Inset into the paragraph. I know this is not the best
7783         fix but we already use current_view in CutAndPaste so we will remove
7784         all of it's using at the same time.
7785
7786         * buffer.C (sgmlError): deactivated function till it is rewritten in
7787         the right mode, now it can create problems.
7788
7789         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7790         before accessing it.
7791
7792 2002-03-14  Juergen Vigna  <jug@sad.it>
7793
7794         * undo_funcs.C (textHandleUndo): do the right thing when updating
7795         the inset after the undo/redo.
7796
7797         * text2.C (setCursor): just some testcode for #44 not ready yet.
7798
7799         * undo_funcs.C (textHandleUndo): set the next() and previous()
7800         pointers of the paragraph to 0 before deleting otherwise we have
7801         problems with the Paragraph::[destructor].
7802
7803         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7804         on a paragraph insertion.
7805
7806 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7807
7808         * buffer.C (asciiParagraph): use += operator for char append to
7809         string.
7810
7811         * paragraph.C (getFontSettings): compare >= not just >
7812         (highestFontInRange): ditto
7813         (setFont): ditto
7814
7815 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7816
7817         * paragraph.C: change several algorithm to be more appripriate for
7818         the problem domain. This is lookip in FontList and in the InsetList.
7819
7820 2002-03-13  André Pönitz <poenitz@gmx.net>
7821
7822         * commandtags.h:
7823         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7824
7825 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7826
7827         * commandtags.h:
7828         * LyXAction.C:
7829         * lyxfunc.C:
7830         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7831
7832 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7833
7834         * Painter.C (display): anon helper function, adjust code for this
7835         change.
7836         (pixmap): remove function.
7837
7838         * Painter.h: remove private display variable.
7839
7840         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7841
7842 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7843
7844         * WorkArea.[Ch]: remove figinset_canvas cruft.
7845
7846 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7847
7848         * lyxtextclass.C (operator): add one item cache optimization.
7849
7850         * bufferlist.h: doxy changes
7851
7852         * bufferlist.C: ws changes
7853
7854         * DepTable.[Ch] (ext_exist): place const in the right spot.
7855
7856         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7857         call resizeInsets.
7858         (workAreaExpose): call resizeInsets when the with BufferView changes.
7859         (Dispatch): adjust for protectedBlank removal
7860         (specialChar): call updateInset if the insert went ok.
7861
7862         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7863         specialChar instead.
7864
7865         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7866
7867         * BufferView.h: doxy change
7868
7869         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7870
7871         * lyxtextclass.C (operator[]): remove non-const version
7872         (defaultLayout): remove non-const version
7873
7874 2002-03-12  Juergen Vigna  <jug@sad.it>
7875
7876         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7877         did resize the LyXText too.
7878
7879         * buffer.C (readLyXformat2): set layout information on newly allocated
7880         paragraphs.
7881
7882         * tabular.C (OldFormatRead): set layout information on the paragraph.
7883
7884 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7885
7886         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7887
7888 2002-03-11  Juergen Vigna  <jug@sad.it>
7889
7890         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7891         plainly wrong.
7892         (resizeCurrentBuffer): force also the insets to resize themselfes.
7893         (moveCursorUpdate): fixed up for InsetText.
7894
7895 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7896
7897         * commandtags.h:
7898         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7899         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7900         value of Dialogs::tooltipsEnabled().
7901         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7902
7903 2002-03-08  Juergen Vigna  <jug@sad.it>
7904
7905         * BufferView_pimpl.C (updateInset): update inset inside inset also
7906         if it isn't inside theLockingInset().
7907
7908 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7909
7910         * buffer.C (asciiParagraph): redo some of the word and line length
7911         handling.
7912         (getLists): look for Caption instead of caption.
7913
7914 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7915
7916         * buffer.C (Buffer): initialize niceFile to true
7917         (makeLaTeXFile):
7918         (makeLinuxDocFile):
7919         (makeDocBookFile): make sure niceFile is true on exit
7920
7921 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7922
7923         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7924
7925 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7926
7927         * LyXSendto.C: remove.
7928         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7929         * lyx_gui.C: remove now-redundant comment.
7930         * ColorHandler.h: remove forward declaration of class WorkArea.
7931         * lyxfunc.C: remove #include "WorkArea.h".
7932
7933 2002-03-07  Juergen Vigna  <jug@sad.it>
7934
7935         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7936         got moved away with the DEPM and also set the inset_owner always
7937         right which before could have been omitted.
7938
7939 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7940
7941         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7942         wanted layout is not found.
7943
7944 2002-03-07  Juergen Vigna  <jug@sad.it>
7945
7946         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7947
7948 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7949
7950         * paragraph.C (breakParagraph): use default layout not layout of
7951         prev paragraph.
7952         (Paragraph): clear ParagraphParameters.
7953
7954 2002-03-06  Juergen Vigna  <jug@sad.it>
7955
7956         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7957         otherwise it would not be a valid lenght. Fixed a special case in
7958         the minipage compatibility read where we end the document with a
7959         minipage.
7960
7961         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7962         was set as it could be 0 for InsetTexts first entry.
7963
7964 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7965
7966         * paragraph.C (writeFile): if layout is empty write out
7967         defaultLayoutName().
7968
7969         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7970         file without named layout we set layout to defaultLayoutName().
7971
7972 2002-03-06  Juergen Vigna  <jug@sad.it>
7973
7974         * CutAndPaste.C (copySelection): set layout for new paragraph.
7975
7976         * text.C (prepareToPrint): leave ERT inset left aligned
7977         (leftMargin): don't indent paragraphs inside ERT insets
7978
7979 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7980
7981         * paragraph.C (breakParagraph): dont call clear do the work manually
7982
7983         * paragraph.[Ch] (clear): remove function
7984
7985 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7986
7987         * paragraph.C (Paragraph): dont call clear, the work has already
7988         been done.
7989
7990         * lyxtextclass.C (operator): assert if n is empty
7991
7992         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7993         work manually instead.
7994
7995 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7996
7997         * BufferView_pimpl.C: protect selectionLost against text == 0
7998
7999 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8000
8001         * text.C (breakParagraph): fix a setting layout to '0' problem.
8002
8003 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8004
8005         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8006         final location of file, for the included files, and graphics.
8007
8008 2002-03-05  Juergen Vigna  <jug@sad.it>
8009
8010         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8011
8012 2002-03-04  Juergen Vigna  <jug@sad.it>
8013
8014         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8015
8016         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8017         last column of multicolumn cells.
8018         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8019
8020 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8021
8022         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8023         file if it doesn't go to a temporary file.
8024
8025         * buffer.C (sgmlOpenTag):
8026         (sgmlCloseTag):  remove extra newline insertion.
8027
8028 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8029
8030         * text.C (getRowNearY): comment out debug msg
8031
8032 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8033
8034         * text2.C: first -> first_y
8035
8036         * text.C (getRowNearY): add some attemts at a possible
8037         optimization, not working.
8038
8039         * tabular.[Ch]: add BufferParams to several function so that newly
8040         created paragraph can be initialized to he default layotu for the
8041         buffers textclass.
8042
8043         * tabular-old.C (ReadOld): add buf->params to call of Init
8044
8045         * screen.C: rename text->first to text->first_y
8046
8047         * paragraph.C (breakParagraph): always set layout in the broken
8048         paragraph
8049
8050         * lyxtextclass.C (Read): remove lowercase
8051         (hasLayout): ditto
8052         (operator): ditto
8053         (delete_layout): ditto
8054
8055         * lyxtext.h: rename first -> first_y
8056
8057         * lyxlayout.C (Read): remove lowercase
8058         (name): ditto
8059         (setName): ditto
8060         (obsoleted_by): ditto
8061
8062         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8063
8064         * buffer.C (insertErtContents): add params are to InsetERT
8065         (parseSingleLyXformat2Token): add code to check if a paragraphs
8066         layout really exist.
8067         (parseSingleLyXformat2Token): add params to several inset
8068         constructors
8069         (asciiParagraph): remove lowercase, do the layout comparisons with
8070         no_case
8071
8072         * BufferView_pimpl.C (cursorNext): first -> first_y
8073         (resizeCurrentBuffer): first -> first_y
8074         (updateScrollbar): first -> first_y
8075         (scrollCB): first -> first_y
8076         (workAreaMotionNotify): first -> first_y
8077         (workAreaButtonPress): first -> first_y
8078         (checkInsetHit): first -> first_y
8079         (cursorPrevious): first -> first_y
8080         (cursorNext): first -> first_y
8081         (Dispatch): add buffer_->params to severl inset contructors
8082
8083 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8084
8085         * lyxlayout.C (Read): remove some debug info that I forgot.
8086
8087         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8088         clean up the code slightly.
8089         (makeLinuxDocFile): ditto
8090         (makeDocBookFile): ditto
8091
8092         * text2.C: layout as string
8093
8094         * text.C: layout as string
8095
8096         * paragraph_pimpl.C: layout as string
8097
8098         * paragraph.[Ch]: layout as string
8099
8100         * lyxtextclasslist.[Ch]: layout as string
8101
8102         * lyxtextclass.[Ch]: layout as string
8103
8104         * lyxtext.h: layout as string
8105
8106         * lyxlayout.[Ch]: layout as string
8107
8108         * lyx_cb.C: layout as string
8109
8110         * bufferview_funcs.C: layout as string
8111
8112         * bufferparams.C: layout as string
8113
8114         * buffer.C: layout as string
8115
8116         * LyXView.[Ch]: layout as string
8117
8118         * LaTeXFeatures.[Ch]: layout as string
8119
8120         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8121
8122         * BufferView_pimpl.C: change current_layout to string, remove
8123         lyx::layout_type.
8124         (Dispatch):
8125         (smartQuote):
8126         (insertInset):
8127         (workAreaButtonRelease): layout as string
8128
8129         * BufferView2.C (unlockInset): adjust
8130
8131         * vspace.C (asLatexCommand): use an explict temp variable.
8132
8133 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8134
8135         * Makefile.am: use FRONTEND_*
8136
8137 2002-03-01  Juergen Vigna  <jug@sad.it>
8138
8139         * tabular.C (SetWidthOfMulticolCell): changed to something better
8140         I hope but still work in progress.
8141         (recalculateMulticolumnsOfColumn): renamed function from
8142         recalculateMulticolCells as it is more appropriate now.
8143         (SetWidthOfCell): calculate multicols better.
8144
8145 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8146
8147         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8148
8149         * lyxfunc.C (processKeySym): print sequence also if it is
8150         `deleted' (complete)
8151
8152         * kbsequence.C (print): print sequence even if it is deleted
8153         (complete would be a better word, actually).
8154
8155         * lyxfunc.C (dispatch): print complete options after a prefix key
8156
8157         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8158
8159 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8160
8161         * text2.C (setCharFont): eliminate setCharFont code duplication.
8162
8163 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8164
8165         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8166         LFUN_TABULAR_FEATURE (bug #177)
8167
8168 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8169
8170         * Makefile.am: remove figure.h
8171
8172 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8173
8174         * Bufferview_pimpl.C:
8175         * CutAndPasteC:
8176         * LaTeX.C:
8177         * LyXSendto.C:
8178         * buffer.C:
8179         * bufferlist.C:
8180         * converter.C:
8181         * language.C:
8182         * lyxfunc.C:
8183         * lyxvc.C:
8184         * paragraph.C:
8185         * text.C:
8186         * text2.C: remove #include "lyx_gui_misc.h".
8187
8188         * LaTeX.C: added #include <cstdio>
8189
8190 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8191
8192         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8193         that the paragraph following this one can have.
8194
8195         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8196
8197         * vspace.C (asLatexCommand): fix bogus gcc warning
8198
8199         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8200
8201 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8202
8203         * text2.C (setLayout): get rid of redundant code
8204
8205 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8206
8207         * text2.C (incDepth): make sure depth cannot be increased beyond
8208         reasonable values.
8209
8210 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8211
8212         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8213         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8214
8215         * PainterBase.h (image):
8216         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8217         a LyXImage const *.
8218
8219 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8220
8221         * BufferView.C:
8222         * BufferView.h:
8223         * BufferView_pimpl.C:
8224         * BufferView_pimpl.h:
8225         * LaTeXFeatures.C:
8226         * LyXAction.C:
8227         * LyXView.C:
8228         * Makefile.am:
8229         * UpdateList.h:
8230         * UpdateList.C:
8231         * buffer.C:
8232         * figure.h:
8233         * figureForm.C:
8234         * figureForm.h:
8235         * figure_form.C:
8236         * figure_form.h:
8237         * lyx_cb.C:
8238         * lyx_gui.C:
8239         * lyx_gui_misc.C:
8240         * lyxfunc.C:
8241         * sp_base.h:
8242         * sp_ispell.h:
8243         * sp_pspell.h:
8244         * sp_spell.C: remove fig inset, and the crap house of
8245           cards that follows it
8246
8247 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8248
8249         * Makefile.am:
8250         * lyxserver.C:
8251         * os2_defines.h:
8252         * os2_errortable.h:
8253         * nt_defines.h: move .h into support/
8254
8255         * vms_defines.h: remove
8256
8257         * WorkArea.C: add space in debug output
8258
8259         * text2.C:
8260         * paragraph.C:
8261         * buffer.C: add WITH_WARNINGS
8262
8263         * vc-backend.h:
8264         * vc-backend.C:
8265         * bufferlist.C: s/retrive/retrieve/, add docs
8266
8267         * vspace.h:
8268         * vspace.C:
8269         * kbmap.h:
8270         * lyxlength.h:
8271         * lyxgluelength.h:
8272         * length_common.h:
8273         * chset.h:
8274         * chset.C: add docs
8275
8276         * lyxgui.C: add ID to X error handler
8277
8278         * lyxtestclass.c: fix typo
8279
8280 2002-02-26  Juergen Vigna  <jug@sad.it>
8281
8282         * tabular_funcs.C (write_attribute): changed so that some default
8283         attributes are not written at all.
8284         (getTokenValue): set default values before trying to read the
8285         value so we have the return value always set as default if we don't
8286         find the token we search for.
8287
8288         * tabular.C (Write): write bools as bools not as strings!
8289
8290 2002-02-22  Juergen Vigna  <jug@sad.it>
8291
8292         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8293         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8294
8295         * text.C (leftMargin): don't add an indent for paragraphs inside
8296         tabular cells (fix #208).
8297
8298 2002-02-21  José Matos  <jamatos@fep.up.pt>
8299
8300         * tabular.C (docBook): fixed support for long tables.
8301
8302 2002-02-20  Juergen Vigna  <jug@sad.it>
8303
8304         * text2.C (getFont): get the drawing font of the Inset if this
8305         paragraph is inside an inset (only important for InsetERT for now).
8306
8307         * buffer.C (insertErtContents): use new lanugage params in ERT
8308         constructor.
8309
8310         * CutAndPaste.C: commenting out seemingly uneeded code.
8311
8312 2002-02-19  Allan Rae  <rae@lyx.org>
8313
8314         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8315         Iterators might be simple to use but they also get invalidated.
8316         (removeAutoInsets): renamed saved cursor tracking variables and added
8317         some comments to clarify what everything does.
8318
8319 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8320
8321         * Chktex.C:
8322         * LaTeX.C:
8323         * LyXSendto.C:
8324         * converter.C:
8325         * lyx_cb.C:
8326         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8327         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8328
8329         * lyxfunc.C:
8330         * vc-backend.h: remove #include "support/syscall.h"
8331
8332         * LaTeX.C:
8333         * LyXSendto.C:
8334         * converter.C: rearrange #includes in Lars' approved fashion.
8335
8336         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8337         forward declare class Timeout in the header file.
8338
8339         * XFormsView.C: changes due to the above.
8340
8341         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8342         similar to LyXView.
8343
8344         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8345         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8346
8347 2002-02-18  José Matos  <jamatos@fep.up.pt>
8348
8349         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8350         insets contents.
8351
8352 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8353
8354         * a lot of small ws changes
8355         * add a lot of using std::XXX
8356         * use std construcs some places where approp.
8357         * use some exisint stuff from lyxfunctional where approp.
8358         * Make file changes to use partial linking (lets test this now...)
8359
8360 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8361
8362         * Chktex.C:
8363         * buffer.C:
8364         remove #include "support/syscontr.h" as it's redundant. Always has been.
8365
8366         * Chktex.C:
8367         * LaTeX.C:
8368         * LyXSendto.C:
8369         * converter.C:
8370         * lyx_cb.C:
8371         * vc-backend.C:
8372         change Systemcalls::System to Systemcalls::Wait and
8373         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8374         No change of functionality, just reflects the stripped down Systemcalls
8375         class.
8376
8377 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8378
8379         * debug.[Ch]: add a GRAPHICS type to the enum.
8380
8381 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8382
8383         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8384
8385         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8386         there is an inset.
8387
8388 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8389
8390         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8391         match the changes below.
8392
8393         * text2.C (toggleInset): if there is not editable inset at cursor
8394         position, try to see if cursor is _inside_ a collapsable inset
8395         and close it.
8396
8397 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8398
8399         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8400         document menu has a nice checkbox
8401
8402 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8403
8404         * lyxlength.C (asLatexString): change PW to output as percent of
8405         \textwidth.
8406
8407         * lengthcommon.C: change '%' to 't%'
8408
8409         * lyxfunc.C (dispatch): a few comments from Martin
8410
8411 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8412
8413         * WorkArea.h:
8414         * WorkArea.C:
8415         * BufferView_pimpl.h:
8416         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8417           the X selection.
8418
8419 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8420
8421         * vspace.C (inPixels): fix compiler warning
8422
8423 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8424
8425         * lyxfunc.C (getStatus): fix status message for disabled commands.
8426
8427 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8428
8429         * BufferView_pimpl.C: fix crash on close buffer
8430         during selection (#227)
8431
8432 2002-01-27  Herbert Voss  <voss@lyx.org>
8433
8434         * buffer.C: link old Figure to new graphic inset
8435
8436 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8437
8438         * FontLoader.C (getFontinfo): Change the latex font names in order
8439         to match the names of type1inst.
8440
8441 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8442
8443         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8444
8445         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8446         (extchanged): ditto
8447         (ext_exist): ditto
8448         (remove_files_with_extension): ditto
8449         (remove_file): ditto
8450         (write): ditto
8451
8452         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8453         document is smaller than the work area height. Do not initialize
8454         static variables to 0.
8455
8456 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8457
8458         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8459
8460         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8461         LFUN_LAYOUT_PARAGRAPHS.
8462
8463         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8464         tabular. It is possible to provide a possible cell, which will
8465         typically be the actcell from the corresponding insettabular
8466
8467         * lyxfunc.C (getStatus): small cleanup; disable
8468         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8469         true
8470
8471 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8472
8473         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8474
8475         * paragraph.C (startTeXParParams):
8476         (endTeXParParams): new methods. The LaTeX code to
8477         start/end paragraph formatting
8478         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8479         empty (fixes bug #200)
8480
8481         * vspace.C (inPixels): adapt to the change below
8482         (inPixels): [later] more cleanups (remove unused variables)
8483
8484         * lyxlength.C (inPixels): change to use a width and a height as
8485         parameter.
8486
8487 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8488
8489         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8490         Replaced with \paperwidth
8491
8492         * DepTable.C (insert): add std:: qualifier
8493
8494 2002-01-18  Allan Rae  <rae@lyx.org>
8495
8496         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8497         updated also?
8498
8499         * text.C (drawInset): Turned out I didn't know enough about how
8500         rebreaking worked.  This fixes most of the redraw problems.  I see
8501         an occasional cursor trail when a line is broken now and the cursor
8502         placement can seem out by a few pixels also after a rebreak.
8503
8504 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8505
8506         * buffer.C (parseSingleLyXformat2Token): update because minipage
8507         width is now a LyXLength
8508
8509         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8510
8511         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8512         math insets
8513
8514 2002-01-17  Juergen Vigna  <jug@sad.it>
8515
8516         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8517
8518         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8519         is set correctly and the inset is updated correctly.
8520
8521 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8522
8523         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8524         the beginning of the loop.
8525
8526 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8527
8528         * lyxrc.C: improve help for use_scalable_fonts
8529
8530 2002-01-17  Allan Rae  <rae@lyx.org>
8531
8532         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8533
8534 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8535
8536         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8537         make sure to set their inset_owner to the right value (bug #171)
8538
8539 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8540
8541         * DepTable.h
8542         * DepTable.C: Implement mtime checking to reduce time spent doing
8543         CRCs.
8544
8545 2002-01-16  Juergen Vigna  <jug@sad.it>
8546
8547         * tabular.C (GetAdditionalHeight): one of error fixed.
8548
8549         * lyxrc.C (output): small fix in writing use_pspell.
8550
8551 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8552
8553         * sp_base.h: #include LString.h
8554
8555 2002-01-16  Allan Rae  <rae@lyx.org>
8556
8557         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8558         Can someone check this please?
8559
8560         * text.C (drawInset): It was possible that p.row would be removed by
8561         breakAgainOneRow upsetting a few other settings.  There may be another
8562         small tweak possible by setting need_break_row = 0 when p.row has been
8563         removed but I don't know enough about the logic here.
8564
8565 2002-01-15  Allan Rae  <rae@lyx.org>
8566
8567         * text.C (insertChar): removed conditional truism.
8568
8569         * BufferView2.C (removeAutoInsets): More tweaks.
8570         cur_par_prev could be a stray pointer.  Check for trailing empty line
8571         in case last line was cur_par and only had an error inset on it.
8572
8573 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8574
8575         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8576         absolute
8577
8578         * vc-backend.C (most methods):
8579         * exporter.C (Export):
8580         * converter.C (convert):
8581         (runLaTeX):
8582         * LyXSendto.C (SendtoApplyCB):
8583         * lyxfunc.C (dispatch):
8584         (menuNew):
8585         (open):
8586         (doImport):
8587         * lyx_cb.C (AutoSave):
8588         (InsertAsciiFile):
8589         * BufferView_pimpl.C (MenuInsertLyXFile):
8590         * buffer.C (runChktex): use Buffer::filePath().
8591
8592         * buffer.h: rename filename to filename_; rename filepath to
8593         filepath_ and make it private
8594         (filePath): new method
8595
8596         * buffer.C (writeFile): use fileName()
8597         (getLatexName):
8598
8599         * lyx_main.C (init): fix starting  of LyX when the binary is a
8600         link from so,ewhere else.
8601
8602         * minibuffer.C: include <cctype> for isprint
8603
8604 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8605
8606         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8607         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8608         name clash with InsetCollapsable's width function.
8609
8610 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8611
8612         * lastfiles.C: include <iterator>
8613
8614 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8615
8616         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8617         std::count.
8618
8619         * buffer.C (makeLaTeXFile): ditto.
8620         Also make loop operation more transparent.
8621
8622 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8623
8624         * ToolbarDefaults.C: remove trailing comma closing namespace.
8625
8626         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8627
8628         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8629         as in WorkArea.
8630
8631         * trans.C (Load): comment out unused variable, allowed.
8632
8633 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8634
8635         * minibuffer.[Ch] (append_char): new method to recieve input from the
8636         drop-down completion browser. If a key was pressed, then recieve this
8637         char and append it to the existing string.
8638         (peek_event): modify the positioning data passed to the completion
8639         browser so that it can be placed above the minibuffer rather than below.
8640 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8641
8642         * LyXAction.C (init): alloe error-next for readonly documents.
8643
8644         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8645         count.
8646
8647 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8648
8649         * bufferlist.C (readFile): create the buffer _after_ checking that
8650         the file exists.
8651
8652         * lyxfunc.C (verboseDispatch): fix handling of arguments
8653
8654         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8655
8656         * lyxrc.C: use string::erase() instead of initializing to "".
8657
8658
8659 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8660
8661         * BufferView_pimpl.h:
8662         * BufferView_pimpl.C:
8663         * WorkArea.h:
8664         * WorkArea.C:
8665         * text2.C: tell X when we have made a selection for copying
8666
8667 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8668
8669         * BufferView_pimpl.C (MenuInsertLyXFile):
8670         * lyxfunc.C (menuNew):
8671         (open):
8672         (doImport): add shortcuts to directory buttons
8673
8674         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8675         open a float)
8676
8677         * lyxfunc.C (setStatusMessage):
8678         (getStatusMessage): new methods
8679         (getStatus):use setStatusMessage instead of setErrorMessage
8680         (dispatch): when function is disabled, set error message here
8681         [instead of in getStatus previously]
8682
8683         * BufferView_pimpl.C (workAreaButtonRelease): update
8684         toolbar/menubar here too.
8685
8686 2002-01-13  Allan Rae  <rae@lyx.org>
8687
8688         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8689         Now seems indestructible.  Remaining task is to audit all other
8690         code affected by deleteEmptyParagraphMechanism.  One small quirk
8691         left is that an empty document with an error in the preamble can
8692         be made to report an error but no error box appears.  I don't know
8693         where it goes.
8694         (removeAutoInsets): Improved comments.
8695
8696 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8697
8698         * Thesaurus.h:
8699         * Thesaurus.C: update for Aiksaurus 0.14
8700
8701 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8702
8703         * text2.C (firstParagraph): removed member function, all uses
8704         replaces with ownerParagraph
8705         (redoParagraphs): here
8706         (updateInset): here
8707         (toggleAppendix): here
8708         * BufferView2.C (insertErrors): here
8709         (setCursorFromRow): here
8710
8711 2002-01-13  Allan Rae  <rae@lyx.org>
8712
8713         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8714         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8715         There is still a way to segfault this although you may have to do this
8716         multiple times: Have an InsetERT with an unknown command in it.
8717         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8718         <down-arrow>, <Enter> again, View->DVI, BANG!
8719
8720         * text2.C (setCursor):
8721         (deleteEmptyParagraphMechanism):
8722         * lyxtext.h (setCursor):
8723         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8724         Making use of the return value may help fix other bugs.
8725
8726 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8727
8728         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8729
8730         * LyXView.C (updateMenubar): call MenuBar::update here
8731         (updateToolbar): but not here
8732         (showState): do not update toolbar/menubar
8733
8734         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8735         should need to care about that.
8736
8737         * lyxfunc.C (verboseDispatch): simplify a bit
8738         (getStatus): have a version which takes a pseudoaction, and
8739         another which requires a (kb_action,string).
8740
8741         * LyXAction.C (retrieveActionArg): make it work also when action
8742         is not a pseudo-action.
8743         (getActionName): simplify a bit
8744         (helpText):
8745
8746 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8747
8748         * lyxfunc.C (verboseDispatch): new families of methods with
8749         several ways to specify a command and a bool to indicate whether
8750         the command name and shortcut should be displayed in minibuffer
8751         (eventually, we could extend that to a finer bitmask like
8752         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8753         (dispatch): the pristine dispatch command which just, well,
8754         dispatchs! Note it still sets its result to minibuffer; I'm not
8755         sure we want that.
8756
8757         * lyxfunc.h: remove setHintMessage
8758
8759         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8760
8761 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8762
8763         * BufferView_pimpl.C (specialChar): delete new inset if we have
8764         not been able to insert it.
8765
8766         * kbmap.C: revert to using int instead of kb_action, since all we
8767         are dealing with is pseudo-actions.
8768
8769         * LyXAction.C (searchActionArg): change to return int instead of
8770         kb_action, since the result is a pseudoaction.
8771
8772 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8773
8774         * buffer.C (insertErtContents): Fix (partially) the font bug.
8775
8776 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8777
8778         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8779         as the other one is broken on my machine!
8780
8781 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8782
8783         * commandtags.h:
8784         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8785
8786 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8787
8788         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8789         reflect their actual use. Provide compatibility code for older lyxrc
8790         files.
8791
8792         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8793         FL_NORMAL_STYLE.
8794         change names of popup font variables in line with the changes to lyxrc.C
8795
8796 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8797
8798         * buffer.C (asciiParagraph): avoid outputing a word twice after
8799         an inset.
8800
8801         * lyxrc.C (getDescription): document that document_path and
8802         template_path can be empty.
8803
8804 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8805
8806         * LaTeXFeatures.C (getMacros):
8807         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8808
8809         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8810
8811         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8812         getPackages.
8813         (getPackages): rename feature "floats" to "float". Use an array to
8814         iterate over 'simple' features (i.e. just a \usepackage). Add
8815         handling of "amsmath" (renamed from "amsstyle").
8816
8817 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8818
8819         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8820         features list.
8821
8822 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8823
8824         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8825         FuncStaus::FuncStatus & FuncStaus::some_method().
8826
8827 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8828
8829         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8830         of the func_satus stuff. Edited and massaged in various ways by
8831         JMarc.
8832
8833         * lyxfunc.C (getStatus): use FuncStatus
8834
8835 2002-01-08  Juergen Vigna  <jug@sad.it>
8836
8837         * text.C (nextBreakPoint): use function Inset::isChar().
8838
8839         * paragraph.C (TeXOnePar): use function
8840         Inset::forceDefaultParagraphs.
8841
8842         * buffer.C (latexParagraphs): use function
8843         Inset::forceDefaultParagraphs.
8844
8845 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8846
8847         * lyx_gui.C (init): set the style of the menu popups to
8848         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8849
8850 2002-01-07  Juergen Vigna  <jug@sad.it>
8851
8852         * text.C (setHeightOfRow): small fix
8853         (prepareToPrint): don't look at alignment if we don't have the place
8854         for doing it.
8855
8856 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8857
8858         * box.C: New file. Move the Box methods and functions out of box.h,
8859         following Lars' suggestion.
8860
8861 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8862
8863         * box.h: #include "support/LOstream.h", needed for inlined function.
8864
8865         * lyxtextclass.C:
8866         * lyxtextclasslist.C: added some using std declarations.
8867
8868 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8869
8870         * box.h: make signed dimensions to allow insets wider than
8871           the screen (bug #162)
8872
8873         * BufferView_pimpl.C: add some insetHit debug
8874
8875 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8876
8877         * vc-backend.C: add FIXME
8878
8879 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8880
8881         * lyxfunc.C (getStatus): enable code for showing math font status
8882         in toolbar/menu.
8883
8884 2002-01-07  Juergen Vigna  <jug@sad.it>
8885
8886         * text.C (nextBreakPoint): removed debug output not needed anymore.
8887
8888 2002-01-06  Juergen Vigna  <jug@sad.it>
8889
8890         * text.C (nextBreakPoint): fixed up this function we had this bug
8891         since ever but now hopefully we break row better.
8892         (insertChar): we have to check if an inset is the next char as it
8893         could now happen that a large inset is causing a break.
8894
8895 2002-01-05  Juergen Vigna  <jug@sad.it>
8896
8897         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8898         if it doesn't like to be drawed.
8899
8900 2002-01-04  Juergen Vigna  <jug@sad.it>
8901
8902         * BufferView2.C (lockInset): forgot to set a cursor.
8903
8904         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8905
8906 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8907
8908         * FormMathsPanel.C:
8909         * FormMathsPanel.h
8910         * MathsSymbols.C:
8911         * form_maths_panel.C:
8912         * form_maths_panel.h:
8913         * form_maths_panel.fd: implemented sub- and super- buttons in math
8914         panel.
8915
8916         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8917         (or ^ space) to be used as in TeX (req'd by André).
8918
8919         * lyxfunc.C: Allow ^ and _ again to be used both as
8920         super/subscript (mathed) and as themselves (in text).
8921
8922 2002-01-03  Allan Rae  <rae@lyx.org>
8923
8924         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8925         "LyX" or the filename of the current buffer if it has one.  This is a
8926         modified form of John Levon's patch.
8927
8928         * XFormsView.C (setWindowTitle): also set icon title.
8929
8930         * LyXView.h (setWindowTitle): signature changed.
8931         * XFormsView.h (setWindowTitle): ditto.
8932
8933 2002-01-02  Juergen Vigna  <jug@sad.it>
8934
8935         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8936
8937 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8938
8939         * screen.C (topCursorVisible): introduce a temp var for
8940         text->cursor.row(), handle the case where this row is null. (kindo
8941         hachish)
8942
8943         * text2.C (setCursor): add a couple of asserts.
8944
8945         * paragraph.h (inset_iterator): add -> operator
8946
8947         * paragraph.[Ch] (autoDeleteInsets): remove member function
8948
8949         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8950         cursor pos correctly and handle inset deletion by itself.
8951         (insertErrors): move iterator declaration out of for expression
8952
8953         * lyxtextclass.C: add <algorithm>
8954
8955         * Makefile.am: added the new files to sources, removed layout.C
8956
8957         * layout.C: removed file
8958
8959         * layout.h: remove LYX_DUMMY_LAYOUT
8960
8961         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8962         layout.
8963
8964         * lyxlayout.[Ch]:
8965         * lyxtextclass.[Ch]:
8966         * lyxtextclasslist.[Ch]: new files
8967
8968         * include order changes to a lot of files, also changes because of
8969         the six new files.
8970
8971 2001-12-27  Juergen Vigna  <jug@sad.it>
8972
8973         * buffer.C (asciiParagraph): more fixes.
8974
8975         * tabular.C (ascii): make ascii export support export of only the
8976         data separated by a column-delimiter.
8977         (ascii): better support for ascii export.
8978
8979         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8980
8981 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8982
8983         * tabular_funcs.C: use a "using std::getline" instead of the
8984         previous fix from Angus (necessary for cxx + lyxstring)
8985
8986 2001-12-24  Juergen Vigna  <jug@sad.it>
8987
8988         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8989
8990         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8991         problems. First check a minipage also if we have some ert-contents
8992         (not only on par->size(), second set the right depth of the paragraph
8993         on the relink to the root-paragraph-list!
8994
8995         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8996         which then did not anymore update the main paragraphs on undo/redo!
8997
8998 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8999
9000         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9001         code. Support all font-changing funcs (even those which are not in
9002         menu currently). Support for reporting font settings in
9003         mathed (disabled until Andre provides a function on mathed's side).
9004
9005         * func_status.h (toggle): small helper function to set toggle
9006         state on a flag.
9007
9008 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9009
9010         * tabular_funcs.C: getline -> std::getline
9011
9012 2001-12-21  Juergen Vigna  <jug@sad.it>
9013
9014         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9015         accessed and could be 0 (I couldn't generate this but it seems
9016         Michael could!).
9017
9018 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9019
9020         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9021         * tabular_funcs.h: here and include iosfwd
9022
9023 2001-12-20  Juergen Vigna  <jug@sad.it>
9024
9025         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9026         inside inset but undo_par was.
9027
9028 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9029
9030         * Thesaurus.C: always include <config.h> in sources.
9031
9032         * Painter.h:
9033         * lyxlookup.h:
9034         * box.h: do not include <config.h> in header files
9035
9036         * text.C (paintLastRow): remove unused variable
9037
9038         * text.C (transformChar):
9039         (insertChar):
9040         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9041
9042         * Painter.C (text):
9043         * font.C (width): rewrite to use uppercase() instead of
9044         islower/toupper.
9045
9046         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9047
9048 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9049
9050         * lyxfind.C: clean up of find failure position change
9051
9052 2001-12-20  Juergen Vigna  <jug@sad.it>
9053
9054         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9055
9056         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9057         (TeXRow): added to LaTeX a single tabular row.
9058         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9059         (Latex): simplified and finally good LT-h/f support.
9060         (various_functions): just small adaptions for LT-h/f support.
9061
9062         * tabular_funcs.[hC]: added and moved here all not classfunctions
9063         of LyXTabular.
9064
9065 2001-12-19  Juergen Vigna  <jug@sad.it>
9066
9067         * tabular.[Ch]: better support for longtabular options (not finished
9068         yet!)
9069
9070 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9071
9072         * text.C (paintLastRow): use the label font instead of the font of
9073         the last character to compute the size of *_BOX. This makes more
9074         sense and avoids a crash with empty paragraphs.
9075         Use Painter::rectangle to draw EMPTY_BOX.
9076
9077 2001-12-19  Juergen Vigna  <jug@sad.it>
9078
9079         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9080         the paragraphs if the replaced paragraph is not the first one!
9081         Tried to delete not used paragraphs but does not work yet so for
9082         now it's inside #ifdef's and by default off!
9083
9084 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9085
9086         * MenuBackend.C: include "lyx_main.h" instead of declaring
9087         lastfiles (actually was declared as LastFiles* instead of a
9088         scoped_ptr).
9089
9090 2001-12-17  Juergen Vigna  <jug@sad.it>
9091
9092         * tabular.C (AppendColumn): applied John's fix
9093
9094 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9095
9096         * BufferView.h:
9097         * BufferView.C:
9098         * BufferView_pimpl.h:
9099         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9100
9101         * Makefile.am:
9102         * box.h: new start of class for above
9103
9104         * lyxfunc.C: ignore space-only minibuffer dispatches.
9105           Show the command name when it doesn't exist
9106
9107         * minibuffer.C: don't add empty lines to the history
9108
9109         * minibuffer.C: add a space on dropdown completion
9110
9111 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9112
9113         * text.C: fix line above/below drawing in insets
9114
9115 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9116
9117         * lyxlength.C (LyXLength): Initialize private variables.
9118
9119 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9120
9121         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9122         when inserting error insets.
9123
9124 2001-12-13  Juergen Vigna  <jug@sad.it>
9125
9126         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9127         actually sometimes the before-paragraph.
9128         (setUndo): don't clear the redostack if we're not actually undoing!
9129
9130 2001-12-06  Juergen Vigna  <jug@sad.it>
9131
9132         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9133         and fixed redoing of main paragraph, so we can use it now ;)
9134
9135         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9136
9137 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9138
9139         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9140         Juergen's request
9141
9142 2001-12-13  André Pönitz <poenitz@gmx.net>
9143
9144         * undostack.[Ch]:
9145         * undo_func.C: minor cleanup
9146
9147 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9148
9149         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9150         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9151         font in urw-fonts package which is marked as -urw-fontspecific and
9152         does not work (incidentally, changing the encoding in the
9153         fonts.dir of this package to -adobe-fontspecific fixes the
9154         problem).
9155
9156         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9157         is a crash when undoing first paragraph (Juergen, please take a
9158         look). THis does not mean the undo fix is wrong, just that it
9159         uncovers problems.
9160
9161         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9162         the (Paragraph*) version when needed instead of duplicating the
9163         code.
9164
9165         * text.C (workWidth): use Inset::parOwner to find out where the
9166         inset has been inserted. This is a huge performance gain for large
9167         documents with lots of insets. If Inset::parOwner is not set, fall
9168         back on the brute force method
9169
9170         * paragraph_pimpl.C (insertInset):
9171         * paragraph.C (Paragraph):
9172         (cutIntoMinibuffer): set parOwner of insets when
9173         inserting/removing them
9174
9175         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9176
9177 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9178
9179         * commandtags.h:
9180         * LyXAction.C:
9181         * lyx_main.C:
9182         * lyxfunc.C:
9183         * mathed/formulabase.C:
9184         * mathed/math_cursor.[Ch]:
9185         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9186
9187
9188 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9189
9190         * lyxlength.[Ch] (operator!=): new function
9191
9192 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9193
9194         * text.C (workWidth): use Inset::parOwner to find out where the
9195         inset has been inserted. This is a huge performance gain for large
9196         documents with lots of insets. If Inset::parOwner is not set, fall
9197         back on the brute force method
9198
9199         * paragraph_pimpl.C (insertInset):
9200         * paragraph.C (Paragraph):
9201         (cutIntoMinibuffer): set parOwner of insets when
9202         inserting/removing them
9203
9204         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9205
9206 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9207
9208         * tabular-old.C (getTokenValue):
9209         * tabular.C (getTokenValue):
9210         (write_attribute): new versions for LyXLength
9211         (everywhere): adjust the use of widths
9212
9213         * tabular.h: change the type of widths from string to LyXLength
9214
9215 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9216
9217         * paragraph.C: fixed missing line number count when exporting
9218         Environments to LaTeX file
9219
9220         * buffer.C: added informational message for checking line numbers.
9221
9222 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9223
9224         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9225         paragraph, do the 'double space' part, but not the 'empty
9226         paragraph' one.
9227
9228         * text.C (workWidth): small optimization
9229         (getLengthMarkerHeight): use minimal size for negative lengths.
9230
9231 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9232
9233         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9234
9235         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9236
9237 2001-12-11  André Pönitz <poenitz@gmx.net>
9238
9239         * FontLoader.C:
9240         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9241
9242 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9243
9244         * text2.C: keep selection on a setFont()
9245
9246 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9247
9248         * lyx_cb.C: another bv->text misuse, from insert label
9249
9250 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9251
9252         * kbsequence.h:
9253         * kbsequence.C: re-instate nmodifier mask
9254
9255 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9256
9257         * lyx_main.h: make lyxGUI private.
9258
9259 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9260
9261         * lyxfind.C: place the cursor correctly on failed search
9262
9263 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9264
9265         * text.C (getLengthMarkerHeight): for small heights, the arrows
9266         are not always on top/bottom of the text
9267         (drawLengthMarker): smaller arrows; take the left margin in
9268         account; draw also vfills.
9269         (paintFirstRow):
9270         (paintLastRow): remove special code for vfill and standard spaces,
9271         since everything is handled in drawLengthMarker now.
9272
9273 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9274
9275         * buffer.C (insertErtContents): try to handle font and language
9276         interaction a bit better.g
9277
9278         * ColorHandler.C (updateColor): change the hash to cover the whole
9279         LColor enum, ws cleanup
9280         (getGCLinepars): ditto
9281         (getGCLinepars): only lookup in the linecache once.
9282
9283 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9284
9285         * iterators.C (operator++): Make the iterator more robust
9286
9287         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9288         (John's patch)
9289         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9290
9291 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9292
9293         * lyxtext.h:
9294         * text.C: better added space drawing
9295
9296 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9297
9298         * LyXView.C:
9299         * BufferView2.C: fix layout combo update on inset unlock
9300
9301 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * Makefile.am: don't compile unused files
9304
9305 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9306
9307         * lyxfunc.C:
9308         * commandtags.h:
9309         * LyXAction.C: remove old LFUN_LAYOUTNO
9310
9311 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9312
9313         * paragraph_pimpl.h:
9314         * paragraph_pimpl.C: isTextAt() doesn't need font param
9315
9316 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9317
9318         * lyxlex.h:
9319         * lyxlex.C: little cleanup
9320
9321 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9322
9323         * BufferView_pimpl.C: fix insertAscii for insets
9324
9325 2001-12-05  Juergen Vigna  <jug@sad.it>
9326
9327         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9328         set the right font on the "multi" paragraph paste!
9329
9330 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9331
9332         * trans_decl.h:
9333         * trans_mgr.[Ch]:
9334         * trans.[Ch]:
9335         * lyxgluelength.C:
9336         * lyxlength.C: remove out-commented code.
9337
9338         * BufferView_pimpl:
9339         * CutAndPaste.C:
9340         * DepTable.C:
9341         * buffer.C:
9342         * chset.C:
9343         * lastfiles.C:
9344         * lyxlex.C:
9345         * lyxlex_pimpl.C:
9346         * lyxserver.C:
9347         * screen.C:
9348         * tabular-old.C:
9349         * tabular.C:
9350         * text.C:
9351         * trans_mgr.C:
9352         * vc-backend.C: change "while(" to "while ("
9353
9354         * lyxlength.[Ch]: add zero function to check if length is zero or
9355         not
9356         * lyxgluelength.C: use it
9357
9358 2001-12-05  Allan Rae  <rae@lyx.org>
9359
9360         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9361         Works for 2.95.3, from what I understand of Garst's reports this should
9362         work for other g++ versions.  We're screwed if the abs(int) definition
9363         changed between bugfix releases of gcc.
9364
9365 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9366
9367         * text.C: fix chapter label offset !
9368
9369 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9370
9371         * lyxtext.h:
9372         * text.C: fix hfill at end of line, clean up
9373
9374 2001-12-04  Juergen Vigna  <jug@sad.it>
9375
9376         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9377         that we force an update of the inset and it's owners if neccessary.
9378
9379 2001-12-03  Juergen Vigna  <jug@sad.it>
9380
9381         * text.C (rowLast): simplified code
9382
9383 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9384
9385         * lyxfunc.C: fix show options on timeout
9386
9387 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9388
9389         * screen.C (topCursorVisible): scroll half a page when the cursor
9390         reached top of bottom of screen
9391
9392 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9393
9394         * minibuffer.C: deactivate on loss of focus
9395
9396 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9397
9398         * vspace.[Ch] (operator!=): add operator.
9399
9400 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9401
9402         * BufferView_pimpl.C: refuse to open an inset when
9403         there's a selection.
9404
9405 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9406
9407         * BufferView_pimpl.C: allow to click on RHS of full row insets
9408
9409 2001-11-30  Juergen Vigna  <jug@sad.it>
9410
9411         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9412         insets for undo reasons.
9413
9414 2001-11-28  André Pönitz <poenitz@gmx.net>
9415
9416         * vspace.[Ch]: cosmetical changes
9417
9418 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9419
9420         * LyXAction.h:
9421         * LyXAction.C:
9422         * lyxfunc.h:
9423         * lyxfunc.C:
9424         * kbmap.h:
9425         * kbmap.C:
9426         * lyxrc.C:
9427         * kbsequence.h:
9428         * kbsequence.C: part re-write of old kb code
9429
9430         * Painter.C:
9431         * WorkArea.C: remove Lgb_bug_find_hack
9432
9433 2001-11-30  José Matos <jamatos@fep.up.pt>
9434
9435         * buffer.C (makeDocBookFile): add a comment to point a hack.
9436         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9437         Fixed a double write of labels.
9438
9439 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9440
9441         * LaTeX.C:
9442         * LaTeX.h Fixed bug in LaTeX class where it would not
9443         re-run latex if no depfiles were changed, but the .dvi was removed.
9444
9445 2001-11-28  André Pönitz <poenitz@gmx.net>
9446
9447         * all the files from the change on 2001/11/26:
9448         use lyx::layout_type instead of LyXTextClass::size_type
9449         use lyx::textclass_type instead of LyXTextClassList::size_type
9450
9451 2001-11-29  Juergen Vigna  <jug@sad.it>
9452
9453         * text.C: added support for paragraph::isFreeSpacing()
9454
9455         * buffer.C: same as above
9456
9457         * paragraph.h: inserted isFreeSpacing() function to enable
9458         FreeSpacing inside InsetERT.
9459
9460         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9461         of the paragraph's in the cut/copy buffer to 0!
9462
9463         * text2.C (removeRow): remove the assert as it can!
9464
9465         * lyxtext.h: added helper function firstRow returning firstrow and
9466         made firstrow private again.
9467
9468         * BufferView2.C (lockInset): don't relock if we're already locked!
9469
9470         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9471         the only paragraph.
9472         (removeRow): added Assert::(firstrow)
9473
9474         * debug.C: forgot to add INSETTEXT here.
9475
9476 2001-11-28  Juergen Vigna  <jug@sad.it>
9477
9478         * sp_spell.C (initialize): changed error text to more general
9479         spellchecker command use (not only ispell!)
9480
9481         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9482
9483         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9484
9485 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9486
9487         * vspace.C: initialise lyxgluelength on failure
9488
9489 2001-11-28  Allan Rae  <rae@lyx.org>
9490
9491         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9492         declaration & definition that looks like a function declaration.
9493
9494 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9495
9496         * BufferView2.C (copy):
9497         (copyEnvironment): do not clear the selection when doing a copy.
9498
9499         * text.C (paintFirstRow): compilation fix
9500
9501 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9502
9503         * tabular.C (Latex): correct line count when writing latex.
9504
9505 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9506
9507         * paragraph_pimpl.h:
9508         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9509           bug a bit
9510
9511 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9512
9513         * text.C:
9514         * LColor.h:
9515         * LColor.C: change vfillline->added_space
9516
9517         * text.C: add markers and text for added space
9518
9519         * vspace.C: fix comment
9520
9521 2001-11-28  André Pönitz <poenitz@gmx.net>
9522
9523         * paragraph.C: whitespace changes
9524         * all the other files from the change on 2001/11/26:
9525         change *::pos_type into lyx::pos_type
9526
9527 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9528
9529         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9530         language of the document when inserting error insets.
9531
9532 2001-11-26  André Pönitz <poenitz@gmx.net>
9533
9534         * BufferView_pimpl.[Ch]:
9535         *       CutAndPaste.C:
9536         * buffer.[Ch]:
9537         * lyxcursor.[Ch]:
9538         * lyxfind.C:
9539         * lyxfunc.C:
9540         * lyxrow.[Ch]:
9541         * paragraph.[Ch]:
9542         * paragraph_pimpl.[Ch]:
9543         * sp_spell.C:
9544         * text.C:
9545         * text2.C: reduce header dependencies, introduce type for positions
9546
9547 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9548
9549         * <various>: change to use Alert.h
9550
9551 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9552
9553         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9554         when encountering an unknown token.
9555         (readLyXformat2): Show an error message if there were unknown tokens.
9556
9557 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9558
9559         * BufferView2.C:
9560         * BufferView_pimpl.C:
9561         * buffer.C:
9562         * paragraph.h:
9563         * text.C:
9564         * text2.C: use par->isInset()
9565
9566 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9567
9568         * paragraph_pimpl.h:
9569         * paragraph_pimpl.C: cleanup
9570
9571 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9572
9573         * text2.C (removeRow):
9574         * text.C (setHeightOfRow): remove useless (and costly) call to
9575         getRow.
9576
9577 2001-11-20  Allan Rae  <rae@lyx.org>
9578
9579         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9580         Now need Inset*::checkInsertChar() to return true for appropriate
9581         cases so that the characters in the minibuffer will actually be
9582         inserted.
9583
9584 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9585
9586         * text.C: change the order of the includes.
9587         (workWidth): initialize it at once.
9588         (workWidth): make maxw unsigned
9589         (setHeightOfRow): remove unused variable (inset)
9590         (selectSelectedWord): remove unused variable (inset)
9591         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9592
9593 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9594
9595         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9596         server is not running.
9597         (openConnection):
9598         (closeConnection): add debug info when server is disabled.
9599
9600         * ColorHandler.C (getGCForeground): send debug message to GUI
9601         channel.
9602
9603         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9604
9605         * kbmap.C (bind): modify because return conventions of
9606         kb_sequence::parse have changed.
9607
9608         * kbsequence.C (parse): only ignore spaces and not any stupid
9609         control character. This avoids tests like s[i] <= ' ', which are
9610         guaranteed to fail with 8bit characters and signed chars.
9611         Change return code to string::npos when there have been no error
9612         (0 was a bad idea when error is at first character)
9613
9614 2001-11-14  José Matos  <jamatos@fep.up.pt>
9615
9616         * buffer.h:
9617         * buffer.C (simpleDocBookOnePar): removed unused argument.
9618
9619 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9620
9621         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9622         insets which are part of a word. Paragraph::isLetter takes care of
9623         that now. Use Paragraph::isInset to identify insets.
9624         (selectSelectedWord): do not test for hyphenation break.
9625
9626         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9627         that protected spaces are considered as spaces.
9628
9629         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9630         Inset::isLetter.
9631
9632 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9633
9634         * lyxserver.h:
9635         * lyxserver.C: fix it. and small cleanup.
9636
9637 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9638
9639         * BufferView_pimpl.C: use inline helpers
9640
9641         * LaTeXFeatures.h:
9642         * LaTeXFeatures.C: fix typos
9643
9644         * Spacing.h:
9645         * Spacing.C: move spacing_string into class
9646
9647         * ToolbarDefaults.C: move stuff into namespace anon
9648
9649         * layout.h: update enum
9650
9651         * lyxfunc.C: use better debug
9652
9653         * minibuffer.h: fix typo
9654
9655         * debug.h:
9656         * debug.C:
9657         * WorkArea.C: add and use Debug::WORKAREA
9658
9659         * lyxtext.h:
9660         * text.C:
9661         * text2.C: code re-organisation, inline helpers
9662
9663 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9664
9665         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9666         std::vector.empty().
9667
9668 2001-11-09  Allan Rae  <rae@lyx.org>
9669
9670         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9671         '\n's after tables.  Tabular and ERT inset work now makes this no
9672         longer necessary.
9673
9674 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9675
9676         * minibuffer.h:
9677         * minibuffer.C: fix crash, improve drop-down completion
9678
9679 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9680
9681         * lyxserver.h:
9682         * lyxserver.C: invalidate fd's when doing endPipe()
9683
9684 2001-11-08  José Matos  <jamatos@fep.up.pt>
9685
9686         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9687         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9688
9689         * paragraph.h:
9690         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9691
9692 2001-11-07  José Matos  <jamatos@fep.up.pt>
9693
9694         * buffer.h:
9695         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9696         const qualifier.
9697
9698         * buffer.C (sgmlOpenTag):
9699         * buffer.C (sgmlCloseTag): removed debug info.
9700
9701         * buffer.h (sgmlOpenTag):
9702         * buffer.h (sgmlCloseTag): made public.
9703
9704 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9705
9706         * buffer.C (saveParamsAsDefaults):
9707         * lyx_cb.C (MenuLayoutSave): remove
9708
9709         * LyXAction.C (init):
9710         * commandtags.h:
9711         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9712
9713 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9714
9715         * buffer.C (setPaperStuff): removed from here...
9716
9717         * bufferparams.C (setPaperStuff): ... and moved there.
9718
9719 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9720
9721         * minibuffer.h:
9722         * minibuffer.C:
9723         * XFormsView.C: add support for drop-down completion
9724
9725 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9726
9727         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9728         commands.
9729
9730 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9731
9732         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9733         disabled.
9734
9735 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9736
9737         * lyx_main.C: change ref to known bugs
9738
9739 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9740
9741         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9742         to work around older babel problems.
9743
9744 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9745
9746         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9747
9748 2001-10-24  Juergen Vigna  <jug@sad.it>
9749
9750         * tabular-old.C (ReadOld): below variable changes reflected.
9751
9752         * tabular.[Ch]: added ltType struct for longtable header/footer
9753         defines and changed all instances where they are used. Added
9754         future support for double top/bottom rows.
9755
9756 2001-10-24  José Matos  <jamatos@fep.up.pt>
9757
9758         * buffer.h (docbookHandleCaption):
9759         * buffer.C (docbookHandleCaption): removed unused function.
9760         (makeDocBookFile): moved docbook supported version to v4.1.
9761
9762 2001-10-24  José Matos  <jamatos@fep.up.pt>
9763
9764         * tabular.h:
9765         * tabular.C (docbookRow): new function to export docbook code of a row.
9766         (DocBook): now honors the longtable flags.
9767
9768 2001-10-23  José Matos  <jamatos@fep.up.pt>
9769
9770         * LaTeXFeatures.h:
9771         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9772         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9773
9774         * buffer.C (makeLinuxDocFile):
9775         (makeDocBookFile): reworked the preamble, more clean, and with
9776         support for lyx defined entities. Changed the document declaration
9777         to be more XML friendly.
9778
9779         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9780         if we need to output XML that should be done with a filter.
9781
9782 2001-10-22  Juergen Vigna  <jug@sad.it>
9783
9784         * sp_pspell.h (class PSpell): add alive function needed in the
9785         controller to see if the spellchecker could be started.
9786
9787 2001-10-22  Juergen Vigna  <jug@sad.it>
9788
9789         * buffer.C (insertStringAsLines): modify the font for inserting
9790         chars in certain conditions by calling checkInsertChar(font).
9791
9792 2001-10-19  Juergen Vigna  <jug@sad.it>
9793
9794         * text.C (workWidth): use getRow instead of wrong algorithm.
9795         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9796
9797 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9798
9799         * lyxserver.h:
9800         * lyxserver.C:
9801         * lyx_main.h:
9802         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9803
9804 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9805
9806         * text.C (workWidth): do not search for the exact row when
9807         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9808         optimization for big documents.
9809
9810 2001-10-18  Juergen Vigna  <jug@sad.it>
9811
9812         * text.C (workWidth): new function with added Inset * parameter.
9813
9814 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9815
9816         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9817
9818         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9819         change return type of getColumnNearX.
9820
9821
9822         * text.C (changeRegionCase): use uppercase/lowercase instead of
9823         toupper/tolower.
9824         (leftMargin):
9825         (rightMargin): simplify code by factoring out the uses of
9826         textclasslist.
9827         (labelFill):
9828         (numberOfHfills):
9829         (setHeightOfRow):
9830         (appendParagraph): use Paragraph::size_type
9831
9832 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9833
9834         * vspace.C (asLatexString): add a missing break
9835
9836 2001-10-15  Herbert Voss  <voss@perce.de>
9837
9838         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9839
9840 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9841
9842         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9843         is not available.
9844
9845 2001-10-10  André Pönitz <poenitz@gmx.net>
9846
9847         * lyxfunc.C: removed greek_kb_flag.
9848
9849 2001-10-10  Herbert Voss  <voss@perce.de>
9850
9851         * lyx_main.C: delete global string help_lyxdir.
9852
9853 2001-10-09  Herbert Voss  <voss@perce.de>
9854
9855         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9856
9857         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9858
9859         * lyx_main.C: added global string help_lyxdir.
9860
9861         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9862
9863 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9864
9865         * lyxrc.C (set_font_norm_type): support iso8859-4
9866
9867 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9868
9869         * LaTeX.C (deplog): add another regex for MikTeX
9870
9871 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9872
9873         * lyxrc.C (set_font_norm_type): support iso8859-3
9874
9875 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9876
9877         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9878
9879         * LaTeXFeatures.C: remove special case of french and index
9880
9881         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9882         before \begin{document}). This solves several incompatibilities.
9883
9884 2001-10-03  Garst Reese  <reese@isn.net>
9885
9886         * lyx_cb.C: change CheckTex error msg.
9887
9888 2001-10-03  José Matos  <jamatos@fep.up.pt>
9889
9890         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9891
9892 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9893
9894         * .cvsignore: update
9895
9896         * lyx_main.C (commandLineVersionInfo): use new style version info.
9897
9898         * buffer.C (writeFile):
9899         (makeLaTeXFile):
9900         (makeLinuxDocFile):
9901         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9902
9903         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9904
9905         * version.h: update to use stuff in version.C
9906
9907         * version.C.in: new file. Contains version information determined
9908         at compile time. This is a merging of version.h and
9909         version_info.h.in.
9910
9911 2001-10-03  Juergen Vigna  <jug@sad.it>
9912
9913         * BufferView_pimpl.C (update): don't change "dirty" status in
9914         updateInset call.
9915
9916 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9917
9918         * WorkArea.C (c-tor): re-position version string slightly.
9919
9920 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9921
9922         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9923         revert to previous code.
9924
9925         WorkArea.[Ch]: (show, destroySplash): methods removed.
9926
9927         WorkArea.C: rework code so that it's an amalgam of the codes before and
9928         after the splash screen was moved to WorkArea.
9929
9930 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9931
9932         * lyxrc.C (read):
9933         * vspace.C (inPixels):
9934         (lyx_advance):
9935         * kbmap.C (bind):
9936         * buffer.C (insertStringAsLines):
9937         (asciiParagraph): fix types to be large enough
9938
9939         * lyxlex_pimpl.h: change member status from short to int
9940
9941         * layout.h: fix type of endlabeltype
9942
9943         * kbmap.C (bind):
9944         * kbsequence.C (parse): change return type to string::size_type
9945
9946         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9947         variable
9948
9949         * Bullet.C (bulletSize):
9950         (bulletEntry): do not use short ints as parameters
9951
9952         * BufferView2.C (insertLyXFile): change a char to an int.
9953
9954         * WorkArea.C (WorkArea): remove unneeded floats in computation
9955
9956 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9957
9958         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9959
9960         * paragraph.C (asString): Do not ignore newline/hfill chars when
9961         copying to the clipboard.
9962
9963 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9964
9965         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9966         after a multi-line inset.
9967
9968 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9969
9970         * paragraph.C (validate): Set NeedLyXFootnoteCode
9971
9972 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9973
9974         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9975         and decrease-error to decrease.
9976
9977 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9978
9979         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9980         it more readable (should be equivalent)
9981
9982 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9983
9984         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9985
9986 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9987
9988         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9989         of a cursor (row, etc.) after a character has been deleted
9990         (deleteEmptyParagraphMechanism): call the method above on _all_
9991         cursors held by the LyXText when a double space has been
9992         detected/deleted.
9993
9994 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9995
9996         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9997         pixmap.
9998         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9999
10000         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10001         background. Use greyOut() and the new show() methods to toggle between
10002         the foreground and background. Add code to remove the splash after
10003         its initial showing.
10004
10005         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10006         (create_forms): no longer call Dialogs::showSplash.
10007
10008 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10009
10010         * .cvsignore: add version_info.h
10011
10012 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10013
10014         * version_info.h.in: new file
10015
10016         * Makefile.am: add version_info.h.in
10017
10018         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10019         version_info.h instead of VERSION_INFO
10020
10021 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10022
10023         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10024         The ERT inset now returns string().
10025
10026 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10027
10028         * lyxtext.h, text.C (selectNextWord): renamed as
10029         selectNextWordToSpellcheck.
10030
10031         * text.C (selectNextWordToSpellcheck): Modified to not select
10032         words inside an ERT inset.
10033
10034 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10035
10036         * lyx_cb.C (MenuLayoutSave): change a bit the question
10037
10038         * sp_base.h: include <sys/types.h>
10039
10040 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10041
10042         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10043
10044 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10045
10046         * several files: fix typos in user-visible strings
10047
10048 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10049
10050         * text2.C (pasteSelection): do not set the selection, since it
10051         will be cleared later. Actually, the intent was to fix the way the
10052         selection was set, but I figured rmoving the code was just as good.
10053
10054 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10055
10056         * FontLoader.C (available): Check if font is available without
10057         loading the font.
10058
10059 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10060
10061         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10062
10063 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10064
10065         * lyxrc.[Ch]: added display_graphics variable and associated code.
10066
10067 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10068
10069         * bufferparams.C (hasClassDefaults): new method. Returns true if
10070         the buffer parameters correspond to known class defaults
10071
10072 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10073
10074         * XFormsView.C (show): set minimum size to the main window.
10075
10076 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10077
10078         * text2.C (copySelection):
10079         (cutSelection):
10080         * lyxfind.C (LyXReplace):
10081         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10082         LyXText::selectionAsString.
10083
10084         * paragraph.C (asString): add "label" argument to the second form
10085
10086         * text2.C (selectionAsString): add "label" argument and pass it to
10087         Paragraph::asString.
10088
10089 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10090
10091         * lyx_main.C (commandLineHelp): remove version information
10092
10093 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10094
10095         * lyx_main.C: add -version commandline option
10096
10097 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10098
10099         * paragraph.h: make the optional constructor arg required instead.
10100         some modifications to other files because of this.
10101
10102         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10103
10104         * lyxserver.C (C_LyXComm_callback): make it static
10105
10106         * lyx_main.C (error_handler): make it static
10107
10108         * lyx_gui.C (LyX_XErrHandler): make it static
10109
10110         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10111
10112         * WorkArea.C: make the extern "C" methods static.
10113
10114         * Makefile.am (lyx_LDADD): simplify
10115
10116 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10117
10118         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10119         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10120
10121         * LyXAction.C (init):
10122         * lyxfunc.C (dispatch): associated code removal.
10123
10124 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10125
10126         * lyxfont.h (isSymbolFont): shut off warning
10127
10128         * text.C (setHeightOfRow):
10129         (getVisibleRow): fix crash with empty paragraphs which have a
10130         bottom line
10131
10132 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10133
10134         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10135         code.
10136
10137 2001-09-04  José Matos  <jamatos@fep.up.pt>
10138         * buffer.C
10139         * buffer.h
10140         * tabular.C (docbook): rename docBook method to docbook.
10141
10142 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10143
10144         * Makefile.am: add dependencies to main.o.
10145
10146 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10147
10148         * FontLoader.C (available): Return false if !lyxrc.use_gui
10149
10150 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10151
10152         * FontInfo.C (query):
10153         * converter.C (view):
10154         * importer.C (Import):
10155         * exporter.C (Export): Can not -> cannot.
10156
10157 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10158
10159         * BufferView_pimpl.C: allow to create index inset even if
10160           string is empty
10161
10162 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10163
10164         * buffer.C (getLists): replace boost::tie code with an explicit pair
10165         as boost::tie can break some compilers.
10166
10167         * iterators.h: Added a std:: declaration to the return type of
10168         ParIterator::size.
10169
10170 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10171
10172         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10173           case.
10174
10175 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10176
10177         * iterators.[Ch]: New files. Provide paragraph iterators.
10178
10179         * buffer.C (changeLanguage): Use paragraph iterators.
10180         (isMultiLingual): ditto
10181
10182         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10183
10184 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10185
10186         * FontLoader.C: Support for cmr font.
10187
10188 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10189
10190         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10191         (available): New method.
10192
10193         * FontInfo.C (getFontname): Use scalable fonts even when
10194         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10195         found.
10196
10197 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10198
10199         * converter.C (Formats::view): reverted! Incorrect fix.
10200
10201 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10202
10203         * converter.C (Formats::view): only output the -paper option
10204         if the dvi viewer is xdvi, thereby fixing bug #233429.
10205
10206 2001-08-23  Herbert Voss  <voss@perce>
10207
10208         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10209
10210 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10211
10212         * Spacing.h (Spacing): Set space to Default on in the default
10213         constructor.
10214
10215 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10216
10217         * vc-backend.h (RCS::versionString): add RCS to version
10218         (CVS::versionString): add CVS to version
10219
10220         * vc-backend.C (scanMaster): do not add CVS to version.
10221         (scanMaster): do not add RCS to version
10222
10223         * lyxvc.C (versionString): new method
10224
10225         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10226
10227 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10228
10229         * Spacing.C (set): initialize fval
10230
10231 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10232
10233         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10234         " or \.
10235
10236 2001-08-16  Juergen Vigna  <jug@sad.it>
10237
10238         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10239
10240 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10241
10242         * BufferView_pimpl.C:
10243         * figureForm.C:
10244         * lyxtext.h:
10245         * text2.C: setParagraph takes linespacing now
10246
10247 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10248
10249         * LyxAction.C: add internal LFUN_CITATION_INSERT
10250
10251         * LyXView.C: actually apply fix
10252
10253         * bufferlist.C: fix open non-existent file
10254
10255         * lyxfind.C: fix indentation
10256
10257         * lyxfunc.C: remove unneeded assert, fix typo
10258
10259 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10260
10261         * MenuBackend.C: use "Floatname List"
10262
10263 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10264
10265         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10266         when converting LaTeX layout to insetERT.
10267         Generate a non-collapsed float when reading old float
10268
10269 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10270
10271         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10272         ERT insets.
10273
10274 2001-08-13  Juergen Vigna  <jug@sad.it>
10275
10276         * text.C (fill): return 0 instead of 20 as this seems to be the more
10277         correct value.
10278
10279 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10280
10281         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10282         lyxrc.font_norm.
10283
10284 2001-08-13  Juergen Vigna  <jug@sad.it>
10285
10286         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10287         casesensitive off.
10288         (SearchBackward): comment out the unlocking of the inset_owner this
10289         should not be needed!
10290
10291 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10292
10293         * Many files: Remove inherit_language, and add latex_language
10294
10295         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10296         collapsible insets.
10297
10298 2001-08-10  Juergen Vigna  <jug@sad.it>
10299
10300         * text.C (prepareToPrint): fixed hfill-width in draw!
10301
10302         * BufferView2.C (selectLastWord): save the selection cursor as this
10303         now is cleared in the function LyXText::clearSelection!
10304
10305 2001-08-08  Juergen Vigna  <jug@sad.it>
10306
10307         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10308         BACKSPACE type functions.
10309
10310         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10311         is only cutted from the document but not put in the cut-buffer, where
10312         still the old stuff should be.
10313
10314         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10315
10316         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10317
10318         * tabular.C (SetWidthOfCell): fixed special case where the width
10319         was not updated!
10320         (LeftLine): handle '|' in align_special.
10321         (RightLine): ditto
10322         (LeftAlreadyDrawed): ditto
10323         (SetWidthOfCell): ditto
10324
10325 2001-08-07  Juergen Vigna  <jug@sad.it>
10326
10327         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10328
10329 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10330
10331         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10332         * lyxlex.[hC]: ditto
10333
10334 2001-08-06  Juergen Vigna  <jug@sad.it>
10335
10336         * text.C (getVisibleRow): fix up row clearing a bit.
10337
10338 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10339
10340         * minibuffer.C: make sure the X server sees the changes in the input.
10341
10342 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10343
10344         * paragraph.C (getFont): split into...
10345         (getLabelFont): this
10346         (getLayoutFont): and this
10347         * paragraph_pimpl.C (realizeFont): calling this
10348
10349         * text2.C (getFont): split into...
10350         (getLayoutFont): this
10351         (getLabelFont): and this
10352         (realizeFont): all three calling this
10353
10354         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10355         files where used.
10356
10357 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10358
10359         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10360
10361 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10362
10363         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10364         layouts from the Quote inset insertion.
10365
10366 2001-08-03  Juergen Vigna  <jug@sad.it>
10367
10368         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10369
10370         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10371         only if status not is already CHANGED_IN_DRAW (second level).
10372
10373         * text.C (draw): don't set the need_break_row when inside an
10374         InsetText LyXText.
10375
10376 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10377
10378         * buffer.C (parseSingleLyXformat2Token): handle more latex
10379         conversion cases.
10380
10381         * bufferview_funcs.[hC]: change function names to
10382         begin with small char, adjust other files.
10383
10384 2001-08-02  André Pönitz <poenitz@gmx.net>
10385
10386         * lyxfunc.C:
10387         BufferView_pimpl.C: remove broken special code for math-greek
10388
10389 2001-08-02  Juergen Vigna  <jug@sad.it>
10390
10391         * BufferView_pimpl.C (update): redone this function so that we
10392         update the text again if there was a CHANGE_IN_DRAW.
10393
10394         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10395         (drawFromTo): added a new internal bool which is used by draw() and
10396         redraw() function.
10397         (general): some cursor drawing problems fixed.
10398
10399 2001-08-01  Juergen Vigna  <jug@sad.it>
10400
10401         * lyxfind.C (LyXFind): fixed
10402         (SearchForward): ditto
10403         (SearchBackward): ditto
10404
10405         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10406         spurius drawing of the cursor in the main area.
10407
10408         * text2.C (status): small fix which could lead to a segfault!
10409         (clearSelection): remove unneeded BufferView param.
10410
10411 2001-08-01  André Pönitz <poenitz@gmx.net>
10412
10413         * lyxfunc.C: small change due to changed mathed interface
10414
10415 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10416
10417         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10418
10419 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10420
10421         * lyxfunc.c: fail gracefully if file doesn't exist
10422
10423         * LyXSendto.C:
10424         * buffer.C:
10425         * lyxfunc.C:
10426         * BufferView_pimpl.C: IsDirWriteable() proto changed
10427
10428         * LyXView.C: fix updateWindowTitle() to store the last title
10429
10430 2001-07-31  Juergen Vigna  <jug@sad.it>
10431
10432         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10433         the font (wrong since using of Paragraph::highestFontInRange).
10434
10435         * paragraph.C (highestFontInRange): added a default_size parameter.
10436
10437         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10438         (setHeightOfRow): reformat
10439
10440 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10441
10442         * converter.[hC] + affected files: move to (inital-char)lowercase
10443         function names.
10444
10445         * ParagraphParameters.C (ParagraphParameters): remove commented code
10446
10447         * PainterBase.[Ch]: remove commented code
10448
10449         * LaTeXFeatures.h: add "bool floats" for float.sty
10450
10451         * LaTeXFeatures.C (LaTeXFeatures): init floats
10452         (require): handle float
10453         (getPackages): do it with floats
10454
10455 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10456
10457         * BufferView_pimpl.C (Dispatch): improve handling of
10458         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10459
10460         * commandtags.h: #include lyxfont.h here temporarily to avoid
10461         keybinding bug.
10462
10463         * bufferlist.h: include LString.h here.
10464
10465 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10466
10467         * text2.C (getStringToIndex): new method.
10468
10469 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10470
10471         * *: Reduced header file dependencies all over.
10472
10473 2001-07-30  Baruch Even  <baruch@lyx.org>
10474
10475         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10476
10477 2001-07-29  Baruch Even  <baruch@lyx.org>
10478
10479         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10480
10481 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10482
10483         * ParameterStruct.h (endif): add a default constructor to make
10484         sure that all variables is initialized.
10485
10486         * ParagraphParameters.C (ParagraphParameters): adjust
10487
10488 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10489
10490         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10491         index; also, check that there is something to index, and that it
10492         does not span over several paragraphs.
10493         (doubleClick): use WHOLE_WORD_STRICT for double click.
10494
10495         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10496
10497         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10498         scheme.
10499
10500 2001-07-26  Baruch Even  <baruch@lyx.org>
10501
10502         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10503         an InsetFig figure, backwards compatible reading of old figure code.
10504
10505 2001-07-27  Juergen Vigna  <jug@sad.it>
10506
10507         * text2.C: font.realize function adaption.
10508
10509         * text.C (draw): add a warnings lyxerr text if needed.
10510
10511         * layout.C: font.realize function adaption.
10512
10513         * language.C: add inherit_language and implement it's handlings
10514
10515         * bufferview_funcs.C (StyleReset): remove language parameter from
10516         font creation (should be language_inherit now).
10517
10518         * bufferparams.C (writeFile): handle ignore_language.
10519
10520         * paragraph.C (getFontSettings): the language has to be resolved
10521         otherwise we have problems in LyXFont!
10522
10523         * lyxfont.C (lyxWriteChanges): added document_language parameter
10524         (update): removed unneeded language parameter
10525
10526         * paragraph.C (validate): fixed wrong output of color-package when
10527         using interface colors for certain fonts in certain environments,
10528         which should not seen as that on the final output.
10529
10530 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * BufferView_pimpl.C:
10533         * Thesaurus.h:
10534         * Thesaurus.C:
10535         * Makefile.am:
10536         * commandtags.h:
10537         * LyXAction.C: add thesaurus support
10538
10539         * lyxfind.h:
10540         * lyxfind.C: add "once" parameter, for thesaurus, to not
10541           move to the next match
10542
10543 2001-07-26  Juergen Vigna  <jug@sad.it>
10544
10545         * lyxfont.C (realize): honor ignore_language too!
10546         (resolved): ditto.
10547
10548         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10549
10550         * text.C (draw): one place more for ignore_language to not draw
10551         itself!
10552
10553 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10554
10555         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10556
10557 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10558
10559         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10560         the minipage conversion problem.
10561
10562 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10563
10564         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10565         insert an inset.
10566
10567 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10568
10569         * BufferView.h: don't forward declare WorkArea
10570
10571         * BufferView.C: don't include WorkArea.h
10572
10573 2001-07-25  André Pönitz <poenitz@gmx.net>
10574
10575         * commandtags.h:
10576         * LyXAction.C:
10577         * lyxfunc.C:  new LFUN 'math-space'
10578
10579         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10580
10581 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10582
10583         * text2.C (toggleInset): call open/close
10584
10585 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10586
10587         * lyxfunc.C (dispatch): add debug for the disabled case
10588
10589         * font.C (buttonText): make similar to rectText
10590
10591         * buffer.C (readInset): comment out parsing of insetlist and
10592         insttheorem
10593
10594         * PainterBase.C (rectText): small correction
10595
10596         * BufferView_pimpl.C: comment out insettheorem and insetlist
10597         * LyXAction.C: ditto
10598         * commandtags.h: ditto
10599
10600 2001-07-24  Juergen Vigna  <jug@sad.it>
10601
10602         * text.C (draw): honor the ignore_language.
10603
10604         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10605
10606 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10607
10608         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10609         char inset.
10610
10611 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10612
10613         * lyxtext.h: remove unused (and unimplemented) methods
10614
10615 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10616
10617         * text.C (getVisibleRow): honor background color
10618
10619         * PainterBase.h:
10620         * Painter.h: remove default color argument for fillRectangle
10621
10622         * text.C (backgroundColor): new method
10623
10624 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10625
10626         * text.C (getVisibleRow): adjust
10627
10628         * font.[Ch] (rectText): new method, metrics
10629         (buttonText): new method, metrics
10630
10631         * PainterBase.[hC]: make rectText and buttonText always draw and take
10632         fewer paramteres.
10633
10634 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10635
10636         * ToolbarDefaults.C (read):
10637         * MenuBackend.C (read): allow escaping in all strings
10638
10639         * BufferView_pimpl.C (insertAndEditInset): new method.
10640         (Dispatch): use insertAndEditInset whenever appropriate.
10641
10642         * BufferView_pimpl.C (insertNote): removed
10643
10644         * BufferView_pimpl.C (smartQuote): new method, moved from
10645         BufferView; if an insetquote cannot be inserted, insert a '"'
10646         character instead.
10647
10648         * BufferView2.C: remove insertCorrectQuote();
10649
10650         * lyxfunc.C (getStatus): Add support for all remaingin
10651         inset-insert lfuns.
10652
10653         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10654
10655         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10656         command (necessary to pass " as parameter of self-insert.
10657
10658         * text.C (selectWordWhenUnderCursor):
10659         (selectWord): add word_location parameter
10660         (selectWordWhenUnderCursor): same + remove special code for word
10661         boundary.
10662         (selectNextWord): use kind() to guess type of insetspecialchar,
10663         not latex().
10664
10665         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10666         (insertErtContents): create ert insets as collapsed.
10667         (readInset): better compatibility code for Info inset.
10668
10669 2001-07-20  Juergen Vigna  <jug@sad.it>
10670
10671         * lyxfunc.C (dispatch): use always LyXFind now!
10672
10673         * text2.C (init): add a reinit flag so that the LyXText can be
10674         reinited instead of deleted and reallocated (used in InsetText).
10675
10676         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10677
10678         * text.C: ditto
10679
10680         * text2.C: ditto
10681
10682 2001-07-18  Juergen Vigna  <jug@sad.it>
10683
10684         * text.C (selectNextWord): handle insets inside inset by calling
10685         always the bv->text functions so that we can go up the_locking_inset!
10686
10687         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10688         in strange locations when inside an inset!
10689
10690         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10691         handling to include insets.
10692
10693         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10694
10695 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10696
10697         * LyXAction.C (init):
10698         * commandtags.h:
10699         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10700         LIGATURE_BREAK, since the name is so stupid.
10701
10702 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10703
10704         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10705         InsetInfos.
10706
10707         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10708
10709         * sp_form.[Ch]: remove.
10710
10711         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10712
10713         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10714         InsetInfo.
10715
10716         * src/buffer.C (readInset): ditto.
10717
10718 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10719
10720         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10721         menuSeparator(), endOfSentenceDot(), ldots() and
10722         hyphenationPoint(), which are therefore removed.
10723         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10724
10725         * LyXAction.C (init):
10726         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10727
10728         * paragraph.C (getWord): removed.
10729
10730         * BufferView_pimpl.C (Dispatch): use last word or selection for
10731         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10732
10733         * lyx_main.C (queryUserLyXDir): do not ask before creating
10734         user_dir, except if it has been named explicitely.
10735
10736 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10737
10738         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10739         a document of zero size.
10740
10741 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10742
10743         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10744         approriately in the c-tor and in require().
10745         (getPackages): output the appropriate LaTeX for natbib support.
10746
10747         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10748         variables "use_natbib" and "use_numerical_citations" when reading the
10749         LyX file.
10750         (readInset): read the various natbib cite commands.
10751         (validate): white-space change.
10752
10753         * bufferparams.[Ch]: new variables "bool use_natbib" and
10754         "bool use_numerical_citations".
10755         (writeFile): output them in the LyX file.
10756
10757 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10758
10759         * lyxfunc.C (getStatus): add support for all the inset insertion
10760         commands.
10761
10762         * text2.C (insertInset):
10763         * paragraph.C (insetAllowed):
10764         * BufferView_pimpl.C (insertInset): update to take in account the
10765         renaming of insertInsetAllowed
10766
10767         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10768
10769         * text2.C (getInset): new method. returns inset at cursor position.
10770
10771         * BufferView_pimpl.C (Dispatch): changes because of this.
10772
10773         * LyXAction.C (init): rename open-stuff to inset-toggle.
10774
10775         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10776
10777         * text2.C (toggleInset): renamed from openStuff; use
10778         Inset::open().
10779
10780 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10781
10782         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10783
10784         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10785
10786 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10787
10788         * buffer.C (readLyXformat2): Add filename to the error dialog
10789
10790 2001-07-18  Juergen Vigna  <jug@sad.it>
10791
10792         * tabular.C (GetCellNumber): put an assert here instead of the check!
10793
10794 2001-07-17  Juergen Vigna  <jug@sad.it>
10795
10796         * BufferView_pimpl.C (toggleSelection): adapted too.
10797
10798         * text.C (selectNextWord): adapted for use with insets.
10799         (selectSelectedWord): ditto
10800
10801 2001-07-17  Juergen Vigna  <jug@sad.it>
10802
10803         * sp_spell.C (PSpell): fix initialitation order.
10804
10805 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10806
10807         * paragraph.C: spacing
10808
10809 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10810
10811         * sp_spell.C: repair language selection for pspell
10812
10813 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10814
10815         * lyxfunc.h: change more methods to begin with lower char.
10816
10817 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10818
10819         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10820         for unknown layouts.
10821
10822 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10823
10824         * buffer.C (readLyXformat2): Generate an error dialog if there are
10825         unknown layouts.
10826
10827 2001-07-16  Juergen Vigna  <jug@sad.it>
10828
10829         * sp_spell.C: always compile ISpell part.
10830
10831         * lyxrc.C: added use_pspell entry and it's handling.
10832
10833 2001-07-13  Juergen Vigna  <jug@sad.it>
10834
10835         * sp_spell.C: removed double includes.
10836
10837 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10838
10839         Consistent use of Lsstream.h:
10840         * Lsstream.h: added using std::stringstream for consistencies sake.
10841
10842         * buffer.C: removed using std::stringstream
10843
10844         * lyxfont.C (stateText):
10845         * paragraph.C (asString):
10846         * text.C (selectNextWord, selectSelectedWord):
10847         * text2.C (setCounter):
10848         * vspace.C (asString, asLatexString):
10849         std::ostringstream -> ostringstream.
10850
10851 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10852
10853         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10854         * commandtags.h: add LFUN_HELP_ABOUTLYX
10855         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10856
10857 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10858
10859         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10860         cursorToggle()
10861         * lyx_gui_misc.C: remove spellchecker
10862         * lyxfunc.C: showSpellchecker
10863         * sp_base.h: added
10864         * sp_ispell.h: added
10865         * sp_pspell.h: added
10866         * sp_spell.C: added
10867         * sp_form.[Ch]: removed
10868         * spellchecker.[Ch]: removed
10869
10870 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10871
10872         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10873         is set.
10874         (simpleTeXSpecialChars): Simply print the input character without
10875         any special translation if pass_thru is set.
10876
10877         * layout.h: Added bool pass_thru to layout class for being able to
10878         implement pass through of a paragraph for Literate Programming.
10879
10880         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10881         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10882         * layout.C (Read): add "passthru" to list of layout tags and add
10883         code to set the pass_thru boolean when it is read.
10884
10885 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10886
10887         * trans_decl.h: remove allowed from KmodInfo
10888
10889         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10890         remove allowed code
10891         (Load): adjust
10892
10893         * paragraph_pimpl.C (erase): use boost::prior
10894
10895         * Painter.C (text): use data() instead of c_str() when length is
10896         also provided.
10897         * WorkArea.C (putClipboard): ditto
10898         * font.h (width): ditto
10899
10900         * BufferView2.C: use it-> instead of (*it). for iterators
10901         * texrow.C: ditto
10902         * paragraph_pimpl.C: ditto
10903         * paragraph.C: ditto
10904         * minibuffer.C: ditto
10905         * language.C: ditto
10906         * kbmap.C: ditto
10907         * encoding.C: ditto
10908         * counters.C: ditto
10909         * converter.C: ditto
10910         * chset.C: ditto
10911         * Variables.C: ditto
10912         * TextCache.C: ditto
10913         * MenuBackend.C: ditto
10914         * LyXAction.C: ditto
10915         * LColor.C: ditto
10916         * FloatList.C: ditto
10917         * DepTable.C: ditto
10918         * ColorHandler.C (LyXColorHandler): ditto
10919
10920 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10921
10922         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10923
10924         * text2.C (openStuff): reintroduce this method (which had been
10925         nuked in NEW_INSETS frenzy).
10926
10927         * lyxfunc.C (Dispatch): when an action has not been handled, use
10928         its name in the error message, not its number.
10929
10930         * paragraph.C (inInset): change method name to begin with lowercase.
10931
10932         * undo_funcs.C:
10933         * text2.C: updates because of this.
10934
10935 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10936
10937         * ToolbarDefaults.C (add): add spaces in error message
10938
10939 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10940
10941         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10942         (readLyXformat2): rename return_par to first_par, use lyxlex's
10943         pushToken and remove the manual push handling.
10944         (parseSingleLyXformat2Token): add another ert comp. variable:
10945         in_tabular, rename return_par to first_par. handle newlines better
10946
10947 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10948
10949         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10950
10951 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10952
10953         * text2.C (getParFromID): removed
10954
10955         * buffer.C (getParFromID): new method moved form lyxtext.
10956         * BufferView2.C (insertErrors): adjust
10957         (setCursorFromRow): adjust
10958         * BufferView_pimpl.C (restorePosition): adjust
10959         * lyxfunc.C (Dispatch): adjust
10960         * undo_funcs.C (textUndo): adjust
10961         (textRedo): adjust
10962         (textHandleUndo): adjust
10963         (textHandleUndo): adjust
10964
10965 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10966
10967         * buffer.C: up' the LYX_FORMAT
10968
10969         * lyxfont.h: turn NO_LATEX on as default
10970
10971         * buffer.C (insertErtContents): new methods of tex style compability.
10972         (parseSingleLyXformat2Token): use it several places.
10973         * tabular.C (OldFormatRead): and here
10974
10975 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10976
10977         * text2.C: remove some commented code.
10978         reindent file.
10979
10980         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10981         * trans.C: changes because of the above.
10982
10983 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10984
10985         * text2.C (setCounter): Fix counters bug with bibliography layout.
10986
10987 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10988
10989         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10990         own member functions
10991         (simpleTeXSpecialChars): ditto
10992
10993 2001-07-06  Juergen Vigna  <jug@sad.it>
10994
10995         * a lot of files: changed the access to LyXText::status and the
10996         call of undo-functions.
10997
10998         * undo.[Ch]: added a inset_id to the undo informations.
10999
11000         * undo_funcs.[Ch]: added and moved here all undo functions.
11001
11002         * lyxtext.h: give the status enum a weight, made status_ a private
11003         variable and made accessor functions for it, removed the whole bunch
11004         of undo-functions as they are now in their own file, make some
11005         functions publically available. Added function ownerParagraph with
11006         int parameter.
11007
11008         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11009         made InInset() a const function, added getParFromID() function.
11010
11011         * buffer.[Ch]: added const version for inset_iterator functions,
11012         added getInsetFromID() function.
11013
11014         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11015         changed undo functions for new version.
11016
11017 2001-07-05  Juergen Vigna  <jug@sad.it>
11018
11019         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11020         unknow mechanism does not call the proper constructor but only this
11021         one also if I request the other!?
11022
11023 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11024
11025         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11026
11027         * text2.C (LyXText): use initialization lists.
11028
11029         * lyxtext.h (Selection): initialize set_ and mark_
11030         (init): remove method
11031
11032 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11033
11034         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11035
11036 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11037
11038         * screen.[Ch]: change method names to begin with lowercase
11039
11040         * BufferView_pimpl.C (updateScrollbar): simplify further and
11041         hopefully make it a bit faster.
11042
11043 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11044
11045         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11046         calling directly xforms functions.
11047
11048         * Painter.C (Painter):
11049         * lyx_cb.C (MenuWrite):
11050         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11051         fl_display.
11052
11053         * lyx_gui.C: remove bogus guiruntime extern declaration.
11054
11055 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11056
11057         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11058         in NEW_INSETS
11059         (redoDrawingOfParagraph): ditto
11060         (redoParagraphs): ditto
11061         (cutSelection): don't create a object for CutAndPaste use the
11062         static method directly
11063         (pasteSelection): ditto
11064
11065         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11066         LyXview (+ rename)
11067
11068 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11069
11070         * modifications to some other files because of this.
11071
11072         * Makefile.am (lyx_SOURCES): add XFormsView
11073
11074         * XFormsView.[Ch]: new files
11075
11076         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11077         the main window. Move the gui dependent stuff to XFormsView
11078
11079 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11080
11081         * tabular.C (GetCellInset): update cur_cell also in the row/col
11082         version of this function.
11083
11084         * lyxfunc.C: no need to include figure_form.h here.
11085
11086         * FontLoader.h:
11087         * lyxfunc.h:
11088         * lyxscreen.h:
11089         * text2.C:
11090         * lyxvc.C: no need to include forms.h here.
11091
11092 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11093
11094         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11095
11096         * lyxfunc.C (Dispatch):
11097         * Spacing.C (set):
11098         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11099         constructor argument.
11100
11101 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11102
11103         * paragraph.C (Paragraph): dont't clear, and just set layout.
11104         (makeSameLayout): use params's copy contructor.
11105
11106         * ParagraphParameters.[Ch] (makeSame): delete method
11107
11108 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11109
11110         * Variables.[Ch]: fix indentation, rename set to isSet
11111
11112 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11113
11114         * lyxfunc.C (Dispatch): fix typo
11115
11116 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11117
11118         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11119         upper_bound.
11120
11121         * bufferlist.C: include assert.h for emergencyWrite().
11122
11123 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11124
11125         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11126           give up at last (bug #425202) !
11127
11128 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11129
11130         * lyx_gui_misc.C:
11131         * sp_form.h:
11132         * sp_form.C:
11133         * spellchecker.h:
11134         * spellchecker.C: strip spellchecker options and bring up
11135           preferences tab instead
11136
11137 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11138
11139         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11140         the istringstream constructor
11141
11142 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11143
11144         * paragraph.C (getLayout): fix return value
11145
11146         * paragraph.h: do not declare getLayout as inline.
11147
11148         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11149
11150 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11151
11152         * lyxcursor.h (operator<): new func
11153         (operator>): new func
11154         (operator>=): new func
11155         (operator<=): new func
11156
11157         * text.C (changeCase): use selection.start and selection.end
11158         (changeRegionCase): require from to be <= to. Require par to be a
11159         valid paragraph.
11160
11161         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11162
11163 2001-06-27  Juergen Vigna  <jug@sad.it>
11164
11165         * text.C (cursorLeftOneWord): changed to return the cursor and added
11166         overlay with BufferView * parameter which calls this one.
11167         (getWord): added
11168         (selectWord): use new getWord function.
11169         (changeCase): renamed from changeWordCase as and extended to work
11170         also on selections.
11171
11172         * lyxtext.h: added enum word_location
11173
11174         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11175         changeCase as this operates now also on selections.
11176
11177 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11178
11179         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11180
11181         * many files: send debug output to Debug::INFO instead of
11182         Debug::ANY.
11183
11184         * converter.C (View):
11185         (Convert):
11186         (Move): send debug output to Debug::FILES instead of console.
11187
11188 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11189
11190         * lyxfunc.C (getStatus): use func_status
11191
11192         * func_status.h: new header, describing the results of
11193         LyXFunc::getStatus;
11194
11195         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11196         LFUN_MATH_HALIGN.
11197
11198 2001-06-25  The LyX Project  <jug@sad.it>
11199
11200         * buffer.C (sgmlOpenTag):
11201         (sgmlCloseTag):
11202         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11203
11204 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11205
11206         * text2.C: remove some dead code
11207
11208         * tabular.C (GetCellInset): store the last cell checked (gotten)
11209
11210         * tabular.h: add the helper for the speedup
11211
11212         * lyxtext.h: remove some dead code
11213
11214 2001-06-26  The LyX Project  <Asger>
11215
11216         * paragraph.C: Change export to LaTeX of alignment to
11217         \begin{center} and family for better roundtrip work with reLyX.
11218
11219         * Tune the math drawing a bit.
11220
11221 2001-06-25  The LyX Project  <Asger>
11222
11223         * LColor.C (LColor): New color for math background. New color
11224         for buttons.
11225
11226 2001-06-25  The LyX Project  <jug@sad.it>
11227
11228         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11229
11230         * lyxfunc.C (Open):
11231         * bufferlist.C (newFile): do not restrict to files ending with
11232         .lyx
11233
11234         * BufferView_pimpl.C (MenuInsertLyXFile):
11235
11236 2001-06-24  The LyX Project  <jug@sad.it>
11237
11238         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11239         of compare_no_case
11240
11241 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11242
11243         * lyxtext.h: rename most methods to begin with a small char.
11244         Lots of changes because of this.
11245
11246         * paragraph.C (Paragraph): do not call fitToSize
11247         (erase): call Pimpl::erase
11248         (insertChar): call Pimpl::insertChar
11249         (insertInset): call Pipl::insertInset
11250         (breakParagraph): do not call fitToSize
11251         (breakParagraphConservative): do not call fitToSize
11252         (fitToSize): remove method
11253
11254         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11255
11256 2001-06-24  The LyX Project  <Asger>
11257
11258         * Fix Qt compilation^2
11259
11260 2001-06-24  The LyX Project  <jug@sad.it>
11261
11262         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11263         depthHook(getDepth()-1).
11264
11265         * paragraph.h:
11266         * ParagraphParameters.h:
11267         * ParameterStruct.h: change type of depth to unsigned int ==
11268         depth_type. Many adaptations to other files before of that.
11269
11270 2001-06-24  The LyX Project  <Asger>
11271
11272         * Fix Qt compilation.
11273
11274 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11275
11276         * paragraph.h: renamed several methods to begin with small letter.
11277         several changes to many parts of the code because of this.
11278
11279 2001-06-23  The LyX Project  <jug@sad.it>
11280
11281         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11282         rewritten to discard all double spaces when KeepEmpty is off
11283         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11284         to only handle newlines but not fiddle with spaces and friends.
11285
11286         * lyxfunc.C (MenuNew): when doing 'new from template', use
11287         template_path as default directory
11288
11289 2001-06-23  The LyX Project  <Asger>
11290
11291         * Clean-up of header file includes all over
11292         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11293
11294 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11295
11296         * paragraph.h: renamed from lyxparagraph.h
11297
11298 2001-06-23  Asger  <lyx@violet.home.sad.it>
11299
11300         * Buffer.h: Removed Buffer::resize
11301         * BufferList.h: Removed BufferList::resize
11302         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11303         the document lazily when we change the width, or the font settings.
11304
11305 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11306
11307         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11308
11309 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11310
11311         * buffer.h: remove out of date comment
11312
11313 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11314
11315         * lyxscreen.h:
11316         * screen.C: fix "theoretical" GC leak
11317
11318 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11319
11320         * LaTeX.C (scanAuxFile):
11321         (deplog): remove trailing \r when reading stream (useful under
11322         win32)
11323
11324 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11325
11326         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11327         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11328         and BufferView::theLockingInset(Inset*), so should use them and not
11329         access bv_->text->the_locking_inset directly.
11330
11331         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11332
11333 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11334
11335         * Makefile.am:
11336         * tex-defs.h: remove old unused file
11337
11338 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11339
11340         * BufferView_pimpl.C: fix typo, remove minibuffer message
11341           when buffer has loaded
11342
11343 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * lyxfunc.C (Dispatch): use stringstream
11346         (MenuNew): use stringstream
11347         (Open): use stringstream
11348
11349         * importer.C (Import): use stringstream
11350
11351         * bufferview_funcs.C (CurrentState): use stringstream
11352
11353         * LaTeX.C (run): use stringstream
11354
11355         * BufferView_pimpl.C (savePosition): use stringstream
11356         (restorePosition): use stringstream
11357         (MenuInsertLyXFile): use stringstream
11358
11359 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11360
11361         * BufferView.C:
11362         * Bullet.C:
11363         * ColorHandler.C:
11364         * FontInfo.C:
11365         * FontLoader.C:
11366         * LColor.C:
11367         * LaTeXFeatures.C:
11368         * Painter.C:
11369         * gettext.C:
11370         * lyx_gui_misc.C:
11371         * lyxserver.C:
11372         * vspace.C: removed // -*- C++ -*- as first line.
11373
11374         * lyxfind.h:
11375         * version.h: added // -*- C++ -*- as first line.
11376
11377 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11378
11379         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11380
11381         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11382         of string
11383
11384 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11385
11386         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11387         of floats.
11388
11389 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11390
11391         * gettext.C: include LString.h even when --disable-nls is on.
11392
11393 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11394
11395         * converter.h (Get): changed argument type from int to
11396         FormatList::size_type to avoid unnecessary conversion.
11397
11398         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11399         before using it.
11400
11401 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11402
11403         * gettext.h: include LString.h even when --disable-nls is on.
11404
11405 2001-06-07  Juergen Vigna  <jug@sad.it>
11406
11407         * text.C (BreakAgain): subst spaces with tabs.
11408
11409         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11410         (resizeInsetsLyXText): set force on resizeLyXText.
11411
11412 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11413
11414         * gettext.h (gettext_init):
11415         (locale_init): use a real definition instead of a macro
11416
11417 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11418
11419         * Bufferview_pimpl.C:
11420         * LColor.h:
11421         * LColor.C: further lcolor tidies
11422
11423 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11424
11425         * BufferView_pimpl.C (updateScrollbar): simplify.
11426
11427         * BufferView2.C: don't include insets/insetinfo.h, change
11428         prototype for insertInset and call the Pimpl version. let
11429         updateInset call Pimpl version.
11430
11431         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11432         gotoInset to BufferView::Pimpl
11433
11434 2001-06-01  Juergen Vigna  <jug@sad.it>
11435
11436         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11437         inside a LockingInset (is the update needed at all?).
11438
11439 2001-05-31  Juergen Vigna  <jug@sad.it>
11440
11441         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11442         here not the old one otherwise how should we compare it afterwards
11443         if it's the same!
11444
11445 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11446
11447         * lyxfont.C:
11448         * tabular.C:
11449         * tabular-old.C:
11450         * FontInfo.C: bring C functions into global namespace when
11451         necessary
11452
11453 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11454
11455         * LString.h: make sure config.h has been loaded before LString.h.
11456
11457         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11458         (one for each char read by EatLine!).
11459
11460         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11461         variables.
11462
11463 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11464
11465         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11466         to the same as the par we break from
11467
11468 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11469
11470         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11471
11472         * MenuBackend.C (expand): also create menu entries for wide
11473         versions of the floats.
11474
11475         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11476
11477         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11478
11479         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11480         frontends/Makefile.am
11481
11482         * text2.C: adjust
11483         * text.C: adjust
11484
11485
11486         * tabular.C (getTokenValue): add std::
11487
11488         * tabular-old.C (getTokenValue): add std::
11489         (getTokenValue): ditto
11490         (getTokenValue): ditto
11491
11492         * screen.C (ToggleSelection): adjust
11493
11494         * lyxtext.h: put selection cursors inside a Selection struct.
11495
11496         * lyxfunc.C (moveCursorUpdate): adjust
11497
11498         * lyxfont.C (latexWriteStartChanges): add std::
11499
11500         * lyxfind.C: adjust
11501
11502         * font.h: delete with(char const *, LyXFont const &)
11503
11504         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11505
11506         * FontInfo.C (getFontname): add std::
11507
11508         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11509         (workAreaButtonPress): adjust
11510         (tripleClick): adjust
11511         (update): adjust
11512         (moveCursorUpdate): adjust
11513         (Dispatch): adjust
11514
11515         * BufferView2.C (gotoInset): adjust
11516
11517 2001-05-30  Juergen Vigna  <jug@sad.it>
11518
11519         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11520         to check pspell I add this as default as I now have new pspell
11521         libraries and they seem to use this.
11522
11523 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11524
11525         * text2.C (CutSelection): make the cursor valid before the call to
11526         ClearSelection.
11527
11528 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11529
11530         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11531         relied on 0 terminated strings and other horrors. Bug found due to
11532         the new assert in lyxstring!
11533
11534         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11535         KP_ keys.
11536
11537 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11538
11539         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11540         to latinkeys.bind.
11541
11542         * lyxfunc.C (processKeySym): change method of getting to the
11543         self-insert char.
11544
11545         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11546         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11547         * BufferView_pimpl.[Ch]: here as private methods.
11548
11549 2001-05-28  Juergen Vigna  <jug@sad.it>
11550
11551         * text.C (SetHeightOfRow): added the update() call again as it is
11552         needed to initialize inset dimensions!
11553
11554 2001-05-16  Juergen Vigna  <jug@sad.it>
11555
11556         * text2.C (SetCharFont): Add new function with BufferView * and
11557         bool toggleall parameters for setting insets internal fonts.
11558         (SetFont): Freeze the undo as we may change fonts in Insets and
11559         all this change should be inside only one Undo!
11560
11561         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11562         setting font's in insets as for them we have the SetFont function!
11563
11564 2001-05-15  Juergen Vigna  <jug@sad.it>
11565
11566         * text2.C (ClearSelection): to be sure we REALLY don't have any
11567         selection anymore!
11568
11569         * tabular.C (TeXCellPreamble): fixed the left border problem for
11570         multicolumn cells.
11571
11572 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11573
11574         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11575         dependancy file
11576
11577 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11578
11579         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11580         LFUN_BREAKPARAGRAPH.
11581
11582         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11583         help test to "internal only", similar for LFUN_INSERT_URL
11584
11585         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11586         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11587         auto_region_delete and deadkeys.
11588
11589 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * LColor.h:
11592         * LColor.C: remove some dead entries, tidy a little
11593
11594 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11595
11596         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11597         commented code.
11598         (Dispatch): implement LFUN_ESCAPE
11599
11600         * commandtags.h: add LFUN_ESCAPE
11601
11602         * LyXAction.C (init): add entry for LFUN_ESCAPE
11603
11604         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11605         Remove commented code.
11606         (insertNote): moved here
11607         (open_new_inset): moved here
11608
11609         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11610         BufferView_pimpl
11611
11612 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11613
11614         * kbmap.C (findbinding): clean it up and make it work correctly.
11615
11616         * lyx_main.C (init): do not pass argc and argv as parameters
11617
11618 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11619
11620         * buffer.C: fix path for OS/2 & Win32
11621
11622         * lyx_gui.C:
11623         * lyx_main:
11624         * lyx_main.C: Added os:: class.
11625
11626         * os2_defines.h: update
11627
11628 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11629
11630         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11631         better by trying again with reduced state.
11632
11633 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11634
11635         * lyxrc.C (read): print error about invalid key sequence only when
11636         debugging (because not all latinX keysyms are known to some X
11637         servers)
11638
11639         * kbsequence.C (getiso): add a few std:: qualifiers
11640         (getiso): comment out extra return statement.
11641
11642 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11643
11644         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11645         handling.
11646         (Dispatch): enhance the accent inset a bit. (not perfect)
11647
11648 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11649
11650         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11651
11652 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11653
11654         * bufferlist.C (emergencyWrite): fix assert() call
11655
11656 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11657
11658         * text.C (InsertChar): Added trivial patch to only send the "you
11659         can not do multiple spaces this way" message once during a
11660         session.
11661
11662 2001-05-08  Baruch Even  <baruch@lyx.org>
11663
11664         * Makefile.am: Changed order of libraries to get LyX to link properly
11665         with the gnome frontend.
11666
11667 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11668
11669         * LaTeXFeatures.h: add a std:: qualifier
11670
11671 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11672
11673         * paragraph.C (String): use stringstream
11674
11675 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11676
11677         * paragraph.C (writeFile): remove footflag arg
11678
11679         * buffer.C (makeLaTeXFile): use stringstream
11680         (latexParagraphs): remove footnot gurba
11681
11682         * LaTeXFeatures.C (getPackages): use stringstream
11683         (getMacros): likewise
11684         (getTClassPreamble): likewise
11685         (getFloatDefinitions): new method
11686
11687         * paragraph.C (writeFile): reindent
11688         (Erase): reindent
11689
11690         * WorkArea.h: revert the xpos + etc changes.
11691
11692         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11693
11694         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11695
11696         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11697         (pasteSelection): likewise
11698         * text2.C (CreateUndo): likewise
11699
11700 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11701
11702         * minibuffer.C (peek_event): temporarily reduce the functionality
11703         of the minibuffer (to allow args on lfuns)
11704
11705         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11706         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11707
11708         * buffer.C (readInset): add compability reading of old float
11709         lists, add reading of new style float list.
11710         (readInset): avoid reevaluation of inscmd.getCmdName()
11711         (getLists): reindent
11712
11713         * MenuBackend.C (MenuItem): implement parsing of
11714         md_floatlistinsert and md_floatinsert.
11715         (expand::LastFiles): move initalizaton of iterators out of loop,
11716         avoid reevaluation.
11717         (expand::Documents): introduce typdedef vector<string> Strings,
11718         and use it.
11719         (expand::ExportFormats): introduce typedef vector<Format const *>
11720         Formats, and use it.
11721         (expand): implement FloatListInsert and FloatInsert.
11722
11723         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11724         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11725         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11726
11727         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11728         handling.
11729         (Dispatch::LFUN_FLOAT_LIST): implement
11730
11731 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11732
11733         * LaTeX.C (run): Fix problem with --export code.
11734
11735 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11736
11737         * BufferView.[Ch] (workarea): removed.
11738         (getClipboard) new method; wrapper for workarea()->getClipboard()
11739
11740         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11741         bug.
11742
11743         * WorkArea.h (width, height, xpos, ypos): These methods all
11744         returned the dimensions of the work_area sub-area of WorkArea,
11745         resulting in a position error if the WorkArea were resized. Now
11746         return the dimensions of the entire WorkArea.
11747
11748         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11749
11750 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11751
11752         * LaTeX.C (deplog): correct the syntax of regex reg1
11753
11754 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11755
11756         * undo.C: remove !NEW_INSETS cruft
11757
11758 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11759
11760         * text2.C: remove !NEW_INSETS cruft
11761
11762         * text.C: remove !NEW_INSETS cruft
11763
11764         * tabular.C: remove !NEW_INSETS cruft
11765
11766         * spellchecker.C: remove !NEW_INSETS cruft
11767
11768         * lyxtext.h: remove !NEW_INSETS cruft
11769
11770         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11771
11772         * lyxfunc.C: remove !NEW_INSETS cruft
11773
11774         * lyxfind.C: remove !NEW_INSETS cruft
11775
11776         * lyx_cb.C: remove !NEW_INSETS cruft
11777
11778         * figureForm.C: remove  !NEW_INSETS cruft
11779
11780         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11781
11782         * buffer.[Ch]: remove !NEW_INSETS cruft
11783
11784         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11785
11786         * CutAndPaste.C: remove !NEW_INSETS cruft
11787
11788         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11789
11790         * BufferView2.C: remove !NEW_INSETS cruft
11791
11792         * BufferView.h: remove !NEW_INSETS cruft
11793
11794 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11795
11796         * Lsstream.h: include LString.h before the sstream headers to
11797         fix problem with gcc 2.95.3 and lyxstring
11798
11799 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11800
11801         * lyx_main.C: add using directives when needed for C functions
11802         declared in std:: namespace.
11803
11804 2001-04-27  Juergen Vigna  <jug@sad.it>
11805
11806         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11807         (SetHeightOfRow): comment out the update call should not be needed!
11808
11809 2001-04-13  Juergen Vigna  <jug@sad.it>
11810
11811         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11812         (LyXTabular): tried to minimize operator= operations (and realized
11813         hopfully Lars wish).
11814
11815 2001-04-27  Juergen Vigna  <jug@sad.it>
11816
11817         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11818
11819 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11820
11821         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11822
11823         * buffer.C (readInset): hack to make listof algorithm work
11824
11825         * BufferView_pimpl.C: hack to make listof algorithm work
11826
11827 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11828
11829         * LyXAction.C: removed all !NEW_INSETS cruft
11830         (init): moved lfun_item in method
11831
11832         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11833
11834 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11835
11836         * BufferView2.C (theLockingInset): white space.
11837
11838 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11839
11840         * minibuffer.C: include <iostream>
11841
11842         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11843
11844         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11845
11846         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11847
11848         * text.[Ch] (TransposeChars): new method
11849
11850 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11851
11852         * call message directly through LyXView instead of through LyXFunc
11853         * BufferView2.C: adjust
11854         * BufferView_pimpl.C: adjust
11855         * FontLoader.C: adjust
11856         * buffer.C: adjust
11857         * bufferview_funcs.C: adjust
11858         * converter.C: adjust
11859         * figureForm.C: adjust
11860         * importer.C: adjust
11861         * lyx_cb.C: adjust
11862         * lyx_gui_misc.C: adjust
11863         * lyxfunc.C: adjust
11864         * lyxvc.C: adjust
11865         * text2.C: adjust
11866         + more files in subdirs
11867
11868         * lyxparagraph.h (size): move up int file
11869         (GetLayout): ditto
11870
11871         * adjust all uses of Assert to lyx::Assert.
11872
11873         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11874         lyxfunctional in namespace lyx
11875         * layout.C (hasLayout): ditto
11876         (GetLayout): ditto
11877         (GetLayout): ditto
11878         (delete_layout): ditto
11879         (NumberOfClass): ditto
11880         * converter.C (GetFormat): ditto
11881         (GetNumber): ditto
11882         (Add): ditto
11883         (Delete): ditto
11884         (SetViewer): ditto
11885         * bufferlist.C (getFileNames): ditto
11886         (emergencyWriteAll): ditto
11887         (exists): ditto
11888         (getBuffer): ditto
11889         * MenuBackend.C (hasSubmenu): ditto
11890         (hasMenu): ditto
11891         (getMenu): ditto
11892         * BufferView_pimpl.C (getInsetByCode): ditto
11893
11894 2001-04-18  Juergen Vigna  <jug@sad.it>
11895
11896         * vspace.C (asLatexString): fixed the 100% problem.
11897
11898 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11899
11900         * lyxfunc.C (Dispatch):
11901         * minibuffer.C:
11902         * minibuffer.h: add a few std:: qualifiers
11903
11904 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11905
11906         * minibuffer.[Ch]: reimplement so that commands is initiated and
11907         run from lyxfunc, simplified som handling, and made the completion
11908         and history code for complete. wip.
11909
11910         * lyxfunc.C (processKeySym): call message
11911         (miniDispatch): new temporary method
11912         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11913         (LFUN_MESSAGE): implement
11914         (LFUN_MESSAGE_PUSH): implement
11915         (LFUN_MESSAGE_POP): implement
11916         (initMiniBuffer): the initial/defualt minibuffer message.
11917
11918         * lyxfont.[Ch]: inline some more getters
11919
11920         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11921
11922         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11923
11924         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11925         (AutoSave): use LFUN_MESSAGE
11926         (Reconfigure): ditto
11927
11928         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11929
11930         * figureForm.C: use LFUN_MESSAGE
11931
11932         * converter.C (runLaTeX): use LFUN_MESSAGE
11933
11934         * bufferview_funcs.C: use LFUN_MESSAGE
11935         (Melt): ditto
11936         (changeDepth): ditto
11937
11938         * bufferparams.h: use boost::
11939
11940         * bufferlist.h: inherit privately from noncopyable
11941
11942         * bufferlist.C (loadLyXFile): remove some commented code.
11943
11944         * buffer.C (runChktex): use LFUN_MESSAGE
11945
11946         * ShareContainer.h: inherit privately from noncopyable
11947
11948         * ParagraphParameters.[hC] (depth): inline it.
11949
11950         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11951         methods.
11952         (message): new method
11953         (messagePush): ditto
11954         (messagePop): ditto
11955         (show): init minibuffer
11956         (showState): direct call
11957
11958         * LaTeX.[Ch]: inherit privately from noncopyable
11959         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11960         instead of WriteStatus.
11961
11962         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11963
11964         * BufferView_pimpl.C (buffer): don't init minibuffer
11965         (workAreaButtonPress): use LFUN_MESSAGE
11966         (workAreaButtonRelease): ditto
11967         (savePosition): ditto
11968         (restorePosition): ditto
11969         (MenuInsertLyXFile): ditto
11970         (workAreaExpose): don't init minibuffer
11971         (update): remove commented code, simplify
11972
11973         * BufferView2.C (openStuff): use LFUN_MESSAGE
11974         (toggleFloat): ditto
11975         (menuUndo): ditto
11976         (menuRedo): ditto
11977         (copyEnvironment): ditto
11978         (pasteEnvironment): ditto
11979         (copy): ditto
11980         (cut): ditto
11981         (paste): ditto
11982         (gotoInset): ditto
11983         (updateInset): remove some commented code
11984
11985         * lastfiles.h: inherit privately from noncopyable
11986         * layout.h: ditto
11987         * lyx_gui.h: ditto
11988         * lyx_main.h: ditto
11989         * lyxlex.h: ditto
11990         * lyxlex_pimpl.h: ditto
11991
11992         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11993         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11994         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11995
11996         * LyXAction.h: inherit privately from noncopyable, add methods
11997         func_begin, func_end, returning iterators to the func map.
11998
11999         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12000         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12001         (func_begin): new method
12002         (func_end): new method
12003
12004         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12005         and not)
12006         (copySelection): ditto
12007         (pasteSelection): ditto
12008
12009         * BufferView.C: whitespace change
12010         * BufferView.h: inherit privately from noncopyable
12011
12012 2001-04-16  Allan Rae  <rae@lyx.org>
12013
12014         * tabular-old.C (l_getline):
12015         * spellchecker.C (sc_check_word):
12016         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12017         an unrecognised preprocessor directive.  So ensure they're wrapped.
12018
12019 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12020
12021         * src/exporter.C (Export): Give an error message when path to file
12022         contains spaces.
12023
12024 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12025
12026         * LaTeX.C (deplog): Always check that foundfile exists.
12027
12028 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12029
12030         * lyx_main.h:
12031         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12032
12033 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12034
12035         * tabular.[Ch] (getLabelList): implement new method
12036
12037         * minibuffer.h: comment ouf setTiimer
12038
12039         * minibuffer.C (ExecutingCB): constify res
12040         (peek_event): constify s
12041         (Set): constify ntext
12042         (Init): constify nicename
12043
12044         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12045
12046         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12047         (savePosition): use two params to Minibuffer::Set
12048         (restorePosition): ditto
12049
12050 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12051
12052         * lyx_main.C: include language.h
12053
12054         * Makefile.am (lyx_main.o): add language.h
12055
12056 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12057
12058         * exporter.C:
12059         * paragraph.C:
12060         * screen.C:
12061         * tabular.C:
12062         * CutAndPaste.C: include gettext.h
12063
12064         * lyxfont.h: remove old hack with ON and OFF.
12065
12066         * lyxparagraph.h:
12067         * lyxfont.h: do not include language.h...
12068
12069         * BufferView2.C:
12070         * LaTeXFeatures.C:
12071         * Painter.C:
12072         * bufferview_funcs.C:
12073         * font.C:
12074         * lyxfont.C:
12075         * text.C:
12076         * text2.C:
12077         * trans_mgr.C:
12078         * paragraph.C: ... but do it here instead
12079
12080 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12081
12082         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12083
12084         * tabular.C: small reformat
12085
12086         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12087         NEW_INSETS version
12088         (GetChar): ditto
12089         (BreakParagraph): ditto
12090         (SetOnlyLayout): ditto
12091         (SetLayout): ditto
12092
12093         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12094         with one arg less.
12095
12096         * lastfiles.C: removed most using decl, add std:: where needed
12097
12098         * buffer.C: ws changes
12099
12100         * MenuBackend.C (class compare_format): put into anon namespace
12101         (expand): constify label, names, action, action2
12102         (expand):
12103
12104         * text.C (SingleWidth): constify font
12105         (IsBoundary): constify rtl2
12106         (GetVisibleRow): constify ww
12107
12108         * LaTeX.C (deplog): constify logfile
12109
12110         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12111         start_x, end_x
12112         (workAreaExpose): constify widthChange, heightChange
12113
12114         * lyxrow.C (par): moved
12115         (height): moved
12116         (next): moved
12117         * lyxrow.h: as inlines here
12118
12119         * lyxfont.h (shape): moved from lyxfont.C
12120         (emph): moved from lyxfont.C
12121
12122         * lyxfont.C (LyXFont): use initialization list for all
12123         constructors
12124         (shape): move to lyxfont.h as inline
12125         (emph): move to lyxfont.h as inline
12126
12127
12128 2001-04-04  Juergen Vigna  <jug@sad.it>
12129
12130         * vspace.C: had to include stdio.h for use of sscanf
12131
12132 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12133
12134         * BufferView.h:
12135         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12136         independent of xforms.
12137
12138 2001-04-02  Juergen Vigna  <jug@sad.it>
12139
12140         * spellchecker.C: fixed namespace placing!
12141
12142 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12143
12144         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12145         the LyXParagraph * is 0.
12146
12147 2001-03-29  Juergen Vigna  <jug@sad.it>
12148
12149         * vspace.C: added support for %, c%, p%, l%.
12150         (stringFromUnit): added helper function.
12151         (asLatexString): changed to give right results for the %-values.
12152
12153         * buffer.C: convert the widthp in a width%.
12154
12155 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12156
12157         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12158         figureForm.[Ch].
12159
12160         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12161         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12162
12163         * lyx_cb.[Ch]: see above.
12164
12165         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12166         form1.[Ch].
12167
12168         * form1.[Ch]:
12169         * lyx.[Ch]: replaced by figure_form.[Ch].
12170
12171         * lyx_gui.C:
12172         * lyx_gui_misc.C:
12173         * lyxfunc.C: changed headers associated with above changes.
12174
12175 2001-03-27  Juergen Vigna  <jug@sad.it>
12176
12177         * BufferView_pimpl.C: set the temporary cursor right!
12178
12179 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12180
12181         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12182
12183 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12184
12185         * LString.h: removed "using std::getline"!
12186
12187         * BufferView_pimpl.C (Dispatch): changes due to changes in
12188         InsetInclude::Params.
12189
12190         * buffer.C (tag_name): removed redundant break statements as they were
12191         producing lots of warnings with my compiler.
12192
12193 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12194
12195         * LString.h: add "using std::getline" when using the real <string>.
12196
12197 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12198
12199         * buffer.C: removed bitset usage.
12200         PAR_TAG moved to an anonymous name space.
12201         (tag_name): new funtion, also in the anonymous namespace.
12202         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12203         (makeDocBookFile): clean code. Completed transition from string arrays
12204         to string vectors.
12205         (SimpleDocBookOnePar): code clean.
12206
12207 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12208
12209         * tabular.C: add some comments.
12210
12211 2001-03-22  Juergen Vigna  <jug@sad.it>
12212
12213         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12214         compatibility read a bit and fixed bug with minipage in different
12215         depth.
12216
12217 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12218
12219         * buffer.C (pop_tag): removed.
12220         (push_tag): removed.
12221         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12222         array replaced with vector. Added support for CDATA sections.
12223         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12224         at any nest level.
12225         (makeDocBookFile): XML conformant declaration of CDATA section,
12226         fixed bug related to <emphasis> in the first paragraph char.
12227         (sgmlOpenTag): exclude empty tags.
12228         (sgmlCloseTag): ditto.
12229
12230         * buffer.h (pop_tag): removed.
12231         (push_tag): removed.
12232
12233 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12234
12235         * language.h (Languages): added size_type and size().
12236
12237 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12238
12239         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12240         response on compability reading of minipages. One probliem is that
12241         the old usage of minipages was «flertydig»
12242
12243         * several files here and in subdirs: don't use static at file
12244         scope use anon namespaces instead.
12245
12246 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12247
12248         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12249         LaTeX output. This is necessary for Literate document
12250         processing.
12251
12252 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12253
12254         * buffer.C: insert hfill when needed.
12255
12256         * tabular.C (l_getline): use string::erase, small whitespace change.
12257
12258         * BufferView_pimpl.C: try the anon namespace.
12259         * WorkArea.C: ditto
12260
12261 2001-03-16  Juergen Vigna  <jug@sad.it>
12262
12263         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12264         otherwise it won't open options-dialogs.
12265
12266         * buffer.C: honor pextraWidth(p) on converting minipages.
12267
12268         * tabular.C (l_getline): changed the functions to strip trailing \r.
12269
12270 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12271
12272         * BufferView_pimpl.C:
12273         * minibuffer..C: added "using SigC::slot" declaration.
12274
12275 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12276
12277         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12278
12279         * text2.C: ditto
12280
12281         * text.C: ditto
12282
12283         * paragraph.C: ditto
12284
12285         * lyxtext.h: NO_PEXTRA
12286
12287         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12288
12289         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12290         * ParameterStruct.h: ditto
12291         * ParagraphParameters.h: ditto
12292         * lyxparagraph.h: ditto
12293
12294 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12295
12296         * buffer.C: add compability for minipage alignment.
12297         (latexParagraphs): remove unwanted pextra check.
12298
12299         * several files: remove CXX_WORKING_NAMESPACES
12300
12301         * buffer.C (pop_tag): tie is in namespace boost
12302
12303         * BufferView.h: noncopyable is in namespace boost
12304         * lyxlex.h: ditto
12305         * lyx_main.h: ditto
12306         * lyx_gui.h: ditto
12307         * layout.h: ditto
12308         * lastfiles.h: ditto
12309         * bufferlist.h: ditto
12310         * ShareContainer.h: ditto
12311         * LyXView.h: ditto
12312         * LyXAction.h: ditto
12313         * LaTeX.h: ditto
12314
12315 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12316
12317         * Merging changes from BRANCH_MVC back into HEAD.
12318
12319         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12320
12321 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * BufferView_pimpl.C: change from intl.C
12324
12325         * combox.h:
12326         * combox.C:
12327         * Makefile.am: move combox.*
12328
12329         * form1.h:
12330         * form1.C:
12331         * lyx_gui.C:
12332         * intl.h:
12333         * intl.C: remove dialog (covered by prefs)
12334
12335 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12336
12337         * lyxfunc.C (Dispatch): removed redundant break statement.
12338
12339 2001-03-14  Juergen Vigna  <jug@sad.it>
12340
12341         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12342
12343 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12344
12345         * buffer.C: add hack to fix compability reading of minipages.
12346
12347 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12348
12349         * buffer.C (getLists): Cleanup.
12350
12351 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12352
12353         * lyxfont.C (update): don't honor toggleall on font size.
12354
12355 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12356
12357         * bmtable.c:
12358         * bmtable.h:
12359         * Makefile.am: moved to frontends/xforms/
12360
12361         * lyx_gui_misc.C:
12362         * lyxfunc.C:
12363         * BufferView_pimpl.C: changes for moved mathpanel
12364
12365 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * gettext.h: fix gettext_init() in --disable-nls
12368
12369 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12370
12371         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12372
12373 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12374
12375         * lyx.C:
12376         * lyx.h: strip external form
12377
12378 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12379
12380         * BufferView_pimpl.C: add comment, destroySplash()
12381
12382 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * BufferView_pimpl.C:
12385         * LyXAction.C:
12386         * buffer.C:
12387         * commandtags.h:
12388         * lyxfunc.C: use re-worked insetinclude
12389
12390 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12391
12392         * buffer.C: add using std::stringstream.
12393
12394         * lyx_cb.C: readd using std::ios.
12395
12396         * buffer.C: add using std::map.
12397
12398         * BufferView_pimpl.C: add using std::vector.
12399
12400         * ShareContainer.h: add std:: to swap.
12401
12402         * buffer.h: add some typedefs
12403         * buffer.C (getLists): use them
12404         (getLists): renamed from getTocList.
12405         add a counter for the different float types and use it in the
12406         generated string.
12407         (getLists): use the same counter for the NEW_INSETS and the "non"
12408         NEW_INSETS
12409
12410         * lyx_cb.h: remove unused items, includes, using etc.
12411
12412         * ShareContainer.h: remove some commented code, add more comments
12413         and "documentation".
12414
12415 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12416
12417         * buffer.C (getTocList): make the list also when NEW_INSETS is
12418         defined.
12419
12420         * buffer.h: remove TocType
12421
12422         * buffer.C (getTocList): change to return a map<string,
12423         vector<TocItem> >, implement for dynamic number of list.
12424
12425         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12426         * text2.C (PasteSelection): adjust
12427         * CutAndPaste.C (pasteSelection): adjust
12428
12429         * FloatList.C (FloatList): update from the new_insets branch.
12430         * Floating.[Ch]: ditto
12431         * LaTeXFeatures.C: ditto
12432         * buffer.C: ditto
12433         * lyxlex_pimpl.C: ditto
12434
12435         * paragraph.C (Last): remove when NEW_INSETS is defined.
12436
12437         * other file: changes because of the above.
12438
12439 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12440
12441         * lyxparagraph.h: rename next to next_, previous to previous_,
12442         make them private for NEW_INSETS. Rename Next() to next(),
12443         Previous() to previous().
12444
12445         * other files: changes because of the above.
12446
12447 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12448
12449         * BufferView.h:
12450         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12451         problem.
12452
12453 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12454
12455         * main.C (main): pass lyx_localedir to gettext_init().
12456
12457         * gettext.h: remove locale_init and gettext_init macros
12458
12459         * gettext.C (locale_init): new function
12460         (gettext_init): new function
12461
12462         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12463         setlocale().
12464
12465 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12466
12467         * Moved credits to frontends:
12468         * credits.[Ch]: removed
12469         * credits_form.[Ch]: removed
12470         * lyx_gui_misc.C: remove credits stuff
12471         * Makefile.am:
12472
12473 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12474
12475         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12476
12477         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12478         unneeded destructor.
12479
12480         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12481         a standalone pointer again.
12482
12483         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12484
12485 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * Makefile.am:
12488         * filedlg.h:
12489         * filedlg.C:
12490         * LyXAction.C:
12491         * ToolbarDefaults.C:
12492         * bufferlist.C:
12493         * commandtags.h:
12494         * form1.C:
12495         * form1.h:
12496         * lyx_cb.C:
12497         * lyx_cb.h:
12498         * lyxfunc.h:
12499         * lyxfunc.C:
12500         * BufferView_pimpl.C: use new file dialog in GUII
12501
12502         * lyx_cb.h:
12503         * lyx_cb.C: remove LayoutsCB to Toolbar
12504
12505 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12506
12507         * ShareContainer.h (get): add std:: qualifier
12508
12509 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12510
12511         * ShareContainer.h: define a proper ShareContainer::value_type
12512         type (and use typename to please compaq cxx)
12513
12514 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12515
12516         * lyxparagraph.h: move serveral local vars to
12517         ParameterStruct/ParagraphParameters., use ShareContainer in
12518         FontTable., make vars in FontTable private and add getter and
12519         setter.
12520
12521         * paragraph.C: changes because of the above.
12522
12523         * lyxfont.h: remove copy constructor and copy assignment. (the
12524         default ones is ok), move number inside FontBits. move inlines to
12525         lyxfont.C
12526
12527         * lyxfont.C: add number to initializaton of statics, move several
12528         inlines here. constify several local vars. some whitespace
12529         cleanup. Dont hide outerscope variables.
12530
12531         * Spacing.h: add two new constructors to match the set methods.
12532
12533         * ShareContainer.h: new file, will perhaps be moved to support
12534
12535         * ParameterStruct.h: new file
12536
12537         * ParagraphParameters.h: new file
12538
12539         * ParagraphParameters.C: new file
12540
12541         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12542         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12543
12544         * BufferView_pimpl.C: ParagraphParameter changes.
12545         * buffer.C: Likewise.
12546         * bufferview_funcs.C: Likewise.
12547         * text.C: Likewise.
12548         * text2.C: Likewise.
12549
12550 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12551
12552         * lyxfind.C (LyXReplace): do not redefine default argument in
12553         implementation.
12554         (IsStringInText): ditto
12555         (SearchForward): ditto
12556         (SearchBackward): ditto
12557
12558 2001-03-06  Juergen Vigna  <jug@sad.it>
12559
12560         * lyxfind.C (IsStringInText): put parentes around expressions.
12561
12562 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12563
12564         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12565
12566 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12569
12570         * stl_string_fwd.h: add comment
12571
12572         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12573
12574         * tabular.h:
12575         * tabular.C: remove unused DocBook methods
12576
12577         * intl.C:
12578         * language.C:
12579         * paragraph.C:
12580         * buffer.C:
12581         killed DO_USE_DEFAULT_LANGUAGE
12582
12583 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12584
12585         * lyx_gui.C: do not include language.h.
12586
12587         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12588         arguments in function implementation.
12589
12590 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12591
12592         * BufferView_pimpl.C: add <ctime>
12593
12594 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12595
12596         * BufferView_pimpl.C: add using std::find_if
12597
12598 2001-02-27  José Matos  <jamatos@fep.up.pt>
12599
12600         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12601         by OnlyPath.
12602
12603 2001-02-11  José Matos  <jamatos@fep.up.pt>
12604
12605         * buffer.C (makeDocBookFile): command styles now have a parameter as
12606         "title" by default.
12607
12608 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12609
12610         * layout_forms.[Ch]: removed
12611         * lyx_cb.[Ch]: out character
12612         * lyx_gui.C: out character
12613         * lyx_gui_misc.C: out character
12614         * bufferview_funcs.C: : out character,
12615         added toggleall as parameter in ToggleAndShow
12616
12617 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12618
12619         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12620
12621         * text2.C (SetCurrentFont): Disable number property at boundary.
12622
12623 2001-02-26  Juergen Vigna  <jug@sad.it>
12624
12625         * lyxfunc.C (getStatus): added a string argument override function so
12626         that this is correctly called from LyXFunc::Dispatch if it contains a
12627         do_not_use_argument which is used!
12628         (Dispatch): added check for "custom" export and call appropriate func.
12629
12630 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12631
12632         * lyxrc.C: Add language_command_local, language_use_babel and
12633         language_global_options.
12634
12635         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12636
12637         * buffer.C (makeLaTeXFile): Use language_use_babel and
12638         language_global_options.
12639
12640 2001-02-23  Juergen Vigna  <jug@sad.it>
12641
12642         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12643         which works with LyXText and putted it inside BufferView. Here now we
12644         only call for that part the BufferView::Dispatch() function.
12645
12646         * BufferView.C (Dispatch): added.
12647
12648         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12649         functions which needs to use a LyXText over from LyXFunc.
12650         (MenuInsertLyXFile): added
12651         (getInsetByCode): added
12652         (moveCursorUpdate): added
12653         (static TEXT): added
12654
12655 2001-02-22  Juergen Vigna  <jug@sad.it>
12656
12657         * BufferView_pimpl.C (update): call a status update to see if LyXText
12658         needs it.
12659
12660 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12661
12662         * vc-backend.C (revert): implement for CVS
12663         (getLog): implement for CVS
12664
12665 2001-02-20  Juergen Vigna  <jug@sad.it>
12666
12667         * text2.C (ClearSelection): added BufferView param for inset_owner call
12668
12669         * lyxfunc.C (TEXT): added this function and use it instead of
12670         directly owner->view()-text of getLyXText().
12671
12672 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12673
12674         * src/layout_forms.C: out preamble
12675         * src/layout_forms.h: out preamble
12676         * src/lyx_cb.C: out preamble
12677         * src/lyx_cb.h: out preamble
12678         * src/lyx_gui.C: out preamble
12679         * src/lyx_gui_misc.C: out preamble
12680         * src/lyxfunc.C: connect with guii preamble
12681
12682 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12683
12684         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12685
12686 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12687
12688         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12689         whether to run bibtex.
12690
12691 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12692
12693         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12694
12695 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12696
12697         * Makefile.am (lyx_SOURCES): removed bibforms.h
12698
12699         * vspace.h: doxygen
12700
12701         * text.C (GetVisibleRow): make several local vars const
12702
12703         * tabular.C: small cleanup.
12704
12705         * lyxserver.C (callback): use compare instead of strncmp
12706
12707         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12708         inlines to after class or to paragraph.C
12709
12710         * lyxfont.h: remove friend operator!=
12711
12712         * converter.h: move friend bool operator< to non friend and after
12713         class def.
12714
12715         * combox.h: small cleanup
12716
12717         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12718         to inlines after class def.
12719
12720         * buffer.C (pop_tag): use string operations instead of strcmp
12721
12722         * bmtable.c: doxygen, small cleanup
12723
12724         * LaTeX.h: remove friend operator==
12725
12726 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12727
12728         * screen.C:
12729         * lyxrc.[Ch]:
12730         * lyxfunc.C:
12731         * lyxfont.[Ch]:
12732         * lyx_cb.C:
12733         * intl.[Ch]:
12734         * commandtags.h:
12735         * buffer.C:
12736         * WorkArea.[Ch]:
12737         * LyXAction.C:
12738         * BufferView_pimpl.C:
12739         * BufferView.[Ch]: remove cruft
12740
12741 2001-02-14  Juergen Vigna  <jug@sad.it>
12742
12743         * lyxfunc.C: removed #if 0 unused code
12744
12745         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12746
12747         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12748
12749         * text2.C (SetSelection): added a BufferView * parameter
12750
12751 2001-02-13  Juergen Vigna  <jug@sad.it>
12752
12753         * lyxfunc.C (Dispatch): fixed protected blank problem.
12754         * BufferView2.C (protectedBlank): added LyxText * parameter.
12755
12756         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12757         (AppendColumn): same as above for column_info.
12758
12759         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12760         (moveCursorUpdate): use a LyXText param for support of InsetText.
12761
12762         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12763         (tripleClick): ditto
12764
12765         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12766
12767         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12768
12769         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12770
12771         * text2.C (SetSelection): set correct update status if inset_owner
12772         (ToggleFree): ditto
12773
12774 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12775
12776         * tabular.C: remove some commented code.
12777
12778 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12779
12780         * BufferView_pimpl.C: call hideSplash()
12781
12782         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12783
12784         * include_form.h:
12785         * bibforms.h: remove
12786
12787         * lyxfunc.C:
12788         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12789           add LFUN_CHILD_CREATE
12790
12791         * counters.h: fix tiny typo
12792
12793         * lyx_cb.C:
12794         * lyx.h:
12795         * lyx_gui.C:
12796         * lyx.C: move splash to frontends/xforms/
12797
12798         * lyx_gui_misc.C: move Include and Bibform to frontends
12799
12800         * lyxvc.h: clarify comment
12801
12802         * vspace.C: tiny housekeeping
12803
12804 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12805
12806         * text.C (PrepareToPrint): RTL Fix.
12807
12808         * paragraph.C (GetUChar): New method.
12809         (String):  Use GetUChar.
12810
12811         * buffer.C (asciiParagraph): Use GetUChar.
12812
12813 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12814
12815         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12816
12817 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12818
12819         * buffer.h:
12820         * buffer.C: rename to getLogName(), handle
12821           build log / latex log nicely
12822
12823 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12824
12825         * MenuBackend.C:
12826         * MenuBackend.h: remove support for reference menuitem type.
12827
12828 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12829
12830         * BufferView_pimpl.C: housekeeping
12831         * BufferView_pimpl.h:
12832         * LyXView.h:
12833         * Makefile.am:
12834         * Timeout.C:
12835         * Timeout.h:
12836         * minibuffer.h: move Timeout GUI-I
12837
12838 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12839
12840         * lyxrc.C (read): Update converters data-structures.
12841
12842 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12843
12844         * LaTeX.h (operator!=): add operator != for Aux_Info
12845
12846 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12847
12848         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12849
12850         * LaTeXLog.C: deleted, useful code moved to Buffer
12851
12852         * buffer.h:
12853         * buffer.C: new function getLatexLogName()
12854
12855         * lyx_gui_misc.C:
12856         * lyx_gui.C:
12857         * lyxvc.C:
12858         * lyxvc.h:
12859         * lyxfunc.C: use frontends for LaTeX and VC logs
12860
12861 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12862
12863         * LaTeX.h: yet another std:: that Allan forgot.
12864
12865         * Variables.C (set): renamed from isset(), because this clashes
12866         with some HP-UX macros (grr).
12867
12868 2001-02-06  Allan Rae  <rae@lyx.org>
12869
12870         * LaTeX.h: Another bug fix.  Missing std:: this time.
12871
12872 2001-02-04  Allan Rae  <rae@lyx.org>
12873
12874         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12875         floats problem. I've left it commented out because it's not quite
12876         correct.  It should also test that the current object is a table or
12877         figure inset.  But I haven't gotten around to figuring out how to do
12878         that.  I *think* it'll be something like: "table" == inset.type()
12879
12880         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12881         bool.
12882
12883 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12884
12885         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12886         all the citation/databases/styles in the auxilary file.
12887         (run): Rerun latex if there was a babel language error.
12888
12889 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12890
12891         * text.C (Backspace): Preserve the font when changing newline char
12892         with a space.
12893         (BreakParagraph): If the cursor is before a space, delete the space.
12894
12895         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12896
12897 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12898
12899         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12900         new argument (code).
12901         (ChangeCitationsIfUnique): New method.
12902
12903         * paragraph.C (GetPositionOfInset): Handle bibkey.
12904
12905 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12906
12907         * BufferView_pimpl.h: change type of Position::par_pos to
12908         LyXParagraph::size_type.
12909
12910 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12911
12912         * BufferView_pimpl.C (savePosition, restorePosition): Write
12913         messages to minibuffer.
12914
12915 2001-01-28  José Matos  <jamatos@fep.up.pt>
12916
12917         * buffer.C (makeDocBookFile): adds support for document language.
12918         A silly restriction on the name of LatexCommand types where removed.
12919         Added support for CDATA sections, allows to chars unescaped, used
12920         among others in code, to avoid escape < and >.
12921
12922 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12923
12924         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12925         saved positions instrad of a stack. Furthermore, a position is
12926         stored using paragraph id/paragraph position.
12927
12928         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12929         Remove LFUN_REF_BACK.
12930
12931 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12932
12933         * converter.C (dvipdfm_options): New method.
12934
12935 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12936
12937         * vspace.C (isValidLength): Fix for empty input string.
12938
12939 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12940
12941         * LyXAction.C (init): change description of LFUN_FIGURE to
12942         "Insert Graphics"
12943
12944 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12945
12946         * LaTeX.C: add using directive
12947
12948 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12949
12950         * MenuBackend.C (expand): Fix the sorting of the formats.
12951
12952 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12953
12954         * lyx_main.C: tiny error message fix
12955
12956 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12957
12958         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12959         calling fl_initialize(). This fixes the problem with ',' as
12960         decimal separator in text files.
12961
12962 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12963
12964         * trans.C (process): Fix the keymap bug.
12965
12966 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12967
12968         * LaTeX.C (scanAuxFiles): New method. Provides support for
12969         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12970         (scanLogFile) Scan for "run BibTeX" messages.
12971
12972         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12973         OT1 font encoding. Also, load the aecompl package if the ae
12974         package is loaded.
12975
12976         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12977
12978 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12979
12980         * texrow.C (increasePos): turn two error messages into debug
12981         messages.
12982
12983 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12984
12985         * LaTeX.C (scanAux): Handle the \@input macro.
12986         (runBibTeX): Use scanAux().
12987
12988         * language.C (latex_options_): New field.
12989
12990         * LaTeXFeatures.C (getMacros): Add language macros.
12991
12992         * buffer.C (makeLaTeXFile): Small fix.
12993
12994 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12995
12996         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12997
12998         * text2.C: add a using directive.
12999
13000 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13001
13002         * BufferView2.C:
13003         * lyx_gui_misc.h:
13004         * lyxfr1.C:
13005         * lyxfunc.C: kill LyXBell.
13006
13007 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13008
13009         * text.C (IsBoundary): Remove the error message
13010
13011         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13012
13013         * lyxrc.C (setDefaults): Correct initialization value for
13014         font_norm_type.
13015
13016 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13017
13018         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13019         gotoError().
13020
13021         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13022         and GotoNextNote().
13023
13024         * src/LyXAction.C: Added reference-next.
13025
13026         * text.C (InsertChar): Use contains instead of strchr.
13027
13028         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13029
13030 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13031
13032         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13033         alignment commands (when needed).
13034
13035         * text.C (InsertChar): Add ':' to number separator chars.