]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Self-consistent header files.
[lyx.git] / src / ChangeLog
1
2 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3
4         * LaTeXFeatures.C:
5         * LyXAction.C:
6         * factory.C:
7         * lfuns.h:
8         * lyxfunc.C:
9         * text3.C: The Box patch. Fancybox support, minipage, parbox
10
11 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
12
13         * CutAndPaste.h:
14         * DepTable.h:
15         * FloatList.h:
16         * LaTeXFeatures.h:
17         * ParagraphParameters.h:
18         * TextCache.h:
19         * Thesaurus.h:
20         * bufferlist.h:
21         * exporter.h:
22         * importer.h:
23         * lastfiles.h:
24         * lyxfind.h:
25         * lyxfont.h:
26         * lyxlex.h:
27         * lyxtextclasslist.h:
28         * messages.h:
29         * paragraph.h:
30         * paragraph_pimpl.C:
31         * textcursor.h: add <string> and other small fixes to make Lars'
32         std::string patch compile with STLport.
33
34 2003-10-06  Angus Leeming  <leeming@lyx.org>
35
36         * LColor.h: Add missing #include <string>.
37
38 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
39
40         * All most all file in all subdirs: Make <string> be the prefered
41         way of getting to std::string, add using declarations.
42
43 2003-10-06  André Pönitz  <poenitz@gmx.net>
44
45         * metricsinfo.C: initialize LyXFont before changing attribute.
46         (fixes the 'math in \emph is upright' bug)
47
48 2003-10-06  André Pönitz  <poenitz@gmx.net>
49
50         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
51
52 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
53
54         * graph.C:
55         * paragraph_pimpl.C: Small fixes to build using STLport
56
57 2003-10-02  André Pönitz  <poenitz@gmx.net>
58
59         * lyxfunc.C:
60         * text3.C: move handling of LFUN_DEPTH *; fix #1360
61
62 2003-10-01  André Pönitz  <poenitz@gmx.net>
63
64         * factory.C: assert early
65
66 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
67
68         * lyx_main.C: remove the global debug object
69
70         * debug.h: adjust for new debugstream
71
72         * debug.C: adjust for new debugstream and keep the global debug
73         object here.
74
75 2003-09-22  Angus Leeming  <leeming@lyx.org>
76
77         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
78         of g++ which otherwise complain that the scoped_ptr destructor can't delete
79         an incomplete class LyXFont.
80
81 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
82
83         * factory.C: bug fix in branches
84
85 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
86
87         * lyxfunc.C (processKeySym): adjust
88         (dispatch): adjust
89         (dispatch): change arg name from ev to func, adjust
90         (sendDispatchMessage): ditto
91
92         * lyx_main.C (defaultKeyBindings): adjust keybindings
93         (deadKeyBindings): ditto
94
95         * kbsequence.C (addkey): return a FuncRequest
96
97         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
98
99         * kbmap.C (bind): take a FuncRequest as arg, adjust
100         (read): adjust
101         (lookup): adjust
102         (defkey): change to take a FuncRequest as arg, adjust
103         (findbinding): take a FuncRequest as arg, adjust.
104
105         * funcrequest.h (operator=): added
106
107         * funcrequest.C (FuncRequest): default kb_action changed from
108         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
109
110         * buffer.C (dispatch): simplify
111         (dispatch): adjust to take a FuncRequest as arg, adjust
112
113         * boost.C (assertion_failed): change assertion message slightly
114
115         * ToolbarBackend.C (read): simplify
116
117         * MenuBackend.C (binding): adjust call to findbinding, add a
118         message if no binding is found.
119         (read): simplify
120         (expandToc): correct by adding a empty FuncRequest
121
122         * LyXAction.C: include <boost/assert.hpp>
123         (isPseudoAction): delete function
124         (LookupFunc): change name to...
125         (lookupFunc): this. change return type to FuncRequest.
126         (getActionName): take kb_action as arg, simplify
127         (funcHasFlag): add an assert, simplify.
128
129 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
130
131         * toc.C (action): return a FuncRequest, simplify
132
133         * lyxfunc.C (processKeySym): adjust
134         (getStatus): delete version that takes an int.
135         (getStatus): adjust
136         (dispatch): delete version that takes action as int
137         (dispatch): adjust
138         (sendDispatchMessage): simplify and adjust
139
140         * funcrequest.C (getArg): take unsigned int as arg
141
142         * ToolbarBackend.C (read): adjust
143         (add): delete version that takes func as a string.
144         (getIton): take a FuncRequest as arg
145
146         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
147         action.
148
149         * MenuBackend.C (MenuItem): add a new construct that only takes a
150         Kind, simplify the constructor use for submenus.
151         (add): adjust
152         (expandLastfiles): adjust
153         (expandDocuments): adjust
154         (expandFormats): adjust
155         (expandFloatListInsert): adjust
156         (expandFloatInsert): adjust
157         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
158
159         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
160         Remove class variables lyx_pseudo_map and lyx_arg_map
161
162         * LyXAction.C (searchActionArg): delete function
163         (getPseudoAction): delete function
164         (retrieveActionArg): delete function
165         (LookupFunc): make it return kb_action, simplify.
166         (getActionName): simplify
167
168         * factory.C (createInset): fix new bug
169
170 2003-09-19  Angus Leeming  <leeming@lyx.org>
171
172         * CutAndPaste.C (pasteSelection): remove fudge used to set the
173         masterFilename_ parameter in the include inset.
174
175         * factory.C (createInset): changes due to the changes to InsetInclude.
176
177 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
178
179         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
180
181 2003-09-18  Angus Leeming  <leeming@lyx.org>
182
183         * buffer.C:
184         * BufferView.C: pass the buffer when calling Inset::getLabelList,
185         Inset::fillWithBibKeys.
186         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
187
188 2003-09-18  Angus Leeming  <leeming@lyx.org>
189
190         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
191         variables.
192         (ctor): pass and store a 'Buffer const &'
193         (buffer): new member function.
194
195         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
196         '*this' to the LaTeXFeatures ctor.
197
198 2003-09-18  Angus Leeming  <leeming@lyx.org>
199
200         * LColor.h:
201         * lyxfont.C:
202         * lyxfont.h:
203         * lyxtext.h:
204         * text.C: rename EnumLColor as LColor_color.
205
206 2003-09-18  Angus Leeming  <leeming@lyx.org>
207
208         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
209         remove #include "insets/insetbase.h" from cursor.h.
210
211 2003-09-18  Angus Leeming  <leeming@lyx.org>
212
213         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
214         InsetOld_code to remove #include "inset.h".
215
216         * iterators.C: add #include "insets/inset.h"
217
218 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
219
220         * BufferView.C: remove more locking stuff that apparently doesn't
221         do anything sensible.
222
223 2003-09-16  André Pönitz  <poenitz@gmx.net>
224
225         * paragraph.[Ch]:
226         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
227           performance boost.
228
229 2003-09-16  Angus Leeming  <leeming@lyx.org>
230
231         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
232
233         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
234         arg/return type.
235
236         * paragraph.h: remove #include "lyxfont.h". Forward declare
237         LyXFont_size.
238
239 2003-09-16  Angus Leeming  <leeming@lyx.org>
240
241         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
242         of support/textutils.h.
243         (isWord): move the contents of support/textutils.h's IsWordChar here.
244
245         * buffer.C:
246         * lyxfind.C:
247         * rowpainter.C:
248         * text.C:
249         * text2.C: add #include "paragraph.h".
250
251         * rowpainter.C:
252         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
253
254 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
255
256         * main.C:
257         * lyx_main.C:
258         * lyx_cb.C:
259         * buffer.C:
260         * LaTeX.C: use namespace alias for lyx::support::os
261
262 2003-09-16  Angus Leeming  <leeming@lyx.org>
263
264         * bufferparams.C:
265         * bufferview_funcs.C:
266         * factory.C:
267         * lyxfunc.C:
268         * paragraph_pimpl.C:
269         * rowpainter.C:
270         * text.C: add #include "LColor.h".
271
272 2003-09-16  Angus Leeming  <leeming@lyx.org>
273
274         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
275         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
276         return LyXFont &.
277         Store the FontBits::color variable as an int rather than as an
278         LColor::colorso that we can move LColor.h out of the lyxfont.h header
279         file.
280
281         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
282         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
283         string calls together.
284
285         * lyxrc.C: add #include "LColor.h".
286
287 2003-09-15  Angus Leeming  <leeming@lyx.org>
288
289         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
290         a cow_ptr.
291
292 2003-09-15  Angus Leeming  <leeming@lyx.org>
293
294         * LColor.h: add an EnumLColor wrapper for LColor::color.
295
296         * lyxfont.[Ch] (color, setColor, realColor):
297         * lyxtext.h, text.C (backgroundColor):
298         pass EnumLColor args to/from the functions, rather than LColor::color
299         ones.
300
301         * lyxfont.h:
302         * lyxtext.h: forward declare EnumLColor.
303
304         * lyx_main.C: add #include "LColor.h".
305
306 2003-09-15  Angus Leeming  <leeming@lyx.org>
307
308         * .cvsignore: add lyx-gtk.
309
310 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
311
312         * Chktex.C
313         * LaTeX.C
314         * LaTeXFeatures.C
315         * ParagraphParameters.C
316         * Spacing.C
317         * buffer.C
318         * bufferparams.C
319         * bufferview_funcs.C
320         * chset.C
321         * counters.C
322         * funcrequest.C
323         * lyxfont.C
324         * lyxgluelength.C
325         * lyxlength.C
326         * paragraph.C
327         * paragraph_funcs.C
328         * text3.C
329         * vc-backend.C: remove usage of STRCONV
330
331 2003-09-15  Angus Leeming  <leeming@lyx.org>
332
333         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
334         explicitly define the color passed to the painter.
335
336 2003-09-15  Angus Leeming  <leeming@lyx.org>
337
338         * bufferparams.C (BufferParams): reorder member initializers to avoid
339         compiler warning.
340
341 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
342
343         * CutAndPaste.C (pasteSelection): remove an outdated #warning
344         * text.C (updateRowPositions): remove an unusual nop
345
346 2003-09-12  André Pönitz  <poenitz@gmx.net>
347
348         * BufferView_pimpl.C:
349         * Bullet.C:
350         * layout.h:
351         * lyxfunc.C:
352         * lyxlayout.[Ch]:
353         * lyxtextclass.C:
354         * rowpainter.C:
355         * text.C:
356         * text2.C:
357         * Counters.[Ch]: finish the 'automatic counters' job
358
359 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
360
361         * aspell.C: include <boost/assert.cpp> (compile fix)
362
363 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
364
365         * boost.C (assertion_failed): use lyx::support::abort instead of
366         assert.
367
368 2003-09-10  Angus Leeming  <leeming@lyx.org>
369
370         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
371         with their _fwd progeny.
372
373 2003-09-09  Angus Leeming  <leeming@lyx.org>
374
375         134 files throughtout the source tree: replace 'using namespace abc;'
376         directives with the appropriate 'using abc::xyz;' declarations.
377
378 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
379
380         * boost.C (emergencyCleanup): moved here from LAssert.c
381         (assertion_failed): new function, called by BOOST_ASSERT
382
383         * several files: change Assert to BOOST_ASSERT
384
385 2003-09-09  Angus Leeming  <leeming@lyx.org>
386
387         * buffer.[Ch]: Add an Impl class and move Buffer's member
388         variables into it. As a result move several header files out of
389         buffer.h.
390
391         Add header files to lots of .C files all over the tree as a result.
392
393 2003-09-09  Angus Leeming  <leeming@lyx.org>
394
395         * buffer.[Ch]: make Buffer's member variables private. Add
396         accessor functions.
397
398         Lots of changes all over the tree as a result.
399
400 2003-09-08  Angus Leeming  <leeming@lyx.org>
401
402         * graph.C: #include <config.h>.
403
404 2003-09-08  Angus Leeming  <leeming@lyx.org>
405
406         * BranchList.C:
407         * BufferView.C:
408         * BufferView_pimpl.C:
409         * CutAndPaste.C:
410         * DepTable.C:
411         * LaTeX.C:
412         * LaTeXFeatures.C:
413         * LyXAction.C:
414         * MenuBackend.C:
415         * TextCache.C:
416         * aspell.C:
417         * buffer.C:
418         * bufferlist.C:
419         * changes.C:
420         * chset.C:
421         * converter.C:
422         * counters.C:
423         * debug.C:
424         * graph.C:
425         * ispell.C:
426         * lyx_cb.C:
427         * lyxfind.C:
428         * lyxfunc.C:
429         * lyxlex_pimpl.C:
430         * lyxrc.C:
431         * lyxrow.C:
432         * paragraph.C:
433         * rowpainter.C:
434         * texrow.C:
435         * text.C:
436         * text2.C:
437         * toc.C: remove redundant using directives.
438
439 2003-09-07  Angus Leeming  <leeming@lyx.org>
440
441         * LaTeXFeatures.h: remove #include "support/types.h".
442         * ToolbarBackend.h: remove #include <algorithm>.
443         * changes.h: remove #include <ctime>.
444         * debug.h: remove #include <iosfwd>.
445         * graph.h: remove #include "support/std_string.h".
446         * lyx_main.h: remove #include <csignal>.
447         * lyxlex_pimpl.h: remove #include <fstream>.
448         * sgml.h: remove #include <algorithm>, <utility>.
449         * toc.h: remove #include "support/std_ostream.h".
450         Add #include <iosfwd>.
451
452 2003-09-07  Angus Leeming  <leeming@lyx.org>
453
454         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
455
456         * converter.h: forward declare LatexRunParams.
457         * encoding.h: remove #include "lyxrc.h".
458         * lyxtext.h: remove #include "LColor.h".
459         * lyxtextclass.h: remove #include "support/types.h".
460         * trans.h: remove #include "tex-accent.h".
461         * trans_mgr.h: remove #include "tex-accent.h".
462         * insets/inset.h: remove #include "support/types.h", <vector>.
463         * insets/insetcollapsable.h: remove #include "LColor.h".
464         * insets/insetinclude.h: remove #include "dimension.h".
465         * insets/insetlatexaccent.h: remove #include "dimension.h".
466         * insets/insetoptarg.h:: remove #include "insettext.h".
467         * insets/insettext.h: remove #include "dimension.h",
468         <boost/shared_ptr.hpp>
469
470         * insets/renderers.h: add #include "dimension.h".
471         * insets/updatableinset.h: add #include "support/types.h".
472
473         * many .C files: Associated changes.
474
475 2003-09-06  Angus Leeming  <leeming@lyx.org>
476
477         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
478         one, inside testInvariant.
479
480         * PrinterParams.C: new file.
481         * PrinterParams.[Ch]: move the function bodies out of line.
482
483 2003-09-06  Angus Leeming  <leeming@lyx.org>
484
485         * ParagraphParameters.h: forward declare ParameterStruct rather than
486         including its header file.
487         (depth): moved out-of-line.
488
489 2003-09-06  Angus Leeming  <leeming@lyx.org>
490
491         * BufferView_pimpl.h:
492         * kbmap.h:
493         * kbsequence.h:
494         * lyxfunc.h: forward declare LyXKeySym rather than
495         #include "frontends/LyXKeySym.h".
496
497         * BufferView_pimpl.C:
498         * kbmap.C:
499         * kbsequence.C:
500         * lyxfunc.C: associated changes.
501
502 2003-09-06  Angus Leeming  <leeming@lyx.org>
503
504         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
505         As a result, can remove the #include "insets/inset.h" from BufferView.h
506
507 2003-09-06  Angus Leeming  <leeming@lyx.org>
508
509         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
510         As a result, can remove the #include "insets/inset.h" from BufferView.h
511
512 2003-09-06  Angus Leeming  <leeming@lyx.org>
513
514         * buffer_funcs.C:
515         * buffer.h:
516         * bufferlist.C:
517         * BufferView.C:
518         * bufferview_funcs.C:
519         * BufferView_pimpl.C:
520         * CutAndPaste.C:
521         * lyx_cb.C:
522         * lyxfunc.C:
523         * paragraph.h:
524         * ParagraphParameters.C:
525         * tabular.C:
526         * text3.C:
527         * toc.C:
528         * undo_funcs.C:
529         * frontends/controllers/ControlDocument.C:
530         * insets/insetcaption.C: rearrange the #includes into some sort of
531         coherent order.
532
533         * buffer.h: remove #includes ErrorList.h, undo.h
534
535 2003-09-06  Angus Leeming  <leeming@lyx.org>
536
537         * support/types.h: add a 'depth_type' typedef, used to store the
538         nesting depth of a paragraph.
539
540         * paragraph.h:
541         * ParameterStruct.h: use this lyx::depth_type typedef rather than
542         defining explicitly.
543
544         * buffer.h:
545         * paragraph_funcs.h:
546         * ParagraphParameters.h:
547         * sgml.h: use lyx::depth_type rather than Paragraph or
548         ParameterStruct's depth_type.
549
550         * buffer.h
551         * paragraph_funcs.h: no need to #include paragraph.h anymore.
552
553         * BufferView.C:
554         * BufferView_pimpl.C:
555         * CutAndPaste.C:
556         * ParagraphParameters.C:
557         * buffer_funcs.C:
558         * bufferlist.C:
559         * bufferview_funcs.C:
560         * lyx_cb.C:
561         * lyxfunc.C:
562         * tabular.C:
563         * text3.C:
564         * toc.C:
565         * undo_funcs.C:
566         * frontends/LyXView.C:
567         * frontends/controllers/ControlDocument.C:
568         * frontends/controllers/ControlErrorList.C:
569         * insets/insetbibitem.C:
570         * insets/insetbranch.C:
571         * insets/insetcaption.C:
572         * insets/insetcollapsable.C:
573         * insets/insetenv.C:
574         * insets/insetert.C:
575         * insets/insetfloat.C:
576         * insets/insetfoot.C:
577         * insets/insetfootlike.C:
578         * insets/insetnewline.C:
579         * insets/insetquotes.C:
580         * insets/insettabular.C:
581         * insets/insettext.C:
582         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
583
584         * frontends/controllers/ControlChanges.C: #include "changes.h".
585
586 2003-09-06  Angus Leeming  <leeming@lyx.org>
587
588         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
589         than #including paragraph.h.
590
591         * ParagraphList.h:
592         * RowList.h: deleted. Superfluous.
593
594         * CutAndPaste.h:
595         * iterators.h:
596         * lyxcursor.h:
597         * lyxtext.h:
598         * text_funcs.h:
599         * undo.h:
600         * undo_funcs.h:
601         * insets/inset.h:
602         * insets/insettext.h: use ParagraphList_fwd.h rather than
603         ParagraphList.h.
604
605         * paragraph.h: don't forward declare ParagraphList.
606
607         * buffer.h:
608         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
609         rather than ParagraphList.h. paragraph.h is still needed for the
610         Paragraph::depth_type parameters.
611
612         * textcursor.h: enable it to compile stand-alone in light of the
613         above changes.
614
615         * bufferview_funcs.C:
616         * iterators.C:
617         * lyxfunc.C:
618         * lyxrow_funcs.C:
619         * paragraph.C:
620         * rowpainter.C:
621         * text.C:
622         * text2.C:
623         * text3.C:
624         * text_funcs.C:
625         * textcursor.C:
626         * undo.C:
627         * frontends/controllers/ControlParagraph.C:
628         * frontends/controllers/ControlTabular.C:
629         * insets/insetmarginal.C:
630         * insets/insetminipage.C:
631         * insets/insetnote.C:
632         * insets/insetoptarg.C: add header files needed to compile again.
633
634 2003-09-06  Angus Leeming  <leeming@lyx.org>
635
636         * RowList_fwd.h: new file, forward-declaring Row rather than
637         #including lyxrow.h.
638
639         * lyxrow_funcs.h:
640         * lyxtext.h:
641         * paragraph.h:
642         * insets/insettext.h: use it instead of RowList.h
643
644         * bufferview_funcs.C:
645         * lyxfunc.C:
646         * lyxrow_funcs.C:
647         * paragraph.C:
648         * rowpainter.C:
649         * text.C:
650         * text2.C:
651         * text3.C: #include "RowList.h".
652
653 2003-09-05  Angus Leeming  <leeming@lyx.org>
654
655         * factory.C (createInset):
656         * vspace.C (c-tor): replace sscanf call with an istringstream.
657         * ispell.C: re-add missing HP/UX headers.
658         * lyxserver.C: re-add missing  os2 headers.
659
660 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
661
662         * BranchList.C:
663         * graph.C:
664         * ispell.C:
665         * lastfiles.C:
666         * lyx_cb.C:
667         * lyxserver.C:
668         * texrow.C:
669         * text3.C: re-add missing system headers, needed for 2.95.2.
670
671 2003-09-05  Angus Leeming  <leeming@lyx.org>
672
673         Changes most place everywhere due to the removal of using directives
674         from support/std_sstream.h.
675
676 2003-09-05  Angus Leeming  <leeming@lyx.org>
677
678         Replace LString.h with support/std_string.h,
679         Lsstream.h with support/std_sstream.h,
680         support/LIstream.h with support/std_istream.h,
681         support/LOstream.h with support/std_ostream.h.
682
683         Changes resulting throughout the tree.
684
685 2003-09-05  Angus Leeming  <leeming@lyx.org>
686
687         * sgml.h: ensure that the header file can be compiled stand-alone.
688         * *.C: strip out redundant #includes. (320 in total.)
689
690 2003-09-04  Angus Leeming  <leeming@lyx.org>
691
692         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
693         here (from getPackages).
694
695         * debug.[Ch]: add a new EXTERNAL tag.
696
697 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
698
699         * text2.C (cursorEnd): simplify
700         (setCursor): adjust
701         (getColumnNearX): adjust
702
703         * text.C (computeBidiTables): adjust
704         (fill): adjust
705
706         * rowpainter.C (paintChars): adjust
707         (paintSelection): adjust
708         (paintChangeBar): adjust
709         (paintText): adjust
710
711         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
712         lastPos instead.
713         (numberOfSeparators): adjust
714
715 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
716
717         * LyXAction.C:
718         * box.[Ch]:
719         * lfuns.h:
720         * lyxfunc.C:
721         * text3.C: Restricts the mouse click functionality
722         of insets like bibtex, include, toc and floatlist to the visible
723         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
724         up the dialogs. Cursor has to be in front of the inset (i.e.
725         start of row) for this to function.
726
727 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
728
729         * bufferview_funcs.C (currentState): output row information
730
731 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
732
733         * bufferview_funcs.C (currentState): output paragraph position
734
735 2003-09-04  Angus Leeming  <leeming@lyx.org>
736
737         * FloatList.h: move out #include "Floating.h".
738         * LaTeX.h: move out #include "DepTable.h".
739         * LyXAction.h: move out #include "funcrequest.h".
740         * buffer.h: move out #include "author.h", "iterators.h".
741         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
742         * lyx_main.h: move out #include "errorlist.h".
743         * lyxfunc.h: move out #include "FuncStatus.h".
744         * lyxtext: move out #include "lyxcursor.h".
745         * paragraph_pimpl.h: move out #include "counters.h".
746
747 2003-09-03  Angus Leeming  <leeming@lyx.org>
748
749         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
750         preamble_snippets list, enabling us to add snippets to the preamble
751         only if the snippet was not there already.
752
753 2003-09-04  Angus Leeming  <leeming@lyx.org>
754
755         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
756
757 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
758
759         * lyxfunc.C (dispatch): if fitCursor did something be sure to
760         update
761
762 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
763
764         * BranchList.C: point fix, earlier forgotten
765
766 2003-09-02  Angus Leeming  <leeming@lyx.org>
767
768         * box.C (contains): renamed from 'contained' after a fantastic
769         amount of hot air.
770
771 2003-09-02  John Levon  <levon@movementarian.org>
772
773         * BufferView.C:
774         * lyxcursor.h:
775         * lyxcursor.C:
776         * lyxfunc.C:
777         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
778
779 2003-09-02  John Levon  <levon@movementarian.org>
780
781         * text2.C: simplification of cursorEnd(), including partial
782         fix for bug 1376
783
784 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
785
786         * buffer.C (readFile): add a space
787
788 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
789
790         * BufferView_pimpl.C (update): remove bogus fitCursor() call
791
792 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
793
794         * buffer.C (readFile): new function, take a filename and a
795         ParagraphList::iterator
796         (readFile): adjust
797         (readFile): adjust, make it private. don't use setStream, make
798         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
799         always contain the filename.
800
801         * BufferView.C (insertLyXFile): simplify and make it work for
802         gzipped files.
803
804 2003-08-30  John Levon  <levon@movementarian.org>
805
806         * Makefile.am: fix dist (from Kayvan)
807
808 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
809
810         * most files: change to use const Buffer refs
811
812 2003-08-27  André Pönitz  <poenitz@gmx.net>
813
814         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
815         on top of ownerPar().
816
817 2003-08-27  John Levon  <levon@movementarian.org>
818
819         * funcrequest.C: properly initialise POD members
820
821 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
822
823         * lyxtext.h (top_y): move top_y from here
824         * text.C:
825         * text2.C:
826         * text3.C:
827         * BufferView.[Ch]:
828         * BufferView_pimpl.[Ch]: to here
829         * frontends/screen.C:
830         * insets/insettabular.C:
831         * insets/insettext.C: adjust
832         * rowpainter.[Ch] (paintRows): remove LyXText & argument
833
834 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
835
836         * BufferView.[Ch]:
837         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
838
839 2003-08-26  André Pönitz  <poenitz@gmx.net>
840
841         * paragraph_func.[Ch] (outerPar): new function
842
843         * paragraph.C:
844         * paragraph_funcs.C:
845         * paragraph_funcs.h:
846         * paragraph_pimpl.C:
847         * text2.C: remove Inset::par_owner
848
849 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
850
851         * lyxrow_funcs.C:
852         * lyxtext.h:
853         * text.C:
854         * text2.C: eliminates the needFullRow/display() stuff
855         altogether, putting the logic in metrics/draw in the insets.
856
857 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
858
859         * text2.C (redoParagraphInternal, redoParagraphs):
860         * text.C (redoParagraph): add a call to updateRowPositions at the
861         end of each 'metrics-like' call. Remove all others.
862         (getRow): remove the 'y-computing' version.
863         (getRowNearY): do not compute nor return the real y. Solve the
864         'y < 0' problem and simplify.
865
866 2003-08-22  Angus Leeming  <leeming@lyx.org>
867
868         * *.[Ch]: clean-up of licence and author blurbs.
869         Also move config.h out of a few .h files and into a few .C files.
870
871 2003-08-22  André Pönitz  <poenitz@gmx.net>
872
873         * lyxrow.[Ch]: add x_ and *fill_ members
874
875         * lyxtext.h:
876         * text.C:
877         * rowpainter.C:
878         * text2.C: adjust/remove prepareToPrint() calls
879
880 2003-08-22  André Pönitz  <poenitz@gmx.net>
881
882         * lyxrow.[Ch]: add  end_ member
883
884         * lyxrow_funcs.C: use LyXRow::end_
885
886         * lyxtext.h (singleWidth): add LyXFont parameter
887
888         * rowpainter.C:
889         * text2.C: adjust LyXText::singleWidth() calls
890
891         * text.C (redoParagraph): simplify row breaking logic
892
893
894 2003-08-19  André Pönitz  <poenitz@gmx.net>
895
896         * funcrequest.C: initialize button_ member
897
898         * text3.C:
899         * rowpainter.[Ch]: interface consolidation
900
901 2003-08-18  André Pönitz  <poenitz@gmx.net>
902
903         * BufferView.C:
904         * BufferView_pimpl.C:
905         * lyxfind.C:
906         * paragraph_funcs.C:
907         * rowpainter.C:
908         * text3.C: remove LyXScreen::draw() and fitCursor calls
909
910         * BranchList.h: remove spurious semicolons
911
912         * MenuBackend.C: fix branchlist related crash
913
914 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
915
916         * BranchList.[Ch]:
917         * InsetList.[Ch]:
918         * LColor.[Ch]:
919         * LyXAction.C:
920         * Makefile.am:
921         * MenuBackend.[Ch]:
922         * bufferparams.[Ch]:
923         * factory.C:
924         * lfuns.h:
925         * lyxfunc.C:
926         * text3.C: implements the 'branch inset'
927         idea. This allows the output of various versions of a document
928         from a single source version, selectively outputing or suppressing
929         output of parts of the text.
930         This implementation contains a 'branch list editor' in a separate
931         tab of the document settings dialog. Branches are user definable
932         and have a "display colour" to distinguish them on-screen.
933
934         ColorHandler was somewhat cleaned up.
935         (1) make possible a dynamically growing LColor list by allowing
936         the graphic context cache to grow along (vector);
937         (2) eliminate an IMHO unnecessary step in colour allocation.
938
939 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
940
941         * BufferView_pimpl.C: compile fix
942
943 2003-08-15  André Pönitz  <poenitz@gmx.net>
944
945         * rowpainter.C: remove extra metrics calls
946
947         * lyxtext.h: merge the two constructors into a single one,
948           pass reference to owner's par list
949
950         * BufferView_pimpl.C:
951         * text.C:
952         * text2.C: adjust
953
954 2003-08-15  André Pönitz  <poenitz@gmx.net>
955
956         * lyxrow_funcs.[Ch]:
957         * lyxtext.h:
958         * paragraph.h:
959         * paragraph_funcs.C:
960         * rowpainter.C:
961         * text.C:
962         * text2.C:
963         * text3.C:
964         * text_funcs.C: split LyXText::rowlist_ into individual
965         Paragraph::rows_ chunks
966
967         * BufferView.[Ch]:
968         * BufferView_pimpl.[Ch]:
969         * lyxfind.C:
970         * lyxtext.h:
971         * text3.C: remove toggleSelection()
972
973 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
974
975         * bufferlist.C: beautify two alerts (shorter text of buttons)
976         * buffer.C: Remove redundant ' ' from message
977         * tabular.h:
978         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
979         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
980         rename VALIGN_CENTER to VALIGN_MIDDLE
981
982 2003-08-11  André Pönitz  <poenitz@gmx.net>
983
984         * lyxtext.h (getPar):
985         * text.C: new function
986
987 2003-08-11  André Pönitz  <poenitz@gmx.net>
988
989         * Makefile.am:
990         * tracer.[Ch]: remove unneeded files
991
992         * InsetList.[Ch]: remove resizeInsetsLyXText()
993
994         * lyxtext.h:
995         * text.C:
996         * text2.C:
997         * text3.C: merge insertParagraphs() and appendParagraph()
998         remove breakAgain(), update()
999
1000         * BufferView_pimpl.[Ch]:
1001         * bufferview_funcs.[Ch]:
1002         * lyxfunc.C:
1003         * paragraph.[Ch]:
1004         * rowpainter.C:
1005         * tabular.C: adjust after text & InsetList changes.
1006
1007 2003-08-08  André Pönitz  <poenitz@gmx.net>
1008
1009         * text.C (insertChar, backspace): replace rowlist fiddling
1010         with rebreak of full par
1011
1012         * lyxtext.h:
1013         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1014         checkParagraph, updateInset): removed
1015
1016 2003-08-07  André Pönitz  <poenitz@gmx.net>
1017
1018         * paragraph.C:
1019         * text3.C: merge some LFUN handlers, remove dead code
1020
1021 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1022
1023         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1024
1025 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1026
1027         * text2.C (DEPM): fix part of bug 1255 and 1256
1028
1029 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1030
1031         * BufferView_pimpl.C (workAreaDispatch): change to use
1032         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1033         that are no mouse related.
1034
1035 2003-08-05  André Pönitz  <poenitz@gmx.net>
1036
1037         * BufferView.[Ch]:
1038         * BufferView_pimpl.[Ch]:
1039         * bufferview_funcs.C:
1040         * text2.C:
1041         * text3.C: rip out "deep update"
1042
1043         * textcursor.[Ch] (last_sel_cursor): remove unused member
1044
1045 2003-08-04  André Pönitz  <poenitz@gmx.net>
1046
1047         * BufferView.[Ch]:
1048         * BufferView_pimpl.[Ch]:
1049         * ParagraphParameters.C:
1050         * bufferview_funcs.C:
1051         * lyx_cb.C:
1052         * lyxfind.C:
1053         * lyxfunc.C:
1054         * text.C:
1055         * text2.C:
1056         * text3.C: replace "complicated" BufferView::update(...) calls with
1057         simpler ones.
1058
1059         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1060
1061 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1062
1063         * Makefile.am (lyx_SOURCES): add paper.h
1064
1065 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1066
1067         * Makefile.am: move things around so that both lyx-qt and
1068         lyx-xforms can be built (according to --with-frontend). Then lyx
1069         is a symbolic link to lyx-[firstfrontend]
1070
1071 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1072
1073         * Always use std::endl with lyxerr
1074
1075 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1076
1077         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1078
1079 2003-08-01  André Pönitz  <poenitz@gmx.net>
1080
1081         * BufferView.[Ch]:
1082         * BufferView_pimpl.[Ch]:
1083         * lyxfunc.C:
1084         * text3.C: merge BufferView::repaint() and BufferView::update()
1085
1086 2003-08-01  José Matos  <jamatos@lyx.org>
1087
1088         * buffer.[Ch]: file_format is no longer a buffer data element.
1089
1090 2003-08-01  André Pönitz  <poenitz@gmx.net>
1091
1092         * BufferView.C:
1093         * lyxtext.h:
1094         * text.C:
1095         * text2.C: make redoParagraph more independent of current cursor
1096
1097         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1098         * text.C:
1099         * text2.C: remove unneeded members
1100
1101 2003-07-30  André Pönitz  <poenitz@gmx.net>
1102
1103         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1104
1105         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1106           create a single function...
1107
1108         * paragraph_funcs.C (moveItem): ... here.
1109
1110         * text.C:
1111           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1112
1113 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1114
1115         * LColor.[Ch]: Add comment and greyedout logical colors.
1116
1117 2003-07-30  André Pönitz  <poenitz@gmx.net>
1118
1119         * tabular.C: don't use Assert too heavily. This crashes where it
1120           shouldn't
1121
1122 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1123
1124         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1125         is disabled (bug 1232)
1126
1127 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1128
1129         * factory.C: limited 'arg' scope
1130
1131 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1132
1133         * factory.C: fixed Note submenu issues
1134
1135 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1136
1137         * factory.C: submenu for Note/Comment/Greyedout
1138
1139 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1140
1141         * lyx_main.C (LyX):
1142         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1143
1144 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1145
1146         * LaTeXFeatures.C:
1147         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1148         greyedout. Patch provided by Jürgen Spitzmüller.
1149
1150 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1151
1152         * kbmap.C (read): fix error message when reading bind files
1153
1154 2003-07-29  Angus Leeming  <leeming@lyx.org>
1155
1156         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1157         certainly does not do what it purports to do. I am doing it, and
1158         us, a favour by killing it.
1159
1160 2003-07-28  José Matos  <jamatos@lyx.org>
1161
1162         * buffer.C (readBody, do_writeFile):
1163         * paragraph.C(readParagraph): \end_document replaces \the_end.
1164
1165 2003-07-29  André Pönitz  <poenitz@gmx.net>
1166
1167         * BufferView.[Ch]:
1168         * BufferView_pimpl.[Ch]:
1169         * lyxfunc.C:
1170         * text2.C:
1171         * text3.C:
1172         * textcursor.[Ch]: remove toggleToggle & Co
1173
1174 2003-07-28  José Matos  <jamatos@fep.up.pt>
1175
1176         * buffer.C (readParagraph):
1177         * params_func (readParToken, readParagraph):
1178         * paragraph.C (write): \layout -> \begin_layout.
1179
1180 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1181
1182         * lyxlex_pimpl.C (setFile): clean up slightly.
1183
1184         * bufferparams.h: add compressed var
1185
1186         * buffer_funcs.C (readFile): adjust for LyXLex change
1187         (newFile): ditto + simplify
1188
1189         * buffer.C (writeFile): handle writing of compressed files
1190
1191         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1192         Check if the file is compressed and set a bufferparm if so.
1193
1194         * Makefile.am (lyx_LDADD): remove explicit -lz
1195
1196 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1197
1198         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1199         makeDocBookFile): put the real LyX version in the first line of
1200         the file
1201
1202         * version.h:
1203         * version.C.in: remove lyx_docversion
1204
1205         * tabular.C (write_attribute): add a template-based version to
1206         write enums properly
1207
1208 2003-07-28  André Pönitz  <poenitz@gmx.net>
1209
1210         * lyxtext.h:
1211         * text.C:
1212         * text2.C:
1213         * text3.C: use doubles again for x-coordinates. They are needed.
1214
1215 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1216
1217         * messages.C (getLocaleDir): use lyx_localedir()
1218
1219         * lyxlex_pimpl.C (setFile): compress stuff
1220
1221         * buffer.C (writeFile): add some compression stuff
1222         (do_writeFile): new func, dont call expliti close... will this
1223         breake anything?
1224
1225         * Makefile.am (lyx_LDADD): add -lz
1226
1227 2003-07-28  José Matos  <jamatos@fep.up.pt>
1228
1229         * buffer.C: increment file format.
1230         * paragraph_funcs (readParagraph, readParToken):
1231         * paragraph.C (readParagraph): add \end_layout.
1232
1233 2003-07-27  Angus Leeming  <leeming@lyx.org>
1234
1235         * Makefile.am: remove special casing for configure-time setting of
1236         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1237
1238         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1239         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1240
1241 2003-07-26  André Pönitz  <poenitz@gmx.net>
1242
1243         * paragraph_func.[Ch]:
1244         * paragraph.C (realizeFont): inline it whereever it is used
1245
1246         * rowpainter.C:
1247         * text.C:
1248         * text2.C:
1249         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1250
1251
1252 2003-07-26  André Pönitz  <poenitz@gmx.net>
1253
1254         *       lyxtext.h:
1255         * text.C:
1256         * text2.C: get rid of LyXText::need_break_row
1257
1258 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1259
1260         * toc.[Ch]: put namespace toc inside namespace lyx
1261
1262         * MenuBackend.C (expandToc2): adjust for lyx::toc
1263         (expandToc): ditto
1264
1265         * lyxfunc.C (dispatch): adjust for lyx::find
1266
1267         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1268         lyx::find instead. Reorganize a bit.
1269         (LyXReplace): rename to replace
1270         (LyXFind): rename to find
1271
1272         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1273         (dispatch): ditto
1274
1275 2003-07-26  André Pönitz  <poenitz@gmx.net>
1276
1277         * text.C (setHeightOfRow): restrict scope of temporary variable
1278
1279         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1280           code (never has been used?)
1281
1282 2003-07-27  Asger Alstrup  <alstrup@local>
1283
1284         * text.C (fill): Optimise algorithm to exploit that we can reuse
1285         the LyXFont for many characters.
1286         (setHeightOfRow): Same thing.
1287         (rowBreakPoint): Same thing.
1288
1289 2003-07-26  Asger Alstrup  <alstrup@local>
1290
1291         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1292
1293         * text.C (singleWidth): Spurious font copying in hot-spot
1294         singleWidth avoided. Reorder tests for arabic for efficiency.
1295
1296         * text.C (fill): handle empty paragraphs better.
1297
1298 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         * ispell.C:
1301         * encoding.h: add includes
1302
1303         * lyxrc.C: remove reading of bind files
1304
1305         * lyx_main.C (init): setup bindings and menus only if we have a
1306         gui.
1307
1308         * kbmap.C (read): new method. Do the actual reading of bind
1309         files.
1310
1311         * converter.C (dvipdfm_options):
1312         * bufferparams.C:
1313         * lyxrc.C (read):
1314         (output): adapt PAPER_* enums.
1315
1316         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1317
1318         * bufferparams.h: remove paper-related enums from there
1319
1320         * paper.h: New file. A trivial header file to hold paper-related
1321         enums. It should later expand to contain many paper-related
1322         horrors access.
1323
1324         * lyxrc.C: declare extern displayTranslator
1325
1326 2003-07-27  José Matos  <jamatos@fep.up.pt>
1327
1328         * tabular.[Ch] (linuxdoc): add support for tables and figures
1329         (linuxdoc).
1330
1331 2003-07-27  José Matos  <jamatos@fep.up.pt>
1332
1333         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1334         consistency in both functions.
1335         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1336
1337 2003-07-26  Asger Alstrup  <alstrup@local>
1338
1339         * rowpainter.C (paintRows): Change algorithm to work directly on
1340         the insets rather than asking every character in the document
1341         whether its an inset.
1342
1343 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1344
1345         * buffer.C (openFileWrite): factorize some code
1346
1347 2003-07-26  Angus Leeming  <leeming@lyx.org>
1348
1349         * lyx_cb.C:
1350         * lyx_main.[Ch]: replace occurances of system_tempdir with
1351         os::getTmpDir().
1352
1353 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1354
1355         * rename Inset to InsetOld
1356
1357 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1358
1359         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1360         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1361         which I think is a bit clearer. EDIT is gone, since it was
1362         premature optimisation, and broken for mathed anyway.
1363         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1364         with cursor positioning in insets as well (math insets still do not
1365         work, but that's a different story anyway.) It mysteriously
1366         crashes sometimes with undo in the first paragraph, but I'm fairly
1367         confident that this is a compiler bug.
1368
1369 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1370
1371         * paragraph.C (Paragraph): adjust for new clone return type
1372         (operator==): ditto
1373         (copyIntoMinibuffer): ditto
1374
1375 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1376
1377         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1378         by not having a special case, and always doing a full rebreak of
1379         the document after undo.
1380
1381 2003-07-23  Angus Leeming  <leeming@lyx.org>
1382
1383         * factory.C (createInset): InsetExternal::setParams now takes a
1384         Buffer const * arg.
1385
1386 2003-07-23  Angus Leeming  <leeming@lyx.org>
1387
1388         * factory.C (createInset): changed interface to the external and
1389         graphics mailers' string2params functions.
1390
1391 2003-07-23  Angus Leeming  <leeming@lyx.org>
1392
1393         * factory.C (createInset): pass a
1394         Buffer const * parameter to InsetExternalMailer's string2params.
1395
1396 2003-07-22  John Levon  <levon@movementarian.org>
1397
1398         * Thesaurus.h: include the right aiksaurus header
1399
1400 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1401
1402         * MenuBackend.C (expand): check menu shortcuts unconditionally
1403
1404 2003-07-21  Angus Leeming  <leeming@lyx.org>
1405
1406         * factory.C (createInset): pass a
1407         buffer_path parameter to InsetGraphicsMailer's string2params.
1408
1409 2003-07-21  Angus Leeming  <leeming@lyx.org>
1410
1411         * BufferView_pimpl.C (buffer):
1412         * buffer.C (d-tor):
1413         * lyx_main.C (LyX):
1414         * lyxfunc.C (dispatch):
1415         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1416         rather than the grfx shortcut.
1417
1418 2003-07-21  André Pönitz  <poenitz@gmx.net>
1419
1420         * rowpainter.C: remove unused variables
1421
1422         * tabular_funcs.C:
1423         * tabular_funcs.h: move to tabular.C
1424         * Makefile.am: adjust
1425
1426         * tabular.[Ch]: basic optical cleaning
1427
1428         * author.h: pass references, not values
1429
1430 2003-07-18  André Pönitz  <poenitz@gmx.net>
1431
1432         * lyxtext.h:
1433         * metricsinfo.C:
1434         * metricsinfo.h:
1435         * rowpainter.C:
1436         * text.C:
1437         * text2.C:
1438         * text3.C: two-phase drawing for InsetText and InsetTabular
1439         some float -> int changes.
1440
1441 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1442
1443         * lyx_main.C: fix the fix
1444
1445 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1446
1447         * lyx_main.C: fix a crash in batch mode if no files specified
1448         * converter.C: ws
1449
1450 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1451
1452         * format.[Ch] (papersize): moved to BufferParams
1453         * converter.[Ch] (dvips_options): moved to BufferParams
1454         (dvipdfm_options): moved to anon namespace
1455         * bufferparams.[Ch]: added above functions.
1456
1457 2003-07-17  André Pönitz  <poenitz@gmx.net>
1458
1459         * lyxtext.h:
1460         * rowpainter.C:
1461         * text2.C: don't call inset->update() anymore
1462
1463         * metricsinfo.[Ch]: add convenience constructor
1464
1465 2003-07-16  André Pönitz  <poenitz@gmx.net>
1466
1467         * lyxcursor.[Ch]:
1468         * lyxfunc.[Ch]:
1469         * text.C:
1470         * text2.C: replace the LyXCursor::irow_ member with
1471          on-demand computation of the value
1472
1473 2003-07-16  John Levon  <levon@movementarian.org>
1474
1475         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1476
1477 2003-07-15  André Pönitz  <poenitz@gmx.net>
1478
1479         * text.C:
1480         * text2.C: remove no more needed refresh_row
1481
1482 2003-07-15  André Pönitz  <poenitz@gmx.net>
1483
1484         * lyxtext.h:
1485         * rowpainter.C:
1486         * text2.C:
1487         * text3.C: refresh_status tristate -> need_update bool
1488
1489 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1490
1491         * lyxtext.h (init): remove reinit argument (act as if always true)
1492         * text2.C: adjust to that
1493
1494 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1495
1496         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1497         * text3.C: use it to delete selections in some cases
1498         (bugs 441, 673, 702, 954).
1499
1500 2003-07-14  André Pönitz  <poenitz@gmx.net>
1501
1502         * rowpainter.[Ch]: reduce interface
1503
1504 2003-07-14  André Pönitz  <poenitz@gmx.net>
1505
1506         * BufferView_pimpl.C:
1507         * text2.C: adjust after removing unused BufferView * argument
1508
1509 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1510
1511         * text2.C (init): fix a crash fired on resize
1512
1513 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1514
1515         * buffer.[Ch]: added new closing signal
1516         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1517         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1518         BufferView::Pimpl via the closing the signal
1519
1520 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1521
1522         * buffer.[Ch]: take out all bv-related from buffer
1523         * BufferView.C:
1524         * BufferView_pimpl.[Ch]: connect to new signals
1525         * CutAndPaste.C: removed useless asserts
1526         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1527         * lyxvc.[Ch]:
1528         * vc-backend.[Ch]:
1529         * lyxfunc.C: moved view-related funciontality from vc here
1530         * paragraph.C: removed outdated comments
1531         * text.C: ws
1532
1533 2003-07-10  André Pönitz  <poenitz@gmx.net>
1534
1535         * BufferView_pimpl.C:
1536         * tabular.h:
1537         * tabular_funcs.C:
1538         * text.C:
1539         * text2.C: remove InsetText::InnerCache, clean up consequences
1540
1541 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1542
1543         * ispell.C: fix two typos in error messages
1544
1545 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1546
1547         * Extend Note inset to other forms of annotation like Comment
1548         and Greyedout. Right button click gives dialog.
1549
1550         Files modified or added (+):
1551
1552         * insetnote.[Ch]
1553         * FormNote.[Ch]      +
1554         * ControlNote.[Ch]   +
1555         * form_note.fd       +
1556         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1557         frontends/controllers
1558         * xforms/Dialogs.C
1559         * factory.C
1560
1561 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1562
1563         * aspell.C: add missing namespace lyx::support
1564
1565 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1566
1567         * BufferView.[Ch] (newFile): Add
1568         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1569         * LaTeX.[Ch] (message): added this signal and use it
1570         * buffer.[Ch] (busy, message): added these signals and use them
1571         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1572         * converter.C:
1573         * exporter.C:
1574         * format.C:
1575         * importer.C: use buffer signals instead of direct bv calling
1576         * lyx_cb.[Ch] (ShowMessage): removed
1577         * lyx_main.C:
1578         * lyxfunc.C:
1579         * paragraph_funcs.C:
1580         * text2.C: use buffer signals
1581
1582 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1583
1584         * introduce namespace lyx::graphics
1585
1586 2003-07-02  André Pönitz  <poenitz@gmx.net>
1587
1588         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1589
1590 2003-07-01  André Pönitz  <poenitz@gmx.net>
1591
1592         * text.C:
1593         * text2.C:
1594         * text3.C:
1595         * text_funcs.[Ch]:
1596         * textcursor.h:
1597         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1598           text*.C to text_func.C
1599
1600 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1601
1602         * introduce namespace lyx::support
1603
1604 2003-06-30  André Pönitz  <poenitz@gmx.net>
1605
1606         * Chktex.C:
1607         * funcrequest.C:
1608         * lyxtext.h:
1609         * text.C: re-enable --with-included-string
1610
1611 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1612
1613         * textcursor.C: add <config.h>
1614
1615         * text.C (getWord): remove const from word_location arg
1616
1617         * lyxvc.C (getLogFile): fix const type order
1618
1619         * lyxtext.h: remove const from word_location arg, add arg name
1620
1621         * lyxlayout.h: currect type on labeltype.
1622
1623         * importer.C: correct \file
1624
1625         * converter.C (intToFormat): use std:: on ret val, ws changes
1626
1627         * bufferlist.h: correct \file
1628
1629         * buffer.C (makeLinuxDocFile): fix const type order
1630         (makeDocBookFile): ditto
1631         (fillWithBibKeys): use std:: on stdlib args.
1632
1633         * CutAndPaste.C: fix authors.
1634         (availableSelections): use std:: on return vector
1635
1636 2003-06-27  André Pönitz  <poenitz@gmx.net>
1637
1638         * BufferView_pimpl.C:
1639         * bufferview_funcs.C:
1640         * lyxcursor.C:
1641         * lyxcursor.h:
1642         * lyxfunc.C:
1643         * lyxtext.h:
1644         * rowpainter.C:
1645         * text.C:
1646         * text2.C:
1647         * text3.C: remove LyXCursor::row_ member
1648
1649         * lyxtext.h:
1650         * text.C: rename fullRebreak() to partialRebreak() and implement
1651           a fullRebreak() that really bereks fully
1652
1653         * textcursor.h: new struct for cursor-related data
1654
1655 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1656
1657         * lyx_main.C (LyX): get full path of document loaded on the
1658         command line
1659
1660 2003-06-26  André Pönitz  <poenitz@gmx.net>
1661
1662         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1663           remove unused/broken operator>,<,>=.
1664
1665         *       text.C: remove only use of broken operator<= in an Assert().
1666
1667 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1668
1669         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1670         moved errorlist_.clear to showErrorList
1671
1672 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1673
1674         * converter.C (scanLog, runLaTeX):
1675         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1676         move the bv->showErrorList call to the callers
1677         * lyxfunc.C: i.e. here...
1678         * text2.C: and here
1679         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1680         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1681         namespace, the second to...
1682         * buffer_funcs (BufferFormat, parseErrors): added
1683         * errorlist.C (ErrorList(TeXErrors const &)): removed
1684
1685 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1686
1687         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1688
1689 2003-06-24  "Garst R. Reese" <reese@isn.net>
1690
1691         * debug.C: fix typo
1692
1693 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1694
1695         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1696
1697         * version.C.in: change docversion to 1.4
1698
1699 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1700
1701         * buffer.C: fix a bug just introduced
1702
1703 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1704
1705         * buffer.[Ch]: added the parseError signal and use it, removed
1706         sgmlError
1707         * BufferView.[Ch] (addError): moved to ...
1708         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1709         to the Buffer::parseError signal to catch (guess what) parse errors
1710         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1711
1712 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1713
1714         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1715         ability to create a buffer and to return an existing one from
1716         the list. Moved these functions to...
1717         * buffer_funcs.[Ch]: added
1718         * BufferView.[Ch] (loadLyXFile): added
1719         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1720         job removed from bufferlist::loadLyXFile.
1721         * buffer.C (setReadOnly): make it work without view
1722         (i.e added an if (users))
1723
1724 2003-06-19  Angus Leeming  <leeming@lyx.org>
1725
1726         * lfuns.h:
1727         * LyXAction.C (init):
1728         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1729         with LFUN_DIALOG_SHOW <name> <data>.
1730
1731 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1732
1733         * CutAndPaste.C (availableSelections): small compilation fix for
1734         ancient (gcc 2.9x) compilers
1735
1736 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1737
1738         * text3.C (cursorNext): add tmp var
1739
1740         * text2.C (updateCounters): for function calling out of for clause
1741         (replaceSelectionWithString): ditto
1742         (insertStringAsParagraphs): ditto
1743         (getColumnNearX): add tmp var
1744         (setCursorFromCoordinates): add tmp var
1745         (cursorDownParagraph): add tmp var
1746         (deleteEmptyParagraphMechanism): add tmp var
1747
1748         * text.C (insertChar): add tmp var
1749
1750         * rowpainter.C (paintDepthBar): add tmp var
1751
1752         * CutAndPaste.C (availableSelections): potentially check all
1753         paragraphs in a cut to fill the shown strings.
1754
1755 2003-06-18  André Pönitz  <poenitz@gmx.net>
1756
1757         * kbmap.[Ch]: use vector<> instead of list<>
1758
1759 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1760
1761         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1762         pasteSelection with index
1763
1764         * text2.C (pasteSelection): modify, call pasteSelection with index
1765
1766         * paragraph.C (asString): reimplement version with no interval to
1767         call the one with interval.
1768
1769         * lyxtext.h: add index arg to pasteSelection
1770
1771         * MenuBackend.C (MenuItem): handle PasteRecent
1772         (Menu::read::Menutags): add md_pasterecent
1773         (read): handle it
1774         (expandPasteRecent): new function
1775         (expand): use it
1776
1777         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1778
1779         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1780         the limited stack
1781         (availableSelections): new function
1782
1783 2003-06-17  Angus Leeming  <leeming@lyx.org>
1784
1785         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1786
1787 2003-06-17  Angus Leeming  <leeming@lyx.org>
1788
1789         * lfuns.h:
1790         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1791
1792         * lyxfunc.C (dispatch): invoke it.
1793
1794 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1795
1796         * iterators.C (operator++, ParPosition): reintroduce some
1797         const_cast for the benefit of older compilers.
1798
1799 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1800
1801         * text3.C (dispatch): do not modify clipboard when doing
1802         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1803         LFUN_DELETE_SKIP on a selection selection
1804
1805 2003-06-16  André Pönitz  <poenitz@gmx.net>
1806
1807         * BufferView.C:
1808         * buffer.C:
1809         * buffer.h:
1810         * paragraph.C:
1811         * tabular.[Ch]: IU of clone() and getLabelList();
1812
1813 2003-06-13  André Pönitz  <poenitz@gmx.net>
1814
1815         * tabular.h: compactification
1816
1817 2003-06-12  André Pönitz  <poenitz@gmx.net>
1818
1819         * tabular.C:
1820         * tabular.h:
1821         * tabular_funcs.h: some renaming plus whitespace
1822
1823 2003-06-12  André Pönitz  <poenitz@gmx.net>
1824
1825         * BufferView.C:
1826         * BufferView_pimpl.C:
1827         * CutAndPaste.C:
1828         * buffer.C:
1829         * iterators.[Ch]:
1830         * lyxfunc.C:
1831         * text.C:
1832         * toc.C: Return a Paragraph & for ParIterator::operator*()
1833
1834 2003-06-11  John Levon  <levon@movementarian.org>
1835
1836         * lyx_main.C:
1837         * ToolbarBackend.h:
1838         * ToolbarBackend.C: add "Toolbars" section and
1839         put the flags there
1840
1841 2003-06-10  Angus Leeming  <leeming@lyx.org>
1842
1843         * lfuns.h:
1844         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1845
1846         * lyxfunc.C (dispatch): invoke it.
1847
1848 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1849
1850         * main.C: protect <ios> with HAVE_IOS
1851         (main): protect sync_with_stdio with HAVE_IOS
1852
1853 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1854
1855         * text2.C (cutSelection): adjust
1856         (pasteSelection): adjust
1857
1858         * messages.C: handle get of empty string
1859
1860         * main.C (main): use sync_with_stdio(false)
1861
1862         * lyxfunc.C (dispatch): adjust
1863
1864         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1865         (WriteAs): remove unneeded BufferView arg.
1866
1867         * bufferparams.h: use correct types on papersize, papersize2 and
1868         paperpackage.
1869
1870         * bufferparams.C (readToken): adjust for type
1871         (writeLaTeX): add missing cases to switch.
1872
1873         * bufferlist.C (quitWriteBuffer): adjust
1874         (close): adjust
1875
1876         * buffer.C (asciiParagraph): remove some commented code.
1877
1878         * CutAndPaste.C: remove current_view extern variable.
1879         (cutSelection): add BufferParams arg.
1880         (eraseSelection): add BufferParams arg.
1881         (pasteSelection): add Buffer const & arg
1882
1883 2003-06-07  John Levon  <levon@movementarian.org>
1884
1885         * buffer.C:
1886         * paragraph_funcs.C:
1887         * paragraph_pimpl.C:
1888         * text.C:
1889         * text2.C:
1890         * paragraph.h:
1891         * paragraph.C: allow InsetERT to freely space lines,
1892         and some consolidation of code
1893
1894 2003-06-06  José Matos  <jamatos@fep.up.pt>
1895
1896         * buffer.C (makeDocBookFile): fix bug #821
1897
1898 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1899
1900         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1901
1902 2003-06-04  Angus Leeming  <leeming@lyx.org>
1903
1904         * buffer.C: bump format to 224.
1905
1906 2003-06-05  André Pönitz  <poenitz@gmx.net>
1907
1908         * text2.C (redoParagraphs): remove two const_cast<>
1909
1910 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1911
1912         * ParagraphList.h: remove last remnants of NO_STD_LIST
1913
1914 2003-06-03  Angus Leeming  <leeming@lyx.org>
1915
1916         * factory.C (createInset): small change to the way InsetExternal's params
1917         are set.
1918
1919 2003-06-04  André Pönitz  <poenitz@gmx.net>
1920
1921         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1922
1923         * paragraph_pimpl.h:
1924         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1925
1926         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1927
1928         * undo_funcs.C: make some simple cases of undo work again
1929
1930 2003-06-03  John Levon  <levon@movementarian.org>
1931
1932         * ispell.C: HPUX doesn't have sys/select.h
1933         (from Albert Chin)
1934
1935 2003-06-03  John Levon  <levon@movementarian.org>
1936
1937         * CutAndPaste.C: update tabular and include inset
1938         buffer references
1939
1940         * buffer.h:
1941         * paragraph.h:
1942         * paragraph.C: remove owningBuffer(), don't pass Buffer
1943         to clone()
1944
1945         * factory.C: insetGraphicsParams changed
1946
1947 2003-06-02  John Levon  <levon@movementarian.org>
1948
1949         * LyXAction.C:
1950         * factory.C:
1951         * lfuns.h:
1952         * lyxfunc.C:
1953         * text3.C: remove insetparent
1954
1955 2003-06-02  John Levon  <levon@movementarian.org>
1956
1957         * buffer.h:
1958         * buffer.C: fix inset_iterator.end(), move out of line
1959         (bug 1149)
1960
1961 2003-06-01  John Levon  <levon@movementarian.org>
1962
1963         * text3.C: use a proper cut/paste when doing inset
1964         insert (from Jürgen Spitzmüller)
1965
1966 2003-06-01  John Levon  <levon@movementarian.org>
1967
1968         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1969
1970 2003-05-30  André Pönitz  <poenitz@gmx.net>
1971
1972         * rowpainter.C: unify second drawing phase
1973
1974 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1975
1976         * trans_mgr.C: remove one case of current_view
1977
1978         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1979
1980         * paragraph_funcs.h: remove paragraph.h include
1981
1982         * paragraph.h: delete NO_STD_LIST stuff
1983
1984         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1985
1986         * buffer.h: remove paragraph.h include
1987
1988         * ParagraphList.C: delete file
1989
1990         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1991
1992         * toc.C (getTocList): adjust
1993
1994         * paragraph_pimpl.C (validate): adjust
1995
1996         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1997
1998         * paragraph.C (Paragraph): adjust
1999         (getPositionOfInset): use const_iterator, adjust
2000         (bibitem): use const_iterator, adjust
2001         (setInsetOwner): adjust
2002
2003         * iterators.C (operator++): adjust
2004
2005         * InsetList.[Ch]: Replace selfmade iterator with standard
2006         vector::iterator also introduce const_iterator. Remove getPos,
2007         getInset and setInset from InsetTable. Adjust accordingly.
2008
2009         * BufferView.C (lockInset): adjust
2010         (ChangeInsets): adjust
2011
2012         * tabular.[Ch]: delete commented same_id functions
2013
2014 2003-05-28  John Levon  <levon@movementarian.org>
2015
2016         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2017
2018 2003-05-28  André Pönitz  <poenitz@gmx.net>
2019
2020         * metricsinfo.[Ch]: remove 'fullredraw' member
2021
2022 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2023
2024         * lyxtextclass.C (operator): remove caching.
2025
2026 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2027
2028         * text3.C: adjust
2029
2030         * text2.C (cursorBottom): adjust
2031         (setCounter): use ParagraphList::find, adjust
2032
2033         * text.C (workWidth): use ParagraphList::find, adjust
2034
2035         * lyxcursor.C (LyXCursor): adjust
2036
2037         * buffer.C (inset_iterator): adjust
2038
2039         * ParagraphList.h: make iterator(value_type) private, make
2040         ParagraphList a friend of iterator.
2041
2042         * ParagraphList.C (find): new function
2043
2044         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2045
2046 2003-05-27  André Pönitz  <poenitz@gmx.net>
2047
2048         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2049
2050 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2051
2052         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2053
2054 2003-05-26  John Levon  <levon@movementarian.org>
2055
2056         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2057
2058 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2059
2060         * remove same_id from function signatures, adjust.
2061
2062 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2063
2064         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2065
2066         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2067
2068         * paragraph.C (Paragraph): get rid of same_ids parameter
2069
2070         * ParagraphList.C (insert): adjust
2071         (push_back): adjust
2072
2073 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2074
2075         * paragraph_funcs.C (breakParagraph): adjust
2076         (breakParagraphConservative): adjust
2077
2078         * buffer.C (readParagraph): adjust
2079
2080         * ParagraphList.C (insert): take a reference instead of a pointer
2081         (insert): adjust
2082
2083         * paragraph.[Ch] (id): new function
2084
2085         * bufferlist.C (newFile): adjust
2086
2087         * ParagraphList.C (ParagraphList): adjust
2088         (assign): adjust
2089         (push_back): take a reference instead of a pointer.
2090
2091         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2092
2093         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2094         instead.
2095
2096         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2097         set else use old code.
2098
2099         * ParagraphList.C: remove all NO_NEXT code and only compile this
2100         code of NO_STD_LIST is set.
2101
2102 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2103
2104         * BufferView_pimpl.C:
2105         * TextCache.C:
2106         * TextCache.h:
2107         * bufferlist.C:
2108         * errorlist.h:
2109         * format.C:
2110         * format.h:
2111         * graph.C:
2112         * lyxfunc.C:
2113         * lyxrc.C:
2114         * graphics/GraphicsConverter.C:
2115         * graphics/PreviewLoader.C: header adjustment
2116
2117 2003-05-23  Angus Leeming  <leeming@lyx.org>
2118
2119         * LaTeXFeatures.[Ch] (useBabel): new method.
2120         * bufferparams.C (writeLaTeX): use it.
2121
2122 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2123
2124         * ParagraphList.h (set): remove unused function.
2125
2126 2003-05-23  André Pönitz  <poenitz@gmx.net>
2127
2128         * BufferView.C:
2129         * BufferView_pimpl.C:
2130         * buffer.C:
2131         * buffer.h:
2132         * lyxfunc.C:
2133         * undo_funcs.C: setUndo reworked
2134
2135         * iterators.[Ch]: add access to topmost ParagraphList
2136
2137         * lyxtext.[Ch] (workWidth): add a const
2138
2139 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2140
2141         * texrow.[Ch] (increasePos): remove function
2142         * exporter.C (export): removed unused var and outdated comment
2143
2144 2003-05-23  Angus Leeming  <leeming@lyx.org>
2145
2146         * latexrunparams.h: rename fragile as moving_arg.
2147         * paragraph.C (simpleTeXOnePar): ditto.
2148         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2149
2150 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2151
2152         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2153         (createUndo): ditto
2154         (textUndoOrRedo): comment out a currently unused var.
2155
2156         * paragraph.h (NO_NEXT): enable NO_NEXT
2157
2158         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2159
2160         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2161
2162         * exporter.C (Export): adjust for removeAutoInsets removal.
2163
2164         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2165
2166         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2167
2168         * BufferView.[Ch] (removeAutoInsets): delete function
2169
2170 2003-05-22  Angus Leeming  <leeming@lyx.org>
2171
2172         * latexrunparams.h: add a free_spacing variable.
2173
2174         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2175         to pass moving_arg, as the data is stored in runparams.fragile.
2176
2177         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2178         to Inset::latexOptional or to simpleTeXOnePar.
2179
2180         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2181         free_spacing arg to Inset::latexOptional.
2182
2183         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2184         free_spacing arg.
2185
2186 2003-05-22  Angus Leeming  <leeming@lyx.org>
2187
2188         * latexrunparams.h: add fragile and use_babel variables.
2189
2190         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2191         * buffer.C (makeLaTeXFile): store this returned value in
2192         runparams.use_babel, thus passing it to the inset::latex methods.
2193
2194         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2195         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2196
2197         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2198         longer has a fragile arg, as it is stored in runparams.fragile.
2199
2200         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2201         moving_arg parameter as the data is stored in runparams.fragile.
2202
2203         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2204         a fragile parameter as the data is stored in runparams.fragile.
2205
2206 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2207
2208         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2209
2210 2003-05-22  Angus Leeming  <leeming@lyx.org>
2211
2212         * latexrunparams.h: add a 'bool nice' which defaults to false.
2213
2214         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2215         now encapsulated within runparams.
2216
2217         * bufferlist.C (updateIncludedTeXfiles):
2218         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2219
2220 2003-05-22  Angus Leeming  <leeming@lyx.org>
2221
2222         * latexrunparams.h: new file containing struct LatexRunParams.
2223         * Makefile.am: add new file.
2224
2225         * LaTeX.[Ch] (c-tor, run):
2226         * buffer.[Ch] (makeLaTeXFile):
2227         * bufferlist.[Ch] (updateIncludedTeXfiles):
2228         * converter.C (convert, scanLog):
2229         * converter.[Ch] (runLaTeX):
2230         * exporter.C (Export):
2231         * paragraph.[Ch] (simpleTeXOnePar):
2232         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2233         * paragraph_funcs.[Ch] (latexParagraphs):
2234         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2235         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2236         pass around a LatexRunParams parameter.
2237
2238 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2239
2240         * paragraph.[Ch]: remove unused constructor
2241
2242         * ParagraphList.C (erase): new function, taking two iterators
2243
2244 2003-05-22  André Pönitz  <poenitz@gmx.net>
2245
2246         * undo_funcs.C: remove duplicated code
2247
2248         * iterator.[Ch]: operator=
2249
2250 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2251
2252         * tabular.C (SetMultiColumn): ws changes
2253
2254         * rowpainter.C (paintFirst): get rid of a ->previous
2255
2256         * lyx_cb.C (getPossibleLabel): parlist simplification
2257
2258         * BufferView.C (ChangeInsets): simplify slightly.
2259
2260 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2261
2262         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2263         * lfuns.h: new LFUN_SPACE
2264         * lyxfunc.C: protected space has a new lfun
2265         * paragraph_funcs.C: read new space insets
2266         * text3.C:
2267         * factory.C: handle new space insets
2268
2269 2003-05-22  André Pönitz  <poenitz@gmx.net>
2270
2271         * BufferView.C:
2272         * BufferView_pimpl.C:
2273         * buffer.[Ch]:
2274         * lyxfunc.C:
2275         * undo_funcs.C: return a ParIterator from getParFromID.
2276
2277         * iterators.[Ch]: add two const's
2278
2279 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2280
2281         * toc.C (getTocList): adjust
2282
2283         * iterators.[Ch]: rework for parlist
2284
2285         * buffer.C (par_iterator_begin): adjust
2286         (par_iterator_end): adjust
2287
2288         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2289
2290         * BufferView.C (removeAutoInsets): adjust
2291         (ChangeInsets): adjust
2292
2293 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2294
2295         * text.C (top_y): fix bug 1110
2296
2297 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2298
2299         * errorlist.[Ch]: added
2300         * buffer.C:
2301         * BufferView.[Ch]:
2302         * BufferView_pimpl.C:
2303         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2304         instead
2305
2306 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2307
2308         * Makefile.am: ensure that lyx is relinked upon changes to the
2309         various "convenience" libs.
2310
2311 2003-05-20  Angus Leeming  <leeming@lyx.org>
2312
2313         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2314         files are compiled in alphabetical order again.
2315
2316         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2317
2318 2003-05-19  Angus Leeming  <leeming@lyx.org>
2319
2320         * gettext.[Ch]: remove "char const * _(char const *)".
2321
2322 2003-05-19  André Pönitz  <poenitz@gmx.net>
2323
2324         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2325
2326         * Makefile.am:
2327         * BufferView.C:
2328         * DepTable.h:
2329         * LaTeXFeatures.C:
2330         * buffer.C:
2331         * lyxfont.C:
2332         * lyxlex.h:
2333         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2334
2335 2003-05-19  André Pönitz  <poenitz@gmx.net>
2336
2337         * buffer.C:
2338         * lyxlayout.[Ch]:
2339         * lyxtextclass.[Ch]:
2340         * paragraph.C:
2341         * paragraph_funcs.[Ch]:
2342         * text2.C:
2343         * text3.C: more insetenv work
2344
2345 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2346
2347         * ParagraphParameters.C (params2string): small bug fixed
2348
2349 2003-05-16  André Pönitz  <poenitz@gmx.net>
2350
2351         * debug.C:
2352         * bufferview_funcs.C: patch from Kornel Benko to prevent
2353           crash when _(...) is called twice in a statement
2354
2355 2003-05-16  André Pönitz  <poenitz@gmx.net>
2356
2357         * BufferView.C:
2358         * lyxfunc.C:
2359         * text.C:
2360         * text2.C:
2361         * text3.C:
2362         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2363
2364 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2365
2366         * lyx_main.C (init): remove spurious static_cast
2367
2368 2003-05-14  André Pönitz  <poenitz@gmx.net>
2369
2370         * BufferView.C: fix format string
2371
2372 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2373
2374         * BufferView.[Ch] (insertErrors): removed
2375         * BufferView.[Ch] (showErrorList): added
2376         * buffer.C (runChkTeX):
2377         * converter.C (scanLog): call showErrorList instead of inserterrors
2378
2379 2003-05-13  André Pönitz  <poenitz@gmx.net>
2380
2381         * BufferView_pimpl.C:
2382         * buffer.C:
2383         * bufferview_func.C:
2384         * MenuBackend.C:
2385         * lyxfunc.C:
2386         * lyxrc.C:
2387         * tex-accent.C:
2388         * text3.C:
2389         * toc.C:
2390         * tabular_funcs.h: tostr() from its own header
2391
2392         * ParagraphParameters.C:
2393         * ToolbarBackend.C:
2394         * bufferparams.C:
2395         * format.C:
2396         * lyxlex_pimpl.C:
2397         * text3.C: STRCONV()
2398
2399 2003-05-12  André Pönitz  <poenitz@gmx.net>
2400
2401         * BufferView.C:
2402         * BufferView_pimpl.C:
2403         * CutAndPaste.C:
2404         * LaTeX.C:
2405         * LaTeXFeatures.C:
2406         * ParagraphParameters.C:
2407         * buffer.C:
2408         * bufferlist.C:
2409         * bufferparams.C:
2410         * bufferview_funcs.C:
2411         * converter.C:
2412         * counters.C:
2413         * debug.C:
2414         * exporter.C:
2415         * format.C:
2416         * importer.C:
2417         * lyx_cb.C:
2418         * lyx_main.C:
2419         * lyxfont.C:
2420         * lyxfunc.C:
2421         * lyxvc.C:
2422         * paragraph.C:
2423         * paragraph_funcs.C:
2424         * tabular.C:
2425         * tabular_funcs.C:
2426         * text2.C:
2427         * text3.C:  boost::format -> bformat  all over the place
2428
2429
2430 2003-05-09  André Pönitz  <poenitz@gmx.net>
2431
2432         * LColor.[Ch]: Pimpl the #include <map> away
2433
2434 2003-05-09  John Levon  <levon@movementarian.org>
2435
2436         * bufferlist.C: never remove emergency saves
2437
2438 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2439
2440         * Makefile.am: better lib building
2441
2442 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2443
2444         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2445         instead.
2446         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2447         (simpleTeXSpecialChars): adjust
2448         (simpleTeXSpecialChars): adjust
2449         * paragraph.C (simpleTeXOnePar): adjust
2450         * buffer.C (makeLaTeXFile): adjust
2451
2452         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2453
2454         * text2.C (changeDepth): parlist cleanup
2455         (getColumnNearX): ditto
2456
2457         * rowpainter.C (getLabelFont): parlist cleanup
2458
2459         * bufferlist.C (newFile): parlist cleanup
2460
2461         * CutAndPaste.C (eraseSelection): parlist cleanup
2462
2463         * BufferView_pimpl.C (trackChanges): parlist cleanup
2464         (dispatch): ditto
2465
2466         * BufferView.C (lockInset): parlist cleanup.
2467         (ChangeInsets): ditto
2468
2469 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * CutAndPaste.h: Update file header.
2472
2473         * CutAndPaste.C: Update file header.
2474         Store the parts cut out of the Document in a limited_stack.
2475         (copySelection): adjust
2476         (pasteSelection): new function, takes the index in the limited stack.
2477         (nrOfParagraphs): adjust
2478         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2479         simplify error inset insertion.
2480         (checkPastePossible): adjust
2481
2482 2003-05-06  John Levon  <levon@movementarian.org>
2483
2484         * text2.C: don't cast wrap inset to float
2485
2486 2003-05-05  André Pönitz  <poenitz@gmx.net>
2487
2488         * iterator.C:
2489         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2490
2491         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2492           few naked Paragraph *.
2493
2494 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2495
2496         * bufferparams.C: Output warning if a document with missing
2497         TeX document class is loaded
2498         * exporter.C: Disable TeX exports if the document class is missing
2499         * lyxtextclass.C:
2500         * lyxtextclass.h:
2501         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2502         isTeXClassAvailable()
2503
2504 2003-05-03  John Levon  <levon@movementarian.org>
2505
2506         * BufferView.h:
2507         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2508         explicit cursor show/hide
2509
2510         * BufferView_pimpl.h:
2511         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2512         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2513
2514         * lyxfunc.C: hide cursor before dispatching.
2515
2516         * lyx_cb.C:
2517         * lyxfind.C:
2518         * text.C:
2519         * text3.C: remove explicit cursor hides
2520
2521 2003-05-02  André Pönitz  <poenitz@gmx.net>
2522
2523         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2524
2525         * undo_funcs.C:
2526         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2527           linked lists
2528
2529         * text2.C: tiny whitespace
2530
2531 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2532
2533         * undo_funcs.C: almost only ws changes.
2534
2535         * ParagraphList.C (splice): just return if pl is empty.
2536
2537 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * ParagraphList.C (splice): new function.
2540
2541         * CutAndPaste.C (pasteSelection): use it
2542
2543 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * CutAndPaste.C (pasteSelection): remove the last next and
2546         previous from this file.
2547
2548 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2549
2550         * CutAndPaste.C (pasteSelection): more clean up, user proper
2551         ParagraphList functions for pasteing.
2552
2553         * ParagraphList.C (insert): new function, three arg insert
2554
2555 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2556
2557         * ParagraphList.C (insert): new function, three arg insert
2558
2559         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2560         not on paragraphs.
2561
2562 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2563
2564         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2565
2566 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2567
2568         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2569
2570 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2571
2572         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2573         (copySelection): clean up a bit.
2574         (pasteSelection): use make_pair
2575
2576         * ParagraphList.C (ParagraphList): implement copy constructor
2577         (operator=): implement, base on copy constructor.
2578         (assign): new func
2579
2580         * paragraph.C (erase): return a bool
2581
2582         * paragraph_pimpl.C (erasePos): remove function, move contents...
2583         (erase): ... here. Return a bool.
2584         (erase): call erase instead of erasePos.
2585
2586 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2587
2588         * ParagraphList.h: define PitPosPair
2589         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2590         ParagraphList, fix a bug on pasting multiple pars
2591         * text2.C: change interface to C&P
2592
2593 2003-04-30  André Pönitz  <poenitz@gmx.net>
2594
2595         * undo_func.C: revert part of yesterday's patch 2
2596
2597 2003-04-30  John Levon  <levon@movementarian.org>
2598
2599         * LColor.C: s/tabular/table/
2600
2601 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2602
2603         * text3.C (dispatch): do not convert iterator -> pointer
2604         * undo_funcs.C (setCursorParUndo): ditto
2605         * text_funcs.C (transposeChars): ditto
2606
2607         * text2.C (setLayout): ws changes only
2608
2609         * text.C (breakParagraph): do not convert iterator -> pointer
2610         (insertChar): ditto
2611         (acceptChange): ditto
2612         (rejectChange): ditto
2613         (changeCase): ditto
2614         (Delete): ditto
2615         (backspace): ditto
2616
2617         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2618         pointer
2619
2620 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2621
2622         * text3.C (gotoInset): YABG (yet another bad getChar)
2623
2624 2003-04-29  André Pönitz  <poenitz@gmx.net>
2625
2626         * paragraph.h: make operator= private unimplemented as long as
2627           it is unusable
2628
2629         * ParagraphList.C: whitespace
2630
2631         * paragraph.[Ch]:
2632         * paragraph_pimpl.[Ch]:
2633         * paragraph_funcs.C:
2634         * CutAndPaste.C:
2635         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2636
2637         * text2.C:
2638           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2639
2640 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2641
2642         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2643         * paragraph.[Ch] (erase):
2644         * paragraph_pimpl.[Ch] (erase): change return type and value
2645         * text2.C (cutSelection): some rework
2646
2647 2003-04-28  John Levon  <levon@movementarian.org>
2648
2649         * bufferlist.C: changes for unsaved changes dialog
2650
2651 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2652
2653         * bufferlist.C (newFile): set language (messages_) for new
2654         documents also.
2655
2656         * buffer.C (readFile): ws changes only.
2657
2658 2003-04-28  André Pönitz  <poenitz@gmx.net>
2659
2660         * undo_funcs.C:
2661         * lyxfunc.C:
2662         * buffer.[Ch]:
2663         * BufferView_pimpl.C:
2664         * BufferView.C: getParFromID related ParagraphList::iterator changes
2665
2666 2003-04-28  André Pönitz  <poenitz@gmx.net>
2667
2668         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2669           Changes
2670
2671 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2672
2673         * messages.C: remove one more localedir class variable.
2674
2675 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2676
2677         * messages.C (getLocaleDir): singleton generation function
2678         (Pimpl): use it.
2679         (Messages): add a default constructor.
2680
2681         * main.C (main): do not setup localedir here, do not call
2682         gettext_init.
2683
2684         * gettext.C (_): use it.
2685         (gettext_init): delete funciton
2686
2687 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2688
2689         * gettext.C (getLyXMessages): new singleton generating function.
2690
2691         * buffer.C (updateDocLang): adjust
2692
2693         * Makefile.am (messages.o): add target
2694         (main.o): remove target
2695
2696 2003-04-27  John Levon  <levon@movementarian.org>
2697
2698         * bufferlist.C:
2699         * lyx_cb.C:
2700         * lyxfunc.C:
2701         * lyxvc.C: specify cancel button in Alert::prompt
2702
2703 2003-04-26  John Levon  <levon@movementarian.org>
2704
2705         * text3.C:
2706         * lyxfunc.C:
2707         * lfuns.h:
2708         * LyXAction.C: add LFUN_INSET_SETTINGS
2709
2710         * lyxfunc.C: don't enable tabular-feature when there's
2711         just any locking inset
2712
2713 2003-04-26  John Levon  <levon@movementarian.org>
2714
2715         * bufferlist.C: re-add Cancel to buffer close question
2716
2717         * lyxfunc.C: fix import UI a bit
2718
2719 2003-04-25  John Levon  <levon@movementarian.org>
2720
2721         * gettext.C: remove the broken asserts for now
2722
2723 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2724
2725         * messages.C: make case where setlocale cannot comply work better.
2726
2727         * buffer.C (updateDocLang): new function
2728         (changeLanguage): use it
2729         (readFile): use it
2730
2731         * text2.C (setCounter): use B_ a bit.
2732
2733         * lyxlayout.C (Read): be sure to trim the label strings.
2734
2735         * messages.C (Messages): fix typo in comment
2736
2737         * buffer.C (readFile): set message_ after file is loaded.
2738         (makeDocBookFile): remove double return
2739         (changeLanguage): reset message_ upon language change.
2740         (B_): new func, use this to get translated buffer strings.
2741
2742         * main.C: add myself and Jean Marc as authors.
2743
2744 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2745
2746         * messages.[hC]: pimplify Messages, and three different pimpls to be
2747         used in different circumstances.
2748
2749         * gettext.[Ch]: change for use with new message code.
2750
2751 2003-04-24 André Pönitz <poenitz@gmx.net>
2752
2753         * factory.C: support for eqref
2754
2755 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2756
2757         * messages.[Ch]: add missing char
2758
2759         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2760
2761         * messages.[Ch]: New files
2762
2763 2003-04-18  John Levon  <levon@movementarian.org>
2764
2765         * BufferView.h:
2766         * BufferView.C:
2767         * BufferView_pimpl.C:
2768         * lfuns.h:
2769         * LyXAction.C:
2770         * lyxtext.h:
2771         * text2.C: remove layout-copy/paste (bug 778)
2772
2773 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2774
2775         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2776
2777 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2778
2779         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2780         if they succeed. Act accordingly.
2781
2782 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2783
2784         * text2.C (setCharFont): adjust
2785         (setCounter): adjust
2786         (insertStringAsLines): adjust
2787
2788         * text.C (leftMargin): adjust
2789         (setHeightOfRow): adjust
2790
2791         * rowpainter.C (paintFirst): adjust
2792         (paintLast): adjust
2793
2794         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2795         (outerHook): ditto
2796         (isFirstInSequence): ditto
2797         (getEndLabel): ditto
2798         (outerFont): adjust
2799
2800         * paragraph.C (getParLanguage): comment out some hard stuff.
2801
2802         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2803         (sgmlError): ditto
2804         (simpleDocBookOnePar): ditto
2805         (makeDocBookFile): use ParagraphList::iterator
2806
2807         * CutAndPaste.C (pasteSelection): adjust
2808
2809 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * text2.C (getFont): adjust
2812         (getLayoutFont): adjust
2813         (getLabelFont): adjust
2814
2815         * paragraph_funcs.C (TeXOnePar): adjust
2816
2817         * buffer.C (simpleLinuxDocOnePar): adjust
2818         (simpleDocBookOnePar): adjust
2819
2820         * CutAndPaste.C (pasteSelection): adjust
2821
2822         * BufferView.C (getEncoding): adjust
2823
2824         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2825
2826 2003-04-16  John Levon  <levon@movementarian.org>
2827
2828         * lyxfind.C: use parlist stuff for search/changes
2829
2830 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2831
2832         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2833
2834         * text2.C (deleteEmptyParagraphMechanism): adjust
2835
2836         * text2.[Ch] (ownerParagraph): delete func (both of them
2837
2838 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2839
2840         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2841
2842 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2843
2844         * ParagraphList.C: prepare for NO_NEXT
2845
2846 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2847
2848         * text2.C (getFont): adjust
2849         (getLayoutFont): adjust
2850         (getLabelFont): adjust
2851
2852         * paragraph.C (getFont): adjust
2853         (getLabelFont): adjust
2854         (getLayoutFont): adjust
2855
2856         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2857
2858 2003-04-15  John Levon  <levon@movementarian.org>
2859
2860         From Angus Leeming
2861
2862         * lyx_main.C: handle Include in .ui files
2863
2864 2003-04-15  John Levon  <levon@movementarian.org>
2865
2866         * MenuBackend.C: make the doc files length shorter
2867
2868         * ToolbarBackend.h:
2869         * ToolbarBackend.C: handle toolbar placement flags,
2870         Minibuffer
2871
2872 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2873
2874         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2875         adjust
2876
2877         * paragraph_funcs.C (TeXOnePar): adjust
2878
2879         * paragraph.C (getLabelFont): add outerfont arg, adjust
2880         (getLayoutFont): ditto
2881         (simpleTeXOnePar): adjust
2882
2883         * paragraph_pimpl.C (realizeFont): delete func
2884
2885 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2886
2887         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2888         row argument, constify cur argument.
2889
2890 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2891
2892         * text2.C (getFont): adjust
2893         (getLayoutFont): adjust
2894         (getLabelFont): adjust
2895
2896         * paragraph_funcs.C (TeXOnePar): adjust
2897         (outerFont): new func...
2898         (realizeFont): ...moved out from here, changed this to facilitate
2899         transition
2900
2901         * paragraph.C (getFont): take outerfont as arg, adjust
2902         (simpleTeXOnePar): add outerfont arg, adjust
2903
2904         * buffer.C (simpleLinuxDocOnePar): adjust
2905         (simpleDocBookOnePar): adjust
2906
2907         * CutAndPaste.C (pasteSelection): adjust
2908
2909         * BufferView.C (getEncoding): adjust
2910
2911 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2912
2913         * text2.C (setCharFont): adjust
2914         (setCounter): adjust
2915
2916         * text.C (leftMargin): adjust
2917         (setHeightOfRow): adjust
2918
2919         * rowpainter.C (paintFirst): adjust
2920         (paintLast): adjust
2921
2922         * paragraph_pimpl.C (realizeFont): adjust
2923
2924         * paragraph.C (isFirstInSequence): move from here...
2925         * paragraph_funcs.C (isFirstInSequence): ...to here
2926
2927         * paragraph.C (outerHook): move from here...
2928         * paragraph_funcs.C (outerHook): ...to here
2929
2930         * paragraph.C (depthHook): move from here...
2931         * paragraph_funcs.C (depthHook): ...to here
2932
2933         * paragraph.C (getEndLabel): move from here...
2934         * paragraph_funcs.C (getEndLabel): ...to here
2935
2936         * text2.C (realizeFont): move from here...
2937         * paragraph_funcs.C (realizeFont): ...to here
2938
2939 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2940
2941         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2942
2943 2003-04-14  Angus Leeming  <leeming@lyx.org>
2944
2945         * LColor.[Ch]: scrap LColor mathcursor.
2946
2947 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2948
2949         * lyxlex.[Ch] (text): delete function
2950         * trans.C (Load): adjust
2951         * paragraph_funcs.C (readParToken): adjust
2952
2953 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2954
2955         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2956         vector<char> instead of a char[].
2957
2958         * lyxlex_pimpl.C (getString): adjust
2959         (next): adjust
2960         (lex): use getString
2961         (eatLine): adjust
2962         (nextToken): adjust
2963
2964         * lyxlex.C (text): use pimpl_->getString()
2965         (getBool): ditto
2966         (findToken): ditto
2967
2968 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2969
2970         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2971         (makeFontEntriesLayoutSpecific): temp var for par.size()
2972         (setLayout): temp var for ownerParagraphs().end()
2973         (fullRebreak): temp var for rows().end()
2974         (selectionAsString): temp var for boost::next(startpit), realize
2975         that the while really is a regular for loop.
2976         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2977         setCursor in one place.
2978         (setParagraph): temp vr for ownerParagraphs().end()
2979         (updateCounters): make the while loop a for loop
2980         (cutSelection): temp var for ownerParagraphs().end()
2981         (updateInset): make the do {} while() a regular for loop
2982         (getCursorX): use temp vars
2983         (setCurrentFont): use temp vars
2984         (getColumnNearX): use temp vars
2985
2986 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2987
2988         * text.C (transformChar): use temp var for getChar
2989         (computeBidiTables): use temp var for row->par()
2990         (fill): move temp vars for row->par() and pit->layout() earlier in
2991         the function.
2992         (labelFill): use temp var for row->par()
2993         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2994         asc and desc, realize that pit never changes and that firstpit is
2995         just a duplicate and not needed. Exchange rit->par() with pit in a
2996         lot of places.
2997         (breakAgain): use a temp var for boost::next(rit)
2998         (breakAgainOneRow): ditto
2999         (breakParagraph): use a temp var for rows().begin()
3000         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3001         (cursorRightOneWord): use temp var for cursor.par() and
3002         cursor.pos(), remove usage of tmpcursor.
3003         (cursorLeftOneWord): use temp var for cursor.par() and
3004         cursor.pos() only set cur at end of function.
3005
3006 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3007
3008         * text.C, text2.C: exchange all usage of Paragraph::next with
3009         boost::next(ParagraphList::iterator)
3010
3011         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3012
3013         * text2.C (cursorTop): simplify implementation
3014         (cursorBottom): ditto
3015         (setParagraph): use ParagraphList::iterator
3016         (setCurrentFont): adjust
3017         (getColumnNearX): adjust
3018         (cursorRight): adjust
3019         (cursorLeft): remove usage of Paragraph::previous
3020         (cursorUpParagraph): ditto
3021         (deleteEmptyParagraphMechanism): slight cleanup
3022
3023         * text.C (isBoundary): take a Paragraph const & instead of a
3024         pointer as arg.
3025         (addressBreakPoint): ditto
3026         (leftMargin): remove usage of Paragraph::previous.
3027         (setHeightOfRow): ditto
3028         (cursorLeftOneWord): ditto
3029         (selectNextWordToSpellcheck): ditto
3030         (Delete): ditto
3031         (backspace): ditto
3032         (breakParagraph): remove one usage of Paragraph::next
3033         (redoParagraph): ditto
3034         (acceptChange): ditto
3035         (insertChar): adjust
3036         (rowBreakPoint): adjust
3037
3038         * bufferview_funcs.C (toggleAndShow): adjust
3039
3040 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3041
3042         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3043         methods to access it.
3044         * lyxtext.h:
3045         * text.C: Added updateRowPositions to compute all row positions.
3046         Make top_y and getRowNearY() to use the cached y position
3047
3048 2003-04-11  John Levon  <levon@movementarian.org>
3049
3050         * text.C (rowBreakPoint): reintroduce the labelEnd
3051         checks, code copied from the row fill stuff. Deep voodoo.
3052
3053         * text.C (fill): add a comment and debugging for the
3054         next poor soul.
3055
3056 2003-04-11  John Levon  <levon@movementarian.org>
3057
3058         * text.C: make sure fullrow insets get wrapped to the next line,
3059         even when they're in a manual label
3060
3061 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3062
3063         * text2.C (insertParagraph): make it take ParagraphList::iterator
3064         as arg.
3065         (setLayout): make it return ParagraphList::iterator
3066         (redoParagraphs): ditto
3067         (setCounter): ditto
3068         (checkParagraph): ditto
3069
3070         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3071
3072         * text2.C: adjust several funcs.
3073         (realizeFont): take a ParagraphList::iterator as arg.
3074         (getLayoutFont): ditto
3075         (getLabelFont): ditto
3076         (setCharFont): ditto
3077
3078         * text.C: adjust several funcs.
3079
3080 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3081
3082         * text.C (selectNextWordToSpellcheck): don't accidentally
3083         skip insets
3084
3085 2003-04-10  John Levon  <levon@movementarian.org>
3086
3087         * ToolbarBackend.C (getIcon): special handling for
3088         LFUN_MATH_DELIM
3089
3090 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3091
3092         * text2.C (cursorRight): a getChar assert fixed
3093
3094 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * text2.C (getFont): change to take a ParagraphList::iterator
3097         instead of Paragraph*
3098         Adjust several functions.
3099
3100         * text.C (transformChar): change to take a ParagraphList::iterator
3101         instead of Paragraph*
3102         (singleWidth): ditto
3103         Adjust several functions.
3104
3105         * rowpainter.C: adjust several functions
3106         * rowpainter.h:store a ParagraphList::iterator and not a
3107         Paragraph&.
3108
3109
3110 2003-04-09  John Levon  <levon@movementarian.org>
3111
3112         * lyxfunc.C:
3113         * lfuns.h:
3114         * LyXAction.h:
3115         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3116         and the "help" bits as well
3117
3118 2003-04-09  John Levon  <levon@movementarian.org>
3119
3120         * ToolbarBackend.h:
3121         * ToolbarBackend.C: allow multiple toolbars
3122
3123 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3124
3125         * undo_funcs.C (setCursorParUndo): adjust
3126
3127         * text_funcs.C (transposeChars): adjust
3128
3129         * text3.C (gotoNextInset): adjust
3130         (dispatch): adjust
3131
3132         * text2.C (setLayout): adjust
3133         (changeDepth): adjust
3134         (setFont): adjust
3135         (redoParagraphs): adjust
3136         (selectionAsString): adjust
3137         (setParagraph): adjust
3138         (insertInset): adjust
3139         (cutSelection): adjust
3140         (copySelection): adjust
3141         (pasteSelection): adjust
3142         (insertStringAsLines): adjust
3143         (updateInset): adjust
3144         (setCursor): change to take a ParagraphList::iterator parameter
3145         (setCursorIntern): change to take a ParagraphList::iterator parameter
3146         (setCurrentFont): adjust
3147         (cursorLeft): adjust
3148         (cursorRight): adjust
3149         (deleteEmptyParagraphMechanism): adjust
3150
3151         * text.C (breakParagraph): adjust
3152         (insertChar): adjust
3153         (acceptChange): adjust
3154         (rejectChange): adjust
3155         (selectNextWordToSpellcheck): adjust
3156         (changeCase): adjust
3157         (Delete): adjust
3158         (backspace): adjust
3159
3160         * lyxfind.C (SearchForward): adjust
3161         (SearchBackward): adjust
3162         (nextChange): adjust
3163
3164         * lyxcursor.C (par): adjust
3165
3166         * lyxcursor.h: store a ParagraphList::iterator instead of a
3167         Paragraph*
3168
3169         * lyx_cb.C (getPossibleLabel): adjust
3170
3171         * bufferview_funcs.C (toggleAndShow): adjust
3172
3173         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3174         (dispatch): adjust
3175
3176         * BufferView.C (removeAutoInsets): adjust
3177         (lockedInsetStoreUndo): adjust
3178
3179 2003-04-09  John Levon  <levon@movementarian.org>
3180
3181         * ToolbarBackend.C: try icon without argument
3182         if with argument fails
3183
3184 2003-04-08  John Levon  <levon@movementarian.org>
3185
3186         * ToolbarBackend.h:
3187         * ToolbarBackend.C: add getIcon(), handle tooltip,
3188         and change from "Icon" to "Item".
3189
3190 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3191
3192         * BufferView.C (lockInset): another bad getchar crunched
3193
3194 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3195
3196         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3197         again)
3198
3199 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3200
3201         * lyxfind.C (searchForward, searchBackwards): bug 782
3202
3203 2003-04-07  John Levon  <levon@movementarian.org>
3204
3205         * paragraph.C: remove dead comment
3206
3207         * text.C: remove troublesome depth-fiddling code
3208         in leftMargin() and rightMargin() (bug 1017)
3209
3210         * text.C: fix breaking of rows in nested lists
3211         (bug 1004)
3212
3213         * text2.C (updateCounters): fix up depth values
3214         (bug 1013)
3215
3216 2003-04-07  John Levon  <levon@movementarian.org>
3217
3218         * BufferView_pimpl.C: clear message when doc finishes resizing,
3219         and after a mouse event
3220
3221         * lyxfunc.C: clear message after exiting inset
3222
3223 2003-04-07  John Levon  <levon@movementarian.org>
3224
3225         * bufferview_funcs.C: show math status not outside
3226         status in the statusbar
3227
3228 2003-04-07  John Levon  <levon@movementarian.org>
3229
3230         * lyxfunc.C: note status changed after a depth change
3231
3232 2003-04-04  Angus Leeming  <leeming@lyx.org>
3233
3234         * LaTeX.h: move AuxInfo operator==, != out of line.
3235         Remove LaTeX virtual destructor; nothing derives from it.
3236         Move operator()() out of public area and rename it startscript().
3237         Change protected for private.
3238
3239 2003-04-04  Angus Leeming  <leeming@lyx.org>
3240
3241         * lyxfunc.C:
3242         * text2.C: remove unneeded #includes.
3243
3244 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3245
3246         * text2.C (dEPM): fix the heigth of the next row
3247
3248 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3249
3250         * text.C: squashed an invalid getChar requester + some ws changes
3251
3252 2003-04-03  John Levon  <levon@movementarian.org>
3253
3254         * bufferview_funcs.h:
3255         * bufferview_funcs.C:
3256         * lyxfunc.C:
3257         * lyxtext.h:
3258         * text2.C: make getStatus work for the env depth lfuns
3259
3260 2003-04-03  John Levon  <levon@movementarian.org>
3261
3262         * bufferview_funcs.h:
3263         * bufferview_funcs.C:
3264         * lyxfunc.C:
3265         * lyxtext.h:
3266         * text2.C: parlistize decDepth(), by merging it with incDepth()
3267
3268 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3269
3270         * lyxrow.h: store a ParagraphList::iterator instead of a
3271         Paragraph* and adjust other class functions to suit.
3272
3273         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3274         above.
3275
3276 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3277
3278         * text2.C (setCursor): do not anchor to cursor row for the time being
3279
3280 2003-04-02  John Levon  <levon@movementarian.org>
3281
3282         * LyXAction.C:
3283         * lfuns.h:
3284         * lyx_main.C:
3285         * lyxtext.h:
3286         * text.C:
3287         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3288
3289 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3290
3291         * paragraph.h: make ParagraphList and ParagraphList::iterator
3292         friends of Paragraph.
3293
3294         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3295
3296         * ParagraphList.C: Use the private next_ and previous_ from
3297         Paragraph.
3298
3299 2003-04-01  John Levon  <levon@movementarian.org>
3300
3301         * ToolbarBackend.h:
3302         * ToolbarBackend.C:
3303         * Makefile.am: rename, remove defaults gunk
3304
3305         * MenuBackend.h:
3306         * MenuBackend.C: remove defaults gunk
3307
3308         * Languages.h:
3309         * Languages.C: remove defaults gunk
3310
3311         * lyx_main.h:
3312         * lyx_main.C: error out if files couldn't be found.
3313
3314 2003-04-02  John Levon  <levon@movementarian.org>
3315
3316         * text2.C: make incDepth() use parlist
3317
3318 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3319
3320         * undo_funcs.C (firstUndoParagraph): adjust
3321
3322         * text3.C (gotoInset): adjust
3323         (dispatch): adjust, and rewrite loop.
3324
3325         * text2.C (init): adjust, and rewrite loop.
3326         (redoParagraphs): adjust
3327         (updateInset): adjust, and rewrite loop.
3328         (deleteEmptyParagraphMechanism): adjust
3329
3330         * tabular.C (LyXTabular): adjust
3331         (SetMultiColumn): adjust
3332         (TeXRow): adjust
3333
3334         * lyxtext.[Ch] (ownerParagraph): delete function
3335         (ownerParagraphs): new function returns a ParagraphList.
3336
3337         * BufferView.C (removeAutoInsets): adjust
3338         (insertErrors): adjust
3339         (setCursorFromRow): adjust
3340
3341 2003-04-01  Angus Leeming  <leeming@lyx.org>
3342
3343         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3344         in the frontends.
3345
3346 2003-04-02  John Levon  <levon@movementarian.org>
3347
3348         * lyxtext.h:
3349         * text.C:
3350         * Makefile.am:
3351         * text_funcs.h:
3352         * text_funcs.C: make transposeChars a free function
3353
3354         * lyxrow_funcs.C: remove wrong comment
3355
3356 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * lyxtext.h: adjust
3359         * rowpainter.C: adjust
3360         * text.C: adjust
3361         * text2.C: adjust
3362         * text3.C: adjust
3363
3364         * lyxrow_funcs. [Ch]: new files
3365
3366         * lyxrow.[Ch]: remove next and previous pointers
3367         (next,previous): remove accessor functions
3368         (isParEnd): move to lyxrow_funcs
3369         (lastPos): move to lyxrow_funcs
3370         (nextRowIsAllInset): move to lyxrow_funcs
3371         (lastPrintablePos): move to lyxrow_funcs
3372         (numberOfSeparators): move to lyxrow_funcs
3373         (numberOfHfills): move to lyxrow_funcs
3374         (numberOfLabelHfills): move to lyxrow_funcs
3375         (hfillExpansion): move to lyxrow_funcs
3376
3377         * lyxfunc.C: adjust
3378
3379         * bufferview_funcs.C (toggleAndShow): adjust
3380
3381         * RowList.h: Remove class RowList from file leave just a
3382         std::list<Row>.
3383
3384         * RowList.C: delete file
3385
3386         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3387         and lyxrow_funcs.h
3388
3389 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3390
3391         * text3.C (cursorPrevious): adjust
3392         (cursorNext): adjust
3393         (dispatch): adjust
3394
3395         * text2.C (redoHeightOfParagraph): adjust
3396         (redoDrawingOfParagraph): adjust
3397         (setCursor): adjust
3398
3399         * text.C (breakParagraph): adjust
3400         (insertChar): adjust
3401         (backspace): adjust
3402
3403         * rowpainter.C (RowPainter): adjust
3404         (leftMargin): simplify and adjust
3405         (most rowpainter functions): adjust.
3406
3407         * rowpainter.h: store the row as RowList::iterator not as Row*
3408
3409         * lyxcursor.C (row): taka RowList::iterator as arg
3410         (irow): ditto
3411
3412         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3413         of Row*.
3414
3415 2003-04-01  Angus Leeming  <leeming@lyx.org>
3416
3417         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3418         stuff like bool Bool.
3419
3420 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3421
3422         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3423         rewrite a loop
3424
3425 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3426
3427         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3428         RowList::iterator.
3429
3430         * lyxtext.h (rows): drop one version and leve a const variant that
3431         returns a RowList::iterator.
3432
3433 2003-03-31  Angus Leeming  <leeming@lyx.org>
3434
3435         * text.C (fill): ensure that the signature is the same as that in the
3436         header file.
3437
3438 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3439
3440         * text2.C (redoParagraphs): adjust
3441         (updateCounters): adjust
3442         (checkParagraph): adjust
3443         (getColumnNearX): adjust and reformat a bit.
3444
3445         * text.C (top_y): adjust
3446         (workWidth): adjust
3447         (leftMargin): adjust
3448         (prepareToPrint): adjust
3449         (getRow): adjust
3450         (getRowNearY): adjust
3451
3452         * lyxtext.h: make rowlist_ mutable.
3453
3454         * RowList.h: add const_iterator
3455         * RowList.C: adjust for RowList::const_iterator.
3456
3457         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3458         adjust.
3459
3460 2003-03-31  John Levon  <levon@movementarian.org>
3461
3462         * lyxrc.h:
3463         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3464
3465         * lyx_main.C: set default fonts from using lyx_gui funcs
3466
3467         * exporter.C: pdf_mode moved from lyxrc
3468
3469         * lyx_cb.C:
3470         * lyxfunc.C: changes from above
3471
3472 2003-03-31  John Levon  <levon@movementarian.org>
3473
3474         * lyx_main.C: fix to the last fix
3475
3476 2003-03-31  John Levon  <levon@movementarian.org>
3477
3478         * bufferlist.C: "Load original" -> "Load Original"
3479
3480         * converter.C:
3481         * exporter.C:
3482         * importer.C:
3483         * lyx_main.C:
3484         * format.C: more Alert cleanups
3485
3486 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3487
3488         * text2.C (removeParagraph): make it take a RowList::iterator as
3489         arg, adjust.
3490         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3491         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3492
3493         * text.C (anchor_row): make it take a RowList::iterator as arg,
3494         adjust.
3495         (computeBidiTables): make it take a const reference to Row instead
3496         of Row pointer, adjust.
3497         (leftMargin): make it take a RowList::iterator as arg, adjust.
3498         (rowBreakPoint): adjust
3499         (breakAgainOneRow): make it take a RowList::iterator as arg,
3500         adjust.
3501         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3502
3503         * bufferview_funcs.C (toggleAndShow): adjust
3504
3505 2003-03-30  John Levon  <levon@movementarian.org>
3506
3507         * Makefile.am:
3508         * BoostFormat.h:
3509         * boost-inst.C: moved to support
3510
3511         * several files: changes as a result
3512
3513 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3514
3515         * text2.C (LyXText): adjust.
3516         (init): adjust
3517         (removeRow): make it take a RowList::iterator as arg, adjust.
3518         (fullRebreak): adjust
3519         (deleteEmptyParagraphMechanism): adjust
3520         (clearPaint): adjust
3521         (postPaint): adjust
3522
3523         * text.C (top_y): adjust
3524         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3525         (breakAgain): make it take a RowList::iterator as arg, adjust.
3526         (breakParagraph): adjust
3527         (insertChar): adjust
3528         (backspace): adjust
3529
3530         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3531         need_break_row, and refresh_row.
3532
3533         * text3.C (dispatch): adjust
3534
3535         * text2.C (checkParagraph): adjust
3536         (setCursor): adjust
3537         (setCursorFromCoordinates): adjust
3538
3539         * text.C (top_y): adjust
3540         (workWidth): adjust
3541         (getRow): make it return a RowList::iterator, adjust
3542         (getRowNearY): make it return a RowList::iterator, adjust
3543
3544         * text2.C (init): adjust
3545         (insertRow): remove function
3546         (insertParagraph): adjust
3547         (redoParagraphs): adjust
3548         (fullRebreak): adjust
3549         (updateCounters): adjust
3550
3551         * text.C (top_y): rewrite to use RowList iterators.
3552         (top_y): adjust
3553         (setHeightOfRow): rewrite to sue RowList iterators.
3554         (appendParagraph): adjust
3555         (breakAgain): adjust
3556         (breakAgainOneRow): adjust
3557         (breakParagraph): adjust
3558         (getRow): adjust
3559         (getRowNearY): adjust, and remove commented code.
3560
3561         * lyxtext.h (firstRow): delete function
3562         (lastRow): delete function
3563         (rows): new function (const and non-const versions.)
3564         (insertRow): delete function
3565
3566         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3567
3568 2003-03-29  John Levon  <levon@movementarian.org>
3569
3570         * BufferView_pimpl.C: always update scrollbar top
3571         because pasting text when we're anchored could mean we
3572         miss an update altogether
3573
3574 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3575
3576         * text2.C (init): use rowlist_.end() and not 0.
3577         (insertRow): change to take a RowList::iterator as arg, adjust
3578         for this.
3579         (insertParagraph): change to take a RowList::iterator as arg,
3580         adjust for this.
3581         (redoParagraphs): remove some debug msgs.
3582
3583         * text.C (appendParagraph): change to take a RowList::iterator
3584         arg, adjust for this.
3585         (breakAgain): add an assert
3586         (breakAgainOneRow): ditto
3587
3588 2003-03-29  John Levon  <levon@movementarian.org>
3589
3590         * text2.C: do not clear selection after inc/decDepth
3591         (bug 550)
3592
3593 2003-03-29  John Levon  <levon@movementarian.org>
3594
3595         * BufferView.C:
3596         * buffer.C: fix broken strerrors according to Lars
3597
3598 2003-03-29  John Levon  <levon@movementarian.org>
3599
3600         * converters.C: more Alert cleanups
3601
3602 2003-03-29  John Levon  <levon@movementarian.org>
3603
3604         * bufferview_funcs.C: remove pointless Alert
3605
3606         * buffer.C: fix confusing error message when
3607         a template is chmoded 000
3608
3609 2003-03-29  John Levon  <levon@movementarian.org>
3610
3611         * BufferView.C:
3612         * BufferView.h:
3613         * BufferView_pimpl.C: Alert fixes
3614
3615         * Makefile.am:
3616         * tabular.C:
3617         * tabular-old.C: remove unused table compat reading
3618
3619 2003-03-29  John Levon  <levon@movementarian.org>
3620
3621         * BufferView.C:
3622         * buffer.C:
3623         * lyx_cb.h:
3624         * lyx_cb.C: more Alert cleanups
3625
3626         * lyxfunc.C: don't allow chktex if not latex document
3627
3628 2003-03-29  John Levon  <levon@movementarian.org>
3629
3630         * lyx_cb.C:
3631         * BufferView.C:
3632         * buffer.C: warnings pushed down from support/,
3633         kill err_alert
3634
3635 2003-03-29  John Levon  <levon@movementarian.org>
3636
3637         * lyxfunc.C: safety check for C-r (revert)
3638
3639 2003-03-29  John Levon  <levon@movementarian.org>
3640
3641         * bufferlist.h:
3642         * bufferlist.C: several UI fixes using Alert::prompt.
3643         Fix the pointless looping quit code. Fix stupid revert
3644         behaviour (bug 938)
3645
3646         * lyxvc.h:
3647         * lyxvc.C:
3648         * lyx_cb.C: use Alert::prompt
3649
3650         * lyx_main.C: remove a silly question
3651
3652         * lyxfunc.C: remove a couple of silly questions,
3653         use Alert::prompt
3654
3655 2003-03-28  John Levon  <levon@movementarian.org>
3656
3657         * text2.C: fix bug 974 (End on empty par)
3658
3659 2003-03-28  John Levon  <levon@movementarian.org>
3660
3661         * BufferView_pimpl.C:
3662         * LyXAction.C:
3663         * lfuns.h: remove do-nothing math greek lfuns
3664
3665 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3666
3667         * lyxgluelength.h (isValidGlueLength): add default arg on
3668         parameter 2. Remove default arg from friend in class.
3669
3670         * lyxlength.h (isValidLength): add default arg on parameter 2.
3671         Remove default arg from friend in class.
3672
3673         * text2.C (LyXText): adjust, initialize refresh_row.
3674         (init): adjust
3675         (removeRow): adjust
3676         (insertRow): adjust
3677         (insertParagraph): adjst
3678         (redoParagraphs): adjust
3679         (fullRebreak): adjust
3680         (updateCounters): adjust
3681         (deleteEmptyParagraphMechanism): first attempt at fixing a
3682         crashing bug.
3683
3684         * text.C (top_y): adjust
3685         (setHeightOfRow): adjust
3686         (getRow): adjust
3687         (getRowNearY): adjust
3688
3689         * lyxtext.h: include RowList.h
3690         (~LyXText): not needed anymore, deleted.
3691         (firstRow): modify for RowList
3692         (lastRow): new function
3693         Delete firstrow and lastrow class variables, add a Rowlist
3694         rowlist_ class variable.
3695
3696         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3697         paragraph is empty.
3698
3699         * RowList.C (insert): fix case where it == begin().
3700
3701 2003-03-26  Angus Leeming  <leeming@lyx.org>
3702
3703         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3704         the thesaurus dialog.
3705
3706 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3707
3708         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3709
3710         * RowList.[Ch]: new files
3711
3712         * ParagraphList.C (erase): handle the case where it == begin
3713         correctly.
3714
3715 2003-03-25  John Levon  <levon@movementarian.org>
3716
3717         * Makefile.am:
3718         * aspell_local.h:
3719         * aspell.C: add new aspell support
3720
3721         * lyxrc.h:
3722         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3723         have it accessible.
3724
3725 2003-03-25  Angus Leeming  <leeming@lyx.org>
3726
3727         * lfuns.h:
3728         * LyXAction.C (init): new LFUN_INSET_INSERT.
3729
3730         * BufferView_pimpl.C (dispatch): split out part of the
3731         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3732
3733         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3734         LFUN_INSET_APPLY.
3735
3736 2003-03-25  Angus Leeming  <leeming@lyx.org>
3737
3738         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3739
3740 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3741
3742         * text2.C:
3743         * text3.C: remove useless row->height(0)
3744
3745 2003-03-25  John Levon  <levon@movementarian.org>
3746
3747         * lyxtext.h:
3748         * text2.C:
3749         * text3.C: rename the refreshing stuff to better names
3750
3751 2003-03-24  John Levon  <levon@movementarian.org>
3752
3753         * BufferView_pimpl.h:
3754         * BufferView_pimpl.C: update layout choice on a mouse
3755         press/release
3756
3757 2003-03-23  John Levon  <levon@movementarian.org>
3758
3759         * Makefile.am: fix commandtags.h reference
3760
3761 2003-03-22  John Levon  <levon@movementarian.org>
3762
3763         * BufferView_pimpl.C:
3764         * lyxtext.h:
3765         * rowpainter.C:
3766         * rowpainter.h:
3767         * text.C:
3768         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3769
3770 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3771
3772         * lyxtext.h:
3773         * text.C: take the rtl methods out of line
3774
3775 2003-03-21 André Pönitz <poenitz@gmx.net>
3776
3777         * metricsinfo.[Ch]: new files containing structures to be passed around
3778         during the two-phase-drawing...
3779
3780 2003-03-21 André Pönitz <poenitz@gmx.net>
3781
3782         * lyxtextclass.C: read 'environment' tag.
3783
3784 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3785
3786         * text2.C (removeRow): fix bug 964
3787
3788 2003-03-20  John Levon  <levon@movementarian.org>
3789
3790         * rowpainter.C:
3791         * text.C:
3792         * text2.C: paint cleanups. Inset::update() dropped font
3793         parameter
3794
3795 2003-03-19  John Levon  <levon@movementarian.org>
3796
3797         * lyxfunc.C: only fitcursor/markDirty if available()
3798
3799 2003-03-19  John Levon  <levon@movementarian.org>
3800
3801         * commandtags.h: rename to ...
3802
3803         * lfuns.h: ... this, and renumber / cleanup
3804
3805 2003-03-19  John Levon  <levon@movementarian.org>
3806
3807         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3808         fit the cursor after an lfun
3809
3810         * BufferView.h:
3811         * BufferView.C:
3812         * BufferView_pimpl.h:
3813         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3814
3815         * LyXAction.C: layout-character should have ReadOnly
3816
3817         * ParagraphParameters.C:
3818         * buffer.C:
3819         * bufferview_funcs.C:
3820         * lyx_cb.C:
3821         * lyxfind.C:
3822         * lyxtext.h:
3823         * text.C:
3824         * text2.C:
3825         * text3.C:
3826         * undo_funcs.C: changes from above
3827
3828 2003-03-18  John Levon  <levon@movementarian.org>
3829
3830         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3831         remove it from update()
3832
3833         * lyxfunc.C: update layout choice after an lfun
3834
3835         * text3.C: remove extra updateLayoutChoice()s
3836
3837 2003-03-18  John Levon  <levon@movementarian.org>
3838
3839         * text.C: top_y change means full repaint, fix
3840         a drawing bug with cursor movement
3841
3842 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3843
3844         * lyxtext.h:
3845         * text.C:
3846         * text2.C: anchor row on setCursor
3847
3848 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3849
3850         * lyxtext.h: remove almost all mutable keywords
3851         * text.C:
3852         * text2.C:
3853         * text3.C: remove const keywords accordingly
3854
3855 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3856
3857         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3858         anon namespace
3859         (TeXEnvironment): ditto
3860         (TeXOnePar): ditto
3861
3862 2003-03-17  John Levon  <levon@movementarian.org>
3863
3864         * text.C (rowBreakPoint): remove attempt to fix displayed
3865         math insets inside a manual label
3866
3867 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * lyxtext.h: remove BufferView* as first arg from almost all class
3870         functions.
3871         * other files: adjust.
3872
3873 2003-03-17  John Levon  <levon@movementarian.org>
3874
3875         * lyxtext.h:
3876         * undo_funcs.C:
3877         * text2.C: more paint cleanups
3878
3879         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3880
3881         * rowpainter.h:
3882         * rowpainter.C: remove "smart" background painting code
3883
3884 2003-03-16  John Levon  <levon@movementarian.org>
3885
3886         * lyxtext.h:
3887         * text.C:
3888         * text2.C:
3889         * text3.C: add helper functions for setting refresh_row/y
3890
3891 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3892
3893         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3894         newline inset which *can* get inserted in the pass_thru layouts.
3895         This is primarily for literate documents.
3896
3897 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3898
3899         * buffer.C: increment LYX_FORMAT to 223
3900
3901 2003-03-14 André Pönitz <poenitz@gmx.net>
3902
3903         * textclass.h: prepare for environment handling, ws changes
3904         * lyxlayout.C: read latexheader and latexfooter tags
3905
3906 2003-03-14  John Levon  <levon@movementarian.org>
3907
3908         * text2.C: rewrite ::status() a bit
3909
3910 2003-03-13  John Levon  <levon@movementarian.org>
3911
3912         * lyxtext.h: add some docs
3913
3914 2003-03-13  John Levon  <levon@movementarian.org>
3915
3916         * lyxtext.h:
3917         * text.C:
3918         * text2.C:
3919         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3920
3921 2003-03-13  John Levon  <levon@movementarian.org>
3922
3923         * text3.C: fix appendix redrawing
3924
3925 2003-03-13  John Levon  <levon@movementarian.org>
3926
3927         * text.C (setHeightOfRow):
3928         * rowpainter.h:
3929         * rowpainter.C: make appendix mark have the text
3930           "Appendix" so the user knows what it is
3931
3932         * LColor.h:
3933         * LColor.C: s/appendixline/appendix/ from above
3934
3935 2003-03-13  John Levon  <levon@movementarian.org>
3936
3937         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3938
3939         * text.C: fix a getChar(pos) bug properly
3940
3941 2003-03-13  Angus Leeming  <leeming@lyx.org>
3942
3943         * commandtags.h:
3944         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3945         Probably only temporary. Let's see how things pan out.
3946
3947         * BufferView.C (unlockInset):
3948         * BufferView_pimpl.C (fitCursor):
3949         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3950
3951         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3952         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3953
3954         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3955         new functions that convert ParagraphParameters to and from a string.
3956
3957         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3958         BufferView::Pimpl's dispatch.
3959         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3960
3961 2003-03-13 André Pönitz <poenitz@gmx.net>
3962
3963         * lyxfunc.C:
3964         * text3.C:
3965         * factory.C: make it aware of InsetEnv
3966
3967 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3968
3969         * text2.C (setCursor): never ask for one past last
3970         (setCursor): add some debugging messages.
3971
3972         * text.C (singleWidth): never ask for one past last
3973         (singleWidth): ditto
3974         (leftMargin): ditto
3975         (rightMargin): ditto
3976         (rowBreakPoint): ditto
3977         (setHeightOfRow): ditto
3978         (prepareToPrint): ditto
3979
3980         * rowpainter.C (paintBackground): never ask for one past last
3981         (paintText): never ask for one past last
3982
3983         * paragraph_pimpl.C (getChar): make the assert stricter, never
3984         allow the one past last pos to be taken
3985
3986         * paragraph.C (getChar): ws changes only
3987
3988         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3989         (numberOfSeparators): ditto
3990         (numberOfHfills): ditto
3991
3992 2003-03-12  John Levon  <levon@movementarian.org>
3993
3994         * author.h:
3995         * author.C:
3996         * bufferparams.h:
3997         * bufferparams.C:
3998         * paragraph_funcs.C: fix per-buffer authorlists
3999
4000 2003-03-12  John Levon  <levon@movementarian.org>
4001
4002         * text.C: fix newline in right address
4003
4004 2003-03-12  Angus Leeming  <leeming@lyx.org>
4005
4006         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4007         duplicate those in LyXFunc::dispatch.
4008
4009         * commandtags.h:
4010         * LyXAction.C:
4011         * ToolbarDefaults.C:
4012         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4013         Add LFUN_FONTFREE_UPDATE.
4014
4015         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4016         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4017
4018         * bufferview_func.[Ch]: several new functions to facilliate
4019         transfer of data to and from the character dialog.
4020
4021 2003-03-12  John Levon  <levon@movementarian.org>
4022
4023         * buffer.C:
4024         * paragraph.h:
4025         * paragraph.C:
4026         * paragraph_funcs.C:
4027         * paragraph_pimpl.C:
4028         * sgml.C:
4029         * tabular.C:
4030         * text.C:
4031         * text3.C: remove META_NEWLINE in favour of an inset
4032
4033         * rowpainter.h:
4034         * rowpainter.C: remove paintNewline (done by inset)
4035
4036 2003-03-12  John Levon  <levon@movementarian.org>
4037
4038         * paragraph_pimpl.C: complain about bad getChar()s
4039         for a while at least
4040
4041 2003-03-12  John Levon  <levon@movementarian.org>
4042
4043         * buffer.h:
4044         * buffer.C: move paragraph read into a separate function,
4045         a little renaming to reflect that.
4046
4047         * bufferparams.h:
4048         * bufferparams.C: remove the author_ids map, not necessary now
4049
4050         * factory.h:
4051         * factory.C: moved Buffer::readInset to here
4052
4053         * paragraph_funcs.h:
4054         * paragraph_funcs.C: readParagraph free function moved from
4055         buffer.C
4056
4057         * tabular.C: name change
4058
4059 2003-03-12  John Levon  <levon@movementarian.org>
4060
4061         * buffer.C:
4062         * ParagraphParameters.C: move par params input to
4063         a read() method
4064
4065         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4066         behave like a normal read from the stream wrt reading
4067         a line vs. a \\token
4068
4069 2003-03-12  John Levon  <levon@movementarian.org>
4070
4071         * paragraph.C:
4072         * ParagraphParameters.h:
4073         * ParagraphParameters.C: move output code to a
4074         ::write() method
4075
4076 2003-03-12  John Levon  <levon@movementarian.org>
4077
4078         * BufferView.C (insertLyXFile):
4079         * buffer.h:
4080         * buffer.C:
4081         * tabular.C: use a parlist iterator for creating the
4082           document.
4083
4084 2003-03-12  John Levon  <levon@movementarian.org>
4085
4086         * buffer.C: make current_change static local not
4087           static file-scope
4088
4089 2003-03-12  John Levon  <levon@movementarian.org>
4090
4091         * buffer.C: fix insertStringAsLines for change tracking
4092
4093 2003-03-12  John Levon  <levon@movementarian.org>
4094
4095         * BufferView.C:
4096         * tabular.C:
4097         * buffer.h:
4098         * buffer.C:
4099         * bufferparams.h:
4100         * bufferparams.C: move author list into params. Rename some
4101           functions. Move the header reading into a separate token
4102           loop. Move the header token reading into BufferParams.
4103
4104 2003-03-12  John Levon  <levon@movementarian.org>
4105
4106         * changes.C: put debug inside lyxerr.debugging() checks
4107
4108 2003-03-11 André Pönitz <poenitz@gmx.net>
4109
4110         * factory.C: make it aware of InsetHFill
4111
4112 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4113
4114         * buffer.C (latexParagraphs): move function from here...
4115         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4116         args.
4117
4118 2003-03-10  Angus Leeming  <leeming@lyx.org>
4119
4120         * LyXAction.C (init): fix bug in poplating array with multiple entries
4121         with the same LFUN (spotted by JMarc).
4122
4123 2003-03-10  John Levon  <levon@movementarian.org>
4124
4125         * text.C:
4126         * text2.C: move getColumnNearX() near its
4127         only call site
4128
4129 2003-03-10  John Levon  <levon@movementarian.org>
4130
4131         * text.C: fix break before a minipage
4132
4133 2003-03-10  John Levon  <levon@movementarian.org>
4134
4135         * text.C: fix the last commit
4136
4137 2003-03-09  John Levon  <levon@movementarian.org>
4138
4139         * lyxtext.h:
4140         * text.C:
4141         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4142         bug 365 (don't break before insets unless needed). Don't
4143         return a value > last under any circumstances.
4144
4145 2003-03-09  Angus Leeming  <leeming@lyx.org>
4146
4147         * BufferView_pimpl.C (trackChanges, dispatch): call
4148         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4149
4150 2003-03-09  Angus Leeming  <leeming@lyx.org>
4151
4152         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4153         than Dialogs::showAboutlyx().
4154
4155 2003-03-09  Angus Leeming  <leeming@lyx.org>
4156
4157         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4158         than Dialogs::showTabularCreate().
4159
4160 2003-03-09  John Levon  <levon@movementarian.org>
4161
4162         * lyxtext.h:
4163         * text.C:
4164         * text2.C: 3rd arg to nextBreakPoint was always the same.
4165           Use references.
4166
4167 2003-03-08  John Levon  <levon@movementarian.org>
4168
4169         * lyxrow.C:
4170         * paragraph.C:
4171         * paragraph.h:
4172         * rowpainter.C:
4173         * text.C:
4174         * text2.C: Remove the "main" bit from the "main body"
4175           notion.
4176
4177 2003-03-08  John Levon  <levon@movementarian.org>
4178
4179         * text.C (leftMargin): The left margin of an empty
4180         manual label paragraph should not include the label width
4181         string length.
4182
4183         * text.C (prepareToPrint): don't attempt to measure hfills
4184         for empty manual label paragraphs - the answer should be 0
4185
4186 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * CutAndPaste.C: remove commented code and reindent.
4189
4190 2003-03-08  John Levon  <levon@movementarian.org>
4191
4192         * lyxfunc.h:
4193         * lyxfunc.C: move reloadBuffer()
4194
4195         * BufferView.h:
4196         * BufferView.C: to here
4197
4198         * lyxvc.C: add comment
4199
4200         * vc-backend.h:
4201         * vc-backend.C: call bv->reload() to avoid
4202           getStatus() check on MENURELOAD
4203
4204 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4205
4206         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4207         to an old format .dep file.
4208
4209 2003-03-07  Angus Leeming  <leeming@lyx.org>
4210
4211         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4212         when the LFUN_MOUSE_RELEASE should have been handled by
4213         inset->localDispatch.
4214
4215 2003-03-07  Angus Leeming  <leeming@lyx.org>
4216
4217         * BufferView_pimpl.C (dispatch):
4218         * LyXAction.C (init):
4219         * ToolbarDefaults.C (init):
4220         * commandtags.h:
4221         * lyxfunc.C (getStatus):
4222         remove LFUN_INSET_GRAPHICS.
4223
4224         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4225
4226 2003-03-07  Angus Leeming  <leeming@lyx.org>
4227
4228         * commandtags.h:
4229         * LyXAction.C (init):
4230         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4231
4232         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4233
4234         * commandtags.h:
4235         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4236
4237         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4238         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4239
4240 2003-03-07  Angus Leeming  <leeming@lyx.org>
4241
4242         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4243         remove "ert".
4244
4245 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4246
4247         * ParagraphList.C (front): new function
4248         (back): implement
4249
4250 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4251
4252         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4253         and top_row_offset_. removed var first_y.
4254         * text.C (top_y):
4255         * text2.C (LyXText, removeRow):
4256         * text3.C:
4257         * BufferView_pimpl.C:
4258         use these methods instead of using first_y
4259
4260 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * text2.C (pasteSelection): adjust for checkPastePossible
4263
4264         * CutAndPaste.C: remove Paragraph * buf and replace with
4265         ParagraphList paragraphs.
4266         (DeleteBuffer): delete
4267         (cutSelection): change the tc type to textclass_type
4268         (copySelection): change the tc type to textclass_type
4269         (copySelection): adjust for ParagraphList
4270         (pasteSelection): change the tc type to textclass_type
4271         (pasteSelection): adjust for Paragraphlist
4272         (nrOfParagraphs): simplify for ParagraphList
4273         (checkPastePossible): simplify for ParagraphList
4274         (checkPastePossible): remove unused arg
4275
4276         * ParagraphList.C (insert): handle the case where there are no
4277         paragraphs yet.
4278
4279         * CutAndPaste.h: make CutAndPaste a namespace.
4280
4281         * text3.C (dispatch): adjust
4282
4283         * text.C (breakParagraph): add a ParagraphList as arg
4284
4285         * paragraph_funcs.C (breakParagraph): change to take a
4286         BufferParams and a ParagraphList as args.
4287         (breakParagraphConservative): ditto
4288         (mergeParagraph): ditto
4289         (TeXDeeper): add a ParagraphList arg
4290         (TeXEnvironment): ditto
4291         (TeXOnePar): ditto
4292
4293         * buffer.C (readLyXformat2): adjust
4294         (insertStringAsLines): adjust
4295         (latexParagraphs): adjust
4296
4297         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4298         (cutSelection): adjust
4299         (pasteSelection): adjust
4300
4301         * BufferView_pimpl.C (insertInset): adjust
4302
4303 2003-03-05  Angus Leeming  <leeming@lyx.org>
4304
4305         * commandtags.h:
4306         * LyXAction.C (init):
4307         * BufferView_pimpl.C (dispatch):
4308         * lyxfunc.C (getStatus):
4309         remove LFUN_CHILD_INSERT.
4310
4311         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4312
4313 2003-03-05  Angus Leeming  <leeming@lyx.org>
4314
4315         * commandtags.h:
4316         * LyXAction.C (init):
4317         * src/factory.C (createInset):
4318         * lyxfunc.C (getStatus):
4319         * text3.C (dispatch):
4320         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4321
4322         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4323
4324 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4325
4326         * ParagraphList.C (insert): handle insert right before end()
4327         (erase): fix cases where it can be first or last paragraph.
4328
4329 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4332         Paragraph::next and Paragraph::previous
4333         (TeXOnePar): ditto
4334
4335         * text.C (breakParagraph): adjust
4336
4337         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4338         BufferParams& as arg.
4339         (breakParagraph): use ParagraphList::insert
4340         (breakParagraphConservative): take a Buffer* instead of a
4341         BufferParams& as arg.
4342         (breakParagraphConservative): use ParagraphList::insert.
4343
4344         * buffer.C (insertStringAsLines): un-const it
4345         (insertStringAsLines): adjust
4346
4347         * ParagraphList.C (insert): new function
4348
4349         * CutAndPaste.C (pasteSelection): adjust
4350
4351         * text.C (backspace): adjust
4352
4353         * tabular.C (SetMultiColumn): adjust
4354
4355         * CutAndPaste.C (cutSelection): adjust
4356         (pasteSelection): adjust
4357
4358         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4359         Buffer const * as arg
4360
4361         * ParagraphList.C (erase): new function
4362         * paragraph_funcs.C (mergeParagraph): use it
4363         (mergeParagraph): make it take a Buffer* instead of a
4364         BufferParams* as arg
4365
4366         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4367         as arg
4368         (breakParagraphConservative): ditto
4369
4370         * paragraph.h: remove the breakParagraph friend
4371
4372         * paragraph.C (eraseIntern): new function
4373         (setChange): new function
4374
4375         * paragraph_funcs.C (mergeParagraph): make it take a
4376         ParagraphList::iterator instead of a Paragraph *, adjust
4377         accordingly.
4378
4379         * paragraph.h: move an #endif so that the change tracking stuff
4380         also works in the NO_NEXT case.
4381
4382 2003-03-04  Angus Leeming  <leeming@lyx.org>
4383
4384         * commandtags.h:
4385         * LyXAction.C: new LFUN_INSET_MODIFY.
4386
4387         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4388         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4389
4390 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * several files: ws changes only
4393
4394         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4395         (TeXEnvironment): ditto
4396         (TeXDeeper): ditto
4397
4398         * buffer.C (makeLaTeXFile): adjust
4399         (latexParagraphs): make it take ParagraphList::iterator as args
4400
4401 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4402
4403         * buffer.C (latexParagraphs): adjust
4404
4405         * paragraph.C (TeXOnePar): move function...
4406         (optArgInset): move function...
4407         (TeXEnvironment): move function...
4408         * paragraph_pimpl.C (TeXDeeper): move function...
4409         * paragraph_funcs.C: ...here
4410
4411         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4412
4413 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4414
4415         * buffer.C (readInset): remove compability code for old Figure and
4416         InsetInfo insets
4417
4418 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4419
4420         * buffer.C: ws changes
4421         (readInset):
4422
4423         * BufferView_pimpl.C: ditto
4424         * author.C: ditto
4425         * buffer.h: ditto
4426         * bufferlist.h: ditto
4427         * changes.h: ditto
4428         * lyxfunc.C: ditto
4429
4430 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4431
4432         * converter.[Ch]: split into itself +
4433         * graph.[Ch]
4434         * format.[Ch]
4435         * Makefile.am: += graph.[Ch] + format.[Ch]
4436         * MenuBackend.C
4437         * buffer.C
4438         * exporter.C
4439         * importer.C
4440         * lyx_main.C
4441         * lyxfunc.C
4442         * lyxrc.C: added #include "format.h"
4443
4444 2003-02-27  Angus Leeming  <leeming@lyx.org>
4445
4446         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4447           a label.
4448
4449         * factory.C (createInset): add "label" to the factory.
4450
4451         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4452           string and do no more.
4453
4454 2003-02-27  Angus Leeming  <leeming@lyx.org>
4455
4456         * commandtags.h:
4457         * LyXAction.C (init):
4458         * factory.C (createInset):
4459         * BufferView_pimpl.C (dispatch):
4460           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4461
4462         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4463
4464         * lyxfunc.C (dispatch):
4465         * text3.C (dispatch): pass name to params2string.
4466
4467 2003-02-26  Angus Leeming  <leeming@lyx.org>
4468
4469         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4470           blocks together.
4471           Rearrange the ~includes. Strip out the unnecessary ones.
4472
4473         * factory.C (createInset): reformat.
4474           create new insets for the various LFUN_XYZ_APPLY lfuns.
4475
4476 2003-02-26  John Levon  <levon@movementarian.org>
4477
4478         * lyxrow.h:
4479         * lyxrow.C: add isParStart,isParEnd helpers
4480
4481         * paragraph.h: make isInserted/DeletedText take refs
4482
4483         * paragraph_funcs.h:
4484         * paragraph_funcs.C: remove #if 0'd code
4485
4486         * lyxtext.h:
4487         * text3.C:
4488         * text2.C:
4489         * text.C: use lyxrow helpers above.
4490           Move draw and paint routines to RowPainter.
4491           Make several methods use refs not pointers.
4492           Make backgroundColor() const.
4493           Add markChangeInDraw(), isInInset().
4494           Merge changeRegionCase into changeCase.
4495           Make workWidth() shouldn't-happen code into an Assert.
4496
4497         * rowpainter.h:
4498         * rowpainter.C: new class for painting a row.
4499
4500         * vspace.h:
4501         * vspace.C: make inPixels take a ref
4502
4503 2003-02-26  Angus Leeming  <leeming@lyx.org>
4504
4505         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4506         LFUN_REF_APPLY.
4507
4508 2003-02-25  John Levon  <levon@movementarian.org>
4509
4510         * ispell.C: give the forked command a more accurate name
4511
4512 2003-02-22  John Levon  <levon@movementarian.org>
4513
4514         * toc.h:
4515         * toc.C: make TocItem store an id not a Paragraph *
4516           (bug #913)
4517
4518 2003-02-21  Angus Leeming  <leeming@lyx.org>
4519
4520         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4521           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4522           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4523           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4524           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4525           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4526
4527         * BufferView_pimpl.C (dispatch):
4528         * LyXAction.C (init):
4529         * factory.C (createInset):
4530         * lyxfunc.C (getStatus, dispatch):
4531         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4532
4533 2003-02-21  Angus Leeming  <leeming@lyx.org>
4534
4535         * BufferView_pimpl.C (MenuInsertLyXFile):
4536         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4537         * lyxfunc.C (menuNew, open, doImport):
4538           no longer pass a LyXView & to fileDlg.
4539
4540 2003-02-21  Angus Leeming  <leeming@lyx.org>
4541
4542         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4543         * LyXAction.C: change, BIBKEY to BIBITEM.
4544         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4545         Change InsetBibKey to InsetBibitem.
4546         Change BIBKEY_CODE to BIBITEM_CODE.
4547         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4548         * factory.C: replace insetbib.h with insetbibitem.h.
4549         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4550         * paragraph.C: replace insetbib.h with insetbibitem.h.
4551         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4552         Change bibkey() to bibitem().
4553         * text.C: remove insetbib.h.
4554         * text2.C: replace insetbib.h with insetbibitem.h.
4555         change bibkey() to bibitem().
4556         * text3.C: remove insetbib.h.
4557         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4558
4559 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4560
4561         * lyxrc.C (output): enclose user email in quotes (in case there are
4562         several words)
4563
4564 2003-02-18  John Levon  <levon@movementarian.org>
4565
4566         * buffer.h: add std::
4567
4568 2003-02-17  John Levon  <levon@movementarian.org>
4569
4570         * SpellBase.h:
4571         * ispell.h:
4572         * ispell.C:
4573         * pspell.h:
4574         * pspell.C: reworking. Especially in ispell, a large
4575           number of clean ups and bug fixes.
4576
4577         * lyxfunc.C: fix revert to behave sensibly
4578
4579 2003-02-17 André Pönitz <poenitz@gmx.net>
4580
4581         * LyXAction.C:
4582         * commandtags.h: new LFUN_INSERT_BIBKEY
4583
4584         * layout.h:
4585         * lyxlayout.C:
4586         * buffer.C:
4587         * factory.C:
4588         * text.C:
4589         * text2.C:
4590         * text3.C:
4591         * paragraph.[Ch]:
4592         * paragraph_func.C: remove special bibkey handling
4593
4594 2003-02-17  John Levon  <levon@movementarian.org>
4595
4596         * text.C (Delete): fix case where delete at the end of
4597           the very first paragraph would not merge the pars
4598
4599 2003-02-17  John Levon  <levon@movementarian.org>
4600
4601         * lyxrow.C: fix lastPrintablePos()
4602
4603 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4604
4605         * bufferparams.C (writeLaTeX): add a std:here
4606
4607         * buffer.C: and remove a using directive there
4608
4609 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4610
4611         * buffer.C (makeLaTeXFile): move the code that generates the
4612           preamble...
4613
4614         * bufferparams.C (writeLaTeX): ... in this new method
4615
4616         * LaTeXFeatures.C (getEncodingSet): make const
4617           (getLanguages): make const
4618
4619         * MenuBackend.C (binding): returns the binding associated to this
4620           action
4621           (add): sets the status of each item by calling getStatus. Adds
4622           some intelligence.
4623           (read): add support for OptSubMenu
4624           (expand): remove extra separator at the end of expanded menu
4625
4626 2003-02-15  John Levon  <levon@movementarian.org>
4627
4628         * BufferView.C:
4629         * BufferView_pimpl.C:
4630         * bufferlist.h:
4631         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4632           inset code that had no actual effect. Remove unneeded status
4633           code.
4634
4635 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4636
4637         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4638           in preamble
4639
4640 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4641
4642         * text.C (drawLengthMarker): also draw an arrow marker for
4643           symbolic lengths (medskip...)
4644
4645 2003-02-14  John Levon  <levon@movementarian.org>
4646
4647         * tabular.h:
4648         * tabular.C: better method names
4649
4650 2003-02-14  John Levon  <levon@movementarian.org>
4651
4652         * BufferView_pimpl.C:
4653         * bufferlist.C:
4654         * buffer.C:
4655         * converter.C:
4656         * lyx_cb.C:
4657         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4658           it's a more accurate name. Remove some pointless uses.
4659
4660 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4661
4662         * text2.C (LyXText): change order of initilizers to shut off
4663           warnings
4664
4665 2003-02-14  John Levon  <levon@movementarian.org>
4666
4667         * buffer.C: use ParIterator for getParFromID()
4668
4669         * paragraph.h:
4670         * paragraph.C:
4671         * paragraph_pimpl.h:
4672         * paragraph_pimpl.C: remove unused getParFromID()
4673
4674 2003-02-14  John Levon  <levon@movementarian.org>
4675
4676         * buffer.C: remove some very old #if 0'd parse code
4677
4678 2003-02-13  John Levon  <levon@movementarian.org>
4679
4680         * text.h:
4681         * text.C:
4682         * text2.C: move hfillExpansion(), numberOfSeparators(),
4683           rowLast(), rowLastPrintable(), numberofHfills(),
4684           numberOfLabelHfills() ...
4685
4686         * lyxrow.h:
4687         * lyxrow.C: ... to member functions here.
4688
4689         * paragraph.h:
4690         * paragraph.C:
4691         * lyxtext.h:
4692         * text.C: remove LyXText::beginningOfMainBody(), and call
4693           p->beginningOfMainBody() directly. Move the check for
4694           LABEL_MANUAL into the latter.
4695
4696         * text.h:
4697         * text.C:
4698         * text2.C:
4699         * vspace.C:
4700         * BufferView.h:
4701         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4702
4703         * text.h:
4704         * text.C:
4705         * text2.C:
4706         * text3.C:
4707         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4708           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4709
4710 2003-02-13  John Levon  <levon@movementarian.org>
4711
4712         * CutAndPaste.C: remove debug
4713
4714 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4715
4716         * paragraph.C (asString): remove two unused variables
4717
4718         * lyxtextclass.C (readTitleType):
4719           (Read):
4720           (LyXTextClass): handle new members titletype_ and titlename_
4721
4722         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4723
4724 2003-02-09  John Levon  <levon@movementarian.org>
4725
4726         * buffer.h:
4727         * buffer.C: replace hand-coded list with a map for the dep clean
4728
4729 2003-02-08  John Levon  <levon@movementarian.org>
4730
4731         * LaTeX.C: consolidate code into showRunMessage() helper
4732
4733 2003-02-08  John Levon  <levon@movementarian.org>
4734
4735         * lyxfind.C:
4736         * lyxtext.h:
4737         * text2.C:
4738         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4739           and pass the size in explicitly
4740
4741         * BufferView_pimpl.h:
4742         * BufferView_pimpl.C:
4743         * BufferView.h:
4744         * BufferView.C: add getCurrentChange()
4745
4746         * BufferView_pimpl.h:
4747         * BufferView_pimpl.C: handle change lfuns
4748
4749         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4750           for changes. Mark pasted paragraphs as new.
4751
4752         * support/lyxtime.h:
4753         * support/lyxtime.C:
4754         * DepTable.C: abstract time_t as lyx::time_type
4755
4756         * LColor.h:
4757         * LColor.C: add colours for new text, deleted text, changebars
4758
4759         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4760           package use "usenames" option.
4761
4762         * commandtags.h:
4763         * lyxfunc.C:
4764         * LyXAction.C: add change lfuns
4765
4766         * Makefile.am:
4767         * author.h:
4768         * author.C: author handling
4769
4770         * buffer.h:
4771         * buffer.C: add a per-buffer author list, with first entry as
4772           current author. Handle new .lyx tokens for change tracking. Output
4773           author list to .lyx file. Output dvipost stuff to .tex preamble.
4774           Bump lyx format to 222.
4775
4776         * bufferlist.h:
4777         * bufferlist.C: add setCurrentAuthor() to reset current author details
4778           in all buffers.
4779
4780         * bufferparams.h:
4781         * bufferparams.C: add param for tracking
4782
4783         * bufferview_funcs.C: output change info in minibuffer
4784
4785         * Makefile.am:
4786         * changes.h:
4787         * changes.C: add change-tracking structure
4788
4789         * debug.h:
4790         * debug.C: add CHANGES debug flag
4791
4792         * lyxfind.h:
4793         * lyxfind.C: add code for finding the next change piece
4794
4795         * lyxrc.h:
4796         * lyxrc.C: add user_name and user_email
4797
4798         * lyxrow.h:
4799         * lyxrow.C: add a metric for the top of the text line
4800
4801         * lyxtext.h:
4802         * text.C: implement accept/rejectChange()
4803
4804         * lyxtext.h:
4805         * text.C: paint changebars. Paint new/deleted text in the chosen
4806         colours. Strike through deleted text.
4807
4808         * paragraph.h:
4809         * paragraph.C:
4810         * paragraph_pimpl.h:
4811         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4812           in the current change to the insert functions. Rework erase to
4813           mark text as deleted, adding an eraseIntern() and a range-based
4814           erase(). Implement per-paragraph change lookup and
4815           accept/reject.
4816
4817         * paragraph_funcs.C: Fixup paste for change tracking.
4818
4819         * tabular.C: mark added row/columns as new.
4820
4821         * text.C: fix rowLast() to never return -1. Don't allow
4822           spellchecking of deleted text. Track transpose changes. Don't
4823           allow paragraph break or merge where appropriate.
4824
4825         * text2.C: leave cursor at end of selection after a cut.
4826
4827 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4828
4829         * text.C (getLengthMarkerHeight):
4830         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4831         visible on screen too.
4832
4833 2003-02-07  John Levon  <levon@movementarian.org>
4834
4835         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4836
4837 2003-02-05  Angus Leeming  <leeming@lyx.org>
4838
4839         * lyxserver.C (read_ready): revert my patch of 11 September last year
4840         as it sends PC cpu through the roof. Presumably this means that
4841         the lyxserver will no longer run on an Alpha...
4842
4843 2003-01-30  Angus Leeming  <leeming@lyx.org>
4844
4845         * factory.C (createInset): create an InsetCommandParam of type "index"
4846         and use it to 'do the right thing'.
4847
4848         * text2.C (getStringToIndex): ensure that cursor position is always
4849         reset to the reset_cursor position.
4850
4851 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4852
4853         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4854         disabled.
4855
4856 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4857
4858         * bufferview.C:
4859         * lyxcb.C:
4860         * lyxfunc.C: Output messages with identical spelling, punctuation,
4861         and spaces
4862
4863 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4864
4865         * MenuBackend.C (expandFormats): List only viewable export formats
4866         in "View" menu
4867
4868         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4869         message
4870
4871         * lyxfunc.C (getStatus): Make sure that formats other than
4872         "fax" can also be disabled
4873
4874 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4875
4876         * text3.C (dispatch): put the lfuns that insert insets in 3
4877         groups, and call doInsertInset with appropriate arguments.
4878         (doInsertInset): new function, that creates an inset and inserts
4879         it according to some boolean parameters.
4880
4881 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4882
4883         * buffer.C (readFile): remember to pass on 'par' when calling
4884         readFile recursively.
4885
4886 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4887
4888         * MenuBackend.C (expandFormats): add "..." to import formats.
4889
4890 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4891
4892         * paragraph.C (asString): Remove XForms RTL hacks.
4893
4894 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4895         * buffer.C: fix typo
4896
4897 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4898
4899         * Makefile.am (LIBS): delete var
4900         (lyx_LDADD): add @LIBS@ here instead.
4901
4902 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4903
4904         * Clarify the meaning of "wheel mouse jump"
4905
4906 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4907
4908         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4909         tabular in a float
4910
4911 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4912
4913         * importer.C (Loaders): do not preallocate 3 elements in the
4914         vector, since one ends up with 6 elements otherwise
4915
4916 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4917
4918         * DepTable.C (write): write the file name as last element of the
4919         .dep file (because it may contain spaces)
4920         (read): read info in the right order
4921
4922 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4923
4924         * paragraph_pimpl.C (simpleTeXBlanks):
4925         (simpleTeXSpecialChars):
4926         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4927
4928         * tabular.C (latex): add some missing case statements. Reindent.
4929
4930         * MenuBackend.C (expandToc): remove unused variable.
4931
4932 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4933
4934         * LColor.C:
4935         * LaTeX.C:
4936         * LyXAction.C:
4937         * MenuBackend.C:
4938         * buffer.C:
4939         * exporter.C:
4940         * lyxfunc.C:
4941         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4942         and the like.
4943
4944 2003-01-05  John Levon  <levon@movementarian.org>
4945
4946         * BufferView.h:
4947         * BufferView.C: add getEncoding()
4948
4949         * kbsequence.h:
4950         * kbsequence.C: do not store last keypress
4951
4952         * lyxfunc.h:
4953         * lyxfunc.C: store last keypress here instead. Pass encoding
4954           to getISOEncoded()
4955
4956 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4957
4958         * lyx_main.C (init): remove annoying error message when following
4959         symbolic links (bug #780)
4960
4961 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4962
4963         * text.C (insertChar):
4964         * lyxrc.C (getDescription): remove extra spaces
4965
4966 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4967
4968         * lyxrc.C (getDescription): remove extra spaces
4969
4970 2002-12-20  John Levon  <levon@movementarian.org>
4971
4972         * text3.C: hack fix for page up/down across tall rows
4973
4974 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4975
4976         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4977         not been invoked
4978
4979 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4980
4981         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4982         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4983         thesaurus is not compiled in
4984
4985 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4986
4987         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4988
4989 2002-12-16  Angus Leeming  <leeming@lyx.org>
4990
4991         * lyxrc.[Ch]:
4992         * lyx_main.C (init): remove override_x_deadkeys stuff.
4993
4994 2002-12-12  John Levon  <levon@movementarian.org>
4995
4996         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4997           insert. Only remove shift modifier under strict
4998           circumstances.
4999
5000 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5001
5002         * MenuBackend.C (expandToc): fix crash.
5003
5004 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5005
5006         * MenuBackend.C (expandToc): gettext on float names.
5007
5008 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5009
5010         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5011         implement bool empty() [bug 490]
5012
5013 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5014
5015         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5016
5017 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5018
5019         * several files: ws changes
5020
5021 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5022
5023         * text2.C (setCounter): clean up a bit, use boost.format.
5024         (updateCounters): initialize par upon declaration.
5025
5026         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5027         if the layout exists. We do not just store the layout any more.
5028         (SwitchLayoutsBetweenClasses): use boost.format
5029
5030 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5031
5032         * converter.C (convert): if from and to files are the same, use a
5033         temporary files as intermediary
5034
5035 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5036
5037         * commandtags.h:
5038         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5039
5040 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5041
5042         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5043
5044 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5045
5046         * tabular.C (asciiPrintCell): use string(size, char) instead of
5047         explicit loop.
5048
5049         * sgml.C (openTag): fix order of arguments to string constructor
5050         (closeTag): ditto
5051
5052         * lyxfunc.C (dispatch): use boost.format
5053
5054         * lots of files: change "c" -> 'c'
5055
5056 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5057
5058         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5059
5060 2002-11-25  Angus Leeming  <leeming@lyx.org>
5061
5062         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5063
5064         * lyx_main.C (init): compile fix.
5065
5066 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * lyx_cb.C (start): boost.formatify
5069         do not include <iostream>
5070
5071         * lengthcommon.C: ws only
5072
5073         * boost-inst.C,BoostFormat.h: add more explict instantations
5074
5075 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * lots of files: handle USE_BOOST_FORMAT
5078
5079 2002-11-21  John Levon  <levon@movementarian.org>
5080
5081         * pspell.C: fix compile
5082
5083 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5084
5085         * lyxfunc.C (dispatch): use boost::format
5086         (open): ditto
5087         (doImport): ditto
5088
5089         * lyxfont.C (stateText): use boost::format
5090
5091         * lyx_main.C (LyX): use boost::format
5092         (init): ditto
5093         (queryUserLyXDir): ditto
5094         (readRcFile): ditto
5095         (parse_dbg): ditto
5096         (typedef boost::function): use the recommened syntax.
5097
5098         * importer.C (Import): use boost::format
5099
5100         * debug.C (showLevel): use boost::format
5101
5102         * converter.C (view): use boost::format
5103         (convert): ditto
5104         (move): ditto
5105         (scanLog): ditto
5106
5107         * bufferview_funcs.C (currentState): use boost::format
5108
5109         * bufferlist.C (emergencyWrite): use boost::format
5110
5111         * buffer.C (readLyXformat2): use boost::format
5112         (parseSingleLyXformat2Token): ditto
5113
5114         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5115
5116         * LaTeX.C (run): use boost::format
5117
5118         * Chktex.C (scanLogFile): use boost::format
5119
5120         * BufferView_pimpl.C (savePosition): use boost::format
5121         (restorePosition): ditto
5122         (MenuInsertLyXFile): ditto
5123
5124         * BoostFormat.h: help file for explicit instation.
5125
5126 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5127
5128         * tabular.C (latex): Support for block alignment in fixed width
5129         columns.
5130
5131 2002-11-17  John Levon  <levon@movementarian.org>
5132
5133         * BufferView_pimpl.C:
5134         * lyx_cb.C:
5135         * lyxfunc.C: split filedialog into open/save
5136
5137 2002-11-08  Juergen Vigna  <jug@sad.it>
5138
5139         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5140         by my last patch (hopefully).
5141
5142 2002-11-08  John Levon  <levon@movementarian.org>
5143
5144         * iterators.h:
5145         * iterators.C:
5146         * buffer.h:
5147         * buffer.C:
5148         * paragraph.h:
5149         * paragraph.C:
5150         * toc.h:
5151         * toc.C: ParConstIterator, and use it (from Lars)
5152
5153 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5154
5155         * lyxtextclass.[Ch]: revise and add doxygen comments
5156
5157 2002-11-07  John Levon  <levon@movementarian.org>
5158
5159         * text.C: fix progress value for spellchecker
5160
5161         * toc.C: fix navigate menu for insetwrap inside minipage
5162
5163         * paragraph_funcs.C: added FIXME for suspect code
5164
5165 2002-11-07  John Levon  <levon@movementarian.org>
5166
5167         * BufferView_pimpl.C: fix redrawing of insets
5168           on buffer switch
5169
5170 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5171
5172         * text2.C (updateCounters): fix bug 668
5173
5174 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5175
5176         * text3.C (dispatch): Do not make the buffer dirty when moving the
5177         cursor.
5178
5179 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5180
5181         * vc-backend.C: STRCONV
5182         (scanMaster): ditto
5183
5184         * text2.C (setCounter): STRCONV
5185
5186         * paragraph.C (asString): STRCONV
5187
5188         * lyxlength.C (asString): STRCONV
5189         (asLatexString): ditto
5190
5191         * lyxgluelength.C (asString): STRCONV
5192         (asLatexString): ditto
5193
5194         * lyxfunc.C (dispatch): STRCONV
5195         (open): ditto
5196
5197         * lyxfont.C (stateText): STRCONV
5198
5199         * importer.C (Import): STRCONV
5200
5201         * counters.C (labelItem): STRCONV
5202         (numberLabel): ditto
5203         (numberLabel): remove unused ostringstream o
5204
5205         * chset.C: STRCONV
5206         (loadFile): ditto
5207
5208         * bufferview_funcs.C (currentState): STRCONV
5209
5210         * buffer.C (readFile): STRCONV
5211         (asciiParagraph): ditto
5212         (makeLaTeXFile): ditto
5213
5214         * Spacing.C (writeEnvirBegin): STRCONV
5215
5216         * LaTeXFeatures.C (getLanguages): STRCONV
5217         (getPackages): ditto
5218         (getMacros): ditto
5219         (getBabelOptions): ditto
5220         (getTClassPreamble): ditto
5221         (getLyXSGMLEntities): ditto
5222         (getIncludedFiles): ditto
5223
5224         * LaTeX.C: STRCONV
5225         (run): ditto
5226         (scanAuxFile): ditto
5227         (deplog): ditto
5228
5229         * LString.h: add the STRCONV macros
5230
5231         * BufferView_pimpl.C (savePosition): STRCONV
5232         (restorePosition): ditto
5233         (MenuInsertLyXFile): ditto
5234
5235         * vc-backend.C (scanMaster): change from submatch[...] to
5236         submatch.str(...)
5237
5238         * funcrequest.C: include config.h
5239
5240         * factory.C: include config.h
5241
5242         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5243
5244         * box.C: include config.h
5245
5246         * LaTeX.C (scanAuxFile): change from submatch[...] to
5247         submatch.str(...)
5248         (deplog): ditto
5249
5250 2002-10-25  Angus Leeming  <leeming@lyx.org>
5251
5252         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5253
5254         * ispell.[Ch] (setError): new method.
5255         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5256         Use setError() insetead of goto END.
5257
5258         * lyx_cb.C (AutoSave): move out child process into new class
5259         AutoSaveBuffer.
5260
5261 2002-10-30  John Levon  <levon@movementarian.org>
5262
5263         * text3.C: make start appendix undoable
5264
5265 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5266
5267         * lyxlength.C (inPixels): Fix returned value.
5268
5269         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5270         environment.
5271
5272 2002-10-24  Angus Leeming  <leeming@lyx.org>
5273
5274         * lyxgluelength.h: no need to forward declare BufferParams
5275         or BufferView, so don't.
5276
5277 2002-10-21  John Levon  <levon@movementarian.org>
5278
5279         * BufferView.C: menuUndo ->undo, redo
5280
5281         * BufferView.h: document, remove dead, make some methods private
5282
5283         * paragraph_funcs.h:
5284         * paragraph_funcs.C:
5285         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5286
5287         * buffer.h:
5288         * buffer.C:
5289         * sgml.h:
5290         * sgml.C: move sgml open/close tag into sgml.C
5291
5292         * bufferview_funcs.h: unused prototype
5293
5294         * lyxfunc.h:
5295         * lyxfunc.C: remove unused
5296
5297         * lyxtext.h:
5298         * text.C: remove unused
5299
5300 2002-10-21  John Levon  <levon@movementarian.org>
5301
5302         * BufferView.h:
5303         * BufferView.C:
5304         * BufferView_pimpl.h:
5305         * BufferView_pimpl.C: fix mouse wheel handling based on
5306           patch from Darren Freeman
5307
5308 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5309
5310         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5311
5312 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5313
5314         * lyxlength.C (inPixels): Fix hanfling of negative length.
5315         Fix LyXLength::MU case.
5316
5317 2002-10-16  John Levon  <levon@movementarian.org>
5318
5319         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5320
5321 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5322
5323         * converter.C (view): add support for $$i (file name) and $$p
5324         (file path) for the viewer command. If $$i is not specified, then
5325         it is appended to the command (for compatibility with old syntax)
5326
5327 2002-10-14  Juergen Vigna  <jug@sad.it>
5328
5329         * undo_funcs.C (textHandleUndo): alter the order in which the
5330         new undopar is added to the LyXText, as we have to set first
5331         the right prev/next and then add it as otherwise the rebuild of
5332         LyXText is not correct. Also reset the cursor to the right paragraph,
5333         with this IMO we could remove the hack in "redoParagraphs()".
5334
5335 2002-10-09  Angus Leeming  <leeming@lyx.org>
5336
5337         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5338         to turn off an optimisation if a new inset is to be inserted.
5339
5340 2002-10-11 André Pönitz <poenitz@gmx.net>
5341
5342         * lyxtext.h: make some functions public to allow access
5343         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5344
5345 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5346
5347         * text3.C (dispatch): when changing layout, avoid an infinite loop
5348         [bug #652]
5349
5350 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5351
5352         * lyxrc.C (read): treat a viewer or converter command of "none" as
5353         if it were empty.
5354
5355         * MenuBackend.C (expandFormats): for an update, also allow the
5356         formats that are not viewable
5357
5358         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5359         script if it is newer than the lyxrc.defaults in user directory
5360
5361 2002-10-07 André Pönitz <poenitz@gmx.net>
5362
5363         * text.C: Vitaly Lipatov's small i18n fix
5364
5365 2002-09-25  Angus Leeming  <leeming@lyx.org>
5366
5367         * ispell.h: doxygen fix.
5368
5369 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5370
5371         * buffer.h (readFile): Add a new argument to the method, to allow
5372         reading of old-format templates.
5373
5374 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5375
5376         * toc.C (getTocList): Get TOC from InsetWrap.
5377
5378 2002-09-16  John Levon  <levon@movementarian.org>
5379
5380         * lyxfunc.C: check tabular for cut/copy too
5381
5382 2002-09-12  John Levon  <levon@movementarian.org>
5383
5384         * LyXAction.C: tidy
5385
5386         * factory.h:
5387         * factory.C: add header
5388
5389         * paragraph_funcs.h:
5390         * paragraph_funcs.C: cleanup
5391
5392 2002-09-11  John Levon  <levon@movementarian.org>
5393
5394         * PrinterParams.h: odd/even default to true
5395
5396 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5397
5398         * PrinterParams.h: update printer parameters for new xforms dialog
5399
5400 2002-09-11  Angus Leeming  <leeming@lyx.org>
5401
5402         * lyxserver.C (read_ready): re-write to make it more transparent
5403         and to make it work in coherent fashion under Tru64 Unix.
5404
5405 2002-09-11  André Pönitz <poenitz@gmx.net>
5406
5407         * commandtags.h:
5408         * LyXAction.C:
5409         * text3.C: implement LFUN_WORDSEL
5410
5411 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5414         make floatlist_ a boost::shared_ptr<FloatList>
5415
5416         * lyxtextclass.C: include FloatList.h
5417         (LyXTextClass): initialize floatlist_
5418         (TextClassTags): add TC_NOFLOAT
5419         (Read): match "nofloat" to TC_NOFLOAT and use it.
5420         (readFloat): modify call to floatlist_
5421         (floats): ditto
5422         (floats): ditto
5423
5424         * FloatList.[Ch] (FloatList): remove commented out float
5425         initialization.
5426         (erase): new function
5427
5428 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5429
5430         * MenuBackend.C (expandToc): fix crash when there is no document
5431         open
5432
5433 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5434
5435         * many files: Add insetwrap.
5436
5437 2002-09-09  John Levon  <levon@movementarian.org>
5438
5439         * text2.C: remove confusing and awkward depth wraparound
5440
5441 2002-09-09  John Levon  <levon@movementarian.org>
5442
5443         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5444
5445         * buffer.h:
5446         * buffer.C: remove getIncludeonlyList()
5447
5448         * paragraph.C:
5449         * lyxfunc.C: remove headers
5450
5451 2002-09-09  Juergen Vigna  <jug@sad.it>
5452
5453         * text.C (getColumnNearX): fix form Michael this is most
5454         probably a cut&paste bug.
5455
5456 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5459
5460         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5461         references, ws changes.
5462
5463         * text2.C (init): update counters after init
5464         (insertParagraph): no need to set counter on idividual paragraphs.
5465         (setCounter): access the counters object in the textclass object
5466         on in the buffer object.
5467         (updateCounters): ditto
5468
5469         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5470         shared_ptr<Counters> to avoid loading counters.h in all
5471         compilation units.
5472         (LyXTextClass): initialize ctrs_
5473         (TextClassTags): add TC_COUNTER, and ...
5474         (Read): use it here.
5475         (CounterTags): new tags
5476         (readCounter): new function
5477         (counters): new funtion
5478         (defaultLayoutName): return a const reference
5479
5480         * counters.C (Counters): remove contructor
5481         (newCounter): remove a couple of unneeded statements.
5482         (newCounter): simplify a bit.
5483         (numberLabel): some small formatting changes.
5484
5485         * buffer.[Ch]: remove all traces of counters, move the Counters
5486         object to the LyXTextClass.
5487
5488 2002-09-06  Alain Castera  <castera@in2p3.fr>
5489
5490         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5491         package to set the horizontal alignment on fixed width columns.
5492
5493         * lyx_sty.C:
5494         * lyx_sty.h: added tabularnewline macro def.
5495
5496         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5497
5498 2002-09-06  John Levon  <levon@movementarian.org>
5499
5500         * LyXAction.C: tooltips for sub/superscript
5501
5502         * MenuBackend.C: a bit more verbose
5503
5504         * lyxfunc.C: tiny clean
5505
5506         * undo_funcs.C: document undo_frozen
5507
5508 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5509
5510         * counters.C (Counters): add missing algorithm counter.
5511
5512         * text2.C (setCounter): lookup the counter with layouts latexname
5513         instead of by section number.
5514         (setCounter): use a hackish way to lookup the correct enum
5515         counter.
5516         a float name->type change
5517         reset enum couners with counter name directly instead of depth value.
5518
5519         * counters.C (Counters): remove the push_backs, change to use the
5520         float type not the float name.
5521         (labelItem): remove unused string, float name->type change
5522
5523         * counters.h: don't include vector, loose the enums and sects vectors
5524
5525 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5526
5527         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5528         (Read): add float->TC_FLOAT to textclassTags
5529         (Read): and handle it in the switch
5530         (readFloat): new function
5531
5532         * FloatList.C (FloatList): comment out the hardcoded float
5533         definitions.
5534
5535         * lyxlayout.h: ws change.
5536
5537 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5538
5539         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5540
5541 2002-09-03  Angus Leeming  <leeming@lyx.org>
5542
5543         * BufferView_pimpl.h: qualified name is not allowed in member
5544         declaration: WorkArea & Pimpl::workarea() const;
5545
5546         * factory.C: added using std::endl directive.
5547
5548         * text3.C: added using std::find and std::vector directives.
5549
5550 2002-08-29  André Pönitz <poenitz@gmx.net>
5551
5552         * lyxtext.h:
5553         * text2.C: remove unused member number_of_rows
5554
5555         * Makefile.am:
5556         * BufferView2.C: remove file, move contents to...
5557         * BufferView.C: ... here
5558
5559         * BufferView_pimpl.C:
5560         * factory.C: move more inset creation to factory
5561
5562         * vspace.C: avoid direct usage of LyXText, ws changes
5563
5564         * BufferView.[Ch]:
5565                 don't provide direct access to WorkArea, use two simple
5566                 acessors haveSelction() and workHeight() instead
5567
5568
5569 2002-08-29  John Levon  <levon@movementarian.org>
5570
5571         * BufferView_pimpl.C (dispatch): do not continue when
5572           no buffer
5573
5574 2002-08-28  André Pönitz <poenitz@gmx.net>
5575
5576         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5577
5578         * BufferView.h:
5579         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5580
5581 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5582
5583         * buffer.C: increment LYX_FORMAT to 221
5584
5585         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5586         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5587
5588         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5589
5590         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5591
5592 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5593
5594         * factory.C (createInset): use LyXTextClass::floats
5595
5596         * MenuBackend.C (expandFloatListInsert):
5597         (expandFloatInsert):
5598         (expandToc):
5599
5600         * text2.C (setCounter):
5601
5602         * LaTeXFeatures.C (useFloat):
5603         (getFloatDefinitions):
5604
5605         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5606
5607         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5608         floatlist_, with accessor floats().
5609
5610         * FloatList.h: remove global FloatList
5611
5612 2002-08-26  André Pönitz <poenitz@gmx.net>
5613
5614         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5615
5616         * BufferView.h:
5617         * BufferView2.C:
5618         * BufferView_pimpl.C:
5619         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5620
5621 2002-08-25  John Levon  <levon@movementarian.org>
5622
5623         * LyXAction.C: fix margin note description
5624
5625 2002-08-24  John Levon  <levon@movementarian.org>
5626
5627         * buffer.C:
5628         * bufferlist.C:
5629         * bufferview_funcs.C:
5630         * lyxfont.C:
5631         * undo_funcs.C: cleanups
5632
5633         * lyxfunc.C: disable CUT/COPY when no selection
5634
5635 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5636
5637         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5638         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5639
5640         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5641         Add backward compatibility to "mono", "gray" and "no".
5642
5643 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5644
5645         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5646         (and file_format >= 200).
5647
5648 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5649
5650         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5651
5652 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5653
5654         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5655
5656 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5657
5658         * BufferView_pimpl.C:
5659         * LyXAction.C:
5660         * buffer.C:
5661         * commandtags.h:
5662         * lyxfunc.C:
5663         * paragraph.[Ch]:
5664         * text2.C:
5665         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5666         inset and code to make it  work with the paragraph code. The inset
5667         can be anywhere in the paragraph, but will only do the expected
5668         thing in LaTeX if the layout file contains the parameter line
5669                         OptionalArgs    1
5670         (or more generally, a nonzero value) for that layout.
5671
5672 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * paragraph.h: remove the declaration of undefined counters class
5675         function.
5676
5677 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5678
5679         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5680         Dr. Richard Hawkins.
5681
5682 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5683
5684         * paragraph_funcs.h: remove some unneeded includes
5685
5686         * text.C (backspace): pasteParagraph now in global scipe
5687
5688         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5689         (pasteSelection): ditto
5690
5691         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5692         * paragraph_funcs.C (pasteParagraph): ... here
5693
5694 2002-08-20  André Pönitz <poenitz@gmx.net>
5695
5696         * commandtags.h: new LFUNs for swapping/copying table row/colums
5697
5698         * LyXAction.C:
5699         * lyxfunc.C: support for new lfuns
5700
5701 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5702
5703         * tabular.C:
5704         * buffer.[Ch]: remove NO_COMPABILITY stuff
5705
5706 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5707
5708         * boost.C (throw_exception): new file, with helper function for
5709         boost compiled without exceptions.
5710
5711         * paragraph.h:
5712         * lyxlength.C:
5713         * buffer.C:
5714         * ParameterStruct.h:
5715         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5716
5717         * bufferlist.C (emergencyWriteAll): use boost bind
5718
5719         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5720
5721         * text.C: include paragraph_funcs.h
5722         (breakParagraph): breakParagraph is now in global scope
5723
5724         * paragraph_funcs.[Ch]: new files
5725
5726         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5727         global scope
5728
5729         * buffer.C: include paragraph_funcs.h
5730         (insertStringAsLines): breakParagraph is now in global scope
5731
5732         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5733         paragraph_funcs.C
5734
5735         * CutAndPaste.C: include paragraph_funcs.h
5736         (cutSelection): breakParagraphConservative is now in global scope
5737         (pasteSelection): ditto
5738
5739         * buffer.h: declare oprator== and operator!= for
5740         Buffer::inset_iterator
5741
5742         * bufferlist.C (emergencyWrite): don't use fmt(...)
5743
5744         * text3.C: add using std::endl
5745
5746         * BufferView.C (moveCursorUpdate): remove default arg
5747
5748 2002-08-20  André Pönitz <poenitz@gmx.net>
5749
5750         * buffer.[Ch]: move inline functions to .C
5751
5752         * BufferView2.C:
5753         * BufferView_pimpl.C:
5754         * text.C:
5755         * buffer.[Ch]: use improved inset_iterator
5756
5757         * buffer.C:
5758         * paragraph.[Ch]: write one paragraph at a time
5759
5760 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5761
5762         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5763         style if style is not specified.
5764
5765 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5766
5767         * text2.C (setCounter): when searching for right label for a
5768         caption, make sure to recurse to parent insets (so that a caption
5769         in a minipage in a figure float works) (bug #568)
5770
5771 2002-08-20  André Pönitz <poenitz@gmx.net>
5772
5773         * text3.C: new file for LyXText::dispatch() and helpers
5774
5775         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5776
5777         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5778
5779 2002-08-19  André Pönitz <poenitz@gmx.net>
5780
5781         * lyxtext.h:
5782         * text.C: new LyXText::dispatch()
5783
5784         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5785
5786 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5787
5788         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5789
5790         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5791         Hebrew text.
5792
5793 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5794
5795         * Makefile.am: use $(variables) instead of @substitutions@
5796
5797 2002-08-15  André Pönitz <poenitz@gmx.net>
5798
5799         * lyxfunc.C:
5800         * BufferView_pimpl.C: streamlining mathed <-> outer world
5801         interaction
5802
5803         * commandtags.h:
5804         * LyXAction.C: remove unused LFUN_MATH
5805
5806 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5807
5808         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5809
5810 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5811
5812         * paragraph.C (Paragraph): reformat a bit
5813         (cutIntoMinibuffer): use builtin InsetList function instad of
5814         doing it manually.
5815         (getInset): ditto
5816
5817         * buffer.C: include boost/bind.hpp, add using std::for_each
5818         (writeFileAscii): use ParagraphList iterators
5819         (validate): use for_each for validate traversal of paragraphs
5820         (getBibkeyList): use ParagraphList iterators
5821         (resizeInsets): use for_each to resizeInsetsLyXText for all
5822         paragraphs.
5823         (getParFromID): use ParagraphList iterators
5824
5825         * BufferView2.C (lockInset): use paragraph list and iterators
5826
5827 2002-08-14  John Levon  <levon@movementarian.org>
5828
5829         * lyxserver.C: remove spurious xforms include
5830
5831 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5832
5833         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5834
5835 2002-08-13  André Pönitz <poenitz@gmx.net>
5836
5837         * LyXAction.[Ch]:
5838         * lyxfunc.C: further cleaning
5839
5840 2002-08-13  André Pönitz <poenitz@gmx.net>
5841
5842         * funcrequest.h: new constructor
5843
5844         * funcrequest.C: move stuff here from .h
5845
5846         * Makefile.am:
5847         * BufferView_pimpl.C:
5848         * LyXAction.C:
5849         * toc.C:
5850         * lyxfunc.C: subsequent changes
5851
5852         * lyxfunc.h: new view() member function
5853
5854         * lyxfunc.C: subsequent changes
5855
5856 2002-08-13  Angus Leeming  <leeming@lyx.org>
5857
5858         * BufferView2.C:
5859         * BufferView_pimpl.C:
5860         * buffer.C:
5861         * converter.C:
5862         * importer.C:
5863         * lyxfunc.C:
5864         * lyxvc.C:
5865         * toc.C:
5866         * vc-backend.C:
5867         changes due to the changed LyXView interface that now returns references
5868         to member variables not pointers.
5869
5870 2002-08-13  Angus Leeming  <leeming@lyx.org>
5871
5872         * WordLangTuple (word, lang_code): return references to strings,
5873         not strings.
5874
5875         * BufferView.h:
5876         * SpellBase.h:
5877         * lyxtext.h: forward-declare WordLangTuple.
5878
5879         * BufferView2.C:
5880         * ispell.C:
5881         * pspell.C:
5882         * text.C: #include "WordLangTuple.h".
5883
5884         * lyxtext.h:
5885         * text.C: (selectNextWordToSpellcheck): constify return type.
5886
5887 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5888
5889         * buffer.C:
5890         * buffer.h:
5891         * lyxtext.h:
5892         * paragraph.C:
5893         * paragraph_pimpl.h:
5894         * text.C:
5895         * text2.C:
5896         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5897         suggested by Angus.
5898         Made updateCounter always count from start of buffer, and removed
5899         second argument (par).
5900         Reverted floats number display to '#'. Perhaps I'll try again when the
5901         code base is sanitized a bit.
5902
5903 2002-08-12  Angus Leeming  <leeming@lyx.org>
5904
5905         * buffer.[Ch] (getLabelList): constify.
5906
5907 2002-08-07  André Pönitz <poenitz@gmx.net>
5908
5909         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5910
5911         * funcrequest.h: extension to keep mouse (x,y) position
5912
5913 2002-08-12  Juergen Vigna  <jug@sad.it>
5914
5915         * BufferView2.C (insertErrors): forbid undo when inserting error
5916         insets.
5917
5918         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5919
5920 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5921
5922         * ParagraphList.[Ch]: new files
5923
5924         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5925
5926         * BufferView2.C (lockInset): ParagraphList changes
5927         * toc.C: ditto
5928         * text2.C: ditto
5929         * bufferlist.C: ditto
5930         * buffer.h: ditto
5931         * buffer.C: ditto
5932
5933 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5934
5935         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5936         unused class variable counter_,
5937
5938         * paragraph.[Ch] (getFirstCounter): delete unused function
5939
5940         * counters.C: include LAssert.h
5941         (reset): add a new function with no arg, change other version to
5942         not have def. arg and to not allow empty arg.
5943
5944         * text2.C (setCounter): remove empty arg from call to Counters::reset
5945
5946 2002-08-11  John Levon  <levon@movementarian.org>
5947
5948         * Makefile.am: add WordLangTuple.h
5949
5950 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5951
5952         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5953         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5954
5955         * insets/insettext.C: InsetList changes
5956
5957         * graphics/GraphicsSupport.C (operator()): InsetList changes
5958
5959         * toc.C (getTocList): InsetList changes
5960
5961         * paragraph_pimpl.[Ch]: InsetList changes
5962
5963         * paragraph.[Ch]: InsetList changes
5964
5965         * buffer.C (inset_iterator): InsetList changes
5966         (setParagraph): ditto
5967         * buffer.h (inset_iterator): ditto
5968         * iterators.C (operator++): ditto
5969         * iterators.h: ditto
5970
5971         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5972
5973         * InsetList.[Ch]: new files, most InsetList handling moved out of
5974         paragraph.C.
5975
5976         * BufferView2.C (removeAutoInsets): InsetList changes
5977         (lockInset): ditto
5978         (ChangeInsets): ditto
5979
5980 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5981
5982         * paragraph_pimpl.h (empty): new function
5983
5984         * paragraph.[Ch] (empty): new function
5985
5986         * other files: use the new Paragraph::empty function
5987
5988 2002-08-09  John Levon  <levon@movementarian.org>
5989
5990         * lyxtext.h: remove unused refresh_height
5991
5992 2002-08-09  John Levon  <levon@movementarian.org>
5993
5994         * Makefile.am:
5995         * sgml.h:
5996         * sgml.C:
5997         * buffer.C:
5998         * paragraph.h:
5999         * paragraph.C: move sgml char escaping out of paragraph
6000
6001         * paragraph.h:
6002         * paragraph.C: remove id setter
6003
6004         * buffer.C:
6005         * paragraph.C:
6006         * paragraph_pimpl.C: remove dead tex_code_break_column
6007
6008         * bufferview_funcs.C: small cleanup
6009
6010         * lyxfunc.C: remove dead proto
6011
6012         * lyxtext.h: make some stuff private. Remove some dead stuff.
6013
6014         * lyxgluelength.C: make as[LyX]String() readable
6015
6016 2002-08-08  John Levon  <levon@movementarian.org>
6017
6018         * LyXAction.h:
6019         * LyXAction.C:
6020         * MenuBackend.C:
6021         * ToolbarDefaults.C:
6022         * lyxfunc.C:
6023         * lyxrc.C:
6024         * toc.C: lyxaction cleanup
6025
6026 2002-08-08  John Levon  <levon@movementarian.org>
6027
6028         * BufferView2.C: small cleanup
6029
6030         * lyxfind.h:
6031         * lyxfind.C: move unnecessary header into the .C
6032
6033 2002-08-08  John Levon  <levon@movementarian.org>
6034
6035         * funcrequest.h: just tedious nonsense
6036
6037         * lyx_main.h:
6038         * lyx_main.C: cleanups
6039
6040         * buffer.C:
6041         * vspace.C: remove dead header lyx_main.h
6042
6043 2002-08-07  Angus Leeming  <leeming@lyx.org>
6044
6045         * Paragraph.[Ch]:
6046         * paragraph_pimpl.h:
6047         Forward declare class Counters in paragraph.h by moving the ctrs member
6048         variable into Paragraph::Pimpl.
6049         (counters): new method, returning a reference to pimpl_->ctrs.
6050
6051         * text2.C: ensuing changes.
6052
6053 2002-08-07  John Levon  <levon@movementarian.org>
6054
6055         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6056
6057         * BufferView_pimpl.C: announce X selection on double/triple
6058           click
6059
6060         * lyx_main.C: use correct bool in batch dispatch
6061
6062         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6063
6064 2002-08-07  André Pönitz <poenitz@gmx.net>
6065
6066         * funcrequest.h: new class to wrap a kb_action and its argument
6067
6068         * BufferView.[Ch]:
6069         * BufferView_pimpl[Ch]:
6070         * LaTeX.C:
6071         * LyXAction.[Ch]:
6072         * lyxfunc.[Ch]:
6073         * lyxrc.C: subsequent changes
6074
6075
6076 2002-08-07  John Levon  <levon@movementarian.org>
6077
6078         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6079           document options change.
6080
6081 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6082
6083         * counters.[Ch]
6084         * text2.C
6085         * paragraph.[Ch]
6086         * makefile.am: move counters functionality over from
6087         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6088
6089 2002-08-06  John Levon  <levon@movementarian.org>
6090
6091         * WordLangTuple.h: new file for word + language code tuple
6092
6093         * SpellBase.h:
6094         * pspell.h:
6095         * pspell.C:
6096         * ispell.h:
6097         * ispell.C:
6098         * lyxtext.h:
6099         * text.C:
6100         * text2.C:
6101         * BufferView.h:
6102         * BufferView2.C: use WordLangTuple
6103
6104         * layout.h:
6105         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6106
6107 2002-08-06  John Levon  <levon@movementarian.org>
6108
6109         * lyx_main.C: fix cmdline batch handling
6110
6111 2002-08-06  André Pönitz <poenitz@gmx.net>
6112
6113         * lyxrc.C: set default for show_banner to true
6114
6115 2002-08-06  John Levon  <levon@movementarian.org>
6116
6117         * pspell.C: fix a crash, and allow new aspell to work
6118
6119 2002-08-06  John Levon  <levon@movementarian.org>
6120
6121         * lyxfunc.C:
6122         * kbmap.C: small cleanup
6123
6124         * vspace.h:
6125         * vspace.C: add const
6126
6127 2002-08-05  John Levon  <levon@movementarian.org>
6128
6129         * LyXAction.C: back to tabular-insert
6130
6131 2002-08-04  John Levon  <levon@movementarian.org>
6132
6133         * BufferView.h:
6134         * BufferView.C: cosmetic change
6135
6136         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6137
6138         * bufferlist.C:
6139         * buffer.h:
6140         * buffer.C:
6141         * lyxcb.h:
6142         * lyxcb.C:
6143         * lyxserver.C:
6144         * lyxvc.C:
6145         * vc-backend.C:
6146         * BufferView2.C: purge all "Lyx" not "LyX" strings
6147
6148         * lyxcursor.h:
6149         * lyxcursor.C: attempt to add some documentation
6150
6151         * lyxfunc.C:
6152         * commandtags.h:
6153         * LyXAction.C:
6154         * ToolbarDefaults.C:
6155         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6156           merge with LFUN_TABULAR_INSERT
6157
6158         * Makefile.am:
6159         * SpellBase.h:
6160         * ispell.h:
6161         * ispell.C:
6162         * pspell.h:
6163         * pspell.C: split up i/pspell implementations into separate
6164           files, many cleanups
6165
6166         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6167
6168         * text2.C: some cleanup
6169
6170         * lyxfunc.C: don't check for isp_command == "none" any more, it
6171           didn't make any sense
6172
6173 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6174
6175         * counters.[Ch]
6176         * text2.C
6177         * paragraph.[Ch]
6178         * makefile.am: move counters functionality over
6179         from text2.C/paragraph.[Ch] to counters.[Ch], and
6180         make proper C++.
6181 2002-08-02  John Levon  <levon@movementarian.org>
6182
6183         * buffer.C: s/lyxconvert/lyx2lyx/
6184
6185 2002-08-02  Angus Leeming  <leeming@lyx.org>
6186
6187         * lyxlex.C: revert John's change as it breaks reading of the user
6188         preamble.
6189
6190 2002-08-02  Angus Leeming  <leeming@lyx.org>
6191
6192         * importer.C (Import):
6193         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6194         changes due to LyXView::view() now returning a boost::shared_ptr.
6195
6196 2002-08-02  John Levon  <levon@movementarian.org>
6197
6198         * lyxlex.C: small cleanup
6199
6200 2002-08-02  John Levon  <levon@movementarian.org>
6201
6202         * text2.C (status): small cleanup, no logic change
6203
6204 2002-08-01  John Levon  <levon@movementarian.org>
6205
6206         * buffer.h:
6207         * buffer.C (writeFile): don't output alerts, caller
6208           handles this
6209
6210         * bufferlist.C:
6211         * lyx_cb.C: from above
6212
6213         * lyxfunc.C: allow to open non-existent files
6214
6215 2002-07-31  John Levon  <levon@movementarian.org>
6216
6217         * lyxserver.C: don't let incidental errors get
6218           in the way (errno)
6219
6220 2002-07-30  John Levon  <levon@movementarian.org>
6221
6222         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6223
6224 2002-07-30  John Levon  <levon@movementarian.org>
6225
6226         * lyxserver.h:
6227         * lyxserver.C: remove I/O callback too
6228
6229 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6230
6231         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6232         log.
6233
6234 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6235
6236         * many files: strip,frontStrip -> trim,ltrim,rtrim
6237
6238 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6239
6240         * PrinterParams.h: remove extern containsOnly, and include
6241         support/lstrings.h instead.
6242
6243         * LaTeX.C (scanAuxFile): modify because of strip changes
6244         (deplog): ditto
6245         * buffer.C (makeLaTeXFile): ditto
6246         * bufferparams.C (writeFile): ditt
6247         * lyxfont.C (stateText): ditto
6248         * lyxserver.C (read_ready): ditto
6249         * vc-backend.C (scanMaster): ditto
6250
6251         * BufferView_pimpl.h: ws changes
6252
6253         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6254
6255 2002-07-26  André Pönitz <poenitz@gmx.net>
6256
6257         * kb_sequence.C: remove unnedred usings
6258
6259 2002-07-26  Juergen Vigna  <jug@sad.it>
6260
6261         * lyxfind.C (LyXReplace): we have to check better if the returned
6262         text is not of theLockingInset()->getLockingInset().
6263
6264 2002-07-25  Juergen Vigna  <jug@sad.it>
6265
6266         * lyxfind.C (LyXReplace): don't replace if we don't get the
6267         right LyXText.
6268
6269         * undo_funcs.C (createUndo): remove debugging code.
6270
6271 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6272
6273         * buffer.C (parseSingleLyXformat2Token): Use default placement
6274         when reading old floats.
6275
6276         * FloatList.C (FloatList): Change the default placement of figure
6277         and tables to "tbp".
6278
6279 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6280
6281         * MenuBackend.C: using std::max
6282
6283 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6284
6285         * MenuBackend.C (expandToc):
6286         (expandToc2): code moved from xforms menu frontend. It is now
6287         generic and TOCs are transparent to menu frontends.
6288
6289 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6290
6291         * toc.C (getTocList): protect against buf=0
6292
6293         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6294         Menu as first parameter. Now, this calls itself recursively to
6295         expand a whole tree (this will be useful for TOC handling)
6296         (expandFloatInsert): remove 'wide' version of floats
6297
6298         * MenuBackend.h (submenuname): returns the name of the submenu.
6299         (submenu): returns the submenu itself, provided it has been
6300         created by MenuBackend::expand
6301
6302 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6303
6304         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6305         insets which have noFontChange == true. (bug #172)
6306
6307 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6308
6309         * BufferView_pimpl.C: add connection objects and use them...
6310         (Pimpl): here.
6311
6312 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6313
6314         * MenuBackend.C (expandLastfiles):
6315         (expandDocuments):
6316         (expandFormats):
6317         (expandFloatListInsert):
6318         (expandFloatInsert):
6319         (expand): split expand in parts
6320
6321 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6322
6323         * lyx_gui.C: use lyx_gui::exit()
6324
6325 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6326
6327         * LyXAction.C: show the failing pseudo action
6328
6329 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6330
6331         * buffer.C (readFile): Run the lyxconvert script in order to read
6332         old files.
6333
6334 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6335
6336         * LyXAction.C:
6337         * commandtags.h:
6338         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6339
6340 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6341
6342         * LyXAction.C:
6343         * commandtags.h:
6344         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6345
6346 2002-07-22  Herbert Voss  <voss@lyx.org>
6347
6348         * lengthcommon.C:
6349         * lyxlength.[Ch]: add support for the vertical lengths
6350
6351 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6352
6353         * toc.[Ch]: std:: fixes
6354
6355 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6356
6357         * lyxrc.C: do not include lyx_main.h
6358
6359         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6360         for layouts
6361
6362         * lyxrc.C:
6363         * encoding.C:
6364         * bufferlist.C:
6365         * BufferView2.C: include "lyxlex.h"
6366
6367         * tabular.h:
6368         * bufferparams.h: do not #include "lyxlex.h"
6369
6370         * lyxtextclasslist.C (Add): remove method
6371         (classlist): renamed to classlist_
6372
6373         * paragraph_pimpl.C:
6374         * paragraph.C:
6375         * text2.C:
6376         * CutAndPaste.C:
6377         * bufferview_funcs.C:
6378         * bufferlist.C:
6379         * text.C:
6380         * LaTeXFeatures.C:
6381         * buffer.C:
6382         * toc.C (getTocList): use BufferParams::getLyXTextClass
6383
6384         * toc.C (getTocList): use InsetFloat::addToToc
6385
6386         * toc.[Ch]: new files, containing helper functions to handle table
6387         of contents
6388
6389         * lyxfunc.C (dispatch): no need to remove spaces around command
6390         given as a string
6391         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6392         first command of the sequence; it is not very clever, but I do not
6393         have a better idea, actually
6394
6395         * LyXAction.C (LookupFunc): make sure to remove space at the
6396         beginning and end of the command
6397
6398 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6399
6400         * MenuBackend.C (getMenubar): new method: return the menubar of
6401         this menu set
6402         (read): treat differently reading of menu and menubar (in
6403         particular, the menubar has no name now)
6404         (Menu::menubar): remove
6405
6406         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6407         saving is finished
6408
6409 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6410
6411         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6412         a bibitem inset in a RTL paragraph.
6413
6414 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6415
6416         * paragraph_pimpl.C: constify
6417
6418         * BufferView_pimpl.C:
6419         * LaTeX.C:
6420         * lyxfunc.C: fix dispatch in a nicer way
6421
6422 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6423
6424         * lyxfunc.C (dispatch):
6425         * BufferView_pimpl.C:
6426         * BufferView_pimpl.h:
6427         * BufferView.C:
6428         * BufferView.h: rename Dispatch() to dispatch()
6429
6430         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6431
6432         * lyxlayout.C (Read): honor DependsOn tag
6433
6434         * lyxlayout.[Ch] (depends_on): new method
6435
6436         * version.C.in: update lyx_docversion
6437
6438         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6439
6440         * paragraph.C (validate): remove from here...
6441         * paragraph_pimpl.C (validate): ... and move here
6442         (isTextAt): make it const
6443
6444         * buffer.C (getLists): ws cleanup
6445
6446 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6447
6448         * language.C (read): Use iso8859-1 encoding in latex_lang
6449         (this prevents LyX from crashing when using iso10646-1 encoding).
6450
6451 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6452
6453         * text2.C (toggleInset): if cursor is inside an inset, close the
6454         inset and leave cursor _after_ it
6455
6456 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6457
6458         * lyxfunc.C: move minibuffer completion handling out of here
6459
6460 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6461
6462         * BufferView_pimpl.C:
6463         * LaTeX.C: fix dispatch calls
6464
6465 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6466
6467         * text.C (drawChars): Fix Arabic text rendering.
6468
6469 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6470
6471         * LyXAction.C:
6472         * commandtags.h:
6473         * lyxfunc.C: remove message-push/pop
6474
6475         * lyxserver.C:
6476         * lyxfunc.h:
6477         * lyxfunc.C: rationalise some code by removing verboseDispatch
6478           in favour of a bool argument to dispatch()
6479
6480 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6481
6482         * lyx_main.C (init): make sure to read symlinks as absolute paths
6483
6484 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6485
6486         * lyxfunc.h:
6487         * lyxfunc.C: no need for commandshortcut to be a member
6488
6489 2002-07-15  André Pönitz <poenitz@gmx.net>
6490
6491         * converter.C: add support for $$s (scripts from lib/scripts dir)
6492         * lyx_main.C: white space
6493
6494 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6495
6496         * bufferlist.C:
6497         * lyxrc.h:
6498         * lyxrc.C: remove second exit confirmation
6499
6500 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6501
6502         * BufferView.h:
6503         * BufferView.C:
6504         * BufferView2.C:
6505         * BufferView_pimpl.h:
6506         * BufferView_pimpl.C:
6507         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6508
6509 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6510
6511         * MenuBackend.C (expand): add numeric shortcuts to document menu
6512
6513         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6514
6515 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6516
6517         * lyxfont.C (setLyXFamily):
6518         (setLyXSeries):
6519         (setLyXShape):
6520         (setLyXSize):
6521         (setLyXMisc):
6522         (lyxRead):
6523         * debug.C (value):
6524         * buffer.C (asciiParagraph): use ascii_lowercase
6525
6526 2002-07-15  Mike Fabian  <mfabian@suse.de>
6527
6528         * lyxlex_pimpl.C (search_kw):
6529         * lyxlex.C (getLongString):
6530         * converter.h (operator<):
6531         * converter.C (operator<):
6532         * buffer.C (parseSingleLyXformat2Token):
6533         (asciiParagraph):
6534         * ToolbarDefaults.C (read):
6535         * MenuBackend.C (checkShortcuts):
6536         (read):
6537         * LColor.C (getFromGUIName):
6538         (getFromLyXName): use the compare_ascii_no_case instead of
6539         compare_no_case, because in turkish, 'i' is not the lowercase
6540         version of 'I', and thus turkish locale breaks parsing of tags.
6541
6542 2002-07-16  Angus Leeming  <leeming@lyx.org>
6543
6544         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6545         now takes a Buffer const & argument.
6546
6547 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6548
6549         * BufferView.C (resize): check there's a buffer to resize
6550
6551 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6552
6553         * lyxfunc.C: remove dead code
6554
6555         * lyxserver.h:
6556         * lyxserver.C: use lyx_guii::set_read_callback
6557
6558 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6559
6560         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6561         an inset in a RTL paragraph.
6562
6563 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6564
6565         * lyxfunc.C: repaint after a font size update
6566
6567 2002-07-15  André Pönitz <poenitz@gmx.net>
6568
6569         * lyxlength.C: inBP should be able to return negative values
6570
6571 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6572
6573         * lyxfunc.C: use lyx_gui::update_fonts()
6574
6575 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6576
6577         * lyxfunc.C: use lyx_gui::update_color()
6578
6579 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6580
6581         * bufferlist.C:
6582         * lyxfunc.h:
6583         * lyxfunc.C:
6584         * lyxrc.h:
6585         * lyxrc.C: remove file->new asks for name option, and let
6586           buffer-new take an argument
6587
6588 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6589
6590         * BufferView_pimpl.C: remove unneeded extra repaint()
6591
6592 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6593
6594         * LyXAction.C: allow command-sequence with NoBuffer
6595
6596         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6597
6598 2002-07-10  Angus Leeming  <leeming@lyx.org>
6599
6600         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6601
6602 2002-07-09  Angus Leeming  <leeming@lyx.org>
6603
6604         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6605
6606 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6607
6608         * lengthcommon.h: whitespace
6609
6610         * lyxfunc.C: update scrollbar after goto paragraph
6611
6612         * lyxtext.h: factor out page break drawing, and fix it so
6613           page break/added space paints as selected nicely
6614
6615 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6616
6617         * BufferView_pimpl.C: add FIXMEs, clean up a little
6618
6619 2002-07-09  André Pönitz <poenitz@gmx.net>
6620
6621         * lyxfont.[Ch]: support for wasy symbols
6622
6623 2002-07-08  André Pönitz <poenitz@gmx.net>
6624
6625         * BufferView_pimpl.C: apply John's patch for #93.
6626
6627 2002-07-05  Angus Leeming  <leeming@lyx.org>
6628
6629         * BufferView_pimpl.C (buffer): generate previews if desired.
6630
6631         * LColor.h: add "preview" to the color enum.
6632
6633         * LColor.C (LColor): add a corresponding entry to the items array.
6634
6635         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6636         with this buffer.
6637
6638 2002-07-05  Angus Leeming  <leeming@lyx.org>
6639
6640         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6641         The body of the code is now in the method that is passed an ostream &
6642         rather than a file name.
6643         Pass an additional only_preamble parameter, useful for the forthcoming
6644         preview stuff.
6645
6646 2002-07-03  André Pönitz <poenitz@gmx.net>
6647
6648         * lyxfunc.C: simplify getStatus() a bit for math stuff
6649
6650 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6651
6652         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6653
6654 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6655
6656         * text.C (changeRegionCase): do not change case of all the
6657         document when region ends at paragraph end (bug #461)
6658
6659 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6660
6661         * paragraph.C (startTeXParParams):
6662         (endTeXParParams): add \protect when necessary
6663
6664 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6665
6666         * BufferView_pimpl.C (workAreaExpose): remove warning
6667
6668 2002-06-27  Angus Leeming  <leeming@lyx.org>
6669
6670         * Makefile.am: add lyxlayout_ptr_fwd.h.
6671
6672 2002-06-26  André Pönitz <poenitz@gmx.net>
6673
6674         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6675
6676 2002-06-25  Angus Leeming  <leeming@lyx.org>
6677
6678         * lyxfunc.C (dispatch): Comment out the call to
6679         grfx::GCache::changeDisplay. The method no longer exists now that the
6680         pixmap generation part of the graphics loader has been moved into
6681         InsetGraphics.
6682
6683 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6684
6685         * text2.C: layout as layout
6686
6687         * text.C: layout as layout
6688
6689         * tabular.C (OldFormatRead): layout as layout
6690
6691         * paragraph_pimpl.C (TeXDeeper): layout as layout
6692         (realizeFont): layout as layout
6693
6694         * paragraph.C (writeFile): layout as layout
6695         (validate): layout as layout
6696         (getFont): layout as layout
6697         (getLabelFont): layout as layout
6698         (getLayoutFont): layout as layout
6699         (breakParagraph): layout as layout
6700         (stripLeadingSpaces): layout as layout
6701         (getEndLabel): layout as layout
6702         (getMaxDepthAfter): layout as layout
6703         (applyLayout): layout as layout
6704         (TeXOnePar): layout as layout
6705         (simpleTeXOnePar): layout as layout
6706         (TeXEnvironment): layout as layout
6707         (layout): layout as layout
6708         (layout): layout as layout
6709
6710         * lyxtextclass.C (compare_name): new functor to work with
6711         shared_ptr, layout as layout
6712         (Read): layout as layout
6713         (hasLayout): layout as layout
6714         (operator): layout as layout
6715         (delete_layout): layout as layout
6716         (defaultLayout): layout as layout
6717
6718         * lyxlayout_ptr_fwd.h: new file
6719
6720         * lyxlayout.C (Read): layout as layout
6721
6722         * lyx_cb.C (MenuInsertLabel): layout as layout
6723
6724         * bufferlist.C (newFile): layout as layout
6725
6726         * buffer.C (readLyXformat2): layout as layout
6727         (parseSingleLyXformat2Token): layout as layout
6728         (insertStringAsLines): layout as layout
6729         (asciiParagraph): layout as layout
6730         (latexParagraphs): layout as layout
6731         (makeLinuxDocFile): layout as layout
6732         (simpleLinuxDocOnePar): layout as layout
6733         (makeDocBookFile): layout as layout
6734         (simpleDocBookOnePar): layout as layout
6735         (getLists): layout as layout
6736
6737         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6738
6739         * CutAndPaste.C (cutSelection): layout as layout
6740         (pasteSelection): layout as layout
6741         (SwitchLayoutsBetweenClasses): layout as layout
6742
6743         * BufferView_pimpl.C (Dispatch): layout as layout
6744         (smartQuote): layout as layout
6745
6746         * BufferView2.C (unlockInset): layout as layout
6747
6748 2002-06-24  André Pönitz <poenitz@gmx.net>
6749
6750         * lyxfunc.C: fix #487
6751
6752 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6753
6754         * lyxrc.h:
6755         * lyxrc.C:
6756         * lyxfunc.C: remove display_shortcuts, show_banner
6757
6758 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6759
6760         * Buffer_pimpl.C: oops, update on resize
6761
6762 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6763
6764         * buffer.C:
6765         * converter.C:
6766         * exporter.C:
6767         * lyxfunc.C:
6768         * BufferView.h:
6769         * BufferView.C: use repaint()
6770
6771         * BufferView_pimpl.h:
6772         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6773           as it's a clearer description. Remove superfluous
6774           redraws.
6775
6776 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6777
6778         * text.C: fix bug 488. Not ideal, but getting
6779           getWord() to work properly for the insets that
6780           matter is more difficult ...
6781
6782 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6783
6784         * BufferView_pimpl.C:
6785         * LyXAction.C:
6786         * commandtags.h:
6787         * lyxfunc.C: remove the six million index lyxfuncs to just
6788           one, and DTRT (bug 458)
6789
6790 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6791
6792         * BufferView.h:
6793         * BufferView.C:
6794         * BufferView_pimpl.h:
6795         * BufferView_pimpl.C: clean up resize() stuff,
6796           and unnecessary updateScreen()s
6797
6798 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6799
6800         * BufferView.h:
6801         * BufferView.C:
6802         * BufferView_pimpl.h:
6803         * BufferView_pimpl.C:
6804         * lyxfind.h:
6805         * lyxfind.C:
6806         * minibuffer.C: remove focus management of workarea,
6807           not needed. Use screen's greyOut()
6808
6809 2002-06-17  Herbert Voss  <voss@lyx.org>
6810
6811         * converter.C: (convert) do not post a message, when converting
6812         fails, let the calling function decide what to do in this case
6813
6814 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6815
6816         * lyxfunc.C: tidy up a little
6817
6818 2002-06-16    <alstrup@diku.dk>
6819
6820         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6821         Got rid of FORMS_H_LOCATION include. Now we are
6822         GUII.
6823
6824 2002-06-15  LyX Development team  <lyx@rilke>
6825
6826         * buffer.[Ch] (sgmlOpenTag):
6827         (sgmlCloseTag): Added support for avoiding pernicious mixed
6828         content. Return number of lines written.
6829
6830         (makeLinuxDocFile):
6831         (makeDocBookFile): Fixed calls to sgml*Tag.
6832         Simple white space clean.
6833
6834         (simpleDocBookOnePar): Simple white space clean.
6835
6836         * tabular.[Ch] (docBook): Renamed to docbook and got another
6837         argument to related with the pernicious mixed content.
6838
6839         (docbookRow): Fixed calls for docbook inset method.
6840
6841 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6842
6843         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6844         so it's X11 independent.
6845
6846         * kb*.[Ch]: ditto.
6847
6848         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6849
6850 2002-06-15  Lyx Development team  <lyx@electronia>
6851
6852         * intl.h: Renamed getTrans to getTransManager.
6853
6854 2002-06-14  Angus Leeming  <leeming@lyx.org>
6855
6856         * Makefile.am: nuke forgotten stl_string_fwd.h.
6857
6858 2002-06-12  Angus Leeming  <leeming@lyx.org>
6859
6860         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6861
6862 2002-06-13  Angus Leeming  <leeming@lyx.org>
6863
6864         * LaTeX.C:
6865         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6866
6867 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6868
6869         * kbmap.C (getiso): add support for cyrillic and greek
6870
6871 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6872
6873         * BufferView.h:
6874         * BufferView.C:
6875         * BufferView_pimpl.h:
6876         * BufferView_pimpl.C: move bogus scrolling logic
6877           to xforms
6878
6879 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6880
6881         * lyxfunc.C:
6882         * BufferView_pimpl.C: view->resize() change
6883
6884 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6885
6886         * BufferView_pimpl.C: topCursorVisible
6887           prototype change
6888
6889 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6890
6891         * Makefile.am:
6892         * lyx_gui.h:
6893         * lyx_gui.C: move to frontends/
6894
6895         * main.C:
6896         * lyx_main.h:
6897         * lyx_main.C: changes from above
6898
6899 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6900
6901         * intl.C:
6902         * intl.h:
6903         * kbmap.C:
6904         * kbsequence.C:
6905         * lyx_cb.C:
6906         * lyx_main.C: minor tidy
6907
6908 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6909
6910         * BufferView_pimpl.h:
6911         * BufferView_pimpl.C:
6912         * BufferView.h:
6913         * BufferView.C: make painter() const,
6914           remove dead code
6915
6916         * BufferView2.C: use screen() accessor
6917
6918         * lyx_main.h:
6919         * lyx_main.C: some minor cleanup
6920
6921 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6922
6923         * BufferView_pimpl.h:
6924         * BufferView_pimpl.C: remove enter/leaveView,
6925           use workHeight()
6926
6927 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6928
6929         * BufferView.h:
6930         * BufferView.C:
6931         * BufferView2.C:
6932         * BufferView_pimpl.h:
6933         * BufferView_pimpl.C: only construct screen once,
6934           rename
6935
6936         * lyxrc.C: remove pointless comment
6937
6938 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6939
6940         * BufferView.h:
6941         * BufferView.C: remove active() and belowMouse()
6942
6943         * BufferView_pimpl.h:
6944         * BufferView_pimpl.C: use workarea() not workarea_,
6945           and make it use a scoped_ptr instead
6946
6947 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6948
6949         * lyx_gui.C: add debug message on BadWindow
6950
6951 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6952
6953         * sp_spell.C: fdopen is not part of the C++ standard.
6954
6955         * paragraph.C (InsetIterator): use >= instead of ==
6956
6957 2002-06-07  Angus Leeming  <leeming@lyx.org>
6958
6959         Fixes needed to compile with Compaq cxx 6.5.
6960         * BufferView_pimpl.C:
6961         * DepTable.C:
6962         * buffer.C:
6963         * converter.C:
6964         * encoding.C:
6965         * lyx_gui.C:
6966         * lyx_main.C:
6967         * lyxtextclasslist.C:
6968         * minibuffer.C:
6969         * sp_spell.C:
6970         * tabular_funcs.C:
6971         * vc-backend.C:
6972         all c-library variables have been moved into namespace std. Wrap
6973         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6974
6975         * lyxlength.C:
6976         * tabular-old.C:
6977         * tabular.C:
6978         Add a using std::abs declaration.
6979
6980         * kbmap.h (modifier_pair):
6981         * paragraph.h (InsetTable, InsetList):
6982         * lyxfont.h (FontBits):
6983         type definition made public.
6984
6985         * bufferlist.C (emergencyWriteAll): the compiler complains that
6986         there is more than one possible lyx::class_fun template to choose from.
6987         I re-named the void specialisation as lyx::void_class_fun.
6988
6989         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6990
6991         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6992         the compiler is is unable to find tostr in write_attribute.
6993
6994 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6995
6996         * buffer.C (sgmlError): hide #warning
6997
6998 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6999
7000         * xtl/*: get rid of xtl, which is not in use anyway
7001
7002         * LyXAction.C (init):
7003         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7004         were unimplemented xtl experimentation
7005
7006 2002-06-04  André Pönitz <poenitz@gmx.net>
7007
7008         * lyxfunc.C: disable array operation on simple formulae
7009
7010 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7011
7012         * converter.C: constify a bit
7013
7014 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7015
7016         * lyx_gui.C: check xforms version correctly
7017
7018 2002-04-30  Herbert Voss  <voss@lyx.org>
7019
7020         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7021         "keep" option
7022
7023 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7024
7025         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7026           attempt to register it with a VCS)
7027
7028 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7029
7030         * lyx_main.C (init): honor variables LYX_DIR_13x and
7031         LYX_USERDIR_13x
7032
7033 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7034
7035         * buffer.h:
7036         * buffer.C:
7037         * lyx_main.C: fix a crash on bad command line,
7038           and give a useful exit status on error
7039
7040         * lyxfunc.C (doImport): allow -i lyx to work
7041
7042 2002-03-30  André Pönitz <poenitz@gmx.net>
7043
7044         * lyxfunc.C: mathed font changes
7045
7046 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7047
7048         * LaTeX.C:
7049         * importer.h:
7050         * importer.C:
7051         * lyx_sty.h:
7052         * lyx_sty.C:
7053         * lyxlex.C:
7054         * lyxrow.h:
7055         * lyxtext.h:
7056         * paragraph.h:
7057         * paragraph.C:
7058         * texrow.h:
7059         * texrow.C:
7060         * text.C:
7061         * trans_mgr.h: srcdocs, and some minor cleanups
7062
7063 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7064
7065         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7066         call getFont all the time)
7067
7068 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7069
7070         * switch from SigC signals to boost::signals
7071
7072 2002-05-29  André Pönitz <poenitz@gmx.net>
7073
7074         * paragraph_pimpl.C (getChar): don't call size() too often...
7075
7076 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7077
7078         * paragraph_pimpl.C (insertChar): do not try to update tables when
7079         appending (pos == size())
7080
7081         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7082         in order to reduce drastically the number of comparisons needed to
7083         parse a large document
7084
7085 2002-05-29  André Pönitz <poenitz@gmx.net>
7086
7087         * text.C:
7088         * text2.C:
7089         * lyxtextclass.C:
7090         * sp_pspell.h:
7091         * textclasslist.[Ch]:
7092         * sp_ispell.h: whitespace change
7093
7094 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7095
7096         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7097         lyxaction directly now.
7098
7099 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7100
7101         * trans.C:
7102         * lyxfont.C:
7103         * lyxvc.C: remove unused headers
7104
7105 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7106
7107         * Makefile.am:
7108         * buffer.h:
7109         * undostack.h:
7110         * undostack.C:
7111         * undo_funcs.h:
7112         * undo_funcs.C: some cleanups. Use shared_ptr
7113           and a template for the undo stacks.
7114
7115 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7116
7117         * BufferView_pimpl.h:
7118         * BufferView_pimpl.C:
7119         * kbmap.h:
7120         * kbmap.C:
7121         * kbsequence.h:
7122         * kbsequence.C:
7123         * lyxfunc.h:
7124         * lyxfunc.C:
7125         * text2.C: use key_state/mouse_state
7126
7127 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7128
7129         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7130         and LSubstring
7131
7132         * chset.C: change include order
7133         (loadFile): use boost regex and get rid of LRegex and LSubstring
7134
7135         * Makefile.am (BOOST_LIBS): new variable
7136         (lyx_LDADD): use it
7137
7138         * LaTeX.C: change include order.
7139         (scanAuxFile): use boost regex and get rid of LRegex and
7140         LSubstring
7141         (deplog): ditto
7142
7143 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7144
7145         * ColorHandler.h:
7146         * ColorHandler.C:
7147         * FontInfo.h:
7148         * FontInfo.C: moved to frontends/xforms/
7149
7150         * FontLoader.h:
7151         * FontLoader.C: moved into frontends for GUIIzation
7152
7153         * Makefile.am:
7154         * lyx_gui.C:
7155         * lyxfont.C:
7156         * lyxfunc.C: changes from above
7157
7158 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7159
7160         * LColor.C: remove spurious X include
7161
7162         * BufferView_pimpl.C:
7163         * Makefile.am:
7164         * font.h:
7165         * font.C:
7166         * text.C:
7167         * text2.C: move font metrics to frontends/
7168
7169 2002-05-24  Juergen Vigna  <jug@sad.it>
7170
7171         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7172         setting the undo_cursor.
7173
7174         * ParagraphParameters.h: include local includes first.
7175
7176 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7177
7178         * BufferView_pimpl.C:
7179         * BufferView_pimpl.h:
7180         * Makefile.am:
7181         * WorkArea.h:
7182         * WorkArea.C:
7183         * screen.C: move WorkArea into frontends/
7184
7185         * lyxscreen.h:
7186         * screen.C:
7187         * text.C:
7188         * BufferView.C:
7189         * BufferView2.C: move LyXScreen into frontends/
7190
7191         * lyxlookup.h:
7192         * lyxlookup.C:
7193         * lyx_gui.C: move lyxlookup into frontends/xforms/
7194
7195 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7196
7197         * BufferView2.C:
7198         * BufferView_pimpl.C:
7199         * FontLoader.C:
7200         * LyXView.h:
7201         * LyXView.C:
7202         * Makefile.am:
7203         * WorkArea.C:
7204         * XFormsView.h:
7205         * XFormsView.C:
7206         * buffer.C:
7207         * bufferlist.C:
7208         * bufferview_funcs.C:
7209         * converter.C:
7210         * importer.C:
7211         * lyx_cb.C:
7212         * lyx_gui.C:
7213         * lyx_main.C:
7214         * lyx_find.C:
7215         * lyxfunc.C:
7216         * lyxvc.C:
7217         * minibuffer.C:
7218         * text.C:
7219         * text2.C:
7220         * trans.C:
7221         * vc-backend.C: move LyX/XFormsView into frontends/
7222
7223 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7224
7225         * Makefile.am:
7226         * PainterBase.C:
7227         * PainterBase.h:
7228         * Painter.C:
7229         * Painter.h:
7230         * WorkArea.C:
7231         * WorkArea.h:
7232         * screen.C:
7233         * tabular.C:
7234         * text.C:
7235         * text2.C: move Painter to frontends/
7236
7237 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7238
7239         * buffer.C: comment out some some code that depend upon lyx_format
7240         < 220
7241
7242         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7243         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7244
7245         * buffer.h (NO_COMPABILITY): turn off compability
7246
7247         * ColorHandler.C: include scoped_array.hpp
7248
7249         * font.C: Use more specific smart_ptr header.
7250         * Painter.C: ditto
7251         * gettext.C: ditto
7252         * ShareContainer.h: ditto
7253         * lyx_main.h: ditto
7254         * kbmap.h: ditto
7255         * FontInfo.h: ditto
7256         * BufferView_pimpl.h: ditto
7257         * ColorHandler.h: ditto
7258
7259         * kbmap.C (defkey): change call to shared_ptr::reset
7260
7261 2002-05-21  Juergen Vigna  <jug@sad.it>
7262
7263         * buffer.C (insertErtContents): fix to insert ert asis if it is
7264         non empty. Skip it completely if it contains only whitespaces.
7265
7266 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7267
7268         * BufferView_pimpl.C:
7269         * BufferView2.C: clear selection on paste (bug 393)
7270
7271 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7272
7273         * DepTable.C: include ctime
7274
7275 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7276
7277         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7278
7279 2002-05-14  Juergen Vigna  <jug@sad.it>
7280
7281         * text.C (breakParagraph): fixed function to honor the keepempty
7282         layout in the right maner and also to permit the right breaking
7283         algorithm on empty or non empyt keepempty paragraphs.
7284
7285         * paragraph.C (breakParagraph): we have to check also if the par
7286         is really empty (!size()) for isempty otherwise we do the wrong
7287         paragraph break.
7288
7289 2002-05-10  Juergen Vigna  <jug@sad.it>
7290
7291         * buffer.[Ch] : The following are only changes to the ert
7292         compatibility read reading old LaTeX layout and font stuff and
7293         convert it to ERTInsets.
7294
7295         * buffer.h: added isErtInset().
7296
7297         * buffer.C (struct ErtComp): add a fromlayout bool to check
7298         if we're inside a LaTeX layout.
7299         (isErtInset): new helper function.
7300         (insertErtContents): look for other ert insets before this one
7301         and insert the contents there, so that we don't have subsequent
7302         ERT insets with nothing between them. This way we create only one
7303         inset with multiple paragraphs. Also check if we don't insert only
7304         spaces ' ' as they are ignored anyway afterwards in the .tex file
7305         so if we have only spaces we will ignore this latex part in the
7306         new file.
7307         (parseSingleLyXformat2Token \\layout): better compatibility when
7308         reading layout-latex stuff.
7309         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7310         language tag.
7311         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7312         stuff after reading the inset only get the information back from
7313         the stack.
7314
7315 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7316
7317         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7318
7319         * LaTeXFeatures.C (getBabelOptions): New method.
7320
7321 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7322
7323         * BufferView_pimpl.C (Dispatch): work around missing argument for
7324         'layout'
7325
7326 2002-05-08  Juergen Vigna  <jug@sad.it>
7327
7328         * text.C (leftMargin): handle paragraph leftindent.
7329
7330         * paragraph.C (writeFile): write the new \\leftindent tag.
7331         (validate): handle leftindent code.
7332         (TeXEnvironment): handle paragraphleftindent code again.
7333
7334         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7335
7336         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7337         for paragrap_extra indent code and new token \\leftindent.
7338         (latexParagraphs): handle the leftindent as environment.
7339
7340         * ParameterStruct.h: added leftindent support.
7341
7342         * ParagraphParameters.C (leftIndent): added support functions for
7343         the paragraph left indent.
7344
7345         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7346         more appropriate.
7347
7348 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7349
7350         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7351         inside insetERT.
7352
7353         * text.C (computeBidiTables): No bidi in insetERT.
7354
7355         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7356         in RTL documents.
7357
7358 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7359
7360         * version.C.in: pre 5
7361
7362 2002-05-02  José Matos  <jamatos@fep.up.pt>
7363         * buffer.C (makeDocBookFile): white space changes, add newline to
7364         command styles.
7365         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7366
7367         * tabular.C (docBook): fix typo.
7368
7369 2002-05-03  Juergen Vigna  <jug@sad.it>
7370
7371         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7372         change in LyXText as we can not be sure it was not freed.
7373         (drawOneRow): remove unused code.
7374
7375         * text.C (drawInset): redo the calculation of the need_break_row as
7376         it could have a row which was already freed.
7377         (draw): look at the return value of drawInset and return false if
7378         it also returned false.
7379         (paintRowText): look at the return value of draw and return false if
7380         it also returned false.
7381
7382         * lyxtext.h: added bool return type to drawInset() and draw() so that
7383         if we have a change in the row so that the rowbreak has to be redone
7384         we abort drawing as it will be called again.
7385
7386 2002-05-02  Juergen Vigna  <jug@sad.it>
7387
7388         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7389         a change in the maintext also if we're inside an inset.
7390         (Dispatch): set the cursor again after a break line and after the
7391         screen has been updated as it could be we're in a different row.
7392
7393         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7394         to set the cursor behind the pargraph with > size().
7395         (setCursor): check also for the same paragraph when checking where
7396         to put the cursor if we have a NFR inset.
7397
7398         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7399         parts of layout read further up as it still was in the wrong
7400         position.
7401
7402 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7403
7404         * screen.C (drawFromTo): change sine fullRebreak always return
7405         true.
7406
7407         * buffer.C (parseSingleLyXformat2Token): reindent some
7408
7409         * BufferView_pimpl.C (update): change since fullRebreak always
7410         return true.
7411         (Dispatch): git rid of the last hardcoded "Standard"s.
7412
7413 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7414
7415         * text2.[Ch] (fullRebreak): make it return void now that we always
7416         returned true.
7417
7418 2002-04-30  Juergen Vigna  <jug@sad.it>
7419
7420         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7421         ert compatibility check for "latex" layout.
7422
7423 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7424
7425         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7426         minipages: use col% instead of p%, and also use the current font.
7427         (makeLaTeXFile): Fix use babel condition.
7428         (parseSingleLyXformat2Token): Correct font when reading old floats.
7429
7430 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7431
7432         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7433         inserting list of floats.
7434
7435 2002-04-25  Herbert Voss  <voss@lyx.org>
7436
7437         * MenuBackend.C (expand): don't add the graphics extensions to the
7438         export menu
7439
7440 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7441
7442         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7443         non-existing layout, do not complain if it was the default layout
7444         of the original class (bug #342)
7445
7446 2002-04-24  Juergen Vigna  <jug@sad.it>
7447
7448         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7449         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7450
7451 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7452
7453         * buffer.C (getBibkeyList): If using \bibliography, return the
7454         option field with the reference itself. Enables us to provide natbib
7455         support when using \bibliography.
7456
7457 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7458
7459         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7460
7461         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7462         natbib is provided by the LaTeX class.
7463
7464 2002-04-23  Juergen Vigna  <jug@sad.it>
7465
7466         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7467         Wakeup functions.
7468
7469         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7470
7471 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7472
7473         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7474
7475         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7476         ensuremath around textordmasculine, textordfeminine and
7477         textdegree.
7478
7479 2002-04-19  Juergen Vigna  <jug@sad.it>
7480
7481         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7482         reinitializing the buffer otherwise row-dimensions may be wrong.
7483         (update): reset also the selection cursors if they do exits otherwise
7484         their x/y positions may be wrong.
7485
7486         * text2.C (cursorDown): don't enter the inset if we came from a row
7487         above and are one row over the inset.
7488
7489         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7490         really leaving an inset.
7491
7492 2002-04-18  Juergen Vigna  <jug@sad.it>
7493
7494         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7495         of the selected paragraph does not have the selected layout also if
7496         the last one had!
7497
7498         * text2.C (setLayout): fixed bug which did not change last selected
7499         paragraph.
7500
7501         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7502         changed the read and substituted \\end_float with \\end_inset!
7503
7504         * BufferView_pimpl.C (cursorPrevious):
7505         (cursorNext): fixed to make it work with rows heigher than the work
7506         area without moving the cursor only the draw of the row.
7507         (workAreaMotionNotify): fix jumping over high rows.
7508
7509 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7510
7511         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7512         Ressler.
7513
7514 2002-04-16  Juergen Vigna  <jug@sad.it>
7515
7516         * text2.C (setCursor): set also the irow().
7517         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7518         (cursorUp):
7519         (cursorDown): support for locking an inset if the x_fix value goes
7520         inside it. That way I can transverse insets too with cursor up/down.
7521
7522         * lyxrow.h: added irow helper function same as other (i) functions.
7523
7524         * BufferView_pimpl.C (cursorPrevious):
7525         (cursorNext): fixed for insets!
7526
7527 2002-04-15  Juergen Vigna  <jug@sad.it>
7528
7529         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7530         position otherwise it is wrong in some cases.
7531
7532         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7533         inside the inset before the call.
7534
7535 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7536
7537         * buffer.[Ch] (getBibkeyList): make it const.
7538
7539 2002-04-12  Juergen Vigna  <jug@sad.it>
7540
7541         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7542
7543         * text2.C (getCursorX): new helper function
7544         (setCursor): compute also ix_
7545         (setCursorFromCoordinates): set also ix.
7546
7547         * lyxcursor.h: added ix_ and helper functions.
7548
7549         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7550
7551         * buffer.C (insertStringAsLines): dont break paragraph if the this
7552         paragraph is inside an inset which does not permit it!
7553
7554         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7555         also with no chars on this paragraph.
7556         (paintRowText): only paint stuff if it's inside the workarea!
7557
7558         * paragraph.C (breakParagraph): honor keepempty flag and break the
7559         paragraph always below not above.
7560
7561         * BufferView2.C (unlockInset): update the paragraph layout on inset
7562         unlock as we changed paragraph in such a case.
7563
7564         * lyxfind.C (LyXFind): clear the former selection if not found!
7565
7566         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7567         again called in insertChar().
7568
7569         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7570         an inset which uses the whole row!
7571         (rightMargin): ditto.
7572         (insertChar): force a rebreak if we inserted an inset!
7573
7574 2002-03-28  Herbert Voss  <voss@lyx.org>
7575
7576         * lyxlength.[Ch]: add inBP() to get the right PS-point
7577         units (BigPoint). With inPixels we have rounding errors
7578
7579 2002-04-11  Juergen Vigna  <jug@sad.it>
7580
7581         * text2.C (setCursorFromCoordinates): set iy to the right value.
7582         (setCursor): add check if row->previous exists!
7583
7584         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7585         an old float_type as this was the case in the old code!
7586
7587         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7588
7589         * BufferView2.C (showLockedInsetCursor): use iy
7590         (fitLockedInsetCursor): ditto
7591
7592         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7593         locked insets as there we have the right value now.
7594
7595         * lyxcursor.C: added iy_ variable and iy functions to set to the
7596         baseline of cursor-y of the locked inset.
7597
7598         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7599         (setCursor): fixed for insets which need a full row.
7600
7601         * text.C (rowLastPrintable): don't ignore the last space when before
7602         an inset which needs a full row.
7603         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7604         as last character of a row when before a inset which needs a full row.
7605
7606 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7607
7608         * version.C.in: update date
7609
7610         * text2.C (fullRebreak): try to always return true and see what
7611         happens...
7612
7613 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7614
7615         * MenuBackend.C (expand): use Floating::listName
7616
7617         * FloatList.C (FloatList): add listName argument to the built-in
7618         floats
7619
7620         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7621         text associated with the float.
7622
7623 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7624
7625         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7626
7627 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7628
7629         * ShareContainer.h: add a couple of missing typenames.
7630
7631 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7632
7633         * lyxrc.C (getDescription): use _() correctly rather than N_().
7634
7635 2002-03-28  Herbert Voss  <voss@lyx.org>
7636
7637         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7638         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7639
7640 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7641
7642         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7643         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7644
7645 2002-03-29  Juergen Vigna  <jug@sad.it>
7646
7647         * lyxfunc.C (dispatch): add a missing fitCursor call.
7648
7649         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7650         it was scrolled by a cursor move, so return the bool status.
7651
7652         * BufferView.C (fitCursor): return the bool flag also to the outside
7653         world as this is needed.
7654
7655         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7656
7657         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7658         call the edit() as it is not needed (and wrong) IMO.
7659         (workAreaButtonPress): set the screen_first variable before evt.
7660         unlock the inset as this may change screen_first and then we have
7661         a wrong y position for the click!
7662
7663 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7664
7665         * MenuBackend.C (expand): another translation that I missed
7666
7667 2002-03-28  Juergen Vigna  <jug@sad.it>
7668
7669         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7670
7671         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7672
7673 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7674
7675         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7676
7677         * MenuBackend.C (expand): fix export/view/update when there is no
7678         document open.
7679
7680 2002-03-27  Herbert Voss  <voss@lyx.org>
7681
7682         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7683         and text%
7684
7685 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7686
7687         * bufferview_funcs.C (currentState): only show paragraph number
7688         for is DEVEL_VERSION is set.
7689
7690         * lyxfunc.C (dispatch): put warning in INFO channel
7691
7692         * MenuBackend.C (expand): translate the name of floats
7693
7694         * FloatList.C (FloatList): mark the float names for translation
7695
7696         * converter.C (convert): use LibScriptSearch
7697
7698 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7699
7700         * MenuBackend.C (defaults): fix default menu (we might as well get
7701         rid of it...)
7702
7703 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7704
7705         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7706         directory.
7707
7708 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7709
7710         * lyxvc.C: reorder includes.
7711
7712 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7713
7714         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7715           properly
7716
7717 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7718
7719         * CutAndPaste.C: change layouts earlier on paste
7720           to avoid crashing when calling getFont()
7721
7722 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7723
7724         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7725         irritating #error.
7726
7727 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7728
7729         * WorkArea.C: remove 'Pending' debug message.
7730
7731         * most files: ws cleanup
7732
7733         * buffer.[Ch]: ws changes
7734
7735         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7736
7737 2002-03-21  Juergen Vigna  <jug@sad.it>
7738
7739         * tabular.C (SetMultiColumn): collapse also the contents of the
7740         cells and set the last border right. Added a Buffer const * param.
7741
7742 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7743
7744         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7745         linking or not.
7746
7747 2002-03-19  Juergen Vigna  <jug@sad.it>
7748
7749         * text2.C (clearSelection): reset also xsel_cache.
7750
7751         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7752         where it needs to be called (John tells us to do so too :)
7753         (selectionLost): reset sel_cache.
7754
7755         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7756
7757 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7758
7759         * text2.C (setCursorIntern): put debuging code in INSETS channel
7760
7761 2002-03-19  André Pönitz <poenitz@gmx.net>
7762
7763         * lyxfunc.C: tiny whitespace change
7764
7765 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7766
7767         * ToolbarDefaults.C (init):
7768         * LyXAction.C (init):
7769         * commandtags.h:
7770         * BufferView_pimpl.C (Dispatch):
7771         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7772
7773 2002-03-19  Allan Rae  <rae@lyx.org>
7774
7775         * exporter.C (Export): removeAutoInsets before doing anything else.
7776         While I've just introduced a dependency on BufferView this really is
7777         the best place to clean the buffer otherwise you need to cleanup in
7778         a dozen places before calling export or cleanup in a dozen functions
7779         that export calls.
7780
7781         * converter.C (runLaTeX):
7782         (scanLog): Better handling of removeAutoInsets and screen updates.
7783
7784         * lyxfunc.C (dispatch): small whitespace changes
7785
7786 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7787
7788         * WorkArea.C (C_WorkAreaEvent): return a value.
7789         (event_cb): return 1 if we handled the event, 0 otherwise.
7790
7791         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7792
7793 2002-03-18  Juergen Vigna  <jug@sad.it>
7794
7795         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7796         (GetAdditionalWidth): ditto.
7797         (RightLine): ditto.
7798         (LeftLine): ditto.
7799
7800         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7801         inset if we're there actually (probably not used right now but this
7802         is the direction to go for unifying code).
7803         (paste): disable code to clear the selection.
7804
7805         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7806         inside an InsetText and move the check further up as it is in the
7807         wrong place.
7808
7809         * text2.C (pasteSelection): set a selection over the pasted text.
7810
7811 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7812
7813         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7814         and libgraphics to build on Cygwin.
7815
7816 2002-03-15  Juergen Vigna  <jug@sad.it>
7817
7818         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7819         inserting an Inset into the paragraph. I know this is not the best
7820         fix but we already use current_view in CutAndPaste so we will remove
7821         all of it's using at the same time.
7822
7823         * buffer.C (sgmlError): deactivated function till it is rewritten in
7824         the right mode, now it can create problems.
7825
7826         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7827         before accessing it.
7828
7829 2002-03-14  Juergen Vigna  <jug@sad.it>
7830
7831         * undo_funcs.C (textHandleUndo): do the right thing when updating
7832         the inset after the undo/redo.
7833
7834         * text2.C (setCursor): just some testcode for #44 not ready yet.
7835
7836         * undo_funcs.C (textHandleUndo): set the next() and previous()
7837         pointers of the paragraph to 0 before deleting otherwise we have
7838         problems with the Paragraph::[destructor].
7839
7840         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7841         on a paragraph insertion.
7842
7843 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7844
7845         * buffer.C (asciiParagraph): use += operator for char append to
7846         string.
7847
7848         * paragraph.C (getFontSettings): compare >= not just >
7849         (highestFontInRange): ditto
7850         (setFont): ditto
7851
7852 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7853
7854         * paragraph.C: change several algorithm to be more appripriate for
7855         the problem domain. This is lookip in FontList and in the InsetList.
7856
7857 2002-03-13  André Pönitz <poenitz@gmx.net>
7858
7859         * commandtags.h:
7860         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7861
7862 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7863
7864         * commandtags.h:
7865         * LyXAction.C:
7866         * lyxfunc.C:
7867         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7868
7869 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7870
7871         * Painter.C (display): anon helper function, adjust code for this
7872         change.
7873         (pixmap): remove function.
7874
7875         * Painter.h: remove private display variable.
7876
7877         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7878
7879 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7880
7881         * WorkArea.[Ch]: remove figinset_canvas cruft.
7882
7883 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7884
7885         * lyxtextclass.C (operator): add one item cache optimization.
7886
7887         * bufferlist.h: doxy changes
7888
7889         * bufferlist.C: ws changes
7890
7891         * DepTable.[Ch] (ext_exist): place const in the right spot.
7892
7893         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7894         call resizeInsets.
7895         (workAreaExpose): call resizeInsets when the with BufferView changes.
7896         (Dispatch): adjust for protectedBlank removal
7897         (specialChar): call updateInset if the insert went ok.
7898
7899         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7900         specialChar instead.
7901
7902         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7903
7904         * BufferView.h: doxy change
7905
7906         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7907
7908         * lyxtextclass.C (operator[]): remove non-const version
7909         (defaultLayout): remove non-const version
7910
7911 2002-03-12  Juergen Vigna  <jug@sad.it>
7912
7913         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7914         did resize the LyXText too.
7915
7916         * buffer.C (readLyXformat2): set layout information on newly allocated
7917         paragraphs.
7918
7919         * tabular.C (OldFormatRead): set layout information on the paragraph.
7920
7921 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7922
7923         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7924
7925 2002-03-11  Juergen Vigna  <jug@sad.it>
7926
7927         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7928         plainly wrong.
7929         (resizeCurrentBuffer): force also the insets to resize themselfes.
7930         (moveCursorUpdate): fixed up for InsetText.
7931
7932 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7933
7934         * commandtags.h:
7935         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7936         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7937         value of Dialogs::tooltipsEnabled().
7938         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7939
7940 2002-03-08  Juergen Vigna  <jug@sad.it>
7941
7942         * BufferView_pimpl.C (updateInset): update inset inside inset also
7943         if it isn't inside theLockingInset().
7944
7945 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7946
7947         * buffer.C (asciiParagraph): redo some of the word and line length
7948         handling.
7949         (getLists): look for Caption instead of caption.
7950
7951 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7952
7953         * buffer.C (Buffer): initialize niceFile to true
7954         (makeLaTeXFile):
7955         (makeLinuxDocFile):
7956         (makeDocBookFile): make sure niceFile is true on exit
7957
7958 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7959
7960         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7961
7962 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7963
7964         * LyXSendto.C: remove.
7965         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7966         * lyx_gui.C: remove now-redundant comment.
7967         * ColorHandler.h: remove forward declaration of class WorkArea.
7968         * lyxfunc.C: remove #include "WorkArea.h".
7969
7970 2002-03-07  Juergen Vigna  <jug@sad.it>
7971
7972         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7973         got moved away with the DEPM and also set the inset_owner always
7974         right which before could have been omitted.
7975
7976 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7977
7978         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7979         wanted layout is not found.
7980
7981 2002-03-07  Juergen Vigna  <jug@sad.it>
7982
7983         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7984
7985 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7986
7987         * paragraph.C (breakParagraph): use default layout not layout of
7988         prev paragraph.
7989         (Paragraph): clear ParagraphParameters.
7990
7991 2002-03-06  Juergen Vigna  <jug@sad.it>
7992
7993         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7994         otherwise it would not be a valid lenght. Fixed a special case in
7995         the minipage compatibility read where we end the document with a
7996         minipage.
7997
7998         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7999         was set as it could be 0 for InsetTexts first entry.
8000
8001 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8002
8003         * paragraph.C (writeFile): if layout is empty write out
8004         defaultLayoutName().
8005
8006         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8007         file without named layout we set layout to defaultLayoutName().
8008
8009 2002-03-06  Juergen Vigna  <jug@sad.it>
8010
8011         * CutAndPaste.C (copySelection): set layout for new paragraph.
8012
8013         * text.C (prepareToPrint): leave ERT inset left aligned
8014         (leftMargin): don't indent paragraphs inside ERT insets
8015
8016 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8017
8018         * paragraph.C (breakParagraph): dont call clear do the work manually
8019
8020         * paragraph.[Ch] (clear): remove function
8021
8022 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8023
8024         * paragraph.C (Paragraph): dont call clear, the work has already
8025         been done.
8026
8027         * lyxtextclass.C (operator): assert if n is empty
8028
8029         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8030         work manually instead.
8031
8032 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8033
8034         * BufferView_pimpl.C: protect selectionLost against text == 0
8035
8036 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8037
8038         * text.C (breakParagraph): fix a setting layout to '0' problem.
8039
8040 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8041
8042         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8043         final location of file, for the included files, and graphics.
8044
8045 2002-03-05  Juergen Vigna  <jug@sad.it>
8046
8047         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8048
8049 2002-03-04  Juergen Vigna  <jug@sad.it>
8050
8051         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8052
8053         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8054         last column of multicolumn cells.
8055         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8056
8057 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8058
8059         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8060         file if it doesn't go to a temporary file.
8061
8062         * buffer.C (sgmlOpenTag):
8063         (sgmlCloseTag):  remove extra newline insertion.
8064
8065 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8066
8067         * text.C (getRowNearY): comment out debug msg
8068
8069 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8070
8071         * text2.C: first -> first_y
8072
8073         * text.C (getRowNearY): add some attemts at a possible
8074         optimization, not working.
8075
8076         * tabular.[Ch]: add BufferParams to several function so that newly
8077         created paragraph can be initialized to he default layotu for the
8078         buffers textclass.
8079
8080         * tabular-old.C (ReadOld): add buf->params to call of Init
8081
8082         * screen.C: rename text->first to text->first_y
8083
8084         * paragraph.C (breakParagraph): always set layout in the broken
8085         paragraph
8086
8087         * lyxtextclass.C (Read): remove lowercase
8088         (hasLayout): ditto
8089         (operator): ditto
8090         (delete_layout): ditto
8091
8092         * lyxtext.h: rename first -> first_y
8093
8094         * lyxlayout.C (Read): remove lowercase
8095         (name): ditto
8096         (setName): ditto
8097         (obsoleted_by): ditto
8098
8099         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8100
8101         * buffer.C (insertErtContents): add params are to InsetERT
8102         (parseSingleLyXformat2Token): add code to check if a paragraphs
8103         layout really exist.
8104         (parseSingleLyXformat2Token): add params to several inset
8105         constructors
8106         (asciiParagraph): remove lowercase, do the layout comparisons with
8107         no_case
8108
8109         * BufferView_pimpl.C (cursorNext): first -> first_y
8110         (resizeCurrentBuffer): first -> first_y
8111         (updateScrollbar): first -> first_y
8112         (scrollCB): first -> first_y
8113         (workAreaMotionNotify): first -> first_y
8114         (workAreaButtonPress): first -> first_y
8115         (checkInsetHit): first -> first_y
8116         (cursorPrevious): first -> first_y
8117         (cursorNext): first -> first_y
8118         (Dispatch): add buffer_->params to severl inset contructors
8119
8120 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8121
8122         * lyxlayout.C (Read): remove some debug info that I forgot.
8123
8124         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8125         clean up the code slightly.
8126         (makeLinuxDocFile): ditto
8127         (makeDocBookFile): ditto
8128
8129         * text2.C: layout as string
8130
8131         * text.C: layout as string
8132
8133         * paragraph_pimpl.C: layout as string
8134
8135         * paragraph.[Ch]: layout as string
8136
8137         * lyxtextclasslist.[Ch]: layout as string
8138
8139         * lyxtextclass.[Ch]: layout as string
8140
8141         * lyxtext.h: layout as string
8142
8143         * lyxlayout.[Ch]: layout as string
8144
8145         * lyx_cb.C: layout as string
8146
8147         * bufferview_funcs.C: layout as string
8148
8149         * bufferparams.C: layout as string
8150
8151         * buffer.C: layout as string
8152
8153         * LyXView.[Ch]: layout as string
8154
8155         * LaTeXFeatures.[Ch]: layout as string
8156
8157         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8158
8159         * BufferView_pimpl.C: change current_layout to string, remove
8160         lyx::layout_type.
8161         (Dispatch):
8162         (smartQuote):
8163         (insertInset):
8164         (workAreaButtonRelease): layout as string
8165
8166         * BufferView2.C (unlockInset): adjust
8167
8168         * vspace.C (asLatexCommand): use an explict temp variable.
8169
8170 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8171
8172         * Makefile.am: use FRONTEND_*
8173
8174 2002-03-01  Juergen Vigna  <jug@sad.it>
8175
8176         * tabular.C (SetWidthOfMulticolCell): changed to something better
8177         I hope but still work in progress.
8178         (recalculateMulticolumnsOfColumn): renamed function from
8179         recalculateMulticolCells as it is more appropriate now.
8180         (SetWidthOfCell): calculate multicols better.
8181
8182 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8183
8184         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8185
8186         * lyxfunc.C (processKeySym): print sequence also if it is
8187         `deleted' (complete)
8188
8189         * kbsequence.C (print): print sequence even if it is deleted
8190         (complete would be a better word, actually).
8191
8192         * lyxfunc.C (dispatch): print complete options after a prefix key
8193
8194         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8195
8196 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8197
8198         * text2.C (setCharFont): eliminate setCharFont code duplication.
8199
8200 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8201
8202         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8203         LFUN_TABULAR_FEATURE (bug #177)
8204
8205 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8206
8207         * Makefile.am: remove figure.h
8208
8209 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8210
8211         * Bufferview_pimpl.C:
8212         * CutAndPasteC:
8213         * LaTeX.C:
8214         * LyXSendto.C:
8215         * buffer.C:
8216         * bufferlist.C:
8217         * converter.C:
8218         * language.C:
8219         * lyxfunc.C:
8220         * lyxvc.C:
8221         * paragraph.C:
8222         * text.C:
8223         * text2.C: remove #include "lyx_gui_misc.h".
8224
8225         * LaTeX.C: added #include <cstdio>
8226
8227 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8228
8229         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8230         that the paragraph following this one can have.
8231
8232         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8233
8234         * vspace.C (asLatexCommand): fix bogus gcc warning
8235
8236         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8237
8238 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8239
8240         * text2.C (setLayout): get rid of redundant code
8241
8242 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8243
8244         * text2.C (incDepth): make sure depth cannot be increased beyond
8245         reasonable values.
8246
8247 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8248
8249         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8250         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8251
8252         * PainterBase.h (image):
8253         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8254         a LyXImage const *.
8255
8256 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8257
8258         * BufferView.C:
8259         * BufferView.h:
8260         * BufferView_pimpl.C:
8261         * BufferView_pimpl.h:
8262         * LaTeXFeatures.C:
8263         * LyXAction.C:
8264         * LyXView.C:
8265         * Makefile.am:
8266         * UpdateList.h:
8267         * UpdateList.C:
8268         * buffer.C:
8269         * figure.h:
8270         * figureForm.C:
8271         * figureForm.h:
8272         * figure_form.C:
8273         * figure_form.h:
8274         * lyx_cb.C:
8275         * lyx_gui.C:
8276         * lyx_gui_misc.C:
8277         * lyxfunc.C:
8278         * sp_base.h:
8279         * sp_ispell.h:
8280         * sp_pspell.h:
8281         * sp_spell.C: remove fig inset, and the crap house of
8282           cards that follows it
8283
8284 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8285
8286         * Makefile.am:
8287         * lyxserver.C:
8288         * os2_defines.h:
8289         * os2_errortable.h:
8290         * nt_defines.h: move .h into support/
8291
8292         * vms_defines.h: remove
8293
8294         * WorkArea.C: add space in debug output
8295
8296         * text2.C:
8297         * paragraph.C:
8298         * buffer.C: add WITH_WARNINGS
8299
8300         * vc-backend.h:
8301         * vc-backend.C:
8302         * bufferlist.C: s/retrive/retrieve/, add docs
8303
8304         * vspace.h:
8305         * vspace.C:
8306         * kbmap.h:
8307         * lyxlength.h:
8308         * lyxgluelength.h:
8309         * length_common.h:
8310         * chset.h:
8311         * chset.C: add docs
8312
8313         * lyxgui.C: add ID to X error handler
8314
8315         * lyxtestclass.c: fix typo
8316
8317 2002-02-26  Juergen Vigna  <jug@sad.it>
8318
8319         * tabular_funcs.C (write_attribute): changed so that some default
8320         attributes are not written at all.
8321         (getTokenValue): set default values before trying to read the
8322         value so we have the return value always set as default if we don't
8323         find the token we search for.
8324
8325         * tabular.C (Write): write bools as bools not as strings!
8326
8327 2002-02-22  Juergen Vigna  <jug@sad.it>
8328
8329         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8330         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8331
8332         * text.C (leftMargin): don't add an indent for paragraphs inside
8333         tabular cells (fix #208).
8334
8335 2002-02-21  José Matos  <jamatos@fep.up.pt>
8336
8337         * tabular.C (docBook): fixed support for long tables.
8338
8339 2002-02-20  Juergen Vigna  <jug@sad.it>
8340
8341         * text2.C (getFont): get the drawing font of the Inset if this
8342         paragraph is inside an inset (only important for InsetERT for now).
8343
8344         * buffer.C (insertErtContents): use new lanugage params in ERT
8345         constructor.
8346
8347         * CutAndPaste.C: commenting out seemingly uneeded code.
8348
8349 2002-02-19  Allan Rae  <rae@lyx.org>
8350
8351         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8352         Iterators might be simple to use but they also get invalidated.
8353         (removeAutoInsets): renamed saved cursor tracking variables and added
8354         some comments to clarify what everything does.
8355
8356 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8357
8358         * Chktex.C:
8359         * LaTeX.C:
8360         * LyXSendto.C:
8361         * converter.C:
8362         * lyx_cb.C:
8363         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8364         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8365
8366         * lyxfunc.C:
8367         * vc-backend.h: remove #include "support/syscall.h"
8368
8369         * LaTeX.C:
8370         * LyXSendto.C:
8371         * converter.C: rearrange #includes in Lars' approved fashion.
8372
8373         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8374         forward declare class Timeout in the header file.
8375
8376         * XFormsView.C: changes due to the above.
8377
8378         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8379         similar to LyXView.
8380
8381         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8382         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8383
8384 2002-02-18  José Matos  <jamatos@fep.up.pt>
8385
8386         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8387         insets contents.
8388
8389 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8390
8391         * a lot of small ws changes
8392         * add a lot of using std::XXX
8393         * use std construcs some places where approp.
8394         * use some exisint stuff from lyxfunctional where approp.
8395         * Make file changes to use partial linking (lets test this now...)
8396
8397 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8398
8399         * Chktex.C:
8400         * buffer.C:
8401         remove #include "support/syscontr.h" as it's redundant. Always has been.
8402
8403         * Chktex.C:
8404         * LaTeX.C:
8405         * LyXSendto.C:
8406         * converter.C:
8407         * lyx_cb.C:
8408         * vc-backend.C:
8409         change Systemcalls::System to Systemcalls::Wait and
8410         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8411         No change of functionality, just reflects the stripped down Systemcalls
8412         class.
8413
8414 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8415
8416         * debug.[Ch]: add a GRAPHICS type to the enum.
8417
8418 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8419
8420         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8421
8422         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8423         there is an inset.
8424
8425 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8426
8427         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8428         match the changes below.
8429
8430         * text2.C (toggleInset): if there is not editable inset at cursor
8431         position, try to see if cursor is _inside_ a collapsable inset
8432         and close it.
8433
8434 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8435
8436         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8437         document menu has a nice checkbox
8438
8439 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8440
8441         * lyxlength.C (asLatexString): change PW to output as percent of
8442         \textwidth.
8443
8444         * lengthcommon.C: change '%' to 't%'
8445
8446         * lyxfunc.C (dispatch): a few comments from Martin
8447
8448 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8449
8450         * WorkArea.h:
8451         * WorkArea.C:
8452         * BufferView_pimpl.h:
8453         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8454           the X selection.
8455
8456 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8457
8458         * vspace.C (inPixels): fix compiler warning
8459
8460 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8461
8462         * lyxfunc.C (getStatus): fix status message for disabled commands.
8463
8464 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8465
8466         * BufferView_pimpl.C: fix crash on close buffer
8467         during selection (#227)
8468
8469 2002-01-27  Herbert Voss  <voss@lyx.org>
8470
8471         * buffer.C: link old Figure to new graphic inset
8472
8473 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8474
8475         * FontLoader.C (getFontinfo): Change the latex font names in order
8476         to match the names of type1inst.
8477
8478 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8479
8480         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8481
8482         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8483         (extchanged): ditto
8484         (ext_exist): ditto
8485         (remove_files_with_extension): ditto
8486         (remove_file): ditto
8487         (write): ditto
8488
8489         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8490         document is smaller than the work area height. Do not initialize
8491         static variables to 0.
8492
8493 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8494
8495         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8496
8497         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8498         LFUN_LAYOUT_PARAGRAPHS.
8499
8500         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8501         tabular. It is possible to provide a possible cell, which will
8502         typically be the actcell from the corresponding insettabular
8503
8504         * lyxfunc.C (getStatus): small cleanup; disable
8505         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8506         true
8507
8508 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8509
8510         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8511
8512         * paragraph.C (startTeXParParams):
8513         (endTeXParParams): new methods. The LaTeX code to
8514         start/end paragraph formatting
8515         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8516         empty (fixes bug #200)
8517
8518         * vspace.C (inPixels): adapt to the change below
8519         (inPixels): [later] more cleanups (remove unused variables)
8520
8521         * lyxlength.C (inPixels): change to use a width and a height as
8522         parameter.
8523
8524 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8525
8526         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8527         Replaced with \paperwidth
8528
8529         * DepTable.C (insert): add std:: qualifier
8530
8531 2002-01-18  Allan Rae  <rae@lyx.org>
8532
8533         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8534         updated also?
8535
8536         * text.C (drawInset): Turned out I didn't know enough about how
8537         rebreaking worked.  This fixes most of the redraw problems.  I see
8538         an occasional cursor trail when a line is broken now and the cursor
8539         placement can seem out by a few pixels also after a rebreak.
8540
8541 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8542
8543         * buffer.C (parseSingleLyXformat2Token): update because minipage
8544         width is now a LyXLength
8545
8546         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8547
8548         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8549         math insets
8550
8551 2002-01-17  Juergen Vigna  <jug@sad.it>
8552
8553         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8554
8555         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8556         is set correctly and the inset is updated correctly.
8557
8558 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8559
8560         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8561         the beginning of the loop.
8562
8563 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8564
8565         * lyxrc.C: improve help for use_scalable_fonts
8566
8567 2002-01-17  Allan Rae  <rae@lyx.org>
8568
8569         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8570
8571 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8572
8573         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8574         make sure to set their inset_owner to the right value (bug #171)
8575
8576 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8577
8578         * DepTable.h
8579         * DepTable.C: Implement mtime checking to reduce time spent doing
8580         CRCs.
8581
8582 2002-01-16  Juergen Vigna  <jug@sad.it>
8583
8584         * tabular.C (GetAdditionalHeight): one of error fixed.
8585
8586         * lyxrc.C (output): small fix in writing use_pspell.
8587
8588 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8589
8590         * sp_base.h: #include LString.h
8591
8592 2002-01-16  Allan Rae  <rae@lyx.org>
8593
8594         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8595         Can someone check this please?
8596
8597         * text.C (drawInset): It was possible that p.row would be removed by
8598         breakAgainOneRow upsetting a few other settings.  There may be another
8599         small tweak possible by setting need_break_row = 0 when p.row has been
8600         removed but I don't know enough about the logic here.
8601
8602 2002-01-15  Allan Rae  <rae@lyx.org>
8603
8604         * text.C (insertChar): removed conditional truism.
8605
8606         * BufferView2.C (removeAutoInsets): More tweaks.
8607         cur_par_prev could be a stray pointer.  Check for trailing empty line
8608         in case last line was cur_par and only had an error inset on it.
8609
8610 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8611
8612         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8613         absolute
8614
8615         * vc-backend.C (most methods):
8616         * exporter.C (Export):
8617         * converter.C (convert):
8618         (runLaTeX):
8619         * LyXSendto.C (SendtoApplyCB):
8620         * lyxfunc.C (dispatch):
8621         (menuNew):
8622         (open):
8623         (doImport):
8624         * lyx_cb.C (AutoSave):
8625         (InsertAsciiFile):
8626         * BufferView_pimpl.C (MenuInsertLyXFile):
8627         * buffer.C (runChktex): use Buffer::filePath().
8628
8629         * buffer.h: rename filename to filename_; rename filepath to
8630         filepath_ and make it private
8631         (filePath): new method
8632
8633         * buffer.C (writeFile): use fileName()
8634         (getLatexName):
8635
8636         * lyx_main.C (init): fix starting  of LyX when the binary is a
8637         link from so,ewhere else.
8638
8639         * minibuffer.C: include <cctype> for isprint
8640
8641 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8642
8643         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8644         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8645         name clash with InsetCollapsable's width function.
8646
8647 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8648
8649         * lastfiles.C: include <iterator>
8650
8651 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8652
8653         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8654         std::count.
8655
8656         * buffer.C (makeLaTeXFile): ditto.
8657         Also make loop operation more transparent.
8658
8659 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8660
8661         * ToolbarDefaults.C: remove trailing comma closing namespace.
8662
8663         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8664
8665         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8666         as in WorkArea.
8667
8668         * trans.C (Load): comment out unused variable, allowed.
8669
8670 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8671
8672         * minibuffer.[Ch] (append_char): new method to recieve input from the
8673         drop-down completion browser. If a key was pressed, then recieve this
8674         char and append it to the existing string.
8675         (peek_event): modify the positioning data passed to the completion
8676         browser so that it can be placed above the minibuffer rather than below.
8677 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8678
8679         * LyXAction.C (init): alloe error-next for readonly documents.
8680
8681         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8682         count.
8683
8684 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8685
8686         * bufferlist.C (readFile): create the buffer _after_ checking that
8687         the file exists.
8688
8689         * lyxfunc.C (verboseDispatch): fix handling of arguments
8690
8691         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8692
8693         * lyxrc.C: use string::erase() instead of initializing to "".
8694
8695
8696 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8697
8698         * BufferView_pimpl.h:
8699         * BufferView_pimpl.C:
8700         * WorkArea.h:
8701         * WorkArea.C:
8702         * text2.C: tell X when we have made a selection for copying
8703
8704 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8705
8706         * BufferView_pimpl.C (MenuInsertLyXFile):
8707         * lyxfunc.C (menuNew):
8708         (open):
8709         (doImport): add shortcuts to directory buttons
8710
8711         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8712         open a float)
8713
8714         * lyxfunc.C (setStatusMessage):
8715         (getStatusMessage): new methods
8716         (getStatus):use setStatusMessage instead of setErrorMessage
8717         (dispatch): when function is disabled, set error message here
8718         [instead of in getStatus previously]
8719
8720         * BufferView_pimpl.C (workAreaButtonRelease): update
8721         toolbar/menubar here too.
8722
8723 2002-01-13  Allan Rae  <rae@lyx.org>
8724
8725         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8726         Now seems indestructible.  Remaining task is to audit all other
8727         code affected by deleteEmptyParagraphMechanism.  One small quirk
8728         left is that an empty document with an error in the preamble can
8729         be made to report an error but no error box appears.  I don't know
8730         where it goes.
8731         (removeAutoInsets): Improved comments.
8732
8733 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8734
8735         * Thesaurus.h:
8736         * Thesaurus.C: update for Aiksaurus 0.14
8737
8738 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8739
8740         * text2.C (firstParagraph): removed member function, all uses
8741         replaces with ownerParagraph
8742         (redoParagraphs): here
8743         (updateInset): here
8744         (toggleAppendix): here
8745         * BufferView2.C (insertErrors): here
8746         (setCursorFromRow): here
8747
8748 2002-01-13  Allan Rae  <rae@lyx.org>
8749
8750         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8751         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8752         There is still a way to segfault this although you may have to do this
8753         multiple times: Have an InsetERT with an unknown command in it.
8754         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8755         <down-arrow>, <Enter> again, View->DVI, BANG!
8756
8757         * text2.C (setCursor):
8758         (deleteEmptyParagraphMechanism):
8759         * lyxtext.h (setCursor):
8760         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8761         Making use of the return value may help fix other bugs.
8762
8763 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8764
8765         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8766
8767         * LyXView.C (updateMenubar): call MenuBar::update here
8768         (updateToolbar): but not here
8769         (showState): do not update toolbar/menubar
8770
8771         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8772         should need to care about that.
8773
8774         * lyxfunc.C (verboseDispatch): simplify a bit
8775         (getStatus): have a version which takes a pseudoaction, and
8776         another which requires a (kb_action,string).
8777
8778         * LyXAction.C (retrieveActionArg): make it work also when action
8779         is not a pseudo-action.
8780         (getActionName): simplify a bit
8781         (helpText):
8782
8783 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8784
8785         * lyxfunc.C (verboseDispatch): new families of methods with
8786         several ways to specify a command and a bool to indicate whether
8787         the command name and shortcut should be displayed in minibuffer
8788         (eventually, we could extend that to a finer bitmask like
8789         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8790         (dispatch): the pristine dispatch command which just, well,
8791         dispatchs! Note it still sets its result to minibuffer; I'm not
8792         sure we want that.
8793
8794         * lyxfunc.h: remove setHintMessage
8795
8796         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8797
8798 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8799
8800         * BufferView_pimpl.C (specialChar): delete new inset if we have
8801         not been able to insert it.
8802
8803         * kbmap.C: revert to using int instead of kb_action, since all we
8804         are dealing with is pseudo-actions.
8805
8806         * LyXAction.C (searchActionArg): change to return int instead of
8807         kb_action, since the result is a pseudoaction.
8808
8809 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8810
8811         * buffer.C (insertErtContents): Fix (partially) the font bug.
8812
8813 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8814
8815         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8816         as the other one is broken on my machine!
8817
8818 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8819
8820         * commandtags.h:
8821         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8822
8823 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8824
8825         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8826         reflect their actual use. Provide compatibility code for older lyxrc
8827         files.
8828
8829         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8830         FL_NORMAL_STYLE.
8831         change names of popup font variables in line with the changes to lyxrc.C
8832
8833 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8834
8835         * buffer.C (asciiParagraph): avoid outputing a word twice after
8836         an inset.
8837
8838         * lyxrc.C (getDescription): document that document_path and
8839         template_path can be empty.
8840
8841 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8842
8843         * LaTeXFeatures.C (getMacros):
8844         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8845
8846         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8847
8848         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8849         getPackages.
8850         (getPackages): rename feature "floats" to "float". Use an array to
8851         iterate over 'simple' features (i.e. just a \usepackage). Add
8852         handling of "amsmath" (renamed from "amsstyle").
8853
8854 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8855
8856         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8857         features list.
8858
8859 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8860
8861         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8862         FuncStaus::FuncStatus & FuncStaus::some_method().
8863
8864 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8865
8866         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8867         of the func_satus stuff. Edited and massaged in various ways by
8868         JMarc.
8869
8870         * lyxfunc.C (getStatus): use FuncStatus
8871
8872 2002-01-08  Juergen Vigna  <jug@sad.it>
8873
8874         * text.C (nextBreakPoint): use function Inset::isChar().
8875
8876         * paragraph.C (TeXOnePar): use function
8877         Inset::forceDefaultParagraphs.
8878
8879         * buffer.C (latexParagraphs): use function
8880         Inset::forceDefaultParagraphs.
8881
8882 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8883
8884         * lyx_gui.C (init): set the style of the menu popups to
8885         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8886
8887 2002-01-07  Juergen Vigna  <jug@sad.it>
8888
8889         * text.C (setHeightOfRow): small fix
8890         (prepareToPrint): don't look at alignment if we don't have the place
8891         for doing it.
8892
8893 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8894
8895         * box.C: New file. Move the Box methods and functions out of box.h,
8896         following Lars' suggestion.
8897
8898 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8899
8900         * box.h: #include "support/LOstream.h", needed for inlined function.
8901
8902         * lyxtextclass.C:
8903         * lyxtextclasslist.C: added some using std declarations.
8904
8905 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8906
8907         * box.h: make signed dimensions to allow insets wider than
8908           the screen (bug #162)
8909
8910         * BufferView_pimpl.C: add some insetHit debug
8911
8912 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8913
8914         * vc-backend.C: add FIXME
8915
8916 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8917
8918         * lyxfunc.C (getStatus): enable code for showing math font status
8919         in toolbar/menu.
8920
8921 2002-01-07  Juergen Vigna  <jug@sad.it>
8922
8923         * text.C (nextBreakPoint): removed debug output not needed anymore.
8924
8925 2002-01-06  Juergen Vigna  <jug@sad.it>
8926
8927         * text.C (nextBreakPoint): fixed up this function we had this bug
8928         since ever but now hopefully we break row better.
8929         (insertChar): we have to check if an inset is the next char as it
8930         could now happen that a large inset is causing a break.
8931
8932 2002-01-05  Juergen Vigna  <jug@sad.it>
8933
8934         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8935         if it doesn't like to be drawed.
8936
8937 2002-01-04  Juergen Vigna  <jug@sad.it>
8938
8939         * BufferView2.C (lockInset): forgot to set a cursor.
8940
8941         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8942
8943 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8944
8945         * FormMathsPanel.C:
8946         * FormMathsPanel.h
8947         * MathsSymbols.C:
8948         * form_maths_panel.C:
8949         * form_maths_panel.h:
8950         * form_maths_panel.fd: implemented sub- and super- buttons in math
8951         panel.
8952
8953         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8954         (or ^ space) to be used as in TeX (req'd by André).
8955
8956         * lyxfunc.C: Allow ^ and _ again to be used both as
8957         super/subscript (mathed) and as themselves (in text).
8958
8959 2002-01-03  Allan Rae  <rae@lyx.org>
8960
8961         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8962         "LyX" or the filename of the current buffer if it has one.  This is a
8963         modified form of John Levon's patch.
8964
8965         * XFormsView.C (setWindowTitle): also set icon title.
8966
8967         * LyXView.h (setWindowTitle): signature changed.
8968         * XFormsView.h (setWindowTitle): ditto.
8969
8970 2002-01-02  Juergen Vigna  <jug@sad.it>
8971
8972         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8973
8974 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8975
8976         * screen.C (topCursorVisible): introduce a temp var for
8977         text->cursor.row(), handle the case where this row is null. (kindo
8978         hachish)
8979
8980         * text2.C (setCursor): add a couple of asserts.
8981
8982         * paragraph.h (inset_iterator): add -> operator
8983
8984         * paragraph.[Ch] (autoDeleteInsets): remove member function
8985
8986         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8987         cursor pos correctly and handle inset deletion by itself.
8988         (insertErrors): move iterator declaration out of for expression
8989
8990         * lyxtextclass.C: add <algorithm>
8991
8992         * Makefile.am: added the new files to sources, removed layout.C
8993
8994         * layout.C: removed file
8995
8996         * layout.h: remove LYX_DUMMY_LAYOUT
8997
8998         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8999         layout.
9000
9001         * lyxlayout.[Ch]:
9002         * lyxtextclass.[Ch]:
9003         * lyxtextclasslist.[Ch]: new files
9004
9005         * include order changes to a lot of files, also changes because of
9006         the six new files.
9007
9008 2001-12-27  Juergen Vigna  <jug@sad.it>
9009
9010         * buffer.C (asciiParagraph): more fixes.
9011
9012         * tabular.C (ascii): make ascii export support export of only the
9013         data separated by a column-delimiter.
9014         (ascii): better support for ascii export.
9015
9016         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9017
9018 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9019
9020         * tabular_funcs.C: use a "using std::getline" instead of the
9021         previous fix from Angus (necessary for cxx + lyxstring)
9022
9023 2001-12-24  Juergen Vigna  <jug@sad.it>
9024
9025         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9026
9027         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9028         problems. First check a minipage also if we have some ert-contents
9029         (not only on par->size(), second set the right depth of the paragraph
9030         on the relink to the root-paragraph-list!
9031
9032         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9033         which then did not anymore update the main paragraphs on undo/redo!
9034
9035 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9036
9037         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9038         code. Support all font-changing funcs (even those which are not in
9039         menu currently). Support for reporting font settings in
9040         mathed (disabled until Andre provides a function on mathed's side).
9041
9042         * func_status.h (toggle): small helper function to set toggle
9043         state on a flag.
9044
9045 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9046
9047         * tabular_funcs.C: getline -> std::getline
9048
9049 2001-12-21  Juergen Vigna  <jug@sad.it>
9050
9051         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9052         accessed and could be 0 (I couldn't generate this but it seems
9053         Michael could!).
9054
9055 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9056
9057         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9058         * tabular_funcs.h: here and include iosfwd
9059
9060 2001-12-20  Juergen Vigna  <jug@sad.it>
9061
9062         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9063         inside inset but undo_par was.
9064
9065 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9066
9067         * Thesaurus.C: always include <config.h> in sources.
9068
9069         * Painter.h:
9070         * lyxlookup.h:
9071         * box.h: do not include <config.h> in header files
9072
9073         * text.C (paintLastRow): remove unused variable
9074
9075         * text.C (transformChar):
9076         (insertChar):
9077         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9078
9079         * Painter.C (text):
9080         * font.C (width): rewrite to use uppercase() instead of
9081         islower/toupper.
9082
9083         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9084
9085 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9086
9087         * lyxfind.C: clean up of find failure position change
9088
9089 2001-12-20  Juergen Vigna  <jug@sad.it>
9090
9091         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9092
9093         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9094         (TeXRow): added to LaTeX a single tabular row.
9095         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9096         (Latex): simplified and finally good LT-h/f support.
9097         (various_functions): just small adaptions for LT-h/f support.
9098
9099         * tabular_funcs.[hC]: added and moved here all not classfunctions
9100         of LyXTabular.
9101
9102 2001-12-19  Juergen Vigna  <jug@sad.it>
9103
9104         * tabular.[Ch]: better support for longtabular options (not finished
9105         yet!)
9106
9107 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9108
9109         * text.C (paintLastRow): use the label font instead of the font of
9110         the last character to compute the size of *_BOX. This makes more
9111         sense and avoids a crash with empty paragraphs.
9112         Use Painter::rectangle to draw EMPTY_BOX.
9113
9114 2001-12-19  Juergen Vigna  <jug@sad.it>
9115
9116         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9117         the paragraphs if the replaced paragraph is not the first one!
9118         Tried to delete not used paragraphs but does not work yet so for
9119         now it's inside #ifdef's and by default off!
9120
9121 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9122
9123         * MenuBackend.C: include "lyx_main.h" instead of declaring
9124         lastfiles (actually was declared as LastFiles* instead of a
9125         scoped_ptr).
9126
9127 2001-12-17  Juergen Vigna  <jug@sad.it>
9128
9129         * tabular.C (AppendColumn): applied John's fix
9130
9131 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9132
9133         * BufferView.h:
9134         * BufferView.C:
9135         * BufferView_pimpl.h:
9136         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9137
9138         * Makefile.am:
9139         * box.h: new start of class for above
9140
9141         * lyxfunc.C: ignore space-only minibuffer dispatches.
9142           Show the command name when it doesn't exist
9143
9144         * minibuffer.C: don't add empty lines to the history
9145
9146         * minibuffer.C: add a space on dropdown completion
9147
9148 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9149
9150         * text.C: fix line above/below drawing in insets
9151
9152 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9153
9154         * lyxlength.C (LyXLength): Initialize private variables.
9155
9156 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9157
9158         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9159         when inserting error insets.
9160
9161 2001-12-13  Juergen Vigna  <jug@sad.it>
9162
9163         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9164         actually sometimes the before-paragraph.
9165         (setUndo): don't clear the redostack if we're not actually undoing!
9166
9167 2001-12-06  Juergen Vigna  <jug@sad.it>
9168
9169         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9170         and fixed redoing of main paragraph, so we can use it now ;)
9171
9172         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9173
9174 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9175
9176         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9177         Juergen's request
9178
9179 2001-12-13  André Pönitz <poenitz@gmx.net>
9180
9181         * undostack.[Ch]:
9182         * undo_func.C: minor cleanup
9183
9184 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9185
9186         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9187         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9188         font in urw-fonts package which is marked as -urw-fontspecific and
9189         does not work (incidentally, changing the encoding in the
9190         fonts.dir of this package to -adobe-fontspecific fixes the
9191         problem).
9192
9193         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9194         is a crash when undoing first paragraph (Juergen, please take a
9195         look). THis does not mean the undo fix is wrong, just that it
9196         uncovers problems.
9197
9198         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9199         the (Paragraph*) version when needed instead of duplicating the
9200         code.
9201
9202         * text.C (workWidth): use Inset::parOwner to find out where the
9203         inset has been inserted. This is a huge performance gain for large
9204         documents with lots of insets. If Inset::parOwner is not set, fall
9205         back on the brute force method
9206
9207         * paragraph_pimpl.C (insertInset):
9208         * paragraph.C (Paragraph):
9209         (cutIntoMinibuffer): set parOwner of insets when
9210         inserting/removing them
9211
9212         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9213
9214 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9215
9216         * commandtags.h:
9217         * LyXAction.C:
9218         * lyx_main.C:
9219         * lyxfunc.C:
9220         * mathed/formulabase.C:
9221         * mathed/math_cursor.[Ch]:
9222         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9223
9224
9225 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9226
9227         * lyxlength.[Ch] (operator!=): new function
9228
9229 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9230
9231         * text.C (workWidth): use Inset::parOwner to find out where the
9232         inset has been inserted. This is a huge performance gain for large
9233         documents with lots of insets. If Inset::parOwner is not set, fall
9234         back on the brute force method
9235
9236         * paragraph_pimpl.C (insertInset):
9237         * paragraph.C (Paragraph):
9238         (cutIntoMinibuffer): set parOwner of insets when
9239         inserting/removing them
9240
9241         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9242
9243 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9244
9245         * tabular-old.C (getTokenValue):
9246         * tabular.C (getTokenValue):
9247         (write_attribute): new versions for LyXLength
9248         (everywhere): adjust the use of widths
9249
9250         * tabular.h: change the type of widths from string to LyXLength
9251
9252 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9253
9254         * paragraph.C: fixed missing line number count when exporting
9255         Environments to LaTeX file
9256
9257         * buffer.C: added informational message for checking line numbers.
9258
9259 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9260
9261         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9262         paragraph, do the 'double space' part, but not the 'empty
9263         paragraph' one.
9264
9265         * text.C (workWidth): small optimization
9266         (getLengthMarkerHeight): use minimal size for negative lengths.
9267
9268 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9269
9270         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9271
9272         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9273
9274 2001-12-11  André Pönitz <poenitz@gmx.net>
9275
9276         * FontLoader.C:
9277         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9278
9279 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9280
9281         * text2.C: keep selection on a setFont()
9282
9283 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9284
9285         * lyx_cb.C: another bv->text misuse, from insert label
9286
9287 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9288
9289         * kbsequence.h:
9290         * kbsequence.C: re-instate nmodifier mask
9291
9292 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9293
9294         * lyx_main.h: make lyxGUI private.
9295
9296 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9297
9298         * lyxfind.C: place the cursor correctly on failed search
9299
9300 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9301
9302         * text.C (getLengthMarkerHeight): for small heights, the arrows
9303         are not always on top/bottom of the text
9304         (drawLengthMarker): smaller arrows; take the left margin in
9305         account; draw also vfills.
9306         (paintFirstRow):
9307         (paintLastRow): remove special code for vfill and standard spaces,
9308         since everything is handled in drawLengthMarker now.
9309
9310 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9311
9312         * buffer.C (insertErtContents): try to handle font and language
9313         interaction a bit better.g
9314
9315         * ColorHandler.C (updateColor): change the hash to cover the whole
9316         LColor enum, ws cleanup
9317         (getGCLinepars): ditto
9318         (getGCLinepars): only lookup in the linecache once.
9319
9320 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9321
9322         * iterators.C (operator++): Make the iterator more robust
9323
9324         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9325         (John's patch)
9326         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9327
9328 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9329
9330         * lyxtext.h:
9331         * text.C: better added space drawing
9332
9333 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9334
9335         * LyXView.C:
9336         * BufferView2.C: fix layout combo update on inset unlock
9337
9338 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9339
9340         * Makefile.am: don't compile unused files
9341
9342 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9343
9344         * lyxfunc.C:
9345         * commandtags.h:
9346         * LyXAction.C: remove old LFUN_LAYOUTNO
9347
9348 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9349
9350         * paragraph_pimpl.h:
9351         * paragraph_pimpl.C: isTextAt() doesn't need font param
9352
9353 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9354
9355         * lyxlex.h:
9356         * lyxlex.C: little cleanup
9357
9358 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9359
9360         * BufferView_pimpl.C: fix insertAscii for insets
9361
9362 2001-12-05  Juergen Vigna  <jug@sad.it>
9363
9364         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9365         set the right font on the "multi" paragraph paste!
9366
9367 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9368
9369         * trans_decl.h:
9370         * trans_mgr.[Ch]:
9371         * trans.[Ch]:
9372         * lyxgluelength.C:
9373         * lyxlength.C: remove out-commented code.
9374
9375         * BufferView_pimpl:
9376         * CutAndPaste.C:
9377         * DepTable.C:
9378         * buffer.C:
9379         * chset.C:
9380         * lastfiles.C:
9381         * lyxlex.C:
9382         * lyxlex_pimpl.C:
9383         * lyxserver.C:
9384         * screen.C:
9385         * tabular-old.C:
9386         * tabular.C:
9387         * text.C:
9388         * trans_mgr.C:
9389         * vc-backend.C: change "while(" to "while ("
9390
9391         * lyxlength.[Ch]: add zero function to check if length is zero or
9392         not
9393         * lyxgluelength.C: use it
9394
9395 2001-12-05  Allan Rae  <rae@lyx.org>
9396
9397         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9398         Works for 2.95.3, from what I understand of Garst's reports this should
9399         work for other g++ versions.  We're screwed if the abs(int) definition
9400         changed between bugfix releases of gcc.
9401
9402 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9403
9404         * text.C: fix chapter label offset !
9405
9406 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9407
9408         * lyxtext.h:
9409         * text.C: fix hfill at end of line, clean up
9410
9411 2001-12-04  Juergen Vigna  <jug@sad.it>
9412
9413         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9414         that we force an update of the inset and it's owners if neccessary.
9415
9416 2001-12-03  Juergen Vigna  <jug@sad.it>
9417
9418         * text.C (rowLast): simplified code
9419
9420 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9421
9422         * lyxfunc.C: fix show options on timeout
9423
9424 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9425
9426         * screen.C (topCursorVisible): scroll half a page when the cursor
9427         reached top of bottom of screen
9428
9429 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9430
9431         * minibuffer.C: deactivate on loss of focus
9432
9433 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9434
9435         * vspace.[Ch] (operator!=): add operator.
9436
9437 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9438
9439         * BufferView_pimpl.C: refuse to open an inset when
9440         there's a selection.
9441
9442 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9443
9444         * BufferView_pimpl.C: allow to click on RHS of full row insets
9445
9446 2001-11-30  Juergen Vigna  <jug@sad.it>
9447
9448         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9449         insets for undo reasons.
9450
9451 2001-11-28  André Pönitz <poenitz@gmx.net>
9452
9453         * vspace.[Ch]: cosmetical changes
9454
9455 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9456
9457         * LyXAction.h:
9458         * LyXAction.C:
9459         * lyxfunc.h:
9460         * lyxfunc.C:
9461         * kbmap.h:
9462         * kbmap.C:
9463         * lyxrc.C:
9464         * kbsequence.h:
9465         * kbsequence.C: part re-write of old kb code
9466
9467         * Painter.C:
9468         * WorkArea.C: remove Lgb_bug_find_hack
9469
9470 2001-11-30  José Matos <jamatos@fep.up.pt>
9471
9472         * buffer.C (makeDocBookFile): add a comment to point a hack.
9473         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9474         Fixed a double write of labels.
9475
9476 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9477
9478         * LaTeX.C:
9479         * LaTeX.h Fixed bug in LaTeX class where it would not
9480         re-run latex if no depfiles were changed, but the .dvi was removed.
9481
9482 2001-11-28  André Pönitz <poenitz@gmx.net>
9483
9484         * all the files from the change on 2001/11/26:
9485         use lyx::layout_type instead of LyXTextClass::size_type
9486         use lyx::textclass_type instead of LyXTextClassList::size_type
9487
9488 2001-11-29  Juergen Vigna  <jug@sad.it>
9489
9490         * text.C: added support for paragraph::isFreeSpacing()
9491
9492         * buffer.C: same as above
9493
9494         * paragraph.h: inserted isFreeSpacing() function to enable
9495         FreeSpacing inside InsetERT.
9496
9497         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9498         of the paragraph's in the cut/copy buffer to 0!
9499
9500         * text2.C (removeRow): remove the assert as it can!
9501
9502         * lyxtext.h: added helper function firstRow returning firstrow and
9503         made firstrow private again.
9504
9505         * BufferView2.C (lockInset): don't relock if we're already locked!
9506
9507         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9508         the only paragraph.
9509         (removeRow): added Assert::(firstrow)
9510
9511         * debug.C: forgot to add INSETTEXT here.
9512
9513 2001-11-28  Juergen Vigna  <jug@sad.it>
9514
9515         * sp_spell.C (initialize): changed error text to more general
9516         spellchecker command use (not only ispell!)
9517
9518         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9519
9520         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9521
9522 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9523
9524         * vspace.C: initialise lyxgluelength on failure
9525
9526 2001-11-28  Allan Rae  <rae@lyx.org>
9527
9528         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9529         declaration & definition that looks like a function declaration.
9530
9531 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9532
9533         * BufferView2.C (copy):
9534         (copyEnvironment): do not clear the selection when doing a copy.
9535
9536         * text.C (paintFirstRow): compilation fix
9537
9538 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9539
9540         * tabular.C (Latex): correct line count when writing latex.
9541
9542 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9543
9544         * paragraph_pimpl.h:
9545         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9546           bug a bit
9547
9548 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9549
9550         * text.C:
9551         * LColor.h:
9552         * LColor.C: change vfillline->added_space
9553
9554         * text.C: add markers and text for added space
9555
9556         * vspace.C: fix comment
9557
9558 2001-11-28  André Pönitz <poenitz@gmx.net>
9559
9560         * paragraph.C: whitespace changes
9561         * all the other files from the change on 2001/11/26:
9562         change *::pos_type into lyx::pos_type
9563
9564 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9565
9566         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9567         language of the document when inserting error insets.
9568
9569 2001-11-26  André Pönitz <poenitz@gmx.net>
9570
9571         * BufferView_pimpl.[Ch]:
9572         *       CutAndPaste.C:
9573         * buffer.[Ch]:
9574         * lyxcursor.[Ch]:
9575         * lyxfind.C:
9576         * lyxfunc.C:
9577         * lyxrow.[Ch]:
9578         * paragraph.[Ch]:
9579         * paragraph_pimpl.[Ch]:
9580         * sp_spell.C:
9581         * text.C:
9582         * text2.C: reduce header dependencies, introduce type for positions
9583
9584 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9585
9586         * <various>: change to use Alert.h
9587
9588 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9589
9590         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9591         when encountering an unknown token.
9592         (readLyXformat2): Show an error message if there were unknown tokens.
9593
9594 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9595
9596         * BufferView2.C:
9597         * BufferView_pimpl.C:
9598         * buffer.C:
9599         * paragraph.h:
9600         * text.C:
9601         * text2.C: use par->isInset()
9602
9603 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9604
9605         * paragraph_pimpl.h:
9606         * paragraph_pimpl.C: cleanup
9607
9608 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9609
9610         * text2.C (removeRow):
9611         * text.C (setHeightOfRow): remove useless (and costly) call to
9612         getRow.
9613
9614 2001-11-20  Allan Rae  <rae@lyx.org>
9615
9616         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9617         Now need Inset*::checkInsertChar() to return true for appropriate
9618         cases so that the characters in the minibuffer will actually be
9619         inserted.
9620
9621 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9622
9623         * text.C: change the order of the includes.
9624         (workWidth): initialize it at once.
9625         (workWidth): make maxw unsigned
9626         (setHeightOfRow): remove unused variable (inset)
9627         (selectSelectedWord): remove unused variable (inset)
9628         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9629
9630 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9631
9632         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9633         server is not running.
9634         (openConnection):
9635         (closeConnection): add debug info when server is disabled.
9636
9637         * ColorHandler.C (getGCForeground): send debug message to GUI
9638         channel.
9639
9640         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9641
9642         * kbmap.C (bind): modify because return conventions of
9643         kb_sequence::parse have changed.
9644
9645         * kbsequence.C (parse): only ignore spaces and not any stupid
9646         control character. This avoids tests like s[i] <= ' ', which are
9647         guaranteed to fail with 8bit characters and signed chars.
9648         Change return code to string::npos when there have been no error
9649         (0 was a bad idea when error is at first character)
9650
9651 2001-11-14  José Matos  <jamatos@fep.up.pt>
9652
9653         * buffer.h:
9654         * buffer.C (simpleDocBookOnePar): removed unused argument.
9655
9656 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9657
9658         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9659         insets which are part of a word. Paragraph::isLetter takes care of
9660         that now. Use Paragraph::isInset to identify insets.
9661         (selectSelectedWord): do not test for hyphenation break.
9662
9663         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9664         that protected spaces are considered as spaces.
9665
9666         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9667         Inset::isLetter.
9668
9669 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9670
9671         * lyxserver.h:
9672         * lyxserver.C: fix it. and small cleanup.
9673
9674 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9675
9676         * BufferView_pimpl.C: use inline helpers
9677
9678         * LaTeXFeatures.h:
9679         * LaTeXFeatures.C: fix typos
9680
9681         * Spacing.h:
9682         * Spacing.C: move spacing_string into class
9683
9684         * ToolbarDefaults.C: move stuff into namespace anon
9685
9686         * layout.h: update enum
9687
9688         * lyxfunc.C: use better debug
9689
9690         * minibuffer.h: fix typo
9691
9692         * debug.h:
9693         * debug.C:
9694         * WorkArea.C: add and use Debug::WORKAREA
9695
9696         * lyxtext.h:
9697         * text.C:
9698         * text2.C: code re-organisation, inline helpers
9699
9700 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9701
9702         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9703         std::vector.empty().
9704
9705 2001-11-09  Allan Rae  <rae@lyx.org>
9706
9707         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9708         '\n's after tables.  Tabular and ERT inset work now makes this no
9709         longer necessary.
9710
9711 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9712
9713         * minibuffer.h:
9714         * minibuffer.C: fix crash, improve drop-down completion
9715
9716 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9717
9718         * lyxserver.h:
9719         * lyxserver.C: invalidate fd's when doing endPipe()
9720
9721 2001-11-08  José Matos  <jamatos@fep.up.pt>
9722
9723         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9724         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9725
9726         * paragraph.h:
9727         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9728
9729 2001-11-07  José Matos  <jamatos@fep.up.pt>
9730
9731         * buffer.h:
9732         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9733         const qualifier.
9734
9735         * buffer.C (sgmlOpenTag):
9736         * buffer.C (sgmlCloseTag): removed debug info.
9737
9738         * buffer.h (sgmlOpenTag):
9739         * buffer.h (sgmlCloseTag): made public.
9740
9741 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9742
9743         * buffer.C (saveParamsAsDefaults):
9744         * lyx_cb.C (MenuLayoutSave): remove
9745
9746         * LyXAction.C (init):
9747         * commandtags.h:
9748         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9749
9750 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9751
9752         * buffer.C (setPaperStuff): removed from here...
9753
9754         * bufferparams.C (setPaperStuff): ... and moved there.
9755
9756 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9757
9758         * minibuffer.h:
9759         * minibuffer.C:
9760         * XFormsView.C: add support for drop-down completion
9761
9762 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9763
9764         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9765         commands.
9766
9767 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9768
9769         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9770         disabled.
9771
9772 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9773
9774         * lyx_main.C: change ref to known bugs
9775
9776 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9777
9778         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9779         to work around older babel problems.
9780
9781 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9782
9783         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9784
9785 2001-10-24  Juergen Vigna  <jug@sad.it>
9786
9787         * tabular-old.C (ReadOld): below variable changes reflected.
9788
9789         * tabular.[Ch]: added ltType struct for longtable header/footer
9790         defines and changed all instances where they are used. Added
9791         future support for double top/bottom rows.
9792
9793 2001-10-24  José Matos  <jamatos@fep.up.pt>
9794
9795         * buffer.h (docbookHandleCaption):
9796         * buffer.C (docbookHandleCaption): removed unused function.
9797         (makeDocBookFile): moved docbook supported version to v4.1.
9798
9799 2001-10-24  José Matos  <jamatos@fep.up.pt>
9800
9801         * tabular.h:
9802         * tabular.C (docbookRow): new function to export docbook code of a row.
9803         (DocBook): now honors the longtable flags.
9804
9805 2001-10-23  José Matos  <jamatos@fep.up.pt>
9806
9807         * LaTeXFeatures.h:
9808         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9809         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9810
9811         * buffer.C (makeLinuxDocFile):
9812         (makeDocBookFile): reworked the preamble, more clean, and with
9813         support for lyx defined entities. Changed the document declaration
9814         to be more XML friendly.
9815
9816         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9817         if we need to output XML that should be done with a filter.
9818
9819 2001-10-22  Juergen Vigna  <jug@sad.it>
9820
9821         * sp_pspell.h (class PSpell): add alive function needed in the
9822         controller to see if the spellchecker could be started.
9823
9824 2001-10-22  Juergen Vigna  <jug@sad.it>
9825
9826         * buffer.C (insertStringAsLines): modify the font for inserting
9827         chars in certain conditions by calling checkInsertChar(font).
9828
9829 2001-10-19  Juergen Vigna  <jug@sad.it>
9830
9831         * text.C (workWidth): use getRow instead of wrong algorithm.
9832         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9833
9834 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9835
9836         * lyxserver.h:
9837         * lyxserver.C:
9838         * lyx_main.h:
9839         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9840
9841 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9842
9843         * text.C (workWidth): do not search for the exact row when
9844         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9845         optimization for big documents.
9846
9847 2001-10-18  Juergen Vigna  <jug@sad.it>
9848
9849         * text.C (workWidth): new function with added Inset * parameter.
9850
9851 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9852
9853         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9854
9855         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9856         change return type of getColumnNearX.
9857
9858
9859         * text.C (changeRegionCase): use uppercase/lowercase instead of
9860         toupper/tolower.
9861         (leftMargin):
9862         (rightMargin): simplify code by factoring out the uses of
9863         textclasslist.
9864         (labelFill):
9865         (numberOfHfills):
9866         (setHeightOfRow):
9867         (appendParagraph): use Paragraph::size_type
9868
9869 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9870
9871         * vspace.C (asLatexString): add a missing break
9872
9873 2001-10-15  Herbert Voss  <voss@perce.de>
9874
9875         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9876
9877 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9878
9879         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9880         is not available.
9881
9882 2001-10-10  André Pönitz <poenitz@gmx.net>
9883
9884         * lyxfunc.C: removed greek_kb_flag.
9885
9886 2001-10-10  Herbert Voss  <voss@perce.de>
9887
9888         * lyx_main.C: delete global string help_lyxdir.
9889
9890 2001-10-09  Herbert Voss  <voss@perce.de>
9891
9892         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9893
9894         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9895
9896         * lyx_main.C: added global string help_lyxdir.
9897
9898         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9899
9900 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9901
9902         * lyxrc.C (set_font_norm_type): support iso8859-4
9903
9904 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9905
9906         * LaTeX.C (deplog): add another regex for MikTeX
9907
9908 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9909
9910         * lyxrc.C (set_font_norm_type): support iso8859-3
9911
9912 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9913
9914         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9915
9916         * LaTeXFeatures.C: remove special case of french and index
9917
9918         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9919         before \begin{document}). This solves several incompatibilities.
9920
9921 2001-10-03  Garst Reese  <reese@isn.net>
9922
9923         * lyx_cb.C: change CheckTex error msg.
9924
9925 2001-10-03  José Matos  <jamatos@fep.up.pt>
9926
9927         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9928
9929 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9930
9931         * .cvsignore: update
9932
9933         * lyx_main.C (commandLineVersionInfo): use new style version info.
9934
9935         * buffer.C (writeFile):
9936         (makeLaTeXFile):
9937         (makeLinuxDocFile):
9938         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9939
9940         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9941
9942         * version.h: update to use stuff in version.C
9943
9944         * version.C.in: new file. Contains version information determined
9945         at compile time. This is a merging of version.h and
9946         version_info.h.in.
9947
9948 2001-10-03  Juergen Vigna  <jug@sad.it>
9949
9950         * BufferView_pimpl.C (update): don't change "dirty" status in
9951         updateInset call.
9952
9953 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9954
9955         * WorkArea.C (c-tor): re-position version string slightly.
9956
9957 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9958
9959         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9960         revert to previous code.
9961
9962         WorkArea.[Ch]: (show, destroySplash): methods removed.
9963
9964         WorkArea.C: rework code so that it's an amalgam of the codes before and
9965         after the splash screen was moved to WorkArea.
9966
9967 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9968
9969         * lyxrc.C (read):
9970         * vspace.C (inPixels):
9971         (lyx_advance):
9972         * kbmap.C (bind):
9973         * buffer.C (insertStringAsLines):
9974         (asciiParagraph): fix types to be large enough
9975
9976         * lyxlex_pimpl.h: change member status from short to int
9977
9978         * layout.h: fix type of endlabeltype
9979
9980         * kbmap.C (bind):
9981         * kbsequence.C (parse): change return type to string::size_type
9982
9983         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9984         variable
9985
9986         * Bullet.C (bulletSize):
9987         (bulletEntry): do not use short ints as parameters
9988
9989         * BufferView2.C (insertLyXFile): change a char to an int.
9990
9991         * WorkArea.C (WorkArea): remove unneeded floats in computation
9992
9993 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9994
9995         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9996
9997         * paragraph.C (asString): Do not ignore newline/hfill chars when
9998         copying to the clipboard.
9999
10000 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10001
10002         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10003         after a multi-line inset.
10004
10005 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10006
10007         * paragraph.C (validate): Set NeedLyXFootnoteCode
10008
10009 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10010
10011         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10012         and decrease-error to decrease.
10013
10014 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10015
10016         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10017         it more readable (should be equivalent)
10018
10019 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10020
10021         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10022
10023 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10024
10025         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10026         of a cursor (row, etc.) after a character has been deleted
10027         (deleteEmptyParagraphMechanism): call the method above on _all_
10028         cursors held by the LyXText when a double space has been
10029         detected/deleted.
10030
10031 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10032
10033         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10034         pixmap.
10035         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10036
10037         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10038         background. Use greyOut() and the new show() methods to toggle between
10039         the foreground and background. Add code to remove the splash after
10040         its initial showing.
10041
10042         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10043         (create_forms): no longer call Dialogs::showSplash.
10044
10045 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10046
10047         * .cvsignore: add version_info.h
10048
10049 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10050
10051         * version_info.h.in: new file
10052
10053         * Makefile.am: add version_info.h.in
10054
10055         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10056         version_info.h instead of VERSION_INFO
10057
10058 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10059
10060         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10061         The ERT inset now returns string().
10062
10063 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10064
10065         * lyxtext.h, text.C (selectNextWord): renamed as
10066         selectNextWordToSpellcheck.
10067
10068         * text.C (selectNextWordToSpellcheck): Modified to not select
10069         words inside an ERT inset.
10070
10071 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10072
10073         * lyx_cb.C (MenuLayoutSave): change a bit the question
10074
10075         * sp_base.h: include <sys/types.h>
10076
10077 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10078
10079         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10080
10081 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10082
10083         * several files: fix typos in user-visible strings
10084
10085 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10086
10087         * text2.C (pasteSelection): do not set the selection, since it
10088         will be cleared later. Actually, the intent was to fix the way the
10089         selection was set, but I figured rmoving the code was just as good.
10090
10091 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10092
10093         * FontLoader.C (available): Check if font is available without
10094         loading the font.
10095
10096 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10097
10098         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10099
10100 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10101
10102         * lyxrc.[Ch]: added display_graphics variable and associated code.
10103
10104 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10105
10106         * bufferparams.C (hasClassDefaults): new method. Returns true if
10107         the buffer parameters correspond to known class defaults
10108
10109 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10110
10111         * XFormsView.C (show): set minimum size to the main window.
10112
10113 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10114
10115         * text2.C (copySelection):
10116         (cutSelection):
10117         * lyxfind.C (LyXReplace):
10118         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10119         LyXText::selectionAsString.
10120
10121         * paragraph.C (asString): add "label" argument to the second form
10122
10123         * text2.C (selectionAsString): add "label" argument and pass it to
10124         Paragraph::asString.
10125
10126 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10127
10128         * lyx_main.C (commandLineHelp): remove version information
10129
10130 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10131
10132         * lyx_main.C: add -version commandline option
10133
10134 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10135
10136         * paragraph.h: make the optional constructor arg required instead.
10137         some modifications to other files because of this.
10138
10139         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10140
10141         * lyxserver.C (C_LyXComm_callback): make it static
10142
10143         * lyx_main.C (error_handler): make it static
10144
10145         * lyx_gui.C (LyX_XErrHandler): make it static
10146
10147         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10148
10149         * WorkArea.C: make the extern "C" methods static.
10150
10151         * Makefile.am (lyx_LDADD): simplify
10152
10153 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10154
10155         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10156         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10157
10158         * LyXAction.C (init):
10159         * lyxfunc.C (dispatch): associated code removal.
10160
10161 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10162
10163         * lyxfont.h (isSymbolFont): shut off warning
10164
10165         * text.C (setHeightOfRow):
10166         (getVisibleRow): fix crash with empty paragraphs which have a
10167         bottom line
10168
10169 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10170
10171         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10172         code.
10173
10174 2001-09-04  José Matos  <jamatos@fep.up.pt>
10175         * buffer.C
10176         * buffer.h
10177         * tabular.C (docbook): rename docBook method to docbook.
10178
10179 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10180
10181         * Makefile.am: add dependencies to main.o.
10182
10183 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10184
10185         * FontLoader.C (available): Return false if !lyxrc.use_gui
10186
10187 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10188
10189         * FontInfo.C (query):
10190         * converter.C (view):
10191         * importer.C (Import):
10192         * exporter.C (Export): Can not -> cannot.
10193
10194 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10195
10196         * BufferView_pimpl.C: allow to create index inset even if
10197           string is empty
10198
10199 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10200
10201         * buffer.C (getLists): replace boost::tie code with an explicit pair
10202         as boost::tie can break some compilers.
10203
10204         * iterators.h: Added a std:: declaration to the return type of
10205         ParIterator::size.
10206
10207 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10208
10209         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10210           case.
10211
10212 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10213
10214         * iterators.[Ch]: New files. Provide paragraph iterators.
10215
10216         * buffer.C (changeLanguage): Use paragraph iterators.
10217         (isMultiLingual): ditto
10218
10219         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10220
10221 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10222
10223         * FontLoader.C: Support for cmr font.
10224
10225 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10226
10227         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10228         (available): New method.
10229
10230         * FontInfo.C (getFontname): Use scalable fonts even when
10231         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10232         found.
10233
10234 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10235
10236         * converter.C (Formats::view): reverted! Incorrect fix.
10237
10238 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10239
10240         * converter.C (Formats::view): only output the -paper option
10241         if the dvi viewer is xdvi, thereby fixing bug #233429.
10242
10243 2001-08-23  Herbert Voss  <voss@perce>
10244
10245         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10246
10247 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10248
10249         * Spacing.h (Spacing): Set space to Default on in the default
10250         constructor.
10251
10252 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10253
10254         * vc-backend.h (RCS::versionString): add RCS to version
10255         (CVS::versionString): add CVS to version
10256
10257         * vc-backend.C (scanMaster): do not add CVS to version.
10258         (scanMaster): do not add RCS to version
10259
10260         * lyxvc.C (versionString): new method
10261
10262         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10263
10264 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10265
10266         * Spacing.C (set): initialize fval
10267
10268 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10269
10270         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10271         " or \.
10272
10273 2001-08-16  Juergen Vigna  <jug@sad.it>
10274
10275         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10276
10277 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10278
10279         * BufferView_pimpl.C:
10280         * figureForm.C:
10281         * lyxtext.h:
10282         * text2.C: setParagraph takes linespacing now
10283
10284 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10285
10286         * LyxAction.C: add internal LFUN_CITATION_INSERT
10287
10288         * LyXView.C: actually apply fix
10289
10290         * bufferlist.C: fix open non-existent file
10291
10292         * lyxfind.C: fix indentation
10293
10294         * lyxfunc.C: remove unneeded assert, fix typo
10295
10296 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10297
10298         * MenuBackend.C: use "Floatname List"
10299
10300 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10301
10302         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10303         when converting LaTeX layout to insetERT.
10304         Generate a non-collapsed float when reading old float
10305
10306 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10307
10308         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10309         ERT insets.
10310
10311 2001-08-13  Juergen Vigna  <jug@sad.it>
10312
10313         * text.C (fill): return 0 instead of 20 as this seems to be the more
10314         correct value.
10315
10316 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10317
10318         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10319         lyxrc.font_norm.
10320
10321 2001-08-13  Juergen Vigna  <jug@sad.it>
10322
10323         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10324         casesensitive off.
10325         (SearchBackward): comment out the unlocking of the inset_owner this
10326         should not be needed!
10327
10328 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10329
10330         * Many files: Remove inherit_language, and add latex_language
10331
10332         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10333         collapsible insets.
10334
10335 2001-08-10  Juergen Vigna  <jug@sad.it>
10336
10337         * text.C (prepareToPrint): fixed hfill-width in draw!
10338
10339         * BufferView2.C (selectLastWord): save the selection cursor as this
10340         now is cleared in the function LyXText::clearSelection!
10341
10342 2001-08-08  Juergen Vigna  <jug@sad.it>
10343
10344         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10345         BACKSPACE type functions.
10346
10347         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10348         is only cutted from the document but not put in the cut-buffer, where
10349         still the old stuff should be.
10350
10351         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10352
10353         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10354
10355         * tabular.C (SetWidthOfCell): fixed special case where the width
10356         was not updated!
10357         (LeftLine): handle '|' in align_special.
10358         (RightLine): ditto
10359         (LeftAlreadyDrawed): ditto
10360         (SetWidthOfCell): ditto
10361
10362 2001-08-07  Juergen Vigna  <jug@sad.it>
10363
10364         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10365
10366 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10367
10368         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10369         * lyxlex.[hC]: ditto
10370
10371 2001-08-06  Juergen Vigna  <jug@sad.it>
10372
10373         * text.C (getVisibleRow): fix up row clearing a bit.
10374
10375 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10376
10377         * minibuffer.C: make sure the X server sees the changes in the input.
10378
10379 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10380
10381         * paragraph.C (getFont): split into...
10382         (getLabelFont): this
10383         (getLayoutFont): and this
10384         * paragraph_pimpl.C (realizeFont): calling this
10385
10386         * text2.C (getFont): split into...
10387         (getLayoutFont): this
10388         (getLabelFont): and this
10389         (realizeFont): all three calling this
10390
10391         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10392         files where used.
10393
10394 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10395
10396         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10397
10398 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10399
10400         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10401         layouts from the Quote inset insertion.
10402
10403 2001-08-03  Juergen Vigna  <jug@sad.it>
10404
10405         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10406
10407         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10408         only if status not is already CHANGED_IN_DRAW (second level).
10409
10410         * text.C (draw): don't set the need_break_row when inside an
10411         InsetText LyXText.
10412
10413 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10414
10415         * buffer.C (parseSingleLyXformat2Token): handle more latex
10416         conversion cases.
10417
10418         * bufferview_funcs.[hC]: change function names to
10419         begin with small char, adjust other files.
10420
10421 2001-08-02  André Pönitz <poenitz@gmx.net>
10422
10423         * lyxfunc.C:
10424         BufferView_pimpl.C: remove broken special code for math-greek
10425
10426 2001-08-02  Juergen Vigna  <jug@sad.it>
10427
10428         * BufferView_pimpl.C (update): redone this function so that we
10429         update the text again if there was a CHANGE_IN_DRAW.
10430
10431         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10432         (drawFromTo): added a new internal bool which is used by draw() and
10433         redraw() function.
10434         (general): some cursor drawing problems fixed.
10435
10436 2001-08-01  Juergen Vigna  <jug@sad.it>
10437
10438         * lyxfind.C (LyXFind): fixed
10439         (SearchForward): ditto
10440         (SearchBackward): ditto
10441
10442         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10443         spurius drawing of the cursor in the main area.
10444
10445         * text2.C (status): small fix which could lead to a segfault!
10446         (clearSelection): remove unneeded BufferView param.
10447
10448 2001-08-01  André Pönitz <poenitz@gmx.net>
10449
10450         * lyxfunc.C: small change due to changed mathed interface
10451
10452 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10453
10454         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10455
10456 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * lyxfunc.c: fail gracefully if file doesn't exist
10459
10460         * LyXSendto.C:
10461         * buffer.C:
10462         * lyxfunc.C:
10463         * BufferView_pimpl.C: IsDirWriteable() proto changed
10464
10465         * LyXView.C: fix updateWindowTitle() to store the last title
10466
10467 2001-07-31  Juergen Vigna  <jug@sad.it>
10468
10469         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10470         the font (wrong since using of Paragraph::highestFontInRange).
10471
10472         * paragraph.C (highestFontInRange): added a default_size parameter.
10473
10474         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10475         (setHeightOfRow): reformat
10476
10477 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10478
10479         * converter.[hC] + affected files: move to (inital-char)lowercase
10480         function names.
10481
10482         * ParagraphParameters.C (ParagraphParameters): remove commented code
10483
10484         * PainterBase.[Ch]: remove commented code
10485
10486         * LaTeXFeatures.h: add "bool floats" for float.sty
10487
10488         * LaTeXFeatures.C (LaTeXFeatures): init floats
10489         (require): handle float
10490         (getPackages): do it with floats
10491
10492 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10493
10494         * BufferView_pimpl.C (Dispatch): improve handling of
10495         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10496
10497         * commandtags.h: #include lyxfont.h here temporarily to avoid
10498         keybinding bug.
10499
10500         * bufferlist.h: include LString.h here.
10501
10502 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10503
10504         * text2.C (getStringToIndex): new method.
10505
10506 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10507
10508         * *: Reduced header file dependencies all over.
10509
10510 2001-07-30  Baruch Even  <baruch@lyx.org>
10511
10512         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10513
10514 2001-07-29  Baruch Even  <baruch@lyx.org>
10515
10516         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10517
10518 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10519
10520         * ParameterStruct.h (endif): add a default constructor to make
10521         sure that all variables is initialized.
10522
10523         * ParagraphParameters.C (ParagraphParameters): adjust
10524
10525 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10526
10527         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10528         index; also, check that there is something to index, and that it
10529         does not span over several paragraphs.
10530         (doubleClick): use WHOLE_WORD_STRICT for double click.
10531
10532         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10533
10534         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10535         scheme.
10536
10537 2001-07-26  Baruch Even  <baruch@lyx.org>
10538
10539         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10540         an InsetFig figure, backwards compatible reading of old figure code.
10541
10542 2001-07-27  Juergen Vigna  <jug@sad.it>
10543
10544         * text2.C: font.realize function adaption.
10545
10546         * text.C (draw): add a warnings lyxerr text if needed.
10547
10548         * layout.C: font.realize function adaption.
10549
10550         * language.C: add inherit_language and implement it's handlings
10551
10552         * bufferview_funcs.C (StyleReset): remove language parameter from
10553         font creation (should be language_inherit now).
10554
10555         * bufferparams.C (writeFile): handle ignore_language.
10556
10557         * paragraph.C (getFontSettings): the language has to be resolved
10558         otherwise we have problems in LyXFont!
10559
10560         * lyxfont.C (lyxWriteChanges): added document_language parameter
10561         (update): removed unneeded language parameter
10562
10563         * paragraph.C (validate): fixed wrong output of color-package when
10564         using interface colors for certain fonts in certain environments,
10565         which should not seen as that on the final output.
10566
10567 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * BufferView_pimpl.C:
10570         * Thesaurus.h:
10571         * Thesaurus.C:
10572         * Makefile.am:
10573         * commandtags.h:
10574         * LyXAction.C: add thesaurus support
10575
10576         * lyxfind.h:
10577         * lyxfind.C: add "once" parameter, for thesaurus, to not
10578           move to the next match
10579
10580 2001-07-26  Juergen Vigna  <jug@sad.it>
10581
10582         * lyxfont.C (realize): honor ignore_language too!
10583         (resolved): ditto.
10584
10585         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10586
10587         * text.C (draw): one place more for ignore_language to not draw
10588         itself!
10589
10590 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10591
10592         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10593
10594 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10595
10596         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10597         the minipage conversion problem.
10598
10599 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10600
10601         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10602         insert an inset.
10603
10604 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10605
10606         * BufferView.h: don't forward declare WorkArea
10607
10608         * BufferView.C: don't include WorkArea.h
10609
10610 2001-07-25  André Pönitz <poenitz@gmx.net>
10611
10612         * commandtags.h:
10613         * LyXAction.C:
10614         * lyxfunc.C:  new LFUN 'math-space'
10615
10616         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10617
10618 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10619
10620         * text2.C (toggleInset): call open/close
10621
10622 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10623
10624         * lyxfunc.C (dispatch): add debug for the disabled case
10625
10626         * font.C (buttonText): make similar to rectText
10627
10628         * buffer.C (readInset): comment out parsing of insetlist and
10629         insttheorem
10630
10631         * PainterBase.C (rectText): small correction
10632
10633         * BufferView_pimpl.C: comment out insettheorem and insetlist
10634         * LyXAction.C: ditto
10635         * commandtags.h: ditto
10636
10637 2001-07-24  Juergen Vigna  <jug@sad.it>
10638
10639         * text.C (draw): honor the ignore_language.
10640
10641         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10642
10643 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10644
10645         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10646         char inset.
10647
10648 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10649
10650         * lyxtext.h: remove unused (and unimplemented) methods
10651
10652 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10653
10654         * text.C (getVisibleRow): honor background color
10655
10656         * PainterBase.h:
10657         * Painter.h: remove default color argument for fillRectangle
10658
10659         * text.C (backgroundColor): new method
10660
10661 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10662
10663         * text.C (getVisibleRow): adjust
10664
10665         * font.[Ch] (rectText): new method, metrics
10666         (buttonText): new method, metrics
10667
10668         * PainterBase.[hC]: make rectText and buttonText always draw and take
10669         fewer paramteres.
10670
10671 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10672
10673         * ToolbarDefaults.C (read):
10674         * MenuBackend.C (read): allow escaping in all strings
10675
10676         * BufferView_pimpl.C (insertAndEditInset): new method.
10677         (Dispatch): use insertAndEditInset whenever appropriate.
10678
10679         * BufferView_pimpl.C (insertNote): removed
10680
10681         * BufferView_pimpl.C (smartQuote): new method, moved from
10682         BufferView; if an insetquote cannot be inserted, insert a '"'
10683         character instead.
10684
10685         * BufferView2.C: remove insertCorrectQuote();
10686
10687         * lyxfunc.C (getStatus): Add support for all remaingin
10688         inset-insert lfuns.
10689
10690         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10691
10692         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10693         command (necessary to pass " as parameter of self-insert.
10694
10695         * text.C (selectWordWhenUnderCursor):
10696         (selectWord): add word_location parameter
10697         (selectWordWhenUnderCursor): same + remove special code for word
10698         boundary.
10699         (selectNextWord): use kind() to guess type of insetspecialchar,
10700         not latex().
10701
10702         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10703         (insertErtContents): create ert insets as collapsed.
10704         (readInset): better compatibility code for Info inset.
10705
10706 2001-07-20  Juergen Vigna  <jug@sad.it>
10707
10708         * lyxfunc.C (dispatch): use always LyXFind now!
10709
10710         * text2.C (init): add a reinit flag so that the LyXText can be
10711         reinited instead of deleted and reallocated (used in InsetText).
10712
10713         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10714
10715         * text.C: ditto
10716
10717         * text2.C: ditto
10718
10719 2001-07-18  Juergen Vigna  <jug@sad.it>
10720
10721         * text.C (selectNextWord): handle insets inside inset by calling
10722         always the bv->text functions so that we can go up the_locking_inset!
10723
10724         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10725         in strange locations when inside an inset!
10726
10727         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10728         handling to include insets.
10729
10730         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10731
10732 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10733
10734         * LyXAction.C (init):
10735         * commandtags.h:
10736         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10737         LIGATURE_BREAK, since the name is so stupid.
10738
10739 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10740
10741         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10742         InsetInfos.
10743
10744         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10745
10746         * sp_form.[Ch]: remove.
10747
10748         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10749
10750         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10751         InsetInfo.
10752
10753         * src/buffer.C (readInset): ditto.
10754
10755 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10756
10757         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10758         menuSeparator(), endOfSentenceDot(), ldots() and
10759         hyphenationPoint(), which are therefore removed.
10760         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10761
10762         * LyXAction.C (init):
10763         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10764
10765         * paragraph.C (getWord): removed.
10766
10767         * BufferView_pimpl.C (Dispatch): use last word or selection for
10768         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10769
10770         * lyx_main.C (queryUserLyXDir): do not ask before creating
10771         user_dir, except if it has been named explicitely.
10772
10773 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10774
10775         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10776         a document of zero size.
10777
10778 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10779
10780         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10781         approriately in the c-tor and in require().
10782         (getPackages): output the appropriate LaTeX for natbib support.
10783
10784         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10785         variables "use_natbib" and "use_numerical_citations" when reading the
10786         LyX file.
10787         (readInset): read the various natbib cite commands.
10788         (validate): white-space change.
10789
10790         * bufferparams.[Ch]: new variables "bool use_natbib" and
10791         "bool use_numerical_citations".
10792         (writeFile): output them in the LyX file.
10793
10794 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10795
10796         * lyxfunc.C (getStatus): add support for all the inset insertion
10797         commands.
10798
10799         * text2.C (insertInset):
10800         * paragraph.C (insetAllowed):
10801         * BufferView_pimpl.C (insertInset): update to take in account the
10802         renaming of insertInsetAllowed
10803
10804         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10805
10806         * text2.C (getInset): new method. returns inset at cursor position.
10807
10808         * BufferView_pimpl.C (Dispatch): changes because of this.
10809
10810         * LyXAction.C (init): rename open-stuff to inset-toggle.
10811
10812         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10813
10814         * text2.C (toggleInset): renamed from openStuff; use
10815         Inset::open().
10816
10817 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10818
10819         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10820
10821         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10822
10823 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10824
10825         * buffer.C (readLyXformat2): Add filename to the error dialog
10826
10827 2001-07-18  Juergen Vigna  <jug@sad.it>
10828
10829         * tabular.C (GetCellNumber): put an assert here instead of the check!
10830
10831 2001-07-17  Juergen Vigna  <jug@sad.it>
10832
10833         * BufferView_pimpl.C (toggleSelection): adapted too.
10834
10835         * text.C (selectNextWord): adapted for use with insets.
10836         (selectSelectedWord): ditto
10837
10838 2001-07-17  Juergen Vigna  <jug@sad.it>
10839
10840         * sp_spell.C (PSpell): fix initialitation order.
10841
10842 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * paragraph.C: spacing
10845
10846 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10847
10848         * sp_spell.C: repair language selection for pspell
10849
10850 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10851
10852         * lyxfunc.h: change more methods to begin with lower char.
10853
10854 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10855
10856         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10857         for unknown layouts.
10858
10859 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10860
10861         * buffer.C (readLyXformat2): Generate an error dialog if there are
10862         unknown layouts.
10863
10864 2001-07-16  Juergen Vigna  <jug@sad.it>
10865
10866         * sp_spell.C: always compile ISpell part.
10867
10868         * lyxrc.C: added use_pspell entry and it's handling.
10869
10870 2001-07-13  Juergen Vigna  <jug@sad.it>
10871
10872         * sp_spell.C: removed double includes.
10873
10874 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10875
10876         Consistent use of Lsstream.h:
10877         * Lsstream.h: added using std::stringstream for consistencies sake.
10878
10879         * buffer.C: removed using std::stringstream
10880
10881         * lyxfont.C (stateText):
10882         * paragraph.C (asString):
10883         * text.C (selectNextWord, selectSelectedWord):
10884         * text2.C (setCounter):
10885         * vspace.C (asString, asLatexString):
10886         std::ostringstream -> ostringstream.
10887
10888 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10889
10890         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10891         * commandtags.h: add LFUN_HELP_ABOUTLYX
10892         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10893
10894 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10895
10896         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10897         cursorToggle()
10898         * lyx_gui_misc.C: remove spellchecker
10899         * lyxfunc.C: showSpellchecker
10900         * sp_base.h: added
10901         * sp_ispell.h: added
10902         * sp_pspell.h: added
10903         * sp_spell.C: added
10904         * sp_form.[Ch]: removed
10905         * spellchecker.[Ch]: removed
10906
10907 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10908
10909         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10910         is set.
10911         (simpleTeXSpecialChars): Simply print the input character without
10912         any special translation if pass_thru is set.
10913
10914         * layout.h: Added bool pass_thru to layout class for being able to
10915         implement pass through of a paragraph for Literate Programming.
10916
10917         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10918         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10919         * layout.C (Read): add "passthru" to list of layout tags and add
10920         code to set the pass_thru boolean when it is read.
10921
10922 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10923
10924         * trans_decl.h: remove allowed from KmodInfo
10925
10926         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10927         remove allowed code
10928         (Load): adjust
10929
10930         * paragraph_pimpl.C (erase): use boost::prior
10931
10932         * Painter.C (text): use data() instead of c_str() when length is
10933         also provided.
10934         * WorkArea.C (putClipboard): ditto
10935         * font.h (width): ditto
10936
10937         * BufferView2.C: use it-> instead of (*it). for iterators
10938         * texrow.C: ditto
10939         * paragraph_pimpl.C: ditto
10940         * paragraph.C: ditto
10941         * minibuffer.C: ditto
10942         * language.C: ditto
10943         * kbmap.C: ditto
10944         * encoding.C: ditto
10945         * counters.C: ditto
10946         * converter.C: ditto
10947         * chset.C: ditto
10948         * Variables.C: ditto
10949         * TextCache.C: ditto
10950         * MenuBackend.C: ditto
10951         * LyXAction.C: ditto
10952         * LColor.C: ditto
10953         * FloatList.C: ditto
10954         * DepTable.C: ditto
10955         * ColorHandler.C (LyXColorHandler): ditto
10956
10957 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10958
10959         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10960
10961         * text2.C (openStuff): reintroduce this method (which had been
10962         nuked in NEW_INSETS frenzy).
10963
10964         * lyxfunc.C (Dispatch): when an action has not been handled, use
10965         its name in the error message, not its number.
10966
10967         * paragraph.C (inInset): change method name to begin with lowercase.
10968
10969         * undo_funcs.C:
10970         * text2.C: updates because of this.
10971
10972 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10973
10974         * ToolbarDefaults.C (add): add spaces in error message
10975
10976 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10977
10978         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10979         (readLyXformat2): rename return_par to first_par, use lyxlex's
10980         pushToken and remove the manual push handling.
10981         (parseSingleLyXformat2Token): add another ert comp. variable:
10982         in_tabular, rename return_par to first_par. handle newlines better
10983
10984 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10985
10986         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10987
10988 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10989
10990         * text2.C (getParFromID): removed
10991
10992         * buffer.C (getParFromID): new method moved form lyxtext.
10993         * BufferView2.C (insertErrors): adjust
10994         (setCursorFromRow): adjust
10995         * BufferView_pimpl.C (restorePosition): adjust
10996         * lyxfunc.C (Dispatch): adjust
10997         * undo_funcs.C (textUndo): adjust
10998         (textRedo): adjust
10999         (textHandleUndo): adjust
11000         (textHandleUndo): adjust
11001
11002 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11003
11004         * buffer.C: up' the LYX_FORMAT
11005
11006         * lyxfont.h: turn NO_LATEX on as default
11007
11008         * buffer.C (insertErtContents): new methods of tex style compability.
11009         (parseSingleLyXformat2Token): use it several places.
11010         * tabular.C (OldFormatRead): and here
11011
11012 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11013
11014         * text2.C: remove some commented code.
11015         reindent file.
11016
11017         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11018         * trans.C: changes because of the above.
11019
11020 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11021
11022         * text2.C (setCounter): Fix counters bug with bibliography layout.
11023
11024 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11025
11026         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11027         own member functions
11028         (simpleTeXSpecialChars): ditto
11029
11030 2001-07-06  Juergen Vigna  <jug@sad.it>
11031
11032         * a lot of files: changed the access to LyXText::status and the
11033         call of undo-functions.
11034
11035         * undo.[Ch]: added a inset_id to the undo informations.
11036
11037         * undo_funcs.[Ch]: added and moved here all undo functions.
11038
11039         * lyxtext.h: give the status enum a weight, made status_ a private
11040         variable and made accessor functions for it, removed the whole bunch
11041         of undo-functions as they are now in their own file, make some
11042         functions publically available. Added function ownerParagraph with
11043         int parameter.
11044
11045         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11046         made InInset() a const function, added getParFromID() function.
11047
11048         * buffer.[Ch]: added const version for inset_iterator functions,
11049         added getInsetFromID() function.
11050
11051         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11052         changed undo functions for new version.
11053
11054 2001-07-05  Juergen Vigna  <jug@sad.it>
11055
11056         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11057         unknow mechanism does not call the proper constructor but only this
11058         one also if I request the other!?
11059
11060 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11061
11062         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11063
11064         * text2.C (LyXText): use initialization lists.
11065
11066         * lyxtext.h (Selection): initialize set_ and mark_
11067         (init): remove method
11068
11069 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11070
11071         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11072
11073 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11074
11075         * screen.[Ch]: change method names to begin with lowercase
11076
11077         * BufferView_pimpl.C (updateScrollbar): simplify further and
11078         hopefully make it a bit faster.
11079
11080 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11081
11082         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11083         calling directly xforms functions.
11084
11085         * Painter.C (Painter):
11086         * lyx_cb.C (MenuWrite):
11087         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11088         fl_display.
11089
11090         * lyx_gui.C: remove bogus guiruntime extern declaration.
11091
11092 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11093
11094         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11095         in NEW_INSETS
11096         (redoDrawingOfParagraph): ditto
11097         (redoParagraphs): ditto
11098         (cutSelection): don't create a object for CutAndPaste use the
11099         static method directly
11100         (pasteSelection): ditto
11101
11102         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11103         LyXview (+ rename)
11104
11105 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11106
11107         * modifications to some other files because of this.
11108
11109         * Makefile.am (lyx_SOURCES): add XFormsView
11110
11111         * XFormsView.[Ch]: new files
11112
11113         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11114         the main window. Move the gui dependent stuff to XFormsView
11115
11116 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11117
11118         * tabular.C (GetCellInset): update cur_cell also in the row/col
11119         version of this function.
11120
11121         * lyxfunc.C: no need to include figure_form.h here.
11122
11123         * FontLoader.h:
11124         * lyxfunc.h:
11125         * lyxscreen.h:
11126         * text2.C:
11127         * lyxvc.C: no need to include forms.h here.
11128
11129 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11130
11131         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11132
11133         * lyxfunc.C (Dispatch):
11134         * Spacing.C (set):
11135         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11136         constructor argument.
11137
11138 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11139
11140         * paragraph.C (Paragraph): dont't clear, and just set layout.
11141         (makeSameLayout): use params's copy contructor.
11142
11143         * ParagraphParameters.[Ch] (makeSame): delete method
11144
11145 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11146
11147         * Variables.[Ch]: fix indentation, rename set to isSet
11148
11149 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11150
11151         * lyxfunc.C (Dispatch): fix typo
11152
11153 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11154
11155         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11156         upper_bound.
11157
11158         * bufferlist.C: include assert.h for emergencyWrite().
11159
11160 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11163           give up at last (bug #425202) !
11164
11165 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11166
11167         * lyx_gui_misc.C:
11168         * sp_form.h:
11169         * sp_form.C:
11170         * spellchecker.h:
11171         * spellchecker.C: strip spellchecker options and bring up
11172           preferences tab instead
11173
11174 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11175
11176         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11177         the istringstream constructor
11178
11179 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11180
11181         * paragraph.C (getLayout): fix return value
11182
11183         * paragraph.h: do not declare getLayout as inline.
11184
11185         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11186
11187 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11188
11189         * lyxcursor.h (operator<): new func
11190         (operator>): new func
11191         (operator>=): new func
11192         (operator<=): new func
11193
11194         * text.C (changeCase): use selection.start and selection.end
11195         (changeRegionCase): require from to be <= to. Require par to be a
11196         valid paragraph.
11197
11198         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11199
11200 2001-06-27  Juergen Vigna  <jug@sad.it>
11201
11202         * text.C (cursorLeftOneWord): changed to return the cursor and added
11203         overlay with BufferView * parameter which calls this one.
11204         (getWord): added
11205         (selectWord): use new getWord function.
11206         (changeCase): renamed from changeWordCase as and extended to work
11207         also on selections.
11208
11209         * lyxtext.h: added enum word_location
11210
11211         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11212         changeCase as this operates now also on selections.
11213
11214 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11215
11216         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11217
11218         * many files: send debug output to Debug::INFO instead of
11219         Debug::ANY.
11220
11221         * converter.C (View):
11222         (Convert):
11223         (Move): send debug output to Debug::FILES instead of console.
11224
11225 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11226
11227         * lyxfunc.C (getStatus): use func_status
11228
11229         * func_status.h: new header, describing the results of
11230         LyXFunc::getStatus;
11231
11232         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11233         LFUN_MATH_HALIGN.
11234
11235 2001-06-25  The LyX Project  <jug@sad.it>
11236
11237         * buffer.C (sgmlOpenTag):
11238         (sgmlCloseTag):
11239         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11240
11241 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11242
11243         * text2.C: remove some dead code
11244
11245         * tabular.C (GetCellInset): store the last cell checked (gotten)
11246
11247         * tabular.h: add the helper for the speedup
11248
11249         * lyxtext.h: remove some dead code
11250
11251 2001-06-26  The LyX Project  <Asger>
11252
11253         * paragraph.C: Change export to LaTeX of alignment to
11254         \begin{center} and family for better roundtrip work with reLyX.
11255
11256         * Tune the math drawing a bit.
11257
11258 2001-06-25  The LyX Project  <Asger>
11259
11260         * LColor.C (LColor): New color for math background. New color
11261         for buttons.
11262
11263 2001-06-25  The LyX Project  <jug@sad.it>
11264
11265         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11266
11267         * lyxfunc.C (Open):
11268         * bufferlist.C (newFile): do not restrict to files ending with
11269         .lyx
11270
11271         * BufferView_pimpl.C (MenuInsertLyXFile):
11272
11273 2001-06-24  The LyX Project  <jug@sad.it>
11274
11275         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11276         of compare_no_case
11277
11278 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11279
11280         * lyxtext.h: rename most methods to begin with a small char.
11281         Lots of changes because of this.
11282
11283         * paragraph.C (Paragraph): do not call fitToSize
11284         (erase): call Pimpl::erase
11285         (insertChar): call Pimpl::insertChar
11286         (insertInset): call Pipl::insertInset
11287         (breakParagraph): do not call fitToSize
11288         (breakParagraphConservative): do not call fitToSize
11289         (fitToSize): remove method
11290
11291         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11292
11293 2001-06-24  The LyX Project  <Asger>
11294
11295         * Fix Qt compilation^2
11296
11297 2001-06-24  The LyX Project  <jug@sad.it>
11298
11299         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11300         depthHook(getDepth()-1).
11301
11302         * paragraph.h:
11303         * ParagraphParameters.h:
11304         * ParameterStruct.h: change type of depth to unsigned int ==
11305         depth_type. Many adaptations to other files before of that.
11306
11307 2001-06-24  The LyX Project  <Asger>
11308
11309         * Fix Qt compilation.
11310
11311 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11312
11313         * paragraph.h: renamed several methods to begin with small letter.
11314         several changes to many parts of the code because of this.
11315
11316 2001-06-23  The LyX Project  <jug@sad.it>
11317
11318         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11319         rewritten to discard all double spaces when KeepEmpty is off
11320         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11321         to only handle newlines but not fiddle with spaces and friends.
11322
11323         * lyxfunc.C (MenuNew): when doing 'new from template', use
11324         template_path as default directory
11325
11326 2001-06-23  The LyX Project  <Asger>
11327
11328         * Clean-up of header file includes all over
11329         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11330
11331 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11332
11333         * paragraph.h: renamed from lyxparagraph.h
11334
11335 2001-06-23  Asger  <lyx@violet.home.sad.it>
11336
11337         * Buffer.h: Removed Buffer::resize
11338         * BufferList.h: Removed BufferList::resize
11339         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11340         the document lazily when we change the width, or the font settings.
11341
11342 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11345
11346 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11347
11348         * buffer.h: remove out of date comment
11349
11350 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11351
11352         * lyxscreen.h:
11353         * screen.C: fix "theoretical" GC leak
11354
11355 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11356
11357         * LaTeX.C (scanAuxFile):
11358         (deplog): remove trailing \r when reading stream (useful under
11359         win32)
11360
11361 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11362
11363         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11364         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11365         and BufferView::theLockingInset(Inset*), so should use them and not
11366         access bv_->text->the_locking_inset directly.
11367
11368         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11369
11370 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * Makefile.am:
11373         * tex-defs.h: remove old unused file
11374
11375 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11376
11377         * BufferView_pimpl.C: fix typo, remove minibuffer message
11378           when buffer has loaded
11379
11380 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * lyxfunc.C (Dispatch): use stringstream
11383         (MenuNew): use stringstream
11384         (Open): use stringstream
11385
11386         * importer.C (Import): use stringstream
11387
11388         * bufferview_funcs.C (CurrentState): use stringstream
11389
11390         * LaTeX.C (run): use stringstream
11391
11392         * BufferView_pimpl.C (savePosition): use stringstream
11393         (restorePosition): use stringstream
11394         (MenuInsertLyXFile): use stringstream
11395
11396 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11397
11398         * BufferView.C:
11399         * Bullet.C:
11400         * ColorHandler.C:
11401         * FontInfo.C:
11402         * FontLoader.C:
11403         * LColor.C:
11404         * LaTeXFeatures.C:
11405         * Painter.C:
11406         * gettext.C:
11407         * lyx_gui_misc.C:
11408         * lyxserver.C:
11409         * vspace.C: removed // -*- C++ -*- as first line.
11410
11411         * lyxfind.h:
11412         * version.h: added // -*- C++ -*- as first line.
11413
11414 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11415
11416         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11417
11418         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11419         of string
11420
11421 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11422
11423         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11424         of floats.
11425
11426 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11427
11428         * gettext.C: include LString.h even when --disable-nls is on.
11429
11430 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11431
11432         * converter.h (Get): changed argument type from int to
11433         FormatList::size_type to avoid unnecessary conversion.
11434
11435         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11436         before using it.
11437
11438 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11439
11440         * gettext.h: include LString.h even when --disable-nls is on.
11441
11442 2001-06-07  Juergen Vigna  <jug@sad.it>
11443
11444         * text.C (BreakAgain): subst spaces with tabs.
11445
11446         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11447         (resizeInsetsLyXText): set force on resizeLyXText.
11448
11449 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11450
11451         * gettext.h (gettext_init):
11452         (locale_init): use a real definition instead of a macro
11453
11454 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * Bufferview_pimpl.C:
11457         * LColor.h:
11458         * LColor.C: further lcolor tidies
11459
11460 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11461
11462         * BufferView_pimpl.C (updateScrollbar): simplify.
11463
11464         * BufferView2.C: don't include insets/insetinfo.h, change
11465         prototype for insertInset and call the Pimpl version. let
11466         updateInset call Pimpl version.
11467
11468         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11469         gotoInset to BufferView::Pimpl
11470
11471 2001-06-01  Juergen Vigna  <jug@sad.it>
11472
11473         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11474         inside a LockingInset (is the update needed at all?).
11475
11476 2001-05-31  Juergen Vigna  <jug@sad.it>
11477
11478         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11479         here not the old one otherwise how should we compare it afterwards
11480         if it's the same!
11481
11482 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11483
11484         * lyxfont.C:
11485         * tabular.C:
11486         * tabular-old.C:
11487         * FontInfo.C: bring C functions into global namespace when
11488         necessary
11489
11490 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11491
11492         * LString.h: make sure config.h has been loaded before LString.h.
11493
11494         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11495         (one for each char read by EatLine!).
11496
11497         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11498         variables.
11499
11500 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11501
11502         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11503         to the same as the par we break from
11504
11505 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11506
11507         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11508
11509         * MenuBackend.C (expand): also create menu entries for wide
11510         versions of the floats.
11511
11512         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11513
11514         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11515
11516         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11517         frontends/Makefile.am
11518
11519         * text2.C: adjust
11520         * text.C: adjust
11521
11522
11523         * tabular.C (getTokenValue): add std::
11524
11525         * tabular-old.C (getTokenValue): add std::
11526         (getTokenValue): ditto
11527         (getTokenValue): ditto
11528
11529         * screen.C (ToggleSelection): adjust
11530
11531         * lyxtext.h: put selection cursors inside a Selection struct.
11532
11533         * lyxfunc.C (moveCursorUpdate): adjust
11534
11535         * lyxfont.C (latexWriteStartChanges): add std::
11536
11537         * lyxfind.C: adjust
11538
11539         * font.h: delete with(char const *, LyXFont const &)
11540
11541         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11542
11543         * FontInfo.C (getFontname): add std::
11544
11545         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11546         (workAreaButtonPress): adjust
11547         (tripleClick): adjust
11548         (update): adjust
11549         (moveCursorUpdate): adjust
11550         (Dispatch): adjust
11551
11552         * BufferView2.C (gotoInset): adjust
11553
11554 2001-05-30  Juergen Vigna  <jug@sad.it>
11555
11556         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11557         to check pspell I add this as default as I now have new pspell
11558         libraries and they seem to use this.
11559
11560 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11561
11562         * text2.C (CutSelection): make the cursor valid before the call to
11563         ClearSelection.
11564
11565 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11566
11567         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11568         relied on 0 terminated strings and other horrors. Bug found due to
11569         the new assert in lyxstring!
11570
11571         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11572         KP_ keys.
11573
11574 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11575
11576         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11577         to latinkeys.bind.
11578
11579         * lyxfunc.C (processKeySym): change method of getting to the
11580         self-insert char.
11581
11582         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11583         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11584         * BufferView_pimpl.[Ch]: here as private methods.
11585
11586 2001-05-28  Juergen Vigna  <jug@sad.it>
11587
11588         * text.C (SetHeightOfRow): added the update() call again as it is
11589         needed to initialize inset dimensions!
11590
11591 2001-05-16  Juergen Vigna  <jug@sad.it>
11592
11593         * text2.C (SetCharFont): Add new function with BufferView * and
11594         bool toggleall parameters for setting insets internal fonts.
11595         (SetFont): Freeze the undo as we may change fonts in Insets and
11596         all this change should be inside only one Undo!
11597
11598         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11599         setting font's in insets as for them we have the SetFont function!
11600
11601 2001-05-15  Juergen Vigna  <jug@sad.it>
11602
11603         * text2.C (ClearSelection): to be sure we REALLY don't have any
11604         selection anymore!
11605
11606         * tabular.C (TeXCellPreamble): fixed the left border problem for
11607         multicolumn cells.
11608
11609 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11610
11611         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11612         dependancy file
11613
11614 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11615
11616         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11617         LFUN_BREAKPARAGRAPH.
11618
11619         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11620         help test to "internal only", similar for LFUN_INSERT_URL
11621
11622         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11623         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11624         auto_region_delete and deadkeys.
11625
11626 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11627
11628         * LColor.h:
11629         * LColor.C: remove some dead entries, tidy a little
11630
11631 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11632
11633         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11634         commented code.
11635         (Dispatch): implement LFUN_ESCAPE
11636
11637         * commandtags.h: add LFUN_ESCAPE
11638
11639         * LyXAction.C (init): add entry for LFUN_ESCAPE
11640
11641         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11642         Remove commented code.
11643         (insertNote): moved here
11644         (open_new_inset): moved here
11645
11646         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11647         BufferView_pimpl
11648
11649 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11650
11651         * kbmap.C (findbinding): clean it up and make it work correctly.
11652
11653         * lyx_main.C (init): do not pass argc and argv as parameters
11654
11655 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11656
11657         * buffer.C: fix path for OS/2 & Win32
11658
11659         * lyx_gui.C:
11660         * lyx_main:
11661         * lyx_main.C: Added os:: class.
11662
11663         * os2_defines.h: update
11664
11665 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11666
11667         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11668         better by trying again with reduced state.
11669
11670 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11671
11672         * lyxrc.C (read): print error about invalid key sequence only when
11673         debugging (because not all latinX keysyms are known to some X
11674         servers)
11675
11676         * kbsequence.C (getiso): add a few std:: qualifiers
11677         (getiso): comment out extra return statement.
11678
11679 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11680
11681         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11682         handling.
11683         (Dispatch): enhance the accent inset a bit. (not perfect)
11684
11685 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11686
11687         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11688
11689 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11690
11691         * bufferlist.C (emergencyWrite): fix assert() call
11692
11693 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11694
11695         * text.C (InsertChar): Added trivial patch to only send the "you
11696         can not do multiple spaces this way" message once during a
11697         session.
11698
11699 2001-05-08  Baruch Even  <baruch@lyx.org>
11700
11701         * Makefile.am: Changed order of libraries to get LyX to link properly
11702         with the gnome frontend.
11703
11704 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11705
11706         * LaTeXFeatures.h: add a std:: qualifier
11707
11708 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11709
11710         * paragraph.C (String): use stringstream
11711
11712 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11713
11714         * paragraph.C (writeFile): remove footflag arg
11715
11716         * buffer.C (makeLaTeXFile): use stringstream
11717         (latexParagraphs): remove footnot gurba
11718
11719         * LaTeXFeatures.C (getPackages): use stringstream
11720         (getMacros): likewise
11721         (getTClassPreamble): likewise
11722         (getFloatDefinitions): new method
11723
11724         * paragraph.C (writeFile): reindent
11725         (Erase): reindent
11726
11727         * WorkArea.h: revert the xpos + etc changes.
11728
11729         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11730
11731         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11732
11733         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11734         (pasteSelection): likewise
11735         * text2.C (CreateUndo): likewise
11736
11737 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11738
11739         * minibuffer.C (peek_event): temporarily reduce the functionality
11740         of the minibuffer (to allow args on lfuns)
11741
11742         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11743         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11744
11745         * buffer.C (readInset): add compability reading of old float
11746         lists, add reading of new style float list.
11747         (readInset): avoid reevaluation of inscmd.getCmdName()
11748         (getLists): reindent
11749
11750         * MenuBackend.C (MenuItem): implement parsing of
11751         md_floatlistinsert and md_floatinsert.
11752         (expand::LastFiles): move initalizaton of iterators out of loop,
11753         avoid reevaluation.
11754         (expand::Documents): introduce typdedef vector<string> Strings,
11755         and use it.
11756         (expand::ExportFormats): introduce typedef vector<Format const *>
11757         Formats, and use it.
11758         (expand): implement FloatListInsert and FloatInsert.
11759
11760         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11761         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11762         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11763
11764         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11765         handling.
11766         (Dispatch::LFUN_FLOAT_LIST): implement
11767
11768 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11769
11770         * LaTeX.C (run): Fix problem with --export code.
11771
11772 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11773
11774         * BufferView.[Ch] (workarea): removed.
11775         (getClipboard) new method; wrapper for workarea()->getClipboard()
11776
11777         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11778         bug.
11779
11780         * WorkArea.h (width, height, xpos, ypos): These methods all
11781         returned the dimensions of the work_area sub-area of WorkArea,
11782         resulting in a position error if the WorkArea were resized. Now
11783         return the dimensions of the entire WorkArea.
11784
11785         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11786
11787 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11788
11789         * LaTeX.C (deplog): correct the syntax of regex reg1
11790
11791 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11792
11793         * undo.C: remove !NEW_INSETS cruft
11794
11795 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11796
11797         * text2.C: remove !NEW_INSETS cruft
11798
11799         * text.C: remove !NEW_INSETS cruft
11800
11801         * tabular.C: remove !NEW_INSETS cruft
11802
11803         * spellchecker.C: remove !NEW_INSETS cruft
11804
11805         * lyxtext.h: remove !NEW_INSETS cruft
11806
11807         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11808
11809         * lyxfunc.C: remove !NEW_INSETS cruft
11810
11811         * lyxfind.C: remove !NEW_INSETS cruft
11812
11813         * lyx_cb.C: remove !NEW_INSETS cruft
11814
11815         * figureForm.C: remove  !NEW_INSETS cruft
11816
11817         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11818
11819         * buffer.[Ch]: remove !NEW_INSETS cruft
11820
11821         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11822
11823         * CutAndPaste.C: remove !NEW_INSETS cruft
11824
11825         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11826
11827         * BufferView2.C: remove !NEW_INSETS cruft
11828
11829         * BufferView.h: remove !NEW_INSETS cruft
11830
11831 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11832
11833         * Lsstream.h: include LString.h before the sstream headers to
11834         fix problem with gcc 2.95.3 and lyxstring
11835
11836 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11837
11838         * lyx_main.C: add using directives when needed for C functions
11839         declared in std:: namespace.
11840
11841 2001-04-27  Juergen Vigna  <jug@sad.it>
11842
11843         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11844         (SetHeightOfRow): comment out the update call should not be needed!
11845
11846 2001-04-13  Juergen Vigna  <jug@sad.it>
11847
11848         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11849         (LyXTabular): tried to minimize operator= operations (and realized
11850         hopfully Lars wish).
11851
11852 2001-04-27  Juergen Vigna  <jug@sad.it>
11853
11854         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11855
11856 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11857
11858         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11859
11860         * buffer.C (readInset): hack to make listof algorithm work
11861
11862         * BufferView_pimpl.C: hack to make listof algorithm work
11863
11864 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11865
11866         * LyXAction.C: removed all !NEW_INSETS cruft
11867         (init): moved lfun_item in method
11868
11869         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11870
11871 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11872
11873         * BufferView2.C (theLockingInset): white space.
11874
11875 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11876
11877         * minibuffer.C: include <iostream>
11878
11879         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11880
11881         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11882
11883         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11884
11885         * text.[Ch] (TransposeChars): new method
11886
11887 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * call message directly through LyXView instead of through LyXFunc
11890         * BufferView2.C: adjust
11891         * BufferView_pimpl.C: adjust
11892         * FontLoader.C: adjust
11893         * buffer.C: adjust
11894         * bufferview_funcs.C: adjust
11895         * converter.C: adjust
11896         * figureForm.C: adjust
11897         * importer.C: adjust
11898         * lyx_cb.C: adjust
11899         * lyx_gui_misc.C: adjust
11900         * lyxfunc.C: adjust
11901         * lyxvc.C: adjust
11902         * text2.C: adjust
11903         + more files in subdirs
11904
11905         * lyxparagraph.h (size): move up int file
11906         (GetLayout): ditto
11907
11908         * adjust all uses of Assert to lyx::Assert.
11909
11910         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11911         lyxfunctional in namespace lyx
11912         * layout.C (hasLayout): ditto
11913         (GetLayout): ditto
11914         (GetLayout): ditto
11915         (delete_layout): ditto
11916         (NumberOfClass): ditto
11917         * converter.C (GetFormat): ditto
11918         (GetNumber): ditto
11919         (Add): ditto
11920         (Delete): ditto
11921         (SetViewer): ditto
11922         * bufferlist.C (getFileNames): ditto
11923         (emergencyWriteAll): ditto
11924         (exists): ditto
11925         (getBuffer): ditto
11926         * MenuBackend.C (hasSubmenu): ditto
11927         (hasMenu): ditto
11928         (getMenu): ditto
11929         * BufferView_pimpl.C (getInsetByCode): ditto
11930
11931 2001-04-18  Juergen Vigna  <jug@sad.it>
11932
11933         * vspace.C (asLatexString): fixed the 100% problem.
11934
11935 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11936
11937         * lyxfunc.C (Dispatch):
11938         * minibuffer.C:
11939         * minibuffer.h: add a few std:: qualifiers
11940
11941 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11942
11943         * minibuffer.[Ch]: reimplement so that commands is initiated and
11944         run from lyxfunc, simplified som handling, and made the completion
11945         and history code for complete. wip.
11946
11947         * lyxfunc.C (processKeySym): call message
11948         (miniDispatch): new temporary method
11949         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11950         (LFUN_MESSAGE): implement
11951         (LFUN_MESSAGE_PUSH): implement
11952         (LFUN_MESSAGE_POP): implement
11953         (initMiniBuffer): the initial/defualt minibuffer message.
11954
11955         * lyxfont.[Ch]: inline some more getters
11956
11957         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11958
11959         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11960
11961         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11962         (AutoSave): use LFUN_MESSAGE
11963         (Reconfigure): ditto
11964
11965         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11966
11967         * figureForm.C: use LFUN_MESSAGE
11968
11969         * converter.C (runLaTeX): use LFUN_MESSAGE
11970
11971         * bufferview_funcs.C: use LFUN_MESSAGE
11972         (Melt): ditto
11973         (changeDepth): ditto
11974
11975         * bufferparams.h: use boost::
11976
11977         * bufferlist.h: inherit privately from noncopyable
11978
11979         * bufferlist.C (loadLyXFile): remove some commented code.
11980
11981         * buffer.C (runChktex): use LFUN_MESSAGE
11982
11983         * ShareContainer.h: inherit privately from noncopyable
11984
11985         * ParagraphParameters.[hC] (depth): inline it.
11986
11987         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11988         methods.
11989         (message): new method
11990         (messagePush): ditto
11991         (messagePop): ditto
11992         (show): init minibuffer
11993         (showState): direct call
11994
11995         * LaTeX.[Ch]: inherit privately from noncopyable
11996         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11997         instead of WriteStatus.
11998
11999         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12000
12001         * BufferView_pimpl.C (buffer): don't init minibuffer
12002         (workAreaButtonPress): use LFUN_MESSAGE
12003         (workAreaButtonRelease): ditto
12004         (savePosition): ditto
12005         (restorePosition): ditto
12006         (MenuInsertLyXFile): ditto
12007         (workAreaExpose): don't init minibuffer
12008         (update): remove commented code, simplify
12009
12010         * BufferView2.C (openStuff): use LFUN_MESSAGE
12011         (toggleFloat): ditto
12012         (menuUndo): ditto
12013         (menuRedo): ditto
12014         (copyEnvironment): ditto
12015         (pasteEnvironment): ditto
12016         (copy): ditto
12017         (cut): ditto
12018         (paste): ditto
12019         (gotoInset): ditto
12020         (updateInset): remove some commented code
12021
12022         * lastfiles.h: inherit privately from noncopyable
12023         * layout.h: ditto
12024         * lyx_gui.h: ditto
12025         * lyx_main.h: ditto
12026         * lyxlex.h: ditto
12027         * lyxlex_pimpl.h: ditto
12028
12029         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12030         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12031         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12032
12033         * LyXAction.h: inherit privately from noncopyable, add methods
12034         func_begin, func_end, returning iterators to the func map.
12035
12036         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12037         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12038         (func_begin): new method
12039         (func_end): new method
12040
12041         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12042         and not)
12043         (copySelection): ditto
12044         (pasteSelection): ditto
12045
12046         * BufferView.C: whitespace change
12047         * BufferView.h: inherit privately from noncopyable
12048
12049 2001-04-16  Allan Rae  <rae@lyx.org>
12050
12051         * tabular-old.C (l_getline):
12052         * spellchecker.C (sc_check_word):
12053         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12054         an unrecognised preprocessor directive.  So ensure they're wrapped.
12055
12056 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12057
12058         * src/exporter.C (Export): Give an error message when path to file
12059         contains spaces.
12060
12061 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12062
12063         * LaTeX.C (deplog): Always check that foundfile exists.
12064
12065 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12066
12067         * lyx_main.h:
12068         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12069
12070 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12071
12072         * tabular.[Ch] (getLabelList): implement new method
12073
12074         * minibuffer.h: comment ouf setTiimer
12075
12076         * minibuffer.C (ExecutingCB): constify res
12077         (peek_event): constify s
12078         (Set): constify ntext
12079         (Init): constify nicename
12080
12081         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12082
12083         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12084         (savePosition): use two params to Minibuffer::Set
12085         (restorePosition): ditto
12086
12087 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12088
12089         * lyx_main.C: include language.h
12090
12091         * Makefile.am (lyx_main.o): add language.h
12092
12093 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12094
12095         * exporter.C:
12096         * paragraph.C:
12097         * screen.C:
12098         * tabular.C:
12099         * CutAndPaste.C: include gettext.h
12100
12101         * lyxfont.h: remove old hack with ON and OFF.
12102
12103         * lyxparagraph.h:
12104         * lyxfont.h: do not include language.h...
12105
12106         * BufferView2.C:
12107         * LaTeXFeatures.C:
12108         * Painter.C:
12109         * bufferview_funcs.C:
12110         * font.C:
12111         * lyxfont.C:
12112         * text.C:
12113         * text2.C:
12114         * trans_mgr.C:
12115         * paragraph.C: ... but do it here instead
12116
12117 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12118
12119         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12120
12121         * tabular.C: small reformat
12122
12123         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12124         NEW_INSETS version
12125         (GetChar): ditto
12126         (BreakParagraph): ditto
12127         (SetOnlyLayout): ditto
12128         (SetLayout): ditto
12129
12130         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12131         with one arg less.
12132
12133         * lastfiles.C: removed most using decl, add std:: where needed
12134
12135         * buffer.C: ws changes
12136
12137         * MenuBackend.C (class compare_format): put into anon namespace
12138         (expand): constify label, names, action, action2
12139         (expand):
12140
12141         * text.C (SingleWidth): constify font
12142         (IsBoundary): constify rtl2
12143         (GetVisibleRow): constify ww
12144
12145         * LaTeX.C (deplog): constify logfile
12146
12147         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12148         start_x, end_x
12149         (workAreaExpose): constify widthChange, heightChange
12150
12151         * lyxrow.C (par): moved
12152         (height): moved
12153         (next): moved
12154         * lyxrow.h: as inlines here
12155
12156         * lyxfont.h (shape): moved from lyxfont.C
12157         (emph): moved from lyxfont.C
12158
12159         * lyxfont.C (LyXFont): use initialization list for all
12160         constructors
12161         (shape): move to lyxfont.h as inline
12162         (emph): move to lyxfont.h as inline
12163
12164
12165 2001-04-04  Juergen Vigna  <jug@sad.it>
12166
12167         * vspace.C: had to include stdio.h for use of sscanf
12168
12169 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12170
12171         * BufferView.h:
12172         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12173         independent of xforms.
12174
12175 2001-04-02  Juergen Vigna  <jug@sad.it>
12176
12177         * spellchecker.C: fixed namespace placing!
12178
12179 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12180
12181         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12182         the LyXParagraph * is 0.
12183
12184 2001-03-29  Juergen Vigna  <jug@sad.it>
12185
12186         * vspace.C: added support for %, c%, p%, l%.
12187         (stringFromUnit): added helper function.
12188         (asLatexString): changed to give right results for the %-values.
12189
12190         * buffer.C: convert the widthp in a width%.
12191
12192 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12193
12194         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12195         figureForm.[Ch].
12196
12197         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12198         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12199
12200         * lyx_cb.[Ch]: see above.
12201
12202         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12203         form1.[Ch].
12204
12205         * form1.[Ch]:
12206         * lyx.[Ch]: replaced by figure_form.[Ch].
12207
12208         * lyx_gui.C:
12209         * lyx_gui_misc.C:
12210         * lyxfunc.C: changed headers associated with above changes.
12211
12212 2001-03-27  Juergen Vigna  <jug@sad.it>
12213
12214         * BufferView_pimpl.C: set the temporary cursor right!
12215
12216 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12217
12218         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12219
12220 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12221
12222         * LString.h: removed "using std::getline"!
12223
12224         * BufferView_pimpl.C (Dispatch): changes due to changes in
12225         InsetInclude::Params.
12226
12227         * buffer.C (tag_name): removed redundant break statements as they were
12228         producing lots of warnings with my compiler.
12229
12230 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12231
12232         * LString.h: add "using std::getline" when using the real <string>.
12233
12234 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12235
12236         * buffer.C: removed bitset usage.
12237         PAR_TAG moved to an anonymous name space.
12238         (tag_name): new funtion, also in the anonymous namespace.
12239         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12240         (makeDocBookFile): clean code. Completed transition from string arrays
12241         to string vectors.
12242         (SimpleDocBookOnePar): code clean.
12243
12244 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12245
12246         * tabular.C: add some comments.
12247
12248 2001-03-22  Juergen Vigna  <jug@sad.it>
12249
12250         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12251         compatibility read a bit and fixed bug with minipage in different
12252         depth.
12253
12254 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12255
12256         * buffer.C (pop_tag): removed.
12257         (push_tag): removed.
12258         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12259         array replaced with vector. Added support for CDATA sections.
12260         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12261         at any nest level.
12262         (makeDocBookFile): XML conformant declaration of CDATA section,
12263         fixed bug related to <emphasis> in the first paragraph char.
12264         (sgmlOpenTag): exclude empty tags.
12265         (sgmlCloseTag): ditto.
12266
12267         * buffer.h (pop_tag): removed.
12268         (push_tag): removed.
12269
12270 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12271
12272         * language.h (Languages): added size_type and size().
12273
12274 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12275
12276         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12277         response on compability reading of minipages. One probliem is that
12278         the old usage of minipages was «flertydig»
12279
12280         * several files here and in subdirs: don't use static at file
12281         scope use anon namespaces instead.
12282
12283 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12284
12285         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12286         LaTeX output. This is necessary for Literate document
12287         processing.
12288
12289 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12290
12291         * buffer.C: insert hfill when needed.
12292
12293         * tabular.C (l_getline): use string::erase, small whitespace change.
12294
12295         * BufferView_pimpl.C: try the anon namespace.
12296         * WorkArea.C: ditto
12297
12298 2001-03-16  Juergen Vigna  <jug@sad.it>
12299
12300         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12301         otherwise it won't open options-dialogs.
12302
12303         * buffer.C: honor pextraWidth(p) on converting minipages.
12304
12305         * tabular.C (l_getline): changed the functions to strip trailing \r.
12306
12307 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12308
12309         * BufferView_pimpl.C:
12310         * minibuffer..C: added "using SigC::slot" declaration.
12311
12312 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12313
12314         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12315
12316         * text2.C: ditto
12317
12318         * text.C: ditto
12319
12320         * paragraph.C: ditto
12321
12322         * lyxtext.h: NO_PEXTRA
12323
12324         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12325
12326         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12327         * ParameterStruct.h: ditto
12328         * ParagraphParameters.h: ditto
12329         * lyxparagraph.h: ditto
12330
12331 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12332
12333         * buffer.C: add compability for minipage alignment.
12334         (latexParagraphs): remove unwanted pextra check.
12335
12336         * several files: remove CXX_WORKING_NAMESPACES
12337
12338         * buffer.C (pop_tag): tie is in namespace boost
12339
12340         * BufferView.h: noncopyable is in namespace boost
12341         * lyxlex.h: ditto
12342         * lyx_main.h: ditto
12343         * lyx_gui.h: ditto
12344         * layout.h: ditto
12345         * lastfiles.h: ditto
12346         * bufferlist.h: ditto
12347         * ShareContainer.h: ditto
12348         * LyXView.h: ditto
12349         * LyXAction.h: ditto
12350         * LaTeX.h: ditto
12351
12352 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12353
12354         * Merging changes from BRANCH_MVC back into HEAD.
12355
12356         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12357
12358 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12359
12360         * BufferView_pimpl.C: change from intl.C
12361
12362         * combox.h:
12363         * combox.C:
12364         * Makefile.am: move combox.*
12365
12366         * form1.h:
12367         * form1.C:
12368         * lyx_gui.C:
12369         * intl.h:
12370         * intl.C: remove dialog (covered by prefs)
12371
12372 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12373
12374         * lyxfunc.C (Dispatch): removed redundant break statement.
12375
12376 2001-03-14  Juergen Vigna  <jug@sad.it>
12377
12378         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12379
12380 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12381
12382         * buffer.C: add hack to fix compability reading of minipages.
12383
12384 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12385
12386         * buffer.C (getLists): Cleanup.
12387
12388 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12389
12390         * lyxfont.C (update): don't honor toggleall on font size.
12391
12392 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12393
12394         * bmtable.c:
12395         * bmtable.h:
12396         * Makefile.am: moved to frontends/xforms/
12397
12398         * lyx_gui_misc.C:
12399         * lyxfunc.C:
12400         * BufferView_pimpl.C: changes for moved mathpanel
12401
12402 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12403
12404         * gettext.h: fix gettext_init() in --disable-nls
12405
12406 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12407
12408         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12409
12410 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12411
12412         * lyx.C:
12413         * lyx.h: strip external form
12414
12415 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * BufferView_pimpl.C: add comment, destroySplash()
12418
12419 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12420
12421         * BufferView_pimpl.C:
12422         * LyXAction.C:
12423         * buffer.C:
12424         * commandtags.h:
12425         * lyxfunc.C: use re-worked insetinclude
12426
12427 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12428
12429         * buffer.C: add using std::stringstream.
12430
12431         * lyx_cb.C: readd using std::ios.
12432
12433         * buffer.C: add using std::map.
12434
12435         * BufferView_pimpl.C: add using std::vector.
12436
12437         * ShareContainer.h: add std:: to swap.
12438
12439         * buffer.h: add some typedefs
12440         * buffer.C (getLists): use them
12441         (getLists): renamed from getTocList.
12442         add a counter for the different float types and use it in the
12443         generated string.
12444         (getLists): use the same counter for the NEW_INSETS and the "non"
12445         NEW_INSETS
12446
12447         * lyx_cb.h: remove unused items, includes, using etc.
12448
12449         * ShareContainer.h: remove some commented code, add more comments
12450         and "documentation".
12451
12452 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12453
12454         * buffer.C (getTocList): make the list also when NEW_INSETS is
12455         defined.
12456
12457         * buffer.h: remove TocType
12458
12459         * buffer.C (getTocList): change to return a map<string,
12460         vector<TocItem> >, implement for dynamic number of list.
12461
12462         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12463         * text2.C (PasteSelection): adjust
12464         * CutAndPaste.C (pasteSelection): adjust
12465
12466         * FloatList.C (FloatList): update from the new_insets branch.
12467         * Floating.[Ch]: ditto
12468         * LaTeXFeatures.C: ditto
12469         * buffer.C: ditto
12470         * lyxlex_pimpl.C: ditto
12471
12472         * paragraph.C (Last): remove when NEW_INSETS is defined.
12473
12474         * other file: changes because of the above.
12475
12476 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12477
12478         * lyxparagraph.h: rename next to next_, previous to previous_,
12479         make them private for NEW_INSETS. Rename Next() to next(),
12480         Previous() to previous().
12481
12482         * other files: changes because of the above.
12483
12484 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12485
12486         * BufferView.h:
12487         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12488         problem.
12489
12490 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12491
12492         * main.C (main): pass lyx_localedir to gettext_init().
12493
12494         * gettext.h: remove locale_init and gettext_init macros
12495
12496         * gettext.C (locale_init): new function
12497         (gettext_init): new function
12498
12499         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12500         setlocale().
12501
12502 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12503
12504         * Moved credits to frontends:
12505         * credits.[Ch]: removed
12506         * credits_form.[Ch]: removed
12507         * lyx_gui_misc.C: remove credits stuff
12508         * Makefile.am:
12509
12510 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12511
12512         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12513
12514         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12515         unneeded destructor.
12516
12517         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12518         a standalone pointer again.
12519
12520         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12521
12522 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * Makefile.am:
12525         * filedlg.h:
12526         * filedlg.C:
12527         * LyXAction.C:
12528         * ToolbarDefaults.C:
12529         * bufferlist.C:
12530         * commandtags.h:
12531         * form1.C:
12532         * form1.h:
12533         * lyx_cb.C:
12534         * lyx_cb.h:
12535         * lyxfunc.h:
12536         * lyxfunc.C:
12537         * BufferView_pimpl.C: use new file dialog in GUII
12538
12539         * lyx_cb.h:
12540         * lyx_cb.C: remove LayoutsCB to Toolbar
12541
12542 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12543
12544         * ShareContainer.h (get): add std:: qualifier
12545
12546 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12547
12548         * ShareContainer.h: define a proper ShareContainer::value_type
12549         type (and use typename to please compaq cxx)
12550
12551 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12552
12553         * lyxparagraph.h: move serveral local vars to
12554         ParameterStruct/ParagraphParameters., use ShareContainer in
12555         FontTable., make vars in FontTable private and add getter and
12556         setter.
12557
12558         * paragraph.C: changes because of the above.
12559
12560         * lyxfont.h: remove copy constructor and copy assignment. (the
12561         default ones is ok), move number inside FontBits. move inlines to
12562         lyxfont.C
12563
12564         * lyxfont.C: add number to initializaton of statics, move several
12565         inlines here. constify several local vars. some whitespace
12566         cleanup. Dont hide outerscope variables.
12567
12568         * Spacing.h: add two new constructors to match the set methods.
12569
12570         * ShareContainer.h: new file, will perhaps be moved to support
12571
12572         * ParameterStruct.h: new file
12573
12574         * ParagraphParameters.h: new file
12575
12576         * ParagraphParameters.C: new file
12577
12578         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12579         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12580
12581         * BufferView_pimpl.C: ParagraphParameter changes.
12582         * buffer.C: Likewise.
12583         * bufferview_funcs.C: Likewise.
12584         * text.C: Likewise.
12585         * text2.C: Likewise.
12586
12587 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12588
12589         * lyxfind.C (LyXReplace): do not redefine default argument in
12590         implementation.
12591         (IsStringInText): ditto
12592         (SearchForward): ditto
12593         (SearchBackward): ditto
12594
12595 2001-03-06  Juergen Vigna  <jug@sad.it>
12596
12597         * lyxfind.C (IsStringInText): put parentes around expressions.
12598
12599 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12600
12601         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12602
12603 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12604
12605         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12606
12607         * stl_string_fwd.h: add comment
12608
12609         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12610
12611         * tabular.h:
12612         * tabular.C: remove unused DocBook methods
12613
12614         * intl.C:
12615         * language.C:
12616         * paragraph.C:
12617         * buffer.C:
12618         killed DO_USE_DEFAULT_LANGUAGE
12619
12620 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12621
12622         * lyx_gui.C: do not include language.h.
12623
12624         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12625         arguments in function implementation.
12626
12627 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12628
12629         * BufferView_pimpl.C: add <ctime>
12630
12631 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12632
12633         * BufferView_pimpl.C: add using std::find_if
12634
12635 2001-02-27  José Matos  <jamatos@fep.up.pt>
12636
12637         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12638         by OnlyPath.
12639
12640 2001-02-11  José Matos  <jamatos@fep.up.pt>
12641
12642         * buffer.C (makeDocBookFile): command styles now have a parameter as
12643         "title" by default.
12644
12645 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12646
12647         * layout_forms.[Ch]: removed
12648         * lyx_cb.[Ch]: out character
12649         * lyx_gui.C: out character
12650         * lyx_gui_misc.C: out character
12651         * bufferview_funcs.C: : out character,
12652         added toggleall as parameter in ToggleAndShow
12653
12654 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12655
12656         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12657
12658         * text2.C (SetCurrentFont): Disable number property at boundary.
12659
12660 2001-02-26  Juergen Vigna  <jug@sad.it>
12661
12662         * lyxfunc.C (getStatus): added a string argument override function so
12663         that this is correctly called from LyXFunc::Dispatch if it contains a
12664         do_not_use_argument which is used!
12665         (Dispatch): added check for "custom" export and call appropriate func.
12666
12667 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12668
12669         * lyxrc.C: Add language_command_local, language_use_babel and
12670         language_global_options.
12671
12672         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12673
12674         * buffer.C (makeLaTeXFile): Use language_use_babel and
12675         language_global_options.
12676
12677 2001-02-23  Juergen Vigna  <jug@sad.it>
12678
12679         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12680         which works with LyXText and putted it inside BufferView. Here now we
12681         only call for that part the BufferView::Dispatch() function.
12682
12683         * BufferView.C (Dispatch): added.
12684
12685         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12686         functions which needs to use a LyXText over from LyXFunc.
12687         (MenuInsertLyXFile): added
12688         (getInsetByCode): added
12689         (moveCursorUpdate): added
12690         (static TEXT): added
12691
12692 2001-02-22  Juergen Vigna  <jug@sad.it>
12693
12694         * BufferView_pimpl.C (update): call a status update to see if LyXText
12695         needs it.
12696
12697 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12698
12699         * vc-backend.C (revert): implement for CVS
12700         (getLog): implement for CVS
12701
12702 2001-02-20  Juergen Vigna  <jug@sad.it>
12703
12704         * text2.C (ClearSelection): added BufferView param for inset_owner call
12705
12706         * lyxfunc.C (TEXT): added this function and use it instead of
12707         directly owner->view()-text of getLyXText().
12708
12709 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12710
12711         * src/layout_forms.C: out preamble
12712         * src/layout_forms.h: out preamble
12713         * src/lyx_cb.C: out preamble
12714         * src/lyx_cb.h: out preamble
12715         * src/lyx_gui.C: out preamble
12716         * src/lyx_gui_misc.C: out preamble
12717         * src/lyxfunc.C: connect with guii preamble
12718
12719 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12720
12721         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12722
12723 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12724
12725         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12726         whether to run bibtex.
12727
12728 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12729
12730         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12731
12732 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12733
12734         * Makefile.am (lyx_SOURCES): removed bibforms.h
12735
12736         * vspace.h: doxygen
12737
12738         * text.C (GetVisibleRow): make several local vars const
12739
12740         * tabular.C: small cleanup.
12741
12742         * lyxserver.C (callback): use compare instead of strncmp
12743
12744         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12745         inlines to after class or to paragraph.C
12746
12747         * lyxfont.h: remove friend operator!=
12748
12749         * converter.h: move friend bool operator< to non friend and after
12750         class def.
12751
12752         * combox.h: small cleanup
12753
12754         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12755         to inlines after class def.
12756
12757         * buffer.C (pop_tag): use string operations instead of strcmp
12758
12759         * bmtable.c: doxygen, small cleanup
12760
12761         * LaTeX.h: remove friend operator==
12762
12763 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12764
12765         * screen.C:
12766         * lyxrc.[Ch]:
12767         * lyxfunc.C:
12768         * lyxfont.[Ch]:
12769         * lyx_cb.C:
12770         * intl.[Ch]:
12771         * commandtags.h:
12772         * buffer.C:
12773         * WorkArea.[Ch]:
12774         * LyXAction.C:
12775         * BufferView_pimpl.C:
12776         * BufferView.[Ch]: remove cruft
12777
12778 2001-02-14  Juergen Vigna  <jug@sad.it>
12779
12780         * lyxfunc.C: removed #if 0 unused code
12781
12782         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12783
12784         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12785
12786         * text2.C (SetSelection): added a BufferView * parameter
12787
12788 2001-02-13  Juergen Vigna  <jug@sad.it>
12789
12790         * lyxfunc.C (Dispatch): fixed protected blank problem.
12791         * BufferView2.C (protectedBlank): added LyxText * parameter.
12792
12793         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12794         (AppendColumn): same as above for column_info.
12795
12796         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12797         (moveCursorUpdate): use a LyXText param for support of InsetText.
12798
12799         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12800         (tripleClick): ditto
12801
12802         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12803
12804         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12805
12806         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12807
12808         * text2.C (SetSelection): set correct update status if inset_owner
12809         (ToggleFree): ditto
12810
12811 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12812
12813         * tabular.C: remove some commented code.
12814
12815 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12816
12817         * BufferView_pimpl.C: call hideSplash()
12818
12819         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12820
12821         * include_form.h:
12822         * bibforms.h: remove
12823
12824         * lyxfunc.C:
12825         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12826           add LFUN_CHILD_CREATE
12827
12828         * counters.h: fix tiny typo
12829
12830         * lyx_cb.C:
12831         * lyx.h:
12832         * lyx_gui.C:
12833         * lyx.C: move splash to frontends/xforms/
12834
12835         * lyx_gui_misc.C: move Include and Bibform to frontends
12836
12837         * lyxvc.h: clarify comment
12838
12839         * vspace.C: tiny housekeeping
12840
12841 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12842
12843         * text.C (PrepareToPrint): RTL Fix.
12844
12845         * paragraph.C (GetUChar): New method.
12846         (String):  Use GetUChar.
12847
12848         * buffer.C (asciiParagraph): Use GetUChar.
12849
12850 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12851
12852         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12853
12854 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12855
12856         * buffer.h:
12857         * buffer.C: rename to getLogName(), handle
12858           build log / latex log nicely
12859
12860 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12861
12862         * MenuBackend.C:
12863         * MenuBackend.h: remove support for reference menuitem type.
12864
12865 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12866
12867         * BufferView_pimpl.C: housekeeping
12868         * BufferView_pimpl.h:
12869         * LyXView.h:
12870         * Makefile.am:
12871         * Timeout.C:
12872         * Timeout.h:
12873         * minibuffer.h: move Timeout GUI-I
12874
12875 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12876
12877         * lyxrc.C (read): Update converters data-structures.
12878
12879 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12880
12881         * LaTeX.h (operator!=): add operator != for Aux_Info
12882
12883 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12884
12885         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12886
12887         * LaTeXLog.C: deleted, useful code moved to Buffer
12888
12889         * buffer.h:
12890         * buffer.C: new function getLatexLogName()
12891
12892         * lyx_gui_misc.C:
12893         * lyx_gui.C:
12894         * lyxvc.C:
12895         * lyxvc.h:
12896         * lyxfunc.C: use frontends for LaTeX and VC logs
12897
12898 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12899
12900         * LaTeX.h: yet another std:: that Allan forgot.
12901
12902         * Variables.C (set): renamed from isset(), because this clashes
12903         with some HP-UX macros (grr).
12904
12905 2001-02-06  Allan Rae  <rae@lyx.org>
12906
12907         * LaTeX.h: Another bug fix.  Missing std:: this time.
12908
12909 2001-02-04  Allan Rae  <rae@lyx.org>
12910
12911         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12912         floats problem. I've left it commented out because it's not quite
12913         correct.  It should also test that the current object is a table or
12914         figure inset.  But I haven't gotten around to figuring out how to do
12915         that.  I *think* it'll be something like: "table" == inset.type()
12916
12917         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12918         bool.
12919
12920 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12921
12922         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12923         all the citation/databases/styles in the auxilary file.
12924         (run): Rerun latex if there was a babel language error.
12925
12926 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12927
12928         * text.C (Backspace): Preserve the font when changing newline char
12929         with a space.
12930         (BreakParagraph): If the cursor is before a space, delete the space.
12931
12932         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12933
12934 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12935
12936         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12937         new argument (code).
12938         (ChangeCitationsIfUnique): New method.
12939
12940         * paragraph.C (GetPositionOfInset): Handle bibkey.
12941
12942 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12943
12944         * BufferView_pimpl.h: change type of Position::par_pos to
12945         LyXParagraph::size_type.
12946
12947 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12948
12949         * BufferView_pimpl.C (savePosition, restorePosition): Write
12950         messages to minibuffer.
12951
12952 2001-01-28  José Matos  <jamatos@fep.up.pt>
12953
12954         * buffer.C (makeDocBookFile): adds support for document language.
12955         A silly restriction on the name of LatexCommand types where removed.
12956         Added support for CDATA sections, allows to chars unescaped, used
12957         among others in code, to avoid escape < and >.
12958
12959 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12960
12961         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12962         saved positions instrad of a stack. Furthermore, a position is
12963         stored using paragraph id/paragraph position.
12964
12965         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12966         Remove LFUN_REF_BACK.
12967
12968 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12969
12970         * converter.C (dvipdfm_options): New method.
12971
12972 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12973
12974         * vspace.C (isValidLength): Fix for empty input string.
12975
12976 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12977
12978         * LyXAction.C (init): change description of LFUN_FIGURE to
12979         "Insert Graphics"
12980
12981 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12982
12983         * LaTeX.C: add using directive
12984
12985 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12986
12987         * MenuBackend.C (expand): Fix the sorting of the formats.
12988
12989 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12990
12991         * lyx_main.C: tiny error message fix
12992
12993 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12994
12995         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12996         calling fl_initialize(). This fixes the problem with ',' as
12997         decimal separator in text files.
12998
12999 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13000
13001         * trans.C (process): Fix the keymap bug.
13002
13003 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13004
13005         * LaTeX.C (scanAuxFiles): New method. Provides support for
13006         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13007         (scanLogFile) Scan for "run BibTeX" messages.
13008
13009         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13010         OT1 font encoding. Also, load the aecompl package if the ae
13011         package is loaded.
13012
13013         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13014
13015 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13016
13017         * texrow.C (increasePos): turn two error messages into debug
13018         messages.
13019
13020 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13021
13022         * LaTeX.C (scanAux): Handle the \@input macro.
13023         (runBibTeX): Use scanAux().
13024
13025         * language.C (latex_options_): New field.
13026
13027         * LaTeXFeatures.C (getMacros): Add language macros.
13028
13029         * buffer.C (makeLaTeXFile): Small fix.
13030
13031 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13032
13033         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13034
13035         * text2.C: add a using directive.
13036
13037 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13038
13039         * BufferView2.C:
13040         * lyx_gui_misc.h:
13041         * lyxfr1.C:
13042         * lyxfunc.C: kill LyXBell.
13043
13044 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13045
13046         * text.C (IsBoundary): Remove the error message
13047
13048         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13049
13050         * lyxrc.C (setDefaults): Correct initialization value for
13051         font_norm_type.
13052
13053 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13054
13055         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13056         gotoError().
13057
13058         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13059         and GotoNextNote().
13060
13061         * src/LyXAction.C: Added reference-next.
13062
13063         * text.C (InsertChar): Use contains instead of strchr.
13064
13065         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13066
13067 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13068
13069         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13070         alignment commands (when needed).
13071
13072         * text.C (InsertChar): Add ':' to number separator chars.