]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Small cleanup, removal of self-aggrandizing comment
[lyx.git] / src / ChangeLog
1 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * lyxfunc.C (processKeySym): adjust
4         (dispatch): adjust
5         (dispatch): change arg name from ev to func, adjust
6         (sendDispatchMessage): ditto
7
8         * lyx_main.C (defaultKeyBindings): adjust keybindings
9         (deadKeyBindings): ditto
10
11         * kbsequence.C (addkey): return a FuncRequest
12
13         * kbmap.h (kb_key): struct var FuncRequest instead of int action. 
14
15         * kbmap.C (bind): take a FuncRequest as arg, adjust
16         (read): adjust
17         (lookup): adjust
18         (defkey): change to take a FuncRequest as arg, adjust
19         (findbinding): take a FuncRequest as arg, adjust. 
20
21         * funcrequest.h (operator=): added
22
23         * funcrequest.C (FuncRequest): default kb_action changed from
24         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
25
26         * buffer.C (dispatch): simplify
27         (dispatch): adjust to take a FuncRequest as arg, adjust
28
29         * boost.C (assertion_failed): change assertion message slightly
30
31         * ToolbarBackend.C (read): simplify
32
33         * MenuBackend.C (binding): adjust call to findbinding, add a
34         message if no binding is found.
35         (read): simplify
36         (expandToc): correct by adding a empty FuncRequest
37
38         * LyXAction.C: include <boost/assert.hpp>
39         (isPseudoAction): delete function
40         (LookupFunc): change name to...
41         (lookupFunc): this. change return type to FuncRequest.
42         (getActionName): take kb_action as arg, simplify
43         (funcHasFlag): add an assert, simplify.
44
45 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
46
47         * toc.C (action): return a FuncRequest, simplify
48
49         * lyxfunc.C (processKeySym): adjust
50         (getStatus): delete version that takes an int.
51         (getStatus): adjust
52         (dispatch): delete version that takes action as int
53         (dispatch): adjust
54         (sendDispatchMessage): simplify and adjust
55
56         * funcrequest.C (getArg): take unsigned int as arg
57
58         * ToolbarBackend.C (read): adjust
59         (add): delete version that takes func as a string.
60         (getIton): take a FuncRequest as arg
61
62         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
63         action.
64
65         * MenuBackend.C (MenuItem): add a new construct that only takes a
66         Kind, simplify the constructor use for submenus.
67         (add): adjust
68         (expandLastfiles): adjust
69         (expandDocuments): adjust
70         (expandFormats): adjust
71         (expandFloatListInsert): adjust
72         (expandFloatInsert): adjust
73         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
74
75         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
76         Remove class variables lyx_pseudo_map and lyx_arg_map
77
78         * LyXAction.C (searchActionArg): delete function
79         (getPseudoAction): delete function
80         (retrieveActionArg): delete function
81         (LookupFunc): make it return kb_action, simplify.
82         (getActionName): simplify
83
84         * factory.C (createInset): fix new bug
85
86 2003-09-19  Angus Leeming  <leeming@lyx.org>
87
88         * CutAndPaste.C (pasteSelection): remove fudge used to set the
89         masterFilename_ parameter in the include inset.
90
91         * factory.C (createInset): changes due to the changes to InsetInclude.
92
93 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
94
95         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
96
97 2003-09-18  Angus Leeming  <leeming@lyx.org>
98
99         * buffer.C:
100         * BufferView.C: pass the buffer when calling Inset::getLabelList,
101         Inset::fillWithBibKeys.
102         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
103
104 2003-09-18  Angus Leeming  <leeming@lyx.org>
105
106         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
107         variables.
108         (ctor): pass and store a 'Buffer const &'
109         (buffer): new member function.
110
111         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
112         '*this' to the LaTeXFeatures ctor.
113
114 2003-09-18  Angus Leeming  <leeming@lyx.org>
115
116         * LColor.h:
117         * lyxfont.C:
118         * lyxfont.h:
119         * lyxtext.h:
120         * text.C: rename EnumLColor as LColor_color.
121
122 2003-09-18  Angus Leeming  <leeming@lyx.org>
123
124         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
125         remove #include "insets/insetbase.h" from cursor.h.
126
127 2003-09-18  Angus Leeming  <leeming@lyx.org>
128
129         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
130         InsetOld_code to remove #include "inset.h".
131
132         * iterators.C: add #include "insets/inset.h"
133
134 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
135
136         * BufferView.C: remove more locking stuff that apparently doesn't
137         do anything sensible.
138
139 2003-09-16  André Pönitz  <poenitz@gmx.net>
140
141         * paragraph.[Ch]:
142         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
143           performance boost.
144
145 2003-09-16  Angus Leeming  <leeming@lyx.org>
146
147         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
148
149         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
150         arg/return type.
151
152         * paragraph.h: remove #include "lyxfont.h". Forward declare
153         LyXFont_size.
154
155 2003-09-16  Angus Leeming  <leeming@lyx.org>
156
157         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
158         of support/textutils.h.
159         (isWord): move the contents of support/textutils.h's IsWordChar here.
160
161         * buffer.C:
162         * lyxfind.C:
163         * rowpainter.C:
164         * text.C:
165         * text2.C: add #include "paragraph.h".
166
167         * rowpainter.C:
168         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
169
170 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
171
172         * main.C:
173         * lyx_main.C:
174         * lyx_cb.C:
175         * buffer.C:
176         * LaTeX.C: use namespace alias for lyx::support::os
177
178 2003-09-16  Angus Leeming  <leeming@lyx.org>
179
180         * bufferparams.C:
181         * bufferview_funcs.C:
182         * factory.C:
183         * lyxfunc.C:
184         * paragraph_pimpl.C:
185         * rowpainter.C:
186         * text.C: add #include "LColor.h".
187
188 2003-09-16  Angus Leeming  <leeming@lyx.org>
189
190         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
191         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
192         return LyXFont &.
193         Store the FontBits::color variable as an int rather than as an
194         LColor::colorso that we can move LColor.h out of the lyxfont.h header
195         file.
196
197         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
198         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
199         string calls together.
200
201         * lyxrc.C: add #include "LColor.h".
202
203 2003-09-15  Angus Leeming  <leeming@lyx.org>
204
205         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
206         a cow_ptr.
207
208 2003-09-15  Angus Leeming  <leeming@lyx.org>
209
210         * LColor.h: add an EnumLColor wrapper for LColor::color.
211
212         * lyxfont.[Ch] (color, setColor, realColor):
213         * lyxtext.h, text.C (backgroundColor):
214         pass EnumLColor args to/from the functions, rather than LColor::color
215         ones.
216
217         * lyxfont.h:
218         * lyxtext.h: forward declare EnumLColor.
219
220         * lyx_main.C: add #include "LColor.h".
221
222 2003-09-15  Angus Leeming  <leeming@lyx.org>
223
224         * .cvsignore: add lyx-gtk.
225
226 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
227
228         * Chktex.C
229         * LaTeX.C
230         * LaTeXFeatures.C
231         * ParagraphParameters.C
232         * Spacing.C
233         * buffer.C
234         * bufferparams.C
235         * bufferview_funcs.C
236         * chset.C
237         * counters.C
238         * funcrequest.C
239         * lyxfont.C
240         * lyxgluelength.C
241         * lyxlength.C
242         * paragraph.C
243         * paragraph_funcs.C
244         * text3.C
245         * vc-backend.C: remove usage of STRCONV
246
247 2003-09-15  Angus Leeming  <leeming@lyx.org>
248
249         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
250         explicitly define the color passed to the painter.
251
252 2003-09-15  Angus Leeming  <leeming@lyx.org>
253
254         * bufferparams.C (BufferParams): reorder member initializers to avoid
255         compiler warning.
256
257 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
258
259         * CutAndPaste.C (pasteSelection): remove an outdated #warning
260         * text.C (updateRowPositions): remove an unusual nop
261
262 2003-09-12  André Pönitz  <poenitz@gmx.net>
263
264         * BufferView_pimpl.C:
265         * Bullet.C:
266         * layout.h:
267         * lyxfunc.C:
268         * lyxlayout.[Ch]:
269         * lyxtextclass.C:
270         * rowpainter.C:
271         * text.C:
272         * text2.C:
273         * Counters.[Ch]: finish the 'automatic counters' job
274
275 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
276
277         * aspell.C: include <boost/assert.cpp> (compile fix)
278
279 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
280
281         * boost.C (assertion_failed): use lyx::support::abort instead of
282         assert.
283
284 2003-09-10  Angus Leeming  <leeming@lyx.org>
285
286         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
287         with their _fwd progeny.
288
289 2003-09-09  Angus Leeming  <leeming@lyx.org>
290
291         134 files throughtout the source tree: replace 'using namespace abc;'
292         directives with the appropriate 'using abc::xyz;' declarations.
293
294 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
295
296         * boost.C (emergencyCleanup): moved here from LAssert.c
297         (assertion_failed): new function, called by BOOST_ASSERT
298
299         * several files: change Assert to BOOST_ASSERT
300
301 2003-09-09  Angus Leeming  <leeming@lyx.org>
302
303         * buffer.[Ch]: Add an Impl class and move Buffer's member
304         variables into it. As a result move several header files out of
305         buffer.h.
306
307         Add header files to lots of .C files all over the tree as a result.
308
309 2003-09-09  Angus Leeming  <leeming@lyx.org>
310
311         * buffer.[Ch]: make Buffer's member variables private. Add
312         accessor functions.
313
314         Lots of changes all over the tree as a result.
315
316 2003-09-08  Angus Leeming  <leeming@lyx.org>
317
318         * graph.C: #include <config.h>.
319
320 2003-09-08  Angus Leeming  <leeming@lyx.org>
321
322         * BranchList.C:
323         * BufferView.C:
324         * BufferView_pimpl.C:
325         * CutAndPaste.C:
326         * DepTable.C:
327         * LaTeX.C:
328         * LaTeXFeatures.C:
329         * LyXAction.C:
330         * MenuBackend.C:
331         * TextCache.C:
332         * aspell.C:
333         * buffer.C:
334         * bufferlist.C:
335         * changes.C:
336         * chset.C:
337         * converter.C:
338         * counters.C:
339         * debug.C:
340         * graph.C:
341         * ispell.C:
342         * lyx_cb.C:
343         * lyxfind.C:
344         * lyxfunc.C:
345         * lyxlex_pimpl.C:
346         * lyxrc.C:
347         * lyxrow.C:
348         * paragraph.C:
349         * rowpainter.C:
350         * texrow.C:
351         * text.C:
352         * text2.C:
353         * toc.C: remove redundant using directives.
354
355 2003-09-07  Angus Leeming  <leeming@lyx.org>
356
357         * LaTeXFeatures.h: remove #include "support/types.h".
358         * ToolbarBackend.h: remove #include <algorithm>.
359         * changes.h: remove #include <ctime>.
360         * debug.h: remove #include <iosfwd>.
361         * graph.h: remove #include "support/std_string.h".
362         * lyx_main.h: remove #include <csignal>.
363         * lyxlex_pimpl.h: remove #include <fstream>.
364         * sgml.h: remove #include <algorithm>, <utility>.
365         * toc.h: remove #include "support/std_ostream.h".
366         Add #include <iosfwd>.
367
368 2003-09-07  Angus Leeming  <leeming@lyx.org>
369
370         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
371
372         * converter.h: forward declare LatexRunParams.
373         * encoding.h: remove #include "lyxrc.h".
374         * lyxtext.h: remove #include "LColor.h".
375         * lyxtextclass.h: remove #include "support/types.h".
376         * trans.h: remove #include "tex-accent.h".
377         * trans_mgr.h: remove #include "tex-accent.h".
378         * insets/inset.h: remove #include "support/types.h", <vector>.
379         * insets/insetcollapsable.h: remove #include "LColor.h".
380         * insets/insetinclude.h: remove #include "dimension.h".
381         * insets/insetlatexaccent.h: remove #include "dimension.h".
382         * insets/insetoptarg.h:: remove #include "insettext.h".
383         * insets/insettext.h: remove #include "dimension.h",
384         <boost/shared_ptr.hpp>
385
386         * insets/renderers.h: add #include "dimension.h".
387         * insets/updatableinset.h: add #include "support/types.h".
388
389         * many .C files: Associated changes.
390
391 2003-09-06  Angus Leeming  <leeming@lyx.org>
392
393         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
394         one, inside testInvariant.
395
396         * PrinterParams.C: new file.
397         * PrinterParams.[Ch]: move the function bodies out of line.
398
399 2003-09-06  Angus Leeming  <leeming@lyx.org>
400
401         * ParagraphParameters.h: forward declare ParameterStruct rather than
402         including its header file.
403         (depth): moved out-of-line.
404
405 2003-09-06  Angus Leeming  <leeming@lyx.org>
406
407         * BufferView_pimpl.h:
408         * kbmap.h:
409         * kbsequence.h:
410         * lyxfunc.h: forward declare LyXKeySym rather than
411         #include "frontends/LyXKeySym.h".
412
413         * BufferView_pimpl.C:
414         * kbmap.C:
415         * kbsequence.C:
416         * lyxfunc.C: associated changes.
417
418 2003-09-06  Angus Leeming  <leeming@lyx.org>
419
420         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
421         As a result, can remove the #include "insets/inset.h" from BufferView.h
422
423 2003-09-06  Angus Leeming  <leeming@lyx.org>
424
425         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
426         As a result, can remove the #include "insets/inset.h" from BufferView.h
427
428 2003-09-06  Angus Leeming  <leeming@lyx.org>
429
430         * buffer_funcs.C:
431         * buffer.h:
432         * bufferlist.C:
433         * BufferView.C:
434         * bufferview_funcs.C:
435         * BufferView_pimpl.C:
436         * CutAndPaste.C:
437         * lyx_cb.C:
438         * lyxfunc.C:
439         * paragraph.h:
440         * ParagraphParameters.C:
441         * tabular.C:
442         * text3.C:
443         * toc.C:
444         * undo_funcs.C:
445         * frontends/controllers/ControlDocument.C:
446         * insets/insetcaption.C: rearrange the #includes into some sort of
447         coherent order.
448
449         * buffer.h: remove #includes ErrorList.h, undo.h
450
451 2003-09-06  Angus Leeming  <leeming@lyx.org>
452
453         * support/types.h: add a 'depth_type' typedef, used to store the
454         nesting depth of a paragraph.
455
456         * paragraph.h:
457         * ParameterStruct.h: use this lyx::depth_type typedef rather than
458         defining explicitly.
459
460         * buffer.h:
461         * paragraph_funcs.h:
462         * ParagraphParameters.h:
463         * sgml.h: use lyx::depth_type rather than Paragraph or
464         ParameterStruct's depth_type.
465
466         * buffer.h
467         * paragraph_funcs.h: no need to #include paragraph.h anymore.
468
469         * BufferView.C:
470         * BufferView_pimpl.C:
471         * CutAndPaste.C:
472         * ParagraphParameters.C:
473         * buffer_funcs.C:
474         * bufferlist.C:
475         * bufferview_funcs.C:
476         * lyx_cb.C:
477         * lyxfunc.C:
478         * tabular.C:
479         * text3.C:
480         * toc.C:
481         * undo_funcs.C:
482         * frontends/LyXView.C:
483         * frontends/controllers/ControlDocument.C:
484         * frontends/controllers/ControlErrorList.C:
485         * insets/insetbibitem.C:
486         * insets/insetbranch.C:
487         * insets/insetcaption.C:
488         * insets/insetcollapsable.C:
489         * insets/insetenv.C:
490         * insets/insetert.C:
491         * insets/insetfloat.C:
492         * insets/insetfoot.C:
493         * insets/insetfootlike.C:
494         * insets/insetnewline.C:
495         * insets/insetquotes.C:
496         * insets/insettabular.C:
497         * insets/insettext.C:
498         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
499
500         * frontends/controllers/ControlChanges.C: #include "changes.h".
501
502 2003-09-06  Angus Leeming  <leeming@lyx.org>
503
504         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
505         than #including paragraph.h.
506
507         * ParagraphList.h:
508         * RowList.h: deleted. Superfluous.
509
510         * CutAndPaste.h:
511         * iterators.h:
512         * lyxcursor.h:
513         * lyxtext.h:
514         * text_funcs.h:
515         * undo.h:
516         * undo_funcs.h:
517         * insets/inset.h:
518         * insets/insettext.h: use ParagraphList_fwd.h rather than
519         ParagraphList.h.
520
521         * paragraph.h: don't forward declare ParagraphList.
522
523         * buffer.h:
524         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
525         rather than ParagraphList.h. paragraph.h is still needed for the
526         Paragraph::depth_type parameters.
527
528         * textcursor.h: enable it to compile stand-alone in light of the
529         above changes.
530
531         * bufferview_funcs.C:
532         * iterators.C:
533         * lyxfunc.C:
534         * lyxrow_funcs.C:
535         * paragraph.C:
536         * rowpainter.C:
537         * text.C:
538         * text2.C:
539         * text3.C:
540         * text_funcs.C:
541         * textcursor.C:
542         * undo.C:
543         * frontends/controllers/ControlParagraph.C:
544         * frontends/controllers/ControlTabular.C:
545         * insets/insetmarginal.C:
546         * insets/insetminipage.C:
547         * insets/insetnote.C:
548         * insets/insetoptarg.C: add header files needed to compile again.
549
550 2003-09-06  Angus Leeming  <leeming@lyx.org>
551
552         * RowList_fwd.h: new file, forward-declaring Row rather than
553         #including lyxrow.h.
554
555         * lyxrow_funcs.h:
556         * lyxtext.h:
557         * paragraph.h:
558         * insets/insettext.h: use it instead of RowList.h
559
560         * bufferview_funcs.C:
561         * lyxfunc.C:
562         * lyxrow_funcs.C:
563         * paragraph.C:
564         * rowpainter.C:
565         * text.C:
566         * text2.C:
567         * text3.C: #include "RowList.h".
568
569 2003-09-05  Angus Leeming  <leeming@lyx.org>
570
571         * factory.C (createInset):
572         * vspace.C (c-tor): replace sscanf call with an istringstream.
573         * ispell.C: re-add missing HP/UX headers.
574         * lyxserver.C: re-add missing  os2 headers.
575
576 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
577
578         * BranchList.C:
579         * graph.C:
580         * ispell.C:
581         * lastfiles.C:
582         * lyx_cb.C:
583         * lyxserver.C:
584         * texrow.C:
585         * text3.C: re-add missing system headers, needed for 2.95.2.
586
587 2003-09-05  Angus Leeming  <leeming@lyx.org>
588
589         Changes most place everywhere due to the removal of using directives
590         from support/std_sstream.h.
591
592 2003-09-05  Angus Leeming  <leeming@lyx.org>
593
594         Replace LString.h with support/std_string.h,
595         Lsstream.h with support/std_sstream.h,
596         support/LIstream.h with support/std_istream.h,
597         support/LOstream.h with support/std_ostream.h.
598
599         Changes resulting throughout the tree.
600
601 2003-09-05  Angus Leeming  <leeming@lyx.org>
602
603         * sgml.h: ensure that the header file can be compiled stand-alone.
604         * *.C: strip out redundant #includes. (320 in total.)
605
606 2003-09-04  Angus Leeming  <leeming@lyx.org>
607
608         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
609         here (from getPackages).
610
611         * debug.[Ch]: add a new EXTERNAL tag.
612
613 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
614
615         * text2.C (cursorEnd): simplify
616         (setCursor): adjust
617         (getColumnNearX): adjust
618
619         * text.C (computeBidiTables): adjust
620         (fill): adjust
621
622         * rowpainter.C (paintChars): adjust
623         (paintSelection): adjust
624         (paintChangeBar): adjust
625         (paintText): adjust
626
627         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
628         lastPos instead.
629         (numberOfSeparators): adjust
630
631 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
632
633         * LyXAction.C:
634         * box.[Ch]:
635         * lfuns.h:
636         * lyxfunc.C:
637         * text3.C: Restricts the mouse click functionality
638         of insets like bibtex, include, toc and floatlist to the visible
639         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
640         up the dialogs. Cursor has to be in front of the inset (i.e.
641         start of row) for this to function.
642
643 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
644
645         * bufferview_funcs.C (currentState): output row information
646
647 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
648
649         * bufferview_funcs.C (currentState): output paragraph position
650
651 2003-09-04  Angus Leeming  <leeming@lyx.org>
652
653         * FloatList.h: move out #include "Floating.h".
654         * LaTeX.h: move out #include "DepTable.h".
655         * LyXAction.h: move out #include "funcrequest.h".
656         * buffer.h: move out #include "author.h", "iterators.h".
657         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
658         * lyx_main.h: move out #include "errorlist.h".
659         * lyxfunc.h: move out #include "FuncStatus.h".
660         * lyxtext: move out #include "lyxcursor.h".
661         * paragraph_pimpl.h: move out #include "counters.h".
662
663 2003-09-03  Angus Leeming  <leeming@lyx.org>
664
665         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
666         preamble_snippets list, enabling us to add snippets to the preamble
667         only if the snippet was not there already.
668
669 2003-09-04  Angus Leeming  <leeming@lyx.org>
670
671         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
672
673 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
674
675         * lyxfunc.C (dispatch): if fitCursor did something be sure to
676         update
677
678 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
679
680         * BranchList.C: point fix, earlier forgotten
681
682 2003-09-02  Angus Leeming  <leeming@lyx.org>
683
684         * box.C (contains): renamed from 'contained' after a fantastic
685         amount of hot air.
686
687 2003-09-02  John Levon  <levon@movementarian.org>
688
689         * BufferView.C:
690         * lyxcursor.h:
691         * lyxcursor.C:
692         * lyxfunc.C:
693         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
694
695 2003-09-02  John Levon  <levon@movementarian.org>
696
697         * text2.C: simplification of cursorEnd(), including partial
698         fix for bug 1376
699
700 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
701
702         * buffer.C (readFile): add a space
703
704 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
705
706         * BufferView_pimpl.C (update): remove bogus fitCursor() call
707
708 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
709
710         * buffer.C (readFile): new function, take a filename and a
711         ParagraphList::iterator
712         (readFile): adjust
713         (readFile): adjust, make it private. don't use setStream, make
714         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
715         always contain the filename.
716
717         * BufferView.C (insertLyXFile): simplify and make it work for
718         gzipped files.
719
720 2003-08-30  John Levon  <levon@movementarian.org>
721
722         * Makefile.am: fix dist (from Kayvan)
723
724 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
725
726         * most files: change to use const Buffer refs
727
728 2003-08-27  André Pönitz  <poenitz@gmx.net>
729
730         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
731         on top of ownerPar().
732
733 2003-08-27  John Levon  <levon@movementarian.org>
734
735         * funcrequest.C: properly initialise POD members
736
737 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
738
739         * lyxtext.h (top_y): move top_y from here
740         * text.C:
741         * text2.C:
742         * text3.C:
743         * BufferView.[Ch]:
744         * BufferView_pimpl.[Ch]: to here
745         * frontends/screen.C:
746         * insets/insettabular.C:
747         * insets/insettext.C: adjust
748         * rowpainter.[Ch] (paintRows): remove LyXText & argument
749
750 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
751
752         * BufferView.[Ch]:
753         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
754
755 2003-08-26  André Pönitz  <poenitz@gmx.net>
756
757         * paragraph_func.[Ch] (outerPar): new function
758
759         * paragraph.C:
760         * paragraph_funcs.C:
761         * paragraph_funcs.h:
762         * paragraph_pimpl.C:
763         * text2.C: remove Inset::par_owner
764
765 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
766
767         * lyxrow_funcs.C:
768         * lyxtext.h:
769         * text.C:
770         * text2.C: eliminates the needFullRow/display() stuff
771         altogether, putting the logic in metrics/draw in the insets.
772
773 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
774
775         * text2.C (redoParagraphInternal, redoParagraphs):
776         * text.C (redoParagraph): add a call to updateRowPositions at the
777         end of each 'metrics-like' call. Remove all others.
778         (getRow): remove the 'y-computing' version.
779         (getRowNearY): do not compute nor return the real y. Solve the
780         'y < 0' problem and simplify.
781
782 2003-08-22  Angus Leeming  <leeming@lyx.org>
783
784         * *.[Ch]: clean-up of licence and author blurbs.
785         Also move config.h out of a few .h files and into a few .C files.
786
787 2003-08-22  André Pönitz  <poenitz@gmx.net>
788
789         * lyxrow.[Ch]: add x_ and *fill_ members
790
791         * lyxtext.h:
792         * text.C:
793         * rowpainter.C:
794         * text2.C: adjust/remove prepareToPrint() calls
795
796 2003-08-22  André Pönitz  <poenitz@gmx.net>
797
798         * lyxrow.[Ch]: add  end_ member
799
800         * lyxrow_funcs.C: use LyXRow::end_
801
802         * lyxtext.h (singleWidth): add LyXFont parameter
803
804         * rowpainter.C:
805         * text2.C: adjust LyXText::singleWidth() calls
806
807         * text.C (redoParagraph): simplify row breaking logic
808
809
810 2003-08-19  André Pönitz  <poenitz@gmx.net>
811
812         * funcrequest.C: initialize button_ member
813
814         * text3.C:
815         * rowpainter.[Ch]: interface consolidation
816
817 2003-08-18  André Pönitz  <poenitz@gmx.net>
818
819         * BufferView.C:
820         * BufferView_pimpl.C:
821         * lyxfind.C:
822         * paragraph_funcs.C:
823         * rowpainter.C:
824         * text3.C: remove LyXScreen::draw() and fitCursor calls
825
826         * BranchList.h: remove spurious semicolons
827
828         * MenuBackend.C: fix branchlist related crash
829
830 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
831
832         * BranchList.[Ch]:
833         * InsetList.[Ch]:
834         * LColor.[Ch]:
835         * LyXAction.C:
836         * Makefile.am:
837         * MenuBackend.[Ch]:
838         * bufferparams.[Ch]:
839         * factory.C:
840         * lfuns.h:
841         * lyxfunc.C:
842         * text3.C: implements the 'branch inset'
843         idea. This allows the output of various versions of a document
844         from a single source version, selectively outputing or suppressing
845         output of parts of the text.
846         This implementation contains a 'branch list editor' in a separate
847         tab of the document settings dialog. Branches are user definable
848         and have a "display colour" to distinguish them on-screen.
849
850         ColorHandler was somewhat cleaned up.
851         (1) make possible a dynamically growing LColor list by allowing
852         the graphic context cache to grow along (vector);
853         (2) eliminate an IMHO unnecessary step in colour allocation.
854
855 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
856
857         * BufferView_pimpl.C: compile fix
858
859 2003-08-15  André Pönitz  <poenitz@gmx.net>
860
861         * rowpainter.C: remove extra metrics calls
862
863         * lyxtext.h: merge the two constructors into a single one,
864           pass reference to owner's par list
865
866         * BufferView_pimpl.C:
867         * text.C:
868         * text2.C: adjust
869
870 2003-08-15  André Pönitz  <poenitz@gmx.net>
871
872         * lyxrow_funcs.[Ch]:
873         * lyxtext.h:
874         * paragraph.h:
875         * paragraph_funcs.C:
876         * rowpainter.C:
877         * text.C:
878         * text2.C:
879         * text3.C:
880         * text_funcs.C: split LyXText::rowlist_ into individual
881         Paragraph::rows_ chunks
882
883         * BufferView.[Ch]:
884         * BufferView_pimpl.[Ch]:
885         * lyxfind.C:
886         * lyxtext.h:
887         * text3.C: remove toggleSelection()
888
889 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
890
891         * bufferlist.C: beautify two alerts (shorter text of buttons)
892         * buffer.C: Remove redundant ' ' from message
893         * tabular.h:
894         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
895         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
896         rename VALIGN_CENTER to VALIGN_MIDDLE
897
898 2003-08-11  André Pönitz  <poenitz@gmx.net>
899
900         * lyxtext.h (getPar):
901         * text.C: new function
902
903 2003-08-11  André Pönitz  <poenitz@gmx.net>
904
905         * Makefile.am:
906         * tracer.[Ch]: remove unneeded files
907
908         * InsetList.[Ch]: remove resizeInsetsLyXText()
909
910         * lyxtext.h:
911         * text.C:
912         * text2.C:
913         * text3.C: merge insertParagraphs() and appendParagraph()
914         remove breakAgain(), update()
915
916         * BufferView_pimpl.[Ch]:
917         * bufferview_funcs.[Ch]:
918         * lyxfunc.C:
919         * paragraph.[Ch]:
920         * rowpainter.C:
921         * tabular.C: adjust after text & InsetList changes.
922
923 2003-08-08  André Pönitz  <poenitz@gmx.net>
924
925         * text.C (insertChar, backspace): replace rowlist fiddling
926         with rebreak of full par
927
928         * lyxtext.h:
929         * text.C (breakAgainOneRow, redoHeightOfParagraph,
930         checkParagraph, updateInset): removed
931
932 2003-08-07  André Pönitz  <poenitz@gmx.net>
933
934         * paragraph.C:
935         * text3.C: merge some LFUN handlers, remove dead code
936
937 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
938
939         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
940
941 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
942
943         * text2.C (DEPM): fix part of bug 1255 and 1256
944
945 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
946
947         * BufferView_pimpl.C (workAreaDispatch): change to use
948         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
949         that are no mouse related.
950
951 2003-08-05  André Pönitz  <poenitz@gmx.net>
952
953         * BufferView.[Ch]:
954         * BufferView_pimpl.[Ch]:
955         * bufferview_funcs.C:
956         * text2.C:
957         * text3.C: rip out "deep update"
958
959         * textcursor.[Ch] (last_sel_cursor): remove unused member
960
961 2003-08-04  André Pönitz  <poenitz@gmx.net>
962
963         * BufferView.[Ch]:
964         * BufferView_pimpl.[Ch]:
965         * ParagraphParameters.C:
966         * bufferview_funcs.C:
967         * lyx_cb.C:
968         * lyxfind.C:
969         * lyxfunc.C:
970         * text.C:
971         * text2.C:
972         * text3.C: replace "complicated" BufferView::update(...) calls with
973         simpler ones.
974
975         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
976
977 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
978
979         * Makefile.am (lyx_SOURCES): add paper.h
980
981 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
982
983         * Makefile.am: move things around so that both lyx-qt and
984         lyx-xforms can be built (according to --with-frontend). Then lyx
985         is a symbolic link to lyx-[firstfrontend]
986
987 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
988
989         * Always use std::endl with lyxerr
990
991 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
992
993         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
994
995 2003-08-01  André Pönitz  <poenitz@gmx.net>
996
997         * BufferView.[Ch]:
998         * BufferView_pimpl.[Ch]:
999         * lyxfunc.C:
1000         * text3.C: merge BufferView::repaint() and BufferView::update()
1001
1002 2003-08-01  José Matos  <jamatos@lyx.org>
1003
1004         * buffer.[Ch]: file_format is no longer a buffer data element.
1005
1006 2003-08-01  André Pönitz  <poenitz@gmx.net>
1007
1008         * BufferView.C:
1009         * lyxtext.h:
1010         * text.C:
1011         * text2.C: make redoParagraph more independent of current cursor
1012
1013         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1014         * text.C:
1015         * text2.C: remove unneeded members
1016
1017 2003-07-30  André Pönitz  <poenitz@gmx.net>
1018
1019         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1020
1021         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1022           create a single function...
1023
1024         * paragraph_funcs.C (moveItem): ... here.
1025
1026         * text.C:
1027           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1028
1029 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1030
1031         * LColor.[Ch]: Add comment and greyedout logical colors.
1032
1033 2003-07-30  André Pönitz  <poenitz@gmx.net>
1034
1035         * tabular.C: don't use Assert too heavily. This crashes where it
1036           shouldn't
1037
1038 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1039
1040         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1041         is disabled (bug 1232)
1042
1043 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1044
1045         * factory.C: limited 'arg' scope
1046
1047 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1048
1049         * factory.C: fixed Note submenu issues
1050
1051 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1052
1053         * factory.C: submenu for Note/Comment/Greyedout
1054
1055 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1056
1057         * lyx_main.C (LyX):
1058         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1059
1060 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1061
1062         * LaTeXFeatures.C:
1063         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1064         greyedout. Patch provided by Jürgen Spitzmüller.
1065
1066 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1067
1068         * kbmap.C (read): fix error message when reading bind files
1069
1070 2003-07-29  Angus Leeming  <leeming@lyx.org>
1071
1072         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1073         certainly does not do what it purports to do. I am doing it, and
1074         us, a favour by killing it.
1075
1076 2003-07-28  José Matos  <jamatos@lyx.org>
1077
1078         * buffer.C (readBody, do_writeFile):
1079         * paragraph.C(readParagraph): \end_document replaces \the_end.
1080
1081 2003-07-29  André Pönitz  <poenitz@gmx.net>
1082
1083         * BufferView.[Ch]:
1084         * BufferView_pimpl.[Ch]:
1085         * lyxfunc.C:
1086         * text2.C:
1087         * text3.C:
1088         * textcursor.[Ch]: remove toggleToggle & Co
1089
1090 2003-07-28  José Matos  <jamatos@fep.up.pt>
1091
1092         * buffer.C (readParagraph):
1093         * params_func (readParToken, readParagraph):
1094         * paragraph.C (write): \layout -> \begin_layout.
1095
1096 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1097
1098         * lyxlex_pimpl.C (setFile): clean up slightly.
1099
1100         * bufferparams.h: add compressed var
1101
1102         * buffer_funcs.C (readFile): adjust for LyXLex change
1103         (newFile): ditto + simplify
1104
1105         * buffer.C (writeFile): handle writing of compressed files
1106
1107         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1108         Check if the file is compressed and set a bufferparm if so.
1109
1110         * Makefile.am (lyx_LDADD): remove explicit -lz
1111
1112 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1115         makeDocBookFile): put the real LyX version in the first line of
1116         the file
1117
1118         * version.h:
1119         * version.C.in: remove lyx_docversion
1120
1121         * tabular.C (write_attribute): add a template-based version to
1122         write enums properly
1123
1124 2003-07-28  André Pönitz  <poenitz@gmx.net>
1125
1126         * lyxtext.h:
1127         * text.C:
1128         * text2.C:
1129         * text3.C: use doubles again for x-coordinates. They are needed.
1130
1131 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1132
1133         * messages.C (getLocaleDir): use lyx_localedir()
1134
1135         * lyxlex_pimpl.C (setFile): compress stuff
1136
1137         * buffer.C (writeFile): add some compression stuff
1138         (do_writeFile): new func, dont call expliti close... will this
1139         breake anything?
1140
1141         * Makefile.am (lyx_LDADD): add -lz
1142
1143 2003-07-28  José Matos  <jamatos@fep.up.pt>
1144
1145         * buffer.C: increment file format.
1146         * paragraph_funcs (readParagraph, readParToken):
1147         * paragraph.C (readParagraph): add \end_layout.
1148
1149 2003-07-27  Angus Leeming  <leeming@lyx.org>
1150
1151         * Makefile.am: remove special casing for configure-time setting of
1152         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1153
1154         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1155         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1156
1157 2003-07-26  André Pönitz  <poenitz@gmx.net>
1158
1159         * paragraph_func.[Ch]:
1160         * paragraph.C (realizeFont): inline it whereever it is used
1161
1162         * rowpainter.C:
1163         * text.C:
1164         * text2.C:
1165         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1166
1167
1168 2003-07-26  André Pönitz  <poenitz@gmx.net>
1169
1170         *       lyxtext.h:
1171         * text.C:
1172         * text2.C: get rid of LyXText::need_break_row
1173
1174 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1175
1176         * toc.[Ch]: put namespace toc inside namespace lyx
1177
1178         * MenuBackend.C (expandToc2): adjust for lyx::toc
1179         (expandToc): ditto
1180
1181         * lyxfunc.C (dispatch): adjust for lyx::find
1182
1183         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1184         lyx::find instead. Reorganize a bit.
1185         (LyXReplace): rename to replace
1186         (LyXFind): rename to find
1187
1188         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1189         (dispatch): ditto
1190
1191 2003-07-26  André Pönitz  <poenitz@gmx.net>
1192
1193         * text.C (setHeightOfRow): restrict scope of temporary variable
1194
1195         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1196           code (never has been used?)
1197
1198 2003-07-27  Asger Alstrup  <alstrup@local>
1199
1200         * text.C (fill): Optimise algorithm to exploit that we can reuse
1201         the LyXFont for many characters.
1202         (setHeightOfRow): Same thing.
1203         (rowBreakPoint): Same thing.
1204
1205 2003-07-26  Asger Alstrup  <alstrup@local>
1206
1207         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1208
1209         * text.C (singleWidth): Spurious font copying in hot-spot
1210         singleWidth avoided. Reorder tests for arabic for efficiency.
1211
1212         * text.C (fill): handle empty paragraphs better.
1213
1214 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1215
1216         * ispell.C:
1217         * encoding.h: add includes
1218
1219         * lyxrc.C: remove reading of bind files
1220
1221         * lyx_main.C (init): setup bindings and menus only if we have a
1222         gui.
1223
1224         * kbmap.C (read): new method. Do the actual reading of bind
1225         files.
1226
1227         * converter.C (dvipdfm_options):
1228         * bufferparams.C:
1229         * lyxrc.C (read):
1230         (output): adapt PAPER_* enums.
1231
1232         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1233
1234         * bufferparams.h: remove paper-related enums from there
1235
1236         * paper.h: New file. A trivial header file to hold paper-related
1237         enums. It should later expand to contain many paper-related
1238         horrors access.
1239
1240         * lyxrc.C: declare extern displayTranslator
1241
1242 2003-07-27  José Matos  <jamatos@fep.up.pt>
1243
1244         * tabular.[Ch] (linuxdoc): add support for tables and figures
1245         (linuxdoc).
1246
1247 2003-07-27  José Matos  <jamatos@fep.up.pt>
1248
1249         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1250         consistency in both functions.
1251         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1252
1253 2003-07-26  Asger Alstrup  <alstrup@local>
1254
1255         * rowpainter.C (paintRows): Change algorithm to work directly on
1256         the insets rather than asking every character in the document
1257         whether its an inset.
1258
1259 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1260
1261         * buffer.C (openFileWrite): factorize some code
1262
1263 2003-07-26  Angus Leeming  <leeming@lyx.org>
1264
1265         * lyx_cb.C:
1266         * lyx_main.[Ch]: replace occurances of system_tempdir with
1267         os::getTmpDir().
1268
1269 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1270
1271         * rename Inset to InsetOld
1272
1273 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1274
1275         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1276         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1277         which I think is a bit clearer. EDIT is gone, since it was
1278         premature optimisation, and broken for mathed anyway.
1279         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1280         with cursor positioning in insets as well (math insets still do not
1281         work, but that's a different story anyway.) It mysteriously
1282         crashes sometimes with undo in the first paragraph, but I'm fairly
1283         confident that this is a compiler bug.
1284
1285 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1286
1287         * paragraph.C (Paragraph): adjust for new clone return type
1288         (operator==): ditto
1289         (copyIntoMinibuffer): ditto
1290
1291 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1292
1293         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1294         by not having a special case, and always doing a full rebreak of
1295         the document after undo.
1296
1297 2003-07-23  Angus Leeming  <leeming@lyx.org>
1298
1299         * factory.C (createInset): InsetExternal::setParams now takes a
1300         Buffer const * arg.
1301
1302 2003-07-23  Angus Leeming  <leeming@lyx.org>
1303
1304         * factory.C (createInset): changed interface to the external and
1305         graphics mailers' string2params functions.
1306
1307 2003-07-23  Angus Leeming  <leeming@lyx.org>
1308
1309         * factory.C (createInset): pass a
1310         Buffer const * parameter to InsetExternalMailer's string2params.
1311
1312 2003-07-22  John Levon  <levon@movementarian.org>
1313
1314         * Thesaurus.h: include the right aiksaurus header
1315
1316 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * MenuBackend.C (expand): check menu shortcuts unconditionally
1319
1320 2003-07-21  Angus Leeming  <leeming@lyx.org>
1321
1322         * factory.C (createInset): pass a
1323         buffer_path parameter to InsetGraphicsMailer's string2params.
1324
1325 2003-07-21  Angus Leeming  <leeming@lyx.org>
1326
1327         * BufferView_pimpl.C (buffer):
1328         * buffer.C (d-tor):
1329         * lyx_main.C (LyX):
1330         * lyxfunc.C (dispatch):
1331         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1332         rather than the grfx shortcut.
1333
1334 2003-07-21  André Pönitz  <poenitz@gmx.net>
1335
1336         * rowpainter.C: remove unused variables
1337
1338         * tabular_funcs.C:
1339         * tabular_funcs.h: move to tabular.C
1340         * Makefile.am: adjust
1341
1342         * tabular.[Ch]: basic optical cleaning
1343
1344         * author.h: pass references, not values
1345
1346 2003-07-18  André Pönitz  <poenitz@gmx.net>
1347
1348         * lyxtext.h:
1349         * metricsinfo.C:
1350         * metricsinfo.h:
1351         * rowpainter.C:
1352         * text.C:
1353         * text2.C:
1354         * text3.C: two-phase drawing for InsetText and InsetTabular
1355         some float -> int changes.
1356
1357 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1358
1359         * lyx_main.C: fix the fix
1360
1361 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1362
1363         * lyx_main.C: fix a crash in batch mode if no files specified
1364         * converter.C: ws
1365
1366 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1367
1368         * format.[Ch] (papersize): moved to BufferParams
1369         * converter.[Ch] (dvips_options): moved to BufferParams
1370         (dvipdfm_options): moved to anon namespace
1371         * bufferparams.[Ch]: added above functions.
1372
1373 2003-07-17  André Pönitz  <poenitz@gmx.net>
1374
1375         * lyxtext.h:
1376         * rowpainter.C:
1377         * text2.C: don't call inset->update() anymore
1378
1379         * metricsinfo.[Ch]: add convenience constructor
1380
1381 2003-07-16  André Pönitz  <poenitz@gmx.net>
1382
1383         * lyxcursor.[Ch]:
1384         * lyxfunc.[Ch]:
1385         * text.C:
1386         * text2.C: replace the LyXCursor::irow_ member with
1387          on-demand computation of the value
1388
1389 2003-07-16  John Levon  <levon@movementarian.org>
1390
1391         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1392
1393 2003-07-15  André Pönitz  <poenitz@gmx.net>
1394
1395         * text.C:
1396         * text2.C: remove no more needed refresh_row
1397
1398 2003-07-15  André Pönitz  <poenitz@gmx.net>
1399
1400         * lyxtext.h:
1401         * rowpainter.C:
1402         * text2.C:
1403         * text3.C: refresh_status tristate -> need_update bool
1404
1405 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1406
1407         * lyxtext.h (init): remove reinit argument (act as if always true)
1408         * text2.C: adjust to that
1409
1410 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1411
1412         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1413         * text3.C: use it to delete selections in some cases
1414         (bugs 441, 673, 702, 954).
1415
1416 2003-07-14  André Pönitz  <poenitz@gmx.net>
1417
1418         * rowpainter.[Ch]: reduce interface
1419
1420 2003-07-14  André Pönitz  <poenitz@gmx.net>
1421
1422         * BufferView_pimpl.C:
1423         * text2.C: adjust after removing unused BufferView * argument
1424
1425 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1426
1427         * text2.C (init): fix a crash fired on resize
1428
1429 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1430
1431         * buffer.[Ch]: added new closing signal
1432         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1433         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1434         BufferView::Pimpl via the closing the signal
1435
1436 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1437
1438         * buffer.[Ch]: take out all bv-related from buffer
1439         * BufferView.C:
1440         * BufferView_pimpl.[Ch]: connect to new signals
1441         * CutAndPaste.C: removed useless asserts
1442         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1443         * lyxvc.[Ch]:
1444         * vc-backend.[Ch]:
1445         * lyxfunc.C: moved view-related funciontality from vc here
1446         * paragraph.C: removed outdated comments
1447         * text.C: ws
1448
1449 2003-07-10  André Pönitz  <poenitz@gmx.net>
1450
1451         * BufferView_pimpl.C:
1452         * tabular.h:
1453         * tabular_funcs.C:
1454         * text.C:
1455         * text2.C: remove InsetText::InnerCache, clean up consequences
1456
1457 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1458
1459         * ispell.C: fix two typos in error messages
1460
1461 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1462
1463         * Extend Note inset to other forms of annotation like Comment
1464         and Greyedout. Right button click gives dialog.
1465
1466         Files modified or added (+):
1467
1468         * insetnote.[Ch]
1469         * FormNote.[Ch]      +
1470         * ControlNote.[Ch]   +
1471         * form_note.fd       +
1472         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1473         frontends/controllers
1474         * xforms/Dialogs.C
1475         * factory.C
1476
1477 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1478
1479         * aspell.C: add missing namespace lyx::support
1480
1481 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1482
1483         * BufferView.[Ch] (newFile): Add
1484         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1485         * LaTeX.[Ch] (message): added this signal and use it
1486         * buffer.[Ch] (busy, message): added these signals and use them
1487         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1488         * converter.C:
1489         * exporter.C:
1490         * format.C:
1491         * importer.C: use buffer signals instead of direct bv calling
1492         * lyx_cb.[Ch] (ShowMessage): removed
1493         * lyx_main.C:
1494         * lyxfunc.C:
1495         * paragraph_funcs.C:
1496         * text2.C: use buffer signals
1497
1498 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1499
1500         * introduce namespace lyx::graphics
1501
1502 2003-07-02  André Pönitz  <poenitz@gmx.net>
1503
1504         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1505
1506 2003-07-01  André Pönitz  <poenitz@gmx.net>
1507
1508         * text.C:
1509         * text2.C:
1510         * text3.C:
1511         * text_funcs.[Ch]:
1512         * textcursor.h:
1513         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1514           text*.C to text_func.C
1515
1516 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1517
1518         * introduce namespace lyx::support
1519
1520 2003-06-30  André Pönitz  <poenitz@gmx.net>
1521
1522         * Chktex.C:
1523         * funcrequest.C:
1524         * lyxtext.h:
1525         * text.C: re-enable --with-included-string
1526
1527 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1528
1529         * textcursor.C: add <config.h>
1530
1531         * text.C (getWord): remove const from word_location arg
1532
1533         * lyxvc.C (getLogFile): fix const type order
1534
1535         * lyxtext.h: remove const from word_location arg, add arg name
1536
1537         * lyxlayout.h: currect type on labeltype.
1538
1539         * importer.C: correct \file
1540
1541         * converter.C (intToFormat): use std:: on ret val, ws changes
1542
1543         * bufferlist.h: correct \file
1544
1545         * buffer.C (makeLinuxDocFile): fix const type order
1546         (makeDocBookFile): ditto
1547         (fillWithBibKeys): use std:: on stdlib args.
1548
1549         * CutAndPaste.C: fix authors.
1550         (availableSelections): use std:: on return vector
1551
1552 2003-06-27  André Pönitz  <poenitz@gmx.net>
1553
1554         * BufferView_pimpl.C:
1555         * bufferview_funcs.C:
1556         * lyxcursor.C:
1557         * lyxcursor.h:
1558         * lyxfunc.C:
1559         * lyxtext.h:
1560         * rowpainter.C:
1561         * text.C:
1562         * text2.C:
1563         * text3.C: remove LyXCursor::row_ member
1564
1565         * lyxtext.h:
1566         * text.C: rename fullRebreak() to partialRebreak() and implement
1567           a fullRebreak() that really bereks fully
1568
1569         * textcursor.h: new struct for cursor-related data
1570
1571 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1572
1573         * lyx_main.C (LyX): get full path of document loaded on the
1574         command line
1575
1576 2003-06-26  André Pönitz  <poenitz@gmx.net>
1577
1578         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1579           remove unused/broken operator>,<,>=.
1580
1581         *       text.C: remove only use of broken operator<= in an Assert().
1582
1583 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1584
1585         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1586         moved errorlist_.clear to showErrorList
1587
1588 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1589
1590         * converter.C (scanLog, runLaTeX):
1591         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1592         move the bv->showErrorList call to the callers
1593         * lyxfunc.C: i.e. here...
1594         * text2.C: and here
1595         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1596         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1597         namespace, the second to...
1598         * buffer_funcs (BufferFormat, parseErrors): added
1599         * errorlist.C (ErrorList(TeXErrors const &)): removed
1600
1601 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1602
1603         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1604
1605 2003-06-24  "Garst R. Reese" <reese@isn.net>
1606
1607         * debug.C: fix typo
1608
1609 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1610
1611         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1612
1613         * version.C.in: change docversion to 1.4
1614
1615 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1616
1617         * buffer.C: fix a bug just introduced
1618
1619 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1620
1621         * buffer.[Ch]: added the parseError signal and use it, removed
1622         sgmlError
1623         * BufferView.[Ch] (addError): moved to ...
1624         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1625         to the Buffer::parseError signal to catch (guess what) parse errors
1626         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1627
1628 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1629
1630         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1631         ability to create a buffer and to return an existing one from
1632         the list. Moved these functions to...
1633         * buffer_funcs.[Ch]: added
1634         * BufferView.[Ch] (loadLyXFile): added
1635         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1636         job removed from bufferlist::loadLyXFile.
1637         * buffer.C (setReadOnly): make it work without view
1638         (i.e added an if (users))
1639
1640 2003-06-19  Angus Leeming  <leeming@lyx.org>
1641
1642         * lfuns.h:
1643         * LyXAction.C (init):
1644         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1645         with LFUN_DIALOG_SHOW <name> <data>.
1646
1647 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1648
1649         * CutAndPaste.C (availableSelections): small compilation fix for
1650         ancient (gcc 2.9x) compilers
1651
1652 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1653
1654         * text3.C (cursorNext): add tmp var
1655
1656         * text2.C (updateCounters): for function calling out of for clause
1657         (replaceSelectionWithString): ditto
1658         (insertStringAsParagraphs): ditto
1659         (getColumnNearX): add tmp var
1660         (setCursorFromCoordinates): add tmp var
1661         (cursorDownParagraph): add tmp var
1662         (deleteEmptyParagraphMechanism): add tmp var
1663
1664         * text.C (insertChar): add tmp var
1665
1666         * rowpainter.C (paintDepthBar): add tmp var
1667
1668         * CutAndPaste.C (availableSelections): potentially check all
1669         paragraphs in a cut to fill the shown strings.
1670
1671 2003-06-18  André Pönitz  <poenitz@gmx.net>
1672
1673         * kbmap.[Ch]: use vector<> instead of list<>
1674
1675 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1676
1677         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1678         pasteSelection with index
1679
1680         * text2.C (pasteSelection): modify, call pasteSelection with index
1681
1682         * paragraph.C (asString): reimplement version with no interval to
1683         call the one with interval.
1684
1685         * lyxtext.h: add index arg to pasteSelection
1686
1687         * MenuBackend.C (MenuItem): handle PasteRecent
1688         (Menu::read::Menutags): add md_pasterecent
1689         (read): handle it
1690         (expandPasteRecent): new function
1691         (expand): use it
1692
1693         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1694
1695         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1696         the limited stack
1697         (availableSelections): new function
1698
1699 2003-06-17  Angus Leeming  <leeming@lyx.org>
1700
1701         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1702
1703 2003-06-17  Angus Leeming  <leeming@lyx.org>
1704
1705         * lfuns.h:
1706         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1707
1708         * lyxfunc.C (dispatch): invoke it.
1709
1710 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1711
1712         * iterators.C (operator++, ParPosition): reintroduce some
1713         const_cast for the benefit of older compilers.
1714
1715 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1716
1717         * text3.C (dispatch): do not modify clipboard when doing
1718         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1719         LFUN_DELETE_SKIP on a selection selection
1720
1721 2003-06-16  André Pönitz  <poenitz@gmx.net>
1722
1723         * BufferView.C:
1724         * buffer.C:
1725         * buffer.h:
1726         * paragraph.C:
1727         * tabular.[Ch]: IU of clone() and getLabelList();
1728
1729 2003-06-13  André Pönitz  <poenitz@gmx.net>
1730
1731         * tabular.h: compactification
1732
1733 2003-06-12  André Pönitz  <poenitz@gmx.net>
1734
1735         * tabular.C:
1736         * tabular.h:
1737         * tabular_funcs.h: some renaming plus whitespace
1738
1739 2003-06-12  André Pönitz  <poenitz@gmx.net>
1740
1741         * BufferView.C:
1742         * BufferView_pimpl.C:
1743         * CutAndPaste.C:
1744         * buffer.C:
1745         * iterators.[Ch]:
1746         * lyxfunc.C:
1747         * text.C:
1748         * toc.C: Return a Paragraph & for ParIterator::operator*()
1749
1750 2003-06-11  John Levon  <levon@movementarian.org>
1751
1752         * lyx_main.C:
1753         * ToolbarBackend.h:
1754         * ToolbarBackend.C: add "Toolbars" section and
1755         put the flags there
1756
1757 2003-06-10  Angus Leeming  <leeming@lyx.org>
1758
1759         * lfuns.h:
1760         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1761
1762         * lyxfunc.C (dispatch): invoke it.
1763
1764 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1765
1766         * main.C: protect <ios> with HAVE_IOS
1767         (main): protect sync_with_stdio with HAVE_IOS
1768
1769 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1770
1771         * text2.C (cutSelection): adjust
1772         (pasteSelection): adjust
1773
1774         * messages.C: handle get of empty string
1775
1776         * main.C (main): use sync_with_stdio(false)
1777
1778         * lyxfunc.C (dispatch): adjust
1779
1780         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1781         (WriteAs): remove unneeded BufferView arg.
1782
1783         * bufferparams.h: use correct types on papersize, papersize2 and
1784         paperpackage.
1785
1786         * bufferparams.C (readToken): adjust for type
1787         (writeLaTeX): add missing cases to switch.
1788
1789         * bufferlist.C (quitWriteBuffer): adjust
1790         (close): adjust
1791
1792         * buffer.C (asciiParagraph): remove some commented code.
1793
1794         * CutAndPaste.C: remove current_view extern variable.
1795         (cutSelection): add BufferParams arg.
1796         (eraseSelection): add BufferParams arg.
1797         (pasteSelection): add Buffer const & arg
1798
1799 2003-06-07  John Levon  <levon@movementarian.org>
1800
1801         * buffer.C:
1802         * paragraph_funcs.C:
1803         * paragraph_pimpl.C:
1804         * text.C:
1805         * text2.C:
1806         * paragraph.h:
1807         * paragraph.C: allow InsetERT to freely space lines,
1808         and some consolidation of code
1809
1810 2003-06-06  José Matos  <jamatos@fep.up.pt>
1811
1812         * buffer.C (makeDocBookFile): fix bug #821
1813
1814 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1815
1816         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1817
1818 2003-06-04  Angus Leeming  <leeming@lyx.org>
1819
1820         * buffer.C: bump format to 224.
1821
1822 2003-06-05  André Pönitz  <poenitz@gmx.net>
1823
1824         * text2.C (redoParagraphs): remove two const_cast<>
1825
1826 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1827
1828         * ParagraphList.h: remove last remnants of NO_STD_LIST
1829
1830 2003-06-03  Angus Leeming  <leeming@lyx.org>
1831
1832         * factory.C (createInset): small change to the way InsetExternal's params
1833         are set.
1834
1835 2003-06-04  André Pönitz  <poenitz@gmx.net>
1836
1837         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1838
1839         * paragraph_pimpl.h:
1840         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1841
1842         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1843
1844         * undo_funcs.C: make some simple cases of undo work again
1845
1846 2003-06-03  John Levon  <levon@movementarian.org>
1847
1848         * ispell.C: HPUX doesn't have sys/select.h
1849         (from Albert Chin)
1850
1851 2003-06-03  John Levon  <levon@movementarian.org>
1852
1853         * CutAndPaste.C: update tabular and include inset
1854         buffer references
1855
1856         * buffer.h:
1857         * paragraph.h:
1858         * paragraph.C: remove owningBuffer(), don't pass Buffer
1859         to clone()
1860
1861         * factory.C: insetGraphicsParams changed
1862
1863 2003-06-02  John Levon  <levon@movementarian.org>
1864
1865         * LyXAction.C:
1866         * factory.C:
1867         * lfuns.h:
1868         * lyxfunc.C:
1869         * text3.C: remove insetparent
1870
1871 2003-06-02  John Levon  <levon@movementarian.org>
1872
1873         * buffer.h:
1874         * buffer.C: fix inset_iterator.end(), move out of line
1875         (bug 1149)
1876
1877 2003-06-01  John Levon  <levon@movementarian.org>
1878
1879         * text3.C: use a proper cut/paste when doing inset
1880         insert (from Jürgen Spitzmüller)
1881
1882 2003-06-01  John Levon  <levon@movementarian.org>
1883
1884         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1885
1886 2003-05-30  André Pönitz  <poenitz@gmx.net>
1887
1888         * rowpainter.C: unify second drawing phase
1889
1890 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1891
1892         * trans_mgr.C: remove one case of current_view
1893
1894         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1895
1896         * paragraph_funcs.h: remove paragraph.h include
1897
1898         * paragraph.h: delete NO_STD_LIST stuff
1899
1900         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1901
1902         * buffer.h: remove paragraph.h include
1903
1904         * ParagraphList.C: delete file
1905
1906         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1907
1908         * toc.C (getTocList): adjust
1909
1910         * paragraph_pimpl.C (validate): adjust
1911
1912         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1913
1914         * paragraph.C (Paragraph): adjust
1915         (getPositionOfInset): use const_iterator, adjust
1916         (bibitem): use const_iterator, adjust
1917         (setInsetOwner): adjust
1918
1919         * iterators.C (operator++): adjust
1920
1921         * InsetList.[Ch]: Replace selfmade iterator with standard
1922         vector::iterator also introduce const_iterator. Remove getPos,
1923         getInset and setInset from InsetTable. Adjust accordingly.
1924
1925         * BufferView.C (lockInset): adjust
1926         (ChangeInsets): adjust
1927
1928         * tabular.[Ch]: delete commented same_id functions
1929
1930 2003-05-28  John Levon  <levon@movementarian.org>
1931
1932         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1933
1934 2003-05-28  André Pönitz  <poenitz@gmx.net>
1935
1936         * metricsinfo.[Ch]: remove 'fullredraw' member
1937
1938 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1939
1940         * lyxtextclass.C (operator): remove caching.
1941
1942 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1943
1944         * text3.C: adjust
1945
1946         * text2.C (cursorBottom): adjust
1947         (setCounter): use ParagraphList::find, adjust
1948
1949         * text.C (workWidth): use ParagraphList::find, adjust
1950
1951         * lyxcursor.C (LyXCursor): adjust
1952
1953         * buffer.C (inset_iterator): adjust
1954
1955         * ParagraphList.h: make iterator(value_type) private, make
1956         ParagraphList a friend of iterator.
1957
1958         * ParagraphList.C (find): new function
1959
1960         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1961
1962 2003-05-27  André Pönitz  <poenitz@gmx.net>
1963
1964         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1965
1966 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1967
1968         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1969
1970 2003-05-26  John Levon  <levon@movementarian.org>
1971
1972         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1973
1974 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1975
1976         * remove same_id from function signatures, adjust.
1977
1978 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1979
1980         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1981
1982         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1983
1984         * paragraph.C (Paragraph): get rid of same_ids parameter
1985
1986         * ParagraphList.C (insert): adjust
1987         (push_back): adjust
1988
1989 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1990
1991         * paragraph_funcs.C (breakParagraph): adjust
1992         (breakParagraphConservative): adjust
1993
1994         * buffer.C (readParagraph): adjust
1995
1996         * ParagraphList.C (insert): take a reference instead of a pointer
1997         (insert): adjust
1998
1999         * paragraph.[Ch] (id): new function
2000
2001         * bufferlist.C (newFile): adjust
2002
2003         * ParagraphList.C (ParagraphList): adjust
2004         (assign): adjust
2005         (push_back): take a reference instead of a pointer.
2006
2007         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2008
2009         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2010         instead.
2011
2012         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2013         set else use old code.
2014
2015         * ParagraphList.C: remove all NO_NEXT code and only compile this
2016         code of NO_STD_LIST is set.
2017
2018 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2019
2020         * BufferView_pimpl.C:
2021         * TextCache.C:
2022         * TextCache.h:
2023         * bufferlist.C:
2024         * errorlist.h:
2025         * format.C:
2026         * format.h:
2027         * graph.C:
2028         * lyxfunc.C:
2029         * lyxrc.C:
2030         * graphics/GraphicsConverter.C:
2031         * graphics/PreviewLoader.C: header adjustment
2032
2033 2003-05-23  Angus Leeming  <leeming@lyx.org>
2034
2035         * LaTeXFeatures.[Ch] (useBabel): new method.
2036         * bufferparams.C (writeLaTeX): use it.
2037
2038 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2039
2040         * ParagraphList.h (set): remove unused function.
2041
2042 2003-05-23  André Pönitz  <poenitz@gmx.net>
2043
2044         * BufferView.C:
2045         * BufferView_pimpl.C:
2046         * buffer.C:
2047         * buffer.h:
2048         * lyxfunc.C:
2049         * undo_funcs.C: setUndo reworked
2050
2051         * iterators.[Ch]: add access to topmost ParagraphList
2052
2053         * lyxtext.[Ch] (workWidth): add a const
2054
2055 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2056
2057         * texrow.[Ch] (increasePos): remove function
2058         * exporter.C (export): removed unused var and outdated comment
2059
2060 2003-05-23  Angus Leeming  <leeming@lyx.org>
2061
2062         * latexrunparams.h: rename fragile as moving_arg.
2063         * paragraph.C (simpleTeXOnePar): ditto.
2064         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2065
2066 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2067
2068         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2069         (createUndo): ditto
2070         (textUndoOrRedo): comment out a currently unused var.
2071
2072         * paragraph.h (NO_NEXT): enable NO_NEXT
2073
2074         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2075
2076         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2077
2078         * exporter.C (Export): adjust for removeAutoInsets removal.
2079
2080         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2081
2082         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2083
2084         * BufferView.[Ch] (removeAutoInsets): delete function
2085
2086 2003-05-22  Angus Leeming  <leeming@lyx.org>
2087
2088         * latexrunparams.h: add a free_spacing variable.
2089
2090         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2091         to pass moving_arg, as the data is stored in runparams.fragile.
2092
2093         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2094         to Inset::latexOptional or to simpleTeXOnePar.
2095
2096         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2097         free_spacing arg to Inset::latexOptional.
2098
2099         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2100         free_spacing arg.
2101
2102 2003-05-22  Angus Leeming  <leeming@lyx.org>
2103
2104         * latexrunparams.h: add fragile and use_babel variables.
2105
2106         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2107         * buffer.C (makeLaTeXFile): store this returned value in
2108         runparams.use_babel, thus passing it to the inset::latex methods.
2109
2110         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2111         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2112
2113         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2114         longer has a fragile arg, as it is stored in runparams.fragile.
2115
2116         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2117         moving_arg parameter as the data is stored in runparams.fragile.
2118
2119         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2120         a fragile parameter as the data is stored in runparams.fragile.
2121
2122 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2123
2124         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2125
2126 2003-05-22  Angus Leeming  <leeming@lyx.org>
2127
2128         * latexrunparams.h: add a 'bool nice' which defaults to false.
2129
2130         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2131         now encapsulated within runparams.
2132
2133         * bufferlist.C (updateIncludedTeXfiles):
2134         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2135
2136 2003-05-22  Angus Leeming  <leeming@lyx.org>
2137
2138         * latexrunparams.h: new file containing struct LatexRunParams.
2139         * Makefile.am: add new file.
2140
2141         * LaTeX.[Ch] (c-tor, run):
2142         * buffer.[Ch] (makeLaTeXFile):
2143         * bufferlist.[Ch] (updateIncludedTeXfiles):
2144         * converter.C (convert, scanLog):
2145         * converter.[Ch] (runLaTeX):
2146         * exporter.C (Export):
2147         * paragraph.[Ch] (simpleTeXOnePar):
2148         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2149         * paragraph_funcs.[Ch] (latexParagraphs):
2150         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2151         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2152         pass around a LatexRunParams parameter.
2153
2154 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2155
2156         * paragraph.[Ch]: remove unused constructor
2157
2158         * ParagraphList.C (erase): new function, taking two iterators
2159
2160 2003-05-22  André Pönitz  <poenitz@gmx.net>
2161
2162         * undo_funcs.C: remove duplicated code
2163
2164         * iterator.[Ch]: operator=
2165
2166 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2167
2168         * tabular.C (SetMultiColumn): ws changes
2169
2170         * rowpainter.C (paintFirst): get rid of a ->previous
2171
2172         * lyx_cb.C (getPossibleLabel): parlist simplification
2173
2174         * BufferView.C (ChangeInsets): simplify slightly.
2175
2176 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2177
2178         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2179         * lfuns.h: new LFUN_SPACE
2180         * lyxfunc.C: protected space has a new lfun
2181         * paragraph_funcs.C: read new space insets
2182         * text3.C:
2183         * factory.C: handle new space insets
2184
2185 2003-05-22  André Pönitz  <poenitz@gmx.net>
2186
2187         * BufferView.C:
2188         * BufferView_pimpl.C:
2189         * buffer.[Ch]:
2190         * lyxfunc.C:
2191         * undo_funcs.C: return a ParIterator from getParFromID.
2192
2193         * iterators.[Ch]: add two const's
2194
2195 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2196
2197         * toc.C (getTocList): adjust
2198
2199         * iterators.[Ch]: rework for parlist
2200
2201         * buffer.C (par_iterator_begin): adjust
2202         (par_iterator_end): adjust
2203
2204         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2205
2206         * BufferView.C (removeAutoInsets): adjust
2207         (ChangeInsets): adjust
2208
2209 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2210
2211         * text.C (top_y): fix bug 1110
2212
2213 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2214
2215         * errorlist.[Ch]: added
2216         * buffer.C:
2217         * BufferView.[Ch]:
2218         * BufferView_pimpl.C:
2219         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2220         instead
2221
2222 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2223
2224         * Makefile.am: ensure that lyx is relinked upon changes to the
2225         various "convenience" libs.
2226
2227 2003-05-20  Angus Leeming  <leeming@lyx.org>
2228
2229         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2230         files are compiled in alphabetical order again.
2231
2232         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2233
2234 2003-05-19  Angus Leeming  <leeming@lyx.org>
2235
2236         * gettext.[Ch]: remove "char const * _(char const *)".
2237
2238 2003-05-19  André Pönitz  <poenitz@gmx.net>
2239
2240         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2241
2242         * Makefile.am:
2243         * BufferView.C:
2244         * DepTable.h:
2245         * LaTeXFeatures.C:
2246         * buffer.C:
2247         * lyxfont.C:
2248         * lyxlex.h:
2249         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2250
2251 2003-05-19  André Pönitz  <poenitz@gmx.net>
2252
2253         * buffer.C:
2254         * lyxlayout.[Ch]:
2255         * lyxtextclass.[Ch]:
2256         * paragraph.C:
2257         * paragraph_funcs.[Ch]:
2258         * text2.C:
2259         * text3.C: more insetenv work
2260
2261 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2262
2263         * ParagraphParameters.C (params2string): small bug fixed
2264
2265 2003-05-16  André Pönitz  <poenitz@gmx.net>
2266
2267         * debug.C:
2268         * bufferview_funcs.C: patch from Kornel Benko to prevent
2269           crash when _(...) is called twice in a statement
2270
2271 2003-05-16  André Pönitz  <poenitz@gmx.net>
2272
2273         * BufferView.C:
2274         * lyxfunc.C:
2275         * text.C:
2276         * text2.C:
2277         * text3.C:
2278         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2279
2280 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2281
2282         * lyx_main.C (init): remove spurious static_cast
2283
2284 2003-05-14  André Pönitz  <poenitz@gmx.net>
2285
2286         * BufferView.C: fix format string
2287
2288 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2289
2290         * BufferView.[Ch] (insertErrors): removed
2291         * BufferView.[Ch] (showErrorList): added
2292         * buffer.C (runChkTeX):
2293         * converter.C (scanLog): call showErrorList instead of inserterrors
2294
2295 2003-05-13  André Pönitz  <poenitz@gmx.net>
2296
2297         * BufferView_pimpl.C:
2298         * buffer.C:
2299         * bufferview_func.C:
2300         * MenuBackend.C:
2301         * lyxfunc.C:
2302         * lyxrc.C:
2303         * tex-accent.C:
2304         * text3.C:
2305         * toc.C:
2306         * tabular_funcs.h: tostr() from its own header
2307
2308         * ParagraphParameters.C:
2309         * ToolbarBackend.C:
2310         * bufferparams.C:
2311         * format.C:
2312         * lyxlex_pimpl.C:
2313         * text3.C: STRCONV()
2314
2315 2003-05-12  André Pönitz  <poenitz@gmx.net>
2316
2317         * BufferView.C:
2318         * BufferView_pimpl.C:
2319         * CutAndPaste.C:
2320         * LaTeX.C:
2321         * LaTeXFeatures.C:
2322         * ParagraphParameters.C:
2323         * buffer.C:
2324         * bufferlist.C:
2325         * bufferparams.C:
2326         * bufferview_funcs.C:
2327         * converter.C:
2328         * counters.C:
2329         * debug.C:
2330         * exporter.C:
2331         * format.C:
2332         * importer.C:
2333         * lyx_cb.C:
2334         * lyx_main.C:
2335         * lyxfont.C:
2336         * lyxfunc.C:
2337         * lyxvc.C:
2338         * paragraph.C:
2339         * paragraph_funcs.C:
2340         * tabular.C:
2341         * tabular_funcs.C:
2342         * text2.C:
2343         * text3.C:  boost::format -> bformat  all over the place
2344
2345
2346 2003-05-09  André Pönitz  <poenitz@gmx.net>
2347
2348         * LColor.[Ch]: Pimpl the #include <map> away
2349
2350 2003-05-09  John Levon  <levon@movementarian.org>
2351
2352         * bufferlist.C: never remove emergency saves
2353
2354 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2355
2356         * Makefile.am: better lib building
2357
2358 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2359
2360         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2361         instead.
2362         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2363         (simpleTeXSpecialChars): adjust
2364         (simpleTeXSpecialChars): adjust
2365         * paragraph.C (simpleTeXOnePar): adjust
2366         * buffer.C (makeLaTeXFile): adjust
2367
2368         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2369
2370         * text2.C (changeDepth): parlist cleanup
2371         (getColumnNearX): ditto
2372
2373         * rowpainter.C (getLabelFont): parlist cleanup
2374
2375         * bufferlist.C (newFile): parlist cleanup
2376
2377         * CutAndPaste.C (eraseSelection): parlist cleanup
2378
2379         * BufferView_pimpl.C (trackChanges): parlist cleanup
2380         (dispatch): ditto
2381
2382         * BufferView.C (lockInset): parlist cleanup.
2383         (ChangeInsets): ditto
2384
2385 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2386
2387         * CutAndPaste.h: Update file header.
2388
2389         * CutAndPaste.C: Update file header.
2390         Store the parts cut out of the Document in a limited_stack.
2391         (copySelection): adjust
2392         (pasteSelection): new function, takes the index in the limited stack.
2393         (nrOfParagraphs): adjust
2394         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2395         simplify error inset insertion.
2396         (checkPastePossible): adjust
2397
2398 2003-05-06  John Levon  <levon@movementarian.org>
2399
2400         * text2.C: don't cast wrap inset to float
2401
2402 2003-05-05  André Pönitz  <poenitz@gmx.net>
2403
2404         * iterator.C:
2405         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2406
2407         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2408           few naked Paragraph *.
2409
2410 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2411
2412         * bufferparams.C: Output warning if a document with missing
2413         TeX document class is loaded
2414         * exporter.C: Disable TeX exports if the document class is missing
2415         * lyxtextclass.C:
2416         * lyxtextclass.h:
2417         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2418         isTeXClassAvailable()
2419
2420 2003-05-03  John Levon  <levon@movementarian.org>
2421
2422         * BufferView.h:
2423         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2424         explicit cursor show/hide
2425
2426         * BufferView_pimpl.h:
2427         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2428         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2429
2430         * lyxfunc.C: hide cursor before dispatching.
2431
2432         * lyx_cb.C:
2433         * lyxfind.C:
2434         * text.C:
2435         * text3.C: remove explicit cursor hides
2436
2437 2003-05-02  André Pönitz  <poenitz@gmx.net>
2438
2439         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2440
2441         * undo_funcs.C:
2442         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2443           linked lists
2444
2445         * text2.C: tiny whitespace
2446
2447 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2448
2449         * undo_funcs.C: almost only ws changes.
2450
2451         * ParagraphList.C (splice): just return if pl is empty.
2452
2453 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2454
2455         * ParagraphList.C (splice): new function.
2456
2457         * CutAndPaste.C (pasteSelection): use it
2458
2459 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2460
2461         * CutAndPaste.C (pasteSelection): remove the last next and
2462         previous from this file.
2463
2464 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2465
2466         * CutAndPaste.C (pasteSelection): more clean up, user proper
2467         ParagraphList functions for pasteing.
2468
2469         * ParagraphList.C (insert): new function, three arg insert
2470
2471 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2472
2473         * ParagraphList.C (insert): new function, three arg insert
2474
2475         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2476         not on paragraphs.
2477
2478 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2479
2480         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2481
2482 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2483
2484         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2485
2486 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2487
2488         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2489         (copySelection): clean up a bit.
2490         (pasteSelection): use make_pair
2491
2492         * ParagraphList.C (ParagraphList): implement copy constructor
2493         (operator=): implement, base on copy constructor.
2494         (assign): new func
2495
2496         * paragraph.C (erase): return a bool
2497
2498         * paragraph_pimpl.C (erasePos): remove function, move contents...
2499         (erase): ... here. Return a bool.
2500         (erase): call erase instead of erasePos.
2501
2502 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2503
2504         * ParagraphList.h: define PitPosPair
2505         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2506         ParagraphList, fix a bug on pasting multiple pars
2507         * text2.C: change interface to C&P
2508
2509 2003-04-30  André Pönitz  <poenitz@gmx.net>
2510
2511         * undo_func.C: revert part of yesterday's patch 2
2512
2513 2003-04-30  John Levon  <levon@movementarian.org>
2514
2515         * LColor.C: s/tabular/table/
2516
2517 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2518
2519         * text3.C (dispatch): do not convert iterator -> pointer
2520         * undo_funcs.C (setCursorParUndo): ditto
2521         * text_funcs.C (transposeChars): ditto
2522
2523         * text2.C (setLayout): ws changes only
2524
2525         * text.C (breakParagraph): do not convert iterator -> pointer
2526         (insertChar): ditto
2527         (acceptChange): ditto
2528         (rejectChange): ditto
2529         (changeCase): ditto
2530         (Delete): ditto
2531         (backspace): ditto
2532
2533         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2534         pointer
2535
2536 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2537
2538         * text3.C (gotoInset): YABG (yet another bad getChar)
2539
2540 2003-04-29  André Pönitz  <poenitz@gmx.net>
2541
2542         * paragraph.h: make operator= private unimplemented as long as
2543           it is unusable
2544
2545         * ParagraphList.C: whitespace
2546
2547         * paragraph.[Ch]:
2548         * paragraph_pimpl.[Ch]:
2549         * paragraph_funcs.C:
2550         * CutAndPaste.C:
2551         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2552
2553         * text2.C:
2554           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2555
2556 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2557
2558         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2559         * paragraph.[Ch] (erase):
2560         * paragraph_pimpl.[Ch] (erase): change return type and value
2561         * text2.C (cutSelection): some rework
2562
2563 2003-04-28  John Levon  <levon@movementarian.org>
2564
2565         * bufferlist.C: changes for unsaved changes dialog
2566
2567 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2568
2569         * bufferlist.C (newFile): set language (messages_) for new
2570         documents also.
2571
2572         * buffer.C (readFile): ws changes only.
2573
2574 2003-04-28  André Pönitz  <poenitz@gmx.net>
2575
2576         * undo_funcs.C:
2577         * lyxfunc.C:
2578         * buffer.[Ch]:
2579         * BufferView_pimpl.C:
2580         * BufferView.C: getParFromID related ParagraphList::iterator changes
2581
2582 2003-04-28  André Pönitz  <poenitz@gmx.net>
2583
2584         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2585           Changes
2586
2587 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2588
2589         * messages.C: remove one more localedir class variable.
2590
2591 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2592
2593         * messages.C (getLocaleDir): singleton generation function
2594         (Pimpl): use it.
2595         (Messages): add a default constructor.
2596
2597         * main.C (main): do not setup localedir here, do not call
2598         gettext_init.
2599
2600         * gettext.C (_): use it.
2601         (gettext_init): delete funciton
2602
2603 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2604
2605         * gettext.C (getLyXMessages): new singleton generating function.
2606
2607         * buffer.C (updateDocLang): adjust
2608
2609         * Makefile.am (messages.o): add target
2610         (main.o): remove target
2611
2612 2003-04-27  John Levon  <levon@movementarian.org>
2613
2614         * bufferlist.C:
2615         * lyx_cb.C:
2616         * lyxfunc.C:
2617         * lyxvc.C: specify cancel button in Alert::prompt
2618
2619 2003-04-26  John Levon  <levon@movementarian.org>
2620
2621         * text3.C:
2622         * lyxfunc.C:
2623         * lfuns.h:
2624         * LyXAction.C: add LFUN_INSET_SETTINGS
2625
2626         * lyxfunc.C: don't enable tabular-feature when there's
2627         just any locking inset
2628
2629 2003-04-26  John Levon  <levon@movementarian.org>
2630
2631         * bufferlist.C: re-add Cancel to buffer close question
2632
2633         * lyxfunc.C: fix import UI a bit
2634
2635 2003-04-25  John Levon  <levon@movementarian.org>
2636
2637         * gettext.C: remove the broken asserts for now
2638
2639 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2640
2641         * messages.C: make case where setlocale cannot comply work better.
2642
2643         * buffer.C (updateDocLang): new function
2644         (changeLanguage): use it
2645         (readFile): use it
2646
2647         * text2.C (setCounter): use B_ a bit.
2648
2649         * lyxlayout.C (Read): be sure to trim the label strings.
2650
2651         * messages.C (Messages): fix typo in comment
2652
2653         * buffer.C (readFile): set message_ after file is loaded.
2654         (makeDocBookFile): remove double return
2655         (changeLanguage): reset message_ upon language change.
2656         (B_): new func, use this to get translated buffer strings.
2657
2658         * main.C: add myself and Jean Marc as authors.
2659
2660 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2661
2662         * messages.[hC]: pimplify Messages, and three different pimpls to be
2663         used in different circumstances.
2664
2665         * gettext.[Ch]: change for use with new message code.
2666
2667 2003-04-24 André Pönitz <poenitz@gmx.net>
2668
2669         * factory.C: support for eqref
2670
2671 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2672
2673         * messages.[Ch]: add missing char
2674
2675         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2676
2677         * messages.[Ch]: New files
2678
2679 2003-04-18  John Levon  <levon@movementarian.org>
2680
2681         * BufferView.h:
2682         * BufferView.C:
2683         * BufferView_pimpl.C:
2684         * lfuns.h:
2685         * LyXAction.C:
2686         * lyxtext.h:
2687         * text2.C: remove layout-copy/paste (bug 778)
2688
2689 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2690
2691         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2692
2693 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2694
2695         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2696         if they succeed. Act accordingly.
2697
2698 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2699
2700         * text2.C (setCharFont): adjust
2701         (setCounter): adjust
2702         (insertStringAsLines): adjust
2703
2704         * text.C (leftMargin): adjust
2705         (setHeightOfRow): adjust
2706
2707         * rowpainter.C (paintFirst): adjust
2708         (paintLast): adjust
2709
2710         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2711         (outerHook): ditto
2712         (isFirstInSequence): ditto
2713         (getEndLabel): ditto
2714         (outerFont): adjust
2715
2716         * paragraph.C (getParLanguage): comment out some hard stuff.
2717
2718         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2719         (sgmlError): ditto
2720         (simpleDocBookOnePar): ditto
2721         (makeDocBookFile): use ParagraphList::iterator
2722
2723         * CutAndPaste.C (pasteSelection): adjust
2724
2725 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2726
2727         * text2.C (getFont): adjust
2728         (getLayoutFont): adjust
2729         (getLabelFont): adjust
2730
2731         * paragraph_funcs.C (TeXOnePar): adjust
2732
2733         * buffer.C (simpleLinuxDocOnePar): adjust
2734         (simpleDocBookOnePar): adjust
2735
2736         * CutAndPaste.C (pasteSelection): adjust
2737
2738         * BufferView.C (getEncoding): adjust
2739
2740         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2741
2742 2003-04-16  John Levon  <levon@movementarian.org>
2743
2744         * lyxfind.C: use parlist stuff for search/changes
2745
2746 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2747
2748         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2749
2750         * text2.C (deleteEmptyParagraphMechanism): adjust
2751
2752         * text2.[Ch] (ownerParagraph): delete func (both of them
2753
2754 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2755
2756         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2757
2758 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2759
2760         * ParagraphList.C: prepare for NO_NEXT
2761
2762 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2763
2764         * text2.C (getFont): adjust
2765         (getLayoutFont): adjust
2766         (getLabelFont): adjust
2767
2768         * paragraph.C (getFont): adjust
2769         (getLabelFont): adjust
2770         (getLayoutFont): adjust
2771
2772         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2773
2774 2003-04-15  John Levon  <levon@movementarian.org>
2775
2776         From Angus Leeming
2777
2778         * lyx_main.C: handle Include in .ui files
2779
2780 2003-04-15  John Levon  <levon@movementarian.org>
2781
2782         * MenuBackend.C: make the doc files length shorter
2783
2784         * ToolbarBackend.h:
2785         * ToolbarBackend.C: handle toolbar placement flags,
2786         Minibuffer
2787
2788 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2789
2790         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2791         adjust
2792
2793         * paragraph_funcs.C (TeXOnePar): adjust
2794
2795         * paragraph.C (getLabelFont): add outerfont arg, adjust
2796         (getLayoutFont): ditto
2797         (simpleTeXOnePar): adjust
2798
2799         * paragraph_pimpl.C (realizeFont): delete func
2800
2801 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2802
2803         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2804         row argument, constify cur argument.
2805
2806 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2807
2808         * text2.C (getFont): adjust
2809         (getLayoutFont): adjust
2810         (getLabelFont): adjust
2811
2812         * paragraph_funcs.C (TeXOnePar): adjust
2813         (outerFont): new func...
2814         (realizeFont): ...moved out from here, changed this to facilitate
2815         transition
2816
2817         * paragraph.C (getFont): take outerfont as arg, adjust
2818         (simpleTeXOnePar): add outerfont arg, adjust
2819
2820         * buffer.C (simpleLinuxDocOnePar): adjust
2821         (simpleDocBookOnePar): adjust
2822
2823         * CutAndPaste.C (pasteSelection): adjust
2824
2825         * BufferView.C (getEncoding): adjust
2826
2827 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2828
2829         * text2.C (setCharFont): adjust
2830         (setCounter): adjust
2831
2832         * text.C (leftMargin): adjust
2833         (setHeightOfRow): adjust
2834
2835         * rowpainter.C (paintFirst): adjust
2836         (paintLast): adjust
2837
2838         * paragraph_pimpl.C (realizeFont): adjust
2839
2840         * paragraph.C (isFirstInSequence): move from here...
2841         * paragraph_funcs.C (isFirstInSequence): ...to here
2842
2843         * paragraph.C (outerHook): move from here...
2844         * paragraph_funcs.C (outerHook): ...to here
2845
2846         * paragraph.C (depthHook): move from here...
2847         * paragraph_funcs.C (depthHook): ...to here
2848
2849         * paragraph.C (getEndLabel): move from here...
2850         * paragraph_funcs.C (getEndLabel): ...to here
2851
2852         * text2.C (realizeFont): move from here...
2853         * paragraph_funcs.C (realizeFont): ...to here
2854
2855 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2856
2857         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2858
2859 2003-04-14  Angus Leeming  <leeming@lyx.org>
2860
2861         * LColor.[Ch]: scrap LColor mathcursor.
2862
2863 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2864
2865         * lyxlex.[Ch] (text): delete function
2866         * trans.C (Load): adjust
2867         * paragraph_funcs.C (readParToken): adjust
2868
2869 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2870
2871         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2872         vector<char> instead of a char[].
2873
2874         * lyxlex_pimpl.C (getString): adjust
2875         (next): adjust
2876         (lex): use getString
2877         (eatLine): adjust
2878         (nextToken): adjust
2879
2880         * lyxlex.C (text): use pimpl_->getString()
2881         (getBool): ditto
2882         (findToken): ditto
2883
2884 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2885
2886         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2887         (makeFontEntriesLayoutSpecific): temp var for par.size()
2888         (setLayout): temp var for ownerParagraphs().end()
2889         (fullRebreak): temp var for rows().end()
2890         (selectionAsString): temp var for boost::next(startpit), realize
2891         that the while really is a regular for loop.
2892         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2893         setCursor in one place.
2894         (setParagraph): temp vr for ownerParagraphs().end()
2895         (updateCounters): make the while loop a for loop
2896         (cutSelection): temp var for ownerParagraphs().end()
2897         (updateInset): make the do {} while() a regular for loop
2898         (getCursorX): use temp vars
2899         (setCurrentFont): use temp vars
2900         (getColumnNearX): use temp vars
2901
2902 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2903
2904         * text.C (transformChar): use temp var for getChar
2905         (computeBidiTables): use temp var for row->par()
2906         (fill): move temp vars for row->par() and pit->layout() earlier in
2907         the function.
2908         (labelFill): use temp var for row->par()
2909         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2910         asc and desc, realize that pit never changes and that firstpit is
2911         just a duplicate and not needed. Exchange rit->par() with pit in a
2912         lot of places.
2913         (breakAgain): use a temp var for boost::next(rit)
2914         (breakAgainOneRow): ditto
2915         (breakParagraph): use a temp var for rows().begin()
2916         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2917         (cursorRightOneWord): use temp var for cursor.par() and
2918         cursor.pos(), remove usage of tmpcursor.
2919         (cursorLeftOneWord): use temp var for cursor.par() and
2920         cursor.pos() only set cur at end of function.
2921
2922 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2923
2924         * text.C, text2.C: exchange all usage of Paragraph::next with
2925         boost::next(ParagraphList::iterator)
2926
2927         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2928
2929         * text2.C (cursorTop): simplify implementation
2930         (cursorBottom): ditto
2931         (setParagraph): use ParagraphList::iterator
2932         (setCurrentFont): adjust
2933         (getColumnNearX): adjust
2934         (cursorRight): adjust
2935         (cursorLeft): remove usage of Paragraph::previous
2936         (cursorUpParagraph): ditto
2937         (deleteEmptyParagraphMechanism): slight cleanup
2938
2939         * text.C (isBoundary): take a Paragraph const & instead of a
2940         pointer as arg.
2941         (addressBreakPoint): ditto
2942         (leftMargin): remove usage of Paragraph::previous.
2943         (setHeightOfRow): ditto
2944         (cursorLeftOneWord): ditto
2945         (selectNextWordToSpellcheck): ditto
2946         (Delete): ditto
2947         (backspace): ditto
2948         (breakParagraph): remove one usage of Paragraph::next
2949         (redoParagraph): ditto
2950         (acceptChange): ditto
2951         (insertChar): adjust
2952         (rowBreakPoint): adjust
2953
2954         * bufferview_funcs.C (toggleAndShow): adjust
2955
2956 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2957
2958         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2959         methods to access it.
2960         * lyxtext.h:
2961         * text.C: Added updateRowPositions to compute all row positions.
2962         Make top_y and getRowNearY() to use the cached y position
2963
2964 2003-04-11  John Levon  <levon@movementarian.org>
2965
2966         * text.C (rowBreakPoint): reintroduce the labelEnd
2967         checks, code copied from the row fill stuff. Deep voodoo.
2968
2969         * text.C (fill): add a comment and debugging for the
2970         next poor soul.
2971
2972 2003-04-11  John Levon  <levon@movementarian.org>
2973
2974         * text.C: make sure fullrow insets get wrapped to the next line,
2975         even when they're in a manual label
2976
2977 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2978
2979         * text2.C (insertParagraph): make it take ParagraphList::iterator
2980         as arg.
2981         (setLayout): make it return ParagraphList::iterator
2982         (redoParagraphs): ditto
2983         (setCounter): ditto
2984         (checkParagraph): ditto
2985
2986         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2987
2988         * text2.C: adjust several funcs.
2989         (realizeFont): take a ParagraphList::iterator as arg.
2990         (getLayoutFont): ditto
2991         (getLabelFont): ditto
2992         (setCharFont): ditto
2993
2994         * text.C: adjust several funcs.
2995
2996 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2997
2998         * text.C (selectNextWordToSpellcheck): don't accidentally
2999         skip insets
3000
3001 2003-04-10  John Levon  <levon@movementarian.org>
3002
3003         * ToolbarBackend.C (getIcon): special handling for
3004         LFUN_MATH_DELIM
3005
3006 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3007
3008         * text2.C (cursorRight): a getChar assert fixed
3009
3010 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3011
3012         * text2.C (getFont): change to take a ParagraphList::iterator
3013         instead of Paragraph*
3014         Adjust several functions.
3015
3016         * text.C (transformChar): change to take a ParagraphList::iterator
3017         instead of Paragraph*
3018         (singleWidth): ditto
3019         Adjust several functions.
3020
3021         * rowpainter.C: adjust several functions
3022         * rowpainter.h:store a ParagraphList::iterator and not a
3023         Paragraph&.
3024
3025
3026 2003-04-09  John Levon  <levon@movementarian.org>
3027
3028         * lyxfunc.C:
3029         * lfuns.h:
3030         * LyXAction.h:
3031         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3032         and the "help" bits as well
3033
3034 2003-04-09  John Levon  <levon@movementarian.org>
3035
3036         * ToolbarBackend.h:
3037         * ToolbarBackend.C: allow multiple toolbars
3038
3039 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * undo_funcs.C (setCursorParUndo): adjust
3042
3043         * text_funcs.C (transposeChars): adjust
3044
3045         * text3.C (gotoNextInset): adjust
3046         (dispatch): adjust
3047
3048         * text2.C (setLayout): adjust
3049         (changeDepth): adjust
3050         (setFont): adjust
3051         (redoParagraphs): adjust
3052         (selectionAsString): adjust
3053         (setParagraph): adjust
3054         (insertInset): adjust
3055         (cutSelection): adjust
3056         (copySelection): adjust
3057         (pasteSelection): adjust
3058         (insertStringAsLines): adjust
3059         (updateInset): adjust
3060         (setCursor): change to take a ParagraphList::iterator parameter
3061         (setCursorIntern): change to take a ParagraphList::iterator parameter
3062         (setCurrentFont): adjust
3063         (cursorLeft): adjust
3064         (cursorRight): adjust
3065         (deleteEmptyParagraphMechanism): adjust
3066
3067         * text.C (breakParagraph): adjust
3068         (insertChar): adjust
3069         (acceptChange): adjust
3070         (rejectChange): adjust
3071         (selectNextWordToSpellcheck): adjust
3072         (changeCase): adjust
3073         (Delete): adjust
3074         (backspace): adjust
3075
3076         * lyxfind.C (SearchForward): adjust
3077         (SearchBackward): adjust
3078         (nextChange): adjust
3079
3080         * lyxcursor.C (par): adjust
3081
3082         * lyxcursor.h: store a ParagraphList::iterator instead of a
3083         Paragraph*
3084
3085         * lyx_cb.C (getPossibleLabel): adjust
3086
3087         * bufferview_funcs.C (toggleAndShow): adjust
3088
3089         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3090         (dispatch): adjust
3091
3092         * BufferView.C (removeAutoInsets): adjust
3093         (lockedInsetStoreUndo): adjust
3094
3095 2003-04-09  John Levon  <levon@movementarian.org>
3096
3097         * ToolbarBackend.C: try icon without argument
3098         if with argument fails
3099
3100 2003-04-08  John Levon  <levon@movementarian.org>
3101
3102         * ToolbarBackend.h:
3103         * ToolbarBackend.C: add getIcon(), handle tooltip,
3104         and change from "Icon" to "Item".
3105
3106 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3107
3108         * BufferView.C (lockInset): another bad getchar crunched
3109
3110 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3111
3112         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3113         again)
3114
3115 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3116
3117         * lyxfind.C (searchForward, searchBackwards): bug 782
3118
3119 2003-04-07  John Levon  <levon@movementarian.org>
3120
3121         * paragraph.C: remove dead comment
3122
3123         * text.C: remove troublesome depth-fiddling code
3124         in leftMargin() and rightMargin() (bug 1017)
3125
3126         * text.C: fix breaking of rows in nested lists
3127         (bug 1004)
3128
3129         * text2.C (updateCounters): fix up depth values
3130         (bug 1013)
3131
3132 2003-04-07  John Levon  <levon@movementarian.org>
3133
3134         * BufferView_pimpl.C: clear message when doc finishes resizing,
3135         and after a mouse event
3136
3137         * lyxfunc.C: clear message after exiting inset
3138
3139 2003-04-07  John Levon  <levon@movementarian.org>
3140
3141         * bufferview_funcs.C: show math status not outside
3142         status in the statusbar
3143
3144 2003-04-07  John Levon  <levon@movementarian.org>
3145
3146         * lyxfunc.C: note status changed after a depth change
3147
3148 2003-04-04  Angus Leeming  <leeming@lyx.org>
3149
3150         * LaTeX.h: move AuxInfo operator==, != out of line.
3151         Remove LaTeX virtual destructor; nothing derives from it.
3152         Move operator()() out of public area and rename it startscript().
3153         Change protected for private.
3154
3155 2003-04-04  Angus Leeming  <leeming@lyx.org>
3156
3157         * lyxfunc.C:
3158         * text2.C: remove unneeded #includes.
3159
3160 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3161
3162         * text2.C (dEPM): fix the heigth of the next row
3163
3164 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3165
3166         * text.C: squashed an invalid getChar requester + some ws changes
3167
3168 2003-04-03  John Levon  <levon@movementarian.org>
3169
3170         * bufferview_funcs.h:
3171         * bufferview_funcs.C:
3172         * lyxfunc.C:
3173         * lyxtext.h:
3174         * text2.C: make getStatus work for the env depth lfuns
3175
3176 2003-04-03  John Levon  <levon@movementarian.org>
3177
3178         * bufferview_funcs.h:
3179         * bufferview_funcs.C:
3180         * lyxfunc.C:
3181         * lyxtext.h:
3182         * text2.C: parlistize decDepth(), by merging it with incDepth()
3183
3184 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3185
3186         * lyxrow.h: store a ParagraphList::iterator instead of a
3187         Paragraph* and adjust other class functions to suit.
3188
3189         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3190         above.
3191
3192 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3193
3194         * text2.C (setCursor): do not anchor to cursor row for the time being
3195
3196 2003-04-02  John Levon  <levon@movementarian.org>
3197
3198         * LyXAction.C:
3199         * lfuns.h:
3200         * lyx_main.C:
3201         * lyxtext.h:
3202         * text.C:
3203         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3204
3205 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3206
3207         * paragraph.h: make ParagraphList and ParagraphList::iterator
3208         friends of Paragraph.
3209
3210         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3211
3212         * ParagraphList.C: Use the private next_ and previous_ from
3213         Paragraph.
3214
3215 2003-04-01  John Levon  <levon@movementarian.org>
3216
3217         * ToolbarBackend.h:
3218         * ToolbarBackend.C:
3219         * Makefile.am: rename, remove defaults gunk
3220
3221         * MenuBackend.h:
3222         * MenuBackend.C: remove defaults gunk
3223
3224         * Languages.h:
3225         * Languages.C: remove defaults gunk
3226
3227         * lyx_main.h:
3228         * lyx_main.C: error out if files couldn't be found.
3229
3230 2003-04-02  John Levon  <levon@movementarian.org>
3231
3232         * text2.C: make incDepth() use parlist
3233
3234 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3235
3236         * undo_funcs.C (firstUndoParagraph): adjust
3237
3238         * text3.C (gotoInset): adjust
3239         (dispatch): adjust, and rewrite loop.
3240
3241         * text2.C (init): adjust, and rewrite loop.
3242         (redoParagraphs): adjust
3243         (updateInset): adjust, and rewrite loop.
3244         (deleteEmptyParagraphMechanism): adjust
3245
3246         * tabular.C (LyXTabular): adjust
3247         (SetMultiColumn): adjust
3248         (TeXRow): adjust
3249
3250         * lyxtext.[Ch] (ownerParagraph): delete function
3251         (ownerParagraphs): new function returns a ParagraphList.
3252
3253         * BufferView.C (removeAutoInsets): adjust
3254         (insertErrors): adjust
3255         (setCursorFromRow): adjust
3256
3257 2003-04-01  Angus Leeming  <leeming@lyx.org>
3258
3259         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3260         in the frontends.
3261
3262 2003-04-02  John Levon  <levon@movementarian.org>
3263
3264         * lyxtext.h:
3265         * text.C:
3266         * Makefile.am:
3267         * text_funcs.h:
3268         * text_funcs.C: make transposeChars a free function
3269
3270         * lyxrow_funcs.C: remove wrong comment
3271
3272 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3273
3274         * lyxtext.h: adjust
3275         * rowpainter.C: adjust
3276         * text.C: adjust
3277         * text2.C: adjust
3278         * text3.C: adjust
3279
3280         * lyxrow_funcs. [Ch]: new files
3281
3282         * lyxrow.[Ch]: remove next and previous pointers
3283         (next,previous): remove accessor functions
3284         (isParEnd): move to lyxrow_funcs
3285         (lastPos): move to lyxrow_funcs
3286         (nextRowIsAllInset): move to lyxrow_funcs
3287         (lastPrintablePos): move to lyxrow_funcs
3288         (numberOfSeparators): move to lyxrow_funcs
3289         (numberOfHfills): move to lyxrow_funcs
3290         (numberOfLabelHfills): move to lyxrow_funcs
3291         (hfillExpansion): move to lyxrow_funcs
3292
3293         * lyxfunc.C: adjust
3294
3295         * bufferview_funcs.C (toggleAndShow): adjust
3296
3297         * RowList.h: Remove class RowList from file leave just a
3298         std::list<Row>.
3299
3300         * RowList.C: delete file
3301
3302         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3303         and lyxrow_funcs.h
3304
3305 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3306
3307         * text3.C (cursorPrevious): adjust
3308         (cursorNext): adjust
3309         (dispatch): adjust
3310
3311         * text2.C (redoHeightOfParagraph): adjust
3312         (redoDrawingOfParagraph): adjust
3313         (setCursor): adjust
3314
3315         * text.C (breakParagraph): adjust
3316         (insertChar): adjust
3317         (backspace): adjust
3318
3319         * rowpainter.C (RowPainter): adjust
3320         (leftMargin): simplify and adjust
3321         (most rowpainter functions): adjust.
3322
3323         * rowpainter.h: store the row as RowList::iterator not as Row*
3324
3325         * lyxcursor.C (row): taka RowList::iterator as arg
3326         (irow): ditto
3327
3328         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3329         of Row*.
3330
3331 2003-04-01  Angus Leeming  <leeming@lyx.org>
3332
3333         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3334         stuff like bool Bool.
3335
3336 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3337
3338         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3339         rewrite a loop
3340
3341 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3342
3343         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3344         RowList::iterator.
3345
3346         * lyxtext.h (rows): drop one version and leve a const variant that
3347         returns a RowList::iterator.
3348
3349 2003-03-31  Angus Leeming  <leeming@lyx.org>
3350
3351         * text.C (fill): ensure that the signature is the same as that in the
3352         header file.
3353
3354 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3355
3356         * text2.C (redoParagraphs): adjust
3357         (updateCounters): adjust
3358         (checkParagraph): adjust
3359         (getColumnNearX): adjust and reformat a bit.
3360
3361         * text.C (top_y): adjust
3362         (workWidth): adjust
3363         (leftMargin): adjust
3364         (prepareToPrint): adjust
3365         (getRow): adjust
3366         (getRowNearY): adjust
3367
3368         * lyxtext.h: make rowlist_ mutable.
3369
3370         * RowList.h: add const_iterator
3371         * RowList.C: adjust for RowList::const_iterator.
3372
3373         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3374         adjust.
3375
3376 2003-03-31  John Levon  <levon@movementarian.org>
3377
3378         * lyxrc.h:
3379         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3380
3381         * lyx_main.C: set default fonts from using lyx_gui funcs
3382
3383         * exporter.C: pdf_mode moved from lyxrc
3384
3385         * lyx_cb.C:
3386         * lyxfunc.C: changes from above
3387
3388 2003-03-31  John Levon  <levon@movementarian.org>
3389
3390         * lyx_main.C: fix to the last fix
3391
3392 2003-03-31  John Levon  <levon@movementarian.org>
3393
3394         * bufferlist.C: "Load original" -> "Load Original"
3395
3396         * converter.C:
3397         * exporter.C:
3398         * importer.C:
3399         * lyx_main.C:
3400         * format.C: more Alert cleanups
3401
3402 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3403
3404         * text2.C (removeParagraph): make it take a RowList::iterator as
3405         arg, adjust.
3406         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3407         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3408
3409         * text.C (anchor_row): make it take a RowList::iterator as arg,
3410         adjust.
3411         (computeBidiTables): make it take a const reference to Row instead
3412         of Row pointer, adjust.
3413         (leftMargin): make it take a RowList::iterator as arg, adjust.
3414         (rowBreakPoint): adjust
3415         (breakAgainOneRow): make it take a RowList::iterator as arg,
3416         adjust.
3417         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3418
3419         * bufferview_funcs.C (toggleAndShow): adjust
3420
3421 2003-03-30  John Levon  <levon@movementarian.org>
3422
3423         * Makefile.am:
3424         * BoostFormat.h:
3425         * boost-inst.C: moved to support
3426
3427         * several files: changes as a result
3428
3429 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3430
3431         * text2.C (LyXText): adjust.
3432         (init): adjust
3433         (removeRow): make it take a RowList::iterator as arg, adjust.
3434         (fullRebreak): adjust
3435         (deleteEmptyParagraphMechanism): adjust
3436         (clearPaint): adjust
3437         (postPaint): adjust
3438
3439         * text.C (top_y): adjust
3440         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3441         (breakAgain): make it take a RowList::iterator as arg, adjust.
3442         (breakParagraph): adjust
3443         (insertChar): adjust
3444         (backspace): adjust
3445
3446         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3447         need_break_row, and refresh_row.
3448
3449         * text3.C (dispatch): adjust
3450
3451         * text2.C (checkParagraph): adjust
3452         (setCursor): adjust
3453         (setCursorFromCoordinates): adjust
3454
3455         * text.C (top_y): adjust
3456         (workWidth): adjust
3457         (getRow): make it return a RowList::iterator, adjust
3458         (getRowNearY): make it return a RowList::iterator, adjust
3459
3460         * text2.C (init): adjust
3461         (insertRow): remove function
3462         (insertParagraph): adjust
3463         (redoParagraphs): adjust
3464         (fullRebreak): adjust
3465         (updateCounters): adjust
3466
3467         * text.C (top_y): rewrite to use RowList iterators.
3468         (top_y): adjust
3469         (setHeightOfRow): rewrite to sue RowList iterators.
3470         (appendParagraph): adjust
3471         (breakAgain): adjust
3472         (breakAgainOneRow): adjust
3473         (breakParagraph): adjust
3474         (getRow): adjust
3475         (getRowNearY): adjust, and remove commented code.
3476
3477         * lyxtext.h (firstRow): delete function
3478         (lastRow): delete function
3479         (rows): new function (const and non-const versions.)
3480         (insertRow): delete function
3481
3482         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3483
3484 2003-03-29  John Levon  <levon@movementarian.org>
3485
3486         * BufferView_pimpl.C: always update scrollbar top
3487         because pasting text when we're anchored could mean we
3488         miss an update altogether
3489
3490 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3491
3492         * text2.C (init): use rowlist_.end() and not 0.
3493         (insertRow): change to take a RowList::iterator as arg, adjust
3494         for this.
3495         (insertParagraph): change to take a RowList::iterator as arg,
3496         adjust for this.
3497         (redoParagraphs): remove some debug msgs.
3498
3499         * text.C (appendParagraph): change to take a RowList::iterator
3500         arg, adjust for this.
3501         (breakAgain): add an assert
3502         (breakAgainOneRow): ditto
3503
3504 2003-03-29  John Levon  <levon@movementarian.org>
3505
3506         * text2.C: do not clear selection after inc/decDepth
3507         (bug 550)
3508
3509 2003-03-29  John Levon  <levon@movementarian.org>
3510
3511         * BufferView.C:
3512         * buffer.C: fix broken strerrors according to Lars
3513
3514 2003-03-29  John Levon  <levon@movementarian.org>
3515
3516         * converters.C: more Alert cleanups
3517
3518 2003-03-29  John Levon  <levon@movementarian.org>
3519
3520         * bufferview_funcs.C: remove pointless Alert
3521
3522         * buffer.C: fix confusing error message when
3523         a template is chmoded 000
3524
3525 2003-03-29  John Levon  <levon@movementarian.org>
3526
3527         * BufferView.C:
3528         * BufferView.h:
3529         * BufferView_pimpl.C: Alert fixes
3530
3531         * Makefile.am:
3532         * tabular.C:
3533         * tabular-old.C: remove unused table compat reading
3534
3535 2003-03-29  John Levon  <levon@movementarian.org>
3536
3537         * BufferView.C:
3538         * buffer.C:
3539         * lyx_cb.h:
3540         * lyx_cb.C: more Alert cleanups
3541
3542         * lyxfunc.C: don't allow chktex if not latex document
3543
3544 2003-03-29  John Levon  <levon@movementarian.org>
3545
3546         * lyx_cb.C:
3547         * BufferView.C:
3548         * buffer.C: warnings pushed down from support/,
3549         kill err_alert
3550
3551 2003-03-29  John Levon  <levon@movementarian.org>
3552
3553         * lyxfunc.C: safety check for C-r (revert)
3554
3555 2003-03-29  John Levon  <levon@movementarian.org>
3556
3557         * bufferlist.h:
3558         * bufferlist.C: several UI fixes using Alert::prompt.
3559         Fix the pointless looping quit code. Fix stupid revert
3560         behaviour (bug 938)
3561
3562         * lyxvc.h:
3563         * lyxvc.C:
3564         * lyx_cb.C: use Alert::prompt
3565
3566         * lyx_main.C: remove a silly question
3567
3568         * lyxfunc.C: remove a couple of silly questions,
3569         use Alert::prompt
3570
3571 2003-03-28  John Levon  <levon@movementarian.org>
3572
3573         * text2.C: fix bug 974 (End on empty par)
3574
3575 2003-03-28  John Levon  <levon@movementarian.org>
3576
3577         * BufferView_pimpl.C:
3578         * LyXAction.C:
3579         * lfuns.h: remove do-nothing math greek lfuns
3580
3581 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3582
3583         * lyxgluelength.h (isValidGlueLength): add default arg on
3584         parameter 2. Remove default arg from friend in class.
3585
3586         * lyxlength.h (isValidLength): add default arg on parameter 2.
3587         Remove default arg from friend in class.
3588
3589         * text2.C (LyXText): adjust, initialize refresh_row.
3590         (init): adjust
3591         (removeRow): adjust
3592         (insertRow): adjust
3593         (insertParagraph): adjst
3594         (redoParagraphs): adjust
3595         (fullRebreak): adjust
3596         (updateCounters): adjust
3597         (deleteEmptyParagraphMechanism): first attempt at fixing a
3598         crashing bug.
3599
3600         * text.C (top_y): adjust
3601         (setHeightOfRow): adjust
3602         (getRow): adjust
3603         (getRowNearY): adjust
3604
3605         * lyxtext.h: include RowList.h
3606         (~LyXText): not needed anymore, deleted.
3607         (firstRow): modify for RowList
3608         (lastRow): new function
3609         Delete firstrow and lastrow class variables, add a Rowlist
3610         rowlist_ class variable.
3611
3612         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3613         paragraph is empty.
3614
3615         * RowList.C (insert): fix case where it == begin().
3616
3617 2003-03-26  Angus Leeming  <leeming@lyx.org>
3618
3619         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3620         the thesaurus dialog.
3621
3622 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3623
3624         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3625
3626         * RowList.[Ch]: new files
3627
3628         * ParagraphList.C (erase): handle the case where it == begin
3629         correctly.
3630
3631 2003-03-25  John Levon  <levon@movementarian.org>
3632
3633         * Makefile.am:
3634         * aspell_local.h:
3635         * aspell.C: add new aspell support
3636
3637         * lyxrc.h:
3638         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3639         have it accessible.
3640
3641 2003-03-25  Angus Leeming  <leeming@lyx.org>
3642
3643         * lfuns.h:
3644         * LyXAction.C (init): new LFUN_INSET_INSERT.
3645
3646         * BufferView_pimpl.C (dispatch): split out part of the
3647         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3648
3649         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3650         LFUN_INSET_APPLY.
3651
3652 2003-03-25  Angus Leeming  <leeming@lyx.org>
3653
3654         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3655
3656 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3657
3658         * text2.C:
3659         * text3.C: remove useless row->height(0)
3660
3661 2003-03-25  John Levon  <levon@movementarian.org>
3662
3663         * lyxtext.h:
3664         * text2.C:
3665         * text3.C: rename the refreshing stuff to better names
3666
3667 2003-03-24  John Levon  <levon@movementarian.org>
3668
3669         * BufferView_pimpl.h:
3670         * BufferView_pimpl.C: update layout choice on a mouse
3671         press/release
3672
3673 2003-03-23  John Levon  <levon@movementarian.org>
3674
3675         * Makefile.am: fix commandtags.h reference
3676
3677 2003-03-22  John Levon  <levon@movementarian.org>
3678
3679         * BufferView_pimpl.C:
3680         * lyxtext.h:
3681         * rowpainter.C:
3682         * rowpainter.h:
3683         * text.C:
3684         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3685
3686 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3687
3688         * lyxtext.h:
3689         * text.C: take the rtl methods out of line
3690
3691 2003-03-21 André Pönitz <poenitz@gmx.net>
3692
3693         * metricsinfo.[Ch]: new files containing structures to be passed around
3694         during the two-phase-drawing...
3695
3696 2003-03-21 André Pönitz <poenitz@gmx.net>
3697
3698         * lyxtextclass.C: read 'environment' tag.
3699
3700 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3701
3702         * text2.C (removeRow): fix bug 964
3703
3704 2003-03-20  John Levon  <levon@movementarian.org>
3705
3706         * rowpainter.C:
3707         * text.C:
3708         * text2.C: paint cleanups. Inset::update() dropped font
3709         parameter
3710
3711 2003-03-19  John Levon  <levon@movementarian.org>
3712
3713         * lyxfunc.C: only fitcursor/markDirty if available()
3714
3715 2003-03-19  John Levon  <levon@movementarian.org>
3716
3717         * commandtags.h: rename to ...
3718
3719         * lfuns.h: ... this, and renumber / cleanup
3720
3721 2003-03-19  John Levon  <levon@movementarian.org>
3722
3723         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3724         fit the cursor after an lfun
3725
3726         * BufferView.h:
3727         * BufferView.C:
3728         * BufferView_pimpl.h:
3729         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3730
3731         * LyXAction.C: layout-character should have ReadOnly
3732
3733         * ParagraphParameters.C:
3734         * buffer.C:
3735         * bufferview_funcs.C:
3736         * lyx_cb.C:
3737         * lyxfind.C:
3738         * lyxtext.h:
3739         * text.C:
3740         * text2.C:
3741         * text3.C:
3742         * undo_funcs.C: changes from above
3743
3744 2003-03-18  John Levon  <levon@movementarian.org>
3745
3746         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3747         remove it from update()
3748
3749         * lyxfunc.C: update layout choice after an lfun
3750
3751         * text3.C: remove extra updateLayoutChoice()s
3752
3753 2003-03-18  John Levon  <levon@movementarian.org>
3754
3755         * text.C: top_y change means full repaint, fix
3756         a drawing bug with cursor movement
3757
3758 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3759
3760         * lyxtext.h:
3761         * text.C:
3762         * text2.C: anchor row on setCursor
3763
3764 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3765
3766         * lyxtext.h: remove almost all mutable keywords
3767         * text.C:
3768         * text2.C:
3769         * text3.C: remove const keywords accordingly
3770
3771 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3772
3773         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3774         anon namespace
3775         (TeXEnvironment): ditto
3776         (TeXOnePar): ditto
3777
3778 2003-03-17  John Levon  <levon@movementarian.org>
3779
3780         * text.C (rowBreakPoint): remove attempt to fix displayed
3781         math insets inside a manual label
3782
3783 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * lyxtext.h: remove BufferView* as first arg from almost all class
3786         functions.
3787         * other files: adjust.
3788
3789 2003-03-17  John Levon  <levon@movementarian.org>
3790
3791         * lyxtext.h:
3792         * undo_funcs.C:
3793         * text2.C: more paint cleanups
3794
3795         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3796
3797         * rowpainter.h:
3798         * rowpainter.C: remove "smart" background painting code
3799
3800 2003-03-16  John Levon  <levon@movementarian.org>
3801
3802         * lyxtext.h:
3803         * text.C:
3804         * text2.C:
3805         * text3.C: add helper functions for setting refresh_row/y
3806
3807 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3808
3809         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3810         newline inset which *can* get inserted in the pass_thru layouts.
3811         This is primarily for literate documents.
3812
3813 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3814
3815         * buffer.C: increment LYX_FORMAT to 223
3816
3817 2003-03-14 André Pönitz <poenitz@gmx.net>
3818
3819         * textclass.h: prepare for environment handling, ws changes
3820         * lyxlayout.C: read latexheader and latexfooter tags
3821
3822 2003-03-14  John Levon  <levon@movementarian.org>
3823
3824         * text2.C: rewrite ::status() a bit
3825
3826 2003-03-13  John Levon  <levon@movementarian.org>
3827
3828         * lyxtext.h: add some docs
3829
3830 2003-03-13  John Levon  <levon@movementarian.org>
3831
3832         * lyxtext.h:
3833         * text.C:
3834         * text2.C:
3835         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3836
3837 2003-03-13  John Levon  <levon@movementarian.org>
3838
3839         * text3.C: fix appendix redrawing
3840
3841 2003-03-13  John Levon  <levon@movementarian.org>
3842
3843         * text.C (setHeightOfRow):
3844         * rowpainter.h:
3845         * rowpainter.C: make appendix mark have the text
3846           "Appendix" so the user knows what it is
3847
3848         * LColor.h:
3849         * LColor.C: s/appendixline/appendix/ from above
3850
3851 2003-03-13  John Levon  <levon@movementarian.org>
3852
3853         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3854
3855         * text.C: fix a getChar(pos) bug properly
3856
3857 2003-03-13  Angus Leeming  <leeming@lyx.org>
3858
3859         * commandtags.h:
3860         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3861         Probably only temporary. Let's see how things pan out.
3862
3863         * BufferView.C (unlockInset):
3864         * BufferView_pimpl.C (fitCursor):
3865         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3866
3867         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3868         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3869
3870         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3871         new functions that convert ParagraphParameters to and from a string.
3872
3873         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3874         BufferView::Pimpl's dispatch.
3875         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3876
3877 2003-03-13 André Pönitz <poenitz@gmx.net>
3878
3879         * lyxfunc.C:
3880         * text3.C:
3881         * factory.C: make it aware of InsetEnv
3882
3883 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3884
3885         * text2.C (setCursor): never ask for one past last
3886         (setCursor): add some debugging messages.
3887
3888         * text.C (singleWidth): never ask for one past last
3889         (singleWidth): ditto
3890         (leftMargin): ditto
3891         (rightMargin): ditto
3892         (rowBreakPoint): ditto
3893         (setHeightOfRow): ditto
3894         (prepareToPrint): ditto
3895
3896         * rowpainter.C (paintBackground): never ask for one past last
3897         (paintText): never ask for one past last
3898
3899         * paragraph_pimpl.C (getChar): make the assert stricter, never
3900         allow the one past last pos to be taken
3901
3902         * paragraph.C (getChar): ws changes only
3903
3904         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3905         (numberOfSeparators): ditto
3906         (numberOfHfills): ditto
3907
3908 2003-03-12  John Levon  <levon@movementarian.org>
3909
3910         * author.h:
3911         * author.C:
3912         * bufferparams.h:
3913         * bufferparams.C:
3914         * paragraph_funcs.C: fix per-buffer authorlists
3915
3916 2003-03-12  John Levon  <levon@movementarian.org>
3917
3918         * text.C: fix newline in right address
3919
3920 2003-03-12  Angus Leeming  <leeming@lyx.org>
3921
3922         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3923         duplicate those in LyXFunc::dispatch.
3924
3925         * commandtags.h:
3926         * LyXAction.C:
3927         * ToolbarDefaults.C:
3928         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3929         Add LFUN_FONTFREE_UPDATE.
3930
3931         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3932         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3933
3934         * bufferview_func.[Ch]: several new functions to facilliate
3935         transfer of data to and from the character dialog.
3936
3937 2003-03-12  John Levon  <levon@movementarian.org>
3938
3939         * buffer.C:
3940         * paragraph.h:
3941         * paragraph.C:
3942         * paragraph_funcs.C:
3943         * paragraph_pimpl.C:
3944         * sgml.C:
3945         * tabular.C:
3946         * text.C:
3947         * text3.C: remove META_NEWLINE in favour of an inset
3948
3949         * rowpainter.h:
3950         * rowpainter.C: remove paintNewline (done by inset)
3951
3952 2003-03-12  John Levon  <levon@movementarian.org>
3953
3954         * paragraph_pimpl.C: complain about bad getChar()s
3955         for a while at least
3956
3957 2003-03-12  John Levon  <levon@movementarian.org>
3958
3959         * buffer.h:
3960         * buffer.C: move paragraph read into a separate function,
3961         a little renaming to reflect that.
3962
3963         * bufferparams.h:
3964         * bufferparams.C: remove the author_ids map, not necessary now
3965
3966         * factory.h:
3967         * factory.C: moved Buffer::readInset to here
3968
3969         * paragraph_funcs.h:
3970         * paragraph_funcs.C: readParagraph free function moved from
3971         buffer.C
3972
3973         * tabular.C: name change
3974
3975 2003-03-12  John Levon  <levon@movementarian.org>
3976
3977         * buffer.C:
3978         * ParagraphParameters.C: move par params input to
3979         a read() method
3980
3981         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3982         behave like a normal read from the stream wrt reading
3983         a line vs. a \\token
3984
3985 2003-03-12  John Levon  <levon@movementarian.org>
3986
3987         * paragraph.C:
3988         * ParagraphParameters.h:
3989         * ParagraphParameters.C: move output code to a
3990         ::write() method
3991
3992 2003-03-12  John Levon  <levon@movementarian.org>
3993
3994         * BufferView.C (insertLyXFile):
3995         * buffer.h:
3996         * buffer.C:
3997         * tabular.C: use a parlist iterator for creating the
3998           document.
3999
4000 2003-03-12  John Levon  <levon@movementarian.org>
4001
4002         * buffer.C: make current_change static local not
4003           static file-scope
4004
4005 2003-03-12  John Levon  <levon@movementarian.org>
4006
4007         * buffer.C: fix insertStringAsLines for change tracking
4008
4009 2003-03-12  John Levon  <levon@movementarian.org>
4010
4011         * BufferView.C:
4012         * tabular.C:
4013         * buffer.h:
4014         * buffer.C:
4015         * bufferparams.h:
4016         * bufferparams.C: move author list into params. Rename some
4017           functions. Move the header reading into a separate token
4018           loop. Move the header token reading into BufferParams.
4019
4020 2003-03-12  John Levon  <levon@movementarian.org>
4021
4022         * changes.C: put debug inside lyxerr.debugging() checks
4023
4024 2003-03-11 André Pönitz <poenitz@gmx.net>
4025
4026         * factory.C: make it aware of InsetHFill
4027
4028 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4029
4030         * buffer.C (latexParagraphs): move function from here...
4031         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4032         args.
4033
4034 2003-03-10  Angus Leeming  <leeming@lyx.org>
4035
4036         * LyXAction.C (init): fix bug in poplating array with multiple entries
4037         with the same LFUN (spotted by JMarc).
4038
4039 2003-03-10  John Levon  <levon@movementarian.org>
4040
4041         * text.C:
4042         * text2.C: move getColumnNearX() near its
4043         only call site
4044
4045 2003-03-10  John Levon  <levon@movementarian.org>
4046
4047         * text.C: fix break before a minipage
4048
4049 2003-03-10  John Levon  <levon@movementarian.org>
4050
4051         * text.C: fix the last commit
4052
4053 2003-03-09  John Levon  <levon@movementarian.org>
4054
4055         * lyxtext.h:
4056         * text.C:
4057         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4058         bug 365 (don't break before insets unless needed). Don't
4059         return a value > last under any circumstances.
4060
4061 2003-03-09  Angus Leeming  <leeming@lyx.org>
4062
4063         * BufferView_pimpl.C (trackChanges, dispatch): call
4064         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4065
4066 2003-03-09  Angus Leeming  <leeming@lyx.org>
4067
4068         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4069         than Dialogs::showAboutlyx().
4070
4071 2003-03-09  Angus Leeming  <leeming@lyx.org>
4072
4073         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4074         than Dialogs::showTabularCreate().
4075
4076 2003-03-09  John Levon  <levon@movementarian.org>
4077
4078         * lyxtext.h:
4079         * text.C:
4080         * text2.C: 3rd arg to nextBreakPoint was always the same.
4081           Use references.
4082
4083 2003-03-08  John Levon  <levon@movementarian.org>
4084
4085         * lyxrow.C:
4086         * paragraph.C:
4087         * paragraph.h:
4088         * rowpainter.C:
4089         * text.C:
4090         * text2.C: Remove the "main" bit from the "main body"
4091           notion.
4092
4093 2003-03-08  John Levon  <levon@movementarian.org>
4094
4095         * text.C (leftMargin): The left margin of an empty
4096         manual label paragraph should not include the label width
4097         string length.
4098
4099         * text.C (prepareToPrint): don't attempt to measure hfills
4100         for empty manual label paragraphs - the answer should be 0
4101
4102 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * CutAndPaste.C: remove commented code and reindent.
4105
4106 2003-03-08  John Levon  <levon@movementarian.org>
4107
4108         * lyxfunc.h:
4109         * lyxfunc.C: move reloadBuffer()
4110
4111         * BufferView.h:
4112         * BufferView.C: to here
4113
4114         * lyxvc.C: add comment
4115
4116         * vc-backend.h:
4117         * vc-backend.C: call bv->reload() to avoid
4118           getStatus() check on MENURELOAD
4119
4120 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4121
4122         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4123         to an old format .dep file.
4124
4125 2003-03-07  Angus Leeming  <leeming@lyx.org>
4126
4127         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4128         when the LFUN_MOUSE_RELEASE should have been handled by
4129         inset->localDispatch.
4130
4131 2003-03-07  Angus Leeming  <leeming@lyx.org>
4132
4133         * BufferView_pimpl.C (dispatch):
4134         * LyXAction.C (init):
4135         * ToolbarDefaults.C (init):
4136         * commandtags.h:
4137         * lyxfunc.C (getStatus):
4138         remove LFUN_INSET_GRAPHICS.
4139
4140         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4141
4142 2003-03-07  Angus Leeming  <leeming@lyx.org>
4143
4144         * commandtags.h:
4145         * LyXAction.C (init):
4146         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4147
4148         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4149
4150         * commandtags.h:
4151         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4152
4153         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4154         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4155
4156 2003-03-07  Angus Leeming  <leeming@lyx.org>
4157
4158         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4159         remove "ert".
4160
4161 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4162
4163         * ParagraphList.C (front): new function
4164         (back): implement
4165
4166 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4167
4168         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4169         and top_row_offset_. removed var first_y.
4170         * text.C (top_y):
4171         * text2.C (LyXText, removeRow):
4172         * text3.C:
4173         * BufferView_pimpl.C:
4174         use these methods instead of using first_y
4175
4176 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4177
4178         * text2.C (pasteSelection): adjust for checkPastePossible
4179
4180         * CutAndPaste.C: remove Paragraph * buf and replace with
4181         ParagraphList paragraphs.
4182         (DeleteBuffer): delete
4183         (cutSelection): change the tc type to textclass_type
4184         (copySelection): change the tc type to textclass_type
4185         (copySelection): adjust for ParagraphList
4186         (pasteSelection): change the tc type to textclass_type
4187         (pasteSelection): adjust for Paragraphlist
4188         (nrOfParagraphs): simplify for ParagraphList
4189         (checkPastePossible): simplify for ParagraphList
4190         (checkPastePossible): remove unused arg
4191
4192         * ParagraphList.C (insert): handle the case where there are no
4193         paragraphs yet.
4194
4195         * CutAndPaste.h: make CutAndPaste a namespace.
4196
4197         * text3.C (dispatch): adjust
4198
4199         * text.C (breakParagraph): add a ParagraphList as arg
4200
4201         * paragraph_funcs.C (breakParagraph): change to take a
4202         BufferParams and a ParagraphList as args.
4203         (breakParagraphConservative): ditto
4204         (mergeParagraph): ditto
4205         (TeXDeeper): add a ParagraphList arg
4206         (TeXEnvironment): ditto
4207         (TeXOnePar): ditto
4208
4209         * buffer.C (readLyXformat2): adjust
4210         (insertStringAsLines): adjust
4211         (latexParagraphs): adjust
4212
4213         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4214         (cutSelection): adjust
4215         (pasteSelection): adjust
4216
4217         * BufferView_pimpl.C (insertInset): adjust
4218
4219 2003-03-05  Angus Leeming  <leeming@lyx.org>
4220
4221         * commandtags.h:
4222         * LyXAction.C (init):
4223         * BufferView_pimpl.C (dispatch):
4224         * lyxfunc.C (getStatus):
4225         remove LFUN_CHILD_INSERT.
4226
4227         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4228
4229 2003-03-05  Angus Leeming  <leeming@lyx.org>
4230
4231         * commandtags.h:
4232         * LyXAction.C (init):
4233         * src/factory.C (createInset):
4234         * lyxfunc.C (getStatus):
4235         * text3.C (dispatch):
4236         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4237
4238         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4239
4240 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * ParagraphList.C (insert): handle insert right before end()
4243         (erase): fix cases where it can be first or last paragraph.
4244
4245 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4246
4247         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4248         Paragraph::next and Paragraph::previous
4249         (TeXOnePar): ditto
4250
4251         * text.C (breakParagraph): adjust
4252
4253         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4254         BufferParams& as arg.
4255         (breakParagraph): use ParagraphList::insert
4256         (breakParagraphConservative): take a Buffer* instead of a
4257         BufferParams& as arg.
4258         (breakParagraphConservative): use ParagraphList::insert.
4259
4260         * buffer.C (insertStringAsLines): un-const it
4261         (insertStringAsLines): adjust
4262
4263         * ParagraphList.C (insert): new function
4264
4265         * CutAndPaste.C (pasteSelection): adjust
4266
4267         * text.C (backspace): adjust
4268
4269         * tabular.C (SetMultiColumn): adjust
4270
4271         * CutAndPaste.C (cutSelection): adjust
4272         (pasteSelection): adjust
4273
4274         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4275         Buffer const * as arg
4276
4277         * ParagraphList.C (erase): new function
4278         * paragraph_funcs.C (mergeParagraph): use it
4279         (mergeParagraph): make it take a Buffer* instead of a
4280         BufferParams* as arg
4281
4282         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4283         as arg
4284         (breakParagraphConservative): ditto
4285
4286         * paragraph.h: remove the breakParagraph friend
4287
4288         * paragraph.C (eraseIntern): new function
4289         (setChange): new function
4290
4291         * paragraph_funcs.C (mergeParagraph): make it take a
4292         ParagraphList::iterator instead of a Paragraph *, adjust
4293         accordingly.
4294
4295         * paragraph.h: move an #endif so that the change tracking stuff
4296         also works in the NO_NEXT case.
4297
4298 2003-03-04  Angus Leeming  <leeming@lyx.org>
4299
4300         * commandtags.h:
4301         * LyXAction.C: new LFUN_INSET_MODIFY.
4302
4303         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4304         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4305
4306 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4307
4308         * several files: ws changes only
4309
4310         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4311         (TeXEnvironment): ditto
4312         (TeXDeeper): ditto
4313
4314         * buffer.C (makeLaTeXFile): adjust
4315         (latexParagraphs): make it take ParagraphList::iterator as args
4316
4317 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4318
4319         * buffer.C (latexParagraphs): adjust
4320
4321         * paragraph.C (TeXOnePar): move function...
4322         (optArgInset): move function...
4323         (TeXEnvironment): move function...
4324         * paragraph_pimpl.C (TeXDeeper): move function...
4325         * paragraph_funcs.C: ...here
4326
4327         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4328
4329 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * buffer.C (readInset): remove compability code for old Figure and
4332         InsetInfo insets
4333
4334 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * buffer.C: ws changes
4337         (readInset):
4338
4339         * BufferView_pimpl.C: ditto
4340         * author.C: ditto
4341         * buffer.h: ditto
4342         * bufferlist.h: ditto
4343         * changes.h: ditto
4344         * lyxfunc.C: ditto
4345
4346 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4347
4348         * converter.[Ch]: split into itself +
4349         * graph.[Ch]
4350         * format.[Ch]
4351         * Makefile.am: += graph.[Ch] + format.[Ch]
4352         * MenuBackend.C
4353         * buffer.C
4354         * exporter.C
4355         * importer.C
4356         * lyx_main.C
4357         * lyxfunc.C
4358         * lyxrc.C: added #include "format.h"
4359
4360 2003-02-27  Angus Leeming  <leeming@lyx.org>
4361
4362         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4363           a label.
4364
4365         * factory.C (createInset): add "label" to the factory.
4366
4367         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4368           string and do no more.
4369
4370 2003-02-27  Angus Leeming  <leeming@lyx.org>
4371
4372         * commandtags.h:
4373         * LyXAction.C (init):
4374         * factory.C (createInset):
4375         * BufferView_pimpl.C (dispatch):
4376           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4377
4378         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4379
4380         * lyxfunc.C (dispatch):
4381         * text3.C (dispatch): pass name to params2string.
4382
4383 2003-02-26  Angus Leeming  <leeming@lyx.org>
4384
4385         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4386           blocks together.
4387           Rearrange the ~includes. Strip out the unnecessary ones.
4388
4389         * factory.C (createInset): reformat.
4390           create new insets for the various LFUN_XYZ_APPLY lfuns.
4391
4392 2003-02-26  John Levon  <levon@movementarian.org>
4393
4394         * lyxrow.h:
4395         * lyxrow.C: add isParStart,isParEnd helpers
4396
4397         * paragraph.h: make isInserted/DeletedText take refs
4398
4399         * paragraph_funcs.h:
4400         * paragraph_funcs.C: remove #if 0'd code
4401
4402         * lyxtext.h:
4403         * text3.C:
4404         * text2.C:
4405         * text.C: use lyxrow helpers above.
4406           Move draw and paint routines to RowPainter.
4407           Make several methods use refs not pointers.
4408           Make backgroundColor() const.
4409           Add markChangeInDraw(), isInInset().
4410           Merge changeRegionCase into changeCase.
4411           Make workWidth() shouldn't-happen code into an Assert.
4412
4413         * rowpainter.h:
4414         * rowpainter.C: new class for painting a row.
4415
4416         * vspace.h:
4417         * vspace.C: make inPixels take a ref
4418
4419 2003-02-26  Angus Leeming  <leeming@lyx.org>
4420
4421         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4422         LFUN_REF_APPLY.
4423
4424 2003-02-25  John Levon  <levon@movementarian.org>
4425
4426         * ispell.C: give the forked command a more accurate name
4427
4428 2003-02-22  John Levon  <levon@movementarian.org>
4429
4430         * toc.h:
4431         * toc.C: make TocItem store an id not a Paragraph *
4432           (bug #913)
4433
4434 2003-02-21  Angus Leeming  <leeming@lyx.org>
4435
4436         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4437           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4438           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4439           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4440           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4441           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4442
4443         * BufferView_pimpl.C (dispatch):
4444         * LyXAction.C (init):
4445         * factory.C (createInset):
4446         * lyxfunc.C (getStatus, dispatch):
4447         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4448
4449 2003-02-21  Angus Leeming  <leeming@lyx.org>
4450
4451         * BufferView_pimpl.C (MenuInsertLyXFile):
4452         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4453         * lyxfunc.C (menuNew, open, doImport):
4454           no longer pass a LyXView & to fileDlg.
4455
4456 2003-02-21  Angus Leeming  <leeming@lyx.org>
4457
4458         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4459         * LyXAction.C: change, BIBKEY to BIBITEM.
4460         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4461         Change InsetBibKey to InsetBibitem.
4462         Change BIBKEY_CODE to BIBITEM_CODE.
4463         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4464         * factory.C: replace insetbib.h with insetbibitem.h.
4465         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4466         * paragraph.C: replace insetbib.h with insetbibitem.h.
4467         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4468         Change bibkey() to bibitem().
4469         * text.C: remove insetbib.h.
4470         * text2.C: replace insetbib.h with insetbibitem.h.
4471         change bibkey() to bibitem().
4472         * text3.C: remove insetbib.h.
4473         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4474
4475 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4476
4477         * lyxrc.C (output): enclose user email in quotes (in case there are
4478         several words)
4479
4480 2003-02-18  John Levon  <levon@movementarian.org>
4481
4482         * buffer.h: add std::
4483
4484 2003-02-17  John Levon  <levon@movementarian.org>
4485
4486         * SpellBase.h:
4487         * ispell.h:
4488         * ispell.C:
4489         * pspell.h:
4490         * pspell.C: reworking. Especially in ispell, a large
4491           number of clean ups and bug fixes.
4492
4493         * lyxfunc.C: fix revert to behave sensibly
4494
4495 2003-02-17 André Pönitz <poenitz@gmx.net>
4496
4497         * LyXAction.C:
4498         * commandtags.h: new LFUN_INSERT_BIBKEY
4499
4500         * layout.h:
4501         * lyxlayout.C:
4502         * buffer.C:
4503         * factory.C:
4504         * text.C:
4505         * text2.C:
4506         * text3.C:
4507         * paragraph.[Ch]:
4508         * paragraph_func.C: remove special bibkey handling
4509
4510 2003-02-17  John Levon  <levon@movementarian.org>
4511
4512         * text.C (Delete): fix case where delete at the end of
4513           the very first paragraph would not merge the pars
4514
4515 2003-02-17  John Levon  <levon@movementarian.org>
4516
4517         * lyxrow.C: fix lastPrintablePos()
4518
4519 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4520
4521         * bufferparams.C (writeLaTeX): add a std:here
4522
4523         * buffer.C: and remove a using directive there
4524
4525 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4526
4527         * buffer.C (makeLaTeXFile): move the code that generates the
4528           preamble...
4529
4530         * bufferparams.C (writeLaTeX): ... in this new method
4531
4532         * LaTeXFeatures.C (getEncodingSet): make const
4533           (getLanguages): make const
4534
4535         * MenuBackend.C (binding): returns the binding associated to this
4536           action
4537           (add): sets the status of each item by calling getStatus. Adds
4538           some intelligence.
4539           (read): add support for OptSubMenu
4540           (expand): remove extra separator at the end of expanded menu
4541
4542 2003-02-15  John Levon  <levon@movementarian.org>
4543
4544         * BufferView.C:
4545         * BufferView_pimpl.C:
4546         * bufferlist.h:
4547         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4548           inset code that had no actual effect. Remove unneeded status
4549           code.
4550
4551 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4552
4553         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4554           in preamble
4555
4556 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4557
4558         * text.C (drawLengthMarker): also draw an arrow marker for
4559           symbolic lengths (medskip...)
4560
4561 2003-02-14  John Levon  <levon@movementarian.org>
4562
4563         * tabular.h:
4564         * tabular.C: better method names
4565
4566 2003-02-14  John Levon  <levon@movementarian.org>
4567
4568         * BufferView_pimpl.C:
4569         * bufferlist.C:
4570         * buffer.C:
4571         * converter.C:
4572         * lyx_cb.C:
4573         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4574           it's a more accurate name. Remove some pointless uses.
4575
4576 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4577
4578         * text2.C (LyXText): change order of initilizers to shut off
4579           warnings
4580
4581 2003-02-14  John Levon  <levon@movementarian.org>
4582
4583         * buffer.C: use ParIterator for getParFromID()
4584
4585         * paragraph.h:
4586         * paragraph.C:
4587         * paragraph_pimpl.h:
4588         * paragraph_pimpl.C: remove unused getParFromID()
4589
4590 2003-02-14  John Levon  <levon@movementarian.org>
4591
4592         * buffer.C: remove some very old #if 0'd parse code
4593
4594 2003-02-13  John Levon  <levon@movementarian.org>
4595
4596         * text.h:
4597         * text.C:
4598         * text2.C: move hfillExpansion(), numberOfSeparators(),
4599           rowLast(), rowLastPrintable(), numberofHfills(),
4600           numberOfLabelHfills() ...
4601
4602         * lyxrow.h:
4603         * lyxrow.C: ... to member functions here.
4604
4605         * paragraph.h:
4606         * paragraph.C:
4607         * lyxtext.h:
4608         * text.C: remove LyXText::beginningOfMainBody(), and call
4609           p->beginningOfMainBody() directly. Move the check for
4610           LABEL_MANUAL into the latter.
4611
4612         * text.h:
4613         * text.C:
4614         * text2.C:
4615         * vspace.C:
4616         * BufferView.h:
4617         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4618
4619         * text.h:
4620         * text.C:
4621         * text2.C:
4622         * text3.C:
4623         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4624           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4625
4626 2003-02-13  John Levon  <levon@movementarian.org>
4627
4628         * CutAndPaste.C: remove debug
4629
4630 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4631
4632         * paragraph.C (asString): remove two unused variables
4633
4634         * lyxtextclass.C (readTitleType):
4635           (Read):
4636           (LyXTextClass): handle new members titletype_ and titlename_
4637
4638         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4639
4640 2003-02-09  John Levon  <levon@movementarian.org>
4641
4642         * buffer.h:
4643         * buffer.C: replace hand-coded list with a map for the dep clean
4644
4645 2003-02-08  John Levon  <levon@movementarian.org>
4646
4647         * LaTeX.C: consolidate code into showRunMessage() helper
4648
4649 2003-02-08  John Levon  <levon@movementarian.org>
4650
4651         * lyxfind.C:
4652         * lyxtext.h:
4653         * text2.C:
4654         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4655           and pass the size in explicitly
4656
4657         * BufferView_pimpl.h:
4658         * BufferView_pimpl.C:
4659         * BufferView.h:
4660         * BufferView.C: add getCurrentChange()
4661
4662         * BufferView_pimpl.h:
4663         * BufferView_pimpl.C: handle change lfuns
4664
4665         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4666           for changes. Mark pasted paragraphs as new.
4667
4668         * support/lyxtime.h:
4669         * support/lyxtime.C:
4670         * DepTable.C: abstract time_t as lyx::time_type
4671
4672         * LColor.h:
4673         * LColor.C: add colours for new text, deleted text, changebars
4674
4675         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4676           package use "usenames" option.
4677
4678         * commandtags.h:
4679         * lyxfunc.C:
4680         * LyXAction.C: add change lfuns
4681
4682         * Makefile.am:
4683         * author.h:
4684         * author.C: author handling
4685
4686         * buffer.h:
4687         * buffer.C: add a per-buffer author list, with first entry as
4688           current author. Handle new .lyx tokens for change tracking. Output
4689           author list to .lyx file. Output dvipost stuff to .tex preamble.
4690           Bump lyx format to 222.
4691
4692         * bufferlist.h:
4693         * bufferlist.C: add setCurrentAuthor() to reset current author details
4694           in all buffers.
4695
4696         * bufferparams.h:
4697         * bufferparams.C: add param for tracking
4698
4699         * bufferview_funcs.C: output change info in minibuffer
4700
4701         * Makefile.am:
4702         * changes.h:
4703         * changes.C: add change-tracking structure
4704
4705         * debug.h:
4706         * debug.C: add CHANGES debug flag
4707
4708         * lyxfind.h:
4709         * lyxfind.C: add code for finding the next change piece
4710
4711         * lyxrc.h:
4712         * lyxrc.C: add user_name and user_email
4713
4714         * lyxrow.h:
4715         * lyxrow.C: add a metric for the top of the text line
4716
4717         * lyxtext.h:
4718         * text.C: implement accept/rejectChange()
4719
4720         * lyxtext.h:
4721         * text.C: paint changebars. Paint new/deleted text in the chosen
4722         colours. Strike through deleted text.
4723
4724         * paragraph.h:
4725         * paragraph.C:
4726         * paragraph_pimpl.h:
4727         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4728           in the current change to the insert functions. Rework erase to
4729           mark text as deleted, adding an eraseIntern() and a range-based
4730           erase(). Implement per-paragraph change lookup and
4731           accept/reject.
4732
4733         * paragraph_funcs.C: Fixup paste for change tracking.
4734
4735         * tabular.C: mark added row/columns as new.
4736
4737         * text.C: fix rowLast() to never return -1. Don't allow
4738           spellchecking of deleted text. Track transpose changes. Don't
4739           allow paragraph break or merge where appropriate.
4740
4741         * text2.C: leave cursor at end of selection after a cut.
4742
4743 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4744
4745         * text.C (getLengthMarkerHeight):
4746         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4747         visible on screen too.
4748
4749 2003-02-07  John Levon  <levon@movementarian.org>
4750
4751         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4752
4753 2003-02-05  Angus Leeming  <leeming@lyx.org>
4754
4755         * lyxserver.C (read_ready): revert my patch of 11 September last year
4756         as it sends PC cpu through the roof. Presumably this means that
4757         the lyxserver will no longer run on an Alpha...
4758
4759 2003-01-30  Angus Leeming  <leeming@lyx.org>
4760
4761         * factory.C (createInset): create an InsetCommandParam of type "index"
4762         and use it to 'do the right thing'.
4763
4764         * text2.C (getStringToIndex): ensure that cursor position is always
4765         reset to the reset_cursor position.
4766
4767 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4768
4769         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4770         disabled.
4771
4772 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4773
4774         * bufferview.C:
4775         * lyxcb.C:
4776         * lyxfunc.C: Output messages with identical spelling, punctuation,
4777         and spaces
4778
4779 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4780
4781         * MenuBackend.C (expandFormats): List only viewable export formats
4782         in "View" menu
4783
4784         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4785         message
4786
4787         * lyxfunc.C (getStatus): Make sure that formats other than
4788         "fax" can also be disabled
4789
4790 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4791
4792         * text3.C (dispatch): put the lfuns that insert insets in 3
4793         groups, and call doInsertInset with appropriate arguments.
4794         (doInsertInset): new function, that creates an inset and inserts
4795         it according to some boolean parameters.
4796
4797 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4798
4799         * buffer.C (readFile): remember to pass on 'par' when calling
4800         readFile recursively.
4801
4802 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4803
4804         * MenuBackend.C (expandFormats): add "..." to import formats.
4805
4806 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4807
4808         * paragraph.C (asString): Remove XForms RTL hacks.
4809
4810 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4811         * buffer.C: fix typo
4812
4813 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4814
4815         * Makefile.am (LIBS): delete var
4816         (lyx_LDADD): add @LIBS@ here instead.
4817
4818 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4819
4820         * Clarify the meaning of "wheel mouse jump"
4821
4822 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4823
4824         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4825         tabular in a float
4826
4827 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4828
4829         * importer.C (Loaders): do not preallocate 3 elements in the
4830         vector, since one ends up with 6 elements otherwise
4831
4832 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4833
4834         * DepTable.C (write): write the file name as last element of the
4835         .dep file (because it may contain spaces)
4836         (read): read info in the right order
4837
4838 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4839
4840         * paragraph_pimpl.C (simpleTeXBlanks):
4841         (simpleTeXSpecialChars):
4842         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4843
4844         * tabular.C (latex): add some missing case statements. Reindent.
4845
4846         * MenuBackend.C (expandToc): remove unused variable.
4847
4848 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4849
4850         * LColor.C:
4851         * LaTeX.C:
4852         * LyXAction.C:
4853         * MenuBackend.C:
4854         * buffer.C:
4855         * exporter.C:
4856         * lyxfunc.C:
4857         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4858         and the like.
4859
4860 2003-01-05  John Levon  <levon@movementarian.org>
4861
4862         * BufferView.h:
4863         * BufferView.C: add getEncoding()
4864
4865         * kbsequence.h:
4866         * kbsequence.C: do not store last keypress
4867
4868         * lyxfunc.h:
4869         * lyxfunc.C: store last keypress here instead. Pass encoding
4870           to getISOEncoded()
4871
4872 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4873
4874         * lyx_main.C (init): remove annoying error message when following
4875         symbolic links (bug #780)
4876
4877 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4878
4879         * text.C (insertChar):
4880         * lyxrc.C (getDescription): remove extra spaces
4881
4882 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4883
4884         * lyxrc.C (getDescription): remove extra spaces
4885
4886 2002-12-20  John Levon  <levon@movementarian.org>
4887
4888         * text3.C: hack fix for page up/down across tall rows
4889
4890 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4891
4892         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4893         not been invoked
4894
4895 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4896
4897         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4898         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4899         thesaurus is not compiled in
4900
4901 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4902
4903         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4904
4905 2002-12-16  Angus Leeming  <leeming@lyx.org>
4906
4907         * lyxrc.[Ch]:
4908         * lyx_main.C (init): remove override_x_deadkeys stuff.
4909
4910 2002-12-12  John Levon  <levon@movementarian.org>
4911
4912         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4913           insert. Only remove shift modifier under strict
4914           circumstances.
4915
4916 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * MenuBackend.C (expandToc): fix crash.
4919
4920 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4921
4922         * MenuBackend.C (expandToc): gettext on float names.
4923
4924 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4925
4926         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4927         implement bool empty() [bug 490]
4928
4929 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4932
4933 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4934
4935         * several files: ws changes
4936
4937 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * text2.C (setCounter): clean up a bit, use boost.format.
4940         (updateCounters): initialize par upon declaration.
4941
4942         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4943         if the layout exists. We do not just store the layout any more.
4944         (SwitchLayoutsBetweenClasses): use boost.format
4945
4946 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4947
4948         * converter.C (convert): if from and to files are the same, use a
4949         temporary files as intermediary
4950
4951 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4952
4953         * commandtags.h:
4954         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4955
4956 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4957
4958         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4959
4960 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4961
4962         * tabular.C (asciiPrintCell): use string(size, char) instead of
4963         explicit loop.
4964
4965         * sgml.C (openTag): fix order of arguments to string constructor
4966         (closeTag): ditto
4967
4968         * lyxfunc.C (dispatch): use boost.format
4969
4970         * lots of files: change "c" -> 'c'
4971
4972 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4973
4974         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4975
4976 2002-11-25  Angus Leeming  <leeming@lyx.org>
4977
4978         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4979
4980         * lyx_main.C (init): compile fix.
4981
4982 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4983
4984         * lyx_cb.C (start): boost.formatify
4985         do not include <iostream>
4986
4987         * lengthcommon.C: ws only
4988
4989         * boost-inst.C,BoostFormat.h: add more explict instantations
4990
4991 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4992
4993         * lots of files: handle USE_BOOST_FORMAT
4994
4995 2002-11-21  John Levon  <levon@movementarian.org>
4996
4997         * pspell.C: fix compile
4998
4999 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5000
5001         * lyxfunc.C (dispatch): use boost::format
5002         (open): ditto
5003         (doImport): ditto
5004
5005         * lyxfont.C (stateText): use boost::format
5006
5007         * lyx_main.C (LyX): use boost::format
5008         (init): ditto
5009         (queryUserLyXDir): ditto
5010         (readRcFile): ditto
5011         (parse_dbg): ditto
5012         (typedef boost::function): use the recommened syntax.
5013
5014         * importer.C (Import): use boost::format
5015
5016         * debug.C (showLevel): use boost::format
5017
5018         * converter.C (view): use boost::format
5019         (convert): ditto
5020         (move): ditto
5021         (scanLog): ditto
5022
5023         * bufferview_funcs.C (currentState): use boost::format
5024
5025         * bufferlist.C (emergencyWrite): use boost::format
5026
5027         * buffer.C (readLyXformat2): use boost::format
5028         (parseSingleLyXformat2Token): ditto
5029
5030         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5031
5032         * LaTeX.C (run): use boost::format
5033
5034         * Chktex.C (scanLogFile): use boost::format
5035
5036         * BufferView_pimpl.C (savePosition): use boost::format
5037         (restorePosition): ditto
5038         (MenuInsertLyXFile): ditto
5039
5040         * BoostFormat.h: help file for explicit instation.
5041
5042 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5043
5044         * tabular.C (latex): Support for block alignment in fixed width
5045         columns.
5046
5047 2002-11-17  John Levon  <levon@movementarian.org>
5048
5049         * BufferView_pimpl.C:
5050         * lyx_cb.C:
5051         * lyxfunc.C: split filedialog into open/save
5052
5053 2002-11-08  Juergen Vigna  <jug@sad.it>
5054
5055         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5056         by my last patch (hopefully).
5057
5058 2002-11-08  John Levon  <levon@movementarian.org>
5059
5060         * iterators.h:
5061         * iterators.C:
5062         * buffer.h:
5063         * buffer.C:
5064         * paragraph.h:
5065         * paragraph.C:
5066         * toc.h:
5067         * toc.C: ParConstIterator, and use it (from Lars)
5068
5069 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5070
5071         * lyxtextclass.[Ch]: revise and add doxygen comments
5072
5073 2002-11-07  John Levon  <levon@movementarian.org>
5074
5075         * text.C: fix progress value for spellchecker
5076
5077         * toc.C: fix navigate menu for insetwrap inside minipage
5078
5079         * paragraph_funcs.C: added FIXME for suspect code
5080
5081 2002-11-07  John Levon  <levon@movementarian.org>
5082
5083         * BufferView_pimpl.C: fix redrawing of insets
5084           on buffer switch
5085
5086 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5087
5088         * text2.C (updateCounters): fix bug 668
5089
5090 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5091
5092         * text3.C (dispatch): Do not make the buffer dirty when moving the
5093         cursor.
5094
5095 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5096
5097         * vc-backend.C: STRCONV
5098         (scanMaster): ditto
5099
5100         * text2.C (setCounter): STRCONV
5101
5102         * paragraph.C (asString): STRCONV
5103
5104         * lyxlength.C (asString): STRCONV
5105         (asLatexString): ditto
5106
5107         * lyxgluelength.C (asString): STRCONV
5108         (asLatexString): ditto
5109
5110         * lyxfunc.C (dispatch): STRCONV
5111         (open): ditto
5112
5113         * lyxfont.C (stateText): STRCONV
5114
5115         * importer.C (Import): STRCONV
5116
5117         * counters.C (labelItem): STRCONV
5118         (numberLabel): ditto
5119         (numberLabel): remove unused ostringstream o
5120
5121         * chset.C: STRCONV
5122         (loadFile): ditto
5123
5124         * bufferview_funcs.C (currentState): STRCONV
5125
5126         * buffer.C (readFile): STRCONV
5127         (asciiParagraph): ditto
5128         (makeLaTeXFile): ditto
5129
5130         * Spacing.C (writeEnvirBegin): STRCONV
5131
5132         * LaTeXFeatures.C (getLanguages): STRCONV
5133         (getPackages): ditto
5134         (getMacros): ditto
5135         (getBabelOptions): ditto
5136         (getTClassPreamble): ditto
5137         (getLyXSGMLEntities): ditto
5138         (getIncludedFiles): ditto
5139
5140         * LaTeX.C: STRCONV
5141         (run): ditto
5142         (scanAuxFile): ditto
5143         (deplog): ditto
5144
5145         * LString.h: add the STRCONV macros
5146
5147         * BufferView_pimpl.C (savePosition): STRCONV
5148         (restorePosition): ditto
5149         (MenuInsertLyXFile): ditto
5150
5151         * vc-backend.C (scanMaster): change from submatch[...] to
5152         submatch.str(...)
5153
5154         * funcrequest.C: include config.h
5155
5156         * factory.C: include config.h
5157
5158         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5159
5160         * box.C: include config.h
5161
5162         * LaTeX.C (scanAuxFile): change from submatch[...] to
5163         submatch.str(...)
5164         (deplog): ditto
5165
5166 2002-10-25  Angus Leeming  <leeming@lyx.org>
5167
5168         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5169
5170         * ispell.[Ch] (setError): new method.
5171         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5172         Use setError() insetead of goto END.
5173
5174         * lyx_cb.C (AutoSave): move out child process into new class
5175         AutoSaveBuffer.
5176
5177 2002-10-30  John Levon  <levon@movementarian.org>
5178
5179         * text3.C: make start appendix undoable
5180
5181 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5182
5183         * lyxlength.C (inPixels): Fix returned value.
5184
5185         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5186         environment.
5187
5188 2002-10-24  Angus Leeming  <leeming@lyx.org>
5189
5190         * lyxgluelength.h: no need to forward declare BufferParams
5191         or BufferView, so don't.
5192
5193 2002-10-21  John Levon  <levon@movementarian.org>
5194
5195         * BufferView.C: menuUndo ->undo, redo
5196
5197         * BufferView.h: document, remove dead, make some methods private
5198
5199         * paragraph_funcs.h:
5200         * paragraph_funcs.C:
5201         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5202
5203         * buffer.h:
5204         * buffer.C:
5205         * sgml.h:
5206         * sgml.C: move sgml open/close tag into sgml.C
5207
5208         * bufferview_funcs.h: unused prototype
5209
5210         * lyxfunc.h:
5211         * lyxfunc.C: remove unused
5212
5213         * lyxtext.h:
5214         * text.C: remove unused
5215
5216 2002-10-21  John Levon  <levon@movementarian.org>
5217
5218         * BufferView.h:
5219         * BufferView.C:
5220         * BufferView_pimpl.h:
5221         * BufferView_pimpl.C: fix mouse wheel handling based on
5222           patch from Darren Freeman
5223
5224 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5225
5226         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5227
5228 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5229
5230         * lyxlength.C (inPixels): Fix hanfling of negative length.
5231         Fix LyXLength::MU case.
5232
5233 2002-10-16  John Levon  <levon@movementarian.org>
5234
5235         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5236
5237 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5238
5239         * converter.C (view): add support for $$i (file name) and $$p
5240         (file path) for the viewer command. If $$i is not specified, then
5241         it is appended to the command (for compatibility with old syntax)
5242
5243 2002-10-14  Juergen Vigna  <jug@sad.it>
5244
5245         * undo_funcs.C (textHandleUndo): alter the order in which the
5246         new undopar is added to the LyXText, as we have to set first
5247         the right prev/next and then add it as otherwise the rebuild of
5248         LyXText is not correct. Also reset the cursor to the right paragraph,
5249         with this IMO we could remove the hack in "redoParagraphs()".
5250
5251 2002-10-09  Angus Leeming  <leeming@lyx.org>
5252
5253         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5254         to turn off an optimisation if a new inset is to be inserted.
5255
5256 2002-10-11 André Pönitz <poenitz@gmx.net>
5257
5258         * lyxtext.h: make some functions public to allow access
5259         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5260
5261 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5262
5263         * text3.C (dispatch): when changing layout, avoid an infinite loop
5264         [bug #652]
5265
5266 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5267
5268         * lyxrc.C (read): treat a viewer or converter command of "none" as
5269         if it were empty.
5270
5271         * MenuBackend.C (expandFormats): for an update, also allow the
5272         formats that are not viewable
5273
5274         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5275         script if it is newer than the lyxrc.defaults in user directory
5276
5277 2002-10-07 André Pönitz <poenitz@gmx.net>
5278
5279         * text.C: Vitaly Lipatov's small i18n fix
5280
5281 2002-09-25  Angus Leeming  <leeming@lyx.org>
5282
5283         * ispell.h: doxygen fix.
5284
5285 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5286
5287         * buffer.h (readFile): Add a new argument to the method, to allow
5288         reading of old-format templates.
5289
5290 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5291
5292         * toc.C (getTocList): Get TOC from InsetWrap.
5293
5294 2002-09-16  John Levon  <levon@movementarian.org>
5295
5296         * lyxfunc.C: check tabular for cut/copy too
5297
5298 2002-09-12  John Levon  <levon@movementarian.org>
5299
5300         * LyXAction.C: tidy
5301
5302         * factory.h:
5303         * factory.C: add header
5304
5305         * paragraph_funcs.h:
5306         * paragraph_funcs.C: cleanup
5307
5308 2002-09-11  John Levon  <levon@movementarian.org>
5309
5310         * PrinterParams.h: odd/even default to true
5311
5312 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5313
5314         * PrinterParams.h: update printer parameters for new xforms dialog
5315
5316 2002-09-11  Angus Leeming  <leeming@lyx.org>
5317
5318         * lyxserver.C (read_ready): re-write to make it more transparent
5319         and to make it work in coherent fashion under Tru64 Unix.
5320
5321 2002-09-11  André Pönitz <poenitz@gmx.net>
5322
5323         * commandtags.h:
5324         * LyXAction.C:
5325         * text3.C: implement LFUN_WORDSEL
5326
5327 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5328
5329         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5330         make floatlist_ a boost::shared_ptr<FloatList>
5331
5332         * lyxtextclass.C: include FloatList.h
5333         (LyXTextClass): initialize floatlist_
5334         (TextClassTags): add TC_NOFLOAT
5335         (Read): match "nofloat" to TC_NOFLOAT and use it.
5336         (readFloat): modify call to floatlist_
5337         (floats): ditto
5338         (floats): ditto
5339
5340         * FloatList.[Ch] (FloatList): remove commented out float
5341         initialization.
5342         (erase): new function
5343
5344 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5345
5346         * MenuBackend.C (expandToc): fix crash when there is no document
5347         open
5348
5349 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5350
5351         * many files: Add insetwrap.
5352
5353 2002-09-09  John Levon  <levon@movementarian.org>
5354
5355         * text2.C: remove confusing and awkward depth wraparound
5356
5357 2002-09-09  John Levon  <levon@movementarian.org>
5358
5359         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5360
5361         * buffer.h:
5362         * buffer.C: remove getIncludeonlyList()
5363
5364         * paragraph.C:
5365         * lyxfunc.C: remove headers
5366
5367 2002-09-09  Juergen Vigna  <jug@sad.it>
5368
5369         * text.C (getColumnNearX): fix form Michael this is most
5370         probably a cut&paste bug.
5371
5372 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5373
5374         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5375
5376         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5377         references, ws changes.
5378
5379         * text2.C (init): update counters after init
5380         (insertParagraph): no need to set counter on idividual paragraphs.
5381         (setCounter): access the counters object in the textclass object
5382         on in the buffer object.
5383         (updateCounters): ditto
5384
5385         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5386         shared_ptr<Counters> to avoid loading counters.h in all
5387         compilation units.
5388         (LyXTextClass): initialize ctrs_
5389         (TextClassTags): add TC_COUNTER, and ...
5390         (Read): use it here.
5391         (CounterTags): new tags
5392         (readCounter): new function
5393         (counters): new funtion
5394         (defaultLayoutName): return a const reference
5395
5396         * counters.C (Counters): remove contructor
5397         (newCounter): remove a couple of unneeded statements.
5398         (newCounter): simplify a bit.
5399         (numberLabel): some small formatting changes.
5400
5401         * buffer.[Ch]: remove all traces of counters, move the Counters
5402         object to the LyXTextClass.
5403
5404 2002-09-06  Alain Castera  <castera@in2p3.fr>
5405
5406         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5407         package to set the horizontal alignment on fixed width columns.
5408
5409         * lyx_sty.C:
5410         * lyx_sty.h: added tabularnewline macro def.
5411
5412         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5413
5414 2002-09-06  John Levon  <levon@movementarian.org>
5415
5416         * LyXAction.C: tooltips for sub/superscript
5417
5418         * MenuBackend.C: a bit more verbose
5419
5420         * lyxfunc.C: tiny clean
5421
5422         * undo_funcs.C: document undo_frozen
5423
5424 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5425
5426         * counters.C (Counters): add missing algorithm counter.
5427
5428         * text2.C (setCounter): lookup the counter with layouts latexname
5429         instead of by section number.
5430         (setCounter): use a hackish way to lookup the correct enum
5431         counter.
5432         a float name->type change
5433         reset enum couners with counter name directly instead of depth value.
5434
5435         * counters.C (Counters): remove the push_backs, change to use the
5436         float type not the float name.
5437         (labelItem): remove unused string, float name->type change
5438
5439         * counters.h: don't include vector, loose the enums and sects vectors
5440
5441 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5442
5443         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5444         (Read): add float->TC_FLOAT to textclassTags
5445         (Read): and handle it in the switch
5446         (readFloat): new function
5447
5448         * FloatList.C (FloatList): comment out the hardcoded float
5449         definitions.
5450
5451         * lyxlayout.h: ws change.
5452
5453 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5454
5455         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5456
5457 2002-09-03  Angus Leeming  <leeming@lyx.org>
5458
5459         * BufferView_pimpl.h: qualified name is not allowed in member
5460         declaration: WorkArea & Pimpl::workarea() const;
5461
5462         * factory.C: added using std::endl directive.
5463
5464         * text3.C: added using std::find and std::vector directives.
5465
5466 2002-08-29  André Pönitz <poenitz@gmx.net>
5467
5468         * lyxtext.h:
5469         * text2.C: remove unused member number_of_rows
5470
5471         * Makefile.am:
5472         * BufferView2.C: remove file, move contents to...
5473         * BufferView.C: ... here
5474
5475         * BufferView_pimpl.C:
5476         * factory.C: move more inset creation to factory
5477
5478         * vspace.C: avoid direct usage of LyXText, ws changes
5479
5480         * BufferView.[Ch]:
5481                 don't provide direct access to WorkArea, use two simple
5482                 acessors haveSelction() and workHeight() instead
5483
5484
5485 2002-08-29  John Levon  <levon@movementarian.org>
5486
5487         * BufferView_pimpl.C (dispatch): do not continue when
5488           no buffer
5489
5490 2002-08-28  André Pönitz <poenitz@gmx.net>
5491
5492         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5493
5494         * BufferView.h:
5495         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5496
5497 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5498
5499         * buffer.C: increment LYX_FORMAT to 221
5500
5501         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5502         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5503
5504         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5505
5506         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5507
5508 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5509
5510         * factory.C (createInset): use LyXTextClass::floats
5511
5512         * MenuBackend.C (expandFloatListInsert):
5513         (expandFloatInsert):
5514         (expandToc):
5515
5516         * text2.C (setCounter):
5517
5518         * LaTeXFeatures.C (useFloat):
5519         (getFloatDefinitions):
5520
5521         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5522
5523         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5524         floatlist_, with accessor floats().
5525
5526         * FloatList.h: remove global FloatList
5527
5528 2002-08-26  André Pönitz <poenitz@gmx.net>
5529
5530         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5531
5532         * BufferView.h:
5533         * BufferView2.C:
5534         * BufferView_pimpl.C:
5535         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5536
5537 2002-08-25  John Levon  <levon@movementarian.org>
5538
5539         * LyXAction.C: fix margin note description
5540
5541 2002-08-24  John Levon  <levon@movementarian.org>
5542
5543         * buffer.C:
5544         * bufferlist.C:
5545         * bufferview_funcs.C:
5546         * lyxfont.C:
5547         * undo_funcs.C: cleanups
5548
5549         * lyxfunc.C: disable CUT/COPY when no selection
5550
5551 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5552
5553         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5554         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5555
5556         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5557         Add backward compatibility to "mono", "gray" and "no".
5558
5559 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5560
5561         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5562         (and file_format >= 200).
5563
5564 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5565
5566         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5567
5568 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5569
5570         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5571
5572 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5573
5574         * BufferView_pimpl.C:
5575         * LyXAction.C:
5576         * buffer.C:
5577         * commandtags.h:
5578         * lyxfunc.C:
5579         * paragraph.[Ch]:
5580         * text2.C:
5581         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5582         inset and code to make it  work with the paragraph code. The inset
5583         can be anywhere in the paragraph, but will only do the expected
5584         thing in LaTeX if the layout file contains the parameter line
5585                         OptionalArgs    1
5586         (or more generally, a nonzero value) for that layout.
5587
5588 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5589
5590         * paragraph.h: remove the declaration of undefined counters class
5591         function.
5592
5593 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5594
5595         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5596         Dr. Richard Hawkins.
5597
5598 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5599
5600         * paragraph_funcs.h: remove some unneeded includes
5601
5602         * text.C (backspace): pasteParagraph now in global scipe
5603
5604         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5605         (pasteSelection): ditto
5606
5607         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5608         * paragraph_funcs.C (pasteParagraph): ... here
5609
5610 2002-08-20  André Pönitz <poenitz@gmx.net>
5611
5612         * commandtags.h: new LFUNs for swapping/copying table row/colums
5613
5614         * LyXAction.C:
5615         * lyxfunc.C: support for new lfuns
5616
5617 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5618
5619         * tabular.C:
5620         * buffer.[Ch]: remove NO_COMPABILITY stuff
5621
5622 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5623
5624         * boost.C (throw_exception): new file, with helper function for
5625         boost compiled without exceptions.
5626
5627         * paragraph.h:
5628         * lyxlength.C:
5629         * buffer.C:
5630         * ParameterStruct.h:
5631         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5632
5633         * bufferlist.C (emergencyWriteAll): use boost bind
5634
5635         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5636
5637         * text.C: include paragraph_funcs.h
5638         (breakParagraph): breakParagraph is now in global scope
5639
5640         * paragraph_funcs.[Ch]: new files
5641
5642         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5643         global scope
5644
5645         * buffer.C: include paragraph_funcs.h
5646         (insertStringAsLines): breakParagraph is now in global scope
5647
5648         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5649         paragraph_funcs.C
5650
5651         * CutAndPaste.C: include paragraph_funcs.h
5652         (cutSelection): breakParagraphConservative is now in global scope
5653         (pasteSelection): ditto
5654
5655         * buffer.h: declare oprator== and operator!= for
5656         Buffer::inset_iterator
5657
5658         * bufferlist.C (emergencyWrite): don't use fmt(...)
5659
5660         * text3.C: add using std::endl
5661
5662         * BufferView.C (moveCursorUpdate): remove default arg
5663
5664 2002-08-20  André Pönitz <poenitz@gmx.net>
5665
5666         * buffer.[Ch]: move inline functions to .C
5667
5668         * BufferView2.C:
5669         * BufferView_pimpl.C:
5670         * text.C:
5671         * buffer.[Ch]: use improved inset_iterator
5672
5673         * buffer.C:
5674         * paragraph.[Ch]: write one paragraph at a time
5675
5676 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5677
5678         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5679         style if style is not specified.
5680
5681 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5682
5683         * text2.C (setCounter): when searching for right label for a
5684         caption, make sure to recurse to parent insets (so that a caption
5685         in a minipage in a figure float works) (bug #568)
5686
5687 2002-08-20  André Pönitz <poenitz@gmx.net>
5688
5689         * text3.C: new file for LyXText::dispatch() and helpers
5690
5691         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5692
5693         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5694
5695 2002-08-19  André Pönitz <poenitz@gmx.net>
5696
5697         * lyxtext.h:
5698         * text.C: new LyXText::dispatch()
5699
5700         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5701
5702 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5703
5704         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5705
5706         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5707         Hebrew text.
5708
5709 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5710
5711         * Makefile.am: use $(variables) instead of @substitutions@
5712
5713 2002-08-15  André Pönitz <poenitz@gmx.net>
5714
5715         * lyxfunc.C:
5716         * BufferView_pimpl.C: streamlining mathed <-> outer world
5717         interaction
5718
5719         * commandtags.h:
5720         * LyXAction.C: remove unused LFUN_MATH
5721
5722 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5723
5724         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5725
5726 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5727
5728         * paragraph.C (Paragraph): reformat a bit
5729         (cutIntoMinibuffer): use builtin InsetList function instad of
5730         doing it manually.
5731         (getInset): ditto
5732
5733         * buffer.C: include boost/bind.hpp, add using std::for_each
5734         (writeFileAscii): use ParagraphList iterators
5735         (validate): use for_each for validate traversal of paragraphs
5736         (getBibkeyList): use ParagraphList iterators
5737         (resizeInsets): use for_each to resizeInsetsLyXText for all
5738         paragraphs.
5739         (getParFromID): use ParagraphList iterators
5740
5741         * BufferView2.C (lockInset): use paragraph list and iterators
5742
5743 2002-08-14  John Levon  <levon@movementarian.org>
5744
5745         * lyxserver.C: remove spurious xforms include
5746
5747 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5748
5749         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5750
5751 2002-08-13  André Pönitz <poenitz@gmx.net>
5752
5753         * LyXAction.[Ch]:
5754         * lyxfunc.C: further cleaning
5755
5756 2002-08-13  André Pönitz <poenitz@gmx.net>
5757
5758         * funcrequest.h: new constructor
5759
5760         * funcrequest.C: move stuff here from .h
5761
5762         * Makefile.am:
5763         * BufferView_pimpl.C:
5764         * LyXAction.C:
5765         * toc.C:
5766         * lyxfunc.C: subsequent changes
5767
5768         * lyxfunc.h: new view() member function
5769
5770         * lyxfunc.C: subsequent changes
5771
5772 2002-08-13  Angus Leeming  <leeming@lyx.org>
5773
5774         * BufferView2.C:
5775         * BufferView_pimpl.C:
5776         * buffer.C:
5777         * converter.C:
5778         * importer.C:
5779         * lyxfunc.C:
5780         * lyxvc.C:
5781         * toc.C:
5782         * vc-backend.C:
5783         changes due to the changed LyXView interface that now returns references
5784         to member variables not pointers.
5785
5786 2002-08-13  Angus Leeming  <leeming@lyx.org>
5787
5788         * WordLangTuple (word, lang_code): return references to strings,
5789         not strings.
5790
5791         * BufferView.h:
5792         * SpellBase.h:
5793         * lyxtext.h: forward-declare WordLangTuple.
5794
5795         * BufferView2.C:
5796         * ispell.C:
5797         * pspell.C:
5798         * text.C: #include "WordLangTuple.h".
5799
5800         * lyxtext.h:
5801         * text.C: (selectNextWordToSpellcheck): constify return type.
5802
5803 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5804
5805         * buffer.C:
5806         * buffer.h:
5807         * lyxtext.h:
5808         * paragraph.C:
5809         * paragraph_pimpl.h:
5810         * text.C:
5811         * text2.C:
5812         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5813         suggested by Angus.
5814         Made updateCounter always count from start of buffer, and removed
5815         second argument (par).
5816         Reverted floats number display to '#'. Perhaps I'll try again when the
5817         code base is sanitized a bit.
5818
5819 2002-08-12  Angus Leeming  <leeming@lyx.org>
5820
5821         * buffer.[Ch] (getLabelList): constify.
5822
5823 2002-08-07  André Pönitz <poenitz@gmx.net>
5824
5825         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5826
5827         * funcrequest.h: extension to keep mouse (x,y) position
5828
5829 2002-08-12  Juergen Vigna  <jug@sad.it>
5830
5831         * BufferView2.C (insertErrors): forbid undo when inserting error
5832         insets.
5833
5834         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5835
5836 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * ParagraphList.[Ch]: new files
5839
5840         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5841
5842         * BufferView2.C (lockInset): ParagraphList changes
5843         * toc.C: ditto
5844         * text2.C: ditto
5845         * bufferlist.C: ditto
5846         * buffer.h: ditto
5847         * buffer.C: ditto
5848
5849 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5850
5851         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5852         unused class variable counter_,
5853
5854         * paragraph.[Ch] (getFirstCounter): delete unused function
5855
5856         * counters.C: include LAssert.h
5857         (reset): add a new function with no arg, change other version to
5858         not have def. arg and to not allow empty arg.
5859
5860         * text2.C (setCounter): remove empty arg from call to Counters::reset
5861
5862 2002-08-11  John Levon  <levon@movementarian.org>
5863
5864         * Makefile.am: add WordLangTuple.h
5865
5866 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5867
5868         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5869         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5870
5871         * insets/insettext.C: InsetList changes
5872
5873         * graphics/GraphicsSupport.C (operator()): InsetList changes
5874
5875         * toc.C (getTocList): InsetList changes
5876
5877         * paragraph_pimpl.[Ch]: InsetList changes
5878
5879         * paragraph.[Ch]: InsetList changes
5880
5881         * buffer.C (inset_iterator): InsetList changes
5882         (setParagraph): ditto
5883         * buffer.h (inset_iterator): ditto
5884         * iterators.C (operator++): ditto
5885         * iterators.h: ditto
5886
5887         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5888
5889         * InsetList.[Ch]: new files, most InsetList handling moved out of
5890         paragraph.C.
5891
5892         * BufferView2.C (removeAutoInsets): InsetList changes
5893         (lockInset): ditto
5894         (ChangeInsets): ditto
5895
5896 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * paragraph_pimpl.h (empty): new function
5899
5900         * paragraph.[Ch] (empty): new function
5901
5902         * other files: use the new Paragraph::empty function
5903
5904 2002-08-09  John Levon  <levon@movementarian.org>
5905
5906         * lyxtext.h: remove unused refresh_height
5907
5908 2002-08-09  John Levon  <levon@movementarian.org>
5909
5910         * Makefile.am:
5911         * sgml.h:
5912         * sgml.C:
5913         * buffer.C:
5914         * paragraph.h:
5915         * paragraph.C: move sgml char escaping out of paragraph
5916
5917         * paragraph.h:
5918         * paragraph.C: remove id setter
5919
5920         * buffer.C:
5921         * paragraph.C:
5922         * paragraph_pimpl.C: remove dead tex_code_break_column
5923
5924         * bufferview_funcs.C: small cleanup
5925
5926         * lyxfunc.C: remove dead proto
5927
5928         * lyxtext.h: make some stuff private. Remove some dead stuff.
5929
5930         * lyxgluelength.C: make as[LyX]String() readable
5931
5932 2002-08-08  John Levon  <levon@movementarian.org>
5933
5934         * LyXAction.h:
5935         * LyXAction.C:
5936         * MenuBackend.C:
5937         * ToolbarDefaults.C:
5938         * lyxfunc.C:
5939         * lyxrc.C:
5940         * toc.C: lyxaction cleanup
5941
5942 2002-08-08  John Levon  <levon@movementarian.org>
5943
5944         * BufferView2.C: small cleanup
5945
5946         * lyxfind.h:
5947         * lyxfind.C: move unnecessary header into the .C
5948
5949 2002-08-08  John Levon  <levon@movementarian.org>
5950
5951         * funcrequest.h: just tedious nonsense
5952
5953         * lyx_main.h:
5954         * lyx_main.C: cleanups
5955
5956         * buffer.C:
5957         * vspace.C: remove dead header lyx_main.h
5958
5959 2002-08-07  Angus Leeming  <leeming@lyx.org>
5960
5961         * Paragraph.[Ch]:
5962         * paragraph_pimpl.h:
5963         Forward declare class Counters in paragraph.h by moving the ctrs member
5964         variable into Paragraph::Pimpl.
5965         (counters): new method, returning a reference to pimpl_->ctrs.
5966
5967         * text2.C: ensuing changes.
5968
5969 2002-08-07  John Levon  <levon@movementarian.org>
5970
5971         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5972
5973         * BufferView_pimpl.C: announce X selection on double/triple
5974           click
5975
5976         * lyx_main.C: use correct bool in batch dispatch
5977
5978         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5979
5980 2002-08-07  André Pönitz <poenitz@gmx.net>
5981
5982         * funcrequest.h: new class to wrap a kb_action and its argument
5983
5984         * BufferView.[Ch]:
5985         * BufferView_pimpl[Ch]:
5986         * LaTeX.C:
5987         * LyXAction.[Ch]:
5988         * lyxfunc.[Ch]:
5989         * lyxrc.C: subsequent changes
5990
5991
5992 2002-08-07  John Levon  <levon@movementarian.org>
5993
5994         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5995           document options change.
5996
5997 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5998
5999         * counters.[Ch]
6000         * text2.C
6001         * paragraph.[Ch]
6002         * makefile.am: move counters functionality over from
6003         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6004
6005 2002-08-06  John Levon  <levon@movementarian.org>
6006
6007         * WordLangTuple.h: new file for word + language code tuple
6008
6009         * SpellBase.h:
6010         * pspell.h:
6011         * pspell.C:
6012         * ispell.h:
6013         * ispell.C:
6014         * lyxtext.h:
6015         * text.C:
6016         * text2.C:
6017         * BufferView.h:
6018         * BufferView2.C: use WordLangTuple
6019
6020         * layout.h:
6021         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6022
6023 2002-08-06  John Levon  <levon@movementarian.org>
6024
6025         * lyx_main.C: fix cmdline batch handling
6026
6027 2002-08-06  André Pönitz <poenitz@gmx.net>
6028
6029         * lyxrc.C: set default for show_banner to true
6030
6031 2002-08-06  John Levon  <levon@movementarian.org>
6032
6033         * pspell.C: fix a crash, and allow new aspell to work
6034
6035 2002-08-06  John Levon  <levon@movementarian.org>
6036
6037         * lyxfunc.C:
6038         * kbmap.C: small cleanup
6039
6040         * vspace.h:
6041         * vspace.C: add const
6042
6043 2002-08-05  John Levon  <levon@movementarian.org>
6044
6045         * LyXAction.C: back to tabular-insert
6046
6047 2002-08-04  John Levon  <levon@movementarian.org>
6048
6049         * BufferView.h:
6050         * BufferView.C: cosmetic change
6051
6052         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6053
6054         * bufferlist.C:
6055         * buffer.h:
6056         * buffer.C:
6057         * lyxcb.h:
6058         * lyxcb.C:
6059         * lyxserver.C:
6060         * lyxvc.C:
6061         * vc-backend.C:
6062         * BufferView2.C: purge all "Lyx" not "LyX" strings
6063
6064         * lyxcursor.h:
6065         * lyxcursor.C: attempt to add some documentation
6066
6067         * lyxfunc.C:
6068         * commandtags.h:
6069         * LyXAction.C:
6070         * ToolbarDefaults.C:
6071         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6072           merge with LFUN_TABULAR_INSERT
6073
6074         * Makefile.am:
6075         * SpellBase.h:
6076         * ispell.h:
6077         * ispell.C:
6078         * pspell.h:
6079         * pspell.C: split up i/pspell implementations into separate
6080           files, many cleanups
6081
6082         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6083
6084         * text2.C: some cleanup
6085
6086         * lyxfunc.C: don't check for isp_command == "none" any more, it
6087           didn't make any sense
6088
6089 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6090
6091         * counters.[Ch]
6092         * text2.C
6093         * paragraph.[Ch]
6094         * makefile.am: move counters functionality over
6095         from text2.C/paragraph.[Ch] to counters.[Ch], and
6096         make proper C++.
6097 2002-08-02  John Levon  <levon@movementarian.org>
6098
6099         * buffer.C: s/lyxconvert/lyx2lyx/
6100
6101 2002-08-02  Angus Leeming  <leeming@lyx.org>
6102
6103         * lyxlex.C: revert John's change as it breaks reading of the user
6104         preamble.
6105
6106 2002-08-02  Angus Leeming  <leeming@lyx.org>
6107
6108         * importer.C (Import):
6109         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6110         changes due to LyXView::view() now returning a boost::shared_ptr.
6111
6112 2002-08-02  John Levon  <levon@movementarian.org>
6113
6114         * lyxlex.C: small cleanup
6115
6116 2002-08-02  John Levon  <levon@movementarian.org>
6117
6118         * text2.C (status): small cleanup, no logic change
6119
6120 2002-08-01  John Levon  <levon@movementarian.org>
6121
6122         * buffer.h:
6123         * buffer.C (writeFile): don't output alerts, caller
6124           handles this
6125
6126         * bufferlist.C:
6127         * lyx_cb.C: from above
6128
6129         * lyxfunc.C: allow to open non-existent files
6130
6131 2002-07-31  John Levon  <levon@movementarian.org>
6132
6133         * lyxserver.C: don't let incidental errors get
6134           in the way (errno)
6135
6136 2002-07-30  John Levon  <levon@movementarian.org>
6137
6138         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6139
6140 2002-07-30  John Levon  <levon@movementarian.org>
6141
6142         * lyxserver.h:
6143         * lyxserver.C: remove I/O callback too
6144
6145 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6146
6147         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6148         log.
6149
6150 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6151
6152         * many files: strip,frontStrip -> trim,ltrim,rtrim
6153
6154 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6155
6156         * PrinterParams.h: remove extern containsOnly, and include
6157         support/lstrings.h instead.
6158
6159         * LaTeX.C (scanAuxFile): modify because of strip changes
6160         (deplog): ditto
6161         * buffer.C (makeLaTeXFile): ditto
6162         * bufferparams.C (writeFile): ditt
6163         * lyxfont.C (stateText): ditto
6164         * lyxserver.C (read_ready): ditto
6165         * vc-backend.C (scanMaster): ditto
6166
6167         * BufferView_pimpl.h: ws changes
6168
6169         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6170
6171 2002-07-26  André Pönitz <poenitz@gmx.net>
6172
6173         * kb_sequence.C: remove unnedred usings
6174
6175 2002-07-26  Juergen Vigna  <jug@sad.it>
6176
6177         * lyxfind.C (LyXReplace): we have to check better if the returned
6178         text is not of theLockingInset()->getLockingInset().
6179
6180 2002-07-25  Juergen Vigna  <jug@sad.it>
6181
6182         * lyxfind.C (LyXReplace): don't replace if we don't get the
6183         right LyXText.
6184
6185         * undo_funcs.C (createUndo): remove debugging code.
6186
6187 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6188
6189         * buffer.C (parseSingleLyXformat2Token): Use default placement
6190         when reading old floats.
6191
6192         * FloatList.C (FloatList): Change the default placement of figure
6193         and tables to "tbp".
6194
6195 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6196
6197         * MenuBackend.C: using std::max
6198
6199 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6200
6201         * MenuBackend.C (expandToc):
6202         (expandToc2): code moved from xforms menu frontend. It is now
6203         generic and TOCs are transparent to menu frontends.
6204
6205 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6206
6207         * toc.C (getTocList): protect against buf=0
6208
6209         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6210         Menu as first parameter. Now, this calls itself recursively to
6211         expand a whole tree (this will be useful for TOC handling)
6212         (expandFloatInsert): remove 'wide' version of floats
6213
6214         * MenuBackend.h (submenuname): returns the name of the submenu.
6215         (submenu): returns the submenu itself, provided it has been
6216         created by MenuBackend::expand
6217
6218 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6219
6220         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6221         insets which have noFontChange == true. (bug #172)
6222
6223 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6224
6225         * BufferView_pimpl.C: add connection objects and use them...
6226         (Pimpl): here.
6227
6228 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6229
6230         * MenuBackend.C (expandLastfiles):
6231         (expandDocuments):
6232         (expandFormats):
6233         (expandFloatListInsert):
6234         (expandFloatInsert):
6235         (expand): split expand in parts
6236
6237 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6238
6239         * lyx_gui.C: use lyx_gui::exit()
6240
6241 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6242
6243         * LyXAction.C: show the failing pseudo action
6244
6245 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6246
6247         * buffer.C (readFile): Run the lyxconvert script in order to read
6248         old files.
6249
6250 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6251
6252         * LyXAction.C:
6253         * commandtags.h:
6254         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6255
6256 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6257
6258         * LyXAction.C:
6259         * commandtags.h:
6260         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6261
6262 2002-07-22  Herbert Voss  <voss@lyx.org>
6263
6264         * lengthcommon.C:
6265         * lyxlength.[Ch]: add support for the vertical lengths
6266
6267 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6268
6269         * toc.[Ch]: std:: fixes
6270
6271 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6272
6273         * lyxrc.C: do not include lyx_main.h
6274
6275         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6276         for layouts
6277
6278         * lyxrc.C:
6279         * encoding.C:
6280         * bufferlist.C:
6281         * BufferView2.C: include "lyxlex.h"
6282
6283         * tabular.h:
6284         * bufferparams.h: do not #include "lyxlex.h"
6285
6286         * lyxtextclasslist.C (Add): remove method
6287         (classlist): renamed to classlist_
6288
6289         * paragraph_pimpl.C:
6290         * paragraph.C:
6291         * text2.C:
6292         * CutAndPaste.C:
6293         * bufferview_funcs.C:
6294         * bufferlist.C:
6295         * text.C:
6296         * LaTeXFeatures.C:
6297         * buffer.C:
6298         * toc.C (getTocList): use BufferParams::getLyXTextClass
6299
6300         * toc.C (getTocList): use InsetFloat::addToToc
6301
6302         * toc.[Ch]: new files, containing helper functions to handle table
6303         of contents
6304
6305         * lyxfunc.C (dispatch): no need to remove spaces around command
6306         given as a string
6307         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6308         first command of the sequence; it is not very clever, but I do not
6309         have a better idea, actually
6310
6311         * LyXAction.C (LookupFunc): make sure to remove space at the
6312         beginning and end of the command
6313
6314 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6315
6316         * MenuBackend.C (getMenubar): new method: return the menubar of
6317         this menu set
6318         (read): treat differently reading of menu and menubar (in
6319         particular, the menubar has no name now)
6320         (Menu::menubar): remove
6321
6322         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6323         saving is finished
6324
6325 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6326
6327         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6328         a bibitem inset in a RTL paragraph.
6329
6330 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6331
6332         * paragraph_pimpl.C: constify
6333
6334         * BufferView_pimpl.C:
6335         * LaTeX.C:
6336         * lyxfunc.C: fix dispatch in a nicer way
6337
6338 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6339
6340         * lyxfunc.C (dispatch):
6341         * BufferView_pimpl.C:
6342         * BufferView_pimpl.h:
6343         * BufferView.C:
6344         * BufferView.h: rename Dispatch() to dispatch()
6345
6346         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6347
6348         * lyxlayout.C (Read): honor DependsOn tag
6349
6350         * lyxlayout.[Ch] (depends_on): new method
6351
6352         * version.C.in: update lyx_docversion
6353
6354         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6355
6356         * paragraph.C (validate): remove from here...
6357         * paragraph_pimpl.C (validate): ... and move here
6358         (isTextAt): make it const
6359
6360         * buffer.C (getLists): ws cleanup
6361
6362 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6363
6364         * language.C (read): Use iso8859-1 encoding in latex_lang
6365         (this prevents LyX from crashing when using iso10646-1 encoding).
6366
6367 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6368
6369         * text2.C (toggleInset): if cursor is inside an inset, close the
6370         inset and leave cursor _after_ it
6371
6372 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6373
6374         * lyxfunc.C: move minibuffer completion handling out of here
6375
6376 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6377
6378         * BufferView_pimpl.C:
6379         * LaTeX.C: fix dispatch calls
6380
6381 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6382
6383         * text.C (drawChars): Fix Arabic text rendering.
6384
6385 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6386
6387         * LyXAction.C:
6388         * commandtags.h:
6389         * lyxfunc.C: remove message-push/pop
6390
6391         * lyxserver.C:
6392         * lyxfunc.h:
6393         * lyxfunc.C: rationalise some code by removing verboseDispatch
6394           in favour of a bool argument to dispatch()
6395
6396 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6397
6398         * lyx_main.C (init): make sure to read symlinks as absolute paths
6399
6400 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6401
6402         * lyxfunc.h:
6403         * lyxfunc.C: no need for commandshortcut to be a member
6404
6405 2002-07-15  André Pönitz <poenitz@gmx.net>
6406
6407         * converter.C: add support for $$s (scripts from lib/scripts dir)
6408         * lyx_main.C: white space
6409
6410 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6411
6412         * bufferlist.C:
6413         * lyxrc.h:
6414         * lyxrc.C: remove second exit confirmation
6415
6416 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6417
6418         * BufferView.h:
6419         * BufferView.C:
6420         * BufferView2.C:
6421         * BufferView_pimpl.h:
6422         * BufferView_pimpl.C:
6423         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6424
6425 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6426
6427         * MenuBackend.C (expand): add numeric shortcuts to document menu
6428
6429         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6430
6431 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6432
6433         * lyxfont.C (setLyXFamily):
6434         (setLyXSeries):
6435         (setLyXShape):
6436         (setLyXSize):
6437         (setLyXMisc):
6438         (lyxRead):
6439         * debug.C (value):
6440         * buffer.C (asciiParagraph): use ascii_lowercase
6441
6442 2002-07-15  Mike Fabian  <mfabian@suse.de>
6443
6444         * lyxlex_pimpl.C (search_kw):
6445         * lyxlex.C (getLongString):
6446         * converter.h (operator<):
6447         * converter.C (operator<):
6448         * buffer.C (parseSingleLyXformat2Token):
6449         (asciiParagraph):
6450         * ToolbarDefaults.C (read):
6451         * MenuBackend.C (checkShortcuts):
6452         (read):
6453         * LColor.C (getFromGUIName):
6454         (getFromLyXName): use the compare_ascii_no_case instead of
6455         compare_no_case, because in turkish, 'i' is not the lowercase
6456         version of 'I', and thus turkish locale breaks parsing of tags.
6457
6458 2002-07-16  Angus Leeming  <leeming@lyx.org>
6459
6460         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6461         now takes a Buffer const & argument.
6462
6463 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6464
6465         * BufferView.C (resize): check there's a buffer to resize
6466
6467 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6468
6469         * lyxfunc.C: remove dead code
6470
6471         * lyxserver.h:
6472         * lyxserver.C: use lyx_guii::set_read_callback
6473
6474 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6475
6476         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6477         an inset in a RTL paragraph.
6478
6479 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6480
6481         * lyxfunc.C: repaint after a font size update
6482
6483 2002-07-15  André Pönitz <poenitz@gmx.net>
6484
6485         * lyxlength.C: inBP should be able to return negative values
6486
6487 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6488
6489         * lyxfunc.C: use lyx_gui::update_fonts()
6490
6491 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6492
6493         * lyxfunc.C: use lyx_gui::update_color()
6494
6495 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6496
6497         * bufferlist.C:
6498         * lyxfunc.h:
6499         * lyxfunc.C:
6500         * lyxrc.h:
6501         * lyxrc.C: remove file->new asks for name option, and let
6502           buffer-new take an argument
6503
6504 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6505
6506         * BufferView_pimpl.C: remove unneeded extra repaint()
6507
6508 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6509
6510         * LyXAction.C: allow command-sequence with NoBuffer
6511
6512         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6513
6514 2002-07-10  Angus Leeming  <leeming@lyx.org>
6515
6516         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6517
6518 2002-07-09  Angus Leeming  <leeming@lyx.org>
6519
6520         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6521
6522 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6523
6524         * lengthcommon.h: whitespace
6525
6526         * lyxfunc.C: update scrollbar after goto paragraph
6527
6528         * lyxtext.h: factor out page break drawing, and fix it so
6529           page break/added space paints as selected nicely
6530
6531 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6532
6533         * BufferView_pimpl.C: add FIXMEs, clean up a little
6534
6535 2002-07-09  André Pönitz <poenitz@gmx.net>
6536
6537         * lyxfont.[Ch]: support for wasy symbols
6538
6539 2002-07-08  André Pönitz <poenitz@gmx.net>
6540
6541         * BufferView_pimpl.C: apply John's patch for #93.
6542
6543 2002-07-05  Angus Leeming  <leeming@lyx.org>
6544
6545         * BufferView_pimpl.C (buffer): generate previews if desired.
6546
6547         * LColor.h: add "preview" to the color enum.
6548
6549         * LColor.C (LColor): add a corresponding entry to the items array.
6550
6551         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6552         with this buffer.
6553
6554 2002-07-05  Angus Leeming  <leeming@lyx.org>
6555
6556         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6557         The body of the code is now in the method that is passed an ostream &
6558         rather than a file name.
6559         Pass an additional only_preamble parameter, useful for the forthcoming
6560         preview stuff.
6561
6562 2002-07-03  André Pönitz <poenitz@gmx.net>
6563
6564         * lyxfunc.C: simplify getStatus() a bit for math stuff
6565
6566 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6567
6568         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6569
6570 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6571
6572         * text.C (changeRegionCase): do not change case of all the
6573         document when region ends at paragraph end (bug #461)
6574
6575 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6576
6577         * paragraph.C (startTeXParParams):
6578         (endTeXParParams): add \protect when necessary
6579
6580 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6581
6582         * BufferView_pimpl.C (workAreaExpose): remove warning
6583
6584 2002-06-27  Angus Leeming  <leeming@lyx.org>
6585
6586         * Makefile.am: add lyxlayout_ptr_fwd.h.
6587
6588 2002-06-26  André Pönitz <poenitz@gmx.net>
6589
6590         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6591
6592 2002-06-25  Angus Leeming  <leeming@lyx.org>
6593
6594         * lyxfunc.C (dispatch): Comment out the call to
6595         grfx::GCache::changeDisplay. The method no longer exists now that the
6596         pixmap generation part of the graphics loader has been moved into
6597         InsetGraphics.
6598
6599 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6600
6601         * text2.C: layout as layout
6602
6603         * text.C: layout as layout
6604
6605         * tabular.C (OldFormatRead): layout as layout
6606
6607         * paragraph_pimpl.C (TeXDeeper): layout as layout
6608         (realizeFont): layout as layout
6609
6610         * paragraph.C (writeFile): layout as layout
6611         (validate): layout as layout
6612         (getFont): layout as layout
6613         (getLabelFont): layout as layout
6614         (getLayoutFont): layout as layout
6615         (breakParagraph): layout as layout
6616         (stripLeadingSpaces): layout as layout
6617         (getEndLabel): layout as layout
6618         (getMaxDepthAfter): layout as layout
6619         (applyLayout): layout as layout
6620         (TeXOnePar): layout as layout
6621         (simpleTeXOnePar): layout as layout
6622         (TeXEnvironment): layout as layout
6623         (layout): layout as layout
6624         (layout): layout as layout
6625
6626         * lyxtextclass.C (compare_name): new functor to work with
6627         shared_ptr, layout as layout
6628         (Read): layout as layout
6629         (hasLayout): layout as layout
6630         (operator): layout as layout
6631         (delete_layout): layout as layout
6632         (defaultLayout): layout as layout
6633
6634         * lyxlayout_ptr_fwd.h: new file
6635
6636         * lyxlayout.C (Read): layout as layout
6637
6638         * lyx_cb.C (MenuInsertLabel): layout as layout
6639
6640         * bufferlist.C (newFile): layout as layout
6641
6642         * buffer.C (readLyXformat2): layout as layout
6643         (parseSingleLyXformat2Token): layout as layout
6644         (insertStringAsLines): layout as layout
6645         (asciiParagraph): layout as layout
6646         (latexParagraphs): layout as layout
6647         (makeLinuxDocFile): layout as layout
6648         (simpleLinuxDocOnePar): layout as layout
6649         (makeDocBookFile): layout as layout
6650         (simpleDocBookOnePar): layout as layout
6651         (getLists): layout as layout
6652
6653         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6654
6655         * CutAndPaste.C (cutSelection): layout as layout
6656         (pasteSelection): layout as layout
6657         (SwitchLayoutsBetweenClasses): layout as layout
6658
6659         * BufferView_pimpl.C (Dispatch): layout as layout
6660         (smartQuote): layout as layout
6661
6662         * BufferView2.C (unlockInset): layout as layout
6663
6664 2002-06-24  André Pönitz <poenitz@gmx.net>
6665
6666         * lyxfunc.C: fix #487
6667
6668 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6669
6670         * lyxrc.h:
6671         * lyxrc.C:
6672         * lyxfunc.C: remove display_shortcuts, show_banner
6673
6674 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6675
6676         * Buffer_pimpl.C: oops, update on resize
6677
6678 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6679
6680         * buffer.C:
6681         * converter.C:
6682         * exporter.C:
6683         * lyxfunc.C:
6684         * BufferView.h:
6685         * BufferView.C: use repaint()
6686
6687         * BufferView_pimpl.h:
6688         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6689           as it's a clearer description. Remove superfluous
6690           redraws.
6691
6692 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6693
6694         * text.C: fix bug 488. Not ideal, but getting
6695           getWord() to work properly for the insets that
6696           matter is more difficult ...
6697
6698 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6699
6700         * BufferView_pimpl.C:
6701         * LyXAction.C:
6702         * commandtags.h:
6703         * lyxfunc.C: remove the six million index lyxfuncs to just
6704           one, and DTRT (bug 458)
6705
6706 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6707
6708         * BufferView.h:
6709         * BufferView.C:
6710         * BufferView_pimpl.h:
6711         * BufferView_pimpl.C: clean up resize() stuff,
6712           and unnecessary updateScreen()s
6713
6714 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6715
6716         * BufferView.h:
6717         * BufferView.C:
6718         * BufferView_pimpl.h:
6719         * BufferView_pimpl.C:
6720         * lyxfind.h:
6721         * lyxfind.C:
6722         * minibuffer.C: remove focus management of workarea,
6723           not needed. Use screen's greyOut()
6724
6725 2002-06-17  Herbert Voss  <voss@lyx.org>
6726
6727         * converter.C: (convert) do not post a message, when converting
6728         fails, let the calling function decide what to do in this case
6729
6730 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6731
6732         * lyxfunc.C: tidy up a little
6733
6734 2002-06-16    <alstrup@diku.dk>
6735
6736         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6737         Got rid of FORMS_H_LOCATION include. Now we are
6738         GUII.
6739
6740 2002-06-15  LyX Development team  <lyx@rilke>
6741
6742         * buffer.[Ch] (sgmlOpenTag):
6743         (sgmlCloseTag): Added support for avoiding pernicious mixed
6744         content. Return number of lines written.
6745
6746         (makeLinuxDocFile):
6747         (makeDocBookFile): Fixed calls to sgml*Tag.
6748         Simple white space clean.
6749
6750         (simpleDocBookOnePar): Simple white space clean.
6751
6752         * tabular.[Ch] (docBook): Renamed to docbook and got another
6753         argument to related with the pernicious mixed content.
6754
6755         (docbookRow): Fixed calls for docbook inset method.
6756
6757 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6758
6759         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6760         so it's X11 independent.
6761
6762         * kb*.[Ch]: ditto.
6763
6764         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6765
6766 2002-06-15  Lyx Development team  <lyx@electronia>
6767
6768         * intl.h: Renamed getTrans to getTransManager.
6769
6770 2002-06-14  Angus Leeming  <leeming@lyx.org>
6771
6772         * Makefile.am: nuke forgotten stl_string_fwd.h.
6773
6774 2002-06-12  Angus Leeming  <leeming@lyx.org>
6775
6776         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6777
6778 2002-06-13  Angus Leeming  <leeming@lyx.org>
6779
6780         * LaTeX.C:
6781         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6782
6783 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6784
6785         * kbmap.C (getiso): add support for cyrillic and greek
6786
6787 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6788
6789         * BufferView.h:
6790         * BufferView.C:
6791         * BufferView_pimpl.h:
6792         * BufferView_pimpl.C: move bogus scrolling logic
6793           to xforms
6794
6795 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6796
6797         * lyxfunc.C:
6798         * BufferView_pimpl.C: view->resize() change
6799
6800 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6801
6802         * BufferView_pimpl.C: topCursorVisible
6803           prototype change
6804
6805 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6806
6807         * Makefile.am:
6808         * lyx_gui.h:
6809         * lyx_gui.C: move to frontends/
6810
6811         * main.C:
6812         * lyx_main.h:
6813         * lyx_main.C: changes from above
6814
6815 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6816
6817         * intl.C:
6818         * intl.h:
6819         * kbmap.C:
6820         * kbsequence.C:
6821         * lyx_cb.C:
6822         * lyx_main.C: minor tidy
6823
6824 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6825
6826         * BufferView_pimpl.h:
6827         * BufferView_pimpl.C:
6828         * BufferView.h:
6829         * BufferView.C: make painter() const,
6830           remove dead code
6831
6832         * BufferView2.C: use screen() accessor
6833
6834         * lyx_main.h:
6835         * lyx_main.C: some minor cleanup
6836
6837 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6838
6839         * BufferView_pimpl.h:
6840         * BufferView_pimpl.C: remove enter/leaveView,
6841           use workHeight()
6842
6843 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6844
6845         * BufferView.h:
6846         * BufferView.C:
6847         * BufferView2.C:
6848         * BufferView_pimpl.h:
6849         * BufferView_pimpl.C: only construct screen once,
6850           rename
6851
6852         * lyxrc.C: remove pointless comment
6853
6854 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6855
6856         * BufferView.h:
6857         * BufferView.C: remove active() and belowMouse()
6858
6859         * BufferView_pimpl.h:
6860         * BufferView_pimpl.C: use workarea() not workarea_,
6861           and make it use a scoped_ptr instead
6862
6863 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6864
6865         * lyx_gui.C: add debug message on BadWindow
6866
6867 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6868
6869         * sp_spell.C: fdopen is not part of the C++ standard.
6870
6871         * paragraph.C (InsetIterator): use >= instead of ==
6872
6873 2002-06-07  Angus Leeming  <leeming@lyx.org>
6874
6875         Fixes needed to compile with Compaq cxx 6.5.
6876         * BufferView_pimpl.C:
6877         * DepTable.C:
6878         * buffer.C:
6879         * converter.C:
6880         * encoding.C:
6881         * lyx_gui.C:
6882         * lyx_main.C:
6883         * lyxtextclasslist.C:
6884         * minibuffer.C:
6885         * sp_spell.C:
6886         * tabular_funcs.C:
6887         * vc-backend.C:
6888         all c-library variables have been moved into namespace std. Wrap
6889         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6890
6891         * lyxlength.C:
6892         * tabular-old.C:
6893         * tabular.C:
6894         Add a using std::abs declaration.
6895
6896         * kbmap.h (modifier_pair):
6897         * paragraph.h (InsetTable, InsetList):
6898         * lyxfont.h (FontBits):
6899         type definition made public.
6900
6901         * bufferlist.C (emergencyWriteAll): the compiler complains that
6902         there is more than one possible lyx::class_fun template to choose from.
6903         I re-named the void specialisation as lyx::void_class_fun.
6904
6905         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6906
6907         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6908         the compiler is is unable to find tostr in write_attribute.
6909
6910 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6911
6912         * buffer.C (sgmlError): hide #warning
6913
6914 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6915
6916         * xtl/*: get rid of xtl, which is not in use anyway
6917
6918         * LyXAction.C (init):
6919         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6920         were unimplemented xtl experimentation
6921
6922 2002-06-04  André Pönitz <poenitz@gmx.net>
6923
6924         * lyxfunc.C: disable array operation on simple formulae
6925
6926 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6927
6928         * converter.C: constify a bit
6929
6930 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6931
6932         * lyx_gui.C: check xforms version correctly
6933
6934 2002-04-30  Herbert Voss  <voss@lyx.org>
6935
6936         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6937         "keep" option
6938
6939 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6940
6941         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6942           attempt to register it with a VCS)
6943
6944 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6945
6946         * lyx_main.C (init): honor variables LYX_DIR_13x and
6947         LYX_USERDIR_13x
6948
6949 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6950
6951         * buffer.h:
6952         * buffer.C:
6953         * lyx_main.C: fix a crash on bad command line,
6954           and give a useful exit status on error
6955
6956         * lyxfunc.C (doImport): allow -i lyx to work
6957
6958 2002-03-30  André Pönitz <poenitz@gmx.net>
6959
6960         * lyxfunc.C: mathed font changes
6961
6962 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6963
6964         * LaTeX.C:
6965         * importer.h:
6966         * importer.C:
6967         * lyx_sty.h:
6968         * lyx_sty.C:
6969         * lyxlex.C:
6970         * lyxrow.h:
6971         * lyxtext.h:
6972         * paragraph.h:
6973         * paragraph.C:
6974         * texrow.h:
6975         * texrow.C:
6976         * text.C:
6977         * trans_mgr.h: srcdocs, and some minor cleanups
6978
6979 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6980
6981         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6982         call getFont all the time)
6983
6984 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6985
6986         * switch from SigC signals to boost::signals
6987
6988 2002-05-29  André Pönitz <poenitz@gmx.net>
6989
6990         * paragraph_pimpl.C (getChar): don't call size() too often...
6991
6992 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6993
6994         * paragraph_pimpl.C (insertChar): do not try to update tables when
6995         appending (pos == size())
6996
6997         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6998         in order to reduce drastically the number of comparisons needed to
6999         parse a large document
7000
7001 2002-05-29  André Pönitz <poenitz@gmx.net>
7002
7003         * text.C:
7004         * text2.C:
7005         * lyxtextclass.C:
7006         * sp_pspell.h:
7007         * textclasslist.[Ch]:
7008         * sp_ispell.h: whitespace change
7009
7010 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7011
7012         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7013         lyxaction directly now.
7014
7015 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7016
7017         * trans.C:
7018         * lyxfont.C:
7019         * lyxvc.C: remove unused headers
7020
7021 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7022
7023         * Makefile.am:
7024         * buffer.h:
7025         * undostack.h:
7026         * undostack.C:
7027         * undo_funcs.h:
7028         * undo_funcs.C: some cleanups. Use shared_ptr
7029           and a template for the undo stacks.
7030
7031 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7032
7033         * BufferView_pimpl.h:
7034         * BufferView_pimpl.C:
7035         * kbmap.h:
7036         * kbmap.C:
7037         * kbsequence.h:
7038         * kbsequence.C:
7039         * lyxfunc.h:
7040         * lyxfunc.C:
7041         * text2.C: use key_state/mouse_state
7042
7043 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7044
7045         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7046         and LSubstring
7047
7048         * chset.C: change include order
7049         (loadFile): use boost regex and get rid of LRegex and LSubstring
7050
7051         * Makefile.am (BOOST_LIBS): new variable
7052         (lyx_LDADD): use it
7053
7054         * LaTeX.C: change include order.
7055         (scanAuxFile): use boost regex and get rid of LRegex and
7056         LSubstring
7057         (deplog): ditto
7058
7059 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7060
7061         * ColorHandler.h:
7062         * ColorHandler.C:
7063         * FontInfo.h:
7064         * FontInfo.C: moved to frontends/xforms/
7065
7066         * FontLoader.h:
7067         * FontLoader.C: moved into frontends for GUIIzation
7068
7069         * Makefile.am:
7070         * lyx_gui.C:
7071         * lyxfont.C:
7072         * lyxfunc.C: changes from above
7073
7074 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7075
7076         * LColor.C: remove spurious X include
7077
7078         * BufferView_pimpl.C:
7079         * Makefile.am:
7080         * font.h:
7081         * font.C:
7082         * text.C:
7083         * text2.C: move font metrics to frontends/
7084
7085 2002-05-24  Juergen Vigna  <jug@sad.it>
7086
7087         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7088         setting the undo_cursor.
7089
7090         * ParagraphParameters.h: include local includes first.
7091
7092 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7093
7094         * BufferView_pimpl.C:
7095         * BufferView_pimpl.h:
7096         * Makefile.am:
7097         * WorkArea.h:
7098         * WorkArea.C:
7099         * screen.C: move WorkArea into frontends/
7100
7101         * lyxscreen.h:
7102         * screen.C:
7103         * text.C:
7104         * BufferView.C:
7105         * BufferView2.C: move LyXScreen into frontends/
7106
7107         * lyxlookup.h:
7108         * lyxlookup.C:
7109         * lyx_gui.C: move lyxlookup into frontends/xforms/
7110
7111 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7112
7113         * BufferView2.C:
7114         * BufferView_pimpl.C:
7115         * FontLoader.C:
7116         * LyXView.h:
7117         * LyXView.C:
7118         * Makefile.am:
7119         * WorkArea.C:
7120         * XFormsView.h:
7121         * XFormsView.C:
7122         * buffer.C:
7123         * bufferlist.C:
7124         * bufferview_funcs.C:
7125         * converter.C:
7126         * importer.C:
7127         * lyx_cb.C:
7128         * lyx_gui.C:
7129         * lyx_main.C:
7130         * lyx_find.C:
7131         * lyxfunc.C:
7132         * lyxvc.C:
7133         * minibuffer.C:
7134         * text.C:
7135         * text2.C:
7136         * trans.C:
7137         * vc-backend.C: move LyX/XFormsView into frontends/
7138
7139 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7140
7141         * Makefile.am:
7142         * PainterBase.C:
7143         * PainterBase.h:
7144         * Painter.C:
7145         * Painter.h:
7146         * WorkArea.C:
7147         * WorkArea.h:
7148         * screen.C:
7149         * tabular.C:
7150         * text.C:
7151         * text2.C: move Painter to frontends/
7152
7153 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7154
7155         * buffer.C: comment out some some code that depend upon lyx_format
7156         < 220
7157
7158         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7159         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7160
7161         * buffer.h (NO_COMPABILITY): turn off compability
7162
7163         * ColorHandler.C: include scoped_array.hpp
7164
7165         * font.C: Use more specific smart_ptr header.
7166         * Painter.C: ditto
7167         * gettext.C: ditto
7168         * ShareContainer.h: ditto
7169         * lyx_main.h: ditto
7170         * kbmap.h: ditto
7171         * FontInfo.h: ditto
7172         * BufferView_pimpl.h: ditto
7173         * ColorHandler.h: ditto
7174
7175         * kbmap.C (defkey): change call to shared_ptr::reset
7176
7177 2002-05-21  Juergen Vigna  <jug@sad.it>
7178
7179         * buffer.C (insertErtContents): fix to insert ert asis if it is
7180         non empty. Skip it completely if it contains only whitespaces.
7181
7182 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7183
7184         * BufferView_pimpl.C:
7185         * BufferView2.C: clear selection on paste (bug 393)
7186
7187 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7188
7189         * DepTable.C: include ctime
7190
7191 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7192
7193         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7194
7195 2002-05-14  Juergen Vigna  <jug@sad.it>
7196
7197         * text.C (breakParagraph): fixed function to honor the keepempty
7198         layout in the right maner and also to permit the right breaking
7199         algorithm on empty or non empyt keepempty paragraphs.
7200
7201         * paragraph.C (breakParagraph): we have to check also if the par
7202         is really empty (!size()) for isempty otherwise we do the wrong
7203         paragraph break.
7204
7205 2002-05-10  Juergen Vigna  <jug@sad.it>
7206
7207         * buffer.[Ch] : The following are only changes to the ert
7208         compatibility read reading old LaTeX layout and font stuff and
7209         convert it to ERTInsets.
7210
7211         * buffer.h: added isErtInset().
7212
7213         * buffer.C (struct ErtComp): add a fromlayout bool to check
7214         if we're inside a LaTeX layout.
7215         (isErtInset): new helper function.
7216         (insertErtContents): look for other ert insets before this one
7217         and insert the contents there, so that we don't have subsequent
7218         ERT insets with nothing between them. This way we create only one
7219         inset with multiple paragraphs. Also check if we don't insert only
7220         spaces ' ' as they are ignored anyway afterwards in the .tex file
7221         so if we have only spaces we will ignore this latex part in the
7222         new file.
7223         (parseSingleLyXformat2Token \\layout): better compatibility when
7224         reading layout-latex stuff.
7225         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7226         language tag.
7227         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7228         stuff after reading the inset only get the information back from
7229         the stack.
7230
7231 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7232
7233         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7234
7235         * LaTeXFeatures.C (getBabelOptions): New method.
7236
7237 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7238
7239         * BufferView_pimpl.C (Dispatch): work around missing argument for
7240         'layout'
7241
7242 2002-05-08  Juergen Vigna  <jug@sad.it>
7243
7244         * text.C (leftMargin): handle paragraph leftindent.
7245
7246         * paragraph.C (writeFile): write the new \\leftindent tag.
7247         (validate): handle leftindent code.
7248         (TeXEnvironment): handle paragraphleftindent code again.
7249
7250         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7251
7252         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7253         for paragrap_extra indent code and new token \\leftindent.
7254         (latexParagraphs): handle the leftindent as environment.
7255
7256         * ParameterStruct.h: added leftindent support.
7257
7258         * ParagraphParameters.C (leftIndent): added support functions for
7259         the paragraph left indent.
7260
7261         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7262         more appropriate.
7263
7264 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7265
7266         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7267         inside insetERT.
7268
7269         * text.C (computeBidiTables): No bidi in insetERT.
7270
7271         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7272         in RTL documents.
7273
7274 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7275
7276         * version.C.in: pre 5
7277
7278 2002-05-02  José Matos  <jamatos@fep.up.pt>
7279         * buffer.C (makeDocBookFile): white space changes, add newline to
7280         command styles.
7281         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7282
7283         * tabular.C (docBook): fix typo.
7284
7285 2002-05-03  Juergen Vigna  <jug@sad.it>
7286
7287         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7288         change in LyXText as we can not be sure it was not freed.
7289         (drawOneRow): remove unused code.
7290
7291         * text.C (drawInset): redo the calculation of the need_break_row as
7292         it could have a row which was already freed.
7293         (draw): look at the return value of drawInset and return false if
7294         it also returned false.
7295         (paintRowText): look at the return value of draw and return false if
7296         it also returned false.
7297
7298         * lyxtext.h: added bool return type to drawInset() and draw() so that
7299         if we have a change in the row so that the rowbreak has to be redone
7300         we abort drawing as it will be called again.
7301
7302 2002-05-02  Juergen Vigna  <jug@sad.it>
7303
7304         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7305         a change in the maintext also if we're inside an inset.
7306         (Dispatch): set the cursor again after a break line and after the
7307         screen has been updated as it could be we're in a different row.
7308
7309         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7310         to set the cursor behind the pargraph with > size().
7311         (setCursor): check also for the same paragraph when checking where
7312         to put the cursor if we have a NFR inset.
7313
7314         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7315         parts of layout read further up as it still was in the wrong
7316         position.
7317
7318 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7319
7320         * screen.C (drawFromTo): change sine fullRebreak always return
7321         true.
7322
7323         * buffer.C (parseSingleLyXformat2Token): reindent some
7324
7325         * BufferView_pimpl.C (update): change since fullRebreak always
7326         return true.
7327         (Dispatch): git rid of the last hardcoded "Standard"s.
7328
7329 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7330
7331         * text2.[Ch] (fullRebreak): make it return void now that we always
7332         returned true.
7333
7334 2002-04-30  Juergen Vigna  <jug@sad.it>
7335
7336         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7337         ert compatibility check for "latex" layout.
7338
7339 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7340
7341         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7342         minipages: use col% instead of p%, and also use the current font.
7343         (makeLaTeXFile): Fix use babel condition.
7344         (parseSingleLyXformat2Token): Correct font when reading old floats.
7345
7346 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7347
7348         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7349         inserting list of floats.
7350
7351 2002-04-25  Herbert Voss  <voss@lyx.org>
7352
7353         * MenuBackend.C (expand): don't add the graphics extensions to the
7354         export menu
7355
7356 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7357
7358         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7359         non-existing layout, do not complain if it was the default layout
7360         of the original class (bug #342)
7361
7362 2002-04-24  Juergen Vigna  <jug@sad.it>
7363
7364         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7365         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7366
7367 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7368
7369         * buffer.C (getBibkeyList): If using \bibliography, return the
7370         option field with the reference itself. Enables us to provide natbib
7371         support when using \bibliography.
7372
7373 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7374
7375         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7376
7377         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7378         natbib is provided by the LaTeX class.
7379
7380 2002-04-23  Juergen Vigna  <jug@sad.it>
7381
7382         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7383         Wakeup functions.
7384
7385         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7386
7387 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7388
7389         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7390
7391         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7392         ensuremath around textordmasculine, textordfeminine and
7393         textdegree.
7394
7395 2002-04-19  Juergen Vigna  <jug@sad.it>
7396
7397         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7398         reinitializing the buffer otherwise row-dimensions may be wrong.
7399         (update): reset also the selection cursors if they do exits otherwise
7400         their x/y positions may be wrong.
7401
7402         * text2.C (cursorDown): don't enter the inset if we came from a row
7403         above and are one row over the inset.
7404
7405         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7406         really leaving an inset.
7407
7408 2002-04-18  Juergen Vigna  <jug@sad.it>
7409
7410         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7411         of the selected paragraph does not have the selected layout also if
7412         the last one had!
7413
7414         * text2.C (setLayout): fixed bug which did not change last selected
7415         paragraph.
7416
7417         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7418         changed the read and substituted \\end_float with \\end_inset!
7419
7420         * BufferView_pimpl.C (cursorPrevious):
7421         (cursorNext): fixed to make it work with rows heigher than the work
7422         area without moving the cursor only the draw of the row.
7423         (workAreaMotionNotify): fix jumping over high rows.
7424
7425 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7426
7427         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7428         Ressler.
7429
7430 2002-04-16  Juergen Vigna  <jug@sad.it>
7431
7432         * text2.C (setCursor): set also the irow().
7433         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7434         (cursorUp):
7435         (cursorDown): support for locking an inset if the x_fix value goes
7436         inside it. That way I can transverse insets too with cursor up/down.
7437
7438         * lyxrow.h: added irow helper function same as other (i) functions.
7439
7440         * BufferView_pimpl.C (cursorPrevious):
7441         (cursorNext): fixed for insets!
7442
7443 2002-04-15  Juergen Vigna  <jug@sad.it>
7444
7445         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7446         position otherwise it is wrong in some cases.
7447
7448         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7449         inside the inset before the call.
7450
7451 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7452
7453         * buffer.[Ch] (getBibkeyList): make it const.
7454
7455 2002-04-12  Juergen Vigna  <jug@sad.it>
7456
7457         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7458
7459         * text2.C (getCursorX): new helper function
7460         (setCursor): compute also ix_
7461         (setCursorFromCoordinates): set also ix.
7462
7463         * lyxcursor.h: added ix_ and helper functions.
7464
7465         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7466
7467         * buffer.C (insertStringAsLines): dont break paragraph if the this
7468         paragraph is inside an inset which does not permit it!
7469
7470         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7471         also with no chars on this paragraph.
7472         (paintRowText): only paint stuff if it's inside the workarea!
7473
7474         * paragraph.C (breakParagraph): honor keepempty flag and break the
7475         paragraph always below not above.
7476
7477         * BufferView2.C (unlockInset): update the paragraph layout on inset
7478         unlock as we changed paragraph in such a case.
7479
7480         * lyxfind.C (LyXFind): clear the former selection if not found!
7481
7482         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7483         again called in insertChar().
7484
7485         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7486         an inset which uses the whole row!
7487         (rightMargin): ditto.
7488         (insertChar): force a rebreak if we inserted an inset!
7489
7490 2002-03-28  Herbert Voss  <voss@lyx.org>
7491
7492         * lyxlength.[Ch]: add inBP() to get the right PS-point
7493         units (BigPoint). With inPixels we have rounding errors
7494
7495 2002-04-11  Juergen Vigna  <jug@sad.it>
7496
7497         * text2.C (setCursorFromCoordinates): set iy to the right value.
7498         (setCursor): add check if row->previous exists!
7499
7500         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7501         an old float_type as this was the case in the old code!
7502
7503         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7504
7505         * BufferView2.C (showLockedInsetCursor): use iy
7506         (fitLockedInsetCursor): ditto
7507
7508         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7509         locked insets as there we have the right value now.
7510
7511         * lyxcursor.C: added iy_ variable and iy functions to set to the
7512         baseline of cursor-y of the locked inset.
7513
7514         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7515         (setCursor): fixed for insets which need a full row.
7516
7517         * text.C (rowLastPrintable): don't ignore the last space when before
7518         an inset which needs a full row.
7519         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7520         as last character of a row when before a inset which needs a full row.
7521
7522 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7523
7524         * version.C.in: update date
7525
7526         * text2.C (fullRebreak): try to always return true and see what
7527         happens...
7528
7529 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7530
7531         * MenuBackend.C (expand): use Floating::listName
7532
7533         * FloatList.C (FloatList): add listName argument to the built-in
7534         floats
7535
7536         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7537         text associated with the float.
7538
7539 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7540
7541         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7542
7543 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7544
7545         * ShareContainer.h: add a couple of missing typenames.
7546
7547 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7548
7549         * lyxrc.C (getDescription): use _() correctly rather than N_().
7550
7551 2002-03-28  Herbert Voss  <voss@lyx.org>
7552
7553         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7554         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7555
7556 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7557
7558         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7559         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7560
7561 2002-03-29  Juergen Vigna  <jug@sad.it>
7562
7563         * lyxfunc.C (dispatch): add a missing fitCursor call.
7564
7565         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7566         it was scrolled by a cursor move, so return the bool status.
7567
7568         * BufferView.C (fitCursor): return the bool flag also to the outside
7569         world as this is needed.
7570
7571         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7572
7573         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7574         call the edit() as it is not needed (and wrong) IMO.
7575         (workAreaButtonPress): set the screen_first variable before evt.
7576         unlock the inset as this may change screen_first and then we have
7577         a wrong y position for the click!
7578
7579 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7580
7581         * MenuBackend.C (expand): another translation that I missed
7582
7583 2002-03-28  Juergen Vigna  <jug@sad.it>
7584
7585         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7586
7587         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7588
7589 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7590
7591         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7592
7593         * MenuBackend.C (expand): fix export/view/update when there is no
7594         document open.
7595
7596 2002-03-27  Herbert Voss  <voss@lyx.org>
7597
7598         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7599         and text%
7600
7601 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7602
7603         * bufferview_funcs.C (currentState): only show paragraph number
7604         for is DEVEL_VERSION is set.
7605
7606         * lyxfunc.C (dispatch): put warning in INFO channel
7607
7608         * MenuBackend.C (expand): translate the name of floats
7609
7610         * FloatList.C (FloatList): mark the float names for translation
7611
7612         * converter.C (convert): use LibScriptSearch
7613
7614 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7615
7616         * MenuBackend.C (defaults): fix default menu (we might as well get
7617         rid of it...)
7618
7619 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7620
7621         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7622         directory.
7623
7624 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7625
7626         * lyxvc.C: reorder includes.
7627
7628 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7629
7630         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7631           properly
7632
7633 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7634
7635         * CutAndPaste.C: change layouts earlier on paste
7636           to avoid crashing when calling getFont()
7637
7638 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7639
7640         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7641         irritating #error.
7642
7643 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7644
7645         * WorkArea.C: remove 'Pending' debug message.
7646
7647         * most files: ws cleanup
7648
7649         * buffer.[Ch]: ws changes
7650
7651         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7652
7653 2002-03-21  Juergen Vigna  <jug@sad.it>
7654
7655         * tabular.C (SetMultiColumn): collapse also the contents of the
7656         cells and set the last border right. Added a Buffer const * param.
7657
7658 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7659
7660         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7661         linking or not.
7662
7663 2002-03-19  Juergen Vigna  <jug@sad.it>
7664
7665         * text2.C (clearSelection): reset also xsel_cache.
7666
7667         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7668         where it needs to be called (John tells us to do so too :)
7669         (selectionLost): reset sel_cache.
7670
7671         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7672
7673 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7674
7675         * text2.C (setCursorIntern): put debuging code in INSETS channel
7676
7677 2002-03-19  André Pönitz <poenitz@gmx.net>
7678
7679         * lyxfunc.C: tiny whitespace change
7680
7681 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7682
7683         * ToolbarDefaults.C (init):
7684         * LyXAction.C (init):
7685         * commandtags.h:
7686         * BufferView_pimpl.C (Dispatch):
7687         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7688
7689 2002-03-19  Allan Rae  <rae@lyx.org>
7690
7691         * exporter.C (Export): removeAutoInsets before doing anything else.
7692         While I've just introduced a dependency on BufferView this really is
7693         the best place to clean the buffer otherwise you need to cleanup in
7694         a dozen places before calling export or cleanup in a dozen functions
7695         that export calls.
7696
7697         * converter.C (runLaTeX):
7698         (scanLog): Better handling of removeAutoInsets and screen updates.
7699
7700         * lyxfunc.C (dispatch): small whitespace changes
7701
7702 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7703
7704         * WorkArea.C (C_WorkAreaEvent): return a value.
7705         (event_cb): return 1 if we handled the event, 0 otherwise.
7706
7707         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7708
7709 2002-03-18  Juergen Vigna  <jug@sad.it>
7710
7711         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7712         (GetAdditionalWidth): ditto.
7713         (RightLine): ditto.
7714         (LeftLine): ditto.
7715
7716         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7717         inset if we're there actually (probably not used right now but this
7718         is the direction to go for unifying code).
7719         (paste): disable code to clear the selection.
7720
7721         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7722         inside an InsetText and move the check further up as it is in the
7723         wrong place.
7724
7725         * text2.C (pasteSelection): set a selection over the pasted text.
7726
7727 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7728
7729         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7730         and libgraphics to build on Cygwin.
7731
7732 2002-03-15  Juergen Vigna  <jug@sad.it>
7733
7734         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7735         inserting an Inset into the paragraph. I know this is not the best
7736         fix but we already use current_view in CutAndPaste so we will remove
7737         all of it's using at the same time.
7738
7739         * buffer.C (sgmlError): deactivated function till it is rewritten in
7740         the right mode, now it can create problems.
7741
7742         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7743         before accessing it.
7744
7745 2002-03-14  Juergen Vigna  <jug@sad.it>
7746
7747         * undo_funcs.C (textHandleUndo): do the right thing when updating
7748         the inset after the undo/redo.
7749
7750         * text2.C (setCursor): just some testcode for #44 not ready yet.
7751
7752         * undo_funcs.C (textHandleUndo): set the next() and previous()
7753         pointers of the paragraph to 0 before deleting otherwise we have
7754         problems with the Paragraph::[destructor].
7755
7756         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7757         on a paragraph insertion.
7758
7759 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7760
7761         * buffer.C (asciiParagraph): use += operator for char append to
7762         string.
7763
7764         * paragraph.C (getFontSettings): compare >= not just >
7765         (highestFontInRange): ditto
7766         (setFont): ditto
7767
7768 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7769
7770         * paragraph.C: change several algorithm to be more appripriate for
7771         the problem domain. This is lookip in FontList and in the InsetList.
7772
7773 2002-03-13  André Pönitz <poenitz@gmx.net>
7774
7775         * commandtags.h:
7776         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7777
7778 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7779
7780         * commandtags.h:
7781         * LyXAction.C:
7782         * lyxfunc.C:
7783         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7784
7785 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7786
7787         * Painter.C (display): anon helper function, adjust code for this
7788         change.
7789         (pixmap): remove function.
7790
7791         * Painter.h: remove private display variable.
7792
7793         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7794
7795 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7796
7797         * WorkArea.[Ch]: remove figinset_canvas cruft.
7798
7799 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7800
7801         * lyxtextclass.C (operator): add one item cache optimization.
7802
7803         * bufferlist.h: doxy changes
7804
7805         * bufferlist.C: ws changes
7806
7807         * DepTable.[Ch] (ext_exist): place const in the right spot.
7808
7809         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7810         call resizeInsets.
7811         (workAreaExpose): call resizeInsets when the with BufferView changes.
7812         (Dispatch): adjust for protectedBlank removal
7813         (specialChar): call updateInset if the insert went ok.
7814
7815         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7816         specialChar instead.
7817
7818         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7819
7820         * BufferView.h: doxy change
7821
7822         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7823
7824         * lyxtextclass.C (operator[]): remove non-const version
7825         (defaultLayout): remove non-const version
7826
7827 2002-03-12  Juergen Vigna  <jug@sad.it>
7828
7829         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7830         did resize the LyXText too.
7831
7832         * buffer.C (readLyXformat2): set layout information on newly allocated
7833         paragraphs.
7834
7835         * tabular.C (OldFormatRead): set layout information on the paragraph.
7836
7837 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7838
7839         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7840
7841 2002-03-11  Juergen Vigna  <jug@sad.it>
7842
7843         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7844         plainly wrong.
7845         (resizeCurrentBuffer): force also the insets to resize themselfes.
7846         (moveCursorUpdate): fixed up for InsetText.
7847
7848 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7849
7850         * commandtags.h:
7851         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7852         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7853         value of Dialogs::tooltipsEnabled().
7854         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7855
7856 2002-03-08  Juergen Vigna  <jug@sad.it>
7857
7858         * BufferView_pimpl.C (updateInset): update inset inside inset also
7859         if it isn't inside theLockingInset().
7860
7861 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7862
7863         * buffer.C (asciiParagraph): redo some of the word and line length
7864         handling.
7865         (getLists): look for Caption instead of caption.
7866
7867 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7868
7869         * buffer.C (Buffer): initialize niceFile to true
7870         (makeLaTeXFile):
7871         (makeLinuxDocFile):
7872         (makeDocBookFile): make sure niceFile is true on exit
7873
7874 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7875
7876         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7877
7878 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7879
7880         * LyXSendto.C: remove.
7881         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7882         * lyx_gui.C: remove now-redundant comment.
7883         * ColorHandler.h: remove forward declaration of class WorkArea.
7884         * lyxfunc.C: remove #include "WorkArea.h".
7885
7886 2002-03-07  Juergen Vigna  <jug@sad.it>
7887
7888         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7889         got moved away with the DEPM and also set the inset_owner always
7890         right which before could have been omitted.
7891
7892 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7893
7894         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7895         wanted layout is not found.
7896
7897 2002-03-07  Juergen Vigna  <jug@sad.it>
7898
7899         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7900
7901 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7902
7903         * paragraph.C (breakParagraph): use default layout not layout of
7904         prev paragraph.
7905         (Paragraph): clear ParagraphParameters.
7906
7907 2002-03-06  Juergen Vigna  <jug@sad.it>
7908
7909         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7910         otherwise it would not be a valid lenght. Fixed a special case in
7911         the minipage compatibility read where we end the document with a
7912         minipage.
7913
7914         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7915         was set as it could be 0 for InsetTexts first entry.
7916
7917 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7918
7919         * paragraph.C (writeFile): if layout is empty write out
7920         defaultLayoutName().
7921
7922         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7923         file without named layout we set layout to defaultLayoutName().
7924
7925 2002-03-06  Juergen Vigna  <jug@sad.it>
7926
7927         * CutAndPaste.C (copySelection): set layout for new paragraph.
7928
7929         * text.C (prepareToPrint): leave ERT inset left aligned
7930         (leftMargin): don't indent paragraphs inside ERT insets
7931
7932 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7933
7934         * paragraph.C (breakParagraph): dont call clear do the work manually
7935
7936         * paragraph.[Ch] (clear): remove function
7937
7938 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7939
7940         * paragraph.C (Paragraph): dont call clear, the work has already
7941         been done.
7942
7943         * lyxtextclass.C (operator): assert if n is empty
7944
7945         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7946         work manually instead.
7947
7948 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7949
7950         * BufferView_pimpl.C: protect selectionLost against text == 0
7951
7952 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7953
7954         * text.C (breakParagraph): fix a setting layout to '0' problem.
7955
7956 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7957
7958         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7959         final location of file, for the included files, and graphics.
7960
7961 2002-03-05  Juergen Vigna  <jug@sad.it>
7962
7963         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7964
7965 2002-03-04  Juergen Vigna  <jug@sad.it>
7966
7967         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7968
7969         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7970         last column of multicolumn cells.
7971         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7972
7973 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7974
7975         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7976         file if it doesn't go to a temporary file.
7977
7978         * buffer.C (sgmlOpenTag):
7979         (sgmlCloseTag):  remove extra newline insertion.
7980
7981 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7982
7983         * text.C (getRowNearY): comment out debug msg
7984
7985 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7986
7987         * text2.C: first -> first_y
7988
7989         * text.C (getRowNearY): add some attemts at a possible
7990         optimization, not working.
7991
7992         * tabular.[Ch]: add BufferParams to several function so that newly
7993         created paragraph can be initialized to he default layotu for the
7994         buffers textclass.
7995
7996         * tabular-old.C (ReadOld): add buf->params to call of Init
7997
7998         * screen.C: rename text->first to text->first_y
7999
8000         * paragraph.C (breakParagraph): always set layout in the broken
8001         paragraph
8002
8003         * lyxtextclass.C (Read): remove lowercase
8004         (hasLayout): ditto
8005         (operator): ditto
8006         (delete_layout): ditto
8007
8008         * lyxtext.h: rename first -> first_y
8009
8010         * lyxlayout.C (Read): remove lowercase
8011         (name): ditto
8012         (setName): ditto
8013         (obsoleted_by): ditto
8014
8015         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8016
8017         * buffer.C (insertErtContents): add params are to InsetERT
8018         (parseSingleLyXformat2Token): add code to check if a paragraphs
8019         layout really exist.
8020         (parseSingleLyXformat2Token): add params to several inset
8021         constructors
8022         (asciiParagraph): remove lowercase, do the layout comparisons with
8023         no_case
8024
8025         * BufferView_pimpl.C (cursorNext): first -> first_y
8026         (resizeCurrentBuffer): first -> first_y
8027         (updateScrollbar): first -> first_y
8028         (scrollCB): first -> first_y
8029         (workAreaMotionNotify): first -> first_y
8030         (workAreaButtonPress): first -> first_y
8031         (checkInsetHit): first -> first_y
8032         (cursorPrevious): first -> first_y
8033         (cursorNext): first -> first_y
8034         (Dispatch): add buffer_->params to severl inset contructors
8035
8036 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8037
8038         * lyxlayout.C (Read): remove some debug info that I forgot.
8039
8040         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8041         clean up the code slightly.
8042         (makeLinuxDocFile): ditto
8043         (makeDocBookFile): ditto
8044
8045         * text2.C: layout as string
8046
8047         * text.C: layout as string
8048
8049         * paragraph_pimpl.C: layout as string
8050
8051         * paragraph.[Ch]: layout as string
8052
8053         * lyxtextclasslist.[Ch]: layout as string
8054
8055         * lyxtextclass.[Ch]: layout as string
8056
8057         * lyxtext.h: layout as string
8058
8059         * lyxlayout.[Ch]: layout as string
8060
8061         * lyx_cb.C: layout as string
8062
8063         * bufferview_funcs.C: layout as string
8064
8065         * bufferparams.C: layout as string
8066
8067         * buffer.C: layout as string
8068
8069         * LyXView.[Ch]: layout as string
8070
8071         * LaTeXFeatures.[Ch]: layout as string
8072
8073         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8074
8075         * BufferView_pimpl.C: change current_layout to string, remove
8076         lyx::layout_type.
8077         (Dispatch):
8078         (smartQuote):
8079         (insertInset):
8080         (workAreaButtonRelease): layout as string
8081
8082         * BufferView2.C (unlockInset): adjust
8083
8084         * vspace.C (asLatexCommand): use an explict temp variable.
8085
8086 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8087
8088         * Makefile.am: use FRONTEND_*
8089
8090 2002-03-01  Juergen Vigna  <jug@sad.it>
8091
8092         * tabular.C (SetWidthOfMulticolCell): changed to something better
8093         I hope but still work in progress.
8094         (recalculateMulticolumnsOfColumn): renamed function from
8095         recalculateMulticolCells as it is more appropriate now.
8096         (SetWidthOfCell): calculate multicols better.
8097
8098 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8099
8100         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8101
8102         * lyxfunc.C (processKeySym): print sequence also if it is
8103         `deleted' (complete)
8104
8105         * kbsequence.C (print): print sequence even if it is deleted
8106         (complete would be a better word, actually).
8107
8108         * lyxfunc.C (dispatch): print complete options after a prefix key
8109
8110         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8111
8112 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8113
8114         * text2.C (setCharFont): eliminate setCharFont code duplication.
8115
8116 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8117
8118         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8119         LFUN_TABULAR_FEATURE (bug #177)
8120
8121 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8122
8123         * Makefile.am: remove figure.h
8124
8125 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8126
8127         * Bufferview_pimpl.C:
8128         * CutAndPasteC:
8129         * LaTeX.C:
8130         * LyXSendto.C:
8131         * buffer.C:
8132         * bufferlist.C:
8133         * converter.C:
8134         * language.C:
8135         * lyxfunc.C:
8136         * lyxvc.C:
8137         * paragraph.C:
8138         * text.C:
8139         * text2.C: remove #include "lyx_gui_misc.h".
8140
8141         * LaTeX.C: added #include <cstdio>
8142
8143 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8144
8145         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8146         that the paragraph following this one can have.
8147
8148         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8149
8150         * vspace.C (asLatexCommand): fix bogus gcc warning
8151
8152         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8153
8154 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8155
8156         * text2.C (setLayout): get rid of redundant code
8157
8158 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8159
8160         * text2.C (incDepth): make sure depth cannot be increased beyond
8161         reasonable values.
8162
8163 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8164
8165         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8166         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8167
8168         * PainterBase.h (image):
8169         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8170         a LyXImage const *.
8171
8172 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8173
8174         * BufferView.C:
8175         * BufferView.h:
8176         * BufferView_pimpl.C:
8177         * BufferView_pimpl.h:
8178         * LaTeXFeatures.C:
8179         * LyXAction.C:
8180         * LyXView.C:
8181         * Makefile.am:
8182         * UpdateList.h:
8183         * UpdateList.C:
8184         * buffer.C:
8185         * figure.h:
8186         * figureForm.C:
8187         * figureForm.h:
8188         * figure_form.C:
8189         * figure_form.h:
8190         * lyx_cb.C:
8191         * lyx_gui.C:
8192         * lyx_gui_misc.C:
8193         * lyxfunc.C:
8194         * sp_base.h:
8195         * sp_ispell.h:
8196         * sp_pspell.h:
8197         * sp_spell.C: remove fig inset, and the crap house of
8198           cards that follows it
8199
8200 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8201
8202         * Makefile.am:
8203         * lyxserver.C:
8204         * os2_defines.h:
8205         * os2_errortable.h:
8206         * nt_defines.h: move .h into support/
8207
8208         * vms_defines.h: remove
8209
8210         * WorkArea.C: add space in debug output
8211
8212         * text2.C:
8213         * paragraph.C:
8214         * buffer.C: add WITH_WARNINGS
8215
8216         * vc-backend.h:
8217         * vc-backend.C:
8218         * bufferlist.C: s/retrive/retrieve/, add docs
8219
8220         * vspace.h:
8221         * vspace.C:
8222         * kbmap.h:
8223         * lyxlength.h:
8224         * lyxgluelength.h:
8225         * length_common.h:
8226         * chset.h:
8227         * chset.C: add docs
8228
8229         * lyxgui.C: add ID to X error handler
8230
8231         * lyxtestclass.c: fix typo
8232
8233 2002-02-26  Juergen Vigna  <jug@sad.it>
8234
8235         * tabular_funcs.C (write_attribute): changed so that some default
8236         attributes are not written at all.
8237         (getTokenValue): set default values before trying to read the
8238         value so we have the return value always set as default if we don't
8239         find the token we search for.
8240
8241         * tabular.C (Write): write bools as bools not as strings!
8242
8243 2002-02-22  Juergen Vigna  <jug@sad.it>
8244
8245         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8246         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8247
8248         * text.C (leftMargin): don't add an indent for paragraphs inside
8249         tabular cells (fix #208).
8250
8251 2002-02-21  José Matos  <jamatos@fep.up.pt>
8252
8253         * tabular.C (docBook): fixed support for long tables.
8254
8255 2002-02-20  Juergen Vigna  <jug@sad.it>
8256
8257         * text2.C (getFont): get the drawing font of the Inset if this
8258         paragraph is inside an inset (only important for InsetERT for now).
8259
8260         * buffer.C (insertErtContents): use new lanugage params in ERT
8261         constructor.
8262
8263         * CutAndPaste.C: commenting out seemingly uneeded code.
8264
8265 2002-02-19  Allan Rae  <rae@lyx.org>
8266
8267         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8268         Iterators might be simple to use but they also get invalidated.
8269         (removeAutoInsets): renamed saved cursor tracking variables and added
8270         some comments to clarify what everything does.
8271
8272 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8273
8274         * Chktex.C:
8275         * LaTeX.C:
8276         * LyXSendto.C:
8277         * converter.C:
8278         * lyx_cb.C:
8279         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8280         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8281
8282         * lyxfunc.C:
8283         * vc-backend.h: remove #include "support/syscall.h"
8284
8285         * LaTeX.C:
8286         * LyXSendto.C:
8287         * converter.C: rearrange #includes in Lars' approved fashion.
8288
8289         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8290         forward declare class Timeout in the header file.
8291
8292         * XFormsView.C: changes due to the above.
8293
8294         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8295         similar to LyXView.
8296
8297         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8298         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8299
8300 2002-02-18  José Matos  <jamatos@fep.up.pt>
8301
8302         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8303         insets contents.
8304
8305 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8306
8307         * a lot of small ws changes
8308         * add a lot of using std::XXX
8309         * use std construcs some places where approp.
8310         * use some exisint stuff from lyxfunctional where approp.
8311         * Make file changes to use partial linking (lets test this now...)
8312
8313 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8314
8315         * Chktex.C:
8316         * buffer.C:
8317         remove #include "support/syscontr.h" as it's redundant. Always has been.
8318
8319         * Chktex.C:
8320         * LaTeX.C:
8321         * LyXSendto.C:
8322         * converter.C:
8323         * lyx_cb.C:
8324         * vc-backend.C:
8325         change Systemcalls::System to Systemcalls::Wait and
8326         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8327         No change of functionality, just reflects the stripped down Systemcalls
8328         class.
8329
8330 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8331
8332         * debug.[Ch]: add a GRAPHICS type to the enum.
8333
8334 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8335
8336         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8337
8338         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8339         there is an inset.
8340
8341 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8342
8343         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8344         match the changes below.
8345
8346         * text2.C (toggleInset): if there is not editable inset at cursor
8347         position, try to see if cursor is _inside_ a collapsable inset
8348         and close it.
8349
8350 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8351
8352         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8353         document menu has a nice checkbox
8354
8355 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8356
8357         * lyxlength.C (asLatexString): change PW to output as percent of
8358         \textwidth.
8359
8360         * lengthcommon.C: change '%' to 't%'
8361
8362         * lyxfunc.C (dispatch): a few comments from Martin
8363
8364 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8365
8366         * WorkArea.h:
8367         * WorkArea.C:
8368         * BufferView_pimpl.h:
8369         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8370           the X selection.
8371
8372 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8373
8374         * vspace.C (inPixels): fix compiler warning
8375
8376 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8377
8378         * lyxfunc.C (getStatus): fix status message for disabled commands.
8379
8380 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8381
8382         * BufferView_pimpl.C: fix crash on close buffer
8383         during selection (#227)
8384
8385 2002-01-27  Herbert Voss  <voss@lyx.org>
8386
8387         * buffer.C: link old Figure to new graphic inset
8388
8389 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8390
8391         * FontLoader.C (getFontinfo): Change the latex font names in order
8392         to match the names of type1inst.
8393
8394 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8395
8396         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8397
8398         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8399         (extchanged): ditto
8400         (ext_exist): ditto
8401         (remove_files_with_extension): ditto
8402         (remove_file): ditto
8403         (write): ditto
8404
8405         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8406         document is smaller than the work area height. Do not initialize
8407         static variables to 0.
8408
8409 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8410
8411         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8412
8413         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8414         LFUN_LAYOUT_PARAGRAPHS.
8415
8416         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8417         tabular. It is possible to provide a possible cell, which will
8418         typically be the actcell from the corresponding insettabular
8419
8420         * lyxfunc.C (getStatus): small cleanup; disable
8421         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8422         true
8423
8424 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8425
8426         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8427
8428         * paragraph.C (startTeXParParams):
8429         (endTeXParParams): new methods. The LaTeX code to
8430         start/end paragraph formatting
8431         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8432         empty (fixes bug #200)
8433
8434         * vspace.C (inPixels): adapt to the change below
8435         (inPixels): [later] more cleanups (remove unused variables)
8436
8437         * lyxlength.C (inPixels): change to use a width and a height as
8438         parameter.
8439
8440 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8441
8442         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8443         Replaced with \paperwidth
8444
8445         * DepTable.C (insert): add std:: qualifier
8446
8447 2002-01-18  Allan Rae  <rae@lyx.org>
8448
8449         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8450         updated also?
8451
8452         * text.C (drawInset): Turned out I didn't know enough about how
8453         rebreaking worked.  This fixes most of the redraw problems.  I see
8454         an occasional cursor trail when a line is broken now and the cursor
8455         placement can seem out by a few pixels also after a rebreak.
8456
8457 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8458
8459         * buffer.C (parseSingleLyXformat2Token): update because minipage
8460         width is now a LyXLength
8461
8462         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8463
8464         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8465         math insets
8466
8467 2002-01-17  Juergen Vigna  <jug@sad.it>
8468
8469         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8470
8471         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8472         is set correctly and the inset is updated correctly.
8473
8474 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8475
8476         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8477         the beginning of the loop.
8478
8479 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8480
8481         * lyxrc.C: improve help for use_scalable_fonts
8482
8483 2002-01-17  Allan Rae  <rae@lyx.org>
8484
8485         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8486
8487 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8488
8489         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8490         make sure to set their inset_owner to the right value (bug #171)
8491
8492 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8493
8494         * DepTable.h
8495         * DepTable.C: Implement mtime checking to reduce time spent doing
8496         CRCs.
8497
8498 2002-01-16  Juergen Vigna  <jug@sad.it>
8499
8500         * tabular.C (GetAdditionalHeight): one of error fixed.
8501
8502         * lyxrc.C (output): small fix in writing use_pspell.
8503
8504 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8505
8506         * sp_base.h: #include LString.h
8507
8508 2002-01-16  Allan Rae  <rae@lyx.org>
8509
8510         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8511         Can someone check this please?
8512
8513         * text.C (drawInset): It was possible that p.row would be removed by
8514         breakAgainOneRow upsetting a few other settings.  There may be another
8515         small tweak possible by setting need_break_row = 0 when p.row has been
8516         removed but I don't know enough about the logic here.
8517
8518 2002-01-15  Allan Rae  <rae@lyx.org>
8519
8520         * text.C (insertChar): removed conditional truism.
8521
8522         * BufferView2.C (removeAutoInsets): More tweaks.
8523         cur_par_prev could be a stray pointer.  Check for trailing empty line
8524         in case last line was cur_par and only had an error inset on it.
8525
8526 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8527
8528         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8529         absolute
8530
8531         * vc-backend.C (most methods):
8532         * exporter.C (Export):
8533         * converter.C (convert):
8534         (runLaTeX):
8535         * LyXSendto.C (SendtoApplyCB):
8536         * lyxfunc.C (dispatch):
8537         (menuNew):
8538         (open):
8539         (doImport):
8540         * lyx_cb.C (AutoSave):
8541         (InsertAsciiFile):
8542         * BufferView_pimpl.C (MenuInsertLyXFile):
8543         * buffer.C (runChktex): use Buffer::filePath().
8544
8545         * buffer.h: rename filename to filename_; rename filepath to
8546         filepath_ and make it private
8547         (filePath): new method
8548
8549         * buffer.C (writeFile): use fileName()
8550         (getLatexName):
8551
8552         * lyx_main.C (init): fix starting  of LyX when the binary is a
8553         link from so,ewhere else.
8554
8555         * minibuffer.C: include <cctype> for isprint
8556
8557 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8558
8559         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8560         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8561         name clash with InsetCollapsable's width function.
8562
8563 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8564
8565         * lastfiles.C: include <iterator>
8566
8567 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8568
8569         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8570         std::count.
8571
8572         * buffer.C (makeLaTeXFile): ditto.
8573         Also make loop operation more transparent.
8574
8575 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8576
8577         * ToolbarDefaults.C: remove trailing comma closing namespace.
8578
8579         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8580
8581         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8582         as in WorkArea.
8583
8584         * trans.C (Load): comment out unused variable, allowed.
8585
8586 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8587
8588         * minibuffer.[Ch] (append_char): new method to recieve input from the
8589         drop-down completion browser. If a key was pressed, then recieve this
8590         char and append it to the existing string.
8591         (peek_event): modify the positioning data passed to the completion
8592         browser so that it can be placed above the minibuffer rather than below.
8593 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8594
8595         * LyXAction.C (init): alloe error-next for readonly documents.
8596
8597         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8598         count.
8599
8600 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8601
8602         * bufferlist.C (readFile): create the buffer _after_ checking that
8603         the file exists.
8604
8605         * lyxfunc.C (verboseDispatch): fix handling of arguments
8606
8607         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8608
8609         * lyxrc.C: use string::erase() instead of initializing to "".
8610
8611
8612 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8613
8614         * BufferView_pimpl.h:
8615         * BufferView_pimpl.C:
8616         * WorkArea.h:
8617         * WorkArea.C:
8618         * text2.C: tell X when we have made a selection for copying
8619
8620 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8621
8622         * BufferView_pimpl.C (MenuInsertLyXFile):
8623         * lyxfunc.C (menuNew):
8624         (open):
8625         (doImport): add shortcuts to directory buttons
8626
8627         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8628         open a float)
8629
8630         * lyxfunc.C (setStatusMessage):
8631         (getStatusMessage): new methods
8632         (getStatus):use setStatusMessage instead of setErrorMessage
8633         (dispatch): when function is disabled, set error message here
8634         [instead of in getStatus previously]
8635
8636         * BufferView_pimpl.C (workAreaButtonRelease): update
8637         toolbar/menubar here too.
8638
8639 2002-01-13  Allan Rae  <rae@lyx.org>
8640
8641         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8642         Now seems indestructible.  Remaining task is to audit all other
8643         code affected by deleteEmptyParagraphMechanism.  One small quirk
8644         left is that an empty document with an error in the preamble can
8645         be made to report an error but no error box appears.  I don't know
8646         where it goes.
8647         (removeAutoInsets): Improved comments.
8648
8649 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8650
8651         * Thesaurus.h:
8652         * Thesaurus.C: update for Aiksaurus 0.14
8653
8654 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8655
8656         * text2.C (firstParagraph): removed member function, all uses
8657         replaces with ownerParagraph
8658         (redoParagraphs): here
8659         (updateInset): here
8660         (toggleAppendix): here
8661         * BufferView2.C (insertErrors): here
8662         (setCursorFromRow): here
8663
8664 2002-01-13  Allan Rae  <rae@lyx.org>
8665
8666         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8667         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8668         There is still a way to segfault this although you may have to do this
8669         multiple times: Have an InsetERT with an unknown command in it.
8670         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8671         <down-arrow>, <Enter> again, View->DVI, BANG!
8672
8673         * text2.C (setCursor):
8674         (deleteEmptyParagraphMechanism):
8675         * lyxtext.h (setCursor):
8676         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8677         Making use of the return value may help fix other bugs.
8678
8679 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8680
8681         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8682
8683         * LyXView.C (updateMenubar): call MenuBar::update here
8684         (updateToolbar): but not here
8685         (showState): do not update toolbar/menubar
8686
8687         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8688         should need to care about that.
8689
8690         * lyxfunc.C (verboseDispatch): simplify a bit
8691         (getStatus): have a version which takes a pseudoaction, and
8692         another which requires a (kb_action,string).
8693
8694         * LyXAction.C (retrieveActionArg): make it work also when action
8695         is not a pseudo-action.
8696         (getActionName): simplify a bit
8697         (helpText):
8698
8699 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8700
8701         * lyxfunc.C (verboseDispatch): new families of methods with
8702         several ways to specify a command and a bool to indicate whether
8703         the command name and shortcut should be displayed in minibuffer
8704         (eventually, we could extend that to a finer bitmask like
8705         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8706         (dispatch): the pristine dispatch command which just, well,
8707         dispatchs! Note it still sets its result to minibuffer; I'm not
8708         sure we want that.
8709
8710         * lyxfunc.h: remove setHintMessage
8711
8712         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8713
8714 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8715
8716         * BufferView_pimpl.C (specialChar): delete new inset if we have
8717         not been able to insert it.
8718
8719         * kbmap.C: revert to using int instead of kb_action, since all we
8720         are dealing with is pseudo-actions.
8721
8722         * LyXAction.C (searchActionArg): change to return int instead of
8723         kb_action, since the result is a pseudoaction.
8724
8725 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8726
8727         * buffer.C (insertErtContents): Fix (partially) the font bug.
8728
8729 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8730
8731         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8732         as the other one is broken on my machine!
8733
8734 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8735
8736         * commandtags.h:
8737         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8738
8739 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8740
8741         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8742         reflect their actual use. Provide compatibility code for older lyxrc
8743         files.
8744
8745         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8746         FL_NORMAL_STYLE.
8747         change names of popup font variables in line with the changes to lyxrc.C
8748
8749 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8750
8751         * buffer.C (asciiParagraph): avoid outputing a word twice after
8752         an inset.
8753
8754         * lyxrc.C (getDescription): document that document_path and
8755         template_path can be empty.
8756
8757 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8758
8759         * LaTeXFeatures.C (getMacros):
8760         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8761
8762         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8763
8764         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8765         getPackages.
8766         (getPackages): rename feature "floats" to "float". Use an array to
8767         iterate over 'simple' features (i.e. just a \usepackage). Add
8768         handling of "amsmath" (renamed from "amsstyle").
8769
8770 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8771
8772         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8773         features list.
8774
8775 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8776
8777         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8778         FuncStaus::FuncStatus & FuncStaus::some_method().
8779
8780 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8781
8782         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8783         of the func_satus stuff. Edited and massaged in various ways by
8784         JMarc.
8785
8786         * lyxfunc.C (getStatus): use FuncStatus
8787
8788 2002-01-08  Juergen Vigna  <jug@sad.it>
8789
8790         * text.C (nextBreakPoint): use function Inset::isChar().
8791
8792         * paragraph.C (TeXOnePar): use function
8793         Inset::forceDefaultParagraphs.
8794
8795         * buffer.C (latexParagraphs): use function
8796         Inset::forceDefaultParagraphs.
8797
8798 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8799
8800         * lyx_gui.C (init): set the style of the menu popups to
8801         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8802
8803 2002-01-07  Juergen Vigna  <jug@sad.it>
8804
8805         * text.C (setHeightOfRow): small fix
8806         (prepareToPrint): don't look at alignment if we don't have the place
8807         for doing it.
8808
8809 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8810
8811         * box.C: New file. Move the Box methods and functions out of box.h,
8812         following Lars' suggestion.
8813
8814 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8815
8816         * box.h: #include "support/LOstream.h", needed for inlined function.
8817
8818         * lyxtextclass.C:
8819         * lyxtextclasslist.C: added some using std declarations.
8820
8821 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8822
8823         * box.h: make signed dimensions to allow insets wider than
8824           the screen (bug #162)
8825
8826         * BufferView_pimpl.C: add some insetHit debug
8827
8828 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8829
8830         * vc-backend.C: add FIXME
8831
8832 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8833
8834         * lyxfunc.C (getStatus): enable code for showing math font status
8835         in toolbar/menu.
8836
8837 2002-01-07  Juergen Vigna  <jug@sad.it>
8838
8839         * text.C (nextBreakPoint): removed debug output not needed anymore.
8840
8841 2002-01-06  Juergen Vigna  <jug@sad.it>
8842
8843         * text.C (nextBreakPoint): fixed up this function we had this bug
8844         since ever but now hopefully we break row better.
8845         (insertChar): we have to check if an inset is the next char as it
8846         could now happen that a large inset is causing a break.
8847
8848 2002-01-05  Juergen Vigna  <jug@sad.it>
8849
8850         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8851         if it doesn't like to be drawed.
8852
8853 2002-01-04  Juergen Vigna  <jug@sad.it>
8854
8855         * BufferView2.C (lockInset): forgot to set a cursor.
8856
8857         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8858
8859 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8860
8861         * FormMathsPanel.C:
8862         * FormMathsPanel.h
8863         * MathsSymbols.C:
8864         * form_maths_panel.C:
8865         * form_maths_panel.h:
8866         * form_maths_panel.fd: implemented sub- and super- buttons in math
8867         panel.
8868
8869         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8870         (or ^ space) to be used as in TeX (req'd by André).
8871
8872         * lyxfunc.C: Allow ^ and _ again to be used both as
8873         super/subscript (mathed) and as themselves (in text).
8874
8875 2002-01-03  Allan Rae  <rae@lyx.org>
8876
8877         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8878         "LyX" or the filename of the current buffer if it has one.  This is a
8879         modified form of John Levon's patch.
8880
8881         * XFormsView.C (setWindowTitle): also set icon title.
8882
8883         * LyXView.h (setWindowTitle): signature changed.
8884         * XFormsView.h (setWindowTitle): ditto.
8885
8886 2002-01-02  Juergen Vigna  <jug@sad.it>
8887
8888         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8889
8890 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8891
8892         * screen.C (topCursorVisible): introduce a temp var for
8893         text->cursor.row(), handle the case where this row is null. (kindo
8894         hachish)
8895
8896         * text2.C (setCursor): add a couple of asserts.
8897
8898         * paragraph.h (inset_iterator): add -> operator
8899
8900         * paragraph.[Ch] (autoDeleteInsets): remove member function
8901
8902         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8903         cursor pos correctly and handle inset deletion by itself.
8904         (insertErrors): move iterator declaration out of for expression
8905
8906         * lyxtextclass.C: add <algorithm>
8907
8908         * Makefile.am: added the new files to sources, removed layout.C
8909
8910         * layout.C: removed file
8911
8912         * layout.h: remove LYX_DUMMY_LAYOUT
8913
8914         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8915         layout.
8916
8917         * lyxlayout.[Ch]:
8918         * lyxtextclass.[Ch]:
8919         * lyxtextclasslist.[Ch]: new files
8920
8921         * include order changes to a lot of files, also changes because of
8922         the six new files.
8923
8924 2001-12-27  Juergen Vigna  <jug@sad.it>
8925
8926         * buffer.C (asciiParagraph): more fixes.
8927
8928         * tabular.C (ascii): make ascii export support export of only the
8929         data separated by a column-delimiter.
8930         (ascii): better support for ascii export.
8931
8932         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8933
8934 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8935
8936         * tabular_funcs.C: use a "using std::getline" instead of the
8937         previous fix from Angus (necessary for cxx + lyxstring)
8938
8939 2001-12-24  Juergen Vigna  <jug@sad.it>
8940
8941         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8942
8943         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8944         problems. First check a minipage also if we have some ert-contents
8945         (not only on par->size(), second set the right depth of the paragraph
8946         on the relink to the root-paragraph-list!
8947
8948         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8949         which then did not anymore update the main paragraphs on undo/redo!
8950
8951 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8952
8953         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8954         code. Support all font-changing funcs (even those which are not in
8955         menu currently). Support for reporting font settings in
8956         mathed (disabled until Andre provides a function on mathed's side).
8957
8958         * func_status.h (toggle): small helper function to set toggle
8959         state on a flag.
8960
8961 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8962
8963         * tabular_funcs.C: getline -> std::getline
8964
8965 2001-12-21  Juergen Vigna  <jug@sad.it>
8966
8967         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8968         accessed and could be 0 (I couldn't generate this but it seems
8969         Michael could!).
8970
8971 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8972
8973         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8974         * tabular_funcs.h: here and include iosfwd
8975
8976 2001-12-20  Juergen Vigna  <jug@sad.it>
8977
8978         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8979         inside inset but undo_par was.
8980
8981 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8982
8983         * Thesaurus.C: always include <config.h> in sources.
8984
8985         * Painter.h:
8986         * lyxlookup.h:
8987         * box.h: do not include <config.h> in header files
8988
8989         * text.C (paintLastRow): remove unused variable
8990
8991         * text.C (transformChar):
8992         (insertChar):
8993         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8994
8995         * Painter.C (text):
8996         * font.C (width): rewrite to use uppercase() instead of
8997         islower/toupper.
8998
8999         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9000
9001 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9002
9003         * lyxfind.C: clean up of find failure position change
9004
9005 2001-12-20  Juergen Vigna  <jug@sad.it>
9006
9007         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9008
9009         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9010         (TeXRow): added to LaTeX a single tabular row.
9011         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9012         (Latex): simplified and finally good LT-h/f support.
9013         (various_functions): just small adaptions for LT-h/f support.
9014
9015         * tabular_funcs.[hC]: added and moved here all not classfunctions
9016         of LyXTabular.
9017
9018 2001-12-19  Juergen Vigna  <jug@sad.it>
9019
9020         * tabular.[Ch]: better support for longtabular options (not finished
9021         yet!)
9022
9023 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9024
9025         * text.C (paintLastRow): use the label font instead of the font of
9026         the last character to compute the size of *_BOX. This makes more
9027         sense and avoids a crash with empty paragraphs.
9028         Use Painter::rectangle to draw EMPTY_BOX.
9029
9030 2001-12-19  Juergen Vigna  <jug@sad.it>
9031
9032         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9033         the paragraphs if the replaced paragraph is not the first one!
9034         Tried to delete not used paragraphs but does not work yet so for
9035         now it's inside #ifdef's and by default off!
9036
9037 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9038
9039         * MenuBackend.C: include "lyx_main.h" instead of declaring
9040         lastfiles (actually was declared as LastFiles* instead of a
9041         scoped_ptr).
9042
9043 2001-12-17  Juergen Vigna  <jug@sad.it>
9044
9045         * tabular.C (AppendColumn): applied John's fix
9046
9047 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9048
9049         * BufferView.h:
9050         * BufferView.C:
9051         * BufferView_pimpl.h:
9052         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9053
9054         * Makefile.am:
9055         * box.h: new start of class for above
9056
9057         * lyxfunc.C: ignore space-only minibuffer dispatches.
9058           Show the command name when it doesn't exist
9059
9060         * minibuffer.C: don't add empty lines to the history
9061
9062         * minibuffer.C: add a space on dropdown completion
9063
9064 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9065
9066         * text.C: fix line above/below drawing in insets
9067
9068 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9069
9070         * lyxlength.C (LyXLength): Initialize private variables.
9071
9072 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9073
9074         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9075         when inserting error insets.
9076
9077 2001-12-13  Juergen Vigna  <jug@sad.it>
9078
9079         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9080         actually sometimes the before-paragraph.
9081         (setUndo): don't clear the redostack if we're not actually undoing!
9082
9083 2001-12-06  Juergen Vigna  <jug@sad.it>
9084
9085         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9086         and fixed redoing of main paragraph, so we can use it now ;)
9087
9088         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9089
9090 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9091
9092         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9093         Juergen's request
9094
9095 2001-12-13  André Pönitz <poenitz@gmx.net>
9096
9097         * undostack.[Ch]:
9098         * undo_func.C: minor cleanup
9099
9100 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9101
9102         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9103         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9104         font in urw-fonts package which is marked as -urw-fontspecific and
9105         does not work (incidentally, changing the encoding in the
9106         fonts.dir of this package to -adobe-fontspecific fixes the
9107         problem).
9108
9109         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9110         is a crash when undoing first paragraph (Juergen, please take a
9111         look). THis does not mean the undo fix is wrong, just that it
9112         uncovers problems.
9113
9114         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9115         the (Paragraph*) version when needed instead of duplicating the
9116         code.
9117
9118         * text.C (workWidth): use Inset::parOwner to find out where the
9119         inset has been inserted. This is a huge performance gain for large
9120         documents with lots of insets. If Inset::parOwner is not set, fall
9121         back on the brute force method
9122
9123         * paragraph_pimpl.C (insertInset):
9124         * paragraph.C (Paragraph):
9125         (cutIntoMinibuffer): set parOwner of insets when
9126         inserting/removing them
9127
9128         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9129
9130 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9131
9132         * commandtags.h:
9133         * LyXAction.C:
9134         * lyx_main.C:
9135         * lyxfunc.C:
9136         * mathed/formulabase.C:
9137         * mathed/math_cursor.[Ch]:
9138         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9139
9140
9141 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9142
9143         * lyxlength.[Ch] (operator!=): new function
9144
9145 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9146
9147         * text.C (workWidth): use Inset::parOwner to find out where the
9148         inset has been inserted. This is a huge performance gain for large
9149         documents with lots of insets. If Inset::parOwner is not set, fall
9150         back on the brute force method
9151
9152         * paragraph_pimpl.C (insertInset):
9153         * paragraph.C (Paragraph):
9154         (cutIntoMinibuffer): set parOwner of insets when
9155         inserting/removing them
9156
9157         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9158
9159 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9160
9161         * tabular-old.C (getTokenValue):
9162         * tabular.C (getTokenValue):
9163         (write_attribute): new versions for LyXLength
9164         (everywhere): adjust the use of widths
9165
9166         * tabular.h: change the type of widths from string to LyXLength
9167
9168 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9169
9170         * paragraph.C: fixed missing line number count when exporting
9171         Environments to LaTeX file
9172
9173         * buffer.C: added informational message for checking line numbers.
9174
9175 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9176
9177         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9178         paragraph, do the 'double space' part, but not the 'empty
9179         paragraph' one.
9180
9181         * text.C (workWidth): small optimization
9182         (getLengthMarkerHeight): use minimal size for negative lengths.
9183
9184 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9185
9186         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9187
9188         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9189
9190 2001-12-11  André Pönitz <poenitz@gmx.net>
9191
9192         * FontLoader.C:
9193         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9194
9195 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9196
9197         * text2.C: keep selection on a setFont()
9198
9199 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9200
9201         * lyx_cb.C: another bv->text misuse, from insert label
9202
9203 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9204
9205         * kbsequence.h:
9206         * kbsequence.C: re-instate nmodifier mask
9207
9208 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9209
9210         * lyx_main.h: make lyxGUI private.
9211
9212 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9213
9214         * lyxfind.C: place the cursor correctly on failed search
9215
9216 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9217
9218         * text.C (getLengthMarkerHeight): for small heights, the arrows
9219         are not always on top/bottom of the text
9220         (drawLengthMarker): smaller arrows; take the left margin in
9221         account; draw also vfills.
9222         (paintFirstRow):
9223         (paintLastRow): remove special code for vfill and standard spaces,
9224         since everything is handled in drawLengthMarker now.
9225
9226 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9227
9228         * buffer.C (insertErtContents): try to handle font and language
9229         interaction a bit better.g
9230
9231         * ColorHandler.C (updateColor): change the hash to cover the whole
9232         LColor enum, ws cleanup
9233         (getGCLinepars): ditto
9234         (getGCLinepars): only lookup in the linecache once.
9235
9236 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9237
9238         * iterators.C (operator++): Make the iterator more robust
9239
9240         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9241         (John's patch)
9242         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9243
9244 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9245
9246         * lyxtext.h:
9247         * text.C: better added space drawing
9248
9249 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9250
9251         * LyXView.C:
9252         * BufferView2.C: fix layout combo update on inset unlock
9253
9254 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * Makefile.am: don't compile unused files
9257
9258 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9259
9260         * lyxfunc.C:
9261         * commandtags.h:
9262         * LyXAction.C: remove old LFUN_LAYOUTNO
9263
9264 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9265
9266         * paragraph_pimpl.h:
9267         * paragraph_pimpl.C: isTextAt() doesn't need font param
9268
9269 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9270
9271         * lyxlex.h:
9272         * lyxlex.C: little cleanup
9273
9274 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9275
9276         * BufferView_pimpl.C: fix insertAscii for insets
9277
9278 2001-12-05  Juergen Vigna  <jug@sad.it>
9279
9280         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9281         set the right font on the "multi" paragraph paste!
9282
9283 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9284
9285         * trans_decl.h:
9286         * trans_mgr.[Ch]:
9287         * trans.[Ch]:
9288         * lyxgluelength.C:
9289         * lyxlength.C: remove out-commented code.
9290
9291         * BufferView_pimpl:
9292         * CutAndPaste.C:
9293         * DepTable.C:
9294         * buffer.C:
9295         * chset.C:
9296         * lastfiles.C:
9297         * lyxlex.C:
9298         * lyxlex_pimpl.C:
9299         * lyxserver.C:
9300         * screen.C:
9301         * tabular-old.C:
9302         * tabular.C:
9303         * text.C:
9304         * trans_mgr.C:
9305         * vc-backend.C: change "while(" to "while ("
9306
9307         * lyxlength.[Ch]: add zero function to check if length is zero or
9308         not
9309         * lyxgluelength.C: use it
9310
9311 2001-12-05  Allan Rae  <rae@lyx.org>
9312
9313         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9314         Works for 2.95.3, from what I understand of Garst's reports this should
9315         work for other g++ versions.  We're screwed if the abs(int) definition
9316         changed between bugfix releases of gcc.
9317
9318 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9319
9320         * text.C: fix chapter label offset !
9321
9322 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9323
9324         * lyxtext.h:
9325         * text.C: fix hfill at end of line, clean up
9326
9327 2001-12-04  Juergen Vigna  <jug@sad.it>
9328
9329         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9330         that we force an update of the inset and it's owners if neccessary.
9331
9332 2001-12-03  Juergen Vigna  <jug@sad.it>
9333
9334         * text.C (rowLast): simplified code
9335
9336 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9337
9338         * lyxfunc.C: fix show options on timeout
9339
9340 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9341
9342         * screen.C (topCursorVisible): scroll half a page when the cursor
9343         reached top of bottom of screen
9344
9345 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9346
9347         * minibuffer.C: deactivate on loss of focus
9348
9349 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9350
9351         * vspace.[Ch] (operator!=): add operator.
9352
9353 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9354
9355         * BufferView_pimpl.C: refuse to open an inset when
9356         there's a selection.
9357
9358 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9359
9360         * BufferView_pimpl.C: allow to click on RHS of full row insets
9361
9362 2001-11-30  Juergen Vigna  <jug@sad.it>
9363
9364         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9365         insets for undo reasons.
9366
9367 2001-11-28  André Pönitz <poenitz@gmx.net>
9368
9369         * vspace.[Ch]: cosmetical changes
9370
9371 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9372
9373         * LyXAction.h:
9374         * LyXAction.C:
9375         * lyxfunc.h:
9376         * lyxfunc.C:
9377         * kbmap.h:
9378         * kbmap.C:
9379         * lyxrc.C:
9380         * kbsequence.h:
9381         * kbsequence.C: part re-write of old kb code
9382
9383         * Painter.C:
9384         * WorkArea.C: remove Lgb_bug_find_hack
9385
9386 2001-11-30  José Matos <jamatos@fep.up.pt>
9387
9388         * buffer.C (makeDocBookFile): add a comment to point a hack.
9389         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9390         Fixed a double write of labels.
9391
9392 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9393
9394         * LaTeX.C:
9395         * LaTeX.h Fixed bug in LaTeX class where it would not
9396         re-run latex if no depfiles were changed, but the .dvi was removed.
9397
9398 2001-11-28  André Pönitz <poenitz@gmx.net>
9399
9400         * all the files from the change on 2001/11/26:
9401         use lyx::layout_type instead of LyXTextClass::size_type
9402         use lyx::textclass_type instead of LyXTextClassList::size_type
9403
9404 2001-11-29  Juergen Vigna  <jug@sad.it>
9405
9406         * text.C: added support for paragraph::isFreeSpacing()
9407
9408         * buffer.C: same as above
9409
9410         * paragraph.h: inserted isFreeSpacing() function to enable
9411         FreeSpacing inside InsetERT.
9412
9413         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9414         of the paragraph's in the cut/copy buffer to 0!
9415
9416         * text2.C (removeRow): remove the assert as it can!
9417
9418         * lyxtext.h: added helper function firstRow returning firstrow and
9419         made firstrow private again.
9420
9421         * BufferView2.C (lockInset): don't relock if we're already locked!
9422
9423         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9424         the only paragraph.
9425         (removeRow): added Assert::(firstrow)
9426
9427         * debug.C: forgot to add INSETTEXT here.
9428
9429 2001-11-28  Juergen Vigna  <jug@sad.it>
9430
9431         * sp_spell.C (initialize): changed error text to more general
9432         spellchecker command use (not only ispell!)
9433
9434         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9435
9436         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9437
9438 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9439
9440         * vspace.C: initialise lyxgluelength on failure
9441
9442 2001-11-28  Allan Rae  <rae@lyx.org>
9443
9444         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9445         declaration & definition that looks like a function declaration.
9446
9447 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9448
9449         * BufferView2.C (copy):
9450         (copyEnvironment): do not clear the selection when doing a copy.
9451
9452         * text.C (paintFirstRow): compilation fix
9453
9454 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9455
9456         * tabular.C (Latex): correct line count when writing latex.
9457
9458 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9459
9460         * paragraph_pimpl.h:
9461         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9462           bug a bit
9463
9464 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9465
9466         * text.C:
9467         * LColor.h:
9468         * LColor.C: change vfillline->added_space
9469
9470         * text.C: add markers and text for added space
9471
9472         * vspace.C: fix comment
9473
9474 2001-11-28  André Pönitz <poenitz@gmx.net>
9475
9476         * paragraph.C: whitespace changes
9477         * all the other files from the change on 2001/11/26:
9478         change *::pos_type into lyx::pos_type
9479
9480 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9481
9482         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9483         language of the document when inserting error insets.
9484
9485 2001-11-26  André Pönitz <poenitz@gmx.net>
9486
9487         * BufferView_pimpl.[Ch]:
9488         *       CutAndPaste.C:
9489         * buffer.[Ch]:
9490         * lyxcursor.[Ch]:
9491         * lyxfind.C:
9492         * lyxfunc.C:
9493         * lyxrow.[Ch]:
9494         * paragraph.[Ch]:
9495         * paragraph_pimpl.[Ch]:
9496         * sp_spell.C:
9497         * text.C:
9498         * text2.C: reduce header dependencies, introduce type for positions
9499
9500 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9501
9502         * <various>: change to use Alert.h
9503
9504 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9505
9506         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9507         when encountering an unknown token.
9508         (readLyXformat2): Show an error message if there were unknown tokens.
9509
9510 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9511
9512         * BufferView2.C:
9513         * BufferView_pimpl.C:
9514         * buffer.C:
9515         * paragraph.h:
9516         * text.C:
9517         * text2.C: use par->isInset()
9518
9519 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9520
9521         * paragraph_pimpl.h:
9522         * paragraph_pimpl.C: cleanup
9523
9524 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9525
9526         * text2.C (removeRow):
9527         * text.C (setHeightOfRow): remove useless (and costly) call to
9528         getRow.
9529
9530 2001-11-20  Allan Rae  <rae@lyx.org>
9531
9532         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9533         Now need Inset*::checkInsertChar() to return true for appropriate
9534         cases so that the characters in the minibuffer will actually be
9535         inserted.
9536
9537 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9538
9539         * text.C: change the order of the includes.
9540         (workWidth): initialize it at once.
9541         (workWidth): make maxw unsigned
9542         (setHeightOfRow): remove unused variable (inset)
9543         (selectSelectedWord): remove unused variable (inset)
9544         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9545
9546 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9547
9548         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9549         server is not running.
9550         (openConnection):
9551         (closeConnection): add debug info when server is disabled.
9552
9553         * ColorHandler.C (getGCForeground): send debug message to GUI
9554         channel.
9555
9556         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9557
9558         * kbmap.C (bind): modify because return conventions of
9559         kb_sequence::parse have changed.
9560
9561         * kbsequence.C (parse): only ignore spaces and not any stupid
9562         control character. This avoids tests like s[i] <= ' ', which are
9563         guaranteed to fail with 8bit characters and signed chars.
9564         Change return code to string::npos when there have been no error
9565         (0 was a bad idea when error is at first character)
9566
9567 2001-11-14  José Matos  <jamatos@fep.up.pt>
9568
9569         * buffer.h:
9570         * buffer.C (simpleDocBookOnePar): removed unused argument.
9571
9572 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9573
9574         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9575         insets which are part of a word. Paragraph::isLetter takes care of
9576         that now. Use Paragraph::isInset to identify insets.
9577         (selectSelectedWord): do not test for hyphenation break.
9578
9579         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9580         that protected spaces are considered as spaces.
9581
9582         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9583         Inset::isLetter.
9584
9585 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9586
9587         * lyxserver.h:
9588         * lyxserver.C: fix it. and small cleanup.
9589
9590 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9591
9592         * BufferView_pimpl.C: use inline helpers
9593
9594         * LaTeXFeatures.h:
9595         * LaTeXFeatures.C: fix typos
9596
9597         * Spacing.h:
9598         * Spacing.C: move spacing_string into class
9599
9600         * ToolbarDefaults.C: move stuff into namespace anon
9601
9602         * layout.h: update enum
9603
9604         * lyxfunc.C: use better debug
9605
9606         * minibuffer.h: fix typo
9607
9608         * debug.h:
9609         * debug.C:
9610         * WorkArea.C: add and use Debug::WORKAREA
9611
9612         * lyxtext.h:
9613         * text.C:
9614         * text2.C: code re-organisation, inline helpers
9615
9616 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9617
9618         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9619         std::vector.empty().
9620
9621 2001-11-09  Allan Rae  <rae@lyx.org>
9622
9623         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9624         '\n's after tables.  Tabular and ERT inset work now makes this no
9625         longer necessary.
9626
9627 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9628
9629         * minibuffer.h:
9630         * minibuffer.C: fix crash, improve drop-down completion
9631
9632 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9633
9634         * lyxserver.h:
9635         * lyxserver.C: invalidate fd's when doing endPipe()
9636
9637 2001-11-08  José Matos  <jamatos@fep.up.pt>
9638
9639         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9640         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9641
9642         * paragraph.h:
9643         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9644
9645 2001-11-07  José Matos  <jamatos@fep.up.pt>
9646
9647         * buffer.h:
9648         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9649         const qualifier.
9650
9651         * buffer.C (sgmlOpenTag):
9652         * buffer.C (sgmlCloseTag): removed debug info.
9653
9654         * buffer.h (sgmlOpenTag):
9655         * buffer.h (sgmlCloseTag): made public.
9656
9657 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9658
9659         * buffer.C (saveParamsAsDefaults):
9660         * lyx_cb.C (MenuLayoutSave): remove
9661
9662         * LyXAction.C (init):
9663         * commandtags.h:
9664         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9665
9666 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9667
9668         * buffer.C (setPaperStuff): removed from here...
9669
9670         * bufferparams.C (setPaperStuff): ... and moved there.
9671
9672 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9673
9674         * minibuffer.h:
9675         * minibuffer.C:
9676         * XFormsView.C: add support for drop-down completion
9677
9678 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9679
9680         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9681         commands.
9682
9683 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9684
9685         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9686         disabled.
9687
9688 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9689
9690         * lyx_main.C: change ref to known bugs
9691
9692 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9693
9694         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9695         to work around older babel problems.
9696
9697 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9698
9699         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9700
9701 2001-10-24  Juergen Vigna  <jug@sad.it>
9702
9703         * tabular-old.C (ReadOld): below variable changes reflected.
9704
9705         * tabular.[Ch]: added ltType struct for longtable header/footer
9706         defines and changed all instances where they are used. Added
9707         future support for double top/bottom rows.
9708
9709 2001-10-24  José Matos  <jamatos@fep.up.pt>
9710
9711         * buffer.h (docbookHandleCaption):
9712         * buffer.C (docbookHandleCaption): removed unused function.
9713         (makeDocBookFile): moved docbook supported version to v4.1.
9714
9715 2001-10-24  José Matos  <jamatos@fep.up.pt>
9716
9717         * tabular.h:
9718         * tabular.C (docbookRow): new function to export docbook code of a row.
9719         (DocBook): now honors the longtable flags.
9720
9721 2001-10-23  José Matos  <jamatos@fep.up.pt>
9722
9723         * LaTeXFeatures.h:
9724         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9725         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9726
9727         * buffer.C (makeLinuxDocFile):
9728         (makeDocBookFile): reworked the preamble, more clean, and with
9729         support for lyx defined entities. Changed the document declaration
9730         to be more XML friendly.
9731
9732         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9733         if we need to output XML that should be done with a filter.
9734
9735 2001-10-22  Juergen Vigna  <jug@sad.it>
9736
9737         * sp_pspell.h (class PSpell): add alive function needed in the
9738         controller to see if the spellchecker could be started.
9739
9740 2001-10-22  Juergen Vigna  <jug@sad.it>
9741
9742         * buffer.C (insertStringAsLines): modify the font for inserting
9743         chars in certain conditions by calling checkInsertChar(font).
9744
9745 2001-10-19  Juergen Vigna  <jug@sad.it>
9746
9747         * text.C (workWidth): use getRow instead of wrong algorithm.
9748         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9749
9750 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9751
9752         * lyxserver.h:
9753         * lyxserver.C:
9754         * lyx_main.h:
9755         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9756
9757 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9758
9759         * text.C (workWidth): do not search for the exact row when
9760         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9761         optimization for big documents.
9762
9763 2001-10-18  Juergen Vigna  <jug@sad.it>
9764
9765         * text.C (workWidth): new function with added Inset * parameter.
9766
9767 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9768
9769         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9770
9771         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9772         change return type of getColumnNearX.
9773
9774
9775         * text.C (changeRegionCase): use uppercase/lowercase instead of
9776         toupper/tolower.
9777         (leftMargin):
9778         (rightMargin): simplify code by factoring out the uses of
9779         textclasslist.
9780         (labelFill):
9781         (numberOfHfills):
9782         (setHeightOfRow):
9783         (appendParagraph): use Paragraph::size_type
9784
9785 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9786
9787         * vspace.C (asLatexString): add a missing break
9788
9789 2001-10-15  Herbert Voss  <voss@perce.de>
9790
9791         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9792
9793 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9794
9795         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9796         is not available.
9797
9798 2001-10-10  André Pönitz <poenitz@gmx.net>
9799
9800         * lyxfunc.C: removed greek_kb_flag.
9801
9802 2001-10-10  Herbert Voss  <voss@perce.de>
9803
9804         * lyx_main.C: delete global string help_lyxdir.
9805
9806 2001-10-09  Herbert Voss  <voss@perce.de>
9807
9808         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9809
9810         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9811
9812         * lyx_main.C: added global string help_lyxdir.
9813
9814         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9815
9816 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9817
9818         * lyxrc.C (set_font_norm_type): support iso8859-4
9819
9820 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9821
9822         * LaTeX.C (deplog): add another regex for MikTeX
9823
9824 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9825
9826         * lyxrc.C (set_font_norm_type): support iso8859-3
9827
9828 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9829
9830         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9831
9832         * LaTeXFeatures.C: remove special case of french and index
9833
9834         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9835         before \begin{document}). This solves several incompatibilities.
9836
9837 2001-10-03  Garst Reese  <reese@isn.net>
9838
9839         * lyx_cb.C: change CheckTex error msg.
9840
9841 2001-10-03  José Matos  <jamatos@fep.up.pt>
9842
9843         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9844
9845 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9846
9847         * .cvsignore: update
9848
9849         * lyx_main.C (commandLineVersionInfo): use new style version info.
9850
9851         * buffer.C (writeFile):
9852         (makeLaTeXFile):
9853         (makeLinuxDocFile):
9854         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9855
9856         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9857
9858         * version.h: update to use stuff in version.C
9859
9860         * version.C.in: new file. Contains version information determined
9861         at compile time. This is a merging of version.h and
9862         version_info.h.in.
9863
9864 2001-10-03  Juergen Vigna  <jug@sad.it>
9865
9866         * BufferView_pimpl.C (update): don't change "dirty" status in
9867         updateInset call.
9868
9869 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9870
9871         * WorkArea.C (c-tor): re-position version string slightly.
9872
9873 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9874
9875         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9876         revert to previous code.
9877
9878         WorkArea.[Ch]: (show, destroySplash): methods removed.
9879
9880         WorkArea.C: rework code so that it's an amalgam of the codes before and
9881         after the splash screen was moved to WorkArea.
9882
9883 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9884
9885         * lyxrc.C (read):
9886         * vspace.C (inPixels):
9887         (lyx_advance):
9888         * kbmap.C (bind):
9889         * buffer.C (insertStringAsLines):
9890         (asciiParagraph): fix types to be large enough
9891
9892         * lyxlex_pimpl.h: change member status from short to int
9893
9894         * layout.h: fix type of endlabeltype
9895
9896         * kbmap.C (bind):
9897         * kbsequence.C (parse): change return type to string::size_type
9898
9899         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9900         variable
9901
9902         * Bullet.C (bulletSize):
9903         (bulletEntry): do not use short ints as parameters
9904
9905         * BufferView2.C (insertLyXFile): change a char to an int.
9906
9907         * WorkArea.C (WorkArea): remove unneeded floats in computation
9908
9909 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9910
9911         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9912
9913         * paragraph.C (asString): Do not ignore newline/hfill chars when
9914         copying to the clipboard.
9915
9916 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9917
9918         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9919         after a multi-line inset.
9920
9921 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9922
9923         * paragraph.C (validate): Set NeedLyXFootnoteCode
9924
9925 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9926
9927         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9928         and decrease-error to decrease.
9929
9930 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9931
9932         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9933         it more readable (should be equivalent)
9934
9935 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9936
9937         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9938
9939 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9940
9941         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9942         of a cursor (row, etc.) after a character has been deleted
9943         (deleteEmptyParagraphMechanism): call the method above on _all_
9944         cursors held by the LyXText when a double space has been
9945         detected/deleted.
9946
9947 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9948
9949         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9950         pixmap.
9951         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9952
9953         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9954         background. Use greyOut() and the new show() methods to toggle between
9955         the foreground and background. Add code to remove the splash after
9956         its initial showing.
9957
9958         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9959         (create_forms): no longer call Dialogs::showSplash.
9960
9961 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9962
9963         * .cvsignore: add version_info.h
9964
9965 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9966
9967         * version_info.h.in: new file
9968
9969         * Makefile.am: add version_info.h.in
9970
9971         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9972         version_info.h instead of VERSION_INFO
9973
9974 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9975
9976         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9977         The ERT inset now returns string().
9978
9979 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9980
9981         * lyxtext.h, text.C (selectNextWord): renamed as
9982         selectNextWordToSpellcheck.
9983
9984         * text.C (selectNextWordToSpellcheck): Modified to not select
9985         words inside an ERT inset.
9986
9987 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9988
9989         * lyx_cb.C (MenuLayoutSave): change a bit the question
9990
9991         * sp_base.h: include <sys/types.h>
9992
9993 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9994
9995         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9996
9997 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9998
9999         * several files: fix typos in user-visible strings
10000
10001 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10002
10003         * text2.C (pasteSelection): do not set the selection, since it
10004         will be cleared later. Actually, the intent was to fix the way the
10005         selection was set, but I figured rmoving the code was just as good.
10006
10007 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10008
10009         * FontLoader.C (available): Check if font is available without
10010         loading the font.
10011
10012 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10013
10014         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10015
10016 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10017
10018         * lyxrc.[Ch]: added display_graphics variable and associated code.
10019
10020 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10021
10022         * bufferparams.C (hasClassDefaults): new method. Returns true if
10023         the buffer parameters correspond to known class defaults
10024
10025 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10026
10027         * XFormsView.C (show): set minimum size to the main window.
10028
10029 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10030
10031         * text2.C (copySelection):
10032         (cutSelection):
10033         * lyxfind.C (LyXReplace):
10034         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10035         LyXText::selectionAsString.
10036
10037         * paragraph.C (asString): add "label" argument to the second form
10038
10039         * text2.C (selectionAsString): add "label" argument and pass it to
10040         Paragraph::asString.
10041
10042 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10043
10044         * lyx_main.C (commandLineHelp): remove version information
10045
10046 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10047
10048         * lyx_main.C: add -version commandline option
10049
10050 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10051
10052         * paragraph.h: make the optional constructor arg required instead.
10053         some modifications to other files because of this.
10054
10055         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10056
10057         * lyxserver.C (C_LyXComm_callback): make it static
10058
10059         * lyx_main.C (error_handler): make it static
10060
10061         * lyx_gui.C (LyX_XErrHandler): make it static
10062
10063         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10064
10065         * WorkArea.C: make the extern "C" methods static.
10066
10067         * Makefile.am (lyx_LDADD): simplify
10068
10069 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10070
10071         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10072         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10073
10074         * LyXAction.C (init):
10075         * lyxfunc.C (dispatch): associated code removal.
10076
10077 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10078
10079         * lyxfont.h (isSymbolFont): shut off warning
10080
10081         * text.C (setHeightOfRow):
10082         (getVisibleRow): fix crash with empty paragraphs which have a
10083         bottom line
10084
10085 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10086
10087         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10088         code.
10089
10090 2001-09-04  José Matos  <jamatos@fep.up.pt>
10091         * buffer.C
10092         * buffer.h
10093         * tabular.C (docbook): rename docBook method to docbook.
10094
10095 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10096
10097         * Makefile.am: add dependencies to main.o.
10098
10099 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10100
10101         * FontLoader.C (available): Return false if !lyxrc.use_gui
10102
10103 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10104
10105         * FontInfo.C (query):
10106         * converter.C (view):
10107         * importer.C (Import):
10108         * exporter.C (Export): Can not -> cannot.
10109
10110 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10111
10112         * BufferView_pimpl.C: allow to create index inset even if
10113           string is empty
10114
10115 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10116
10117         * buffer.C (getLists): replace boost::tie code with an explicit pair
10118         as boost::tie can break some compilers.
10119
10120         * iterators.h: Added a std:: declaration to the return type of
10121         ParIterator::size.
10122
10123 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10124
10125         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10126           case.
10127
10128 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10129
10130         * iterators.[Ch]: New files. Provide paragraph iterators.
10131
10132         * buffer.C (changeLanguage): Use paragraph iterators.
10133         (isMultiLingual): ditto
10134
10135         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10136
10137 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10138
10139         * FontLoader.C: Support for cmr font.
10140
10141 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10142
10143         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10144         (available): New method.
10145
10146         * FontInfo.C (getFontname): Use scalable fonts even when
10147         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10148         found.
10149
10150 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10151
10152         * converter.C (Formats::view): reverted! Incorrect fix.
10153
10154 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10155
10156         * converter.C (Formats::view): only output the -paper option
10157         if the dvi viewer is xdvi, thereby fixing bug #233429.
10158
10159 2001-08-23  Herbert Voss  <voss@perce>
10160
10161         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10162
10163 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10164
10165         * Spacing.h (Spacing): Set space to Default on in the default
10166         constructor.
10167
10168 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10169
10170         * vc-backend.h (RCS::versionString): add RCS to version
10171         (CVS::versionString): add CVS to version
10172
10173         * vc-backend.C (scanMaster): do not add CVS to version.
10174         (scanMaster): do not add RCS to version
10175
10176         * lyxvc.C (versionString): new method
10177
10178         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10179
10180 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10181
10182         * Spacing.C (set): initialize fval
10183
10184 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10185
10186         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10187         " or \.
10188
10189 2001-08-16  Juergen Vigna  <jug@sad.it>
10190
10191         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10192
10193 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * BufferView_pimpl.C:
10196         * figureForm.C:
10197         * lyxtext.h:
10198         * text2.C: setParagraph takes linespacing now
10199
10200 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * LyxAction.C: add internal LFUN_CITATION_INSERT
10203
10204         * LyXView.C: actually apply fix
10205
10206         * bufferlist.C: fix open non-existent file
10207
10208         * lyxfind.C: fix indentation
10209
10210         * lyxfunc.C: remove unneeded assert, fix typo
10211
10212 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10213
10214         * MenuBackend.C: use "Floatname List"
10215
10216 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10217
10218         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10219         when converting LaTeX layout to insetERT.
10220         Generate a non-collapsed float when reading old float
10221
10222 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10223
10224         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10225         ERT insets.
10226
10227 2001-08-13  Juergen Vigna  <jug@sad.it>
10228
10229         * text.C (fill): return 0 instead of 20 as this seems to be the more
10230         correct value.
10231
10232 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10233
10234         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10235         lyxrc.font_norm.
10236
10237 2001-08-13  Juergen Vigna  <jug@sad.it>
10238
10239         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10240         casesensitive off.
10241         (SearchBackward): comment out the unlocking of the inset_owner this
10242         should not be needed!
10243
10244 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10245
10246         * Many files: Remove inherit_language, and add latex_language
10247
10248         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10249         collapsible insets.
10250
10251 2001-08-10  Juergen Vigna  <jug@sad.it>
10252
10253         * text.C (prepareToPrint): fixed hfill-width in draw!
10254
10255         * BufferView2.C (selectLastWord): save the selection cursor as this
10256         now is cleared in the function LyXText::clearSelection!
10257
10258 2001-08-08  Juergen Vigna  <jug@sad.it>
10259
10260         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10261         BACKSPACE type functions.
10262
10263         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10264         is only cutted from the document but not put in the cut-buffer, where
10265         still the old stuff should be.
10266
10267         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10268
10269         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10270
10271         * tabular.C (SetWidthOfCell): fixed special case where the width
10272         was not updated!
10273         (LeftLine): handle '|' in align_special.
10274         (RightLine): ditto
10275         (LeftAlreadyDrawed): ditto
10276         (SetWidthOfCell): ditto
10277
10278 2001-08-07  Juergen Vigna  <jug@sad.it>
10279
10280         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10281
10282 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10283
10284         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10285         * lyxlex.[hC]: ditto
10286
10287 2001-08-06  Juergen Vigna  <jug@sad.it>
10288
10289         * text.C (getVisibleRow): fix up row clearing a bit.
10290
10291 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10292
10293         * minibuffer.C: make sure the X server sees the changes in the input.
10294
10295 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10296
10297         * paragraph.C (getFont): split into...
10298         (getLabelFont): this
10299         (getLayoutFont): and this
10300         * paragraph_pimpl.C (realizeFont): calling this
10301
10302         * text2.C (getFont): split into...
10303         (getLayoutFont): this
10304         (getLabelFont): and this
10305         (realizeFont): all three calling this
10306
10307         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10308         files where used.
10309
10310 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10311
10312         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10313
10314 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10315
10316         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10317         layouts from the Quote inset insertion.
10318
10319 2001-08-03  Juergen Vigna  <jug@sad.it>
10320
10321         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10322
10323         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10324         only if status not is already CHANGED_IN_DRAW (second level).
10325
10326         * text.C (draw): don't set the need_break_row when inside an
10327         InsetText LyXText.
10328
10329 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10330
10331         * buffer.C (parseSingleLyXformat2Token): handle more latex
10332         conversion cases.
10333
10334         * bufferview_funcs.[hC]: change function names to
10335         begin with small char, adjust other files.
10336
10337 2001-08-02  André Pönitz <poenitz@gmx.net>
10338
10339         * lyxfunc.C:
10340         BufferView_pimpl.C: remove broken special code for math-greek
10341
10342 2001-08-02  Juergen Vigna  <jug@sad.it>
10343
10344         * BufferView_pimpl.C (update): redone this function so that we
10345         update the text again if there was a CHANGE_IN_DRAW.
10346
10347         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10348         (drawFromTo): added a new internal bool which is used by draw() and
10349         redraw() function.
10350         (general): some cursor drawing problems fixed.
10351
10352 2001-08-01  Juergen Vigna  <jug@sad.it>
10353
10354         * lyxfind.C (LyXFind): fixed
10355         (SearchForward): ditto
10356         (SearchBackward): ditto
10357
10358         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10359         spurius drawing of the cursor in the main area.
10360
10361         * text2.C (status): small fix which could lead to a segfault!
10362         (clearSelection): remove unneeded BufferView param.
10363
10364 2001-08-01  André Pönitz <poenitz@gmx.net>
10365
10366         * lyxfunc.C: small change due to changed mathed interface
10367
10368 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10369
10370         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10371
10372 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10373
10374         * lyxfunc.c: fail gracefully if file doesn't exist
10375
10376         * LyXSendto.C:
10377         * buffer.C:
10378         * lyxfunc.C:
10379         * BufferView_pimpl.C: IsDirWriteable() proto changed
10380
10381         * LyXView.C: fix updateWindowTitle() to store the last title
10382
10383 2001-07-31  Juergen Vigna  <jug@sad.it>
10384
10385         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10386         the font (wrong since using of Paragraph::highestFontInRange).
10387
10388         * paragraph.C (highestFontInRange): added a default_size parameter.
10389
10390         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10391         (setHeightOfRow): reformat
10392
10393 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10394
10395         * converter.[hC] + affected files: move to (inital-char)lowercase
10396         function names.
10397
10398         * ParagraphParameters.C (ParagraphParameters): remove commented code
10399
10400         * PainterBase.[Ch]: remove commented code
10401
10402         * LaTeXFeatures.h: add "bool floats" for float.sty
10403
10404         * LaTeXFeatures.C (LaTeXFeatures): init floats
10405         (require): handle float
10406         (getPackages): do it with floats
10407
10408 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10409
10410         * BufferView_pimpl.C (Dispatch): improve handling of
10411         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10412
10413         * commandtags.h: #include lyxfont.h here temporarily to avoid
10414         keybinding bug.
10415
10416         * bufferlist.h: include LString.h here.
10417
10418 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10419
10420         * text2.C (getStringToIndex): new method.
10421
10422 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10423
10424         * *: Reduced header file dependencies all over.
10425
10426 2001-07-30  Baruch Even  <baruch@lyx.org>
10427
10428         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10429
10430 2001-07-29  Baruch Even  <baruch@lyx.org>
10431
10432         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10433
10434 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10435
10436         * ParameterStruct.h (endif): add a default constructor to make
10437         sure that all variables is initialized.
10438
10439         * ParagraphParameters.C (ParagraphParameters): adjust
10440
10441 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10442
10443         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10444         index; also, check that there is something to index, and that it
10445         does not span over several paragraphs.
10446         (doubleClick): use WHOLE_WORD_STRICT for double click.
10447
10448         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10449
10450         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10451         scheme.
10452
10453 2001-07-26  Baruch Even  <baruch@lyx.org>
10454
10455         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10456         an InsetFig figure, backwards compatible reading of old figure code.
10457
10458 2001-07-27  Juergen Vigna  <jug@sad.it>
10459
10460         * text2.C: font.realize function adaption.
10461
10462         * text.C (draw): add a warnings lyxerr text if needed.
10463
10464         * layout.C: font.realize function adaption.
10465
10466         * language.C: add inherit_language and implement it's handlings
10467
10468         * bufferview_funcs.C (StyleReset): remove language parameter from
10469         font creation (should be language_inherit now).
10470
10471         * bufferparams.C (writeFile): handle ignore_language.
10472
10473         * paragraph.C (getFontSettings): the language has to be resolved
10474         otherwise we have problems in LyXFont!
10475
10476         * lyxfont.C (lyxWriteChanges): added document_language parameter
10477         (update): removed unneeded language parameter
10478
10479         * paragraph.C (validate): fixed wrong output of color-package when
10480         using interface colors for certain fonts in certain environments,
10481         which should not seen as that on the final output.
10482
10483 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10484
10485         * BufferView_pimpl.C:
10486         * Thesaurus.h:
10487         * Thesaurus.C:
10488         * Makefile.am:
10489         * commandtags.h:
10490         * LyXAction.C: add thesaurus support
10491
10492         * lyxfind.h:
10493         * lyxfind.C: add "once" parameter, for thesaurus, to not
10494           move to the next match
10495
10496 2001-07-26  Juergen Vigna  <jug@sad.it>
10497
10498         * lyxfont.C (realize): honor ignore_language too!
10499         (resolved): ditto.
10500
10501         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10502
10503         * text.C (draw): one place more for ignore_language to not draw
10504         itself!
10505
10506 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10507
10508         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10509
10510 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10511
10512         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10513         the minipage conversion problem.
10514
10515 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10516
10517         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10518         insert an inset.
10519
10520 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10521
10522         * BufferView.h: don't forward declare WorkArea
10523
10524         * BufferView.C: don't include WorkArea.h
10525
10526 2001-07-25  André Pönitz <poenitz@gmx.net>
10527
10528         * commandtags.h:
10529         * LyXAction.C:
10530         * lyxfunc.C:  new LFUN 'math-space'
10531
10532         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10533
10534 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10535
10536         * text2.C (toggleInset): call open/close
10537
10538 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10539
10540         * lyxfunc.C (dispatch): add debug for the disabled case
10541
10542         * font.C (buttonText): make similar to rectText
10543
10544         * buffer.C (readInset): comment out parsing of insetlist and
10545         insttheorem
10546
10547         * PainterBase.C (rectText): small correction
10548
10549         * BufferView_pimpl.C: comment out insettheorem and insetlist
10550         * LyXAction.C: ditto
10551         * commandtags.h: ditto
10552
10553 2001-07-24  Juergen Vigna  <jug@sad.it>
10554
10555         * text.C (draw): honor the ignore_language.
10556
10557         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10558
10559 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10560
10561         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10562         char inset.
10563
10564 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10565
10566         * lyxtext.h: remove unused (and unimplemented) methods
10567
10568 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10569
10570         * text.C (getVisibleRow): honor background color
10571
10572         * PainterBase.h:
10573         * Painter.h: remove default color argument for fillRectangle
10574
10575         * text.C (backgroundColor): new method
10576
10577 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10578
10579         * text.C (getVisibleRow): adjust
10580
10581         * font.[Ch] (rectText): new method, metrics
10582         (buttonText): new method, metrics
10583
10584         * PainterBase.[hC]: make rectText and buttonText always draw and take
10585         fewer paramteres.
10586
10587 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10588
10589         * ToolbarDefaults.C (read):
10590         * MenuBackend.C (read): allow escaping in all strings
10591
10592         * BufferView_pimpl.C (insertAndEditInset): new method.
10593         (Dispatch): use insertAndEditInset whenever appropriate.
10594
10595         * BufferView_pimpl.C (insertNote): removed
10596
10597         * BufferView_pimpl.C (smartQuote): new method, moved from
10598         BufferView; if an insetquote cannot be inserted, insert a '"'
10599         character instead.
10600
10601         * BufferView2.C: remove insertCorrectQuote();
10602
10603         * lyxfunc.C (getStatus): Add support for all remaingin
10604         inset-insert lfuns.
10605
10606         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10607
10608         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10609         command (necessary to pass " as parameter of self-insert.
10610
10611         * text.C (selectWordWhenUnderCursor):
10612         (selectWord): add word_location parameter
10613         (selectWordWhenUnderCursor): same + remove special code for word
10614         boundary.
10615         (selectNextWord): use kind() to guess type of insetspecialchar,
10616         not latex().
10617
10618         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10619         (insertErtContents): create ert insets as collapsed.
10620         (readInset): better compatibility code for Info inset.
10621
10622 2001-07-20  Juergen Vigna  <jug@sad.it>
10623
10624         * lyxfunc.C (dispatch): use always LyXFind now!
10625
10626         * text2.C (init): add a reinit flag so that the LyXText can be
10627         reinited instead of deleted and reallocated (used in InsetText).
10628
10629         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10630
10631         * text.C: ditto
10632
10633         * text2.C: ditto
10634
10635 2001-07-18  Juergen Vigna  <jug@sad.it>
10636
10637         * text.C (selectNextWord): handle insets inside inset by calling
10638         always the bv->text functions so that we can go up the_locking_inset!
10639
10640         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10641         in strange locations when inside an inset!
10642
10643         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10644         handling to include insets.
10645
10646         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10647
10648 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10649
10650         * LyXAction.C (init):
10651         * commandtags.h:
10652         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10653         LIGATURE_BREAK, since the name is so stupid.
10654
10655 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10656
10657         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10658         InsetInfos.
10659
10660         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10661
10662         * sp_form.[Ch]: remove.
10663
10664         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10665
10666         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10667         InsetInfo.
10668
10669         * src/buffer.C (readInset): ditto.
10670
10671 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10672
10673         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10674         menuSeparator(), endOfSentenceDot(), ldots() and
10675         hyphenationPoint(), which are therefore removed.
10676         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10677
10678         * LyXAction.C (init):
10679         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10680
10681         * paragraph.C (getWord): removed.
10682
10683         * BufferView_pimpl.C (Dispatch): use last word or selection for
10684         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10685
10686         * lyx_main.C (queryUserLyXDir): do not ask before creating
10687         user_dir, except if it has been named explicitely.
10688
10689 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10690
10691         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10692         a document of zero size.
10693
10694 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10695
10696         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10697         approriately in the c-tor and in require().
10698         (getPackages): output the appropriate LaTeX for natbib support.
10699
10700         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10701         variables "use_natbib" and "use_numerical_citations" when reading the
10702         LyX file.
10703         (readInset): read the various natbib cite commands.
10704         (validate): white-space change.
10705
10706         * bufferparams.[Ch]: new variables "bool use_natbib" and
10707         "bool use_numerical_citations".
10708         (writeFile): output them in the LyX file.
10709
10710 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10711
10712         * lyxfunc.C (getStatus): add support for all the inset insertion
10713         commands.
10714
10715         * text2.C (insertInset):
10716         * paragraph.C (insetAllowed):
10717         * BufferView_pimpl.C (insertInset): update to take in account the
10718         renaming of insertInsetAllowed
10719
10720         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10721
10722         * text2.C (getInset): new method. returns inset at cursor position.
10723
10724         * BufferView_pimpl.C (Dispatch): changes because of this.
10725
10726         * LyXAction.C (init): rename open-stuff to inset-toggle.
10727
10728         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10729
10730         * text2.C (toggleInset): renamed from openStuff; use
10731         Inset::open().
10732
10733 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10734
10735         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10736
10737         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10738
10739 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10740
10741         * buffer.C (readLyXformat2): Add filename to the error dialog
10742
10743 2001-07-18  Juergen Vigna  <jug@sad.it>
10744
10745         * tabular.C (GetCellNumber): put an assert here instead of the check!
10746
10747 2001-07-17  Juergen Vigna  <jug@sad.it>
10748
10749         * BufferView_pimpl.C (toggleSelection): adapted too.
10750
10751         * text.C (selectNextWord): adapted for use with insets.
10752         (selectSelectedWord): ditto
10753
10754 2001-07-17  Juergen Vigna  <jug@sad.it>
10755
10756         * sp_spell.C (PSpell): fix initialitation order.
10757
10758 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10759
10760         * paragraph.C: spacing
10761
10762 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10763
10764         * sp_spell.C: repair language selection for pspell
10765
10766 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10767
10768         * lyxfunc.h: change more methods to begin with lower char.
10769
10770 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10771
10772         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10773         for unknown layouts.
10774
10775 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10776
10777         * buffer.C (readLyXformat2): Generate an error dialog if there are
10778         unknown layouts.
10779
10780 2001-07-16  Juergen Vigna  <jug@sad.it>
10781
10782         * sp_spell.C: always compile ISpell part.
10783
10784         * lyxrc.C: added use_pspell entry and it's handling.
10785
10786 2001-07-13  Juergen Vigna  <jug@sad.it>
10787
10788         * sp_spell.C: removed double includes.
10789
10790 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10791
10792         Consistent use of Lsstream.h:
10793         * Lsstream.h: added using std::stringstream for consistencies sake.
10794
10795         * buffer.C: removed using std::stringstream
10796
10797         * lyxfont.C (stateText):
10798         * paragraph.C (asString):
10799         * text.C (selectNextWord, selectSelectedWord):
10800         * text2.C (setCounter):
10801         * vspace.C (asString, asLatexString):
10802         std::ostringstream -> ostringstream.
10803
10804 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10805
10806         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10807         * commandtags.h: add LFUN_HELP_ABOUTLYX
10808         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10809
10810 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10811
10812         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10813         cursorToggle()
10814         * lyx_gui_misc.C: remove spellchecker
10815         * lyxfunc.C: showSpellchecker
10816         * sp_base.h: added
10817         * sp_ispell.h: added
10818         * sp_pspell.h: added
10819         * sp_spell.C: added
10820         * sp_form.[Ch]: removed
10821         * spellchecker.[Ch]: removed
10822
10823 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10824
10825         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10826         is set.
10827         (simpleTeXSpecialChars): Simply print the input character without
10828         any special translation if pass_thru is set.
10829
10830         * layout.h: Added bool pass_thru to layout class for being able to
10831         implement pass through of a paragraph for Literate Programming.
10832
10833         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10834         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10835         * layout.C (Read): add "passthru" to list of layout tags and add
10836         code to set the pass_thru boolean when it is read.
10837
10838 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10839
10840         * trans_decl.h: remove allowed from KmodInfo
10841
10842         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10843         remove allowed code
10844         (Load): adjust
10845
10846         * paragraph_pimpl.C (erase): use boost::prior
10847
10848         * Painter.C (text): use data() instead of c_str() when length is
10849         also provided.
10850         * WorkArea.C (putClipboard): ditto
10851         * font.h (width): ditto
10852
10853         * BufferView2.C: use it-> instead of (*it). for iterators
10854         * texrow.C: ditto
10855         * paragraph_pimpl.C: ditto
10856         * paragraph.C: ditto
10857         * minibuffer.C: ditto
10858         * language.C: ditto
10859         * kbmap.C: ditto
10860         * encoding.C: ditto
10861         * counters.C: ditto
10862         * converter.C: ditto
10863         * chset.C: ditto
10864         * Variables.C: ditto
10865         * TextCache.C: ditto
10866         * MenuBackend.C: ditto
10867         * LyXAction.C: ditto
10868         * LColor.C: ditto
10869         * FloatList.C: ditto
10870         * DepTable.C: ditto
10871         * ColorHandler.C (LyXColorHandler): ditto
10872
10873 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10874
10875         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10876
10877         * text2.C (openStuff): reintroduce this method (which had been
10878         nuked in NEW_INSETS frenzy).
10879
10880         * lyxfunc.C (Dispatch): when an action has not been handled, use
10881         its name in the error message, not its number.
10882
10883         * paragraph.C (inInset): change method name to begin with lowercase.
10884
10885         * undo_funcs.C:
10886         * text2.C: updates because of this.
10887
10888 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10889
10890         * ToolbarDefaults.C (add): add spaces in error message
10891
10892 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10893
10894         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10895         (readLyXformat2): rename return_par to first_par, use lyxlex's
10896         pushToken and remove the manual push handling.
10897         (parseSingleLyXformat2Token): add another ert comp. variable:
10898         in_tabular, rename return_par to first_par. handle newlines better
10899
10900 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10901
10902         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10903
10904 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10905
10906         * text2.C (getParFromID): removed
10907
10908         * buffer.C (getParFromID): new method moved form lyxtext.
10909         * BufferView2.C (insertErrors): adjust
10910         (setCursorFromRow): adjust
10911         * BufferView_pimpl.C (restorePosition): adjust
10912         * lyxfunc.C (Dispatch): adjust
10913         * undo_funcs.C (textUndo): adjust
10914         (textRedo): adjust
10915         (textHandleUndo): adjust
10916         (textHandleUndo): adjust
10917
10918 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10919
10920         * buffer.C: up' the LYX_FORMAT
10921
10922         * lyxfont.h: turn NO_LATEX on as default
10923
10924         * buffer.C (insertErtContents): new methods of tex style compability.
10925         (parseSingleLyXformat2Token): use it several places.
10926         * tabular.C (OldFormatRead): and here
10927
10928 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10929
10930         * text2.C: remove some commented code.
10931         reindent file.
10932
10933         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10934         * trans.C: changes because of the above.
10935
10936 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10937
10938         * text2.C (setCounter): Fix counters bug with bibliography layout.
10939
10940 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10941
10942         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10943         own member functions
10944         (simpleTeXSpecialChars): ditto
10945
10946 2001-07-06  Juergen Vigna  <jug@sad.it>
10947
10948         * a lot of files: changed the access to LyXText::status and the
10949         call of undo-functions.
10950
10951         * undo.[Ch]: added a inset_id to the undo informations.
10952
10953         * undo_funcs.[Ch]: added and moved here all undo functions.
10954
10955         * lyxtext.h: give the status enum a weight, made status_ a private
10956         variable and made accessor functions for it, removed the whole bunch
10957         of undo-functions as they are now in their own file, make some
10958         functions publically available. Added function ownerParagraph with
10959         int parameter.
10960
10961         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10962         made InInset() a const function, added getParFromID() function.
10963
10964         * buffer.[Ch]: added const version for inset_iterator functions,
10965         added getInsetFromID() function.
10966
10967         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10968         changed undo functions for new version.
10969
10970 2001-07-05  Juergen Vigna  <jug@sad.it>
10971
10972         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10973         unknow mechanism does not call the proper constructor but only this
10974         one also if I request the other!?
10975
10976 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10977
10978         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10979
10980         * text2.C (LyXText): use initialization lists.
10981
10982         * lyxtext.h (Selection): initialize set_ and mark_
10983         (init): remove method
10984
10985 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10986
10987         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10988
10989 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10990
10991         * screen.[Ch]: change method names to begin with lowercase
10992
10993         * BufferView_pimpl.C (updateScrollbar): simplify further and
10994         hopefully make it a bit faster.
10995
10996 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10997
10998         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10999         calling directly xforms functions.
11000
11001         * Painter.C (Painter):
11002         * lyx_cb.C (MenuWrite):
11003         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11004         fl_display.
11005
11006         * lyx_gui.C: remove bogus guiruntime extern declaration.
11007
11008 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11009
11010         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11011         in NEW_INSETS
11012         (redoDrawingOfParagraph): ditto
11013         (redoParagraphs): ditto
11014         (cutSelection): don't create a object for CutAndPaste use the
11015         static method directly
11016         (pasteSelection): ditto
11017
11018         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11019         LyXview (+ rename)
11020
11021 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11022
11023         * modifications to some other files because of this.
11024
11025         * Makefile.am (lyx_SOURCES): add XFormsView
11026
11027         * XFormsView.[Ch]: new files
11028
11029         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11030         the main window. Move the gui dependent stuff to XFormsView
11031
11032 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11033
11034         * tabular.C (GetCellInset): update cur_cell also in the row/col
11035         version of this function.
11036
11037         * lyxfunc.C: no need to include figure_form.h here.
11038
11039         * FontLoader.h:
11040         * lyxfunc.h:
11041         * lyxscreen.h:
11042         * text2.C:
11043         * lyxvc.C: no need to include forms.h here.
11044
11045 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11046
11047         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11048
11049         * lyxfunc.C (Dispatch):
11050         * Spacing.C (set):
11051         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11052         constructor argument.
11053
11054 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11055
11056         * paragraph.C (Paragraph): dont't clear, and just set layout.
11057         (makeSameLayout): use params's copy contructor.
11058
11059         * ParagraphParameters.[Ch] (makeSame): delete method
11060
11061 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11062
11063         * Variables.[Ch]: fix indentation, rename set to isSet
11064
11065 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11066
11067         * lyxfunc.C (Dispatch): fix typo
11068
11069 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11070
11071         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11072         upper_bound.
11073
11074         * bufferlist.C: include assert.h for emergencyWrite().
11075
11076 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11077
11078         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11079           give up at last (bug #425202) !
11080
11081 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11082
11083         * lyx_gui_misc.C:
11084         * sp_form.h:
11085         * sp_form.C:
11086         * spellchecker.h:
11087         * spellchecker.C: strip spellchecker options and bring up
11088           preferences tab instead
11089
11090 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11091
11092         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11093         the istringstream constructor
11094
11095 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11096
11097         * paragraph.C (getLayout): fix return value
11098
11099         * paragraph.h: do not declare getLayout as inline.
11100
11101         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11102
11103 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11104
11105         * lyxcursor.h (operator<): new func
11106         (operator>): new func
11107         (operator>=): new func
11108         (operator<=): new func
11109
11110         * text.C (changeCase): use selection.start and selection.end
11111         (changeRegionCase): require from to be <= to. Require par to be a
11112         valid paragraph.
11113
11114         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11115
11116 2001-06-27  Juergen Vigna  <jug@sad.it>
11117
11118         * text.C (cursorLeftOneWord): changed to return the cursor and added
11119         overlay with BufferView * parameter which calls this one.
11120         (getWord): added
11121         (selectWord): use new getWord function.
11122         (changeCase): renamed from changeWordCase as and extended to work
11123         also on selections.
11124
11125         * lyxtext.h: added enum word_location
11126
11127         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11128         changeCase as this operates now also on selections.
11129
11130 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11131
11132         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11133
11134         * many files: send debug output to Debug::INFO instead of
11135         Debug::ANY.
11136
11137         * converter.C (View):
11138         (Convert):
11139         (Move): send debug output to Debug::FILES instead of console.
11140
11141 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11142
11143         * lyxfunc.C (getStatus): use func_status
11144
11145         * func_status.h: new header, describing the results of
11146         LyXFunc::getStatus;
11147
11148         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11149         LFUN_MATH_HALIGN.
11150
11151 2001-06-25  The LyX Project  <jug@sad.it>
11152
11153         * buffer.C (sgmlOpenTag):
11154         (sgmlCloseTag):
11155         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11156
11157 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11158
11159         * text2.C: remove some dead code
11160
11161         * tabular.C (GetCellInset): store the last cell checked (gotten)
11162
11163         * tabular.h: add the helper for the speedup
11164
11165         * lyxtext.h: remove some dead code
11166
11167 2001-06-26  The LyX Project  <Asger>
11168
11169         * paragraph.C: Change export to LaTeX of alignment to
11170         \begin{center} and family for better roundtrip work with reLyX.
11171
11172         * Tune the math drawing a bit.
11173
11174 2001-06-25  The LyX Project  <Asger>
11175
11176         * LColor.C (LColor): New color for math background. New color
11177         for buttons.
11178
11179 2001-06-25  The LyX Project  <jug@sad.it>
11180
11181         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11182
11183         * lyxfunc.C (Open):
11184         * bufferlist.C (newFile): do not restrict to files ending with
11185         .lyx
11186
11187         * BufferView_pimpl.C (MenuInsertLyXFile):
11188
11189 2001-06-24  The LyX Project  <jug@sad.it>
11190
11191         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11192         of compare_no_case
11193
11194 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11195
11196         * lyxtext.h: rename most methods to begin with a small char.
11197         Lots of changes because of this.
11198
11199         * paragraph.C (Paragraph): do not call fitToSize
11200         (erase): call Pimpl::erase
11201         (insertChar): call Pimpl::insertChar
11202         (insertInset): call Pipl::insertInset
11203         (breakParagraph): do not call fitToSize
11204         (breakParagraphConservative): do not call fitToSize
11205         (fitToSize): remove method
11206
11207         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11208
11209 2001-06-24  The LyX Project  <Asger>
11210
11211         * Fix Qt compilation^2
11212
11213 2001-06-24  The LyX Project  <jug@sad.it>
11214
11215         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11216         depthHook(getDepth()-1).
11217
11218         * paragraph.h:
11219         * ParagraphParameters.h:
11220         * ParameterStruct.h: change type of depth to unsigned int ==
11221         depth_type. Many adaptations to other files before of that.
11222
11223 2001-06-24  The LyX Project  <Asger>
11224
11225         * Fix Qt compilation.
11226
11227 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11228
11229         * paragraph.h: renamed several methods to begin with small letter.
11230         several changes to many parts of the code because of this.
11231
11232 2001-06-23  The LyX Project  <jug@sad.it>
11233
11234         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11235         rewritten to discard all double spaces when KeepEmpty is off
11236         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11237         to only handle newlines but not fiddle with spaces and friends.
11238
11239         * lyxfunc.C (MenuNew): when doing 'new from template', use
11240         template_path as default directory
11241
11242 2001-06-23  The LyX Project  <Asger>
11243
11244         * Clean-up of header file includes all over
11245         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11246
11247 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11248
11249         * paragraph.h: renamed from lyxparagraph.h
11250
11251 2001-06-23  Asger  <lyx@violet.home.sad.it>
11252
11253         * Buffer.h: Removed Buffer::resize
11254         * BufferList.h: Removed BufferList::resize
11255         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11256         the document lazily when we change the width, or the font settings.
11257
11258 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11261
11262 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11263
11264         * buffer.h: remove out of date comment
11265
11266 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11267
11268         * lyxscreen.h:
11269         * screen.C: fix "theoretical" GC leak
11270
11271 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11272
11273         * LaTeX.C (scanAuxFile):
11274         (deplog): remove trailing \r when reading stream (useful under
11275         win32)
11276
11277 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11278
11279         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11280         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11281         and BufferView::theLockingInset(Inset*), so should use them and not
11282         access bv_->text->the_locking_inset directly.
11283
11284         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11285
11286 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * Makefile.am:
11289         * tex-defs.h: remove old unused file
11290
11291 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11292
11293         * BufferView_pimpl.C: fix typo, remove minibuffer message
11294           when buffer has loaded
11295
11296 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11297
11298         * lyxfunc.C (Dispatch): use stringstream
11299         (MenuNew): use stringstream
11300         (Open): use stringstream
11301
11302         * importer.C (Import): use stringstream
11303
11304         * bufferview_funcs.C (CurrentState): use stringstream
11305
11306         * LaTeX.C (run): use stringstream
11307
11308         * BufferView_pimpl.C (savePosition): use stringstream
11309         (restorePosition): use stringstream
11310         (MenuInsertLyXFile): use stringstream
11311
11312 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11313
11314         * BufferView.C:
11315         * Bullet.C:
11316         * ColorHandler.C:
11317         * FontInfo.C:
11318         * FontLoader.C:
11319         * LColor.C:
11320         * LaTeXFeatures.C:
11321         * Painter.C:
11322         * gettext.C:
11323         * lyx_gui_misc.C:
11324         * lyxserver.C:
11325         * vspace.C: removed // -*- C++ -*- as first line.
11326
11327         * lyxfind.h:
11328         * version.h: added // -*- C++ -*- as first line.
11329
11330 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11331
11332         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11333
11334         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11335         of string
11336
11337 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11338
11339         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11340         of floats.
11341
11342 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11343
11344         * gettext.C: include LString.h even when --disable-nls is on.
11345
11346 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11347
11348         * converter.h (Get): changed argument type from int to
11349         FormatList::size_type to avoid unnecessary conversion.
11350
11351         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11352         before using it.
11353
11354 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11355
11356         * gettext.h: include LString.h even when --disable-nls is on.
11357
11358 2001-06-07  Juergen Vigna  <jug@sad.it>
11359
11360         * text.C (BreakAgain): subst spaces with tabs.
11361
11362         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11363         (resizeInsetsLyXText): set force on resizeLyXText.
11364
11365 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11366
11367         * gettext.h (gettext_init):
11368         (locale_init): use a real definition instead of a macro
11369
11370 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * Bufferview_pimpl.C:
11373         * LColor.h:
11374         * LColor.C: further lcolor tidies
11375
11376 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11377
11378         * BufferView_pimpl.C (updateScrollbar): simplify.
11379
11380         * BufferView2.C: don't include insets/insetinfo.h, change
11381         prototype for insertInset and call the Pimpl version. let
11382         updateInset call Pimpl version.
11383
11384         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11385         gotoInset to BufferView::Pimpl
11386
11387 2001-06-01  Juergen Vigna  <jug@sad.it>
11388
11389         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11390         inside a LockingInset (is the update needed at all?).
11391
11392 2001-05-31  Juergen Vigna  <jug@sad.it>
11393
11394         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11395         here not the old one otherwise how should we compare it afterwards
11396         if it's the same!
11397
11398 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11399
11400         * lyxfont.C:
11401         * tabular.C:
11402         * tabular-old.C:
11403         * FontInfo.C: bring C functions into global namespace when
11404         necessary
11405
11406 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11407
11408         * LString.h: make sure config.h has been loaded before LString.h.
11409
11410         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11411         (one for each char read by EatLine!).
11412
11413         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11414         variables.
11415
11416 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11417
11418         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11419         to the same as the par we break from
11420
11421 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11422
11423         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11424
11425         * MenuBackend.C (expand): also create menu entries for wide
11426         versions of the floats.
11427
11428         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11429
11430         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11431
11432         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11433         frontends/Makefile.am
11434
11435         * text2.C: adjust
11436         * text.C: adjust
11437
11438
11439         * tabular.C (getTokenValue): add std::
11440
11441         * tabular-old.C (getTokenValue): add std::
11442         (getTokenValue): ditto
11443         (getTokenValue): ditto
11444
11445         * screen.C (ToggleSelection): adjust
11446
11447         * lyxtext.h: put selection cursors inside a Selection struct.
11448
11449         * lyxfunc.C (moveCursorUpdate): adjust
11450
11451         * lyxfont.C (latexWriteStartChanges): add std::
11452
11453         * lyxfind.C: adjust
11454
11455         * font.h: delete with(char const *, LyXFont const &)
11456
11457         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11458
11459         * FontInfo.C (getFontname): add std::
11460
11461         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11462         (workAreaButtonPress): adjust
11463         (tripleClick): adjust
11464         (update): adjust
11465         (moveCursorUpdate): adjust
11466         (Dispatch): adjust
11467
11468         * BufferView2.C (gotoInset): adjust
11469
11470 2001-05-30  Juergen Vigna  <jug@sad.it>
11471
11472         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11473         to check pspell I add this as default as I now have new pspell
11474         libraries and they seem to use this.
11475
11476 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11477
11478         * text2.C (CutSelection): make the cursor valid before the call to
11479         ClearSelection.
11480
11481 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11482
11483         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11484         relied on 0 terminated strings and other horrors. Bug found due to
11485         the new assert in lyxstring!
11486
11487         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11488         KP_ keys.
11489
11490 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11491
11492         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11493         to latinkeys.bind.
11494
11495         * lyxfunc.C (processKeySym): change method of getting to the
11496         self-insert char.
11497
11498         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11499         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11500         * BufferView_pimpl.[Ch]: here as private methods.
11501
11502 2001-05-28  Juergen Vigna  <jug@sad.it>
11503
11504         * text.C (SetHeightOfRow): added the update() call again as it is
11505         needed to initialize inset dimensions!
11506
11507 2001-05-16  Juergen Vigna  <jug@sad.it>
11508
11509         * text2.C (SetCharFont): Add new function with BufferView * and
11510         bool toggleall parameters for setting insets internal fonts.
11511         (SetFont): Freeze the undo as we may change fonts in Insets and
11512         all this change should be inside only one Undo!
11513
11514         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11515         setting font's in insets as for them we have the SetFont function!
11516
11517 2001-05-15  Juergen Vigna  <jug@sad.it>
11518
11519         * text2.C (ClearSelection): to be sure we REALLY don't have any
11520         selection anymore!
11521
11522         * tabular.C (TeXCellPreamble): fixed the left border problem for
11523         multicolumn cells.
11524
11525 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11526
11527         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11528         dependancy file
11529
11530 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11531
11532         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11533         LFUN_BREAKPARAGRAPH.
11534
11535         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11536         help test to "internal only", similar for LFUN_INSERT_URL
11537
11538         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11539         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11540         auto_region_delete and deadkeys.
11541
11542 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * LColor.h:
11545         * LColor.C: remove some dead entries, tidy a little
11546
11547 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11548
11549         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11550         commented code.
11551         (Dispatch): implement LFUN_ESCAPE
11552
11553         * commandtags.h: add LFUN_ESCAPE
11554
11555         * LyXAction.C (init): add entry for LFUN_ESCAPE
11556
11557         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11558         Remove commented code.
11559         (insertNote): moved here
11560         (open_new_inset): moved here
11561
11562         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11563         BufferView_pimpl
11564
11565 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11566
11567         * kbmap.C (findbinding): clean it up and make it work correctly.
11568
11569         * lyx_main.C (init): do not pass argc and argv as parameters
11570
11571 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11572
11573         * buffer.C: fix path for OS/2 & Win32
11574
11575         * lyx_gui.C:
11576         * lyx_main:
11577         * lyx_main.C: Added os:: class.
11578
11579         * os2_defines.h: update
11580
11581 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11584         better by trying again with reduced state.
11585
11586 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11587
11588         * lyxrc.C (read): print error about invalid key sequence only when
11589         debugging (because not all latinX keysyms are known to some X
11590         servers)
11591
11592         * kbsequence.C (getiso): add a few std:: qualifiers
11593         (getiso): comment out extra return statement.
11594
11595 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11596
11597         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11598         handling.
11599         (Dispatch): enhance the accent inset a bit. (not perfect)
11600
11601 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11602
11603         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11604
11605 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11606
11607         * bufferlist.C (emergencyWrite): fix assert() call
11608
11609 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11610
11611         * text.C (InsertChar): Added trivial patch to only send the "you
11612         can not do multiple spaces this way" message once during a
11613         session.
11614
11615 2001-05-08  Baruch Even  <baruch@lyx.org>
11616
11617         * Makefile.am: Changed order of libraries to get LyX to link properly
11618         with the gnome frontend.
11619
11620 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11621
11622         * LaTeXFeatures.h: add a std:: qualifier
11623
11624 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11625
11626         * paragraph.C (String): use stringstream
11627
11628 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11629
11630         * paragraph.C (writeFile): remove footflag arg
11631
11632         * buffer.C (makeLaTeXFile): use stringstream
11633         (latexParagraphs): remove footnot gurba
11634
11635         * LaTeXFeatures.C (getPackages): use stringstream
11636         (getMacros): likewise
11637         (getTClassPreamble): likewise
11638         (getFloatDefinitions): new method
11639
11640         * paragraph.C (writeFile): reindent
11641         (Erase): reindent
11642
11643         * WorkArea.h: revert the xpos + etc changes.
11644
11645         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11646
11647         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11648
11649         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11650         (pasteSelection): likewise
11651         * text2.C (CreateUndo): likewise
11652
11653 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11654
11655         * minibuffer.C (peek_event): temporarily reduce the functionality
11656         of the minibuffer (to allow args on lfuns)
11657
11658         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11659         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11660
11661         * buffer.C (readInset): add compability reading of old float
11662         lists, add reading of new style float list.
11663         (readInset): avoid reevaluation of inscmd.getCmdName()
11664         (getLists): reindent
11665
11666         * MenuBackend.C (MenuItem): implement parsing of
11667         md_floatlistinsert and md_floatinsert.
11668         (expand::LastFiles): move initalizaton of iterators out of loop,
11669         avoid reevaluation.
11670         (expand::Documents): introduce typdedef vector<string> Strings,
11671         and use it.
11672         (expand::ExportFormats): introduce typedef vector<Format const *>
11673         Formats, and use it.
11674         (expand): implement FloatListInsert and FloatInsert.
11675
11676         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11677         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11678         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11679
11680         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11681         handling.
11682         (Dispatch::LFUN_FLOAT_LIST): implement
11683
11684 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11685
11686         * LaTeX.C (run): Fix problem with --export code.
11687
11688 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11689
11690         * BufferView.[Ch] (workarea): removed.
11691         (getClipboard) new method; wrapper for workarea()->getClipboard()
11692
11693         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11694         bug.
11695
11696         * WorkArea.h (width, height, xpos, ypos): These methods all
11697         returned the dimensions of the work_area sub-area of WorkArea,
11698         resulting in a position error if the WorkArea were resized. Now
11699         return the dimensions of the entire WorkArea.
11700
11701         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11702
11703 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11704
11705         * LaTeX.C (deplog): correct the syntax of regex reg1
11706
11707 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11708
11709         * undo.C: remove !NEW_INSETS cruft
11710
11711 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * text2.C: remove !NEW_INSETS cruft
11714
11715         * text.C: remove !NEW_INSETS cruft
11716
11717         * tabular.C: remove !NEW_INSETS cruft
11718
11719         * spellchecker.C: remove !NEW_INSETS cruft
11720
11721         * lyxtext.h: remove !NEW_INSETS cruft
11722
11723         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11724
11725         * lyxfunc.C: remove !NEW_INSETS cruft
11726
11727         * lyxfind.C: remove !NEW_INSETS cruft
11728
11729         * lyx_cb.C: remove !NEW_INSETS cruft
11730
11731         * figureForm.C: remove  !NEW_INSETS cruft
11732
11733         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11734
11735         * buffer.[Ch]: remove !NEW_INSETS cruft
11736
11737         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11738
11739         * CutAndPaste.C: remove !NEW_INSETS cruft
11740
11741         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11742
11743         * BufferView2.C: remove !NEW_INSETS cruft
11744
11745         * BufferView.h: remove !NEW_INSETS cruft
11746
11747 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11748
11749         * Lsstream.h: include LString.h before the sstream headers to
11750         fix problem with gcc 2.95.3 and lyxstring
11751
11752 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11753
11754         * lyx_main.C: add using directives when needed for C functions
11755         declared in std:: namespace.
11756
11757 2001-04-27  Juergen Vigna  <jug@sad.it>
11758
11759         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11760         (SetHeightOfRow): comment out the update call should not be needed!
11761
11762 2001-04-13  Juergen Vigna  <jug@sad.it>
11763
11764         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11765         (LyXTabular): tried to minimize operator= operations (and realized
11766         hopfully Lars wish).
11767
11768 2001-04-27  Juergen Vigna  <jug@sad.it>
11769
11770         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11771
11772 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11773
11774         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11775
11776         * buffer.C (readInset): hack to make listof algorithm work
11777
11778         * BufferView_pimpl.C: hack to make listof algorithm work
11779
11780 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11781
11782         * LyXAction.C: removed all !NEW_INSETS cruft
11783         (init): moved lfun_item in method
11784
11785         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11786
11787 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11788
11789         * BufferView2.C (theLockingInset): white space.
11790
11791 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11792
11793         * minibuffer.C: include <iostream>
11794
11795         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11796
11797         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11798
11799         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11800
11801         * text.[Ch] (TransposeChars): new method
11802
11803 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11804
11805         * call message directly through LyXView instead of through LyXFunc
11806         * BufferView2.C: adjust
11807         * BufferView_pimpl.C: adjust
11808         * FontLoader.C: adjust
11809         * buffer.C: adjust
11810         * bufferview_funcs.C: adjust
11811         * converter.C: adjust
11812         * figureForm.C: adjust
11813         * importer.C: adjust
11814         * lyx_cb.C: adjust
11815         * lyx_gui_misc.C: adjust
11816         * lyxfunc.C: adjust
11817         * lyxvc.C: adjust
11818         * text2.C: adjust
11819         + more files in subdirs
11820
11821         * lyxparagraph.h (size): move up int file
11822         (GetLayout): ditto
11823
11824         * adjust all uses of Assert to lyx::Assert.
11825
11826         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11827         lyxfunctional in namespace lyx
11828         * layout.C (hasLayout): ditto
11829         (GetLayout): ditto
11830         (GetLayout): ditto
11831         (delete_layout): ditto
11832         (NumberOfClass): ditto
11833         * converter.C (GetFormat): ditto
11834         (GetNumber): ditto
11835         (Add): ditto
11836         (Delete): ditto
11837         (SetViewer): ditto
11838         * bufferlist.C (getFileNames): ditto
11839         (emergencyWriteAll): ditto
11840         (exists): ditto
11841         (getBuffer): ditto
11842         * MenuBackend.C (hasSubmenu): ditto
11843         (hasMenu): ditto
11844         (getMenu): ditto
11845         * BufferView_pimpl.C (getInsetByCode): ditto
11846
11847 2001-04-18  Juergen Vigna  <jug@sad.it>
11848
11849         * vspace.C (asLatexString): fixed the 100% problem.
11850
11851 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11852
11853         * lyxfunc.C (Dispatch):
11854         * minibuffer.C:
11855         * minibuffer.h: add a few std:: qualifiers
11856
11857 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11858
11859         * minibuffer.[Ch]: reimplement so that commands is initiated and
11860         run from lyxfunc, simplified som handling, and made the completion
11861         and history code for complete. wip.
11862
11863         * lyxfunc.C (processKeySym): call message
11864         (miniDispatch): new temporary method
11865         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11866         (LFUN_MESSAGE): implement
11867         (LFUN_MESSAGE_PUSH): implement
11868         (LFUN_MESSAGE_POP): implement
11869         (initMiniBuffer): the initial/defualt minibuffer message.
11870
11871         * lyxfont.[Ch]: inline some more getters
11872
11873         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11874
11875         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11876
11877         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11878         (AutoSave): use LFUN_MESSAGE
11879         (Reconfigure): ditto
11880
11881         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11882
11883         * figureForm.C: use LFUN_MESSAGE
11884
11885         * converter.C (runLaTeX): use LFUN_MESSAGE
11886
11887         * bufferview_funcs.C: use LFUN_MESSAGE
11888         (Melt): ditto
11889         (changeDepth): ditto
11890
11891         * bufferparams.h: use boost::
11892
11893         * bufferlist.h: inherit privately from noncopyable
11894
11895         * bufferlist.C (loadLyXFile): remove some commented code.
11896
11897         * buffer.C (runChktex): use LFUN_MESSAGE
11898
11899         * ShareContainer.h: inherit privately from noncopyable
11900
11901         * ParagraphParameters.[hC] (depth): inline it.
11902
11903         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11904         methods.
11905         (message): new method
11906         (messagePush): ditto
11907         (messagePop): ditto
11908         (show): init minibuffer
11909         (showState): direct call
11910
11911         * LaTeX.[Ch]: inherit privately from noncopyable
11912         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11913         instead of WriteStatus.
11914
11915         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11916
11917         * BufferView_pimpl.C (buffer): don't init minibuffer
11918         (workAreaButtonPress): use LFUN_MESSAGE
11919         (workAreaButtonRelease): ditto
11920         (savePosition): ditto
11921         (restorePosition): ditto
11922         (MenuInsertLyXFile): ditto
11923         (workAreaExpose): don't init minibuffer
11924         (update): remove commented code, simplify
11925
11926         * BufferView2.C (openStuff): use LFUN_MESSAGE
11927         (toggleFloat): ditto
11928         (menuUndo): ditto
11929         (menuRedo): ditto
11930         (copyEnvironment): ditto
11931         (pasteEnvironment): ditto
11932         (copy): ditto
11933         (cut): ditto
11934         (paste): ditto
11935         (gotoInset): ditto
11936         (updateInset): remove some commented code
11937
11938         * lastfiles.h: inherit privately from noncopyable
11939         * layout.h: ditto
11940         * lyx_gui.h: ditto
11941         * lyx_main.h: ditto
11942         * lyxlex.h: ditto
11943         * lyxlex_pimpl.h: ditto
11944
11945         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11946         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11947         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11948
11949         * LyXAction.h: inherit privately from noncopyable, add methods
11950         func_begin, func_end, returning iterators to the func map.
11951
11952         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11953         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11954         (func_begin): new method
11955         (func_end): new method
11956
11957         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11958         and not)
11959         (copySelection): ditto
11960         (pasteSelection): ditto
11961
11962         * BufferView.C: whitespace change
11963         * BufferView.h: inherit privately from noncopyable
11964
11965 2001-04-16  Allan Rae  <rae@lyx.org>
11966
11967         * tabular-old.C (l_getline):
11968         * spellchecker.C (sc_check_word):
11969         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11970         an unrecognised preprocessor directive.  So ensure they're wrapped.
11971
11972 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11973
11974         * src/exporter.C (Export): Give an error message when path to file
11975         contains spaces.
11976
11977 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11978
11979         * LaTeX.C (deplog): Always check that foundfile exists.
11980
11981 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11982
11983         * lyx_main.h:
11984         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11985
11986 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11987
11988         * tabular.[Ch] (getLabelList): implement new method
11989
11990         * minibuffer.h: comment ouf setTiimer
11991
11992         * minibuffer.C (ExecutingCB): constify res
11993         (peek_event): constify s
11994         (Set): constify ntext
11995         (Init): constify nicename
11996
11997         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11998
11999         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12000         (savePosition): use two params to Minibuffer::Set
12001         (restorePosition): ditto
12002
12003 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12004
12005         * lyx_main.C: include language.h
12006
12007         * Makefile.am (lyx_main.o): add language.h
12008
12009 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12010
12011         * exporter.C:
12012         * paragraph.C:
12013         * screen.C:
12014         * tabular.C:
12015         * CutAndPaste.C: include gettext.h
12016
12017         * lyxfont.h: remove old hack with ON and OFF.
12018
12019         * lyxparagraph.h:
12020         * lyxfont.h: do not include language.h...
12021
12022         * BufferView2.C:
12023         * LaTeXFeatures.C:
12024         * Painter.C:
12025         * bufferview_funcs.C:
12026         * font.C:
12027         * lyxfont.C:
12028         * text.C:
12029         * text2.C:
12030         * trans_mgr.C:
12031         * paragraph.C: ... but do it here instead
12032
12033 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12034
12035         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12036
12037         * tabular.C: small reformat
12038
12039         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12040         NEW_INSETS version
12041         (GetChar): ditto
12042         (BreakParagraph): ditto
12043         (SetOnlyLayout): ditto
12044         (SetLayout): ditto
12045
12046         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12047         with one arg less.
12048
12049         * lastfiles.C: removed most using decl, add std:: where needed
12050
12051         * buffer.C: ws changes
12052
12053         * MenuBackend.C (class compare_format): put into anon namespace
12054         (expand): constify label, names, action, action2
12055         (expand):
12056
12057         * text.C (SingleWidth): constify font
12058         (IsBoundary): constify rtl2
12059         (GetVisibleRow): constify ww
12060
12061         * LaTeX.C (deplog): constify logfile
12062
12063         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12064         start_x, end_x
12065         (workAreaExpose): constify widthChange, heightChange
12066
12067         * lyxrow.C (par): moved
12068         (height): moved
12069         (next): moved
12070         * lyxrow.h: as inlines here
12071
12072         * lyxfont.h (shape): moved from lyxfont.C
12073         (emph): moved from lyxfont.C
12074
12075         * lyxfont.C (LyXFont): use initialization list for all
12076         constructors
12077         (shape): move to lyxfont.h as inline
12078         (emph): move to lyxfont.h as inline
12079
12080
12081 2001-04-04  Juergen Vigna  <jug@sad.it>
12082
12083         * vspace.C: had to include stdio.h for use of sscanf
12084
12085 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12086
12087         * BufferView.h:
12088         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12089         independent of xforms.
12090
12091 2001-04-02  Juergen Vigna  <jug@sad.it>
12092
12093         * spellchecker.C: fixed namespace placing!
12094
12095 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12096
12097         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12098         the LyXParagraph * is 0.
12099
12100 2001-03-29  Juergen Vigna  <jug@sad.it>
12101
12102         * vspace.C: added support for %, c%, p%, l%.
12103         (stringFromUnit): added helper function.
12104         (asLatexString): changed to give right results for the %-values.
12105
12106         * buffer.C: convert the widthp in a width%.
12107
12108 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12109
12110         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12111         figureForm.[Ch].
12112
12113         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12114         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12115
12116         * lyx_cb.[Ch]: see above.
12117
12118         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12119         form1.[Ch].
12120
12121         * form1.[Ch]:
12122         * lyx.[Ch]: replaced by figure_form.[Ch].
12123
12124         * lyx_gui.C:
12125         * lyx_gui_misc.C:
12126         * lyxfunc.C: changed headers associated with above changes.
12127
12128 2001-03-27  Juergen Vigna  <jug@sad.it>
12129
12130         * BufferView_pimpl.C: set the temporary cursor right!
12131
12132 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12133
12134         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12135
12136 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12137
12138         * LString.h: removed "using std::getline"!
12139
12140         * BufferView_pimpl.C (Dispatch): changes due to changes in
12141         InsetInclude::Params.
12142
12143         * buffer.C (tag_name): removed redundant break statements as they were
12144         producing lots of warnings with my compiler.
12145
12146 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12147
12148         * LString.h: add "using std::getline" when using the real <string>.
12149
12150 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12151
12152         * buffer.C: removed bitset usage.
12153         PAR_TAG moved to an anonymous name space.
12154         (tag_name): new funtion, also in the anonymous namespace.
12155         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12156         (makeDocBookFile): clean code. Completed transition from string arrays
12157         to string vectors.
12158         (SimpleDocBookOnePar): code clean.
12159
12160 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12161
12162         * tabular.C: add some comments.
12163
12164 2001-03-22  Juergen Vigna  <jug@sad.it>
12165
12166         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12167         compatibility read a bit and fixed bug with minipage in different
12168         depth.
12169
12170 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12171
12172         * buffer.C (pop_tag): removed.
12173         (push_tag): removed.
12174         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12175         array replaced with vector. Added support for CDATA sections.
12176         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12177         at any nest level.
12178         (makeDocBookFile): XML conformant declaration of CDATA section,
12179         fixed bug related to <emphasis> in the first paragraph char.
12180         (sgmlOpenTag): exclude empty tags.
12181         (sgmlCloseTag): ditto.
12182
12183         * buffer.h (pop_tag): removed.
12184         (push_tag): removed.
12185
12186 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12187
12188         * language.h (Languages): added size_type and size().
12189
12190 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12191
12192         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12193         response on compability reading of minipages. One probliem is that
12194         the old usage of minipages was «flertydig»
12195
12196         * several files here and in subdirs: don't use static at file
12197         scope use anon namespaces instead.
12198
12199 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12200
12201         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12202         LaTeX output. This is necessary for Literate document
12203         processing.
12204
12205 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12206
12207         * buffer.C: insert hfill when needed.
12208
12209         * tabular.C (l_getline): use string::erase, small whitespace change.
12210
12211         * BufferView_pimpl.C: try the anon namespace.
12212         * WorkArea.C: ditto
12213
12214 2001-03-16  Juergen Vigna  <jug@sad.it>
12215
12216         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12217         otherwise it won't open options-dialogs.
12218
12219         * buffer.C: honor pextraWidth(p) on converting minipages.
12220
12221         * tabular.C (l_getline): changed the functions to strip trailing \r.
12222
12223 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12224
12225         * BufferView_pimpl.C:
12226         * minibuffer..C: added "using SigC::slot" declaration.
12227
12228 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12229
12230         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12231
12232         * text2.C: ditto
12233
12234         * text.C: ditto
12235
12236         * paragraph.C: ditto
12237
12238         * lyxtext.h: NO_PEXTRA
12239
12240         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12241
12242         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12243         * ParameterStruct.h: ditto
12244         * ParagraphParameters.h: ditto
12245         * lyxparagraph.h: ditto
12246
12247 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12248
12249         * buffer.C: add compability for minipage alignment.
12250         (latexParagraphs): remove unwanted pextra check.
12251
12252         * several files: remove CXX_WORKING_NAMESPACES
12253
12254         * buffer.C (pop_tag): tie is in namespace boost
12255
12256         * BufferView.h: noncopyable is in namespace boost
12257         * lyxlex.h: ditto
12258         * lyx_main.h: ditto
12259         * lyx_gui.h: ditto
12260         * layout.h: ditto
12261         * lastfiles.h: ditto
12262         * bufferlist.h: ditto
12263         * ShareContainer.h: ditto
12264         * LyXView.h: ditto
12265         * LyXAction.h: ditto
12266         * LaTeX.h: ditto
12267
12268 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12269
12270         * Merging changes from BRANCH_MVC back into HEAD.
12271
12272         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12273
12274 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12275
12276         * BufferView_pimpl.C: change from intl.C
12277
12278         * combox.h:
12279         * combox.C:
12280         * Makefile.am: move combox.*
12281
12282         * form1.h:
12283         * form1.C:
12284         * lyx_gui.C:
12285         * intl.h:
12286         * intl.C: remove dialog (covered by prefs)
12287
12288 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12289
12290         * lyxfunc.C (Dispatch): removed redundant break statement.
12291
12292 2001-03-14  Juergen Vigna  <jug@sad.it>
12293
12294         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12295
12296 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12297
12298         * buffer.C: add hack to fix compability reading of minipages.
12299
12300 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12301
12302         * buffer.C (getLists): Cleanup.
12303
12304 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12305
12306         * lyxfont.C (update): don't honor toggleall on font size.
12307
12308 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * bmtable.c:
12311         * bmtable.h:
12312         * Makefile.am: moved to frontends/xforms/
12313
12314         * lyx_gui_misc.C:
12315         * lyxfunc.C:
12316         * BufferView_pimpl.C: changes for moved mathpanel
12317
12318 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * gettext.h: fix gettext_init() in --disable-nls
12321
12322 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12323
12324         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12325
12326 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * lyx.C:
12329         * lyx.h: strip external form
12330
12331 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12332
12333         * BufferView_pimpl.C: add comment, destroySplash()
12334
12335 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12336
12337         * BufferView_pimpl.C:
12338         * LyXAction.C:
12339         * buffer.C:
12340         * commandtags.h:
12341         * lyxfunc.C: use re-worked insetinclude
12342
12343 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12344
12345         * buffer.C: add using std::stringstream.
12346
12347         * lyx_cb.C: readd using std::ios.
12348
12349         * buffer.C: add using std::map.
12350
12351         * BufferView_pimpl.C: add using std::vector.
12352
12353         * ShareContainer.h: add std:: to swap.
12354
12355         * buffer.h: add some typedefs
12356         * buffer.C (getLists): use them
12357         (getLists): renamed from getTocList.
12358         add a counter for the different float types and use it in the
12359         generated string.
12360         (getLists): use the same counter for the NEW_INSETS and the "non"
12361         NEW_INSETS
12362
12363         * lyx_cb.h: remove unused items, includes, using etc.
12364
12365         * ShareContainer.h: remove some commented code, add more comments
12366         and "documentation".
12367
12368 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12369
12370         * buffer.C (getTocList): make the list also when NEW_INSETS is
12371         defined.
12372
12373         * buffer.h: remove TocType
12374
12375         * buffer.C (getTocList): change to return a map<string,
12376         vector<TocItem> >, implement for dynamic number of list.
12377
12378         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12379         * text2.C (PasteSelection): adjust
12380         * CutAndPaste.C (pasteSelection): adjust
12381
12382         * FloatList.C (FloatList): update from the new_insets branch.
12383         * Floating.[Ch]: ditto
12384         * LaTeXFeatures.C: ditto
12385         * buffer.C: ditto
12386         * lyxlex_pimpl.C: ditto
12387
12388         * paragraph.C (Last): remove when NEW_INSETS is defined.
12389
12390         * other file: changes because of the above.
12391
12392 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12393
12394         * lyxparagraph.h: rename next to next_, previous to previous_,
12395         make them private for NEW_INSETS. Rename Next() to next(),
12396         Previous() to previous().
12397
12398         * other files: changes because of the above.
12399
12400 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12401
12402         * BufferView.h:
12403         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12404         problem.
12405
12406 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12407
12408         * main.C (main): pass lyx_localedir to gettext_init().
12409
12410         * gettext.h: remove locale_init and gettext_init macros
12411
12412         * gettext.C (locale_init): new function
12413         (gettext_init): new function
12414
12415         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12416         setlocale().
12417
12418 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12419
12420         * Moved credits to frontends:
12421         * credits.[Ch]: removed
12422         * credits_form.[Ch]: removed
12423         * lyx_gui_misc.C: remove credits stuff
12424         * Makefile.am:
12425
12426 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12427
12428         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12429
12430         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12431         unneeded destructor.
12432
12433         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12434         a standalone pointer again.
12435
12436         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12437
12438 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12439
12440         * Makefile.am:
12441         * filedlg.h:
12442         * filedlg.C:
12443         * LyXAction.C:
12444         * ToolbarDefaults.C:
12445         * bufferlist.C:
12446         * commandtags.h:
12447         * form1.C:
12448         * form1.h:
12449         * lyx_cb.C:
12450         * lyx_cb.h:
12451         * lyxfunc.h:
12452         * lyxfunc.C:
12453         * BufferView_pimpl.C: use new file dialog in GUII
12454
12455         * lyx_cb.h:
12456         * lyx_cb.C: remove LayoutsCB to Toolbar
12457
12458 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12459
12460         * ShareContainer.h (get): add std:: qualifier
12461
12462 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12463
12464         * ShareContainer.h: define a proper ShareContainer::value_type
12465         type (and use typename to please compaq cxx)
12466
12467 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12468
12469         * lyxparagraph.h: move serveral local vars to
12470         ParameterStruct/ParagraphParameters., use ShareContainer in
12471         FontTable., make vars in FontTable private and add getter and
12472         setter.
12473
12474         * paragraph.C: changes because of the above.
12475
12476         * lyxfont.h: remove copy constructor and copy assignment. (the
12477         default ones is ok), move number inside FontBits. move inlines to
12478         lyxfont.C
12479
12480         * lyxfont.C: add number to initializaton of statics, move several
12481         inlines here. constify several local vars. some whitespace
12482         cleanup. Dont hide outerscope variables.
12483
12484         * Spacing.h: add two new constructors to match the set methods.
12485
12486         * ShareContainer.h: new file, will perhaps be moved to support
12487
12488         * ParameterStruct.h: new file
12489
12490         * ParagraphParameters.h: new file
12491
12492         * ParagraphParameters.C: new file
12493
12494         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12495         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12496
12497         * BufferView_pimpl.C: ParagraphParameter changes.
12498         * buffer.C: Likewise.
12499         * bufferview_funcs.C: Likewise.
12500         * text.C: Likewise.
12501         * text2.C: Likewise.
12502
12503 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12504
12505         * lyxfind.C (LyXReplace): do not redefine default argument in
12506         implementation.
12507         (IsStringInText): ditto
12508         (SearchForward): ditto
12509         (SearchBackward): ditto
12510
12511 2001-03-06  Juergen Vigna  <jug@sad.it>
12512
12513         * lyxfind.C (IsStringInText): put parentes around expressions.
12514
12515 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12516
12517         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12518
12519 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12520
12521         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12522
12523         * stl_string_fwd.h: add comment
12524
12525         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12526
12527         * tabular.h:
12528         * tabular.C: remove unused DocBook methods
12529
12530         * intl.C:
12531         * language.C:
12532         * paragraph.C:
12533         * buffer.C:
12534         killed DO_USE_DEFAULT_LANGUAGE
12535
12536 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12537
12538         * lyx_gui.C: do not include language.h.
12539
12540         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12541         arguments in function implementation.
12542
12543 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12544
12545         * BufferView_pimpl.C: add <ctime>
12546
12547 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12548
12549         * BufferView_pimpl.C: add using std::find_if
12550
12551 2001-02-27  José Matos  <jamatos@fep.up.pt>
12552
12553         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12554         by OnlyPath.
12555
12556 2001-02-11  José Matos  <jamatos@fep.up.pt>
12557
12558         * buffer.C (makeDocBookFile): command styles now have a parameter as
12559         "title" by default.
12560
12561 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12562
12563         * layout_forms.[Ch]: removed
12564         * lyx_cb.[Ch]: out character
12565         * lyx_gui.C: out character
12566         * lyx_gui_misc.C: out character
12567         * bufferview_funcs.C: : out character,
12568         added toggleall as parameter in ToggleAndShow
12569
12570 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12571
12572         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12573
12574         * text2.C (SetCurrentFont): Disable number property at boundary.
12575
12576 2001-02-26  Juergen Vigna  <jug@sad.it>
12577
12578         * lyxfunc.C (getStatus): added a string argument override function so
12579         that this is correctly called from LyXFunc::Dispatch if it contains a
12580         do_not_use_argument which is used!
12581         (Dispatch): added check for "custom" export and call appropriate func.
12582
12583 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12584
12585         * lyxrc.C: Add language_command_local, language_use_babel and
12586         language_global_options.
12587
12588         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12589
12590         * buffer.C (makeLaTeXFile): Use language_use_babel and
12591         language_global_options.
12592
12593 2001-02-23  Juergen Vigna  <jug@sad.it>
12594
12595         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12596         which works with LyXText and putted it inside BufferView. Here now we
12597         only call for that part the BufferView::Dispatch() function.
12598
12599         * BufferView.C (Dispatch): added.
12600
12601         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12602         functions which needs to use a LyXText over from LyXFunc.
12603         (MenuInsertLyXFile): added
12604         (getInsetByCode): added
12605         (moveCursorUpdate): added
12606         (static TEXT): added
12607
12608 2001-02-22  Juergen Vigna  <jug@sad.it>
12609
12610         * BufferView_pimpl.C (update): call a status update to see if LyXText
12611         needs it.
12612
12613 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12614
12615         * vc-backend.C (revert): implement for CVS
12616         (getLog): implement for CVS
12617
12618 2001-02-20  Juergen Vigna  <jug@sad.it>
12619
12620         * text2.C (ClearSelection): added BufferView param for inset_owner call
12621
12622         * lyxfunc.C (TEXT): added this function and use it instead of
12623         directly owner->view()-text of getLyXText().
12624
12625 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12626
12627         * src/layout_forms.C: out preamble
12628         * src/layout_forms.h: out preamble
12629         * src/lyx_cb.C: out preamble
12630         * src/lyx_cb.h: out preamble
12631         * src/lyx_gui.C: out preamble
12632         * src/lyx_gui_misc.C: out preamble
12633         * src/lyxfunc.C: connect with guii preamble
12634
12635 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12636
12637         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12638
12639 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12640
12641         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12642         whether to run bibtex.
12643
12644 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12645
12646         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12647
12648 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12649
12650         * Makefile.am (lyx_SOURCES): removed bibforms.h
12651
12652         * vspace.h: doxygen
12653
12654         * text.C (GetVisibleRow): make several local vars const
12655
12656         * tabular.C: small cleanup.
12657
12658         * lyxserver.C (callback): use compare instead of strncmp
12659
12660         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12661         inlines to after class or to paragraph.C
12662
12663         * lyxfont.h: remove friend operator!=
12664
12665         * converter.h: move friend bool operator< to non friend and after
12666         class def.
12667
12668         * combox.h: small cleanup
12669
12670         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12671         to inlines after class def.
12672
12673         * buffer.C (pop_tag): use string operations instead of strcmp
12674
12675         * bmtable.c: doxygen, small cleanup
12676
12677         * LaTeX.h: remove friend operator==
12678
12679 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12680
12681         * screen.C:
12682         * lyxrc.[Ch]:
12683         * lyxfunc.C:
12684         * lyxfont.[Ch]:
12685         * lyx_cb.C:
12686         * intl.[Ch]:
12687         * commandtags.h:
12688         * buffer.C:
12689         * WorkArea.[Ch]:
12690         * LyXAction.C:
12691         * BufferView_pimpl.C:
12692         * BufferView.[Ch]: remove cruft
12693
12694 2001-02-14  Juergen Vigna  <jug@sad.it>
12695
12696         * lyxfunc.C: removed #if 0 unused code
12697
12698         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12699
12700         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12701
12702         * text2.C (SetSelection): added a BufferView * parameter
12703
12704 2001-02-13  Juergen Vigna  <jug@sad.it>
12705
12706         * lyxfunc.C (Dispatch): fixed protected blank problem.
12707         * BufferView2.C (protectedBlank): added LyxText * parameter.
12708
12709         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12710         (AppendColumn): same as above for column_info.
12711
12712         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12713         (moveCursorUpdate): use a LyXText param for support of InsetText.
12714
12715         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12716         (tripleClick): ditto
12717
12718         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12719
12720         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12721
12722         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12723
12724         * text2.C (SetSelection): set correct update status if inset_owner
12725         (ToggleFree): ditto
12726
12727 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12728
12729         * tabular.C: remove some commented code.
12730
12731 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * BufferView_pimpl.C: call hideSplash()
12734
12735         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12736
12737         * include_form.h:
12738         * bibforms.h: remove
12739
12740         * lyxfunc.C:
12741         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12742           add LFUN_CHILD_CREATE
12743
12744         * counters.h: fix tiny typo
12745
12746         * lyx_cb.C:
12747         * lyx.h:
12748         * lyx_gui.C:
12749         * lyx.C: move splash to frontends/xforms/
12750
12751         * lyx_gui_misc.C: move Include and Bibform to frontends
12752
12753         * lyxvc.h: clarify comment
12754
12755         * vspace.C: tiny housekeeping
12756
12757 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12758
12759         * text.C (PrepareToPrint): RTL Fix.
12760
12761         * paragraph.C (GetUChar): New method.
12762         (String):  Use GetUChar.
12763
12764         * buffer.C (asciiParagraph): Use GetUChar.
12765
12766 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12767
12768         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12769
12770 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12771
12772         * buffer.h:
12773         * buffer.C: rename to getLogName(), handle
12774           build log / latex log nicely
12775
12776 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12777
12778         * MenuBackend.C:
12779         * MenuBackend.h: remove support for reference menuitem type.
12780
12781 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12782
12783         * BufferView_pimpl.C: housekeeping
12784         * BufferView_pimpl.h:
12785         * LyXView.h:
12786         * Makefile.am:
12787         * Timeout.C:
12788         * Timeout.h:
12789         * minibuffer.h: move Timeout GUI-I
12790
12791 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12792
12793         * lyxrc.C (read): Update converters data-structures.
12794
12795 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12796
12797         * LaTeX.h (operator!=): add operator != for Aux_Info
12798
12799 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12800
12801         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12802
12803         * LaTeXLog.C: deleted, useful code moved to Buffer
12804
12805         * buffer.h:
12806         * buffer.C: new function getLatexLogName()
12807
12808         * lyx_gui_misc.C:
12809         * lyx_gui.C:
12810         * lyxvc.C:
12811         * lyxvc.h:
12812         * lyxfunc.C: use frontends for LaTeX and VC logs
12813
12814 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12815
12816         * LaTeX.h: yet another std:: that Allan forgot.
12817
12818         * Variables.C (set): renamed from isset(), because this clashes
12819         with some HP-UX macros (grr).
12820
12821 2001-02-06  Allan Rae  <rae@lyx.org>
12822
12823         * LaTeX.h: Another bug fix.  Missing std:: this time.
12824
12825 2001-02-04  Allan Rae  <rae@lyx.org>
12826
12827         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12828         floats problem. I've left it commented out because it's not quite
12829         correct.  It should also test that the current object is a table or
12830         figure inset.  But I haven't gotten around to figuring out how to do
12831         that.  I *think* it'll be something like: "table" == inset.type()
12832
12833         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12834         bool.
12835
12836 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12837
12838         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12839         all the citation/databases/styles in the auxilary file.
12840         (run): Rerun latex if there was a babel language error.
12841
12842 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12843
12844         * text.C (Backspace): Preserve the font when changing newline char
12845         with a space.
12846         (BreakParagraph): If the cursor is before a space, delete the space.
12847
12848         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12849
12850 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12851
12852         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12853         new argument (code).
12854         (ChangeCitationsIfUnique): New method.
12855
12856         * paragraph.C (GetPositionOfInset): Handle bibkey.
12857
12858 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12859
12860         * BufferView_pimpl.h: change type of Position::par_pos to
12861         LyXParagraph::size_type.
12862
12863 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12864
12865         * BufferView_pimpl.C (savePosition, restorePosition): Write
12866         messages to minibuffer.
12867
12868 2001-01-28  José Matos  <jamatos@fep.up.pt>
12869
12870         * buffer.C (makeDocBookFile): adds support for document language.
12871         A silly restriction on the name of LatexCommand types where removed.
12872         Added support for CDATA sections, allows to chars unescaped, used
12873         among others in code, to avoid escape < and >.
12874
12875 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12876
12877         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12878         saved positions instrad of a stack. Furthermore, a position is
12879         stored using paragraph id/paragraph position.
12880
12881         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12882         Remove LFUN_REF_BACK.
12883
12884 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12885
12886         * converter.C (dvipdfm_options): New method.
12887
12888 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12889
12890         * vspace.C (isValidLength): Fix for empty input string.
12891
12892 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12893
12894         * LyXAction.C (init): change description of LFUN_FIGURE to
12895         "Insert Graphics"
12896
12897 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12898
12899         * LaTeX.C: add using directive
12900
12901 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12902
12903         * MenuBackend.C (expand): Fix the sorting of the formats.
12904
12905 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12906
12907         * lyx_main.C: tiny error message fix
12908
12909 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12910
12911         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12912         calling fl_initialize(). This fixes the problem with ',' as
12913         decimal separator in text files.
12914
12915 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12916
12917         * trans.C (process): Fix the keymap bug.
12918
12919 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12920
12921         * LaTeX.C (scanAuxFiles): New method. Provides support for
12922         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12923         (scanLogFile) Scan for "run BibTeX" messages.
12924
12925         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12926         OT1 font encoding. Also, load the aecompl package if the ae
12927         package is loaded.
12928
12929         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12930
12931 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12932
12933         * texrow.C (increasePos): turn two error messages into debug
12934         messages.
12935
12936 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12937
12938         * LaTeX.C (scanAux): Handle the \@input macro.
12939         (runBibTeX): Use scanAux().
12940
12941         * language.C (latex_options_): New field.
12942
12943         * LaTeXFeatures.C (getMacros): Add language macros.
12944
12945         * buffer.C (makeLaTeXFile): Small fix.
12946
12947 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12948
12949         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12950
12951         * text2.C: add a using directive.
12952
12953 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12954
12955         * BufferView2.C:
12956         * lyx_gui_misc.h:
12957         * lyxfr1.C:
12958         * lyxfunc.C: kill LyXBell.
12959
12960 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12961
12962         * text.C (IsBoundary): Remove the error message
12963
12964         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12965
12966         * lyxrc.C (setDefaults): Correct initialization value for
12967         font_norm_type.
12968
12969 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12970
12971         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12972         gotoError().
12973
12974         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12975         and GotoNextNote().
12976
12977         * src/LyXAction.C: Added reference-next.
12978
12979         * text.C (InsertChar): Use contains instead of strchr.
12980
12981         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12982
12983 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12984
12985         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12986         alignment commands (when needed).
12987
12988         * text.C (InsertChar): Add ':' to number separator chars.