]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Qt compilation fixes.
[lyx.git] / src / ChangeLog
1 2003-10-06  Angus Leeming  <leeming@lyx.org>
2
3         * LColor.h: Add missing #include <string>.
4
5 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6
7         * All most all file in all subdirs: Make <string> be the prefered
8         way of getting to std::string, add using declarations.
9
10 2003-10-06  André Pönitz  <poenitz@gmx.net>
11
12         * metricsinfo.C: initialize LyXFont before changing attribute.
13         (fixes the 'math in \emph is upright' bug)
14
15 2003-10-06  André Pönitz  <poenitz@gmx.net>
16
17         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
18
19 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
20
21         * graph.C:
22         * paragraph_pimpl.C: Small fixes to build using STLport
23
24 2003-10-02  André Pönitz  <poenitz@gmx.net>
25
26         * lyxfunc.C:
27         * text3.C: move handling of LFUN_DEPTH *; fix #1360
28
29 2003-10-01  André Pönitz  <poenitz@gmx.net>
30
31         * factory.C: assert early
32
33 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
34
35         * lyx_main.C: remove the global debug object
36
37         * debug.h: adjust for new debugstream
38
39         * debug.C: adjust for new debugstream and keep the global debug
40         object here.
41
42 2003-09-22  Angus Leeming  <leeming@lyx.org>
43
44         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
45         of g++ which otherwise complain that the scoped_ptr destructor can't delete
46         an incomplete class LyXFont.
47
48 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * factory.C: bug fix in branches
51
52 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
53
54         * lyxfunc.C (processKeySym): adjust
55         (dispatch): adjust
56         (dispatch): change arg name from ev to func, adjust
57         (sendDispatchMessage): ditto
58
59         * lyx_main.C (defaultKeyBindings): adjust keybindings
60         (deadKeyBindings): ditto
61
62         * kbsequence.C (addkey): return a FuncRequest
63
64         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
65
66         * kbmap.C (bind): take a FuncRequest as arg, adjust
67         (read): adjust
68         (lookup): adjust
69         (defkey): change to take a FuncRequest as arg, adjust
70         (findbinding): take a FuncRequest as arg, adjust.
71
72         * funcrequest.h (operator=): added
73
74         * funcrequest.C (FuncRequest): default kb_action changed from
75         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
76
77         * buffer.C (dispatch): simplify
78         (dispatch): adjust to take a FuncRequest as arg, adjust
79
80         * boost.C (assertion_failed): change assertion message slightly
81
82         * ToolbarBackend.C (read): simplify
83
84         * MenuBackend.C (binding): adjust call to findbinding, add a
85         message if no binding is found.
86         (read): simplify
87         (expandToc): correct by adding a empty FuncRequest
88
89         * LyXAction.C: include <boost/assert.hpp>
90         (isPseudoAction): delete function
91         (LookupFunc): change name to...
92         (lookupFunc): this. change return type to FuncRequest.
93         (getActionName): take kb_action as arg, simplify
94         (funcHasFlag): add an assert, simplify.
95
96 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
97
98         * toc.C (action): return a FuncRequest, simplify
99
100         * lyxfunc.C (processKeySym): adjust
101         (getStatus): delete version that takes an int.
102         (getStatus): adjust
103         (dispatch): delete version that takes action as int
104         (dispatch): adjust
105         (sendDispatchMessage): simplify and adjust
106
107         * funcrequest.C (getArg): take unsigned int as arg
108
109         * ToolbarBackend.C (read): adjust
110         (add): delete version that takes func as a string.
111         (getIton): take a FuncRequest as arg
112
113         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
114         action.
115
116         * MenuBackend.C (MenuItem): add a new construct that only takes a
117         Kind, simplify the constructor use for submenus.
118         (add): adjust
119         (expandLastfiles): adjust
120         (expandDocuments): adjust
121         (expandFormats): adjust
122         (expandFloatListInsert): adjust
123         (expandFloatInsert): adjust
124         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
125
126         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
127         Remove class variables lyx_pseudo_map and lyx_arg_map
128
129         * LyXAction.C (searchActionArg): delete function
130         (getPseudoAction): delete function
131         (retrieveActionArg): delete function
132         (LookupFunc): make it return kb_action, simplify.
133         (getActionName): simplify
134
135         * factory.C (createInset): fix new bug
136
137 2003-09-19  Angus Leeming  <leeming@lyx.org>
138
139         * CutAndPaste.C (pasteSelection): remove fudge used to set the
140         masterFilename_ parameter in the include inset.
141
142         * factory.C (createInset): changes due to the changes to InsetInclude.
143
144 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
145
146         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
147
148 2003-09-18  Angus Leeming  <leeming@lyx.org>
149
150         * buffer.C:
151         * BufferView.C: pass the buffer when calling Inset::getLabelList,
152         Inset::fillWithBibKeys.
153         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
154
155 2003-09-18  Angus Leeming  <leeming@lyx.org>
156
157         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
158         variables.
159         (ctor): pass and store a 'Buffer const &'
160         (buffer): new member function.
161
162         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
163         '*this' to the LaTeXFeatures ctor.
164
165 2003-09-18  Angus Leeming  <leeming@lyx.org>
166
167         * LColor.h:
168         * lyxfont.C:
169         * lyxfont.h:
170         * lyxtext.h:
171         * text.C: rename EnumLColor as LColor_color.
172
173 2003-09-18  Angus Leeming  <leeming@lyx.org>
174
175         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
176         remove #include "insets/insetbase.h" from cursor.h.
177
178 2003-09-18  Angus Leeming  <leeming@lyx.org>
179
180         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
181         InsetOld_code to remove #include "inset.h".
182
183         * iterators.C: add #include "insets/inset.h"
184
185 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
186
187         * BufferView.C: remove more locking stuff that apparently doesn't
188         do anything sensible.
189
190 2003-09-16  André Pönitz  <poenitz@gmx.net>
191
192         * paragraph.[Ch]:
193         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
194           performance boost.
195
196 2003-09-16  Angus Leeming  <leeming@lyx.org>
197
198         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
199
200         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
201         arg/return type.
202
203         * paragraph.h: remove #include "lyxfont.h". Forward declare
204         LyXFont_size.
205
206 2003-09-16  Angus Leeming  <leeming@lyx.org>
207
208         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
209         of support/textutils.h.
210         (isWord): move the contents of support/textutils.h's IsWordChar here.
211
212         * buffer.C:
213         * lyxfind.C:
214         * rowpainter.C:
215         * text.C:
216         * text2.C: add #include "paragraph.h".
217
218         * rowpainter.C:
219         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
220
221 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
222
223         * main.C:
224         * lyx_main.C:
225         * lyx_cb.C:
226         * buffer.C:
227         * LaTeX.C: use namespace alias for lyx::support::os
228
229 2003-09-16  Angus Leeming  <leeming@lyx.org>
230
231         * bufferparams.C:
232         * bufferview_funcs.C:
233         * factory.C:
234         * lyxfunc.C:
235         * paragraph_pimpl.C:
236         * rowpainter.C:
237         * text.C: add #include "LColor.h".
238
239 2003-09-16  Angus Leeming  <leeming@lyx.org>
240
241         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
242         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
243         return LyXFont &.
244         Store the FontBits::color variable as an int rather than as an
245         LColor::colorso that we can move LColor.h out of the lyxfont.h header
246         file.
247
248         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
249         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
250         string calls together.
251
252         * lyxrc.C: add #include "LColor.h".
253
254 2003-09-15  Angus Leeming  <leeming@lyx.org>
255
256         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
257         a cow_ptr.
258
259 2003-09-15  Angus Leeming  <leeming@lyx.org>
260
261         * LColor.h: add an EnumLColor wrapper for LColor::color.
262
263         * lyxfont.[Ch] (color, setColor, realColor):
264         * lyxtext.h, text.C (backgroundColor):
265         pass EnumLColor args to/from the functions, rather than LColor::color
266         ones.
267
268         * lyxfont.h:
269         * lyxtext.h: forward declare EnumLColor.
270
271         * lyx_main.C: add #include "LColor.h".
272
273 2003-09-15  Angus Leeming  <leeming@lyx.org>
274
275         * .cvsignore: add lyx-gtk.
276
277 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
278
279         * Chktex.C
280         * LaTeX.C
281         * LaTeXFeatures.C
282         * ParagraphParameters.C
283         * Spacing.C
284         * buffer.C
285         * bufferparams.C
286         * bufferview_funcs.C
287         * chset.C
288         * counters.C
289         * funcrequest.C
290         * lyxfont.C
291         * lyxgluelength.C
292         * lyxlength.C
293         * paragraph.C
294         * paragraph_funcs.C
295         * text3.C
296         * vc-backend.C: remove usage of STRCONV
297
298 2003-09-15  Angus Leeming  <leeming@lyx.org>
299
300         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
301         explicitly define the color passed to the painter.
302
303 2003-09-15  Angus Leeming  <leeming@lyx.org>
304
305         * bufferparams.C (BufferParams): reorder member initializers to avoid
306         compiler warning.
307
308 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
309
310         * CutAndPaste.C (pasteSelection): remove an outdated #warning
311         * text.C (updateRowPositions): remove an unusual nop
312
313 2003-09-12  André Pönitz  <poenitz@gmx.net>
314
315         * BufferView_pimpl.C:
316         * Bullet.C:
317         * layout.h:
318         * lyxfunc.C:
319         * lyxlayout.[Ch]:
320         * lyxtextclass.C:
321         * rowpainter.C:
322         * text.C:
323         * text2.C:
324         * Counters.[Ch]: finish the 'automatic counters' job
325
326 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
327
328         * aspell.C: include <boost/assert.cpp> (compile fix)
329
330 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
331
332         * boost.C (assertion_failed): use lyx::support::abort instead of
333         assert.
334
335 2003-09-10  Angus Leeming  <leeming@lyx.org>
336
337         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
338         with their _fwd progeny.
339
340 2003-09-09  Angus Leeming  <leeming@lyx.org>
341
342         134 files throughtout the source tree: replace 'using namespace abc;'
343         directives with the appropriate 'using abc::xyz;' declarations.
344
345 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
346
347         * boost.C (emergencyCleanup): moved here from LAssert.c
348         (assertion_failed): new function, called by BOOST_ASSERT
349
350         * several files: change Assert to BOOST_ASSERT
351
352 2003-09-09  Angus Leeming  <leeming@lyx.org>
353
354         * buffer.[Ch]: Add an Impl class and move Buffer's member
355         variables into it. As a result move several header files out of
356         buffer.h.
357
358         Add header files to lots of .C files all over the tree as a result.
359
360 2003-09-09  Angus Leeming  <leeming@lyx.org>
361
362         * buffer.[Ch]: make Buffer's member variables private. Add
363         accessor functions.
364
365         Lots of changes all over the tree as a result.
366
367 2003-09-08  Angus Leeming  <leeming@lyx.org>
368
369         * graph.C: #include <config.h>.
370
371 2003-09-08  Angus Leeming  <leeming@lyx.org>
372
373         * BranchList.C:
374         * BufferView.C:
375         * BufferView_pimpl.C:
376         * CutAndPaste.C:
377         * DepTable.C:
378         * LaTeX.C:
379         * LaTeXFeatures.C:
380         * LyXAction.C:
381         * MenuBackend.C:
382         * TextCache.C:
383         * aspell.C:
384         * buffer.C:
385         * bufferlist.C:
386         * changes.C:
387         * chset.C:
388         * converter.C:
389         * counters.C:
390         * debug.C:
391         * graph.C:
392         * ispell.C:
393         * lyx_cb.C:
394         * lyxfind.C:
395         * lyxfunc.C:
396         * lyxlex_pimpl.C:
397         * lyxrc.C:
398         * lyxrow.C:
399         * paragraph.C:
400         * rowpainter.C:
401         * texrow.C:
402         * text.C:
403         * text2.C:
404         * toc.C: remove redundant using directives.
405
406 2003-09-07  Angus Leeming  <leeming@lyx.org>
407
408         * LaTeXFeatures.h: remove #include "support/types.h".
409         * ToolbarBackend.h: remove #include <algorithm>.
410         * changes.h: remove #include <ctime>.
411         * debug.h: remove #include <iosfwd>.
412         * graph.h: remove #include "support/std_string.h".
413         * lyx_main.h: remove #include <csignal>.
414         * lyxlex_pimpl.h: remove #include <fstream>.
415         * sgml.h: remove #include <algorithm>, <utility>.
416         * toc.h: remove #include "support/std_ostream.h".
417         Add #include <iosfwd>.
418
419 2003-09-07  Angus Leeming  <leeming@lyx.org>
420
421         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
422
423         * converter.h: forward declare LatexRunParams.
424         * encoding.h: remove #include "lyxrc.h".
425         * lyxtext.h: remove #include "LColor.h".
426         * lyxtextclass.h: remove #include "support/types.h".
427         * trans.h: remove #include "tex-accent.h".
428         * trans_mgr.h: remove #include "tex-accent.h".
429         * insets/inset.h: remove #include "support/types.h", <vector>.
430         * insets/insetcollapsable.h: remove #include "LColor.h".
431         * insets/insetinclude.h: remove #include "dimension.h".
432         * insets/insetlatexaccent.h: remove #include "dimension.h".
433         * insets/insetoptarg.h:: remove #include "insettext.h".
434         * insets/insettext.h: remove #include "dimension.h",
435         <boost/shared_ptr.hpp>
436
437         * insets/renderers.h: add #include "dimension.h".
438         * insets/updatableinset.h: add #include "support/types.h".
439
440         * many .C files: Associated changes.
441
442 2003-09-06  Angus Leeming  <leeming@lyx.org>
443
444         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
445         one, inside testInvariant.
446
447         * PrinterParams.C: new file.
448         * PrinterParams.[Ch]: move the function bodies out of line.
449
450 2003-09-06  Angus Leeming  <leeming@lyx.org>
451
452         * ParagraphParameters.h: forward declare ParameterStruct rather than
453         including its header file.
454         (depth): moved out-of-line.
455
456 2003-09-06  Angus Leeming  <leeming@lyx.org>
457
458         * BufferView_pimpl.h:
459         * kbmap.h:
460         * kbsequence.h:
461         * lyxfunc.h: forward declare LyXKeySym rather than
462         #include "frontends/LyXKeySym.h".
463
464         * BufferView_pimpl.C:
465         * kbmap.C:
466         * kbsequence.C:
467         * lyxfunc.C: associated changes.
468
469 2003-09-06  Angus Leeming  <leeming@lyx.org>
470
471         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
472         As a result, can remove the #include "insets/inset.h" from BufferView.h
473
474 2003-09-06  Angus Leeming  <leeming@lyx.org>
475
476         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
477         As a result, can remove the #include "insets/inset.h" from BufferView.h
478
479 2003-09-06  Angus Leeming  <leeming@lyx.org>
480
481         * buffer_funcs.C:
482         * buffer.h:
483         * bufferlist.C:
484         * BufferView.C:
485         * bufferview_funcs.C:
486         * BufferView_pimpl.C:
487         * CutAndPaste.C:
488         * lyx_cb.C:
489         * lyxfunc.C:
490         * paragraph.h:
491         * ParagraphParameters.C:
492         * tabular.C:
493         * text3.C:
494         * toc.C:
495         * undo_funcs.C:
496         * frontends/controllers/ControlDocument.C:
497         * insets/insetcaption.C: rearrange the #includes into some sort of
498         coherent order.
499
500         * buffer.h: remove #includes ErrorList.h, undo.h
501
502 2003-09-06  Angus Leeming  <leeming@lyx.org>
503
504         * support/types.h: add a 'depth_type' typedef, used to store the
505         nesting depth of a paragraph.
506
507         * paragraph.h:
508         * ParameterStruct.h: use this lyx::depth_type typedef rather than
509         defining explicitly.
510
511         * buffer.h:
512         * paragraph_funcs.h:
513         * ParagraphParameters.h:
514         * sgml.h: use lyx::depth_type rather than Paragraph or
515         ParameterStruct's depth_type.
516
517         * buffer.h
518         * paragraph_funcs.h: no need to #include paragraph.h anymore.
519
520         * BufferView.C:
521         * BufferView_pimpl.C:
522         * CutAndPaste.C:
523         * ParagraphParameters.C:
524         * buffer_funcs.C:
525         * bufferlist.C:
526         * bufferview_funcs.C:
527         * lyx_cb.C:
528         * lyxfunc.C:
529         * tabular.C:
530         * text3.C:
531         * toc.C:
532         * undo_funcs.C:
533         * frontends/LyXView.C:
534         * frontends/controllers/ControlDocument.C:
535         * frontends/controllers/ControlErrorList.C:
536         * insets/insetbibitem.C:
537         * insets/insetbranch.C:
538         * insets/insetcaption.C:
539         * insets/insetcollapsable.C:
540         * insets/insetenv.C:
541         * insets/insetert.C:
542         * insets/insetfloat.C:
543         * insets/insetfoot.C:
544         * insets/insetfootlike.C:
545         * insets/insetnewline.C:
546         * insets/insetquotes.C:
547         * insets/insettabular.C:
548         * insets/insettext.C:
549         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
550
551         * frontends/controllers/ControlChanges.C: #include "changes.h".
552
553 2003-09-06  Angus Leeming  <leeming@lyx.org>
554
555         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
556         than #including paragraph.h.
557
558         * ParagraphList.h:
559         * RowList.h: deleted. Superfluous.
560
561         * CutAndPaste.h:
562         * iterators.h:
563         * lyxcursor.h:
564         * lyxtext.h:
565         * text_funcs.h:
566         * undo.h:
567         * undo_funcs.h:
568         * insets/inset.h:
569         * insets/insettext.h: use ParagraphList_fwd.h rather than
570         ParagraphList.h.
571
572         * paragraph.h: don't forward declare ParagraphList.
573
574         * buffer.h:
575         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
576         rather than ParagraphList.h. paragraph.h is still needed for the
577         Paragraph::depth_type parameters.
578
579         * textcursor.h: enable it to compile stand-alone in light of the
580         above changes.
581
582         * bufferview_funcs.C:
583         * iterators.C:
584         * lyxfunc.C:
585         * lyxrow_funcs.C:
586         * paragraph.C:
587         * rowpainter.C:
588         * text.C:
589         * text2.C:
590         * text3.C:
591         * text_funcs.C:
592         * textcursor.C:
593         * undo.C:
594         * frontends/controllers/ControlParagraph.C:
595         * frontends/controllers/ControlTabular.C:
596         * insets/insetmarginal.C:
597         * insets/insetminipage.C:
598         * insets/insetnote.C:
599         * insets/insetoptarg.C: add header files needed to compile again.
600
601 2003-09-06  Angus Leeming  <leeming@lyx.org>
602
603         * RowList_fwd.h: new file, forward-declaring Row rather than
604         #including lyxrow.h.
605
606         * lyxrow_funcs.h:
607         * lyxtext.h:
608         * paragraph.h:
609         * insets/insettext.h: use it instead of RowList.h
610
611         * bufferview_funcs.C:
612         * lyxfunc.C:
613         * lyxrow_funcs.C:
614         * paragraph.C:
615         * rowpainter.C:
616         * text.C:
617         * text2.C:
618         * text3.C: #include "RowList.h".
619
620 2003-09-05  Angus Leeming  <leeming@lyx.org>
621
622         * factory.C (createInset):
623         * vspace.C (c-tor): replace sscanf call with an istringstream.
624         * ispell.C: re-add missing HP/UX headers.
625         * lyxserver.C: re-add missing  os2 headers.
626
627 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
628
629         * BranchList.C:
630         * graph.C:
631         * ispell.C:
632         * lastfiles.C:
633         * lyx_cb.C:
634         * lyxserver.C:
635         * texrow.C:
636         * text3.C: re-add missing system headers, needed for 2.95.2.
637
638 2003-09-05  Angus Leeming  <leeming@lyx.org>
639
640         Changes most place everywhere due to the removal of using directives
641         from support/std_sstream.h.
642
643 2003-09-05  Angus Leeming  <leeming@lyx.org>
644
645         Replace LString.h with support/std_string.h,
646         Lsstream.h with support/std_sstream.h,
647         support/LIstream.h with support/std_istream.h,
648         support/LOstream.h with support/std_ostream.h.
649
650         Changes resulting throughout the tree.
651
652 2003-09-05  Angus Leeming  <leeming@lyx.org>
653
654         * sgml.h: ensure that the header file can be compiled stand-alone.
655         * *.C: strip out redundant #includes. (320 in total.)
656
657 2003-09-04  Angus Leeming  <leeming@lyx.org>
658
659         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
660         here (from getPackages).
661
662         * debug.[Ch]: add a new EXTERNAL tag.
663
664 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
665
666         * text2.C (cursorEnd): simplify
667         (setCursor): adjust
668         (getColumnNearX): adjust
669
670         * text.C (computeBidiTables): adjust
671         (fill): adjust
672
673         * rowpainter.C (paintChars): adjust
674         (paintSelection): adjust
675         (paintChangeBar): adjust
676         (paintText): adjust
677
678         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
679         lastPos instead.
680         (numberOfSeparators): adjust
681
682 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
683
684         * LyXAction.C:
685         * box.[Ch]:
686         * lfuns.h:
687         * lyxfunc.C:
688         * text3.C: Restricts the mouse click functionality
689         of insets like bibtex, include, toc and floatlist to the visible
690         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
691         up the dialogs. Cursor has to be in front of the inset (i.e.
692         start of row) for this to function.
693
694 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
695
696         * bufferview_funcs.C (currentState): output row information
697
698 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
699
700         * bufferview_funcs.C (currentState): output paragraph position
701
702 2003-09-04  Angus Leeming  <leeming@lyx.org>
703
704         * FloatList.h: move out #include "Floating.h".
705         * LaTeX.h: move out #include "DepTable.h".
706         * LyXAction.h: move out #include "funcrequest.h".
707         * buffer.h: move out #include "author.h", "iterators.h".
708         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
709         * lyx_main.h: move out #include "errorlist.h".
710         * lyxfunc.h: move out #include "FuncStatus.h".
711         * lyxtext: move out #include "lyxcursor.h".
712         * paragraph_pimpl.h: move out #include "counters.h".
713
714 2003-09-03  Angus Leeming  <leeming@lyx.org>
715
716         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
717         preamble_snippets list, enabling us to add snippets to the preamble
718         only if the snippet was not there already.
719
720 2003-09-04  Angus Leeming  <leeming@lyx.org>
721
722         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
723
724 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
725
726         * lyxfunc.C (dispatch): if fitCursor did something be sure to
727         update
728
729 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
730
731         * BranchList.C: point fix, earlier forgotten
732
733 2003-09-02  Angus Leeming  <leeming@lyx.org>
734
735         * box.C (contains): renamed from 'contained' after a fantastic
736         amount of hot air.
737
738 2003-09-02  John Levon  <levon@movementarian.org>
739
740         * BufferView.C:
741         * lyxcursor.h:
742         * lyxcursor.C:
743         * lyxfunc.C:
744         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
745
746 2003-09-02  John Levon  <levon@movementarian.org>
747
748         * text2.C: simplification of cursorEnd(), including partial
749         fix for bug 1376
750
751 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
752
753         * buffer.C (readFile): add a space
754
755 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
756
757         * BufferView_pimpl.C (update): remove bogus fitCursor() call
758
759 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
760
761         * buffer.C (readFile): new function, take a filename and a
762         ParagraphList::iterator
763         (readFile): adjust
764         (readFile): adjust, make it private. don't use setStream, make
765         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
766         always contain the filename.
767
768         * BufferView.C (insertLyXFile): simplify and make it work for
769         gzipped files.
770
771 2003-08-30  John Levon  <levon@movementarian.org>
772
773         * Makefile.am: fix dist (from Kayvan)
774
775 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
776
777         * most files: change to use const Buffer refs
778
779 2003-08-27  André Pönitz  <poenitz@gmx.net>
780
781         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
782         on top of ownerPar().
783
784 2003-08-27  John Levon  <levon@movementarian.org>
785
786         * funcrequest.C: properly initialise POD members
787
788 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
789
790         * lyxtext.h (top_y): move top_y from here
791         * text.C:
792         * text2.C:
793         * text3.C:
794         * BufferView.[Ch]:
795         * BufferView_pimpl.[Ch]: to here
796         * frontends/screen.C:
797         * insets/insettabular.C:
798         * insets/insettext.C: adjust
799         * rowpainter.[Ch] (paintRows): remove LyXText & argument
800
801 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
802
803         * BufferView.[Ch]:
804         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
805
806 2003-08-26  André Pönitz  <poenitz@gmx.net>
807
808         * paragraph_func.[Ch] (outerPar): new function
809
810         * paragraph.C:
811         * paragraph_funcs.C:
812         * paragraph_funcs.h:
813         * paragraph_pimpl.C:
814         * text2.C: remove Inset::par_owner
815
816 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
817
818         * lyxrow_funcs.C:
819         * lyxtext.h:
820         * text.C:
821         * text2.C: eliminates the needFullRow/display() stuff
822         altogether, putting the logic in metrics/draw in the insets.
823
824 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
825
826         * text2.C (redoParagraphInternal, redoParagraphs):
827         * text.C (redoParagraph): add a call to updateRowPositions at the
828         end of each 'metrics-like' call. Remove all others.
829         (getRow): remove the 'y-computing' version.
830         (getRowNearY): do not compute nor return the real y. Solve the
831         'y < 0' problem and simplify.
832
833 2003-08-22  Angus Leeming  <leeming@lyx.org>
834
835         * *.[Ch]: clean-up of licence and author blurbs.
836         Also move config.h out of a few .h files and into a few .C files.
837
838 2003-08-22  André Pönitz  <poenitz@gmx.net>
839
840         * lyxrow.[Ch]: add x_ and *fill_ members
841
842         * lyxtext.h:
843         * text.C:
844         * rowpainter.C:
845         * text2.C: adjust/remove prepareToPrint() calls
846
847 2003-08-22  André Pönitz  <poenitz@gmx.net>
848
849         * lyxrow.[Ch]: add  end_ member
850
851         * lyxrow_funcs.C: use LyXRow::end_
852
853         * lyxtext.h (singleWidth): add LyXFont parameter
854
855         * rowpainter.C:
856         * text2.C: adjust LyXText::singleWidth() calls
857
858         * text.C (redoParagraph): simplify row breaking logic
859
860
861 2003-08-19  André Pönitz  <poenitz@gmx.net>
862
863         * funcrequest.C: initialize button_ member
864
865         * text3.C:
866         * rowpainter.[Ch]: interface consolidation
867
868 2003-08-18  André Pönitz  <poenitz@gmx.net>
869
870         * BufferView.C:
871         * BufferView_pimpl.C:
872         * lyxfind.C:
873         * paragraph_funcs.C:
874         * rowpainter.C:
875         * text3.C: remove LyXScreen::draw() and fitCursor calls
876
877         * BranchList.h: remove spurious semicolons
878
879         * MenuBackend.C: fix branchlist related crash
880
881 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
882
883         * BranchList.[Ch]:
884         * InsetList.[Ch]:
885         * LColor.[Ch]:
886         * LyXAction.C:
887         * Makefile.am:
888         * MenuBackend.[Ch]:
889         * bufferparams.[Ch]:
890         * factory.C:
891         * lfuns.h:
892         * lyxfunc.C:
893         * text3.C: implements the 'branch inset'
894         idea. This allows the output of various versions of a document
895         from a single source version, selectively outputing or suppressing
896         output of parts of the text.
897         This implementation contains a 'branch list editor' in a separate
898         tab of the document settings dialog. Branches are user definable
899         and have a "display colour" to distinguish them on-screen.
900
901         ColorHandler was somewhat cleaned up.
902         (1) make possible a dynamically growing LColor list by allowing
903         the graphic context cache to grow along (vector);
904         (2) eliminate an IMHO unnecessary step in colour allocation.
905
906 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
907
908         * BufferView_pimpl.C: compile fix
909
910 2003-08-15  André Pönitz  <poenitz@gmx.net>
911
912         * rowpainter.C: remove extra metrics calls
913
914         * lyxtext.h: merge the two constructors into a single one,
915           pass reference to owner's par list
916
917         * BufferView_pimpl.C:
918         * text.C:
919         * text2.C: adjust
920
921 2003-08-15  André Pönitz  <poenitz@gmx.net>
922
923         * lyxrow_funcs.[Ch]:
924         * lyxtext.h:
925         * paragraph.h:
926         * paragraph_funcs.C:
927         * rowpainter.C:
928         * text.C:
929         * text2.C:
930         * text3.C:
931         * text_funcs.C: split LyXText::rowlist_ into individual
932         Paragraph::rows_ chunks
933
934         * BufferView.[Ch]:
935         * BufferView_pimpl.[Ch]:
936         * lyxfind.C:
937         * lyxtext.h:
938         * text3.C: remove toggleSelection()
939
940 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
941
942         * bufferlist.C: beautify two alerts (shorter text of buttons)
943         * buffer.C: Remove redundant ' ' from message
944         * tabular.h:
945         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
946         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
947         rename VALIGN_CENTER to VALIGN_MIDDLE
948
949 2003-08-11  André Pönitz  <poenitz@gmx.net>
950
951         * lyxtext.h (getPar):
952         * text.C: new function
953
954 2003-08-11  André Pönitz  <poenitz@gmx.net>
955
956         * Makefile.am:
957         * tracer.[Ch]: remove unneeded files
958
959         * InsetList.[Ch]: remove resizeInsetsLyXText()
960
961         * lyxtext.h:
962         * text.C:
963         * text2.C:
964         * text3.C: merge insertParagraphs() and appendParagraph()
965         remove breakAgain(), update()
966
967         * BufferView_pimpl.[Ch]:
968         * bufferview_funcs.[Ch]:
969         * lyxfunc.C:
970         * paragraph.[Ch]:
971         * rowpainter.C:
972         * tabular.C: adjust after text & InsetList changes.
973
974 2003-08-08  André Pönitz  <poenitz@gmx.net>
975
976         * text.C (insertChar, backspace): replace rowlist fiddling
977         with rebreak of full par
978
979         * lyxtext.h:
980         * text.C (breakAgainOneRow, redoHeightOfParagraph,
981         checkParagraph, updateInset): removed
982
983 2003-08-07  André Pönitz  <poenitz@gmx.net>
984
985         * paragraph.C:
986         * text3.C: merge some LFUN handlers, remove dead code
987
988 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
989
990         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
991
992 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
993
994         * text2.C (DEPM): fix part of bug 1255 and 1256
995
996 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
997
998         * BufferView_pimpl.C (workAreaDispatch): change to use
999         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1000         that are no mouse related.
1001
1002 2003-08-05  André Pönitz  <poenitz@gmx.net>
1003
1004         * BufferView.[Ch]:
1005         * BufferView_pimpl.[Ch]:
1006         * bufferview_funcs.C:
1007         * text2.C:
1008         * text3.C: rip out "deep update"
1009
1010         * textcursor.[Ch] (last_sel_cursor): remove unused member
1011
1012 2003-08-04  André Pönitz  <poenitz@gmx.net>
1013
1014         * BufferView.[Ch]:
1015         * BufferView_pimpl.[Ch]:
1016         * ParagraphParameters.C:
1017         * bufferview_funcs.C:
1018         * lyx_cb.C:
1019         * lyxfind.C:
1020         * lyxfunc.C:
1021         * text.C:
1022         * text2.C:
1023         * text3.C: replace "complicated" BufferView::update(...) calls with
1024         simpler ones.
1025
1026         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1027
1028 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1029
1030         * Makefile.am (lyx_SOURCES): add paper.h
1031
1032 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1033
1034         * Makefile.am: move things around so that both lyx-qt and
1035         lyx-xforms can be built (according to --with-frontend). Then lyx
1036         is a symbolic link to lyx-[firstfrontend]
1037
1038 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1039
1040         * Always use std::endl with lyxerr
1041
1042 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1043
1044         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1045
1046 2003-08-01  André Pönitz  <poenitz@gmx.net>
1047
1048         * BufferView.[Ch]:
1049         * BufferView_pimpl.[Ch]:
1050         * lyxfunc.C:
1051         * text3.C: merge BufferView::repaint() and BufferView::update()
1052
1053 2003-08-01  José Matos  <jamatos@lyx.org>
1054
1055         * buffer.[Ch]: file_format is no longer a buffer data element.
1056
1057 2003-08-01  André Pönitz  <poenitz@gmx.net>
1058
1059         * BufferView.C:
1060         * lyxtext.h:
1061         * text.C:
1062         * text2.C: make redoParagraph more independent of current cursor
1063
1064         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1065         * text.C:
1066         * text2.C: remove unneeded members
1067
1068 2003-07-30  André Pönitz  <poenitz@gmx.net>
1069
1070         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1071
1072         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1073           create a single function...
1074
1075         * paragraph_funcs.C (moveItem): ... here.
1076
1077         * text.C:
1078           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1079
1080 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1081
1082         * LColor.[Ch]: Add comment and greyedout logical colors.
1083
1084 2003-07-30  André Pönitz  <poenitz@gmx.net>
1085
1086         * tabular.C: don't use Assert too heavily. This crashes where it
1087           shouldn't
1088
1089 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1090
1091         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1092         is disabled (bug 1232)
1093
1094 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1095
1096         * factory.C: limited 'arg' scope
1097
1098 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1099
1100         * factory.C: fixed Note submenu issues
1101
1102 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1103
1104         * factory.C: submenu for Note/Comment/Greyedout
1105
1106 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1107
1108         * lyx_main.C (LyX):
1109         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1110
1111 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1112
1113         * LaTeXFeatures.C:
1114         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1115         greyedout. Patch provided by Jürgen Spitzmüller.
1116
1117 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1118
1119         * kbmap.C (read): fix error message when reading bind files
1120
1121 2003-07-29  Angus Leeming  <leeming@lyx.org>
1122
1123         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1124         certainly does not do what it purports to do. I am doing it, and
1125         us, a favour by killing it.
1126
1127 2003-07-28  José Matos  <jamatos@lyx.org>
1128
1129         * buffer.C (readBody, do_writeFile):
1130         * paragraph.C(readParagraph): \end_document replaces \the_end.
1131
1132 2003-07-29  André Pönitz  <poenitz@gmx.net>
1133
1134         * BufferView.[Ch]:
1135         * BufferView_pimpl.[Ch]:
1136         * lyxfunc.C:
1137         * text2.C:
1138         * text3.C:
1139         * textcursor.[Ch]: remove toggleToggle & Co
1140
1141 2003-07-28  José Matos  <jamatos@fep.up.pt>
1142
1143         * buffer.C (readParagraph):
1144         * params_func (readParToken, readParagraph):
1145         * paragraph.C (write): \layout -> \begin_layout.
1146
1147 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1148
1149         * lyxlex_pimpl.C (setFile): clean up slightly.
1150
1151         * bufferparams.h: add compressed var
1152
1153         * buffer_funcs.C (readFile): adjust for LyXLex change
1154         (newFile): ditto + simplify
1155
1156         * buffer.C (writeFile): handle writing of compressed files
1157
1158         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1159         Check if the file is compressed and set a bufferparm if so.
1160
1161         * Makefile.am (lyx_LDADD): remove explicit -lz
1162
1163 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1164
1165         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1166         makeDocBookFile): put the real LyX version in the first line of
1167         the file
1168
1169         * version.h:
1170         * version.C.in: remove lyx_docversion
1171
1172         * tabular.C (write_attribute): add a template-based version to
1173         write enums properly
1174
1175 2003-07-28  André Pönitz  <poenitz@gmx.net>
1176
1177         * lyxtext.h:
1178         * text.C:
1179         * text2.C:
1180         * text3.C: use doubles again for x-coordinates. They are needed.
1181
1182 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1183
1184         * messages.C (getLocaleDir): use lyx_localedir()
1185
1186         * lyxlex_pimpl.C (setFile): compress stuff
1187
1188         * buffer.C (writeFile): add some compression stuff
1189         (do_writeFile): new func, dont call expliti close... will this
1190         breake anything?
1191
1192         * Makefile.am (lyx_LDADD): add -lz
1193
1194 2003-07-28  José Matos  <jamatos@fep.up.pt>
1195
1196         * buffer.C: increment file format.
1197         * paragraph_funcs (readParagraph, readParToken):
1198         * paragraph.C (readParagraph): add \end_layout.
1199
1200 2003-07-27  Angus Leeming  <leeming@lyx.org>
1201
1202         * Makefile.am: remove special casing for configure-time setting of
1203         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1204
1205         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1206         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1207
1208 2003-07-26  André Pönitz  <poenitz@gmx.net>
1209
1210         * paragraph_func.[Ch]:
1211         * paragraph.C (realizeFont): inline it whereever it is used
1212
1213         * rowpainter.C:
1214         * text.C:
1215         * text2.C:
1216         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1217
1218
1219 2003-07-26  André Pönitz  <poenitz@gmx.net>
1220
1221         *       lyxtext.h:
1222         * text.C:
1223         * text2.C: get rid of LyXText::need_break_row
1224
1225 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1226
1227         * toc.[Ch]: put namespace toc inside namespace lyx
1228
1229         * MenuBackend.C (expandToc2): adjust for lyx::toc
1230         (expandToc): ditto
1231
1232         * lyxfunc.C (dispatch): adjust for lyx::find
1233
1234         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1235         lyx::find instead. Reorganize a bit.
1236         (LyXReplace): rename to replace
1237         (LyXFind): rename to find
1238
1239         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1240         (dispatch): ditto
1241
1242 2003-07-26  André Pönitz  <poenitz@gmx.net>
1243
1244         * text.C (setHeightOfRow): restrict scope of temporary variable
1245
1246         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1247           code (never has been used?)
1248
1249 2003-07-27  Asger Alstrup  <alstrup@local>
1250
1251         * text.C (fill): Optimise algorithm to exploit that we can reuse
1252         the LyXFont for many characters.
1253         (setHeightOfRow): Same thing.
1254         (rowBreakPoint): Same thing.
1255
1256 2003-07-26  Asger Alstrup  <alstrup@local>
1257
1258         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1259
1260         * text.C (singleWidth): Spurious font copying in hot-spot
1261         singleWidth avoided. Reorder tests for arabic for efficiency.
1262
1263         * text.C (fill): handle empty paragraphs better.
1264
1265 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1266
1267         * ispell.C:
1268         * encoding.h: add includes
1269
1270         * lyxrc.C: remove reading of bind files
1271
1272         * lyx_main.C (init): setup bindings and menus only if we have a
1273         gui.
1274
1275         * kbmap.C (read): new method. Do the actual reading of bind
1276         files.
1277
1278         * converter.C (dvipdfm_options):
1279         * bufferparams.C:
1280         * lyxrc.C (read):
1281         (output): adapt PAPER_* enums.
1282
1283         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1284
1285         * bufferparams.h: remove paper-related enums from there
1286
1287         * paper.h: New file. A trivial header file to hold paper-related
1288         enums. It should later expand to contain many paper-related
1289         horrors access.
1290
1291         * lyxrc.C: declare extern displayTranslator
1292
1293 2003-07-27  José Matos  <jamatos@fep.up.pt>
1294
1295         * tabular.[Ch] (linuxdoc): add support for tables and figures
1296         (linuxdoc).
1297
1298 2003-07-27  José Matos  <jamatos@fep.up.pt>
1299
1300         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1301         consistency in both functions.
1302         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1303
1304 2003-07-26  Asger Alstrup  <alstrup@local>
1305
1306         * rowpainter.C (paintRows): Change algorithm to work directly on
1307         the insets rather than asking every character in the document
1308         whether its an inset.
1309
1310 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1311
1312         * buffer.C (openFileWrite): factorize some code
1313
1314 2003-07-26  Angus Leeming  <leeming@lyx.org>
1315
1316         * lyx_cb.C:
1317         * lyx_main.[Ch]: replace occurances of system_tempdir with
1318         os::getTmpDir().
1319
1320 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1321
1322         * rename Inset to InsetOld
1323
1324 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1325
1326         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1327         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1328         which I think is a bit clearer. EDIT is gone, since it was
1329         premature optimisation, and broken for mathed anyway.
1330         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1331         with cursor positioning in insets as well (math insets still do not
1332         work, but that's a different story anyway.) It mysteriously
1333         crashes sometimes with undo in the first paragraph, but I'm fairly
1334         confident that this is a compiler bug.
1335
1336 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1337
1338         * paragraph.C (Paragraph): adjust for new clone return type
1339         (operator==): ditto
1340         (copyIntoMinibuffer): ditto
1341
1342 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1343
1344         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1345         by not having a special case, and always doing a full rebreak of
1346         the document after undo.
1347
1348 2003-07-23  Angus Leeming  <leeming@lyx.org>
1349
1350         * factory.C (createInset): InsetExternal::setParams now takes a
1351         Buffer const * arg.
1352
1353 2003-07-23  Angus Leeming  <leeming@lyx.org>
1354
1355         * factory.C (createInset): changed interface to the external and
1356         graphics mailers' string2params functions.
1357
1358 2003-07-23  Angus Leeming  <leeming@lyx.org>
1359
1360         * factory.C (createInset): pass a
1361         Buffer const * parameter to InsetExternalMailer's string2params.
1362
1363 2003-07-22  John Levon  <levon@movementarian.org>
1364
1365         * Thesaurus.h: include the right aiksaurus header
1366
1367 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1368
1369         * MenuBackend.C (expand): check menu shortcuts unconditionally
1370
1371 2003-07-21  Angus Leeming  <leeming@lyx.org>
1372
1373         * factory.C (createInset): pass a
1374         buffer_path parameter to InsetGraphicsMailer's string2params.
1375
1376 2003-07-21  Angus Leeming  <leeming@lyx.org>
1377
1378         * BufferView_pimpl.C (buffer):
1379         * buffer.C (d-tor):
1380         * lyx_main.C (LyX):
1381         * lyxfunc.C (dispatch):
1382         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1383         rather than the grfx shortcut.
1384
1385 2003-07-21  André Pönitz  <poenitz@gmx.net>
1386
1387         * rowpainter.C: remove unused variables
1388
1389         * tabular_funcs.C:
1390         * tabular_funcs.h: move to tabular.C
1391         * Makefile.am: adjust
1392
1393         * tabular.[Ch]: basic optical cleaning
1394
1395         * author.h: pass references, not values
1396
1397 2003-07-18  André Pönitz  <poenitz@gmx.net>
1398
1399         * lyxtext.h:
1400         * metricsinfo.C:
1401         * metricsinfo.h:
1402         * rowpainter.C:
1403         * text.C:
1404         * text2.C:
1405         * text3.C: two-phase drawing for InsetText and InsetTabular
1406         some float -> int changes.
1407
1408 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1409
1410         * lyx_main.C: fix the fix
1411
1412 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1413
1414         * lyx_main.C: fix a crash in batch mode if no files specified
1415         * converter.C: ws
1416
1417 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1418
1419         * format.[Ch] (papersize): moved to BufferParams
1420         * converter.[Ch] (dvips_options): moved to BufferParams
1421         (dvipdfm_options): moved to anon namespace
1422         * bufferparams.[Ch]: added above functions.
1423
1424 2003-07-17  André Pönitz  <poenitz@gmx.net>
1425
1426         * lyxtext.h:
1427         * rowpainter.C:
1428         * text2.C: don't call inset->update() anymore
1429
1430         * metricsinfo.[Ch]: add convenience constructor
1431
1432 2003-07-16  André Pönitz  <poenitz@gmx.net>
1433
1434         * lyxcursor.[Ch]:
1435         * lyxfunc.[Ch]:
1436         * text.C:
1437         * text2.C: replace the LyXCursor::irow_ member with
1438          on-demand computation of the value
1439
1440 2003-07-16  John Levon  <levon@movementarian.org>
1441
1442         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1443
1444 2003-07-15  André Pönitz  <poenitz@gmx.net>
1445
1446         * text.C:
1447         * text2.C: remove no more needed refresh_row
1448
1449 2003-07-15  André Pönitz  <poenitz@gmx.net>
1450
1451         * lyxtext.h:
1452         * rowpainter.C:
1453         * text2.C:
1454         * text3.C: refresh_status tristate -> need_update bool
1455
1456 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1457
1458         * lyxtext.h (init): remove reinit argument (act as if always true)
1459         * text2.C: adjust to that
1460
1461 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1462
1463         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1464         * text3.C: use it to delete selections in some cases
1465         (bugs 441, 673, 702, 954).
1466
1467 2003-07-14  André Pönitz  <poenitz@gmx.net>
1468
1469         * rowpainter.[Ch]: reduce interface
1470
1471 2003-07-14  André Pönitz  <poenitz@gmx.net>
1472
1473         * BufferView_pimpl.C:
1474         * text2.C: adjust after removing unused BufferView * argument
1475
1476 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1477
1478         * text2.C (init): fix a crash fired on resize
1479
1480 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1481
1482         * buffer.[Ch]: added new closing signal
1483         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1484         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1485         BufferView::Pimpl via the closing the signal
1486
1487 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1488
1489         * buffer.[Ch]: take out all bv-related from buffer
1490         * BufferView.C:
1491         * BufferView_pimpl.[Ch]: connect to new signals
1492         * CutAndPaste.C: removed useless asserts
1493         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1494         * lyxvc.[Ch]:
1495         * vc-backend.[Ch]:
1496         * lyxfunc.C: moved view-related funciontality from vc here
1497         * paragraph.C: removed outdated comments
1498         * text.C: ws
1499
1500 2003-07-10  André Pönitz  <poenitz@gmx.net>
1501
1502         * BufferView_pimpl.C:
1503         * tabular.h:
1504         * tabular_funcs.C:
1505         * text.C:
1506         * text2.C: remove InsetText::InnerCache, clean up consequences
1507
1508 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1509
1510         * ispell.C: fix two typos in error messages
1511
1512 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1513
1514         * Extend Note inset to other forms of annotation like Comment
1515         and Greyedout. Right button click gives dialog.
1516
1517         Files modified or added (+):
1518
1519         * insetnote.[Ch]
1520         * FormNote.[Ch]      +
1521         * ControlNote.[Ch]   +
1522         * form_note.fd       +
1523         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1524         frontends/controllers
1525         * xforms/Dialogs.C
1526         * factory.C
1527
1528 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1529
1530         * aspell.C: add missing namespace lyx::support
1531
1532 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1533
1534         * BufferView.[Ch] (newFile): Add
1535         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1536         * LaTeX.[Ch] (message): added this signal and use it
1537         * buffer.[Ch] (busy, message): added these signals and use them
1538         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1539         * converter.C:
1540         * exporter.C:
1541         * format.C:
1542         * importer.C: use buffer signals instead of direct bv calling
1543         * lyx_cb.[Ch] (ShowMessage): removed
1544         * lyx_main.C:
1545         * lyxfunc.C:
1546         * paragraph_funcs.C:
1547         * text2.C: use buffer signals
1548
1549 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1550
1551         * introduce namespace lyx::graphics
1552
1553 2003-07-02  André Pönitz  <poenitz@gmx.net>
1554
1555         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1556
1557 2003-07-01  André Pönitz  <poenitz@gmx.net>
1558
1559         * text.C:
1560         * text2.C:
1561         * text3.C:
1562         * text_funcs.[Ch]:
1563         * textcursor.h:
1564         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1565           text*.C to text_func.C
1566
1567 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1568
1569         * introduce namespace lyx::support
1570
1571 2003-06-30  André Pönitz  <poenitz@gmx.net>
1572
1573         * Chktex.C:
1574         * funcrequest.C:
1575         * lyxtext.h:
1576         * text.C: re-enable --with-included-string
1577
1578 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1579
1580         * textcursor.C: add <config.h>
1581
1582         * text.C (getWord): remove const from word_location arg
1583
1584         * lyxvc.C (getLogFile): fix const type order
1585
1586         * lyxtext.h: remove const from word_location arg, add arg name
1587
1588         * lyxlayout.h: currect type on labeltype.
1589
1590         * importer.C: correct \file
1591
1592         * converter.C (intToFormat): use std:: on ret val, ws changes
1593
1594         * bufferlist.h: correct \file
1595
1596         * buffer.C (makeLinuxDocFile): fix const type order
1597         (makeDocBookFile): ditto
1598         (fillWithBibKeys): use std:: on stdlib args.
1599
1600         * CutAndPaste.C: fix authors.
1601         (availableSelections): use std:: on return vector
1602
1603 2003-06-27  André Pönitz  <poenitz@gmx.net>
1604
1605         * BufferView_pimpl.C:
1606         * bufferview_funcs.C:
1607         * lyxcursor.C:
1608         * lyxcursor.h:
1609         * lyxfunc.C:
1610         * lyxtext.h:
1611         * rowpainter.C:
1612         * text.C:
1613         * text2.C:
1614         * text3.C: remove LyXCursor::row_ member
1615
1616         * lyxtext.h:
1617         * text.C: rename fullRebreak() to partialRebreak() and implement
1618           a fullRebreak() that really bereks fully
1619
1620         * textcursor.h: new struct for cursor-related data
1621
1622 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1623
1624         * lyx_main.C (LyX): get full path of document loaded on the
1625         command line
1626
1627 2003-06-26  André Pönitz  <poenitz@gmx.net>
1628
1629         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1630           remove unused/broken operator>,<,>=.
1631
1632         *       text.C: remove only use of broken operator<= in an Assert().
1633
1634 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1635
1636         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1637         moved errorlist_.clear to showErrorList
1638
1639 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1640
1641         * converter.C (scanLog, runLaTeX):
1642         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1643         move the bv->showErrorList call to the callers
1644         * lyxfunc.C: i.e. here...
1645         * text2.C: and here
1646         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1647         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1648         namespace, the second to...
1649         * buffer_funcs (BufferFormat, parseErrors): added
1650         * errorlist.C (ErrorList(TeXErrors const &)): removed
1651
1652 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1653
1654         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1655
1656 2003-06-24  "Garst R. Reese" <reese@isn.net>
1657
1658         * debug.C: fix typo
1659
1660 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1661
1662         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1663
1664         * version.C.in: change docversion to 1.4
1665
1666 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1667
1668         * buffer.C: fix a bug just introduced
1669
1670 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1671
1672         * buffer.[Ch]: added the parseError signal and use it, removed
1673         sgmlError
1674         * BufferView.[Ch] (addError): moved to ...
1675         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1676         to the Buffer::parseError signal to catch (guess what) parse errors
1677         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1678
1679 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1680
1681         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1682         ability to create a buffer and to return an existing one from
1683         the list. Moved these functions to...
1684         * buffer_funcs.[Ch]: added
1685         * BufferView.[Ch] (loadLyXFile): added
1686         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1687         job removed from bufferlist::loadLyXFile.
1688         * buffer.C (setReadOnly): make it work without view
1689         (i.e added an if (users))
1690
1691 2003-06-19  Angus Leeming  <leeming@lyx.org>
1692
1693         * lfuns.h:
1694         * LyXAction.C (init):
1695         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1696         with LFUN_DIALOG_SHOW <name> <data>.
1697
1698 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1699
1700         * CutAndPaste.C (availableSelections): small compilation fix for
1701         ancient (gcc 2.9x) compilers
1702
1703 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1704
1705         * text3.C (cursorNext): add tmp var
1706
1707         * text2.C (updateCounters): for function calling out of for clause
1708         (replaceSelectionWithString): ditto
1709         (insertStringAsParagraphs): ditto
1710         (getColumnNearX): add tmp var
1711         (setCursorFromCoordinates): add tmp var
1712         (cursorDownParagraph): add tmp var
1713         (deleteEmptyParagraphMechanism): add tmp var
1714
1715         * text.C (insertChar): add tmp var
1716
1717         * rowpainter.C (paintDepthBar): add tmp var
1718
1719         * CutAndPaste.C (availableSelections): potentially check all
1720         paragraphs in a cut to fill the shown strings.
1721
1722 2003-06-18  André Pönitz  <poenitz@gmx.net>
1723
1724         * kbmap.[Ch]: use vector<> instead of list<>
1725
1726 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1727
1728         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1729         pasteSelection with index
1730
1731         * text2.C (pasteSelection): modify, call pasteSelection with index
1732
1733         * paragraph.C (asString): reimplement version with no interval to
1734         call the one with interval.
1735
1736         * lyxtext.h: add index arg to pasteSelection
1737
1738         * MenuBackend.C (MenuItem): handle PasteRecent
1739         (Menu::read::Menutags): add md_pasterecent
1740         (read): handle it
1741         (expandPasteRecent): new function
1742         (expand): use it
1743
1744         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1745
1746         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1747         the limited stack
1748         (availableSelections): new function
1749
1750 2003-06-17  Angus Leeming  <leeming@lyx.org>
1751
1752         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1753
1754 2003-06-17  Angus Leeming  <leeming@lyx.org>
1755
1756         * lfuns.h:
1757         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1758
1759         * lyxfunc.C (dispatch): invoke it.
1760
1761 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1762
1763         * iterators.C (operator++, ParPosition): reintroduce some
1764         const_cast for the benefit of older compilers.
1765
1766 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1767
1768         * text3.C (dispatch): do not modify clipboard when doing
1769         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1770         LFUN_DELETE_SKIP on a selection selection
1771
1772 2003-06-16  André Pönitz  <poenitz@gmx.net>
1773
1774         * BufferView.C:
1775         * buffer.C:
1776         * buffer.h:
1777         * paragraph.C:
1778         * tabular.[Ch]: IU of clone() and getLabelList();
1779
1780 2003-06-13  André Pönitz  <poenitz@gmx.net>
1781
1782         * tabular.h: compactification
1783
1784 2003-06-12  André Pönitz  <poenitz@gmx.net>
1785
1786         * tabular.C:
1787         * tabular.h:
1788         * tabular_funcs.h: some renaming plus whitespace
1789
1790 2003-06-12  André Pönitz  <poenitz@gmx.net>
1791
1792         * BufferView.C:
1793         * BufferView_pimpl.C:
1794         * CutAndPaste.C:
1795         * buffer.C:
1796         * iterators.[Ch]:
1797         * lyxfunc.C:
1798         * text.C:
1799         * toc.C: Return a Paragraph & for ParIterator::operator*()
1800
1801 2003-06-11  John Levon  <levon@movementarian.org>
1802
1803         * lyx_main.C:
1804         * ToolbarBackend.h:
1805         * ToolbarBackend.C: add "Toolbars" section and
1806         put the flags there
1807
1808 2003-06-10  Angus Leeming  <leeming@lyx.org>
1809
1810         * lfuns.h:
1811         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1812
1813         * lyxfunc.C (dispatch): invoke it.
1814
1815 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1816
1817         * main.C: protect <ios> with HAVE_IOS
1818         (main): protect sync_with_stdio with HAVE_IOS
1819
1820 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1821
1822         * text2.C (cutSelection): adjust
1823         (pasteSelection): adjust
1824
1825         * messages.C: handle get of empty string
1826
1827         * main.C (main): use sync_with_stdio(false)
1828
1829         * lyxfunc.C (dispatch): adjust
1830
1831         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1832         (WriteAs): remove unneeded BufferView arg.
1833
1834         * bufferparams.h: use correct types on papersize, papersize2 and
1835         paperpackage.
1836
1837         * bufferparams.C (readToken): adjust for type
1838         (writeLaTeX): add missing cases to switch.
1839
1840         * bufferlist.C (quitWriteBuffer): adjust
1841         (close): adjust
1842
1843         * buffer.C (asciiParagraph): remove some commented code.
1844
1845         * CutAndPaste.C: remove current_view extern variable.
1846         (cutSelection): add BufferParams arg.
1847         (eraseSelection): add BufferParams arg.
1848         (pasteSelection): add Buffer const & arg
1849
1850 2003-06-07  John Levon  <levon@movementarian.org>
1851
1852         * buffer.C:
1853         * paragraph_funcs.C:
1854         * paragraph_pimpl.C:
1855         * text.C:
1856         * text2.C:
1857         * paragraph.h:
1858         * paragraph.C: allow InsetERT to freely space lines,
1859         and some consolidation of code
1860
1861 2003-06-06  José Matos  <jamatos@fep.up.pt>
1862
1863         * buffer.C (makeDocBookFile): fix bug #821
1864
1865 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1866
1867         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1868
1869 2003-06-04  Angus Leeming  <leeming@lyx.org>
1870
1871         * buffer.C: bump format to 224.
1872
1873 2003-06-05  André Pönitz  <poenitz@gmx.net>
1874
1875         * text2.C (redoParagraphs): remove two const_cast<>
1876
1877 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1878
1879         * ParagraphList.h: remove last remnants of NO_STD_LIST
1880
1881 2003-06-03  Angus Leeming  <leeming@lyx.org>
1882
1883         * factory.C (createInset): small change to the way InsetExternal's params
1884         are set.
1885
1886 2003-06-04  André Pönitz  <poenitz@gmx.net>
1887
1888         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1889
1890         * paragraph_pimpl.h:
1891         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1892
1893         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1894
1895         * undo_funcs.C: make some simple cases of undo work again
1896
1897 2003-06-03  John Levon  <levon@movementarian.org>
1898
1899         * ispell.C: HPUX doesn't have sys/select.h
1900         (from Albert Chin)
1901
1902 2003-06-03  John Levon  <levon@movementarian.org>
1903
1904         * CutAndPaste.C: update tabular and include inset
1905         buffer references
1906
1907         * buffer.h:
1908         * paragraph.h:
1909         * paragraph.C: remove owningBuffer(), don't pass Buffer
1910         to clone()
1911
1912         * factory.C: insetGraphicsParams changed
1913
1914 2003-06-02  John Levon  <levon@movementarian.org>
1915
1916         * LyXAction.C:
1917         * factory.C:
1918         * lfuns.h:
1919         * lyxfunc.C:
1920         * text3.C: remove insetparent
1921
1922 2003-06-02  John Levon  <levon@movementarian.org>
1923
1924         * buffer.h:
1925         * buffer.C: fix inset_iterator.end(), move out of line
1926         (bug 1149)
1927
1928 2003-06-01  John Levon  <levon@movementarian.org>
1929
1930         * text3.C: use a proper cut/paste when doing inset
1931         insert (from Jürgen Spitzmüller)
1932
1933 2003-06-01  John Levon  <levon@movementarian.org>
1934
1935         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1936
1937 2003-05-30  André Pönitz  <poenitz@gmx.net>
1938
1939         * rowpainter.C: unify second drawing phase
1940
1941 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1942
1943         * trans_mgr.C: remove one case of current_view
1944
1945         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1946
1947         * paragraph_funcs.h: remove paragraph.h include
1948
1949         * paragraph.h: delete NO_STD_LIST stuff
1950
1951         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1952
1953         * buffer.h: remove paragraph.h include
1954
1955         * ParagraphList.C: delete file
1956
1957         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1958
1959         * toc.C (getTocList): adjust
1960
1961         * paragraph_pimpl.C (validate): adjust
1962
1963         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1964
1965         * paragraph.C (Paragraph): adjust
1966         (getPositionOfInset): use const_iterator, adjust
1967         (bibitem): use const_iterator, adjust
1968         (setInsetOwner): adjust
1969
1970         * iterators.C (operator++): adjust
1971
1972         * InsetList.[Ch]: Replace selfmade iterator with standard
1973         vector::iterator also introduce const_iterator. Remove getPos,
1974         getInset and setInset from InsetTable. Adjust accordingly.
1975
1976         * BufferView.C (lockInset): adjust
1977         (ChangeInsets): adjust
1978
1979         * tabular.[Ch]: delete commented same_id functions
1980
1981 2003-05-28  John Levon  <levon@movementarian.org>
1982
1983         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1984
1985 2003-05-28  André Pönitz  <poenitz@gmx.net>
1986
1987         * metricsinfo.[Ch]: remove 'fullredraw' member
1988
1989 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1990
1991         * lyxtextclass.C (operator): remove caching.
1992
1993 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1994
1995         * text3.C: adjust
1996
1997         * text2.C (cursorBottom): adjust
1998         (setCounter): use ParagraphList::find, adjust
1999
2000         * text.C (workWidth): use ParagraphList::find, adjust
2001
2002         * lyxcursor.C (LyXCursor): adjust
2003
2004         * buffer.C (inset_iterator): adjust
2005
2006         * ParagraphList.h: make iterator(value_type) private, make
2007         ParagraphList a friend of iterator.
2008
2009         * ParagraphList.C (find): new function
2010
2011         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2012
2013 2003-05-27  André Pönitz  <poenitz@gmx.net>
2014
2015         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2016
2017 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2018
2019         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2020
2021 2003-05-26  John Levon  <levon@movementarian.org>
2022
2023         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2024
2025 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2026
2027         * remove same_id from function signatures, adjust.
2028
2029 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2030
2031         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2032
2033         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2034
2035         * paragraph.C (Paragraph): get rid of same_ids parameter
2036
2037         * ParagraphList.C (insert): adjust
2038         (push_back): adjust
2039
2040 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2041
2042         * paragraph_funcs.C (breakParagraph): adjust
2043         (breakParagraphConservative): adjust
2044
2045         * buffer.C (readParagraph): adjust
2046
2047         * ParagraphList.C (insert): take a reference instead of a pointer
2048         (insert): adjust
2049
2050         * paragraph.[Ch] (id): new function
2051
2052         * bufferlist.C (newFile): adjust
2053
2054         * ParagraphList.C (ParagraphList): adjust
2055         (assign): adjust
2056         (push_back): take a reference instead of a pointer.
2057
2058         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2059
2060         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2061         instead.
2062
2063         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2064         set else use old code.
2065
2066         * ParagraphList.C: remove all NO_NEXT code and only compile this
2067         code of NO_STD_LIST is set.
2068
2069 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2070
2071         * BufferView_pimpl.C:
2072         * TextCache.C:
2073         * TextCache.h:
2074         * bufferlist.C:
2075         * errorlist.h:
2076         * format.C:
2077         * format.h:
2078         * graph.C:
2079         * lyxfunc.C:
2080         * lyxrc.C:
2081         * graphics/GraphicsConverter.C:
2082         * graphics/PreviewLoader.C: header adjustment
2083
2084 2003-05-23  Angus Leeming  <leeming@lyx.org>
2085
2086         * LaTeXFeatures.[Ch] (useBabel): new method.
2087         * bufferparams.C (writeLaTeX): use it.
2088
2089 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2090
2091         * ParagraphList.h (set): remove unused function.
2092
2093 2003-05-23  André Pönitz  <poenitz@gmx.net>
2094
2095         * BufferView.C:
2096         * BufferView_pimpl.C:
2097         * buffer.C:
2098         * buffer.h:
2099         * lyxfunc.C:
2100         * undo_funcs.C: setUndo reworked
2101
2102         * iterators.[Ch]: add access to topmost ParagraphList
2103
2104         * lyxtext.[Ch] (workWidth): add a const
2105
2106 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2107
2108         * texrow.[Ch] (increasePos): remove function
2109         * exporter.C (export): removed unused var and outdated comment
2110
2111 2003-05-23  Angus Leeming  <leeming@lyx.org>
2112
2113         * latexrunparams.h: rename fragile as moving_arg.
2114         * paragraph.C (simpleTeXOnePar): ditto.
2115         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2116
2117 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2118
2119         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2120         (createUndo): ditto
2121         (textUndoOrRedo): comment out a currently unused var.
2122
2123         * paragraph.h (NO_NEXT): enable NO_NEXT
2124
2125         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2126
2127         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2128
2129         * exporter.C (Export): adjust for removeAutoInsets removal.
2130
2131         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2132
2133         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2134
2135         * BufferView.[Ch] (removeAutoInsets): delete function
2136
2137 2003-05-22  Angus Leeming  <leeming@lyx.org>
2138
2139         * latexrunparams.h: add a free_spacing variable.
2140
2141         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2142         to pass moving_arg, as the data is stored in runparams.fragile.
2143
2144         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2145         to Inset::latexOptional or to simpleTeXOnePar.
2146
2147         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2148         free_spacing arg to Inset::latexOptional.
2149
2150         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2151         free_spacing arg.
2152
2153 2003-05-22  Angus Leeming  <leeming@lyx.org>
2154
2155         * latexrunparams.h: add fragile and use_babel variables.
2156
2157         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2158         * buffer.C (makeLaTeXFile): store this returned value in
2159         runparams.use_babel, thus passing it to the inset::latex methods.
2160
2161         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2162         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2163
2164         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2165         longer has a fragile arg, as it is stored in runparams.fragile.
2166
2167         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2168         moving_arg parameter as the data is stored in runparams.fragile.
2169
2170         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2171         a fragile parameter as the data is stored in runparams.fragile.
2172
2173 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2174
2175         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2176
2177 2003-05-22  Angus Leeming  <leeming@lyx.org>
2178
2179         * latexrunparams.h: add a 'bool nice' which defaults to false.
2180
2181         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2182         now encapsulated within runparams.
2183
2184         * bufferlist.C (updateIncludedTeXfiles):
2185         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2186
2187 2003-05-22  Angus Leeming  <leeming@lyx.org>
2188
2189         * latexrunparams.h: new file containing struct LatexRunParams.
2190         * Makefile.am: add new file.
2191
2192         * LaTeX.[Ch] (c-tor, run):
2193         * buffer.[Ch] (makeLaTeXFile):
2194         * bufferlist.[Ch] (updateIncludedTeXfiles):
2195         * converter.C (convert, scanLog):
2196         * converter.[Ch] (runLaTeX):
2197         * exporter.C (Export):
2198         * paragraph.[Ch] (simpleTeXOnePar):
2199         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2200         * paragraph_funcs.[Ch] (latexParagraphs):
2201         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2202         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2203         pass around a LatexRunParams parameter.
2204
2205 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * paragraph.[Ch]: remove unused constructor
2208
2209         * ParagraphList.C (erase): new function, taking two iterators
2210
2211 2003-05-22  André Pönitz  <poenitz@gmx.net>
2212
2213         * undo_funcs.C: remove duplicated code
2214
2215         * iterator.[Ch]: operator=
2216
2217 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2218
2219         * tabular.C (SetMultiColumn): ws changes
2220
2221         * rowpainter.C (paintFirst): get rid of a ->previous
2222
2223         * lyx_cb.C (getPossibleLabel): parlist simplification
2224
2225         * BufferView.C (ChangeInsets): simplify slightly.
2226
2227 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2228
2229         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2230         * lfuns.h: new LFUN_SPACE
2231         * lyxfunc.C: protected space has a new lfun
2232         * paragraph_funcs.C: read new space insets
2233         * text3.C:
2234         * factory.C: handle new space insets
2235
2236 2003-05-22  André Pönitz  <poenitz@gmx.net>
2237
2238         * BufferView.C:
2239         * BufferView_pimpl.C:
2240         * buffer.[Ch]:
2241         * lyxfunc.C:
2242         * undo_funcs.C: return a ParIterator from getParFromID.
2243
2244         * iterators.[Ch]: add two const's
2245
2246 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2247
2248         * toc.C (getTocList): adjust
2249
2250         * iterators.[Ch]: rework for parlist
2251
2252         * buffer.C (par_iterator_begin): adjust
2253         (par_iterator_end): adjust
2254
2255         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2256
2257         * BufferView.C (removeAutoInsets): adjust
2258         (ChangeInsets): adjust
2259
2260 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2261
2262         * text.C (top_y): fix bug 1110
2263
2264 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2265
2266         * errorlist.[Ch]: added
2267         * buffer.C:
2268         * BufferView.[Ch]:
2269         * BufferView_pimpl.C:
2270         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2271         instead
2272
2273 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2274
2275         * Makefile.am: ensure that lyx is relinked upon changes to the
2276         various "convenience" libs.
2277
2278 2003-05-20  Angus Leeming  <leeming@lyx.org>
2279
2280         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2281         files are compiled in alphabetical order again.
2282
2283         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2284
2285 2003-05-19  Angus Leeming  <leeming@lyx.org>
2286
2287         * gettext.[Ch]: remove "char const * _(char const *)".
2288
2289 2003-05-19  André Pönitz  <poenitz@gmx.net>
2290
2291         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2292
2293         * Makefile.am:
2294         * BufferView.C:
2295         * DepTable.h:
2296         * LaTeXFeatures.C:
2297         * buffer.C:
2298         * lyxfont.C:
2299         * lyxlex.h:
2300         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2301
2302 2003-05-19  André Pönitz  <poenitz@gmx.net>
2303
2304         * buffer.C:
2305         * lyxlayout.[Ch]:
2306         * lyxtextclass.[Ch]:
2307         * paragraph.C:
2308         * paragraph_funcs.[Ch]:
2309         * text2.C:
2310         * text3.C: more insetenv work
2311
2312 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2313
2314         * ParagraphParameters.C (params2string): small bug fixed
2315
2316 2003-05-16  André Pönitz  <poenitz@gmx.net>
2317
2318         * debug.C:
2319         * bufferview_funcs.C: patch from Kornel Benko to prevent
2320           crash when _(...) is called twice in a statement
2321
2322 2003-05-16  André Pönitz  <poenitz@gmx.net>
2323
2324         * BufferView.C:
2325         * lyxfunc.C:
2326         * text.C:
2327         * text2.C:
2328         * text3.C:
2329         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2330
2331 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2332
2333         * lyx_main.C (init): remove spurious static_cast
2334
2335 2003-05-14  André Pönitz  <poenitz@gmx.net>
2336
2337         * BufferView.C: fix format string
2338
2339 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2340
2341         * BufferView.[Ch] (insertErrors): removed
2342         * BufferView.[Ch] (showErrorList): added
2343         * buffer.C (runChkTeX):
2344         * converter.C (scanLog): call showErrorList instead of inserterrors
2345
2346 2003-05-13  André Pönitz  <poenitz@gmx.net>
2347
2348         * BufferView_pimpl.C:
2349         * buffer.C:
2350         * bufferview_func.C:
2351         * MenuBackend.C:
2352         * lyxfunc.C:
2353         * lyxrc.C:
2354         * tex-accent.C:
2355         * text3.C:
2356         * toc.C:
2357         * tabular_funcs.h: tostr() from its own header
2358
2359         * ParagraphParameters.C:
2360         * ToolbarBackend.C:
2361         * bufferparams.C:
2362         * format.C:
2363         * lyxlex_pimpl.C:
2364         * text3.C: STRCONV()
2365
2366 2003-05-12  André Pönitz  <poenitz@gmx.net>
2367
2368         * BufferView.C:
2369         * BufferView_pimpl.C:
2370         * CutAndPaste.C:
2371         * LaTeX.C:
2372         * LaTeXFeatures.C:
2373         * ParagraphParameters.C:
2374         * buffer.C:
2375         * bufferlist.C:
2376         * bufferparams.C:
2377         * bufferview_funcs.C:
2378         * converter.C:
2379         * counters.C:
2380         * debug.C:
2381         * exporter.C:
2382         * format.C:
2383         * importer.C:
2384         * lyx_cb.C:
2385         * lyx_main.C:
2386         * lyxfont.C:
2387         * lyxfunc.C:
2388         * lyxvc.C:
2389         * paragraph.C:
2390         * paragraph_funcs.C:
2391         * tabular.C:
2392         * tabular_funcs.C:
2393         * text2.C:
2394         * text3.C:  boost::format -> bformat  all over the place
2395
2396
2397 2003-05-09  André Pönitz  <poenitz@gmx.net>
2398
2399         * LColor.[Ch]: Pimpl the #include <map> away
2400
2401 2003-05-09  John Levon  <levon@movementarian.org>
2402
2403         * bufferlist.C: never remove emergency saves
2404
2405 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2406
2407         * Makefile.am: better lib building
2408
2409 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2410
2411         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2412         instead.
2413         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2414         (simpleTeXSpecialChars): adjust
2415         (simpleTeXSpecialChars): adjust
2416         * paragraph.C (simpleTeXOnePar): adjust
2417         * buffer.C (makeLaTeXFile): adjust
2418
2419         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2420
2421         * text2.C (changeDepth): parlist cleanup
2422         (getColumnNearX): ditto
2423
2424         * rowpainter.C (getLabelFont): parlist cleanup
2425
2426         * bufferlist.C (newFile): parlist cleanup
2427
2428         * CutAndPaste.C (eraseSelection): parlist cleanup
2429
2430         * BufferView_pimpl.C (trackChanges): parlist cleanup
2431         (dispatch): ditto
2432
2433         * BufferView.C (lockInset): parlist cleanup.
2434         (ChangeInsets): ditto
2435
2436 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2437
2438         * CutAndPaste.h: Update file header.
2439
2440         * CutAndPaste.C: Update file header.
2441         Store the parts cut out of the Document in a limited_stack.
2442         (copySelection): adjust
2443         (pasteSelection): new function, takes the index in the limited stack.
2444         (nrOfParagraphs): adjust
2445         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2446         simplify error inset insertion.
2447         (checkPastePossible): adjust
2448
2449 2003-05-06  John Levon  <levon@movementarian.org>
2450
2451         * text2.C: don't cast wrap inset to float
2452
2453 2003-05-05  André Pönitz  <poenitz@gmx.net>
2454
2455         * iterator.C:
2456         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2457
2458         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2459           few naked Paragraph *.
2460
2461 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2462
2463         * bufferparams.C: Output warning if a document with missing
2464         TeX document class is loaded
2465         * exporter.C: Disable TeX exports if the document class is missing
2466         * lyxtextclass.C:
2467         * lyxtextclass.h:
2468         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2469         isTeXClassAvailable()
2470
2471 2003-05-03  John Levon  <levon@movementarian.org>
2472
2473         * BufferView.h:
2474         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2475         explicit cursor show/hide
2476
2477         * BufferView_pimpl.h:
2478         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2479         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2480
2481         * lyxfunc.C: hide cursor before dispatching.
2482
2483         * lyx_cb.C:
2484         * lyxfind.C:
2485         * text.C:
2486         * text3.C: remove explicit cursor hides
2487
2488 2003-05-02  André Pönitz  <poenitz@gmx.net>
2489
2490         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2491
2492         * undo_funcs.C:
2493         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2494           linked lists
2495
2496         * text2.C: tiny whitespace
2497
2498 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2499
2500         * undo_funcs.C: almost only ws changes.
2501
2502         * ParagraphList.C (splice): just return if pl is empty.
2503
2504 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2505
2506         * ParagraphList.C (splice): new function.
2507
2508         * CutAndPaste.C (pasteSelection): use it
2509
2510 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2511
2512         * CutAndPaste.C (pasteSelection): remove the last next and
2513         previous from this file.
2514
2515 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2516
2517         * CutAndPaste.C (pasteSelection): more clean up, user proper
2518         ParagraphList functions for pasteing.
2519
2520         * ParagraphList.C (insert): new function, three arg insert
2521
2522 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2523
2524         * ParagraphList.C (insert): new function, three arg insert
2525
2526         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2527         not on paragraphs.
2528
2529 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2530
2531         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2532
2533 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2534
2535         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2536
2537 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2540         (copySelection): clean up a bit.
2541         (pasteSelection): use make_pair
2542
2543         * ParagraphList.C (ParagraphList): implement copy constructor
2544         (operator=): implement, base on copy constructor.
2545         (assign): new func
2546
2547         * paragraph.C (erase): return a bool
2548
2549         * paragraph_pimpl.C (erasePos): remove function, move contents...
2550         (erase): ... here. Return a bool.
2551         (erase): call erase instead of erasePos.
2552
2553 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2554
2555         * ParagraphList.h: define PitPosPair
2556         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2557         ParagraphList, fix a bug on pasting multiple pars
2558         * text2.C: change interface to C&P
2559
2560 2003-04-30  André Pönitz  <poenitz@gmx.net>
2561
2562         * undo_func.C: revert part of yesterday's patch 2
2563
2564 2003-04-30  John Levon  <levon@movementarian.org>
2565
2566         * LColor.C: s/tabular/table/
2567
2568 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2569
2570         * text3.C (dispatch): do not convert iterator -> pointer
2571         * undo_funcs.C (setCursorParUndo): ditto
2572         * text_funcs.C (transposeChars): ditto
2573
2574         * text2.C (setLayout): ws changes only
2575
2576         * text.C (breakParagraph): do not convert iterator -> pointer
2577         (insertChar): ditto
2578         (acceptChange): ditto
2579         (rejectChange): ditto
2580         (changeCase): ditto
2581         (Delete): ditto
2582         (backspace): ditto
2583
2584         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2585         pointer
2586
2587 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2588
2589         * text3.C (gotoInset): YABG (yet another bad getChar)
2590
2591 2003-04-29  André Pönitz  <poenitz@gmx.net>
2592
2593         * paragraph.h: make operator= private unimplemented as long as
2594           it is unusable
2595
2596         * ParagraphList.C: whitespace
2597
2598         * paragraph.[Ch]:
2599         * paragraph_pimpl.[Ch]:
2600         * paragraph_funcs.C:
2601         * CutAndPaste.C:
2602         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2603
2604         * text2.C:
2605           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2606
2607 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2608
2609         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2610         * paragraph.[Ch] (erase):
2611         * paragraph_pimpl.[Ch] (erase): change return type and value
2612         * text2.C (cutSelection): some rework
2613
2614 2003-04-28  John Levon  <levon@movementarian.org>
2615
2616         * bufferlist.C: changes for unsaved changes dialog
2617
2618 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2619
2620         * bufferlist.C (newFile): set language (messages_) for new
2621         documents also.
2622
2623         * buffer.C (readFile): ws changes only.
2624
2625 2003-04-28  André Pönitz  <poenitz@gmx.net>
2626
2627         * undo_funcs.C:
2628         * lyxfunc.C:
2629         * buffer.[Ch]:
2630         * BufferView_pimpl.C:
2631         * BufferView.C: getParFromID related ParagraphList::iterator changes
2632
2633 2003-04-28  André Pönitz  <poenitz@gmx.net>
2634
2635         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2636           Changes
2637
2638 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2639
2640         * messages.C: remove one more localedir class variable.
2641
2642 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2643
2644         * messages.C (getLocaleDir): singleton generation function
2645         (Pimpl): use it.
2646         (Messages): add a default constructor.
2647
2648         * main.C (main): do not setup localedir here, do not call
2649         gettext_init.
2650
2651         * gettext.C (_): use it.
2652         (gettext_init): delete funciton
2653
2654 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2655
2656         * gettext.C (getLyXMessages): new singleton generating function.
2657
2658         * buffer.C (updateDocLang): adjust
2659
2660         * Makefile.am (messages.o): add target
2661         (main.o): remove target
2662
2663 2003-04-27  John Levon  <levon@movementarian.org>
2664
2665         * bufferlist.C:
2666         * lyx_cb.C:
2667         * lyxfunc.C:
2668         * lyxvc.C: specify cancel button in Alert::prompt
2669
2670 2003-04-26  John Levon  <levon@movementarian.org>
2671
2672         * text3.C:
2673         * lyxfunc.C:
2674         * lfuns.h:
2675         * LyXAction.C: add LFUN_INSET_SETTINGS
2676
2677         * lyxfunc.C: don't enable tabular-feature when there's
2678         just any locking inset
2679
2680 2003-04-26  John Levon  <levon@movementarian.org>
2681
2682         * bufferlist.C: re-add Cancel to buffer close question
2683
2684         * lyxfunc.C: fix import UI a bit
2685
2686 2003-04-25  John Levon  <levon@movementarian.org>
2687
2688         * gettext.C: remove the broken asserts for now
2689
2690 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2691
2692         * messages.C: make case where setlocale cannot comply work better.
2693
2694         * buffer.C (updateDocLang): new function
2695         (changeLanguage): use it
2696         (readFile): use it
2697
2698         * text2.C (setCounter): use B_ a bit.
2699
2700         * lyxlayout.C (Read): be sure to trim the label strings.
2701
2702         * messages.C (Messages): fix typo in comment
2703
2704         * buffer.C (readFile): set message_ after file is loaded.
2705         (makeDocBookFile): remove double return
2706         (changeLanguage): reset message_ upon language change.
2707         (B_): new func, use this to get translated buffer strings.
2708
2709         * main.C: add myself and Jean Marc as authors.
2710
2711 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2712
2713         * messages.[hC]: pimplify Messages, and three different pimpls to be
2714         used in different circumstances.
2715
2716         * gettext.[Ch]: change for use with new message code.
2717
2718 2003-04-24 André Pönitz <poenitz@gmx.net>
2719
2720         * factory.C: support for eqref
2721
2722 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2723
2724         * messages.[Ch]: add missing char
2725
2726         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2727
2728         * messages.[Ch]: New files
2729
2730 2003-04-18  John Levon  <levon@movementarian.org>
2731
2732         * BufferView.h:
2733         * BufferView.C:
2734         * BufferView_pimpl.C:
2735         * lfuns.h:
2736         * LyXAction.C:
2737         * lyxtext.h:
2738         * text2.C: remove layout-copy/paste (bug 778)
2739
2740 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2741
2742         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2743
2744 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2745
2746         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2747         if they succeed. Act accordingly.
2748
2749 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2750
2751         * text2.C (setCharFont): adjust
2752         (setCounter): adjust
2753         (insertStringAsLines): adjust
2754
2755         * text.C (leftMargin): adjust
2756         (setHeightOfRow): adjust
2757
2758         * rowpainter.C (paintFirst): adjust
2759         (paintLast): adjust
2760
2761         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2762         (outerHook): ditto
2763         (isFirstInSequence): ditto
2764         (getEndLabel): ditto
2765         (outerFont): adjust
2766
2767         * paragraph.C (getParLanguage): comment out some hard stuff.
2768
2769         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2770         (sgmlError): ditto
2771         (simpleDocBookOnePar): ditto
2772         (makeDocBookFile): use ParagraphList::iterator
2773
2774         * CutAndPaste.C (pasteSelection): adjust
2775
2776 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2777
2778         * text2.C (getFont): adjust
2779         (getLayoutFont): adjust
2780         (getLabelFont): adjust
2781
2782         * paragraph_funcs.C (TeXOnePar): adjust
2783
2784         * buffer.C (simpleLinuxDocOnePar): adjust
2785         (simpleDocBookOnePar): adjust
2786
2787         * CutAndPaste.C (pasteSelection): adjust
2788
2789         * BufferView.C (getEncoding): adjust
2790
2791         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2792
2793 2003-04-16  John Levon  <levon@movementarian.org>
2794
2795         * lyxfind.C: use parlist stuff for search/changes
2796
2797 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2798
2799         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2800
2801         * text2.C (deleteEmptyParagraphMechanism): adjust
2802
2803         * text2.[Ch] (ownerParagraph): delete func (both of them
2804
2805 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2806
2807         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2808
2809 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * ParagraphList.C: prepare for NO_NEXT
2812
2813 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2814
2815         * text2.C (getFont): adjust
2816         (getLayoutFont): adjust
2817         (getLabelFont): adjust
2818
2819         * paragraph.C (getFont): adjust
2820         (getLabelFont): adjust
2821         (getLayoutFont): adjust
2822
2823         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2824
2825 2003-04-15  John Levon  <levon@movementarian.org>
2826
2827         From Angus Leeming
2828
2829         * lyx_main.C: handle Include in .ui files
2830
2831 2003-04-15  John Levon  <levon@movementarian.org>
2832
2833         * MenuBackend.C: make the doc files length shorter
2834
2835         * ToolbarBackend.h:
2836         * ToolbarBackend.C: handle toolbar placement flags,
2837         Minibuffer
2838
2839 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2840
2841         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2842         adjust
2843
2844         * paragraph_funcs.C (TeXOnePar): adjust
2845
2846         * paragraph.C (getLabelFont): add outerfont arg, adjust
2847         (getLayoutFont): ditto
2848         (simpleTeXOnePar): adjust
2849
2850         * paragraph_pimpl.C (realizeFont): delete func
2851
2852 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2853
2854         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2855         row argument, constify cur argument.
2856
2857 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * text2.C (getFont): adjust
2860         (getLayoutFont): adjust
2861         (getLabelFont): adjust
2862
2863         * paragraph_funcs.C (TeXOnePar): adjust
2864         (outerFont): new func...
2865         (realizeFont): ...moved out from here, changed this to facilitate
2866         transition
2867
2868         * paragraph.C (getFont): take outerfont as arg, adjust
2869         (simpleTeXOnePar): add outerfont arg, adjust
2870
2871         * buffer.C (simpleLinuxDocOnePar): adjust
2872         (simpleDocBookOnePar): adjust
2873
2874         * CutAndPaste.C (pasteSelection): adjust
2875
2876         * BufferView.C (getEncoding): adjust
2877
2878 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2879
2880         * text2.C (setCharFont): adjust
2881         (setCounter): adjust
2882
2883         * text.C (leftMargin): adjust
2884         (setHeightOfRow): adjust
2885
2886         * rowpainter.C (paintFirst): adjust
2887         (paintLast): adjust
2888
2889         * paragraph_pimpl.C (realizeFont): adjust
2890
2891         * paragraph.C (isFirstInSequence): move from here...
2892         * paragraph_funcs.C (isFirstInSequence): ...to here
2893
2894         * paragraph.C (outerHook): move from here...
2895         * paragraph_funcs.C (outerHook): ...to here
2896
2897         * paragraph.C (depthHook): move from here...
2898         * paragraph_funcs.C (depthHook): ...to here
2899
2900         * paragraph.C (getEndLabel): move from here...
2901         * paragraph_funcs.C (getEndLabel): ...to here
2902
2903         * text2.C (realizeFont): move from here...
2904         * paragraph_funcs.C (realizeFont): ...to here
2905
2906 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2907
2908         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2909
2910 2003-04-14  Angus Leeming  <leeming@lyx.org>
2911
2912         * LColor.[Ch]: scrap LColor mathcursor.
2913
2914 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2915
2916         * lyxlex.[Ch] (text): delete function
2917         * trans.C (Load): adjust
2918         * paragraph_funcs.C (readParToken): adjust
2919
2920 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2921
2922         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2923         vector<char> instead of a char[].
2924
2925         * lyxlex_pimpl.C (getString): adjust
2926         (next): adjust
2927         (lex): use getString
2928         (eatLine): adjust
2929         (nextToken): adjust
2930
2931         * lyxlex.C (text): use pimpl_->getString()
2932         (getBool): ditto
2933         (findToken): ditto
2934
2935 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2936
2937         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2938         (makeFontEntriesLayoutSpecific): temp var for par.size()
2939         (setLayout): temp var for ownerParagraphs().end()
2940         (fullRebreak): temp var for rows().end()
2941         (selectionAsString): temp var for boost::next(startpit), realize
2942         that the while really is a regular for loop.
2943         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2944         setCursor in one place.
2945         (setParagraph): temp vr for ownerParagraphs().end()
2946         (updateCounters): make the while loop a for loop
2947         (cutSelection): temp var for ownerParagraphs().end()
2948         (updateInset): make the do {} while() a regular for loop
2949         (getCursorX): use temp vars
2950         (setCurrentFont): use temp vars
2951         (getColumnNearX): use temp vars
2952
2953 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2954
2955         * text.C (transformChar): use temp var for getChar
2956         (computeBidiTables): use temp var for row->par()
2957         (fill): move temp vars for row->par() and pit->layout() earlier in
2958         the function.
2959         (labelFill): use temp var for row->par()
2960         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2961         asc and desc, realize that pit never changes and that firstpit is
2962         just a duplicate and not needed. Exchange rit->par() with pit in a
2963         lot of places.
2964         (breakAgain): use a temp var for boost::next(rit)
2965         (breakAgainOneRow): ditto
2966         (breakParagraph): use a temp var for rows().begin()
2967         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2968         (cursorRightOneWord): use temp var for cursor.par() and
2969         cursor.pos(), remove usage of tmpcursor.
2970         (cursorLeftOneWord): use temp var for cursor.par() and
2971         cursor.pos() only set cur at end of function.
2972
2973 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2974
2975         * text.C, text2.C: exchange all usage of Paragraph::next with
2976         boost::next(ParagraphList::iterator)
2977
2978         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2979
2980         * text2.C (cursorTop): simplify implementation
2981         (cursorBottom): ditto
2982         (setParagraph): use ParagraphList::iterator
2983         (setCurrentFont): adjust
2984         (getColumnNearX): adjust
2985         (cursorRight): adjust
2986         (cursorLeft): remove usage of Paragraph::previous
2987         (cursorUpParagraph): ditto
2988         (deleteEmptyParagraphMechanism): slight cleanup
2989
2990         * text.C (isBoundary): take a Paragraph const & instead of a
2991         pointer as arg.
2992         (addressBreakPoint): ditto
2993         (leftMargin): remove usage of Paragraph::previous.
2994         (setHeightOfRow): ditto
2995         (cursorLeftOneWord): ditto
2996         (selectNextWordToSpellcheck): ditto
2997         (Delete): ditto
2998         (backspace): ditto
2999         (breakParagraph): remove one usage of Paragraph::next
3000         (redoParagraph): ditto
3001         (acceptChange): ditto
3002         (insertChar): adjust
3003         (rowBreakPoint): adjust
3004
3005         * bufferview_funcs.C (toggleAndShow): adjust
3006
3007 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3008
3009         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3010         methods to access it.
3011         * lyxtext.h:
3012         * text.C: Added updateRowPositions to compute all row positions.
3013         Make top_y and getRowNearY() to use the cached y position
3014
3015 2003-04-11  John Levon  <levon@movementarian.org>
3016
3017         * text.C (rowBreakPoint): reintroduce the labelEnd
3018         checks, code copied from the row fill stuff. Deep voodoo.
3019
3020         * text.C (fill): add a comment and debugging for the
3021         next poor soul.
3022
3023 2003-04-11  John Levon  <levon@movementarian.org>
3024
3025         * text.C: make sure fullrow insets get wrapped to the next line,
3026         even when they're in a manual label
3027
3028 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3029
3030         * text2.C (insertParagraph): make it take ParagraphList::iterator
3031         as arg.
3032         (setLayout): make it return ParagraphList::iterator
3033         (redoParagraphs): ditto
3034         (setCounter): ditto
3035         (checkParagraph): ditto
3036
3037         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3038
3039         * text2.C: adjust several funcs.
3040         (realizeFont): take a ParagraphList::iterator as arg.
3041         (getLayoutFont): ditto
3042         (getLabelFont): ditto
3043         (setCharFont): ditto
3044
3045         * text.C: adjust several funcs.
3046
3047 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3048
3049         * text.C (selectNextWordToSpellcheck): don't accidentally
3050         skip insets
3051
3052 2003-04-10  John Levon  <levon@movementarian.org>
3053
3054         * ToolbarBackend.C (getIcon): special handling for
3055         LFUN_MATH_DELIM
3056
3057 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3058
3059         * text2.C (cursorRight): a getChar assert fixed
3060
3061 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3062
3063         * text2.C (getFont): change to take a ParagraphList::iterator
3064         instead of Paragraph*
3065         Adjust several functions.
3066
3067         * text.C (transformChar): change to take a ParagraphList::iterator
3068         instead of Paragraph*
3069         (singleWidth): ditto
3070         Adjust several functions.
3071
3072         * rowpainter.C: adjust several functions
3073         * rowpainter.h:store a ParagraphList::iterator and not a
3074         Paragraph&.
3075
3076
3077 2003-04-09  John Levon  <levon@movementarian.org>
3078
3079         * lyxfunc.C:
3080         * lfuns.h:
3081         * LyXAction.h:
3082         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3083         and the "help" bits as well
3084
3085 2003-04-09  John Levon  <levon@movementarian.org>
3086
3087         * ToolbarBackend.h:
3088         * ToolbarBackend.C: allow multiple toolbars
3089
3090 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3091
3092         * undo_funcs.C (setCursorParUndo): adjust
3093
3094         * text_funcs.C (transposeChars): adjust
3095
3096         * text3.C (gotoNextInset): adjust
3097         (dispatch): adjust
3098
3099         * text2.C (setLayout): adjust
3100         (changeDepth): adjust
3101         (setFont): adjust
3102         (redoParagraphs): adjust
3103         (selectionAsString): adjust
3104         (setParagraph): adjust
3105         (insertInset): adjust
3106         (cutSelection): adjust
3107         (copySelection): adjust
3108         (pasteSelection): adjust
3109         (insertStringAsLines): adjust
3110         (updateInset): adjust
3111         (setCursor): change to take a ParagraphList::iterator parameter
3112         (setCursorIntern): change to take a ParagraphList::iterator parameter
3113         (setCurrentFont): adjust
3114         (cursorLeft): adjust
3115         (cursorRight): adjust
3116         (deleteEmptyParagraphMechanism): adjust
3117
3118         * text.C (breakParagraph): adjust
3119         (insertChar): adjust
3120         (acceptChange): adjust
3121         (rejectChange): adjust
3122         (selectNextWordToSpellcheck): adjust
3123         (changeCase): adjust
3124         (Delete): adjust
3125         (backspace): adjust
3126
3127         * lyxfind.C (SearchForward): adjust
3128         (SearchBackward): adjust
3129         (nextChange): adjust
3130
3131         * lyxcursor.C (par): adjust
3132
3133         * lyxcursor.h: store a ParagraphList::iterator instead of a
3134         Paragraph*
3135
3136         * lyx_cb.C (getPossibleLabel): adjust
3137
3138         * bufferview_funcs.C (toggleAndShow): adjust
3139
3140         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3141         (dispatch): adjust
3142
3143         * BufferView.C (removeAutoInsets): adjust
3144         (lockedInsetStoreUndo): adjust
3145
3146 2003-04-09  John Levon  <levon@movementarian.org>
3147
3148         * ToolbarBackend.C: try icon without argument
3149         if with argument fails
3150
3151 2003-04-08  John Levon  <levon@movementarian.org>
3152
3153         * ToolbarBackend.h:
3154         * ToolbarBackend.C: add getIcon(), handle tooltip,
3155         and change from "Icon" to "Item".
3156
3157 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3158
3159         * BufferView.C (lockInset): another bad getchar crunched
3160
3161 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3162
3163         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3164         again)
3165
3166 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3167
3168         * lyxfind.C (searchForward, searchBackwards): bug 782
3169
3170 2003-04-07  John Levon  <levon@movementarian.org>
3171
3172         * paragraph.C: remove dead comment
3173
3174         * text.C: remove troublesome depth-fiddling code
3175         in leftMargin() and rightMargin() (bug 1017)
3176
3177         * text.C: fix breaking of rows in nested lists
3178         (bug 1004)
3179
3180         * text2.C (updateCounters): fix up depth values
3181         (bug 1013)
3182
3183 2003-04-07  John Levon  <levon@movementarian.org>
3184
3185         * BufferView_pimpl.C: clear message when doc finishes resizing,
3186         and after a mouse event
3187
3188         * lyxfunc.C: clear message after exiting inset
3189
3190 2003-04-07  John Levon  <levon@movementarian.org>
3191
3192         * bufferview_funcs.C: show math status not outside
3193         status in the statusbar
3194
3195 2003-04-07  John Levon  <levon@movementarian.org>
3196
3197         * lyxfunc.C: note status changed after a depth change
3198
3199 2003-04-04  Angus Leeming  <leeming@lyx.org>
3200
3201         * LaTeX.h: move AuxInfo operator==, != out of line.
3202         Remove LaTeX virtual destructor; nothing derives from it.
3203         Move operator()() out of public area and rename it startscript().
3204         Change protected for private.
3205
3206 2003-04-04  Angus Leeming  <leeming@lyx.org>
3207
3208         * lyxfunc.C:
3209         * text2.C: remove unneeded #includes.
3210
3211 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3212
3213         * text2.C (dEPM): fix the heigth of the next row
3214
3215 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3216
3217         * text.C: squashed an invalid getChar requester + some ws changes
3218
3219 2003-04-03  John Levon  <levon@movementarian.org>
3220
3221         * bufferview_funcs.h:
3222         * bufferview_funcs.C:
3223         * lyxfunc.C:
3224         * lyxtext.h:
3225         * text2.C: make getStatus work for the env depth lfuns
3226
3227 2003-04-03  John Levon  <levon@movementarian.org>
3228
3229         * bufferview_funcs.h:
3230         * bufferview_funcs.C:
3231         * lyxfunc.C:
3232         * lyxtext.h:
3233         * text2.C: parlistize decDepth(), by merging it with incDepth()
3234
3235 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3236
3237         * lyxrow.h: store a ParagraphList::iterator instead of a
3238         Paragraph* and adjust other class functions to suit.
3239
3240         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3241         above.
3242
3243 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3244
3245         * text2.C (setCursor): do not anchor to cursor row for the time being
3246
3247 2003-04-02  John Levon  <levon@movementarian.org>
3248
3249         * LyXAction.C:
3250         * lfuns.h:
3251         * lyx_main.C:
3252         * lyxtext.h:
3253         * text.C:
3254         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3255
3256 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3257
3258         * paragraph.h: make ParagraphList and ParagraphList::iterator
3259         friends of Paragraph.
3260
3261         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3262
3263         * ParagraphList.C: Use the private next_ and previous_ from
3264         Paragraph.
3265
3266 2003-04-01  John Levon  <levon@movementarian.org>
3267
3268         * ToolbarBackend.h:
3269         * ToolbarBackend.C:
3270         * Makefile.am: rename, remove defaults gunk
3271
3272         * MenuBackend.h:
3273         * MenuBackend.C: remove defaults gunk
3274
3275         * Languages.h:
3276         * Languages.C: remove defaults gunk
3277
3278         * lyx_main.h:
3279         * lyx_main.C: error out if files couldn't be found.
3280
3281 2003-04-02  John Levon  <levon@movementarian.org>
3282
3283         * text2.C: make incDepth() use parlist
3284
3285 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3286
3287         * undo_funcs.C (firstUndoParagraph): adjust
3288
3289         * text3.C (gotoInset): adjust
3290         (dispatch): adjust, and rewrite loop.
3291
3292         * text2.C (init): adjust, and rewrite loop.
3293         (redoParagraphs): adjust
3294         (updateInset): adjust, and rewrite loop.
3295         (deleteEmptyParagraphMechanism): adjust
3296
3297         * tabular.C (LyXTabular): adjust
3298         (SetMultiColumn): adjust
3299         (TeXRow): adjust
3300
3301         * lyxtext.[Ch] (ownerParagraph): delete function
3302         (ownerParagraphs): new function returns a ParagraphList.
3303
3304         * BufferView.C (removeAutoInsets): adjust
3305         (insertErrors): adjust
3306         (setCursorFromRow): adjust
3307
3308 2003-04-01  Angus Leeming  <leeming@lyx.org>
3309
3310         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3311         in the frontends.
3312
3313 2003-04-02  John Levon  <levon@movementarian.org>
3314
3315         * lyxtext.h:
3316         * text.C:
3317         * Makefile.am:
3318         * text_funcs.h:
3319         * text_funcs.C: make transposeChars a free function
3320
3321         * lyxrow_funcs.C: remove wrong comment
3322
3323 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3324
3325         * lyxtext.h: adjust
3326         * rowpainter.C: adjust
3327         * text.C: adjust
3328         * text2.C: adjust
3329         * text3.C: adjust
3330
3331         * lyxrow_funcs. [Ch]: new files
3332
3333         * lyxrow.[Ch]: remove next and previous pointers
3334         (next,previous): remove accessor functions
3335         (isParEnd): move to lyxrow_funcs
3336         (lastPos): move to lyxrow_funcs
3337         (nextRowIsAllInset): move to lyxrow_funcs
3338         (lastPrintablePos): move to lyxrow_funcs
3339         (numberOfSeparators): move to lyxrow_funcs
3340         (numberOfHfills): move to lyxrow_funcs
3341         (numberOfLabelHfills): move to lyxrow_funcs
3342         (hfillExpansion): move to lyxrow_funcs
3343
3344         * lyxfunc.C: adjust
3345
3346         * bufferview_funcs.C (toggleAndShow): adjust
3347
3348         * RowList.h: Remove class RowList from file leave just a
3349         std::list<Row>.
3350
3351         * RowList.C: delete file
3352
3353         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3354         and lyxrow_funcs.h
3355
3356 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * text3.C (cursorPrevious): adjust
3359         (cursorNext): adjust
3360         (dispatch): adjust
3361
3362         * text2.C (redoHeightOfParagraph): adjust
3363         (redoDrawingOfParagraph): adjust
3364         (setCursor): adjust
3365
3366         * text.C (breakParagraph): adjust
3367         (insertChar): adjust
3368         (backspace): adjust
3369
3370         * rowpainter.C (RowPainter): adjust
3371         (leftMargin): simplify and adjust
3372         (most rowpainter functions): adjust.
3373
3374         * rowpainter.h: store the row as RowList::iterator not as Row*
3375
3376         * lyxcursor.C (row): taka RowList::iterator as arg
3377         (irow): ditto
3378
3379         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3380         of Row*.
3381
3382 2003-04-01  Angus Leeming  <leeming@lyx.org>
3383
3384         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3385         stuff like bool Bool.
3386
3387 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3388
3389         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3390         rewrite a loop
3391
3392 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3393
3394         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3395         RowList::iterator.
3396
3397         * lyxtext.h (rows): drop one version and leve a const variant that
3398         returns a RowList::iterator.
3399
3400 2003-03-31  Angus Leeming  <leeming@lyx.org>
3401
3402         * text.C (fill): ensure that the signature is the same as that in the
3403         header file.
3404
3405 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3406
3407         * text2.C (redoParagraphs): adjust
3408         (updateCounters): adjust
3409         (checkParagraph): adjust
3410         (getColumnNearX): adjust and reformat a bit.
3411
3412         * text.C (top_y): adjust
3413         (workWidth): adjust
3414         (leftMargin): adjust
3415         (prepareToPrint): adjust
3416         (getRow): adjust
3417         (getRowNearY): adjust
3418
3419         * lyxtext.h: make rowlist_ mutable.
3420
3421         * RowList.h: add const_iterator
3422         * RowList.C: adjust for RowList::const_iterator.
3423
3424         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3425         adjust.
3426
3427 2003-03-31  John Levon  <levon@movementarian.org>
3428
3429         * lyxrc.h:
3430         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3431
3432         * lyx_main.C: set default fonts from using lyx_gui funcs
3433
3434         * exporter.C: pdf_mode moved from lyxrc
3435
3436         * lyx_cb.C:
3437         * lyxfunc.C: changes from above
3438
3439 2003-03-31  John Levon  <levon@movementarian.org>
3440
3441         * lyx_main.C: fix to the last fix
3442
3443 2003-03-31  John Levon  <levon@movementarian.org>
3444
3445         * bufferlist.C: "Load original" -> "Load Original"
3446
3447         * converter.C:
3448         * exporter.C:
3449         * importer.C:
3450         * lyx_main.C:
3451         * format.C: more Alert cleanups
3452
3453 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3454
3455         * text2.C (removeParagraph): make it take a RowList::iterator as
3456         arg, adjust.
3457         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3458         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3459
3460         * text.C (anchor_row): make it take a RowList::iterator as arg,
3461         adjust.
3462         (computeBidiTables): make it take a const reference to Row instead
3463         of Row pointer, adjust.
3464         (leftMargin): make it take a RowList::iterator as arg, adjust.
3465         (rowBreakPoint): adjust
3466         (breakAgainOneRow): make it take a RowList::iterator as arg,
3467         adjust.
3468         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3469
3470         * bufferview_funcs.C (toggleAndShow): adjust
3471
3472 2003-03-30  John Levon  <levon@movementarian.org>
3473
3474         * Makefile.am:
3475         * BoostFormat.h:
3476         * boost-inst.C: moved to support
3477
3478         * several files: changes as a result
3479
3480 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3481
3482         * text2.C (LyXText): adjust.
3483         (init): adjust
3484         (removeRow): make it take a RowList::iterator as arg, adjust.
3485         (fullRebreak): adjust
3486         (deleteEmptyParagraphMechanism): adjust
3487         (clearPaint): adjust
3488         (postPaint): adjust
3489
3490         * text.C (top_y): adjust
3491         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3492         (breakAgain): make it take a RowList::iterator as arg, adjust.
3493         (breakParagraph): adjust
3494         (insertChar): adjust
3495         (backspace): adjust
3496
3497         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3498         need_break_row, and refresh_row.
3499
3500         * text3.C (dispatch): adjust
3501
3502         * text2.C (checkParagraph): adjust
3503         (setCursor): adjust
3504         (setCursorFromCoordinates): adjust
3505
3506         * text.C (top_y): adjust
3507         (workWidth): adjust
3508         (getRow): make it return a RowList::iterator, adjust
3509         (getRowNearY): make it return a RowList::iterator, adjust
3510
3511         * text2.C (init): adjust
3512         (insertRow): remove function
3513         (insertParagraph): adjust
3514         (redoParagraphs): adjust
3515         (fullRebreak): adjust
3516         (updateCounters): adjust
3517
3518         * text.C (top_y): rewrite to use RowList iterators.
3519         (top_y): adjust
3520         (setHeightOfRow): rewrite to sue RowList iterators.
3521         (appendParagraph): adjust
3522         (breakAgain): adjust
3523         (breakAgainOneRow): adjust
3524         (breakParagraph): adjust
3525         (getRow): adjust
3526         (getRowNearY): adjust, and remove commented code.
3527
3528         * lyxtext.h (firstRow): delete function
3529         (lastRow): delete function
3530         (rows): new function (const and non-const versions.)
3531         (insertRow): delete function
3532
3533         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3534
3535 2003-03-29  John Levon  <levon@movementarian.org>
3536
3537         * BufferView_pimpl.C: always update scrollbar top
3538         because pasting text when we're anchored could mean we
3539         miss an update altogether
3540
3541 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3542
3543         * text2.C (init): use rowlist_.end() and not 0.
3544         (insertRow): change to take a RowList::iterator as arg, adjust
3545         for this.
3546         (insertParagraph): change to take a RowList::iterator as arg,
3547         adjust for this.
3548         (redoParagraphs): remove some debug msgs.
3549
3550         * text.C (appendParagraph): change to take a RowList::iterator
3551         arg, adjust for this.
3552         (breakAgain): add an assert
3553         (breakAgainOneRow): ditto
3554
3555 2003-03-29  John Levon  <levon@movementarian.org>
3556
3557         * text2.C: do not clear selection after inc/decDepth
3558         (bug 550)
3559
3560 2003-03-29  John Levon  <levon@movementarian.org>
3561
3562         * BufferView.C:
3563         * buffer.C: fix broken strerrors according to Lars
3564
3565 2003-03-29  John Levon  <levon@movementarian.org>
3566
3567         * converters.C: more Alert cleanups
3568
3569 2003-03-29  John Levon  <levon@movementarian.org>
3570
3571         * bufferview_funcs.C: remove pointless Alert
3572
3573         * buffer.C: fix confusing error message when
3574         a template is chmoded 000
3575
3576 2003-03-29  John Levon  <levon@movementarian.org>
3577
3578         * BufferView.C:
3579         * BufferView.h:
3580         * BufferView_pimpl.C: Alert fixes
3581
3582         * Makefile.am:
3583         * tabular.C:
3584         * tabular-old.C: remove unused table compat reading
3585
3586 2003-03-29  John Levon  <levon@movementarian.org>
3587
3588         * BufferView.C:
3589         * buffer.C:
3590         * lyx_cb.h:
3591         * lyx_cb.C: more Alert cleanups
3592
3593         * lyxfunc.C: don't allow chktex if not latex document
3594
3595 2003-03-29  John Levon  <levon@movementarian.org>
3596
3597         * lyx_cb.C:
3598         * BufferView.C:
3599         * buffer.C: warnings pushed down from support/,
3600         kill err_alert
3601
3602 2003-03-29  John Levon  <levon@movementarian.org>
3603
3604         * lyxfunc.C: safety check for C-r (revert)
3605
3606 2003-03-29  John Levon  <levon@movementarian.org>
3607
3608         * bufferlist.h:
3609         * bufferlist.C: several UI fixes using Alert::prompt.
3610         Fix the pointless looping quit code. Fix stupid revert
3611         behaviour (bug 938)
3612
3613         * lyxvc.h:
3614         * lyxvc.C:
3615         * lyx_cb.C: use Alert::prompt
3616
3617         * lyx_main.C: remove a silly question
3618
3619         * lyxfunc.C: remove a couple of silly questions,
3620         use Alert::prompt
3621
3622 2003-03-28  John Levon  <levon@movementarian.org>
3623
3624         * text2.C: fix bug 974 (End on empty par)
3625
3626 2003-03-28  John Levon  <levon@movementarian.org>
3627
3628         * BufferView_pimpl.C:
3629         * LyXAction.C:
3630         * lfuns.h: remove do-nothing math greek lfuns
3631
3632 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3633
3634         * lyxgluelength.h (isValidGlueLength): add default arg on
3635         parameter 2. Remove default arg from friend in class.
3636
3637         * lyxlength.h (isValidLength): add default arg on parameter 2.
3638         Remove default arg from friend in class.
3639
3640         * text2.C (LyXText): adjust, initialize refresh_row.
3641         (init): adjust
3642         (removeRow): adjust
3643         (insertRow): adjust
3644         (insertParagraph): adjst
3645         (redoParagraphs): adjust
3646         (fullRebreak): adjust
3647         (updateCounters): adjust
3648         (deleteEmptyParagraphMechanism): first attempt at fixing a
3649         crashing bug.
3650
3651         * text.C (top_y): adjust
3652         (setHeightOfRow): adjust
3653         (getRow): adjust
3654         (getRowNearY): adjust
3655
3656         * lyxtext.h: include RowList.h
3657         (~LyXText): not needed anymore, deleted.
3658         (firstRow): modify for RowList
3659         (lastRow): new function
3660         Delete firstrow and lastrow class variables, add a Rowlist
3661         rowlist_ class variable.
3662
3663         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3664         paragraph is empty.
3665
3666         * RowList.C (insert): fix case where it == begin().
3667
3668 2003-03-26  Angus Leeming  <leeming@lyx.org>
3669
3670         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3671         the thesaurus dialog.
3672
3673 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3674
3675         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3676
3677         * RowList.[Ch]: new files
3678
3679         * ParagraphList.C (erase): handle the case where it == begin
3680         correctly.
3681
3682 2003-03-25  John Levon  <levon@movementarian.org>
3683
3684         * Makefile.am:
3685         * aspell_local.h:
3686         * aspell.C: add new aspell support
3687
3688         * lyxrc.h:
3689         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3690         have it accessible.
3691
3692 2003-03-25  Angus Leeming  <leeming@lyx.org>
3693
3694         * lfuns.h:
3695         * LyXAction.C (init): new LFUN_INSET_INSERT.
3696
3697         * BufferView_pimpl.C (dispatch): split out part of the
3698         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3699
3700         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3701         LFUN_INSET_APPLY.
3702
3703 2003-03-25  Angus Leeming  <leeming@lyx.org>
3704
3705         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3706
3707 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3708
3709         * text2.C:
3710         * text3.C: remove useless row->height(0)
3711
3712 2003-03-25  John Levon  <levon@movementarian.org>
3713
3714         * lyxtext.h:
3715         * text2.C:
3716         * text3.C: rename the refreshing stuff to better names
3717
3718 2003-03-24  John Levon  <levon@movementarian.org>
3719
3720         * BufferView_pimpl.h:
3721         * BufferView_pimpl.C: update layout choice on a mouse
3722         press/release
3723
3724 2003-03-23  John Levon  <levon@movementarian.org>
3725
3726         * Makefile.am: fix commandtags.h reference
3727
3728 2003-03-22  John Levon  <levon@movementarian.org>
3729
3730         * BufferView_pimpl.C:
3731         * lyxtext.h:
3732         * rowpainter.C:
3733         * rowpainter.h:
3734         * text.C:
3735         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3736
3737 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3738
3739         * lyxtext.h:
3740         * text.C: take the rtl methods out of line
3741
3742 2003-03-21 André Pönitz <poenitz@gmx.net>
3743
3744         * metricsinfo.[Ch]: new files containing structures to be passed around
3745         during the two-phase-drawing...
3746
3747 2003-03-21 André Pönitz <poenitz@gmx.net>
3748
3749         * lyxtextclass.C: read 'environment' tag.
3750
3751 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3752
3753         * text2.C (removeRow): fix bug 964
3754
3755 2003-03-20  John Levon  <levon@movementarian.org>
3756
3757         * rowpainter.C:
3758         * text.C:
3759         * text2.C: paint cleanups. Inset::update() dropped font
3760         parameter
3761
3762 2003-03-19  John Levon  <levon@movementarian.org>
3763
3764         * lyxfunc.C: only fitcursor/markDirty if available()
3765
3766 2003-03-19  John Levon  <levon@movementarian.org>
3767
3768         * commandtags.h: rename to ...
3769
3770         * lfuns.h: ... this, and renumber / cleanup
3771
3772 2003-03-19  John Levon  <levon@movementarian.org>
3773
3774         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3775         fit the cursor after an lfun
3776
3777         * BufferView.h:
3778         * BufferView.C:
3779         * BufferView_pimpl.h:
3780         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3781
3782         * LyXAction.C: layout-character should have ReadOnly
3783
3784         * ParagraphParameters.C:
3785         * buffer.C:
3786         * bufferview_funcs.C:
3787         * lyx_cb.C:
3788         * lyxfind.C:
3789         * lyxtext.h:
3790         * text.C:
3791         * text2.C:
3792         * text3.C:
3793         * undo_funcs.C: changes from above
3794
3795 2003-03-18  John Levon  <levon@movementarian.org>
3796
3797         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3798         remove it from update()
3799
3800         * lyxfunc.C: update layout choice after an lfun
3801
3802         * text3.C: remove extra updateLayoutChoice()s
3803
3804 2003-03-18  John Levon  <levon@movementarian.org>
3805
3806         * text.C: top_y change means full repaint, fix
3807         a drawing bug with cursor movement
3808
3809 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3810
3811         * lyxtext.h:
3812         * text.C:
3813         * text2.C: anchor row on setCursor
3814
3815 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3816
3817         * lyxtext.h: remove almost all mutable keywords
3818         * text.C:
3819         * text2.C:
3820         * text3.C: remove const keywords accordingly
3821
3822 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3823
3824         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3825         anon namespace
3826         (TeXEnvironment): ditto
3827         (TeXOnePar): ditto
3828
3829 2003-03-17  John Levon  <levon@movementarian.org>
3830
3831         * text.C (rowBreakPoint): remove attempt to fix displayed
3832         math insets inside a manual label
3833
3834 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3835
3836         * lyxtext.h: remove BufferView* as first arg from almost all class
3837         functions.
3838         * other files: adjust.
3839
3840 2003-03-17  John Levon  <levon@movementarian.org>
3841
3842         * lyxtext.h:
3843         * undo_funcs.C:
3844         * text2.C: more paint cleanups
3845
3846         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3847
3848         * rowpainter.h:
3849         * rowpainter.C: remove "smart" background painting code
3850
3851 2003-03-16  John Levon  <levon@movementarian.org>
3852
3853         * lyxtext.h:
3854         * text.C:
3855         * text2.C:
3856         * text3.C: add helper functions for setting refresh_row/y
3857
3858 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3859
3860         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3861         newline inset which *can* get inserted in the pass_thru layouts.
3862         This is primarily for literate documents.
3863
3864 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3865
3866         * buffer.C: increment LYX_FORMAT to 223
3867
3868 2003-03-14 André Pönitz <poenitz@gmx.net>
3869
3870         * textclass.h: prepare for environment handling, ws changes
3871         * lyxlayout.C: read latexheader and latexfooter tags
3872
3873 2003-03-14  John Levon  <levon@movementarian.org>
3874
3875         * text2.C: rewrite ::status() a bit
3876
3877 2003-03-13  John Levon  <levon@movementarian.org>
3878
3879         * lyxtext.h: add some docs
3880
3881 2003-03-13  John Levon  <levon@movementarian.org>
3882
3883         * lyxtext.h:
3884         * text.C:
3885         * text2.C:
3886         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3887
3888 2003-03-13  John Levon  <levon@movementarian.org>
3889
3890         * text3.C: fix appendix redrawing
3891
3892 2003-03-13  John Levon  <levon@movementarian.org>
3893
3894         * text.C (setHeightOfRow):
3895         * rowpainter.h:
3896         * rowpainter.C: make appendix mark have the text
3897           "Appendix" so the user knows what it is
3898
3899         * LColor.h:
3900         * LColor.C: s/appendixline/appendix/ from above
3901
3902 2003-03-13  John Levon  <levon@movementarian.org>
3903
3904         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3905
3906         * text.C: fix a getChar(pos) bug properly
3907
3908 2003-03-13  Angus Leeming  <leeming@lyx.org>
3909
3910         * commandtags.h:
3911         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3912         Probably only temporary. Let's see how things pan out.
3913
3914         * BufferView.C (unlockInset):
3915         * BufferView_pimpl.C (fitCursor):
3916         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3917
3918         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3919         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3920
3921         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3922         new functions that convert ParagraphParameters to and from a string.
3923
3924         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3925         BufferView::Pimpl's dispatch.
3926         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3927
3928 2003-03-13 André Pönitz <poenitz@gmx.net>
3929
3930         * lyxfunc.C:
3931         * text3.C:
3932         * factory.C: make it aware of InsetEnv
3933
3934 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3935
3936         * text2.C (setCursor): never ask for one past last
3937         (setCursor): add some debugging messages.
3938
3939         * text.C (singleWidth): never ask for one past last
3940         (singleWidth): ditto
3941         (leftMargin): ditto
3942         (rightMargin): ditto
3943         (rowBreakPoint): ditto
3944         (setHeightOfRow): ditto
3945         (prepareToPrint): ditto
3946
3947         * rowpainter.C (paintBackground): never ask for one past last
3948         (paintText): never ask for one past last
3949
3950         * paragraph_pimpl.C (getChar): make the assert stricter, never
3951         allow the one past last pos to be taken
3952
3953         * paragraph.C (getChar): ws changes only
3954
3955         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3956         (numberOfSeparators): ditto
3957         (numberOfHfills): ditto
3958
3959 2003-03-12  John Levon  <levon@movementarian.org>
3960
3961         * author.h:
3962         * author.C:
3963         * bufferparams.h:
3964         * bufferparams.C:
3965         * paragraph_funcs.C: fix per-buffer authorlists
3966
3967 2003-03-12  John Levon  <levon@movementarian.org>
3968
3969         * text.C: fix newline in right address
3970
3971 2003-03-12  Angus Leeming  <leeming@lyx.org>
3972
3973         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3974         duplicate those in LyXFunc::dispatch.
3975
3976         * commandtags.h:
3977         * LyXAction.C:
3978         * ToolbarDefaults.C:
3979         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3980         Add LFUN_FONTFREE_UPDATE.
3981
3982         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3983         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3984
3985         * bufferview_func.[Ch]: several new functions to facilliate
3986         transfer of data to and from the character dialog.
3987
3988 2003-03-12  John Levon  <levon@movementarian.org>
3989
3990         * buffer.C:
3991         * paragraph.h:
3992         * paragraph.C:
3993         * paragraph_funcs.C:
3994         * paragraph_pimpl.C:
3995         * sgml.C:
3996         * tabular.C:
3997         * text.C:
3998         * text3.C: remove META_NEWLINE in favour of an inset
3999
4000         * rowpainter.h:
4001         * rowpainter.C: remove paintNewline (done by inset)
4002
4003 2003-03-12  John Levon  <levon@movementarian.org>
4004
4005         * paragraph_pimpl.C: complain about bad getChar()s
4006         for a while at least
4007
4008 2003-03-12  John Levon  <levon@movementarian.org>
4009
4010         * buffer.h:
4011         * buffer.C: move paragraph read into a separate function,
4012         a little renaming to reflect that.
4013
4014         * bufferparams.h:
4015         * bufferparams.C: remove the author_ids map, not necessary now
4016
4017         * factory.h:
4018         * factory.C: moved Buffer::readInset to here
4019
4020         * paragraph_funcs.h:
4021         * paragraph_funcs.C: readParagraph free function moved from
4022         buffer.C
4023
4024         * tabular.C: name change
4025
4026 2003-03-12  John Levon  <levon@movementarian.org>
4027
4028         * buffer.C:
4029         * ParagraphParameters.C: move par params input to
4030         a read() method
4031
4032         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4033         behave like a normal read from the stream wrt reading
4034         a line vs. a \\token
4035
4036 2003-03-12  John Levon  <levon@movementarian.org>
4037
4038         * paragraph.C:
4039         * ParagraphParameters.h:
4040         * ParagraphParameters.C: move output code to a
4041         ::write() method
4042
4043 2003-03-12  John Levon  <levon@movementarian.org>
4044
4045         * BufferView.C (insertLyXFile):
4046         * buffer.h:
4047         * buffer.C:
4048         * tabular.C: use a parlist iterator for creating the
4049           document.
4050
4051 2003-03-12  John Levon  <levon@movementarian.org>
4052
4053         * buffer.C: make current_change static local not
4054           static file-scope
4055
4056 2003-03-12  John Levon  <levon@movementarian.org>
4057
4058         * buffer.C: fix insertStringAsLines for change tracking
4059
4060 2003-03-12  John Levon  <levon@movementarian.org>
4061
4062         * BufferView.C:
4063         * tabular.C:
4064         * buffer.h:
4065         * buffer.C:
4066         * bufferparams.h:
4067         * bufferparams.C: move author list into params. Rename some
4068           functions. Move the header reading into a separate token
4069           loop. Move the header token reading into BufferParams.
4070
4071 2003-03-12  John Levon  <levon@movementarian.org>
4072
4073         * changes.C: put debug inside lyxerr.debugging() checks
4074
4075 2003-03-11 André Pönitz <poenitz@gmx.net>
4076
4077         * factory.C: make it aware of InsetHFill
4078
4079 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4080
4081         * buffer.C (latexParagraphs): move function from here...
4082         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4083         args.
4084
4085 2003-03-10  Angus Leeming  <leeming@lyx.org>
4086
4087         * LyXAction.C (init): fix bug in poplating array with multiple entries
4088         with the same LFUN (spotted by JMarc).
4089
4090 2003-03-10  John Levon  <levon@movementarian.org>
4091
4092         * text.C:
4093         * text2.C: move getColumnNearX() near its
4094         only call site
4095
4096 2003-03-10  John Levon  <levon@movementarian.org>
4097
4098         * text.C: fix break before a minipage
4099
4100 2003-03-10  John Levon  <levon@movementarian.org>
4101
4102         * text.C: fix the last commit
4103
4104 2003-03-09  John Levon  <levon@movementarian.org>
4105
4106         * lyxtext.h:
4107         * text.C:
4108         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4109         bug 365 (don't break before insets unless needed). Don't
4110         return a value > last under any circumstances.
4111
4112 2003-03-09  Angus Leeming  <leeming@lyx.org>
4113
4114         * BufferView_pimpl.C (trackChanges, dispatch): call
4115         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4116
4117 2003-03-09  Angus Leeming  <leeming@lyx.org>
4118
4119         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4120         than Dialogs::showAboutlyx().
4121
4122 2003-03-09  Angus Leeming  <leeming@lyx.org>
4123
4124         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4125         than Dialogs::showTabularCreate().
4126
4127 2003-03-09  John Levon  <levon@movementarian.org>
4128
4129         * lyxtext.h:
4130         * text.C:
4131         * text2.C: 3rd arg to nextBreakPoint was always the same.
4132           Use references.
4133
4134 2003-03-08  John Levon  <levon@movementarian.org>
4135
4136         * lyxrow.C:
4137         * paragraph.C:
4138         * paragraph.h:
4139         * rowpainter.C:
4140         * text.C:
4141         * text2.C: Remove the "main" bit from the "main body"
4142           notion.
4143
4144 2003-03-08  John Levon  <levon@movementarian.org>
4145
4146         * text.C (leftMargin): The left margin of an empty
4147         manual label paragraph should not include the label width
4148         string length.
4149
4150         * text.C (prepareToPrint): don't attempt to measure hfills
4151         for empty manual label paragraphs - the answer should be 0
4152
4153 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * CutAndPaste.C: remove commented code and reindent.
4156
4157 2003-03-08  John Levon  <levon@movementarian.org>
4158
4159         * lyxfunc.h:
4160         * lyxfunc.C: move reloadBuffer()
4161
4162         * BufferView.h:
4163         * BufferView.C: to here
4164
4165         * lyxvc.C: add comment
4166
4167         * vc-backend.h:
4168         * vc-backend.C: call bv->reload() to avoid
4169           getStatus() check on MENURELOAD
4170
4171 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4172
4173         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4174         to an old format .dep file.
4175
4176 2003-03-07  Angus Leeming  <leeming@lyx.org>
4177
4178         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4179         when the LFUN_MOUSE_RELEASE should have been handled by
4180         inset->localDispatch.
4181
4182 2003-03-07  Angus Leeming  <leeming@lyx.org>
4183
4184         * BufferView_pimpl.C (dispatch):
4185         * LyXAction.C (init):
4186         * ToolbarDefaults.C (init):
4187         * commandtags.h:
4188         * lyxfunc.C (getStatus):
4189         remove LFUN_INSET_GRAPHICS.
4190
4191         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4192
4193 2003-03-07  Angus Leeming  <leeming@lyx.org>
4194
4195         * commandtags.h:
4196         * LyXAction.C (init):
4197         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4198
4199         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4200
4201         * commandtags.h:
4202         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4203
4204         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4205         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4206
4207 2003-03-07  Angus Leeming  <leeming@lyx.org>
4208
4209         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4210         remove "ert".
4211
4212 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4213
4214         * ParagraphList.C (front): new function
4215         (back): implement
4216
4217 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4218
4219         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4220         and top_row_offset_. removed var first_y.
4221         * text.C (top_y):
4222         * text2.C (LyXText, removeRow):
4223         * text3.C:
4224         * BufferView_pimpl.C:
4225         use these methods instead of using first_y
4226
4227 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4228
4229         * text2.C (pasteSelection): adjust for checkPastePossible
4230
4231         * CutAndPaste.C: remove Paragraph * buf and replace with
4232         ParagraphList paragraphs.
4233         (DeleteBuffer): delete
4234         (cutSelection): change the tc type to textclass_type
4235         (copySelection): change the tc type to textclass_type
4236         (copySelection): adjust for ParagraphList
4237         (pasteSelection): change the tc type to textclass_type
4238         (pasteSelection): adjust for Paragraphlist
4239         (nrOfParagraphs): simplify for ParagraphList
4240         (checkPastePossible): simplify for ParagraphList
4241         (checkPastePossible): remove unused arg
4242
4243         * ParagraphList.C (insert): handle the case where there are no
4244         paragraphs yet.
4245
4246         * CutAndPaste.h: make CutAndPaste a namespace.
4247
4248         * text3.C (dispatch): adjust
4249
4250         * text.C (breakParagraph): add a ParagraphList as arg
4251
4252         * paragraph_funcs.C (breakParagraph): change to take a
4253         BufferParams and a ParagraphList as args.
4254         (breakParagraphConservative): ditto
4255         (mergeParagraph): ditto
4256         (TeXDeeper): add a ParagraphList arg
4257         (TeXEnvironment): ditto
4258         (TeXOnePar): ditto
4259
4260         * buffer.C (readLyXformat2): adjust
4261         (insertStringAsLines): adjust
4262         (latexParagraphs): adjust
4263
4264         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4265         (cutSelection): adjust
4266         (pasteSelection): adjust
4267
4268         * BufferView_pimpl.C (insertInset): adjust
4269
4270 2003-03-05  Angus Leeming  <leeming@lyx.org>
4271
4272         * commandtags.h:
4273         * LyXAction.C (init):
4274         * BufferView_pimpl.C (dispatch):
4275         * lyxfunc.C (getStatus):
4276         remove LFUN_CHILD_INSERT.
4277
4278         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4279
4280 2003-03-05  Angus Leeming  <leeming@lyx.org>
4281
4282         * commandtags.h:
4283         * LyXAction.C (init):
4284         * src/factory.C (createInset):
4285         * lyxfunc.C (getStatus):
4286         * text3.C (dispatch):
4287         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4288
4289         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4290
4291 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4292
4293         * ParagraphList.C (insert): handle insert right before end()
4294         (erase): fix cases where it can be first or last paragraph.
4295
4296 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4297
4298         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4299         Paragraph::next and Paragraph::previous
4300         (TeXOnePar): ditto
4301
4302         * text.C (breakParagraph): adjust
4303
4304         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4305         BufferParams& as arg.
4306         (breakParagraph): use ParagraphList::insert
4307         (breakParagraphConservative): take a Buffer* instead of a
4308         BufferParams& as arg.
4309         (breakParagraphConservative): use ParagraphList::insert.
4310
4311         * buffer.C (insertStringAsLines): un-const it
4312         (insertStringAsLines): adjust
4313
4314         * ParagraphList.C (insert): new function
4315
4316         * CutAndPaste.C (pasteSelection): adjust
4317
4318         * text.C (backspace): adjust
4319
4320         * tabular.C (SetMultiColumn): adjust
4321
4322         * CutAndPaste.C (cutSelection): adjust
4323         (pasteSelection): adjust
4324
4325         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4326         Buffer const * as arg
4327
4328         * ParagraphList.C (erase): new function
4329         * paragraph_funcs.C (mergeParagraph): use it
4330         (mergeParagraph): make it take a Buffer* instead of a
4331         BufferParams* as arg
4332
4333         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4334         as arg
4335         (breakParagraphConservative): ditto
4336
4337         * paragraph.h: remove the breakParagraph friend
4338
4339         * paragraph.C (eraseIntern): new function
4340         (setChange): new function
4341
4342         * paragraph_funcs.C (mergeParagraph): make it take a
4343         ParagraphList::iterator instead of a Paragraph *, adjust
4344         accordingly.
4345
4346         * paragraph.h: move an #endif so that the change tracking stuff
4347         also works in the NO_NEXT case.
4348
4349 2003-03-04  Angus Leeming  <leeming@lyx.org>
4350
4351         * commandtags.h:
4352         * LyXAction.C: new LFUN_INSET_MODIFY.
4353
4354         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4355         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4356
4357 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * several files: ws changes only
4360
4361         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4362         (TeXEnvironment): ditto
4363         (TeXDeeper): ditto
4364
4365         * buffer.C (makeLaTeXFile): adjust
4366         (latexParagraphs): make it take ParagraphList::iterator as args
4367
4368 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * buffer.C (latexParagraphs): adjust
4371
4372         * paragraph.C (TeXOnePar): move function...
4373         (optArgInset): move function...
4374         (TeXEnvironment): move function...
4375         * paragraph_pimpl.C (TeXDeeper): move function...
4376         * paragraph_funcs.C: ...here
4377
4378         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4379
4380 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4381
4382         * buffer.C (readInset): remove compability code for old Figure and
4383         InsetInfo insets
4384
4385 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4386
4387         * buffer.C: ws changes
4388         (readInset):
4389
4390         * BufferView_pimpl.C: ditto
4391         * author.C: ditto
4392         * buffer.h: ditto
4393         * bufferlist.h: ditto
4394         * changes.h: ditto
4395         * lyxfunc.C: ditto
4396
4397 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4398
4399         * converter.[Ch]: split into itself +
4400         * graph.[Ch]
4401         * format.[Ch]
4402         * Makefile.am: += graph.[Ch] + format.[Ch]
4403         * MenuBackend.C
4404         * buffer.C
4405         * exporter.C
4406         * importer.C
4407         * lyx_main.C
4408         * lyxfunc.C
4409         * lyxrc.C: added #include "format.h"
4410
4411 2003-02-27  Angus Leeming  <leeming@lyx.org>
4412
4413         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4414           a label.
4415
4416         * factory.C (createInset): add "label" to the factory.
4417
4418         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4419           string and do no more.
4420
4421 2003-02-27  Angus Leeming  <leeming@lyx.org>
4422
4423         * commandtags.h:
4424         * LyXAction.C (init):
4425         * factory.C (createInset):
4426         * BufferView_pimpl.C (dispatch):
4427           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4428
4429         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4430
4431         * lyxfunc.C (dispatch):
4432         * text3.C (dispatch): pass name to params2string.
4433
4434 2003-02-26  Angus Leeming  <leeming@lyx.org>
4435
4436         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4437           blocks together.
4438           Rearrange the ~includes. Strip out the unnecessary ones.
4439
4440         * factory.C (createInset): reformat.
4441           create new insets for the various LFUN_XYZ_APPLY lfuns.
4442
4443 2003-02-26  John Levon  <levon@movementarian.org>
4444
4445         * lyxrow.h:
4446         * lyxrow.C: add isParStart,isParEnd helpers
4447
4448         * paragraph.h: make isInserted/DeletedText take refs
4449
4450         * paragraph_funcs.h:
4451         * paragraph_funcs.C: remove #if 0'd code
4452
4453         * lyxtext.h:
4454         * text3.C:
4455         * text2.C:
4456         * text.C: use lyxrow helpers above.
4457           Move draw and paint routines to RowPainter.
4458           Make several methods use refs not pointers.
4459           Make backgroundColor() const.
4460           Add markChangeInDraw(), isInInset().
4461           Merge changeRegionCase into changeCase.
4462           Make workWidth() shouldn't-happen code into an Assert.
4463
4464         * rowpainter.h:
4465         * rowpainter.C: new class for painting a row.
4466
4467         * vspace.h:
4468         * vspace.C: make inPixels take a ref
4469
4470 2003-02-26  Angus Leeming  <leeming@lyx.org>
4471
4472         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4473         LFUN_REF_APPLY.
4474
4475 2003-02-25  John Levon  <levon@movementarian.org>
4476
4477         * ispell.C: give the forked command a more accurate name
4478
4479 2003-02-22  John Levon  <levon@movementarian.org>
4480
4481         * toc.h:
4482         * toc.C: make TocItem store an id not a Paragraph *
4483           (bug #913)
4484
4485 2003-02-21  Angus Leeming  <leeming@lyx.org>
4486
4487         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4488           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4489           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4490           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4491           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4492           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4493
4494         * BufferView_pimpl.C (dispatch):
4495         * LyXAction.C (init):
4496         * factory.C (createInset):
4497         * lyxfunc.C (getStatus, dispatch):
4498         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4499
4500 2003-02-21  Angus Leeming  <leeming@lyx.org>
4501
4502         * BufferView_pimpl.C (MenuInsertLyXFile):
4503         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4504         * lyxfunc.C (menuNew, open, doImport):
4505           no longer pass a LyXView & to fileDlg.
4506
4507 2003-02-21  Angus Leeming  <leeming@lyx.org>
4508
4509         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4510         * LyXAction.C: change, BIBKEY to BIBITEM.
4511         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4512         Change InsetBibKey to InsetBibitem.
4513         Change BIBKEY_CODE to BIBITEM_CODE.
4514         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4515         * factory.C: replace insetbib.h with insetbibitem.h.
4516         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4517         * paragraph.C: replace insetbib.h with insetbibitem.h.
4518         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4519         Change bibkey() to bibitem().
4520         * text.C: remove insetbib.h.
4521         * text2.C: replace insetbib.h with insetbibitem.h.
4522         change bibkey() to bibitem().
4523         * text3.C: remove insetbib.h.
4524         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4525
4526 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4527
4528         * lyxrc.C (output): enclose user email in quotes (in case there are
4529         several words)
4530
4531 2003-02-18  John Levon  <levon@movementarian.org>
4532
4533         * buffer.h: add std::
4534
4535 2003-02-17  John Levon  <levon@movementarian.org>
4536
4537         * SpellBase.h:
4538         * ispell.h:
4539         * ispell.C:
4540         * pspell.h:
4541         * pspell.C: reworking. Especially in ispell, a large
4542           number of clean ups and bug fixes.
4543
4544         * lyxfunc.C: fix revert to behave sensibly
4545
4546 2003-02-17 André Pönitz <poenitz@gmx.net>
4547
4548         * LyXAction.C:
4549         * commandtags.h: new LFUN_INSERT_BIBKEY
4550
4551         * layout.h:
4552         * lyxlayout.C:
4553         * buffer.C:
4554         * factory.C:
4555         * text.C:
4556         * text2.C:
4557         * text3.C:
4558         * paragraph.[Ch]:
4559         * paragraph_func.C: remove special bibkey handling
4560
4561 2003-02-17  John Levon  <levon@movementarian.org>
4562
4563         * text.C (Delete): fix case where delete at the end of
4564           the very first paragraph would not merge the pars
4565
4566 2003-02-17  John Levon  <levon@movementarian.org>
4567
4568         * lyxrow.C: fix lastPrintablePos()
4569
4570 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4571
4572         * bufferparams.C (writeLaTeX): add a std:here
4573
4574         * buffer.C: and remove a using directive there
4575
4576 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4577
4578         * buffer.C (makeLaTeXFile): move the code that generates the
4579           preamble...
4580
4581         * bufferparams.C (writeLaTeX): ... in this new method
4582
4583         * LaTeXFeatures.C (getEncodingSet): make const
4584           (getLanguages): make const
4585
4586         * MenuBackend.C (binding): returns the binding associated to this
4587           action
4588           (add): sets the status of each item by calling getStatus. Adds
4589           some intelligence.
4590           (read): add support for OptSubMenu
4591           (expand): remove extra separator at the end of expanded menu
4592
4593 2003-02-15  John Levon  <levon@movementarian.org>
4594
4595         * BufferView.C:
4596         * BufferView_pimpl.C:
4597         * bufferlist.h:
4598         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4599           inset code that had no actual effect. Remove unneeded status
4600           code.
4601
4602 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4603
4604         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4605           in preamble
4606
4607 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4608
4609         * text.C (drawLengthMarker): also draw an arrow marker for
4610           symbolic lengths (medskip...)
4611
4612 2003-02-14  John Levon  <levon@movementarian.org>
4613
4614         * tabular.h:
4615         * tabular.C: better method names
4616
4617 2003-02-14  John Levon  <levon@movementarian.org>
4618
4619         * BufferView_pimpl.C:
4620         * bufferlist.C:
4621         * buffer.C:
4622         * converter.C:
4623         * lyx_cb.C:
4624         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4625           it's a more accurate name. Remove some pointless uses.
4626
4627 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4628
4629         * text2.C (LyXText): change order of initilizers to shut off
4630           warnings
4631
4632 2003-02-14  John Levon  <levon@movementarian.org>
4633
4634         * buffer.C: use ParIterator for getParFromID()
4635
4636         * paragraph.h:
4637         * paragraph.C:
4638         * paragraph_pimpl.h:
4639         * paragraph_pimpl.C: remove unused getParFromID()
4640
4641 2003-02-14  John Levon  <levon@movementarian.org>
4642
4643         * buffer.C: remove some very old #if 0'd parse code
4644
4645 2003-02-13  John Levon  <levon@movementarian.org>
4646
4647         * text.h:
4648         * text.C:
4649         * text2.C: move hfillExpansion(), numberOfSeparators(),
4650           rowLast(), rowLastPrintable(), numberofHfills(),
4651           numberOfLabelHfills() ...
4652
4653         * lyxrow.h:
4654         * lyxrow.C: ... to member functions here.
4655
4656         * paragraph.h:
4657         * paragraph.C:
4658         * lyxtext.h:
4659         * text.C: remove LyXText::beginningOfMainBody(), and call
4660           p->beginningOfMainBody() directly. Move the check for
4661           LABEL_MANUAL into the latter.
4662
4663         * text.h:
4664         * text.C:
4665         * text2.C:
4666         * vspace.C:
4667         * BufferView.h:
4668         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4669
4670         * text.h:
4671         * text.C:
4672         * text2.C:
4673         * text3.C:
4674         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4675           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4676
4677 2003-02-13  John Levon  <levon@movementarian.org>
4678
4679         * CutAndPaste.C: remove debug
4680
4681 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4682
4683         * paragraph.C (asString): remove two unused variables
4684
4685         * lyxtextclass.C (readTitleType):
4686           (Read):
4687           (LyXTextClass): handle new members titletype_ and titlename_
4688
4689         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4690
4691 2003-02-09  John Levon  <levon@movementarian.org>
4692
4693         * buffer.h:
4694         * buffer.C: replace hand-coded list with a map for the dep clean
4695
4696 2003-02-08  John Levon  <levon@movementarian.org>
4697
4698         * LaTeX.C: consolidate code into showRunMessage() helper
4699
4700 2003-02-08  John Levon  <levon@movementarian.org>
4701
4702         * lyxfind.C:
4703         * lyxtext.h:
4704         * text2.C:
4705         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4706           and pass the size in explicitly
4707
4708         * BufferView_pimpl.h:
4709         * BufferView_pimpl.C:
4710         * BufferView.h:
4711         * BufferView.C: add getCurrentChange()
4712
4713         * BufferView_pimpl.h:
4714         * BufferView_pimpl.C: handle change lfuns
4715
4716         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4717           for changes. Mark pasted paragraphs as new.
4718
4719         * support/lyxtime.h:
4720         * support/lyxtime.C:
4721         * DepTable.C: abstract time_t as lyx::time_type
4722
4723         * LColor.h:
4724         * LColor.C: add colours for new text, deleted text, changebars
4725
4726         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4727           package use "usenames" option.
4728
4729         * commandtags.h:
4730         * lyxfunc.C:
4731         * LyXAction.C: add change lfuns
4732
4733         * Makefile.am:
4734         * author.h:
4735         * author.C: author handling
4736
4737         * buffer.h:
4738         * buffer.C: add a per-buffer author list, with first entry as
4739           current author. Handle new .lyx tokens for change tracking. Output
4740           author list to .lyx file. Output dvipost stuff to .tex preamble.
4741           Bump lyx format to 222.
4742
4743         * bufferlist.h:
4744         * bufferlist.C: add setCurrentAuthor() to reset current author details
4745           in all buffers.
4746
4747         * bufferparams.h:
4748         * bufferparams.C: add param for tracking
4749
4750         * bufferview_funcs.C: output change info in minibuffer
4751
4752         * Makefile.am:
4753         * changes.h:
4754         * changes.C: add change-tracking structure
4755
4756         * debug.h:
4757         * debug.C: add CHANGES debug flag
4758
4759         * lyxfind.h:
4760         * lyxfind.C: add code for finding the next change piece
4761
4762         * lyxrc.h:
4763         * lyxrc.C: add user_name and user_email
4764
4765         * lyxrow.h:
4766         * lyxrow.C: add a metric for the top of the text line
4767
4768         * lyxtext.h:
4769         * text.C: implement accept/rejectChange()
4770
4771         * lyxtext.h:
4772         * text.C: paint changebars. Paint new/deleted text in the chosen
4773         colours. Strike through deleted text.
4774
4775         * paragraph.h:
4776         * paragraph.C:
4777         * paragraph_pimpl.h:
4778         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4779           in the current change to the insert functions. Rework erase to
4780           mark text as deleted, adding an eraseIntern() and a range-based
4781           erase(). Implement per-paragraph change lookup and
4782           accept/reject.
4783
4784         * paragraph_funcs.C: Fixup paste for change tracking.
4785
4786         * tabular.C: mark added row/columns as new.
4787
4788         * text.C: fix rowLast() to never return -1. Don't allow
4789           spellchecking of deleted text. Track transpose changes. Don't
4790           allow paragraph break or merge where appropriate.
4791
4792         * text2.C: leave cursor at end of selection after a cut.
4793
4794 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4795
4796         * text.C (getLengthMarkerHeight):
4797         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4798         visible on screen too.
4799
4800 2003-02-07  John Levon  <levon@movementarian.org>
4801
4802         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4803
4804 2003-02-05  Angus Leeming  <leeming@lyx.org>
4805
4806         * lyxserver.C (read_ready): revert my patch of 11 September last year
4807         as it sends PC cpu through the roof. Presumably this means that
4808         the lyxserver will no longer run on an Alpha...
4809
4810 2003-01-30  Angus Leeming  <leeming@lyx.org>
4811
4812         * factory.C (createInset): create an InsetCommandParam of type "index"
4813         and use it to 'do the right thing'.
4814
4815         * text2.C (getStringToIndex): ensure that cursor position is always
4816         reset to the reset_cursor position.
4817
4818 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4819
4820         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4821         disabled.
4822
4823 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4824
4825         * bufferview.C:
4826         * lyxcb.C:
4827         * lyxfunc.C: Output messages with identical spelling, punctuation,
4828         and spaces
4829
4830 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4831
4832         * MenuBackend.C (expandFormats): List only viewable export formats
4833         in "View" menu
4834
4835         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4836         message
4837
4838         * lyxfunc.C (getStatus): Make sure that formats other than
4839         "fax" can also be disabled
4840
4841 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4842
4843         * text3.C (dispatch): put the lfuns that insert insets in 3
4844         groups, and call doInsertInset with appropriate arguments.
4845         (doInsertInset): new function, that creates an inset and inserts
4846         it according to some boolean parameters.
4847
4848 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * buffer.C (readFile): remember to pass on 'par' when calling
4851         readFile recursively.
4852
4853 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4854
4855         * MenuBackend.C (expandFormats): add "..." to import formats.
4856
4857 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4858
4859         * paragraph.C (asString): Remove XForms RTL hacks.
4860
4861 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4862         * buffer.C: fix typo
4863
4864 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4865
4866         * Makefile.am (LIBS): delete var
4867         (lyx_LDADD): add @LIBS@ here instead.
4868
4869 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4870
4871         * Clarify the meaning of "wheel mouse jump"
4872
4873 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4874
4875         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4876         tabular in a float
4877
4878 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4879
4880         * importer.C (Loaders): do not preallocate 3 elements in the
4881         vector, since one ends up with 6 elements otherwise
4882
4883 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4884
4885         * DepTable.C (write): write the file name as last element of the
4886         .dep file (because it may contain spaces)
4887         (read): read info in the right order
4888
4889 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4890
4891         * paragraph_pimpl.C (simpleTeXBlanks):
4892         (simpleTeXSpecialChars):
4893         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4894
4895         * tabular.C (latex): add some missing case statements. Reindent.
4896
4897         * MenuBackend.C (expandToc): remove unused variable.
4898
4899 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4900
4901         * LColor.C:
4902         * LaTeX.C:
4903         * LyXAction.C:
4904         * MenuBackend.C:
4905         * buffer.C:
4906         * exporter.C:
4907         * lyxfunc.C:
4908         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4909         and the like.
4910
4911 2003-01-05  John Levon  <levon@movementarian.org>
4912
4913         * BufferView.h:
4914         * BufferView.C: add getEncoding()
4915
4916         * kbsequence.h:
4917         * kbsequence.C: do not store last keypress
4918
4919         * lyxfunc.h:
4920         * lyxfunc.C: store last keypress here instead. Pass encoding
4921           to getISOEncoded()
4922
4923 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4924
4925         * lyx_main.C (init): remove annoying error message when following
4926         symbolic links (bug #780)
4927
4928 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4929
4930         * text.C (insertChar):
4931         * lyxrc.C (getDescription): remove extra spaces
4932
4933 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4934
4935         * lyxrc.C (getDescription): remove extra spaces
4936
4937 2002-12-20  John Levon  <levon@movementarian.org>
4938
4939         * text3.C: hack fix for page up/down across tall rows
4940
4941 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4942
4943         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4944         not been invoked
4945
4946 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4947
4948         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4949         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4950         thesaurus is not compiled in
4951
4952 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4953
4954         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4955
4956 2002-12-16  Angus Leeming  <leeming@lyx.org>
4957
4958         * lyxrc.[Ch]:
4959         * lyx_main.C (init): remove override_x_deadkeys stuff.
4960
4961 2002-12-12  John Levon  <levon@movementarian.org>
4962
4963         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4964           insert. Only remove shift modifier under strict
4965           circumstances.
4966
4967 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * MenuBackend.C (expandToc): fix crash.
4970
4971 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4972
4973         * MenuBackend.C (expandToc): gettext on float names.
4974
4975 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4976
4977         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4978         implement bool empty() [bug 490]
4979
4980 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4981
4982         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4983
4984 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4985
4986         * several files: ws changes
4987
4988 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * text2.C (setCounter): clean up a bit, use boost.format.
4991         (updateCounters): initialize par upon declaration.
4992
4993         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4994         if the layout exists. We do not just store the layout any more.
4995         (SwitchLayoutsBetweenClasses): use boost.format
4996
4997 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4998
4999         * converter.C (convert): if from and to files are the same, use a
5000         temporary files as intermediary
5001
5002 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5003
5004         * commandtags.h:
5005         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5006
5007 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5008
5009         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5010
5011 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5012
5013         * tabular.C (asciiPrintCell): use string(size, char) instead of
5014         explicit loop.
5015
5016         * sgml.C (openTag): fix order of arguments to string constructor
5017         (closeTag): ditto
5018
5019         * lyxfunc.C (dispatch): use boost.format
5020
5021         * lots of files: change "c" -> 'c'
5022
5023 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5024
5025         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5026
5027 2002-11-25  Angus Leeming  <leeming@lyx.org>
5028
5029         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5030
5031         * lyx_main.C (init): compile fix.
5032
5033 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5034
5035         * lyx_cb.C (start): boost.formatify
5036         do not include <iostream>
5037
5038         * lengthcommon.C: ws only
5039
5040         * boost-inst.C,BoostFormat.h: add more explict instantations
5041
5042 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5043
5044         * lots of files: handle USE_BOOST_FORMAT
5045
5046 2002-11-21  John Levon  <levon@movementarian.org>
5047
5048         * pspell.C: fix compile
5049
5050 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5051
5052         * lyxfunc.C (dispatch): use boost::format
5053         (open): ditto
5054         (doImport): ditto
5055
5056         * lyxfont.C (stateText): use boost::format
5057
5058         * lyx_main.C (LyX): use boost::format
5059         (init): ditto
5060         (queryUserLyXDir): ditto
5061         (readRcFile): ditto
5062         (parse_dbg): ditto
5063         (typedef boost::function): use the recommened syntax.
5064
5065         * importer.C (Import): use boost::format
5066
5067         * debug.C (showLevel): use boost::format
5068
5069         * converter.C (view): use boost::format
5070         (convert): ditto
5071         (move): ditto
5072         (scanLog): ditto
5073
5074         * bufferview_funcs.C (currentState): use boost::format
5075
5076         * bufferlist.C (emergencyWrite): use boost::format
5077
5078         * buffer.C (readLyXformat2): use boost::format
5079         (parseSingleLyXformat2Token): ditto
5080
5081         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5082
5083         * LaTeX.C (run): use boost::format
5084
5085         * Chktex.C (scanLogFile): use boost::format
5086
5087         * BufferView_pimpl.C (savePosition): use boost::format
5088         (restorePosition): ditto
5089         (MenuInsertLyXFile): ditto
5090
5091         * BoostFormat.h: help file for explicit instation.
5092
5093 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5094
5095         * tabular.C (latex): Support for block alignment in fixed width
5096         columns.
5097
5098 2002-11-17  John Levon  <levon@movementarian.org>
5099
5100         * BufferView_pimpl.C:
5101         * lyx_cb.C:
5102         * lyxfunc.C: split filedialog into open/save
5103
5104 2002-11-08  Juergen Vigna  <jug@sad.it>
5105
5106         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5107         by my last patch (hopefully).
5108
5109 2002-11-08  John Levon  <levon@movementarian.org>
5110
5111         * iterators.h:
5112         * iterators.C:
5113         * buffer.h:
5114         * buffer.C:
5115         * paragraph.h:
5116         * paragraph.C:
5117         * toc.h:
5118         * toc.C: ParConstIterator, and use it (from Lars)
5119
5120 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5121
5122         * lyxtextclass.[Ch]: revise and add doxygen comments
5123
5124 2002-11-07  John Levon  <levon@movementarian.org>
5125
5126         * text.C: fix progress value for spellchecker
5127
5128         * toc.C: fix navigate menu for insetwrap inside minipage
5129
5130         * paragraph_funcs.C: added FIXME for suspect code
5131
5132 2002-11-07  John Levon  <levon@movementarian.org>
5133
5134         * BufferView_pimpl.C: fix redrawing of insets
5135           on buffer switch
5136
5137 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5138
5139         * text2.C (updateCounters): fix bug 668
5140
5141 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5142
5143         * text3.C (dispatch): Do not make the buffer dirty when moving the
5144         cursor.
5145
5146 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * vc-backend.C: STRCONV
5149         (scanMaster): ditto
5150
5151         * text2.C (setCounter): STRCONV
5152
5153         * paragraph.C (asString): STRCONV
5154
5155         * lyxlength.C (asString): STRCONV
5156         (asLatexString): ditto
5157
5158         * lyxgluelength.C (asString): STRCONV
5159         (asLatexString): ditto
5160
5161         * lyxfunc.C (dispatch): STRCONV
5162         (open): ditto
5163
5164         * lyxfont.C (stateText): STRCONV
5165
5166         * importer.C (Import): STRCONV
5167
5168         * counters.C (labelItem): STRCONV
5169         (numberLabel): ditto
5170         (numberLabel): remove unused ostringstream o
5171
5172         * chset.C: STRCONV
5173         (loadFile): ditto
5174
5175         * bufferview_funcs.C (currentState): STRCONV
5176
5177         * buffer.C (readFile): STRCONV
5178         (asciiParagraph): ditto
5179         (makeLaTeXFile): ditto
5180
5181         * Spacing.C (writeEnvirBegin): STRCONV
5182
5183         * LaTeXFeatures.C (getLanguages): STRCONV
5184         (getPackages): ditto
5185         (getMacros): ditto
5186         (getBabelOptions): ditto
5187         (getTClassPreamble): ditto
5188         (getLyXSGMLEntities): ditto
5189         (getIncludedFiles): ditto
5190
5191         * LaTeX.C: STRCONV
5192         (run): ditto
5193         (scanAuxFile): ditto
5194         (deplog): ditto
5195
5196         * LString.h: add the STRCONV macros
5197
5198         * BufferView_pimpl.C (savePosition): STRCONV
5199         (restorePosition): ditto
5200         (MenuInsertLyXFile): ditto
5201
5202         * vc-backend.C (scanMaster): change from submatch[...] to
5203         submatch.str(...)
5204
5205         * funcrequest.C: include config.h
5206
5207         * factory.C: include config.h
5208
5209         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5210
5211         * box.C: include config.h
5212
5213         * LaTeX.C (scanAuxFile): change from submatch[...] to
5214         submatch.str(...)
5215         (deplog): ditto
5216
5217 2002-10-25  Angus Leeming  <leeming@lyx.org>
5218
5219         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5220
5221         * ispell.[Ch] (setError): new method.
5222         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5223         Use setError() insetead of goto END.
5224
5225         * lyx_cb.C (AutoSave): move out child process into new class
5226         AutoSaveBuffer.
5227
5228 2002-10-30  John Levon  <levon@movementarian.org>
5229
5230         * text3.C: make start appendix undoable
5231
5232 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5233
5234         * lyxlength.C (inPixels): Fix returned value.
5235
5236         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5237         environment.
5238
5239 2002-10-24  Angus Leeming  <leeming@lyx.org>
5240
5241         * lyxgluelength.h: no need to forward declare BufferParams
5242         or BufferView, so don't.
5243
5244 2002-10-21  John Levon  <levon@movementarian.org>
5245
5246         * BufferView.C: menuUndo ->undo, redo
5247
5248         * BufferView.h: document, remove dead, make some methods private
5249
5250         * paragraph_funcs.h:
5251         * paragraph_funcs.C:
5252         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5253
5254         * buffer.h:
5255         * buffer.C:
5256         * sgml.h:
5257         * sgml.C: move sgml open/close tag into sgml.C
5258
5259         * bufferview_funcs.h: unused prototype
5260
5261         * lyxfunc.h:
5262         * lyxfunc.C: remove unused
5263
5264         * lyxtext.h:
5265         * text.C: remove unused
5266
5267 2002-10-21  John Levon  <levon@movementarian.org>
5268
5269         * BufferView.h:
5270         * BufferView.C:
5271         * BufferView_pimpl.h:
5272         * BufferView_pimpl.C: fix mouse wheel handling based on
5273           patch from Darren Freeman
5274
5275 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5276
5277         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5278
5279 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5280
5281         * lyxlength.C (inPixels): Fix hanfling of negative length.
5282         Fix LyXLength::MU case.
5283
5284 2002-10-16  John Levon  <levon@movementarian.org>
5285
5286         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5287
5288 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5289
5290         * converter.C (view): add support for $$i (file name) and $$p
5291         (file path) for the viewer command. If $$i is not specified, then
5292         it is appended to the command (for compatibility with old syntax)
5293
5294 2002-10-14  Juergen Vigna  <jug@sad.it>
5295
5296         * undo_funcs.C (textHandleUndo): alter the order in which the
5297         new undopar is added to the LyXText, as we have to set first
5298         the right prev/next and then add it as otherwise the rebuild of
5299         LyXText is not correct. Also reset the cursor to the right paragraph,
5300         with this IMO we could remove the hack in "redoParagraphs()".
5301
5302 2002-10-09  Angus Leeming  <leeming@lyx.org>
5303
5304         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5305         to turn off an optimisation if a new inset is to be inserted.
5306
5307 2002-10-11 André Pönitz <poenitz@gmx.net>
5308
5309         * lyxtext.h: make some functions public to allow access
5310         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5311
5312 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5313
5314         * text3.C (dispatch): when changing layout, avoid an infinite loop
5315         [bug #652]
5316
5317 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5318
5319         * lyxrc.C (read): treat a viewer or converter command of "none" as
5320         if it were empty.
5321
5322         * MenuBackend.C (expandFormats): for an update, also allow the
5323         formats that are not viewable
5324
5325         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5326         script if it is newer than the lyxrc.defaults in user directory
5327
5328 2002-10-07 André Pönitz <poenitz@gmx.net>
5329
5330         * text.C: Vitaly Lipatov's small i18n fix
5331
5332 2002-09-25  Angus Leeming  <leeming@lyx.org>
5333
5334         * ispell.h: doxygen fix.
5335
5336 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5337
5338         * buffer.h (readFile): Add a new argument to the method, to allow
5339         reading of old-format templates.
5340
5341 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5342
5343         * toc.C (getTocList): Get TOC from InsetWrap.
5344
5345 2002-09-16  John Levon  <levon@movementarian.org>
5346
5347         * lyxfunc.C: check tabular for cut/copy too
5348
5349 2002-09-12  John Levon  <levon@movementarian.org>
5350
5351         * LyXAction.C: tidy
5352
5353         * factory.h:
5354         * factory.C: add header
5355
5356         * paragraph_funcs.h:
5357         * paragraph_funcs.C: cleanup
5358
5359 2002-09-11  John Levon  <levon@movementarian.org>
5360
5361         * PrinterParams.h: odd/even default to true
5362
5363 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5364
5365         * PrinterParams.h: update printer parameters for new xforms dialog
5366
5367 2002-09-11  Angus Leeming  <leeming@lyx.org>
5368
5369         * lyxserver.C (read_ready): re-write to make it more transparent
5370         and to make it work in coherent fashion under Tru64 Unix.
5371
5372 2002-09-11  André Pönitz <poenitz@gmx.net>
5373
5374         * commandtags.h:
5375         * LyXAction.C:
5376         * text3.C: implement LFUN_WORDSEL
5377
5378 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5381         make floatlist_ a boost::shared_ptr<FloatList>
5382
5383         * lyxtextclass.C: include FloatList.h
5384         (LyXTextClass): initialize floatlist_
5385         (TextClassTags): add TC_NOFLOAT
5386         (Read): match "nofloat" to TC_NOFLOAT and use it.
5387         (readFloat): modify call to floatlist_
5388         (floats): ditto
5389         (floats): ditto
5390
5391         * FloatList.[Ch] (FloatList): remove commented out float
5392         initialization.
5393         (erase): new function
5394
5395 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5396
5397         * MenuBackend.C (expandToc): fix crash when there is no document
5398         open
5399
5400 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5401
5402         * many files: Add insetwrap.
5403
5404 2002-09-09  John Levon  <levon@movementarian.org>
5405
5406         * text2.C: remove confusing and awkward depth wraparound
5407
5408 2002-09-09  John Levon  <levon@movementarian.org>
5409
5410         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5411
5412         * buffer.h:
5413         * buffer.C: remove getIncludeonlyList()
5414
5415         * paragraph.C:
5416         * lyxfunc.C: remove headers
5417
5418 2002-09-09  Juergen Vigna  <jug@sad.it>
5419
5420         * text.C (getColumnNearX): fix form Michael this is most
5421         probably a cut&paste bug.
5422
5423 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5424
5425         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5426
5427         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5428         references, ws changes.
5429
5430         * text2.C (init): update counters after init
5431         (insertParagraph): no need to set counter on idividual paragraphs.
5432         (setCounter): access the counters object in the textclass object
5433         on in the buffer object.
5434         (updateCounters): ditto
5435
5436         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5437         shared_ptr<Counters> to avoid loading counters.h in all
5438         compilation units.
5439         (LyXTextClass): initialize ctrs_
5440         (TextClassTags): add TC_COUNTER, and ...
5441         (Read): use it here.
5442         (CounterTags): new tags
5443         (readCounter): new function
5444         (counters): new funtion
5445         (defaultLayoutName): return a const reference
5446
5447         * counters.C (Counters): remove contructor
5448         (newCounter): remove a couple of unneeded statements.
5449         (newCounter): simplify a bit.
5450         (numberLabel): some small formatting changes.
5451
5452         * buffer.[Ch]: remove all traces of counters, move the Counters
5453         object to the LyXTextClass.
5454
5455 2002-09-06  Alain Castera  <castera@in2p3.fr>
5456
5457         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5458         package to set the horizontal alignment on fixed width columns.
5459
5460         * lyx_sty.C:
5461         * lyx_sty.h: added tabularnewline macro def.
5462
5463         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5464
5465 2002-09-06  John Levon  <levon@movementarian.org>
5466
5467         * LyXAction.C: tooltips for sub/superscript
5468
5469         * MenuBackend.C: a bit more verbose
5470
5471         * lyxfunc.C: tiny clean
5472
5473         * undo_funcs.C: document undo_frozen
5474
5475 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5476
5477         * counters.C (Counters): add missing algorithm counter.
5478
5479         * text2.C (setCounter): lookup the counter with layouts latexname
5480         instead of by section number.
5481         (setCounter): use a hackish way to lookup the correct enum
5482         counter.
5483         a float name->type change
5484         reset enum couners with counter name directly instead of depth value.
5485
5486         * counters.C (Counters): remove the push_backs, change to use the
5487         float type not the float name.
5488         (labelItem): remove unused string, float name->type change
5489
5490         * counters.h: don't include vector, loose the enums and sects vectors
5491
5492 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5493
5494         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5495         (Read): add float->TC_FLOAT to textclassTags
5496         (Read): and handle it in the switch
5497         (readFloat): new function
5498
5499         * FloatList.C (FloatList): comment out the hardcoded float
5500         definitions.
5501
5502         * lyxlayout.h: ws change.
5503
5504 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5505
5506         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5507
5508 2002-09-03  Angus Leeming  <leeming@lyx.org>
5509
5510         * BufferView_pimpl.h: qualified name is not allowed in member
5511         declaration: WorkArea & Pimpl::workarea() const;
5512
5513         * factory.C: added using std::endl directive.
5514
5515         * text3.C: added using std::find and std::vector directives.
5516
5517 2002-08-29  André Pönitz <poenitz@gmx.net>
5518
5519         * lyxtext.h:
5520         * text2.C: remove unused member number_of_rows
5521
5522         * Makefile.am:
5523         * BufferView2.C: remove file, move contents to...
5524         * BufferView.C: ... here
5525
5526         * BufferView_pimpl.C:
5527         * factory.C: move more inset creation to factory
5528
5529         * vspace.C: avoid direct usage of LyXText, ws changes
5530
5531         * BufferView.[Ch]:
5532                 don't provide direct access to WorkArea, use two simple
5533                 acessors haveSelction() and workHeight() instead
5534
5535
5536 2002-08-29  John Levon  <levon@movementarian.org>
5537
5538         * BufferView_pimpl.C (dispatch): do not continue when
5539           no buffer
5540
5541 2002-08-28  André Pönitz <poenitz@gmx.net>
5542
5543         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5544
5545         * BufferView.h:
5546         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5547
5548 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5549
5550         * buffer.C: increment LYX_FORMAT to 221
5551
5552         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5553         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5554
5555         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5556
5557         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5558
5559 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5560
5561         * factory.C (createInset): use LyXTextClass::floats
5562
5563         * MenuBackend.C (expandFloatListInsert):
5564         (expandFloatInsert):
5565         (expandToc):
5566
5567         * text2.C (setCounter):
5568
5569         * LaTeXFeatures.C (useFloat):
5570         (getFloatDefinitions):
5571
5572         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5573
5574         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5575         floatlist_, with accessor floats().
5576
5577         * FloatList.h: remove global FloatList
5578
5579 2002-08-26  André Pönitz <poenitz@gmx.net>
5580
5581         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5582
5583         * BufferView.h:
5584         * BufferView2.C:
5585         * BufferView_pimpl.C:
5586         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5587
5588 2002-08-25  John Levon  <levon@movementarian.org>
5589
5590         * LyXAction.C: fix margin note description
5591
5592 2002-08-24  John Levon  <levon@movementarian.org>
5593
5594         * buffer.C:
5595         * bufferlist.C:
5596         * bufferview_funcs.C:
5597         * lyxfont.C:
5598         * undo_funcs.C: cleanups
5599
5600         * lyxfunc.C: disable CUT/COPY when no selection
5601
5602 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5603
5604         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5605         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5606
5607         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5608         Add backward compatibility to "mono", "gray" and "no".
5609
5610 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5611
5612         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5613         (and file_format >= 200).
5614
5615 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5616
5617         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5618
5619 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5620
5621         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5622
5623 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5624
5625         * BufferView_pimpl.C:
5626         * LyXAction.C:
5627         * buffer.C:
5628         * commandtags.h:
5629         * lyxfunc.C:
5630         * paragraph.[Ch]:
5631         * text2.C:
5632         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5633         inset and code to make it  work with the paragraph code. The inset
5634         can be anywhere in the paragraph, but will only do the expected
5635         thing in LaTeX if the layout file contains the parameter line
5636                         OptionalArgs    1
5637         (or more generally, a nonzero value) for that layout.
5638
5639 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5640
5641         * paragraph.h: remove the declaration of undefined counters class
5642         function.
5643
5644 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5645
5646         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5647         Dr. Richard Hawkins.
5648
5649 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5650
5651         * paragraph_funcs.h: remove some unneeded includes
5652
5653         * text.C (backspace): pasteParagraph now in global scipe
5654
5655         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5656         (pasteSelection): ditto
5657
5658         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5659         * paragraph_funcs.C (pasteParagraph): ... here
5660
5661 2002-08-20  André Pönitz <poenitz@gmx.net>
5662
5663         * commandtags.h: new LFUNs for swapping/copying table row/colums
5664
5665         * LyXAction.C:
5666         * lyxfunc.C: support for new lfuns
5667
5668 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5669
5670         * tabular.C:
5671         * buffer.[Ch]: remove NO_COMPABILITY stuff
5672
5673 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5674
5675         * boost.C (throw_exception): new file, with helper function for
5676         boost compiled without exceptions.
5677
5678         * paragraph.h:
5679         * lyxlength.C:
5680         * buffer.C:
5681         * ParameterStruct.h:
5682         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5683
5684         * bufferlist.C (emergencyWriteAll): use boost bind
5685
5686         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5687
5688         * text.C: include paragraph_funcs.h
5689         (breakParagraph): breakParagraph is now in global scope
5690
5691         * paragraph_funcs.[Ch]: new files
5692
5693         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5694         global scope
5695
5696         * buffer.C: include paragraph_funcs.h
5697         (insertStringAsLines): breakParagraph is now in global scope
5698
5699         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5700         paragraph_funcs.C
5701
5702         * CutAndPaste.C: include paragraph_funcs.h
5703         (cutSelection): breakParagraphConservative is now in global scope
5704         (pasteSelection): ditto
5705
5706         * buffer.h: declare oprator== and operator!= for
5707         Buffer::inset_iterator
5708
5709         * bufferlist.C (emergencyWrite): don't use fmt(...)
5710
5711         * text3.C: add using std::endl
5712
5713         * BufferView.C (moveCursorUpdate): remove default arg
5714
5715 2002-08-20  André Pönitz <poenitz@gmx.net>
5716
5717         * buffer.[Ch]: move inline functions to .C
5718
5719         * BufferView2.C:
5720         * BufferView_pimpl.C:
5721         * text.C:
5722         * buffer.[Ch]: use improved inset_iterator
5723
5724         * buffer.C:
5725         * paragraph.[Ch]: write one paragraph at a time
5726
5727 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5728
5729         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5730         style if style is not specified.
5731
5732 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5733
5734         * text2.C (setCounter): when searching for right label for a
5735         caption, make sure to recurse to parent insets (so that a caption
5736         in a minipage in a figure float works) (bug #568)
5737
5738 2002-08-20  André Pönitz <poenitz@gmx.net>
5739
5740         * text3.C: new file for LyXText::dispatch() and helpers
5741
5742         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5743
5744         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5745
5746 2002-08-19  André Pönitz <poenitz@gmx.net>
5747
5748         * lyxtext.h:
5749         * text.C: new LyXText::dispatch()
5750
5751         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5752
5753 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5754
5755         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5756
5757         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5758         Hebrew text.
5759
5760 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5761
5762         * Makefile.am: use $(variables) instead of @substitutions@
5763
5764 2002-08-15  André Pönitz <poenitz@gmx.net>
5765
5766         * lyxfunc.C:
5767         * BufferView_pimpl.C: streamlining mathed <-> outer world
5768         interaction
5769
5770         * commandtags.h:
5771         * LyXAction.C: remove unused LFUN_MATH
5772
5773 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5774
5775         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5776
5777 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5778
5779         * paragraph.C (Paragraph): reformat a bit
5780         (cutIntoMinibuffer): use builtin InsetList function instad of
5781         doing it manually.
5782         (getInset): ditto
5783
5784         * buffer.C: include boost/bind.hpp, add using std::for_each
5785         (writeFileAscii): use ParagraphList iterators
5786         (validate): use for_each for validate traversal of paragraphs
5787         (getBibkeyList): use ParagraphList iterators
5788         (resizeInsets): use for_each to resizeInsetsLyXText for all
5789         paragraphs.
5790         (getParFromID): use ParagraphList iterators
5791
5792         * BufferView2.C (lockInset): use paragraph list and iterators
5793
5794 2002-08-14  John Levon  <levon@movementarian.org>
5795
5796         * lyxserver.C: remove spurious xforms include
5797
5798 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5799
5800         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5801
5802 2002-08-13  André Pönitz <poenitz@gmx.net>
5803
5804         * LyXAction.[Ch]:
5805         * lyxfunc.C: further cleaning
5806
5807 2002-08-13  André Pönitz <poenitz@gmx.net>
5808
5809         * funcrequest.h: new constructor
5810
5811         * funcrequest.C: move stuff here from .h
5812
5813         * Makefile.am:
5814         * BufferView_pimpl.C:
5815         * LyXAction.C:
5816         * toc.C:
5817         * lyxfunc.C: subsequent changes
5818
5819         * lyxfunc.h: new view() member function
5820
5821         * lyxfunc.C: subsequent changes
5822
5823 2002-08-13  Angus Leeming  <leeming@lyx.org>
5824
5825         * BufferView2.C:
5826         * BufferView_pimpl.C:
5827         * buffer.C:
5828         * converter.C:
5829         * importer.C:
5830         * lyxfunc.C:
5831         * lyxvc.C:
5832         * toc.C:
5833         * vc-backend.C:
5834         changes due to the changed LyXView interface that now returns references
5835         to member variables not pointers.
5836
5837 2002-08-13  Angus Leeming  <leeming@lyx.org>
5838
5839         * WordLangTuple (word, lang_code): return references to strings,
5840         not strings.
5841
5842         * BufferView.h:
5843         * SpellBase.h:
5844         * lyxtext.h: forward-declare WordLangTuple.
5845
5846         * BufferView2.C:
5847         * ispell.C:
5848         * pspell.C:
5849         * text.C: #include "WordLangTuple.h".
5850
5851         * lyxtext.h:
5852         * text.C: (selectNextWordToSpellcheck): constify return type.
5853
5854 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5855
5856         * buffer.C:
5857         * buffer.h:
5858         * lyxtext.h:
5859         * paragraph.C:
5860         * paragraph_pimpl.h:
5861         * text.C:
5862         * text2.C:
5863         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5864         suggested by Angus.
5865         Made updateCounter always count from start of buffer, and removed
5866         second argument (par).
5867         Reverted floats number display to '#'. Perhaps I'll try again when the
5868         code base is sanitized a bit.
5869
5870 2002-08-12  Angus Leeming  <leeming@lyx.org>
5871
5872         * buffer.[Ch] (getLabelList): constify.
5873
5874 2002-08-07  André Pönitz <poenitz@gmx.net>
5875
5876         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5877
5878         * funcrequest.h: extension to keep mouse (x,y) position
5879
5880 2002-08-12  Juergen Vigna  <jug@sad.it>
5881
5882         * BufferView2.C (insertErrors): forbid undo when inserting error
5883         insets.
5884
5885         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5886
5887 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * ParagraphList.[Ch]: new files
5890
5891         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5892
5893         * BufferView2.C (lockInset): ParagraphList changes
5894         * toc.C: ditto
5895         * text2.C: ditto
5896         * bufferlist.C: ditto
5897         * buffer.h: ditto
5898         * buffer.C: ditto
5899
5900 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5903         unused class variable counter_,
5904
5905         * paragraph.[Ch] (getFirstCounter): delete unused function
5906
5907         * counters.C: include LAssert.h
5908         (reset): add a new function with no arg, change other version to
5909         not have def. arg and to not allow empty arg.
5910
5911         * text2.C (setCounter): remove empty arg from call to Counters::reset
5912
5913 2002-08-11  John Levon  <levon@movementarian.org>
5914
5915         * Makefile.am: add WordLangTuple.h
5916
5917 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5918
5919         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5920         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5921
5922         * insets/insettext.C: InsetList changes
5923
5924         * graphics/GraphicsSupport.C (operator()): InsetList changes
5925
5926         * toc.C (getTocList): InsetList changes
5927
5928         * paragraph_pimpl.[Ch]: InsetList changes
5929
5930         * paragraph.[Ch]: InsetList changes
5931
5932         * buffer.C (inset_iterator): InsetList changes
5933         (setParagraph): ditto
5934         * buffer.h (inset_iterator): ditto
5935         * iterators.C (operator++): ditto
5936         * iterators.h: ditto
5937
5938         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5939
5940         * InsetList.[Ch]: new files, most InsetList handling moved out of
5941         paragraph.C.
5942
5943         * BufferView2.C (removeAutoInsets): InsetList changes
5944         (lockInset): ditto
5945         (ChangeInsets): ditto
5946
5947 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5948
5949         * paragraph_pimpl.h (empty): new function
5950
5951         * paragraph.[Ch] (empty): new function
5952
5953         * other files: use the new Paragraph::empty function
5954
5955 2002-08-09  John Levon  <levon@movementarian.org>
5956
5957         * lyxtext.h: remove unused refresh_height
5958
5959 2002-08-09  John Levon  <levon@movementarian.org>
5960
5961         * Makefile.am:
5962         * sgml.h:
5963         * sgml.C:
5964         * buffer.C:
5965         * paragraph.h:
5966         * paragraph.C: move sgml char escaping out of paragraph
5967
5968         * paragraph.h:
5969         * paragraph.C: remove id setter
5970
5971         * buffer.C:
5972         * paragraph.C:
5973         * paragraph_pimpl.C: remove dead tex_code_break_column
5974
5975         * bufferview_funcs.C: small cleanup
5976
5977         * lyxfunc.C: remove dead proto
5978
5979         * lyxtext.h: make some stuff private. Remove some dead stuff.
5980
5981         * lyxgluelength.C: make as[LyX]String() readable
5982
5983 2002-08-08  John Levon  <levon@movementarian.org>
5984
5985         * LyXAction.h:
5986         * LyXAction.C:
5987         * MenuBackend.C:
5988         * ToolbarDefaults.C:
5989         * lyxfunc.C:
5990         * lyxrc.C:
5991         * toc.C: lyxaction cleanup
5992
5993 2002-08-08  John Levon  <levon@movementarian.org>
5994
5995         * BufferView2.C: small cleanup
5996
5997         * lyxfind.h:
5998         * lyxfind.C: move unnecessary header into the .C
5999
6000 2002-08-08  John Levon  <levon@movementarian.org>
6001
6002         * funcrequest.h: just tedious nonsense
6003
6004         * lyx_main.h:
6005         * lyx_main.C: cleanups
6006
6007         * buffer.C:
6008         * vspace.C: remove dead header lyx_main.h
6009
6010 2002-08-07  Angus Leeming  <leeming@lyx.org>
6011
6012         * Paragraph.[Ch]:
6013         * paragraph_pimpl.h:
6014         Forward declare class Counters in paragraph.h by moving the ctrs member
6015         variable into Paragraph::Pimpl.
6016         (counters): new method, returning a reference to pimpl_->ctrs.
6017
6018         * text2.C: ensuing changes.
6019
6020 2002-08-07  John Levon  <levon@movementarian.org>
6021
6022         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6023
6024         * BufferView_pimpl.C: announce X selection on double/triple
6025           click
6026
6027         * lyx_main.C: use correct bool in batch dispatch
6028
6029         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6030
6031 2002-08-07  André Pönitz <poenitz@gmx.net>
6032
6033         * funcrequest.h: new class to wrap a kb_action and its argument
6034
6035         * BufferView.[Ch]:
6036         * BufferView_pimpl[Ch]:
6037         * LaTeX.C:
6038         * LyXAction.[Ch]:
6039         * lyxfunc.[Ch]:
6040         * lyxrc.C: subsequent changes
6041
6042
6043 2002-08-07  John Levon  <levon@movementarian.org>
6044
6045         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6046           document options change.
6047
6048 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6049
6050         * counters.[Ch]
6051         * text2.C
6052         * paragraph.[Ch]
6053         * makefile.am: move counters functionality over from
6054         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6055
6056 2002-08-06  John Levon  <levon@movementarian.org>
6057
6058         * WordLangTuple.h: new file for word + language code tuple
6059
6060         * SpellBase.h:
6061         * pspell.h:
6062         * pspell.C:
6063         * ispell.h:
6064         * ispell.C:
6065         * lyxtext.h:
6066         * text.C:
6067         * text2.C:
6068         * BufferView.h:
6069         * BufferView2.C: use WordLangTuple
6070
6071         * layout.h:
6072         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6073
6074 2002-08-06  John Levon  <levon@movementarian.org>
6075
6076         * lyx_main.C: fix cmdline batch handling
6077
6078 2002-08-06  André Pönitz <poenitz@gmx.net>
6079
6080         * lyxrc.C: set default for show_banner to true
6081
6082 2002-08-06  John Levon  <levon@movementarian.org>
6083
6084         * pspell.C: fix a crash, and allow new aspell to work
6085
6086 2002-08-06  John Levon  <levon@movementarian.org>
6087
6088         * lyxfunc.C:
6089         * kbmap.C: small cleanup
6090
6091         * vspace.h:
6092         * vspace.C: add const
6093
6094 2002-08-05  John Levon  <levon@movementarian.org>
6095
6096         * LyXAction.C: back to tabular-insert
6097
6098 2002-08-04  John Levon  <levon@movementarian.org>
6099
6100         * BufferView.h:
6101         * BufferView.C: cosmetic change
6102
6103         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6104
6105         * bufferlist.C:
6106         * buffer.h:
6107         * buffer.C:
6108         * lyxcb.h:
6109         * lyxcb.C:
6110         * lyxserver.C:
6111         * lyxvc.C:
6112         * vc-backend.C:
6113         * BufferView2.C: purge all "Lyx" not "LyX" strings
6114
6115         * lyxcursor.h:
6116         * lyxcursor.C: attempt to add some documentation
6117
6118         * lyxfunc.C:
6119         * commandtags.h:
6120         * LyXAction.C:
6121         * ToolbarDefaults.C:
6122         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6123           merge with LFUN_TABULAR_INSERT
6124
6125         * Makefile.am:
6126         * SpellBase.h:
6127         * ispell.h:
6128         * ispell.C:
6129         * pspell.h:
6130         * pspell.C: split up i/pspell implementations into separate
6131           files, many cleanups
6132
6133         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6134
6135         * text2.C: some cleanup
6136
6137         * lyxfunc.C: don't check for isp_command == "none" any more, it
6138           didn't make any sense
6139
6140 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6141
6142         * counters.[Ch]
6143         * text2.C
6144         * paragraph.[Ch]
6145         * makefile.am: move counters functionality over
6146         from text2.C/paragraph.[Ch] to counters.[Ch], and
6147         make proper C++.
6148 2002-08-02  John Levon  <levon@movementarian.org>
6149
6150         * buffer.C: s/lyxconvert/lyx2lyx/
6151
6152 2002-08-02  Angus Leeming  <leeming@lyx.org>
6153
6154         * lyxlex.C: revert John's change as it breaks reading of the user
6155         preamble.
6156
6157 2002-08-02  Angus Leeming  <leeming@lyx.org>
6158
6159         * importer.C (Import):
6160         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6161         changes due to LyXView::view() now returning a boost::shared_ptr.
6162
6163 2002-08-02  John Levon  <levon@movementarian.org>
6164
6165         * lyxlex.C: small cleanup
6166
6167 2002-08-02  John Levon  <levon@movementarian.org>
6168
6169         * text2.C (status): small cleanup, no logic change
6170
6171 2002-08-01  John Levon  <levon@movementarian.org>
6172
6173         * buffer.h:
6174         * buffer.C (writeFile): don't output alerts, caller
6175           handles this
6176
6177         * bufferlist.C:
6178         * lyx_cb.C: from above
6179
6180         * lyxfunc.C: allow to open non-existent files
6181
6182 2002-07-31  John Levon  <levon@movementarian.org>
6183
6184         * lyxserver.C: don't let incidental errors get
6185           in the way (errno)
6186
6187 2002-07-30  John Levon  <levon@movementarian.org>
6188
6189         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6190
6191 2002-07-30  John Levon  <levon@movementarian.org>
6192
6193         * lyxserver.h:
6194         * lyxserver.C: remove I/O callback too
6195
6196 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6197
6198         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6199         log.
6200
6201 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * many files: strip,frontStrip -> trim,ltrim,rtrim
6204
6205 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6206
6207         * PrinterParams.h: remove extern containsOnly, and include
6208         support/lstrings.h instead.
6209
6210         * LaTeX.C (scanAuxFile): modify because of strip changes
6211         (deplog): ditto
6212         * buffer.C (makeLaTeXFile): ditto
6213         * bufferparams.C (writeFile): ditt
6214         * lyxfont.C (stateText): ditto
6215         * lyxserver.C (read_ready): ditto
6216         * vc-backend.C (scanMaster): ditto
6217
6218         * BufferView_pimpl.h: ws changes
6219
6220         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6221
6222 2002-07-26  André Pönitz <poenitz@gmx.net>
6223
6224         * kb_sequence.C: remove unnedred usings
6225
6226 2002-07-26  Juergen Vigna  <jug@sad.it>
6227
6228         * lyxfind.C (LyXReplace): we have to check better if the returned
6229         text is not of theLockingInset()->getLockingInset().
6230
6231 2002-07-25  Juergen Vigna  <jug@sad.it>
6232
6233         * lyxfind.C (LyXReplace): don't replace if we don't get the
6234         right LyXText.
6235
6236         * undo_funcs.C (createUndo): remove debugging code.
6237
6238 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6239
6240         * buffer.C (parseSingleLyXformat2Token): Use default placement
6241         when reading old floats.
6242
6243         * FloatList.C (FloatList): Change the default placement of figure
6244         and tables to "tbp".
6245
6246 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6247
6248         * MenuBackend.C: using std::max
6249
6250 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6251
6252         * MenuBackend.C (expandToc):
6253         (expandToc2): code moved from xforms menu frontend. It is now
6254         generic and TOCs are transparent to menu frontends.
6255
6256 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6257
6258         * toc.C (getTocList): protect against buf=0
6259
6260         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6261         Menu as first parameter. Now, this calls itself recursively to
6262         expand a whole tree (this will be useful for TOC handling)
6263         (expandFloatInsert): remove 'wide' version of floats
6264
6265         * MenuBackend.h (submenuname): returns the name of the submenu.
6266         (submenu): returns the submenu itself, provided it has been
6267         created by MenuBackend::expand
6268
6269 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6270
6271         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6272         insets which have noFontChange == true. (bug #172)
6273
6274 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6275
6276         * BufferView_pimpl.C: add connection objects and use them...
6277         (Pimpl): here.
6278
6279 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6280
6281         * MenuBackend.C (expandLastfiles):
6282         (expandDocuments):
6283         (expandFormats):
6284         (expandFloatListInsert):
6285         (expandFloatInsert):
6286         (expand): split expand in parts
6287
6288 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6289
6290         * lyx_gui.C: use lyx_gui::exit()
6291
6292 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6293
6294         * LyXAction.C: show the failing pseudo action
6295
6296 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6297
6298         * buffer.C (readFile): Run the lyxconvert script in order to read
6299         old files.
6300
6301 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6302
6303         * LyXAction.C:
6304         * commandtags.h:
6305         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6306
6307 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6308
6309         * LyXAction.C:
6310         * commandtags.h:
6311         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6312
6313 2002-07-22  Herbert Voss  <voss@lyx.org>
6314
6315         * lengthcommon.C:
6316         * lyxlength.[Ch]: add support for the vertical lengths
6317
6318 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6319
6320         * toc.[Ch]: std:: fixes
6321
6322 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6323
6324         * lyxrc.C: do not include lyx_main.h
6325
6326         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6327         for layouts
6328
6329         * lyxrc.C:
6330         * encoding.C:
6331         * bufferlist.C:
6332         * BufferView2.C: include "lyxlex.h"
6333
6334         * tabular.h:
6335         * bufferparams.h: do not #include "lyxlex.h"
6336
6337         * lyxtextclasslist.C (Add): remove method
6338         (classlist): renamed to classlist_
6339
6340         * paragraph_pimpl.C:
6341         * paragraph.C:
6342         * text2.C:
6343         * CutAndPaste.C:
6344         * bufferview_funcs.C:
6345         * bufferlist.C:
6346         * text.C:
6347         * LaTeXFeatures.C:
6348         * buffer.C:
6349         * toc.C (getTocList): use BufferParams::getLyXTextClass
6350
6351         * toc.C (getTocList): use InsetFloat::addToToc
6352
6353         * toc.[Ch]: new files, containing helper functions to handle table
6354         of contents
6355
6356         * lyxfunc.C (dispatch): no need to remove spaces around command
6357         given as a string
6358         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6359         first command of the sequence; it is not very clever, but I do not
6360         have a better idea, actually
6361
6362         * LyXAction.C (LookupFunc): make sure to remove space at the
6363         beginning and end of the command
6364
6365 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6366
6367         * MenuBackend.C (getMenubar): new method: return the menubar of
6368         this menu set
6369         (read): treat differently reading of menu and menubar (in
6370         particular, the menubar has no name now)
6371         (Menu::menubar): remove
6372
6373         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6374         saving is finished
6375
6376 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6377
6378         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6379         a bibitem inset in a RTL paragraph.
6380
6381 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6382
6383         * paragraph_pimpl.C: constify
6384
6385         * BufferView_pimpl.C:
6386         * LaTeX.C:
6387         * lyxfunc.C: fix dispatch in a nicer way
6388
6389 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6390
6391         * lyxfunc.C (dispatch):
6392         * BufferView_pimpl.C:
6393         * BufferView_pimpl.h:
6394         * BufferView.C:
6395         * BufferView.h: rename Dispatch() to dispatch()
6396
6397         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6398
6399         * lyxlayout.C (Read): honor DependsOn tag
6400
6401         * lyxlayout.[Ch] (depends_on): new method
6402
6403         * version.C.in: update lyx_docversion
6404
6405         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6406
6407         * paragraph.C (validate): remove from here...
6408         * paragraph_pimpl.C (validate): ... and move here
6409         (isTextAt): make it const
6410
6411         * buffer.C (getLists): ws cleanup
6412
6413 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6414
6415         * language.C (read): Use iso8859-1 encoding in latex_lang
6416         (this prevents LyX from crashing when using iso10646-1 encoding).
6417
6418 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6419
6420         * text2.C (toggleInset): if cursor is inside an inset, close the
6421         inset and leave cursor _after_ it
6422
6423 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6424
6425         * lyxfunc.C: move minibuffer completion handling out of here
6426
6427 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6428
6429         * BufferView_pimpl.C:
6430         * LaTeX.C: fix dispatch calls
6431
6432 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6433
6434         * text.C (drawChars): Fix Arabic text rendering.
6435
6436 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6437
6438         * LyXAction.C:
6439         * commandtags.h:
6440         * lyxfunc.C: remove message-push/pop
6441
6442         * lyxserver.C:
6443         * lyxfunc.h:
6444         * lyxfunc.C: rationalise some code by removing verboseDispatch
6445           in favour of a bool argument to dispatch()
6446
6447 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6448
6449         * lyx_main.C (init): make sure to read symlinks as absolute paths
6450
6451 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6452
6453         * lyxfunc.h:
6454         * lyxfunc.C: no need for commandshortcut to be a member
6455
6456 2002-07-15  André Pönitz <poenitz@gmx.net>
6457
6458         * converter.C: add support for $$s (scripts from lib/scripts dir)
6459         * lyx_main.C: white space
6460
6461 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6462
6463         * bufferlist.C:
6464         * lyxrc.h:
6465         * lyxrc.C: remove second exit confirmation
6466
6467 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6468
6469         * BufferView.h:
6470         * BufferView.C:
6471         * BufferView2.C:
6472         * BufferView_pimpl.h:
6473         * BufferView_pimpl.C:
6474         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6475
6476 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6477
6478         * MenuBackend.C (expand): add numeric shortcuts to document menu
6479
6480         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6481
6482 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6483
6484         * lyxfont.C (setLyXFamily):
6485         (setLyXSeries):
6486         (setLyXShape):
6487         (setLyXSize):
6488         (setLyXMisc):
6489         (lyxRead):
6490         * debug.C (value):
6491         * buffer.C (asciiParagraph): use ascii_lowercase
6492
6493 2002-07-15  Mike Fabian  <mfabian@suse.de>
6494
6495         * lyxlex_pimpl.C (search_kw):
6496         * lyxlex.C (getLongString):
6497         * converter.h (operator<):
6498         * converter.C (operator<):
6499         * buffer.C (parseSingleLyXformat2Token):
6500         (asciiParagraph):
6501         * ToolbarDefaults.C (read):
6502         * MenuBackend.C (checkShortcuts):
6503         (read):
6504         * LColor.C (getFromGUIName):
6505         (getFromLyXName): use the compare_ascii_no_case instead of
6506         compare_no_case, because in turkish, 'i' is not the lowercase
6507         version of 'I', and thus turkish locale breaks parsing of tags.
6508
6509 2002-07-16  Angus Leeming  <leeming@lyx.org>
6510
6511         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6512         now takes a Buffer const & argument.
6513
6514 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6515
6516         * BufferView.C (resize): check there's a buffer to resize
6517
6518 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6519
6520         * lyxfunc.C: remove dead code
6521
6522         * lyxserver.h:
6523         * lyxserver.C: use lyx_guii::set_read_callback
6524
6525 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6526
6527         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6528         an inset in a RTL paragraph.
6529
6530 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6531
6532         * lyxfunc.C: repaint after a font size update
6533
6534 2002-07-15  André Pönitz <poenitz@gmx.net>
6535
6536         * lyxlength.C: inBP should be able to return negative values
6537
6538 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6539
6540         * lyxfunc.C: use lyx_gui::update_fonts()
6541
6542 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6543
6544         * lyxfunc.C: use lyx_gui::update_color()
6545
6546 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6547
6548         * bufferlist.C:
6549         * lyxfunc.h:
6550         * lyxfunc.C:
6551         * lyxrc.h:
6552         * lyxrc.C: remove file->new asks for name option, and let
6553           buffer-new take an argument
6554
6555 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6556
6557         * BufferView_pimpl.C: remove unneeded extra repaint()
6558
6559 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6560
6561         * LyXAction.C: allow command-sequence with NoBuffer
6562
6563         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6564
6565 2002-07-10  Angus Leeming  <leeming@lyx.org>
6566
6567         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6568
6569 2002-07-09  Angus Leeming  <leeming@lyx.org>
6570
6571         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6572
6573 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6574
6575         * lengthcommon.h: whitespace
6576
6577         * lyxfunc.C: update scrollbar after goto paragraph
6578
6579         * lyxtext.h: factor out page break drawing, and fix it so
6580           page break/added space paints as selected nicely
6581
6582 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6583
6584         * BufferView_pimpl.C: add FIXMEs, clean up a little
6585
6586 2002-07-09  André Pönitz <poenitz@gmx.net>
6587
6588         * lyxfont.[Ch]: support for wasy symbols
6589
6590 2002-07-08  André Pönitz <poenitz@gmx.net>
6591
6592         * BufferView_pimpl.C: apply John's patch for #93.
6593
6594 2002-07-05  Angus Leeming  <leeming@lyx.org>
6595
6596         * BufferView_pimpl.C (buffer): generate previews if desired.
6597
6598         * LColor.h: add "preview" to the color enum.
6599
6600         * LColor.C (LColor): add a corresponding entry to the items array.
6601
6602         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6603         with this buffer.
6604
6605 2002-07-05  Angus Leeming  <leeming@lyx.org>
6606
6607         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6608         The body of the code is now in the method that is passed an ostream &
6609         rather than a file name.
6610         Pass an additional only_preamble parameter, useful for the forthcoming
6611         preview stuff.
6612
6613 2002-07-03  André Pönitz <poenitz@gmx.net>
6614
6615         * lyxfunc.C: simplify getStatus() a bit for math stuff
6616
6617 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6618
6619         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6620
6621 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6622
6623         * text.C (changeRegionCase): do not change case of all the
6624         document when region ends at paragraph end (bug #461)
6625
6626 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6627
6628         * paragraph.C (startTeXParParams):
6629         (endTeXParParams): add \protect when necessary
6630
6631 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6632
6633         * BufferView_pimpl.C (workAreaExpose): remove warning
6634
6635 2002-06-27  Angus Leeming  <leeming@lyx.org>
6636
6637         * Makefile.am: add lyxlayout_ptr_fwd.h.
6638
6639 2002-06-26  André Pönitz <poenitz@gmx.net>
6640
6641         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6642
6643 2002-06-25  Angus Leeming  <leeming@lyx.org>
6644
6645         * lyxfunc.C (dispatch): Comment out the call to
6646         grfx::GCache::changeDisplay. The method no longer exists now that the
6647         pixmap generation part of the graphics loader has been moved into
6648         InsetGraphics.
6649
6650 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6651
6652         * text2.C: layout as layout
6653
6654         * text.C: layout as layout
6655
6656         * tabular.C (OldFormatRead): layout as layout
6657
6658         * paragraph_pimpl.C (TeXDeeper): layout as layout
6659         (realizeFont): layout as layout
6660
6661         * paragraph.C (writeFile): layout as layout
6662         (validate): layout as layout
6663         (getFont): layout as layout
6664         (getLabelFont): layout as layout
6665         (getLayoutFont): layout as layout
6666         (breakParagraph): layout as layout
6667         (stripLeadingSpaces): layout as layout
6668         (getEndLabel): layout as layout
6669         (getMaxDepthAfter): layout as layout
6670         (applyLayout): layout as layout
6671         (TeXOnePar): layout as layout
6672         (simpleTeXOnePar): layout as layout
6673         (TeXEnvironment): layout as layout
6674         (layout): layout as layout
6675         (layout): layout as layout
6676
6677         * lyxtextclass.C (compare_name): new functor to work with
6678         shared_ptr, layout as layout
6679         (Read): layout as layout
6680         (hasLayout): layout as layout
6681         (operator): layout as layout
6682         (delete_layout): layout as layout
6683         (defaultLayout): layout as layout
6684
6685         * lyxlayout_ptr_fwd.h: new file
6686
6687         * lyxlayout.C (Read): layout as layout
6688
6689         * lyx_cb.C (MenuInsertLabel): layout as layout
6690
6691         * bufferlist.C (newFile): layout as layout
6692
6693         * buffer.C (readLyXformat2): layout as layout
6694         (parseSingleLyXformat2Token): layout as layout
6695         (insertStringAsLines): layout as layout
6696         (asciiParagraph): layout as layout
6697         (latexParagraphs): layout as layout
6698         (makeLinuxDocFile): layout as layout
6699         (simpleLinuxDocOnePar): layout as layout
6700         (makeDocBookFile): layout as layout
6701         (simpleDocBookOnePar): layout as layout
6702         (getLists): layout as layout
6703
6704         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6705
6706         * CutAndPaste.C (cutSelection): layout as layout
6707         (pasteSelection): layout as layout
6708         (SwitchLayoutsBetweenClasses): layout as layout
6709
6710         * BufferView_pimpl.C (Dispatch): layout as layout
6711         (smartQuote): layout as layout
6712
6713         * BufferView2.C (unlockInset): layout as layout
6714
6715 2002-06-24  André Pönitz <poenitz@gmx.net>
6716
6717         * lyxfunc.C: fix #487
6718
6719 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6720
6721         * lyxrc.h:
6722         * lyxrc.C:
6723         * lyxfunc.C: remove display_shortcuts, show_banner
6724
6725 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6726
6727         * Buffer_pimpl.C: oops, update on resize
6728
6729 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6730
6731         * buffer.C:
6732         * converter.C:
6733         * exporter.C:
6734         * lyxfunc.C:
6735         * BufferView.h:
6736         * BufferView.C: use repaint()
6737
6738         * BufferView_pimpl.h:
6739         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6740           as it's a clearer description. Remove superfluous
6741           redraws.
6742
6743 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6744
6745         * text.C: fix bug 488. Not ideal, but getting
6746           getWord() to work properly for the insets that
6747           matter is more difficult ...
6748
6749 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6750
6751         * BufferView_pimpl.C:
6752         * LyXAction.C:
6753         * commandtags.h:
6754         * lyxfunc.C: remove the six million index lyxfuncs to just
6755           one, and DTRT (bug 458)
6756
6757 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6758
6759         * BufferView.h:
6760         * BufferView.C:
6761         * BufferView_pimpl.h:
6762         * BufferView_pimpl.C: clean up resize() stuff,
6763           and unnecessary updateScreen()s
6764
6765 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6766
6767         * BufferView.h:
6768         * BufferView.C:
6769         * BufferView_pimpl.h:
6770         * BufferView_pimpl.C:
6771         * lyxfind.h:
6772         * lyxfind.C:
6773         * minibuffer.C: remove focus management of workarea,
6774           not needed. Use screen's greyOut()
6775
6776 2002-06-17  Herbert Voss  <voss@lyx.org>
6777
6778         * converter.C: (convert) do not post a message, when converting
6779         fails, let the calling function decide what to do in this case
6780
6781 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6782
6783         * lyxfunc.C: tidy up a little
6784
6785 2002-06-16    <alstrup@diku.dk>
6786
6787         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6788         Got rid of FORMS_H_LOCATION include. Now we are
6789         GUII.
6790
6791 2002-06-15  LyX Development team  <lyx@rilke>
6792
6793         * buffer.[Ch] (sgmlOpenTag):
6794         (sgmlCloseTag): Added support for avoiding pernicious mixed
6795         content. Return number of lines written.
6796
6797         (makeLinuxDocFile):
6798         (makeDocBookFile): Fixed calls to sgml*Tag.
6799         Simple white space clean.
6800
6801         (simpleDocBookOnePar): Simple white space clean.
6802
6803         * tabular.[Ch] (docBook): Renamed to docbook and got another
6804         argument to related with the pernicious mixed content.
6805
6806         (docbookRow): Fixed calls for docbook inset method.
6807
6808 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6809
6810         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6811         so it's X11 independent.
6812
6813         * kb*.[Ch]: ditto.
6814
6815         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6816
6817 2002-06-15  Lyx Development team  <lyx@electronia>
6818
6819         * intl.h: Renamed getTrans to getTransManager.
6820
6821 2002-06-14  Angus Leeming  <leeming@lyx.org>
6822
6823         * Makefile.am: nuke forgotten stl_string_fwd.h.
6824
6825 2002-06-12  Angus Leeming  <leeming@lyx.org>
6826
6827         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6828
6829 2002-06-13  Angus Leeming  <leeming@lyx.org>
6830
6831         * LaTeX.C:
6832         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6833
6834 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6835
6836         * kbmap.C (getiso): add support for cyrillic and greek
6837
6838 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6839
6840         * BufferView.h:
6841         * BufferView.C:
6842         * BufferView_pimpl.h:
6843         * BufferView_pimpl.C: move bogus scrolling logic
6844           to xforms
6845
6846 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6847
6848         * lyxfunc.C:
6849         * BufferView_pimpl.C: view->resize() change
6850
6851 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6852
6853         * BufferView_pimpl.C: topCursorVisible
6854           prototype change
6855
6856 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6857
6858         * Makefile.am:
6859         * lyx_gui.h:
6860         * lyx_gui.C: move to frontends/
6861
6862         * main.C:
6863         * lyx_main.h:
6864         * lyx_main.C: changes from above
6865
6866 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6867
6868         * intl.C:
6869         * intl.h:
6870         * kbmap.C:
6871         * kbsequence.C:
6872         * lyx_cb.C:
6873         * lyx_main.C: minor tidy
6874
6875 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6876
6877         * BufferView_pimpl.h:
6878         * BufferView_pimpl.C:
6879         * BufferView.h:
6880         * BufferView.C: make painter() const,
6881           remove dead code
6882
6883         * BufferView2.C: use screen() accessor
6884
6885         * lyx_main.h:
6886         * lyx_main.C: some minor cleanup
6887
6888 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6889
6890         * BufferView_pimpl.h:
6891         * BufferView_pimpl.C: remove enter/leaveView,
6892           use workHeight()
6893
6894 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6895
6896         * BufferView.h:
6897         * BufferView.C:
6898         * BufferView2.C:
6899         * BufferView_pimpl.h:
6900         * BufferView_pimpl.C: only construct screen once,
6901           rename
6902
6903         * lyxrc.C: remove pointless comment
6904
6905 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6906
6907         * BufferView.h:
6908         * BufferView.C: remove active() and belowMouse()
6909
6910         * BufferView_pimpl.h:
6911         * BufferView_pimpl.C: use workarea() not workarea_,
6912           and make it use a scoped_ptr instead
6913
6914 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6915
6916         * lyx_gui.C: add debug message on BadWindow
6917
6918 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6919
6920         * sp_spell.C: fdopen is not part of the C++ standard.
6921
6922         * paragraph.C (InsetIterator): use >= instead of ==
6923
6924 2002-06-07  Angus Leeming  <leeming@lyx.org>
6925
6926         Fixes needed to compile with Compaq cxx 6.5.
6927         * BufferView_pimpl.C:
6928         * DepTable.C:
6929         * buffer.C:
6930         * converter.C:
6931         * encoding.C:
6932         * lyx_gui.C:
6933         * lyx_main.C:
6934         * lyxtextclasslist.C:
6935         * minibuffer.C:
6936         * sp_spell.C:
6937         * tabular_funcs.C:
6938         * vc-backend.C:
6939         all c-library variables have been moved into namespace std. Wrap
6940         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6941
6942         * lyxlength.C:
6943         * tabular-old.C:
6944         * tabular.C:
6945         Add a using std::abs declaration.
6946
6947         * kbmap.h (modifier_pair):
6948         * paragraph.h (InsetTable, InsetList):
6949         * lyxfont.h (FontBits):
6950         type definition made public.
6951
6952         * bufferlist.C (emergencyWriteAll): the compiler complains that
6953         there is more than one possible lyx::class_fun template to choose from.
6954         I re-named the void specialisation as lyx::void_class_fun.
6955
6956         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6957
6958         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6959         the compiler is is unable to find tostr in write_attribute.
6960
6961 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6962
6963         * buffer.C (sgmlError): hide #warning
6964
6965 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6966
6967         * xtl/*: get rid of xtl, which is not in use anyway
6968
6969         * LyXAction.C (init):
6970         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6971         were unimplemented xtl experimentation
6972
6973 2002-06-04  André Pönitz <poenitz@gmx.net>
6974
6975         * lyxfunc.C: disable array operation on simple formulae
6976
6977 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6978
6979         * converter.C: constify a bit
6980
6981 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6982
6983         * lyx_gui.C: check xforms version correctly
6984
6985 2002-04-30  Herbert Voss  <voss@lyx.org>
6986
6987         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6988         "keep" option
6989
6990 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6991
6992         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6993           attempt to register it with a VCS)
6994
6995 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6996
6997         * lyx_main.C (init): honor variables LYX_DIR_13x and
6998         LYX_USERDIR_13x
6999
7000 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7001
7002         * buffer.h:
7003         * buffer.C:
7004         * lyx_main.C: fix a crash on bad command line,
7005           and give a useful exit status on error
7006
7007         * lyxfunc.C (doImport): allow -i lyx to work
7008
7009 2002-03-30  André Pönitz <poenitz@gmx.net>
7010
7011         * lyxfunc.C: mathed font changes
7012
7013 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7014
7015         * LaTeX.C:
7016         * importer.h:
7017         * importer.C:
7018         * lyx_sty.h:
7019         * lyx_sty.C:
7020         * lyxlex.C:
7021         * lyxrow.h:
7022         * lyxtext.h:
7023         * paragraph.h:
7024         * paragraph.C:
7025         * texrow.h:
7026         * texrow.C:
7027         * text.C:
7028         * trans_mgr.h: srcdocs, and some minor cleanups
7029
7030 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7031
7032         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7033         call getFont all the time)
7034
7035 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7036
7037         * switch from SigC signals to boost::signals
7038
7039 2002-05-29  André Pönitz <poenitz@gmx.net>
7040
7041         * paragraph_pimpl.C (getChar): don't call size() too often...
7042
7043 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7044
7045         * paragraph_pimpl.C (insertChar): do not try to update tables when
7046         appending (pos == size())
7047
7048         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7049         in order to reduce drastically the number of comparisons needed to
7050         parse a large document
7051
7052 2002-05-29  André Pönitz <poenitz@gmx.net>
7053
7054         * text.C:
7055         * text2.C:
7056         * lyxtextclass.C:
7057         * sp_pspell.h:
7058         * textclasslist.[Ch]:
7059         * sp_ispell.h: whitespace change
7060
7061 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7062
7063         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7064         lyxaction directly now.
7065
7066 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7067
7068         * trans.C:
7069         * lyxfont.C:
7070         * lyxvc.C: remove unused headers
7071
7072 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7073
7074         * Makefile.am:
7075         * buffer.h:
7076         * undostack.h:
7077         * undostack.C:
7078         * undo_funcs.h:
7079         * undo_funcs.C: some cleanups. Use shared_ptr
7080           and a template for the undo stacks.
7081
7082 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7083
7084         * BufferView_pimpl.h:
7085         * BufferView_pimpl.C:
7086         * kbmap.h:
7087         * kbmap.C:
7088         * kbsequence.h:
7089         * kbsequence.C:
7090         * lyxfunc.h:
7091         * lyxfunc.C:
7092         * text2.C: use key_state/mouse_state
7093
7094 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7095
7096         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7097         and LSubstring
7098
7099         * chset.C: change include order
7100         (loadFile): use boost regex and get rid of LRegex and LSubstring
7101
7102         * Makefile.am (BOOST_LIBS): new variable
7103         (lyx_LDADD): use it
7104
7105         * LaTeX.C: change include order.
7106         (scanAuxFile): use boost regex and get rid of LRegex and
7107         LSubstring
7108         (deplog): ditto
7109
7110 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7111
7112         * ColorHandler.h:
7113         * ColorHandler.C:
7114         * FontInfo.h:
7115         * FontInfo.C: moved to frontends/xforms/
7116
7117         * FontLoader.h:
7118         * FontLoader.C: moved into frontends for GUIIzation
7119
7120         * Makefile.am:
7121         * lyx_gui.C:
7122         * lyxfont.C:
7123         * lyxfunc.C: changes from above
7124
7125 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7126
7127         * LColor.C: remove spurious X include
7128
7129         * BufferView_pimpl.C:
7130         * Makefile.am:
7131         * font.h:
7132         * font.C:
7133         * text.C:
7134         * text2.C: move font metrics to frontends/
7135
7136 2002-05-24  Juergen Vigna  <jug@sad.it>
7137
7138         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7139         setting the undo_cursor.
7140
7141         * ParagraphParameters.h: include local includes first.
7142
7143 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7144
7145         * BufferView_pimpl.C:
7146         * BufferView_pimpl.h:
7147         * Makefile.am:
7148         * WorkArea.h:
7149         * WorkArea.C:
7150         * screen.C: move WorkArea into frontends/
7151
7152         * lyxscreen.h:
7153         * screen.C:
7154         * text.C:
7155         * BufferView.C:
7156         * BufferView2.C: move LyXScreen into frontends/
7157
7158         * lyxlookup.h:
7159         * lyxlookup.C:
7160         * lyx_gui.C: move lyxlookup into frontends/xforms/
7161
7162 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7163
7164         * BufferView2.C:
7165         * BufferView_pimpl.C:
7166         * FontLoader.C:
7167         * LyXView.h:
7168         * LyXView.C:
7169         * Makefile.am:
7170         * WorkArea.C:
7171         * XFormsView.h:
7172         * XFormsView.C:
7173         * buffer.C:
7174         * bufferlist.C:
7175         * bufferview_funcs.C:
7176         * converter.C:
7177         * importer.C:
7178         * lyx_cb.C:
7179         * lyx_gui.C:
7180         * lyx_main.C:
7181         * lyx_find.C:
7182         * lyxfunc.C:
7183         * lyxvc.C:
7184         * minibuffer.C:
7185         * text.C:
7186         * text2.C:
7187         * trans.C:
7188         * vc-backend.C: move LyX/XFormsView into frontends/
7189
7190 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7191
7192         * Makefile.am:
7193         * PainterBase.C:
7194         * PainterBase.h:
7195         * Painter.C:
7196         * Painter.h:
7197         * WorkArea.C:
7198         * WorkArea.h:
7199         * screen.C:
7200         * tabular.C:
7201         * text.C:
7202         * text2.C: move Painter to frontends/
7203
7204 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7205
7206         * buffer.C: comment out some some code that depend upon lyx_format
7207         < 220
7208
7209         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7210         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7211
7212         * buffer.h (NO_COMPABILITY): turn off compability
7213
7214         * ColorHandler.C: include scoped_array.hpp
7215
7216         * font.C: Use more specific smart_ptr header.
7217         * Painter.C: ditto
7218         * gettext.C: ditto
7219         * ShareContainer.h: ditto
7220         * lyx_main.h: ditto
7221         * kbmap.h: ditto
7222         * FontInfo.h: ditto
7223         * BufferView_pimpl.h: ditto
7224         * ColorHandler.h: ditto
7225
7226         * kbmap.C (defkey): change call to shared_ptr::reset
7227
7228 2002-05-21  Juergen Vigna  <jug@sad.it>
7229
7230         * buffer.C (insertErtContents): fix to insert ert asis if it is
7231         non empty. Skip it completely if it contains only whitespaces.
7232
7233 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7234
7235         * BufferView_pimpl.C:
7236         * BufferView2.C: clear selection on paste (bug 393)
7237
7238 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7239
7240         * DepTable.C: include ctime
7241
7242 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7243
7244         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7245
7246 2002-05-14  Juergen Vigna  <jug@sad.it>
7247
7248         * text.C (breakParagraph): fixed function to honor the keepempty
7249         layout in the right maner and also to permit the right breaking
7250         algorithm on empty or non empyt keepempty paragraphs.
7251
7252         * paragraph.C (breakParagraph): we have to check also if the par
7253         is really empty (!size()) for isempty otherwise we do the wrong
7254         paragraph break.
7255
7256 2002-05-10  Juergen Vigna  <jug@sad.it>
7257
7258         * buffer.[Ch] : The following are only changes to the ert
7259         compatibility read reading old LaTeX layout and font stuff and
7260         convert it to ERTInsets.
7261
7262         * buffer.h: added isErtInset().
7263
7264         * buffer.C (struct ErtComp): add a fromlayout bool to check
7265         if we're inside a LaTeX layout.
7266         (isErtInset): new helper function.
7267         (insertErtContents): look for other ert insets before this one
7268         and insert the contents there, so that we don't have subsequent
7269         ERT insets with nothing between them. This way we create only one
7270         inset with multiple paragraphs. Also check if we don't insert only
7271         spaces ' ' as they are ignored anyway afterwards in the .tex file
7272         so if we have only spaces we will ignore this latex part in the
7273         new file.
7274         (parseSingleLyXformat2Token \\layout): better compatibility when
7275         reading layout-latex stuff.
7276         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7277         language tag.
7278         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7279         stuff after reading the inset only get the information back from
7280         the stack.
7281
7282 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7283
7284         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7285
7286         * LaTeXFeatures.C (getBabelOptions): New method.
7287
7288 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7289
7290         * BufferView_pimpl.C (Dispatch): work around missing argument for
7291         'layout'
7292
7293 2002-05-08  Juergen Vigna  <jug@sad.it>
7294
7295         * text.C (leftMargin): handle paragraph leftindent.
7296
7297         * paragraph.C (writeFile): write the new \\leftindent tag.
7298         (validate): handle leftindent code.
7299         (TeXEnvironment): handle paragraphleftindent code again.
7300
7301         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7302
7303         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7304         for paragrap_extra indent code and new token \\leftindent.
7305         (latexParagraphs): handle the leftindent as environment.
7306
7307         * ParameterStruct.h: added leftindent support.
7308
7309         * ParagraphParameters.C (leftIndent): added support functions for
7310         the paragraph left indent.
7311
7312         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7313         more appropriate.
7314
7315 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7316
7317         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7318         inside insetERT.
7319
7320         * text.C (computeBidiTables): No bidi in insetERT.
7321
7322         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7323         in RTL documents.
7324
7325 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7326
7327         * version.C.in: pre 5
7328
7329 2002-05-02  José Matos  <jamatos@fep.up.pt>
7330         * buffer.C (makeDocBookFile): white space changes, add newline to
7331         command styles.
7332         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7333
7334         * tabular.C (docBook): fix typo.
7335
7336 2002-05-03  Juergen Vigna  <jug@sad.it>
7337
7338         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7339         change in LyXText as we can not be sure it was not freed.
7340         (drawOneRow): remove unused code.
7341
7342         * text.C (drawInset): redo the calculation of the need_break_row as
7343         it could have a row which was already freed.
7344         (draw): look at the return value of drawInset and return false if
7345         it also returned false.
7346         (paintRowText): look at the return value of draw and return false if
7347         it also returned false.
7348
7349         * lyxtext.h: added bool return type to drawInset() and draw() so that
7350         if we have a change in the row so that the rowbreak has to be redone
7351         we abort drawing as it will be called again.
7352
7353 2002-05-02  Juergen Vigna  <jug@sad.it>
7354
7355         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7356         a change in the maintext also if we're inside an inset.
7357         (Dispatch): set the cursor again after a break line and after the
7358         screen has been updated as it could be we're in a different row.
7359
7360         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7361         to set the cursor behind the pargraph with > size().
7362         (setCursor): check also for the same paragraph when checking where
7363         to put the cursor if we have a NFR inset.
7364
7365         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7366         parts of layout read further up as it still was in the wrong
7367         position.
7368
7369 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7370
7371         * screen.C (drawFromTo): change sine fullRebreak always return
7372         true.
7373
7374         * buffer.C (parseSingleLyXformat2Token): reindent some
7375
7376         * BufferView_pimpl.C (update): change since fullRebreak always
7377         return true.
7378         (Dispatch): git rid of the last hardcoded "Standard"s.
7379
7380 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7381
7382         * text2.[Ch] (fullRebreak): make it return void now that we always
7383         returned true.
7384
7385 2002-04-30  Juergen Vigna  <jug@sad.it>
7386
7387         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7388         ert compatibility check for "latex" layout.
7389
7390 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7391
7392         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7393         minipages: use col% instead of p%, and also use the current font.
7394         (makeLaTeXFile): Fix use babel condition.
7395         (parseSingleLyXformat2Token): Correct font when reading old floats.
7396
7397 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7398
7399         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7400         inserting list of floats.
7401
7402 2002-04-25  Herbert Voss  <voss@lyx.org>
7403
7404         * MenuBackend.C (expand): don't add the graphics extensions to the
7405         export menu
7406
7407 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7408
7409         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7410         non-existing layout, do not complain if it was the default layout
7411         of the original class (bug #342)
7412
7413 2002-04-24  Juergen Vigna  <jug@sad.it>
7414
7415         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7416         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7417
7418 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7419
7420         * buffer.C (getBibkeyList): If using \bibliography, return the
7421         option field with the reference itself. Enables us to provide natbib
7422         support when using \bibliography.
7423
7424 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7425
7426         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7427
7428         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7429         natbib is provided by the LaTeX class.
7430
7431 2002-04-23  Juergen Vigna  <jug@sad.it>
7432
7433         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7434         Wakeup functions.
7435
7436         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7437
7438 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7439
7440         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7441
7442         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7443         ensuremath around textordmasculine, textordfeminine and
7444         textdegree.
7445
7446 2002-04-19  Juergen Vigna  <jug@sad.it>
7447
7448         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7449         reinitializing the buffer otherwise row-dimensions may be wrong.
7450         (update): reset also the selection cursors if they do exits otherwise
7451         their x/y positions may be wrong.
7452
7453         * text2.C (cursorDown): don't enter the inset if we came from a row
7454         above and are one row over the inset.
7455
7456         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7457         really leaving an inset.
7458
7459 2002-04-18  Juergen Vigna  <jug@sad.it>
7460
7461         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7462         of the selected paragraph does not have the selected layout also if
7463         the last one had!
7464
7465         * text2.C (setLayout): fixed bug which did not change last selected
7466         paragraph.
7467
7468         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7469         changed the read and substituted \\end_float with \\end_inset!
7470
7471         * BufferView_pimpl.C (cursorPrevious):
7472         (cursorNext): fixed to make it work with rows heigher than the work
7473         area without moving the cursor only the draw of the row.
7474         (workAreaMotionNotify): fix jumping over high rows.
7475
7476 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7477
7478         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7479         Ressler.
7480
7481 2002-04-16  Juergen Vigna  <jug@sad.it>
7482
7483         * text2.C (setCursor): set also the irow().
7484         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7485         (cursorUp):
7486         (cursorDown): support for locking an inset if the x_fix value goes
7487         inside it. That way I can transverse insets too with cursor up/down.
7488
7489         * lyxrow.h: added irow helper function same as other (i) functions.
7490
7491         * BufferView_pimpl.C (cursorPrevious):
7492         (cursorNext): fixed for insets!
7493
7494 2002-04-15  Juergen Vigna  <jug@sad.it>
7495
7496         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7497         position otherwise it is wrong in some cases.
7498
7499         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7500         inside the inset before the call.
7501
7502 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7503
7504         * buffer.[Ch] (getBibkeyList): make it const.
7505
7506 2002-04-12  Juergen Vigna  <jug@sad.it>
7507
7508         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7509
7510         * text2.C (getCursorX): new helper function
7511         (setCursor): compute also ix_
7512         (setCursorFromCoordinates): set also ix.
7513
7514         * lyxcursor.h: added ix_ and helper functions.
7515
7516         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7517
7518         * buffer.C (insertStringAsLines): dont break paragraph if the this
7519         paragraph is inside an inset which does not permit it!
7520
7521         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7522         also with no chars on this paragraph.
7523         (paintRowText): only paint stuff if it's inside the workarea!
7524
7525         * paragraph.C (breakParagraph): honor keepempty flag and break the
7526         paragraph always below not above.
7527
7528         * BufferView2.C (unlockInset): update the paragraph layout on inset
7529         unlock as we changed paragraph in such a case.
7530
7531         * lyxfind.C (LyXFind): clear the former selection if not found!
7532
7533         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7534         again called in insertChar().
7535
7536         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7537         an inset which uses the whole row!
7538         (rightMargin): ditto.
7539         (insertChar): force a rebreak if we inserted an inset!
7540
7541 2002-03-28  Herbert Voss  <voss@lyx.org>
7542
7543         * lyxlength.[Ch]: add inBP() to get the right PS-point
7544         units (BigPoint). With inPixels we have rounding errors
7545
7546 2002-04-11  Juergen Vigna  <jug@sad.it>
7547
7548         * text2.C (setCursorFromCoordinates): set iy to the right value.
7549         (setCursor): add check if row->previous exists!
7550
7551         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7552         an old float_type as this was the case in the old code!
7553
7554         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7555
7556         * BufferView2.C (showLockedInsetCursor): use iy
7557         (fitLockedInsetCursor): ditto
7558
7559         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7560         locked insets as there we have the right value now.
7561
7562         * lyxcursor.C: added iy_ variable and iy functions to set to the
7563         baseline of cursor-y of the locked inset.
7564
7565         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7566         (setCursor): fixed for insets which need a full row.
7567
7568         * text.C (rowLastPrintable): don't ignore the last space when before
7569         an inset which needs a full row.
7570         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7571         as last character of a row when before a inset which needs a full row.
7572
7573 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7574
7575         * version.C.in: update date
7576
7577         * text2.C (fullRebreak): try to always return true and see what
7578         happens...
7579
7580 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7581
7582         * MenuBackend.C (expand): use Floating::listName
7583
7584         * FloatList.C (FloatList): add listName argument to the built-in
7585         floats
7586
7587         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7588         text associated with the float.
7589
7590 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7591
7592         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7593
7594 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7595
7596         * ShareContainer.h: add a couple of missing typenames.
7597
7598 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7599
7600         * lyxrc.C (getDescription): use _() correctly rather than N_().
7601
7602 2002-03-28  Herbert Voss  <voss@lyx.org>
7603
7604         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7605         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7606
7607 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7608
7609         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7610         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7611
7612 2002-03-29  Juergen Vigna  <jug@sad.it>
7613
7614         * lyxfunc.C (dispatch): add a missing fitCursor call.
7615
7616         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7617         it was scrolled by a cursor move, so return the bool status.
7618
7619         * BufferView.C (fitCursor): return the bool flag also to the outside
7620         world as this is needed.
7621
7622         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7623
7624         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7625         call the edit() as it is not needed (and wrong) IMO.
7626         (workAreaButtonPress): set the screen_first variable before evt.
7627         unlock the inset as this may change screen_first and then we have
7628         a wrong y position for the click!
7629
7630 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7631
7632         * MenuBackend.C (expand): another translation that I missed
7633
7634 2002-03-28  Juergen Vigna  <jug@sad.it>
7635
7636         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7637
7638         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7639
7640 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7641
7642         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7643
7644         * MenuBackend.C (expand): fix export/view/update when there is no
7645         document open.
7646
7647 2002-03-27  Herbert Voss  <voss@lyx.org>
7648
7649         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7650         and text%
7651
7652 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7653
7654         * bufferview_funcs.C (currentState): only show paragraph number
7655         for is DEVEL_VERSION is set.
7656
7657         * lyxfunc.C (dispatch): put warning in INFO channel
7658
7659         * MenuBackend.C (expand): translate the name of floats
7660
7661         * FloatList.C (FloatList): mark the float names for translation
7662
7663         * converter.C (convert): use LibScriptSearch
7664
7665 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7666
7667         * MenuBackend.C (defaults): fix default menu (we might as well get
7668         rid of it...)
7669
7670 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7671
7672         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7673         directory.
7674
7675 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7676
7677         * lyxvc.C: reorder includes.
7678
7679 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7680
7681         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7682           properly
7683
7684 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7685
7686         * CutAndPaste.C: change layouts earlier on paste
7687           to avoid crashing when calling getFont()
7688
7689 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7690
7691         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7692         irritating #error.
7693
7694 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7695
7696         * WorkArea.C: remove 'Pending' debug message.
7697
7698         * most files: ws cleanup
7699
7700         * buffer.[Ch]: ws changes
7701
7702         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7703
7704 2002-03-21  Juergen Vigna  <jug@sad.it>
7705
7706         * tabular.C (SetMultiColumn): collapse also the contents of the
7707         cells and set the last border right. Added a Buffer const * param.
7708
7709 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7710
7711         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7712         linking or not.
7713
7714 2002-03-19  Juergen Vigna  <jug@sad.it>
7715
7716         * text2.C (clearSelection): reset also xsel_cache.
7717
7718         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7719         where it needs to be called (John tells us to do so too :)
7720         (selectionLost): reset sel_cache.
7721
7722         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7723
7724 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7725
7726         * text2.C (setCursorIntern): put debuging code in INSETS channel
7727
7728 2002-03-19  André Pönitz <poenitz@gmx.net>
7729
7730         * lyxfunc.C: tiny whitespace change
7731
7732 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7733
7734         * ToolbarDefaults.C (init):
7735         * LyXAction.C (init):
7736         * commandtags.h:
7737         * BufferView_pimpl.C (Dispatch):
7738         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7739
7740 2002-03-19  Allan Rae  <rae@lyx.org>
7741
7742         * exporter.C (Export): removeAutoInsets before doing anything else.
7743         While I've just introduced a dependency on BufferView this really is
7744         the best place to clean the buffer otherwise you need to cleanup in
7745         a dozen places before calling export or cleanup in a dozen functions
7746         that export calls.
7747
7748         * converter.C (runLaTeX):
7749         (scanLog): Better handling of removeAutoInsets and screen updates.
7750
7751         * lyxfunc.C (dispatch): small whitespace changes
7752
7753 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7754
7755         * WorkArea.C (C_WorkAreaEvent): return a value.
7756         (event_cb): return 1 if we handled the event, 0 otherwise.
7757
7758         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7759
7760 2002-03-18  Juergen Vigna  <jug@sad.it>
7761
7762         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7763         (GetAdditionalWidth): ditto.
7764         (RightLine): ditto.
7765         (LeftLine): ditto.
7766
7767         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7768         inset if we're there actually (probably not used right now but this
7769         is the direction to go for unifying code).
7770         (paste): disable code to clear the selection.
7771
7772         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7773         inside an InsetText and move the check further up as it is in the
7774         wrong place.
7775
7776         * text2.C (pasteSelection): set a selection over the pasted text.
7777
7778 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7779
7780         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7781         and libgraphics to build on Cygwin.
7782
7783 2002-03-15  Juergen Vigna  <jug@sad.it>
7784
7785         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7786         inserting an Inset into the paragraph. I know this is not the best
7787         fix but we already use current_view in CutAndPaste so we will remove
7788         all of it's using at the same time.
7789
7790         * buffer.C (sgmlError): deactivated function till it is rewritten in
7791         the right mode, now it can create problems.
7792
7793         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7794         before accessing it.
7795
7796 2002-03-14  Juergen Vigna  <jug@sad.it>
7797
7798         * undo_funcs.C (textHandleUndo): do the right thing when updating
7799         the inset after the undo/redo.
7800
7801         * text2.C (setCursor): just some testcode for #44 not ready yet.
7802
7803         * undo_funcs.C (textHandleUndo): set the next() and previous()
7804         pointers of the paragraph to 0 before deleting otherwise we have
7805         problems with the Paragraph::[destructor].
7806
7807         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7808         on a paragraph insertion.
7809
7810 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7811
7812         * buffer.C (asciiParagraph): use += operator for char append to
7813         string.
7814
7815         * paragraph.C (getFontSettings): compare >= not just >
7816         (highestFontInRange): ditto
7817         (setFont): ditto
7818
7819 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7820
7821         * paragraph.C: change several algorithm to be more appripriate for
7822         the problem domain. This is lookip in FontList and in the InsetList.
7823
7824 2002-03-13  André Pönitz <poenitz@gmx.net>
7825
7826         * commandtags.h:
7827         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7828
7829 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7830
7831         * commandtags.h:
7832         * LyXAction.C:
7833         * lyxfunc.C:
7834         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7835
7836 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7837
7838         * Painter.C (display): anon helper function, adjust code for this
7839         change.
7840         (pixmap): remove function.
7841
7842         * Painter.h: remove private display variable.
7843
7844         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7845
7846 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7847
7848         * WorkArea.[Ch]: remove figinset_canvas cruft.
7849
7850 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7851
7852         * lyxtextclass.C (operator): add one item cache optimization.
7853
7854         * bufferlist.h: doxy changes
7855
7856         * bufferlist.C: ws changes
7857
7858         * DepTable.[Ch] (ext_exist): place const in the right spot.
7859
7860         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7861         call resizeInsets.
7862         (workAreaExpose): call resizeInsets when the with BufferView changes.
7863         (Dispatch): adjust for protectedBlank removal
7864         (specialChar): call updateInset if the insert went ok.
7865
7866         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7867         specialChar instead.
7868
7869         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7870
7871         * BufferView.h: doxy change
7872
7873         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7874
7875         * lyxtextclass.C (operator[]): remove non-const version
7876         (defaultLayout): remove non-const version
7877
7878 2002-03-12  Juergen Vigna  <jug@sad.it>
7879
7880         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7881         did resize the LyXText too.
7882
7883         * buffer.C (readLyXformat2): set layout information on newly allocated
7884         paragraphs.
7885
7886         * tabular.C (OldFormatRead): set layout information on the paragraph.
7887
7888 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7889
7890         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7891
7892 2002-03-11  Juergen Vigna  <jug@sad.it>
7893
7894         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7895         plainly wrong.
7896         (resizeCurrentBuffer): force also the insets to resize themselfes.
7897         (moveCursorUpdate): fixed up for InsetText.
7898
7899 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7900
7901         * commandtags.h:
7902         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7903         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7904         value of Dialogs::tooltipsEnabled().
7905         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7906
7907 2002-03-08  Juergen Vigna  <jug@sad.it>
7908
7909         * BufferView_pimpl.C (updateInset): update inset inside inset also
7910         if it isn't inside theLockingInset().
7911
7912 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7913
7914         * buffer.C (asciiParagraph): redo some of the word and line length
7915         handling.
7916         (getLists): look for Caption instead of caption.
7917
7918 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7919
7920         * buffer.C (Buffer): initialize niceFile to true
7921         (makeLaTeXFile):
7922         (makeLinuxDocFile):
7923         (makeDocBookFile): make sure niceFile is true on exit
7924
7925 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7926
7927         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7928
7929 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7930
7931         * LyXSendto.C: remove.
7932         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7933         * lyx_gui.C: remove now-redundant comment.
7934         * ColorHandler.h: remove forward declaration of class WorkArea.
7935         * lyxfunc.C: remove #include "WorkArea.h".
7936
7937 2002-03-07  Juergen Vigna  <jug@sad.it>
7938
7939         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7940         got moved away with the DEPM and also set the inset_owner always
7941         right which before could have been omitted.
7942
7943 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7944
7945         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7946         wanted layout is not found.
7947
7948 2002-03-07  Juergen Vigna  <jug@sad.it>
7949
7950         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7951
7952 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7953
7954         * paragraph.C (breakParagraph): use default layout not layout of
7955         prev paragraph.
7956         (Paragraph): clear ParagraphParameters.
7957
7958 2002-03-06  Juergen Vigna  <jug@sad.it>
7959
7960         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7961         otherwise it would not be a valid lenght. Fixed a special case in
7962         the minipage compatibility read where we end the document with a
7963         minipage.
7964
7965         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7966         was set as it could be 0 for InsetTexts first entry.
7967
7968 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7969
7970         * paragraph.C (writeFile): if layout is empty write out
7971         defaultLayoutName().
7972
7973         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7974         file without named layout we set layout to defaultLayoutName().
7975
7976 2002-03-06  Juergen Vigna  <jug@sad.it>
7977
7978         * CutAndPaste.C (copySelection): set layout for new paragraph.
7979
7980         * text.C (prepareToPrint): leave ERT inset left aligned
7981         (leftMargin): don't indent paragraphs inside ERT insets
7982
7983 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7984
7985         * paragraph.C (breakParagraph): dont call clear do the work manually
7986
7987         * paragraph.[Ch] (clear): remove function
7988
7989 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7990
7991         * paragraph.C (Paragraph): dont call clear, the work has already
7992         been done.
7993
7994         * lyxtextclass.C (operator): assert if n is empty
7995
7996         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7997         work manually instead.
7998
7999 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8000
8001         * BufferView_pimpl.C: protect selectionLost against text == 0
8002
8003 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8004
8005         * text.C (breakParagraph): fix a setting layout to '0' problem.
8006
8007 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8008
8009         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8010         final location of file, for the included files, and graphics.
8011
8012 2002-03-05  Juergen Vigna  <jug@sad.it>
8013
8014         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8015
8016 2002-03-04  Juergen Vigna  <jug@sad.it>
8017
8018         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8019
8020         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8021         last column of multicolumn cells.
8022         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8023
8024 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8025
8026         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8027         file if it doesn't go to a temporary file.
8028
8029         * buffer.C (sgmlOpenTag):
8030         (sgmlCloseTag):  remove extra newline insertion.
8031
8032 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8033
8034         * text.C (getRowNearY): comment out debug msg
8035
8036 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8037
8038         * text2.C: first -> first_y
8039
8040         * text.C (getRowNearY): add some attemts at a possible
8041         optimization, not working.
8042
8043         * tabular.[Ch]: add BufferParams to several function so that newly
8044         created paragraph can be initialized to he default layotu for the
8045         buffers textclass.
8046
8047         * tabular-old.C (ReadOld): add buf->params to call of Init
8048
8049         * screen.C: rename text->first to text->first_y
8050
8051         * paragraph.C (breakParagraph): always set layout in the broken
8052         paragraph
8053
8054         * lyxtextclass.C (Read): remove lowercase
8055         (hasLayout): ditto
8056         (operator): ditto
8057         (delete_layout): ditto
8058
8059         * lyxtext.h: rename first -> first_y
8060
8061         * lyxlayout.C (Read): remove lowercase
8062         (name): ditto
8063         (setName): ditto
8064         (obsoleted_by): ditto
8065
8066         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8067
8068         * buffer.C (insertErtContents): add params are to InsetERT
8069         (parseSingleLyXformat2Token): add code to check if a paragraphs
8070         layout really exist.
8071         (parseSingleLyXformat2Token): add params to several inset
8072         constructors
8073         (asciiParagraph): remove lowercase, do the layout comparisons with
8074         no_case
8075
8076         * BufferView_pimpl.C (cursorNext): first -> first_y
8077         (resizeCurrentBuffer): first -> first_y
8078         (updateScrollbar): first -> first_y
8079         (scrollCB): first -> first_y
8080         (workAreaMotionNotify): first -> first_y
8081         (workAreaButtonPress): first -> first_y
8082         (checkInsetHit): first -> first_y
8083         (cursorPrevious): first -> first_y
8084         (cursorNext): first -> first_y
8085         (Dispatch): add buffer_->params to severl inset contructors
8086
8087 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8088
8089         * lyxlayout.C (Read): remove some debug info that I forgot.
8090
8091         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8092         clean up the code slightly.
8093         (makeLinuxDocFile): ditto
8094         (makeDocBookFile): ditto
8095
8096         * text2.C: layout as string
8097
8098         * text.C: layout as string
8099
8100         * paragraph_pimpl.C: layout as string
8101
8102         * paragraph.[Ch]: layout as string
8103
8104         * lyxtextclasslist.[Ch]: layout as string
8105
8106         * lyxtextclass.[Ch]: layout as string
8107
8108         * lyxtext.h: layout as string
8109
8110         * lyxlayout.[Ch]: layout as string
8111
8112         * lyx_cb.C: layout as string
8113
8114         * bufferview_funcs.C: layout as string
8115
8116         * bufferparams.C: layout as string
8117
8118         * buffer.C: layout as string
8119
8120         * LyXView.[Ch]: layout as string
8121
8122         * LaTeXFeatures.[Ch]: layout as string
8123
8124         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8125
8126         * BufferView_pimpl.C: change current_layout to string, remove
8127         lyx::layout_type.
8128         (Dispatch):
8129         (smartQuote):
8130         (insertInset):
8131         (workAreaButtonRelease): layout as string
8132
8133         * BufferView2.C (unlockInset): adjust
8134
8135         * vspace.C (asLatexCommand): use an explict temp variable.
8136
8137 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8138
8139         * Makefile.am: use FRONTEND_*
8140
8141 2002-03-01  Juergen Vigna  <jug@sad.it>
8142
8143         * tabular.C (SetWidthOfMulticolCell): changed to something better
8144         I hope but still work in progress.
8145         (recalculateMulticolumnsOfColumn): renamed function from
8146         recalculateMulticolCells as it is more appropriate now.
8147         (SetWidthOfCell): calculate multicols better.
8148
8149 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8150
8151         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8152
8153         * lyxfunc.C (processKeySym): print sequence also if it is
8154         `deleted' (complete)
8155
8156         * kbsequence.C (print): print sequence even if it is deleted
8157         (complete would be a better word, actually).
8158
8159         * lyxfunc.C (dispatch): print complete options after a prefix key
8160
8161         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8162
8163 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8164
8165         * text2.C (setCharFont): eliminate setCharFont code duplication.
8166
8167 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8168
8169         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8170         LFUN_TABULAR_FEATURE (bug #177)
8171
8172 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8173
8174         * Makefile.am: remove figure.h
8175
8176 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8177
8178         * Bufferview_pimpl.C:
8179         * CutAndPasteC:
8180         * LaTeX.C:
8181         * LyXSendto.C:
8182         * buffer.C:
8183         * bufferlist.C:
8184         * converter.C:
8185         * language.C:
8186         * lyxfunc.C:
8187         * lyxvc.C:
8188         * paragraph.C:
8189         * text.C:
8190         * text2.C: remove #include "lyx_gui_misc.h".
8191
8192         * LaTeX.C: added #include <cstdio>
8193
8194 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8195
8196         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8197         that the paragraph following this one can have.
8198
8199         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8200
8201         * vspace.C (asLatexCommand): fix bogus gcc warning
8202
8203         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8204
8205 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8206
8207         * text2.C (setLayout): get rid of redundant code
8208
8209 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8210
8211         * text2.C (incDepth): make sure depth cannot be increased beyond
8212         reasonable values.
8213
8214 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8215
8216         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8217         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8218
8219         * PainterBase.h (image):
8220         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8221         a LyXImage const *.
8222
8223 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8224
8225         * BufferView.C:
8226         * BufferView.h:
8227         * BufferView_pimpl.C:
8228         * BufferView_pimpl.h:
8229         * LaTeXFeatures.C:
8230         * LyXAction.C:
8231         * LyXView.C:
8232         * Makefile.am:
8233         * UpdateList.h:
8234         * UpdateList.C:
8235         * buffer.C:
8236         * figure.h:
8237         * figureForm.C:
8238         * figureForm.h:
8239         * figure_form.C:
8240         * figure_form.h:
8241         * lyx_cb.C:
8242         * lyx_gui.C:
8243         * lyx_gui_misc.C:
8244         * lyxfunc.C:
8245         * sp_base.h:
8246         * sp_ispell.h:
8247         * sp_pspell.h:
8248         * sp_spell.C: remove fig inset, and the crap house of
8249           cards that follows it
8250
8251 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8252
8253         * Makefile.am:
8254         * lyxserver.C:
8255         * os2_defines.h:
8256         * os2_errortable.h:
8257         * nt_defines.h: move .h into support/
8258
8259         * vms_defines.h: remove
8260
8261         * WorkArea.C: add space in debug output
8262
8263         * text2.C:
8264         * paragraph.C:
8265         * buffer.C: add WITH_WARNINGS
8266
8267         * vc-backend.h:
8268         * vc-backend.C:
8269         * bufferlist.C: s/retrive/retrieve/, add docs
8270
8271         * vspace.h:
8272         * vspace.C:
8273         * kbmap.h:
8274         * lyxlength.h:
8275         * lyxgluelength.h:
8276         * length_common.h:
8277         * chset.h:
8278         * chset.C: add docs
8279
8280         * lyxgui.C: add ID to X error handler
8281
8282         * lyxtestclass.c: fix typo
8283
8284 2002-02-26  Juergen Vigna  <jug@sad.it>
8285
8286         * tabular_funcs.C (write_attribute): changed so that some default
8287         attributes are not written at all.
8288         (getTokenValue): set default values before trying to read the
8289         value so we have the return value always set as default if we don't
8290         find the token we search for.
8291
8292         * tabular.C (Write): write bools as bools not as strings!
8293
8294 2002-02-22  Juergen Vigna  <jug@sad.it>
8295
8296         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8297         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8298
8299         * text.C (leftMargin): don't add an indent for paragraphs inside
8300         tabular cells (fix #208).
8301
8302 2002-02-21  José Matos  <jamatos@fep.up.pt>
8303
8304         * tabular.C (docBook): fixed support for long tables.
8305
8306 2002-02-20  Juergen Vigna  <jug@sad.it>
8307
8308         * text2.C (getFont): get the drawing font of the Inset if this
8309         paragraph is inside an inset (only important for InsetERT for now).
8310
8311         * buffer.C (insertErtContents): use new lanugage params in ERT
8312         constructor.
8313
8314         * CutAndPaste.C: commenting out seemingly uneeded code.
8315
8316 2002-02-19  Allan Rae  <rae@lyx.org>
8317
8318         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8319         Iterators might be simple to use but they also get invalidated.
8320         (removeAutoInsets): renamed saved cursor tracking variables and added
8321         some comments to clarify what everything does.
8322
8323 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8324
8325         * Chktex.C:
8326         * LaTeX.C:
8327         * LyXSendto.C:
8328         * converter.C:
8329         * lyx_cb.C:
8330         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8331         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8332
8333         * lyxfunc.C:
8334         * vc-backend.h: remove #include "support/syscall.h"
8335
8336         * LaTeX.C:
8337         * LyXSendto.C:
8338         * converter.C: rearrange #includes in Lars' approved fashion.
8339
8340         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8341         forward declare class Timeout in the header file.
8342
8343         * XFormsView.C: changes due to the above.
8344
8345         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8346         similar to LyXView.
8347
8348         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8349         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8350
8351 2002-02-18  José Matos  <jamatos@fep.up.pt>
8352
8353         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8354         insets contents.
8355
8356 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8357
8358         * a lot of small ws changes
8359         * add a lot of using std::XXX
8360         * use std construcs some places where approp.
8361         * use some exisint stuff from lyxfunctional where approp.
8362         * Make file changes to use partial linking (lets test this now...)
8363
8364 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8365
8366         * Chktex.C:
8367         * buffer.C:
8368         remove #include "support/syscontr.h" as it's redundant. Always has been.
8369
8370         * Chktex.C:
8371         * LaTeX.C:
8372         * LyXSendto.C:
8373         * converter.C:
8374         * lyx_cb.C:
8375         * vc-backend.C:
8376         change Systemcalls::System to Systemcalls::Wait and
8377         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8378         No change of functionality, just reflects the stripped down Systemcalls
8379         class.
8380
8381 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8382
8383         * debug.[Ch]: add a GRAPHICS type to the enum.
8384
8385 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8386
8387         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8388
8389         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8390         there is an inset.
8391
8392 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8393
8394         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8395         match the changes below.
8396
8397         * text2.C (toggleInset): if there is not editable inset at cursor
8398         position, try to see if cursor is _inside_ a collapsable inset
8399         and close it.
8400
8401 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8402
8403         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8404         document menu has a nice checkbox
8405
8406 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8407
8408         * lyxlength.C (asLatexString): change PW to output as percent of
8409         \textwidth.
8410
8411         * lengthcommon.C: change '%' to 't%'
8412
8413         * lyxfunc.C (dispatch): a few comments from Martin
8414
8415 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8416
8417         * WorkArea.h:
8418         * WorkArea.C:
8419         * BufferView_pimpl.h:
8420         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8421           the X selection.
8422
8423 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8424
8425         * vspace.C (inPixels): fix compiler warning
8426
8427 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8428
8429         * lyxfunc.C (getStatus): fix status message for disabled commands.
8430
8431 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8432
8433         * BufferView_pimpl.C: fix crash on close buffer
8434         during selection (#227)
8435
8436 2002-01-27  Herbert Voss  <voss@lyx.org>
8437
8438         * buffer.C: link old Figure to new graphic inset
8439
8440 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8441
8442         * FontLoader.C (getFontinfo): Change the latex font names in order
8443         to match the names of type1inst.
8444
8445 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8446
8447         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8448
8449         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8450         (extchanged): ditto
8451         (ext_exist): ditto
8452         (remove_files_with_extension): ditto
8453         (remove_file): ditto
8454         (write): ditto
8455
8456         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8457         document is smaller than the work area height. Do not initialize
8458         static variables to 0.
8459
8460 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8461
8462         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8463
8464         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8465         LFUN_LAYOUT_PARAGRAPHS.
8466
8467         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8468         tabular. It is possible to provide a possible cell, which will
8469         typically be the actcell from the corresponding insettabular
8470
8471         * lyxfunc.C (getStatus): small cleanup; disable
8472         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8473         true
8474
8475 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8476
8477         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8478
8479         * paragraph.C (startTeXParParams):
8480         (endTeXParParams): new methods. The LaTeX code to
8481         start/end paragraph formatting
8482         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8483         empty (fixes bug #200)
8484
8485         * vspace.C (inPixels): adapt to the change below
8486         (inPixels): [later] more cleanups (remove unused variables)
8487
8488         * lyxlength.C (inPixels): change to use a width and a height as
8489         parameter.
8490
8491 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8492
8493         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8494         Replaced with \paperwidth
8495
8496         * DepTable.C (insert): add std:: qualifier
8497
8498 2002-01-18  Allan Rae  <rae@lyx.org>
8499
8500         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8501         updated also?
8502
8503         * text.C (drawInset): Turned out I didn't know enough about how
8504         rebreaking worked.  This fixes most of the redraw problems.  I see
8505         an occasional cursor trail when a line is broken now and the cursor
8506         placement can seem out by a few pixels also after a rebreak.
8507
8508 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8509
8510         * buffer.C (parseSingleLyXformat2Token): update because minipage
8511         width is now a LyXLength
8512
8513         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8514
8515         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8516         math insets
8517
8518 2002-01-17  Juergen Vigna  <jug@sad.it>
8519
8520         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8521
8522         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8523         is set correctly and the inset is updated correctly.
8524
8525 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8526
8527         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8528         the beginning of the loop.
8529
8530 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8531
8532         * lyxrc.C: improve help for use_scalable_fonts
8533
8534 2002-01-17  Allan Rae  <rae@lyx.org>
8535
8536         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8537
8538 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8539
8540         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8541         make sure to set their inset_owner to the right value (bug #171)
8542
8543 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8544
8545         * DepTable.h
8546         * DepTable.C: Implement mtime checking to reduce time spent doing
8547         CRCs.
8548
8549 2002-01-16  Juergen Vigna  <jug@sad.it>
8550
8551         * tabular.C (GetAdditionalHeight): one of error fixed.
8552
8553         * lyxrc.C (output): small fix in writing use_pspell.
8554
8555 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8556
8557         * sp_base.h: #include LString.h
8558
8559 2002-01-16  Allan Rae  <rae@lyx.org>
8560
8561         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8562         Can someone check this please?
8563
8564         * text.C (drawInset): It was possible that p.row would be removed by
8565         breakAgainOneRow upsetting a few other settings.  There may be another
8566         small tweak possible by setting need_break_row = 0 when p.row has been
8567         removed but I don't know enough about the logic here.
8568
8569 2002-01-15  Allan Rae  <rae@lyx.org>
8570
8571         * text.C (insertChar): removed conditional truism.
8572
8573         * BufferView2.C (removeAutoInsets): More tweaks.
8574         cur_par_prev could be a stray pointer.  Check for trailing empty line
8575         in case last line was cur_par and only had an error inset on it.
8576
8577 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8578
8579         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8580         absolute
8581
8582         * vc-backend.C (most methods):
8583         * exporter.C (Export):
8584         * converter.C (convert):
8585         (runLaTeX):
8586         * LyXSendto.C (SendtoApplyCB):
8587         * lyxfunc.C (dispatch):
8588         (menuNew):
8589         (open):
8590         (doImport):
8591         * lyx_cb.C (AutoSave):
8592         (InsertAsciiFile):
8593         * BufferView_pimpl.C (MenuInsertLyXFile):
8594         * buffer.C (runChktex): use Buffer::filePath().
8595
8596         * buffer.h: rename filename to filename_; rename filepath to
8597         filepath_ and make it private
8598         (filePath): new method
8599
8600         * buffer.C (writeFile): use fileName()
8601         (getLatexName):
8602
8603         * lyx_main.C (init): fix starting  of LyX when the binary is a
8604         link from so,ewhere else.
8605
8606         * minibuffer.C: include <cctype> for isprint
8607
8608 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8609
8610         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8611         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8612         name clash with InsetCollapsable's width function.
8613
8614 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8615
8616         * lastfiles.C: include <iterator>
8617
8618 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8619
8620         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8621         std::count.
8622
8623         * buffer.C (makeLaTeXFile): ditto.
8624         Also make loop operation more transparent.
8625
8626 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8627
8628         * ToolbarDefaults.C: remove trailing comma closing namespace.
8629
8630         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8631
8632         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8633         as in WorkArea.
8634
8635         * trans.C (Load): comment out unused variable, allowed.
8636
8637 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8638
8639         * minibuffer.[Ch] (append_char): new method to recieve input from the
8640         drop-down completion browser. If a key was pressed, then recieve this
8641         char and append it to the existing string.
8642         (peek_event): modify the positioning data passed to the completion
8643         browser so that it can be placed above the minibuffer rather than below.
8644 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8645
8646         * LyXAction.C (init): alloe error-next for readonly documents.
8647
8648         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8649         count.
8650
8651 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8652
8653         * bufferlist.C (readFile): create the buffer _after_ checking that
8654         the file exists.
8655
8656         * lyxfunc.C (verboseDispatch): fix handling of arguments
8657
8658         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8659
8660         * lyxrc.C: use string::erase() instead of initializing to "".
8661
8662
8663 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8664
8665         * BufferView_pimpl.h:
8666         * BufferView_pimpl.C:
8667         * WorkArea.h:
8668         * WorkArea.C:
8669         * text2.C: tell X when we have made a selection for copying
8670
8671 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8672
8673         * BufferView_pimpl.C (MenuInsertLyXFile):
8674         * lyxfunc.C (menuNew):
8675         (open):
8676         (doImport): add shortcuts to directory buttons
8677
8678         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8679         open a float)
8680
8681         * lyxfunc.C (setStatusMessage):
8682         (getStatusMessage): new methods
8683         (getStatus):use setStatusMessage instead of setErrorMessage
8684         (dispatch): when function is disabled, set error message here
8685         [instead of in getStatus previously]
8686
8687         * BufferView_pimpl.C (workAreaButtonRelease): update
8688         toolbar/menubar here too.
8689
8690 2002-01-13  Allan Rae  <rae@lyx.org>
8691
8692         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8693         Now seems indestructible.  Remaining task is to audit all other
8694         code affected by deleteEmptyParagraphMechanism.  One small quirk
8695         left is that an empty document with an error in the preamble can
8696         be made to report an error but no error box appears.  I don't know
8697         where it goes.
8698         (removeAutoInsets): Improved comments.
8699
8700 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8701
8702         * Thesaurus.h:
8703         * Thesaurus.C: update for Aiksaurus 0.14
8704
8705 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8706
8707         * text2.C (firstParagraph): removed member function, all uses
8708         replaces with ownerParagraph
8709         (redoParagraphs): here
8710         (updateInset): here
8711         (toggleAppendix): here
8712         * BufferView2.C (insertErrors): here
8713         (setCursorFromRow): here
8714
8715 2002-01-13  Allan Rae  <rae@lyx.org>
8716
8717         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8718         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8719         There is still a way to segfault this although you may have to do this
8720         multiple times: Have an InsetERT with an unknown command in it.
8721         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8722         <down-arrow>, <Enter> again, View->DVI, BANG!
8723
8724         * text2.C (setCursor):
8725         (deleteEmptyParagraphMechanism):
8726         * lyxtext.h (setCursor):
8727         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8728         Making use of the return value may help fix other bugs.
8729
8730 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8731
8732         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8733
8734         * LyXView.C (updateMenubar): call MenuBar::update here
8735         (updateToolbar): but not here
8736         (showState): do not update toolbar/menubar
8737
8738         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8739         should need to care about that.
8740
8741         * lyxfunc.C (verboseDispatch): simplify a bit
8742         (getStatus): have a version which takes a pseudoaction, and
8743         another which requires a (kb_action,string).
8744
8745         * LyXAction.C (retrieveActionArg): make it work also when action
8746         is not a pseudo-action.
8747         (getActionName): simplify a bit
8748         (helpText):
8749
8750 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8751
8752         * lyxfunc.C (verboseDispatch): new families of methods with
8753         several ways to specify a command and a bool to indicate whether
8754         the command name and shortcut should be displayed in minibuffer
8755         (eventually, we could extend that to a finer bitmask like
8756         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8757         (dispatch): the pristine dispatch command which just, well,
8758         dispatchs! Note it still sets its result to minibuffer; I'm not
8759         sure we want that.
8760
8761         * lyxfunc.h: remove setHintMessage
8762
8763         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8764
8765 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8766
8767         * BufferView_pimpl.C (specialChar): delete new inset if we have
8768         not been able to insert it.
8769
8770         * kbmap.C: revert to using int instead of kb_action, since all we
8771         are dealing with is pseudo-actions.
8772
8773         * LyXAction.C (searchActionArg): change to return int instead of
8774         kb_action, since the result is a pseudoaction.
8775
8776 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8777
8778         * buffer.C (insertErtContents): Fix (partially) the font bug.
8779
8780 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8781
8782         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8783         as the other one is broken on my machine!
8784
8785 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8786
8787         * commandtags.h:
8788         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8789
8790 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8791
8792         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8793         reflect their actual use. Provide compatibility code for older lyxrc
8794         files.
8795
8796         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8797         FL_NORMAL_STYLE.
8798         change names of popup font variables in line with the changes to lyxrc.C
8799
8800 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8801
8802         * buffer.C (asciiParagraph): avoid outputing a word twice after
8803         an inset.
8804
8805         * lyxrc.C (getDescription): document that document_path and
8806         template_path can be empty.
8807
8808 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8809
8810         * LaTeXFeatures.C (getMacros):
8811         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8812
8813         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8814
8815         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8816         getPackages.
8817         (getPackages): rename feature "floats" to "float". Use an array to
8818         iterate over 'simple' features (i.e. just a \usepackage). Add
8819         handling of "amsmath" (renamed from "amsstyle").
8820
8821 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8822
8823         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8824         features list.
8825
8826 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8827
8828         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8829         FuncStaus::FuncStatus & FuncStaus::some_method().
8830
8831 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8832
8833         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8834         of the func_satus stuff. Edited and massaged in various ways by
8835         JMarc.
8836
8837         * lyxfunc.C (getStatus): use FuncStatus
8838
8839 2002-01-08  Juergen Vigna  <jug@sad.it>
8840
8841         * text.C (nextBreakPoint): use function Inset::isChar().
8842
8843         * paragraph.C (TeXOnePar): use function
8844         Inset::forceDefaultParagraphs.
8845
8846         * buffer.C (latexParagraphs): use function
8847         Inset::forceDefaultParagraphs.
8848
8849 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8850
8851         * lyx_gui.C (init): set the style of the menu popups to
8852         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8853
8854 2002-01-07  Juergen Vigna  <jug@sad.it>
8855
8856         * text.C (setHeightOfRow): small fix
8857         (prepareToPrint): don't look at alignment if we don't have the place
8858         for doing it.
8859
8860 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8861
8862         * box.C: New file. Move the Box methods and functions out of box.h,
8863         following Lars' suggestion.
8864
8865 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8866
8867         * box.h: #include "support/LOstream.h", needed for inlined function.
8868
8869         * lyxtextclass.C:
8870         * lyxtextclasslist.C: added some using std declarations.
8871
8872 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8873
8874         * box.h: make signed dimensions to allow insets wider than
8875           the screen (bug #162)
8876
8877         * BufferView_pimpl.C: add some insetHit debug
8878
8879 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8880
8881         * vc-backend.C: add FIXME
8882
8883 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8884
8885         * lyxfunc.C (getStatus): enable code for showing math font status
8886         in toolbar/menu.
8887
8888 2002-01-07  Juergen Vigna  <jug@sad.it>
8889
8890         * text.C (nextBreakPoint): removed debug output not needed anymore.
8891
8892 2002-01-06  Juergen Vigna  <jug@sad.it>
8893
8894         * text.C (nextBreakPoint): fixed up this function we had this bug
8895         since ever but now hopefully we break row better.
8896         (insertChar): we have to check if an inset is the next char as it
8897         could now happen that a large inset is causing a break.
8898
8899 2002-01-05  Juergen Vigna  <jug@sad.it>
8900
8901         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8902         if it doesn't like to be drawed.
8903
8904 2002-01-04  Juergen Vigna  <jug@sad.it>
8905
8906         * BufferView2.C (lockInset): forgot to set a cursor.
8907
8908         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8909
8910 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8911
8912         * FormMathsPanel.C:
8913         * FormMathsPanel.h
8914         * MathsSymbols.C:
8915         * form_maths_panel.C:
8916         * form_maths_panel.h:
8917         * form_maths_panel.fd: implemented sub- and super- buttons in math
8918         panel.
8919
8920         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8921         (or ^ space) to be used as in TeX (req'd by André).
8922
8923         * lyxfunc.C: Allow ^ and _ again to be used both as
8924         super/subscript (mathed) and as themselves (in text).
8925
8926 2002-01-03  Allan Rae  <rae@lyx.org>
8927
8928         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8929         "LyX" or the filename of the current buffer if it has one.  This is a
8930         modified form of John Levon's patch.
8931
8932         * XFormsView.C (setWindowTitle): also set icon title.
8933
8934         * LyXView.h (setWindowTitle): signature changed.
8935         * XFormsView.h (setWindowTitle): ditto.
8936
8937 2002-01-02  Juergen Vigna  <jug@sad.it>
8938
8939         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8940
8941 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8942
8943         * screen.C (topCursorVisible): introduce a temp var for
8944         text->cursor.row(), handle the case where this row is null. (kindo
8945         hachish)
8946
8947         * text2.C (setCursor): add a couple of asserts.
8948
8949         * paragraph.h (inset_iterator): add -> operator
8950
8951         * paragraph.[Ch] (autoDeleteInsets): remove member function
8952
8953         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8954         cursor pos correctly and handle inset deletion by itself.
8955         (insertErrors): move iterator declaration out of for expression
8956
8957         * lyxtextclass.C: add <algorithm>
8958
8959         * Makefile.am: added the new files to sources, removed layout.C
8960
8961         * layout.C: removed file
8962
8963         * layout.h: remove LYX_DUMMY_LAYOUT
8964
8965         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8966         layout.
8967
8968         * lyxlayout.[Ch]:
8969         * lyxtextclass.[Ch]:
8970         * lyxtextclasslist.[Ch]: new files
8971
8972         * include order changes to a lot of files, also changes because of
8973         the six new files.
8974
8975 2001-12-27  Juergen Vigna  <jug@sad.it>
8976
8977         * buffer.C (asciiParagraph): more fixes.
8978
8979         * tabular.C (ascii): make ascii export support export of only the
8980         data separated by a column-delimiter.
8981         (ascii): better support for ascii export.
8982
8983         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8984
8985 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8986
8987         * tabular_funcs.C: use a "using std::getline" instead of the
8988         previous fix from Angus (necessary for cxx + lyxstring)
8989
8990 2001-12-24  Juergen Vigna  <jug@sad.it>
8991
8992         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8993
8994         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8995         problems. First check a minipage also if we have some ert-contents
8996         (not only on par->size(), second set the right depth of the paragraph
8997         on the relink to the root-paragraph-list!
8998
8999         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9000         which then did not anymore update the main paragraphs on undo/redo!
9001
9002 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9003
9004         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9005         code. Support all font-changing funcs (even those which are not in
9006         menu currently). Support for reporting font settings in
9007         mathed (disabled until Andre provides a function on mathed's side).
9008
9009         * func_status.h (toggle): small helper function to set toggle
9010         state on a flag.
9011
9012 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9013
9014         * tabular_funcs.C: getline -> std::getline
9015
9016 2001-12-21  Juergen Vigna  <jug@sad.it>
9017
9018         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9019         accessed and could be 0 (I couldn't generate this but it seems
9020         Michael could!).
9021
9022 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9023
9024         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9025         * tabular_funcs.h: here and include iosfwd
9026
9027 2001-12-20  Juergen Vigna  <jug@sad.it>
9028
9029         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9030         inside inset but undo_par was.
9031
9032 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9033
9034         * Thesaurus.C: always include <config.h> in sources.
9035
9036         * Painter.h:
9037         * lyxlookup.h:
9038         * box.h: do not include <config.h> in header files
9039
9040         * text.C (paintLastRow): remove unused variable
9041
9042         * text.C (transformChar):
9043         (insertChar):
9044         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9045
9046         * Painter.C (text):
9047         * font.C (width): rewrite to use uppercase() instead of
9048         islower/toupper.
9049
9050         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9051
9052 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9053
9054         * lyxfind.C: clean up of find failure position change
9055
9056 2001-12-20  Juergen Vigna  <jug@sad.it>
9057
9058         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9059
9060         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9061         (TeXRow): added to LaTeX a single tabular row.
9062         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9063         (Latex): simplified and finally good LT-h/f support.
9064         (various_functions): just small adaptions for LT-h/f support.
9065
9066         * tabular_funcs.[hC]: added and moved here all not classfunctions
9067         of LyXTabular.
9068
9069 2001-12-19  Juergen Vigna  <jug@sad.it>
9070
9071         * tabular.[Ch]: better support for longtabular options (not finished
9072         yet!)
9073
9074 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9075
9076         * text.C (paintLastRow): use the label font instead of the font of
9077         the last character to compute the size of *_BOX. This makes more
9078         sense and avoids a crash with empty paragraphs.
9079         Use Painter::rectangle to draw EMPTY_BOX.
9080
9081 2001-12-19  Juergen Vigna  <jug@sad.it>
9082
9083         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9084         the paragraphs if the replaced paragraph is not the first one!
9085         Tried to delete not used paragraphs but does not work yet so for
9086         now it's inside #ifdef's and by default off!
9087
9088 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9089
9090         * MenuBackend.C: include "lyx_main.h" instead of declaring
9091         lastfiles (actually was declared as LastFiles* instead of a
9092         scoped_ptr).
9093
9094 2001-12-17  Juergen Vigna  <jug@sad.it>
9095
9096         * tabular.C (AppendColumn): applied John's fix
9097
9098 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9099
9100         * BufferView.h:
9101         * BufferView.C:
9102         * BufferView_pimpl.h:
9103         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9104
9105         * Makefile.am:
9106         * box.h: new start of class for above
9107
9108         * lyxfunc.C: ignore space-only minibuffer dispatches.
9109           Show the command name when it doesn't exist
9110
9111         * minibuffer.C: don't add empty lines to the history
9112
9113         * minibuffer.C: add a space on dropdown completion
9114
9115 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9116
9117         * text.C: fix line above/below drawing in insets
9118
9119 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9120
9121         * lyxlength.C (LyXLength): Initialize private variables.
9122
9123 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9124
9125         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9126         when inserting error insets.
9127
9128 2001-12-13  Juergen Vigna  <jug@sad.it>
9129
9130         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9131         actually sometimes the before-paragraph.
9132         (setUndo): don't clear the redostack if we're not actually undoing!
9133
9134 2001-12-06  Juergen Vigna  <jug@sad.it>
9135
9136         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9137         and fixed redoing of main paragraph, so we can use it now ;)
9138
9139         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9140
9141 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9142
9143         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9144         Juergen's request
9145
9146 2001-12-13  André Pönitz <poenitz@gmx.net>
9147
9148         * undostack.[Ch]:
9149         * undo_func.C: minor cleanup
9150
9151 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9152
9153         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9154         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9155         font in urw-fonts package which is marked as -urw-fontspecific and
9156         does not work (incidentally, changing the encoding in the
9157         fonts.dir of this package to -adobe-fontspecific fixes the
9158         problem).
9159
9160         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9161         is a crash when undoing first paragraph (Juergen, please take a
9162         look). THis does not mean the undo fix is wrong, just that it
9163         uncovers problems.
9164
9165         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9166         the (Paragraph*) version when needed instead of duplicating the
9167         code.
9168
9169         * text.C (workWidth): use Inset::parOwner to find out where the
9170         inset has been inserted. This is a huge performance gain for large
9171         documents with lots of insets. If Inset::parOwner is not set, fall
9172         back on the brute force method
9173
9174         * paragraph_pimpl.C (insertInset):
9175         * paragraph.C (Paragraph):
9176         (cutIntoMinibuffer): set parOwner of insets when
9177         inserting/removing them
9178
9179         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9180
9181 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9182
9183         * commandtags.h:
9184         * LyXAction.C:
9185         * lyx_main.C:
9186         * lyxfunc.C:
9187         * mathed/formulabase.C:
9188         * mathed/math_cursor.[Ch]:
9189         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9190
9191
9192 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9193
9194         * lyxlength.[Ch] (operator!=): new function
9195
9196 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9197
9198         * text.C (workWidth): use Inset::parOwner to find out where the
9199         inset has been inserted. This is a huge performance gain for large
9200         documents with lots of insets. If Inset::parOwner is not set, fall
9201         back on the brute force method
9202
9203         * paragraph_pimpl.C (insertInset):
9204         * paragraph.C (Paragraph):
9205         (cutIntoMinibuffer): set parOwner of insets when
9206         inserting/removing them
9207
9208         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9209
9210 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9211
9212         * tabular-old.C (getTokenValue):
9213         * tabular.C (getTokenValue):
9214         (write_attribute): new versions for LyXLength
9215         (everywhere): adjust the use of widths
9216
9217         * tabular.h: change the type of widths from string to LyXLength
9218
9219 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9220
9221         * paragraph.C: fixed missing line number count when exporting
9222         Environments to LaTeX file
9223
9224         * buffer.C: added informational message for checking line numbers.
9225
9226 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9227
9228         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9229         paragraph, do the 'double space' part, but not the 'empty
9230         paragraph' one.
9231
9232         * text.C (workWidth): small optimization
9233         (getLengthMarkerHeight): use minimal size for negative lengths.
9234
9235 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9236
9237         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9238
9239         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9240
9241 2001-12-11  André Pönitz <poenitz@gmx.net>
9242
9243         * FontLoader.C:
9244         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9245
9246 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9247
9248         * text2.C: keep selection on a setFont()
9249
9250 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9251
9252         * lyx_cb.C: another bv->text misuse, from insert label
9253
9254 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * kbsequence.h:
9257         * kbsequence.C: re-instate nmodifier mask
9258
9259 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9260
9261         * lyx_main.h: make lyxGUI private.
9262
9263 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9264
9265         * lyxfind.C: place the cursor correctly on failed search
9266
9267 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9268
9269         * text.C (getLengthMarkerHeight): for small heights, the arrows
9270         are not always on top/bottom of the text
9271         (drawLengthMarker): smaller arrows; take the left margin in
9272         account; draw also vfills.
9273         (paintFirstRow):
9274         (paintLastRow): remove special code for vfill and standard spaces,
9275         since everything is handled in drawLengthMarker now.
9276
9277 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9278
9279         * buffer.C (insertErtContents): try to handle font and language
9280         interaction a bit better.g
9281
9282         * ColorHandler.C (updateColor): change the hash to cover the whole
9283         LColor enum, ws cleanup
9284         (getGCLinepars): ditto
9285         (getGCLinepars): only lookup in the linecache once.
9286
9287 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9288
9289         * iterators.C (operator++): Make the iterator more robust
9290
9291         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9292         (John's patch)
9293         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9294
9295 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9296
9297         * lyxtext.h:
9298         * text.C: better added space drawing
9299
9300 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9301
9302         * LyXView.C:
9303         * BufferView2.C: fix layout combo update on inset unlock
9304
9305 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9306
9307         * Makefile.am: don't compile unused files
9308
9309 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9310
9311         * lyxfunc.C:
9312         * commandtags.h:
9313         * LyXAction.C: remove old LFUN_LAYOUTNO
9314
9315 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9316
9317         * paragraph_pimpl.h:
9318         * paragraph_pimpl.C: isTextAt() doesn't need font param
9319
9320 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9321
9322         * lyxlex.h:
9323         * lyxlex.C: little cleanup
9324
9325 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9326
9327         * BufferView_pimpl.C: fix insertAscii for insets
9328
9329 2001-12-05  Juergen Vigna  <jug@sad.it>
9330
9331         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9332         set the right font on the "multi" paragraph paste!
9333
9334 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9335
9336         * trans_decl.h:
9337         * trans_mgr.[Ch]:
9338         * trans.[Ch]:
9339         * lyxgluelength.C:
9340         * lyxlength.C: remove out-commented code.
9341
9342         * BufferView_pimpl:
9343         * CutAndPaste.C:
9344         * DepTable.C:
9345         * buffer.C:
9346         * chset.C:
9347         * lastfiles.C:
9348         * lyxlex.C:
9349         * lyxlex_pimpl.C:
9350         * lyxserver.C:
9351         * screen.C:
9352         * tabular-old.C:
9353         * tabular.C:
9354         * text.C:
9355         * trans_mgr.C:
9356         * vc-backend.C: change "while(" to "while ("
9357
9358         * lyxlength.[Ch]: add zero function to check if length is zero or
9359         not
9360         * lyxgluelength.C: use it
9361
9362 2001-12-05  Allan Rae  <rae@lyx.org>
9363
9364         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9365         Works for 2.95.3, from what I understand of Garst's reports this should
9366         work for other g++ versions.  We're screwed if the abs(int) definition
9367         changed between bugfix releases of gcc.
9368
9369 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9370
9371         * text.C: fix chapter label offset !
9372
9373 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9374
9375         * lyxtext.h:
9376         * text.C: fix hfill at end of line, clean up
9377
9378 2001-12-04  Juergen Vigna  <jug@sad.it>
9379
9380         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9381         that we force an update of the inset and it's owners if neccessary.
9382
9383 2001-12-03  Juergen Vigna  <jug@sad.it>
9384
9385         * text.C (rowLast): simplified code
9386
9387 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9388
9389         * lyxfunc.C: fix show options on timeout
9390
9391 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9392
9393         * screen.C (topCursorVisible): scroll half a page when the cursor
9394         reached top of bottom of screen
9395
9396 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9397
9398         * minibuffer.C: deactivate on loss of focus
9399
9400 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9401
9402         * vspace.[Ch] (operator!=): add operator.
9403
9404 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9405
9406         * BufferView_pimpl.C: refuse to open an inset when
9407         there's a selection.
9408
9409 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9410
9411         * BufferView_pimpl.C: allow to click on RHS of full row insets
9412
9413 2001-11-30  Juergen Vigna  <jug@sad.it>
9414
9415         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9416         insets for undo reasons.
9417
9418 2001-11-28  André Pönitz <poenitz@gmx.net>
9419
9420         * vspace.[Ch]: cosmetical changes
9421
9422 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9423
9424         * LyXAction.h:
9425         * LyXAction.C:
9426         * lyxfunc.h:
9427         * lyxfunc.C:
9428         * kbmap.h:
9429         * kbmap.C:
9430         * lyxrc.C:
9431         * kbsequence.h:
9432         * kbsequence.C: part re-write of old kb code
9433
9434         * Painter.C:
9435         * WorkArea.C: remove Lgb_bug_find_hack
9436
9437 2001-11-30  José Matos <jamatos@fep.up.pt>
9438
9439         * buffer.C (makeDocBookFile): add a comment to point a hack.
9440         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9441         Fixed a double write of labels.
9442
9443 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9444
9445         * LaTeX.C:
9446         * LaTeX.h Fixed bug in LaTeX class where it would not
9447         re-run latex if no depfiles were changed, but the .dvi was removed.
9448
9449 2001-11-28  André Pönitz <poenitz@gmx.net>
9450
9451         * all the files from the change on 2001/11/26:
9452         use lyx::layout_type instead of LyXTextClass::size_type
9453         use lyx::textclass_type instead of LyXTextClassList::size_type
9454
9455 2001-11-29  Juergen Vigna  <jug@sad.it>
9456
9457         * text.C: added support for paragraph::isFreeSpacing()
9458
9459         * buffer.C: same as above
9460
9461         * paragraph.h: inserted isFreeSpacing() function to enable
9462         FreeSpacing inside InsetERT.
9463
9464         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9465         of the paragraph's in the cut/copy buffer to 0!
9466
9467         * text2.C (removeRow): remove the assert as it can!
9468
9469         * lyxtext.h: added helper function firstRow returning firstrow and
9470         made firstrow private again.
9471
9472         * BufferView2.C (lockInset): don't relock if we're already locked!
9473
9474         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9475         the only paragraph.
9476         (removeRow): added Assert::(firstrow)
9477
9478         * debug.C: forgot to add INSETTEXT here.
9479
9480 2001-11-28  Juergen Vigna  <jug@sad.it>
9481
9482         * sp_spell.C (initialize): changed error text to more general
9483         spellchecker command use (not only ispell!)
9484
9485         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9486
9487         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9488
9489 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9490
9491         * vspace.C: initialise lyxgluelength on failure
9492
9493 2001-11-28  Allan Rae  <rae@lyx.org>
9494
9495         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9496         declaration & definition that looks like a function declaration.
9497
9498 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9499
9500         * BufferView2.C (copy):
9501         (copyEnvironment): do not clear the selection when doing a copy.
9502
9503         * text.C (paintFirstRow): compilation fix
9504
9505 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9506
9507         * tabular.C (Latex): correct line count when writing latex.
9508
9509 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9510
9511         * paragraph_pimpl.h:
9512         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9513           bug a bit
9514
9515 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9516
9517         * text.C:
9518         * LColor.h:
9519         * LColor.C: change vfillline->added_space
9520
9521         * text.C: add markers and text for added space
9522
9523         * vspace.C: fix comment
9524
9525 2001-11-28  André Pönitz <poenitz@gmx.net>
9526
9527         * paragraph.C: whitespace changes
9528         * all the other files from the change on 2001/11/26:
9529         change *::pos_type into lyx::pos_type
9530
9531 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9532
9533         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9534         language of the document when inserting error insets.
9535
9536 2001-11-26  André Pönitz <poenitz@gmx.net>
9537
9538         * BufferView_pimpl.[Ch]:
9539         *       CutAndPaste.C:
9540         * buffer.[Ch]:
9541         * lyxcursor.[Ch]:
9542         * lyxfind.C:
9543         * lyxfunc.C:
9544         * lyxrow.[Ch]:
9545         * paragraph.[Ch]:
9546         * paragraph_pimpl.[Ch]:
9547         * sp_spell.C:
9548         * text.C:
9549         * text2.C: reduce header dependencies, introduce type for positions
9550
9551 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9552
9553         * <various>: change to use Alert.h
9554
9555 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9556
9557         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9558         when encountering an unknown token.
9559         (readLyXformat2): Show an error message if there were unknown tokens.
9560
9561 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9562
9563         * BufferView2.C:
9564         * BufferView_pimpl.C:
9565         * buffer.C:
9566         * paragraph.h:
9567         * text.C:
9568         * text2.C: use par->isInset()
9569
9570 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9571
9572         * paragraph_pimpl.h:
9573         * paragraph_pimpl.C: cleanup
9574
9575 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9576
9577         * text2.C (removeRow):
9578         * text.C (setHeightOfRow): remove useless (and costly) call to
9579         getRow.
9580
9581 2001-11-20  Allan Rae  <rae@lyx.org>
9582
9583         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9584         Now need Inset*::checkInsertChar() to return true for appropriate
9585         cases so that the characters in the minibuffer will actually be
9586         inserted.
9587
9588 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9589
9590         * text.C: change the order of the includes.
9591         (workWidth): initialize it at once.
9592         (workWidth): make maxw unsigned
9593         (setHeightOfRow): remove unused variable (inset)
9594         (selectSelectedWord): remove unused variable (inset)
9595         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9596
9597 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9598
9599         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9600         server is not running.
9601         (openConnection):
9602         (closeConnection): add debug info when server is disabled.
9603
9604         * ColorHandler.C (getGCForeground): send debug message to GUI
9605         channel.
9606
9607         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9608
9609         * kbmap.C (bind): modify because return conventions of
9610         kb_sequence::parse have changed.
9611
9612         * kbsequence.C (parse): only ignore spaces and not any stupid
9613         control character. This avoids tests like s[i] <= ' ', which are
9614         guaranteed to fail with 8bit characters and signed chars.
9615         Change return code to string::npos when there have been no error
9616         (0 was a bad idea when error is at first character)
9617
9618 2001-11-14  José Matos  <jamatos@fep.up.pt>
9619
9620         * buffer.h:
9621         * buffer.C (simpleDocBookOnePar): removed unused argument.
9622
9623 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9624
9625         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9626         insets which are part of a word. Paragraph::isLetter takes care of
9627         that now. Use Paragraph::isInset to identify insets.
9628         (selectSelectedWord): do not test for hyphenation break.
9629
9630         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9631         that protected spaces are considered as spaces.
9632
9633         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9634         Inset::isLetter.
9635
9636 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9637
9638         * lyxserver.h:
9639         * lyxserver.C: fix it. and small cleanup.
9640
9641 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9642
9643         * BufferView_pimpl.C: use inline helpers
9644
9645         * LaTeXFeatures.h:
9646         * LaTeXFeatures.C: fix typos
9647
9648         * Spacing.h:
9649         * Spacing.C: move spacing_string into class
9650
9651         * ToolbarDefaults.C: move stuff into namespace anon
9652
9653         * layout.h: update enum
9654
9655         * lyxfunc.C: use better debug
9656
9657         * minibuffer.h: fix typo
9658
9659         * debug.h:
9660         * debug.C:
9661         * WorkArea.C: add and use Debug::WORKAREA
9662
9663         * lyxtext.h:
9664         * text.C:
9665         * text2.C: code re-organisation, inline helpers
9666
9667 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9668
9669         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9670         std::vector.empty().
9671
9672 2001-11-09  Allan Rae  <rae@lyx.org>
9673
9674         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9675         '\n's after tables.  Tabular and ERT inset work now makes this no
9676         longer necessary.
9677
9678 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9679
9680         * minibuffer.h:
9681         * minibuffer.C: fix crash, improve drop-down completion
9682
9683 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9684
9685         * lyxserver.h:
9686         * lyxserver.C: invalidate fd's when doing endPipe()
9687
9688 2001-11-08  José Matos  <jamatos@fep.up.pt>
9689
9690         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9691         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9692
9693         * paragraph.h:
9694         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9695
9696 2001-11-07  José Matos  <jamatos@fep.up.pt>
9697
9698         * buffer.h:
9699         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9700         const qualifier.
9701
9702         * buffer.C (sgmlOpenTag):
9703         * buffer.C (sgmlCloseTag): removed debug info.
9704
9705         * buffer.h (sgmlOpenTag):
9706         * buffer.h (sgmlCloseTag): made public.
9707
9708 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9709
9710         * buffer.C (saveParamsAsDefaults):
9711         * lyx_cb.C (MenuLayoutSave): remove
9712
9713         * LyXAction.C (init):
9714         * commandtags.h:
9715         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9716
9717 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9718
9719         * buffer.C (setPaperStuff): removed from here...
9720
9721         * bufferparams.C (setPaperStuff): ... and moved there.
9722
9723 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9724
9725         * minibuffer.h:
9726         * minibuffer.C:
9727         * XFormsView.C: add support for drop-down completion
9728
9729 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9730
9731         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9732         commands.
9733
9734 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9735
9736         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9737         disabled.
9738
9739 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9740
9741         * lyx_main.C: change ref to known bugs
9742
9743 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9744
9745         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9746         to work around older babel problems.
9747
9748 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9749
9750         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9751
9752 2001-10-24  Juergen Vigna  <jug@sad.it>
9753
9754         * tabular-old.C (ReadOld): below variable changes reflected.
9755
9756         * tabular.[Ch]: added ltType struct for longtable header/footer
9757         defines and changed all instances where they are used. Added
9758         future support for double top/bottom rows.
9759
9760 2001-10-24  José Matos  <jamatos@fep.up.pt>
9761
9762         * buffer.h (docbookHandleCaption):
9763         * buffer.C (docbookHandleCaption): removed unused function.
9764         (makeDocBookFile): moved docbook supported version to v4.1.
9765
9766 2001-10-24  José Matos  <jamatos@fep.up.pt>
9767
9768         * tabular.h:
9769         * tabular.C (docbookRow): new function to export docbook code of a row.
9770         (DocBook): now honors the longtable flags.
9771
9772 2001-10-23  José Matos  <jamatos@fep.up.pt>
9773
9774         * LaTeXFeatures.h:
9775         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9776         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9777
9778         * buffer.C (makeLinuxDocFile):
9779         (makeDocBookFile): reworked the preamble, more clean, and with
9780         support for lyx defined entities. Changed the document declaration
9781         to be more XML friendly.
9782
9783         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9784         if we need to output XML that should be done with a filter.
9785
9786 2001-10-22  Juergen Vigna  <jug@sad.it>
9787
9788         * sp_pspell.h (class PSpell): add alive function needed in the
9789         controller to see if the spellchecker could be started.
9790
9791 2001-10-22  Juergen Vigna  <jug@sad.it>
9792
9793         * buffer.C (insertStringAsLines): modify the font for inserting
9794         chars in certain conditions by calling checkInsertChar(font).
9795
9796 2001-10-19  Juergen Vigna  <jug@sad.it>
9797
9798         * text.C (workWidth): use getRow instead of wrong algorithm.
9799         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9800
9801 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9802
9803         * lyxserver.h:
9804         * lyxserver.C:
9805         * lyx_main.h:
9806         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9807
9808 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9809
9810         * text.C (workWidth): do not search for the exact row when
9811         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9812         optimization for big documents.
9813
9814 2001-10-18  Juergen Vigna  <jug@sad.it>
9815
9816         * text.C (workWidth): new function with added Inset * parameter.
9817
9818 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9819
9820         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9821
9822         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9823         change return type of getColumnNearX.
9824
9825
9826         * text.C (changeRegionCase): use uppercase/lowercase instead of
9827         toupper/tolower.
9828         (leftMargin):
9829         (rightMargin): simplify code by factoring out the uses of
9830         textclasslist.
9831         (labelFill):
9832         (numberOfHfills):
9833         (setHeightOfRow):
9834         (appendParagraph): use Paragraph::size_type
9835
9836 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9837
9838         * vspace.C (asLatexString): add a missing break
9839
9840 2001-10-15  Herbert Voss  <voss@perce.de>
9841
9842         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9843
9844 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9845
9846         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9847         is not available.
9848
9849 2001-10-10  André Pönitz <poenitz@gmx.net>
9850
9851         * lyxfunc.C: removed greek_kb_flag.
9852
9853 2001-10-10  Herbert Voss  <voss@perce.de>
9854
9855         * lyx_main.C: delete global string help_lyxdir.
9856
9857 2001-10-09  Herbert Voss  <voss@perce.de>
9858
9859         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9860
9861         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9862
9863         * lyx_main.C: added global string help_lyxdir.
9864
9865         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9866
9867 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9868
9869         * lyxrc.C (set_font_norm_type): support iso8859-4
9870
9871 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9872
9873         * LaTeX.C (deplog): add another regex for MikTeX
9874
9875 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9876
9877         * lyxrc.C (set_font_norm_type): support iso8859-3
9878
9879 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9880
9881         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9882
9883         * LaTeXFeatures.C: remove special case of french and index
9884
9885         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9886         before \begin{document}). This solves several incompatibilities.
9887
9888 2001-10-03  Garst Reese  <reese@isn.net>
9889
9890         * lyx_cb.C: change CheckTex error msg.
9891
9892 2001-10-03  José Matos  <jamatos@fep.up.pt>
9893
9894         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9895
9896 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9897
9898         * .cvsignore: update
9899
9900         * lyx_main.C (commandLineVersionInfo): use new style version info.
9901
9902         * buffer.C (writeFile):
9903         (makeLaTeXFile):
9904         (makeLinuxDocFile):
9905         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9906
9907         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9908
9909         * version.h: update to use stuff in version.C
9910
9911         * version.C.in: new file. Contains version information determined
9912         at compile time. This is a merging of version.h and
9913         version_info.h.in.
9914
9915 2001-10-03  Juergen Vigna  <jug@sad.it>
9916
9917         * BufferView_pimpl.C (update): don't change "dirty" status in
9918         updateInset call.
9919
9920 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9921
9922         * WorkArea.C (c-tor): re-position version string slightly.
9923
9924 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9925
9926         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9927         revert to previous code.
9928
9929         WorkArea.[Ch]: (show, destroySplash): methods removed.
9930
9931         WorkArea.C: rework code so that it's an amalgam of the codes before and
9932         after the splash screen was moved to WorkArea.
9933
9934 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9935
9936         * lyxrc.C (read):
9937         * vspace.C (inPixels):
9938         (lyx_advance):
9939         * kbmap.C (bind):
9940         * buffer.C (insertStringAsLines):
9941         (asciiParagraph): fix types to be large enough
9942
9943         * lyxlex_pimpl.h: change member status from short to int
9944
9945         * layout.h: fix type of endlabeltype
9946
9947         * kbmap.C (bind):
9948         * kbsequence.C (parse): change return type to string::size_type
9949
9950         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9951         variable
9952
9953         * Bullet.C (bulletSize):
9954         (bulletEntry): do not use short ints as parameters
9955
9956         * BufferView2.C (insertLyXFile): change a char to an int.
9957
9958         * WorkArea.C (WorkArea): remove unneeded floats in computation
9959
9960 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9961
9962         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9963
9964         * paragraph.C (asString): Do not ignore newline/hfill chars when
9965         copying to the clipboard.
9966
9967 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9968
9969         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9970         after a multi-line inset.
9971
9972 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9973
9974         * paragraph.C (validate): Set NeedLyXFootnoteCode
9975
9976 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9977
9978         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9979         and decrease-error to decrease.
9980
9981 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9982
9983         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9984         it more readable (should be equivalent)
9985
9986 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9987
9988         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9989
9990 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9991
9992         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9993         of a cursor (row, etc.) after a character has been deleted
9994         (deleteEmptyParagraphMechanism): call the method above on _all_
9995         cursors held by the LyXText when a double space has been
9996         detected/deleted.
9997
9998 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9999
10000         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10001         pixmap.
10002         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10003
10004         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10005         background. Use greyOut() and the new show() methods to toggle between
10006         the foreground and background. Add code to remove the splash after
10007         its initial showing.
10008
10009         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10010         (create_forms): no longer call Dialogs::showSplash.
10011
10012 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10013
10014         * .cvsignore: add version_info.h
10015
10016 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10017
10018         * version_info.h.in: new file
10019
10020         * Makefile.am: add version_info.h.in
10021
10022         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10023         version_info.h instead of VERSION_INFO
10024
10025 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10026
10027         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10028         The ERT inset now returns string().
10029
10030 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10031
10032         * lyxtext.h, text.C (selectNextWord): renamed as
10033         selectNextWordToSpellcheck.
10034
10035         * text.C (selectNextWordToSpellcheck): Modified to not select
10036         words inside an ERT inset.
10037
10038 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10039
10040         * lyx_cb.C (MenuLayoutSave): change a bit the question
10041
10042         * sp_base.h: include <sys/types.h>
10043
10044 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10045
10046         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10047
10048 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10049
10050         * several files: fix typos in user-visible strings
10051
10052 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10053
10054         * text2.C (pasteSelection): do not set the selection, since it
10055         will be cleared later. Actually, the intent was to fix the way the
10056         selection was set, but I figured rmoving the code was just as good.
10057
10058 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10059
10060         * FontLoader.C (available): Check if font is available without
10061         loading the font.
10062
10063 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10064
10065         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10066
10067 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10068
10069         * lyxrc.[Ch]: added display_graphics variable and associated code.
10070
10071 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10072
10073         * bufferparams.C (hasClassDefaults): new method. Returns true if
10074         the buffer parameters correspond to known class defaults
10075
10076 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10077
10078         * XFormsView.C (show): set minimum size to the main window.
10079
10080 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10081
10082         * text2.C (copySelection):
10083         (cutSelection):
10084         * lyxfind.C (LyXReplace):
10085         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10086         LyXText::selectionAsString.
10087
10088         * paragraph.C (asString): add "label" argument to the second form
10089
10090         * text2.C (selectionAsString): add "label" argument and pass it to
10091         Paragraph::asString.
10092
10093 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10094
10095         * lyx_main.C (commandLineHelp): remove version information
10096
10097 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10098
10099         * lyx_main.C: add -version commandline option
10100
10101 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10102
10103         * paragraph.h: make the optional constructor arg required instead.
10104         some modifications to other files because of this.
10105
10106         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10107
10108         * lyxserver.C (C_LyXComm_callback): make it static
10109
10110         * lyx_main.C (error_handler): make it static
10111
10112         * lyx_gui.C (LyX_XErrHandler): make it static
10113
10114         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10115
10116         * WorkArea.C: make the extern "C" methods static.
10117
10118         * Makefile.am (lyx_LDADD): simplify
10119
10120 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10121
10122         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10123         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10124
10125         * LyXAction.C (init):
10126         * lyxfunc.C (dispatch): associated code removal.
10127
10128 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10129
10130         * lyxfont.h (isSymbolFont): shut off warning
10131
10132         * text.C (setHeightOfRow):
10133         (getVisibleRow): fix crash with empty paragraphs which have a
10134         bottom line
10135
10136 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10137
10138         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10139         code.
10140
10141 2001-09-04  José Matos  <jamatos@fep.up.pt>
10142         * buffer.C
10143         * buffer.h
10144         * tabular.C (docbook): rename docBook method to docbook.
10145
10146 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10147
10148         * Makefile.am: add dependencies to main.o.
10149
10150 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10151
10152         * FontLoader.C (available): Return false if !lyxrc.use_gui
10153
10154 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10155
10156         * FontInfo.C (query):
10157         * converter.C (view):
10158         * importer.C (Import):
10159         * exporter.C (Export): Can not -> cannot.
10160
10161 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10162
10163         * BufferView_pimpl.C: allow to create index inset even if
10164           string is empty
10165
10166 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10167
10168         * buffer.C (getLists): replace boost::tie code with an explicit pair
10169         as boost::tie can break some compilers.
10170
10171         * iterators.h: Added a std:: declaration to the return type of
10172         ParIterator::size.
10173
10174 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10175
10176         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10177           case.
10178
10179 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10180
10181         * iterators.[Ch]: New files. Provide paragraph iterators.
10182
10183         * buffer.C (changeLanguage): Use paragraph iterators.
10184         (isMultiLingual): ditto
10185
10186         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10187
10188 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10189
10190         * FontLoader.C: Support for cmr font.
10191
10192 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10193
10194         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10195         (available): New method.
10196
10197         * FontInfo.C (getFontname): Use scalable fonts even when
10198         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10199         found.
10200
10201 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10202
10203         * converter.C (Formats::view): reverted! Incorrect fix.
10204
10205 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10206
10207         * converter.C (Formats::view): only output the -paper option
10208         if the dvi viewer is xdvi, thereby fixing bug #233429.
10209
10210 2001-08-23  Herbert Voss  <voss@perce>
10211
10212         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10213
10214 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10215
10216         * Spacing.h (Spacing): Set space to Default on in the default
10217         constructor.
10218
10219 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10220
10221         * vc-backend.h (RCS::versionString): add RCS to version
10222         (CVS::versionString): add CVS to version
10223
10224         * vc-backend.C (scanMaster): do not add CVS to version.
10225         (scanMaster): do not add RCS to version
10226
10227         * lyxvc.C (versionString): new method
10228
10229         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10230
10231 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10232
10233         * Spacing.C (set): initialize fval
10234
10235 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10236
10237         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10238         " or \.
10239
10240 2001-08-16  Juergen Vigna  <jug@sad.it>
10241
10242         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10243
10244 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10245
10246         * BufferView_pimpl.C:
10247         * figureForm.C:
10248         * lyxtext.h:
10249         * text2.C: setParagraph takes linespacing now
10250
10251 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10252
10253         * LyxAction.C: add internal LFUN_CITATION_INSERT
10254
10255         * LyXView.C: actually apply fix
10256
10257         * bufferlist.C: fix open non-existent file
10258
10259         * lyxfind.C: fix indentation
10260
10261         * lyxfunc.C: remove unneeded assert, fix typo
10262
10263 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * MenuBackend.C: use "Floatname List"
10266
10267 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10268
10269         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10270         when converting LaTeX layout to insetERT.
10271         Generate a non-collapsed float when reading old float
10272
10273 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10274
10275         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10276         ERT insets.
10277
10278 2001-08-13  Juergen Vigna  <jug@sad.it>
10279
10280         * text.C (fill): return 0 instead of 20 as this seems to be the more
10281         correct value.
10282
10283 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10284
10285         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10286         lyxrc.font_norm.
10287
10288 2001-08-13  Juergen Vigna  <jug@sad.it>
10289
10290         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10291         casesensitive off.
10292         (SearchBackward): comment out the unlocking of the inset_owner this
10293         should not be needed!
10294
10295 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10296
10297         * Many files: Remove inherit_language, and add latex_language
10298
10299         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10300         collapsible insets.
10301
10302 2001-08-10  Juergen Vigna  <jug@sad.it>
10303
10304         * text.C (prepareToPrint): fixed hfill-width in draw!
10305
10306         * BufferView2.C (selectLastWord): save the selection cursor as this
10307         now is cleared in the function LyXText::clearSelection!
10308
10309 2001-08-08  Juergen Vigna  <jug@sad.it>
10310
10311         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10312         BACKSPACE type functions.
10313
10314         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10315         is only cutted from the document but not put in the cut-buffer, where
10316         still the old stuff should be.
10317
10318         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10319
10320         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10321
10322         * tabular.C (SetWidthOfCell): fixed special case where the width
10323         was not updated!
10324         (LeftLine): handle '|' in align_special.
10325         (RightLine): ditto
10326         (LeftAlreadyDrawed): ditto
10327         (SetWidthOfCell): ditto
10328
10329 2001-08-07  Juergen Vigna  <jug@sad.it>
10330
10331         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10332
10333 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10334
10335         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10336         * lyxlex.[hC]: ditto
10337
10338 2001-08-06  Juergen Vigna  <jug@sad.it>
10339
10340         * text.C (getVisibleRow): fix up row clearing a bit.
10341
10342 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10343
10344         * minibuffer.C: make sure the X server sees the changes in the input.
10345
10346 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10347
10348         * paragraph.C (getFont): split into...
10349         (getLabelFont): this
10350         (getLayoutFont): and this
10351         * paragraph_pimpl.C (realizeFont): calling this
10352
10353         * text2.C (getFont): split into...
10354         (getLayoutFont): this
10355         (getLabelFont): and this
10356         (realizeFont): all three calling this
10357
10358         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10359         files where used.
10360
10361 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10362
10363         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10364
10365 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10366
10367         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10368         layouts from the Quote inset insertion.
10369
10370 2001-08-03  Juergen Vigna  <jug@sad.it>
10371
10372         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10373
10374         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10375         only if status not is already CHANGED_IN_DRAW (second level).
10376
10377         * text.C (draw): don't set the need_break_row when inside an
10378         InsetText LyXText.
10379
10380 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10381
10382         * buffer.C (parseSingleLyXformat2Token): handle more latex
10383         conversion cases.
10384
10385         * bufferview_funcs.[hC]: change function names to
10386         begin with small char, adjust other files.
10387
10388 2001-08-02  André Pönitz <poenitz@gmx.net>
10389
10390         * lyxfunc.C:
10391         BufferView_pimpl.C: remove broken special code for math-greek
10392
10393 2001-08-02  Juergen Vigna  <jug@sad.it>
10394
10395         * BufferView_pimpl.C (update): redone this function so that we
10396         update the text again if there was a CHANGE_IN_DRAW.
10397
10398         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10399         (drawFromTo): added a new internal bool which is used by draw() and
10400         redraw() function.
10401         (general): some cursor drawing problems fixed.
10402
10403 2001-08-01  Juergen Vigna  <jug@sad.it>
10404
10405         * lyxfind.C (LyXFind): fixed
10406         (SearchForward): ditto
10407         (SearchBackward): ditto
10408
10409         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10410         spurius drawing of the cursor in the main area.
10411
10412         * text2.C (status): small fix which could lead to a segfault!
10413         (clearSelection): remove unneeded BufferView param.
10414
10415 2001-08-01  André Pönitz <poenitz@gmx.net>
10416
10417         * lyxfunc.C: small change due to changed mathed interface
10418
10419 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10420
10421         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10422
10423 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10424
10425         * lyxfunc.c: fail gracefully if file doesn't exist
10426
10427         * LyXSendto.C:
10428         * buffer.C:
10429         * lyxfunc.C:
10430         * BufferView_pimpl.C: IsDirWriteable() proto changed
10431
10432         * LyXView.C: fix updateWindowTitle() to store the last title
10433
10434 2001-07-31  Juergen Vigna  <jug@sad.it>
10435
10436         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10437         the font (wrong since using of Paragraph::highestFontInRange).
10438
10439         * paragraph.C (highestFontInRange): added a default_size parameter.
10440
10441         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10442         (setHeightOfRow): reformat
10443
10444 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10445
10446         * converter.[hC] + affected files: move to (inital-char)lowercase
10447         function names.
10448
10449         * ParagraphParameters.C (ParagraphParameters): remove commented code
10450
10451         * PainterBase.[Ch]: remove commented code
10452
10453         * LaTeXFeatures.h: add "bool floats" for float.sty
10454
10455         * LaTeXFeatures.C (LaTeXFeatures): init floats
10456         (require): handle float
10457         (getPackages): do it with floats
10458
10459 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10460
10461         * BufferView_pimpl.C (Dispatch): improve handling of
10462         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10463
10464         * commandtags.h: #include lyxfont.h here temporarily to avoid
10465         keybinding bug.
10466
10467         * bufferlist.h: include LString.h here.
10468
10469 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10470
10471         * text2.C (getStringToIndex): new method.
10472
10473 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10474
10475         * *: Reduced header file dependencies all over.
10476
10477 2001-07-30  Baruch Even  <baruch@lyx.org>
10478
10479         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10480
10481 2001-07-29  Baruch Even  <baruch@lyx.org>
10482
10483         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10484
10485 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10486
10487         * ParameterStruct.h (endif): add a default constructor to make
10488         sure that all variables is initialized.
10489
10490         * ParagraphParameters.C (ParagraphParameters): adjust
10491
10492 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10493
10494         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10495         index; also, check that there is something to index, and that it
10496         does not span over several paragraphs.
10497         (doubleClick): use WHOLE_WORD_STRICT for double click.
10498
10499         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10500
10501         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10502         scheme.
10503
10504 2001-07-26  Baruch Even  <baruch@lyx.org>
10505
10506         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10507         an InsetFig figure, backwards compatible reading of old figure code.
10508
10509 2001-07-27  Juergen Vigna  <jug@sad.it>
10510
10511         * text2.C: font.realize function adaption.
10512
10513         * text.C (draw): add a warnings lyxerr text if needed.
10514
10515         * layout.C: font.realize function adaption.
10516
10517         * language.C: add inherit_language and implement it's handlings
10518
10519         * bufferview_funcs.C (StyleReset): remove language parameter from
10520         font creation (should be language_inherit now).
10521
10522         * bufferparams.C (writeFile): handle ignore_language.
10523
10524         * paragraph.C (getFontSettings): the language has to be resolved
10525         otherwise we have problems in LyXFont!
10526
10527         * lyxfont.C (lyxWriteChanges): added document_language parameter
10528         (update): removed unneeded language parameter
10529
10530         * paragraph.C (validate): fixed wrong output of color-package when
10531         using interface colors for certain fonts in certain environments,
10532         which should not seen as that on the final output.
10533
10534 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * BufferView_pimpl.C:
10537         * Thesaurus.h:
10538         * Thesaurus.C:
10539         * Makefile.am:
10540         * commandtags.h:
10541         * LyXAction.C: add thesaurus support
10542
10543         * lyxfind.h:
10544         * lyxfind.C: add "once" parameter, for thesaurus, to not
10545           move to the next match
10546
10547 2001-07-26  Juergen Vigna  <jug@sad.it>
10548
10549         * lyxfont.C (realize): honor ignore_language too!
10550         (resolved): ditto.
10551
10552         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10553
10554         * text.C (draw): one place more for ignore_language to not draw
10555         itself!
10556
10557 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10558
10559         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10560
10561 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10562
10563         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10564         the minipage conversion problem.
10565
10566 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10567
10568         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10569         insert an inset.
10570
10571 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10572
10573         * BufferView.h: don't forward declare WorkArea
10574
10575         * BufferView.C: don't include WorkArea.h
10576
10577 2001-07-25  André Pönitz <poenitz@gmx.net>
10578
10579         * commandtags.h:
10580         * LyXAction.C:
10581         * lyxfunc.C:  new LFUN 'math-space'
10582
10583         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10584
10585 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10586
10587         * text2.C (toggleInset): call open/close
10588
10589 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10590
10591         * lyxfunc.C (dispatch): add debug for the disabled case
10592
10593         * font.C (buttonText): make similar to rectText
10594
10595         * buffer.C (readInset): comment out parsing of insetlist and
10596         insttheorem
10597
10598         * PainterBase.C (rectText): small correction
10599
10600         * BufferView_pimpl.C: comment out insettheorem and insetlist
10601         * LyXAction.C: ditto
10602         * commandtags.h: ditto
10603
10604 2001-07-24  Juergen Vigna  <jug@sad.it>
10605
10606         * text.C (draw): honor the ignore_language.
10607
10608         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10609
10610 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10611
10612         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10613         char inset.
10614
10615 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10616
10617         * lyxtext.h: remove unused (and unimplemented) methods
10618
10619 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10620
10621         * text.C (getVisibleRow): honor background color
10622
10623         * PainterBase.h:
10624         * Painter.h: remove default color argument for fillRectangle
10625
10626         * text.C (backgroundColor): new method
10627
10628 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10629
10630         * text.C (getVisibleRow): adjust
10631
10632         * font.[Ch] (rectText): new method, metrics
10633         (buttonText): new method, metrics
10634
10635         * PainterBase.[hC]: make rectText and buttonText always draw and take
10636         fewer paramteres.
10637
10638 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10639
10640         * ToolbarDefaults.C (read):
10641         * MenuBackend.C (read): allow escaping in all strings
10642
10643         * BufferView_pimpl.C (insertAndEditInset): new method.
10644         (Dispatch): use insertAndEditInset whenever appropriate.
10645
10646         * BufferView_pimpl.C (insertNote): removed
10647
10648         * BufferView_pimpl.C (smartQuote): new method, moved from
10649         BufferView; if an insetquote cannot be inserted, insert a '"'
10650         character instead.
10651
10652         * BufferView2.C: remove insertCorrectQuote();
10653
10654         * lyxfunc.C (getStatus): Add support for all remaingin
10655         inset-insert lfuns.
10656
10657         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10658
10659         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10660         command (necessary to pass " as parameter of self-insert.
10661
10662         * text.C (selectWordWhenUnderCursor):
10663         (selectWord): add word_location parameter
10664         (selectWordWhenUnderCursor): same + remove special code for word
10665         boundary.
10666         (selectNextWord): use kind() to guess type of insetspecialchar,
10667         not latex().
10668
10669         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10670         (insertErtContents): create ert insets as collapsed.
10671         (readInset): better compatibility code for Info inset.
10672
10673 2001-07-20  Juergen Vigna  <jug@sad.it>
10674
10675         * lyxfunc.C (dispatch): use always LyXFind now!
10676
10677         * text2.C (init): add a reinit flag so that the LyXText can be
10678         reinited instead of deleted and reallocated (used in InsetText).
10679
10680         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10681
10682         * text.C: ditto
10683
10684         * text2.C: ditto
10685
10686 2001-07-18  Juergen Vigna  <jug@sad.it>
10687
10688         * text.C (selectNextWord): handle insets inside inset by calling
10689         always the bv->text functions so that we can go up the_locking_inset!
10690
10691         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10692         in strange locations when inside an inset!
10693
10694         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10695         handling to include insets.
10696
10697         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10698
10699 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10700
10701         * LyXAction.C (init):
10702         * commandtags.h:
10703         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10704         LIGATURE_BREAK, since the name is so stupid.
10705
10706 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10707
10708         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10709         InsetInfos.
10710
10711         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10712
10713         * sp_form.[Ch]: remove.
10714
10715         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10716
10717         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10718         InsetInfo.
10719
10720         * src/buffer.C (readInset): ditto.
10721
10722 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10723
10724         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10725         menuSeparator(), endOfSentenceDot(), ldots() and
10726         hyphenationPoint(), which are therefore removed.
10727         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10728
10729         * LyXAction.C (init):
10730         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10731
10732         * paragraph.C (getWord): removed.
10733
10734         * BufferView_pimpl.C (Dispatch): use last word or selection for
10735         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10736
10737         * lyx_main.C (queryUserLyXDir): do not ask before creating
10738         user_dir, except if it has been named explicitely.
10739
10740 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10741
10742         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10743         a document of zero size.
10744
10745 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10746
10747         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10748         approriately in the c-tor and in require().
10749         (getPackages): output the appropriate LaTeX for natbib support.
10750
10751         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10752         variables "use_natbib" and "use_numerical_citations" when reading the
10753         LyX file.
10754         (readInset): read the various natbib cite commands.
10755         (validate): white-space change.
10756
10757         * bufferparams.[Ch]: new variables "bool use_natbib" and
10758         "bool use_numerical_citations".
10759         (writeFile): output them in the LyX file.
10760
10761 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10762
10763         * lyxfunc.C (getStatus): add support for all the inset insertion
10764         commands.
10765
10766         * text2.C (insertInset):
10767         * paragraph.C (insetAllowed):
10768         * BufferView_pimpl.C (insertInset): update to take in account the
10769         renaming of insertInsetAllowed
10770
10771         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10772
10773         * text2.C (getInset): new method. returns inset at cursor position.
10774
10775         * BufferView_pimpl.C (Dispatch): changes because of this.
10776
10777         * LyXAction.C (init): rename open-stuff to inset-toggle.
10778
10779         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10780
10781         * text2.C (toggleInset): renamed from openStuff; use
10782         Inset::open().
10783
10784 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10785
10786         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10787
10788         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10789
10790 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10791
10792         * buffer.C (readLyXformat2): Add filename to the error dialog
10793
10794 2001-07-18  Juergen Vigna  <jug@sad.it>
10795
10796         * tabular.C (GetCellNumber): put an assert here instead of the check!
10797
10798 2001-07-17  Juergen Vigna  <jug@sad.it>
10799
10800         * BufferView_pimpl.C (toggleSelection): adapted too.
10801
10802         * text.C (selectNextWord): adapted for use with insets.
10803         (selectSelectedWord): ditto
10804
10805 2001-07-17  Juergen Vigna  <jug@sad.it>
10806
10807         * sp_spell.C (PSpell): fix initialitation order.
10808
10809 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10810
10811         * paragraph.C: spacing
10812
10813 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10814
10815         * sp_spell.C: repair language selection for pspell
10816
10817 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10818
10819         * lyxfunc.h: change more methods to begin with lower char.
10820
10821 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10822
10823         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10824         for unknown layouts.
10825
10826 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10827
10828         * buffer.C (readLyXformat2): Generate an error dialog if there are
10829         unknown layouts.
10830
10831 2001-07-16  Juergen Vigna  <jug@sad.it>
10832
10833         * sp_spell.C: always compile ISpell part.
10834
10835         * lyxrc.C: added use_pspell entry and it's handling.
10836
10837 2001-07-13  Juergen Vigna  <jug@sad.it>
10838
10839         * sp_spell.C: removed double includes.
10840
10841 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10842
10843         Consistent use of Lsstream.h:
10844         * Lsstream.h: added using std::stringstream for consistencies sake.
10845
10846         * buffer.C: removed using std::stringstream
10847
10848         * lyxfont.C (stateText):
10849         * paragraph.C (asString):
10850         * text.C (selectNextWord, selectSelectedWord):
10851         * text2.C (setCounter):
10852         * vspace.C (asString, asLatexString):
10853         std::ostringstream -> ostringstream.
10854
10855 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10856
10857         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10858         * commandtags.h: add LFUN_HELP_ABOUTLYX
10859         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10860
10861 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10862
10863         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10864         cursorToggle()
10865         * lyx_gui_misc.C: remove spellchecker
10866         * lyxfunc.C: showSpellchecker
10867         * sp_base.h: added
10868         * sp_ispell.h: added
10869         * sp_pspell.h: added
10870         * sp_spell.C: added
10871         * sp_form.[Ch]: removed
10872         * spellchecker.[Ch]: removed
10873
10874 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10875
10876         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10877         is set.
10878         (simpleTeXSpecialChars): Simply print the input character without
10879         any special translation if pass_thru is set.
10880
10881         * layout.h: Added bool pass_thru to layout class for being able to
10882         implement pass through of a paragraph for Literate Programming.
10883
10884         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10885         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10886         * layout.C (Read): add "passthru" to list of layout tags and add
10887         code to set the pass_thru boolean when it is read.
10888
10889 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10890
10891         * trans_decl.h: remove allowed from KmodInfo
10892
10893         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10894         remove allowed code
10895         (Load): adjust
10896
10897         * paragraph_pimpl.C (erase): use boost::prior
10898
10899         * Painter.C (text): use data() instead of c_str() when length is
10900         also provided.
10901         * WorkArea.C (putClipboard): ditto
10902         * font.h (width): ditto
10903
10904         * BufferView2.C: use it-> instead of (*it). for iterators
10905         * texrow.C: ditto
10906         * paragraph_pimpl.C: ditto
10907         * paragraph.C: ditto
10908         * minibuffer.C: ditto
10909         * language.C: ditto
10910         * kbmap.C: ditto
10911         * encoding.C: ditto
10912         * counters.C: ditto
10913         * converter.C: ditto
10914         * chset.C: ditto
10915         * Variables.C: ditto
10916         * TextCache.C: ditto
10917         * MenuBackend.C: ditto
10918         * LyXAction.C: ditto
10919         * LColor.C: ditto
10920         * FloatList.C: ditto
10921         * DepTable.C: ditto
10922         * ColorHandler.C (LyXColorHandler): ditto
10923
10924 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10925
10926         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10927
10928         * text2.C (openStuff): reintroduce this method (which had been
10929         nuked in NEW_INSETS frenzy).
10930
10931         * lyxfunc.C (Dispatch): when an action has not been handled, use
10932         its name in the error message, not its number.
10933
10934         * paragraph.C (inInset): change method name to begin with lowercase.
10935
10936         * undo_funcs.C:
10937         * text2.C: updates because of this.
10938
10939 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10940
10941         * ToolbarDefaults.C (add): add spaces in error message
10942
10943 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10944
10945         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10946         (readLyXformat2): rename return_par to first_par, use lyxlex's
10947         pushToken and remove the manual push handling.
10948         (parseSingleLyXformat2Token): add another ert comp. variable:
10949         in_tabular, rename return_par to first_par. handle newlines better
10950
10951 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10952
10953         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10954
10955 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10956
10957         * text2.C (getParFromID): removed
10958
10959         * buffer.C (getParFromID): new method moved form lyxtext.
10960         * BufferView2.C (insertErrors): adjust
10961         (setCursorFromRow): adjust
10962         * BufferView_pimpl.C (restorePosition): adjust
10963         * lyxfunc.C (Dispatch): adjust
10964         * undo_funcs.C (textUndo): adjust
10965         (textRedo): adjust
10966         (textHandleUndo): adjust
10967         (textHandleUndo): adjust
10968
10969 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10970
10971         * buffer.C: up' the LYX_FORMAT
10972
10973         * lyxfont.h: turn NO_LATEX on as default
10974
10975         * buffer.C (insertErtContents): new methods of tex style compability.
10976         (parseSingleLyXformat2Token): use it several places.
10977         * tabular.C (OldFormatRead): and here
10978
10979 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10980
10981         * text2.C: remove some commented code.
10982         reindent file.
10983
10984         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10985         * trans.C: changes because of the above.
10986
10987 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10988
10989         * text2.C (setCounter): Fix counters bug with bibliography layout.
10990
10991 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10992
10993         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10994         own member functions
10995         (simpleTeXSpecialChars): ditto
10996
10997 2001-07-06  Juergen Vigna  <jug@sad.it>
10998
10999         * a lot of files: changed the access to LyXText::status and the
11000         call of undo-functions.
11001
11002         * undo.[Ch]: added a inset_id to the undo informations.
11003
11004         * undo_funcs.[Ch]: added and moved here all undo functions.
11005
11006         * lyxtext.h: give the status enum a weight, made status_ a private
11007         variable and made accessor functions for it, removed the whole bunch
11008         of undo-functions as they are now in their own file, make some
11009         functions publically available. Added function ownerParagraph with
11010         int parameter.
11011
11012         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11013         made InInset() a const function, added getParFromID() function.
11014
11015         * buffer.[Ch]: added const version for inset_iterator functions,
11016         added getInsetFromID() function.
11017
11018         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11019         changed undo functions for new version.
11020
11021 2001-07-05  Juergen Vigna  <jug@sad.it>
11022
11023         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11024         unknow mechanism does not call the proper constructor but only this
11025         one also if I request the other!?
11026
11027 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11028
11029         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11030
11031         * text2.C (LyXText): use initialization lists.
11032
11033         * lyxtext.h (Selection): initialize set_ and mark_
11034         (init): remove method
11035
11036 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11037
11038         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11039
11040 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11041
11042         * screen.[Ch]: change method names to begin with lowercase
11043
11044         * BufferView_pimpl.C (updateScrollbar): simplify further and
11045         hopefully make it a bit faster.
11046
11047 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11048
11049         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11050         calling directly xforms functions.
11051
11052         * Painter.C (Painter):
11053         * lyx_cb.C (MenuWrite):
11054         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11055         fl_display.
11056
11057         * lyx_gui.C: remove bogus guiruntime extern declaration.
11058
11059 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11060
11061         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11062         in NEW_INSETS
11063         (redoDrawingOfParagraph): ditto
11064         (redoParagraphs): ditto
11065         (cutSelection): don't create a object for CutAndPaste use the
11066         static method directly
11067         (pasteSelection): ditto
11068
11069         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11070         LyXview (+ rename)
11071
11072 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11073
11074         * modifications to some other files because of this.
11075
11076         * Makefile.am (lyx_SOURCES): add XFormsView
11077
11078         * XFormsView.[Ch]: new files
11079
11080         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11081         the main window. Move the gui dependent stuff to XFormsView
11082
11083 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11084
11085         * tabular.C (GetCellInset): update cur_cell also in the row/col
11086         version of this function.
11087
11088         * lyxfunc.C: no need to include figure_form.h here.
11089
11090         * FontLoader.h:
11091         * lyxfunc.h:
11092         * lyxscreen.h:
11093         * text2.C:
11094         * lyxvc.C: no need to include forms.h here.
11095
11096 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11097
11098         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11099
11100         * lyxfunc.C (Dispatch):
11101         * Spacing.C (set):
11102         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11103         constructor argument.
11104
11105 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11106
11107         * paragraph.C (Paragraph): dont't clear, and just set layout.
11108         (makeSameLayout): use params's copy contructor.
11109
11110         * ParagraphParameters.[Ch] (makeSame): delete method
11111
11112 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11113
11114         * Variables.[Ch]: fix indentation, rename set to isSet
11115
11116 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11117
11118         * lyxfunc.C (Dispatch): fix typo
11119
11120 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11121
11122         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11123         upper_bound.
11124
11125         * bufferlist.C: include assert.h for emergencyWrite().
11126
11127 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11130           give up at last (bug #425202) !
11131
11132 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * lyx_gui_misc.C:
11135         * sp_form.h:
11136         * sp_form.C:
11137         * spellchecker.h:
11138         * spellchecker.C: strip spellchecker options and bring up
11139           preferences tab instead
11140
11141 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11142
11143         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11144         the istringstream constructor
11145
11146 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11147
11148         * paragraph.C (getLayout): fix return value
11149
11150         * paragraph.h: do not declare getLayout as inline.
11151
11152         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11153
11154 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11155
11156         * lyxcursor.h (operator<): new func
11157         (operator>): new func
11158         (operator>=): new func
11159         (operator<=): new func
11160
11161         * text.C (changeCase): use selection.start and selection.end
11162         (changeRegionCase): require from to be <= to. Require par to be a
11163         valid paragraph.
11164
11165         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11166
11167 2001-06-27  Juergen Vigna  <jug@sad.it>
11168
11169         * text.C (cursorLeftOneWord): changed to return the cursor and added
11170         overlay with BufferView * parameter which calls this one.
11171         (getWord): added
11172         (selectWord): use new getWord function.
11173         (changeCase): renamed from changeWordCase as and extended to work
11174         also on selections.
11175
11176         * lyxtext.h: added enum word_location
11177
11178         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11179         changeCase as this operates now also on selections.
11180
11181 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11182
11183         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11184
11185         * many files: send debug output to Debug::INFO instead of
11186         Debug::ANY.
11187
11188         * converter.C (View):
11189         (Convert):
11190         (Move): send debug output to Debug::FILES instead of console.
11191
11192 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11193
11194         * lyxfunc.C (getStatus): use func_status
11195
11196         * func_status.h: new header, describing the results of
11197         LyXFunc::getStatus;
11198
11199         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11200         LFUN_MATH_HALIGN.
11201
11202 2001-06-25  The LyX Project  <jug@sad.it>
11203
11204         * buffer.C (sgmlOpenTag):
11205         (sgmlCloseTag):
11206         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11207
11208 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11209
11210         * text2.C: remove some dead code
11211
11212         * tabular.C (GetCellInset): store the last cell checked (gotten)
11213
11214         * tabular.h: add the helper for the speedup
11215
11216         * lyxtext.h: remove some dead code
11217
11218 2001-06-26  The LyX Project  <Asger>
11219
11220         * paragraph.C: Change export to LaTeX of alignment to
11221         \begin{center} and family for better roundtrip work with reLyX.
11222
11223         * Tune the math drawing a bit.
11224
11225 2001-06-25  The LyX Project  <Asger>
11226
11227         * LColor.C (LColor): New color for math background. New color
11228         for buttons.
11229
11230 2001-06-25  The LyX Project  <jug@sad.it>
11231
11232         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11233
11234         * lyxfunc.C (Open):
11235         * bufferlist.C (newFile): do not restrict to files ending with
11236         .lyx
11237
11238         * BufferView_pimpl.C (MenuInsertLyXFile):
11239
11240 2001-06-24  The LyX Project  <jug@sad.it>
11241
11242         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11243         of compare_no_case
11244
11245 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11246
11247         * lyxtext.h: rename most methods to begin with a small char.
11248         Lots of changes because of this.
11249
11250         * paragraph.C (Paragraph): do not call fitToSize
11251         (erase): call Pimpl::erase
11252         (insertChar): call Pimpl::insertChar
11253         (insertInset): call Pipl::insertInset
11254         (breakParagraph): do not call fitToSize
11255         (breakParagraphConservative): do not call fitToSize
11256         (fitToSize): remove method
11257
11258         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11259
11260 2001-06-24  The LyX Project  <Asger>
11261
11262         * Fix Qt compilation^2
11263
11264 2001-06-24  The LyX Project  <jug@sad.it>
11265
11266         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11267         depthHook(getDepth()-1).
11268
11269         * paragraph.h:
11270         * ParagraphParameters.h:
11271         * ParameterStruct.h: change type of depth to unsigned int ==
11272         depth_type. Many adaptations to other files before of that.
11273
11274 2001-06-24  The LyX Project  <Asger>
11275
11276         * Fix Qt compilation.
11277
11278 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11279
11280         * paragraph.h: renamed several methods to begin with small letter.
11281         several changes to many parts of the code because of this.
11282
11283 2001-06-23  The LyX Project  <jug@sad.it>
11284
11285         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11286         rewritten to discard all double spaces when KeepEmpty is off
11287         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11288         to only handle newlines but not fiddle with spaces and friends.
11289
11290         * lyxfunc.C (MenuNew): when doing 'new from template', use
11291         template_path as default directory
11292
11293 2001-06-23  The LyX Project  <Asger>
11294
11295         * Clean-up of header file includes all over
11296         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11297
11298 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11299
11300         * paragraph.h: renamed from lyxparagraph.h
11301
11302 2001-06-23  Asger  <lyx@violet.home.sad.it>
11303
11304         * Buffer.h: Removed Buffer::resize
11305         * BufferList.h: Removed BufferList::resize
11306         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11307         the document lazily when we change the width, or the font settings.
11308
11309 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11310
11311         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11312
11313 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11314
11315         * buffer.h: remove out of date comment
11316
11317 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11318
11319         * lyxscreen.h:
11320         * screen.C: fix "theoretical" GC leak
11321
11322 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11323
11324         * LaTeX.C (scanAuxFile):
11325         (deplog): remove trailing \r when reading stream (useful under
11326         win32)
11327
11328 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11329
11330         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11331         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11332         and BufferView::theLockingInset(Inset*), so should use them and not
11333         access bv_->text->the_locking_inset directly.
11334
11335         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11336
11337 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11338
11339         * Makefile.am:
11340         * tex-defs.h: remove old unused file
11341
11342 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * BufferView_pimpl.C: fix typo, remove minibuffer message
11345           when buffer has loaded
11346
11347 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * lyxfunc.C (Dispatch): use stringstream
11350         (MenuNew): use stringstream
11351         (Open): use stringstream
11352
11353         * importer.C (Import): use stringstream
11354
11355         * bufferview_funcs.C (CurrentState): use stringstream
11356
11357         * LaTeX.C (run): use stringstream
11358
11359         * BufferView_pimpl.C (savePosition): use stringstream
11360         (restorePosition): use stringstream
11361         (MenuInsertLyXFile): use stringstream
11362
11363 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11364
11365         * BufferView.C:
11366         * Bullet.C:
11367         * ColorHandler.C:
11368         * FontInfo.C:
11369         * FontLoader.C:
11370         * LColor.C:
11371         * LaTeXFeatures.C:
11372         * Painter.C:
11373         * gettext.C:
11374         * lyx_gui_misc.C:
11375         * lyxserver.C:
11376         * vspace.C: removed // -*- C++ -*- as first line.
11377
11378         * lyxfind.h:
11379         * version.h: added // -*- C++ -*- as first line.
11380
11381 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11382
11383         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11384
11385         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11386         of string
11387
11388 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11389
11390         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11391         of floats.
11392
11393 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11394
11395         * gettext.C: include LString.h even when --disable-nls is on.
11396
11397 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11398
11399         * converter.h (Get): changed argument type from int to
11400         FormatList::size_type to avoid unnecessary conversion.
11401
11402         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11403         before using it.
11404
11405 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11406
11407         * gettext.h: include LString.h even when --disable-nls is on.
11408
11409 2001-06-07  Juergen Vigna  <jug@sad.it>
11410
11411         * text.C (BreakAgain): subst spaces with tabs.
11412
11413         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11414         (resizeInsetsLyXText): set force on resizeLyXText.
11415
11416 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11417
11418         * gettext.h (gettext_init):
11419         (locale_init): use a real definition instead of a macro
11420
11421 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * Bufferview_pimpl.C:
11424         * LColor.h:
11425         * LColor.C: further lcolor tidies
11426
11427 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11428
11429         * BufferView_pimpl.C (updateScrollbar): simplify.
11430
11431         * BufferView2.C: don't include insets/insetinfo.h, change
11432         prototype for insertInset and call the Pimpl version. let
11433         updateInset call Pimpl version.
11434
11435         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11436         gotoInset to BufferView::Pimpl
11437
11438 2001-06-01  Juergen Vigna  <jug@sad.it>
11439
11440         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11441         inside a LockingInset (is the update needed at all?).
11442
11443 2001-05-31  Juergen Vigna  <jug@sad.it>
11444
11445         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11446         here not the old one otherwise how should we compare it afterwards
11447         if it's the same!
11448
11449 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11450
11451         * lyxfont.C:
11452         * tabular.C:
11453         * tabular-old.C:
11454         * FontInfo.C: bring C functions into global namespace when
11455         necessary
11456
11457 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11458
11459         * LString.h: make sure config.h has been loaded before LString.h.
11460
11461         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11462         (one for each char read by EatLine!).
11463
11464         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11465         variables.
11466
11467 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11468
11469         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11470         to the same as the par we break from
11471
11472 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11473
11474         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11475
11476         * MenuBackend.C (expand): also create menu entries for wide
11477         versions of the floats.
11478
11479         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11480
11481         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11482
11483         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11484         frontends/Makefile.am
11485
11486         * text2.C: adjust
11487         * text.C: adjust
11488
11489
11490         * tabular.C (getTokenValue): add std::
11491
11492         * tabular-old.C (getTokenValue): add std::
11493         (getTokenValue): ditto
11494         (getTokenValue): ditto
11495
11496         * screen.C (ToggleSelection): adjust
11497
11498         * lyxtext.h: put selection cursors inside a Selection struct.
11499
11500         * lyxfunc.C (moveCursorUpdate): adjust
11501
11502         * lyxfont.C (latexWriteStartChanges): add std::
11503
11504         * lyxfind.C: adjust
11505
11506         * font.h: delete with(char const *, LyXFont const &)
11507
11508         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11509
11510         * FontInfo.C (getFontname): add std::
11511
11512         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11513         (workAreaButtonPress): adjust
11514         (tripleClick): adjust
11515         (update): adjust
11516         (moveCursorUpdate): adjust
11517         (Dispatch): adjust
11518
11519         * BufferView2.C (gotoInset): adjust
11520
11521 2001-05-30  Juergen Vigna  <jug@sad.it>
11522
11523         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11524         to check pspell I add this as default as I now have new pspell
11525         libraries and they seem to use this.
11526
11527 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * text2.C (CutSelection): make the cursor valid before the call to
11530         ClearSelection.
11531
11532 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11533
11534         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11535         relied on 0 terminated strings and other horrors. Bug found due to
11536         the new assert in lyxstring!
11537
11538         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11539         KP_ keys.
11540
11541 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11544         to latinkeys.bind.
11545
11546         * lyxfunc.C (processKeySym): change method of getting to the
11547         self-insert char.
11548
11549         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11550         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11551         * BufferView_pimpl.[Ch]: here as private methods.
11552
11553 2001-05-28  Juergen Vigna  <jug@sad.it>
11554
11555         * text.C (SetHeightOfRow): added the update() call again as it is
11556         needed to initialize inset dimensions!
11557
11558 2001-05-16  Juergen Vigna  <jug@sad.it>
11559
11560         * text2.C (SetCharFont): Add new function with BufferView * and
11561         bool toggleall parameters for setting insets internal fonts.
11562         (SetFont): Freeze the undo as we may change fonts in Insets and
11563         all this change should be inside only one Undo!
11564
11565         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11566         setting font's in insets as for them we have the SetFont function!
11567
11568 2001-05-15  Juergen Vigna  <jug@sad.it>
11569
11570         * text2.C (ClearSelection): to be sure we REALLY don't have any
11571         selection anymore!
11572
11573         * tabular.C (TeXCellPreamble): fixed the left border problem for
11574         multicolumn cells.
11575
11576 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11577
11578         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11579         dependancy file
11580
11581 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11584         LFUN_BREAKPARAGRAPH.
11585
11586         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11587         help test to "internal only", similar for LFUN_INSERT_URL
11588
11589         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11590         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11591         auto_region_delete and deadkeys.
11592
11593 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11594
11595         * LColor.h:
11596         * LColor.C: remove some dead entries, tidy a little
11597
11598 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11601         commented code.
11602         (Dispatch): implement LFUN_ESCAPE
11603
11604         * commandtags.h: add LFUN_ESCAPE
11605
11606         * LyXAction.C (init): add entry for LFUN_ESCAPE
11607
11608         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11609         Remove commented code.
11610         (insertNote): moved here
11611         (open_new_inset): moved here
11612
11613         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11614         BufferView_pimpl
11615
11616 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11617
11618         * kbmap.C (findbinding): clean it up and make it work correctly.
11619
11620         * lyx_main.C (init): do not pass argc and argv as parameters
11621
11622 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11623
11624         * buffer.C: fix path for OS/2 & Win32
11625
11626         * lyx_gui.C:
11627         * lyx_main:
11628         * lyx_main.C: Added os:: class.
11629
11630         * os2_defines.h: update
11631
11632 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11633
11634         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11635         better by trying again with reduced state.
11636
11637 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11638
11639         * lyxrc.C (read): print error about invalid key sequence only when
11640         debugging (because not all latinX keysyms are known to some X
11641         servers)
11642
11643         * kbsequence.C (getiso): add a few std:: qualifiers
11644         (getiso): comment out extra return statement.
11645
11646 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11647
11648         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11649         handling.
11650         (Dispatch): enhance the accent inset a bit. (not perfect)
11651
11652 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11653
11654         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11655
11656 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11657
11658         * bufferlist.C (emergencyWrite): fix assert() call
11659
11660 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11661
11662         * text.C (InsertChar): Added trivial patch to only send the "you
11663         can not do multiple spaces this way" message once during a
11664         session.
11665
11666 2001-05-08  Baruch Even  <baruch@lyx.org>
11667
11668         * Makefile.am: Changed order of libraries to get LyX to link properly
11669         with the gnome frontend.
11670
11671 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11672
11673         * LaTeXFeatures.h: add a std:: qualifier
11674
11675 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11676
11677         * paragraph.C (String): use stringstream
11678
11679 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11680
11681         * paragraph.C (writeFile): remove footflag arg
11682
11683         * buffer.C (makeLaTeXFile): use stringstream
11684         (latexParagraphs): remove footnot gurba
11685
11686         * LaTeXFeatures.C (getPackages): use stringstream
11687         (getMacros): likewise
11688         (getTClassPreamble): likewise
11689         (getFloatDefinitions): new method
11690
11691         * paragraph.C (writeFile): reindent
11692         (Erase): reindent
11693
11694         * WorkArea.h: revert the xpos + etc changes.
11695
11696         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11697
11698         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11699
11700         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11701         (pasteSelection): likewise
11702         * text2.C (CreateUndo): likewise
11703
11704 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11705
11706         * minibuffer.C (peek_event): temporarily reduce the functionality
11707         of the minibuffer (to allow args on lfuns)
11708
11709         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11710         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11711
11712         * buffer.C (readInset): add compability reading of old float
11713         lists, add reading of new style float list.
11714         (readInset): avoid reevaluation of inscmd.getCmdName()
11715         (getLists): reindent
11716
11717         * MenuBackend.C (MenuItem): implement parsing of
11718         md_floatlistinsert and md_floatinsert.
11719         (expand::LastFiles): move initalizaton of iterators out of loop,
11720         avoid reevaluation.
11721         (expand::Documents): introduce typdedef vector<string> Strings,
11722         and use it.
11723         (expand::ExportFormats): introduce typedef vector<Format const *>
11724         Formats, and use it.
11725         (expand): implement FloatListInsert and FloatInsert.
11726
11727         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11728         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11729         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11730
11731         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11732         handling.
11733         (Dispatch::LFUN_FLOAT_LIST): implement
11734
11735 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11736
11737         * LaTeX.C (run): Fix problem with --export code.
11738
11739 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11740
11741         * BufferView.[Ch] (workarea): removed.
11742         (getClipboard) new method; wrapper for workarea()->getClipboard()
11743
11744         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11745         bug.
11746
11747         * WorkArea.h (width, height, xpos, ypos): These methods all
11748         returned the dimensions of the work_area sub-area of WorkArea,
11749         resulting in a position error if the WorkArea were resized. Now
11750         return the dimensions of the entire WorkArea.
11751
11752         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11753
11754 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11755
11756         * LaTeX.C (deplog): correct the syntax of regex reg1
11757
11758 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11759
11760         * undo.C: remove !NEW_INSETS cruft
11761
11762 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11763
11764         * text2.C: remove !NEW_INSETS cruft
11765
11766         * text.C: remove !NEW_INSETS cruft
11767
11768         * tabular.C: remove !NEW_INSETS cruft
11769
11770         * spellchecker.C: remove !NEW_INSETS cruft
11771
11772         * lyxtext.h: remove !NEW_INSETS cruft
11773
11774         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11775
11776         * lyxfunc.C: remove !NEW_INSETS cruft
11777
11778         * lyxfind.C: remove !NEW_INSETS cruft
11779
11780         * lyx_cb.C: remove !NEW_INSETS cruft
11781
11782         * figureForm.C: remove  !NEW_INSETS cruft
11783
11784         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11785
11786         * buffer.[Ch]: remove !NEW_INSETS cruft
11787
11788         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11789
11790         * CutAndPaste.C: remove !NEW_INSETS cruft
11791
11792         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11793
11794         * BufferView2.C: remove !NEW_INSETS cruft
11795
11796         * BufferView.h: remove !NEW_INSETS cruft
11797
11798 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11799
11800         * Lsstream.h: include LString.h before the sstream headers to
11801         fix problem with gcc 2.95.3 and lyxstring
11802
11803 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11804
11805         * lyx_main.C: add using directives when needed for C functions
11806         declared in std:: namespace.
11807
11808 2001-04-27  Juergen Vigna  <jug@sad.it>
11809
11810         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11811         (SetHeightOfRow): comment out the update call should not be needed!
11812
11813 2001-04-13  Juergen Vigna  <jug@sad.it>
11814
11815         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11816         (LyXTabular): tried to minimize operator= operations (and realized
11817         hopfully Lars wish).
11818
11819 2001-04-27  Juergen Vigna  <jug@sad.it>
11820
11821         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11822
11823 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11824
11825         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11826
11827         * buffer.C (readInset): hack to make listof algorithm work
11828
11829         * BufferView_pimpl.C: hack to make listof algorithm work
11830
11831 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11832
11833         * LyXAction.C: removed all !NEW_INSETS cruft
11834         (init): moved lfun_item in method
11835
11836         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11837
11838 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11839
11840         * BufferView2.C (theLockingInset): white space.
11841
11842 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11843
11844         * minibuffer.C: include <iostream>
11845
11846         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11847
11848         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11849
11850         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11851
11852         * text.[Ch] (TransposeChars): new method
11853
11854 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11855
11856         * call message directly through LyXView instead of through LyXFunc
11857         * BufferView2.C: adjust
11858         * BufferView_pimpl.C: adjust
11859         * FontLoader.C: adjust
11860         * buffer.C: adjust
11861         * bufferview_funcs.C: adjust
11862         * converter.C: adjust
11863         * figureForm.C: adjust
11864         * importer.C: adjust
11865         * lyx_cb.C: adjust
11866         * lyx_gui_misc.C: adjust
11867         * lyxfunc.C: adjust
11868         * lyxvc.C: adjust
11869         * text2.C: adjust
11870         + more files in subdirs
11871
11872         * lyxparagraph.h (size): move up int file
11873         (GetLayout): ditto
11874
11875         * adjust all uses of Assert to lyx::Assert.
11876
11877         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11878         lyxfunctional in namespace lyx
11879         * layout.C (hasLayout): ditto
11880         (GetLayout): ditto
11881         (GetLayout): ditto
11882         (delete_layout): ditto
11883         (NumberOfClass): ditto
11884         * converter.C (GetFormat): ditto
11885         (GetNumber): ditto
11886         (Add): ditto
11887         (Delete): ditto
11888         (SetViewer): ditto
11889         * bufferlist.C (getFileNames): ditto
11890         (emergencyWriteAll): ditto
11891         (exists): ditto
11892         (getBuffer): ditto
11893         * MenuBackend.C (hasSubmenu): ditto
11894         (hasMenu): ditto
11895         (getMenu): ditto
11896         * BufferView_pimpl.C (getInsetByCode): ditto
11897
11898 2001-04-18  Juergen Vigna  <jug@sad.it>
11899
11900         * vspace.C (asLatexString): fixed the 100% problem.
11901
11902 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11903
11904         * lyxfunc.C (Dispatch):
11905         * minibuffer.C:
11906         * minibuffer.h: add a few std:: qualifiers
11907
11908 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11909
11910         * minibuffer.[Ch]: reimplement so that commands is initiated and
11911         run from lyxfunc, simplified som handling, and made the completion
11912         and history code for complete. wip.
11913
11914         * lyxfunc.C (processKeySym): call message
11915         (miniDispatch): new temporary method
11916         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11917         (LFUN_MESSAGE): implement
11918         (LFUN_MESSAGE_PUSH): implement
11919         (LFUN_MESSAGE_POP): implement
11920         (initMiniBuffer): the initial/defualt minibuffer message.
11921
11922         * lyxfont.[Ch]: inline some more getters
11923
11924         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11925
11926         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11927
11928         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11929         (AutoSave): use LFUN_MESSAGE
11930         (Reconfigure): ditto
11931
11932         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11933
11934         * figureForm.C: use LFUN_MESSAGE
11935
11936         * converter.C (runLaTeX): use LFUN_MESSAGE
11937
11938         * bufferview_funcs.C: use LFUN_MESSAGE
11939         (Melt): ditto
11940         (changeDepth): ditto
11941
11942         * bufferparams.h: use boost::
11943
11944         * bufferlist.h: inherit privately from noncopyable
11945
11946         * bufferlist.C (loadLyXFile): remove some commented code.
11947
11948         * buffer.C (runChktex): use LFUN_MESSAGE
11949
11950         * ShareContainer.h: inherit privately from noncopyable
11951
11952         * ParagraphParameters.[hC] (depth): inline it.
11953
11954         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11955         methods.
11956         (message): new method
11957         (messagePush): ditto
11958         (messagePop): ditto
11959         (show): init minibuffer
11960         (showState): direct call
11961
11962         * LaTeX.[Ch]: inherit privately from noncopyable
11963         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11964         instead of WriteStatus.
11965
11966         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11967
11968         * BufferView_pimpl.C (buffer): don't init minibuffer
11969         (workAreaButtonPress): use LFUN_MESSAGE
11970         (workAreaButtonRelease): ditto
11971         (savePosition): ditto
11972         (restorePosition): ditto
11973         (MenuInsertLyXFile): ditto
11974         (workAreaExpose): don't init minibuffer
11975         (update): remove commented code, simplify
11976
11977         * BufferView2.C (openStuff): use LFUN_MESSAGE
11978         (toggleFloat): ditto
11979         (menuUndo): ditto
11980         (menuRedo): ditto
11981         (copyEnvironment): ditto
11982         (pasteEnvironment): ditto
11983         (copy): ditto
11984         (cut): ditto
11985         (paste): ditto
11986         (gotoInset): ditto
11987         (updateInset): remove some commented code
11988
11989         * lastfiles.h: inherit privately from noncopyable
11990         * layout.h: ditto
11991         * lyx_gui.h: ditto
11992         * lyx_main.h: ditto
11993         * lyxlex.h: ditto
11994         * lyxlex_pimpl.h: ditto
11995
11996         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11997         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11998         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11999
12000         * LyXAction.h: inherit privately from noncopyable, add methods
12001         func_begin, func_end, returning iterators to the func map.
12002
12003         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12004         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12005         (func_begin): new method
12006         (func_end): new method
12007
12008         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12009         and not)
12010         (copySelection): ditto
12011         (pasteSelection): ditto
12012
12013         * BufferView.C: whitespace change
12014         * BufferView.h: inherit privately from noncopyable
12015
12016 2001-04-16  Allan Rae  <rae@lyx.org>
12017
12018         * tabular-old.C (l_getline):
12019         * spellchecker.C (sc_check_word):
12020         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12021         an unrecognised preprocessor directive.  So ensure they're wrapped.
12022
12023 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12024
12025         * src/exporter.C (Export): Give an error message when path to file
12026         contains spaces.
12027
12028 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12029
12030         * LaTeX.C (deplog): Always check that foundfile exists.
12031
12032 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12033
12034         * lyx_main.h:
12035         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12036
12037 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12038
12039         * tabular.[Ch] (getLabelList): implement new method
12040
12041         * minibuffer.h: comment ouf setTiimer
12042
12043         * minibuffer.C (ExecutingCB): constify res
12044         (peek_event): constify s
12045         (Set): constify ntext
12046         (Init): constify nicename
12047
12048         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12049
12050         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12051         (savePosition): use two params to Minibuffer::Set
12052         (restorePosition): ditto
12053
12054 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12055
12056         * lyx_main.C: include language.h
12057
12058         * Makefile.am (lyx_main.o): add language.h
12059
12060 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12061
12062         * exporter.C:
12063         * paragraph.C:
12064         * screen.C:
12065         * tabular.C:
12066         * CutAndPaste.C: include gettext.h
12067
12068         * lyxfont.h: remove old hack with ON and OFF.
12069
12070         * lyxparagraph.h:
12071         * lyxfont.h: do not include language.h...
12072
12073         * BufferView2.C:
12074         * LaTeXFeatures.C:
12075         * Painter.C:
12076         * bufferview_funcs.C:
12077         * font.C:
12078         * lyxfont.C:
12079         * text.C:
12080         * text2.C:
12081         * trans_mgr.C:
12082         * paragraph.C: ... but do it here instead
12083
12084 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12085
12086         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12087
12088         * tabular.C: small reformat
12089
12090         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12091         NEW_INSETS version
12092         (GetChar): ditto
12093         (BreakParagraph): ditto
12094         (SetOnlyLayout): ditto
12095         (SetLayout): ditto
12096
12097         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12098         with one arg less.
12099
12100         * lastfiles.C: removed most using decl, add std:: where needed
12101
12102         * buffer.C: ws changes
12103
12104         * MenuBackend.C (class compare_format): put into anon namespace
12105         (expand): constify label, names, action, action2
12106         (expand):
12107
12108         * text.C (SingleWidth): constify font
12109         (IsBoundary): constify rtl2
12110         (GetVisibleRow): constify ww
12111
12112         * LaTeX.C (deplog): constify logfile
12113
12114         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12115         start_x, end_x
12116         (workAreaExpose): constify widthChange, heightChange
12117
12118         * lyxrow.C (par): moved
12119         (height): moved
12120         (next): moved
12121         * lyxrow.h: as inlines here
12122
12123         * lyxfont.h (shape): moved from lyxfont.C
12124         (emph): moved from lyxfont.C
12125
12126         * lyxfont.C (LyXFont): use initialization list for all
12127         constructors
12128         (shape): move to lyxfont.h as inline
12129         (emph): move to lyxfont.h as inline
12130
12131
12132 2001-04-04  Juergen Vigna  <jug@sad.it>
12133
12134         * vspace.C: had to include stdio.h for use of sscanf
12135
12136 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12137
12138         * BufferView.h:
12139         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12140         independent of xforms.
12141
12142 2001-04-02  Juergen Vigna  <jug@sad.it>
12143
12144         * spellchecker.C: fixed namespace placing!
12145
12146 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12147
12148         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12149         the LyXParagraph * is 0.
12150
12151 2001-03-29  Juergen Vigna  <jug@sad.it>
12152
12153         * vspace.C: added support for %, c%, p%, l%.
12154         (stringFromUnit): added helper function.
12155         (asLatexString): changed to give right results for the %-values.
12156
12157         * buffer.C: convert the widthp in a width%.
12158
12159 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12160
12161         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12162         figureForm.[Ch].
12163
12164         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12165         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12166
12167         * lyx_cb.[Ch]: see above.
12168
12169         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12170         form1.[Ch].
12171
12172         * form1.[Ch]:
12173         * lyx.[Ch]: replaced by figure_form.[Ch].
12174
12175         * lyx_gui.C:
12176         * lyx_gui_misc.C:
12177         * lyxfunc.C: changed headers associated with above changes.
12178
12179 2001-03-27  Juergen Vigna  <jug@sad.it>
12180
12181         * BufferView_pimpl.C: set the temporary cursor right!
12182
12183 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12184
12185         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12186
12187 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12188
12189         * LString.h: removed "using std::getline"!
12190
12191         * BufferView_pimpl.C (Dispatch): changes due to changes in
12192         InsetInclude::Params.
12193
12194         * buffer.C (tag_name): removed redundant break statements as they were
12195         producing lots of warnings with my compiler.
12196
12197 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12198
12199         * LString.h: add "using std::getline" when using the real <string>.
12200
12201 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12202
12203         * buffer.C: removed bitset usage.
12204         PAR_TAG moved to an anonymous name space.
12205         (tag_name): new funtion, also in the anonymous namespace.
12206         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12207         (makeDocBookFile): clean code. Completed transition from string arrays
12208         to string vectors.
12209         (SimpleDocBookOnePar): code clean.
12210
12211 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12212
12213         * tabular.C: add some comments.
12214
12215 2001-03-22  Juergen Vigna  <jug@sad.it>
12216
12217         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12218         compatibility read a bit and fixed bug with minipage in different
12219         depth.
12220
12221 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12222
12223         * buffer.C (pop_tag): removed.
12224         (push_tag): removed.
12225         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12226         array replaced with vector. Added support for CDATA sections.
12227         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12228         at any nest level.
12229         (makeDocBookFile): XML conformant declaration of CDATA section,
12230         fixed bug related to <emphasis> in the first paragraph char.
12231         (sgmlOpenTag): exclude empty tags.
12232         (sgmlCloseTag): ditto.
12233
12234         * buffer.h (pop_tag): removed.
12235         (push_tag): removed.
12236
12237 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12238
12239         * language.h (Languages): added size_type and size().
12240
12241 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12242
12243         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12244         response on compability reading of minipages. One probliem is that
12245         the old usage of minipages was «flertydig»
12246
12247         * several files here and in subdirs: don't use static at file
12248         scope use anon namespaces instead.
12249
12250 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12251
12252         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12253         LaTeX output. This is necessary for Literate document
12254         processing.
12255
12256 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12257
12258         * buffer.C: insert hfill when needed.
12259
12260         * tabular.C (l_getline): use string::erase, small whitespace change.
12261
12262         * BufferView_pimpl.C: try the anon namespace.
12263         * WorkArea.C: ditto
12264
12265 2001-03-16  Juergen Vigna  <jug@sad.it>
12266
12267         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12268         otherwise it won't open options-dialogs.
12269
12270         * buffer.C: honor pextraWidth(p) on converting minipages.
12271
12272         * tabular.C (l_getline): changed the functions to strip trailing \r.
12273
12274 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12275
12276         * BufferView_pimpl.C:
12277         * minibuffer..C: added "using SigC::slot" declaration.
12278
12279 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12280
12281         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12282
12283         * text2.C: ditto
12284
12285         * text.C: ditto
12286
12287         * paragraph.C: ditto
12288
12289         * lyxtext.h: NO_PEXTRA
12290
12291         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12292
12293         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12294         * ParameterStruct.h: ditto
12295         * ParagraphParameters.h: ditto
12296         * lyxparagraph.h: ditto
12297
12298 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12299
12300         * buffer.C: add compability for minipage alignment.
12301         (latexParagraphs): remove unwanted pextra check.
12302
12303         * several files: remove CXX_WORKING_NAMESPACES
12304
12305         * buffer.C (pop_tag): tie is in namespace boost
12306
12307         * BufferView.h: noncopyable is in namespace boost
12308         * lyxlex.h: ditto
12309         * lyx_main.h: ditto
12310         * lyx_gui.h: ditto
12311         * layout.h: ditto
12312         * lastfiles.h: ditto
12313         * bufferlist.h: ditto
12314         * ShareContainer.h: ditto
12315         * LyXView.h: ditto
12316         * LyXAction.h: ditto
12317         * LaTeX.h: ditto
12318
12319 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12320
12321         * Merging changes from BRANCH_MVC back into HEAD.
12322
12323         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12324
12325 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12326
12327         * BufferView_pimpl.C: change from intl.C
12328
12329         * combox.h:
12330         * combox.C:
12331         * Makefile.am: move combox.*
12332
12333         * form1.h:
12334         * form1.C:
12335         * lyx_gui.C:
12336         * intl.h:
12337         * intl.C: remove dialog (covered by prefs)
12338
12339 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12340
12341         * lyxfunc.C (Dispatch): removed redundant break statement.
12342
12343 2001-03-14  Juergen Vigna  <jug@sad.it>
12344
12345         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12346
12347 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12348
12349         * buffer.C: add hack to fix compability reading of minipages.
12350
12351 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12352
12353         * buffer.C (getLists): Cleanup.
12354
12355 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12356
12357         * lyxfont.C (update): don't honor toggleall on font size.
12358
12359 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12360
12361         * bmtable.c:
12362         * bmtable.h:
12363         * Makefile.am: moved to frontends/xforms/
12364
12365         * lyx_gui_misc.C:
12366         * lyxfunc.C:
12367         * BufferView_pimpl.C: changes for moved mathpanel
12368
12369 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12370
12371         * gettext.h: fix gettext_init() in --disable-nls
12372
12373 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12374
12375         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12376
12377 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12378
12379         * lyx.C:
12380         * lyx.h: strip external form
12381
12382 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * BufferView_pimpl.C: add comment, destroySplash()
12385
12386 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * BufferView_pimpl.C:
12389         * LyXAction.C:
12390         * buffer.C:
12391         * commandtags.h:
12392         * lyxfunc.C: use re-worked insetinclude
12393
12394 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12395
12396         * buffer.C: add using std::stringstream.
12397
12398         * lyx_cb.C: readd using std::ios.
12399
12400         * buffer.C: add using std::map.
12401
12402         * BufferView_pimpl.C: add using std::vector.
12403
12404         * ShareContainer.h: add std:: to swap.
12405
12406         * buffer.h: add some typedefs
12407         * buffer.C (getLists): use them
12408         (getLists): renamed from getTocList.
12409         add a counter for the different float types and use it in the
12410         generated string.
12411         (getLists): use the same counter for the NEW_INSETS and the "non"
12412         NEW_INSETS
12413
12414         * lyx_cb.h: remove unused items, includes, using etc.
12415
12416         * ShareContainer.h: remove some commented code, add more comments
12417         and "documentation".
12418
12419 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12420
12421         * buffer.C (getTocList): make the list also when NEW_INSETS is
12422         defined.
12423
12424         * buffer.h: remove TocType
12425
12426         * buffer.C (getTocList): change to return a map<string,
12427         vector<TocItem> >, implement for dynamic number of list.
12428
12429         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12430         * text2.C (PasteSelection): adjust
12431         * CutAndPaste.C (pasteSelection): adjust
12432
12433         * FloatList.C (FloatList): update from the new_insets branch.
12434         * Floating.[Ch]: ditto
12435         * LaTeXFeatures.C: ditto
12436         * buffer.C: ditto
12437         * lyxlex_pimpl.C: ditto
12438
12439         * paragraph.C (Last): remove when NEW_INSETS is defined.
12440
12441         * other file: changes because of the above.
12442
12443 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12444
12445         * lyxparagraph.h: rename next to next_, previous to previous_,
12446         make them private for NEW_INSETS. Rename Next() to next(),
12447         Previous() to previous().
12448
12449         * other files: changes because of the above.
12450
12451 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12452
12453         * BufferView.h:
12454         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12455         problem.
12456
12457 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12458
12459         * main.C (main): pass lyx_localedir to gettext_init().
12460
12461         * gettext.h: remove locale_init and gettext_init macros
12462
12463         * gettext.C (locale_init): new function
12464         (gettext_init): new function
12465
12466         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12467         setlocale().
12468
12469 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12470
12471         * Moved credits to frontends:
12472         * credits.[Ch]: removed
12473         * credits_form.[Ch]: removed
12474         * lyx_gui_misc.C: remove credits stuff
12475         * Makefile.am:
12476
12477 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12478
12479         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12480
12481         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12482         unneeded destructor.
12483
12484         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12485         a standalone pointer again.
12486
12487         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12488
12489 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12490
12491         * Makefile.am:
12492         * filedlg.h:
12493         * filedlg.C:
12494         * LyXAction.C:
12495         * ToolbarDefaults.C:
12496         * bufferlist.C:
12497         * commandtags.h:
12498         * form1.C:
12499         * form1.h:
12500         * lyx_cb.C:
12501         * lyx_cb.h:
12502         * lyxfunc.h:
12503         * lyxfunc.C:
12504         * BufferView_pimpl.C: use new file dialog in GUII
12505
12506         * lyx_cb.h:
12507         * lyx_cb.C: remove LayoutsCB to Toolbar
12508
12509 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12510
12511         * ShareContainer.h (get): add std:: qualifier
12512
12513 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12514
12515         * ShareContainer.h: define a proper ShareContainer::value_type
12516         type (and use typename to please compaq cxx)
12517
12518 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12519
12520         * lyxparagraph.h: move serveral local vars to
12521         ParameterStruct/ParagraphParameters., use ShareContainer in
12522         FontTable., make vars in FontTable private and add getter and
12523         setter.
12524
12525         * paragraph.C: changes because of the above.
12526
12527         * lyxfont.h: remove copy constructor and copy assignment. (the
12528         default ones is ok), move number inside FontBits. move inlines to
12529         lyxfont.C
12530
12531         * lyxfont.C: add number to initializaton of statics, move several
12532         inlines here. constify several local vars. some whitespace
12533         cleanup. Dont hide outerscope variables.
12534
12535         * Spacing.h: add two new constructors to match the set methods.
12536
12537         * ShareContainer.h: new file, will perhaps be moved to support
12538
12539         * ParameterStruct.h: new file
12540
12541         * ParagraphParameters.h: new file
12542
12543         * ParagraphParameters.C: new file
12544
12545         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12546         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12547
12548         * BufferView_pimpl.C: ParagraphParameter changes.
12549         * buffer.C: Likewise.
12550         * bufferview_funcs.C: Likewise.
12551         * text.C: Likewise.
12552         * text2.C: Likewise.
12553
12554 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12555
12556         * lyxfind.C (LyXReplace): do not redefine default argument in
12557         implementation.
12558         (IsStringInText): ditto
12559         (SearchForward): ditto
12560         (SearchBackward): ditto
12561
12562 2001-03-06  Juergen Vigna  <jug@sad.it>
12563
12564         * lyxfind.C (IsStringInText): put parentes around expressions.
12565
12566 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12567
12568         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12569
12570 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12573
12574         * stl_string_fwd.h: add comment
12575
12576         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12577
12578         * tabular.h:
12579         * tabular.C: remove unused DocBook methods
12580
12581         * intl.C:
12582         * language.C:
12583         * paragraph.C:
12584         * buffer.C:
12585         killed DO_USE_DEFAULT_LANGUAGE
12586
12587 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12588
12589         * lyx_gui.C: do not include language.h.
12590
12591         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12592         arguments in function implementation.
12593
12594 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12595
12596         * BufferView_pimpl.C: add <ctime>
12597
12598 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12599
12600         * BufferView_pimpl.C: add using std::find_if
12601
12602 2001-02-27  José Matos  <jamatos@fep.up.pt>
12603
12604         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12605         by OnlyPath.
12606
12607 2001-02-11  José Matos  <jamatos@fep.up.pt>
12608
12609         * buffer.C (makeDocBookFile): command styles now have a parameter as
12610         "title" by default.
12611
12612 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12613
12614         * layout_forms.[Ch]: removed
12615         * lyx_cb.[Ch]: out character
12616         * lyx_gui.C: out character
12617         * lyx_gui_misc.C: out character
12618         * bufferview_funcs.C: : out character,
12619         added toggleall as parameter in ToggleAndShow
12620
12621 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12622
12623         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12624
12625         * text2.C (SetCurrentFont): Disable number property at boundary.
12626
12627 2001-02-26  Juergen Vigna  <jug@sad.it>
12628
12629         * lyxfunc.C (getStatus): added a string argument override function so
12630         that this is correctly called from LyXFunc::Dispatch if it contains a
12631         do_not_use_argument which is used!
12632         (Dispatch): added check for "custom" export and call appropriate func.
12633
12634 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12635
12636         * lyxrc.C: Add language_command_local, language_use_babel and
12637         language_global_options.
12638
12639         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12640
12641         * buffer.C (makeLaTeXFile): Use language_use_babel and
12642         language_global_options.
12643
12644 2001-02-23  Juergen Vigna  <jug@sad.it>
12645
12646         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12647         which works with LyXText and putted it inside BufferView. Here now we
12648         only call for that part the BufferView::Dispatch() function.
12649
12650         * BufferView.C (Dispatch): added.
12651
12652         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12653         functions which needs to use a LyXText over from LyXFunc.
12654         (MenuInsertLyXFile): added
12655         (getInsetByCode): added
12656         (moveCursorUpdate): added
12657         (static TEXT): added
12658
12659 2001-02-22  Juergen Vigna  <jug@sad.it>
12660
12661         * BufferView_pimpl.C (update): call a status update to see if LyXText
12662         needs it.
12663
12664 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12665
12666         * vc-backend.C (revert): implement for CVS
12667         (getLog): implement for CVS
12668
12669 2001-02-20  Juergen Vigna  <jug@sad.it>
12670
12671         * text2.C (ClearSelection): added BufferView param for inset_owner call
12672
12673         * lyxfunc.C (TEXT): added this function and use it instead of
12674         directly owner->view()-text of getLyXText().
12675
12676 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12677
12678         * src/layout_forms.C: out preamble
12679         * src/layout_forms.h: out preamble
12680         * src/lyx_cb.C: out preamble
12681         * src/lyx_cb.h: out preamble
12682         * src/lyx_gui.C: out preamble
12683         * src/lyx_gui_misc.C: out preamble
12684         * src/lyxfunc.C: connect with guii preamble
12685
12686 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12687
12688         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12689
12690 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12691
12692         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12693         whether to run bibtex.
12694
12695 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12696
12697         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12698
12699 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12700
12701         * Makefile.am (lyx_SOURCES): removed bibforms.h
12702
12703         * vspace.h: doxygen
12704
12705         * text.C (GetVisibleRow): make several local vars const
12706
12707         * tabular.C: small cleanup.
12708
12709         * lyxserver.C (callback): use compare instead of strncmp
12710
12711         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12712         inlines to after class or to paragraph.C
12713
12714         * lyxfont.h: remove friend operator!=
12715
12716         * converter.h: move friend bool operator< to non friend and after
12717         class def.
12718
12719         * combox.h: small cleanup
12720
12721         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12722         to inlines after class def.
12723
12724         * buffer.C (pop_tag): use string operations instead of strcmp
12725
12726         * bmtable.c: doxygen, small cleanup
12727
12728         * LaTeX.h: remove friend operator==
12729
12730 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12731
12732         * screen.C:
12733         * lyxrc.[Ch]:
12734         * lyxfunc.C:
12735         * lyxfont.[Ch]:
12736         * lyx_cb.C:
12737         * intl.[Ch]:
12738         * commandtags.h:
12739         * buffer.C:
12740         * WorkArea.[Ch]:
12741         * LyXAction.C:
12742         * BufferView_pimpl.C:
12743         * BufferView.[Ch]: remove cruft
12744
12745 2001-02-14  Juergen Vigna  <jug@sad.it>
12746
12747         * lyxfunc.C: removed #if 0 unused code
12748
12749         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12750
12751         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12752
12753         * text2.C (SetSelection): added a BufferView * parameter
12754
12755 2001-02-13  Juergen Vigna  <jug@sad.it>
12756
12757         * lyxfunc.C (Dispatch): fixed protected blank problem.
12758         * BufferView2.C (protectedBlank): added LyxText * parameter.
12759
12760         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12761         (AppendColumn): same as above for column_info.
12762
12763         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12764         (moveCursorUpdate): use a LyXText param for support of InsetText.
12765
12766         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12767         (tripleClick): ditto
12768
12769         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12770
12771         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12772
12773         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12774
12775         * text2.C (SetSelection): set correct update status if inset_owner
12776         (ToggleFree): ditto
12777
12778 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12779
12780         * tabular.C: remove some commented code.
12781
12782 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * BufferView_pimpl.C: call hideSplash()
12785
12786         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12787
12788         * include_form.h:
12789         * bibforms.h: remove
12790
12791         * lyxfunc.C:
12792         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12793           add LFUN_CHILD_CREATE
12794
12795         * counters.h: fix tiny typo
12796
12797         * lyx_cb.C:
12798         * lyx.h:
12799         * lyx_gui.C:
12800         * lyx.C: move splash to frontends/xforms/
12801
12802         * lyx_gui_misc.C: move Include and Bibform to frontends
12803
12804         * lyxvc.h: clarify comment
12805
12806         * vspace.C: tiny housekeeping
12807
12808 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12809
12810         * text.C (PrepareToPrint): RTL Fix.
12811
12812         * paragraph.C (GetUChar): New method.
12813         (String):  Use GetUChar.
12814
12815         * buffer.C (asciiParagraph): Use GetUChar.
12816
12817 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12818
12819         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12820
12821 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12822
12823         * buffer.h:
12824         * buffer.C: rename to getLogName(), handle
12825           build log / latex log nicely
12826
12827 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12828
12829         * MenuBackend.C:
12830         * MenuBackend.h: remove support for reference menuitem type.
12831
12832 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12833
12834         * BufferView_pimpl.C: housekeeping
12835         * BufferView_pimpl.h:
12836         * LyXView.h:
12837         * Makefile.am:
12838         * Timeout.C:
12839         * Timeout.h:
12840         * minibuffer.h: move Timeout GUI-I
12841
12842 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12843
12844         * lyxrc.C (read): Update converters data-structures.
12845
12846 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12847
12848         * LaTeX.h (operator!=): add operator != for Aux_Info
12849
12850 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12851
12852         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12853
12854         * LaTeXLog.C: deleted, useful code moved to Buffer
12855
12856         * buffer.h:
12857         * buffer.C: new function getLatexLogName()
12858
12859         * lyx_gui_misc.C:
12860         * lyx_gui.C:
12861         * lyxvc.C:
12862         * lyxvc.h:
12863         * lyxfunc.C: use frontends for LaTeX and VC logs
12864
12865 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12866
12867         * LaTeX.h: yet another std:: that Allan forgot.
12868
12869         * Variables.C (set): renamed from isset(), because this clashes
12870         with some HP-UX macros (grr).
12871
12872 2001-02-06  Allan Rae  <rae@lyx.org>
12873
12874         * LaTeX.h: Another bug fix.  Missing std:: this time.
12875
12876 2001-02-04  Allan Rae  <rae@lyx.org>
12877
12878         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12879         floats problem. I've left it commented out because it's not quite
12880         correct.  It should also test that the current object is a table or
12881         figure inset.  But I haven't gotten around to figuring out how to do
12882         that.  I *think* it'll be something like: "table" == inset.type()
12883
12884         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12885         bool.
12886
12887 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12888
12889         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12890         all the citation/databases/styles in the auxilary file.
12891         (run): Rerun latex if there was a babel language error.
12892
12893 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12894
12895         * text.C (Backspace): Preserve the font when changing newline char
12896         with a space.
12897         (BreakParagraph): If the cursor is before a space, delete the space.
12898
12899         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12900
12901 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12902
12903         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12904         new argument (code).
12905         (ChangeCitationsIfUnique): New method.
12906
12907         * paragraph.C (GetPositionOfInset): Handle bibkey.
12908
12909 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12910
12911         * BufferView_pimpl.h: change type of Position::par_pos to
12912         LyXParagraph::size_type.
12913
12914 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12915
12916         * BufferView_pimpl.C (savePosition, restorePosition): Write
12917         messages to minibuffer.
12918
12919 2001-01-28  José Matos  <jamatos@fep.up.pt>
12920
12921         * buffer.C (makeDocBookFile): adds support for document language.
12922         A silly restriction on the name of LatexCommand types where removed.
12923         Added support for CDATA sections, allows to chars unescaped, used
12924         among others in code, to avoid escape < and >.
12925
12926 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12927
12928         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12929         saved positions instrad of a stack. Furthermore, a position is
12930         stored using paragraph id/paragraph position.
12931
12932         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12933         Remove LFUN_REF_BACK.
12934
12935 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12936
12937         * converter.C (dvipdfm_options): New method.
12938
12939 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12940
12941         * vspace.C (isValidLength): Fix for empty input string.
12942
12943 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12944
12945         * LyXAction.C (init): change description of LFUN_FIGURE to
12946         "Insert Graphics"
12947
12948 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12949
12950         * LaTeX.C: add using directive
12951
12952 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12953
12954         * MenuBackend.C (expand): Fix the sorting of the formats.
12955
12956 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12957
12958         * lyx_main.C: tiny error message fix
12959
12960 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12961
12962         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12963         calling fl_initialize(). This fixes the problem with ',' as
12964         decimal separator in text files.
12965
12966 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12967
12968         * trans.C (process): Fix the keymap bug.
12969
12970 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12971
12972         * LaTeX.C (scanAuxFiles): New method. Provides support for
12973         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12974         (scanLogFile) Scan for "run BibTeX" messages.
12975
12976         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12977         OT1 font encoding. Also, load the aecompl package if the ae
12978         package is loaded.
12979
12980         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12981
12982 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12983
12984         * texrow.C (increasePos): turn two error messages into debug
12985         messages.
12986
12987 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12988
12989         * LaTeX.C (scanAux): Handle the \@input macro.
12990         (runBibTeX): Use scanAux().
12991
12992         * language.C (latex_options_): New field.
12993
12994         * LaTeXFeatures.C (getMacros): Add language macros.
12995
12996         * buffer.C (makeLaTeXFile): Small fix.
12997
12998 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12999
13000         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13001
13002         * text2.C: add a using directive.
13003
13004 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * BufferView2.C:
13007         * lyx_gui_misc.h:
13008         * lyxfr1.C:
13009         * lyxfunc.C: kill LyXBell.
13010
13011 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13012
13013         * text.C (IsBoundary): Remove the error message
13014
13015         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13016
13017         * lyxrc.C (setDefaults): Correct initialization value for
13018         font_norm_type.
13019
13020 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13021
13022         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13023         gotoError().
13024
13025         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13026         and GotoNextNote().
13027
13028         * src/LyXAction.C: Added reference-next.
13029
13030         * text.C (InsertChar): Use contains instead of strchr.
13031
13032         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13033
13034 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13035
13036         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13037         alignment commands (when needed).
13038
13039         * text.C (InsertChar): Add ':' to number separator chars.