]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Forgotten ChangeLogs, whitespace and some unnecessary namespace stuff removed
[lyx.git] / src / ChangeLog
1 2003-10-07  Angus Leeming  <leeming@lyx.org>
2
3         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4
5 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6
7         * aspell.C:
8         * aspell_local.h: add forgotten std::string's.
9
10 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
11
12         * LaTeXFeatures.C:
13         * LyXAction.C:
14         * factory.C:
15         * lfuns.h:
16         * lyxfunc.C:
17         * text3.C: The Box patch. Fancybox support, minipage, parbox
18
19 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
20
21         * CutAndPaste.h:
22         * DepTable.h:
23         * FloatList.h:
24         * LaTeXFeatures.h:
25         * ParagraphParameters.h:
26         * TextCache.h:
27         * Thesaurus.h:
28         * bufferlist.h:
29         * exporter.h:
30         * importer.h:
31         * lastfiles.h:
32         * lyxfind.h:
33         * lyxfont.h:
34         * lyxlex.h:
35         * lyxtextclasslist.h:
36         * messages.h:
37         * paragraph.h:
38         * paragraph_pimpl.C:
39         * textcursor.h: add <string> and other small fixes to make Lars'
40         std::string patch compile with STLport.
41
42 2003-10-06  Angus Leeming  <leeming@lyx.org>
43
44         * LColor.h: Add missing #include <string>.
45
46 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
47
48         * All most all file in all subdirs: Make <string> be the prefered
49         way of getting to std::string, add using declarations.
50
51 2003-10-06  André Pönitz  <poenitz@gmx.net>
52
53         * metricsinfo.C: initialize LyXFont before changing attribute.
54         (fixes the 'math in \emph is upright' bug)
55
56 2003-10-06  André Pönitz  <poenitz@gmx.net>
57
58         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
59
60 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
61
62         * graph.C:
63         * paragraph_pimpl.C: Small fixes to build using STLport
64
65 2003-10-02  André Pönitz  <poenitz@gmx.net>
66
67         * lyxfunc.C:
68         * text3.C: move handling of LFUN_DEPTH *; fix #1360
69
70 2003-10-01  André Pönitz  <poenitz@gmx.net>
71
72         * factory.C: assert early
73
74 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
75
76         * lyx_main.C: remove the global debug object
77
78         * debug.h: adjust for new debugstream
79
80         * debug.C: adjust for new debugstream and keep the global debug
81         object here.
82
83 2003-09-22  Angus Leeming  <leeming@lyx.org>
84
85         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
86         of g++ which otherwise complain that the scoped_ptr destructor can't delete
87         an incomplete class LyXFont.
88
89 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
90
91         * factory.C: bug fix in branches
92
93 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
94
95         * lyxfunc.C (processKeySym): adjust
96         (dispatch): adjust
97         (dispatch): change arg name from ev to func, adjust
98         (sendDispatchMessage): ditto
99
100         * lyx_main.C (defaultKeyBindings): adjust keybindings
101         (deadKeyBindings): ditto
102
103         * kbsequence.C (addkey): return a FuncRequest
104
105         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
106
107         * kbmap.C (bind): take a FuncRequest as arg, adjust
108         (read): adjust
109         (lookup): adjust
110         (defkey): change to take a FuncRequest as arg, adjust
111         (findbinding): take a FuncRequest as arg, adjust.
112
113         * funcrequest.h (operator=): added
114
115         * funcrequest.C (FuncRequest): default kb_action changed from
116         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
117
118         * buffer.C (dispatch): simplify
119         (dispatch): adjust to take a FuncRequest as arg, adjust
120
121         * boost.C (assertion_failed): change assertion message slightly
122
123         * ToolbarBackend.C (read): simplify
124
125         * MenuBackend.C (binding): adjust call to findbinding, add a
126         message if no binding is found.
127         (read): simplify
128         (expandToc): correct by adding a empty FuncRequest
129
130         * LyXAction.C: include <boost/assert.hpp>
131         (isPseudoAction): delete function
132         (LookupFunc): change name to...
133         (lookupFunc): this. change return type to FuncRequest.
134         (getActionName): take kb_action as arg, simplify
135         (funcHasFlag): add an assert, simplify.
136
137 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
138
139         * toc.C (action): return a FuncRequest, simplify
140
141         * lyxfunc.C (processKeySym): adjust
142         (getStatus): delete version that takes an int.
143         (getStatus): adjust
144         (dispatch): delete version that takes action as int
145         (dispatch): adjust
146         (sendDispatchMessage): simplify and adjust
147
148         * funcrequest.C (getArg): take unsigned int as arg
149
150         * ToolbarBackend.C (read): adjust
151         (add): delete version that takes func as a string.
152         (getIton): take a FuncRequest as arg
153
154         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
155         action.
156
157         * MenuBackend.C (MenuItem): add a new construct that only takes a
158         Kind, simplify the constructor use for submenus.
159         (add): adjust
160         (expandLastfiles): adjust
161         (expandDocuments): adjust
162         (expandFormats): adjust
163         (expandFloatListInsert): adjust
164         (expandFloatInsert): adjust
165         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
166
167         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
168         Remove class variables lyx_pseudo_map and lyx_arg_map
169
170         * LyXAction.C (searchActionArg): delete function
171         (getPseudoAction): delete function
172         (retrieveActionArg): delete function
173         (LookupFunc): make it return kb_action, simplify.
174         (getActionName): simplify
175
176         * factory.C (createInset): fix new bug
177
178 2003-09-19  Angus Leeming  <leeming@lyx.org>
179
180         * CutAndPaste.C (pasteSelection): remove fudge used to set the
181         masterFilename_ parameter in the include inset.
182
183         * factory.C (createInset): changes due to the changes to InsetInclude.
184
185 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
186
187         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
188
189 2003-09-18  Angus Leeming  <leeming@lyx.org>
190
191         * buffer.C:
192         * BufferView.C: pass the buffer when calling Inset::getLabelList,
193         Inset::fillWithBibKeys.
194         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
195
196 2003-09-18  Angus Leeming  <leeming@lyx.org>
197
198         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
199         variables.
200         (ctor): pass and store a 'Buffer const &'
201         (buffer): new member function.
202
203         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
204         '*this' to the LaTeXFeatures ctor.
205
206 2003-09-18  Angus Leeming  <leeming@lyx.org>
207
208         * LColor.h:
209         * lyxfont.C:
210         * lyxfont.h:
211         * lyxtext.h:
212         * text.C: rename EnumLColor as LColor_color.
213
214 2003-09-18  Angus Leeming  <leeming@lyx.org>
215
216         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
217         remove #include "insets/insetbase.h" from cursor.h.
218
219 2003-09-18  Angus Leeming  <leeming@lyx.org>
220
221         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
222         InsetOld_code to remove #include "inset.h".
223
224         * iterators.C: add #include "insets/inset.h"
225
226 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
227
228         * BufferView.C: remove more locking stuff that apparently doesn't
229         do anything sensible.
230
231 2003-09-16  André Pönitz  <poenitz@gmx.net>
232
233         * paragraph.[Ch]:
234         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
235           performance boost.
236
237 2003-09-16  Angus Leeming  <leeming@lyx.org>
238
239         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
240
241         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
242         arg/return type.
243
244         * paragraph.h: remove #include "lyxfont.h". Forward declare
245         LyXFont_size.
246
247 2003-09-16  Angus Leeming  <leeming@lyx.org>
248
249         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
250         of support/textutils.h.
251         (isWord): move the contents of support/textutils.h's IsWordChar here.
252
253         * buffer.C:
254         * lyxfind.C:
255         * rowpainter.C:
256         * text.C:
257         * text2.C: add #include "paragraph.h".
258
259         * rowpainter.C:
260         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
261
262 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
263
264         * main.C:
265         * lyx_main.C:
266         * lyx_cb.C:
267         * buffer.C:
268         * LaTeX.C: use namespace alias for lyx::support::os
269
270 2003-09-16  Angus Leeming  <leeming@lyx.org>
271
272         * bufferparams.C:
273         * bufferview_funcs.C:
274         * factory.C:
275         * lyxfunc.C:
276         * paragraph_pimpl.C:
277         * rowpainter.C:
278         * text.C: add #include "LColor.h".
279
280 2003-09-16  Angus Leeming  <leeming@lyx.org>
281
282         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
283         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
284         return LyXFont &.
285         Store the FontBits::color variable as an int rather than as an
286         LColor::colorso that we can move LColor.h out of the lyxfont.h header
287         file.
288
289         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
290         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
291         string calls together.
292
293         * lyxrc.C: add #include "LColor.h".
294
295 2003-09-15  Angus Leeming  <leeming@lyx.org>
296
297         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
298         a cow_ptr.
299
300 2003-09-15  Angus Leeming  <leeming@lyx.org>
301
302         * LColor.h: add an EnumLColor wrapper for LColor::color.
303
304         * lyxfont.[Ch] (color, setColor, realColor):
305         * lyxtext.h, text.C (backgroundColor):
306         pass EnumLColor args to/from the functions, rather than LColor::color
307         ones.
308
309         * lyxfont.h:
310         * lyxtext.h: forward declare EnumLColor.
311
312         * lyx_main.C: add #include "LColor.h".
313
314 2003-09-15  Angus Leeming  <leeming@lyx.org>
315
316         * .cvsignore: add lyx-gtk.
317
318 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
319
320         * Chktex.C
321         * LaTeX.C
322         * LaTeXFeatures.C
323         * ParagraphParameters.C
324         * Spacing.C
325         * buffer.C
326         * bufferparams.C
327         * bufferview_funcs.C
328         * chset.C
329         * counters.C
330         * funcrequest.C
331         * lyxfont.C
332         * lyxgluelength.C
333         * lyxlength.C
334         * paragraph.C
335         * paragraph_funcs.C
336         * text3.C
337         * vc-backend.C: remove usage of STRCONV
338
339 2003-09-15  Angus Leeming  <leeming@lyx.org>
340
341         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
342         explicitly define the color passed to the painter.
343
344 2003-09-15  Angus Leeming  <leeming@lyx.org>
345
346         * bufferparams.C (BufferParams): reorder member initializers to avoid
347         compiler warning.
348
349 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
350
351         * CutAndPaste.C (pasteSelection): remove an outdated #warning
352         * text.C (updateRowPositions): remove an unusual nop
353
354 2003-09-12  André Pönitz  <poenitz@gmx.net>
355
356         * BufferView_pimpl.C:
357         * Bullet.C:
358         * layout.h:
359         * lyxfunc.C:
360         * lyxlayout.[Ch]:
361         * lyxtextclass.C:
362         * rowpainter.C:
363         * text.C:
364         * text2.C:
365         * Counters.[Ch]: finish the 'automatic counters' job
366
367 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
368
369         * aspell.C: include <boost/assert.cpp> (compile fix)
370
371 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
372
373         * boost.C (assertion_failed): use lyx::support::abort instead of
374         assert.
375
376 2003-09-10  Angus Leeming  <leeming@lyx.org>
377
378         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
379         with their _fwd progeny.
380
381 2003-09-09  Angus Leeming  <leeming@lyx.org>
382
383         134 files throughtout the source tree: replace 'using namespace abc;'
384         directives with the appropriate 'using abc::xyz;' declarations.
385
386 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
387
388         * boost.C (emergencyCleanup): moved here from LAssert.c
389         (assertion_failed): new function, called by BOOST_ASSERT
390
391         * several files: change Assert to BOOST_ASSERT
392
393 2003-09-09  Angus Leeming  <leeming@lyx.org>
394
395         * buffer.[Ch]: Add an Impl class and move Buffer's member
396         variables into it. As a result move several header files out of
397         buffer.h.
398
399         Add header files to lots of .C files all over the tree as a result.
400
401 2003-09-09  Angus Leeming  <leeming@lyx.org>
402
403         * buffer.[Ch]: make Buffer's member variables private. Add
404         accessor functions.
405
406         Lots of changes all over the tree as a result.
407
408 2003-09-08  Angus Leeming  <leeming@lyx.org>
409
410         * graph.C: #include <config.h>.
411
412 2003-09-08  Angus Leeming  <leeming@lyx.org>
413
414         * BranchList.C:
415         * BufferView.C:
416         * BufferView_pimpl.C:
417         * CutAndPaste.C:
418         * DepTable.C:
419         * LaTeX.C:
420         * LaTeXFeatures.C:
421         * LyXAction.C:
422         * MenuBackend.C:
423         * TextCache.C:
424         * aspell.C:
425         * buffer.C:
426         * bufferlist.C:
427         * changes.C:
428         * chset.C:
429         * converter.C:
430         * counters.C:
431         * debug.C:
432         * graph.C:
433         * ispell.C:
434         * lyx_cb.C:
435         * lyxfind.C:
436         * lyxfunc.C:
437         * lyxlex_pimpl.C:
438         * lyxrc.C:
439         * lyxrow.C:
440         * paragraph.C:
441         * rowpainter.C:
442         * texrow.C:
443         * text.C:
444         * text2.C:
445         * toc.C: remove redundant using directives.
446
447 2003-09-07  Angus Leeming  <leeming@lyx.org>
448
449         * LaTeXFeatures.h: remove #include "support/types.h".
450         * ToolbarBackend.h: remove #include <algorithm>.
451         * changes.h: remove #include <ctime>.
452         * debug.h: remove #include <iosfwd>.
453         * graph.h: remove #include "support/std_string.h".
454         * lyx_main.h: remove #include <csignal>.
455         * lyxlex_pimpl.h: remove #include <fstream>.
456         * sgml.h: remove #include <algorithm>, <utility>.
457         * toc.h: remove #include "support/std_ostream.h".
458         Add #include <iosfwd>.
459
460 2003-09-07  Angus Leeming  <leeming@lyx.org>
461
462         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
463
464         * converter.h: forward declare LatexRunParams.
465         * encoding.h: remove #include "lyxrc.h".
466         * lyxtext.h: remove #include "LColor.h".
467         * lyxtextclass.h: remove #include "support/types.h".
468         * trans.h: remove #include "tex-accent.h".
469         * trans_mgr.h: remove #include "tex-accent.h".
470         * insets/inset.h: remove #include "support/types.h", <vector>.
471         * insets/insetcollapsable.h: remove #include "LColor.h".
472         * insets/insetinclude.h: remove #include "dimension.h".
473         * insets/insetlatexaccent.h: remove #include "dimension.h".
474         * insets/insetoptarg.h:: remove #include "insettext.h".
475         * insets/insettext.h: remove #include "dimension.h",
476         <boost/shared_ptr.hpp>
477
478         * insets/renderers.h: add #include "dimension.h".
479         * insets/updatableinset.h: add #include "support/types.h".
480
481         * many .C files: Associated changes.
482
483 2003-09-06  Angus Leeming  <leeming@lyx.org>
484
485         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
486         one, inside testInvariant.
487
488         * PrinterParams.C: new file.
489         * PrinterParams.[Ch]: move the function bodies out of line.
490
491 2003-09-06  Angus Leeming  <leeming@lyx.org>
492
493         * ParagraphParameters.h: forward declare ParameterStruct rather than
494         including its header file.
495         (depth): moved out-of-line.
496
497 2003-09-06  Angus Leeming  <leeming@lyx.org>
498
499         * BufferView_pimpl.h:
500         * kbmap.h:
501         * kbsequence.h:
502         * lyxfunc.h: forward declare LyXKeySym rather than
503         #include "frontends/LyXKeySym.h".
504
505         * BufferView_pimpl.C:
506         * kbmap.C:
507         * kbsequence.C:
508         * lyxfunc.C: associated changes.
509
510 2003-09-06  Angus Leeming  <leeming@lyx.org>
511
512         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
513         As a result, can remove the #include "insets/inset.h" from BufferView.h
514
515 2003-09-06  Angus Leeming  <leeming@lyx.org>
516
517         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
518         As a result, can remove the #include "insets/inset.h" from BufferView.h
519
520 2003-09-06  Angus Leeming  <leeming@lyx.org>
521
522         * buffer_funcs.C:
523         * buffer.h:
524         * bufferlist.C:
525         * BufferView.C:
526         * bufferview_funcs.C:
527         * BufferView_pimpl.C:
528         * CutAndPaste.C:
529         * lyx_cb.C:
530         * lyxfunc.C:
531         * paragraph.h:
532         * ParagraphParameters.C:
533         * tabular.C:
534         * text3.C:
535         * toc.C:
536         * undo_funcs.C:
537         * frontends/controllers/ControlDocument.C:
538         * insets/insetcaption.C: rearrange the #includes into some sort of
539         coherent order.
540
541         * buffer.h: remove #includes ErrorList.h, undo.h
542
543 2003-09-06  Angus Leeming  <leeming@lyx.org>
544
545         * support/types.h: add a 'depth_type' typedef, used to store the
546         nesting depth of a paragraph.
547
548         * paragraph.h:
549         * ParameterStruct.h: use this lyx::depth_type typedef rather than
550         defining explicitly.
551
552         * buffer.h:
553         * paragraph_funcs.h:
554         * ParagraphParameters.h:
555         * sgml.h: use lyx::depth_type rather than Paragraph or
556         ParameterStruct's depth_type.
557
558         * buffer.h
559         * paragraph_funcs.h: no need to #include paragraph.h anymore.
560
561         * BufferView.C:
562         * BufferView_pimpl.C:
563         * CutAndPaste.C:
564         * ParagraphParameters.C:
565         * buffer_funcs.C:
566         * bufferlist.C:
567         * bufferview_funcs.C:
568         * lyx_cb.C:
569         * lyxfunc.C:
570         * tabular.C:
571         * text3.C:
572         * toc.C:
573         * undo_funcs.C:
574         * frontends/LyXView.C:
575         * frontends/controllers/ControlDocument.C:
576         * frontends/controllers/ControlErrorList.C:
577         * insets/insetbibitem.C:
578         * insets/insetbranch.C:
579         * insets/insetcaption.C:
580         * insets/insetcollapsable.C:
581         * insets/insetenv.C:
582         * insets/insetert.C:
583         * insets/insetfloat.C:
584         * insets/insetfoot.C:
585         * insets/insetfootlike.C:
586         * insets/insetnewline.C:
587         * insets/insetquotes.C:
588         * insets/insettabular.C:
589         * insets/insettext.C:
590         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
591
592         * frontends/controllers/ControlChanges.C: #include "changes.h".
593
594 2003-09-06  Angus Leeming  <leeming@lyx.org>
595
596         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
597         than #including paragraph.h.
598
599         * ParagraphList.h:
600         * RowList.h: deleted. Superfluous.
601
602         * CutAndPaste.h:
603         * iterators.h:
604         * lyxcursor.h:
605         * lyxtext.h:
606         * text_funcs.h:
607         * undo.h:
608         * undo_funcs.h:
609         * insets/inset.h:
610         * insets/insettext.h: use ParagraphList_fwd.h rather than
611         ParagraphList.h.
612
613         * paragraph.h: don't forward declare ParagraphList.
614
615         * buffer.h:
616         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
617         rather than ParagraphList.h. paragraph.h is still needed for the
618         Paragraph::depth_type parameters.
619
620         * textcursor.h: enable it to compile stand-alone in light of the
621         above changes.
622
623         * bufferview_funcs.C:
624         * iterators.C:
625         * lyxfunc.C:
626         * lyxrow_funcs.C:
627         * paragraph.C:
628         * rowpainter.C:
629         * text.C:
630         * text2.C:
631         * text3.C:
632         * text_funcs.C:
633         * textcursor.C:
634         * undo.C:
635         * frontends/controllers/ControlParagraph.C:
636         * frontends/controllers/ControlTabular.C:
637         * insets/insetmarginal.C:
638         * insets/insetminipage.C:
639         * insets/insetnote.C:
640         * insets/insetoptarg.C: add header files needed to compile again.
641
642 2003-09-06  Angus Leeming  <leeming@lyx.org>
643
644         * RowList_fwd.h: new file, forward-declaring Row rather than
645         #including lyxrow.h.
646
647         * lyxrow_funcs.h:
648         * lyxtext.h:
649         * paragraph.h:
650         * insets/insettext.h: use it instead of RowList.h
651
652         * bufferview_funcs.C:
653         * lyxfunc.C:
654         * lyxrow_funcs.C:
655         * paragraph.C:
656         * rowpainter.C:
657         * text.C:
658         * text2.C:
659         * text3.C: #include "RowList.h".
660
661 2003-09-05  Angus Leeming  <leeming@lyx.org>
662
663         * factory.C (createInset):
664         * vspace.C (c-tor): replace sscanf call with an istringstream.
665         * ispell.C: re-add missing HP/UX headers.
666         * lyxserver.C: re-add missing  os2 headers.
667
668 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
669
670         * BranchList.C:
671         * graph.C:
672         * ispell.C:
673         * lastfiles.C:
674         * lyx_cb.C:
675         * lyxserver.C:
676         * texrow.C:
677         * text3.C: re-add missing system headers, needed for 2.95.2.
678
679 2003-09-05  Angus Leeming  <leeming@lyx.org>
680
681         Changes most place everywhere due to the removal of using directives
682         from support/std_sstream.h.
683
684 2003-09-05  Angus Leeming  <leeming@lyx.org>
685
686         Replace LString.h with support/std_string.h,
687         Lsstream.h with support/std_sstream.h,
688         support/LIstream.h with support/std_istream.h,
689         support/LOstream.h with support/std_ostream.h.
690
691         Changes resulting throughout the tree.
692
693 2003-09-05  Angus Leeming  <leeming@lyx.org>
694
695         * sgml.h: ensure that the header file can be compiled stand-alone.
696         * *.C: strip out redundant #includes. (320 in total.)
697
698 2003-09-04  Angus Leeming  <leeming@lyx.org>
699
700         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
701         here (from getPackages).
702
703         * debug.[Ch]: add a new EXTERNAL tag.
704
705 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
706
707         * text2.C (cursorEnd): simplify
708         (setCursor): adjust
709         (getColumnNearX): adjust
710
711         * text.C (computeBidiTables): adjust
712         (fill): adjust
713
714         * rowpainter.C (paintChars): adjust
715         (paintSelection): adjust
716         (paintChangeBar): adjust
717         (paintText): adjust
718
719         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
720         lastPos instead.
721         (numberOfSeparators): adjust
722
723 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
724
725         * LyXAction.C:
726         * box.[Ch]:
727         * lfuns.h:
728         * lyxfunc.C:
729         * text3.C: Restricts the mouse click functionality
730         of insets like bibtex, include, toc and floatlist to the visible
731         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
732         up the dialogs. Cursor has to be in front of the inset (i.e.
733         start of row) for this to function.
734
735 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
736
737         * bufferview_funcs.C (currentState): output row information
738
739 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
740
741         * bufferview_funcs.C (currentState): output paragraph position
742
743 2003-09-04  Angus Leeming  <leeming@lyx.org>
744
745         * FloatList.h: move out #include "Floating.h".
746         * LaTeX.h: move out #include "DepTable.h".
747         * LyXAction.h: move out #include "funcrequest.h".
748         * buffer.h: move out #include "author.h", "iterators.h".
749         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
750         * lyx_main.h: move out #include "errorlist.h".
751         * lyxfunc.h: move out #include "FuncStatus.h".
752         * lyxtext: move out #include "lyxcursor.h".
753         * paragraph_pimpl.h: move out #include "counters.h".
754
755 2003-09-03  Angus Leeming  <leeming@lyx.org>
756
757         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
758         preamble_snippets list, enabling us to add snippets to the preamble
759         only if the snippet was not there already.
760
761 2003-09-04  Angus Leeming  <leeming@lyx.org>
762
763         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
764
765 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
766
767         * lyxfunc.C (dispatch): if fitCursor did something be sure to
768         update
769
770 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
771
772         * BranchList.C: point fix, earlier forgotten
773
774 2003-09-02  Angus Leeming  <leeming@lyx.org>
775
776         * box.C (contains): renamed from 'contained' after a fantastic
777         amount of hot air.
778
779 2003-09-02  John Levon  <levon@movementarian.org>
780
781         * BufferView.C:
782         * lyxcursor.h:
783         * lyxcursor.C:
784         * lyxfunc.C:
785         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
786
787 2003-09-02  John Levon  <levon@movementarian.org>
788
789         * text2.C: simplification of cursorEnd(), including partial
790         fix for bug 1376
791
792 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
793
794         * buffer.C (readFile): add a space
795
796 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
797
798         * BufferView_pimpl.C (update): remove bogus fitCursor() call
799
800 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
801
802         * buffer.C (readFile): new function, take a filename and a
803         ParagraphList::iterator
804         (readFile): adjust
805         (readFile): adjust, make it private. don't use setStream, make
806         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
807         always contain the filename.
808
809         * BufferView.C (insertLyXFile): simplify and make it work for
810         gzipped files.
811
812 2003-08-30  John Levon  <levon@movementarian.org>
813
814         * Makefile.am: fix dist (from Kayvan)
815
816 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
817
818         * most files: change to use const Buffer refs
819
820 2003-08-27  André Pönitz  <poenitz@gmx.net>
821
822         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
823         on top of ownerPar().
824
825 2003-08-27  John Levon  <levon@movementarian.org>
826
827         * funcrequest.C: properly initialise POD members
828
829 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
830
831         * lyxtext.h (top_y): move top_y from here
832         * text.C:
833         * text2.C:
834         * text3.C:
835         * BufferView.[Ch]:
836         * BufferView_pimpl.[Ch]: to here
837         * frontends/screen.C:
838         * insets/insettabular.C:
839         * insets/insettext.C: adjust
840         * rowpainter.[Ch] (paintRows): remove LyXText & argument
841
842 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
843
844         * BufferView.[Ch]:
845         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
846
847 2003-08-26  André Pönitz  <poenitz@gmx.net>
848
849         * paragraph_func.[Ch] (outerPar): new function
850
851         * paragraph.C:
852         * paragraph_funcs.C:
853         * paragraph_funcs.h:
854         * paragraph_pimpl.C:
855         * text2.C: remove Inset::par_owner
856
857 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
858
859         * lyxrow_funcs.C:
860         * lyxtext.h:
861         * text.C:
862         * text2.C: eliminates the needFullRow/display() stuff
863         altogether, putting the logic in metrics/draw in the insets.
864
865 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
866
867         * text2.C (redoParagraphInternal, redoParagraphs):
868         * text.C (redoParagraph): add a call to updateRowPositions at the
869         end of each 'metrics-like' call. Remove all others.
870         (getRow): remove the 'y-computing' version.
871         (getRowNearY): do not compute nor return the real y. Solve the
872         'y < 0' problem and simplify.
873
874 2003-08-22  Angus Leeming  <leeming@lyx.org>
875
876         * *.[Ch]: clean-up of licence and author blurbs.
877         Also move config.h out of a few .h files and into a few .C files.
878
879 2003-08-22  André Pönitz  <poenitz@gmx.net>
880
881         * lyxrow.[Ch]: add x_ and *fill_ members
882
883         * lyxtext.h:
884         * text.C:
885         * rowpainter.C:
886         * text2.C: adjust/remove prepareToPrint() calls
887
888 2003-08-22  André Pönitz  <poenitz@gmx.net>
889
890         * lyxrow.[Ch]: add  end_ member
891
892         * lyxrow_funcs.C: use LyXRow::end_
893
894         * lyxtext.h (singleWidth): add LyXFont parameter
895
896         * rowpainter.C:
897         * text2.C: adjust LyXText::singleWidth() calls
898
899         * text.C (redoParagraph): simplify row breaking logic
900
901
902 2003-08-19  André Pönitz  <poenitz@gmx.net>
903
904         * funcrequest.C: initialize button_ member
905
906         * text3.C:
907         * rowpainter.[Ch]: interface consolidation
908
909 2003-08-18  André Pönitz  <poenitz@gmx.net>
910
911         * BufferView.C:
912         * BufferView_pimpl.C:
913         * lyxfind.C:
914         * paragraph_funcs.C:
915         * rowpainter.C:
916         * text3.C: remove LyXScreen::draw() and fitCursor calls
917
918         * BranchList.h: remove spurious semicolons
919
920         * MenuBackend.C: fix branchlist related crash
921
922 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
923
924         * BranchList.[Ch]:
925         * InsetList.[Ch]:
926         * LColor.[Ch]:
927         * LyXAction.C:
928         * Makefile.am:
929         * MenuBackend.[Ch]:
930         * bufferparams.[Ch]:
931         * factory.C:
932         * lfuns.h:
933         * lyxfunc.C:
934         * text3.C: implements the 'branch inset'
935         idea. This allows the output of various versions of a document
936         from a single source version, selectively outputing or suppressing
937         output of parts of the text.
938         This implementation contains a 'branch list editor' in a separate
939         tab of the document settings dialog. Branches are user definable
940         and have a "display colour" to distinguish them on-screen.
941
942         ColorHandler was somewhat cleaned up.
943         (1) make possible a dynamically growing LColor list by allowing
944         the graphic context cache to grow along (vector);
945         (2) eliminate an IMHO unnecessary step in colour allocation.
946
947 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
948
949         * BufferView_pimpl.C: compile fix
950
951 2003-08-15  André Pönitz  <poenitz@gmx.net>
952
953         * rowpainter.C: remove extra metrics calls
954
955         * lyxtext.h: merge the two constructors into a single one,
956           pass reference to owner's par list
957
958         * BufferView_pimpl.C:
959         * text.C:
960         * text2.C: adjust
961
962 2003-08-15  André Pönitz  <poenitz@gmx.net>
963
964         * lyxrow_funcs.[Ch]:
965         * lyxtext.h:
966         * paragraph.h:
967         * paragraph_funcs.C:
968         * rowpainter.C:
969         * text.C:
970         * text2.C:
971         * text3.C:
972         * text_funcs.C: split LyXText::rowlist_ into individual
973         Paragraph::rows_ chunks
974
975         * BufferView.[Ch]:
976         * BufferView_pimpl.[Ch]:
977         * lyxfind.C:
978         * lyxtext.h:
979         * text3.C: remove toggleSelection()
980
981 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
982
983         * bufferlist.C: beautify two alerts (shorter text of buttons)
984         * buffer.C: Remove redundant ' ' from message
985         * tabular.h:
986         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
987         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
988         rename VALIGN_CENTER to VALIGN_MIDDLE
989
990 2003-08-11  André Pönitz  <poenitz@gmx.net>
991
992         * lyxtext.h (getPar):
993         * text.C: new function
994
995 2003-08-11  André Pönitz  <poenitz@gmx.net>
996
997         * Makefile.am:
998         * tracer.[Ch]: remove unneeded files
999
1000         * InsetList.[Ch]: remove resizeInsetsLyXText()
1001
1002         * lyxtext.h:
1003         * text.C:
1004         * text2.C:
1005         * text3.C: merge insertParagraphs() and appendParagraph()
1006         remove breakAgain(), update()
1007
1008         * BufferView_pimpl.[Ch]:
1009         * bufferview_funcs.[Ch]:
1010         * lyxfunc.C:
1011         * paragraph.[Ch]:
1012         * rowpainter.C:
1013         * tabular.C: adjust after text & InsetList changes.
1014
1015 2003-08-08  André Pönitz  <poenitz@gmx.net>
1016
1017         * text.C (insertChar, backspace): replace rowlist fiddling
1018         with rebreak of full par
1019
1020         * lyxtext.h:
1021         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1022         checkParagraph, updateInset): removed
1023
1024 2003-08-07  André Pönitz  <poenitz@gmx.net>
1025
1026         * paragraph.C:
1027         * text3.C: merge some LFUN handlers, remove dead code
1028
1029 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1030
1031         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1032
1033 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1034
1035         * text2.C (DEPM): fix part of bug 1255 and 1256
1036
1037 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1038
1039         * BufferView_pimpl.C (workAreaDispatch): change to use
1040         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1041         that are no mouse related.
1042
1043 2003-08-05  André Pönitz  <poenitz@gmx.net>
1044
1045         * BufferView.[Ch]:
1046         * BufferView_pimpl.[Ch]:
1047         * bufferview_funcs.C:
1048         * text2.C:
1049         * text3.C: rip out "deep update"
1050
1051         * textcursor.[Ch] (last_sel_cursor): remove unused member
1052
1053 2003-08-04  André Pönitz  <poenitz@gmx.net>
1054
1055         * BufferView.[Ch]:
1056         * BufferView_pimpl.[Ch]:
1057         * ParagraphParameters.C:
1058         * bufferview_funcs.C:
1059         * lyx_cb.C:
1060         * lyxfind.C:
1061         * lyxfunc.C:
1062         * text.C:
1063         * text2.C:
1064         * text3.C: replace "complicated" BufferView::update(...) calls with
1065         simpler ones.
1066
1067         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1068
1069 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1070
1071         * Makefile.am (lyx_SOURCES): add paper.h
1072
1073 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1074
1075         * Makefile.am: move things around so that both lyx-qt and
1076         lyx-xforms can be built (according to --with-frontend). Then lyx
1077         is a symbolic link to lyx-[firstfrontend]
1078
1079 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1080
1081         * Always use std::endl with lyxerr
1082
1083 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1084
1085         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1086
1087 2003-08-01  André Pönitz  <poenitz@gmx.net>
1088
1089         * BufferView.[Ch]:
1090         * BufferView_pimpl.[Ch]:
1091         * lyxfunc.C:
1092         * text3.C: merge BufferView::repaint() and BufferView::update()
1093
1094 2003-08-01  José Matos  <jamatos@lyx.org>
1095
1096         * buffer.[Ch]: file_format is no longer a buffer data element.
1097
1098 2003-08-01  André Pönitz  <poenitz@gmx.net>
1099
1100         * BufferView.C:
1101         * lyxtext.h:
1102         * text.C:
1103         * text2.C: make redoParagraph more independent of current cursor
1104
1105         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1106         * text.C:
1107         * text2.C: remove unneeded members
1108
1109 2003-07-30  André Pönitz  <poenitz@gmx.net>
1110
1111         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1112
1113         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1114           create a single function...
1115
1116         * paragraph_funcs.C (moveItem): ... here.
1117
1118         * text.C:
1119           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1120
1121 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1122
1123         * LColor.[Ch]: Add comment and greyedout logical colors.
1124
1125 2003-07-30  André Pönitz  <poenitz@gmx.net>
1126
1127         * tabular.C: don't use Assert too heavily. This crashes where it
1128           shouldn't
1129
1130 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1131
1132         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1133         is disabled (bug 1232)
1134
1135 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1136
1137         * factory.C: limited 'arg' scope
1138
1139 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1140
1141         * factory.C: fixed Note submenu issues
1142
1143 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1144
1145         * factory.C: submenu for Note/Comment/Greyedout
1146
1147 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1148
1149         * lyx_main.C (LyX):
1150         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1151
1152 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1153
1154         * LaTeXFeatures.C:
1155         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1156         greyedout. Patch provided by Jürgen Spitzmüller.
1157
1158 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1159
1160         * kbmap.C (read): fix error message when reading bind files
1161
1162 2003-07-29  Angus Leeming  <leeming@lyx.org>
1163
1164         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1165         certainly does not do what it purports to do. I am doing it, and
1166         us, a favour by killing it.
1167
1168 2003-07-28  José Matos  <jamatos@lyx.org>
1169
1170         * buffer.C (readBody, do_writeFile):
1171         * paragraph.C(readParagraph): \end_document replaces \the_end.
1172
1173 2003-07-29  André Pönitz  <poenitz@gmx.net>
1174
1175         * BufferView.[Ch]:
1176         * BufferView_pimpl.[Ch]:
1177         * lyxfunc.C:
1178         * text2.C:
1179         * text3.C:
1180         * textcursor.[Ch]: remove toggleToggle & Co
1181
1182 2003-07-28  José Matos  <jamatos@fep.up.pt>
1183
1184         * buffer.C (readParagraph):
1185         * params_func (readParToken, readParagraph):
1186         * paragraph.C (write): \layout -> \begin_layout.
1187
1188 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1189
1190         * lyxlex_pimpl.C (setFile): clean up slightly.
1191
1192         * bufferparams.h: add compressed var
1193
1194         * buffer_funcs.C (readFile): adjust for LyXLex change
1195         (newFile): ditto + simplify
1196
1197         * buffer.C (writeFile): handle writing of compressed files
1198
1199         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1200         Check if the file is compressed and set a bufferparm if so.
1201
1202         * Makefile.am (lyx_LDADD): remove explicit -lz
1203
1204 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1205
1206         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1207         makeDocBookFile): put the real LyX version in the first line of
1208         the file
1209
1210         * version.h:
1211         * version.C.in: remove lyx_docversion
1212
1213         * tabular.C (write_attribute): add a template-based version to
1214         write enums properly
1215
1216 2003-07-28  André Pönitz  <poenitz@gmx.net>
1217
1218         * lyxtext.h:
1219         * text.C:
1220         * text2.C:
1221         * text3.C: use doubles again for x-coordinates. They are needed.
1222
1223 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1224
1225         * messages.C (getLocaleDir): use lyx_localedir()
1226
1227         * lyxlex_pimpl.C (setFile): compress stuff
1228
1229         * buffer.C (writeFile): add some compression stuff
1230         (do_writeFile): new func, dont call expliti close... will this
1231         breake anything?
1232
1233         * Makefile.am (lyx_LDADD): add -lz
1234
1235 2003-07-28  José Matos  <jamatos@fep.up.pt>
1236
1237         * buffer.C: increment file format.
1238         * paragraph_funcs (readParagraph, readParToken):
1239         * paragraph.C (readParagraph): add \end_layout.
1240
1241 2003-07-27  Angus Leeming  <leeming@lyx.org>
1242
1243         * Makefile.am: remove special casing for configure-time setting of
1244         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1245
1246         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1247         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1248
1249 2003-07-26  André Pönitz  <poenitz@gmx.net>
1250
1251         * paragraph_func.[Ch]:
1252         * paragraph.C (realizeFont): inline it whereever it is used
1253
1254         * rowpainter.C:
1255         * text.C:
1256         * text2.C:
1257         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1258
1259
1260 2003-07-26  André Pönitz  <poenitz@gmx.net>
1261
1262         *       lyxtext.h:
1263         * text.C:
1264         * text2.C: get rid of LyXText::need_break_row
1265
1266 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1267
1268         * toc.[Ch]: put namespace toc inside namespace lyx
1269
1270         * MenuBackend.C (expandToc2): adjust for lyx::toc
1271         (expandToc): ditto
1272
1273         * lyxfunc.C (dispatch): adjust for lyx::find
1274
1275         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1276         lyx::find instead. Reorganize a bit.
1277         (LyXReplace): rename to replace
1278         (LyXFind): rename to find
1279
1280         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1281         (dispatch): ditto
1282
1283 2003-07-26  André Pönitz  <poenitz@gmx.net>
1284
1285         * text.C (setHeightOfRow): restrict scope of temporary variable
1286
1287         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1288           code (never has been used?)
1289
1290 2003-07-27  Asger Alstrup  <alstrup@local>
1291
1292         * text.C (fill): Optimise algorithm to exploit that we can reuse
1293         the LyXFont for many characters.
1294         (setHeightOfRow): Same thing.
1295         (rowBreakPoint): Same thing.
1296
1297 2003-07-26  Asger Alstrup  <alstrup@local>
1298
1299         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1300
1301         * text.C (singleWidth): Spurious font copying in hot-spot
1302         singleWidth avoided. Reorder tests for arabic for efficiency.
1303
1304         * text.C (fill): handle empty paragraphs better.
1305
1306 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1307
1308         * ispell.C:
1309         * encoding.h: add includes
1310
1311         * lyxrc.C: remove reading of bind files
1312
1313         * lyx_main.C (init): setup bindings and menus only if we have a
1314         gui.
1315
1316         * kbmap.C (read): new method. Do the actual reading of bind
1317         files.
1318
1319         * converter.C (dvipdfm_options):
1320         * bufferparams.C:
1321         * lyxrc.C (read):
1322         (output): adapt PAPER_* enums.
1323
1324         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1325
1326         * bufferparams.h: remove paper-related enums from there
1327
1328         * paper.h: New file. A trivial header file to hold paper-related
1329         enums. It should later expand to contain many paper-related
1330         horrors access.
1331
1332         * lyxrc.C: declare extern displayTranslator
1333
1334 2003-07-27  José Matos  <jamatos@fep.up.pt>
1335
1336         * tabular.[Ch] (linuxdoc): add support for tables and figures
1337         (linuxdoc).
1338
1339 2003-07-27  José Matos  <jamatos@fep.up.pt>
1340
1341         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1342         consistency in both functions.
1343         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1344
1345 2003-07-26  Asger Alstrup  <alstrup@local>
1346
1347         * rowpainter.C (paintRows): Change algorithm to work directly on
1348         the insets rather than asking every character in the document
1349         whether its an inset.
1350
1351 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1352
1353         * buffer.C (openFileWrite): factorize some code
1354
1355 2003-07-26  Angus Leeming  <leeming@lyx.org>
1356
1357         * lyx_cb.C:
1358         * lyx_main.[Ch]: replace occurances of system_tempdir with
1359         os::getTmpDir().
1360
1361 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1362
1363         * rename Inset to InsetOld
1364
1365 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1366
1367         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1368         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1369         which I think is a bit clearer. EDIT is gone, since it was
1370         premature optimisation, and broken for mathed anyway.
1371         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1372         with cursor positioning in insets as well (math insets still do not
1373         work, but that's a different story anyway.) It mysteriously
1374         crashes sometimes with undo in the first paragraph, but I'm fairly
1375         confident that this is a compiler bug.
1376
1377 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1378
1379         * paragraph.C (Paragraph): adjust for new clone return type
1380         (operator==): ditto
1381         (copyIntoMinibuffer): ditto
1382
1383 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1384
1385         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1386         by not having a special case, and always doing a full rebreak of
1387         the document after undo.
1388
1389 2003-07-23  Angus Leeming  <leeming@lyx.org>
1390
1391         * factory.C (createInset): InsetExternal::setParams now takes a
1392         Buffer const * arg.
1393
1394 2003-07-23  Angus Leeming  <leeming@lyx.org>
1395
1396         * factory.C (createInset): changed interface to the external and
1397         graphics mailers' string2params functions.
1398
1399 2003-07-23  Angus Leeming  <leeming@lyx.org>
1400
1401         * factory.C (createInset): pass a
1402         Buffer const * parameter to InsetExternalMailer's string2params.
1403
1404 2003-07-22  John Levon  <levon@movementarian.org>
1405
1406         * Thesaurus.h: include the right aiksaurus header
1407
1408 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1409
1410         * MenuBackend.C (expand): check menu shortcuts unconditionally
1411
1412 2003-07-21  Angus Leeming  <leeming@lyx.org>
1413
1414         * factory.C (createInset): pass a
1415         buffer_path parameter to InsetGraphicsMailer's string2params.
1416
1417 2003-07-21  Angus Leeming  <leeming@lyx.org>
1418
1419         * BufferView_pimpl.C (buffer):
1420         * buffer.C (d-tor):
1421         * lyx_main.C (LyX):
1422         * lyxfunc.C (dispatch):
1423         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1424         rather than the grfx shortcut.
1425
1426 2003-07-21  André Pönitz  <poenitz@gmx.net>
1427
1428         * rowpainter.C: remove unused variables
1429
1430         * tabular_funcs.C:
1431         * tabular_funcs.h: move to tabular.C
1432         * Makefile.am: adjust
1433
1434         * tabular.[Ch]: basic optical cleaning
1435
1436         * author.h: pass references, not values
1437
1438 2003-07-18  André Pönitz  <poenitz@gmx.net>
1439
1440         * lyxtext.h:
1441         * metricsinfo.C:
1442         * metricsinfo.h:
1443         * rowpainter.C:
1444         * text.C:
1445         * text2.C:
1446         * text3.C: two-phase drawing for InsetText and InsetTabular
1447         some float -> int changes.
1448
1449 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1450
1451         * lyx_main.C: fix the fix
1452
1453 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1454
1455         * lyx_main.C: fix a crash in batch mode if no files specified
1456         * converter.C: ws
1457
1458 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1459
1460         * format.[Ch] (papersize): moved to BufferParams
1461         * converter.[Ch] (dvips_options): moved to BufferParams
1462         (dvipdfm_options): moved to anon namespace
1463         * bufferparams.[Ch]: added above functions.
1464
1465 2003-07-17  André Pönitz  <poenitz@gmx.net>
1466
1467         * lyxtext.h:
1468         * rowpainter.C:
1469         * text2.C: don't call inset->update() anymore
1470
1471         * metricsinfo.[Ch]: add convenience constructor
1472
1473 2003-07-16  André Pönitz  <poenitz@gmx.net>
1474
1475         * lyxcursor.[Ch]:
1476         * lyxfunc.[Ch]:
1477         * text.C:
1478         * text2.C: replace the LyXCursor::irow_ member with
1479          on-demand computation of the value
1480
1481 2003-07-16  John Levon  <levon@movementarian.org>
1482
1483         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1484
1485 2003-07-15  André Pönitz  <poenitz@gmx.net>
1486
1487         * text.C:
1488         * text2.C: remove no more needed refresh_row
1489
1490 2003-07-15  André Pönitz  <poenitz@gmx.net>
1491
1492         * lyxtext.h:
1493         * rowpainter.C:
1494         * text2.C:
1495         * text3.C: refresh_status tristate -> need_update bool
1496
1497 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1498
1499         * lyxtext.h (init): remove reinit argument (act as if always true)
1500         * text2.C: adjust to that
1501
1502 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1503
1504         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1505         * text3.C: use it to delete selections in some cases
1506         (bugs 441, 673, 702, 954).
1507
1508 2003-07-14  André Pönitz  <poenitz@gmx.net>
1509
1510         * rowpainter.[Ch]: reduce interface
1511
1512 2003-07-14  André Pönitz  <poenitz@gmx.net>
1513
1514         * BufferView_pimpl.C:
1515         * text2.C: adjust after removing unused BufferView * argument
1516
1517 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1518
1519         * text2.C (init): fix a crash fired on resize
1520
1521 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1522
1523         * buffer.[Ch]: added new closing signal
1524         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1525         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1526         BufferView::Pimpl via the closing the signal
1527
1528 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1529
1530         * buffer.[Ch]: take out all bv-related from buffer
1531         * BufferView.C:
1532         * BufferView_pimpl.[Ch]: connect to new signals
1533         * CutAndPaste.C: removed useless asserts
1534         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1535         * lyxvc.[Ch]:
1536         * vc-backend.[Ch]:
1537         * lyxfunc.C: moved view-related funciontality from vc here
1538         * paragraph.C: removed outdated comments
1539         * text.C: ws
1540
1541 2003-07-10  André Pönitz  <poenitz@gmx.net>
1542
1543         * BufferView_pimpl.C:
1544         * tabular.h:
1545         * tabular_funcs.C:
1546         * text.C:
1547         * text2.C: remove InsetText::InnerCache, clean up consequences
1548
1549 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1550
1551         * ispell.C: fix two typos in error messages
1552
1553 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1554
1555         * Extend Note inset to other forms of annotation like Comment
1556         and Greyedout. Right button click gives dialog.
1557
1558         Files modified or added (+):
1559
1560         * insetnote.[Ch]
1561         * FormNote.[Ch]      +
1562         * ControlNote.[Ch]   +
1563         * form_note.fd       +
1564         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1565         frontends/controllers
1566         * xforms/Dialogs.C
1567         * factory.C
1568
1569 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1570
1571         * aspell.C: add missing namespace lyx::support
1572
1573 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1574
1575         * BufferView.[Ch] (newFile): Add
1576         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1577         * LaTeX.[Ch] (message): added this signal and use it
1578         * buffer.[Ch] (busy, message): added these signals and use them
1579         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1580         * converter.C:
1581         * exporter.C:
1582         * format.C:
1583         * importer.C: use buffer signals instead of direct bv calling
1584         * lyx_cb.[Ch] (ShowMessage): removed
1585         * lyx_main.C:
1586         * lyxfunc.C:
1587         * paragraph_funcs.C:
1588         * text2.C: use buffer signals
1589
1590 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1591
1592         * introduce namespace lyx::graphics
1593
1594 2003-07-02  André Pönitz  <poenitz@gmx.net>
1595
1596         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1597
1598 2003-07-01  André Pönitz  <poenitz@gmx.net>
1599
1600         * text.C:
1601         * text2.C:
1602         * text3.C:
1603         * text_funcs.[Ch]:
1604         * textcursor.h:
1605         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1606           text*.C to text_func.C
1607
1608 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1609
1610         * introduce namespace lyx::support
1611
1612 2003-06-30  André Pönitz  <poenitz@gmx.net>
1613
1614         * Chktex.C:
1615         * funcrequest.C:
1616         * lyxtext.h:
1617         * text.C: re-enable --with-included-string
1618
1619 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1620
1621         * textcursor.C: add <config.h>
1622
1623         * text.C (getWord): remove const from word_location arg
1624
1625         * lyxvc.C (getLogFile): fix const type order
1626
1627         * lyxtext.h: remove const from word_location arg, add arg name
1628
1629         * lyxlayout.h: currect type on labeltype.
1630
1631         * importer.C: correct \file
1632
1633         * converter.C (intToFormat): use std:: on ret val, ws changes
1634
1635         * bufferlist.h: correct \file
1636
1637         * buffer.C (makeLinuxDocFile): fix const type order
1638         (makeDocBookFile): ditto
1639         (fillWithBibKeys): use std:: on stdlib args.
1640
1641         * CutAndPaste.C: fix authors.
1642         (availableSelections): use std:: on return vector
1643
1644 2003-06-27  André Pönitz  <poenitz@gmx.net>
1645
1646         * BufferView_pimpl.C:
1647         * bufferview_funcs.C:
1648         * lyxcursor.C:
1649         * lyxcursor.h:
1650         * lyxfunc.C:
1651         * lyxtext.h:
1652         * rowpainter.C:
1653         * text.C:
1654         * text2.C:
1655         * text3.C: remove LyXCursor::row_ member
1656
1657         * lyxtext.h:
1658         * text.C: rename fullRebreak() to partialRebreak() and implement
1659           a fullRebreak() that really bereks fully
1660
1661         * textcursor.h: new struct for cursor-related data
1662
1663 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1664
1665         * lyx_main.C (LyX): get full path of document loaded on the
1666         command line
1667
1668 2003-06-26  André Pönitz  <poenitz@gmx.net>
1669
1670         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1671           remove unused/broken operator>,<,>=.
1672
1673         *       text.C: remove only use of broken operator<= in an Assert().
1674
1675 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1676
1677         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1678         moved errorlist_.clear to showErrorList
1679
1680 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1681
1682         * converter.C (scanLog, runLaTeX):
1683         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1684         move the bv->showErrorList call to the callers
1685         * lyxfunc.C: i.e. here...
1686         * text2.C: and here
1687         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1688         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1689         namespace, the second to...
1690         * buffer_funcs (BufferFormat, parseErrors): added
1691         * errorlist.C (ErrorList(TeXErrors const &)): removed
1692
1693 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1694
1695         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1696
1697 2003-06-24  "Garst R. Reese" <reese@isn.net>
1698
1699         * debug.C: fix typo
1700
1701 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1702
1703         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1704
1705         * version.C.in: change docversion to 1.4
1706
1707 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1708
1709         * buffer.C: fix a bug just introduced
1710
1711 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1712
1713         * buffer.[Ch]: added the parseError signal and use it, removed
1714         sgmlError
1715         * BufferView.[Ch] (addError): moved to ...
1716         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1717         to the Buffer::parseError signal to catch (guess what) parse errors
1718         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1719
1720 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1721
1722         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1723         ability to create a buffer and to return an existing one from
1724         the list. Moved these functions to...
1725         * buffer_funcs.[Ch]: added
1726         * BufferView.[Ch] (loadLyXFile): added
1727         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1728         job removed from bufferlist::loadLyXFile.
1729         * buffer.C (setReadOnly): make it work without view
1730         (i.e added an if (users))
1731
1732 2003-06-19  Angus Leeming  <leeming@lyx.org>
1733
1734         * lfuns.h:
1735         * LyXAction.C (init):
1736         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1737         with LFUN_DIALOG_SHOW <name> <data>.
1738
1739 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1740
1741         * CutAndPaste.C (availableSelections): small compilation fix for
1742         ancient (gcc 2.9x) compilers
1743
1744 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1745
1746         * text3.C (cursorNext): add tmp var
1747
1748         * text2.C (updateCounters): for function calling out of for clause
1749         (replaceSelectionWithString): ditto
1750         (insertStringAsParagraphs): ditto
1751         (getColumnNearX): add tmp var
1752         (setCursorFromCoordinates): add tmp var
1753         (cursorDownParagraph): add tmp var
1754         (deleteEmptyParagraphMechanism): add tmp var
1755
1756         * text.C (insertChar): add tmp var
1757
1758         * rowpainter.C (paintDepthBar): add tmp var
1759
1760         * CutAndPaste.C (availableSelections): potentially check all
1761         paragraphs in a cut to fill the shown strings.
1762
1763 2003-06-18  André Pönitz  <poenitz@gmx.net>
1764
1765         * kbmap.[Ch]: use vector<> instead of list<>
1766
1767 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1768
1769         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1770         pasteSelection with index
1771
1772         * text2.C (pasteSelection): modify, call pasteSelection with index
1773
1774         * paragraph.C (asString): reimplement version with no interval to
1775         call the one with interval.
1776
1777         * lyxtext.h: add index arg to pasteSelection
1778
1779         * MenuBackend.C (MenuItem): handle PasteRecent
1780         (Menu::read::Menutags): add md_pasterecent
1781         (read): handle it
1782         (expandPasteRecent): new function
1783         (expand): use it
1784
1785         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1786
1787         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1788         the limited stack
1789         (availableSelections): new function
1790
1791 2003-06-17  Angus Leeming  <leeming@lyx.org>
1792
1793         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1794
1795 2003-06-17  Angus Leeming  <leeming@lyx.org>
1796
1797         * lfuns.h:
1798         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1799
1800         * lyxfunc.C (dispatch): invoke it.
1801
1802 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1803
1804         * iterators.C (operator++, ParPosition): reintroduce some
1805         const_cast for the benefit of older compilers.
1806
1807 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1808
1809         * text3.C (dispatch): do not modify clipboard when doing
1810         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1811         LFUN_DELETE_SKIP on a selection selection
1812
1813 2003-06-16  André Pönitz  <poenitz@gmx.net>
1814
1815         * BufferView.C:
1816         * buffer.C:
1817         * buffer.h:
1818         * paragraph.C:
1819         * tabular.[Ch]: IU of clone() and getLabelList();
1820
1821 2003-06-13  André Pönitz  <poenitz@gmx.net>
1822
1823         * tabular.h: compactification
1824
1825 2003-06-12  André Pönitz  <poenitz@gmx.net>
1826
1827         * tabular.C:
1828         * tabular.h:
1829         * tabular_funcs.h: some renaming plus whitespace
1830
1831 2003-06-12  André Pönitz  <poenitz@gmx.net>
1832
1833         * BufferView.C:
1834         * BufferView_pimpl.C:
1835         * CutAndPaste.C:
1836         * buffer.C:
1837         * iterators.[Ch]:
1838         * lyxfunc.C:
1839         * text.C:
1840         * toc.C: Return a Paragraph & for ParIterator::operator*()
1841
1842 2003-06-11  John Levon  <levon@movementarian.org>
1843
1844         * lyx_main.C:
1845         * ToolbarBackend.h:
1846         * ToolbarBackend.C: add "Toolbars" section and
1847         put the flags there
1848
1849 2003-06-10  Angus Leeming  <leeming@lyx.org>
1850
1851         * lfuns.h:
1852         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1853
1854         * lyxfunc.C (dispatch): invoke it.
1855
1856 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1857
1858         * main.C: protect <ios> with HAVE_IOS
1859         (main): protect sync_with_stdio with HAVE_IOS
1860
1861 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1862
1863         * text2.C (cutSelection): adjust
1864         (pasteSelection): adjust
1865
1866         * messages.C: handle get of empty string
1867
1868         * main.C (main): use sync_with_stdio(false)
1869
1870         * lyxfunc.C (dispatch): adjust
1871
1872         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1873         (WriteAs): remove unneeded BufferView arg.
1874
1875         * bufferparams.h: use correct types on papersize, papersize2 and
1876         paperpackage.
1877
1878         * bufferparams.C (readToken): adjust for type
1879         (writeLaTeX): add missing cases to switch.
1880
1881         * bufferlist.C (quitWriteBuffer): adjust
1882         (close): adjust
1883
1884         * buffer.C (asciiParagraph): remove some commented code.
1885
1886         * CutAndPaste.C: remove current_view extern variable.
1887         (cutSelection): add BufferParams arg.
1888         (eraseSelection): add BufferParams arg.
1889         (pasteSelection): add Buffer const & arg
1890
1891 2003-06-07  John Levon  <levon@movementarian.org>
1892
1893         * buffer.C:
1894         * paragraph_funcs.C:
1895         * paragraph_pimpl.C:
1896         * text.C:
1897         * text2.C:
1898         * paragraph.h:
1899         * paragraph.C: allow InsetERT to freely space lines,
1900         and some consolidation of code
1901
1902 2003-06-06  José Matos  <jamatos@fep.up.pt>
1903
1904         * buffer.C (makeDocBookFile): fix bug #821
1905
1906 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1907
1908         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1909
1910 2003-06-04  Angus Leeming  <leeming@lyx.org>
1911
1912         * buffer.C: bump format to 224.
1913
1914 2003-06-05  André Pönitz  <poenitz@gmx.net>
1915
1916         * text2.C (redoParagraphs): remove two const_cast<>
1917
1918 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1919
1920         * ParagraphList.h: remove last remnants of NO_STD_LIST
1921
1922 2003-06-03  Angus Leeming  <leeming@lyx.org>
1923
1924         * factory.C (createInset): small change to the way InsetExternal's params
1925         are set.
1926
1927 2003-06-04  André Pönitz  <poenitz@gmx.net>
1928
1929         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1930
1931         * paragraph_pimpl.h:
1932         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1933
1934         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1935
1936         * undo_funcs.C: make some simple cases of undo work again
1937
1938 2003-06-03  John Levon  <levon@movementarian.org>
1939
1940         * ispell.C: HPUX doesn't have sys/select.h
1941         (from Albert Chin)
1942
1943 2003-06-03  John Levon  <levon@movementarian.org>
1944
1945         * CutAndPaste.C: update tabular and include inset
1946         buffer references
1947
1948         * buffer.h:
1949         * paragraph.h:
1950         * paragraph.C: remove owningBuffer(), don't pass Buffer
1951         to clone()
1952
1953         * factory.C: insetGraphicsParams changed
1954
1955 2003-06-02  John Levon  <levon@movementarian.org>
1956
1957         * LyXAction.C:
1958         * factory.C:
1959         * lfuns.h:
1960         * lyxfunc.C:
1961         * text3.C: remove insetparent
1962
1963 2003-06-02  John Levon  <levon@movementarian.org>
1964
1965         * buffer.h:
1966         * buffer.C: fix inset_iterator.end(), move out of line
1967         (bug 1149)
1968
1969 2003-06-01  John Levon  <levon@movementarian.org>
1970
1971         * text3.C: use a proper cut/paste when doing inset
1972         insert (from Jürgen Spitzmüller)
1973
1974 2003-06-01  John Levon  <levon@movementarian.org>
1975
1976         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1977
1978 2003-05-30  André Pönitz  <poenitz@gmx.net>
1979
1980         * rowpainter.C: unify second drawing phase
1981
1982 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1983
1984         * trans_mgr.C: remove one case of current_view
1985
1986         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1987
1988         * paragraph_funcs.h: remove paragraph.h include
1989
1990         * paragraph.h: delete NO_STD_LIST stuff
1991
1992         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1993
1994         * buffer.h: remove paragraph.h include
1995
1996         * ParagraphList.C: delete file
1997
1998         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1999
2000         * toc.C (getTocList): adjust
2001
2002         * paragraph_pimpl.C (validate): adjust
2003
2004         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2005
2006         * paragraph.C (Paragraph): adjust
2007         (getPositionOfInset): use const_iterator, adjust
2008         (bibitem): use const_iterator, adjust
2009         (setInsetOwner): adjust
2010
2011         * iterators.C (operator++): adjust
2012
2013         * InsetList.[Ch]: Replace selfmade iterator with standard
2014         vector::iterator also introduce const_iterator. Remove getPos,
2015         getInset and setInset from InsetTable. Adjust accordingly.
2016
2017         * BufferView.C (lockInset): adjust
2018         (ChangeInsets): adjust
2019
2020         * tabular.[Ch]: delete commented same_id functions
2021
2022 2003-05-28  John Levon  <levon@movementarian.org>
2023
2024         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2025
2026 2003-05-28  André Pönitz  <poenitz@gmx.net>
2027
2028         * metricsinfo.[Ch]: remove 'fullredraw' member
2029
2030 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2031
2032         * lyxtextclass.C (operator): remove caching.
2033
2034 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2035
2036         * text3.C: adjust
2037
2038         * text2.C (cursorBottom): adjust
2039         (setCounter): use ParagraphList::find, adjust
2040
2041         * text.C (workWidth): use ParagraphList::find, adjust
2042
2043         * lyxcursor.C (LyXCursor): adjust
2044
2045         * buffer.C (inset_iterator): adjust
2046
2047         * ParagraphList.h: make iterator(value_type) private, make
2048         ParagraphList a friend of iterator.
2049
2050         * ParagraphList.C (find): new function
2051
2052         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2053
2054 2003-05-27  André Pönitz  <poenitz@gmx.net>
2055
2056         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2057
2058 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2059
2060         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2061
2062 2003-05-26  John Levon  <levon@movementarian.org>
2063
2064         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2065
2066 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2067
2068         * remove same_id from function signatures, adjust.
2069
2070 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2071
2072         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2073
2074         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2075
2076         * paragraph.C (Paragraph): get rid of same_ids parameter
2077
2078         * ParagraphList.C (insert): adjust
2079         (push_back): adjust
2080
2081 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2082
2083         * paragraph_funcs.C (breakParagraph): adjust
2084         (breakParagraphConservative): adjust
2085
2086         * buffer.C (readParagraph): adjust
2087
2088         * ParagraphList.C (insert): take a reference instead of a pointer
2089         (insert): adjust
2090
2091         * paragraph.[Ch] (id): new function
2092
2093         * bufferlist.C (newFile): adjust
2094
2095         * ParagraphList.C (ParagraphList): adjust
2096         (assign): adjust
2097         (push_back): take a reference instead of a pointer.
2098
2099         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2100
2101         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2102         instead.
2103
2104         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2105         set else use old code.
2106
2107         * ParagraphList.C: remove all NO_NEXT code and only compile this
2108         code of NO_STD_LIST is set.
2109
2110 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2111
2112         * BufferView_pimpl.C:
2113         * TextCache.C:
2114         * TextCache.h:
2115         * bufferlist.C:
2116         * errorlist.h:
2117         * format.C:
2118         * format.h:
2119         * graph.C:
2120         * lyxfunc.C:
2121         * lyxrc.C:
2122         * graphics/GraphicsConverter.C:
2123         * graphics/PreviewLoader.C: header adjustment
2124
2125 2003-05-23  Angus Leeming  <leeming@lyx.org>
2126
2127         * LaTeXFeatures.[Ch] (useBabel): new method.
2128         * bufferparams.C (writeLaTeX): use it.
2129
2130 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2131
2132         * ParagraphList.h (set): remove unused function.
2133
2134 2003-05-23  André Pönitz  <poenitz@gmx.net>
2135
2136         * BufferView.C:
2137         * BufferView_pimpl.C:
2138         * buffer.C:
2139         * buffer.h:
2140         * lyxfunc.C:
2141         * undo_funcs.C: setUndo reworked
2142
2143         * iterators.[Ch]: add access to topmost ParagraphList
2144
2145         * lyxtext.[Ch] (workWidth): add a const
2146
2147 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2148
2149         * texrow.[Ch] (increasePos): remove function
2150         * exporter.C (export): removed unused var and outdated comment
2151
2152 2003-05-23  Angus Leeming  <leeming@lyx.org>
2153
2154         * latexrunparams.h: rename fragile as moving_arg.
2155         * paragraph.C (simpleTeXOnePar): ditto.
2156         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2157
2158 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2159
2160         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2161         (createUndo): ditto
2162         (textUndoOrRedo): comment out a currently unused var.
2163
2164         * paragraph.h (NO_NEXT): enable NO_NEXT
2165
2166         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2167
2168         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2169
2170         * exporter.C (Export): adjust for removeAutoInsets removal.
2171
2172         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2173
2174         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2175
2176         * BufferView.[Ch] (removeAutoInsets): delete function
2177
2178 2003-05-22  Angus Leeming  <leeming@lyx.org>
2179
2180         * latexrunparams.h: add a free_spacing variable.
2181
2182         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2183         to pass moving_arg, as the data is stored in runparams.fragile.
2184
2185         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2186         to Inset::latexOptional or to simpleTeXOnePar.
2187
2188         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2189         free_spacing arg to Inset::latexOptional.
2190
2191         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2192         free_spacing arg.
2193
2194 2003-05-22  Angus Leeming  <leeming@lyx.org>
2195
2196         * latexrunparams.h: add fragile and use_babel variables.
2197
2198         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2199         * buffer.C (makeLaTeXFile): store this returned value in
2200         runparams.use_babel, thus passing it to the inset::latex methods.
2201
2202         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2203         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2204
2205         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2206         longer has a fragile arg, as it is stored in runparams.fragile.
2207
2208         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2209         moving_arg parameter as the data is stored in runparams.fragile.
2210
2211         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2212         a fragile parameter as the data is stored in runparams.fragile.
2213
2214 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2215
2216         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2217
2218 2003-05-22  Angus Leeming  <leeming@lyx.org>
2219
2220         * latexrunparams.h: add a 'bool nice' which defaults to false.
2221
2222         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2223         now encapsulated within runparams.
2224
2225         * bufferlist.C (updateIncludedTeXfiles):
2226         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2227
2228 2003-05-22  Angus Leeming  <leeming@lyx.org>
2229
2230         * latexrunparams.h: new file containing struct LatexRunParams.
2231         * Makefile.am: add new file.
2232
2233         * LaTeX.[Ch] (c-tor, run):
2234         * buffer.[Ch] (makeLaTeXFile):
2235         * bufferlist.[Ch] (updateIncludedTeXfiles):
2236         * converter.C (convert, scanLog):
2237         * converter.[Ch] (runLaTeX):
2238         * exporter.C (Export):
2239         * paragraph.[Ch] (simpleTeXOnePar):
2240         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2241         * paragraph_funcs.[Ch] (latexParagraphs):
2242         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2243         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2244         pass around a LatexRunParams parameter.
2245
2246 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2247
2248         * paragraph.[Ch]: remove unused constructor
2249
2250         * ParagraphList.C (erase): new function, taking two iterators
2251
2252 2003-05-22  André Pönitz  <poenitz@gmx.net>
2253
2254         * undo_funcs.C: remove duplicated code
2255
2256         * iterator.[Ch]: operator=
2257
2258 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2259
2260         * tabular.C (SetMultiColumn): ws changes
2261
2262         * rowpainter.C (paintFirst): get rid of a ->previous
2263
2264         * lyx_cb.C (getPossibleLabel): parlist simplification
2265
2266         * BufferView.C (ChangeInsets): simplify slightly.
2267
2268 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2269
2270         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2271         * lfuns.h: new LFUN_SPACE
2272         * lyxfunc.C: protected space has a new lfun
2273         * paragraph_funcs.C: read new space insets
2274         * text3.C:
2275         * factory.C: handle new space insets
2276
2277 2003-05-22  André Pönitz  <poenitz@gmx.net>
2278
2279         * BufferView.C:
2280         * BufferView_pimpl.C:
2281         * buffer.[Ch]:
2282         * lyxfunc.C:
2283         * undo_funcs.C: return a ParIterator from getParFromID.
2284
2285         * iterators.[Ch]: add two const's
2286
2287 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2288
2289         * toc.C (getTocList): adjust
2290
2291         * iterators.[Ch]: rework for parlist
2292
2293         * buffer.C (par_iterator_begin): adjust
2294         (par_iterator_end): adjust
2295
2296         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2297
2298         * BufferView.C (removeAutoInsets): adjust
2299         (ChangeInsets): adjust
2300
2301 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2302
2303         * text.C (top_y): fix bug 1110
2304
2305 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2306
2307         * errorlist.[Ch]: added
2308         * buffer.C:
2309         * BufferView.[Ch]:
2310         * BufferView_pimpl.C:
2311         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2312         instead
2313
2314 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2315
2316         * Makefile.am: ensure that lyx is relinked upon changes to the
2317         various "convenience" libs.
2318
2319 2003-05-20  Angus Leeming  <leeming@lyx.org>
2320
2321         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2322         files are compiled in alphabetical order again.
2323
2324         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2325
2326 2003-05-19  Angus Leeming  <leeming@lyx.org>
2327
2328         * gettext.[Ch]: remove "char const * _(char const *)".
2329
2330 2003-05-19  André Pönitz  <poenitz@gmx.net>
2331
2332         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2333
2334         * Makefile.am:
2335         * BufferView.C:
2336         * DepTable.h:
2337         * LaTeXFeatures.C:
2338         * buffer.C:
2339         * lyxfont.C:
2340         * lyxlex.h:
2341         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2342
2343 2003-05-19  André Pönitz  <poenitz@gmx.net>
2344
2345         * buffer.C:
2346         * lyxlayout.[Ch]:
2347         * lyxtextclass.[Ch]:
2348         * paragraph.C:
2349         * paragraph_funcs.[Ch]:
2350         * text2.C:
2351         * text3.C: more insetenv work
2352
2353 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2354
2355         * ParagraphParameters.C (params2string): small bug fixed
2356
2357 2003-05-16  André Pönitz  <poenitz@gmx.net>
2358
2359         * debug.C:
2360         * bufferview_funcs.C: patch from Kornel Benko to prevent
2361           crash when _(...) is called twice in a statement
2362
2363 2003-05-16  André Pönitz  <poenitz@gmx.net>
2364
2365         * BufferView.C:
2366         * lyxfunc.C:
2367         * text.C:
2368         * text2.C:
2369         * text3.C:
2370         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2371
2372 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2373
2374         * lyx_main.C (init): remove spurious static_cast
2375
2376 2003-05-14  André Pönitz  <poenitz@gmx.net>
2377
2378         * BufferView.C: fix format string
2379
2380 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2381
2382         * BufferView.[Ch] (insertErrors): removed
2383         * BufferView.[Ch] (showErrorList): added
2384         * buffer.C (runChkTeX):
2385         * converter.C (scanLog): call showErrorList instead of inserterrors
2386
2387 2003-05-13  André Pönitz  <poenitz@gmx.net>
2388
2389         * BufferView_pimpl.C:
2390         * buffer.C:
2391         * bufferview_func.C:
2392         * MenuBackend.C:
2393         * lyxfunc.C:
2394         * lyxrc.C:
2395         * tex-accent.C:
2396         * text3.C:
2397         * toc.C:
2398         * tabular_funcs.h: tostr() from its own header
2399
2400         * ParagraphParameters.C:
2401         * ToolbarBackend.C:
2402         * bufferparams.C:
2403         * format.C:
2404         * lyxlex_pimpl.C:
2405         * text3.C: STRCONV()
2406
2407 2003-05-12  André Pönitz  <poenitz@gmx.net>
2408
2409         * BufferView.C:
2410         * BufferView_pimpl.C:
2411         * CutAndPaste.C:
2412         * LaTeX.C:
2413         * LaTeXFeatures.C:
2414         * ParagraphParameters.C:
2415         * buffer.C:
2416         * bufferlist.C:
2417         * bufferparams.C:
2418         * bufferview_funcs.C:
2419         * converter.C:
2420         * counters.C:
2421         * debug.C:
2422         * exporter.C:
2423         * format.C:
2424         * importer.C:
2425         * lyx_cb.C:
2426         * lyx_main.C:
2427         * lyxfont.C:
2428         * lyxfunc.C:
2429         * lyxvc.C:
2430         * paragraph.C:
2431         * paragraph_funcs.C:
2432         * tabular.C:
2433         * tabular_funcs.C:
2434         * text2.C:
2435         * text3.C:  boost::format -> bformat  all over the place
2436
2437
2438 2003-05-09  André Pönitz  <poenitz@gmx.net>
2439
2440         * LColor.[Ch]: Pimpl the #include <map> away
2441
2442 2003-05-09  John Levon  <levon@movementarian.org>
2443
2444         * bufferlist.C: never remove emergency saves
2445
2446 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2447
2448         * Makefile.am: better lib building
2449
2450 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2451
2452         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2453         instead.
2454         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2455         (simpleTeXSpecialChars): adjust
2456         (simpleTeXSpecialChars): adjust
2457         * paragraph.C (simpleTeXOnePar): adjust
2458         * buffer.C (makeLaTeXFile): adjust
2459
2460         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2461
2462         * text2.C (changeDepth): parlist cleanup
2463         (getColumnNearX): ditto
2464
2465         * rowpainter.C (getLabelFont): parlist cleanup
2466
2467         * bufferlist.C (newFile): parlist cleanup
2468
2469         * CutAndPaste.C (eraseSelection): parlist cleanup
2470
2471         * BufferView_pimpl.C (trackChanges): parlist cleanup
2472         (dispatch): ditto
2473
2474         * BufferView.C (lockInset): parlist cleanup.
2475         (ChangeInsets): ditto
2476
2477 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2478
2479         * CutAndPaste.h: Update file header.
2480
2481         * CutAndPaste.C: Update file header.
2482         Store the parts cut out of the Document in a limited_stack.
2483         (copySelection): adjust
2484         (pasteSelection): new function, takes the index in the limited stack.
2485         (nrOfParagraphs): adjust
2486         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2487         simplify error inset insertion.
2488         (checkPastePossible): adjust
2489
2490 2003-05-06  John Levon  <levon@movementarian.org>
2491
2492         * text2.C: don't cast wrap inset to float
2493
2494 2003-05-05  André Pönitz  <poenitz@gmx.net>
2495
2496         * iterator.C:
2497         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2498
2499         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2500           few naked Paragraph *.
2501
2502 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2503
2504         * bufferparams.C: Output warning if a document with missing
2505         TeX document class is loaded
2506         * exporter.C: Disable TeX exports if the document class is missing
2507         * lyxtextclass.C:
2508         * lyxtextclass.h:
2509         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2510         isTeXClassAvailable()
2511
2512 2003-05-03  John Levon  <levon@movementarian.org>
2513
2514         * BufferView.h:
2515         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2516         explicit cursor show/hide
2517
2518         * BufferView_pimpl.h:
2519         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2520         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2521
2522         * lyxfunc.C: hide cursor before dispatching.
2523
2524         * lyx_cb.C:
2525         * lyxfind.C:
2526         * text.C:
2527         * text3.C: remove explicit cursor hides
2528
2529 2003-05-02  André Pönitz  <poenitz@gmx.net>
2530
2531         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2532
2533         * undo_funcs.C:
2534         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2535           linked lists
2536
2537         * text2.C: tiny whitespace
2538
2539 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2540
2541         * undo_funcs.C: almost only ws changes.
2542
2543         * ParagraphList.C (splice): just return if pl is empty.
2544
2545 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2546
2547         * ParagraphList.C (splice): new function.
2548
2549         * CutAndPaste.C (pasteSelection): use it
2550
2551 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2552
2553         * CutAndPaste.C (pasteSelection): remove the last next and
2554         previous from this file.
2555
2556 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2557
2558         * CutAndPaste.C (pasteSelection): more clean up, user proper
2559         ParagraphList functions for pasteing.
2560
2561         * ParagraphList.C (insert): new function, three arg insert
2562
2563 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2564
2565         * ParagraphList.C (insert): new function, three arg insert
2566
2567         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2568         not on paragraphs.
2569
2570 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2571
2572         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2573
2574 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2575
2576         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2577
2578 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2579
2580         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2581         (copySelection): clean up a bit.
2582         (pasteSelection): use make_pair
2583
2584         * ParagraphList.C (ParagraphList): implement copy constructor
2585         (operator=): implement, base on copy constructor.
2586         (assign): new func
2587
2588         * paragraph.C (erase): return a bool
2589
2590         * paragraph_pimpl.C (erasePos): remove function, move contents...
2591         (erase): ... here. Return a bool.
2592         (erase): call erase instead of erasePos.
2593
2594 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2595
2596         * ParagraphList.h: define PitPosPair
2597         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2598         ParagraphList, fix a bug on pasting multiple pars
2599         * text2.C: change interface to C&P
2600
2601 2003-04-30  André Pönitz  <poenitz@gmx.net>
2602
2603         * undo_func.C: revert part of yesterday's patch 2
2604
2605 2003-04-30  John Levon  <levon@movementarian.org>
2606
2607         * LColor.C: s/tabular/table/
2608
2609 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2610
2611         * text3.C (dispatch): do not convert iterator -> pointer
2612         * undo_funcs.C (setCursorParUndo): ditto
2613         * text_funcs.C (transposeChars): ditto
2614
2615         * text2.C (setLayout): ws changes only
2616
2617         * text.C (breakParagraph): do not convert iterator -> pointer
2618         (insertChar): ditto
2619         (acceptChange): ditto
2620         (rejectChange): ditto
2621         (changeCase): ditto
2622         (Delete): ditto
2623         (backspace): ditto
2624
2625         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2626         pointer
2627
2628 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2629
2630         * text3.C (gotoInset): YABG (yet another bad getChar)
2631
2632 2003-04-29  André Pönitz  <poenitz@gmx.net>
2633
2634         * paragraph.h: make operator= private unimplemented as long as
2635           it is unusable
2636
2637         * ParagraphList.C: whitespace
2638
2639         * paragraph.[Ch]:
2640         * paragraph_pimpl.[Ch]:
2641         * paragraph_funcs.C:
2642         * CutAndPaste.C:
2643         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2644
2645         * text2.C:
2646           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2647
2648 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2649
2650         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2651         * paragraph.[Ch] (erase):
2652         * paragraph_pimpl.[Ch] (erase): change return type and value
2653         * text2.C (cutSelection): some rework
2654
2655 2003-04-28  John Levon  <levon@movementarian.org>
2656
2657         * bufferlist.C: changes for unsaved changes dialog
2658
2659 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2660
2661         * bufferlist.C (newFile): set language (messages_) for new
2662         documents also.
2663
2664         * buffer.C (readFile): ws changes only.
2665
2666 2003-04-28  André Pönitz  <poenitz@gmx.net>
2667
2668         * undo_funcs.C:
2669         * lyxfunc.C:
2670         * buffer.[Ch]:
2671         * BufferView_pimpl.C:
2672         * BufferView.C: getParFromID related ParagraphList::iterator changes
2673
2674 2003-04-28  André Pönitz  <poenitz@gmx.net>
2675
2676         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2677           Changes
2678
2679 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2680
2681         * messages.C: remove one more localedir class variable.
2682
2683 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2684
2685         * messages.C (getLocaleDir): singleton generation function
2686         (Pimpl): use it.
2687         (Messages): add a default constructor.
2688
2689         * main.C (main): do not setup localedir here, do not call
2690         gettext_init.
2691
2692         * gettext.C (_): use it.
2693         (gettext_init): delete funciton
2694
2695 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2696
2697         * gettext.C (getLyXMessages): new singleton generating function.
2698
2699         * buffer.C (updateDocLang): adjust
2700
2701         * Makefile.am (messages.o): add target
2702         (main.o): remove target
2703
2704 2003-04-27  John Levon  <levon@movementarian.org>
2705
2706         * bufferlist.C:
2707         * lyx_cb.C:
2708         * lyxfunc.C:
2709         * lyxvc.C: specify cancel button in Alert::prompt
2710
2711 2003-04-26  John Levon  <levon@movementarian.org>
2712
2713         * text3.C:
2714         * lyxfunc.C:
2715         * lfuns.h:
2716         * LyXAction.C: add LFUN_INSET_SETTINGS
2717
2718         * lyxfunc.C: don't enable tabular-feature when there's
2719         just any locking inset
2720
2721 2003-04-26  John Levon  <levon@movementarian.org>
2722
2723         * bufferlist.C: re-add Cancel to buffer close question
2724
2725         * lyxfunc.C: fix import UI a bit
2726
2727 2003-04-25  John Levon  <levon@movementarian.org>
2728
2729         * gettext.C: remove the broken asserts for now
2730
2731 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2732
2733         * messages.C: make case where setlocale cannot comply work better.
2734
2735         * buffer.C (updateDocLang): new function
2736         (changeLanguage): use it
2737         (readFile): use it
2738
2739         * text2.C (setCounter): use B_ a bit.
2740
2741         * lyxlayout.C (Read): be sure to trim the label strings.
2742
2743         * messages.C (Messages): fix typo in comment
2744
2745         * buffer.C (readFile): set message_ after file is loaded.
2746         (makeDocBookFile): remove double return
2747         (changeLanguage): reset message_ upon language change.
2748         (B_): new func, use this to get translated buffer strings.
2749
2750         * main.C: add myself and Jean Marc as authors.
2751
2752 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2753
2754         * messages.[hC]: pimplify Messages, and three different pimpls to be
2755         used in different circumstances.
2756
2757         * gettext.[Ch]: change for use with new message code.
2758
2759 2003-04-24 André Pönitz <poenitz@gmx.net>
2760
2761         * factory.C: support for eqref
2762
2763 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2764
2765         * messages.[Ch]: add missing char
2766
2767         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2768
2769         * messages.[Ch]: New files
2770
2771 2003-04-18  John Levon  <levon@movementarian.org>
2772
2773         * BufferView.h:
2774         * BufferView.C:
2775         * BufferView_pimpl.C:
2776         * lfuns.h:
2777         * LyXAction.C:
2778         * lyxtext.h:
2779         * text2.C: remove layout-copy/paste (bug 778)
2780
2781 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2782
2783         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2784
2785 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2786
2787         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2788         if they succeed. Act accordingly.
2789
2790 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2791
2792         * text2.C (setCharFont): adjust
2793         (setCounter): adjust
2794         (insertStringAsLines): adjust
2795
2796         * text.C (leftMargin): adjust
2797         (setHeightOfRow): adjust
2798
2799         * rowpainter.C (paintFirst): adjust
2800         (paintLast): adjust
2801
2802         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2803         (outerHook): ditto
2804         (isFirstInSequence): ditto
2805         (getEndLabel): ditto
2806         (outerFont): adjust
2807
2808         * paragraph.C (getParLanguage): comment out some hard stuff.
2809
2810         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2811         (sgmlError): ditto
2812         (simpleDocBookOnePar): ditto
2813         (makeDocBookFile): use ParagraphList::iterator
2814
2815         * CutAndPaste.C (pasteSelection): adjust
2816
2817 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2818
2819         * text2.C (getFont): adjust
2820         (getLayoutFont): adjust
2821         (getLabelFont): adjust
2822
2823         * paragraph_funcs.C (TeXOnePar): adjust
2824
2825         * buffer.C (simpleLinuxDocOnePar): adjust
2826         (simpleDocBookOnePar): adjust
2827
2828         * CutAndPaste.C (pasteSelection): adjust
2829
2830         * BufferView.C (getEncoding): adjust
2831
2832         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2833
2834 2003-04-16  John Levon  <levon@movementarian.org>
2835
2836         * lyxfind.C: use parlist stuff for search/changes
2837
2838 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2839
2840         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2841
2842         * text2.C (deleteEmptyParagraphMechanism): adjust
2843
2844         * text2.[Ch] (ownerParagraph): delete func (both of them
2845
2846 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2847
2848         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2849
2850 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2851
2852         * ParagraphList.C: prepare for NO_NEXT
2853
2854 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * text2.C (getFont): adjust
2857         (getLayoutFont): adjust
2858         (getLabelFont): adjust
2859
2860         * paragraph.C (getFont): adjust
2861         (getLabelFont): adjust
2862         (getLayoutFont): adjust
2863
2864         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2865
2866 2003-04-15  John Levon  <levon@movementarian.org>
2867
2868         From Angus Leeming
2869
2870         * lyx_main.C: handle Include in .ui files
2871
2872 2003-04-15  John Levon  <levon@movementarian.org>
2873
2874         * MenuBackend.C: make the doc files length shorter
2875
2876         * ToolbarBackend.h:
2877         * ToolbarBackend.C: handle toolbar placement flags,
2878         Minibuffer
2879
2880 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2881
2882         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2883         adjust
2884
2885         * paragraph_funcs.C (TeXOnePar): adjust
2886
2887         * paragraph.C (getLabelFont): add outerfont arg, adjust
2888         (getLayoutFont): ditto
2889         (simpleTeXOnePar): adjust
2890
2891         * paragraph_pimpl.C (realizeFont): delete func
2892
2893 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2894
2895         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2896         row argument, constify cur argument.
2897
2898 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2899
2900         * text2.C (getFont): adjust
2901         (getLayoutFont): adjust
2902         (getLabelFont): adjust
2903
2904         * paragraph_funcs.C (TeXOnePar): adjust
2905         (outerFont): new func...
2906         (realizeFont): ...moved out from here, changed this to facilitate
2907         transition
2908
2909         * paragraph.C (getFont): take outerfont as arg, adjust
2910         (simpleTeXOnePar): add outerfont arg, adjust
2911
2912         * buffer.C (simpleLinuxDocOnePar): adjust
2913         (simpleDocBookOnePar): adjust
2914
2915         * CutAndPaste.C (pasteSelection): adjust
2916
2917         * BufferView.C (getEncoding): adjust
2918
2919 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2920
2921         * text2.C (setCharFont): adjust
2922         (setCounter): adjust
2923
2924         * text.C (leftMargin): adjust
2925         (setHeightOfRow): adjust
2926
2927         * rowpainter.C (paintFirst): adjust
2928         (paintLast): adjust
2929
2930         * paragraph_pimpl.C (realizeFont): adjust
2931
2932         * paragraph.C (isFirstInSequence): move from here...
2933         * paragraph_funcs.C (isFirstInSequence): ...to here
2934
2935         * paragraph.C (outerHook): move from here...
2936         * paragraph_funcs.C (outerHook): ...to here
2937
2938         * paragraph.C (depthHook): move from here...
2939         * paragraph_funcs.C (depthHook): ...to here
2940
2941         * paragraph.C (getEndLabel): move from here...
2942         * paragraph_funcs.C (getEndLabel): ...to here
2943
2944         * text2.C (realizeFont): move from here...
2945         * paragraph_funcs.C (realizeFont): ...to here
2946
2947 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2948
2949         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2950
2951 2003-04-14  Angus Leeming  <leeming@lyx.org>
2952
2953         * LColor.[Ch]: scrap LColor mathcursor.
2954
2955 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2956
2957         * lyxlex.[Ch] (text): delete function
2958         * trans.C (Load): adjust
2959         * paragraph_funcs.C (readParToken): adjust
2960
2961 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2962
2963         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2964         vector<char> instead of a char[].
2965
2966         * lyxlex_pimpl.C (getString): adjust
2967         (next): adjust
2968         (lex): use getString
2969         (eatLine): adjust
2970         (nextToken): adjust
2971
2972         * lyxlex.C (text): use pimpl_->getString()
2973         (getBool): ditto
2974         (findToken): ditto
2975
2976 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2977
2978         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2979         (makeFontEntriesLayoutSpecific): temp var for par.size()
2980         (setLayout): temp var for ownerParagraphs().end()
2981         (fullRebreak): temp var for rows().end()
2982         (selectionAsString): temp var for boost::next(startpit), realize
2983         that the while really is a regular for loop.
2984         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2985         setCursor in one place.
2986         (setParagraph): temp vr for ownerParagraphs().end()
2987         (updateCounters): make the while loop a for loop
2988         (cutSelection): temp var for ownerParagraphs().end()
2989         (updateInset): make the do {} while() a regular for loop
2990         (getCursorX): use temp vars
2991         (setCurrentFont): use temp vars
2992         (getColumnNearX): use temp vars
2993
2994 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2995
2996         * text.C (transformChar): use temp var for getChar
2997         (computeBidiTables): use temp var for row->par()
2998         (fill): move temp vars for row->par() and pit->layout() earlier in
2999         the function.
3000         (labelFill): use temp var for row->par()
3001         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3002         asc and desc, realize that pit never changes and that firstpit is
3003         just a duplicate and not needed. Exchange rit->par() with pit in a
3004         lot of places.
3005         (breakAgain): use a temp var for boost::next(rit)
3006         (breakAgainOneRow): ditto
3007         (breakParagraph): use a temp var for rows().begin()
3008         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3009         (cursorRightOneWord): use temp var for cursor.par() and
3010         cursor.pos(), remove usage of tmpcursor.
3011         (cursorLeftOneWord): use temp var for cursor.par() and
3012         cursor.pos() only set cur at end of function.
3013
3014 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3015
3016         * text.C, text2.C: exchange all usage of Paragraph::next with
3017         boost::next(ParagraphList::iterator)
3018
3019         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3020
3021         * text2.C (cursorTop): simplify implementation
3022         (cursorBottom): ditto
3023         (setParagraph): use ParagraphList::iterator
3024         (setCurrentFont): adjust
3025         (getColumnNearX): adjust
3026         (cursorRight): adjust
3027         (cursorLeft): remove usage of Paragraph::previous
3028         (cursorUpParagraph): ditto
3029         (deleteEmptyParagraphMechanism): slight cleanup
3030
3031         * text.C (isBoundary): take a Paragraph const & instead of a
3032         pointer as arg.
3033         (addressBreakPoint): ditto
3034         (leftMargin): remove usage of Paragraph::previous.
3035         (setHeightOfRow): ditto
3036         (cursorLeftOneWord): ditto
3037         (selectNextWordToSpellcheck): ditto
3038         (Delete): ditto
3039         (backspace): ditto
3040         (breakParagraph): remove one usage of Paragraph::next
3041         (redoParagraph): ditto
3042         (acceptChange): ditto
3043         (insertChar): adjust
3044         (rowBreakPoint): adjust
3045
3046         * bufferview_funcs.C (toggleAndShow): adjust
3047
3048 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3049
3050         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3051         methods to access it.
3052         * lyxtext.h:
3053         * text.C: Added updateRowPositions to compute all row positions.
3054         Make top_y and getRowNearY() to use the cached y position
3055
3056 2003-04-11  John Levon  <levon@movementarian.org>
3057
3058         * text.C (rowBreakPoint): reintroduce the labelEnd
3059         checks, code copied from the row fill stuff. Deep voodoo.
3060
3061         * text.C (fill): add a comment and debugging for the
3062         next poor soul.
3063
3064 2003-04-11  John Levon  <levon@movementarian.org>
3065
3066         * text.C: make sure fullrow insets get wrapped to the next line,
3067         even when they're in a manual label
3068
3069 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3070
3071         * text2.C (insertParagraph): make it take ParagraphList::iterator
3072         as arg.
3073         (setLayout): make it return ParagraphList::iterator
3074         (redoParagraphs): ditto
3075         (setCounter): ditto
3076         (checkParagraph): ditto
3077
3078         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3079
3080         * text2.C: adjust several funcs.
3081         (realizeFont): take a ParagraphList::iterator as arg.
3082         (getLayoutFont): ditto
3083         (getLabelFont): ditto
3084         (setCharFont): ditto
3085
3086         * text.C: adjust several funcs.
3087
3088 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3089
3090         * text.C (selectNextWordToSpellcheck): don't accidentally
3091         skip insets
3092
3093 2003-04-10  John Levon  <levon@movementarian.org>
3094
3095         * ToolbarBackend.C (getIcon): special handling for
3096         LFUN_MATH_DELIM
3097
3098 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3099
3100         * text2.C (cursorRight): a getChar assert fixed
3101
3102 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3103
3104         * text2.C (getFont): change to take a ParagraphList::iterator
3105         instead of Paragraph*
3106         Adjust several functions.
3107
3108         * text.C (transformChar): change to take a ParagraphList::iterator
3109         instead of Paragraph*
3110         (singleWidth): ditto
3111         Adjust several functions.
3112
3113         * rowpainter.C: adjust several functions
3114         * rowpainter.h:store a ParagraphList::iterator and not a
3115         Paragraph&.
3116
3117
3118 2003-04-09  John Levon  <levon@movementarian.org>
3119
3120         * lyxfunc.C:
3121         * lfuns.h:
3122         * LyXAction.h:
3123         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3124         and the "help" bits as well
3125
3126 2003-04-09  John Levon  <levon@movementarian.org>
3127
3128         * ToolbarBackend.h:
3129         * ToolbarBackend.C: allow multiple toolbars
3130
3131 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3132
3133         * undo_funcs.C (setCursorParUndo): adjust
3134
3135         * text_funcs.C (transposeChars): adjust
3136
3137         * text3.C (gotoNextInset): adjust
3138         (dispatch): adjust
3139
3140         * text2.C (setLayout): adjust
3141         (changeDepth): adjust
3142         (setFont): adjust
3143         (redoParagraphs): adjust
3144         (selectionAsString): adjust
3145         (setParagraph): adjust
3146         (insertInset): adjust
3147         (cutSelection): adjust
3148         (copySelection): adjust
3149         (pasteSelection): adjust
3150         (insertStringAsLines): adjust
3151         (updateInset): adjust
3152         (setCursor): change to take a ParagraphList::iterator parameter
3153         (setCursorIntern): change to take a ParagraphList::iterator parameter
3154         (setCurrentFont): adjust
3155         (cursorLeft): adjust
3156         (cursorRight): adjust
3157         (deleteEmptyParagraphMechanism): adjust
3158
3159         * text.C (breakParagraph): adjust
3160         (insertChar): adjust
3161         (acceptChange): adjust
3162         (rejectChange): adjust
3163         (selectNextWordToSpellcheck): adjust
3164         (changeCase): adjust
3165         (Delete): adjust
3166         (backspace): adjust
3167
3168         * lyxfind.C (SearchForward): adjust
3169         (SearchBackward): adjust
3170         (nextChange): adjust
3171
3172         * lyxcursor.C (par): adjust
3173
3174         * lyxcursor.h: store a ParagraphList::iterator instead of a
3175         Paragraph*
3176
3177         * lyx_cb.C (getPossibleLabel): adjust
3178
3179         * bufferview_funcs.C (toggleAndShow): adjust
3180
3181         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3182         (dispatch): adjust
3183
3184         * BufferView.C (removeAutoInsets): adjust
3185         (lockedInsetStoreUndo): adjust
3186
3187 2003-04-09  John Levon  <levon@movementarian.org>
3188
3189         * ToolbarBackend.C: try icon without argument
3190         if with argument fails
3191
3192 2003-04-08  John Levon  <levon@movementarian.org>
3193
3194         * ToolbarBackend.h:
3195         * ToolbarBackend.C: add getIcon(), handle tooltip,
3196         and change from "Icon" to "Item".
3197
3198 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3199
3200         * BufferView.C (lockInset): another bad getchar crunched
3201
3202 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3203
3204         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3205         again)
3206
3207 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3208
3209         * lyxfind.C (searchForward, searchBackwards): bug 782
3210
3211 2003-04-07  John Levon  <levon@movementarian.org>
3212
3213         * paragraph.C: remove dead comment
3214
3215         * text.C: remove troublesome depth-fiddling code
3216         in leftMargin() and rightMargin() (bug 1017)
3217
3218         * text.C: fix breaking of rows in nested lists
3219         (bug 1004)
3220
3221         * text2.C (updateCounters): fix up depth values
3222         (bug 1013)
3223
3224 2003-04-07  John Levon  <levon@movementarian.org>
3225
3226         * BufferView_pimpl.C: clear message when doc finishes resizing,
3227         and after a mouse event
3228
3229         * lyxfunc.C: clear message after exiting inset
3230
3231 2003-04-07  John Levon  <levon@movementarian.org>
3232
3233         * bufferview_funcs.C: show math status not outside
3234         status in the statusbar
3235
3236 2003-04-07  John Levon  <levon@movementarian.org>
3237
3238         * lyxfunc.C: note status changed after a depth change
3239
3240 2003-04-04  Angus Leeming  <leeming@lyx.org>
3241
3242         * LaTeX.h: move AuxInfo operator==, != out of line.
3243         Remove LaTeX virtual destructor; nothing derives from it.
3244         Move operator()() out of public area and rename it startscript().
3245         Change protected for private.
3246
3247 2003-04-04  Angus Leeming  <leeming@lyx.org>
3248
3249         * lyxfunc.C:
3250         * text2.C: remove unneeded #includes.
3251
3252 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3253
3254         * text2.C (dEPM): fix the heigth of the next row
3255
3256 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3257
3258         * text.C: squashed an invalid getChar requester + some ws changes
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: make getStatus work for the env depth lfuns
3267
3268 2003-04-03  John Levon  <levon@movementarian.org>
3269
3270         * bufferview_funcs.h:
3271         * bufferview_funcs.C:
3272         * lyxfunc.C:
3273         * lyxtext.h:
3274         * text2.C: parlistize decDepth(), by merging it with incDepth()
3275
3276 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3277
3278         * lyxrow.h: store a ParagraphList::iterator instead of a
3279         Paragraph* and adjust other class functions to suit.
3280
3281         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3282         above.
3283
3284 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3285
3286         * text2.C (setCursor): do not anchor to cursor row for the time being
3287
3288 2003-04-02  John Levon  <levon@movementarian.org>
3289
3290         * LyXAction.C:
3291         * lfuns.h:
3292         * lyx_main.C:
3293         * lyxtext.h:
3294         * text.C:
3295         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3296
3297 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * paragraph.h: make ParagraphList and ParagraphList::iterator
3300         friends of Paragraph.
3301
3302         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3303
3304         * ParagraphList.C: Use the private next_ and previous_ from
3305         Paragraph.
3306
3307 2003-04-01  John Levon  <levon@movementarian.org>
3308
3309         * ToolbarBackend.h:
3310         * ToolbarBackend.C:
3311         * Makefile.am: rename, remove defaults gunk
3312
3313         * MenuBackend.h:
3314         * MenuBackend.C: remove defaults gunk
3315
3316         * Languages.h:
3317         * Languages.C: remove defaults gunk
3318
3319         * lyx_main.h:
3320         * lyx_main.C: error out if files couldn't be found.
3321
3322 2003-04-02  John Levon  <levon@movementarian.org>
3323
3324         * text2.C: make incDepth() use parlist
3325
3326 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3327
3328         * undo_funcs.C (firstUndoParagraph): adjust
3329
3330         * text3.C (gotoInset): adjust
3331         (dispatch): adjust, and rewrite loop.
3332
3333         * text2.C (init): adjust, and rewrite loop.
3334         (redoParagraphs): adjust
3335         (updateInset): adjust, and rewrite loop.
3336         (deleteEmptyParagraphMechanism): adjust
3337
3338         * tabular.C (LyXTabular): adjust
3339         (SetMultiColumn): adjust
3340         (TeXRow): adjust
3341
3342         * lyxtext.[Ch] (ownerParagraph): delete function
3343         (ownerParagraphs): new function returns a ParagraphList.
3344
3345         * BufferView.C (removeAutoInsets): adjust
3346         (insertErrors): adjust
3347         (setCursorFromRow): adjust
3348
3349 2003-04-01  Angus Leeming  <leeming@lyx.org>
3350
3351         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3352         in the frontends.
3353
3354 2003-04-02  John Levon  <levon@movementarian.org>
3355
3356         * lyxtext.h:
3357         * text.C:
3358         * Makefile.am:
3359         * text_funcs.h:
3360         * text_funcs.C: make transposeChars a free function
3361
3362         * lyxrow_funcs.C: remove wrong comment
3363
3364 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3365
3366         * lyxtext.h: adjust
3367         * rowpainter.C: adjust
3368         * text.C: adjust
3369         * text2.C: adjust
3370         * text3.C: adjust
3371
3372         * lyxrow_funcs. [Ch]: new files
3373
3374         * lyxrow.[Ch]: remove next and previous pointers
3375         (next,previous): remove accessor functions
3376         (isParEnd): move to lyxrow_funcs
3377         (lastPos): move to lyxrow_funcs
3378         (nextRowIsAllInset): move to lyxrow_funcs
3379         (lastPrintablePos): move to lyxrow_funcs
3380         (numberOfSeparators): move to lyxrow_funcs
3381         (numberOfHfills): move to lyxrow_funcs
3382         (numberOfLabelHfills): move to lyxrow_funcs
3383         (hfillExpansion): move to lyxrow_funcs
3384
3385         * lyxfunc.C: adjust
3386
3387         * bufferview_funcs.C (toggleAndShow): adjust
3388
3389         * RowList.h: Remove class RowList from file leave just a
3390         std::list<Row>.
3391
3392         * RowList.C: delete file
3393
3394         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3395         and lyxrow_funcs.h
3396
3397 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3398
3399         * text3.C (cursorPrevious): adjust
3400         (cursorNext): adjust
3401         (dispatch): adjust
3402
3403         * text2.C (redoHeightOfParagraph): adjust
3404         (redoDrawingOfParagraph): adjust
3405         (setCursor): adjust
3406
3407         * text.C (breakParagraph): adjust
3408         (insertChar): adjust
3409         (backspace): adjust
3410
3411         * rowpainter.C (RowPainter): adjust
3412         (leftMargin): simplify and adjust
3413         (most rowpainter functions): adjust.
3414
3415         * rowpainter.h: store the row as RowList::iterator not as Row*
3416
3417         * lyxcursor.C (row): taka RowList::iterator as arg
3418         (irow): ditto
3419
3420         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3421         of Row*.
3422
3423 2003-04-01  Angus Leeming  <leeming@lyx.org>
3424
3425         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3426         stuff like bool Bool.
3427
3428 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3429
3430         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3431         rewrite a loop
3432
3433 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3436         RowList::iterator.
3437
3438         * lyxtext.h (rows): drop one version and leve a const variant that
3439         returns a RowList::iterator.
3440
3441 2003-03-31  Angus Leeming  <leeming@lyx.org>
3442
3443         * text.C (fill): ensure that the signature is the same as that in the
3444         header file.
3445
3446 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3447
3448         * text2.C (redoParagraphs): adjust
3449         (updateCounters): adjust
3450         (checkParagraph): adjust
3451         (getColumnNearX): adjust and reformat a bit.
3452
3453         * text.C (top_y): adjust
3454         (workWidth): adjust
3455         (leftMargin): adjust
3456         (prepareToPrint): adjust
3457         (getRow): adjust
3458         (getRowNearY): adjust
3459
3460         * lyxtext.h: make rowlist_ mutable.
3461
3462         * RowList.h: add const_iterator
3463         * RowList.C: adjust for RowList::const_iterator.
3464
3465         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3466         adjust.
3467
3468 2003-03-31  John Levon  <levon@movementarian.org>
3469
3470         * lyxrc.h:
3471         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3472
3473         * lyx_main.C: set default fonts from using lyx_gui funcs
3474
3475         * exporter.C: pdf_mode moved from lyxrc
3476
3477         * lyx_cb.C:
3478         * lyxfunc.C: changes from above
3479
3480 2003-03-31  John Levon  <levon@movementarian.org>
3481
3482         * lyx_main.C: fix to the last fix
3483
3484 2003-03-31  John Levon  <levon@movementarian.org>
3485
3486         * bufferlist.C: "Load original" -> "Load Original"
3487
3488         * converter.C:
3489         * exporter.C:
3490         * importer.C:
3491         * lyx_main.C:
3492         * format.C: more Alert cleanups
3493
3494 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3495
3496         * text2.C (removeParagraph): make it take a RowList::iterator as
3497         arg, adjust.
3498         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3499         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3500
3501         * text.C (anchor_row): make it take a RowList::iterator as arg,
3502         adjust.
3503         (computeBidiTables): make it take a const reference to Row instead
3504         of Row pointer, adjust.
3505         (leftMargin): make it take a RowList::iterator as arg, adjust.
3506         (rowBreakPoint): adjust
3507         (breakAgainOneRow): make it take a RowList::iterator as arg,
3508         adjust.
3509         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3510
3511         * bufferview_funcs.C (toggleAndShow): adjust
3512
3513 2003-03-30  John Levon  <levon@movementarian.org>
3514
3515         * Makefile.am:
3516         * BoostFormat.h:
3517         * boost-inst.C: moved to support
3518
3519         * several files: changes as a result
3520
3521 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3522
3523         * text2.C (LyXText): adjust.
3524         (init): adjust
3525         (removeRow): make it take a RowList::iterator as arg, adjust.
3526         (fullRebreak): adjust
3527         (deleteEmptyParagraphMechanism): adjust
3528         (clearPaint): adjust
3529         (postPaint): adjust
3530
3531         * text.C (top_y): adjust
3532         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3533         (breakAgain): make it take a RowList::iterator as arg, adjust.
3534         (breakParagraph): adjust
3535         (insertChar): adjust
3536         (backspace): adjust
3537
3538         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3539         need_break_row, and refresh_row.
3540
3541         * text3.C (dispatch): adjust
3542
3543         * text2.C (checkParagraph): adjust
3544         (setCursor): adjust
3545         (setCursorFromCoordinates): adjust
3546
3547         * text.C (top_y): adjust
3548         (workWidth): adjust
3549         (getRow): make it return a RowList::iterator, adjust
3550         (getRowNearY): make it return a RowList::iterator, adjust
3551
3552         * text2.C (init): adjust
3553         (insertRow): remove function
3554         (insertParagraph): adjust
3555         (redoParagraphs): adjust
3556         (fullRebreak): adjust
3557         (updateCounters): adjust
3558
3559         * text.C (top_y): rewrite to use RowList iterators.
3560         (top_y): adjust
3561         (setHeightOfRow): rewrite to sue RowList iterators.
3562         (appendParagraph): adjust
3563         (breakAgain): adjust
3564         (breakAgainOneRow): adjust
3565         (breakParagraph): adjust
3566         (getRow): adjust
3567         (getRowNearY): adjust, and remove commented code.
3568
3569         * lyxtext.h (firstRow): delete function
3570         (lastRow): delete function
3571         (rows): new function (const and non-const versions.)
3572         (insertRow): delete function
3573
3574         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3575
3576 2003-03-29  John Levon  <levon@movementarian.org>
3577
3578         * BufferView_pimpl.C: always update scrollbar top
3579         because pasting text when we're anchored could mean we
3580         miss an update altogether
3581
3582 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3583
3584         * text2.C (init): use rowlist_.end() and not 0.
3585         (insertRow): change to take a RowList::iterator as arg, adjust
3586         for this.
3587         (insertParagraph): change to take a RowList::iterator as arg,
3588         adjust for this.
3589         (redoParagraphs): remove some debug msgs.
3590
3591         * text.C (appendParagraph): change to take a RowList::iterator
3592         arg, adjust for this.
3593         (breakAgain): add an assert
3594         (breakAgainOneRow): ditto
3595
3596 2003-03-29  John Levon  <levon@movementarian.org>
3597
3598         * text2.C: do not clear selection after inc/decDepth
3599         (bug 550)
3600
3601 2003-03-29  John Levon  <levon@movementarian.org>
3602
3603         * BufferView.C:
3604         * buffer.C: fix broken strerrors according to Lars
3605
3606 2003-03-29  John Levon  <levon@movementarian.org>
3607
3608         * converters.C: more Alert cleanups
3609
3610 2003-03-29  John Levon  <levon@movementarian.org>
3611
3612         * bufferview_funcs.C: remove pointless Alert
3613
3614         * buffer.C: fix confusing error message when
3615         a template is chmoded 000
3616
3617 2003-03-29  John Levon  <levon@movementarian.org>
3618
3619         * BufferView.C:
3620         * BufferView.h:
3621         * BufferView_pimpl.C: Alert fixes
3622
3623         * Makefile.am:
3624         * tabular.C:
3625         * tabular-old.C: remove unused table compat reading
3626
3627 2003-03-29  John Levon  <levon@movementarian.org>
3628
3629         * BufferView.C:
3630         * buffer.C:
3631         * lyx_cb.h:
3632         * lyx_cb.C: more Alert cleanups
3633
3634         * lyxfunc.C: don't allow chktex if not latex document
3635
3636 2003-03-29  John Levon  <levon@movementarian.org>
3637
3638         * lyx_cb.C:
3639         * BufferView.C:
3640         * buffer.C: warnings pushed down from support/,
3641         kill err_alert
3642
3643 2003-03-29  John Levon  <levon@movementarian.org>
3644
3645         * lyxfunc.C: safety check for C-r (revert)
3646
3647 2003-03-29  John Levon  <levon@movementarian.org>
3648
3649         * bufferlist.h:
3650         * bufferlist.C: several UI fixes using Alert::prompt.
3651         Fix the pointless looping quit code. Fix stupid revert
3652         behaviour (bug 938)
3653
3654         * lyxvc.h:
3655         * lyxvc.C:
3656         * lyx_cb.C: use Alert::prompt
3657
3658         * lyx_main.C: remove a silly question
3659
3660         * lyxfunc.C: remove a couple of silly questions,
3661         use Alert::prompt
3662
3663 2003-03-28  John Levon  <levon@movementarian.org>
3664
3665         * text2.C: fix bug 974 (End on empty par)
3666
3667 2003-03-28  John Levon  <levon@movementarian.org>
3668
3669         * BufferView_pimpl.C:
3670         * LyXAction.C:
3671         * lfuns.h: remove do-nothing math greek lfuns
3672
3673 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3674
3675         * lyxgluelength.h (isValidGlueLength): add default arg on
3676         parameter 2. Remove default arg from friend in class.
3677
3678         * lyxlength.h (isValidLength): add default arg on parameter 2.
3679         Remove default arg from friend in class.
3680
3681         * text2.C (LyXText): adjust, initialize refresh_row.
3682         (init): adjust
3683         (removeRow): adjust
3684         (insertRow): adjust
3685         (insertParagraph): adjst
3686         (redoParagraphs): adjust
3687         (fullRebreak): adjust
3688         (updateCounters): adjust
3689         (deleteEmptyParagraphMechanism): first attempt at fixing a
3690         crashing bug.
3691
3692         * text.C (top_y): adjust
3693         (setHeightOfRow): adjust
3694         (getRow): adjust
3695         (getRowNearY): adjust
3696
3697         * lyxtext.h: include RowList.h
3698         (~LyXText): not needed anymore, deleted.
3699         (firstRow): modify for RowList
3700         (lastRow): new function
3701         Delete firstrow and lastrow class variables, add a Rowlist
3702         rowlist_ class variable.
3703
3704         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3705         paragraph is empty.
3706
3707         * RowList.C (insert): fix case where it == begin().
3708
3709 2003-03-26  Angus Leeming  <leeming@lyx.org>
3710
3711         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3712         the thesaurus dialog.
3713
3714 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3715
3716         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3717
3718         * RowList.[Ch]: new files
3719
3720         * ParagraphList.C (erase): handle the case where it == begin
3721         correctly.
3722
3723 2003-03-25  John Levon  <levon@movementarian.org>
3724
3725         * Makefile.am:
3726         * aspell_local.h:
3727         * aspell.C: add new aspell support
3728
3729         * lyxrc.h:
3730         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3731         have it accessible.
3732
3733 2003-03-25  Angus Leeming  <leeming@lyx.org>
3734
3735         * lfuns.h:
3736         * LyXAction.C (init): new LFUN_INSET_INSERT.
3737
3738         * BufferView_pimpl.C (dispatch): split out part of the
3739         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3740
3741         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3742         LFUN_INSET_APPLY.
3743
3744 2003-03-25  Angus Leeming  <leeming@lyx.org>
3745
3746         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3747
3748 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3749
3750         * text2.C:
3751         * text3.C: remove useless row->height(0)
3752
3753 2003-03-25  John Levon  <levon@movementarian.org>
3754
3755         * lyxtext.h:
3756         * text2.C:
3757         * text3.C: rename the refreshing stuff to better names
3758
3759 2003-03-24  John Levon  <levon@movementarian.org>
3760
3761         * BufferView_pimpl.h:
3762         * BufferView_pimpl.C: update layout choice on a mouse
3763         press/release
3764
3765 2003-03-23  John Levon  <levon@movementarian.org>
3766
3767         * Makefile.am: fix commandtags.h reference
3768
3769 2003-03-22  John Levon  <levon@movementarian.org>
3770
3771         * BufferView_pimpl.C:
3772         * lyxtext.h:
3773         * rowpainter.C:
3774         * rowpainter.h:
3775         * text.C:
3776         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3777
3778 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3779
3780         * lyxtext.h:
3781         * text.C: take the rtl methods out of line
3782
3783 2003-03-21 André Pönitz <poenitz@gmx.net>
3784
3785         * metricsinfo.[Ch]: new files containing structures to be passed around
3786         during the two-phase-drawing...
3787
3788 2003-03-21 André Pönitz <poenitz@gmx.net>
3789
3790         * lyxtextclass.C: read 'environment' tag.
3791
3792 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3793
3794         * text2.C (removeRow): fix bug 964
3795
3796 2003-03-20  John Levon  <levon@movementarian.org>
3797
3798         * rowpainter.C:
3799         * text.C:
3800         * text2.C: paint cleanups. Inset::update() dropped font
3801         parameter
3802
3803 2003-03-19  John Levon  <levon@movementarian.org>
3804
3805         * lyxfunc.C: only fitcursor/markDirty if available()
3806
3807 2003-03-19  John Levon  <levon@movementarian.org>
3808
3809         * commandtags.h: rename to ...
3810
3811         * lfuns.h: ... this, and renumber / cleanup
3812
3813 2003-03-19  John Levon  <levon@movementarian.org>
3814
3815         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3816         fit the cursor after an lfun
3817
3818         * BufferView.h:
3819         * BufferView.C:
3820         * BufferView_pimpl.h:
3821         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3822
3823         * LyXAction.C: layout-character should have ReadOnly
3824
3825         * ParagraphParameters.C:
3826         * buffer.C:
3827         * bufferview_funcs.C:
3828         * lyx_cb.C:
3829         * lyxfind.C:
3830         * lyxtext.h:
3831         * text.C:
3832         * text2.C:
3833         * text3.C:
3834         * undo_funcs.C: changes from above
3835
3836 2003-03-18  John Levon  <levon@movementarian.org>
3837
3838         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3839         remove it from update()
3840
3841         * lyxfunc.C: update layout choice after an lfun
3842
3843         * text3.C: remove extra updateLayoutChoice()s
3844
3845 2003-03-18  John Levon  <levon@movementarian.org>
3846
3847         * text.C: top_y change means full repaint, fix
3848         a drawing bug with cursor movement
3849
3850 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3851
3852         * lyxtext.h:
3853         * text.C:
3854         * text2.C: anchor row on setCursor
3855
3856 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3857
3858         * lyxtext.h: remove almost all mutable keywords
3859         * text.C:
3860         * text2.C:
3861         * text3.C: remove const keywords accordingly
3862
3863 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3864
3865         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3866         anon namespace
3867         (TeXEnvironment): ditto
3868         (TeXOnePar): ditto
3869
3870 2003-03-17  John Levon  <levon@movementarian.org>
3871
3872         * text.C (rowBreakPoint): remove attempt to fix displayed
3873         math insets inside a manual label
3874
3875 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3876
3877         * lyxtext.h: remove BufferView* as first arg from almost all class
3878         functions.
3879         * other files: adjust.
3880
3881 2003-03-17  John Levon  <levon@movementarian.org>
3882
3883         * lyxtext.h:
3884         * undo_funcs.C:
3885         * text2.C: more paint cleanups
3886
3887         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3888
3889         * rowpainter.h:
3890         * rowpainter.C: remove "smart" background painting code
3891
3892 2003-03-16  John Levon  <levon@movementarian.org>
3893
3894         * lyxtext.h:
3895         * text.C:
3896         * text2.C:
3897         * text3.C: add helper functions for setting refresh_row/y
3898
3899 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3900
3901         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3902         newline inset which *can* get inserted in the pass_thru layouts.
3903         This is primarily for literate documents.
3904
3905 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3906
3907         * buffer.C: increment LYX_FORMAT to 223
3908
3909 2003-03-14 André Pönitz <poenitz@gmx.net>
3910
3911         * textclass.h: prepare for environment handling, ws changes
3912         * lyxlayout.C: read latexheader and latexfooter tags
3913
3914 2003-03-14  John Levon  <levon@movementarian.org>
3915
3916         * text2.C: rewrite ::status() a bit
3917
3918 2003-03-13  John Levon  <levon@movementarian.org>
3919
3920         * lyxtext.h: add some docs
3921
3922 2003-03-13  John Levon  <levon@movementarian.org>
3923
3924         * lyxtext.h:
3925         * text.C:
3926         * text2.C:
3927         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3928
3929 2003-03-13  John Levon  <levon@movementarian.org>
3930
3931         * text3.C: fix appendix redrawing
3932
3933 2003-03-13  John Levon  <levon@movementarian.org>
3934
3935         * text.C (setHeightOfRow):
3936         * rowpainter.h:
3937         * rowpainter.C: make appendix mark have the text
3938           "Appendix" so the user knows what it is
3939
3940         * LColor.h:
3941         * LColor.C: s/appendixline/appendix/ from above
3942
3943 2003-03-13  John Levon  <levon@movementarian.org>
3944
3945         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3946
3947         * text.C: fix a getChar(pos) bug properly
3948
3949 2003-03-13  Angus Leeming  <leeming@lyx.org>
3950
3951         * commandtags.h:
3952         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3953         Probably only temporary. Let's see how things pan out.
3954
3955         * BufferView.C (unlockInset):
3956         * BufferView_pimpl.C (fitCursor):
3957         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3958
3959         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3960         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3961
3962         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3963         new functions that convert ParagraphParameters to and from a string.
3964
3965         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3966         BufferView::Pimpl's dispatch.
3967         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3968
3969 2003-03-13 André Pönitz <poenitz@gmx.net>
3970
3971         * lyxfunc.C:
3972         * text3.C:
3973         * factory.C: make it aware of InsetEnv
3974
3975 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3976
3977         * text2.C (setCursor): never ask for one past last
3978         (setCursor): add some debugging messages.
3979
3980         * text.C (singleWidth): never ask for one past last
3981         (singleWidth): ditto
3982         (leftMargin): ditto
3983         (rightMargin): ditto
3984         (rowBreakPoint): ditto
3985         (setHeightOfRow): ditto
3986         (prepareToPrint): ditto
3987
3988         * rowpainter.C (paintBackground): never ask for one past last
3989         (paintText): never ask for one past last
3990
3991         * paragraph_pimpl.C (getChar): make the assert stricter, never
3992         allow the one past last pos to be taken
3993
3994         * paragraph.C (getChar): ws changes only
3995
3996         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3997         (numberOfSeparators): ditto
3998         (numberOfHfills): ditto
3999
4000 2003-03-12  John Levon  <levon@movementarian.org>
4001
4002         * author.h:
4003         * author.C:
4004         * bufferparams.h:
4005         * bufferparams.C:
4006         * paragraph_funcs.C: fix per-buffer authorlists
4007
4008 2003-03-12  John Levon  <levon@movementarian.org>
4009
4010         * text.C: fix newline in right address
4011
4012 2003-03-12  Angus Leeming  <leeming@lyx.org>
4013
4014         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4015         duplicate those in LyXFunc::dispatch.
4016
4017         * commandtags.h:
4018         * LyXAction.C:
4019         * ToolbarDefaults.C:
4020         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4021         Add LFUN_FONTFREE_UPDATE.
4022
4023         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4024         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4025
4026         * bufferview_func.[Ch]: several new functions to facilliate
4027         transfer of data to and from the character dialog.
4028
4029 2003-03-12  John Levon  <levon@movementarian.org>
4030
4031         * buffer.C:
4032         * paragraph.h:
4033         * paragraph.C:
4034         * paragraph_funcs.C:
4035         * paragraph_pimpl.C:
4036         * sgml.C:
4037         * tabular.C:
4038         * text.C:
4039         * text3.C: remove META_NEWLINE in favour of an inset
4040
4041         * rowpainter.h:
4042         * rowpainter.C: remove paintNewline (done by inset)
4043
4044 2003-03-12  John Levon  <levon@movementarian.org>
4045
4046         * paragraph_pimpl.C: complain about bad getChar()s
4047         for a while at least
4048
4049 2003-03-12  John Levon  <levon@movementarian.org>
4050
4051         * buffer.h:
4052         * buffer.C: move paragraph read into a separate function,
4053         a little renaming to reflect that.
4054
4055         * bufferparams.h:
4056         * bufferparams.C: remove the author_ids map, not necessary now
4057
4058         * factory.h:
4059         * factory.C: moved Buffer::readInset to here
4060
4061         * paragraph_funcs.h:
4062         * paragraph_funcs.C: readParagraph free function moved from
4063         buffer.C
4064
4065         * tabular.C: name change
4066
4067 2003-03-12  John Levon  <levon@movementarian.org>
4068
4069         * buffer.C:
4070         * ParagraphParameters.C: move par params input to
4071         a read() method
4072
4073         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4074         behave like a normal read from the stream wrt reading
4075         a line vs. a \\token
4076
4077 2003-03-12  John Levon  <levon@movementarian.org>
4078
4079         * paragraph.C:
4080         * ParagraphParameters.h:
4081         * ParagraphParameters.C: move output code to a
4082         ::write() method
4083
4084 2003-03-12  John Levon  <levon@movementarian.org>
4085
4086         * BufferView.C (insertLyXFile):
4087         * buffer.h:
4088         * buffer.C:
4089         * tabular.C: use a parlist iterator for creating the
4090           document.
4091
4092 2003-03-12  John Levon  <levon@movementarian.org>
4093
4094         * buffer.C: make current_change static local not
4095           static file-scope
4096
4097 2003-03-12  John Levon  <levon@movementarian.org>
4098
4099         * buffer.C: fix insertStringAsLines for change tracking
4100
4101 2003-03-12  John Levon  <levon@movementarian.org>
4102
4103         * BufferView.C:
4104         * tabular.C:
4105         * buffer.h:
4106         * buffer.C:
4107         * bufferparams.h:
4108         * bufferparams.C: move author list into params. Rename some
4109           functions. Move the header reading into a separate token
4110           loop. Move the header token reading into BufferParams.
4111
4112 2003-03-12  John Levon  <levon@movementarian.org>
4113
4114         * changes.C: put debug inside lyxerr.debugging() checks
4115
4116 2003-03-11 André Pönitz <poenitz@gmx.net>
4117
4118         * factory.C: make it aware of InsetHFill
4119
4120 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4121
4122         * buffer.C (latexParagraphs): move function from here...
4123         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4124         args.
4125
4126 2003-03-10  Angus Leeming  <leeming@lyx.org>
4127
4128         * LyXAction.C (init): fix bug in poplating array with multiple entries
4129         with the same LFUN (spotted by JMarc).
4130
4131 2003-03-10  John Levon  <levon@movementarian.org>
4132
4133         * text.C:
4134         * text2.C: move getColumnNearX() near its
4135         only call site
4136
4137 2003-03-10  John Levon  <levon@movementarian.org>
4138
4139         * text.C: fix break before a minipage
4140
4141 2003-03-10  John Levon  <levon@movementarian.org>
4142
4143         * text.C: fix the last commit
4144
4145 2003-03-09  John Levon  <levon@movementarian.org>
4146
4147         * lyxtext.h:
4148         * text.C:
4149         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4150         bug 365 (don't break before insets unless needed). Don't
4151         return a value > last under any circumstances.
4152
4153 2003-03-09  Angus Leeming  <leeming@lyx.org>
4154
4155         * BufferView_pimpl.C (trackChanges, dispatch): call
4156         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4157
4158 2003-03-09  Angus Leeming  <leeming@lyx.org>
4159
4160         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4161         than Dialogs::showAboutlyx().
4162
4163 2003-03-09  Angus Leeming  <leeming@lyx.org>
4164
4165         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4166         than Dialogs::showTabularCreate().
4167
4168 2003-03-09  John Levon  <levon@movementarian.org>
4169
4170         * lyxtext.h:
4171         * text.C:
4172         * text2.C: 3rd arg to nextBreakPoint was always the same.
4173           Use references.
4174
4175 2003-03-08  John Levon  <levon@movementarian.org>
4176
4177         * lyxrow.C:
4178         * paragraph.C:
4179         * paragraph.h:
4180         * rowpainter.C:
4181         * text.C:
4182         * text2.C: Remove the "main" bit from the "main body"
4183           notion.
4184
4185 2003-03-08  John Levon  <levon@movementarian.org>
4186
4187         * text.C (leftMargin): The left margin of an empty
4188         manual label paragraph should not include the label width
4189         string length.
4190
4191         * text.C (prepareToPrint): don't attempt to measure hfills
4192         for empty manual label paragraphs - the answer should be 0
4193
4194 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4195
4196         * CutAndPaste.C: remove commented code and reindent.
4197
4198 2003-03-08  John Levon  <levon@movementarian.org>
4199
4200         * lyxfunc.h:
4201         * lyxfunc.C: move reloadBuffer()
4202
4203         * BufferView.h:
4204         * BufferView.C: to here
4205
4206         * lyxvc.C: add comment
4207
4208         * vc-backend.h:
4209         * vc-backend.C: call bv->reload() to avoid
4210           getStatus() check on MENURELOAD
4211
4212 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4213
4214         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4215         to an old format .dep file.
4216
4217 2003-03-07  Angus Leeming  <leeming@lyx.org>
4218
4219         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4220         when the LFUN_MOUSE_RELEASE should have been handled by
4221         inset->localDispatch.
4222
4223 2003-03-07  Angus Leeming  <leeming@lyx.org>
4224
4225         * BufferView_pimpl.C (dispatch):
4226         * LyXAction.C (init):
4227         * ToolbarDefaults.C (init):
4228         * commandtags.h:
4229         * lyxfunc.C (getStatus):
4230         remove LFUN_INSET_GRAPHICS.
4231
4232         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4233
4234 2003-03-07  Angus Leeming  <leeming@lyx.org>
4235
4236         * commandtags.h:
4237         * LyXAction.C (init):
4238         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4239
4240         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4241
4242         * commandtags.h:
4243         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4244
4245         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4246         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4247
4248 2003-03-07  Angus Leeming  <leeming@lyx.org>
4249
4250         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4251         remove "ert".
4252
4253 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4254
4255         * ParagraphList.C (front): new function
4256         (back): implement
4257
4258 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4259
4260         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4261         and top_row_offset_. removed var first_y.
4262         * text.C (top_y):
4263         * text2.C (LyXText, removeRow):
4264         * text3.C:
4265         * BufferView_pimpl.C:
4266         use these methods instead of using first_y
4267
4268 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4269
4270         * text2.C (pasteSelection): adjust for checkPastePossible
4271
4272         * CutAndPaste.C: remove Paragraph * buf and replace with
4273         ParagraphList paragraphs.
4274         (DeleteBuffer): delete
4275         (cutSelection): change the tc type to textclass_type
4276         (copySelection): change the tc type to textclass_type
4277         (copySelection): adjust for ParagraphList
4278         (pasteSelection): change the tc type to textclass_type
4279         (pasteSelection): adjust for Paragraphlist
4280         (nrOfParagraphs): simplify for ParagraphList
4281         (checkPastePossible): simplify for ParagraphList
4282         (checkPastePossible): remove unused arg
4283
4284         * ParagraphList.C (insert): handle the case where there are no
4285         paragraphs yet.
4286
4287         * CutAndPaste.h: make CutAndPaste a namespace.
4288
4289         * text3.C (dispatch): adjust
4290
4291         * text.C (breakParagraph): add a ParagraphList as arg
4292
4293         * paragraph_funcs.C (breakParagraph): change to take a
4294         BufferParams and a ParagraphList as args.
4295         (breakParagraphConservative): ditto
4296         (mergeParagraph): ditto
4297         (TeXDeeper): add a ParagraphList arg
4298         (TeXEnvironment): ditto
4299         (TeXOnePar): ditto
4300
4301         * buffer.C (readLyXformat2): adjust
4302         (insertStringAsLines): adjust
4303         (latexParagraphs): adjust
4304
4305         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4306         (cutSelection): adjust
4307         (pasteSelection): adjust
4308
4309         * BufferView_pimpl.C (insertInset): adjust
4310
4311 2003-03-05  Angus Leeming  <leeming@lyx.org>
4312
4313         * commandtags.h:
4314         * LyXAction.C (init):
4315         * BufferView_pimpl.C (dispatch):
4316         * lyxfunc.C (getStatus):
4317         remove LFUN_CHILD_INSERT.
4318
4319         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4320
4321 2003-03-05  Angus Leeming  <leeming@lyx.org>
4322
4323         * commandtags.h:
4324         * LyXAction.C (init):
4325         * src/factory.C (createInset):
4326         * lyxfunc.C (getStatus):
4327         * text3.C (dispatch):
4328         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4329
4330         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4331
4332 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4333
4334         * ParagraphList.C (insert): handle insert right before end()
4335         (erase): fix cases where it can be first or last paragraph.
4336
4337 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4340         Paragraph::next and Paragraph::previous
4341         (TeXOnePar): ditto
4342
4343         * text.C (breakParagraph): adjust
4344
4345         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4346         BufferParams& as arg.
4347         (breakParagraph): use ParagraphList::insert
4348         (breakParagraphConservative): take a Buffer* instead of a
4349         BufferParams& as arg.
4350         (breakParagraphConservative): use ParagraphList::insert.
4351
4352         * buffer.C (insertStringAsLines): un-const it
4353         (insertStringAsLines): adjust
4354
4355         * ParagraphList.C (insert): new function
4356
4357         * CutAndPaste.C (pasteSelection): adjust
4358
4359         * text.C (backspace): adjust
4360
4361         * tabular.C (SetMultiColumn): adjust
4362
4363         * CutAndPaste.C (cutSelection): adjust
4364         (pasteSelection): adjust
4365
4366         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4367         Buffer const * as arg
4368
4369         * ParagraphList.C (erase): new function
4370         * paragraph_funcs.C (mergeParagraph): use it
4371         (mergeParagraph): make it take a Buffer* instead of a
4372         BufferParams* as arg
4373
4374         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4375         as arg
4376         (breakParagraphConservative): ditto
4377
4378         * paragraph.h: remove the breakParagraph friend
4379
4380         * paragraph.C (eraseIntern): new function
4381         (setChange): new function
4382
4383         * paragraph_funcs.C (mergeParagraph): make it take a
4384         ParagraphList::iterator instead of a Paragraph *, adjust
4385         accordingly.
4386
4387         * paragraph.h: move an #endif so that the change tracking stuff
4388         also works in the NO_NEXT case.
4389
4390 2003-03-04  Angus Leeming  <leeming@lyx.org>
4391
4392         * commandtags.h:
4393         * LyXAction.C: new LFUN_INSET_MODIFY.
4394
4395         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4396         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4397
4398 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4399
4400         * several files: ws changes only
4401
4402         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4403         (TeXEnvironment): ditto
4404         (TeXDeeper): ditto
4405
4406         * buffer.C (makeLaTeXFile): adjust
4407         (latexParagraphs): make it take ParagraphList::iterator as args
4408
4409 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4410
4411         * buffer.C (latexParagraphs): adjust
4412
4413         * paragraph.C (TeXOnePar): move function...
4414         (optArgInset): move function...
4415         (TeXEnvironment): move function...
4416         * paragraph_pimpl.C (TeXDeeper): move function...
4417         * paragraph_funcs.C: ...here
4418
4419         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4420
4421 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4422
4423         * buffer.C (readInset): remove compability code for old Figure and
4424         InsetInfo insets
4425
4426 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4427
4428         * buffer.C: ws changes
4429         (readInset):
4430
4431         * BufferView_pimpl.C: ditto
4432         * author.C: ditto
4433         * buffer.h: ditto
4434         * bufferlist.h: ditto
4435         * changes.h: ditto
4436         * lyxfunc.C: ditto
4437
4438 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4439
4440         * converter.[Ch]: split into itself +
4441         * graph.[Ch]
4442         * format.[Ch]
4443         * Makefile.am: += graph.[Ch] + format.[Ch]
4444         * MenuBackend.C
4445         * buffer.C
4446         * exporter.C
4447         * importer.C
4448         * lyx_main.C
4449         * lyxfunc.C
4450         * lyxrc.C: added #include "format.h"
4451
4452 2003-02-27  Angus Leeming  <leeming@lyx.org>
4453
4454         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4455           a label.
4456
4457         * factory.C (createInset): add "label" to the factory.
4458
4459         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4460           string and do no more.
4461
4462 2003-02-27  Angus Leeming  <leeming@lyx.org>
4463
4464         * commandtags.h:
4465         * LyXAction.C (init):
4466         * factory.C (createInset):
4467         * BufferView_pimpl.C (dispatch):
4468           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4469
4470         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4471
4472         * lyxfunc.C (dispatch):
4473         * text3.C (dispatch): pass name to params2string.
4474
4475 2003-02-26  Angus Leeming  <leeming@lyx.org>
4476
4477         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4478           blocks together.
4479           Rearrange the ~includes. Strip out the unnecessary ones.
4480
4481         * factory.C (createInset): reformat.
4482           create new insets for the various LFUN_XYZ_APPLY lfuns.
4483
4484 2003-02-26  John Levon  <levon@movementarian.org>
4485
4486         * lyxrow.h:
4487         * lyxrow.C: add isParStart,isParEnd helpers
4488
4489         * paragraph.h: make isInserted/DeletedText take refs
4490
4491         * paragraph_funcs.h:
4492         * paragraph_funcs.C: remove #if 0'd code
4493
4494         * lyxtext.h:
4495         * text3.C:
4496         * text2.C:
4497         * text.C: use lyxrow helpers above.
4498           Move draw and paint routines to RowPainter.
4499           Make several methods use refs not pointers.
4500           Make backgroundColor() const.
4501           Add markChangeInDraw(), isInInset().
4502           Merge changeRegionCase into changeCase.
4503           Make workWidth() shouldn't-happen code into an Assert.
4504
4505         * rowpainter.h:
4506         * rowpainter.C: new class for painting a row.
4507
4508         * vspace.h:
4509         * vspace.C: make inPixels take a ref
4510
4511 2003-02-26  Angus Leeming  <leeming@lyx.org>
4512
4513         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4514         LFUN_REF_APPLY.
4515
4516 2003-02-25  John Levon  <levon@movementarian.org>
4517
4518         * ispell.C: give the forked command a more accurate name
4519
4520 2003-02-22  John Levon  <levon@movementarian.org>
4521
4522         * toc.h:
4523         * toc.C: make TocItem store an id not a Paragraph *
4524           (bug #913)
4525
4526 2003-02-21  Angus Leeming  <leeming@lyx.org>
4527
4528         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4529           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4530           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4531           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4532           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4533           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4534
4535         * BufferView_pimpl.C (dispatch):
4536         * LyXAction.C (init):
4537         * factory.C (createInset):
4538         * lyxfunc.C (getStatus, dispatch):
4539         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4540
4541 2003-02-21  Angus Leeming  <leeming@lyx.org>
4542
4543         * BufferView_pimpl.C (MenuInsertLyXFile):
4544         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4545         * lyxfunc.C (menuNew, open, doImport):
4546           no longer pass a LyXView & to fileDlg.
4547
4548 2003-02-21  Angus Leeming  <leeming@lyx.org>
4549
4550         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4551         * LyXAction.C: change, BIBKEY to BIBITEM.
4552         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4553         Change InsetBibKey to InsetBibitem.
4554         Change BIBKEY_CODE to BIBITEM_CODE.
4555         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4556         * factory.C: replace insetbib.h with insetbibitem.h.
4557         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4558         * paragraph.C: replace insetbib.h with insetbibitem.h.
4559         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4560         Change bibkey() to bibitem().
4561         * text.C: remove insetbib.h.
4562         * text2.C: replace insetbib.h with insetbibitem.h.
4563         change bibkey() to bibitem().
4564         * text3.C: remove insetbib.h.
4565         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4566
4567 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4568
4569         * lyxrc.C (output): enclose user email in quotes (in case there are
4570         several words)
4571
4572 2003-02-18  John Levon  <levon@movementarian.org>
4573
4574         * buffer.h: add std::
4575
4576 2003-02-17  John Levon  <levon@movementarian.org>
4577
4578         * SpellBase.h:
4579         * ispell.h:
4580         * ispell.C:
4581         * pspell.h:
4582         * pspell.C: reworking. Especially in ispell, a large
4583           number of clean ups and bug fixes.
4584
4585         * lyxfunc.C: fix revert to behave sensibly
4586
4587 2003-02-17 André Pönitz <poenitz@gmx.net>
4588
4589         * LyXAction.C:
4590         * commandtags.h: new LFUN_INSERT_BIBKEY
4591
4592         * layout.h:
4593         * lyxlayout.C:
4594         * buffer.C:
4595         * factory.C:
4596         * text.C:
4597         * text2.C:
4598         * text3.C:
4599         * paragraph.[Ch]:
4600         * paragraph_func.C: remove special bibkey handling
4601
4602 2003-02-17  John Levon  <levon@movementarian.org>
4603
4604         * text.C (Delete): fix case where delete at the end of
4605           the very first paragraph would not merge the pars
4606
4607 2003-02-17  John Levon  <levon@movementarian.org>
4608
4609         * lyxrow.C: fix lastPrintablePos()
4610
4611 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4612
4613         * bufferparams.C (writeLaTeX): add a std:here
4614
4615         * buffer.C: and remove a using directive there
4616
4617 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4618
4619         * buffer.C (makeLaTeXFile): move the code that generates the
4620           preamble...
4621
4622         * bufferparams.C (writeLaTeX): ... in this new method
4623
4624         * LaTeXFeatures.C (getEncodingSet): make const
4625           (getLanguages): make const
4626
4627         * MenuBackend.C (binding): returns the binding associated to this
4628           action
4629           (add): sets the status of each item by calling getStatus. Adds
4630           some intelligence.
4631           (read): add support for OptSubMenu
4632           (expand): remove extra separator at the end of expanded menu
4633
4634 2003-02-15  John Levon  <levon@movementarian.org>
4635
4636         * BufferView.C:
4637         * BufferView_pimpl.C:
4638         * bufferlist.h:
4639         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4640           inset code that had no actual effect. Remove unneeded status
4641           code.
4642
4643 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4644
4645         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4646           in preamble
4647
4648 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4649
4650         * text.C (drawLengthMarker): also draw an arrow marker for
4651           symbolic lengths (medskip...)
4652
4653 2003-02-14  John Levon  <levon@movementarian.org>
4654
4655         * tabular.h:
4656         * tabular.C: better method names
4657
4658 2003-02-14  John Levon  <levon@movementarian.org>
4659
4660         * BufferView_pimpl.C:
4661         * bufferlist.C:
4662         * buffer.C:
4663         * converter.C:
4664         * lyx_cb.C:
4665         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4666           it's a more accurate name. Remove some pointless uses.
4667
4668 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4669
4670         * text2.C (LyXText): change order of initilizers to shut off
4671           warnings
4672
4673 2003-02-14  John Levon  <levon@movementarian.org>
4674
4675         * buffer.C: use ParIterator for getParFromID()
4676
4677         * paragraph.h:
4678         * paragraph.C:
4679         * paragraph_pimpl.h:
4680         * paragraph_pimpl.C: remove unused getParFromID()
4681
4682 2003-02-14  John Levon  <levon@movementarian.org>
4683
4684         * buffer.C: remove some very old #if 0'd parse code
4685
4686 2003-02-13  John Levon  <levon@movementarian.org>
4687
4688         * text.h:
4689         * text.C:
4690         * text2.C: move hfillExpansion(), numberOfSeparators(),
4691           rowLast(), rowLastPrintable(), numberofHfills(),
4692           numberOfLabelHfills() ...
4693
4694         * lyxrow.h:
4695         * lyxrow.C: ... to member functions here.
4696
4697         * paragraph.h:
4698         * paragraph.C:
4699         * lyxtext.h:
4700         * text.C: remove LyXText::beginningOfMainBody(), and call
4701           p->beginningOfMainBody() directly. Move the check for
4702           LABEL_MANUAL into the latter.
4703
4704         * text.h:
4705         * text.C:
4706         * text2.C:
4707         * vspace.C:
4708         * BufferView.h:
4709         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4710
4711         * text.h:
4712         * text.C:
4713         * text2.C:
4714         * text3.C:
4715         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4716           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4717
4718 2003-02-13  John Levon  <levon@movementarian.org>
4719
4720         * CutAndPaste.C: remove debug
4721
4722 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4723
4724         * paragraph.C (asString): remove two unused variables
4725
4726         * lyxtextclass.C (readTitleType):
4727           (Read):
4728           (LyXTextClass): handle new members titletype_ and titlename_
4729
4730         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4731
4732 2003-02-09  John Levon  <levon@movementarian.org>
4733
4734         * buffer.h:
4735         * buffer.C: replace hand-coded list with a map for the dep clean
4736
4737 2003-02-08  John Levon  <levon@movementarian.org>
4738
4739         * LaTeX.C: consolidate code into showRunMessage() helper
4740
4741 2003-02-08  John Levon  <levon@movementarian.org>
4742
4743         * lyxfind.C:
4744         * lyxtext.h:
4745         * text2.C:
4746         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4747           and pass the size in explicitly
4748
4749         * BufferView_pimpl.h:
4750         * BufferView_pimpl.C:
4751         * BufferView.h:
4752         * BufferView.C: add getCurrentChange()
4753
4754         * BufferView_pimpl.h:
4755         * BufferView_pimpl.C: handle change lfuns
4756
4757         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4758           for changes. Mark pasted paragraphs as new.
4759
4760         * support/lyxtime.h:
4761         * support/lyxtime.C:
4762         * DepTable.C: abstract time_t as lyx::time_type
4763
4764         * LColor.h:
4765         * LColor.C: add colours for new text, deleted text, changebars
4766
4767         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4768           package use "usenames" option.
4769
4770         * commandtags.h:
4771         * lyxfunc.C:
4772         * LyXAction.C: add change lfuns
4773
4774         * Makefile.am:
4775         * author.h:
4776         * author.C: author handling
4777
4778         * buffer.h:
4779         * buffer.C: add a per-buffer author list, with first entry as
4780           current author. Handle new .lyx tokens for change tracking. Output
4781           author list to .lyx file. Output dvipost stuff to .tex preamble.
4782           Bump lyx format to 222.
4783
4784         * bufferlist.h:
4785         * bufferlist.C: add setCurrentAuthor() to reset current author details
4786           in all buffers.
4787
4788         * bufferparams.h:
4789         * bufferparams.C: add param for tracking
4790
4791         * bufferview_funcs.C: output change info in minibuffer
4792
4793         * Makefile.am:
4794         * changes.h:
4795         * changes.C: add change-tracking structure
4796
4797         * debug.h:
4798         * debug.C: add CHANGES debug flag
4799
4800         * lyxfind.h:
4801         * lyxfind.C: add code for finding the next change piece
4802
4803         * lyxrc.h:
4804         * lyxrc.C: add user_name and user_email
4805
4806         * lyxrow.h:
4807         * lyxrow.C: add a metric for the top of the text line
4808
4809         * lyxtext.h:
4810         * text.C: implement accept/rejectChange()
4811
4812         * lyxtext.h:
4813         * text.C: paint changebars. Paint new/deleted text in the chosen
4814         colours. Strike through deleted text.
4815
4816         * paragraph.h:
4817         * paragraph.C:
4818         * paragraph_pimpl.h:
4819         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4820           in the current change to the insert functions. Rework erase to
4821           mark text as deleted, adding an eraseIntern() and a range-based
4822           erase(). Implement per-paragraph change lookup and
4823           accept/reject.
4824
4825         * paragraph_funcs.C: Fixup paste for change tracking.
4826
4827         * tabular.C: mark added row/columns as new.
4828
4829         * text.C: fix rowLast() to never return -1. Don't allow
4830           spellchecking of deleted text. Track transpose changes. Don't
4831           allow paragraph break or merge where appropriate.
4832
4833         * text2.C: leave cursor at end of selection after a cut.
4834
4835 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4836
4837         * text.C (getLengthMarkerHeight):
4838         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4839         visible on screen too.
4840
4841 2003-02-07  John Levon  <levon@movementarian.org>
4842
4843         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4844
4845 2003-02-05  Angus Leeming  <leeming@lyx.org>
4846
4847         * lyxserver.C (read_ready): revert my patch of 11 September last year
4848         as it sends PC cpu through the roof. Presumably this means that
4849         the lyxserver will no longer run on an Alpha...
4850
4851 2003-01-30  Angus Leeming  <leeming@lyx.org>
4852
4853         * factory.C (createInset): create an InsetCommandParam of type "index"
4854         and use it to 'do the right thing'.
4855
4856         * text2.C (getStringToIndex): ensure that cursor position is always
4857         reset to the reset_cursor position.
4858
4859 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4860
4861         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4862         disabled.
4863
4864 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4865
4866         * bufferview.C:
4867         * lyxcb.C:
4868         * lyxfunc.C: Output messages with identical spelling, punctuation,
4869         and spaces
4870
4871 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4872
4873         * MenuBackend.C (expandFormats): List only viewable export formats
4874         in "View" menu
4875
4876         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4877         message
4878
4879         * lyxfunc.C (getStatus): Make sure that formats other than
4880         "fax" can also be disabled
4881
4882 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4883
4884         * text3.C (dispatch): put the lfuns that insert insets in 3
4885         groups, and call doInsertInset with appropriate arguments.
4886         (doInsertInset): new function, that creates an inset and inserts
4887         it according to some boolean parameters.
4888
4889 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4890
4891         * buffer.C (readFile): remember to pass on 'par' when calling
4892         readFile recursively.
4893
4894 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4895
4896         * MenuBackend.C (expandFormats): add "..." to import formats.
4897
4898 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4899
4900         * paragraph.C (asString): Remove XForms RTL hacks.
4901
4902 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4903         * buffer.C: fix typo
4904
4905 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4906
4907         * Makefile.am (LIBS): delete var
4908         (lyx_LDADD): add @LIBS@ here instead.
4909
4910 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4911
4912         * Clarify the meaning of "wheel mouse jump"
4913
4914 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4915
4916         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4917         tabular in a float
4918
4919 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4920
4921         * importer.C (Loaders): do not preallocate 3 elements in the
4922         vector, since one ends up with 6 elements otherwise
4923
4924 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4925
4926         * DepTable.C (write): write the file name as last element of the
4927         .dep file (because it may contain spaces)
4928         (read): read info in the right order
4929
4930 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4931
4932         * paragraph_pimpl.C (simpleTeXBlanks):
4933         (simpleTeXSpecialChars):
4934         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4935
4936         * tabular.C (latex): add some missing case statements. Reindent.
4937
4938         * MenuBackend.C (expandToc): remove unused variable.
4939
4940 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4941
4942         * LColor.C:
4943         * LaTeX.C:
4944         * LyXAction.C:
4945         * MenuBackend.C:
4946         * buffer.C:
4947         * exporter.C:
4948         * lyxfunc.C:
4949         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4950         and the like.
4951
4952 2003-01-05  John Levon  <levon@movementarian.org>
4953
4954         * BufferView.h:
4955         * BufferView.C: add getEncoding()
4956
4957         * kbsequence.h:
4958         * kbsequence.C: do not store last keypress
4959
4960         * lyxfunc.h:
4961         * lyxfunc.C: store last keypress here instead. Pass encoding
4962           to getISOEncoded()
4963
4964 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4965
4966         * lyx_main.C (init): remove annoying error message when following
4967         symbolic links (bug #780)
4968
4969 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4970
4971         * text.C (insertChar):
4972         * lyxrc.C (getDescription): remove extra spaces
4973
4974 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4975
4976         * lyxrc.C (getDescription): remove extra spaces
4977
4978 2002-12-20  John Levon  <levon@movementarian.org>
4979
4980         * text3.C: hack fix for page up/down across tall rows
4981
4982 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4983
4984         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4985         not been invoked
4986
4987 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4988
4989         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4990         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4991         thesaurus is not compiled in
4992
4993 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4994
4995         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4996
4997 2002-12-16  Angus Leeming  <leeming@lyx.org>
4998
4999         * lyxrc.[Ch]:
5000         * lyx_main.C (init): remove override_x_deadkeys stuff.
5001
5002 2002-12-12  John Levon  <levon@movementarian.org>
5003
5004         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5005           insert. Only remove shift modifier under strict
5006           circumstances.
5007
5008 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5009
5010         * MenuBackend.C (expandToc): fix crash.
5011
5012 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * MenuBackend.C (expandToc): gettext on float names.
5015
5016 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5017
5018         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5019         implement bool empty() [bug 490]
5020
5021 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5022
5023         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5024
5025 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5026
5027         * several files: ws changes
5028
5029 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5030
5031         * text2.C (setCounter): clean up a bit, use boost.format.
5032         (updateCounters): initialize par upon declaration.
5033
5034         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5035         if the layout exists. We do not just store the layout any more.
5036         (SwitchLayoutsBetweenClasses): use boost.format
5037
5038 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5039
5040         * converter.C (convert): if from and to files are the same, use a
5041         temporary files as intermediary
5042
5043 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5044
5045         * commandtags.h:
5046         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5047
5048 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5049
5050         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5051
5052 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5053
5054         * tabular.C (asciiPrintCell): use string(size, char) instead of
5055         explicit loop.
5056
5057         * sgml.C (openTag): fix order of arguments to string constructor
5058         (closeTag): ditto
5059
5060         * lyxfunc.C (dispatch): use boost.format
5061
5062         * lots of files: change "c" -> 'c'
5063
5064 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5065
5066         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5067
5068 2002-11-25  Angus Leeming  <leeming@lyx.org>
5069
5070         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5071
5072         * lyx_main.C (init): compile fix.
5073
5074 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5075
5076         * lyx_cb.C (start): boost.formatify
5077         do not include <iostream>
5078
5079         * lengthcommon.C: ws only
5080
5081         * boost-inst.C,BoostFormat.h: add more explict instantations
5082
5083 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5084
5085         * lots of files: handle USE_BOOST_FORMAT
5086
5087 2002-11-21  John Levon  <levon@movementarian.org>
5088
5089         * pspell.C: fix compile
5090
5091 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5092
5093         * lyxfunc.C (dispatch): use boost::format
5094         (open): ditto
5095         (doImport): ditto
5096
5097         * lyxfont.C (stateText): use boost::format
5098
5099         * lyx_main.C (LyX): use boost::format
5100         (init): ditto
5101         (queryUserLyXDir): ditto
5102         (readRcFile): ditto
5103         (parse_dbg): ditto
5104         (typedef boost::function): use the recommened syntax.
5105
5106         * importer.C (Import): use boost::format
5107
5108         * debug.C (showLevel): use boost::format
5109
5110         * converter.C (view): use boost::format
5111         (convert): ditto
5112         (move): ditto
5113         (scanLog): ditto
5114
5115         * bufferview_funcs.C (currentState): use boost::format
5116
5117         * bufferlist.C (emergencyWrite): use boost::format
5118
5119         * buffer.C (readLyXformat2): use boost::format
5120         (parseSingleLyXformat2Token): ditto
5121
5122         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5123
5124         * LaTeX.C (run): use boost::format
5125
5126         * Chktex.C (scanLogFile): use boost::format
5127
5128         * BufferView_pimpl.C (savePosition): use boost::format
5129         (restorePosition): ditto
5130         (MenuInsertLyXFile): ditto
5131
5132         * BoostFormat.h: help file for explicit instation.
5133
5134 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5135
5136         * tabular.C (latex): Support for block alignment in fixed width
5137         columns.
5138
5139 2002-11-17  John Levon  <levon@movementarian.org>
5140
5141         * BufferView_pimpl.C:
5142         * lyx_cb.C:
5143         * lyxfunc.C: split filedialog into open/save
5144
5145 2002-11-08  Juergen Vigna  <jug@sad.it>
5146
5147         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5148         by my last patch (hopefully).
5149
5150 2002-11-08  John Levon  <levon@movementarian.org>
5151
5152         * iterators.h:
5153         * iterators.C:
5154         * buffer.h:
5155         * buffer.C:
5156         * paragraph.h:
5157         * paragraph.C:
5158         * toc.h:
5159         * toc.C: ParConstIterator, and use it (from Lars)
5160
5161 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5162
5163         * lyxtextclass.[Ch]: revise and add doxygen comments
5164
5165 2002-11-07  John Levon  <levon@movementarian.org>
5166
5167         * text.C: fix progress value for spellchecker
5168
5169         * toc.C: fix navigate menu for insetwrap inside minipage
5170
5171         * paragraph_funcs.C: added FIXME for suspect code
5172
5173 2002-11-07  John Levon  <levon@movementarian.org>
5174
5175         * BufferView_pimpl.C: fix redrawing of insets
5176           on buffer switch
5177
5178 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5179
5180         * text2.C (updateCounters): fix bug 668
5181
5182 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5183
5184         * text3.C (dispatch): Do not make the buffer dirty when moving the
5185         cursor.
5186
5187 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * vc-backend.C: STRCONV
5190         (scanMaster): ditto
5191
5192         * text2.C (setCounter): STRCONV
5193
5194         * paragraph.C (asString): STRCONV
5195
5196         * lyxlength.C (asString): STRCONV
5197         (asLatexString): ditto
5198
5199         * lyxgluelength.C (asString): STRCONV
5200         (asLatexString): ditto
5201
5202         * lyxfunc.C (dispatch): STRCONV
5203         (open): ditto
5204
5205         * lyxfont.C (stateText): STRCONV
5206
5207         * importer.C (Import): STRCONV
5208
5209         * counters.C (labelItem): STRCONV
5210         (numberLabel): ditto
5211         (numberLabel): remove unused ostringstream o
5212
5213         * chset.C: STRCONV
5214         (loadFile): ditto
5215
5216         * bufferview_funcs.C (currentState): STRCONV
5217
5218         * buffer.C (readFile): STRCONV
5219         (asciiParagraph): ditto
5220         (makeLaTeXFile): ditto
5221
5222         * Spacing.C (writeEnvirBegin): STRCONV
5223
5224         * LaTeXFeatures.C (getLanguages): STRCONV
5225         (getPackages): ditto
5226         (getMacros): ditto
5227         (getBabelOptions): ditto
5228         (getTClassPreamble): ditto
5229         (getLyXSGMLEntities): ditto
5230         (getIncludedFiles): ditto
5231
5232         * LaTeX.C: STRCONV
5233         (run): ditto
5234         (scanAuxFile): ditto
5235         (deplog): ditto
5236
5237         * LString.h: add the STRCONV macros
5238
5239         * BufferView_pimpl.C (savePosition): STRCONV
5240         (restorePosition): ditto
5241         (MenuInsertLyXFile): ditto
5242
5243         * vc-backend.C (scanMaster): change from submatch[...] to
5244         submatch.str(...)
5245
5246         * funcrequest.C: include config.h
5247
5248         * factory.C: include config.h
5249
5250         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5251
5252         * box.C: include config.h
5253
5254         * LaTeX.C (scanAuxFile): change from submatch[...] to
5255         submatch.str(...)
5256         (deplog): ditto
5257
5258 2002-10-25  Angus Leeming  <leeming@lyx.org>
5259
5260         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5261
5262         * ispell.[Ch] (setError): new method.
5263         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5264         Use setError() insetead of goto END.
5265
5266         * lyx_cb.C (AutoSave): move out child process into new class
5267         AutoSaveBuffer.
5268
5269 2002-10-30  John Levon  <levon@movementarian.org>
5270
5271         * text3.C: make start appendix undoable
5272
5273 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5274
5275         * lyxlength.C (inPixels): Fix returned value.
5276
5277         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5278         environment.
5279
5280 2002-10-24  Angus Leeming  <leeming@lyx.org>
5281
5282         * lyxgluelength.h: no need to forward declare BufferParams
5283         or BufferView, so don't.
5284
5285 2002-10-21  John Levon  <levon@movementarian.org>
5286
5287         * BufferView.C: menuUndo ->undo, redo
5288
5289         * BufferView.h: document, remove dead, make some methods private
5290
5291         * paragraph_funcs.h:
5292         * paragraph_funcs.C:
5293         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5294
5295         * buffer.h:
5296         * buffer.C:
5297         * sgml.h:
5298         * sgml.C: move sgml open/close tag into sgml.C
5299
5300         * bufferview_funcs.h: unused prototype
5301
5302         * lyxfunc.h:
5303         * lyxfunc.C: remove unused
5304
5305         * lyxtext.h:
5306         * text.C: remove unused
5307
5308 2002-10-21  John Levon  <levon@movementarian.org>
5309
5310         * BufferView.h:
5311         * BufferView.C:
5312         * BufferView_pimpl.h:
5313         * BufferView_pimpl.C: fix mouse wheel handling based on
5314           patch from Darren Freeman
5315
5316 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5317
5318         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5319
5320 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5321
5322         * lyxlength.C (inPixels): Fix hanfling of negative length.
5323         Fix LyXLength::MU case.
5324
5325 2002-10-16  John Levon  <levon@movementarian.org>
5326
5327         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5328
5329 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5330
5331         * converter.C (view): add support for $$i (file name) and $$p
5332         (file path) for the viewer command. If $$i is not specified, then
5333         it is appended to the command (for compatibility with old syntax)
5334
5335 2002-10-14  Juergen Vigna  <jug@sad.it>
5336
5337         * undo_funcs.C (textHandleUndo): alter the order in which the
5338         new undopar is added to the LyXText, as we have to set first
5339         the right prev/next and then add it as otherwise the rebuild of
5340         LyXText is not correct. Also reset the cursor to the right paragraph,
5341         with this IMO we could remove the hack in "redoParagraphs()".
5342
5343 2002-10-09  Angus Leeming  <leeming@lyx.org>
5344
5345         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5346         to turn off an optimisation if a new inset is to be inserted.
5347
5348 2002-10-11 André Pönitz <poenitz@gmx.net>
5349
5350         * lyxtext.h: make some functions public to allow access
5351         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5352
5353 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5354
5355         * text3.C (dispatch): when changing layout, avoid an infinite loop
5356         [bug #652]
5357
5358 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5359
5360         * lyxrc.C (read): treat a viewer or converter command of "none" as
5361         if it were empty.
5362
5363         * MenuBackend.C (expandFormats): for an update, also allow the
5364         formats that are not viewable
5365
5366         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5367         script if it is newer than the lyxrc.defaults in user directory
5368
5369 2002-10-07 André Pönitz <poenitz@gmx.net>
5370
5371         * text.C: Vitaly Lipatov's small i18n fix
5372
5373 2002-09-25  Angus Leeming  <leeming@lyx.org>
5374
5375         * ispell.h: doxygen fix.
5376
5377 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5378
5379         * buffer.h (readFile): Add a new argument to the method, to allow
5380         reading of old-format templates.
5381
5382 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5383
5384         * toc.C (getTocList): Get TOC from InsetWrap.
5385
5386 2002-09-16  John Levon  <levon@movementarian.org>
5387
5388         * lyxfunc.C: check tabular for cut/copy too
5389
5390 2002-09-12  John Levon  <levon@movementarian.org>
5391
5392         * LyXAction.C: tidy
5393
5394         * factory.h:
5395         * factory.C: add header
5396
5397         * paragraph_funcs.h:
5398         * paragraph_funcs.C: cleanup
5399
5400 2002-09-11  John Levon  <levon@movementarian.org>
5401
5402         * PrinterParams.h: odd/even default to true
5403
5404 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5405
5406         * PrinterParams.h: update printer parameters for new xforms dialog
5407
5408 2002-09-11  Angus Leeming  <leeming@lyx.org>
5409
5410         * lyxserver.C (read_ready): re-write to make it more transparent
5411         and to make it work in coherent fashion under Tru64 Unix.
5412
5413 2002-09-11  André Pönitz <poenitz@gmx.net>
5414
5415         * commandtags.h:
5416         * LyXAction.C:
5417         * text3.C: implement LFUN_WORDSEL
5418
5419 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5420
5421         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5422         make floatlist_ a boost::shared_ptr<FloatList>
5423
5424         * lyxtextclass.C: include FloatList.h
5425         (LyXTextClass): initialize floatlist_
5426         (TextClassTags): add TC_NOFLOAT
5427         (Read): match "nofloat" to TC_NOFLOAT and use it.
5428         (readFloat): modify call to floatlist_
5429         (floats): ditto
5430         (floats): ditto
5431
5432         * FloatList.[Ch] (FloatList): remove commented out float
5433         initialization.
5434         (erase): new function
5435
5436 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5437
5438         * MenuBackend.C (expandToc): fix crash when there is no document
5439         open
5440
5441 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5442
5443         * many files: Add insetwrap.
5444
5445 2002-09-09  John Levon  <levon@movementarian.org>
5446
5447         * text2.C: remove confusing and awkward depth wraparound
5448
5449 2002-09-09  John Levon  <levon@movementarian.org>
5450
5451         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5452
5453         * buffer.h:
5454         * buffer.C: remove getIncludeonlyList()
5455
5456         * paragraph.C:
5457         * lyxfunc.C: remove headers
5458
5459 2002-09-09  Juergen Vigna  <jug@sad.it>
5460
5461         * text.C (getColumnNearX): fix form Michael this is most
5462         probably a cut&paste bug.
5463
5464 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5465
5466         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5467
5468         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5469         references, ws changes.
5470
5471         * text2.C (init): update counters after init
5472         (insertParagraph): no need to set counter on idividual paragraphs.
5473         (setCounter): access the counters object in the textclass object
5474         on in the buffer object.
5475         (updateCounters): ditto
5476
5477         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5478         shared_ptr<Counters> to avoid loading counters.h in all
5479         compilation units.
5480         (LyXTextClass): initialize ctrs_
5481         (TextClassTags): add TC_COUNTER, and ...
5482         (Read): use it here.
5483         (CounterTags): new tags
5484         (readCounter): new function
5485         (counters): new funtion
5486         (defaultLayoutName): return a const reference
5487
5488         * counters.C (Counters): remove contructor
5489         (newCounter): remove a couple of unneeded statements.
5490         (newCounter): simplify a bit.
5491         (numberLabel): some small formatting changes.
5492
5493         * buffer.[Ch]: remove all traces of counters, move the Counters
5494         object to the LyXTextClass.
5495
5496 2002-09-06  Alain Castera  <castera@in2p3.fr>
5497
5498         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5499         package to set the horizontal alignment on fixed width columns.
5500
5501         * lyx_sty.C:
5502         * lyx_sty.h: added tabularnewline macro def.
5503
5504         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5505
5506 2002-09-06  John Levon  <levon@movementarian.org>
5507
5508         * LyXAction.C: tooltips for sub/superscript
5509
5510         * MenuBackend.C: a bit more verbose
5511
5512         * lyxfunc.C: tiny clean
5513
5514         * undo_funcs.C: document undo_frozen
5515
5516 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * counters.C (Counters): add missing algorithm counter.
5519
5520         * text2.C (setCounter): lookup the counter with layouts latexname
5521         instead of by section number.
5522         (setCounter): use a hackish way to lookup the correct enum
5523         counter.
5524         a float name->type change
5525         reset enum couners with counter name directly instead of depth value.
5526
5527         * counters.C (Counters): remove the push_backs, change to use the
5528         float type not the float name.
5529         (labelItem): remove unused string, float name->type change
5530
5531         * counters.h: don't include vector, loose the enums and sects vectors
5532
5533 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5536         (Read): add float->TC_FLOAT to textclassTags
5537         (Read): and handle it in the switch
5538         (readFloat): new function
5539
5540         * FloatList.C (FloatList): comment out the hardcoded float
5541         definitions.
5542
5543         * lyxlayout.h: ws change.
5544
5545 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5546
5547         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5548
5549 2002-09-03  Angus Leeming  <leeming@lyx.org>
5550
5551         * BufferView_pimpl.h: qualified name is not allowed in member
5552         declaration: WorkArea & Pimpl::workarea() const;
5553
5554         * factory.C: added using std::endl directive.
5555
5556         * text3.C: added using std::find and std::vector directives.
5557
5558 2002-08-29  André Pönitz <poenitz@gmx.net>
5559
5560         * lyxtext.h:
5561         * text2.C: remove unused member number_of_rows
5562
5563         * Makefile.am:
5564         * BufferView2.C: remove file, move contents to...
5565         * BufferView.C: ... here
5566
5567         * BufferView_pimpl.C:
5568         * factory.C: move more inset creation to factory
5569
5570         * vspace.C: avoid direct usage of LyXText, ws changes
5571
5572         * BufferView.[Ch]:
5573                 don't provide direct access to WorkArea, use two simple
5574                 acessors haveSelction() and workHeight() instead
5575
5576
5577 2002-08-29  John Levon  <levon@movementarian.org>
5578
5579         * BufferView_pimpl.C (dispatch): do not continue when
5580           no buffer
5581
5582 2002-08-28  André Pönitz <poenitz@gmx.net>
5583
5584         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5585
5586         * BufferView.h:
5587         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5588
5589 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5590
5591         * buffer.C: increment LYX_FORMAT to 221
5592
5593         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5594         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5595
5596         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5597
5598         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5599
5600 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5601
5602         * factory.C (createInset): use LyXTextClass::floats
5603
5604         * MenuBackend.C (expandFloatListInsert):
5605         (expandFloatInsert):
5606         (expandToc):
5607
5608         * text2.C (setCounter):
5609
5610         * LaTeXFeatures.C (useFloat):
5611         (getFloatDefinitions):
5612
5613         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5614
5615         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5616         floatlist_, with accessor floats().
5617
5618         * FloatList.h: remove global FloatList
5619
5620 2002-08-26  André Pönitz <poenitz@gmx.net>
5621
5622         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5623
5624         * BufferView.h:
5625         * BufferView2.C:
5626         * BufferView_pimpl.C:
5627         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5628
5629 2002-08-25  John Levon  <levon@movementarian.org>
5630
5631         * LyXAction.C: fix margin note description
5632
5633 2002-08-24  John Levon  <levon@movementarian.org>
5634
5635         * buffer.C:
5636         * bufferlist.C:
5637         * bufferview_funcs.C:
5638         * lyxfont.C:
5639         * undo_funcs.C: cleanups
5640
5641         * lyxfunc.C: disable CUT/COPY when no selection
5642
5643 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5644
5645         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5646         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5647
5648         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5649         Add backward compatibility to "mono", "gray" and "no".
5650
5651 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5652
5653         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5654         (and file_format >= 200).
5655
5656 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5657
5658         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5659
5660 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5661
5662         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5663
5664 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5665
5666         * BufferView_pimpl.C:
5667         * LyXAction.C:
5668         * buffer.C:
5669         * commandtags.h:
5670         * lyxfunc.C:
5671         * paragraph.[Ch]:
5672         * text2.C:
5673         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5674         inset and code to make it  work with the paragraph code. The inset
5675         can be anywhere in the paragraph, but will only do the expected
5676         thing in LaTeX if the layout file contains the parameter line
5677                         OptionalArgs    1
5678         (or more generally, a nonzero value) for that layout.
5679
5680 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * paragraph.h: remove the declaration of undefined counters class
5683         function.
5684
5685 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5686
5687         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5688         Dr. Richard Hawkins.
5689
5690 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5691
5692         * paragraph_funcs.h: remove some unneeded includes
5693
5694         * text.C (backspace): pasteParagraph now in global scipe
5695
5696         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5697         (pasteSelection): ditto
5698
5699         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5700         * paragraph_funcs.C (pasteParagraph): ... here
5701
5702 2002-08-20  André Pönitz <poenitz@gmx.net>
5703
5704         * commandtags.h: new LFUNs for swapping/copying table row/colums
5705
5706         * LyXAction.C:
5707         * lyxfunc.C: support for new lfuns
5708
5709 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5710
5711         * tabular.C:
5712         * buffer.[Ch]: remove NO_COMPABILITY stuff
5713
5714 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5715
5716         * boost.C (throw_exception): new file, with helper function for
5717         boost compiled without exceptions.
5718
5719         * paragraph.h:
5720         * lyxlength.C:
5721         * buffer.C:
5722         * ParameterStruct.h:
5723         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5724
5725         * bufferlist.C (emergencyWriteAll): use boost bind
5726
5727         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5728
5729         * text.C: include paragraph_funcs.h
5730         (breakParagraph): breakParagraph is now in global scope
5731
5732         * paragraph_funcs.[Ch]: new files
5733
5734         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5735         global scope
5736
5737         * buffer.C: include paragraph_funcs.h
5738         (insertStringAsLines): breakParagraph is now in global scope
5739
5740         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5741         paragraph_funcs.C
5742
5743         * CutAndPaste.C: include paragraph_funcs.h
5744         (cutSelection): breakParagraphConservative is now in global scope
5745         (pasteSelection): ditto
5746
5747         * buffer.h: declare oprator== and operator!= for
5748         Buffer::inset_iterator
5749
5750         * bufferlist.C (emergencyWrite): don't use fmt(...)
5751
5752         * text3.C: add using std::endl
5753
5754         * BufferView.C (moveCursorUpdate): remove default arg
5755
5756 2002-08-20  André Pönitz <poenitz@gmx.net>
5757
5758         * buffer.[Ch]: move inline functions to .C
5759
5760         * BufferView2.C:
5761         * BufferView_pimpl.C:
5762         * text.C:
5763         * buffer.[Ch]: use improved inset_iterator
5764
5765         * buffer.C:
5766         * paragraph.[Ch]: write one paragraph at a time
5767
5768 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5769
5770         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5771         style if style is not specified.
5772
5773 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5774
5775         * text2.C (setCounter): when searching for right label for a
5776         caption, make sure to recurse to parent insets (so that a caption
5777         in a minipage in a figure float works) (bug #568)
5778
5779 2002-08-20  André Pönitz <poenitz@gmx.net>
5780
5781         * text3.C: new file for LyXText::dispatch() and helpers
5782
5783         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5784
5785         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5786
5787 2002-08-19  André Pönitz <poenitz@gmx.net>
5788
5789         * lyxtext.h:
5790         * text.C: new LyXText::dispatch()
5791
5792         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5793
5794 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5795
5796         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5797
5798         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5799         Hebrew text.
5800
5801 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5802
5803         * Makefile.am: use $(variables) instead of @substitutions@
5804
5805 2002-08-15  André Pönitz <poenitz@gmx.net>
5806
5807         * lyxfunc.C:
5808         * BufferView_pimpl.C: streamlining mathed <-> outer world
5809         interaction
5810
5811         * commandtags.h:
5812         * LyXAction.C: remove unused LFUN_MATH
5813
5814 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5815
5816         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5817
5818 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5819
5820         * paragraph.C (Paragraph): reformat a bit
5821         (cutIntoMinibuffer): use builtin InsetList function instad of
5822         doing it manually.
5823         (getInset): ditto
5824
5825         * buffer.C: include boost/bind.hpp, add using std::for_each
5826         (writeFileAscii): use ParagraphList iterators
5827         (validate): use for_each for validate traversal of paragraphs
5828         (getBibkeyList): use ParagraphList iterators
5829         (resizeInsets): use for_each to resizeInsetsLyXText for all
5830         paragraphs.
5831         (getParFromID): use ParagraphList iterators
5832
5833         * BufferView2.C (lockInset): use paragraph list and iterators
5834
5835 2002-08-14  John Levon  <levon@movementarian.org>
5836
5837         * lyxserver.C: remove spurious xforms include
5838
5839 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5840
5841         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5842
5843 2002-08-13  André Pönitz <poenitz@gmx.net>
5844
5845         * LyXAction.[Ch]:
5846         * lyxfunc.C: further cleaning
5847
5848 2002-08-13  André Pönitz <poenitz@gmx.net>
5849
5850         * funcrequest.h: new constructor
5851
5852         * funcrequest.C: move stuff here from .h
5853
5854         * Makefile.am:
5855         * BufferView_pimpl.C:
5856         * LyXAction.C:
5857         * toc.C:
5858         * lyxfunc.C: subsequent changes
5859
5860         * lyxfunc.h: new view() member function
5861
5862         * lyxfunc.C: subsequent changes
5863
5864 2002-08-13  Angus Leeming  <leeming@lyx.org>
5865
5866         * BufferView2.C:
5867         * BufferView_pimpl.C:
5868         * buffer.C:
5869         * converter.C:
5870         * importer.C:
5871         * lyxfunc.C:
5872         * lyxvc.C:
5873         * toc.C:
5874         * vc-backend.C:
5875         changes due to the changed LyXView interface that now returns references
5876         to member variables not pointers.
5877
5878 2002-08-13  Angus Leeming  <leeming@lyx.org>
5879
5880         * WordLangTuple (word, lang_code): return references to strings,
5881         not strings.
5882
5883         * BufferView.h:
5884         * SpellBase.h:
5885         * lyxtext.h: forward-declare WordLangTuple.
5886
5887         * BufferView2.C:
5888         * ispell.C:
5889         * pspell.C:
5890         * text.C: #include "WordLangTuple.h".
5891
5892         * lyxtext.h:
5893         * text.C: (selectNextWordToSpellcheck): constify return type.
5894
5895 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5896
5897         * buffer.C:
5898         * buffer.h:
5899         * lyxtext.h:
5900         * paragraph.C:
5901         * paragraph_pimpl.h:
5902         * text.C:
5903         * text2.C:
5904         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5905         suggested by Angus.
5906         Made updateCounter always count from start of buffer, and removed
5907         second argument (par).
5908         Reverted floats number display to '#'. Perhaps I'll try again when the
5909         code base is sanitized a bit.
5910
5911 2002-08-12  Angus Leeming  <leeming@lyx.org>
5912
5913         * buffer.[Ch] (getLabelList): constify.
5914
5915 2002-08-07  André Pönitz <poenitz@gmx.net>
5916
5917         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5918
5919         * funcrequest.h: extension to keep mouse (x,y) position
5920
5921 2002-08-12  Juergen Vigna  <jug@sad.it>
5922
5923         * BufferView2.C (insertErrors): forbid undo when inserting error
5924         insets.
5925
5926         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5927
5928 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5929
5930         * ParagraphList.[Ch]: new files
5931
5932         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5933
5934         * BufferView2.C (lockInset): ParagraphList changes
5935         * toc.C: ditto
5936         * text2.C: ditto
5937         * bufferlist.C: ditto
5938         * buffer.h: ditto
5939         * buffer.C: ditto
5940
5941 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5942
5943         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5944         unused class variable counter_,
5945
5946         * paragraph.[Ch] (getFirstCounter): delete unused function
5947
5948         * counters.C: include LAssert.h
5949         (reset): add a new function with no arg, change other version to
5950         not have def. arg and to not allow empty arg.
5951
5952         * text2.C (setCounter): remove empty arg from call to Counters::reset
5953
5954 2002-08-11  John Levon  <levon@movementarian.org>
5955
5956         * Makefile.am: add WordLangTuple.h
5957
5958 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5959
5960         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5961         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5962
5963         * insets/insettext.C: InsetList changes
5964
5965         * graphics/GraphicsSupport.C (operator()): InsetList changes
5966
5967         * toc.C (getTocList): InsetList changes
5968
5969         * paragraph_pimpl.[Ch]: InsetList changes
5970
5971         * paragraph.[Ch]: InsetList changes
5972
5973         * buffer.C (inset_iterator): InsetList changes
5974         (setParagraph): ditto
5975         * buffer.h (inset_iterator): ditto
5976         * iterators.C (operator++): ditto
5977         * iterators.h: ditto
5978
5979         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5980
5981         * InsetList.[Ch]: new files, most InsetList handling moved out of
5982         paragraph.C.
5983
5984         * BufferView2.C (removeAutoInsets): InsetList changes
5985         (lockInset): ditto
5986         (ChangeInsets): ditto
5987
5988 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * paragraph_pimpl.h (empty): new function
5991
5992         * paragraph.[Ch] (empty): new function
5993
5994         * other files: use the new Paragraph::empty function
5995
5996 2002-08-09  John Levon  <levon@movementarian.org>
5997
5998         * lyxtext.h: remove unused refresh_height
5999
6000 2002-08-09  John Levon  <levon@movementarian.org>
6001
6002         * Makefile.am:
6003         * sgml.h:
6004         * sgml.C:
6005         * buffer.C:
6006         * paragraph.h:
6007         * paragraph.C: move sgml char escaping out of paragraph
6008
6009         * paragraph.h:
6010         * paragraph.C: remove id setter
6011
6012         * buffer.C:
6013         * paragraph.C:
6014         * paragraph_pimpl.C: remove dead tex_code_break_column
6015
6016         * bufferview_funcs.C: small cleanup
6017
6018         * lyxfunc.C: remove dead proto
6019
6020         * lyxtext.h: make some stuff private. Remove some dead stuff.
6021
6022         * lyxgluelength.C: make as[LyX]String() readable
6023
6024 2002-08-08  John Levon  <levon@movementarian.org>
6025
6026         * LyXAction.h:
6027         * LyXAction.C:
6028         * MenuBackend.C:
6029         * ToolbarDefaults.C:
6030         * lyxfunc.C:
6031         * lyxrc.C:
6032         * toc.C: lyxaction cleanup
6033
6034 2002-08-08  John Levon  <levon@movementarian.org>
6035
6036         * BufferView2.C: small cleanup
6037
6038         * lyxfind.h:
6039         * lyxfind.C: move unnecessary header into the .C
6040
6041 2002-08-08  John Levon  <levon@movementarian.org>
6042
6043         * funcrequest.h: just tedious nonsense
6044
6045         * lyx_main.h:
6046         * lyx_main.C: cleanups
6047
6048         * buffer.C:
6049         * vspace.C: remove dead header lyx_main.h
6050
6051 2002-08-07  Angus Leeming  <leeming@lyx.org>
6052
6053         * Paragraph.[Ch]:
6054         * paragraph_pimpl.h:
6055         Forward declare class Counters in paragraph.h by moving the ctrs member
6056         variable into Paragraph::Pimpl.
6057         (counters): new method, returning a reference to pimpl_->ctrs.
6058
6059         * text2.C: ensuing changes.
6060
6061 2002-08-07  John Levon  <levon@movementarian.org>
6062
6063         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6064
6065         * BufferView_pimpl.C: announce X selection on double/triple
6066           click
6067
6068         * lyx_main.C: use correct bool in batch dispatch
6069
6070         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6071
6072 2002-08-07  André Pönitz <poenitz@gmx.net>
6073
6074         * funcrequest.h: new class to wrap a kb_action and its argument
6075
6076         * BufferView.[Ch]:
6077         * BufferView_pimpl[Ch]:
6078         * LaTeX.C:
6079         * LyXAction.[Ch]:
6080         * lyxfunc.[Ch]:
6081         * lyxrc.C: subsequent changes
6082
6083
6084 2002-08-07  John Levon  <levon@movementarian.org>
6085
6086         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6087           document options change.
6088
6089 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6090
6091         * counters.[Ch]
6092         * text2.C
6093         * paragraph.[Ch]
6094         * makefile.am: move counters functionality over from
6095         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6096
6097 2002-08-06  John Levon  <levon@movementarian.org>
6098
6099         * WordLangTuple.h: new file for word + language code tuple
6100
6101         * SpellBase.h:
6102         * pspell.h:
6103         * pspell.C:
6104         * ispell.h:
6105         * ispell.C:
6106         * lyxtext.h:
6107         * text.C:
6108         * text2.C:
6109         * BufferView.h:
6110         * BufferView2.C: use WordLangTuple
6111
6112         * layout.h:
6113         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6114
6115 2002-08-06  John Levon  <levon@movementarian.org>
6116
6117         * lyx_main.C: fix cmdline batch handling
6118
6119 2002-08-06  André Pönitz <poenitz@gmx.net>
6120
6121         * lyxrc.C: set default for show_banner to true
6122
6123 2002-08-06  John Levon  <levon@movementarian.org>
6124
6125         * pspell.C: fix a crash, and allow new aspell to work
6126
6127 2002-08-06  John Levon  <levon@movementarian.org>
6128
6129         * lyxfunc.C:
6130         * kbmap.C: small cleanup
6131
6132         * vspace.h:
6133         * vspace.C: add const
6134
6135 2002-08-05  John Levon  <levon@movementarian.org>
6136
6137         * LyXAction.C: back to tabular-insert
6138
6139 2002-08-04  John Levon  <levon@movementarian.org>
6140
6141         * BufferView.h:
6142         * BufferView.C: cosmetic change
6143
6144         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6145
6146         * bufferlist.C:
6147         * buffer.h:
6148         * buffer.C:
6149         * lyxcb.h:
6150         * lyxcb.C:
6151         * lyxserver.C:
6152         * lyxvc.C:
6153         * vc-backend.C:
6154         * BufferView2.C: purge all "Lyx" not "LyX" strings
6155
6156         * lyxcursor.h:
6157         * lyxcursor.C: attempt to add some documentation
6158
6159         * lyxfunc.C:
6160         * commandtags.h:
6161         * LyXAction.C:
6162         * ToolbarDefaults.C:
6163         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6164           merge with LFUN_TABULAR_INSERT
6165
6166         * Makefile.am:
6167         * SpellBase.h:
6168         * ispell.h:
6169         * ispell.C:
6170         * pspell.h:
6171         * pspell.C: split up i/pspell implementations into separate
6172           files, many cleanups
6173
6174         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6175
6176         * text2.C: some cleanup
6177
6178         * lyxfunc.C: don't check for isp_command == "none" any more, it
6179           didn't make any sense
6180
6181 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6182
6183         * counters.[Ch]
6184         * text2.C
6185         * paragraph.[Ch]
6186         * makefile.am: move counters functionality over
6187         from text2.C/paragraph.[Ch] to counters.[Ch], and
6188         make proper C++.
6189 2002-08-02  John Levon  <levon@movementarian.org>
6190
6191         * buffer.C: s/lyxconvert/lyx2lyx/
6192
6193 2002-08-02  Angus Leeming  <leeming@lyx.org>
6194
6195         * lyxlex.C: revert John's change as it breaks reading of the user
6196         preamble.
6197
6198 2002-08-02  Angus Leeming  <leeming@lyx.org>
6199
6200         * importer.C (Import):
6201         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6202         changes due to LyXView::view() now returning a boost::shared_ptr.
6203
6204 2002-08-02  John Levon  <levon@movementarian.org>
6205
6206         * lyxlex.C: small cleanup
6207
6208 2002-08-02  John Levon  <levon@movementarian.org>
6209
6210         * text2.C (status): small cleanup, no logic change
6211
6212 2002-08-01  John Levon  <levon@movementarian.org>
6213
6214         * buffer.h:
6215         * buffer.C (writeFile): don't output alerts, caller
6216           handles this
6217
6218         * bufferlist.C:
6219         * lyx_cb.C: from above
6220
6221         * lyxfunc.C: allow to open non-existent files
6222
6223 2002-07-31  John Levon  <levon@movementarian.org>
6224
6225         * lyxserver.C: don't let incidental errors get
6226           in the way (errno)
6227
6228 2002-07-30  John Levon  <levon@movementarian.org>
6229
6230         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6231
6232 2002-07-30  John Levon  <levon@movementarian.org>
6233
6234         * lyxserver.h:
6235         * lyxserver.C: remove I/O callback too
6236
6237 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6238
6239         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6240         log.
6241
6242 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6243
6244         * many files: strip,frontStrip -> trim,ltrim,rtrim
6245
6246 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * PrinterParams.h: remove extern containsOnly, and include
6249         support/lstrings.h instead.
6250
6251         * LaTeX.C (scanAuxFile): modify because of strip changes
6252         (deplog): ditto
6253         * buffer.C (makeLaTeXFile): ditto
6254         * bufferparams.C (writeFile): ditt
6255         * lyxfont.C (stateText): ditto
6256         * lyxserver.C (read_ready): ditto
6257         * vc-backend.C (scanMaster): ditto
6258
6259         * BufferView_pimpl.h: ws changes
6260
6261         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6262
6263 2002-07-26  André Pönitz <poenitz@gmx.net>
6264
6265         * kb_sequence.C: remove unnedred usings
6266
6267 2002-07-26  Juergen Vigna  <jug@sad.it>
6268
6269         * lyxfind.C (LyXReplace): we have to check better if the returned
6270         text is not of theLockingInset()->getLockingInset().
6271
6272 2002-07-25  Juergen Vigna  <jug@sad.it>
6273
6274         * lyxfind.C (LyXReplace): don't replace if we don't get the
6275         right LyXText.
6276
6277         * undo_funcs.C (createUndo): remove debugging code.
6278
6279 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6280
6281         * buffer.C (parseSingleLyXformat2Token): Use default placement
6282         when reading old floats.
6283
6284         * FloatList.C (FloatList): Change the default placement of figure
6285         and tables to "tbp".
6286
6287 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6288
6289         * MenuBackend.C: using std::max
6290
6291 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6292
6293         * MenuBackend.C (expandToc):
6294         (expandToc2): code moved from xforms menu frontend. It is now
6295         generic and TOCs are transparent to menu frontends.
6296
6297 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6298
6299         * toc.C (getTocList): protect against buf=0
6300
6301         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6302         Menu as first parameter. Now, this calls itself recursively to
6303         expand a whole tree (this will be useful for TOC handling)
6304         (expandFloatInsert): remove 'wide' version of floats
6305
6306         * MenuBackend.h (submenuname): returns the name of the submenu.
6307         (submenu): returns the submenu itself, provided it has been
6308         created by MenuBackend::expand
6309
6310 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6311
6312         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6313         insets which have noFontChange == true. (bug #172)
6314
6315 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6316
6317         * BufferView_pimpl.C: add connection objects and use them...
6318         (Pimpl): here.
6319
6320 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6321
6322         * MenuBackend.C (expandLastfiles):
6323         (expandDocuments):
6324         (expandFormats):
6325         (expandFloatListInsert):
6326         (expandFloatInsert):
6327         (expand): split expand in parts
6328
6329 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6330
6331         * lyx_gui.C: use lyx_gui::exit()
6332
6333 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6334
6335         * LyXAction.C: show the failing pseudo action
6336
6337 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6338
6339         * buffer.C (readFile): Run the lyxconvert script in order to read
6340         old files.
6341
6342 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6343
6344         * LyXAction.C:
6345         * commandtags.h:
6346         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6347
6348 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6349
6350         * LyXAction.C:
6351         * commandtags.h:
6352         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6353
6354 2002-07-22  Herbert Voss  <voss@lyx.org>
6355
6356         * lengthcommon.C:
6357         * lyxlength.[Ch]: add support for the vertical lengths
6358
6359 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6360
6361         * toc.[Ch]: std:: fixes
6362
6363 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6364
6365         * lyxrc.C: do not include lyx_main.h
6366
6367         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6368         for layouts
6369
6370         * lyxrc.C:
6371         * encoding.C:
6372         * bufferlist.C:
6373         * BufferView2.C: include "lyxlex.h"
6374
6375         * tabular.h:
6376         * bufferparams.h: do not #include "lyxlex.h"
6377
6378         * lyxtextclasslist.C (Add): remove method
6379         (classlist): renamed to classlist_
6380
6381         * paragraph_pimpl.C:
6382         * paragraph.C:
6383         * text2.C:
6384         * CutAndPaste.C:
6385         * bufferview_funcs.C:
6386         * bufferlist.C:
6387         * text.C:
6388         * LaTeXFeatures.C:
6389         * buffer.C:
6390         * toc.C (getTocList): use BufferParams::getLyXTextClass
6391
6392         * toc.C (getTocList): use InsetFloat::addToToc
6393
6394         * toc.[Ch]: new files, containing helper functions to handle table
6395         of contents
6396
6397         * lyxfunc.C (dispatch): no need to remove spaces around command
6398         given as a string
6399         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6400         first command of the sequence; it is not very clever, but I do not
6401         have a better idea, actually
6402
6403         * LyXAction.C (LookupFunc): make sure to remove space at the
6404         beginning and end of the command
6405
6406 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6407
6408         * MenuBackend.C (getMenubar): new method: return the menubar of
6409         this menu set
6410         (read): treat differently reading of menu and menubar (in
6411         particular, the menubar has no name now)
6412         (Menu::menubar): remove
6413
6414         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6415         saving is finished
6416
6417 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6418
6419         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6420         a bibitem inset in a RTL paragraph.
6421
6422 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6423
6424         * paragraph_pimpl.C: constify
6425
6426         * BufferView_pimpl.C:
6427         * LaTeX.C:
6428         * lyxfunc.C: fix dispatch in a nicer way
6429
6430 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6431
6432         * lyxfunc.C (dispatch):
6433         * BufferView_pimpl.C:
6434         * BufferView_pimpl.h:
6435         * BufferView.C:
6436         * BufferView.h: rename Dispatch() to dispatch()
6437
6438         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6439
6440         * lyxlayout.C (Read): honor DependsOn tag
6441
6442         * lyxlayout.[Ch] (depends_on): new method
6443
6444         * version.C.in: update lyx_docversion
6445
6446         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6447
6448         * paragraph.C (validate): remove from here...
6449         * paragraph_pimpl.C (validate): ... and move here
6450         (isTextAt): make it const
6451
6452         * buffer.C (getLists): ws cleanup
6453
6454 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6455
6456         * language.C (read): Use iso8859-1 encoding in latex_lang
6457         (this prevents LyX from crashing when using iso10646-1 encoding).
6458
6459 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6460
6461         * text2.C (toggleInset): if cursor is inside an inset, close the
6462         inset and leave cursor _after_ it
6463
6464 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6465
6466         * lyxfunc.C: move minibuffer completion handling out of here
6467
6468 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6469
6470         * BufferView_pimpl.C:
6471         * LaTeX.C: fix dispatch calls
6472
6473 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6474
6475         * text.C (drawChars): Fix Arabic text rendering.
6476
6477 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6478
6479         * LyXAction.C:
6480         * commandtags.h:
6481         * lyxfunc.C: remove message-push/pop
6482
6483         * lyxserver.C:
6484         * lyxfunc.h:
6485         * lyxfunc.C: rationalise some code by removing verboseDispatch
6486           in favour of a bool argument to dispatch()
6487
6488 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6489
6490         * lyx_main.C (init): make sure to read symlinks as absolute paths
6491
6492 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6493
6494         * lyxfunc.h:
6495         * lyxfunc.C: no need for commandshortcut to be a member
6496
6497 2002-07-15  André Pönitz <poenitz@gmx.net>
6498
6499         * converter.C: add support for $$s (scripts from lib/scripts dir)
6500         * lyx_main.C: white space
6501
6502 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6503
6504         * bufferlist.C:
6505         * lyxrc.h:
6506         * lyxrc.C: remove second exit confirmation
6507
6508 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6509
6510         * BufferView.h:
6511         * BufferView.C:
6512         * BufferView2.C:
6513         * BufferView_pimpl.h:
6514         * BufferView_pimpl.C:
6515         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6516
6517 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6518
6519         * MenuBackend.C (expand): add numeric shortcuts to document menu
6520
6521         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6522
6523 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6524
6525         * lyxfont.C (setLyXFamily):
6526         (setLyXSeries):
6527         (setLyXShape):
6528         (setLyXSize):
6529         (setLyXMisc):
6530         (lyxRead):
6531         * debug.C (value):
6532         * buffer.C (asciiParagraph): use ascii_lowercase
6533
6534 2002-07-15  Mike Fabian  <mfabian@suse.de>
6535
6536         * lyxlex_pimpl.C (search_kw):
6537         * lyxlex.C (getLongString):
6538         * converter.h (operator<):
6539         * converter.C (operator<):
6540         * buffer.C (parseSingleLyXformat2Token):
6541         (asciiParagraph):
6542         * ToolbarDefaults.C (read):
6543         * MenuBackend.C (checkShortcuts):
6544         (read):
6545         * LColor.C (getFromGUIName):
6546         (getFromLyXName): use the compare_ascii_no_case instead of
6547         compare_no_case, because in turkish, 'i' is not the lowercase
6548         version of 'I', and thus turkish locale breaks parsing of tags.
6549
6550 2002-07-16  Angus Leeming  <leeming@lyx.org>
6551
6552         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6553         now takes a Buffer const & argument.
6554
6555 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6556
6557         * BufferView.C (resize): check there's a buffer to resize
6558
6559 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6560
6561         * lyxfunc.C: remove dead code
6562
6563         * lyxserver.h:
6564         * lyxserver.C: use lyx_guii::set_read_callback
6565
6566 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6567
6568         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6569         an inset in a RTL paragraph.
6570
6571 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6572
6573         * lyxfunc.C: repaint after a font size update
6574
6575 2002-07-15  André Pönitz <poenitz@gmx.net>
6576
6577         * lyxlength.C: inBP should be able to return negative values
6578
6579 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6580
6581         * lyxfunc.C: use lyx_gui::update_fonts()
6582
6583 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6584
6585         * lyxfunc.C: use lyx_gui::update_color()
6586
6587 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6588
6589         * bufferlist.C:
6590         * lyxfunc.h:
6591         * lyxfunc.C:
6592         * lyxrc.h:
6593         * lyxrc.C: remove file->new asks for name option, and let
6594           buffer-new take an argument
6595
6596 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6597
6598         * BufferView_pimpl.C: remove unneeded extra repaint()
6599
6600 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6601
6602         * LyXAction.C: allow command-sequence with NoBuffer
6603
6604         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6605
6606 2002-07-10  Angus Leeming  <leeming@lyx.org>
6607
6608         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6609
6610 2002-07-09  Angus Leeming  <leeming@lyx.org>
6611
6612         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6613
6614 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6615
6616         * lengthcommon.h: whitespace
6617
6618         * lyxfunc.C: update scrollbar after goto paragraph
6619
6620         * lyxtext.h: factor out page break drawing, and fix it so
6621           page break/added space paints as selected nicely
6622
6623 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6624
6625         * BufferView_pimpl.C: add FIXMEs, clean up a little
6626
6627 2002-07-09  André Pönitz <poenitz@gmx.net>
6628
6629         * lyxfont.[Ch]: support for wasy symbols
6630
6631 2002-07-08  André Pönitz <poenitz@gmx.net>
6632
6633         * BufferView_pimpl.C: apply John's patch for #93.
6634
6635 2002-07-05  Angus Leeming  <leeming@lyx.org>
6636
6637         * BufferView_pimpl.C (buffer): generate previews if desired.
6638
6639         * LColor.h: add "preview" to the color enum.
6640
6641         * LColor.C (LColor): add a corresponding entry to the items array.
6642
6643         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6644         with this buffer.
6645
6646 2002-07-05  Angus Leeming  <leeming@lyx.org>
6647
6648         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6649         The body of the code is now in the method that is passed an ostream &
6650         rather than a file name.
6651         Pass an additional only_preamble parameter, useful for the forthcoming
6652         preview stuff.
6653
6654 2002-07-03  André Pönitz <poenitz@gmx.net>
6655
6656         * lyxfunc.C: simplify getStatus() a bit for math stuff
6657
6658 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6659
6660         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6661
6662 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6663
6664         * text.C (changeRegionCase): do not change case of all the
6665         document when region ends at paragraph end (bug #461)
6666
6667 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6668
6669         * paragraph.C (startTeXParParams):
6670         (endTeXParParams): add \protect when necessary
6671
6672 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6673
6674         * BufferView_pimpl.C (workAreaExpose): remove warning
6675
6676 2002-06-27  Angus Leeming  <leeming@lyx.org>
6677
6678         * Makefile.am: add lyxlayout_ptr_fwd.h.
6679
6680 2002-06-26  André Pönitz <poenitz@gmx.net>
6681
6682         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6683
6684 2002-06-25  Angus Leeming  <leeming@lyx.org>
6685
6686         * lyxfunc.C (dispatch): Comment out the call to
6687         grfx::GCache::changeDisplay. The method no longer exists now that the
6688         pixmap generation part of the graphics loader has been moved into
6689         InsetGraphics.
6690
6691 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6692
6693         * text2.C: layout as layout
6694
6695         * text.C: layout as layout
6696
6697         * tabular.C (OldFormatRead): layout as layout
6698
6699         * paragraph_pimpl.C (TeXDeeper): layout as layout
6700         (realizeFont): layout as layout
6701
6702         * paragraph.C (writeFile): layout as layout
6703         (validate): layout as layout
6704         (getFont): layout as layout
6705         (getLabelFont): layout as layout
6706         (getLayoutFont): layout as layout
6707         (breakParagraph): layout as layout
6708         (stripLeadingSpaces): layout as layout
6709         (getEndLabel): layout as layout
6710         (getMaxDepthAfter): layout as layout
6711         (applyLayout): layout as layout
6712         (TeXOnePar): layout as layout
6713         (simpleTeXOnePar): layout as layout
6714         (TeXEnvironment): layout as layout
6715         (layout): layout as layout
6716         (layout): layout as layout
6717
6718         * lyxtextclass.C (compare_name): new functor to work with
6719         shared_ptr, layout as layout
6720         (Read): layout as layout
6721         (hasLayout): layout as layout
6722         (operator): layout as layout
6723         (delete_layout): layout as layout
6724         (defaultLayout): layout as layout
6725
6726         * lyxlayout_ptr_fwd.h: new file
6727
6728         * lyxlayout.C (Read): layout as layout
6729
6730         * lyx_cb.C (MenuInsertLabel): layout as layout
6731
6732         * bufferlist.C (newFile): layout as layout
6733
6734         * buffer.C (readLyXformat2): layout as layout
6735         (parseSingleLyXformat2Token): layout as layout
6736         (insertStringAsLines): layout as layout
6737         (asciiParagraph): layout as layout
6738         (latexParagraphs): layout as layout
6739         (makeLinuxDocFile): layout as layout
6740         (simpleLinuxDocOnePar): layout as layout
6741         (makeDocBookFile): layout as layout
6742         (simpleDocBookOnePar): layout as layout
6743         (getLists): layout as layout
6744
6745         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6746
6747         * CutAndPaste.C (cutSelection): layout as layout
6748         (pasteSelection): layout as layout
6749         (SwitchLayoutsBetweenClasses): layout as layout
6750
6751         * BufferView_pimpl.C (Dispatch): layout as layout
6752         (smartQuote): layout as layout
6753
6754         * BufferView2.C (unlockInset): layout as layout
6755
6756 2002-06-24  André Pönitz <poenitz@gmx.net>
6757
6758         * lyxfunc.C: fix #487
6759
6760 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6761
6762         * lyxrc.h:
6763         * lyxrc.C:
6764         * lyxfunc.C: remove display_shortcuts, show_banner
6765
6766 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6767
6768         * Buffer_pimpl.C: oops, update on resize
6769
6770 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6771
6772         * buffer.C:
6773         * converter.C:
6774         * exporter.C:
6775         * lyxfunc.C:
6776         * BufferView.h:
6777         * BufferView.C: use repaint()
6778
6779         * BufferView_pimpl.h:
6780         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6781           as it's a clearer description. Remove superfluous
6782           redraws.
6783
6784 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6785
6786         * text.C: fix bug 488. Not ideal, but getting
6787           getWord() to work properly for the insets that
6788           matter is more difficult ...
6789
6790 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6791
6792         * BufferView_pimpl.C:
6793         * LyXAction.C:
6794         * commandtags.h:
6795         * lyxfunc.C: remove the six million index lyxfuncs to just
6796           one, and DTRT (bug 458)
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: clean up resize() stuff,
6804           and unnecessary updateScreen()s
6805
6806 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6807
6808         * BufferView.h:
6809         * BufferView.C:
6810         * BufferView_pimpl.h:
6811         * BufferView_pimpl.C:
6812         * lyxfind.h:
6813         * lyxfind.C:
6814         * minibuffer.C: remove focus management of workarea,
6815           not needed. Use screen's greyOut()
6816
6817 2002-06-17  Herbert Voss  <voss@lyx.org>
6818
6819         * converter.C: (convert) do not post a message, when converting
6820         fails, let the calling function decide what to do in this case
6821
6822 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6823
6824         * lyxfunc.C: tidy up a little
6825
6826 2002-06-16    <alstrup@diku.dk>
6827
6828         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6829         Got rid of FORMS_H_LOCATION include. Now we are
6830         GUII.
6831
6832 2002-06-15  LyX Development team  <lyx@rilke>
6833
6834         * buffer.[Ch] (sgmlOpenTag):
6835         (sgmlCloseTag): Added support for avoiding pernicious mixed
6836         content. Return number of lines written.
6837
6838         (makeLinuxDocFile):
6839         (makeDocBookFile): Fixed calls to sgml*Tag.
6840         Simple white space clean.
6841
6842         (simpleDocBookOnePar): Simple white space clean.
6843
6844         * tabular.[Ch] (docBook): Renamed to docbook and got another
6845         argument to related with the pernicious mixed content.
6846
6847         (docbookRow): Fixed calls for docbook inset method.
6848
6849 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6850
6851         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6852         so it's X11 independent.
6853
6854         * kb*.[Ch]: ditto.
6855
6856         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6857
6858 2002-06-15  Lyx Development team  <lyx@electronia>
6859
6860         * intl.h: Renamed getTrans to getTransManager.
6861
6862 2002-06-14  Angus Leeming  <leeming@lyx.org>
6863
6864         * Makefile.am: nuke forgotten stl_string_fwd.h.
6865
6866 2002-06-12  Angus Leeming  <leeming@lyx.org>
6867
6868         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6869
6870 2002-06-13  Angus Leeming  <leeming@lyx.org>
6871
6872         * LaTeX.C:
6873         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6874
6875 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6876
6877         * kbmap.C (getiso): add support for cyrillic and greek
6878
6879 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6880
6881         * BufferView.h:
6882         * BufferView.C:
6883         * BufferView_pimpl.h:
6884         * BufferView_pimpl.C: move bogus scrolling logic
6885           to xforms
6886
6887 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6888
6889         * lyxfunc.C:
6890         * BufferView_pimpl.C: view->resize() change
6891
6892 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6893
6894         * BufferView_pimpl.C: topCursorVisible
6895           prototype change
6896
6897 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6898
6899         * Makefile.am:
6900         * lyx_gui.h:
6901         * lyx_gui.C: move to frontends/
6902
6903         * main.C:
6904         * lyx_main.h:
6905         * lyx_main.C: changes from above
6906
6907 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6908
6909         * intl.C:
6910         * intl.h:
6911         * kbmap.C:
6912         * kbsequence.C:
6913         * lyx_cb.C:
6914         * lyx_main.C: minor tidy
6915
6916 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6917
6918         * BufferView_pimpl.h:
6919         * BufferView_pimpl.C:
6920         * BufferView.h:
6921         * BufferView.C: make painter() const,
6922           remove dead code
6923
6924         * BufferView2.C: use screen() accessor
6925
6926         * lyx_main.h:
6927         * lyx_main.C: some minor cleanup
6928
6929 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6930
6931         * BufferView_pimpl.h:
6932         * BufferView_pimpl.C: remove enter/leaveView,
6933           use workHeight()
6934
6935 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6936
6937         * BufferView.h:
6938         * BufferView.C:
6939         * BufferView2.C:
6940         * BufferView_pimpl.h:
6941         * BufferView_pimpl.C: only construct screen once,
6942           rename
6943
6944         * lyxrc.C: remove pointless comment
6945
6946 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6947
6948         * BufferView.h:
6949         * BufferView.C: remove active() and belowMouse()
6950
6951         * BufferView_pimpl.h:
6952         * BufferView_pimpl.C: use workarea() not workarea_,
6953           and make it use a scoped_ptr instead
6954
6955 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6956
6957         * lyx_gui.C: add debug message on BadWindow
6958
6959 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6960
6961         * sp_spell.C: fdopen is not part of the C++ standard.
6962
6963         * paragraph.C (InsetIterator): use >= instead of ==
6964
6965 2002-06-07  Angus Leeming  <leeming@lyx.org>
6966
6967         Fixes needed to compile with Compaq cxx 6.5.
6968         * BufferView_pimpl.C:
6969         * DepTable.C:
6970         * buffer.C:
6971         * converter.C:
6972         * encoding.C:
6973         * lyx_gui.C:
6974         * lyx_main.C:
6975         * lyxtextclasslist.C:
6976         * minibuffer.C:
6977         * sp_spell.C:
6978         * tabular_funcs.C:
6979         * vc-backend.C:
6980         all c-library variables have been moved into namespace std. Wrap
6981         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6982
6983         * lyxlength.C:
6984         * tabular-old.C:
6985         * tabular.C:
6986         Add a using std::abs declaration.
6987
6988         * kbmap.h (modifier_pair):
6989         * paragraph.h (InsetTable, InsetList):
6990         * lyxfont.h (FontBits):
6991         type definition made public.
6992
6993         * bufferlist.C (emergencyWriteAll): the compiler complains that
6994         there is more than one possible lyx::class_fun template to choose from.
6995         I re-named the void specialisation as lyx::void_class_fun.
6996
6997         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6998
6999         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7000         the compiler is is unable to find tostr in write_attribute.
7001
7002 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7003
7004         * buffer.C (sgmlError): hide #warning
7005
7006 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7007
7008         * xtl/*: get rid of xtl, which is not in use anyway
7009
7010         * LyXAction.C (init):
7011         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7012         were unimplemented xtl experimentation
7013
7014 2002-06-04  André Pönitz <poenitz@gmx.net>
7015
7016         * lyxfunc.C: disable array operation on simple formulae
7017
7018 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7019
7020         * converter.C: constify a bit
7021
7022 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7023
7024         * lyx_gui.C: check xforms version correctly
7025
7026 2002-04-30  Herbert Voss  <voss@lyx.org>
7027
7028         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7029         "keep" option
7030
7031 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7032
7033         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7034           attempt to register it with a VCS)
7035
7036 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7037
7038         * lyx_main.C (init): honor variables LYX_DIR_13x and
7039         LYX_USERDIR_13x
7040
7041 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7042
7043         * buffer.h:
7044         * buffer.C:
7045         * lyx_main.C: fix a crash on bad command line,
7046           and give a useful exit status on error
7047
7048         * lyxfunc.C (doImport): allow -i lyx to work
7049
7050 2002-03-30  André Pönitz <poenitz@gmx.net>
7051
7052         * lyxfunc.C: mathed font changes
7053
7054 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7055
7056         * LaTeX.C:
7057         * importer.h:
7058         * importer.C:
7059         * lyx_sty.h:
7060         * lyx_sty.C:
7061         * lyxlex.C:
7062         * lyxrow.h:
7063         * lyxtext.h:
7064         * paragraph.h:
7065         * paragraph.C:
7066         * texrow.h:
7067         * texrow.C:
7068         * text.C:
7069         * trans_mgr.h: srcdocs, and some minor cleanups
7070
7071 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7072
7073         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7074         call getFont all the time)
7075
7076 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7077
7078         * switch from SigC signals to boost::signals
7079
7080 2002-05-29  André Pönitz <poenitz@gmx.net>
7081
7082         * paragraph_pimpl.C (getChar): don't call size() too often...
7083
7084 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7085
7086         * paragraph_pimpl.C (insertChar): do not try to update tables when
7087         appending (pos == size())
7088
7089         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7090         in order to reduce drastically the number of comparisons needed to
7091         parse a large document
7092
7093 2002-05-29  André Pönitz <poenitz@gmx.net>
7094
7095         * text.C:
7096         * text2.C:
7097         * lyxtextclass.C:
7098         * sp_pspell.h:
7099         * textclasslist.[Ch]:
7100         * sp_ispell.h: whitespace change
7101
7102 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7103
7104         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7105         lyxaction directly now.
7106
7107 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7108
7109         * trans.C:
7110         * lyxfont.C:
7111         * lyxvc.C: remove unused headers
7112
7113 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7114
7115         * Makefile.am:
7116         * buffer.h:
7117         * undostack.h:
7118         * undostack.C:
7119         * undo_funcs.h:
7120         * undo_funcs.C: some cleanups. Use shared_ptr
7121           and a template for the undo stacks.
7122
7123 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7124
7125         * BufferView_pimpl.h:
7126         * BufferView_pimpl.C:
7127         * kbmap.h:
7128         * kbmap.C:
7129         * kbsequence.h:
7130         * kbsequence.C:
7131         * lyxfunc.h:
7132         * lyxfunc.C:
7133         * text2.C: use key_state/mouse_state
7134
7135 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7136
7137         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7138         and LSubstring
7139
7140         * chset.C: change include order
7141         (loadFile): use boost regex and get rid of LRegex and LSubstring
7142
7143         * Makefile.am (BOOST_LIBS): new variable
7144         (lyx_LDADD): use it
7145
7146         * LaTeX.C: change include order.
7147         (scanAuxFile): use boost regex and get rid of LRegex and
7148         LSubstring
7149         (deplog): ditto
7150
7151 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7152
7153         * ColorHandler.h:
7154         * ColorHandler.C:
7155         * FontInfo.h:
7156         * FontInfo.C: moved to frontends/xforms/
7157
7158         * FontLoader.h:
7159         * FontLoader.C: moved into frontends for GUIIzation
7160
7161         * Makefile.am:
7162         * lyx_gui.C:
7163         * lyxfont.C:
7164         * lyxfunc.C: changes from above
7165
7166 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7167
7168         * LColor.C: remove spurious X include
7169
7170         * BufferView_pimpl.C:
7171         * Makefile.am:
7172         * font.h:
7173         * font.C:
7174         * text.C:
7175         * text2.C: move font metrics to frontends/
7176
7177 2002-05-24  Juergen Vigna  <jug@sad.it>
7178
7179         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7180         setting the undo_cursor.
7181
7182         * ParagraphParameters.h: include local includes first.
7183
7184 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7185
7186         * BufferView_pimpl.C:
7187         * BufferView_pimpl.h:
7188         * Makefile.am:
7189         * WorkArea.h:
7190         * WorkArea.C:
7191         * screen.C: move WorkArea into frontends/
7192
7193         * lyxscreen.h:
7194         * screen.C:
7195         * text.C:
7196         * BufferView.C:
7197         * BufferView2.C: move LyXScreen into frontends/
7198
7199         * lyxlookup.h:
7200         * lyxlookup.C:
7201         * lyx_gui.C: move lyxlookup into frontends/xforms/
7202
7203 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7204
7205         * BufferView2.C:
7206         * BufferView_pimpl.C:
7207         * FontLoader.C:
7208         * LyXView.h:
7209         * LyXView.C:
7210         * Makefile.am:
7211         * WorkArea.C:
7212         * XFormsView.h:
7213         * XFormsView.C:
7214         * buffer.C:
7215         * bufferlist.C:
7216         * bufferview_funcs.C:
7217         * converter.C:
7218         * importer.C:
7219         * lyx_cb.C:
7220         * lyx_gui.C:
7221         * lyx_main.C:
7222         * lyx_find.C:
7223         * lyxfunc.C:
7224         * lyxvc.C:
7225         * minibuffer.C:
7226         * text.C:
7227         * text2.C:
7228         * trans.C:
7229         * vc-backend.C: move LyX/XFormsView into frontends/
7230
7231 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7232
7233         * Makefile.am:
7234         * PainterBase.C:
7235         * PainterBase.h:
7236         * Painter.C:
7237         * Painter.h:
7238         * WorkArea.C:
7239         * WorkArea.h:
7240         * screen.C:
7241         * tabular.C:
7242         * text.C:
7243         * text2.C: move Painter to frontends/
7244
7245 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7246
7247         * buffer.C: comment out some some code that depend upon lyx_format
7248         < 220
7249
7250         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7251         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7252
7253         * buffer.h (NO_COMPABILITY): turn off compability
7254
7255         * ColorHandler.C: include scoped_array.hpp
7256
7257         * font.C: Use more specific smart_ptr header.
7258         * Painter.C: ditto
7259         * gettext.C: ditto
7260         * ShareContainer.h: ditto
7261         * lyx_main.h: ditto
7262         * kbmap.h: ditto
7263         * FontInfo.h: ditto
7264         * BufferView_pimpl.h: ditto
7265         * ColorHandler.h: ditto
7266
7267         * kbmap.C (defkey): change call to shared_ptr::reset
7268
7269 2002-05-21  Juergen Vigna  <jug@sad.it>
7270
7271         * buffer.C (insertErtContents): fix to insert ert asis if it is
7272         non empty. Skip it completely if it contains only whitespaces.
7273
7274 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7275
7276         * BufferView_pimpl.C:
7277         * BufferView2.C: clear selection on paste (bug 393)
7278
7279 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7280
7281         * DepTable.C: include ctime
7282
7283 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7284
7285         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7286
7287 2002-05-14  Juergen Vigna  <jug@sad.it>
7288
7289         * text.C (breakParagraph): fixed function to honor the keepempty
7290         layout in the right maner and also to permit the right breaking
7291         algorithm on empty or non empyt keepempty paragraphs.
7292
7293         * paragraph.C (breakParagraph): we have to check also if the par
7294         is really empty (!size()) for isempty otherwise we do the wrong
7295         paragraph break.
7296
7297 2002-05-10  Juergen Vigna  <jug@sad.it>
7298
7299         * buffer.[Ch] : The following are only changes to the ert
7300         compatibility read reading old LaTeX layout and font stuff and
7301         convert it to ERTInsets.
7302
7303         * buffer.h: added isErtInset().
7304
7305         * buffer.C (struct ErtComp): add a fromlayout bool to check
7306         if we're inside a LaTeX layout.
7307         (isErtInset): new helper function.
7308         (insertErtContents): look for other ert insets before this one
7309         and insert the contents there, so that we don't have subsequent
7310         ERT insets with nothing between them. This way we create only one
7311         inset with multiple paragraphs. Also check if we don't insert only
7312         spaces ' ' as they are ignored anyway afterwards in the .tex file
7313         so if we have only spaces we will ignore this latex part in the
7314         new file.
7315         (parseSingleLyXformat2Token \\layout): better compatibility when
7316         reading layout-latex stuff.
7317         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7318         language tag.
7319         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7320         stuff after reading the inset only get the information back from
7321         the stack.
7322
7323 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7324
7325         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7326
7327         * LaTeXFeatures.C (getBabelOptions): New method.
7328
7329 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7330
7331         * BufferView_pimpl.C (Dispatch): work around missing argument for
7332         'layout'
7333
7334 2002-05-08  Juergen Vigna  <jug@sad.it>
7335
7336         * text.C (leftMargin): handle paragraph leftindent.
7337
7338         * paragraph.C (writeFile): write the new \\leftindent tag.
7339         (validate): handle leftindent code.
7340         (TeXEnvironment): handle paragraphleftindent code again.
7341
7342         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7343
7344         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7345         for paragrap_extra indent code and new token \\leftindent.
7346         (latexParagraphs): handle the leftindent as environment.
7347
7348         * ParameterStruct.h: added leftindent support.
7349
7350         * ParagraphParameters.C (leftIndent): added support functions for
7351         the paragraph left indent.
7352
7353         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7354         more appropriate.
7355
7356 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7357
7358         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7359         inside insetERT.
7360
7361         * text.C (computeBidiTables): No bidi in insetERT.
7362
7363         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7364         in RTL documents.
7365
7366 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7367
7368         * version.C.in: pre 5
7369
7370 2002-05-02  José Matos  <jamatos@fep.up.pt>
7371         * buffer.C (makeDocBookFile): white space changes, add newline to
7372         command styles.
7373         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7374
7375         * tabular.C (docBook): fix typo.
7376
7377 2002-05-03  Juergen Vigna  <jug@sad.it>
7378
7379         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7380         change in LyXText as we can not be sure it was not freed.
7381         (drawOneRow): remove unused code.
7382
7383         * text.C (drawInset): redo the calculation of the need_break_row as
7384         it could have a row which was already freed.
7385         (draw): look at the return value of drawInset and return false if
7386         it also returned false.
7387         (paintRowText): look at the return value of draw and return false if
7388         it also returned false.
7389
7390         * lyxtext.h: added bool return type to drawInset() and draw() so that
7391         if we have a change in the row so that the rowbreak has to be redone
7392         we abort drawing as it will be called again.
7393
7394 2002-05-02  Juergen Vigna  <jug@sad.it>
7395
7396         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7397         a change in the maintext also if we're inside an inset.
7398         (Dispatch): set the cursor again after a break line and after the
7399         screen has been updated as it could be we're in a different row.
7400
7401         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7402         to set the cursor behind the pargraph with > size().
7403         (setCursor): check also for the same paragraph when checking where
7404         to put the cursor if we have a NFR inset.
7405
7406         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7407         parts of layout read further up as it still was in the wrong
7408         position.
7409
7410 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7411
7412         * screen.C (drawFromTo): change sine fullRebreak always return
7413         true.
7414
7415         * buffer.C (parseSingleLyXformat2Token): reindent some
7416
7417         * BufferView_pimpl.C (update): change since fullRebreak always
7418         return true.
7419         (Dispatch): git rid of the last hardcoded "Standard"s.
7420
7421 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7422
7423         * text2.[Ch] (fullRebreak): make it return void now that we always
7424         returned true.
7425
7426 2002-04-30  Juergen Vigna  <jug@sad.it>
7427
7428         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7429         ert compatibility check for "latex" layout.
7430
7431 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7432
7433         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7434         minipages: use col% instead of p%, and also use the current font.
7435         (makeLaTeXFile): Fix use babel condition.
7436         (parseSingleLyXformat2Token): Correct font when reading old floats.
7437
7438 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7439
7440         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7441         inserting list of floats.
7442
7443 2002-04-25  Herbert Voss  <voss@lyx.org>
7444
7445         * MenuBackend.C (expand): don't add the graphics extensions to the
7446         export menu
7447
7448 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7449
7450         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7451         non-existing layout, do not complain if it was the default layout
7452         of the original class (bug #342)
7453
7454 2002-04-24  Juergen Vigna  <jug@sad.it>
7455
7456         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7457         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7458
7459 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7460
7461         * buffer.C (getBibkeyList): If using \bibliography, return the
7462         option field with the reference itself. Enables us to provide natbib
7463         support when using \bibliography.
7464
7465 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7466
7467         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7468
7469         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7470         natbib is provided by the LaTeX class.
7471
7472 2002-04-23  Juergen Vigna  <jug@sad.it>
7473
7474         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7475         Wakeup functions.
7476
7477         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7478
7479 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7480
7481         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7482
7483         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7484         ensuremath around textordmasculine, textordfeminine and
7485         textdegree.
7486
7487 2002-04-19  Juergen Vigna  <jug@sad.it>
7488
7489         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7490         reinitializing the buffer otherwise row-dimensions may be wrong.
7491         (update): reset also the selection cursors if they do exits otherwise
7492         their x/y positions may be wrong.
7493
7494         * text2.C (cursorDown): don't enter the inset if we came from a row
7495         above and are one row over the inset.
7496
7497         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7498         really leaving an inset.
7499
7500 2002-04-18  Juergen Vigna  <jug@sad.it>
7501
7502         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7503         of the selected paragraph does not have the selected layout also if
7504         the last one had!
7505
7506         * text2.C (setLayout): fixed bug which did not change last selected
7507         paragraph.
7508
7509         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7510         changed the read and substituted \\end_float with \\end_inset!
7511
7512         * BufferView_pimpl.C (cursorPrevious):
7513         (cursorNext): fixed to make it work with rows heigher than the work
7514         area without moving the cursor only the draw of the row.
7515         (workAreaMotionNotify): fix jumping over high rows.
7516
7517 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7518
7519         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7520         Ressler.
7521
7522 2002-04-16  Juergen Vigna  <jug@sad.it>
7523
7524         * text2.C (setCursor): set also the irow().
7525         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7526         (cursorUp):
7527         (cursorDown): support for locking an inset if the x_fix value goes
7528         inside it. That way I can transverse insets too with cursor up/down.
7529
7530         * lyxrow.h: added irow helper function same as other (i) functions.
7531
7532         * BufferView_pimpl.C (cursorPrevious):
7533         (cursorNext): fixed for insets!
7534
7535 2002-04-15  Juergen Vigna  <jug@sad.it>
7536
7537         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7538         position otherwise it is wrong in some cases.
7539
7540         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7541         inside the inset before the call.
7542
7543 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7544
7545         * buffer.[Ch] (getBibkeyList): make it const.
7546
7547 2002-04-12  Juergen Vigna  <jug@sad.it>
7548
7549         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7550
7551         * text2.C (getCursorX): new helper function
7552         (setCursor): compute also ix_
7553         (setCursorFromCoordinates): set also ix.
7554
7555         * lyxcursor.h: added ix_ and helper functions.
7556
7557         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7558
7559         * buffer.C (insertStringAsLines): dont break paragraph if the this
7560         paragraph is inside an inset which does not permit it!
7561
7562         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7563         also with no chars on this paragraph.
7564         (paintRowText): only paint stuff if it's inside the workarea!
7565
7566         * paragraph.C (breakParagraph): honor keepempty flag and break the
7567         paragraph always below not above.
7568
7569         * BufferView2.C (unlockInset): update the paragraph layout on inset
7570         unlock as we changed paragraph in such a case.
7571
7572         * lyxfind.C (LyXFind): clear the former selection if not found!
7573
7574         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7575         again called in insertChar().
7576
7577         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7578         an inset which uses the whole row!
7579         (rightMargin): ditto.
7580         (insertChar): force a rebreak if we inserted an inset!
7581
7582 2002-03-28  Herbert Voss  <voss@lyx.org>
7583
7584         * lyxlength.[Ch]: add inBP() to get the right PS-point
7585         units (BigPoint). With inPixels we have rounding errors
7586
7587 2002-04-11  Juergen Vigna  <jug@sad.it>
7588
7589         * text2.C (setCursorFromCoordinates): set iy to the right value.
7590         (setCursor): add check if row->previous exists!
7591
7592         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7593         an old float_type as this was the case in the old code!
7594
7595         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7596
7597         * BufferView2.C (showLockedInsetCursor): use iy
7598         (fitLockedInsetCursor): ditto
7599
7600         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7601         locked insets as there we have the right value now.
7602
7603         * lyxcursor.C: added iy_ variable and iy functions to set to the
7604         baseline of cursor-y of the locked inset.
7605
7606         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7607         (setCursor): fixed for insets which need a full row.
7608
7609         * text.C (rowLastPrintable): don't ignore the last space when before
7610         an inset which needs a full row.
7611         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7612         as last character of a row when before a inset which needs a full row.
7613
7614 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7615
7616         * version.C.in: update date
7617
7618         * text2.C (fullRebreak): try to always return true and see what
7619         happens...
7620
7621 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7622
7623         * MenuBackend.C (expand): use Floating::listName
7624
7625         * FloatList.C (FloatList): add listName argument to the built-in
7626         floats
7627
7628         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7629         text associated with the float.
7630
7631 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7632
7633         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7634
7635 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7636
7637         * ShareContainer.h: add a couple of missing typenames.
7638
7639 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7640
7641         * lyxrc.C (getDescription): use _() correctly rather than N_().
7642
7643 2002-03-28  Herbert Voss  <voss@lyx.org>
7644
7645         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7646         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7647
7648 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7649
7650         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7651         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7652
7653 2002-03-29  Juergen Vigna  <jug@sad.it>
7654
7655         * lyxfunc.C (dispatch): add a missing fitCursor call.
7656
7657         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7658         it was scrolled by a cursor move, so return the bool status.
7659
7660         * BufferView.C (fitCursor): return the bool flag also to the outside
7661         world as this is needed.
7662
7663         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7664
7665         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7666         call the edit() as it is not needed (and wrong) IMO.
7667         (workAreaButtonPress): set the screen_first variable before evt.
7668         unlock the inset as this may change screen_first and then we have
7669         a wrong y position for the click!
7670
7671 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7672
7673         * MenuBackend.C (expand): another translation that I missed
7674
7675 2002-03-28  Juergen Vigna  <jug@sad.it>
7676
7677         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7678
7679         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7680
7681 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7682
7683         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7684
7685         * MenuBackend.C (expand): fix export/view/update when there is no
7686         document open.
7687
7688 2002-03-27  Herbert Voss  <voss@lyx.org>
7689
7690         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7691         and text%
7692
7693 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7694
7695         * bufferview_funcs.C (currentState): only show paragraph number
7696         for is DEVEL_VERSION is set.
7697
7698         * lyxfunc.C (dispatch): put warning in INFO channel
7699
7700         * MenuBackend.C (expand): translate the name of floats
7701
7702         * FloatList.C (FloatList): mark the float names for translation
7703
7704         * converter.C (convert): use LibScriptSearch
7705
7706 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7707
7708         * MenuBackend.C (defaults): fix default menu (we might as well get
7709         rid of it...)
7710
7711 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7712
7713         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7714         directory.
7715
7716 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7717
7718         * lyxvc.C: reorder includes.
7719
7720 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7721
7722         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7723           properly
7724
7725 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7726
7727         * CutAndPaste.C: change layouts earlier on paste
7728           to avoid crashing when calling getFont()
7729
7730 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7731
7732         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7733         irritating #error.
7734
7735 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7736
7737         * WorkArea.C: remove 'Pending' debug message.
7738
7739         * most files: ws cleanup
7740
7741         * buffer.[Ch]: ws changes
7742
7743         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7744
7745 2002-03-21  Juergen Vigna  <jug@sad.it>
7746
7747         * tabular.C (SetMultiColumn): collapse also the contents of the
7748         cells and set the last border right. Added a Buffer const * param.
7749
7750 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7751
7752         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7753         linking or not.
7754
7755 2002-03-19  Juergen Vigna  <jug@sad.it>
7756
7757         * text2.C (clearSelection): reset also xsel_cache.
7758
7759         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7760         where it needs to be called (John tells us to do so too :)
7761         (selectionLost): reset sel_cache.
7762
7763         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7764
7765 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7766
7767         * text2.C (setCursorIntern): put debuging code in INSETS channel
7768
7769 2002-03-19  André Pönitz <poenitz@gmx.net>
7770
7771         * lyxfunc.C: tiny whitespace change
7772
7773 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7774
7775         * ToolbarDefaults.C (init):
7776         * LyXAction.C (init):
7777         * commandtags.h:
7778         * BufferView_pimpl.C (Dispatch):
7779         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7780
7781 2002-03-19  Allan Rae  <rae@lyx.org>
7782
7783         * exporter.C (Export): removeAutoInsets before doing anything else.
7784         While I've just introduced a dependency on BufferView this really is
7785         the best place to clean the buffer otherwise you need to cleanup in
7786         a dozen places before calling export or cleanup in a dozen functions
7787         that export calls.
7788
7789         * converter.C (runLaTeX):
7790         (scanLog): Better handling of removeAutoInsets and screen updates.
7791
7792         * lyxfunc.C (dispatch): small whitespace changes
7793
7794 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7795
7796         * WorkArea.C (C_WorkAreaEvent): return a value.
7797         (event_cb): return 1 if we handled the event, 0 otherwise.
7798
7799         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7800
7801 2002-03-18  Juergen Vigna  <jug@sad.it>
7802
7803         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7804         (GetAdditionalWidth): ditto.
7805         (RightLine): ditto.
7806         (LeftLine): ditto.
7807
7808         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7809         inset if we're there actually (probably not used right now but this
7810         is the direction to go for unifying code).
7811         (paste): disable code to clear the selection.
7812
7813         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7814         inside an InsetText and move the check further up as it is in the
7815         wrong place.
7816
7817         * text2.C (pasteSelection): set a selection over the pasted text.
7818
7819 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7820
7821         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7822         and libgraphics to build on Cygwin.
7823
7824 2002-03-15  Juergen Vigna  <jug@sad.it>
7825
7826         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7827         inserting an Inset into the paragraph. I know this is not the best
7828         fix but we already use current_view in CutAndPaste so we will remove
7829         all of it's using at the same time.
7830
7831         * buffer.C (sgmlError): deactivated function till it is rewritten in
7832         the right mode, now it can create problems.
7833
7834         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7835         before accessing it.
7836
7837 2002-03-14  Juergen Vigna  <jug@sad.it>
7838
7839         * undo_funcs.C (textHandleUndo): do the right thing when updating
7840         the inset after the undo/redo.
7841
7842         * text2.C (setCursor): just some testcode for #44 not ready yet.
7843
7844         * undo_funcs.C (textHandleUndo): set the next() and previous()
7845         pointers of the paragraph to 0 before deleting otherwise we have
7846         problems with the Paragraph::[destructor].
7847
7848         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7849         on a paragraph insertion.
7850
7851 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7852
7853         * buffer.C (asciiParagraph): use += operator for char append to
7854         string.
7855
7856         * paragraph.C (getFontSettings): compare >= not just >
7857         (highestFontInRange): ditto
7858         (setFont): ditto
7859
7860 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7861
7862         * paragraph.C: change several algorithm to be more appripriate for
7863         the problem domain. This is lookip in FontList and in the InsetList.
7864
7865 2002-03-13  André Pönitz <poenitz@gmx.net>
7866
7867         * commandtags.h:
7868         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7869
7870 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7871
7872         * commandtags.h:
7873         * LyXAction.C:
7874         * lyxfunc.C:
7875         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7876
7877 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7878
7879         * Painter.C (display): anon helper function, adjust code for this
7880         change.
7881         (pixmap): remove function.
7882
7883         * Painter.h: remove private display variable.
7884
7885         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7886
7887 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7888
7889         * WorkArea.[Ch]: remove figinset_canvas cruft.
7890
7891 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7892
7893         * lyxtextclass.C (operator): add one item cache optimization.
7894
7895         * bufferlist.h: doxy changes
7896
7897         * bufferlist.C: ws changes
7898
7899         * DepTable.[Ch] (ext_exist): place const in the right spot.
7900
7901         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7902         call resizeInsets.
7903         (workAreaExpose): call resizeInsets when the with BufferView changes.
7904         (Dispatch): adjust for protectedBlank removal
7905         (specialChar): call updateInset if the insert went ok.
7906
7907         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7908         specialChar instead.
7909
7910         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7911
7912         * BufferView.h: doxy change
7913
7914         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7915
7916         * lyxtextclass.C (operator[]): remove non-const version
7917         (defaultLayout): remove non-const version
7918
7919 2002-03-12  Juergen Vigna  <jug@sad.it>
7920
7921         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7922         did resize the LyXText too.
7923
7924         * buffer.C (readLyXformat2): set layout information on newly allocated
7925         paragraphs.
7926
7927         * tabular.C (OldFormatRead): set layout information on the paragraph.
7928
7929 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7930
7931         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7932
7933 2002-03-11  Juergen Vigna  <jug@sad.it>
7934
7935         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7936         plainly wrong.
7937         (resizeCurrentBuffer): force also the insets to resize themselfes.
7938         (moveCursorUpdate): fixed up for InsetText.
7939
7940 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7941
7942         * commandtags.h:
7943         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7944         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7945         value of Dialogs::tooltipsEnabled().
7946         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7947
7948 2002-03-08  Juergen Vigna  <jug@sad.it>
7949
7950         * BufferView_pimpl.C (updateInset): update inset inside inset also
7951         if it isn't inside theLockingInset().
7952
7953 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7954
7955         * buffer.C (asciiParagraph): redo some of the word and line length
7956         handling.
7957         (getLists): look for Caption instead of caption.
7958
7959 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7960
7961         * buffer.C (Buffer): initialize niceFile to true
7962         (makeLaTeXFile):
7963         (makeLinuxDocFile):
7964         (makeDocBookFile): make sure niceFile is true on exit
7965
7966 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7967
7968         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7969
7970 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7971
7972         * LyXSendto.C: remove.
7973         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7974         * lyx_gui.C: remove now-redundant comment.
7975         * ColorHandler.h: remove forward declaration of class WorkArea.
7976         * lyxfunc.C: remove #include "WorkArea.h".
7977
7978 2002-03-07  Juergen Vigna  <jug@sad.it>
7979
7980         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7981         got moved away with the DEPM and also set the inset_owner always
7982         right which before could have been omitted.
7983
7984 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7985
7986         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7987         wanted layout is not found.
7988
7989 2002-03-07  Juergen Vigna  <jug@sad.it>
7990
7991         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7992
7993 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7994
7995         * paragraph.C (breakParagraph): use default layout not layout of
7996         prev paragraph.
7997         (Paragraph): clear ParagraphParameters.
7998
7999 2002-03-06  Juergen Vigna  <jug@sad.it>
8000
8001         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8002         otherwise it would not be a valid lenght. Fixed a special case in
8003         the minipage compatibility read where we end the document with a
8004         minipage.
8005
8006         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8007         was set as it could be 0 for InsetTexts first entry.
8008
8009 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8010
8011         * paragraph.C (writeFile): if layout is empty write out
8012         defaultLayoutName().
8013
8014         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8015         file without named layout we set layout to defaultLayoutName().
8016
8017 2002-03-06  Juergen Vigna  <jug@sad.it>
8018
8019         * CutAndPaste.C (copySelection): set layout for new paragraph.
8020
8021         * text.C (prepareToPrint): leave ERT inset left aligned
8022         (leftMargin): don't indent paragraphs inside ERT insets
8023
8024 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8025
8026         * paragraph.C (breakParagraph): dont call clear do the work manually
8027
8028         * paragraph.[Ch] (clear): remove function
8029
8030 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8031
8032         * paragraph.C (Paragraph): dont call clear, the work has already
8033         been done.
8034
8035         * lyxtextclass.C (operator): assert if n is empty
8036
8037         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8038         work manually instead.
8039
8040 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8041
8042         * BufferView_pimpl.C: protect selectionLost against text == 0
8043
8044 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8045
8046         * text.C (breakParagraph): fix a setting layout to '0' problem.
8047
8048 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8049
8050         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8051         final location of file, for the included files, and graphics.
8052
8053 2002-03-05  Juergen Vigna  <jug@sad.it>
8054
8055         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8056
8057 2002-03-04  Juergen Vigna  <jug@sad.it>
8058
8059         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8060
8061         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8062         last column of multicolumn cells.
8063         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8064
8065 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8066
8067         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8068         file if it doesn't go to a temporary file.
8069
8070         * buffer.C (sgmlOpenTag):
8071         (sgmlCloseTag):  remove extra newline insertion.
8072
8073 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8074
8075         * text.C (getRowNearY): comment out debug msg
8076
8077 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8078
8079         * text2.C: first -> first_y
8080
8081         * text.C (getRowNearY): add some attemts at a possible
8082         optimization, not working.
8083
8084         * tabular.[Ch]: add BufferParams to several function so that newly
8085         created paragraph can be initialized to he default layotu for the
8086         buffers textclass.
8087
8088         * tabular-old.C (ReadOld): add buf->params to call of Init
8089
8090         * screen.C: rename text->first to text->first_y
8091
8092         * paragraph.C (breakParagraph): always set layout in the broken
8093         paragraph
8094
8095         * lyxtextclass.C (Read): remove lowercase
8096         (hasLayout): ditto
8097         (operator): ditto
8098         (delete_layout): ditto
8099
8100         * lyxtext.h: rename first -> first_y
8101
8102         * lyxlayout.C (Read): remove lowercase
8103         (name): ditto
8104         (setName): ditto
8105         (obsoleted_by): ditto
8106
8107         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8108
8109         * buffer.C (insertErtContents): add params are to InsetERT
8110         (parseSingleLyXformat2Token): add code to check if a paragraphs
8111         layout really exist.
8112         (parseSingleLyXformat2Token): add params to several inset
8113         constructors
8114         (asciiParagraph): remove lowercase, do the layout comparisons with
8115         no_case
8116
8117         * BufferView_pimpl.C (cursorNext): first -> first_y
8118         (resizeCurrentBuffer): first -> first_y
8119         (updateScrollbar): first -> first_y
8120         (scrollCB): first -> first_y
8121         (workAreaMotionNotify): first -> first_y
8122         (workAreaButtonPress): first -> first_y
8123         (checkInsetHit): first -> first_y
8124         (cursorPrevious): first -> first_y
8125         (cursorNext): first -> first_y
8126         (Dispatch): add buffer_->params to severl inset contructors
8127
8128 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8129
8130         * lyxlayout.C (Read): remove some debug info that I forgot.
8131
8132         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8133         clean up the code slightly.
8134         (makeLinuxDocFile): ditto
8135         (makeDocBookFile): ditto
8136
8137         * text2.C: layout as string
8138
8139         * text.C: layout as string
8140
8141         * paragraph_pimpl.C: layout as string
8142
8143         * paragraph.[Ch]: layout as string
8144
8145         * lyxtextclasslist.[Ch]: layout as string
8146
8147         * lyxtextclass.[Ch]: layout as string
8148
8149         * lyxtext.h: layout as string
8150
8151         * lyxlayout.[Ch]: layout as string
8152
8153         * lyx_cb.C: layout as string
8154
8155         * bufferview_funcs.C: layout as string
8156
8157         * bufferparams.C: layout as string
8158
8159         * buffer.C: layout as string
8160
8161         * LyXView.[Ch]: layout as string
8162
8163         * LaTeXFeatures.[Ch]: layout as string
8164
8165         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8166
8167         * BufferView_pimpl.C: change current_layout to string, remove
8168         lyx::layout_type.
8169         (Dispatch):
8170         (smartQuote):
8171         (insertInset):
8172         (workAreaButtonRelease): layout as string
8173
8174         * BufferView2.C (unlockInset): adjust
8175
8176         * vspace.C (asLatexCommand): use an explict temp variable.
8177
8178 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8179
8180         * Makefile.am: use FRONTEND_*
8181
8182 2002-03-01  Juergen Vigna  <jug@sad.it>
8183
8184         * tabular.C (SetWidthOfMulticolCell): changed to something better
8185         I hope but still work in progress.
8186         (recalculateMulticolumnsOfColumn): renamed function from
8187         recalculateMulticolCells as it is more appropriate now.
8188         (SetWidthOfCell): calculate multicols better.
8189
8190 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8191
8192         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8193
8194         * lyxfunc.C (processKeySym): print sequence also if it is
8195         `deleted' (complete)
8196
8197         * kbsequence.C (print): print sequence even if it is deleted
8198         (complete would be a better word, actually).
8199
8200         * lyxfunc.C (dispatch): print complete options after a prefix key
8201
8202         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8203
8204 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8205
8206         * text2.C (setCharFont): eliminate setCharFont code duplication.
8207
8208 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8209
8210         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8211         LFUN_TABULAR_FEATURE (bug #177)
8212
8213 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8214
8215         * Makefile.am: remove figure.h
8216
8217 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8218
8219         * Bufferview_pimpl.C:
8220         * CutAndPasteC:
8221         * LaTeX.C:
8222         * LyXSendto.C:
8223         * buffer.C:
8224         * bufferlist.C:
8225         * converter.C:
8226         * language.C:
8227         * lyxfunc.C:
8228         * lyxvc.C:
8229         * paragraph.C:
8230         * text.C:
8231         * text2.C: remove #include "lyx_gui_misc.h".
8232
8233         * LaTeX.C: added #include <cstdio>
8234
8235 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8236
8237         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8238         that the paragraph following this one can have.
8239
8240         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8241
8242         * vspace.C (asLatexCommand): fix bogus gcc warning
8243
8244         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8245
8246 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8247
8248         * text2.C (setLayout): get rid of redundant code
8249
8250 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8251
8252         * text2.C (incDepth): make sure depth cannot be increased beyond
8253         reasonable values.
8254
8255 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8256
8257         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8258         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8259
8260         * PainterBase.h (image):
8261         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8262         a LyXImage const *.
8263
8264 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8265
8266         * BufferView.C:
8267         * BufferView.h:
8268         * BufferView_pimpl.C:
8269         * BufferView_pimpl.h:
8270         * LaTeXFeatures.C:
8271         * LyXAction.C:
8272         * LyXView.C:
8273         * Makefile.am:
8274         * UpdateList.h:
8275         * UpdateList.C:
8276         * buffer.C:
8277         * figure.h:
8278         * figureForm.C:
8279         * figureForm.h:
8280         * figure_form.C:
8281         * figure_form.h:
8282         * lyx_cb.C:
8283         * lyx_gui.C:
8284         * lyx_gui_misc.C:
8285         * lyxfunc.C:
8286         * sp_base.h:
8287         * sp_ispell.h:
8288         * sp_pspell.h:
8289         * sp_spell.C: remove fig inset, and the crap house of
8290           cards that follows it
8291
8292 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8293
8294         * Makefile.am:
8295         * lyxserver.C:
8296         * os2_defines.h:
8297         * os2_errortable.h:
8298         * nt_defines.h: move .h into support/
8299
8300         * vms_defines.h: remove
8301
8302         * WorkArea.C: add space in debug output
8303
8304         * text2.C:
8305         * paragraph.C:
8306         * buffer.C: add WITH_WARNINGS
8307
8308         * vc-backend.h:
8309         * vc-backend.C:
8310         * bufferlist.C: s/retrive/retrieve/, add docs
8311
8312         * vspace.h:
8313         * vspace.C:
8314         * kbmap.h:
8315         * lyxlength.h:
8316         * lyxgluelength.h:
8317         * length_common.h:
8318         * chset.h:
8319         * chset.C: add docs
8320
8321         * lyxgui.C: add ID to X error handler
8322
8323         * lyxtestclass.c: fix typo
8324
8325 2002-02-26  Juergen Vigna  <jug@sad.it>
8326
8327         * tabular_funcs.C (write_attribute): changed so that some default
8328         attributes are not written at all.
8329         (getTokenValue): set default values before trying to read the
8330         value so we have the return value always set as default if we don't
8331         find the token we search for.
8332
8333         * tabular.C (Write): write bools as bools not as strings!
8334
8335 2002-02-22  Juergen Vigna  <jug@sad.it>
8336
8337         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8338         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8339
8340         * text.C (leftMargin): don't add an indent for paragraphs inside
8341         tabular cells (fix #208).
8342
8343 2002-02-21  José Matos  <jamatos@fep.up.pt>
8344
8345         * tabular.C (docBook): fixed support for long tables.
8346
8347 2002-02-20  Juergen Vigna  <jug@sad.it>
8348
8349         * text2.C (getFont): get the drawing font of the Inset if this
8350         paragraph is inside an inset (only important for InsetERT for now).
8351
8352         * buffer.C (insertErtContents): use new lanugage params in ERT
8353         constructor.
8354
8355         * CutAndPaste.C: commenting out seemingly uneeded code.
8356
8357 2002-02-19  Allan Rae  <rae@lyx.org>
8358
8359         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8360         Iterators might be simple to use but they also get invalidated.
8361         (removeAutoInsets): renamed saved cursor tracking variables and added
8362         some comments to clarify what everything does.
8363
8364 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8365
8366         * Chktex.C:
8367         * LaTeX.C:
8368         * LyXSendto.C:
8369         * converter.C:
8370         * lyx_cb.C:
8371         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8372         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8373
8374         * lyxfunc.C:
8375         * vc-backend.h: remove #include "support/syscall.h"
8376
8377         * LaTeX.C:
8378         * LyXSendto.C:
8379         * converter.C: rearrange #includes in Lars' approved fashion.
8380
8381         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8382         forward declare class Timeout in the header file.
8383
8384         * XFormsView.C: changes due to the above.
8385
8386         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8387         similar to LyXView.
8388
8389         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8390         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8391
8392 2002-02-18  José Matos  <jamatos@fep.up.pt>
8393
8394         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8395         insets contents.
8396
8397 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8398
8399         * a lot of small ws changes
8400         * add a lot of using std::XXX
8401         * use std construcs some places where approp.
8402         * use some exisint stuff from lyxfunctional where approp.
8403         * Make file changes to use partial linking (lets test this now...)
8404
8405 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8406
8407         * Chktex.C:
8408         * buffer.C:
8409         remove #include "support/syscontr.h" as it's redundant. Always has been.
8410
8411         * Chktex.C:
8412         * LaTeX.C:
8413         * LyXSendto.C:
8414         * converter.C:
8415         * lyx_cb.C:
8416         * vc-backend.C:
8417         change Systemcalls::System to Systemcalls::Wait and
8418         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8419         No change of functionality, just reflects the stripped down Systemcalls
8420         class.
8421
8422 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8423
8424         * debug.[Ch]: add a GRAPHICS type to the enum.
8425
8426 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8427
8428         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8429
8430         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8431         there is an inset.
8432
8433 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8434
8435         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8436         match the changes below.
8437
8438         * text2.C (toggleInset): if there is not editable inset at cursor
8439         position, try to see if cursor is _inside_ a collapsable inset
8440         and close it.
8441
8442 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8443
8444         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8445         document menu has a nice checkbox
8446
8447 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8448
8449         * lyxlength.C (asLatexString): change PW to output as percent of
8450         \textwidth.
8451
8452         * lengthcommon.C: change '%' to 't%'
8453
8454         * lyxfunc.C (dispatch): a few comments from Martin
8455
8456 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8457
8458         * WorkArea.h:
8459         * WorkArea.C:
8460         * BufferView_pimpl.h:
8461         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8462           the X selection.
8463
8464 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8465
8466         * vspace.C (inPixels): fix compiler warning
8467
8468 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8469
8470         * lyxfunc.C (getStatus): fix status message for disabled commands.
8471
8472 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8473
8474         * BufferView_pimpl.C: fix crash on close buffer
8475         during selection (#227)
8476
8477 2002-01-27  Herbert Voss  <voss@lyx.org>
8478
8479         * buffer.C: link old Figure to new graphic inset
8480
8481 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8482
8483         * FontLoader.C (getFontinfo): Change the latex font names in order
8484         to match the names of type1inst.
8485
8486 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8487
8488         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8489
8490         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8491         (extchanged): ditto
8492         (ext_exist): ditto
8493         (remove_files_with_extension): ditto
8494         (remove_file): ditto
8495         (write): ditto
8496
8497         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8498         document is smaller than the work area height. Do not initialize
8499         static variables to 0.
8500
8501 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8502
8503         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8504
8505         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8506         LFUN_LAYOUT_PARAGRAPHS.
8507
8508         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8509         tabular. It is possible to provide a possible cell, which will
8510         typically be the actcell from the corresponding insettabular
8511
8512         * lyxfunc.C (getStatus): small cleanup; disable
8513         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8514         true
8515
8516 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8517
8518         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8519
8520         * paragraph.C (startTeXParParams):
8521         (endTeXParParams): new methods. The LaTeX code to
8522         start/end paragraph formatting
8523         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8524         empty (fixes bug #200)
8525
8526         * vspace.C (inPixels): adapt to the change below
8527         (inPixels): [later] more cleanups (remove unused variables)
8528
8529         * lyxlength.C (inPixels): change to use a width and a height as
8530         parameter.
8531
8532 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8533
8534         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8535         Replaced with \paperwidth
8536
8537         * DepTable.C (insert): add std:: qualifier
8538
8539 2002-01-18  Allan Rae  <rae@lyx.org>
8540
8541         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8542         updated also?
8543
8544         * text.C (drawInset): Turned out I didn't know enough about how
8545         rebreaking worked.  This fixes most of the redraw problems.  I see
8546         an occasional cursor trail when a line is broken now and the cursor
8547         placement can seem out by a few pixels also after a rebreak.
8548
8549 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8550
8551         * buffer.C (parseSingleLyXformat2Token): update because minipage
8552         width is now a LyXLength
8553
8554         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8555
8556         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8557         math insets
8558
8559 2002-01-17  Juergen Vigna  <jug@sad.it>
8560
8561         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8562
8563         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8564         is set correctly and the inset is updated correctly.
8565
8566 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8567
8568         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8569         the beginning of the loop.
8570
8571 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8572
8573         * lyxrc.C: improve help for use_scalable_fonts
8574
8575 2002-01-17  Allan Rae  <rae@lyx.org>
8576
8577         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8578
8579 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8580
8581         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8582         make sure to set their inset_owner to the right value (bug #171)
8583
8584 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8585
8586         * DepTable.h
8587         * DepTable.C: Implement mtime checking to reduce time spent doing
8588         CRCs.
8589
8590 2002-01-16  Juergen Vigna  <jug@sad.it>
8591
8592         * tabular.C (GetAdditionalHeight): one of error fixed.
8593
8594         * lyxrc.C (output): small fix in writing use_pspell.
8595
8596 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8597
8598         * sp_base.h: #include LString.h
8599
8600 2002-01-16  Allan Rae  <rae@lyx.org>
8601
8602         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8603         Can someone check this please?
8604
8605         * text.C (drawInset): It was possible that p.row would be removed by
8606         breakAgainOneRow upsetting a few other settings.  There may be another
8607         small tweak possible by setting need_break_row = 0 when p.row has been
8608         removed but I don't know enough about the logic here.
8609
8610 2002-01-15  Allan Rae  <rae@lyx.org>
8611
8612         * text.C (insertChar): removed conditional truism.
8613
8614         * BufferView2.C (removeAutoInsets): More tweaks.
8615         cur_par_prev could be a stray pointer.  Check for trailing empty line
8616         in case last line was cur_par and only had an error inset on it.
8617
8618 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8619
8620         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8621         absolute
8622
8623         * vc-backend.C (most methods):
8624         * exporter.C (Export):
8625         * converter.C (convert):
8626         (runLaTeX):
8627         * LyXSendto.C (SendtoApplyCB):
8628         * lyxfunc.C (dispatch):
8629         (menuNew):
8630         (open):
8631         (doImport):
8632         * lyx_cb.C (AutoSave):
8633         (InsertAsciiFile):
8634         * BufferView_pimpl.C (MenuInsertLyXFile):
8635         * buffer.C (runChktex): use Buffer::filePath().
8636
8637         * buffer.h: rename filename to filename_; rename filepath to
8638         filepath_ and make it private
8639         (filePath): new method
8640
8641         * buffer.C (writeFile): use fileName()
8642         (getLatexName):
8643
8644         * lyx_main.C (init): fix starting  of LyX when the binary is a
8645         link from so,ewhere else.
8646
8647         * minibuffer.C: include <cctype> for isprint
8648
8649 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8650
8651         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8652         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8653         name clash with InsetCollapsable's width function.
8654
8655 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8656
8657         * lastfiles.C: include <iterator>
8658
8659 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8660
8661         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8662         std::count.
8663
8664         * buffer.C (makeLaTeXFile): ditto.
8665         Also make loop operation more transparent.
8666
8667 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8668
8669         * ToolbarDefaults.C: remove trailing comma closing namespace.
8670
8671         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8672
8673         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8674         as in WorkArea.
8675
8676         * trans.C (Load): comment out unused variable, allowed.
8677
8678 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8679
8680         * minibuffer.[Ch] (append_char): new method to recieve input from the
8681         drop-down completion browser. If a key was pressed, then recieve this
8682         char and append it to the existing string.
8683         (peek_event): modify the positioning data passed to the completion
8684         browser so that it can be placed above the minibuffer rather than below.
8685 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8686
8687         * LyXAction.C (init): alloe error-next for readonly documents.
8688
8689         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8690         count.
8691
8692 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8693
8694         * bufferlist.C (readFile): create the buffer _after_ checking that
8695         the file exists.
8696
8697         * lyxfunc.C (verboseDispatch): fix handling of arguments
8698
8699         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8700
8701         * lyxrc.C: use string::erase() instead of initializing to "".
8702
8703
8704 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8705
8706         * BufferView_pimpl.h:
8707         * BufferView_pimpl.C:
8708         * WorkArea.h:
8709         * WorkArea.C:
8710         * text2.C: tell X when we have made a selection for copying
8711
8712 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8713
8714         * BufferView_pimpl.C (MenuInsertLyXFile):
8715         * lyxfunc.C (menuNew):
8716         (open):
8717         (doImport): add shortcuts to directory buttons
8718
8719         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8720         open a float)
8721
8722         * lyxfunc.C (setStatusMessage):
8723         (getStatusMessage): new methods
8724         (getStatus):use setStatusMessage instead of setErrorMessage
8725         (dispatch): when function is disabled, set error message here
8726         [instead of in getStatus previously]
8727
8728         * BufferView_pimpl.C (workAreaButtonRelease): update
8729         toolbar/menubar here too.
8730
8731 2002-01-13  Allan Rae  <rae@lyx.org>
8732
8733         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8734         Now seems indestructible.  Remaining task is to audit all other
8735         code affected by deleteEmptyParagraphMechanism.  One small quirk
8736         left is that an empty document with an error in the preamble can
8737         be made to report an error but no error box appears.  I don't know
8738         where it goes.
8739         (removeAutoInsets): Improved comments.
8740
8741 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8742
8743         * Thesaurus.h:
8744         * Thesaurus.C: update for Aiksaurus 0.14
8745
8746 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8747
8748         * text2.C (firstParagraph): removed member function, all uses
8749         replaces with ownerParagraph
8750         (redoParagraphs): here
8751         (updateInset): here
8752         (toggleAppendix): here
8753         * BufferView2.C (insertErrors): here
8754         (setCursorFromRow): here
8755
8756 2002-01-13  Allan Rae  <rae@lyx.org>
8757
8758         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8759         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8760         There is still a way to segfault this although you may have to do this
8761         multiple times: Have an InsetERT with an unknown command in it.
8762         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8763         <down-arrow>, <Enter> again, View->DVI, BANG!
8764
8765         * text2.C (setCursor):
8766         (deleteEmptyParagraphMechanism):
8767         * lyxtext.h (setCursor):
8768         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8769         Making use of the return value may help fix other bugs.
8770
8771 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8772
8773         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8774
8775         * LyXView.C (updateMenubar): call MenuBar::update here
8776         (updateToolbar): but not here
8777         (showState): do not update toolbar/menubar
8778
8779         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8780         should need to care about that.
8781
8782         * lyxfunc.C (verboseDispatch): simplify a bit
8783         (getStatus): have a version which takes a pseudoaction, and
8784         another which requires a (kb_action,string).
8785
8786         * LyXAction.C (retrieveActionArg): make it work also when action
8787         is not a pseudo-action.
8788         (getActionName): simplify a bit
8789         (helpText):
8790
8791 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8792
8793         * lyxfunc.C (verboseDispatch): new families of methods with
8794         several ways to specify a command and a bool to indicate whether
8795         the command name and shortcut should be displayed in minibuffer
8796         (eventually, we could extend that to a finer bitmask like
8797         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8798         (dispatch): the pristine dispatch command which just, well,
8799         dispatchs! Note it still sets its result to minibuffer; I'm not
8800         sure we want that.
8801
8802         * lyxfunc.h: remove setHintMessage
8803
8804         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8805
8806 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8807
8808         * BufferView_pimpl.C (specialChar): delete new inset if we have
8809         not been able to insert it.
8810
8811         * kbmap.C: revert to using int instead of kb_action, since all we
8812         are dealing with is pseudo-actions.
8813
8814         * LyXAction.C (searchActionArg): change to return int instead of
8815         kb_action, since the result is a pseudoaction.
8816
8817 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8818
8819         * buffer.C (insertErtContents): Fix (partially) the font bug.
8820
8821 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8822
8823         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8824         as the other one is broken on my machine!
8825
8826 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8827
8828         * commandtags.h:
8829         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8830
8831 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8832
8833         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8834         reflect their actual use. Provide compatibility code for older lyxrc
8835         files.
8836
8837         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8838         FL_NORMAL_STYLE.
8839         change names of popup font variables in line with the changes to lyxrc.C
8840
8841 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8842
8843         * buffer.C (asciiParagraph): avoid outputing a word twice after
8844         an inset.
8845
8846         * lyxrc.C (getDescription): document that document_path and
8847         template_path can be empty.
8848
8849 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8850
8851         * LaTeXFeatures.C (getMacros):
8852         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8853
8854         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8855
8856         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8857         getPackages.
8858         (getPackages): rename feature "floats" to "float". Use an array to
8859         iterate over 'simple' features (i.e. just a \usepackage). Add
8860         handling of "amsmath" (renamed from "amsstyle").
8861
8862 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8863
8864         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8865         features list.
8866
8867 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8868
8869         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8870         FuncStaus::FuncStatus & FuncStaus::some_method().
8871
8872 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8873
8874         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8875         of the func_satus stuff. Edited and massaged in various ways by
8876         JMarc.
8877
8878         * lyxfunc.C (getStatus): use FuncStatus
8879
8880 2002-01-08  Juergen Vigna  <jug@sad.it>
8881
8882         * text.C (nextBreakPoint): use function Inset::isChar().
8883
8884         * paragraph.C (TeXOnePar): use function
8885         Inset::forceDefaultParagraphs.
8886
8887         * buffer.C (latexParagraphs): use function
8888         Inset::forceDefaultParagraphs.
8889
8890 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8891
8892         * lyx_gui.C (init): set the style of the menu popups to
8893         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8894
8895 2002-01-07  Juergen Vigna  <jug@sad.it>
8896
8897         * text.C (setHeightOfRow): small fix
8898         (prepareToPrint): don't look at alignment if we don't have the place
8899         for doing it.
8900
8901 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8902
8903         * box.C: New file. Move the Box methods and functions out of box.h,
8904         following Lars' suggestion.
8905
8906 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8907
8908         * box.h: #include "support/LOstream.h", needed for inlined function.
8909
8910         * lyxtextclass.C:
8911         * lyxtextclasslist.C: added some using std declarations.
8912
8913 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8914
8915         * box.h: make signed dimensions to allow insets wider than
8916           the screen (bug #162)
8917
8918         * BufferView_pimpl.C: add some insetHit debug
8919
8920 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8921
8922         * vc-backend.C: add FIXME
8923
8924 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8925
8926         * lyxfunc.C (getStatus): enable code for showing math font status
8927         in toolbar/menu.
8928
8929 2002-01-07  Juergen Vigna  <jug@sad.it>
8930
8931         * text.C (nextBreakPoint): removed debug output not needed anymore.
8932
8933 2002-01-06  Juergen Vigna  <jug@sad.it>
8934
8935         * text.C (nextBreakPoint): fixed up this function we had this bug
8936         since ever but now hopefully we break row better.
8937         (insertChar): we have to check if an inset is the next char as it
8938         could now happen that a large inset is causing a break.
8939
8940 2002-01-05  Juergen Vigna  <jug@sad.it>
8941
8942         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8943         if it doesn't like to be drawed.
8944
8945 2002-01-04  Juergen Vigna  <jug@sad.it>
8946
8947         * BufferView2.C (lockInset): forgot to set a cursor.
8948
8949         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8950
8951 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8952
8953         * FormMathsPanel.C:
8954         * FormMathsPanel.h
8955         * MathsSymbols.C:
8956         * form_maths_panel.C:
8957         * form_maths_panel.h:
8958         * form_maths_panel.fd: implemented sub- and super- buttons in math
8959         panel.
8960
8961         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8962         (or ^ space) to be used as in TeX (req'd by André).
8963
8964         * lyxfunc.C: Allow ^ and _ again to be used both as
8965         super/subscript (mathed) and as themselves (in text).
8966
8967 2002-01-03  Allan Rae  <rae@lyx.org>
8968
8969         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8970         "LyX" or the filename of the current buffer if it has one.  This is a
8971         modified form of John Levon's patch.
8972
8973         * XFormsView.C (setWindowTitle): also set icon title.
8974
8975         * LyXView.h (setWindowTitle): signature changed.
8976         * XFormsView.h (setWindowTitle): ditto.
8977
8978 2002-01-02  Juergen Vigna  <jug@sad.it>
8979
8980         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8981
8982 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8983
8984         * screen.C (topCursorVisible): introduce a temp var for
8985         text->cursor.row(), handle the case where this row is null. (kindo
8986         hachish)
8987
8988         * text2.C (setCursor): add a couple of asserts.
8989
8990         * paragraph.h (inset_iterator): add -> operator
8991
8992         * paragraph.[Ch] (autoDeleteInsets): remove member function
8993
8994         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8995         cursor pos correctly and handle inset deletion by itself.
8996         (insertErrors): move iterator declaration out of for expression
8997
8998         * lyxtextclass.C: add <algorithm>
8999
9000         * Makefile.am: added the new files to sources, removed layout.C
9001
9002         * layout.C: removed file
9003
9004         * layout.h: remove LYX_DUMMY_LAYOUT
9005
9006         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9007         layout.
9008
9009         * lyxlayout.[Ch]:
9010         * lyxtextclass.[Ch]:
9011         * lyxtextclasslist.[Ch]: new files
9012
9013         * include order changes to a lot of files, also changes because of
9014         the six new files.
9015
9016 2001-12-27  Juergen Vigna  <jug@sad.it>
9017
9018         * buffer.C (asciiParagraph): more fixes.
9019
9020         * tabular.C (ascii): make ascii export support export of only the
9021         data separated by a column-delimiter.
9022         (ascii): better support for ascii export.
9023
9024         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9025
9026 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9027
9028         * tabular_funcs.C: use a "using std::getline" instead of the
9029         previous fix from Angus (necessary for cxx + lyxstring)
9030
9031 2001-12-24  Juergen Vigna  <jug@sad.it>
9032
9033         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9034
9035         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9036         problems. First check a minipage also if we have some ert-contents
9037         (not only on par->size(), second set the right depth of the paragraph
9038         on the relink to the root-paragraph-list!
9039
9040         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9041         which then did not anymore update the main paragraphs on undo/redo!
9042
9043 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9044
9045         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9046         code. Support all font-changing funcs (even those which are not in
9047         menu currently). Support for reporting font settings in
9048         mathed (disabled until Andre provides a function on mathed's side).
9049
9050         * func_status.h (toggle): small helper function to set toggle
9051         state on a flag.
9052
9053 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9054
9055         * tabular_funcs.C: getline -> std::getline
9056
9057 2001-12-21  Juergen Vigna  <jug@sad.it>
9058
9059         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9060         accessed and could be 0 (I couldn't generate this but it seems
9061         Michael could!).
9062
9063 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9064
9065         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9066         * tabular_funcs.h: here and include iosfwd
9067
9068 2001-12-20  Juergen Vigna  <jug@sad.it>
9069
9070         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9071         inside inset but undo_par was.
9072
9073 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9074
9075         * Thesaurus.C: always include <config.h> in sources.
9076
9077         * Painter.h:
9078         * lyxlookup.h:
9079         * box.h: do not include <config.h> in header files
9080
9081         * text.C (paintLastRow): remove unused variable
9082
9083         * text.C (transformChar):
9084         (insertChar):
9085         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9086
9087         * Painter.C (text):
9088         * font.C (width): rewrite to use uppercase() instead of
9089         islower/toupper.
9090
9091         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9092
9093 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9094
9095         * lyxfind.C: clean up of find failure position change
9096
9097 2001-12-20  Juergen Vigna  <jug@sad.it>
9098
9099         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9100
9101         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9102         (TeXRow): added to LaTeX a single tabular row.
9103         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9104         (Latex): simplified and finally good LT-h/f support.
9105         (various_functions): just small adaptions for LT-h/f support.
9106
9107         * tabular_funcs.[hC]: added and moved here all not classfunctions
9108         of LyXTabular.
9109
9110 2001-12-19  Juergen Vigna  <jug@sad.it>
9111
9112         * tabular.[Ch]: better support for longtabular options (not finished
9113         yet!)
9114
9115 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9116
9117         * text.C (paintLastRow): use the label font instead of the font of
9118         the last character to compute the size of *_BOX. This makes more
9119         sense and avoids a crash with empty paragraphs.
9120         Use Painter::rectangle to draw EMPTY_BOX.
9121
9122 2001-12-19  Juergen Vigna  <jug@sad.it>
9123
9124         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9125         the paragraphs if the replaced paragraph is not the first one!
9126         Tried to delete not used paragraphs but does not work yet so for
9127         now it's inside #ifdef's and by default off!
9128
9129 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9130
9131         * MenuBackend.C: include "lyx_main.h" instead of declaring
9132         lastfiles (actually was declared as LastFiles* instead of a
9133         scoped_ptr).
9134
9135 2001-12-17  Juergen Vigna  <jug@sad.it>
9136
9137         * tabular.C (AppendColumn): applied John's fix
9138
9139 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9140
9141         * BufferView.h:
9142         * BufferView.C:
9143         * BufferView_pimpl.h:
9144         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9145
9146         * Makefile.am:
9147         * box.h: new start of class for above
9148
9149         * lyxfunc.C: ignore space-only minibuffer dispatches.
9150           Show the command name when it doesn't exist
9151
9152         * minibuffer.C: don't add empty lines to the history
9153
9154         * minibuffer.C: add a space on dropdown completion
9155
9156 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9157
9158         * text.C: fix line above/below drawing in insets
9159
9160 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9161
9162         * lyxlength.C (LyXLength): Initialize private variables.
9163
9164 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9165
9166         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9167         when inserting error insets.
9168
9169 2001-12-13  Juergen Vigna  <jug@sad.it>
9170
9171         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9172         actually sometimes the before-paragraph.
9173         (setUndo): don't clear the redostack if we're not actually undoing!
9174
9175 2001-12-06  Juergen Vigna  <jug@sad.it>
9176
9177         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9178         and fixed redoing of main paragraph, so we can use it now ;)
9179
9180         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9181
9182 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9183
9184         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9185         Juergen's request
9186
9187 2001-12-13  André Pönitz <poenitz@gmx.net>
9188
9189         * undostack.[Ch]:
9190         * undo_func.C: minor cleanup
9191
9192 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9193
9194         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9195         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9196         font in urw-fonts package which is marked as -urw-fontspecific and
9197         does not work (incidentally, changing the encoding in the
9198         fonts.dir of this package to -adobe-fontspecific fixes the
9199         problem).
9200
9201         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9202         is a crash when undoing first paragraph (Juergen, please take a
9203         look). THis does not mean the undo fix is wrong, just that it
9204         uncovers problems.
9205
9206         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9207         the (Paragraph*) version when needed instead of duplicating the
9208         code.
9209
9210         * text.C (workWidth): use Inset::parOwner to find out where the
9211         inset has been inserted. This is a huge performance gain for large
9212         documents with lots of insets. If Inset::parOwner is not set, fall
9213         back on the brute force method
9214
9215         * paragraph_pimpl.C (insertInset):
9216         * paragraph.C (Paragraph):
9217         (cutIntoMinibuffer): set parOwner of insets when
9218         inserting/removing them
9219
9220         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9221
9222 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9223
9224         * commandtags.h:
9225         * LyXAction.C:
9226         * lyx_main.C:
9227         * lyxfunc.C:
9228         * mathed/formulabase.C:
9229         * mathed/math_cursor.[Ch]:
9230         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9231
9232
9233 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9234
9235         * lyxlength.[Ch] (operator!=): new function
9236
9237 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9238
9239         * text.C (workWidth): use Inset::parOwner to find out where the
9240         inset has been inserted. This is a huge performance gain for large
9241         documents with lots of insets. If Inset::parOwner is not set, fall
9242         back on the brute force method
9243
9244         * paragraph_pimpl.C (insertInset):
9245         * paragraph.C (Paragraph):
9246         (cutIntoMinibuffer): set parOwner of insets when
9247         inserting/removing them
9248
9249         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9250
9251 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9252
9253         * tabular-old.C (getTokenValue):
9254         * tabular.C (getTokenValue):
9255         (write_attribute): new versions for LyXLength
9256         (everywhere): adjust the use of widths
9257
9258         * tabular.h: change the type of widths from string to LyXLength
9259
9260 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9261
9262         * paragraph.C: fixed missing line number count when exporting
9263         Environments to LaTeX file
9264
9265         * buffer.C: added informational message for checking line numbers.
9266
9267 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9268
9269         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9270         paragraph, do the 'double space' part, but not the 'empty
9271         paragraph' one.
9272
9273         * text.C (workWidth): small optimization
9274         (getLengthMarkerHeight): use minimal size for negative lengths.
9275
9276 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9277
9278         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9279
9280         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9281
9282 2001-12-11  André Pönitz <poenitz@gmx.net>
9283
9284         * FontLoader.C:
9285         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9286
9287 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9288
9289         * text2.C: keep selection on a setFont()
9290
9291 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9292
9293         * lyx_cb.C: another bv->text misuse, from insert label
9294
9295 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9296
9297         * kbsequence.h:
9298         * kbsequence.C: re-instate nmodifier mask
9299
9300 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9301
9302         * lyx_main.h: make lyxGUI private.
9303
9304 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9305
9306         * lyxfind.C: place the cursor correctly on failed search
9307
9308 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9309
9310         * text.C (getLengthMarkerHeight): for small heights, the arrows
9311         are not always on top/bottom of the text
9312         (drawLengthMarker): smaller arrows; take the left margin in
9313         account; draw also vfills.
9314         (paintFirstRow):
9315         (paintLastRow): remove special code for vfill and standard spaces,
9316         since everything is handled in drawLengthMarker now.
9317
9318 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9319
9320         * buffer.C (insertErtContents): try to handle font and language
9321         interaction a bit better.g
9322
9323         * ColorHandler.C (updateColor): change the hash to cover the whole
9324         LColor enum, ws cleanup
9325         (getGCLinepars): ditto
9326         (getGCLinepars): only lookup in the linecache once.
9327
9328 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9329
9330         * iterators.C (operator++): Make the iterator more robust
9331
9332         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9333         (John's patch)
9334         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9335
9336 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9337
9338         * lyxtext.h:
9339         * text.C: better added space drawing
9340
9341 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9342
9343         * LyXView.C:
9344         * BufferView2.C: fix layout combo update on inset unlock
9345
9346 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9347
9348         * Makefile.am: don't compile unused files
9349
9350 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9351
9352         * lyxfunc.C:
9353         * commandtags.h:
9354         * LyXAction.C: remove old LFUN_LAYOUTNO
9355
9356 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9357
9358         * paragraph_pimpl.h:
9359         * paragraph_pimpl.C: isTextAt() doesn't need font param
9360
9361 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9362
9363         * lyxlex.h:
9364         * lyxlex.C: little cleanup
9365
9366 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9367
9368         * BufferView_pimpl.C: fix insertAscii for insets
9369
9370 2001-12-05  Juergen Vigna  <jug@sad.it>
9371
9372         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9373         set the right font on the "multi" paragraph paste!
9374
9375 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9376
9377         * trans_decl.h:
9378         * trans_mgr.[Ch]:
9379         * trans.[Ch]:
9380         * lyxgluelength.C:
9381         * lyxlength.C: remove out-commented code.
9382
9383         * BufferView_pimpl:
9384         * CutAndPaste.C:
9385         * DepTable.C:
9386         * buffer.C:
9387         * chset.C:
9388         * lastfiles.C:
9389         * lyxlex.C:
9390         * lyxlex_pimpl.C:
9391         * lyxserver.C:
9392         * screen.C:
9393         * tabular-old.C:
9394         * tabular.C:
9395         * text.C:
9396         * trans_mgr.C:
9397         * vc-backend.C: change "while(" to "while ("
9398
9399         * lyxlength.[Ch]: add zero function to check if length is zero or
9400         not
9401         * lyxgluelength.C: use it
9402
9403 2001-12-05  Allan Rae  <rae@lyx.org>
9404
9405         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9406         Works for 2.95.3, from what I understand of Garst's reports this should
9407         work for other g++ versions.  We're screwed if the abs(int) definition
9408         changed between bugfix releases of gcc.
9409
9410 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9411
9412         * text.C: fix chapter label offset !
9413
9414 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9415
9416         * lyxtext.h:
9417         * text.C: fix hfill at end of line, clean up
9418
9419 2001-12-04  Juergen Vigna  <jug@sad.it>
9420
9421         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9422         that we force an update of the inset and it's owners if neccessary.
9423
9424 2001-12-03  Juergen Vigna  <jug@sad.it>
9425
9426         * text.C (rowLast): simplified code
9427
9428 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9429
9430         * lyxfunc.C: fix show options on timeout
9431
9432 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9433
9434         * screen.C (topCursorVisible): scroll half a page when the cursor
9435         reached top of bottom of screen
9436
9437 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9438
9439         * minibuffer.C: deactivate on loss of focus
9440
9441 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9442
9443         * vspace.[Ch] (operator!=): add operator.
9444
9445 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9446
9447         * BufferView_pimpl.C: refuse to open an inset when
9448         there's a selection.
9449
9450 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9451
9452         * BufferView_pimpl.C: allow to click on RHS of full row insets
9453
9454 2001-11-30  Juergen Vigna  <jug@sad.it>
9455
9456         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9457         insets for undo reasons.
9458
9459 2001-11-28  André Pönitz <poenitz@gmx.net>
9460
9461         * vspace.[Ch]: cosmetical changes
9462
9463 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9464
9465         * LyXAction.h:
9466         * LyXAction.C:
9467         * lyxfunc.h:
9468         * lyxfunc.C:
9469         * kbmap.h:
9470         * kbmap.C:
9471         * lyxrc.C:
9472         * kbsequence.h:
9473         * kbsequence.C: part re-write of old kb code
9474
9475         * Painter.C:
9476         * WorkArea.C: remove Lgb_bug_find_hack
9477
9478 2001-11-30  José Matos <jamatos@fep.up.pt>
9479
9480         * buffer.C (makeDocBookFile): add a comment to point a hack.
9481         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9482         Fixed a double write of labels.
9483
9484 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9485
9486         * LaTeX.C:
9487         * LaTeX.h Fixed bug in LaTeX class where it would not
9488         re-run latex if no depfiles were changed, but the .dvi was removed.
9489
9490 2001-11-28  André Pönitz <poenitz@gmx.net>
9491
9492         * all the files from the change on 2001/11/26:
9493         use lyx::layout_type instead of LyXTextClass::size_type
9494         use lyx::textclass_type instead of LyXTextClassList::size_type
9495
9496 2001-11-29  Juergen Vigna  <jug@sad.it>
9497
9498         * text.C: added support for paragraph::isFreeSpacing()
9499
9500         * buffer.C: same as above
9501
9502         * paragraph.h: inserted isFreeSpacing() function to enable
9503         FreeSpacing inside InsetERT.
9504
9505         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9506         of the paragraph's in the cut/copy buffer to 0!
9507
9508         * text2.C (removeRow): remove the assert as it can!
9509
9510         * lyxtext.h: added helper function firstRow returning firstrow and
9511         made firstrow private again.
9512
9513         * BufferView2.C (lockInset): don't relock if we're already locked!
9514
9515         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9516         the only paragraph.
9517         (removeRow): added Assert::(firstrow)
9518
9519         * debug.C: forgot to add INSETTEXT here.
9520
9521 2001-11-28  Juergen Vigna  <jug@sad.it>
9522
9523         * sp_spell.C (initialize): changed error text to more general
9524         spellchecker command use (not only ispell!)
9525
9526         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9527
9528         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9529
9530 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9531
9532         * vspace.C: initialise lyxgluelength on failure
9533
9534 2001-11-28  Allan Rae  <rae@lyx.org>
9535
9536         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9537         declaration & definition that looks like a function declaration.
9538
9539 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9540
9541         * BufferView2.C (copy):
9542         (copyEnvironment): do not clear the selection when doing a copy.
9543
9544         * text.C (paintFirstRow): compilation fix
9545
9546 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9547
9548         * tabular.C (Latex): correct line count when writing latex.
9549
9550 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9551
9552         * paragraph_pimpl.h:
9553         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9554           bug a bit
9555
9556 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9557
9558         * text.C:
9559         * LColor.h:
9560         * LColor.C: change vfillline->added_space
9561
9562         * text.C: add markers and text for added space
9563
9564         * vspace.C: fix comment
9565
9566 2001-11-28  André Pönitz <poenitz@gmx.net>
9567
9568         * paragraph.C: whitespace changes
9569         * all the other files from the change on 2001/11/26:
9570         change *::pos_type into lyx::pos_type
9571
9572 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9573
9574         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9575         language of the document when inserting error insets.
9576
9577 2001-11-26  André Pönitz <poenitz@gmx.net>
9578
9579         * BufferView_pimpl.[Ch]:
9580         *       CutAndPaste.C:
9581         * buffer.[Ch]:
9582         * lyxcursor.[Ch]:
9583         * lyxfind.C:
9584         * lyxfunc.C:
9585         * lyxrow.[Ch]:
9586         * paragraph.[Ch]:
9587         * paragraph_pimpl.[Ch]:
9588         * sp_spell.C:
9589         * text.C:
9590         * text2.C: reduce header dependencies, introduce type for positions
9591
9592 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9593
9594         * <various>: change to use Alert.h
9595
9596 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9597
9598         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9599         when encountering an unknown token.
9600         (readLyXformat2): Show an error message if there were unknown tokens.
9601
9602 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9603
9604         * BufferView2.C:
9605         * BufferView_pimpl.C:
9606         * buffer.C:
9607         * paragraph.h:
9608         * text.C:
9609         * text2.C: use par->isInset()
9610
9611 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9612
9613         * paragraph_pimpl.h:
9614         * paragraph_pimpl.C: cleanup
9615
9616 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9617
9618         * text2.C (removeRow):
9619         * text.C (setHeightOfRow): remove useless (and costly) call to
9620         getRow.
9621
9622 2001-11-20  Allan Rae  <rae@lyx.org>
9623
9624         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9625         Now need Inset*::checkInsertChar() to return true for appropriate
9626         cases so that the characters in the minibuffer will actually be
9627         inserted.
9628
9629 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9630
9631         * text.C: change the order of the includes.
9632         (workWidth): initialize it at once.
9633         (workWidth): make maxw unsigned
9634         (setHeightOfRow): remove unused variable (inset)
9635         (selectSelectedWord): remove unused variable (inset)
9636         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9637
9638 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9639
9640         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9641         server is not running.
9642         (openConnection):
9643         (closeConnection): add debug info when server is disabled.
9644
9645         * ColorHandler.C (getGCForeground): send debug message to GUI
9646         channel.
9647
9648         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9649
9650         * kbmap.C (bind): modify because return conventions of
9651         kb_sequence::parse have changed.
9652
9653         * kbsequence.C (parse): only ignore spaces and not any stupid
9654         control character. This avoids tests like s[i] <= ' ', which are
9655         guaranteed to fail with 8bit characters and signed chars.
9656         Change return code to string::npos when there have been no error
9657         (0 was a bad idea when error is at first character)
9658
9659 2001-11-14  José Matos  <jamatos@fep.up.pt>
9660
9661         * buffer.h:
9662         * buffer.C (simpleDocBookOnePar): removed unused argument.
9663
9664 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9665
9666         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9667         insets which are part of a word. Paragraph::isLetter takes care of
9668         that now. Use Paragraph::isInset to identify insets.
9669         (selectSelectedWord): do not test for hyphenation break.
9670
9671         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9672         that protected spaces are considered as spaces.
9673
9674         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9675         Inset::isLetter.
9676
9677 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9678
9679         * lyxserver.h:
9680         * lyxserver.C: fix it. and small cleanup.
9681
9682 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9683
9684         * BufferView_pimpl.C: use inline helpers
9685
9686         * LaTeXFeatures.h:
9687         * LaTeXFeatures.C: fix typos
9688
9689         * Spacing.h:
9690         * Spacing.C: move spacing_string into class
9691
9692         * ToolbarDefaults.C: move stuff into namespace anon
9693
9694         * layout.h: update enum
9695
9696         * lyxfunc.C: use better debug
9697
9698         * minibuffer.h: fix typo
9699
9700         * debug.h:
9701         * debug.C:
9702         * WorkArea.C: add and use Debug::WORKAREA
9703
9704         * lyxtext.h:
9705         * text.C:
9706         * text2.C: code re-organisation, inline helpers
9707
9708 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9709
9710         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9711         std::vector.empty().
9712
9713 2001-11-09  Allan Rae  <rae@lyx.org>
9714
9715         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9716         '\n's after tables.  Tabular and ERT inset work now makes this no
9717         longer necessary.
9718
9719 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9720
9721         * minibuffer.h:
9722         * minibuffer.C: fix crash, improve drop-down completion
9723
9724 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9725
9726         * lyxserver.h:
9727         * lyxserver.C: invalidate fd's when doing endPipe()
9728
9729 2001-11-08  José Matos  <jamatos@fep.up.pt>
9730
9731         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9732         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9733
9734         * paragraph.h:
9735         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9736
9737 2001-11-07  José Matos  <jamatos@fep.up.pt>
9738
9739         * buffer.h:
9740         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9741         const qualifier.
9742
9743         * buffer.C (sgmlOpenTag):
9744         * buffer.C (sgmlCloseTag): removed debug info.
9745
9746         * buffer.h (sgmlOpenTag):
9747         * buffer.h (sgmlCloseTag): made public.
9748
9749 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9750
9751         * buffer.C (saveParamsAsDefaults):
9752         * lyx_cb.C (MenuLayoutSave): remove
9753
9754         * LyXAction.C (init):
9755         * commandtags.h:
9756         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9757
9758 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9759
9760         * buffer.C (setPaperStuff): removed from here...
9761
9762         * bufferparams.C (setPaperStuff): ... and moved there.
9763
9764 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9765
9766         * minibuffer.h:
9767         * minibuffer.C:
9768         * XFormsView.C: add support for drop-down completion
9769
9770 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9771
9772         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9773         commands.
9774
9775 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9776
9777         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9778         disabled.
9779
9780 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9781
9782         * lyx_main.C: change ref to known bugs
9783
9784 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9785
9786         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9787         to work around older babel problems.
9788
9789 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9790
9791         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9792
9793 2001-10-24  Juergen Vigna  <jug@sad.it>
9794
9795         * tabular-old.C (ReadOld): below variable changes reflected.
9796
9797         * tabular.[Ch]: added ltType struct for longtable header/footer
9798         defines and changed all instances where they are used. Added
9799         future support for double top/bottom rows.
9800
9801 2001-10-24  José Matos  <jamatos@fep.up.pt>
9802
9803         * buffer.h (docbookHandleCaption):
9804         * buffer.C (docbookHandleCaption): removed unused function.
9805         (makeDocBookFile): moved docbook supported version to v4.1.
9806
9807 2001-10-24  José Matos  <jamatos@fep.up.pt>
9808
9809         * tabular.h:
9810         * tabular.C (docbookRow): new function to export docbook code of a row.
9811         (DocBook): now honors the longtable flags.
9812
9813 2001-10-23  José Matos  <jamatos@fep.up.pt>
9814
9815         * LaTeXFeatures.h:
9816         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9817         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9818
9819         * buffer.C (makeLinuxDocFile):
9820         (makeDocBookFile): reworked the preamble, more clean, and with
9821         support for lyx defined entities. Changed the document declaration
9822         to be more XML friendly.
9823
9824         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9825         if we need to output XML that should be done with a filter.
9826
9827 2001-10-22  Juergen Vigna  <jug@sad.it>
9828
9829         * sp_pspell.h (class PSpell): add alive function needed in the
9830         controller to see if the spellchecker could be started.
9831
9832 2001-10-22  Juergen Vigna  <jug@sad.it>
9833
9834         * buffer.C (insertStringAsLines): modify the font for inserting
9835         chars in certain conditions by calling checkInsertChar(font).
9836
9837 2001-10-19  Juergen Vigna  <jug@sad.it>
9838
9839         * text.C (workWidth): use getRow instead of wrong algorithm.
9840         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9841
9842 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9843
9844         * lyxserver.h:
9845         * lyxserver.C:
9846         * lyx_main.h:
9847         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9848
9849 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9850
9851         * text.C (workWidth): do not search for the exact row when
9852         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9853         optimization for big documents.
9854
9855 2001-10-18  Juergen Vigna  <jug@sad.it>
9856
9857         * text.C (workWidth): new function with added Inset * parameter.
9858
9859 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9860
9861         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9862
9863         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9864         change return type of getColumnNearX.
9865
9866
9867         * text.C (changeRegionCase): use uppercase/lowercase instead of
9868         toupper/tolower.
9869         (leftMargin):
9870         (rightMargin): simplify code by factoring out the uses of
9871         textclasslist.
9872         (labelFill):
9873         (numberOfHfills):
9874         (setHeightOfRow):
9875         (appendParagraph): use Paragraph::size_type
9876
9877 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9878
9879         * vspace.C (asLatexString): add a missing break
9880
9881 2001-10-15  Herbert Voss  <voss@perce.de>
9882
9883         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9884
9885 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9886
9887         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9888         is not available.
9889
9890 2001-10-10  André Pönitz <poenitz@gmx.net>
9891
9892         * lyxfunc.C: removed greek_kb_flag.
9893
9894 2001-10-10  Herbert Voss  <voss@perce.de>
9895
9896         * lyx_main.C: delete global string help_lyxdir.
9897
9898 2001-10-09  Herbert Voss  <voss@perce.de>
9899
9900         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9901
9902         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9903
9904         * lyx_main.C: added global string help_lyxdir.
9905
9906         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9907
9908 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9909
9910         * lyxrc.C (set_font_norm_type): support iso8859-4
9911
9912 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9913
9914         * LaTeX.C (deplog): add another regex for MikTeX
9915
9916 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9917
9918         * lyxrc.C (set_font_norm_type): support iso8859-3
9919
9920 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9921
9922         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9923
9924         * LaTeXFeatures.C: remove special case of french and index
9925
9926         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9927         before \begin{document}). This solves several incompatibilities.
9928
9929 2001-10-03  Garst Reese  <reese@isn.net>
9930
9931         * lyx_cb.C: change CheckTex error msg.
9932
9933 2001-10-03  José Matos  <jamatos@fep.up.pt>
9934
9935         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9936
9937 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9938
9939         * .cvsignore: update
9940
9941         * lyx_main.C (commandLineVersionInfo): use new style version info.
9942
9943         * buffer.C (writeFile):
9944         (makeLaTeXFile):
9945         (makeLinuxDocFile):
9946         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9947
9948         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9949
9950         * version.h: update to use stuff in version.C
9951
9952         * version.C.in: new file. Contains version information determined
9953         at compile time. This is a merging of version.h and
9954         version_info.h.in.
9955
9956 2001-10-03  Juergen Vigna  <jug@sad.it>
9957
9958         * BufferView_pimpl.C (update): don't change "dirty" status in
9959         updateInset call.
9960
9961 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9962
9963         * WorkArea.C (c-tor): re-position version string slightly.
9964
9965 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9966
9967         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9968         revert to previous code.
9969
9970         WorkArea.[Ch]: (show, destroySplash): methods removed.
9971
9972         WorkArea.C: rework code so that it's an amalgam of the codes before and
9973         after the splash screen was moved to WorkArea.
9974
9975 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9976
9977         * lyxrc.C (read):
9978         * vspace.C (inPixels):
9979         (lyx_advance):
9980         * kbmap.C (bind):
9981         * buffer.C (insertStringAsLines):
9982         (asciiParagraph): fix types to be large enough
9983
9984         * lyxlex_pimpl.h: change member status from short to int
9985
9986         * layout.h: fix type of endlabeltype
9987
9988         * kbmap.C (bind):
9989         * kbsequence.C (parse): change return type to string::size_type
9990
9991         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9992         variable
9993
9994         * Bullet.C (bulletSize):
9995         (bulletEntry): do not use short ints as parameters
9996
9997         * BufferView2.C (insertLyXFile): change a char to an int.
9998
9999         * WorkArea.C (WorkArea): remove unneeded floats in computation
10000
10001 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10002
10003         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10004
10005         * paragraph.C (asString): Do not ignore newline/hfill chars when
10006         copying to the clipboard.
10007
10008 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10009
10010         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10011         after a multi-line inset.
10012
10013 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10014
10015         * paragraph.C (validate): Set NeedLyXFootnoteCode
10016
10017 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10018
10019         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10020         and decrease-error to decrease.
10021
10022 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10023
10024         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10025         it more readable (should be equivalent)
10026
10027 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10028
10029         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10030
10031 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10032
10033         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10034         of a cursor (row, etc.) after a character has been deleted
10035         (deleteEmptyParagraphMechanism): call the method above on _all_
10036         cursors held by the LyXText when a double space has been
10037         detected/deleted.
10038
10039 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10040
10041         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10042         pixmap.
10043         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10044
10045         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10046         background. Use greyOut() and the new show() methods to toggle between
10047         the foreground and background. Add code to remove the splash after
10048         its initial showing.
10049
10050         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10051         (create_forms): no longer call Dialogs::showSplash.
10052
10053 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10054
10055         * .cvsignore: add version_info.h
10056
10057 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10058
10059         * version_info.h.in: new file
10060
10061         * Makefile.am: add version_info.h.in
10062
10063         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10064         version_info.h instead of VERSION_INFO
10065
10066 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10067
10068         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10069         The ERT inset now returns string().
10070
10071 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10072
10073         * lyxtext.h, text.C (selectNextWord): renamed as
10074         selectNextWordToSpellcheck.
10075
10076         * text.C (selectNextWordToSpellcheck): Modified to not select
10077         words inside an ERT inset.
10078
10079 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10080
10081         * lyx_cb.C (MenuLayoutSave): change a bit the question
10082
10083         * sp_base.h: include <sys/types.h>
10084
10085 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10086
10087         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10088
10089 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10090
10091         * several files: fix typos in user-visible strings
10092
10093 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10094
10095         * text2.C (pasteSelection): do not set the selection, since it
10096         will be cleared later. Actually, the intent was to fix the way the
10097         selection was set, but I figured rmoving the code was just as good.
10098
10099 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10100
10101         * FontLoader.C (available): Check if font is available without
10102         loading the font.
10103
10104 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10105
10106         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10107
10108 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10109
10110         * lyxrc.[Ch]: added display_graphics variable and associated code.
10111
10112 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10113
10114         * bufferparams.C (hasClassDefaults): new method. Returns true if
10115         the buffer parameters correspond to known class defaults
10116
10117 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10118
10119         * XFormsView.C (show): set minimum size to the main window.
10120
10121 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10122
10123         * text2.C (copySelection):
10124         (cutSelection):
10125         * lyxfind.C (LyXReplace):
10126         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10127         LyXText::selectionAsString.
10128
10129         * paragraph.C (asString): add "label" argument to the second form
10130
10131         * text2.C (selectionAsString): add "label" argument and pass it to
10132         Paragraph::asString.
10133
10134 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10135
10136         * lyx_main.C (commandLineHelp): remove version information
10137
10138 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10139
10140         * lyx_main.C: add -version commandline option
10141
10142 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10143
10144         * paragraph.h: make the optional constructor arg required instead.
10145         some modifications to other files because of this.
10146
10147         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10148
10149         * lyxserver.C (C_LyXComm_callback): make it static
10150
10151         * lyx_main.C (error_handler): make it static
10152
10153         * lyx_gui.C (LyX_XErrHandler): make it static
10154
10155         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10156
10157         * WorkArea.C: make the extern "C" methods static.
10158
10159         * Makefile.am (lyx_LDADD): simplify
10160
10161 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10162
10163         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10164         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10165
10166         * LyXAction.C (init):
10167         * lyxfunc.C (dispatch): associated code removal.
10168
10169 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10170
10171         * lyxfont.h (isSymbolFont): shut off warning
10172
10173         * text.C (setHeightOfRow):
10174         (getVisibleRow): fix crash with empty paragraphs which have a
10175         bottom line
10176
10177 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10178
10179         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10180         code.
10181
10182 2001-09-04  José Matos  <jamatos@fep.up.pt>
10183         * buffer.C
10184         * buffer.h
10185         * tabular.C (docbook): rename docBook method to docbook.
10186
10187 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10188
10189         * Makefile.am: add dependencies to main.o.
10190
10191 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10192
10193         * FontLoader.C (available): Return false if !lyxrc.use_gui
10194
10195 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10196
10197         * FontInfo.C (query):
10198         * converter.C (view):
10199         * importer.C (Import):
10200         * exporter.C (Export): Can not -> cannot.
10201
10202 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10203
10204         * BufferView_pimpl.C: allow to create index inset even if
10205           string is empty
10206
10207 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10208
10209         * buffer.C (getLists): replace boost::tie code with an explicit pair
10210         as boost::tie can break some compilers.
10211
10212         * iterators.h: Added a std:: declaration to the return type of
10213         ParIterator::size.
10214
10215 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10218           case.
10219
10220 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10221
10222         * iterators.[Ch]: New files. Provide paragraph iterators.
10223
10224         * buffer.C (changeLanguage): Use paragraph iterators.
10225         (isMultiLingual): ditto
10226
10227         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10228
10229 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10230
10231         * FontLoader.C: Support for cmr font.
10232
10233 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10234
10235         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10236         (available): New method.
10237
10238         * FontInfo.C (getFontname): Use scalable fonts even when
10239         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10240         found.
10241
10242 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10243
10244         * converter.C (Formats::view): reverted! Incorrect fix.
10245
10246 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10247
10248         * converter.C (Formats::view): only output the -paper option
10249         if the dvi viewer is xdvi, thereby fixing bug #233429.
10250
10251 2001-08-23  Herbert Voss  <voss@perce>
10252
10253         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10254
10255 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10256
10257         * Spacing.h (Spacing): Set space to Default on in the default
10258         constructor.
10259
10260 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10261
10262         * vc-backend.h (RCS::versionString): add RCS to version
10263         (CVS::versionString): add CVS to version
10264
10265         * vc-backend.C (scanMaster): do not add CVS to version.
10266         (scanMaster): do not add RCS to version
10267
10268         * lyxvc.C (versionString): new method
10269
10270         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10271
10272 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10273
10274         * Spacing.C (set): initialize fval
10275
10276 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10277
10278         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10279         " or \.
10280
10281 2001-08-16  Juergen Vigna  <jug@sad.it>
10282
10283         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10284
10285 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10286
10287         * BufferView_pimpl.C:
10288         * figureForm.C:
10289         * lyxtext.h:
10290         * text2.C: setParagraph takes linespacing now
10291
10292 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10293
10294         * LyxAction.C: add internal LFUN_CITATION_INSERT
10295
10296         * LyXView.C: actually apply fix
10297
10298         * bufferlist.C: fix open non-existent file
10299
10300         * lyxfind.C: fix indentation
10301
10302         * lyxfunc.C: remove unneeded assert, fix typo
10303
10304 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10305
10306         * MenuBackend.C: use "Floatname List"
10307
10308 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10309
10310         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10311         when converting LaTeX layout to insetERT.
10312         Generate a non-collapsed float when reading old float
10313
10314 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10315
10316         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10317         ERT insets.
10318
10319 2001-08-13  Juergen Vigna  <jug@sad.it>
10320
10321         * text.C (fill): return 0 instead of 20 as this seems to be the more
10322         correct value.
10323
10324 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10325
10326         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10327         lyxrc.font_norm.
10328
10329 2001-08-13  Juergen Vigna  <jug@sad.it>
10330
10331         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10332         casesensitive off.
10333         (SearchBackward): comment out the unlocking of the inset_owner this
10334         should not be needed!
10335
10336 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10337
10338         * Many files: Remove inherit_language, and add latex_language
10339
10340         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10341         collapsible insets.
10342
10343 2001-08-10  Juergen Vigna  <jug@sad.it>
10344
10345         * text.C (prepareToPrint): fixed hfill-width in draw!
10346
10347         * BufferView2.C (selectLastWord): save the selection cursor as this
10348         now is cleared in the function LyXText::clearSelection!
10349
10350 2001-08-08  Juergen Vigna  <jug@sad.it>
10351
10352         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10353         BACKSPACE type functions.
10354
10355         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10356         is only cutted from the document but not put in the cut-buffer, where
10357         still the old stuff should be.
10358
10359         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10360
10361         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10362
10363         * tabular.C (SetWidthOfCell): fixed special case where the width
10364         was not updated!
10365         (LeftLine): handle '|' in align_special.
10366         (RightLine): ditto
10367         (LeftAlreadyDrawed): ditto
10368         (SetWidthOfCell): ditto
10369
10370 2001-08-07  Juergen Vigna  <jug@sad.it>
10371
10372         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10373
10374 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10375
10376         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10377         * lyxlex.[hC]: ditto
10378
10379 2001-08-06  Juergen Vigna  <jug@sad.it>
10380
10381         * text.C (getVisibleRow): fix up row clearing a bit.
10382
10383 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10384
10385         * minibuffer.C: make sure the X server sees the changes in the input.
10386
10387 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10388
10389         * paragraph.C (getFont): split into...
10390         (getLabelFont): this
10391         (getLayoutFont): and this
10392         * paragraph_pimpl.C (realizeFont): calling this
10393
10394         * text2.C (getFont): split into...
10395         (getLayoutFont): this
10396         (getLabelFont): and this
10397         (realizeFont): all three calling this
10398
10399         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10400         files where used.
10401
10402 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10403
10404         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10405
10406 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10407
10408         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10409         layouts from the Quote inset insertion.
10410
10411 2001-08-03  Juergen Vigna  <jug@sad.it>
10412
10413         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10414
10415         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10416         only if status not is already CHANGED_IN_DRAW (second level).
10417
10418         * text.C (draw): don't set the need_break_row when inside an
10419         InsetText LyXText.
10420
10421 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10422
10423         * buffer.C (parseSingleLyXformat2Token): handle more latex
10424         conversion cases.
10425
10426         * bufferview_funcs.[hC]: change function names to
10427         begin with small char, adjust other files.
10428
10429 2001-08-02  André Pönitz <poenitz@gmx.net>
10430
10431         * lyxfunc.C:
10432         BufferView_pimpl.C: remove broken special code for math-greek
10433
10434 2001-08-02  Juergen Vigna  <jug@sad.it>
10435
10436         * BufferView_pimpl.C (update): redone this function so that we
10437         update the text again if there was a CHANGE_IN_DRAW.
10438
10439         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10440         (drawFromTo): added a new internal bool which is used by draw() and
10441         redraw() function.
10442         (general): some cursor drawing problems fixed.
10443
10444 2001-08-01  Juergen Vigna  <jug@sad.it>
10445
10446         * lyxfind.C (LyXFind): fixed
10447         (SearchForward): ditto
10448         (SearchBackward): ditto
10449
10450         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10451         spurius drawing of the cursor in the main area.
10452
10453         * text2.C (status): small fix which could lead to a segfault!
10454         (clearSelection): remove unneeded BufferView param.
10455
10456 2001-08-01  André Pönitz <poenitz@gmx.net>
10457
10458         * lyxfunc.C: small change due to changed mathed interface
10459
10460 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10461
10462         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10463
10464 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10465
10466         * lyxfunc.c: fail gracefully if file doesn't exist
10467
10468         * LyXSendto.C:
10469         * buffer.C:
10470         * lyxfunc.C:
10471         * BufferView_pimpl.C: IsDirWriteable() proto changed
10472
10473         * LyXView.C: fix updateWindowTitle() to store the last title
10474
10475 2001-07-31  Juergen Vigna  <jug@sad.it>
10476
10477         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10478         the font (wrong since using of Paragraph::highestFontInRange).
10479
10480         * paragraph.C (highestFontInRange): added a default_size parameter.
10481
10482         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10483         (setHeightOfRow): reformat
10484
10485 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10486
10487         * converter.[hC] + affected files: move to (inital-char)lowercase
10488         function names.
10489
10490         * ParagraphParameters.C (ParagraphParameters): remove commented code
10491
10492         * PainterBase.[Ch]: remove commented code
10493
10494         * LaTeXFeatures.h: add "bool floats" for float.sty
10495
10496         * LaTeXFeatures.C (LaTeXFeatures): init floats
10497         (require): handle float
10498         (getPackages): do it with floats
10499
10500 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10501
10502         * BufferView_pimpl.C (Dispatch): improve handling of
10503         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10504
10505         * commandtags.h: #include lyxfont.h here temporarily to avoid
10506         keybinding bug.
10507
10508         * bufferlist.h: include LString.h here.
10509
10510 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10511
10512         * text2.C (getStringToIndex): new method.
10513
10514 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10515
10516         * *: Reduced header file dependencies all over.
10517
10518 2001-07-30  Baruch Even  <baruch@lyx.org>
10519
10520         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10521
10522 2001-07-29  Baruch Even  <baruch@lyx.org>
10523
10524         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10525
10526 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10527
10528         * ParameterStruct.h (endif): add a default constructor to make
10529         sure that all variables is initialized.
10530
10531         * ParagraphParameters.C (ParagraphParameters): adjust
10532
10533 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10534
10535         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10536         index; also, check that there is something to index, and that it
10537         does not span over several paragraphs.
10538         (doubleClick): use WHOLE_WORD_STRICT for double click.
10539
10540         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10541
10542         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10543         scheme.
10544
10545 2001-07-26  Baruch Even  <baruch@lyx.org>
10546
10547         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10548         an InsetFig figure, backwards compatible reading of old figure code.
10549
10550 2001-07-27  Juergen Vigna  <jug@sad.it>
10551
10552         * text2.C: font.realize function adaption.
10553
10554         * text.C (draw): add a warnings lyxerr text if needed.
10555
10556         * layout.C: font.realize function adaption.
10557
10558         * language.C: add inherit_language and implement it's handlings
10559
10560         * bufferview_funcs.C (StyleReset): remove language parameter from
10561         font creation (should be language_inherit now).
10562
10563         * bufferparams.C (writeFile): handle ignore_language.
10564
10565         * paragraph.C (getFontSettings): the language has to be resolved
10566         otherwise we have problems in LyXFont!
10567
10568         * lyxfont.C (lyxWriteChanges): added document_language parameter
10569         (update): removed unneeded language parameter
10570
10571         * paragraph.C (validate): fixed wrong output of color-package when
10572         using interface colors for certain fonts in certain environments,
10573         which should not seen as that on the final output.
10574
10575 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10576
10577         * BufferView_pimpl.C:
10578         * Thesaurus.h:
10579         * Thesaurus.C:
10580         * Makefile.am:
10581         * commandtags.h:
10582         * LyXAction.C: add thesaurus support
10583
10584         * lyxfind.h:
10585         * lyxfind.C: add "once" parameter, for thesaurus, to not
10586           move to the next match
10587
10588 2001-07-26  Juergen Vigna  <jug@sad.it>
10589
10590         * lyxfont.C (realize): honor ignore_language too!
10591         (resolved): ditto.
10592
10593         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10594
10595         * text.C (draw): one place more for ignore_language to not draw
10596         itself!
10597
10598 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10599
10600         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10601
10602 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10603
10604         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10605         the minipage conversion problem.
10606
10607 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10608
10609         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10610         insert an inset.
10611
10612 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10613
10614         * BufferView.h: don't forward declare WorkArea
10615
10616         * BufferView.C: don't include WorkArea.h
10617
10618 2001-07-25  André Pönitz <poenitz@gmx.net>
10619
10620         * commandtags.h:
10621         * LyXAction.C:
10622         * lyxfunc.C:  new LFUN 'math-space'
10623
10624         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10625
10626 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10627
10628         * text2.C (toggleInset): call open/close
10629
10630 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10631
10632         * lyxfunc.C (dispatch): add debug for the disabled case
10633
10634         * font.C (buttonText): make similar to rectText
10635
10636         * buffer.C (readInset): comment out parsing of insetlist and
10637         insttheorem
10638
10639         * PainterBase.C (rectText): small correction
10640
10641         * BufferView_pimpl.C: comment out insettheorem and insetlist
10642         * LyXAction.C: ditto
10643         * commandtags.h: ditto
10644
10645 2001-07-24  Juergen Vigna  <jug@sad.it>
10646
10647         * text.C (draw): honor the ignore_language.
10648
10649         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10650
10651 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10652
10653         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10654         char inset.
10655
10656 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10657
10658         * lyxtext.h: remove unused (and unimplemented) methods
10659
10660 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10661
10662         * text.C (getVisibleRow): honor background color
10663
10664         * PainterBase.h:
10665         * Painter.h: remove default color argument for fillRectangle
10666
10667         * text.C (backgroundColor): new method
10668
10669 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10670
10671         * text.C (getVisibleRow): adjust
10672
10673         * font.[Ch] (rectText): new method, metrics
10674         (buttonText): new method, metrics
10675
10676         * PainterBase.[hC]: make rectText and buttonText always draw and take
10677         fewer paramteres.
10678
10679 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10680
10681         * ToolbarDefaults.C (read):
10682         * MenuBackend.C (read): allow escaping in all strings
10683
10684         * BufferView_pimpl.C (insertAndEditInset): new method.
10685         (Dispatch): use insertAndEditInset whenever appropriate.
10686
10687         * BufferView_pimpl.C (insertNote): removed
10688
10689         * BufferView_pimpl.C (smartQuote): new method, moved from
10690         BufferView; if an insetquote cannot be inserted, insert a '"'
10691         character instead.
10692
10693         * BufferView2.C: remove insertCorrectQuote();
10694
10695         * lyxfunc.C (getStatus): Add support for all remaingin
10696         inset-insert lfuns.
10697
10698         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10699
10700         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10701         command (necessary to pass " as parameter of self-insert.
10702
10703         * text.C (selectWordWhenUnderCursor):
10704         (selectWord): add word_location parameter
10705         (selectWordWhenUnderCursor): same + remove special code for word
10706         boundary.
10707         (selectNextWord): use kind() to guess type of insetspecialchar,
10708         not latex().
10709
10710         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10711         (insertErtContents): create ert insets as collapsed.
10712         (readInset): better compatibility code for Info inset.
10713
10714 2001-07-20  Juergen Vigna  <jug@sad.it>
10715
10716         * lyxfunc.C (dispatch): use always LyXFind now!
10717
10718         * text2.C (init): add a reinit flag so that the LyXText can be
10719         reinited instead of deleted and reallocated (used in InsetText).
10720
10721         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10722
10723         * text.C: ditto
10724
10725         * text2.C: ditto
10726
10727 2001-07-18  Juergen Vigna  <jug@sad.it>
10728
10729         * text.C (selectNextWord): handle insets inside inset by calling
10730         always the bv->text functions so that we can go up the_locking_inset!
10731
10732         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10733         in strange locations when inside an inset!
10734
10735         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10736         handling to include insets.
10737
10738         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10739
10740 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10741
10742         * LyXAction.C (init):
10743         * commandtags.h:
10744         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10745         LIGATURE_BREAK, since the name is so stupid.
10746
10747 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10748
10749         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10750         InsetInfos.
10751
10752         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10753
10754         * sp_form.[Ch]: remove.
10755
10756         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10757
10758         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10759         InsetInfo.
10760
10761         * src/buffer.C (readInset): ditto.
10762
10763 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10764
10765         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10766         menuSeparator(), endOfSentenceDot(), ldots() and
10767         hyphenationPoint(), which are therefore removed.
10768         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10769
10770         * LyXAction.C (init):
10771         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10772
10773         * paragraph.C (getWord): removed.
10774
10775         * BufferView_pimpl.C (Dispatch): use last word or selection for
10776         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10777
10778         * lyx_main.C (queryUserLyXDir): do not ask before creating
10779         user_dir, except if it has been named explicitely.
10780
10781 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10782
10783         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10784         a document of zero size.
10785
10786 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10787
10788         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10789         approriately in the c-tor and in require().
10790         (getPackages): output the appropriate LaTeX for natbib support.
10791
10792         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10793         variables "use_natbib" and "use_numerical_citations" when reading the
10794         LyX file.
10795         (readInset): read the various natbib cite commands.
10796         (validate): white-space change.
10797
10798         * bufferparams.[Ch]: new variables "bool use_natbib" and
10799         "bool use_numerical_citations".
10800         (writeFile): output them in the LyX file.
10801
10802 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10803
10804         * lyxfunc.C (getStatus): add support for all the inset insertion
10805         commands.
10806
10807         * text2.C (insertInset):
10808         * paragraph.C (insetAllowed):
10809         * BufferView_pimpl.C (insertInset): update to take in account the
10810         renaming of insertInsetAllowed
10811
10812         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10813
10814         * text2.C (getInset): new method. returns inset at cursor position.
10815
10816         * BufferView_pimpl.C (Dispatch): changes because of this.
10817
10818         * LyXAction.C (init): rename open-stuff to inset-toggle.
10819
10820         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10821
10822         * text2.C (toggleInset): renamed from openStuff; use
10823         Inset::open().
10824
10825 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10826
10827         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10828
10829         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10830
10831 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10832
10833         * buffer.C (readLyXformat2): Add filename to the error dialog
10834
10835 2001-07-18  Juergen Vigna  <jug@sad.it>
10836
10837         * tabular.C (GetCellNumber): put an assert here instead of the check!
10838
10839 2001-07-17  Juergen Vigna  <jug@sad.it>
10840
10841         * BufferView_pimpl.C (toggleSelection): adapted too.
10842
10843         * text.C (selectNextWord): adapted for use with insets.
10844         (selectSelectedWord): ditto
10845
10846 2001-07-17  Juergen Vigna  <jug@sad.it>
10847
10848         * sp_spell.C (PSpell): fix initialitation order.
10849
10850 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10851
10852         * paragraph.C: spacing
10853
10854 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10855
10856         * sp_spell.C: repair language selection for pspell
10857
10858 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10859
10860         * lyxfunc.h: change more methods to begin with lower char.
10861
10862 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10863
10864         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10865         for unknown layouts.
10866
10867 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10868
10869         * buffer.C (readLyXformat2): Generate an error dialog if there are
10870         unknown layouts.
10871
10872 2001-07-16  Juergen Vigna  <jug@sad.it>
10873
10874         * sp_spell.C: always compile ISpell part.
10875
10876         * lyxrc.C: added use_pspell entry and it's handling.
10877
10878 2001-07-13  Juergen Vigna  <jug@sad.it>
10879
10880         * sp_spell.C: removed double includes.
10881
10882 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10883
10884         Consistent use of Lsstream.h:
10885         * Lsstream.h: added using std::stringstream for consistencies sake.
10886
10887         * buffer.C: removed using std::stringstream
10888
10889         * lyxfont.C (stateText):
10890         * paragraph.C (asString):
10891         * text.C (selectNextWord, selectSelectedWord):
10892         * text2.C (setCounter):
10893         * vspace.C (asString, asLatexString):
10894         std::ostringstream -> ostringstream.
10895
10896 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10897
10898         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10899         * commandtags.h: add LFUN_HELP_ABOUTLYX
10900         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10901
10902 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10903
10904         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10905         cursorToggle()
10906         * lyx_gui_misc.C: remove spellchecker
10907         * lyxfunc.C: showSpellchecker
10908         * sp_base.h: added
10909         * sp_ispell.h: added
10910         * sp_pspell.h: added
10911         * sp_spell.C: added
10912         * sp_form.[Ch]: removed
10913         * spellchecker.[Ch]: removed
10914
10915 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10916
10917         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10918         is set.
10919         (simpleTeXSpecialChars): Simply print the input character without
10920         any special translation if pass_thru is set.
10921
10922         * layout.h: Added bool pass_thru to layout class for being able to
10923         implement pass through of a paragraph for Literate Programming.
10924
10925         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10926         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10927         * layout.C (Read): add "passthru" to list of layout tags and add
10928         code to set the pass_thru boolean when it is read.
10929
10930 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10931
10932         * trans_decl.h: remove allowed from KmodInfo
10933
10934         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10935         remove allowed code
10936         (Load): adjust
10937
10938         * paragraph_pimpl.C (erase): use boost::prior
10939
10940         * Painter.C (text): use data() instead of c_str() when length is
10941         also provided.
10942         * WorkArea.C (putClipboard): ditto
10943         * font.h (width): ditto
10944
10945         * BufferView2.C: use it-> instead of (*it). for iterators
10946         * texrow.C: ditto
10947         * paragraph_pimpl.C: ditto
10948         * paragraph.C: ditto
10949         * minibuffer.C: ditto
10950         * language.C: ditto
10951         * kbmap.C: ditto
10952         * encoding.C: ditto
10953         * counters.C: ditto
10954         * converter.C: ditto
10955         * chset.C: ditto
10956         * Variables.C: ditto
10957         * TextCache.C: ditto
10958         * MenuBackend.C: ditto
10959         * LyXAction.C: ditto
10960         * LColor.C: ditto
10961         * FloatList.C: ditto
10962         * DepTable.C: ditto
10963         * ColorHandler.C (LyXColorHandler): ditto
10964
10965 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10966
10967         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10968
10969         * text2.C (openStuff): reintroduce this method (which had been
10970         nuked in NEW_INSETS frenzy).
10971
10972         * lyxfunc.C (Dispatch): when an action has not been handled, use
10973         its name in the error message, not its number.
10974
10975         * paragraph.C (inInset): change method name to begin with lowercase.
10976
10977         * undo_funcs.C:
10978         * text2.C: updates because of this.
10979
10980 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10981
10982         * ToolbarDefaults.C (add): add spaces in error message
10983
10984 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10985
10986         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10987         (readLyXformat2): rename return_par to first_par, use lyxlex's
10988         pushToken and remove the manual push handling.
10989         (parseSingleLyXformat2Token): add another ert comp. variable:
10990         in_tabular, rename return_par to first_par. handle newlines better
10991
10992 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10993
10994         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10995
10996 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10997
10998         * text2.C (getParFromID): removed
10999
11000         * buffer.C (getParFromID): new method moved form lyxtext.
11001         * BufferView2.C (insertErrors): adjust
11002         (setCursorFromRow): adjust
11003         * BufferView_pimpl.C (restorePosition): adjust
11004         * lyxfunc.C (Dispatch): adjust
11005         * undo_funcs.C (textUndo): adjust
11006         (textRedo): adjust
11007         (textHandleUndo): adjust
11008         (textHandleUndo): adjust
11009
11010 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11011
11012         * buffer.C: up' the LYX_FORMAT
11013
11014         * lyxfont.h: turn NO_LATEX on as default
11015
11016         * buffer.C (insertErtContents): new methods of tex style compability.
11017         (parseSingleLyXformat2Token): use it several places.
11018         * tabular.C (OldFormatRead): and here
11019
11020 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11021
11022         * text2.C: remove some commented code.
11023         reindent file.
11024
11025         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11026         * trans.C: changes because of the above.
11027
11028 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11029
11030         * text2.C (setCounter): Fix counters bug with bibliography layout.
11031
11032 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11033
11034         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11035         own member functions
11036         (simpleTeXSpecialChars): ditto
11037
11038 2001-07-06  Juergen Vigna  <jug@sad.it>
11039
11040         * a lot of files: changed the access to LyXText::status and the
11041         call of undo-functions.
11042
11043         * undo.[Ch]: added a inset_id to the undo informations.
11044
11045         * undo_funcs.[Ch]: added and moved here all undo functions.
11046
11047         * lyxtext.h: give the status enum a weight, made status_ a private
11048         variable and made accessor functions for it, removed the whole bunch
11049         of undo-functions as they are now in their own file, make some
11050         functions publically available. Added function ownerParagraph with
11051         int parameter.
11052
11053         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11054         made InInset() a const function, added getParFromID() function.
11055
11056         * buffer.[Ch]: added const version for inset_iterator functions,
11057         added getInsetFromID() function.
11058
11059         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11060         changed undo functions for new version.
11061
11062 2001-07-05  Juergen Vigna  <jug@sad.it>
11063
11064         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11065         unknow mechanism does not call the proper constructor but only this
11066         one also if I request the other!?
11067
11068 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11069
11070         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11071
11072         * text2.C (LyXText): use initialization lists.
11073
11074         * lyxtext.h (Selection): initialize set_ and mark_
11075         (init): remove method
11076
11077 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11078
11079         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11080
11081 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11082
11083         * screen.[Ch]: change method names to begin with lowercase
11084
11085         * BufferView_pimpl.C (updateScrollbar): simplify further and
11086         hopefully make it a bit faster.
11087
11088 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11089
11090         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11091         calling directly xforms functions.
11092
11093         * Painter.C (Painter):
11094         * lyx_cb.C (MenuWrite):
11095         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11096         fl_display.
11097
11098         * lyx_gui.C: remove bogus guiruntime extern declaration.
11099
11100 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11101
11102         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11103         in NEW_INSETS
11104         (redoDrawingOfParagraph): ditto
11105         (redoParagraphs): ditto
11106         (cutSelection): don't create a object for CutAndPaste use the
11107         static method directly
11108         (pasteSelection): ditto
11109
11110         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11111         LyXview (+ rename)
11112
11113 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11114
11115         * modifications to some other files because of this.
11116
11117         * Makefile.am (lyx_SOURCES): add XFormsView
11118
11119         * XFormsView.[Ch]: new files
11120
11121         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11122         the main window. Move the gui dependent stuff to XFormsView
11123
11124 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11125
11126         * tabular.C (GetCellInset): update cur_cell also in the row/col
11127         version of this function.
11128
11129         * lyxfunc.C: no need to include figure_form.h here.
11130
11131         * FontLoader.h:
11132         * lyxfunc.h:
11133         * lyxscreen.h:
11134         * text2.C:
11135         * lyxvc.C: no need to include forms.h here.
11136
11137 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11138
11139         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11140
11141         * lyxfunc.C (Dispatch):
11142         * Spacing.C (set):
11143         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11144         constructor argument.
11145
11146 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11147
11148         * paragraph.C (Paragraph): dont't clear, and just set layout.
11149         (makeSameLayout): use params's copy contructor.
11150
11151         * ParagraphParameters.[Ch] (makeSame): delete method
11152
11153 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11154
11155         * Variables.[Ch]: fix indentation, rename set to isSet
11156
11157 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11158
11159         * lyxfunc.C (Dispatch): fix typo
11160
11161 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11162
11163         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11164         upper_bound.
11165
11166         * bufferlist.C: include assert.h for emergencyWrite().
11167
11168 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11169
11170         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11171           give up at last (bug #425202) !
11172
11173 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * lyx_gui_misc.C:
11176         * sp_form.h:
11177         * sp_form.C:
11178         * spellchecker.h:
11179         * spellchecker.C: strip spellchecker options and bring up
11180           preferences tab instead
11181
11182 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11183
11184         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11185         the istringstream constructor
11186
11187 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11188
11189         * paragraph.C (getLayout): fix return value
11190
11191         * paragraph.h: do not declare getLayout as inline.
11192
11193         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11194
11195 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11196
11197         * lyxcursor.h (operator<): new func
11198         (operator>): new func
11199         (operator>=): new func
11200         (operator<=): new func
11201
11202         * text.C (changeCase): use selection.start and selection.end
11203         (changeRegionCase): require from to be <= to. Require par to be a
11204         valid paragraph.
11205
11206         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11207
11208 2001-06-27  Juergen Vigna  <jug@sad.it>
11209
11210         * text.C (cursorLeftOneWord): changed to return the cursor and added
11211         overlay with BufferView * parameter which calls this one.
11212         (getWord): added
11213         (selectWord): use new getWord function.
11214         (changeCase): renamed from changeWordCase as and extended to work
11215         also on selections.
11216
11217         * lyxtext.h: added enum word_location
11218
11219         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11220         changeCase as this operates now also on selections.
11221
11222 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11223
11224         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11225
11226         * many files: send debug output to Debug::INFO instead of
11227         Debug::ANY.
11228
11229         * converter.C (View):
11230         (Convert):
11231         (Move): send debug output to Debug::FILES instead of console.
11232
11233 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11234
11235         * lyxfunc.C (getStatus): use func_status
11236
11237         * func_status.h: new header, describing the results of
11238         LyXFunc::getStatus;
11239
11240         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11241         LFUN_MATH_HALIGN.
11242
11243 2001-06-25  The LyX Project  <jug@sad.it>
11244
11245         * buffer.C (sgmlOpenTag):
11246         (sgmlCloseTag):
11247         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11248
11249 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11250
11251         * text2.C: remove some dead code
11252
11253         * tabular.C (GetCellInset): store the last cell checked (gotten)
11254
11255         * tabular.h: add the helper for the speedup
11256
11257         * lyxtext.h: remove some dead code
11258
11259 2001-06-26  The LyX Project  <Asger>
11260
11261         * paragraph.C: Change export to LaTeX of alignment to
11262         \begin{center} and family for better roundtrip work with reLyX.
11263
11264         * Tune the math drawing a bit.
11265
11266 2001-06-25  The LyX Project  <Asger>
11267
11268         * LColor.C (LColor): New color for math background. New color
11269         for buttons.
11270
11271 2001-06-25  The LyX Project  <jug@sad.it>
11272
11273         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11274
11275         * lyxfunc.C (Open):
11276         * bufferlist.C (newFile): do not restrict to files ending with
11277         .lyx
11278
11279         * BufferView_pimpl.C (MenuInsertLyXFile):
11280
11281 2001-06-24  The LyX Project  <jug@sad.it>
11282
11283         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11284         of compare_no_case
11285
11286 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11287
11288         * lyxtext.h: rename most methods to begin with a small char.
11289         Lots of changes because of this.
11290
11291         * paragraph.C (Paragraph): do not call fitToSize
11292         (erase): call Pimpl::erase
11293         (insertChar): call Pimpl::insertChar
11294         (insertInset): call Pipl::insertInset
11295         (breakParagraph): do not call fitToSize
11296         (breakParagraphConservative): do not call fitToSize
11297         (fitToSize): remove method
11298
11299         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11300
11301 2001-06-24  The LyX Project  <Asger>
11302
11303         * Fix Qt compilation^2
11304
11305 2001-06-24  The LyX Project  <jug@sad.it>
11306
11307         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11308         depthHook(getDepth()-1).
11309
11310         * paragraph.h:
11311         * ParagraphParameters.h:
11312         * ParameterStruct.h: change type of depth to unsigned int ==
11313         depth_type. Many adaptations to other files before of that.
11314
11315 2001-06-24  The LyX Project  <Asger>
11316
11317         * Fix Qt compilation.
11318
11319 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11320
11321         * paragraph.h: renamed several methods to begin with small letter.
11322         several changes to many parts of the code because of this.
11323
11324 2001-06-23  The LyX Project  <jug@sad.it>
11325
11326         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11327         rewritten to discard all double spaces when KeepEmpty is off
11328         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11329         to only handle newlines but not fiddle with spaces and friends.
11330
11331         * lyxfunc.C (MenuNew): when doing 'new from template', use
11332         template_path as default directory
11333
11334 2001-06-23  The LyX Project  <Asger>
11335
11336         * Clean-up of header file includes all over
11337         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11338
11339 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11340
11341         * paragraph.h: renamed from lyxparagraph.h
11342
11343 2001-06-23  Asger  <lyx@violet.home.sad.it>
11344
11345         * Buffer.h: Removed Buffer::resize
11346         * BufferList.h: Removed BufferList::resize
11347         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11348         the document lazily when we change the width, or the font settings.
11349
11350 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11351
11352         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11353
11354 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11355
11356         * buffer.h: remove out of date comment
11357
11358 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * lyxscreen.h:
11361         * screen.C: fix "theoretical" GC leak
11362
11363 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11364
11365         * LaTeX.C (scanAuxFile):
11366         (deplog): remove trailing \r when reading stream (useful under
11367         win32)
11368
11369 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11370
11371         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11372         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11373         and BufferView::theLockingInset(Inset*), so should use them and not
11374         access bv_->text->the_locking_inset directly.
11375
11376         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11377
11378 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11379
11380         * Makefile.am:
11381         * tex-defs.h: remove old unused file
11382
11383 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * BufferView_pimpl.C: fix typo, remove minibuffer message
11386           when buffer has loaded
11387
11388 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11389
11390         * lyxfunc.C (Dispatch): use stringstream
11391         (MenuNew): use stringstream
11392         (Open): use stringstream
11393
11394         * importer.C (Import): use stringstream
11395
11396         * bufferview_funcs.C (CurrentState): use stringstream
11397
11398         * LaTeX.C (run): use stringstream
11399
11400         * BufferView_pimpl.C (savePosition): use stringstream
11401         (restorePosition): use stringstream
11402         (MenuInsertLyXFile): use stringstream
11403
11404 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11405
11406         * BufferView.C:
11407         * Bullet.C:
11408         * ColorHandler.C:
11409         * FontInfo.C:
11410         * FontLoader.C:
11411         * LColor.C:
11412         * LaTeXFeatures.C:
11413         * Painter.C:
11414         * gettext.C:
11415         * lyx_gui_misc.C:
11416         * lyxserver.C:
11417         * vspace.C: removed // -*- C++ -*- as first line.
11418
11419         * lyxfind.h:
11420         * version.h: added // -*- C++ -*- as first line.
11421
11422 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11423
11424         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11425
11426         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11427         of string
11428
11429 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11430
11431         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11432         of floats.
11433
11434 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11435
11436         * gettext.C: include LString.h even when --disable-nls is on.
11437
11438 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11439
11440         * converter.h (Get): changed argument type from int to
11441         FormatList::size_type to avoid unnecessary conversion.
11442
11443         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11444         before using it.
11445
11446 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11447
11448         * gettext.h: include LString.h even when --disable-nls is on.
11449
11450 2001-06-07  Juergen Vigna  <jug@sad.it>
11451
11452         * text.C (BreakAgain): subst spaces with tabs.
11453
11454         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11455         (resizeInsetsLyXText): set force on resizeLyXText.
11456
11457 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11458
11459         * gettext.h (gettext_init):
11460         (locale_init): use a real definition instead of a macro
11461
11462 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * Bufferview_pimpl.C:
11465         * LColor.h:
11466         * LColor.C: further lcolor tidies
11467
11468 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11469
11470         * BufferView_pimpl.C (updateScrollbar): simplify.
11471
11472         * BufferView2.C: don't include insets/insetinfo.h, change
11473         prototype for insertInset and call the Pimpl version. let
11474         updateInset call Pimpl version.
11475
11476         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11477         gotoInset to BufferView::Pimpl
11478
11479 2001-06-01  Juergen Vigna  <jug@sad.it>
11480
11481         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11482         inside a LockingInset (is the update needed at all?).
11483
11484 2001-05-31  Juergen Vigna  <jug@sad.it>
11485
11486         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11487         here not the old one otherwise how should we compare it afterwards
11488         if it's the same!
11489
11490 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11491
11492         * lyxfont.C:
11493         * tabular.C:
11494         * tabular-old.C:
11495         * FontInfo.C: bring C functions into global namespace when
11496         necessary
11497
11498 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11499
11500         * LString.h: make sure config.h has been loaded before LString.h.
11501
11502         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11503         (one for each char read by EatLine!).
11504
11505         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11506         variables.
11507
11508 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11509
11510         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11511         to the same as the par we break from
11512
11513 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11516
11517         * MenuBackend.C (expand): also create menu entries for wide
11518         versions of the floats.
11519
11520         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11521
11522         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11523
11524         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11525         frontends/Makefile.am
11526
11527         * text2.C: adjust
11528         * text.C: adjust
11529
11530
11531         * tabular.C (getTokenValue): add std::
11532
11533         * tabular-old.C (getTokenValue): add std::
11534         (getTokenValue): ditto
11535         (getTokenValue): ditto
11536
11537         * screen.C (ToggleSelection): adjust
11538
11539         * lyxtext.h: put selection cursors inside a Selection struct.
11540
11541         * lyxfunc.C (moveCursorUpdate): adjust
11542
11543         * lyxfont.C (latexWriteStartChanges): add std::
11544
11545         * lyxfind.C: adjust
11546
11547         * font.h: delete with(char const *, LyXFont const &)
11548
11549         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11550
11551         * FontInfo.C (getFontname): add std::
11552
11553         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11554         (workAreaButtonPress): adjust
11555         (tripleClick): adjust
11556         (update): adjust
11557         (moveCursorUpdate): adjust
11558         (Dispatch): adjust
11559
11560         * BufferView2.C (gotoInset): adjust
11561
11562 2001-05-30  Juergen Vigna  <jug@sad.it>
11563
11564         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11565         to check pspell I add this as default as I now have new pspell
11566         libraries and they seem to use this.
11567
11568 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11569
11570         * text2.C (CutSelection): make the cursor valid before the call to
11571         ClearSelection.
11572
11573 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11574
11575         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11576         relied on 0 terminated strings and other horrors. Bug found due to
11577         the new assert in lyxstring!
11578
11579         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11580         KP_ keys.
11581
11582 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11583
11584         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11585         to latinkeys.bind.
11586
11587         * lyxfunc.C (processKeySym): change method of getting to the
11588         self-insert char.
11589
11590         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11591         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11592         * BufferView_pimpl.[Ch]: here as private methods.
11593
11594 2001-05-28  Juergen Vigna  <jug@sad.it>
11595
11596         * text.C (SetHeightOfRow): added the update() call again as it is
11597         needed to initialize inset dimensions!
11598
11599 2001-05-16  Juergen Vigna  <jug@sad.it>
11600
11601         * text2.C (SetCharFont): Add new function with BufferView * and
11602         bool toggleall parameters for setting insets internal fonts.
11603         (SetFont): Freeze the undo as we may change fonts in Insets and
11604         all this change should be inside only one Undo!
11605
11606         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11607         setting font's in insets as for them we have the SetFont function!
11608
11609 2001-05-15  Juergen Vigna  <jug@sad.it>
11610
11611         * text2.C (ClearSelection): to be sure we REALLY don't have any
11612         selection anymore!
11613
11614         * tabular.C (TeXCellPreamble): fixed the left border problem for
11615         multicolumn cells.
11616
11617 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11618
11619         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11620         dependancy file
11621
11622 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11623
11624         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11625         LFUN_BREAKPARAGRAPH.
11626
11627         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11628         help test to "internal only", similar for LFUN_INSERT_URL
11629
11630         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11631         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11632         auto_region_delete and deadkeys.
11633
11634 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * LColor.h:
11637         * LColor.C: remove some dead entries, tidy a little
11638
11639 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11642         commented code.
11643         (Dispatch): implement LFUN_ESCAPE
11644
11645         * commandtags.h: add LFUN_ESCAPE
11646
11647         * LyXAction.C (init): add entry for LFUN_ESCAPE
11648
11649         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11650         Remove commented code.
11651         (insertNote): moved here
11652         (open_new_inset): moved here
11653
11654         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11655         BufferView_pimpl
11656
11657 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11658
11659         * kbmap.C (findbinding): clean it up and make it work correctly.
11660
11661         * lyx_main.C (init): do not pass argc and argv as parameters
11662
11663 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11664
11665         * buffer.C: fix path for OS/2 & Win32
11666
11667         * lyx_gui.C:
11668         * lyx_main:
11669         * lyx_main.C: Added os:: class.
11670
11671         * os2_defines.h: update
11672
11673 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11674
11675         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11676         better by trying again with reduced state.
11677
11678 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11679
11680         * lyxrc.C (read): print error about invalid key sequence only when
11681         debugging (because not all latinX keysyms are known to some X
11682         servers)
11683
11684         * kbsequence.C (getiso): add a few std:: qualifiers
11685         (getiso): comment out extra return statement.
11686
11687 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11688
11689         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11690         handling.
11691         (Dispatch): enhance the accent inset a bit. (not perfect)
11692
11693 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11694
11695         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11696
11697 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11698
11699         * bufferlist.C (emergencyWrite): fix assert() call
11700
11701 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11702
11703         * text.C (InsertChar): Added trivial patch to only send the "you
11704         can not do multiple spaces this way" message once during a
11705         session.
11706
11707 2001-05-08  Baruch Even  <baruch@lyx.org>
11708
11709         * Makefile.am: Changed order of libraries to get LyX to link properly
11710         with the gnome frontend.
11711
11712 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11713
11714         * LaTeXFeatures.h: add a std:: qualifier
11715
11716 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11717
11718         * paragraph.C (String): use stringstream
11719
11720 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11721
11722         * paragraph.C (writeFile): remove footflag arg
11723
11724         * buffer.C (makeLaTeXFile): use stringstream
11725         (latexParagraphs): remove footnot gurba
11726
11727         * LaTeXFeatures.C (getPackages): use stringstream
11728         (getMacros): likewise
11729         (getTClassPreamble): likewise
11730         (getFloatDefinitions): new method
11731
11732         * paragraph.C (writeFile): reindent
11733         (Erase): reindent
11734
11735         * WorkArea.h: revert the xpos + etc changes.
11736
11737         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11738
11739         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11740
11741         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11742         (pasteSelection): likewise
11743         * text2.C (CreateUndo): likewise
11744
11745 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11746
11747         * minibuffer.C (peek_event): temporarily reduce the functionality
11748         of the minibuffer (to allow args on lfuns)
11749
11750         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11751         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11752
11753         * buffer.C (readInset): add compability reading of old float
11754         lists, add reading of new style float list.
11755         (readInset): avoid reevaluation of inscmd.getCmdName()
11756         (getLists): reindent
11757
11758         * MenuBackend.C (MenuItem): implement parsing of
11759         md_floatlistinsert and md_floatinsert.
11760         (expand::LastFiles): move initalizaton of iterators out of loop,
11761         avoid reevaluation.
11762         (expand::Documents): introduce typdedef vector<string> Strings,
11763         and use it.
11764         (expand::ExportFormats): introduce typedef vector<Format const *>
11765         Formats, and use it.
11766         (expand): implement FloatListInsert and FloatInsert.
11767
11768         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11769         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11770         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11771
11772         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11773         handling.
11774         (Dispatch::LFUN_FLOAT_LIST): implement
11775
11776 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11777
11778         * LaTeX.C (run): Fix problem with --export code.
11779
11780 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11781
11782         * BufferView.[Ch] (workarea): removed.
11783         (getClipboard) new method; wrapper for workarea()->getClipboard()
11784
11785         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11786         bug.
11787
11788         * WorkArea.h (width, height, xpos, ypos): These methods all
11789         returned the dimensions of the work_area sub-area of WorkArea,
11790         resulting in a position error if the WorkArea were resized. Now
11791         return the dimensions of the entire WorkArea.
11792
11793         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11794
11795 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11796
11797         * LaTeX.C (deplog): correct the syntax of regex reg1
11798
11799 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11800
11801         * undo.C: remove !NEW_INSETS cruft
11802
11803 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11804
11805         * text2.C: remove !NEW_INSETS cruft
11806
11807         * text.C: remove !NEW_INSETS cruft
11808
11809         * tabular.C: remove !NEW_INSETS cruft
11810
11811         * spellchecker.C: remove !NEW_INSETS cruft
11812
11813         * lyxtext.h: remove !NEW_INSETS cruft
11814
11815         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11816
11817         * lyxfunc.C: remove !NEW_INSETS cruft
11818
11819         * lyxfind.C: remove !NEW_INSETS cruft
11820
11821         * lyx_cb.C: remove !NEW_INSETS cruft
11822
11823         * figureForm.C: remove  !NEW_INSETS cruft
11824
11825         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11826
11827         * buffer.[Ch]: remove !NEW_INSETS cruft
11828
11829         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11830
11831         * CutAndPaste.C: remove !NEW_INSETS cruft
11832
11833         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11834
11835         * BufferView2.C: remove !NEW_INSETS cruft
11836
11837         * BufferView.h: remove !NEW_INSETS cruft
11838
11839 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11840
11841         * Lsstream.h: include LString.h before the sstream headers to
11842         fix problem with gcc 2.95.3 and lyxstring
11843
11844 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11845
11846         * lyx_main.C: add using directives when needed for C functions
11847         declared in std:: namespace.
11848
11849 2001-04-27  Juergen Vigna  <jug@sad.it>
11850
11851         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11852         (SetHeightOfRow): comment out the update call should not be needed!
11853
11854 2001-04-13  Juergen Vigna  <jug@sad.it>
11855
11856         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11857         (LyXTabular): tried to minimize operator= operations (and realized
11858         hopfully Lars wish).
11859
11860 2001-04-27  Juergen Vigna  <jug@sad.it>
11861
11862         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11863
11864 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11865
11866         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11867
11868         * buffer.C (readInset): hack to make listof algorithm work
11869
11870         * BufferView_pimpl.C: hack to make listof algorithm work
11871
11872 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11873
11874         * LyXAction.C: removed all !NEW_INSETS cruft
11875         (init): moved lfun_item in method
11876
11877         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11878
11879 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11880
11881         * BufferView2.C (theLockingInset): white space.
11882
11883 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * minibuffer.C: include <iostream>
11886
11887         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11888
11889         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11890
11891         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11892
11893         * text.[Ch] (TransposeChars): new method
11894
11895 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11896
11897         * call message directly through LyXView instead of through LyXFunc
11898         * BufferView2.C: adjust
11899         * BufferView_pimpl.C: adjust
11900         * FontLoader.C: adjust
11901         * buffer.C: adjust
11902         * bufferview_funcs.C: adjust
11903         * converter.C: adjust
11904         * figureForm.C: adjust
11905         * importer.C: adjust
11906         * lyx_cb.C: adjust
11907         * lyx_gui_misc.C: adjust
11908         * lyxfunc.C: adjust
11909         * lyxvc.C: adjust
11910         * text2.C: adjust
11911         + more files in subdirs
11912
11913         * lyxparagraph.h (size): move up int file
11914         (GetLayout): ditto
11915
11916         * adjust all uses of Assert to lyx::Assert.
11917
11918         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11919         lyxfunctional in namespace lyx
11920         * layout.C (hasLayout): ditto
11921         (GetLayout): ditto
11922         (GetLayout): ditto
11923         (delete_layout): ditto
11924         (NumberOfClass): ditto
11925         * converter.C (GetFormat): ditto
11926         (GetNumber): ditto
11927         (Add): ditto
11928         (Delete): ditto
11929         (SetViewer): ditto
11930         * bufferlist.C (getFileNames): ditto
11931         (emergencyWriteAll): ditto
11932         (exists): ditto
11933         (getBuffer): ditto
11934         * MenuBackend.C (hasSubmenu): ditto
11935         (hasMenu): ditto
11936         (getMenu): ditto
11937         * BufferView_pimpl.C (getInsetByCode): ditto
11938
11939 2001-04-18  Juergen Vigna  <jug@sad.it>
11940
11941         * vspace.C (asLatexString): fixed the 100% problem.
11942
11943 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11944
11945         * lyxfunc.C (Dispatch):
11946         * minibuffer.C:
11947         * minibuffer.h: add a few std:: qualifiers
11948
11949 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11950
11951         * minibuffer.[Ch]: reimplement so that commands is initiated and
11952         run from lyxfunc, simplified som handling, and made the completion
11953         and history code for complete. wip.
11954
11955         * lyxfunc.C (processKeySym): call message
11956         (miniDispatch): new temporary method
11957         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11958         (LFUN_MESSAGE): implement
11959         (LFUN_MESSAGE_PUSH): implement
11960         (LFUN_MESSAGE_POP): implement
11961         (initMiniBuffer): the initial/defualt minibuffer message.
11962
11963         * lyxfont.[Ch]: inline some more getters
11964
11965         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11966
11967         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11968
11969         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11970         (AutoSave): use LFUN_MESSAGE
11971         (Reconfigure): ditto
11972
11973         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11974
11975         * figureForm.C: use LFUN_MESSAGE
11976
11977         * converter.C (runLaTeX): use LFUN_MESSAGE
11978
11979         * bufferview_funcs.C: use LFUN_MESSAGE
11980         (Melt): ditto
11981         (changeDepth): ditto
11982
11983         * bufferparams.h: use boost::
11984
11985         * bufferlist.h: inherit privately from noncopyable
11986
11987         * bufferlist.C (loadLyXFile): remove some commented code.
11988
11989         * buffer.C (runChktex): use LFUN_MESSAGE
11990
11991         * ShareContainer.h: inherit privately from noncopyable
11992
11993         * ParagraphParameters.[hC] (depth): inline it.
11994
11995         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11996         methods.
11997         (message): new method
11998         (messagePush): ditto
11999         (messagePop): ditto
12000         (show): init minibuffer
12001         (showState): direct call
12002
12003         * LaTeX.[Ch]: inherit privately from noncopyable
12004         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12005         instead of WriteStatus.
12006
12007         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12008
12009         * BufferView_pimpl.C (buffer): don't init minibuffer
12010         (workAreaButtonPress): use LFUN_MESSAGE
12011         (workAreaButtonRelease): ditto
12012         (savePosition): ditto
12013         (restorePosition): ditto
12014         (MenuInsertLyXFile): ditto
12015         (workAreaExpose): don't init minibuffer
12016         (update): remove commented code, simplify
12017
12018         * BufferView2.C (openStuff): use LFUN_MESSAGE
12019         (toggleFloat): ditto
12020         (menuUndo): ditto
12021         (menuRedo): ditto
12022         (copyEnvironment): ditto
12023         (pasteEnvironment): ditto
12024         (copy): ditto
12025         (cut): ditto
12026         (paste): ditto
12027         (gotoInset): ditto
12028         (updateInset): remove some commented code
12029
12030         * lastfiles.h: inherit privately from noncopyable
12031         * layout.h: ditto
12032         * lyx_gui.h: ditto
12033         * lyx_main.h: ditto
12034         * lyxlex.h: ditto
12035         * lyxlex_pimpl.h: ditto
12036
12037         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12038         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12039         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12040
12041         * LyXAction.h: inherit privately from noncopyable, add methods
12042         func_begin, func_end, returning iterators to the func map.
12043
12044         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12045         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12046         (func_begin): new method
12047         (func_end): new method
12048
12049         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12050         and not)
12051         (copySelection): ditto
12052         (pasteSelection): ditto
12053
12054         * BufferView.C: whitespace change
12055         * BufferView.h: inherit privately from noncopyable
12056
12057 2001-04-16  Allan Rae  <rae@lyx.org>
12058
12059         * tabular-old.C (l_getline):
12060         * spellchecker.C (sc_check_word):
12061         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12062         an unrecognised preprocessor directive.  So ensure they're wrapped.
12063
12064 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12065
12066         * src/exporter.C (Export): Give an error message when path to file
12067         contains spaces.
12068
12069 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12070
12071         * LaTeX.C (deplog): Always check that foundfile exists.
12072
12073 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12074
12075         * lyx_main.h:
12076         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12077
12078 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12079
12080         * tabular.[Ch] (getLabelList): implement new method
12081
12082         * minibuffer.h: comment ouf setTiimer
12083
12084         * minibuffer.C (ExecutingCB): constify res
12085         (peek_event): constify s
12086         (Set): constify ntext
12087         (Init): constify nicename
12088
12089         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12090
12091         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12092         (savePosition): use two params to Minibuffer::Set
12093         (restorePosition): ditto
12094
12095 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12096
12097         * lyx_main.C: include language.h
12098
12099         * Makefile.am (lyx_main.o): add language.h
12100
12101 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12102
12103         * exporter.C:
12104         * paragraph.C:
12105         * screen.C:
12106         * tabular.C:
12107         * CutAndPaste.C: include gettext.h
12108
12109         * lyxfont.h: remove old hack with ON and OFF.
12110
12111         * lyxparagraph.h:
12112         * lyxfont.h: do not include language.h...
12113
12114         * BufferView2.C:
12115         * LaTeXFeatures.C:
12116         * Painter.C:
12117         * bufferview_funcs.C:
12118         * font.C:
12119         * lyxfont.C:
12120         * text.C:
12121         * text2.C:
12122         * trans_mgr.C:
12123         * paragraph.C: ... but do it here instead
12124
12125 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12126
12127         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12128
12129         * tabular.C: small reformat
12130
12131         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12132         NEW_INSETS version
12133         (GetChar): ditto
12134         (BreakParagraph): ditto
12135         (SetOnlyLayout): ditto
12136         (SetLayout): ditto
12137
12138         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12139         with one arg less.
12140
12141         * lastfiles.C: removed most using decl, add std:: where needed
12142
12143         * buffer.C: ws changes
12144
12145         * MenuBackend.C (class compare_format): put into anon namespace
12146         (expand): constify label, names, action, action2
12147         (expand):
12148
12149         * text.C (SingleWidth): constify font
12150         (IsBoundary): constify rtl2
12151         (GetVisibleRow): constify ww
12152
12153         * LaTeX.C (deplog): constify logfile
12154
12155         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12156         start_x, end_x
12157         (workAreaExpose): constify widthChange, heightChange
12158
12159         * lyxrow.C (par): moved
12160         (height): moved
12161         (next): moved
12162         * lyxrow.h: as inlines here
12163
12164         * lyxfont.h (shape): moved from lyxfont.C
12165         (emph): moved from lyxfont.C
12166
12167         * lyxfont.C (LyXFont): use initialization list for all
12168         constructors
12169         (shape): move to lyxfont.h as inline
12170         (emph): move to lyxfont.h as inline
12171
12172
12173 2001-04-04  Juergen Vigna  <jug@sad.it>
12174
12175         * vspace.C: had to include stdio.h for use of sscanf
12176
12177 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12178
12179         * BufferView.h:
12180         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12181         independent of xforms.
12182
12183 2001-04-02  Juergen Vigna  <jug@sad.it>
12184
12185         * spellchecker.C: fixed namespace placing!
12186
12187 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12188
12189         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12190         the LyXParagraph * is 0.
12191
12192 2001-03-29  Juergen Vigna  <jug@sad.it>
12193
12194         * vspace.C: added support for %, c%, p%, l%.
12195         (stringFromUnit): added helper function.
12196         (asLatexString): changed to give right results for the %-values.
12197
12198         * buffer.C: convert the widthp in a width%.
12199
12200 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12201
12202         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12203         figureForm.[Ch].
12204
12205         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12206         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12207
12208         * lyx_cb.[Ch]: see above.
12209
12210         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12211         form1.[Ch].
12212
12213         * form1.[Ch]:
12214         * lyx.[Ch]: replaced by figure_form.[Ch].
12215
12216         * lyx_gui.C:
12217         * lyx_gui_misc.C:
12218         * lyxfunc.C: changed headers associated with above changes.
12219
12220 2001-03-27  Juergen Vigna  <jug@sad.it>
12221
12222         * BufferView_pimpl.C: set the temporary cursor right!
12223
12224 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12225
12226         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12227
12228 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12229
12230         * LString.h: removed "using std::getline"!
12231
12232         * BufferView_pimpl.C (Dispatch): changes due to changes in
12233         InsetInclude::Params.
12234
12235         * buffer.C (tag_name): removed redundant break statements as they were
12236         producing lots of warnings with my compiler.
12237
12238 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12239
12240         * LString.h: add "using std::getline" when using the real <string>.
12241
12242 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12243
12244         * buffer.C: removed bitset usage.
12245         PAR_TAG moved to an anonymous name space.
12246         (tag_name): new funtion, also in the anonymous namespace.
12247         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12248         (makeDocBookFile): clean code. Completed transition from string arrays
12249         to string vectors.
12250         (SimpleDocBookOnePar): code clean.
12251
12252 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12253
12254         * tabular.C: add some comments.
12255
12256 2001-03-22  Juergen Vigna  <jug@sad.it>
12257
12258         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12259         compatibility read a bit and fixed bug with minipage in different
12260         depth.
12261
12262 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12263
12264         * buffer.C (pop_tag): removed.
12265         (push_tag): removed.
12266         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12267         array replaced with vector. Added support for CDATA sections.
12268         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12269         at any nest level.
12270         (makeDocBookFile): XML conformant declaration of CDATA section,
12271         fixed bug related to <emphasis> in the first paragraph char.
12272         (sgmlOpenTag): exclude empty tags.
12273         (sgmlCloseTag): ditto.
12274
12275         * buffer.h (pop_tag): removed.
12276         (push_tag): removed.
12277
12278 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12279
12280         * language.h (Languages): added size_type and size().
12281
12282 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12283
12284         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12285         response on compability reading of minipages. One probliem is that
12286         the old usage of minipages was «flertydig»
12287
12288         * several files here and in subdirs: don't use static at file
12289         scope use anon namespaces instead.
12290
12291 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12292
12293         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12294         LaTeX output. This is necessary for Literate document
12295         processing.
12296
12297 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12298
12299         * buffer.C: insert hfill when needed.
12300
12301         * tabular.C (l_getline): use string::erase, small whitespace change.
12302
12303         * BufferView_pimpl.C: try the anon namespace.
12304         * WorkArea.C: ditto
12305
12306 2001-03-16  Juergen Vigna  <jug@sad.it>
12307
12308         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12309         otherwise it won't open options-dialogs.
12310
12311         * buffer.C: honor pextraWidth(p) on converting minipages.
12312
12313         * tabular.C (l_getline): changed the functions to strip trailing \r.
12314
12315 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12316
12317         * BufferView_pimpl.C:
12318         * minibuffer..C: added "using SigC::slot" declaration.
12319
12320 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12321
12322         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12323
12324         * text2.C: ditto
12325
12326         * text.C: ditto
12327
12328         * paragraph.C: ditto
12329
12330         * lyxtext.h: NO_PEXTRA
12331
12332         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12333
12334         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12335         * ParameterStruct.h: ditto
12336         * ParagraphParameters.h: ditto
12337         * lyxparagraph.h: ditto
12338
12339 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12340
12341         * buffer.C: add compability for minipage alignment.
12342         (latexParagraphs): remove unwanted pextra check.
12343
12344         * several files: remove CXX_WORKING_NAMESPACES
12345
12346         * buffer.C (pop_tag): tie is in namespace boost
12347
12348         * BufferView.h: noncopyable is in namespace boost
12349         * lyxlex.h: ditto
12350         * lyx_main.h: ditto
12351         * lyx_gui.h: ditto
12352         * layout.h: ditto
12353         * lastfiles.h: ditto
12354         * bufferlist.h: ditto
12355         * ShareContainer.h: ditto
12356         * LyXView.h: ditto
12357         * LyXAction.h: ditto
12358         * LaTeX.h: ditto
12359
12360 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12361
12362         * Merging changes from BRANCH_MVC back into HEAD.
12363
12364         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12365
12366 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12367
12368         * BufferView_pimpl.C: change from intl.C
12369
12370         * combox.h:
12371         * combox.C:
12372         * Makefile.am: move combox.*
12373
12374         * form1.h:
12375         * form1.C:
12376         * lyx_gui.C:
12377         * intl.h:
12378         * intl.C: remove dialog (covered by prefs)
12379
12380 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12381
12382         * lyxfunc.C (Dispatch): removed redundant break statement.
12383
12384 2001-03-14  Juergen Vigna  <jug@sad.it>
12385
12386         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12387
12388 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12389
12390         * buffer.C: add hack to fix compability reading of minipages.
12391
12392 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12393
12394         * buffer.C (getLists): Cleanup.
12395
12396 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12397
12398         * lyxfont.C (update): don't honor toggleall on font size.
12399
12400 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12401
12402         * bmtable.c:
12403         * bmtable.h:
12404         * Makefile.am: moved to frontends/xforms/
12405
12406         * lyx_gui_misc.C:
12407         * lyxfunc.C:
12408         * BufferView_pimpl.C: changes for moved mathpanel
12409
12410 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12411
12412         * gettext.h: fix gettext_init() in --disable-nls
12413
12414 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12415
12416         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12417
12418 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12419
12420         * lyx.C:
12421         * lyx.h: strip external form
12422
12423 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12424
12425         * BufferView_pimpl.C: add comment, destroySplash()
12426
12427 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12428
12429         * BufferView_pimpl.C:
12430         * LyXAction.C:
12431         * buffer.C:
12432         * commandtags.h:
12433         * lyxfunc.C: use re-worked insetinclude
12434
12435 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12436
12437         * buffer.C: add using std::stringstream.
12438
12439         * lyx_cb.C: readd using std::ios.
12440
12441         * buffer.C: add using std::map.
12442
12443         * BufferView_pimpl.C: add using std::vector.
12444
12445         * ShareContainer.h: add std:: to swap.
12446
12447         * buffer.h: add some typedefs
12448         * buffer.C (getLists): use them
12449         (getLists): renamed from getTocList.
12450         add a counter for the different float types and use it in the
12451         generated string.
12452         (getLists): use the same counter for the NEW_INSETS and the "non"
12453         NEW_INSETS
12454
12455         * lyx_cb.h: remove unused items, includes, using etc.
12456
12457         * ShareContainer.h: remove some commented code, add more comments
12458         and "documentation".
12459
12460 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12461
12462         * buffer.C (getTocList): make the list also when NEW_INSETS is
12463         defined.
12464
12465         * buffer.h: remove TocType
12466
12467         * buffer.C (getTocList): change to return a map<string,
12468         vector<TocItem> >, implement for dynamic number of list.
12469
12470         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12471         * text2.C (PasteSelection): adjust
12472         * CutAndPaste.C (pasteSelection): adjust
12473
12474         * FloatList.C (FloatList): update from the new_insets branch.
12475         * Floating.[Ch]: ditto
12476         * LaTeXFeatures.C: ditto
12477         * buffer.C: ditto
12478         * lyxlex_pimpl.C: ditto
12479
12480         * paragraph.C (Last): remove when NEW_INSETS is defined.
12481
12482         * other file: changes because of the above.
12483
12484 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12485
12486         * lyxparagraph.h: rename next to next_, previous to previous_,
12487         make them private for NEW_INSETS. Rename Next() to next(),
12488         Previous() to previous().
12489
12490         * other files: changes because of the above.
12491
12492 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12493
12494         * BufferView.h:
12495         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12496         problem.
12497
12498 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12499
12500         * main.C (main): pass lyx_localedir to gettext_init().
12501
12502         * gettext.h: remove locale_init and gettext_init macros
12503
12504         * gettext.C (locale_init): new function
12505         (gettext_init): new function
12506
12507         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12508         setlocale().
12509
12510 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12511
12512         * Moved credits to frontends:
12513         * credits.[Ch]: removed
12514         * credits_form.[Ch]: removed
12515         * lyx_gui_misc.C: remove credits stuff
12516         * Makefile.am:
12517
12518 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12519
12520         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12521
12522         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12523         unneeded destructor.
12524
12525         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12526         a standalone pointer again.
12527
12528         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12529
12530 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12531
12532         * Makefile.am:
12533         * filedlg.h:
12534         * filedlg.C:
12535         * LyXAction.C:
12536         * ToolbarDefaults.C:
12537         * bufferlist.C:
12538         * commandtags.h:
12539         * form1.C:
12540         * form1.h:
12541         * lyx_cb.C:
12542         * lyx_cb.h:
12543         * lyxfunc.h:
12544         * lyxfunc.C:
12545         * BufferView_pimpl.C: use new file dialog in GUII
12546
12547         * lyx_cb.h:
12548         * lyx_cb.C: remove LayoutsCB to Toolbar
12549
12550 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12551
12552         * ShareContainer.h (get): add std:: qualifier
12553
12554 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12555
12556         * ShareContainer.h: define a proper ShareContainer::value_type
12557         type (and use typename to please compaq cxx)
12558
12559 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12560
12561         * lyxparagraph.h: move serveral local vars to
12562         ParameterStruct/ParagraphParameters., use ShareContainer in
12563         FontTable., make vars in FontTable private and add getter and
12564         setter.
12565
12566         * paragraph.C: changes because of the above.
12567
12568         * lyxfont.h: remove copy constructor and copy assignment. (the
12569         default ones is ok), move number inside FontBits. move inlines to
12570         lyxfont.C
12571
12572         * lyxfont.C: add number to initializaton of statics, move several
12573         inlines here. constify several local vars. some whitespace
12574         cleanup. Dont hide outerscope variables.
12575
12576         * Spacing.h: add two new constructors to match the set methods.
12577
12578         * ShareContainer.h: new file, will perhaps be moved to support
12579
12580         * ParameterStruct.h: new file
12581
12582         * ParagraphParameters.h: new file
12583
12584         * ParagraphParameters.C: new file
12585
12586         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12587         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12588
12589         * BufferView_pimpl.C: ParagraphParameter changes.
12590         * buffer.C: Likewise.
12591         * bufferview_funcs.C: Likewise.
12592         * text.C: Likewise.
12593         * text2.C: Likewise.
12594
12595 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12596
12597         * lyxfind.C (LyXReplace): do not redefine default argument in
12598         implementation.
12599         (IsStringInText): ditto
12600         (SearchForward): ditto
12601         (SearchBackward): ditto
12602
12603 2001-03-06  Juergen Vigna  <jug@sad.it>
12604
12605         * lyxfind.C (IsStringInText): put parentes around expressions.
12606
12607 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12608
12609         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12610
12611 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12612
12613         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12614
12615         * stl_string_fwd.h: add comment
12616
12617         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12618
12619         * tabular.h:
12620         * tabular.C: remove unused DocBook methods
12621
12622         * intl.C:
12623         * language.C:
12624         * paragraph.C:
12625         * buffer.C:
12626         killed DO_USE_DEFAULT_LANGUAGE
12627
12628 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12629
12630         * lyx_gui.C: do not include language.h.
12631
12632         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12633         arguments in function implementation.
12634
12635 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12636
12637         * BufferView_pimpl.C: add <ctime>
12638
12639 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12640
12641         * BufferView_pimpl.C: add using std::find_if
12642
12643 2001-02-27  José Matos  <jamatos@fep.up.pt>
12644
12645         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12646         by OnlyPath.
12647
12648 2001-02-11  José Matos  <jamatos@fep.up.pt>
12649
12650         * buffer.C (makeDocBookFile): command styles now have a parameter as
12651         "title" by default.
12652
12653 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12654
12655         * layout_forms.[Ch]: removed
12656         * lyx_cb.[Ch]: out character
12657         * lyx_gui.C: out character
12658         * lyx_gui_misc.C: out character
12659         * bufferview_funcs.C: : out character,
12660         added toggleall as parameter in ToggleAndShow
12661
12662 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12663
12664         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12665
12666         * text2.C (SetCurrentFont): Disable number property at boundary.
12667
12668 2001-02-26  Juergen Vigna  <jug@sad.it>
12669
12670         * lyxfunc.C (getStatus): added a string argument override function so
12671         that this is correctly called from LyXFunc::Dispatch if it contains a
12672         do_not_use_argument which is used!
12673         (Dispatch): added check for "custom" export and call appropriate func.
12674
12675 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12676
12677         * lyxrc.C: Add language_command_local, language_use_babel and
12678         language_global_options.
12679
12680         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12681
12682         * buffer.C (makeLaTeXFile): Use language_use_babel and
12683         language_global_options.
12684
12685 2001-02-23  Juergen Vigna  <jug@sad.it>
12686
12687         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12688         which works with LyXText and putted it inside BufferView. Here now we
12689         only call for that part the BufferView::Dispatch() function.
12690
12691         * BufferView.C (Dispatch): added.
12692
12693         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12694         functions which needs to use a LyXText over from LyXFunc.
12695         (MenuInsertLyXFile): added
12696         (getInsetByCode): added
12697         (moveCursorUpdate): added
12698         (static TEXT): added
12699
12700 2001-02-22  Juergen Vigna  <jug@sad.it>
12701
12702         * BufferView_pimpl.C (update): call a status update to see if LyXText
12703         needs it.
12704
12705 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12706
12707         * vc-backend.C (revert): implement for CVS
12708         (getLog): implement for CVS
12709
12710 2001-02-20  Juergen Vigna  <jug@sad.it>
12711
12712         * text2.C (ClearSelection): added BufferView param for inset_owner call
12713
12714         * lyxfunc.C (TEXT): added this function and use it instead of
12715         directly owner->view()-text of getLyXText().
12716
12717 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12718
12719         * src/layout_forms.C: out preamble
12720         * src/layout_forms.h: out preamble
12721         * src/lyx_cb.C: out preamble
12722         * src/lyx_cb.h: out preamble
12723         * src/lyx_gui.C: out preamble
12724         * src/lyx_gui_misc.C: out preamble
12725         * src/lyxfunc.C: connect with guii preamble
12726
12727 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12728
12729         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12730
12731 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12732
12733         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12734         whether to run bibtex.
12735
12736 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12737
12738         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12739
12740 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12741
12742         * Makefile.am (lyx_SOURCES): removed bibforms.h
12743
12744         * vspace.h: doxygen
12745
12746         * text.C (GetVisibleRow): make several local vars const
12747
12748         * tabular.C: small cleanup.
12749
12750         * lyxserver.C (callback): use compare instead of strncmp
12751
12752         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12753         inlines to after class or to paragraph.C
12754
12755         * lyxfont.h: remove friend operator!=
12756
12757         * converter.h: move friend bool operator< to non friend and after
12758         class def.
12759
12760         * combox.h: small cleanup
12761
12762         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12763         to inlines after class def.
12764
12765         * buffer.C (pop_tag): use string operations instead of strcmp
12766
12767         * bmtable.c: doxygen, small cleanup
12768
12769         * LaTeX.h: remove friend operator==
12770
12771 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12772
12773         * screen.C:
12774         * lyxrc.[Ch]:
12775         * lyxfunc.C:
12776         * lyxfont.[Ch]:
12777         * lyx_cb.C:
12778         * intl.[Ch]:
12779         * commandtags.h:
12780         * buffer.C:
12781         * WorkArea.[Ch]:
12782         * LyXAction.C:
12783         * BufferView_pimpl.C:
12784         * BufferView.[Ch]: remove cruft
12785
12786 2001-02-14  Juergen Vigna  <jug@sad.it>
12787
12788         * lyxfunc.C: removed #if 0 unused code
12789
12790         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12791
12792         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12793
12794         * text2.C (SetSelection): added a BufferView * parameter
12795
12796 2001-02-13  Juergen Vigna  <jug@sad.it>
12797
12798         * lyxfunc.C (Dispatch): fixed protected blank problem.
12799         * BufferView2.C (protectedBlank): added LyxText * parameter.
12800
12801         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12802         (AppendColumn): same as above for column_info.
12803
12804         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12805         (moveCursorUpdate): use a LyXText param for support of InsetText.
12806
12807         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12808         (tripleClick): ditto
12809
12810         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12811
12812         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12813
12814         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12815
12816         * text2.C (SetSelection): set correct update status if inset_owner
12817         (ToggleFree): ditto
12818
12819 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12820
12821         * tabular.C: remove some commented code.
12822
12823 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12824
12825         * BufferView_pimpl.C: call hideSplash()
12826
12827         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12828
12829         * include_form.h:
12830         * bibforms.h: remove
12831
12832         * lyxfunc.C:
12833         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12834           add LFUN_CHILD_CREATE
12835
12836         * counters.h: fix tiny typo
12837
12838         * lyx_cb.C:
12839         * lyx.h:
12840         * lyx_gui.C:
12841         * lyx.C: move splash to frontends/xforms/
12842
12843         * lyx_gui_misc.C: move Include and Bibform to frontends
12844
12845         * lyxvc.h: clarify comment
12846
12847         * vspace.C: tiny housekeeping
12848
12849 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12850
12851         * text.C (PrepareToPrint): RTL Fix.
12852
12853         * paragraph.C (GetUChar): New method.
12854         (String):  Use GetUChar.
12855
12856         * buffer.C (asciiParagraph): Use GetUChar.
12857
12858 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12859
12860         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12861
12862 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12863
12864         * buffer.h:
12865         * buffer.C: rename to getLogName(), handle
12866           build log / latex log nicely
12867
12868 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12869
12870         * MenuBackend.C:
12871         * MenuBackend.h: remove support for reference menuitem type.
12872
12873 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12874
12875         * BufferView_pimpl.C: housekeeping
12876         * BufferView_pimpl.h:
12877         * LyXView.h:
12878         * Makefile.am:
12879         * Timeout.C:
12880         * Timeout.h:
12881         * minibuffer.h: move Timeout GUI-I
12882
12883 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12884
12885         * lyxrc.C (read): Update converters data-structures.
12886
12887 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12888
12889         * LaTeX.h (operator!=): add operator != for Aux_Info
12890
12891 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12892
12893         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12894
12895         * LaTeXLog.C: deleted, useful code moved to Buffer
12896
12897         * buffer.h:
12898         * buffer.C: new function getLatexLogName()
12899
12900         * lyx_gui_misc.C:
12901         * lyx_gui.C:
12902         * lyxvc.C:
12903         * lyxvc.h:
12904         * lyxfunc.C: use frontends for LaTeX and VC logs
12905
12906 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12907
12908         * LaTeX.h: yet another std:: that Allan forgot.
12909
12910         * Variables.C (set): renamed from isset(), because this clashes
12911         with some HP-UX macros (grr).
12912
12913 2001-02-06  Allan Rae  <rae@lyx.org>
12914
12915         * LaTeX.h: Another bug fix.  Missing std:: this time.
12916
12917 2001-02-04  Allan Rae  <rae@lyx.org>
12918
12919         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12920         floats problem. I've left it commented out because it's not quite
12921         correct.  It should also test that the current object is a table or
12922         figure inset.  But I haven't gotten around to figuring out how to do
12923         that.  I *think* it'll be something like: "table" == inset.type()
12924
12925         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12926         bool.
12927
12928 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12929
12930         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12931         all the citation/databases/styles in the auxilary file.
12932         (run): Rerun latex if there was a babel language error.
12933
12934 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12935
12936         * text.C (Backspace): Preserve the font when changing newline char
12937         with a space.
12938         (BreakParagraph): If the cursor is before a space, delete the space.
12939
12940         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12941
12942 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12943
12944         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12945         new argument (code).
12946         (ChangeCitationsIfUnique): New method.
12947
12948         * paragraph.C (GetPositionOfInset): Handle bibkey.
12949
12950 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12951
12952         * BufferView_pimpl.h: change type of Position::par_pos to
12953         LyXParagraph::size_type.
12954
12955 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12956
12957         * BufferView_pimpl.C (savePosition, restorePosition): Write
12958         messages to minibuffer.
12959
12960 2001-01-28  José Matos  <jamatos@fep.up.pt>
12961
12962         * buffer.C (makeDocBookFile): adds support for document language.
12963         A silly restriction on the name of LatexCommand types where removed.
12964         Added support for CDATA sections, allows to chars unescaped, used
12965         among others in code, to avoid escape < and >.
12966
12967 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12968
12969         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12970         saved positions instrad of a stack. Furthermore, a position is
12971         stored using paragraph id/paragraph position.
12972
12973         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12974         Remove LFUN_REF_BACK.
12975
12976 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12977
12978         * converter.C (dvipdfm_options): New method.
12979
12980 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12981
12982         * vspace.C (isValidLength): Fix for empty input string.
12983
12984 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12985
12986         * LyXAction.C (init): change description of LFUN_FIGURE to
12987         "Insert Graphics"
12988
12989 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12990
12991         * LaTeX.C: add using directive
12992
12993 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12994
12995         * MenuBackend.C (expand): Fix the sorting of the formats.
12996
12997 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12998
12999         * lyx_main.C: tiny error message fix
13000
13001 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13002
13003         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13004         calling fl_initialize(). This fixes the problem with ',' as
13005         decimal separator in text files.
13006
13007 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13008
13009         * trans.C (process): Fix the keymap bug.
13010
13011 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13012
13013         * LaTeX.C (scanAuxFiles): New method. Provides support for
13014         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13015         (scanLogFile) Scan for "run BibTeX" messages.
13016
13017         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13018         OT1 font encoding. Also, load the aecompl package if the ae
13019         package is loaded.
13020
13021         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13022
13023 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13024
13025         * texrow.C (increasePos): turn two error messages into debug
13026         messages.
13027
13028 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13029
13030         * LaTeX.C (scanAux): Handle the \@input macro.
13031         (runBibTeX): Use scanAux().
13032
13033         * language.C (latex_options_): New field.
13034
13035         * LaTeXFeatures.C (getMacros): Add language macros.
13036
13037         * buffer.C (makeLaTeXFile): Small fix.
13038
13039 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13040
13041         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13042
13043         * text2.C: add a using directive.
13044
13045 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13046
13047         * BufferView2.C:
13048         * lyx_gui_misc.h:
13049         * lyxfr1.C:
13050         * lyxfunc.C: kill LyXBell.
13051
13052 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13053
13054         * text.C (IsBoundary): Remove the error message
13055
13056         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13057
13058         * lyxrc.C (setDefaults): Correct initialization value for
13059         font_norm_type.
13060
13061 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13062
13063         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13064         gotoError().
13065
13066         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13067         and GotoNextNote().
13068
13069         * src/LyXAction.C: Added reference-next.
13070
13071         * text.C (InsertChar): Use contains instead of strchr.
13072
13073         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13074
13075 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13076
13077         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13078         alignment commands (when needed).
13079
13080         * text.C (InsertChar): Add ':' to number separator chars.