]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Generalize loop end/vector size
[lyx.git] / src / ChangeLog
1 2003-09-22  Angus Leeming  <leeming@lyx.org>
2
3         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5         an incomplete class LyXFont.
6
7 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
8
9         * factory.C: bug fix in branches
10
11 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
12
13         * lyxfunc.C (processKeySym): adjust
14         (dispatch): adjust
15         (dispatch): change arg name from ev to func, adjust
16         (sendDispatchMessage): ditto
17
18         * lyx_main.C (defaultKeyBindings): adjust keybindings
19         (deadKeyBindings): ditto
20
21         * kbsequence.C (addkey): return a FuncRequest
22
23         * kbmap.h (kb_key): struct var FuncRequest instead of int action. 
24
25         * kbmap.C (bind): take a FuncRequest as arg, adjust
26         (read): adjust
27         (lookup): adjust
28         (defkey): change to take a FuncRequest as arg, adjust
29         (findbinding): take a FuncRequest as arg, adjust. 
30
31         * funcrequest.h (operator=): added
32
33         * funcrequest.C (FuncRequest): default kb_action changed from
34         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
35
36         * buffer.C (dispatch): simplify
37         (dispatch): adjust to take a FuncRequest as arg, adjust
38
39         * boost.C (assertion_failed): change assertion message slightly
40
41         * ToolbarBackend.C (read): simplify
42
43         * MenuBackend.C (binding): adjust call to findbinding, add a
44         message if no binding is found.
45         (read): simplify
46         (expandToc): correct by adding a empty FuncRequest
47
48         * LyXAction.C: include <boost/assert.hpp>
49         (isPseudoAction): delete function
50         (LookupFunc): change name to...
51         (lookupFunc): this. change return type to FuncRequest.
52         (getActionName): take kb_action as arg, simplify
53         (funcHasFlag): add an assert, simplify.
54
55 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
56
57         * toc.C (action): return a FuncRequest, simplify
58
59         * lyxfunc.C (processKeySym): adjust
60         (getStatus): delete version that takes an int.
61         (getStatus): adjust
62         (dispatch): delete version that takes action as int
63         (dispatch): adjust
64         (sendDispatchMessage): simplify and adjust
65
66         * funcrequest.C (getArg): take unsigned int as arg
67
68         * ToolbarBackend.C (read): adjust
69         (add): delete version that takes func as a string.
70         (getIton): take a FuncRequest as arg
71
72         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
73         action.
74
75         * MenuBackend.C (MenuItem): add a new construct that only takes a
76         Kind, simplify the constructor use for submenus.
77         (add): adjust
78         (expandLastfiles): adjust
79         (expandDocuments): adjust
80         (expandFormats): adjust
81         (expandFloatListInsert): adjust
82         (expandFloatInsert): adjust
83         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
84
85         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
86         Remove class variables lyx_pseudo_map and lyx_arg_map
87
88         * LyXAction.C (searchActionArg): delete function
89         (getPseudoAction): delete function
90         (retrieveActionArg): delete function
91         (LookupFunc): make it return kb_action, simplify.
92         (getActionName): simplify
93
94         * factory.C (createInset): fix new bug
95
96 2003-09-19  Angus Leeming  <leeming@lyx.org>
97
98         * CutAndPaste.C (pasteSelection): remove fudge used to set the
99         masterFilename_ parameter in the include inset.
100
101         * factory.C (createInset): changes due to the changes to InsetInclude.
102
103 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
104
105         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
106
107 2003-09-18  Angus Leeming  <leeming@lyx.org>
108
109         * buffer.C:
110         * BufferView.C: pass the buffer when calling Inset::getLabelList,
111         Inset::fillWithBibKeys.
112         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
113
114 2003-09-18  Angus Leeming  <leeming@lyx.org>
115
116         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
117         variables.
118         (ctor): pass and store a 'Buffer const &'
119         (buffer): new member function.
120
121         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
122         '*this' to the LaTeXFeatures ctor.
123
124 2003-09-18  Angus Leeming  <leeming@lyx.org>
125
126         * LColor.h:
127         * lyxfont.C:
128         * lyxfont.h:
129         * lyxtext.h:
130         * text.C: rename EnumLColor as LColor_color.
131
132 2003-09-18  Angus Leeming  <leeming@lyx.org>
133
134         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
135         remove #include "insets/insetbase.h" from cursor.h.
136
137 2003-09-18  Angus Leeming  <leeming@lyx.org>
138
139         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
140         InsetOld_code to remove #include "inset.h".
141
142         * iterators.C: add #include "insets/inset.h"
143
144 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
145
146         * BufferView.C: remove more locking stuff that apparently doesn't
147         do anything sensible.
148
149 2003-09-16  André Pönitz  <poenitz@gmx.net>
150
151         * paragraph.[Ch]:
152         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
153           performance boost.
154
155 2003-09-16  Angus Leeming  <leeming@lyx.org>
156
157         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
158
159         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
160         arg/return type.
161
162         * paragraph.h: remove #include "lyxfont.h". Forward declare
163         LyXFont_size.
164
165 2003-09-16  Angus Leeming  <leeming@lyx.org>
166
167         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
168         of support/textutils.h.
169         (isWord): move the contents of support/textutils.h's IsWordChar here.
170
171         * buffer.C:
172         * lyxfind.C:
173         * rowpainter.C:
174         * text.C:
175         * text2.C: add #include "paragraph.h".
176
177         * rowpainter.C:
178         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
179
180 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
181
182         * main.C:
183         * lyx_main.C:
184         * lyx_cb.C:
185         * buffer.C:
186         * LaTeX.C: use namespace alias for lyx::support::os
187
188 2003-09-16  Angus Leeming  <leeming@lyx.org>
189
190         * bufferparams.C:
191         * bufferview_funcs.C:
192         * factory.C:
193         * lyxfunc.C:
194         * paragraph_pimpl.C:
195         * rowpainter.C:
196         * text.C: add #include "LColor.h".
197
198 2003-09-16  Angus Leeming  <leeming@lyx.org>
199
200         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
201         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
202         return LyXFont &.
203         Store the FontBits::color variable as an int rather than as an
204         LColor::colorso that we can move LColor.h out of the lyxfont.h header
205         file.
206
207         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
208         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
209         string calls together.
210
211         * lyxrc.C: add #include "LColor.h".
212
213 2003-09-15  Angus Leeming  <leeming@lyx.org>
214
215         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
216         a cow_ptr.
217
218 2003-09-15  Angus Leeming  <leeming@lyx.org>
219
220         * LColor.h: add an EnumLColor wrapper for LColor::color.
221
222         * lyxfont.[Ch] (color, setColor, realColor):
223         * lyxtext.h, text.C (backgroundColor):
224         pass EnumLColor args to/from the functions, rather than LColor::color
225         ones.
226
227         * lyxfont.h:
228         * lyxtext.h: forward declare EnumLColor.
229
230         * lyx_main.C: add #include "LColor.h".
231
232 2003-09-15  Angus Leeming  <leeming@lyx.org>
233
234         * .cvsignore: add lyx-gtk.
235
236 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
237
238         * Chktex.C
239         * LaTeX.C
240         * LaTeXFeatures.C
241         * ParagraphParameters.C
242         * Spacing.C
243         * buffer.C
244         * bufferparams.C
245         * bufferview_funcs.C
246         * chset.C
247         * counters.C
248         * funcrequest.C
249         * lyxfont.C
250         * lyxgluelength.C
251         * lyxlength.C
252         * paragraph.C
253         * paragraph_funcs.C
254         * text3.C
255         * vc-backend.C: remove usage of STRCONV
256
257 2003-09-15  Angus Leeming  <leeming@lyx.org>
258
259         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
260         explicitly define the color passed to the painter.
261
262 2003-09-15  Angus Leeming  <leeming@lyx.org>
263
264         * bufferparams.C (BufferParams): reorder member initializers to avoid
265         compiler warning.
266
267 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
268
269         * CutAndPaste.C (pasteSelection): remove an outdated #warning
270         * text.C (updateRowPositions): remove an unusual nop
271
272 2003-09-12  André Pönitz  <poenitz@gmx.net>
273
274         * BufferView_pimpl.C:
275         * Bullet.C:
276         * layout.h:
277         * lyxfunc.C:
278         * lyxlayout.[Ch]:
279         * lyxtextclass.C:
280         * rowpainter.C:
281         * text.C:
282         * text2.C:
283         * Counters.[Ch]: finish the 'automatic counters' job
284
285 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
286
287         * aspell.C: include <boost/assert.cpp> (compile fix)
288
289 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
290
291         * boost.C (assertion_failed): use lyx::support::abort instead of
292         assert.
293
294 2003-09-10  Angus Leeming  <leeming@lyx.org>
295
296         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
297         with their _fwd progeny.
298
299 2003-09-09  Angus Leeming  <leeming@lyx.org>
300
301         134 files throughtout the source tree: replace 'using namespace abc;'
302         directives with the appropriate 'using abc::xyz;' declarations.
303
304 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
305
306         * boost.C (emergencyCleanup): moved here from LAssert.c
307         (assertion_failed): new function, called by BOOST_ASSERT
308
309         * several files: change Assert to BOOST_ASSERT
310
311 2003-09-09  Angus Leeming  <leeming@lyx.org>
312
313         * buffer.[Ch]: Add an Impl class and move Buffer's member
314         variables into it. As a result move several header files out of
315         buffer.h.
316
317         Add header files to lots of .C files all over the tree as a result.
318
319 2003-09-09  Angus Leeming  <leeming@lyx.org>
320
321         * buffer.[Ch]: make Buffer's member variables private. Add
322         accessor functions.
323
324         Lots of changes all over the tree as a result.
325
326 2003-09-08  Angus Leeming  <leeming@lyx.org>
327
328         * graph.C: #include <config.h>.
329
330 2003-09-08  Angus Leeming  <leeming@lyx.org>
331
332         * BranchList.C:
333         * BufferView.C:
334         * BufferView_pimpl.C:
335         * CutAndPaste.C:
336         * DepTable.C:
337         * LaTeX.C:
338         * LaTeXFeatures.C:
339         * LyXAction.C:
340         * MenuBackend.C:
341         * TextCache.C:
342         * aspell.C:
343         * buffer.C:
344         * bufferlist.C:
345         * changes.C:
346         * chset.C:
347         * converter.C:
348         * counters.C:
349         * debug.C:
350         * graph.C:
351         * ispell.C:
352         * lyx_cb.C:
353         * lyxfind.C:
354         * lyxfunc.C:
355         * lyxlex_pimpl.C:
356         * lyxrc.C:
357         * lyxrow.C:
358         * paragraph.C:
359         * rowpainter.C:
360         * texrow.C:
361         * text.C:
362         * text2.C:
363         * toc.C: remove redundant using directives.
364
365 2003-09-07  Angus Leeming  <leeming@lyx.org>
366
367         * LaTeXFeatures.h: remove #include "support/types.h".
368         * ToolbarBackend.h: remove #include <algorithm>.
369         * changes.h: remove #include <ctime>.
370         * debug.h: remove #include <iosfwd>.
371         * graph.h: remove #include "support/std_string.h".
372         * lyx_main.h: remove #include <csignal>.
373         * lyxlex_pimpl.h: remove #include <fstream>.
374         * sgml.h: remove #include <algorithm>, <utility>.
375         * toc.h: remove #include "support/std_ostream.h".
376         Add #include <iosfwd>.
377
378 2003-09-07  Angus Leeming  <leeming@lyx.org>
379
380         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
381
382         * converter.h: forward declare LatexRunParams.
383         * encoding.h: remove #include "lyxrc.h".
384         * lyxtext.h: remove #include "LColor.h".
385         * lyxtextclass.h: remove #include "support/types.h".
386         * trans.h: remove #include "tex-accent.h".
387         * trans_mgr.h: remove #include "tex-accent.h".
388         * insets/inset.h: remove #include "support/types.h", <vector>.
389         * insets/insetcollapsable.h: remove #include "LColor.h".
390         * insets/insetinclude.h: remove #include "dimension.h".
391         * insets/insetlatexaccent.h: remove #include "dimension.h".
392         * insets/insetoptarg.h:: remove #include "insettext.h".
393         * insets/insettext.h: remove #include "dimension.h",
394         <boost/shared_ptr.hpp>
395
396         * insets/renderers.h: add #include "dimension.h".
397         * insets/updatableinset.h: add #include "support/types.h".
398
399         * many .C files: Associated changes.
400
401 2003-09-06  Angus Leeming  <leeming@lyx.org>
402
403         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
404         one, inside testInvariant.
405
406         * PrinterParams.C: new file.
407         * PrinterParams.[Ch]: move the function bodies out of line.
408
409 2003-09-06  Angus Leeming  <leeming@lyx.org>
410
411         * ParagraphParameters.h: forward declare ParameterStruct rather than
412         including its header file.
413         (depth): moved out-of-line.
414
415 2003-09-06  Angus Leeming  <leeming@lyx.org>
416
417         * BufferView_pimpl.h:
418         * kbmap.h:
419         * kbsequence.h:
420         * lyxfunc.h: forward declare LyXKeySym rather than
421         #include "frontends/LyXKeySym.h".
422
423         * BufferView_pimpl.C:
424         * kbmap.C:
425         * kbsequence.C:
426         * lyxfunc.C: associated changes.
427
428 2003-09-06  Angus Leeming  <leeming@lyx.org>
429
430         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
431         As a result, can remove the #include "insets/inset.h" from BufferView.h
432
433 2003-09-06  Angus Leeming  <leeming@lyx.org>
434
435         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
436         As a result, can remove the #include "insets/inset.h" from BufferView.h
437
438 2003-09-06  Angus Leeming  <leeming@lyx.org>
439
440         * buffer_funcs.C:
441         * buffer.h:
442         * bufferlist.C:
443         * BufferView.C:
444         * bufferview_funcs.C:
445         * BufferView_pimpl.C:
446         * CutAndPaste.C:
447         * lyx_cb.C:
448         * lyxfunc.C:
449         * paragraph.h:
450         * ParagraphParameters.C:
451         * tabular.C:
452         * text3.C:
453         * toc.C:
454         * undo_funcs.C:
455         * frontends/controllers/ControlDocument.C:
456         * insets/insetcaption.C: rearrange the #includes into some sort of
457         coherent order.
458
459         * buffer.h: remove #includes ErrorList.h, undo.h
460
461 2003-09-06  Angus Leeming  <leeming@lyx.org>
462
463         * support/types.h: add a 'depth_type' typedef, used to store the
464         nesting depth of a paragraph.
465
466         * paragraph.h:
467         * ParameterStruct.h: use this lyx::depth_type typedef rather than
468         defining explicitly.
469
470         * buffer.h:
471         * paragraph_funcs.h:
472         * ParagraphParameters.h:
473         * sgml.h: use lyx::depth_type rather than Paragraph or
474         ParameterStruct's depth_type.
475
476         * buffer.h
477         * paragraph_funcs.h: no need to #include paragraph.h anymore.
478
479         * BufferView.C:
480         * BufferView_pimpl.C:
481         * CutAndPaste.C:
482         * ParagraphParameters.C:
483         * buffer_funcs.C:
484         * bufferlist.C:
485         * bufferview_funcs.C:
486         * lyx_cb.C:
487         * lyxfunc.C:
488         * tabular.C:
489         * text3.C:
490         * toc.C:
491         * undo_funcs.C:
492         * frontends/LyXView.C:
493         * frontends/controllers/ControlDocument.C:
494         * frontends/controllers/ControlErrorList.C:
495         * insets/insetbibitem.C:
496         * insets/insetbranch.C:
497         * insets/insetcaption.C:
498         * insets/insetcollapsable.C:
499         * insets/insetenv.C:
500         * insets/insetert.C:
501         * insets/insetfloat.C:
502         * insets/insetfoot.C:
503         * insets/insetfootlike.C:
504         * insets/insetnewline.C:
505         * insets/insetquotes.C:
506         * insets/insettabular.C:
507         * insets/insettext.C:
508         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
509
510         * frontends/controllers/ControlChanges.C: #include "changes.h".
511
512 2003-09-06  Angus Leeming  <leeming@lyx.org>
513
514         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
515         than #including paragraph.h.
516
517         * ParagraphList.h:
518         * RowList.h: deleted. Superfluous.
519
520         * CutAndPaste.h:
521         * iterators.h:
522         * lyxcursor.h:
523         * lyxtext.h:
524         * text_funcs.h:
525         * undo.h:
526         * undo_funcs.h:
527         * insets/inset.h:
528         * insets/insettext.h: use ParagraphList_fwd.h rather than
529         ParagraphList.h.
530
531         * paragraph.h: don't forward declare ParagraphList.
532
533         * buffer.h:
534         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
535         rather than ParagraphList.h. paragraph.h is still needed for the
536         Paragraph::depth_type parameters.
537
538         * textcursor.h: enable it to compile stand-alone in light of the
539         above changes.
540
541         * bufferview_funcs.C:
542         * iterators.C:
543         * lyxfunc.C:
544         * lyxrow_funcs.C:
545         * paragraph.C:
546         * rowpainter.C:
547         * text.C:
548         * text2.C:
549         * text3.C:
550         * text_funcs.C:
551         * textcursor.C:
552         * undo.C:
553         * frontends/controllers/ControlParagraph.C:
554         * frontends/controllers/ControlTabular.C:
555         * insets/insetmarginal.C:
556         * insets/insetminipage.C:
557         * insets/insetnote.C:
558         * insets/insetoptarg.C: add header files needed to compile again.
559
560 2003-09-06  Angus Leeming  <leeming@lyx.org>
561
562         * RowList_fwd.h: new file, forward-declaring Row rather than
563         #including lyxrow.h.
564
565         * lyxrow_funcs.h:
566         * lyxtext.h:
567         * paragraph.h:
568         * insets/insettext.h: use it instead of RowList.h
569
570         * bufferview_funcs.C:
571         * lyxfunc.C:
572         * lyxrow_funcs.C:
573         * paragraph.C:
574         * rowpainter.C:
575         * text.C:
576         * text2.C:
577         * text3.C: #include "RowList.h".
578
579 2003-09-05  Angus Leeming  <leeming@lyx.org>
580
581         * factory.C (createInset):
582         * vspace.C (c-tor): replace sscanf call with an istringstream.
583         * ispell.C: re-add missing HP/UX headers.
584         * lyxserver.C: re-add missing  os2 headers.
585
586 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
587
588         * BranchList.C:
589         * graph.C:
590         * ispell.C:
591         * lastfiles.C:
592         * lyx_cb.C:
593         * lyxserver.C:
594         * texrow.C:
595         * text3.C: re-add missing system headers, needed for 2.95.2.
596
597 2003-09-05  Angus Leeming  <leeming@lyx.org>
598
599         Changes most place everywhere due to the removal of using directives
600         from support/std_sstream.h.
601
602 2003-09-05  Angus Leeming  <leeming@lyx.org>
603
604         Replace LString.h with support/std_string.h,
605         Lsstream.h with support/std_sstream.h,
606         support/LIstream.h with support/std_istream.h,
607         support/LOstream.h with support/std_ostream.h.
608
609         Changes resulting throughout the tree.
610
611 2003-09-05  Angus Leeming  <leeming@lyx.org>
612
613         * sgml.h: ensure that the header file can be compiled stand-alone.
614         * *.C: strip out redundant #includes. (320 in total.)
615
616 2003-09-04  Angus Leeming  <leeming@lyx.org>
617
618         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
619         here (from getPackages).
620
621         * debug.[Ch]: add a new EXTERNAL tag.
622
623 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
624
625         * text2.C (cursorEnd): simplify
626         (setCursor): adjust
627         (getColumnNearX): adjust
628
629         * text.C (computeBidiTables): adjust
630         (fill): adjust
631
632         * rowpainter.C (paintChars): adjust
633         (paintSelection): adjust
634         (paintChangeBar): adjust
635         (paintText): adjust
636
637         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
638         lastPos instead.
639         (numberOfSeparators): adjust
640
641 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
642
643         * LyXAction.C:
644         * box.[Ch]:
645         * lfuns.h:
646         * lyxfunc.C:
647         * text3.C: Restricts the mouse click functionality
648         of insets like bibtex, include, toc and floatlist to the visible
649         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
650         up the dialogs. Cursor has to be in front of the inset (i.e.
651         start of row) for this to function.
652
653 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
654
655         * bufferview_funcs.C (currentState): output row information
656
657 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
658
659         * bufferview_funcs.C (currentState): output paragraph position
660
661 2003-09-04  Angus Leeming  <leeming@lyx.org>
662
663         * FloatList.h: move out #include "Floating.h".
664         * LaTeX.h: move out #include "DepTable.h".
665         * LyXAction.h: move out #include "funcrequest.h".
666         * buffer.h: move out #include "author.h", "iterators.h".
667         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
668         * lyx_main.h: move out #include "errorlist.h".
669         * lyxfunc.h: move out #include "FuncStatus.h".
670         * lyxtext: move out #include "lyxcursor.h".
671         * paragraph_pimpl.h: move out #include "counters.h".
672
673 2003-09-03  Angus Leeming  <leeming@lyx.org>
674
675         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
676         preamble_snippets list, enabling us to add snippets to the preamble
677         only if the snippet was not there already.
678
679 2003-09-04  Angus Leeming  <leeming@lyx.org>
680
681         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
682
683 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
684
685         * lyxfunc.C (dispatch): if fitCursor did something be sure to
686         update
687
688 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
689
690         * BranchList.C: point fix, earlier forgotten
691
692 2003-09-02  Angus Leeming  <leeming@lyx.org>
693
694         * box.C (contains): renamed from 'contained' after a fantastic
695         amount of hot air.
696
697 2003-09-02  John Levon  <levon@movementarian.org>
698
699         * BufferView.C:
700         * lyxcursor.h:
701         * lyxcursor.C:
702         * lyxfunc.C:
703         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
704
705 2003-09-02  John Levon  <levon@movementarian.org>
706
707         * text2.C: simplification of cursorEnd(), including partial
708         fix for bug 1376
709
710 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
711
712         * buffer.C (readFile): add a space
713
714 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
715
716         * BufferView_pimpl.C (update): remove bogus fitCursor() call
717
718 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
719
720         * buffer.C (readFile): new function, take a filename and a
721         ParagraphList::iterator
722         (readFile): adjust
723         (readFile): adjust, make it private. don't use setStream, make
724         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
725         always contain the filename.
726
727         * BufferView.C (insertLyXFile): simplify and make it work for
728         gzipped files.
729
730 2003-08-30  John Levon  <levon@movementarian.org>
731
732         * Makefile.am: fix dist (from Kayvan)
733
734 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
735
736         * most files: change to use const Buffer refs
737
738 2003-08-27  André Pönitz  <poenitz@gmx.net>
739
740         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
741         on top of ownerPar().
742
743 2003-08-27  John Levon  <levon@movementarian.org>
744
745         * funcrequest.C: properly initialise POD members
746
747 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
748
749         * lyxtext.h (top_y): move top_y from here
750         * text.C:
751         * text2.C:
752         * text3.C:
753         * BufferView.[Ch]:
754         * BufferView_pimpl.[Ch]: to here
755         * frontends/screen.C:
756         * insets/insettabular.C:
757         * insets/insettext.C: adjust
758         * rowpainter.[Ch] (paintRows): remove LyXText & argument
759
760 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
761
762         * BufferView.[Ch]:
763         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
764
765 2003-08-26  André Pönitz  <poenitz@gmx.net>
766
767         * paragraph_func.[Ch] (outerPar): new function
768
769         * paragraph.C:
770         * paragraph_funcs.C:
771         * paragraph_funcs.h:
772         * paragraph_pimpl.C:
773         * text2.C: remove Inset::par_owner
774
775 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
776
777         * lyxrow_funcs.C:
778         * lyxtext.h:
779         * text.C:
780         * text2.C: eliminates the needFullRow/display() stuff
781         altogether, putting the logic in metrics/draw in the insets.
782
783 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
784
785         * text2.C (redoParagraphInternal, redoParagraphs):
786         * text.C (redoParagraph): add a call to updateRowPositions at the
787         end of each 'metrics-like' call. Remove all others.
788         (getRow): remove the 'y-computing' version.
789         (getRowNearY): do not compute nor return the real y. Solve the
790         'y < 0' problem and simplify.
791
792 2003-08-22  Angus Leeming  <leeming@lyx.org>
793
794         * *.[Ch]: clean-up of licence and author blurbs.
795         Also move config.h out of a few .h files and into a few .C files.
796
797 2003-08-22  André Pönitz  <poenitz@gmx.net>
798
799         * lyxrow.[Ch]: add x_ and *fill_ members
800
801         * lyxtext.h:
802         * text.C:
803         * rowpainter.C:
804         * text2.C: adjust/remove prepareToPrint() calls
805
806 2003-08-22  André Pönitz  <poenitz@gmx.net>
807
808         * lyxrow.[Ch]: add  end_ member
809
810         * lyxrow_funcs.C: use LyXRow::end_
811
812         * lyxtext.h (singleWidth): add LyXFont parameter
813
814         * rowpainter.C:
815         * text2.C: adjust LyXText::singleWidth() calls
816
817         * text.C (redoParagraph): simplify row breaking logic
818
819
820 2003-08-19  André Pönitz  <poenitz@gmx.net>
821
822         * funcrequest.C: initialize button_ member
823
824         * text3.C:
825         * rowpainter.[Ch]: interface consolidation
826
827 2003-08-18  André Pönitz  <poenitz@gmx.net>
828
829         * BufferView.C:
830         * BufferView_pimpl.C:
831         * lyxfind.C:
832         * paragraph_funcs.C:
833         * rowpainter.C:
834         * text3.C: remove LyXScreen::draw() and fitCursor calls
835
836         * BranchList.h: remove spurious semicolons
837
838         * MenuBackend.C: fix branchlist related crash
839
840 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
841
842         * BranchList.[Ch]:
843         * InsetList.[Ch]:
844         * LColor.[Ch]:
845         * LyXAction.C:
846         * Makefile.am:
847         * MenuBackend.[Ch]:
848         * bufferparams.[Ch]:
849         * factory.C:
850         * lfuns.h:
851         * lyxfunc.C:
852         * text3.C: implements the 'branch inset'
853         idea. This allows the output of various versions of a document
854         from a single source version, selectively outputing or suppressing
855         output of parts of the text.
856         This implementation contains a 'branch list editor' in a separate
857         tab of the document settings dialog. Branches are user definable
858         and have a "display colour" to distinguish them on-screen.
859
860         ColorHandler was somewhat cleaned up.
861         (1) make possible a dynamically growing LColor list by allowing
862         the graphic context cache to grow along (vector);
863         (2) eliminate an IMHO unnecessary step in colour allocation.
864
865 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
866
867         * BufferView_pimpl.C: compile fix
868
869 2003-08-15  André Pönitz  <poenitz@gmx.net>
870
871         * rowpainter.C: remove extra metrics calls
872
873         * lyxtext.h: merge the two constructors into a single one,
874           pass reference to owner's par list
875
876         * BufferView_pimpl.C:
877         * text.C:
878         * text2.C: adjust
879
880 2003-08-15  André Pönitz  <poenitz@gmx.net>
881
882         * lyxrow_funcs.[Ch]:
883         * lyxtext.h:
884         * paragraph.h:
885         * paragraph_funcs.C:
886         * rowpainter.C:
887         * text.C:
888         * text2.C:
889         * text3.C:
890         * text_funcs.C: split LyXText::rowlist_ into individual
891         Paragraph::rows_ chunks
892
893         * BufferView.[Ch]:
894         * BufferView_pimpl.[Ch]:
895         * lyxfind.C:
896         * lyxtext.h:
897         * text3.C: remove toggleSelection()
898
899 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
900
901         * bufferlist.C: beautify two alerts (shorter text of buttons)
902         * buffer.C: Remove redundant ' ' from message
903         * tabular.h:
904         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
905         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
906         rename VALIGN_CENTER to VALIGN_MIDDLE
907
908 2003-08-11  André Pönitz  <poenitz@gmx.net>
909
910         * lyxtext.h (getPar):
911         * text.C: new function
912
913 2003-08-11  André Pönitz  <poenitz@gmx.net>
914
915         * Makefile.am:
916         * tracer.[Ch]: remove unneeded files
917
918         * InsetList.[Ch]: remove resizeInsetsLyXText()
919
920         * lyxtext.h:
921         * text.C:
922         * text2.C:
923         * text3.C: merge insertParagraphs() and appendParagraph()
924         remove breakAgain(), update()
925
926         * BufferView_pimpl.[Ch]:
927         * bufferview_funcs.[Ch]:
928         * lyxfunc.C:
929         * paragraph.[Ch]:
930         * rowpainter.C:
931         * tabular.C: adjust after text & InsetList changes.
932
933 2003-08-08  André Pönitz  <poenitz@gmx.net>
934
935         * text.C (insertChar, backspace): replace rowlist fiddling
936         with rebreak of full par
937
938         * lyxtext.h:
939         * text.C (breakAgainOneRow, redoHeightOfParagraph,
940         checkParagraph, updateInset): removed
941
942 2003-08-07  André Pönitz  <poenitz@gmx.net>
943
944         * paragraph.C:
945         * text3.C: merge some LFUN handlers, remove dead code
946
947 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
948
949         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
950
951 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
952
953         * text2.C (DEPM): fix part of bug 1255 and 1256
954
955 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
956
957         * BufferView_pimpl.C (workAreaDispatch): change to use
958         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
959         that are no mouse related.
960
961 2003-08-05  André Pönitz  <poenitz@gmx.net>
962
963         * BufferView.[Ch]:
964         * BufferView_pimpl.[Ch]:
965         * bufferview_funcs.C:
966         * text2.C:
967         * text3.C: rip out "deep update"
968
969         * textcursor.[Ch] (last_sel_cursor): remove unused member
970
971 2003-08-04  André Pönitz  <poenitz@gmx.net>
972
973         * BufferView.[Ch]:
974         * BufferView_pimpl.[Ch]:
975         * ParagraphParameters.C:
976         * bufferview_funcs.C:
977         * lyx_cb.C:
978         * lyxfind.C:
979         * lyxfunc.C:
980         * text.C:
981         * text2.C:
982         * text3.C: replace "complicated" BufferView::update(...) calls with
983         simpler ones.
984
985         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
986
987 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
988
989         * Makefile.am (lyx_SOURCES): add paper.h
990
991 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
992
993         * Makefile.am: move things around so that both lyx-qt and
994         lyx-xforms can be built (according to --with-frontend). Then lyx
995         is a symbolic link to lyx-[firstfrontend]
996
997 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
998
999         * Always use std::endl with lyxerr
1000
1001 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1002
1003         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1004
1005 2003-08-01  André Pönitz  <poenitz@gmx.net>
1006
1007         * BufferView.[Ch]:
1008         * BufferView_pimpl.[Ch]:
1009         * lyxfunc.C:
1010         * text3.C: merge BufferView::repaint() and BufferView::update()
1011
1012 2003-08-01  José Matos  <jamatos@lyx.org>
1013
1014         * buffer.[Ch]: file_format is no longer a buffer data element.
1015
1016 2003-08-01  André Pönitz  <poenitz@gmx.net>
1017
1018         * BufferView.C:
1019         * lyxtext.h:
1020         * text.C:
1021         * text2.C: make redoParagraph more independent of current cursor
1022
1023         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1024         * text.C:
1025         * text2.C: remove unneeded members
1026
1027 2003-07-30  André Pönitz  <poenitz@gmx.net>
1028
1029         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1030
1031         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1032           create a single function...
1033
1034         * paragraph_funcs.C (moveItem): ... here.
1035
1036         * text.C:
1037           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1038
1039 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1040
1041         * LColor.[Ch]: Add comment and greyedout logical colors.
1042
1043 2003-07-30  André Pönitz  <poenitz@gmx.net>
1044
1045         * tabular.C: don't use Assert too heavily. This crashes where it
1046           shouldn't
1047
1048 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1049
1050         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1051         is disabled (bug 1232)
1052
1053 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1054
1055         * factory.C: limited 'arg' scope
1056
1057 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1058
1059         * factory.C: fixed Note submenu issues
1060
1061 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1062
1063         * factory.C: submenu for Note/Comment/Greyedout
1064
1065 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1066
1067         * lyx_main.C (LyX):
1068         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1069
1070 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1071
1072         * LaTeXFeatures.C:
1073         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1074         greyedout. Patch provided by Jürgen Spitzmüller.
1075
1076 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1077
1078         * kbmap.C (read): fix error message when reading bind files
1079
1080 2003-07-29  Angus Leeming  <leeming@lyx.org>
1081
1082         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1083         certainly does not do what it purports to do. I am doing it, and
1084         us, a favour by killing it.
1085
1086 2003-07-28  José Matos  <jamatos@lyx.org>
1087
1088         * buffer.C (readBody, do_writeFile):
1089         * paragraph.C(readParagraph): \end_document replaces \the_end.
1090
1091 2003-07-29  André Pönitz  <poenitz@gmx.net>
1092
1093         * BufferView.[Ch]:
1094         * BufferView_pimpl.[Ch]:
1095         * lyxfunc.C:
1096         * text2.C:
1097         * text3.C:
1098         * textcursor.[Ch]: remove toggleToggle & Co
1099
1100 2003-07-28  José Matos  <jamatos@fep.up.pt>
1101
1102         * buffer.C (readParagraph):
1103         * params_func (readParToken, readParagraph):
1104         * paragraph.C (write): \layout -> \begin_layout.
1105
1106 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1107
1108         * lyxlex_pimpl.C (setFile): clean up slightly.
1109
1110         * bufferparams.h: add compressed var
1111
1112         * buffer_funcs.C (readFile): adjust for LyXLex change
1113         (newFile): ditto + simplify
1114
1115         * buffer.C (writeFile): handle writing of compressed files
1116
1117         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1118         Check if the file is compressed and set a bufferparm if so.
1119
1120         * Makefile.am (lyx_LDADD): remove explicit -lz
1121
1122 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1123
1124         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1125         makeDocBookFile): put the real LyX version in the first line of
1126         the file
1127
1128         * version.h:
1129         * version.C.in: remove lyx_docversion
1130
1131         * tabular.C (write_attribute): add a template-based version to
1132         write enums properly
1133
1134 2003-07-28  André Pönitz  <poenitz@gmx.net>
1135
1136         * lyxtext.h:
1137         * text.C:
1138         * text2.C:
1139         * text3.C: use doubles again for x-coordinates. They are needed.
1140
1141 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1142
1143         * messages.C (getLocaleDir): use lyx_localedir()
1144
1145         * lyxlex_pimpl.C (setFile): compress stuff
1146
1147         * buffer.C (writeFile): add some compression stuff
1148         (do_writeFile): new func, dont call expliti close... will this
1149         breake anything?
1150
1151         * Makefile.am (lyx_LDADD): add -lz
1152
1153 2003-07-28  José Matos  <jamatos@fep.up.pt>
1154
1155         * buffer.C: increment file format.
1156         * paragraph_funcs (readParagraph, readParToken):
1157         * paragraph.C (readParagraph): add \end_layout.
1158
1159 2003-07-27  Angus Leeming  <leeming@lyx.org>
1160
1161         * Makefile.am: remove special casing for configure-time setting of
1162         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1163
1164         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1165         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1166
1167 2003-07-26  André Pönitz  <poenitz@gmx.net>
1168
1169         * paragraph_func.[Ch]:
1170         * paragraph.C (realizeFont): inline it whereever it is used
1171
1172         * rowpainter.C:
1173         * text.C:
1174         * text2.C:
1175         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1176
1177
1178 2003-07-26  André Pönitz  <poenitz@gmx.net>
1179
1180         *       lyxtext.h:
1181         * text.C:
1182         * text2.C: get rid of LyXText::need_break_row
1183
1184 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1185
1186         * toc.[Ch]: put namespace toc inside namespace lyx
1187
1188         * MenuBackend.C (expandToc2): adjust for lyx::toc
1189         (expandToc): ditto
1190
1191         * lyxfunc.C (dispatch): adjust for lyx::find
1192
1193         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1194         lyx::find instead. Reorganize a bit.
1195         (LyXReplace): rename to replace
1196         (LyXFind): rename to find
1197
1198         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1199         (dispatch): ditto
1200
1201 2003-07-26  André Pönitz  <poenitz@gmx.net>
1202
1203         * text.C (setHeightOfRow): restrict scope of temporary variable
1204
1205         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1206           code (never has been used?)
1207
1208 2003-07-27  Asger Alstrup  <alstrup@local>
1209
1210         * text.C (fill): Optimise algorithm to exploit that we can reuse
1211         the LyXFont for many characters.
1212         (setHeightOfRow): Same thing.
1213         (rowBreakPoint): Same thing.
1214
1215 2003-07-26  Asger Alstrup  <alstrup@local>
1216
1217         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1218
1219         * text.C (singleWidth): Spurious font copying in hot-spot
1220         singleWidth avoided. Reorder tests for arabic for efficiency.
1221
1222         * text.C (fill): handle empty paragraphs better.
1223
1224 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1225
1226         * ispell.C:
1227         * encoding.h: add includes
1228
1229         * lyxrc.C: remove reading of bind files
1230
1231         * lyx_main.C (init): setup bindings and menus only if we have a
1232         gui.
1233
1234         * kbmap.C (read): new method. Do the actual reading of bind
1235         files.
1236
1237         * converter.C (dvipdfm_options):
1238         * bufferparams.C:
1239         * lyxrc.C (read):
1240         (output): adapt PAPER_* enums.
1241
1242         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1243
1244         * bufferparams.h: remove paper-related enums from there
1245
1246         * paper.h: New file. A trivial header file to hold paper-related
1247         enums. It should later expand to contain many paper-related
1248         horrors access.
1249
1250         * lyxrc.C: declare extern displayTranslator
1251
1252 2003-07-27  José Matos  <jamatos@fep.up.pt>
1253
1254         * tabular.[Ch] (linuxdoc): add support for tables and figures
1255         (linuxdoc).
1256
1257 2003-07-27  José Matos  <jamatos@fep.up.pt>
1258
1259         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1260         consistency in both functions.
1261         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1262
1263 2003-07-26  Asger Alstrup  <alstrup@local>
1264
1265         * rowpainter.C (paintRows): Change algorithm to work directly on
1266         the insets rather than asking every character in the document
1267         whether its an inset.
1268
1269 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1270
1271         * buffer.C (openFileWrite): factorize some code
1272
1273 2003-07-26  Angus Leeming  <leeming@lyx.org>
1274
1275         * lyx_cb.C:
1276         * lyx_main.[Ch]: replace occurances of system_tempdir with
1277         os::getTmpDir().
1278
1279 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1280
1281         * rename Inset to InsetOld
1282
1283 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1284
1285         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1286         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1287         which I think is a bit clearer. EDIT is gone, since it was
1288         premature optimisation, and broken for mathed anyway.
1289         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1290         with cursor positioning in insets as well (math insets still do not
1291         work, but that's a different story anyway.) It mysteriously
1292         crashes sometimes with undo in the first paragraph, but I'm fairly
1293         confident that this is a compiler bug.
1294
1295 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1296
1297         * paragraph.C (Paragraph): adjust for new clone return type
1298         (operator==): ditto
1299         (copyIntoMinibuffer): ditto
1300
1301 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1302
1303         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1304         by not having a special case, and always doing a full rebreak of
1305         the document after undo.
1306
1307 2003-07-23  Angus Leeming  <leeming@lyx.org>
1308
1309         * factory.C (createInset): InsetExternal::setParams now takes a
1310         Buffer const * arg.
1311
1312 2003-07-23  Angus Leeming  <leeming@lyx.org>
1313
1314         * factory.C (createInset): changed interface to the external and
1315         graphics mailers' string2params functions.
1316
1317 2003-07-23  Angus Leeming  <leeming@lyx.org>
1318
1319         * factory.C (createInset): pass a
1320         Buffer const * parameter to InsetExternalMailer's string2params.
1321
1322 2003-07-22  John Levon  <levon@movementarian.org>
1323
1324         * Thesaurus.h: include the right aiksaurus header
1325
1326 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1327
1328         * MenuBackend.C (expand): check menu shortcuts unconditionally
1329
1330 2003-07-21  Angus Leeming  <leeming@lyx.org>
1331
1332         * factory.C (createInset): pass a
1333         buffer_path parameter to InsetGraphicsMailer's string2params.
1334
1335 2003-07-21  Angus Leeming  <leeming@lyx.org>
1336
1337         * BufferView_pimpl.C (buffer):
1338         * buffer.C (d-tor):
1339         * lyx_main.C (LyX):
1340         * lyxfunc.C (dispatch):
1341         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1342         rather than the grfx shortcut.
1343
1344 2003-07-21  André Pönitz  <poenitz@gmx.net>
1345
1346         * rowpainter.C: remove unused variables
1347
1348         * tabular_funcs.C:
1349         * tabular_funcs.h: move to tabular.C
1350         * Makefile.am: adjust
1351
1352         * tabular.[Ch]: basic optical cleaning
1353
1354         * author.h: pass references, not values
1355
1356 2003-07-18  André Pönitz  <poenitz@gmx.net>
1357
1358         * lyxtext.h:
1359         * metricsinfo.C:
1360         * metricsinfo.h:
1361         * rowpainter.C:
1362         * text.C:
1363         * text2.C:
1364         * text3.C: two-phase drawing for InsetText and InsetTabular
1365         some float -> int changes.
1366
1367 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1368
1369         * lyx_main.C: fix the fix
1370
1371 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1372
1373         * lyx_main.C: fix a crash in batch mode if no files specified
1374         * converter.C: ws
1375
1376 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1377
1378         * format.[Ch] (papersize): moved to BufferParams
1379         * converter.[Ch] (dvips_options): moved to BufferParams
1380         (dvipdfm_options): moved to anon namespace
1381         * bufferparams.[Ch]: added above functions.
1382
1383 2003-07-17  André Pönitz  <poenitz@gmx.net>
1384
1385         * lyxtext.h:
1386         * rowpainter.C:
1387         * text2.C: don't call inset->update() anymore
1388
1389         * metricsinfo.[Ch]: add convenience constructor
1390
1391 2003-07-16  André Pönitz  <poenitz@gmx.net>
1392
1393         * lyxcursor.[Ch]:
1394         * lyxfunc.[Ch]:
1395         * text.C:
1396         * text2.C: replace the LyXCursor::irow_ member with
1397          on-demand computation of the value
1398
1399 2003-07-16  John Levon  <levon@movementarian.org>
1400
1401         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1402
1403 2003-07-15  André Pönitz  <poenitz@gmx.net>
1404
1405         * text.C:
1406         * text2.C: remove no more needed refresh_row
1407
1408 2003-07-15  André Pönitz  <poenitz@gmx.net>
1409
1410         * lyxtext.h:
1411         * rowpainter.C:
1412         * text2.C:
1413         * text3.C: refresh_status tristate -> need_update bool
1414
1415 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1416
1417         * lyxtext.h (init): remove reinit argument (act as if always true)
1418         * text2.C: adjust to that
1419
1420 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1421
1422         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1423         * text3.C: use it to delete selections in some cases
1424         (bugs 441, 673, 702, 954).
1425
1426 2003-07-14  André Pönitz  <poenitz@gmx.net>
1427
1428         * rowpainter.[Ch]: reduce interface
1429
1430 2003-07-14  André Pönitz  <poenitz@gmx.net>
1431
1432         * BufferView_pimpl.C:
1433         * text2.C: adjust after removing unused BufferView * argument
1434
1435 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1436
1437         * text2.C (init): fix a crash fired on resize
1438
1439 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1440
1441         * buffer.[Ch]: added new closing signal
1442         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1443         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1444         BufferView::Pimpl via the closing the signal
1445
1446 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1447
1448         * buffer.[Ch]: take out all bv-related from buffer
1449         * BufferView.C:
1450         * BufferView_pimpl.[Ch]: connect to new signals
1451         * CutAndPaste.C: removed useless asserts
1452         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1453         * lyxvc.[Ch]:
1454         * vc-backend.[Ch]:
1455         * lyxfunc.C: moved view-related funciontality from vc here
1456         * paragraph.C: removed outdated comments
1457         * text.C: ws
1458
1459 2003-07-10  André Pönitz  <poenitz@gmx.net>
1460
1461         * BufferView_pimpl.C:
1462         * tabular.h:
1463         * tabular_funcs.C:
1464         * text.C:
1465         * text2.C: remove InsetText::InnerCache, clean up consequences
1466
1467 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1468
1469         * ispell.C: fix two typos in error messages
1470
1471 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1472
1473         * Extend Note inset to other forms of annotation like Comment
1474         and Greyedout. Right button click gives dialog.
1475
1476         Files modified or added (+):
1477
1478         * insetnote.[Ch]
1479         * FormNote.[Ch]      +
1480         * ControlNote.[Ch]   +
1481         * form_note.fd       +
1482         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1483         frontends/controllers
1484         * xforms/Dialogs.C
1485         * factory.C
1486
1487 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1488
1489         * aspell.C: add missing namespace lyx::support
1490
1491 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1492
1493         * BufferView.[Ch] (newFile): Add
1494         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1495         * LaTeX.[Ch] (message): added this signal and use it
1496         * buffer.[Ch] (busy, message): added these signals and use them
1497         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1498         * converter.C:
1499         * exporter.C:
1500         * format.C:
1501         * importer.C: use buffer signals instead of direct bv calling
1502         * lyx_cb.[Ch] (ShowMessage): removed
1503         * lyx_main.C:
1504         * lyxfunc.C:
1505         * paragraph_funcs.C:
1506         * text2.C: use buffer signals
1507
1508 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1509
1510         * introduce namespace lyx::graphics
1511
1512 2003-07-02  André Pönitz  <poenitz@gmx.net>
1513
1514         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1515
1516 2003-07-01  André Pönitz  <poenitz@gmx.net>
1517
1518         * text.C:
1519         * text2.C:
1520         * text3.C:
1521         * text_funcs.[Ch]:
1522         * textcursor.h:
1523         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1524           text*.C to text_func.C
1525
1526 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1527
1528         * introduce namespace lyx::support
1529
1530 2003-06-30  André Pönitz  <poenitz@gmx.net>
1531
1532         * Chktex.C:
1533         * funcrequest.C:
1534         * lyxtext.h:
1535         * text.C: re-enable --with-included-string
1536
1537 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1538
1539         * textcursor.C: add <config.h>
1540
1541         * text.C (getWord): remove const from word_location arg
1542
1543         * lyxvc.C (getLogFile): fix const type order
1544
1545         * lyxtext.h: remove const from word_location arg, add arg name
1546
1547         * lyxlayout.h: currect type on labeltype.
1548
1549         * importer.C: correct \file
1550
1551         * converter.C (intToFormat): use std:: on ret val, ws changes
1552
1553         * bufferlist.h: correct \file
1554
1555         * buffer.C (makeLinuxDocFile): fix const type order
1556         (makeDocBookFile): ditto
1557         (fillWithBibKeys): use std:: on stdlib args.
1558
1559         * CutAndPaste.C: fix authors.
1560         (availableSelections): use std:: on return vector
1561
1562 2003-06-27  André Pönitz  <poenitz@gmx.net>
1563
1564         * BufferView_pimpl.C:
1565         * bufferview_funcs.C:
1566         * lyxcursor.C:
1567         * lyxcursor.h:
1568         * lyxfunc.C:
1569         * lyxtext.h:
1570         * rowpainter.C:
1571         * text.C:
1572         * text2.C:
1573         * text3.C: remove LyXCursor::row_ member
1574
1575         * lyxtext.h:
1576         * text.C: rename fullRebreak() to partialRebreak() and implement
1577           a fullRebreak() that really bereks fully
1578
1579         * textcursor.h: new struct for cursor-related data
1580
1581 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1582
1583         * lyx_main.C (LyX): get full path of document loaded on the
1584         command line
1585
1586 2003-06-26  André Pönitz  <poenitz@gmx.net>
1587
1588         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1589           remove unused/broken operator>,<,>=.
1590
1591         *       text.C: remove only use of broken operator<= in an Assert().
1592
1593 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1594
1595         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1596         moved errorlist_.clear to showErrorList
1597
1598 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1599
1600         * converter.C (scanLog, runLaTeX):
1601         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1602         move the bv->showErrorList call to the callers
1603         * lyxfunc.C: i.e. here...
1604         * text2.C: and here
1605         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1606         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1607         namespace, the second to...
1608         * buffer_funcs (BufferFormat, parseErrors): added
1609         * errorlist.C (ErrorList(TeXErrors const &)): removed
1610
1611 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1612
1613         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1614
1615 2003-06-24  "Garst R. Reese" <reese@isn.net>
1616
1617         * debug.C: fix typo
1618
1619 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1620
1621         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1622
1623         * version.C.in: change docversion to 1.4
1624
1625 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1626
1627         * buffer.C: fix a bug just introduced
1628
1629 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1630
1631         * buffer.[Ch]: added the parseError signal and use it, removed
1632         sgmlError
1633         * BufferView.[Ch] (addError): moved to ...
1634         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1635         to the Buffer::parseError signal to catch (guess what) parse errors
1636         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1637
1638 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1639
1640         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1641         ability to create a buffer and to return an existing one from
1642         the list. Moved these functions to...
1643         * buffer_funcs.[Ch]: added
1644         * BufferView.[Ch] (loadLyXFile): added
1645         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1646         job removed from bufferlist::loadLyXFile.
1647         * buffer.C (setReadOnly): make it work without view
1648         (i.e added an if (users))
1649
1650 2003-06-19  Angus Leeming  <leeming@lyx.org>
1651
1652         * lfuns.h:
1653         * LyXAction.C (init):
1654         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1655         with LFUN_DIALOG_SHOW <name> <data>.
1656
1657 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1658
1659         * CutAndPaste.C (availableSelections): small compilation fix for
1660         ancient (gcc 2.9x) compilers
1661
1662 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1663
1664         * text3.C (cursorNext): add tmp var
1665
1666         * text2.C (updateCounters): for function calling out of for clause
1667         (replaceSelectionWithString): ditto
1668         (insertStringAsParagraphs): ditto
1669         (getColumnNearX): add tmp var
1670         (setCursorFromCoordinates): add tmp var
1671         (cursorDownParagraph): add tmp var
1672         (deleteEmptyParagraphMechanism): add tmp var
1673
1674         * text.C (insertChar): add tmp var
1675
1676         * rowpainter.C (paintDepthBar): add tmp var
1677
1678         * CutAndPaste.C (availableSelections): potentially check all
1679         paragraphs in a cut to fill the shown strings.
1680
1681 2003-06-18  André Pönitz  <poenitz@gmx.net>
1682
1683         * kbmap.[Ch]: use vector<> instead of list<>
1684
1685 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1686
1687         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1688         pasteSelection with index
1689
1690         * text2.C (pasteSelection): modify, call pasteSelection with index
1691
1692         * paragraph.C (asString): reimplement version with no interval to
1693         call the one with interval.
1694
1695         * lyxtext.h: add index arg to pasteSelection
1696
1697         * MenuBackend.C (MenuItem): handle PasteRecent
1698         (Menu::read::Menutags): add md_pasterecent
1699         (read): handle it
1700         (expandPasteRecent): new function
1701         (expand): use it
1702
1703         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1704
1705         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1706         the limited stack
1707         (availableSelections): new function
1708
1709 2003-06-17  Angus Leeming  <leeming@lyx.org>
1710
1711         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1712
1713 2003-06-17  Angus Leeming  <leeming@lyx.org>
1714
1715         * lfuns.h:
1716         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1717
1718         * lyxfunc.C (dispatch): invoke it.
1719
1720 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1721
1722         * iterators.C (operator++, ParPosition): reintroduce some
1723         const_cast for the benefit of older compilers.
1724
1725 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1726
1727         * text3.C (dispatch): do not modify clipboard when doing
1728         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1729         LFUN_DELETE_SKIP on a selection selection
1730
1731 2003-06-16  André Pönitz  <poenitz@gmx.net>
1732
1733         * BufferView.C:
1734         * buffer.C:
1735         * buffer.h:
1736         * paragraph.C:
1737         * tabular.[Ch]: IU of clone() and getLabelList();
1738
1739 2003-06-13  André Pönitz  <poenitz@gmx.net>
1740
1741         * tabular.h: compactification
1742
1743 2003-06-12  André Pönitz  <poenitz@gmx.net>
1744
1745         * tabular.C:
1746         * tabular.h:
1747         * tabular_funcs.h: some renaming plus whitespace
1748
1749 2003-06-12  André Pönitz  <poenitz@gmx.net>
1750
1751         * BufferView.C:
1752         * BufferView_pimpl.C:
1753         * CutAndPaste.C:
1754         * buffer.C:
1755         * iterators.[Ch]:
1756         * lyxfunc.C:
1757         * text.C:
1758         * toc.C: Return a Paragraph & for ParIterator::operator*()
1759
1760 2003-06-11  John Levon  <levon@movementarian.org>
1761
1762         * lyx_main.C:
1763         * ToolbarBackend.h:
1764         * ToolbarBackend.C: add "Toolbars" section and
1765         put the flags there
1766
1767 2003-06-10  Angus Leeming  <leeming@lyx.org>
1768
1769         * lfuns.h:
1770         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1771
1772         * lyxfunc.C (dispatch): invoke it.
1773
1774 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1775
1776         * main.C: protect <ios> with HAVE_IOS
1777         (main): protect sync_with_stdio with HAVE_IOS
1778
1779 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1780
1781         * text2.C (cutSelection): adjust
1782         (pasteSelection): adjust
1783
1784         * messages.C: handle get of empty string
1785
1786         * main.C (main): use sync_with_stdio(false)
1787
1788         * lyxfunc.C (dispatch): adjust
1789
1790         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1791         (WriteAs): remove unneeded BufferView arg.
1792
1793         * bufferparams.h: use correct types on papersize, papersize2 and
1794         paperpackage.
1795
1796         * bufferparams.C (readToken): adjust for type
1797         (writeLaTeX): add missing cases to switch.
1798
1799         * bufferlist.C (quitWriteBuffer): adjust
1800         (close): adjust
1801
1802         * buffer.C (asciiParagraph): remove some commented code.
1803
1804         * CutAndPaste.C: remove current_view extern variable.
1805         (cutSelection): add BufferParams arg.
1806         (eraseSelection): add BufferParams arg.
1807         (pasteSelection): add Buffer const & arg
1808
1809 2003-06-07  John Levon  <levon@movementarian.org>
1810
1811         * buffer.C:
1812         * paragraph_funcs.C:
1813         * paragraph_pimpl.C:
1814         * text.C:
1815         * text2.C:
1816         * paragraph.h:
1817         * paragraph.C: allow InsetERT to freely space lines,
1818         and some consolidation of code
1819
1820 2003-06-06  José Matos  <jamatos@fep.up.pt>
1821
1822         * buffer.C (makeDocBookFile): fix bug #821
1823
1824 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1825
1826         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1827
1828 2003-06-04  Angus Leeming  <leeming@lyx.org>
1829
1830         * buffer.C: bump format to 224.
1831
1832 2003-06-05  André Pönitz  <poenitz@gmx.net>
1833
1834         * text2.C (redoParagraphs): remove two const_cast<>
1835
1836 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1837
1838         * ParagraphList.h: remove last remnants of NO_STD_LIST
1839
1840 2003-06-03  Angus Leeming  <leeming@lyx.org>
1841
1842         * factory.C (createInset): small change to the way InsetExternal's params
1843         are set.
1844
1845 2003-06-04  André Pönitz  <poenitz@gmx.net>
1846
1847         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1848
1849         * paragraph_pimpl.h:
1850         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1851
1852         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1853
1854         * undo_funcs.C: make some simple cases of undo work again
1855
1856 2003-06-03  John Levon  <levon@movementarian.org>
1857
1858         * ispell.C: HPUX doesn't have sys/select.h
1859         (from Albert Chin)
1860
1861 2003-06-03  John Levon  <levon@movementarian.org>
1862
1863         * CutAndPaste.C: update tabular and include inset
1864         buffer references
1865
1866         * buffer.h:
1867         * paragraph.h:
1868         * paragraph.C: remove owningBuffer(), don't pass Buffer
1869         to clone()
1870
1871         * factory.C: insetGraphicsParams changed
1872
1873 2003-06-02  John Levon  <levon@movementarian.org>
1874
1875         * LyXAction.C:
1876         * factory.C:
1877         * lfuns.h:
1878         * lyxfunc.C:
1879         * text3.C: remove insetparent
1880
1881 2003-06-02  John Levon  <levon@movementarian.org>
1882
1883         * buffer.h:
1884         * buffer.C: fix inset_iterator.end(), move out of line
1885         (bug 1149)
1886
1887 2003-06-01  John Levon  <levon@movementarian.org>
1888
1889         * text3.C: use a proper cut/paste when doing inset
1890         insert (from Jürgen Spitzmüller)
1891
1892 2003-06-01  John Levon  <levon@movementarian.org>
1893
1894         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1895
1896 2003-05-30  André Pönitz  <poenitz@gmx.net>
1897
1898         * rowpainter.C: unify second drawing phase
1899
1900 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1901
1902         * trans_mgr.C: remove one case of current_view
1903
1904         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1905
1906         * paragraph_funcs.h: remove paragraph.h include
1907
1908         * paragraph.h: delete NO_STD_LIST stuff
1909
1910         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1911
1912         * buffer.h: remove paragraph.h include
1913
1914         * ParagraphList.C: delete file
1915
1916         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1917
1918         * toc.C (getTocList): adjust
1919
1920         * paragraph_pimpl.C (validate): adjust
1921
1922         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1923
1924         * paragraph.C (Paragraph): adjust
1925         (getPositionOfInset): use const_iterator, adjust
1926         (bibitem): use const_iterator, adjust
1927         (setInsetOwner): adjust
1928
1929         * iterators.C (operator++): adjust
1930
1931         * InsetList.[Ch]: Replace selfmade iterator with standard
1932         vector::iterator also introduce const_iterator. Remove getPos,
1933         getInset and setInset from InsetTable. Adjust accordingly.
1934
1935         * BufferView.C (lockInset): adjust
1936         (ChangeInsets): adjust
1937
1938         * tabular.[Ch]: delete commented same_id functions
1939
1940 2003-05-28  John Levon  <levon@movementarian.org>
1941
1942         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1943
1944 2003-05-28  André Pönitz  <poenitz@gmx.net>
1945
1946         * metricsinfo.[Ch]: remove 'fullredraw' member
1947
1948 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1949
1950         * lyxtextclass.C (operator): remove caching.
1951
1952 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1953
1954         * text3.C: adjust
1955
1956         * text2.C (cursorBottom): adjust
1957         (setCounter): use ParagraphList::find, adjust
1958
1959         * text.C (workWidth): use ParagraphList::find, adjust
1960
1961         * lyxcursor.C (LyXCursor): adjust
1962
1963         * buffer.C (inset_iterator): adjust
1964
1965         * ParagraphList.h: make iterator(value_type) private, make
1966         ParagraphList a friend of iterator.
1967
1968         * ParagraphList.C (find): new function
1969
1970         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1971
1972 2003-05-27  André Pönitz  <poenitz@gmx.net>
1973
1974         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1975
1976 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1977
1978         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1979
1980 2003-05-26  John Levon  <levon@movementarian.org>
1981
1982         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1983
1984 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1985
1986         * remove same_id from function signatures, adjust.
1987
1988 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1989
1990         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1991
1992         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1993
1994         * paragraph.C (Paragraph): get rid of same_ids parameter
1995
1996         * ParagraphList.C (insert): adjust
1997         (push_back): adjust
1998
1999 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2000
2001         * paragraph_funcs.C (breakParagraph): adjust
2002         (breakParagraphConservative): adjust
2003
2004         * buffer.C (readParagraph): adjust
2005
2006         * ParagraphList.C (insert): take a reference instead of a pointer
2007         (insert): adjust
2008
2009         * paragraph.[Ch] (id): new function
2010
2011         * bufferlist.C (newFile): adjust
2012
2013         * ParagraphList.C (ParagraphList): adjust
2014         (assign): adjust
2015         (push_back): take a reference instead of a pointer.
2016
2017         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2018
2019         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2020         instead.
2021
2022         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2023         set else use old code.
2024
2025         * ParagraphList.C: remove all NO_NEXT code and only compile this
2026         code of NO_STD_LIST is set.
2027
2028 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2029
2030         * BufferView_pimpl.C:
2031         * TextCache.C:
2032         * TextCache.h:
2033         * bufferlist.C:
2034         * errorlist.h:
2035         * format.C:
2036         * format.h:
2037         * graph.C:
2038         * lyxfunc.C:
2039         * lyxrc.C:
2040         * graphics/GraphicsConverter.C:
2041         * graphics/PreviewLoader.C: header adjustment
2042
2043 2003-05-23  Angus Leeming  <leeming@lyx.org>
2044
2045         * LaTeXFeatures.[Ch] (useBabel): new method.
2046         * bufferparams.C (writeLaTeX): use it.
2047
2048 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2049
2050         * ParagraphList.h (set): remove unused function.
2051
2052 2003-05-23  André Pönitz  <poenitz@gmx.net>
2053
2054         * BufferView.C:
2055         * BufferView_pimpl.C:
2056         * buffer.C:
2057         * buffer.h:
2058         * lyxfunc.C:
2059         * undo_funcs.C: setUndo reworked
2060
2061         * iterators.[Ch]: add access to topmost ParagraphList
2062
2063         * lyxtext.[Ch] (workWidth): add a const
2064
2065 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2066
2067         * texrow.[Ch] (increasePos): remove function
2068         * exporter.C (export): removed unused var and outdated comment
2069
2070 2003-05-23  Angus Leeming  <leeming@lyx.org>
2071
2072         * latexrunparams.h: rename fragile as moving_arg.
2073         * paragraph.C (simpleTeXOnePar): ditto.
2074         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2075
2076 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2077
2078         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2079         (createUndo): ditto
2080         (textUndoOrRedo): comment out a currently unused var.
2081
2082         * paragraph.h (NO_NEXT): enable NO_NEXT
2083
2084         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2085
2086         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2087
2088         * exporter.C (Export): adjust for removeAutoInsets removal.
2089
2090         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2091
2092         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2093
2094         * BufferView.[Ch] (removeAutoInsets): delete function
2095
2096 2003-05-22  Angus Leeming  <leeming@lyx.org>
2097
2098         * latexrunparams.h: add a free_spacing variable.
2099
2100         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2101         to pass moving_arg, as the data is stored in runparams.fragile.
2102
2103         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2104         to Inset::latexOptional or to simpleTeXOnePar.
2105
2106         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2107         free_spacing arg to Inset::latexOptional.
2108
2109         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2110         free_spacing arg.
2111
2112 2003-05-22  Angus Leeming  <leeming@lyx.org>
2113
2114         * latexrunparams.h: add fragile and use_babel variables.
2115
2116         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2117         * buffer.C (makeLaTeXFile): store this returned value in
2118         runparams.use_babel, thus passing it to the inset::latex methods.
2119
2120         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2121         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2122
2123         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2124         longer has a fragile arg, as it is stored in runparams.fragile.
2125
2126         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2127         moving_arg parameter as the data is stored in runparams.fragile.
2128
2129         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2130         a fragile parameter as the data is stored in runparams.fragile.
2131
2132 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2133
2134         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2135
2136 2003-05-22  Angus Leeming  <leeming@lyx.org>
2137
2138         * latexrunparams.h: add a 'bool nice' which defaults to false.
2139
2140         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2141         now encapsulated within runparams.
2142
2143         * bufferlist.C (updateIncludedTeXfiles):
2144         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2145
2146 2003-05-22  Angus Leeming  <leeming@lyx.org>
2147
2148         * latexrunparams.h: new file containing struct LatexRunParams.
2149         * Makefile.am: add new file.
2150
2151         * LaTeX.[Ch] (c-tor, run):
2152         * buffer.[Ch] (makeLaTeXFile):
2153         * bufferlist.[Ch] (updateIncludedTeXfiles):
2154         * converter.C (convert, scanLog):
2155         * converter.[Ch] (runLaTeX):
2156         * exporter.C (Export):
2157         * paragraph.[Ch] (simpleTeXOnePar):
2158         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2159         * paragraph_funcs.[Ch] (latexParagraphs):
2160         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2161         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2162         pass around a LatexRunParams parameter.
2163
2164 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2165
2166         * paragraph.[Ch]: remove unused constructor
2167
2168         * ParagraphList.C (erase): new function, taking two iterators
2169
2170 2003-05-22  André Pönitz  <poenitz@gmx.net>
2171
2172         * undo_funcs.C: remove duplicated code
2173
2174         * iterator.[Ch]: operator=
2175
2176 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2177
2178         * tabular.C (SetMultiColumn): ws changes
2179
2180         * rowpainter.C (paintFirst): get rid of a ->previous
2181
2182         * lyx_cb.C (getPossibleLabel): parlist simplification
2183
2184         * BufferView.C (ChangeInsets): simplify slightly.
2185
2186 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2187
2188         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2189         * lfuns.h: new LFUN_SPACE
2190         * lyxfunc.C: protected space has a new lfun
2191         * paragraph_funcs.C: read new space insets
2192         * text3.C:
2193         * factory.C: handle new space insets
2194
2195 2003-05-22  André Pönitz  <poenitz@gmx.net>
2196
2197         * BufferView.C:
2198         * BufferView_pimpl.C:
2199         * buffer.[Ch]:
2200         * lyxfunc.C:
2201         * undo_funcs.C: return a ParIterator from getParFromID.
2202
2203         * iterators.[Ch]: add two const's
2204
2205 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * toc.C (getTocList): adjust
2208
2209         * iterators.[Ch]: rework for parlist
2210
2211         * buffer.C (par_iterator_begin): adjust
2212         (par_iterator_end): adjust
2213
2214         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2215
2216         * BufferView.C (removeAutoInsets): adjust
2217         (ChangeInsets): adjust
2218
2219 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2220
2221         * text.C (top_y): fix bug 1110
2222
2223 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2224
2225         * errorlist.[Ch]: added
2226         * buffer.C:
2227         * BufferView.[Ch]:
2228         * BufferView_pimpl.C:
2229         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2230         instead
2231
2232 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2233
2234         * Makefile.am: ensure that lyx is relinked upon changes to the
2235         various "convenience" libs.
2236
2237 2003-05-20  Angus Leeming  <leeming@lyx.org>
2238
2239         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2240         files are compiled in alphabetical order again.
2241
2242         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2243
2244 2003-05-19  Angus Leeming  <leeming@lyx.org>
2245
2246         * gettext.[Ch]: remove "char const * _(char const *)".
2247
2248 2003-05-19  André Pönitz  <poenitz@gmx.net>
2249
2250         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2251
2252         * Makefile.am:
2253         * BufferView.C:
2254         * DepTable.h:
2255         * LaTeXFeatures.C:
2256         * buffer.C:
2257         * lyxfont.C:
2258         * lyxlex.h:
2259         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2260
2261 2003-05-19  André Pönitz  <poenitz@gmx.net>
2262
2263         * buffer.C:
2264         * lyxlayout.[Ch]:
2265         * lyxtextclass.[Ch]:
2266         * paragraph.C:
2267         * paragraph_funcs.[Ch]:
2268         * text2.C:
2269         * text3.C: more insetenv work
2270
2271 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2272
2273         * ParagraphParameters.C (params2string): small bug fixed
2274
2275 2003-05-16  André Pönitz  <poenitz@gmx.net>
2276
2277         * debug.C:
2278         * bufferview_funcs.C: patch from Kornel Benko to prevent
2279           crash when _(...) is called twice in a statement
2280
2281 2003-05-16  André Pönitz  <poenitz@gmx.net>
2282
2283         * BufferView.C:
2284         * lyxfunc.C:
2285         * text.C:
2286         * text2.C:
2287         * text3.C:
2288         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2289
2290 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2291
2292         * lyx_main.C (init): remove spurious static_cast
2293
2294 2003-05-14  André Pönitz  <poenitz@gmx.net>
2295
2296         * BufferView.C: fix format string
2297
2298 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2299
2300         * BufferView.[Ch] (insertErrors): removed
2301         * BufferView.[Ch] (showErrorList): added
2302         * buffer.C (runChkTeX):
2303         * converter.C (scanLog): call showErrorList instead of inserterrors
2304
2305 2003-05-13  André Pönitz  <poenitz@gmx.net>
2306
2307         * BufferView_pimpl.C:
2308         * buffer.C:
2309         * bufferview_func.C:
2310         * MenuBackend.C:
2311         * lyxfunc.C:
2312         * lyxrc.C:
2313         * tex-accent.C:
2314         * text3.C:
2315         * toc.C:
2316         * tabular_funcs.h: tostr() from its own header
2317
2318         * ParagraphParameters.C:
2319         * ToolbarBackend.C:
2320         * bufferparams.C:
2321         * format.C:
2322         * lyxlex_pimpl.C:
2323         * text3.C: STRCONV()
2324
2325 2003-05-12  André Pönitz  <poenitz@gmx.net>
2326
2327         * BufferView.C:
2328         * BufferView_pimpl.C:
2329         * CutAndPaste.C:
2330         * LaTeX.C:
2331         * LaTeXFeatures.C:
2332         * ParagraphParameters.C:
2333         * buffer.C:
2334         * bufferlist.C:
2335         * bufferparams.C:
2336         * bufferview_funcs.C:
2337         * converter.C:
2338         * counters.C:
2339         * debug.C:
2340         * exporter.C:
2341         * format.C:
2342         * importer.C:
2343         * lyx_cb.C:
2344         * lyx_main.C:
2345         * lyxfont.C:
2346         * lyxfunc.C:
2347         * lyxvc.C:
2348         * paragraph.C:
2349         * paragraph_funcs.C:
2350         * tabular.C:
2351         * tabular_funcs.C:
2352         * text2.C:
2353         * text3.C:  boost::format -> bformat  all over the place
2354
2355
2356 2003-05-09  André Pönitz  <poenitz@gmx.net>
2357
2358         * LColor.[Ch]: Pimpl the #include <map> away
2359
2360 2003-05-09  John Levon  <levon@movementarian.org>
2361
2362         * bufferlist.C: never remove emergency saves
2363
2364 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2365
2366         * Makefile.am: better lib building
2367
2368 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2369
2370         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2371         instead.
2372         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2373         (simpleTeXSpecialChars): adjust
2374         (simpleTeXSpecialChars): adjust
2375         * paragraph.C (simpleTeXOnePar): adjust
2376         * buffer.C (makeLaTeXFile): adjust
2377
2378         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2379
2380         * text2.C (changeDepth): parlist cleanup
2381         (getColumnNearX): ditto
2382
2383         * rowpainter.C (getLabelFont): parlist cleanup
2384
2385         * bufferlist.C (newFile): parlist cleanup
2386
2387         * CutAndPaste.C (eraseSelection): parlist cleanup
2388
2389         * BufferView_pimpl.C (trackChanges): parlist cleanup
2390         (dispatch): ditto
2391
2392         * BufferView.C (lockInset): parlist cleanup.
2393         (ChangeInsets): ditto
2394
2395 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2396
2397         * CutAndPaste.h: Update file header.
2398
2399         * CutAndPaste.C: Update file header.
2400         Store the parts cut out of the Document in a limited_stack.
2401         (copySelection): adjust
2402         (pasteSelection): new function, takes the index in the limited stack.
2403         (nrOfParagraphs): adjust
2404         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2405         simplify error inset insertion.
2406         (checkPastePossible): adjust
2407
2408 2003-05-06  John Levon  <levon@movementarian.org>
2409
2410         * text2.C: don't cast wrap inset to float
2411
2412 2003-05-05  André Pönitz  <poenitz@gmx.net>
2413
2414         * iterator.C:
2415         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2416
2417         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2418           few naked Paragraph *.
2419
2420 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2421
2422         * bufferparams.C: Output warning if a document with missing
2423         TeX document class is loaded
2424         * exporter.C: Disable TeX exports if the document class is missing
2425         * lyxtextclass.C:
2426         * lyxtextclass.h:
2427         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2428         isTeXClassAvailable()
2429
2430 2003-05-03  John Levon  <levon@movementarian.org>
2431
2432         * BufferView.h:
2433         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2434         explicit cursor show/hide
2435
2436         * BufferView_pimpl.h:
2437         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2438         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2439
2440         * lyxfunc.C: hide cursor before dispatching.
2441
2442         * lyx_cb.C:
2443         * lyxfind.C:
2444         * text.C:
2445         * text3.C: remove explicit cursor hides
2446
2447 2003-05-02  André Pönitz  <poenitz@gmx.net>
2448
2449         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2450
2451         * undo_funcs.C:
2452         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2453           linked lists
2454
2455         * text2.C: tiny whitespace
2456
2457 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2458
2459         * undo_funcs.C: almost only ws changes.
2460
2461         * ParagraphList.C (splice): just return if pl is empty.
2462
2463 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2464
2465         * ParagraphList.C (splice): new function.
2466
2467         * CutAndPaste.C (pasteSelection): use it
2468
2469 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * CutAndPaste.C (pasteSelection): remove the last next and
2472         previous from this file.
2473
2474 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2475
2476         * CutAndPaste.C (pasteSelection): more clean up, user proper
2477         ParagraphList functions for pasteing.
2478
2479         * ParagraphList.C (insert): new function, three arg insert
2480
2481 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2482
2483         * ParagraphList.C (insert): new function, three arg insert
2484
2485         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2486         not on paragraphs.
2487
2488 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2489
2490         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2491
2492 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2493
2494         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2495
2496 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2497
2498         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2499         (copySelection): clean up a bit.
2500         (pasteSelection): use make_pair
2501
2502         * ParagraphList.C (ParagraphList): implement copy constructor
2503         (operator=): implement, base on copy constructor.
2504         (assign): new func
2505
2506         * paragraph.C (erase): return a bool
2507
2508         * paragraph_pimpl.C (erasePos): remove function, move contents...
2509         (erase): ... here. Return a bool.
2510         (erase): call erase instead of erasePos.
2511
2512 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2513
2514         * ParagraphList.h: define PitPosPair
2515         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2516         ParagraphList, fix a bug on pasting multiple pars
2517         * text2.C: change interface to C&P
2518
2519 2003-04-30  André Pönitz  <poenitz@gmx.net>
2520
2521         * undo_func.C: revert part of yesterday's patch 2
2522
2523 2003-04-30  John Levon  <levon@movementarian.org>
2524
2525         * LColor.C: s/tabular/table/
2526
2527 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2528
2529         * text3.C (dispatch): do not convert iterator -> pointer
2530         * undo_funcs.C (setCursorParUndo): ditto
2531         * text_funcs.C (transposeChars): ditto
2532
2533         * text2.C (setLayout): ws changes only
2534
2535         * text.C (breakParagraph): do not convert iterator -> pointer
2536         (insertChar): ditto
2537         (acceptChange): ditto
2538         (rejectChange): ditto
2539         (changeCase): ditto
2540         (Delete): ditto
2541         (backspace): ditto
2542
2543         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2544         pointer
2545
2546 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2547
2548         * text3.C (gotoInset): YABG (yet another bad getChar)
2549
2550 2003-04-29  André Pönitz  <poenitz@gmx.net>
2551
2552         * paragraph.h: make operator= private unimplemented as long as
2553           it is unusable
2554
2555         * ParagraphList.C: whitespace
2556
2557         * paragraph.[Ch]:
2558         * paragraph_pimpl.[Ch]:
2559         * paragraph_funcs.C:
2560         * CutAndPaste.C:
2561         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2562
2563         * text2.C:
2564           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2565
2566 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2567
2568         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2569         * paragraph.[Ch] (erase):
2570         * paragraph_pimpl.[Ch] (erase): change return type and value
2571         * text2.C (cutSelection): some rework
2572
2573 2003-04-28  John Levon  <levon@movementarian.org>
2574
2575         * bufferlist.C: changes for unsaved changes dialog
2576
2577 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2578
2579         * bufferlist.C (newFile): set language (messages_) for new
2580         documents also.
2581
2582         * buffer.C (readFile): ws changes only.
2583
2584 2003-04-28  André Pönitz  <poenitz@gmx.net>
2585
2586         * undo_funcs.C:
2587         * lyxfunc.C:
2588         * buffer.[Ch]:
2589         * BufferView_pimpl.C:
2590         * BufferView.C: getParFromID related ParagraphList::iterator changes
2591
2592 2003-04-28  André Pönitz  <poenitz@gmx.net>
2593
2594         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2595           Changes
2596
2597 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2598
2599         * messages.C: remove one more localedir class variable.
2600
2601 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2602
2603         * messages.C (getLocaleDir): singleton generation function
2604         (Pimpl): use it.
2605         (Messages): add a default constructor.
2606
2607         * main.C (main): do not setup localedir here, do not call
2608         gettext_init.
2609
2610         * gettext.C (_): use it.
2611         (gettext_init): delete funciton
2612
2613 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2614
2615         * gettext.C (getLyXMessages): new singleton generating function.
2616
2617         * buffer.C (updateDocLang): adjust
2618
2619         * Makefile.am (messages.o): add target
2620         (main.o): remove target
2621
2622 2003-04-27  John Levon  <levon@movementarian.org>
2623
2624         * bufferlist.C:
2625         * lyx_cb.C:
2626         * lyxfunc.C:
2627         * lyxvc.C: specify cancel button in Alert::prompt
2628
2629 2003-04-26  John Levon  <levon@movementarian.org>
2630
2631         * text3.C:
2632         * lyxfunc.C:
2633         * lfuns.h:
2634         * LyXAction.C: add LFUN_INSET_SETTINGS
2635
2636         * lyxfunc.C: don't enable tabular-feature when there's
2637         just any locking inset
2638
2639 2003-04-26  John Levon  <levon@movementarian.org>
2640
2641         * bufferlist.C: re-add Cancel to buffer close question
2642
2643         * lyxfunc.C: fix import UI a bit
2644
2645 2003-04-25  John Levon  <levon@movementarian.org>
2646
2647         * gettext.C: remove the broken asserts for now
2648
2649 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650
2651         * messages.C: make case where setlocale cannot comply work better.
2652
2653         * buffer.C (updateDocLang): new function
2654         (changeLanguage): use it
2655         (readFile): use it
2656
2657         * text2.C (setCounter): use B_ a bit.
2658
2659         * lyxlayout.C (Read): be sure to trim the label strings.
2660
2661         * messages.C (Messages): fix typo in comment
2662
2663         * buffer.C (readFile): set message_ after file is loaded.
2664         (makeDocBookFile): remove double return
2665         (changeLanguage): reset message_ upon language change.
2666         (B_): new func, use this to get translated buffer strings.
2667
2668         * main.C: add myself and Jean Marc as authors.
2669
2670 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * messages.[hC]: pimplify Messages, and three different pimpls to be
2673         used in different circumstances.
2674
2675         * gettext.[Ch]: change for use with new message code.
2676
2677 2003-04-24 André Pönitz <poenitz@gmx.net>
2678
2679         * factory.C: support for eqref
2680
2681 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2682
2683         * messages.[Ch]: add missing char
2684
2685         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2686
2687         * messages.[Ch]: New files
2688
2689 2003-04-18  John Levon  <levon@movementarian.org>
2690
2691         * BufferView.h:
2692         * BufferView.C:
2693         * BufferView_pimpl.C:
2694         * lfuns.h:
2695         * LyXAction.C:
2696         * lyxtext.h:
2697         * text2.C: remove layout-copy/paste (bug 778)
2698
2699 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2700
2701         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2702
2703 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2704
2705         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2706         if they succeed. Act accordingly.
2707
2708 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2709
2710         * text2.C (setCharFont): adjust
2711         (setCounter): adjust
2712         (insertStringAsLines): adjust
2713
2714         * text.C (leftMargin): adjust
2715         (setHeightOfRow): adjust
2716
2717         * rowpainter.C (paintFirst): adjust
2718         (paintLast): adjust
2719
2720         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2721         (outerHook): ditto
2722         (isFirstInSequence): ditto
2723         (getEndLabel): ditto
2724         (outerFont): adjust
2725
2726         * paragraph.C (getParLanguage): comment out some hard stuff.
2727
2728         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2729         (sgmlError): ditto
2730         (simpleDocBookOnePar): ditto
2731         (makeDocBookFile): use ParagraphList::iterator
2732
2733         * CutAndPaste.C (pasteSelection): adjust
2734
2735 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2736
2737         * text2.C (getFont): adjust
2738         (getLayoutFont): adjust
2739         (getLabelFont): adjust
2740
2741         * paragraph_funcs.C (TeXOnePar): adjust
2742
2743         * buffer.C (simpleLinuxDocOnePar): adjust
2744         (simpleDocBookOnePar): adjust
2745
2746         * CutAndPaste.C (pasteSelection): adjust
2747
2748         * BufferView.C (getEncoding): adjust
2749
2750         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2751
2752 2003-04-16  John Levon  <levon@movementarian.org>
2753
2754         * lyxfind.C: use parlist stuff for search/changes
2755
2756 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2757
2758         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2759
2760         * text2.C (deleteEmptyParagraphMechanism): adjust
2761
2762         * text2.[Ch] (ownerParagraph): delete func (both of them
2763
2764 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2765
2766         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2767
2768 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2769
2770         * ParagraphList.C: prepare for NO_NEXT
2771
2772 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2773
2774         * text2.C (getFont): adjust
2775         (getLayoutFont): adjust
2776         (getLabelFont): adjust
2777
2778         * paragraph.C (getFont): adjust
2779         (getLabelFont): adjust
2780         (getLayoutFont): adjust
2781
2782         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2783
2784 2003-04-15  John Levon  <levon@movementarian.org>
2785
2786         From Angus Leeming
2787
2788         * lyx_main.C: handle Include in .ui files
2789
2790 2003-04-15  John Levon  <levon@movementarian.org>
2791
2792         * MenuBackend.C: make the doc files length shorter
2793
2794         * ToolbarBackend.h:
2795         * ToolbarBackend.C: handle toolbar placement flags,
2796         Minibuffer
2797
2798 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2799
2800         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2801         adjust
2802
2803         * paragraph_funcs.C (TeXOnePar): adjust
2804
2805         * paragraph.C (getLabelFont): add outerfont arg, adjust
2806         (getLayoutFont): ditto
2807         (simpleTeXOnePar): adjust
2808
2809         * paragraph_pimpl.C (realizeFont): delete func
2810
2811 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2812
2813         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2814         row argument, constify cur argument.
2815
2816 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2817
2818         * text2.C (getFont): adjust
2819         (getLayoutFont): adjust
2820         (getLabelFont): adjust
2821
2822         * paragraph_funcs.C (TeXOnePar): adjust
2823         (outerFont): new func...
2824         (realizeFont): ...moved out from here, changed this to facilitate
2825         transition
2826
2827         * paragraph.C (getFont): take outerfont as arg, adjust
2828         (simpleTeXOnePar): add outerfont arg, adjust
2829
2830         * buffer.C (simpleLinuxDocOnePar): adjust
2831         (simpleDocBookOnePar): adjust
2832
2833         * CutAndPaste.C (pasteSelection): adjust
2834
2835         * BufferView.C (getEncoding): adjust
2836
2837 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2838
2839         * text2.C (setCharFont): adjust
2840         (setCounter): adjust
2841
2842         * text.C (leftMargin): adjust
2843         (setHeightOfRow): adjust
2844
2845         * rowpainter.C (paintFirst): adjust
2846         (paintLast): adjust
2847
2848         * paragraph_pimpl.C (realizeFont): adjust
2849
2850         * paragraph.C (isFirstInSequence): move from here...
2851         * paragraph_funcs.C (isFirstInSequence): ...to here
2852
2853         * paragraph.C (outerHook): move from here...
2854         * paragraph_funcs.C (outerHook): ...to here
2855
2856         * paragraph.C (depthHook): move from here...
2857         * paragraph_funcs.C (depthHook): ...to here
2858
2859         * paragraph.C (getEndLabel): move from here...
2860         * paragraph_funcs.C (getEndLabel): ...to here
2861
2862         * text2.C (realizeFont): move from here...
2863         * paragraph_funcs.C (realizeFont): ...to here
2864
2865 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2868
2869 2003-04-14  Angus Leeming  <leeming@lyx.org>
2870
2871         * LColor.[Ch]: scrap LColor mathcursor.
2872
2873 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2874
2875         * lyxlex.[Ch] (text): delete function
2876         * trans.C (Load): adjust
2877         * paragraph_funcs.C (readParToken): adjust
2878
2879 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2880
2881         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2882         vector<char> instead of a char[].
2883
2884         * lyxlex_pimpl.C (getString): adjust
2885         (next): adjust
2886         (lex): use getString
2887         (eatLine): adjust
2888         (nextToken): adjust
2889
2890         * lyxlex.C (text): use pimpl_->getString()
2891         (getBool): ditto
2892         (findToken): ditto
2893
2894 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2895
2896         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2897         (makeFontEntriesLayoutSpecific): temp var for par.size()
2898         (setLayout): temp var for ownerParagraphs().end()
2899         (fullRebreak): temp var for rows().end()
2900         (selectionAsString): temp var for boost::next(startpit), realize
2901         that the while really is a regular for loop.
2902         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2903         setCursor in one place.
2904         (setParagraph): temp vr for ownerParagraphs().end()
2905         (updateCounters): make the while loop a for loop
2906         (cutSelection): temp var for ownerParagraphs().end()
2907         (updateInset): make the do {} while() a regular for loop
2908         (getCursorX): use temp vars
2909         (setCurrentFont): use temp vars
2910         (getColumnNearX): use temp vars
2911
2912 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2913
2914         * text.C (transformChar): use temp var for getChar
2915         (computeBidiTables): use temp var for row->par()
2916         (fill): move temp vars for row->par() and pit->layout() earlier in
2917         the function.
2918         (labelFill): use temp var for row->par()
2919         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2920         asc and desc, realize that pit never changes and that firstpit is
2921         just a duplicate and not needed. Exchange rit->par() with pit in a
2922         lot of places.
2923         (breakAgain): use a temp var for boost::next(rit)
2924         (breakAgainOneRow): ditto
2925         (breakParagraph): use a temp var for rows().begin()
2926         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2927         (cursorRightOneWord): use temp var for cursor.par() and
2928         cursor.pos(), remove usage of tmpcursor.
2929         (cursorLeftOneWord): use temp var for cursor.par() and
2930         cursor.pos() only set cur at end of function.
2931
2932 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2933
2934         * text.C, text2.C: exchange all usage of Paragraph::next with
2935         boost::next(ParagraphList::iterator)
2936
2937         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2938
2939         * text2.C (cursorTop): simplify implementation
2940         (cursorBottom): ditto
2941         (setParagraph): use ParagraphList::iterator
2942         (setCurrentFont): adjust
2943         (getColumnNearX): adjust
2944         (cursorRight): adjust
2945         (cursorLeft): remove usage of Paragraph::previous
2946         (cursorUpParagraph): ditto
2947         (deleteEmptyParagraphMechanism): slight cleanup
2948
2949         * text.C (isBoundary): take a Paragraph const & instead of a
2950         pointer as arg.
2951         (addressBreakPoint): ditto
2952         (leftMargin): remove usage of Paragraph::previous.
2953         (setHeightOfRow): ditto
2954         (cursorLeftOneWord): ditto
2955         (selectNextWordToSpellcheck): ditto
2956         (Delete): ditto
2957         (backspace): ditto
2958         (breakParagraph): remove one usage of Paragraph::next
2959         (redoParagraph): ditto
2960         (acceptChange): ditto
2961         (insertChar): adjust
2962         (rowBreakPoint): adjust
2963
2964         * bufferview_funcs.C (toggleAndShow): adjust
2965
2966 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2967
2968         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2969         methods to access it.
2970         * lyxtext.h:
2971         * text.C: Added updateRowPositions to compute all row positions.
2972         Make top_y and getRowNearY() to use the cached y position
2973
2974 2003-04-11  John Levon  <levon@movementarian.org>
2975
2976         * text.C (rowBreakPoint): reintroduce the labelEnd
2977         checks, code copied from the row fill stuff. Deep voodoo.
2978
2979         * text.C (fill): add a comment and debugging for the
2980         next poor soul.
2981
2982 2003-04-11  John Levon  <levon@movementarian.org>
2983
2984         * text.C: make sure fullrow insets get wrapped to the next line,
2985         even when they're in a manual label
2986
2987 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * text2.C (insertParagraph): make it take ParagraphList::iterator
2990         as arg.
2991         (setLayout): make it return ParagraphList::iterator
2992         (redoParagraphs): ditto
2993         (setCounter): ditto
2994         (checkParagraph): ditto
2995
2996         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2997
2998         * text2.C: adjust several funcs.
2999         (realizeFont): take a ParagraphList::iterator as arg.
3000         (getLayoutFont): ditto
3001         (getLabelFont): ditto
3002         (setCharFont): ditto
3003
3004         * text.C: adjust several funcs.
3005
3006 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3007
3008         * text.C (selectNextWordToSpellcheck): don't accidentally
3009         skip insets
3010
3011 2003-04-10  John Levon  <levon@movementarian.org>
3012
3013         * ToolbarBackend.C (getIcon): special handling for
3014         LFUN_MATH_DELIM
3015
3016 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3017
3018         * text2.C (cursorRight): a getChar assert fixed
3019
3020 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3021
3022         * text2.C (getFont): change to take a ParagraphList::iterator
3023         instead of Paragraph*
3024         Adjust several functions.
3025
3026         * text.C (transformChar): change to take a ParagraphList::iterator
3027         instead of Paragraph*
3028         (singleWidth): ditto
3029         Adjust several functions.
3030
3031         * rowpainter.C: adjust several functions
3032         * rowpainter.h:store a ParagraphList::iterator and not a
3033         Paragraph&.
3034
3035
3036 2003-04-09  John Levon  <levon@movementarian.org>
3037
3038         * lyxfunc.C:
3039         * lfuns.h:
3040         * LyXAction.h:
3041         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3042         and the "help" bits as well
3043
3044 2003-04-09  John Levon  <levon@movementarian.org>
3045
3046         * ToolbarBackend.h:
3047         * ToolbarBackend.C: allow multiple toolbars
3048
3049 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3050
3051         * undo_funcs.C (setCursorParUndo): adjust
3052
3053         * text_funcs.C (transposeChars): adjust
3054
3055         * text3.C (gotoNextInset): adjust
3056         (dispatch): adjust
3057
3058         * text2.C (setLayout): adjust
3059         (changeDepth): adjust
3060         (setFont): adjust
3061         (redoParagraphs): adjust
3062         (selectionAsString): adjust
3063         (setParagraph): adjust
3064         (insertInset): adjust
3065         (cutSelection): adjust
3066         (copySelection): adjust
3067         (pasteSelection): adjust
3068         (insertStringAsLines): adjust
3069         (updateInset): adjust
3070         (setCursor): change to take a ParagraphList::iterator parameter
3071         (setCursorIntern): change to take a ParagraphList::iterator parameter
3072         (setCurrentFont): adjust
3073         (cursorLeft): adjust
3074         (cursorRight): adjust
3075         (deleteEmptyParagraphMechanism): adjust
3076
3077         * text.C (breakParagraph): adjust
3078         (insertChar): adjust
3079         (acceptChange): adjust
3080         (rejectChange): adjust
3081         (selectNextWordToSpellcheck): adjust
3082         (changeCase): adjust
3083         (Delete): adjust
3084         (backspace): adjust
3085
3086         * lyxfind.C (SearchForward): adjust
3087         (SearchBackward): adjust
3088         (nextChange): adjust
3089
3090         * lyxcursor.C (par): adjust
3091
3092         * lyxcursor.h: store a ParagraphList::iterator instead of a
3093         Paragraph*
3094
3095         * lyx_cb.C (getPossibleLabel): adjust
3096
3097         * bufferview_funcs.C (toggleAndShow): adjust
3098
3099         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3100         (dispatch): adjust
3101
3102         * BufferView.C (removeAutoInsets): adjust
3103         (lockedInsetStoreUndo): adjust
3104
3105 2003-04-09  John Levon  <levon@movementarian.org>
3106
3107         * ToolbarBackend.C: try icon without argument
3108         if with argument fails
3109
3110 2003-04-08  John Levon  <levon@movementarian.org>
3111
3112         * ToolbarBackend.h:
3113         * ToolbarBackend.C: add getIcon(), handle tooltip,
3114         and change from "Icon" to "Item".
3115
3116 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3117
3118         * BufferView.C (lockInset): another bad getchar crunched
3119
3120 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3121
3122         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3123         again)
3124
3125 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3126
3127         * lyxfind.C (searchForward, searchBackwards): bug 782
3128
3129 2003-04-07  John Levon  <levon@movementarian.org>
3130
3131         * paragraph.C: remove dead comment
3132
3133         * text.C: remove troublesome depth-fiddling code
3134         in leftMargin() and rightMargin() (bug 1017)
3135
3136         * text.C: fix breaking of rows in nested lists
3137         (bug 1004)
3138
3139         * text2.C (updateCounters): fix up depth values
3140         (bug 1013)
3141
3142 2003-04-07  John Levon  <levon@movementarian.org>
3143
3144         * BufferView_pimpl.C: clear message when doc finishes resizing,
3145         and after a mouse event
3146
3147         * lyxfunc.C: clear message after exiting inset
3148
3149 2003-04-07  John Levon  <levon@movementarian.org>
3150
3151         * bufferview_funcs.C: show math status not outside
3152         status in the statusbar
3153
3154 2003-04-07  John Levon  <levon@movementarian.org>
3155
3156         * lyxfunc.C: note status changed after a depth change
3157
3158 2003-04-04  Angus Leeming  <leeming@lyx.org>
3159
3160         * LaTeX.h: move AuxInfo operator==, != out of line.
3161         Remove LaTeX virtual destructor; nothing derives from it.
3162         Move operator()() out of public area and rename it startscript().
3163         Change protected for private.
3164
3165 2003-04-04  Angus Leeming  <leeming@lyx.org>
3166
3167         * lyxfunc.C:
3168         * text2.C: remove unneeded #includes.
3169
3170 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3171
3172         * text2.C (dEPM): fix the heigth of the next row
3173
3174 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3175
3176         * text.C: squashed an invalid getChar requester + some ws changes
3177
3178 2003-04-03  John Levon  <levon@movementarian.org>
3179
3180         * bufferview_funcs.h:
3181         * bufferview_funcs.C:
3182         * lyxfunc.C:
3183         * lyxtext.h:
3184         * text2.C: make getStatus work for the env depth lfuns
3185
3186 2003-04-03  John Levon  <levon@movementarian.org>
3187
3188         * bufferview_funcs.h:
3189         * bufferview_funcs.C:
3190         * lyxfunc.C:
3191         * lyxtext.h:
3192         * text2.C: parlistize decDepth(), by merging it with incDepth()
3193
3194 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3195
3196         * lyxrow.h: store a ParagraphList::iterator instead of a
3197         Paragraph* and adjust other class functions to suit.
3198
3199         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3200         above.
3201
3202 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3203
3204         * text2.C (setCursor): do not anchor to cursor row for the time being
3205
3206 2003-04-02  John Levon  <levon@movementarian.org>
3207
3208         * LyXAction.C:
3209         * lfuns.h:
3210         * lyx_main.C:
3211         * lyxtext.h:
3212         * text.C:
3213         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3214
3215 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3216
3217         * paragraph.h: make ParagraphList and ParagraphList::iterator
3218         friends of Paragraph.
3219
3220         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3221
3222         * ParagraphList.C: Use the private next_ and previous_ from
3223         Paragraph.
3224
3225 2003-04-01  John Levon  <levon@movementarian.org>
3226
3227         * ToolbarBackend.h:
3228         * ToolbarBackend.C:
3229         * Makefile.am: rename, remove defaults gunk
3230
3231         * MenuBackend.h:
3232         * MenuBackend.C: remove defaults gunk
3233
3234         * Languages.h:
3235         * Languages.C: remove defaults gunk
3236
3237         * lyx_main.h:
3238         * lyx_main.C: error out if files couldn't be found.
3239
3240 2003-04-02  John Levon  <levon@movementarian.org>
3241
3242         * text2.C: make incDepth() use parlist
3243
3244 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3245
3246         * undo_funcs.C (firstUndoParagraph): adjust
3247
3248         * text3.C (gotoInset): adjust
3249         (dispatch): adjust, and rewrite loop.
3250
3251         * text2.C (init): adjust, and rewrite loop.
3252         (redoParagraphs): adjust
3253         (updateInset): adjust, and rewrite loop.
3254         (deleteEmptyParagraphMechanism): adjust
3255
3256         * tabular.C (LyXTabular): adjust
3257         (SetMultiColumn): adjust
3258         (TeXRow): adjust
3259
3260         * lyxtext.[Ch] (ownerParagraph): delete function
3261         (ownerParagraphs): new function returns a ParagraphList.
3262
3263         * BufferView.C (removeAutoInsets): adjust
3264         (insertErrors): adjust
3265         (setCursorFromRow): adjust
3266
3267 2003-04-01  Angus Leeming  <leeming@lyx.org>
3268
3269         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3270         in the frontends.
3271
3272 2003-04-02  John Levon  <levon@movementarian.org>
3273
3274         * lyxtext.h:
3275         * text.C:
3276         * Makefile.am:
3277         * text_funcs.h:
3278         * text_funcs.C: make transposeChars a free function
3279
3280         * lyxrow_funcs.C: remove wrong comment
3281
3282 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3283
3284         * lyxtext.h: adjust
3285         * rowpainter.C: adjust
3286         * text.C: adjust
3287         * text2.C: adjust
3288         * text3.C: adjust
3289
3290         * lyxrow_funcs. [Ch]: new files
3291
3292         * lyxrow.[Ch]: remove next and previous pointers
3293         (next,previous): remove accessor functions
3294         (isParEnd): move to lyxrow_funcs
3295         (lastPos): move to lyxrow_funcs
3296         (nextRowIsAllInset): move to lyxrow_funcs
3297         (lastPrintablePos): move to lyxrow_funcs
3298         (numberOfSeparators): move to lyxrow_funcs
3299         (numberOfHfills): move to lyxrow_funcs
3300         (numberOfLabelHfills): move to lyxrow_funcs
3301         (hfillExpansion): move to lyxrow_funcs
3302
3303         * lyxfunc.C: adjust
3304
3305         * bufferview_funcs.C (toggleAndShow): adjust
3306
3307         * RowList.h: Remove class RowList from file leave just a
3308         std::list<Row>.
3309
3310         * RowList.C: delete file
3311
3312         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3313         and lyxrow_funcs.h
3314
3315 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3316
3317         * text3.C (cursorPrevious): adjust
3318         (cursorNext): adjust
3319         (dispatch): adjust
3320
3321         * text2.C (redoHeightOfParagraph): adjust
3322         (redoDrawingOfParagraph): adjust
3323         (setCursor): adjust
3324
3325         * text.C (breakParagraph): adjust
3326         (insertChar): adjust
3327         (backspace): adjust
3328
3329         * rowpainter.C (RowPainter): adjust
3330         (leftMargin): simplify and adjust
3331         (most rowpainter functions): adjust.
3332
3333         * rowpainter.h: store the row as RowList::iterator not as Row*
3334
3335         * lyxcursor.C (row): taka RowList::iterator as arg
3336         (irow): ditto
3337
3338         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3339         of Row*.
3340
3341 2003-04-01  Angus Leeming  <leeming@lyx.org>
3342
3343         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3344         stuff like bool Bool.
3345
3346 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3347
3348         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3349         rewrite a loop
3350
3351 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3354         RowList::iterator.
3355
3356         * lyxtext.h (rows): drop one version and leve a const variant that
3357         returns a RowList::iterator.
3358
3359 2003-03-31  Angus Leeming  <leeming@lyx.org>
3360
3361         * text.C (fill): ensure that the signature is the same as that in the
3362         header file.
3363
3364 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3365
3366         * text2.C (redoParagraphs): adjust
3367         (updateCounters): adjust
3368         (checkParagraph): adjust
3369         (getColumnNearX): adjust and reformat a bit.
3370
3371         * text.C (top_y): adjust
3372         (workWidth): adjust
3373         (leftMargin): adjust
3374         (prepareToPrint): adjust
3375         (getRow): adjust
3376         (getRowNearY): adjust
3377
3378         * lyxtext.h: make rowlist_ mutable.
3379
3380         * RowList.h: add const_iterator
3381         * RowList.C: adjust for RowList::const_iterator.
3382
3383         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3384         adjust.
3385
3386 2003-03-31  John Levon  <levon@movementarian.org>
3387
3388         * lyxrc.h:
3389         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3390
3391         * lyx_main.C: set default fonts from using lyx_gui funcs
3392
3393         * exporter.C: pdf_mode moved from lyxrc
3394
3395         * lyx_cb.C:
3396         * lyxfunc.C: changes from above
3397
3398 2003-03-31  John Levon  <levon@movementarian.org>
3399
3400         * lyx_main.C: fix to the last fix
3401
3402 2003-03-31  John Levon  <levon@movementarian.org>
3403
3404         * bufferlist.C: "Load original" -> "Load Original"
3405
3406         * converter.C:
3407         * exporter.C:
3408         * importer.C:
3409         * lyx_main.C:
3410         * format.C: more Alert cleanups
3411
3412 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3413
3414         * text2.C (removeParagraph): make it take a RowList::iterator as
3415         arg, adjust.
3416         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3417         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3418
3419         * text.C (anchor_row): make it take a RowList::iterator as arg,
3420         adjust.
3421         (computeBidiTables): make it take a const reference to Row instead
3422         of Row pointer, adjust.
3423         (leftMargin): make it take a RowList::iterator as arg, adjust.
3424         (rowBreakPoint): adjust
3425         (breakAgainOneRow): make it take a RowList::iterator as arg,
3426         adjust.
3427         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3428
3429         * bufferview_funcs.C (toggleAndShow): adjust
3430
3431 2003-03-30  John Levon  <levon@movementarian.org>
3432
3433         * Makefile.am:
3434         * BoostFormat.h:
3435         * boost-inst.C: moved to support
3436
3437         * several files: changes as a result
3438
3439 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3440
3441         * text2.C (LyXText): adjust.
3442         (init): adjust
3443         (removeRow): make it take a RowList::iterator as arg, adjust.
3444         (fullRebreak): adjust
3445         (deleteEmptyParagraphMechanism): adjust
3446         (clearPaint): adjust
3447         (postPaint): adjust
3448
3449         * text.C (top_y): adjust
3450         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3451         (breakAgain): make it take a RowList::iterator as arg, adjust.
3452         (breakParagraph): adjust
3453         (insertChar): adjust
3454         (backspace): adjust
3455
3456         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3457         need_break_row, and refresh_row.
3458
3459         * text3.C (dispatch): adjust
3460
3461         * text2.C (checkParagraph): adjust
3462         (setCursor): adjust
3463         (setCursorFromCoordinates): adjust
3464
3465         * text.C (top_y): adjust
3466         (workWidth): adjust
3467         (getRow): make it return a RowList::iterator, adjust
3468         (getRowNearY): make it return a RowList::iterator, adjust
3469
3470         * text2.C (init): adjust
3471         (insertRow): remove function
3472         (insertParagraph): adjust
3473         (redoParagraphs): adjust
3474         (fullRebreak): adjust
3475         (updateCounters): adjust
3476
3477         * text.C (top_y): rewrite to use RowList iterators.
3478         (top_y): adjust
3479         (setHeightOfRow): rewrite to sue RowList iterators.
3480         (appendParagraph): adjust
3481         (breakAgain): adjust
3482         (breakAgainOneRow): adjust
3483         (breakParagraph): adjust
3484         (getRow): adjust
3485         (getRowNearY): adjust, and remove commented code.
3486
3487         * lyxtext.h (firstRow): delete function
3488         (lastRow): delete function
3489         (rows): new function (const and non-const versions.)
3490         (insertRow): delete function
3491
3492         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3493
3494 2003-03-29  John Levon  <levon@movementarian.org>
3495
3496         * BufferView_pimpl.C: always update scrollbar top
3497         because pasting text when we're anchored could mean we
3498         miss an update altogether
3499
3500 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3501
3502         * text2.C (init): use rowlist_.end() and not 0.
3503         (insertRow): change to take a RowList::iterator as arg, adjust
3504         for this.
3505         (insertParagraph): change to take a RowList::iterator as arg,
3506         adjust for this.
3507         (redoParagraphs): remove some debug msgs.
3508
3509         * text.C (appendParagraph): change to take a RowList::iterator
3510         arg, adjust for this.
3511         (breakAgain): add an assert
3512         (breakAgainOneRow): ditto
3513
3514 2003-03-29  John Levon  <levon@movementarian.org>
3515
3516         * text2.C: do not clear selection after inc/decDepth
3517         (bug 550)
3518
3519 2003-03-29  John Levon  <levon@movementarian.org>
3520
3521         * BufferView.C:
3522         * buffer.C: fix broken strerrors according to Lars
3523
3524 2003-03-29  John Levon  <levon@movementarian.org>
3525
3526         * converters.C: more Alert cleanups
3527
3528 2003-03-29  John Levon  <levon@movementarian.org>
3529
3530         * bufferview_funcs.C: remove pointless Alert
3531
3532         * buffer.C: fix confusing error message when
3533         a template is chmoded 000
3534
3535 2003-03-29  John Levon  <levon@movementarian.org>
3536
3537         * BufferView.C:
3538         * BufferView.h:
3539         * BufferView_pimpl.C: Alert fixes
3540
3541         * Makefile.am:
3542         * tabular.C:
3543         * tabular-old.C: remove unused table compat reading
3544
3545 2003-03-29  John Levon  <levon@movementarian.org>
3546
3547         * BufferView.C:
3548         * buffer.C:
3549         * lyx_cb.h:
3550         * lyx_cb.C: more Alert cleanups
3551
3552         * lyxfunc.C: don't allow chktex if not latex document
3553
3554 2003-03-29  John Levon  <levon@movementarian.org>
3555
3556         * lyx_cb.C:
3557         * BufferView.C:
3558         * buffer.C: warnings pushed down from support/,
3559         kill err_alert
3560
3561 2003-03-29  John Levon  <levon@movementarian.org>
3562
3563         * lyxfunc.C: safety check for C-r (revert)
3564
3565 2003-03-29  John Levon  <levon@movementarian.org>
3566
3567         * bufferlist.h:
3568         * bufferlist.C: several UI fixes using Alert::prompt.
3569         Fix the pointless looping quit code. Fix stupid revert
3570         behaviour (bug 938)
3571
3572         * lyxvc.h:
3573         * lyxvc.C:
3574         * lyx_cb.C: use Alert::prompt
3575
3576         * lyx_main.C: remove a silly question
3577
3578         * lyxfunc.C: remove a couple of silly questions,
3579         use Alert::prompt
3580
3581 2003-03-28  John Levon  <levon@movementarian.org>
3582
3583         * text2.C: fix bug 974 (End on empty par)
3584
3585 2003-03-28  John Levon  <levon@movementarian.org>
3586
3587         * BufferView_pimpl.C:
3588         * LyXAction.C:
3589         * lfuns.h: remove do-nothing math greek lfuns
3590
3591 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3592
3593         * lyxgluelength.h (isValidGlueLength): add default arg on
3594         parameter 2. Remove default arg from friend in class.
3595
3596         * lyxlength.h (isValidLength): add default arg on parameter 2.
3597         Remove default arg from friend in class.
3598
3599         * text2.C (LyXText): adjust, initialize refresh_row.
3600         (init): adjust
3601         (removeRow): adjust
3602         (insertRow): adjust
3603         (insertParagraph): adjst
3604         (redoParagraphs): adjust
3605         (fullRebreak): adjust
3606         (updateCounters): adjust
3607         (deleteEmptyParagraphMechanism): first attempt at fixing a
3608         crashing bug.
3609
3610         * text.C (top_y): adjust
3611         (setHeightOfRow): adjust
3612         (getRow): adjust
3613         (getRowNearY): adjust
3614
3615         * lyxtext.h: include RowList.h
3616         (~LyXText): not needed anymore, deleted.
3617         (firstRow): modify for RowList
3618         (lastRow): new function
3619         Delete firstrow and lastrow class variables, add a Rowlist
3620         rowlist_ class variable.
3621
3622         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3623         paragraph is empty.
3624
3625         * RowList.C (insert): fix case where it == begin().
3626
3627 2003-03-26  Angus Leeming  <leeming@lyx.org>
3628
3629         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3630         the thesaurus dialog.
3631
3632 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3633
3634         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3635
3636         * RowList.[Ch]: new files
3637
3638         * ParagraphList.C (erase): handle the case where it == begin
3639         correctly.
3640
3641 2003-03-25  John Levon  <levon@movementarian.org>
3642
3643         * Makefile.am:
3644         * aspell_local.h:
3645         * aspell.C: add new aspell support
3646
3647         * lyxrc.h:
3648         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3649         have it accessible.
3650
3651 2003-03-25  Angus Leeming  <leeming@lyx.org>
3652
3653         * lfuns.h:
3654         * LyXAction.C (init): new LFUN_INSET_INSERT.
3655
3656         * BufferView_pimpl.C (dispatch): split out part of the
3657         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3658
3659         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3660         LFUN_INSET_APPLY.
3661
3662 2003-03-25  Angus Leeming  <leeming@lyx.org>
3663
3664         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3665
3666 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3667
3668         * text2.C:
3669         * text3.C: remove useless row->height(0)
3670
3671 2003-03-25  John Levon  <levon@movementarian.org>
3672
3673         * lyxtext.h:
3674         * text2.C:
3675         * text3.C: rename the refreshing stuff to better names
3676
3677 2003-03-24  John Levon  <levon@movementarian.org>
3678
3679         * BufferView_pimpl.h:
3680         * BufferView_pimpl.C: update layout choice on a mouse
3681         press/release
3682
3683 2003-03-23  John Levon  <levon@movementarian.org>
3684
3685         * Makefile.am: fix commandtags.h reference
3686
3687 2003-03-22  John Levon  <levon@movementarian.org>
3688
3689         * BufferView_pimpl.C:
3690         * lyxtext.h:
3691         * rowpainter.C:
3692         * rowpainter.h:
3693         * text.C:
3694         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3695
3696 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3697
3698         * lyxtext.h:
3699         * text.C: take the rtl methods out of line
3700
3701 2003-03-21 André Pönitz <poenitz@gmx.net>
3702
3703         * metricsinfo.[Ch]: new files containing structures to be passed around
3704         during the two-phase-drawing...
3705
3706 2003-03-21 André Pönitz <poenitz@gmx.net>
3707
3708         * lyxtextclass.C: read 'environment' tag.
3709
3710 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3711
3712         * text2.C (removeRow): fix bug 964
3713
3714 2003-03-20  John Levon  <levon@movementarian.org>
3715
3716         * rowpainter.C:
3717         * text.C:
3718         * text2.C: paint cleanups. Inset::update() dropped font
3719         parameter
3720
3721 2003-03-19  John Levon  <levon@movementarian.org>
3722
3723         * lyxfunc.C: only fitcursor/markDirty if available()
3724
3725 2003-03-19  John Levon  <levon@movementarian.org>
3726
3727         * commandtags.h: rename to ...
3728
3729         * lfuns.h: ... this, and renumber / cleanup
3730
3731 2003-03-19  John Levon  <levon@movementarian.org>
3732
3733         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3734         fit the cursor after an lfun
3735
3736         * BufferView.h:
3737         * BufferView.C:
3738         * BufferView_pimpl.h:
3739         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3740
3741         * LyXAction.C: layout-character should have ReadOnly
3742
3743         * ParagraphParameters.C:
3744         * buffer.C:
3745         * bufferview_funcs.C:
3746         * lyx_cb.C:
3747         * lyxfind.C:
3748         * lyxtext.h:
3749         * text.C:
3750         * text2.C:
3751         * text3.C:
3752         * undo_funcs.C: changes from above
3753
3754 2003-03-18  John Levon  <levon@movementarian.org>
3755
3756         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3757         remove it from update()
3758
3759         * lyxfunc.C: update layout choice after an lfun
3760
3761         * text3.C: remove extra updateLayoutChoice()s
3762
3763 2003-03-18  John Levon  <levon@movementarian.org>
3764
3765         * text.C: top_y change means full repaint, fix
3766         a drawing bug with cursor movement
3767
3768 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3769
3770         * lyxtext.h:
3771         * text.C:
3772         * text2.C: anchor row on setCursor
3773
3774 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3775
3776         * lyxtext.h: remove almost all mutable keywords
3777         * text.C:
3778         * text2.C:
3779         * text3.C: remove const keywords accordingly
3780
3781 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3782
3783         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3784         anon namespace
3785         (TeXEnvironment): ditto
3786         (TeXOnePar): ditto
3787
3788 2003-03-17  John Levon  <levon@movementarian.org>
3789
3790         * text.C (rowBreakPoint): remove attempt to fix displayed
3791         math insets inside a manual label
3792
3793 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3794
3795         * lyxtext.h: remove BufferView* as first arg from almost all class
3796         functions.
3797         * other files: adjust.
3798
3799 2003-03-17  John Levon  <levon@movementarian.org>
3800
3801         * lyxtext.h:
3802         * undo_funcs.C:
3803         * text2.C: more paint cleanups
3804
3805         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3806
3807         * rowpainter.h:
3808         * rowpainter.C: remove "smart" background painting code
3809
3810 2003-03-16  John Levon  <levon@movementarian.org>
3811
3812         * lyxtext.h:
3813         * text.C:
3814         * text2.C:
3815         * text3.C: add helper functions for setting refresh_row/y
3816
3817 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3818
3819         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3820         newline inset which *can* get inserted in the pass_thru layouts.
3821         This is primarily for literate documents.
3822
3823 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3824
3825         * buffer.C: increment LYX_FORMAT to 223
3826
3827 2003-03-14 André Pönitz <poenitz@gmx.net>
3828
3829         * textclass.h: prepare for environment handling, ws changes
3830         * lyxlayout.C: read latexheader and latexfooter tags
3831
3832 2003-03-14  John Levon  <levon@movementarian.org>
3833
3834         * text2.C: rewrite ::status() a bit
3835
3836 2003-03-13  John Levon  <levon@movementarian.org>
3837
3838         * lyxtext.h: add some docs
3839
3840 2003-03-13  John Levon  <levon@movementarian.org>
3841
3842         * lyxtext.h:
3843         * text.C:
3844         * text2.C:
3845         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3846
3847 2003-03-13  John Levon  <levon@movementarian.org>
3848
3849         * text3.C: fix appendix redrawing
3850
3851 2003-03-13  John Levon  <levon@movementarian.org>
3852
3853         * text.C (setHeightOfRow):
3854         * rowpainter.h:
3855         * rowpainter.C: make appendix mark have the text
3856           "Appendix" so the user knows what it is
3857
3858         * LColor.h:
3859         * LColor.C: s/appendixline/appendix/ from above
3860
3861 2003-03-13  John Levon  <levon@movementarian.org>
3862
3863         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3864
3865         * text.C: fix a getChar(pos) bug properly
3866
3867 2003-03-13  Angus Leeming  <leeming@lyx.org>
3868
3869         * commandtags.h:
3870         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3871         Probably only temporary. Let's see how things pan out.
3872
3873         * BufferView.C (unlockInset):
3874         * BufferView_pimpl.C (fitCursor):
3875         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3876
3877         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3878         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3879
3880         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3881         new functions that convert ParagraphParameters to and from a string.
3882
3883         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3884         BufferView::Pimpl's dispatch.
3885         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3886
3887 2003-03-13 André Pönitz <poenitz@gmx.net>
3888
3889         * lyxfunc.C:
3890         * text3.C:
3891         * factory.C: make it aware of InsetEnv
3892
3893 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3894
3895         * text2.C (setCursor): never ask for one past last
3896         (setCursor): add some debugging messages.
3897
3898         * text.C (singleWidth): never ask for one past last
3899         (singleWidth): ditto
3900         (leftMargin): ditto
3901         (rightMargin): ditto
3902         (rowBreakPoint): ditto
3903         (setHeightOfRow): ditto
3904         (prepareToPrint): ditto
3905
3906         * rowpainter.C (paintBackground): never ask for one past last
3907         (paintText): never ask for one past last
3908
3909         * paragraph_pimpl.C (getChar): make the assert stricter, never
3910         allow the one past last pos to be taken
3911
3912         * paragraph.C (getChar): ws changes only
3913
3914         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3915         (numberOfSeparators): ditto
3916         (numberOfHfills): ditto
3917
3918 2003-03-12  John Levon  <levon@movementarian.org>
3919
3920         * author.h:
3921         * author.C:
3922         * bufferparams.h:
3923         * bufferparams.C:
3924         * paragraph_funcs.C: fix per-buffer authorlists
3925
3926 2003-03-12  John Levon  <levon@movementarian.org>
3927
3928         * text.C: fix newline in right address
3929
3930 2003-03-12  Angus Leeming  <leeming@lyx.org>
3931
3932         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3933         duplicate those in LyXFunc::dispatch.
3934
3935         * commandtags.h:
3936         * LyXAction.C:
3937         * ToolbarDefaults.C:
3938         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3939         Add LFUN_FONTFREE_UPDATE.
3940
3941         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3942         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3943
3944         * bufferview_func.[Ch]: several new functions to facilliate
3945         transfer of data to and from the character dialog.
3946
3947 2003-03-12  John Levon  <levon@movementarian.org>
3948
3949         * buffer.C:
3950         * paragraph.h:
3951         * paragraph.C:
3952         * paragraph_funcs.C:
3953         * paragraph_pimpl.C:
3954         * sgml.C:
3955         * tabular.C:
3956         * text.C:
3957         * text3.C: remove META_NEWLINE in favour of an inset
3958
3959         * rowpainter.h:
3960         * rowpainter.C: remove paintNewline (done by inset)
3961
3962 2003-03-12  John Levon  <levon@movementarian.org>
3963
3964         * paragraph_pimpl.C: complain about bad getChar()s
3965         for a while at least
3966
3967 2003-03-12  John Levon  <levon@movementarian.org>
3968
3969         * buffer.h:
3970         * buffer.C: move paragraph read into a separate function,
3971         a little renaming to reflect that.
3972
3973         * bufferparams.h:
3974         * bufferparams.C: remove the author_ids map, not necessary now
3975
3976         * factory.h:
3977         * factory.C: moved Buffer::readInset to here
3978
3979         * paragraph_funcs.h:
3980         * paragraph_funcs.C: readParagraph free function moved from
3981         buffer.C
3982
3983         * tabular.C: name change
3984
3985 2003-03-12  John Levon  <levon@movementarian.org>
3986
3987         * buffer.C:
3988         * ParagraphParameters.C: move par params input to
3989         a read() method
3990
3991         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3992         behave like a normal read from the stream wrt reading
3993         a line vs. a \\token
3994
3995 2003-03-12  John Levon  <levon@movementarian.org>
3996
3997         * paragraph.C:
3998         * ParagraphParameters.h:
3999         * ParagraphParameters.C: move output code to a
4000         ::write() method
4001
4002 2003-03-12  John Levon  <levon@movementarian.org>
4003
4004         * BufferView.C (insertLyXFile):
4005         * buffer.h:
4006         * buffer.C:
4007         * tabular.C: use a parlist iterator for creating the
4008           document.
4009
4010 2003-03-12  John Levon  <levon@movementarian.org>
4011
4012         * buffer.C: make current_change static local not
4013           static file-scope
4014
4015 2003-03-12  John Levon  <levon@movementarian.org>
4016
4017         * buffer.C: fix insertStringAsLines for change tracking
4018
4019 2003-03-12  John Levon  <levon@movementarian.org>
4020
4021         * BufferView.C:
4022         * tabular.C:
4023         * buffer.h:
4024         * buffer.C:
4025         * bufferparams.h:
4026         * bufferparams.C: move author list into params. Rename some
4027           functions. Move the header reading into a separate token
4028           loop. Move the header token reading into BufferParams.
4029
4030 2003-03-12  John Levon  <levon@movementarian.org>
4031
4032         * changes.C: put debug inside lyxerr.debugging() checks
4033
4034 2003-03-11 André Pönitz <poenitz@gmx.net>
4035
4036         * factory.C: make it aware of InsetHFill
4037
4038 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4039
4040         * buffer.C (latexParagraphs): move function from here...
4041         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4042         args.
4043
4044 2003-03-10  Angus Leeming  <leeming@lyx.org>
4045
4046         * LyXAction.C (init): fix bug in poplating array with multiple entries
4047         with the same LFUN (spotted by JMarc).
4048
4049 2003-03-10  John Levon  <levon@movementarian.org>
4050
4051         * text.C:
4052         * text2.C: move getColumnNearX() near its
4053         only call site
4054
4055 2003-03-10  John Levon  <levon@movementarian.org>
4056
4057         * text.C: fix break before a minipage
4058
4059 2003-03-10  John Levon  <levon@movementarian.org>
4060
4061         * text.C: fix the last commit
4062
4063 2003-03-09  John Levon  <levon@movementarian.org>
4064
4065         * lyxtext.h:
4066         * text.C:
4067         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4068         bug 365 (don't break before insets unless needed). Don't
4069         return a value > last under any circumstances.
4070
4071 2003-03-09  Angus Leeming  <leeming@lyx.org>
4072
4073         * BufferView_pimpl.C (trackChanges, dispatch): call
4074         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4075
4076 2003-03-09  Angus Leeming  <leeming@lyx.org>
4077
4078         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4079         than Dialogs::showAboutlyx().
4080
4081 2003-03-09  Angus Leeming  <leeming@lyx.org>
4082
4083         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4084         than Dialogs::showTabularCreate().
4085
4086 2003-03-09  John Levon  <levon@movementarian.org>
4087
4088         * lyxtext.h:
4089         * text.C:
4090         * text2.C: 3rd arg to nextBreakPoint was always the same.
4091           Use references.
4092
4093 2003-03-08  John Levon  <levon@movementarian.org>
4094
4095         * lyxrow.C:
4096         * paragraph.C:
4097         * paragraph.h:
4098         * rowpainter.C:
4099         * text.C:
4100         * text2.C: Remove the "main" bit from the "main body"
4101           notion.
4102
4103 2003-03-08  John Levon  <levon@movementarian.org>
4104
4105         * text.C (leftMargin): The left margin of an empty
4106         manual label paragraph should not include the label width
4107         string length.
4108
4109         * text.C (prepareToPrint): don't attempt to measure hfills
4110         for empty manual label paragraphs - the answer should be 0
4111
4112 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * CutAndPaste.C: remove commented code and reindent.
4115
4116 2003-03-08  John Levon  <levon@movementarian.org>
4117
4118         * lyxfunc.h:
4119         * lyxfunc.C: move reloadBuffer()
4120
4121         * BufferView.h:
4122         * BufferView.C: to here
4123
4124         * lyxvc.C: add comment
4125
4126         * vc-backend.h:
4127         * vc-backend.C: call bv->reload() to avoid
4128           getStatus() check on MENURELOAD
4129
4130 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4131
4132         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4133         to an old format .dep file.
4134
4135 2003-03-07  Angus Leeming  <leeming@lyx.org>
4136
4137         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4138         when the LFUN_MOUSE_RELEASE should have been handled by
4139         inset->localDispatch.
4140
4141 2003-03-07  Angus Leeming  <leeming@lyx.org>
4142
4143         * BufferView_pimpl.C (dispatch):
4144         * LyXAction.C (init):
4145         * ToolbarDefaults.C (init):
4146         * commandtags.h:
4147         * lyxfunc.C (getStatus):
4148         remove LFUN_INSET_GRAPHICS.
4149
4150         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4151
4152 2003-03-07  Angus Leeming  <leeming@lyx.org>
4153
4154         * commandtags.h:
4155         * LyXAction.C (init):
4156         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4157
4158         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4159
4160         * commandtags.h:
4161         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4162
4163         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4164         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4165
4166 2003-03-07  Angus Leeming  <leeming@lyx.org>
4167
4168         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4169         remove "ert".
4170
4171 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4172
4173         * ParagraphList.C (front): new function
4174         (back): implement
4175
4176 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4177
4178         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4179         and top_row_offset_. removed var first_y.
4180         * text.C (top_y):
4181         * text2.C (LyXText, removeRow):
4182         * text3.C:
4183         * BufferView_pimpl.C:
4184         use these methods instead of using first_y
4185
4186 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * text2.C (pasteSelection): adjust for checkPastePossible
4189
4190         * CutAndPaste.C: remove Paragraph * buf and replace with
4191         ParagraphList paragraphs.
4192         (DeleteBuffer): delete
4193         (cutSelection): change the tc type to textclass_type
4194         (copySelection): change the tc type to textclass_type
4195         (copySelection): adjust for ParagraphList
4196         (pasteSelection): change the tc type to textclass_type
4197         (pasteSelection): adjust for Paragraphlist
4198         (nrOfParagraphs): simplify for ParagraphList
4199         (checkPastePossible): simplify for ParagraphList
4200         (checkPastePossible): remove unused arg
4201
4202         * ParagraphList.C (insert): handle the case where there are no
4203         paragraphs yet.
4204
4205         * CutAndPaste.h: make CutAndPaste a namespace.
4206
4207         * text3.C (dispatch): adjust
4208
4209         * text.C (breakParagraph): add a ParagraphList as arg
4210
4211         * paragraph_funcs.C (breakParagraph): change to take a
4212         BufferParams and a ParagraphList as args.
4213         (breakParagraphConservative): ditto
4214         (mergeParagraph): ditto
4215         (TeXDeeper): add a ParagraphList arg
4216         (TeXEnvironment): ditto
4217         (TeXOnePar): ditto
4218
4219         * buffer.C (readLyXformat2): adjust
4220         (insertStringAsLines): adjust
4221         (latexParagraphs): adjust
4222
4223         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4224         (cutSelection): adjust
4225         (pasteSelection): adjust
4226
4227         * BufferView_pimpl.C (insertInset): adjust
4228
4229 2003-03-05  Angus Leeming  <leeming@lyx.org>
4230
4231         * commandtags.h:
4232         * LyXAction.C (init):
4233         * BufferView_pimpl.C (dispatch):
4234         * lyxfunc.C (getStatus):
4235         remove LFUN_CHILD_INSERT.
4236
4237         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4238
4239 2003-03-05  Angus Leeming  <leeming@lyx.org>
4240
4241         * commandtags.h:
4242         * LyXAction.C (init):
4243         * src/factory.C (createInset):
4244         * lyxfunc.C (getStatus):
4245         * text3.C (dispatch):
4246         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4247
4248         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4249
4250 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * ParagraphList.C (insert): handle insert right before end()
4253         (erase): fix cases where it can be first or last paragraph.
4254
4255 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4256
4257         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4258         Paragraph::next and Paragraph::previous
4259         (TeXOnePar): ditto
4260
4261         * text.C (breakParagraph): adjust
4262
4263         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4264         BufferParams& as arg.
4265         (breakParagraph): use ParagraphList::insert
4266         (breakParagraphConservative): take a Buffer* instead of a
4267         BufferParams& as arg.
4268         (breakParagraphConservative): use ParagraphList::insert.
4269
4270         * buffer.C (insertStringAsLines): un-const it
4271         (insertStringAsLines): adjust
4272
4273         * ParagraphList.C (insert): new function
4274
4275         * CutAndPaste.C (pasteSelection): adjust
4276
4277         * text.C (backspace): adjust
4278
4279         * tabular.C (SetMultiColumn): adjust
4280
4281         * CutAndPaste.C (cutSelection): adjust
4282         (pasteSelection): adjust
4283
4284         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4285         Buffer const * as arg
4286
4287         * ParagraphList.C (erase): new function
4288         * paragraph_funcs.C (mergeParagraph): use it
4289         (mergeParagraph): make it take a Buffer* instead of a
4290         BufferParams* as arg
4291
4292         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4293         as arg
4294         (breakParagraphConservative): ditto
4295
4296         * paragraph.h: remove the breakParagraph friend
4297
4298         * paragraph.C (eraseIntern): new function
4299         (setChange): new function
4300
4301         * paragraph_funcs.C (mergeParagraph): make it take a
4302         ParagraphList::iterator instead of a Paragraph *, adjust
4303         accordingly.
4304
4305         * paragraph.h: move an #endif so that the change tracking stuff
4306         also works in the NO_NEXT case.
4307
4308 2003-03-04  Angus Leeming  <leeming@lyx.org>
4309
4310         * commandtags.h:
4311         * LyXAction.C: new LFUN_INSET_MODIFY.
4312
4313         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4314         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4315
4316 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * several files: ws changes only
4319
4320         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4321         (TeXEnvironment): ditto
4322         (TeXDeeper): ditto
4323
4324         * buffer.C (makeLaTeXFile): adjust
4325         (latexParagraphs): make it take ParagraphList::iterator as args
4326
4327 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4328
4329         * buffer.C (latexParagraphs): adjust
4330
4331         * paragraph.C (TeXOnePar): move function...
4332         (optArgInset): move function...
4333         (TeXEnvironment): move function...
4334         * paragraph_pimpl.C (TeXDeeper): move function...
4335         * paragraph_funcs.C: ...here
4336
4337         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4338
4339 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4340
4341         * buffer.C (readInset): remove compability code for old Figure and
4342         InsetInfo insets
4343
4344 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4345
4346         * buffer.C: ws changes
4347         (readInset):
4348
4349         * BufferView_pimpl.C: ditto
4350         * author.C: ditto
4351         * buffer.h: ditto
4352         * bufferlist.h: ditto
4353         * changes.h: ditto
4354         * lyxfunc.C: ditto
4355
4356 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4357
4358         * converter.[Ch]: split into itself +
4359         * graph.[Ch]
4360         * format.[Ch]
4361         * Makefile.am: += graph.[Ch] + format.[Ch]
4362         * MenuBackend.C
4363         * buffer.C
4364         * exporter.C
4365         * importer.C
4366         * lyx_main.C
4367         * lyxfunc.C
4368         * lyxrc.C: added #include "format.h"
4369
4370 2003-02-27  Angus Leeming  <leeming@lyx.org>
4371
4372         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4373           a label.
4374
4375         * factory.C (createInset): add "label" to the factory.
4376
4377         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4378           string and do no more.
4379
4380 2003-02-27  Angus Leeming  <leeming@lyx.org>
4381
4382         * commandtags.h:
4383         * LyXAction.C (init):
4384         * factory.C (createInset):
4385         * BufferView_pimpl.C (dispatch):
4386           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4387
4388         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4389
4390         * lyxfunc.C (dispatch):
4391         * text3.C (dispatch): pass name to params2string.
4392
4393 2003-02-26  Angus Leeming  <leeming@lyx.org>
4394
4395         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4396           blocks together.
4397           Rearrange the ~includes. Strip out the unnecessary ones.
4398
4399         * factory.C (createInset): reformat.
4400           create new insets for the various LFUN_XYZ_APPLY lfuns.
4401
4402 2003-02-26  John Levon  <levon@movementarian.org>
4403
4404         * lyxrow.h:
4405         * lyxrow.C: add isParStart,isParEnd helpers
4406
4407         * paragraph.h: make isInserted/DeletedText take refs
4408
4409         * paragraph_funcs.h:
4410         * paragraph_funcs.C: remove #if 0'd code
4411
4412         * lyxtext.h:
4413         * text3.C:
4414         * text2.C:
4415         * text.C: use lyxrow helpers above.
4416           Move draw and paint routines to RowPainter.
4417           Make several methods use refs not pointers.
4418           Make backgroundColor() const.
4419           Add markChangeInDraw(), isInInset().
4420           Merge changeRegionCase into changeCase.
4421           Make workWidth() shouldn't-happen code into an Assert.
4422
4423         * rowpainter.h:
4424         * rowpainter.C: new class for painting a row.
4425
4426         * vspace.h:
4427         * vspace.C: make inPixels take a ref
4428
4429 2003-02-26  Angus Leeming  <leeming@lyx.org>
4430
4431         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4432         LFUN_REF_APPLY.
4433
4434 2003-02-25  John Levon  <levon@movementarian.org>
4435
4436         * ispell.C: give the forked command a more accurate name
4437
4438 2003-02-22  John Levon  <levon@movementarian.org>
4439
4440         * toc.h:
4441         * toc.C: make TocItem store an id not a Paragraph *
4442           (bug #913)
4443
4444 2003-02-21  Angus Leeming  <leeming@lyx.org>
4445
4446         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4447           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4448           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4449           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4450           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4451           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4452
4453         * BufferView_pimpl.C (dispatch):
4454         * LyXAction.C (init):
4455         * factory.C (createInset):
4456         * lyxfunc.C (getStatus, dispatch):
4457         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4458
4459 2003-02-21  Angus Leeming  <leeming@lyx.org>
4460
4461         * BufferView_pimpl.C (MenuInsertLyXFile):
4462         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4463         * lyxfunc.C (menuNew, open, doImport):
4464           no longer pass a LyXView & to fileDlg.
4465
4466 2003-02-21  Angus Leeming  <leeming@lyx.org>
4467
4468         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4469         * LyXAction.C: change, BIBKEY to BIBITEM.
4470         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4471         Change InsetBibKey to InsetBibitem.
4472         Change BIBKEY_CODE to BIBITEM_CODE.
4473         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4474         * factory.C: replace insetbib.h with insetbibitem.h.
4475         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4476         * paragraph.C: replace insetbib.h with insetbibitem.h.
4477         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4478         Change bibkey() to bibitem().
4479         * text.C: remove insetbib.h.
4480         * text2.C: replace insetbib.h with insetbibitem.h.
4481         change bibkey() to bibitem().
4482         * text3.C: remove insetbib.h.
4483         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4484
4485 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4486
4487         * lyxrc.C (output): enclose user email in quotes (in case there are
4488         several words)
4489
4490 2003-02-18  John Levon  <levon@movementarian.org>
4491
4492         * buffer.h: add std::
4493
4494 2003-02-17  John Levon  <levon@movementarian.org>
4495
4496         * SpellBase.h:
4497         * ispell.h:
4498         * ispell.C:
4499         * pspell.h:
4500         * pspell.C: reworking. Especially in ispell, a large
4501           number of clean ups and bug fixes.
4502
4503         * lyxfunc.C: fix revert to behave sensibly
4504
4505 2003-02-17 André Pönitz <poenitz@gmx.net>
4506
4507         * LyXAction.C:
4508         * commandtags.h: new LFUN_INSERT_BIBKEY
4509
4510         * layout.h:
4511         * lyxlayout.C:
4512         * buffer.C:
4513         * factory.C:
4514         * text.C:
4515         * text2.C:
4516         * text3.C:
4517         * paragraph.[Ch]:
4518         * paragraph_func.C: remove special bibkey handling
4519
4520 2003-02-17  John Levon  <levon@movementarian.org>
4521
4522         * text.C (Delete): fix case where delete at the end of
4523           the very first paragraph would not merge the pars
4524
4525 2003-02-17  John Levon  <levon@movementarian.org>
4526
4527         * lyxrow.C: fix lastPrintablePos()
4528
4529 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4530
4531         * bufferparams.C (writeLaTeX): add a std:here
4532
4533         * buffer.C: and remove a using directive there
4534
4535 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4536
4537         * buffer.C (makeLaTeXFile): move the code that generates the
4538           preamble...
4539
4540         * bufferparams.C (writeLaTeX): ... in this new method
4541
4542         * LaTeXFeatures.C (getEncodingSet): make const
4543           (getLanguages): make const
4544
4545         * MenuBackend.C (binding): returns the binding associated to this
4546           action
4547           (add): sets the status of each item by calling getStatus. Adds
4548           some intelligence.
4549           (read): add support for OptSubMenu
4550           (expand): remove extra separator at the end of expanded menu
4551
4552 2003-02-15  John Levon  <levon@movementarian.org>
4553
4554         * BufferView.C:
4555         * BufferView_pimpl.C:
4556         * bufferlist.h:
4557         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4558           inset code that had no actual effect. Remove unneeded status
4559           code.
4560
4561 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4562
4563         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4564           in preamble
4565
4566 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4567
4568         * text.C (drawLengthMarker): also draw an arrow marker for
4569           symbolic lengths (medskip...)
4570
4571 2003-02-14  John Levon  <levon@movementarian.org>
4572
4573         * tabular.h:
4574         * tabular.C: better method names
4575
4576 2003-02-14  John Levon  <levon@movementarian.org>
4577
4578         * BufferView_pimpl.C:
4579         * bufferlist.C:
4580         * buffer.C:
4581         * converter.C:
4582         * lyx_cb.C:
4583         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4584           it's a more accurate name. Remove some pointless uses.
4585
4586 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4587
4588         * text2.C (LyXText): change order of initilizers to shut off
4589           warnings
4590
4591 2003-02-14  John Levon  <levon@movementarian.org>
4592
4593         * buffer.C: use ParIterator for getParFromID()
4594
4595         * paragraph.h:
4596         * paragraph.C:
4597         * paragraph_pimpl.h:
4598         * paragraph_pimpl.C: remove unused getParFromID()
4599
4600 2003-02-14  John Levon  <levon@movementarian.org>
4601
4602         * buffer.C: remove some very old #if 0'd parse code
4603
4604 2003-02-13  John Levon  <levon@movementarian.org>
4605
4606         * text.h:
4607         * text.C:
4608         * text2.C: move hfillExpansion(), numberOfSeparators(),
4609           rowLast(), rowLastPrintable(), numberofHfills(),
4610           numberOfLabelHfills() ...
4611
4612         * lyxrow.h:
4613         * lyxrow.C: ... to member functions here.
4614
4615         * paragraph.h:
4616         * paragraph.C:
4617         * lyxtext.h:
4618         * text.C: remove LyXText::beginningOfMainBody(), and call
4619           p->beginningOfMainBody() directly. Move the check for
4620           LABEL_MANUAL into the latter.
4621
4622         * text.h:
4623         * text.C:
4624         * text2.C:
4625         * vspace.C:
4626         * BufferView.h:
4627         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4628
4629         * text.h:
4630         * text.C:
4631         * text2.C:
4632         * text3.C:
4633         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4634           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4635
4636 2003-02-13  John Levon  <levon@movementarian.org>
4637
4638         * CutAndPaste.C: remove debug
4639
4640 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4641
4642         * paragraph.C (asString): remove two unused variables
4643
4644         * lyxtextclass.C (readTitleType):
4645           (Read):
4646           (LyXTextClass): handle new members titletype_ and titlename_
4647
4648         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4649
4650 2003-02-09  John Levon  <levon@movementarian.org>
4651
4652         * buffer.h:
4653         * buffer.C: replace hand-coded list with a map for the dep clean
4654
4655 2003-02-08  John Levon  <levon@movementarian.org>
4656
4657         * LaTeX.C: consolidate code into showRunMessage() helper
4658
4659 2003-02-08  John Levon  <levon@movementarian.org>
4660
4661         * lyxfind.C:
4662         * lyxtext.h:
4663         * text2.C:
4664         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4665           and pass the size in explicitly
4666
4667         * BufferView_pimpl.h:
4668         * BufferView_pimpl.C:
4669         * BufferView.h:
4670         * BufferView.C: add getCurrentChange()
4671
4672         * BufferView_pimpl.h:
4673         * BufferView_pimpl.C: handle change lfuns
4674
4675         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4676           for changes. Mark pasted paragraphs as new.
4677
4678         * support/lyxtime.h:
4679         * support/lyxtime.C:
4680         * DepTable.C: abstract time_t as lyx::time_type
4681
4682         * LColor.h:
4683         * LColor.C: add colours for new text, deleted text, changebars
4684
4685         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4686           package use "usenames" option.
4687
4688         * commandtags.h:
4689         * lyxfunc.C:
4690         * LyXAction.C: add change lfuns
4691
4692         * Makefile.am:
4693         * author.h:
4694         * author.C: author handling
4695
4696         * buffer.h:
4697         * buffer.C: add a per-buffer author list, with first entry as
4698           current author. Handle new .lyx tokens for change tracking. Output
4699           author list to .lyx file. Output dvipost stuff to .tex preamble.
4700           Bump lyx format to 222.
4701
4702         * bufferlist.h:
4703         * bufferlist.C: add setCurrentAuthor() to reset current author details
4704           in all buffers.
4705
4706         * bufferparams.h:
4707         * bufferparams.C: add param for tracking
4708
4709         * bufferview_funcs.C: output change info in minibuffer
4710
4711         * Makefile.am:
4712         * changes.h:
4713         * changes.C: add change-tracking structure
4714
4715         * debug.h:
4716         * debug.C: add CHANGES debug flag
4717
4718         * lyxfind.h:
4719         * lyxfind.C: add code for finding the next change piece
4720
4721         * lyxrc.h:
4722         * lyxrc.C: add user_name and user_email
4723
4724         * lyxrow.h:
4725         * lyxrow.C: add a metric for the top of the text line
4726
4727         * lyxtext.h:
4728         * text.C: implement accept/rejectChange()
4729
4730         * lyxtext.h:
4731         * text.C: paint changebars. Paint new/deleted text in the chosen
4732         colours. Strike through deleted text.
4733
4734         * paragraph.h:
4735         * paragraph.C:
4736         * paragraph_pimpl.h:
4737         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4738           in the current change to the insert functions. Rework erase to
4739           mark text as deleted, adding an eraseIntern() and a range-based
4740           erase(). Implement per-paragraph change lookup and
4741           accept/reject.
4742
4743         * paragraph_funcs.C: Fixup paste for change tracking.
4744
4745         * tabular.C: mark added row/columns as new.
4746
4747         * text.C: fix rowLast() to never return -1. Don't allow
4748           spellchecking of deleted text. Track transpose changes. Don't
4749           allow paragraph break or merge where appropriate.
4750
4751         * text2.C: leave cursor at end of selection after a cut.
4752
4753 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4754
4755         * text.C (getLengthMarkerHeight):
4756         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4757         visible on screen too.
4758
4759 2003-02-07  John Levon  <levon@movementarian.org>
4760
4761         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4762
4763 2003-02-05  Angus Leeming  <leeming@lyx.org>
4764
4765         * lyxserver.C (read_ready): revert my patch of 11 September last year
4766         as it sends PC cpu through the roof. Presumably this means that
4767         the lyxserver will no longer run on an Alpha...
4768
4769 2003-01-30  Angus Leeming  <leeming@lyx.org>
4770
4771         * factory.C (createInset): create an InsetCommandParam of type "index"
4772         and use it to 'do the right thing'.
4773
4774         * text2.C (getStringToIndex): ensure that cursor position is always
4775         reset to the reset_cursor position.
4776
4777 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4778
4779         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4780         disabled.
4781
4782 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4783
4784         * bufferview.C:
4785         * lyxcb.C:
4786         * lyxfunc.C: Output messages with identical spelling, punctuation,
4787         and spaces
4788
4789 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4790
4791         * MenuBackend.C (expandFormats): List only viewable export formats
4792         in "View" menu
4793
4794         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4795         message
4796
4797         * lyxfunc.C (getStatus): Make sure that formats other than
4798         "fax" can also be disabled
4799
4800 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4801
4802         * text3.C (dispatch): put the lfuns that insert insets in 3
4803         groups, and call doInsertInset with appropriate arguments.
4804         (doInsertInset): new function, that creates an inset and inserts
4805         it according to some boolean parameters.
4806
4807 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4808
4809         * buffer.C (readFile): remember to pass on 'par' when calling
4810         readFile recursively.
4811
4812 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4813
4814         * MenuBackend.C (expandFormats): add "..." to import formats.
4815
4816 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4817
4818         * paragraph.C (asString): Remove XForms RTL hacks.
4819
4820 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4821         * buffer.C: fix typo
4822
4823 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4824
4825         * Makefile.am (LIBS): delete var
4826         (lyx_LDADD): add @LIBS@ here instead.
4827
4828 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4829
4830         * Clarify the meaning of "wheel mouse jump"
4831
4832 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4833
4834         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4835         tabular in a float
4836
4837 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4838
4839         * importer.C (Loaders): do not preallocate 3 elements in the
4840         vector, since one ends up with 6 elements otherwise
4841
4842 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4843
4844         * DepTable.C (write): write the file name as last element of the
4845         .dep file (because it may contain spaces)
4846         (read): read info in the right order
4847
4848 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4849
4850         * paragraph_pimpl.C (simpleTeXBlanks):
4851         (simpleTeXSpecialChars):
4852         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4853
4854         * tabular.C (latex): add some missing case statements. Reindent.
4855
4856         * MenuBackend.C (expandToc): remove unused variable.
4857
4858 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4859
4860         * LColor.C:
4861         * LaTeX.C:
4862         * LyXAction.C:
4863         * MenuBackend.C:
4864         * buffer.C:
4865         * exporter.C:
4866         * lyxfunc.C:
4867         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4868         and the like.
4869
4870 2003-01-05  John Levon  <levon@movementarian.org>
4871
4872         * BufferView.h:
4873         * BufferView.C: add getEncoding()
4874
4875         * kbsequence.h:
4876         * kbsequence.C: do not store last keypress
4877
4878         * lyxfunc.h:
4879         * lyxfunc.C: store last keypress here instead. Pass encoding
4880           to getISOEncoded()
4881
4882 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4883
4884         * lyx_main.C (init): remove annoying error message when following
4885         symbolic links (bug #780)
4886
4887 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4888
4889         * text.C (insertChar):
4890         * lyxrc.C (getDescription): remove extra spaces
4891
4892 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4893
4894         * lyxrc.C (getDescription): remove extra spaces
4895
4896 2002-12-20  John Levon  <levon@movementarian.org>
4897
4898         * text3.C: hack fix for page up/down across tall rows
4899
4900 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4901
4902         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4903         not been invoked
4904
4905 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4906
4907         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4908         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4909         thesaurus is not compiled in
4910
4911 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4912
4913         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4914
4915 2002-12-16  Angus Leeming  <leeming@lyx.org>
4916
4917         * lyxrc.[Ch]:
4918         * lyx_main.C (init): remove override_x_deadkeys stuff.
4919
4920 2002-12-12  John Levon  <levon@movementarian.org>
4921
4922         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4923           insert. Only remove shift modifier under strict
4924           circumstances.
4925
4926 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4927
4928         * MenuBackend.C (expandToc): fix crash.
4929
4930 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4931
4932         * MenuBackend.C (expandToc): gettext on float names.
4933
4934 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4935
4936         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4937         implement bool empty() [bug 490]
4938
4939 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4942
4943 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * several files: ws changes
4946
4947 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * text2.C (setCounter): clean up a bit, use boost.format.
4950         (updateCounters): initialize par upon declaration.
4951
4952         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4953         if the layout exists. We do not just store the layout any more.
4954         (SwitchLayoutsBetweenClasses): use boost.format
4955
4956 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4957
4958         * converter.C (convert): if from and to files are the same, use a
4959         temporary files as intermediary
4960
4961 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4962
4963         * commandtags.h:
4964         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4965
4966 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4967
4968         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4969
4970 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4971
4972         * tabular.C (asciiPrintCell): use string(size, char) instead of
4973         explicit loop.
4974
4975         * sgml.C (openTag): fix order of arguments to string constructor
4976         (closeTag): ditto
4977
4978         * lyxfunc.C (dispatch): use boost.format
4979
4980         * lots of files: change "c" -> 'c'
4981
4982 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4983
4984         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4985
4986 2002-11-25  Angus Leeming  <leeming@lyx.org>
4987
4988         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4989
4990         * lyx_main.C (init): compile fix.
4991
4992 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * lyx_cb.C (start): boost.formatify
4995         do not include <iostream>
4996
4997         * lengthcommon.C: ws only
4998
4999         * boost-inst.C,BoostFormat.h: add more explict instantations
5000
5001 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5002
5003         * lots of files: handle USE_BOOST_FORMAT
5004
5005 2002-11-21  John Levon  <levon@movementarian.org>
5006
5007         * pspell.C: fix compile
5008
5009 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5010
5011         * lyxfunc.C (dispatch): use boost::format
5012         (open): ditto
5013         (doImport): ditto
5014
5015         * lyxfont.C (stateText): use boost::format
5016
5017         * lyx_main.C (LyX): use boost::format
5018         (init): ditto
5019         (queryUserLyXDir): ditto
5020         (readRcFile): ditto
5021         (parse_dbg): ditto
5022         (typedef boost::function): use the recommened syntax.
5023
5024         * importer.C (Import): use boost::format
5025
5026         * debug.C (showLevel): use boost::format
5027
5028         * converter.C (view): use boost::format
5029         (convert): ditto
5030         (move): ditto
5031         (scanLog): ditto
5032
5033         * bufferview_funcs.C (currentState): use boost::format
5034
5035         * bufferlist.C (emergencyWrite): use boost::format
5036
5037         * buffer.C (readLyXformat2): use boost::format
5038         (parseSingleLyXformat2Token): ditto
5039
5040         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5041
5042         * LaTeX.C (run): use boost::format
5043
5044         * Chktex.C (scanLogFile): use boost::format
5045
5046         * BufferView_pimpl.C (savePosition): use boost::format
5047         (restorePosition): ditto
5048         (MenuInsertLyXFile): ditto
5049
5050         * BoostFormat.h: help file for explicit instation.
5051
5052 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5053
5054         * tabular.C (latex): Support for block alignment in fixed width
5055         columns.
5056
5057 2002-11-17  John Levon  <levon@movementarian.org>
5058
5059         * BufferView_pimpl.C:
5060         * lyx_cb.C:
5061         * lyxfunc.C: split filedialog into open/save
5062
5063 2002-11-08  Juergen Vigna  <jug@sad.it>
5064
5065         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5066         by my last patch (hopefully).
5067
5068 2002-11-08  John Levon  <levon@movementarian.org>
5069
5070         * iterators.h:
5071         * iterators.C:
5072         * buffer.h:
5073         * buffer.C:
5074         * paragraph.h:
5075         * paragraph.C:
5076         * toc.h:
5077         * toc.C: ParConstIterator, and use it (from Lars)
5078
5079 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5080
5081         * lyxtextclass.[Ch]: revise and add doxygen comments
5082
5083 2002-11-07  John Levon  <levon@movementarian.org>
5084
5085         * text.C: fix progress value for spellchecker
5086
5087         * toc.C: fix navigate menu for insetwrap inside minipage
5088
5089         * paragraph_funcs.C: added FIXME for suspect code
5090
5091 2002-11-07  John Levon  <levon@movementarian.org>
5092
5093         * BufferView_pimpl.C: fix redrawing of insets
5094           on buffer switch
5095
5096 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5097
5098         * text2.C (updateCounters): fix bug 668
5099
5100 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5101
5102         * text3.C (dispatch): Do not make the buffer dirty when moving the
5103         cursor.
5104
5105 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * vc-backend.C: STRCONV
5108         (scanMaster): ditto
5109
5110         * text2.C (setCounter): STRCONV
5111
5112         * paragraph.C (asString): STRCONV
5113
5114         * lyxlength.C (asString): STRCONV
5115         (asLatexString): ditto
5116
5117         * lyxgluelength.C (asString): STRCONV
5118         (asLatexString): ditto
5119
5120         * lyxfunc.C (dispatch): STRCONV
5121         (open): ditto
5122
5123         * lyxfont.C (stateText): STRCONV
5124
5125         * importer.C (Import): STRCONV
5126
5127         * counters.C (labelItem): STRCONV
5128         (numberLabel): ditto
5129         (numberLabel): remove unused ostringstream o
5130
5131         * chset.C: STRCONV
5132         (loadFile): ditto
5133
5134         * bufferview_funcs.C (currentState): STRCONV
5135
5136         * buffer.C (readFile): STRCONV
5137         (asciiParagraph): ditto
5138         (makeLaTeXFile): ditto
5139
5140         * Spacing.C (writeEnvirBegin): STRCONV
5141
5142         * LaTeXFeatures.C (getLanguages): STRCONV
5143         (getPackages): ditto
5144         (getMacros): ditto
5145         (getBabelOptions): ditto
5146         (getTClassPreamble): ditto
5147         (getLyXSGMLEntities): ditto
5148         (getIncludedFiles): ditto
5149
5150         * LaTeX.C: STRCONV
5151         (run): ditto
5152         (scanAuxFile): ditto
5153         (deplog): ditto
5154
5155         * LString.h: add the STRCONV macros
5156
5157         * BufferView_pimpl.C (savePosition): STRCONV
5158         (restorePosition): ditto
5159         (MenuInsertLyXFile): ditto
5160
5161         * vc-backend.C (scanMaster): change from submatch[...] to
5162         submatch.str(...)
5163
5164         * funcrequest.C: include config.h
5165
5166         * factory.C: include config.h
5167
5168         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5169
5170         * box.C: include config.h
5171
5172         * LaTeX.C (scanAuxFile): change from submatch[...] to
5173         submatch.str(...)
5174         (deplog): ditto
5175
5176 2002-10-25  Angus Leeming  <leeming@lyx.org>
5177
5178         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5179
5180         * ispell.[Ch] (setError): new method.
5181         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5182         Use setError() insetead of goto END.
5183
5184         * lyx_cb.C (AutoSave): move out child process into new class
5185         AutoSaveBuffer.
5186
5187 2002-10-30  John Levon  <levon@movementarian.org>
5188
5189         * text3.C: make start appendix undoable
5190
5191 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5192
5193         * lyxlength.C (inPixels): Fix returned value.
5194
5195         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5196         environment.
5197
5198 2002-10-24  Angus Leeming  <leeming@lyx.org>
5199
5200         * lyxgluelength.h: no need to forward declare BufferParams
5201         or BufferView, so don't.
5202
5203 2002-10-21  John Levon  <levon@movementarian.org>
5204
5205         * BufferView.C: menuUndo ->undo, redo
5206
5207         * BufferView.h: document, remove dead, make some methods private
5208
5209         * paragraph_funcs.h:
5210         * paragraph_funcs.C:
5211         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5212
5213         * buffer.h:
5214         * buffer.C:
5215         * sgml.h:
5216         * sgml.C: move sgml open/close tag into sgml.C
5217
5218         * bufferview_funcs.h: unused prototype
5219
5220         * lyxfunc.h:
5221         * lyxfunc.C: remove unused
5222
5223         * lyxtext.h:
5224         * text.C: remove unused
5225
5226 2002-10-21  John Levon  <levon@movementarian.org>
5227
5228         * BufferView.h:
5229         * BufferView.C:
5230         * BufferView_pimpl.h:
5231         * BufferView_pimpl.C: fix mouse wheel handling based on
5232           patch from Darren Freeman
5233
5234 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5235
5236         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5237
5238 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5239
5240         * lyxlength.C (inPixels): Fix hanfling of negative length.
5241         Fix LyXLength::MU case.
5242
5243 2002-10-16  John Levon  <levon@movementarian.org>
5244
5245         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5246
5247 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5248
5249         * converter.C (view): add support for $$i (file name) and $$p
5250         (file path) for the viewer command. If $$i is not specified, then
5251         it is appended to the command (for compatibility with old syntax)
5252
5253 2002-10-14  Juergen Vigna  <jug@sad.it>
5254
5255         * undo_funcs.C (textHandleUndo): alter the order in which the
5256         new undopar is added to the LyXText, as we have to set first
5257         the right prev/next and then add it as otherwise the rebuild of
5258         LyXText is not correct. Also reset the cursor to the right paragraph,
5259         with this IMO we could remove the hack in "redoParagraphs()".
5260
5261 2002-10-09  Angus Leeming  <leeming@lyx.org>
5262
5263         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5264         to turn off an optimisation if a new inset is to be inserted.
5265
5266 2002-10-11 André Pönitz <poenitz@gmx.net>
5267
5268         * lyxtext.h: make some functions public to allow access
5269         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5270
5271 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5272
5273         * text3.C (dispatch): when changing layout, avoid an infinite loop
5274         [bug #652]
5275
5276 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5277
5278         * lyxrc.C (read): treat a viewer or converter command of "none" as
5279         if it were empty.
5280
5281         * MenuBackend.C (expandFormats): for an update, also allow the
5282         formats that are not viewable
5283
5284         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5285         script if it is newer than the lyxrc.defaults in user directory
5286
5287 2002-10-07 André Pönitz <poenitz@gmx.net>
5288
5289         * text.C: Vitaly Lipatov's small i18n fix
5290
5291 2002-09-25  Angus Leeming  <leeming@lyx.org>
5292
5293         * ispell.h: doxygen fix.
5294
5295 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5296
5297         * buffer.h (readFile): Add a new argument to the method, to allow
5298         reading of old-format templates.
5299
5300 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5301
5302         * toc.C (getTocList): Get TOC from InsetWrap.
5303
5304 2002-09-16  John Levon  <levon@movementarian.org>
5305
5306         * lyxfunc.C: check tabular for cut/copy too
5307
5308 2002-09-12  John Levon  <levon@movementarian.org>
5309
5310         * LyXAction.C: tidy
5311
5312         * factory.h:
5313         * factory.C: add header
5314
5315         * paragraph_funcs.h:
5316         * paragraph_funcs.C: cleanup
5317
5318 2002-09-11  John Levon  <levon@movementarian.org>
5319
5320         * PrinterParams.h: odd/even default to true
5321
5322 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5323
5324         * PrinterParams.h: update printer parameters for new xforms dialog
5325
5326 2002-09-11  Angus Leeming  <leeming@lyx.org>
5327
5328         * lyxserver.C (read_ready): re-write to make it more transparent
5329         and to make it work in coherent fashion under Tru64 Unix.
5330
5331 2002-09-11  André Pönitz <poenitz@gmx.net>
5332
5333         * commandtags.h:
5334         * LyXAction.C:
5335         * text3.C: implement LFUN_WORDSEL
5336
5337 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5340         make floatlist_ a boost::shared_ptr<FloatList>
5341
5342         * lyxtextclass.C: include FloatList.h
5343         (LyXTextClass): initialize floatlist_
5344         (TextClassTags): add TC_NOFLOAT
5345         (Read): match "nofloat" to TC_NOFLOAT and use it.
5346         (readFloat): modify call to floatlist_
5347         (floats): ditto
5348         (floats): ditto
5349
5350         * FloatList.[Ch] (FloatList): remove commented out float
5351         initialization.
5352         (erase): new function
5353
5354 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5355
5356         * MenuBackend.C (expandToc): fix crash when there is no document
5357         open
5358
5359 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5360
5361         * many files: Add insetwrap.
5362
5363 2002-09-09  John Levon  <levon@movementarian.org>
5364
5365         * text2.C: remove confusing and awkward depth wraparound
5366
5367 2002-09-09  John Levon  <levon@movementarian.org>
5368
5369         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5370
5371         * buffer.h:
5372         * buffer.C: remove getIncludeonlyList()
5373
5374         * paragraph.C:
5375         * lyxfunc.C: remove headers
5376
5377 2002-09-09  Juergen Vigna  <jug@sad.it>
5378
5379         * text.C (getColumnNearX): fix form Michael this is most
5380         probably a cut&paste bug.
5381
5382 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5383
5384         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5385
5386         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5387         references, ws changes.
5388
5389         * text2.C (init): update counters after init
5390         (insertParagraph): no need to set counter on idividual paragraphs.
5391         (setCounter): access the counters object in the textclass object
5392         on in the buffer object.
5393         (updateCounters): ditto
5394
5395         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5396         shared_ptr<Counters> to avoid loading counters.h in all
5397         compilation units.
5398         (LyXTextClass): initialize ctrs_
5399         (TextClassTags): add TC_COUNTER, and ...
5400         (Read): use it here.
5401         (CounterTags): new tags
5402         (readCounter): new function
5403         (counters): new funtion
5404         (defaultLayoutName): return a const reference
5405
5406         * counters.C (Counters): remove contructor
5407         (newCounter): remove a couple of unneeded statements.
5408         (newCounter): simplify a bit.
5409         (numberLabel): some small formatting changes.
5410
5411         * buffer.[Ch]: remove all traces of counters, move the Counters
5412         object to the LyXTextClass.
5413
5414 2002-09-06  Alain Castera  <castera@in2p3.fr>
5415
5416         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5417         package to set the horizontal alignment on fixed width columns.
5418
5419         * lyx_sty.C:
5420         * lyx_sty.h: added tabularnewline macro def.
5421
5422         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5423
5424 2002-09-06  John Levon  <levon@movementarian.org>
5425
5426         * LyXAction.C: tooltips for sub/superscript
5427
5428         * MenuBackend.C: a bit more verbose
5429
5430         * lyxfunc.C: tiny clean
5431
5432         * undo_funcs.C: document undo_frozen
5433
5434 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5435
5436         * counters.C (Counters): add missing algorithm counter.
5437
5438         * text2.C (setCounter): lookup the counter with layouts latexname
5439         instead of by section number.
5440         (setCounter): use a hackish way to lookup the correct enum
5441         counter.
5442         a float name->type change
5443         reset enum couners with counter name directly instead of depth value.
5444
5445         * counters.C (Counters): remove the push_backs, change to use the
5446         float type not the float name.
5447         (labelItem): remove unused string, float name->type change
5448
5449         * counters.h: don't include vector, loose the enums and sects vectors
5450
5451 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5452
5453         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5454         (Read): add float->TC_FLOAT to textclassTags
5455         (Read): and handle it in the switch
5456         (readFloat): new function
5457
5458         * FloatList.C (FloatList): comment out the hardcoded float
5459         definitions.
5460
5461         * lyxlayout.h: ws change.
5462
5463 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5464
5465         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5466
5467 2002-09-03  Angus Leeming  <leeming@lyx.org>
5468
5469         * BufferView_pimpl.h: qualified name is not allowed in member
5470         declaration: WorkArea & Pimpl::workarea() const;
5471
5472         * factory.C: added using std::endl directive.
5473
5474         * text3.C: added using std::find and std::vector directives.
5475
5476 2002-08-29  André Pönitz <poenitz@gmx.net>
5477
5478         * lyxtext.h:
5479         * text2.C: remove unused member number_of_rows
5480
5481         * Makefile.am:
5482         * BufferView2.C: remove file, move contents to...
5483         * BufferView.C: ... here
5484
5485         * BufferView_pimpl.C:
5486         * factory.C: move more inset creation to factory
5487
5488         * vspace.C: avoid direct usage of LyXText, ws changes
5489
5490         * BufferView.[Ch]:
5491                 don't provide direct access to WorkArea, use two simple
5492                 acessors haveSelction() and workHeight() instead
5493
5494
5495 2002-08-29  John Levon  <levon@movementarian.org>
5496
5497         * BufferView_pimpl.C (dispatch): do not continue when
5498           no buffer
5499
5500 2002-08-28  André Pönitz <poenitz@gmx.net>
5501
5502         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5503
5504         * BufferView.h:
5505         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5506
5507 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5508
5509         * buffer.C: increment LYX_FORMAT to 221
5510
5511         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5512         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5513
5514         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5515
5516         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5517
5518 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5519
5520         * factory.C (createInset): use LyXTextClass::floats
5521
5522         * MenuBackend.C (expandFloatListInsert):
5523         (expandFloatInsert):
5524         (expandToc):
5525
5526         * text2.C (setCounter):
5527
5528         * LaTeXFeatures.C (useFloat):
5529         (getFloatDefinitions):
5530
5531         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5532
5533         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5534         floatlist_, with accessor floats().
5535
5536         * FloatList.h: remove global FloatList
5537
5538 2002-08-26  André Pönitz <poenitz@gmx.net>
5539
5540         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5541
5542         * BufferView.h:
5543         * BufferView2.C:
5544         * BufferView_pimpl.C:
5545         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5546
5547 2002-08-25  John Levon  <levon@movementarian.org>
5548
5549         * LyXAction.C: fix margin note description
5550
5551 2002-08-24  John Levon  <levon@movementarian.org>
5552
5553         * buffer.C:
5554         * bufferlist.C:
5555         * bufferview_funcs.C:
5556         * lyxfont.C:
5557         * undo_funcs.C: cleanups
5558
5559         * lyxfunc.C: disable CUT/COPY when no selection
5560
5561 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5562
5563         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5564         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5565
5566         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5567         Add backward compatibility to "mono", "gray" and "no".
5568
5569 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5570
5571         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5572         (and file_format >= 200).
5573
5574 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5575
5576         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5577
5578 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5579
5580         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5581
5582 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5583
5584         * BufferView_pimpl.C:
5585         * LyXAction.C:
5586         * buffer.C:
5587         * commandtags.h:
5588         * lyxfunc.C:
5589         * paragraph.[Ch]:
5590         * text2.C:
5591         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5592         inset and code to make it  work with the paragraph code. The inset
5593         can be anywhere in the paragraph, but will only do the expected
5594         thing in LaTeX if the layout file contains the parameter line
5595                         OptionalArgs    1
5596         (or more generally, a nonzero value) for that layout.
5597
5598 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5599
5600         * paragraph.h: remove the declaration of undefined counters class
5601         function.
5602
5603 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5604
5605         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5606         Dr. Richard Hawkins.
5607
5608 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5609
5610         * paragraph_funcs.h: remove some unneeded includes
5611
5612         * text.C (backspace): pasteParagraph now in global scipe
5613
5614         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5615         (pasteSelection): ditto
5616
5617         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5618         * paragraph_funcs.C (pasteParagraph): ... here
5619
5620 2002-08-20  André Pönitz <poenitz@gmx.net>
5621
5622         * commandtags.h: new LFUNs for swapping/copying table row/colums
5623
5624         * LyXAction.C:
5625         * lyxfunc.C: support for new lfuns
5626
5627 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5628
5629         * tabular.C:
5630         * buffer.[Ch]: remove NO_COMPABILITY stuff
5631
5632 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5633
5634         * boost.C (throw_exception): new file, with helper function for
5635         boost compiled without exceptions.
5636
5637         * paragraph.h:
5638         * lyxlength.C:
5639         * buffer.C:
5640         * ParameterStruct.h:
5641         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5642
5643         * bufferlist.C (emergencyWriteAll): use boost bind
5644
5645         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5646
5647         * text.C: include paragraph_funcs.h
5648         (breakParagraph): breakParagraph is now in global scope
5649
5650         * paragraph_funcs.[Ch]: new files
5651
5652         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5653         global scope
5654
5655         * buffer.C: include paragraph_funcs.h
5656         (insertStringAsLines): breakParagraph is now in global scope
5657
5658         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5659         paragraph_funcs.C
5660
5661         * CutAndPaste.C: include paragraph_funcs.h
5662         (cutSelection): breakParagraphConservative is now in global scope
5663         (pasteSelection): ditto
5664
5665         * buffer.h: declare oprator== and operator!= for
5666         Buffer::inset_iterator
5667
5668         * bufferlist.C (emergencyWrite): don't use fmt(...)
5669
5670         * text3.C: add using std::endl
5671
5672         * BufferView.C (moveCursorUpdate): remove default arg
5673
5674 2002-08-20  André Pönitz <poenitz@gmx.net>
5675
5676         * buffer.[Ch]: move inline functions to .C
5677
5678         * BufferView2.C:
5679         * BufferView_pimpl.C:
5680         * text.C:
5681         * buffer.[Ch]: use improved inset_iterator
5682
5683         * buffer.C:
5684         * paragraph.[Ch]: write one paragraph at a time
5685
5686 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5687
5688         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5689         style if style is not specified.
5690
5691 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5692
5693         * text2.C (setCounter): when searching for right label for a
5694         caption, make sure to recurse to parent insets (so that a caption
5695         in a minipage in a figure float works) (bug #568)
5696
5697 2002-08-20  André Pönitz <poenitz@gmx.net>
5698
5699         * text3.C: new file for LyXText::dispatch() and helpers
5700
5701         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5702
5703         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5704
5705 2002-08-19  André Pönitz <poenitz@gmx.net>
5706
5707         * lyxtext.h:
5708         * text.C: new LyXText::dispatch()
5709
5710         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5711
5712 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5713
5714         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5715
5716         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5717         Hebrew text.
5718
5719 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5720
5721         * Makefile.am: use $(variables) instead of @substitutions@
5722
5723 2002-08-15  André Pönitz <poenitz@gmx.net>
5724
5725         * lyxfunc.C:
5726         * BufferView_pimpl.C: streamlining mathed <-> outer world
5727         interaction
5728
5729         * commandtags.h:
5730         * LyXAction.C: remove unused LFUN_MATH
5731
5732 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5735
5736 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5737
5738         * paragraph.C (Paragraph): reformat a bit
5739         (cutIntoMinibuffer): use builtin InsetList function instad of
5740         doing it manually.
5741         (getInset): ditto
5742
5743         * buffer.C: include boost/bind.hpp, add using std::for_each
5744         (writeFileAscii): use ParagraphList iterators
5745         (validate): use for_each for validate traversal of paragraphs
5746         (getBibkeyList): use ParagraphList iterators
5747         (resizeInsets): use for_each to resizeInsetsLyXText for all
5748         paragraphs.
5749         (getParFromID): use ParagraphList iterators
5750
5751         * BufferView2.C (lockInset): use paragraph list and iterators
5752
5753 2002-08-14  John Levon  <levon@movementarian.org>
5754
5755         * lyxserver.C: remove spurious xforms include
5756
5757 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5758
5759         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5760
5761 2002-08-13  André Pönitz <poenitz@gmx.net>
5762
5763         * LyXAction.[Ch]:
5764         * lyxfunc.C: further cleaning
5765
5766 2002-08-13  André Pönitz <poenitz@gmx.net>
5767
5768         * funcrequest.h: new constructor
5769
5770         * funcrequest.C: move stuff here from .h
5771
5772         * Makefile.am:
5773         * BufferView_pimpl.C:
5774         * LyXAction.C:
5775         * toc.C:
5776         * lyxfunc.C: subsequent changes
5777
5778         * lyxfunc.h: new view() member function
5779
5780         * lyxfunc.C: subsequent changes
5781
5782 2002-08-13  Angus Leeming  <leeming@lyx.org>
5783
5784         * BufferView2.C:
5785         * BufferView_pimpl.C:
5786         * buffer.C:
5787         * converter.C:
5788         * importer.C:
5789         * lyxfunc.C:
5790         * lyxvc.C:
5791         * toc.C:
5792         * vc-backend.C:
5793         changes due to the changed LyXView interface that now returns references
5794         to member variables not pointers.
5795
5796 2002-08-13  Angus Leeming  <leeming@lyx.org>
5797
5798         * WordLangTuple (word, lang_code): return references to strings,
5799         not strings.
5800
5801         * BufferView.h:
5802         * SpellBase.h:
5803         * lyxtext.h: forward-declare WordLangTuple.
5804
5805         * BufferView2.C:
5806         * ispell.C:
5807         * pspell.C:
5808         * text.C: #include "WordLangTuple.h".
5809
5810         * lyxtext.h:
5811         * text.C: (selectNextWordToSpellcheck): constify return type.
5812
5813 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5814
5815         * buffer.C:
5816         * buffer.h:
5817         * lyxtext.h:
5818         * paragraph.C:
5819         * paragraph_pimpl.h:
5820         * text.C:
5821         * text2.C:
5822         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5823         suggested by Angus.
5824         Made updateCounter always count from start of buffer, and removed
5825         second argument (par).
5826         Reverted floats number display to '#'. Perhaps I'll try again when the
5827         code base is sanitized a bit.
5828
5829 2002-08-12  Angus Leeming  <leeming@lyx.org>
5830
5831         * buffer.[Ch] (getLabelList): constify.
5832
5833 2002-08-07  André Pönitz <poenitz@gmx.net>
5834
5835         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5836
5837         * funcrequest.h: extension to keep mouse (x,y) position
5838
5839 2002-08-12  Juergen Vigna  <jug@sad.it>
5840
5841         * BufferView2.C (insertErrors): forbid undo when inserting error
5842         insets.
5843
5844         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5845
5846 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5847
5848         * ParagraphList.[Ch]: new files
5849
5850         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5851
5852         * BufferView2.C (lockInset): ParagraphList changes
5853         * toc.C: ditto
5854         * text2.C: ditto
5855         * bufferlist.C: ditto
5856         * buffer.h: ditto
5857         * buffer.C: ditto
5858
5859 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5862         unused class variable counter_,
5863
5864         * paragraph.[Ch] (getFirstCounter): delete unused function
5865
5866         * counters.C: include LAssert.h
5867         (reset): add a new function with no arg, change other version to
5868         not have def. arg and to not allow empty arg.
5869
5870         * text2.C (setCounter): remove empty arg from call to Counters::reset
5871
5872 2002-08-11  John Levon  <levon@movementarian.org>
5873
5874         * Makefile.am: add WordLangTuple.h
5875
5876 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5877
5878         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5879         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5880
5881         * insets/insettext.C: InsetList changes
5882
5883         * graphics/GraphicsSupport.C (operator()): InsetList changes
5884
5885         * toc.C (getTocList): InsetList changes
5886
5887         * paragraph_pimpl.[Ch]: InsetList changes
5888
5889         * paragraph.[Ch]: InsetList changes
5890
5891         * buffer.C (inset_iterator): InsetList changes
5892         (setParagraph): ditto
5893         * buffer.h (inset_iterator): ditto
5894         * iterators.C (operator++): ditto
5895         * iterators.h: ditto
5896
5897         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5898
5899         * InsetList.[Ch]: new files, most InsetList handling moved out of
5900         paragraph.C.
5901
5902         * BufferView2.C (removeAutoInsets): InsetList changes
5903         (lockInset): ditto
5904         (ChangeInsets): ditto
5905
5906 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * paragraph_pimpl.h (empty): new function
5909
5910         * paragraph.[Ch] (empty): new function
5911
5912         * other files: use the new Paragraph::empty function
5913
5914 2002-08-09  John Levon  <levon@movementarian.org>
5915
5916         * lyxtext.h: remove unused refresh_height
5917
5918 2002-08-09  John Levon  <levon@movementarian.org>
5919
5920         * Makefile.am:
5921         * sgml.h:
5922         * sgml.C:
5923         * buffer.C:
5924         * paragraph.h:
5925         * paragraph.C: move sgml char escaping out of paragraph
5926
5927         * paragraph.h:
5928         * paragraph.C: remove id setter
5929
5930         * buffer.C:
5931         * paragraph.C:
5932         * paragraph_pimpl.C: remove dead tex_code_break_column
5933
5934         * bufferview_funcs.C: small cleanup
5935
5936         * lyxfunc.C: remove dead proto
5937
5938         * lyxtext.h: make some stuff private. Remove some dead stuff.
5939
5940         * lyxgluelength.C: make as[LyX]String() readable
5941
5942 2002-08-08  John Levon  <levon@movementarian.org>
5943
5944         * LyXAction.h:
5945         * LyXAction.C:
5946         * MenuBackend.C:
5947         * ToolbarDefaults.C:
5948         * lyxfunc.C:
5949         * lyxrc.C:
5950         * toc.C: lyxaction cleanup
5951
5952 2002-08-08  John Levon  <levon@movementarian.org>
5953
5954         * BufferView2.C: small cleanup
5955
5956         * lyxfind.h:
5957         * lyxfind.C: move unnecessary header into the .C
5958
5959 2002-08-08  John Levon  <levon@movementarian.org>
5960
5961         * funcrequest.h: just tedious nonsense
5962
5963         * lyx_main.h:
5964         * lyx_main.C: cleanups
5965
5966         * buffer.C:
5967         * vspace.C: remove dead header lyx_main.h
5968
5969 2002-08-07  Angus Leeming  <leeming@lyx.org>
5970
5971         * Paragraph.[Ch]:
5972         * paragraph_pimpl.h:
5973         Forward declare class Counters in paragraph.h by moving the ctrs member
5974         variable into Paragraph::Pimpl.
5975         (counters): new method, returning a reference to pimpl_->ctrs.
5976
5977         * text2.C: ensuing changes.
5978
5979 2002-08-07  John Levon  <levon@movementarian.org>
5980
5981         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5982
5983         * BufferView_pimpl.C: announce X selection on double/triple
5984           click
5985
5986         * lyx_main.C: use correct bool in batch dispatch
5987
5988         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5989
5990 2002-08-07  André Pönitz <poenitz@gmx.net>
5991
5992         * funcrequest.h: new class to wrap a kb_action and its argument
5993
5994         * BufferView.[Ch]:
5995         * BufferView_pimpl[Ch]:
5996         * LaTeX.C:
5997         * LyXAction.[Ch]:
5998         * lyxfunc.[Ch]:
5999         * lyxrc.C: subsequent changes
6000
6001
6002 2002-08-07  John Levon  <levon@movementarian.org>
6003
6004         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6005           document options change.
6006
6007 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6008
6009         * counters.[Ch]
6010         * text2.C
6011         * paragraph.[Ch]
6012         * makefile.am: move counters functionality over from
6013         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6014
6015 2002-08-06  John Levon  <levon@movementarian.org>
6016
6017         * WordLangTuple.h: new file for word + language code tuple
6018
6019         * SpellBase.h:
6020         * pspell.h:
6021         * pspell.C:
6022         * ispell.h:
6023         * ispell.C:
6024         * lyxtext.h:
6025         * text.C:
6026         * text2.C:
6027         * BufferView.h:
6028         * BufferView2.C: use WordLangTuple
6029
6030         * layout.h:
6031         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6032
6033 2002-08-06  John Levon  <levon@movementarian.org>
6034
6035         * lyx_main.C: fix cmdline batch handling
6036
6037 2002-08-06  André Pönitz <poenitz@gmx.net>
6038
6039         * lyxrc.C: set default for show_banner to true
6040
6041 2002-08-06  John Levon  <levon@movementarian.org>
6042
6043         * pspell.C: fix a crash, and allow new aspell to work
6044
6045 2002-08-06  John Levon  <levon@movementarian.org>
6046
6047         * lyxfunc.C:
6048         * kbmap.C: small cleanup
6049
6050         * vspace.h:
6051         * vspace.C: add const
6052
6053 2002-08-05  John Levon  <levon@movementarian.org>
6054
6055         * LyXAction.C: back to tabular-insert
6056
6057 2002-08-04  John Levon  <levon@movementarian.org>
6058
6059         * BufferView.h:
6060         * BufferView.C: cosmetic change
6061
6062         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6063
6064         * bufferlist.C:
6065         * buffer.h:
6066         * buffer.C:
6067         * lyxcb.h:
6068         * lyxcb.C:
6069         * lyxserver.C:
6070         * lyxvc.C:
6071         * vc-backend.C:
6072         * BufferView2.C: purge all "Lyx" not "LyX" strings
6073
6074         * lyxcursor.h:
6075         * lyxcursor.C: attempt to add some documentation
6076
6077         * lyxfunc.C:
6078         * commandtags.h:
6079         * LyXAction.C:
6080         * ToolbarDefaults.C:
6081         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6082           merge with LFUN_TABULAR_INSERT
6083
6084         * Makefile.am:
6085         * SpellBase.h:
6086         * ispell.h:
6087         * ispell.C:
6088         * pspell.h:
6089         * pspell.C: split up i/pspell implementations into separate
6090           files, many cleanups
6091
6092         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6093
6094         * text2.C: some cleanup
6095
6096         * lyxfunc.C: don't check for isp_command == "none" any more, it
6097           didn't make any sense
6098
6099 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6100
6101         * counters.[Ch]
6102         * text2.C
6103         * paragraph.[Ch]
6104         * makefile.am: move counters functionality over
6105         from text2.C/paragraph.[Ch] to counters.[Ch], and
6106         make proper C++.
6107 2002-08-02  John Levon  <levon@movementarian.org>
6108
6109         * buffer.C: s/lyxconvert/lyx2lyx/
6110
6111 2002-08-02  Angus Leeming  <leeming@lyx.org>
6112
6113         * lyxlex.C: revert John's change as it breaks reading of the user
6114         preamble.
6115
6116 2002-08-02  Angus Leeming  <leeming@lyx.org>
6117
6118         * importer.C (Import):
6119         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6120         changes due to LyXView::view() now returning a boost::shared_ptr.
6121
6122 2002-08-02  John Levon  <levon@movementarian.org>
6123
6124         * lyxlex.C: small cleanup
6125
6126 2002-08-02  John Levon  <levon@movementarian.org>
6127
6128         * text2.C (status): small cleanup, no logic change
6129
6130 2002-08-01  John Levon  <levon@movementarian.org>
6131
6132         * buffer.h:
6133         * buffer.C (writeFile): don't output alerts, caller
6134           handles this
6135
6136         * bufferlist.C:
6137         * lyx_cb.C: from above
6138
6139         * lyxfunc.C: allow to open non-existent files
6140
6141 2002-07-31  John Levon  <levon@movementarian.org>
6142
6143         * lyxserver.C: don't let incidental errors get
6144           in the way (errno)
6145
6146 2002-07-30  John Levon  <levon@movementarian.org>
6147
6148         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6149
6150 2002-07-30  John Levon  <levon@movementarian.org>
6151
6152         * lyxserver.h:
6153         * lyxserver.C: remove I/O callback too
6154
6155 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6156
6157         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6158         log.
6159
6160 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * many files: strip,frontStrip -> trim,ltrim,rtrim
6163
6164 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * PrinterParams.h: remove extern containsOnly, and include
6167         support/lstrings.h instead.
6168
6169         * LaTeX.C (scanAuxFile): modify because of strip changes
6170         (deplog): ditto
6171         * buffer.C (makeLaTeXFile): ditto
6172         * bufferparams.C (writeFile): ditt
6173         * lyxfont.C (stateText): ditto
6174         * lyxserver.C (read_ready): ditto
6175         * vc-backend.C (scanMaster): ditto
6176
6177         * BufferView_pimpl.h: ws changes
6178
6179         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6180
6181 2002-07-26  André Pönitz <poenitz@gmx.net>
6182
6183         * kb_sequence.C: remove unnedred usings
6184
6185 2002-07-26  Juergen Vigna  <jug@sad.it>
6186
6187         * lyxfind.C (LyXReplace): we have to check better if the returned
6188         text is not of theLockingInset()->getLockingInset().
6189
6190 2002-07-25  Juergen Vigna  <jug@sad.it>
6191
6192         * lyxfind.C (LyXReplace): don't replace if we don't get the
6193         right LyXText.
6194
6195         * undo_funcs.C (createUndo): remove debugging code.
6196
6197 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6198
6199         * buffer.C (parseSingleLyXformat2Token): Use default placement
6200         when reading old floats.
6201
6202         * FloatList.C (FloatList): Change the default placement of figure
6203         and tables to "tbp".
6204
6205 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6206
6207         * MenuBackend.C: using std::max
6208
6209 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6210
6211         * MenuBackend.C (expandToc):
6212         (expandToc2): code moved from xforms menu frontend. It is now
6213         generic and TOCs are transparent to menu frontends.
6214
6215 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6216
6217         * toc.C (getTocList): protect against buf=0
6218
6219         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6220         Menu as first parameter. Now, this calls itself recursively to
6221         expand a whole tree (this will be useful for TOC handling)
6222         (expandFloatInsert): remove 'wide' version of floats
6223
6224         * MenuBackend.h (submenuname): returns the name of the submenu.
6225         (submenu): returns the submenu itself, provided it has been
6226         created by MenuBackend::expand
6227
6228 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6229
6230         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6231         insets which have noFontChange == true. (bug #172)
6232
6233 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6234
6235         * BufferView_pimpl.C: add connection objects and use them...
6236         (Pimpl): here.
6237
6238 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6239
6240         * MenuBackend.C (expandLastfiles):
6241         (expandDocuments):
6242         (expandFormats):
6243         (expandFloatListInsert):
6244         (expandFloatInsert):
6245         (expand): split expand in parts
6246
6247 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6248
6249         * lyx_gui.C: use lyx_gui::exit()
6250
6251 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6252
6253         * LyXAction.C: show the failing pseudo action
6254
6255 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6256
6257         * buffer.C (readFile): Run the lyxconvert script in order to read
6258         old files.
6259
6260 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6261
6262         * LyXAction.C:
6263         * commandtags.h:
6264         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6265
6266 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6267
6268         * LyXAction.C:
6269         * commandtags.h:
6270         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6271
6272 2002-07-22  Herbert Voss  <voss@lyx.org>
6273
6274         * lengthcommon.C:
6275         * lyxlength.[Ch]: add support for the vertical lengths
6276
6277 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6278
6279         * toc.[Ch]: std:: fixes
6280
6281 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6282
6283         * lyxrc.C: do not include lyx_main.h
6284
6285         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6286         for layouts
6287
6288         * lyxrc.C:
6289         * encoding.C:
6290         * bufferlist.C:
6291         * BufferView2.C: include "lyxlex.h"
6292
6293         * tabular.h:
6294         * bufferparams.h: do not #include "lyxlex.h"
6295
6296         * lyxtextclasslist.C (Add): remove method
6297         (classlist): renamed to classlist_
6298
6299         * paragraph_pimpl.C:
6300         * paragraph.C:
6301         * text2.C:
6302         * CutAndPaste.C:
6303         * bufferview_funcs.C:
6304         * bufferlist.C:
6305         * text.C:
6306         * LaTeXFeatures.C:
6307         * buffer.C:
6308         * toc.C (getTocList): use BufferParams::getLyXTextClass
6309
6310         * toc.C (getTocList): use InsetFloat::addToToc
6311
6312         * toc.[Ch]: new files, containing helper functions to handle table
6313         of contents
6314
6315         * lyxfunc.C (dispatch): no need to remove spaces around command
6316         given as a string
6317         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6318         first command of the sequence; it is not very clever, but I do not
6319         have a better idea, actually
6320
6321         * LyXAction.C (LookupFunc): make sure to remove space at the
6322         beginning and end of the command
6323
6324 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6325
6326         * MenuBackend.C (getMenubar): new method: return the menubar of
6327         this menu set
6328         (read): treat differently reading of menu and menubar (in
6329         particular, the menubar has no name now)
6330         (Menu::menubar): remove
6331
6332         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6333         saving is finished
6334
6335 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6336
6337         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6338         a bibitem inset in a RTL paragraph.
6339
6340 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6341
6342         * paragraph_pimpl.C: constify
6343
6344         * BufferView_pimpl.C:
6345         * LaTeX.C:
6346         * lyxfunc.C: fix dispatch in a nicer way
6347
6348 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6349
6350         * lyxfunc.C (dispatch):
6351         * BufferView_pimpl.C:
6352         * BufferView_pimpl.h:
6353         * BufferView.C:
6354         * BufferView.h: rename Dispatch() to dispatch()
6355
6356         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6357
6358         * lyxlayout.C (Read): honor DependsOn tag
6359
6360         * lyxlayout.[Ch] (depends_on): new method
6361
6362         * version.C.in: update lyx_docversion
6363
6364         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6365
6366         * paragraph.C (validate): remove from here...
6367         * paragraph_pimpl.C (validate): ... and move here
6368         (isTextAt): make it const
6369
6370         * buffer.C (getLists): ws cleanup
6371
6372 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6373
6374         * language.C (read): Use iso8859-1 encoding in latex_lang
6375         (this prevents LyX from crashing when using iso10646-1 encoding).
6376
6377 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6378
6379         * text2.C (toggleInset): if cursor is inside an inset, close the
6380         inset and leave cursor _after_ it
6381
6382 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6383
6384         * lyxfunc.C: move minibuffer completion handling out of here
6385
6386 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6387
6388         * BufferView_pimpl.C:
6389         * LaTeX.C: fix dispatch calls
6390
6391 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6392
6393         * text.C (drawChars): Fix Arabic text rendering.
6394
6395 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6396
6397         * LyXAction.C:
6398         * commandtags.h:
6399         * lyxfunc.C: remove message-push/pop
6400
6401         * lyxserver.C:
6402         * lyxfunc.h:
6403         * lyxfunc.C: rationalise some code by removing verboseDispatch
6404           in favour of a bool argument to dispatch()
6405
6406 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6407
6408         * lyx_main.C (init): make sure to read symlinks as absolute paths
6409
6410 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6411
6412         * lyxfunc.h:
6413         * lyxfunc.C: no need for commandshortcut to be a member
6414
6415 2002-07-15  André Pönitz <poenitz@gmx.net>
6416
6417         * converter.C: add support for $$s (scripts from lib/scripts dir)
6418         * lyx_main.C: white space
6419
6420 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6421
6422         * bufferlist.C:
6423         * lyxrc.h:
6424         * lyxrc.C: remove second exit confirmation
6425
6426 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6427
6428         * BufferView.h:
6429         * BufferView.C:
6430         * BufferView2.C:
6431         * BufferView_pimpl.h:
6432         * BufferView_pimpl.C:
6433         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6434
6435 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6436
6437         * MenuBackend.C (expand): add numeric shortcuts to document menu
6438
6439         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6440
6441 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6442
6443         * lyxfont.C (setLyXFamily):
6444         (setLyXSeries):
6445         (setLyXShape):
6446         (setLyXSize):
6447         (setLyXMisc):
6448         (lyxRead):
6449         * debug.C (value):
6450         * buffer.C (asciiParagraph): use ascii_lowercase
6451
6452 2002-07-15  Mike Fabian  <mfabian@suse.de>
6453
6454         * lyxlex_pimpl.C (search_kw):
6455         * lyxlex.C (getLongString):
6456         * converter.h (operator<):
6457         * converter.C (operator<):
6458         * buffer.C (parseSingleLyXformat2Token):
6459         (asciiParagraph):
6460         * ToolbarDefaults.C (read):
6461         * MenuBackend.C (checkShortcuts):
6462         (read):
6463         * LColor.C (getFromGUIName):
6464         (getFromLyXName): use the compare_ascii_no_case instead of
6465         compare_no_case, because in turkish, 'i' is not the lowercase
6466         version of 'I', and thus turkish locale breaks parsing of tags.
6467
6468 2002-07-16  Angus Leeming  <leeming@lyx.org>
6469
6470         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6471         now takes a Buffer const & argument.
6472
6473 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6474
6475         * BufferView.C (resize): check there's a buffer to resize
6476
6477 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6478
6479         * lyxfunc.C: remove dead code
6480
6481         * lyxserver.h:
6482         * lyxserver.C: use lyx_guii::set_read_callback
6483
6484 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6485
6486         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6487         an inset in a RTL paragraph.
6488
6489 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6490
6491         * lyxfunc.C: repaint after a font size update
6492
6493 2002-07-15  André Pönitz <poenitz@gmx.net>
6494
6495         * lyxlength.C: inBP should be able to return negative values
6496
6497 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6498
6499         * lyxfunc.C: use lyx_gui::update_fonts()
6500
6501 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6502
6503         * lyxfunc.C: use lyx_gui::update_color()
6504
6505 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6506
6507         * bufferlist.C:
6508         * lyxfunc.h:
6509         * lyxfunc.C:
6510         * lyxrc.h:
6511         * lyxrc.C: remove file->new asks for name option, and let
6512           buffer-new take an argument
6513
6514 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6515
6516         * BufferView_pimpl.C: remove unneeded extra repaint()
6517
6518 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6519
6520         * LyXAction.C: allow command-sequence with NoBuffer
6521
6522         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6523
6524 2002-07-10  Angus Leeming  <leeming@lyx.org>
6525
6526         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6527
6528 2002-07-09  Angus Leeming  <leeming@lyx.org>
6529
6530         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6531
6532 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6533
6534         * lengthcommon.h: whitespace
6535
6536         * lyxfunc.C: update scrollbar after goto paragraph
6537
6538         * lyxtext.h: factor out page break drawing, and fix it so
6539           page break/added space paints as selected nicely
6540
6541 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6542
6543         * BufferView_pimpl.C: add FIXMEs, clean up a little
6544
6545 2002-07-09  André Pönitz <poenitz@gmx.net>
6546
6547         * lyxfont.[Ch]: support for wasy symbols
6548
6549 2002-07-08  André Pönitz <poenitz@gmx.net>
6550
6551         * BufferView_pimpl.C: apply John's patch for #93.
6552
6553 2002-07-05  Angus Leeming  <leeming@lyx.org>
6554
6555         * BufferView_pimpl.C (buffer): generate previews if desired.
6556
6557         * LColor.h: add "preview" to the color enum.
6558
6559         * LColor.C (LColor): add a corresponding entry to the items array.
6560
6561         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6562         with this buffer.
6563
6564 2002-07-05  Angus Leeming  <leeming@lyx.org>
6565
6566         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6567         The body of the code is now in the method that is passed an ostream &
6568         rather than a file name.
6569         Pass an additional only_preamble parameter, useful for the forthcoming
6570         preview stuff.
6571
6572 2002-07-03  André Pönitz <poenitz@gmx.net>
6573
6574         * lyxfunc.C: simplify getStatus() a bit for math stuff
6575
6576 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6577
6578         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6579
6580 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6581
6582         * text.C (changeRegionCase): do not change case of all the
6583         document when region ends at paragraph end (bug #461)
6584
6585 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6586
6587         * paragraph.C (startTeXParParams):
6588         (endTeXParParams): add \protect when necessary
6589
6590 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6591
6592         * BufferView_pimpl.C (workAreaExpose): remove warning
6593
6594 2002-06-27  Angus Leeming  <leeming@lyx.org>
6595
6596         * Makefile.am: add lyxlayout_ptr_fwd.h.
6597
6598 2002-06-26  André Pönitz <poenitz@gmx.net>
6599
6600         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6601
6602 2002-06-25  Angus Leeming  <leeming@lyx.org>
6603
6604         * lyxfunc.C (dispatch): Comment out the call to
6605         grfx::GCache::changeDisplay. The method no longer exists now that the
6606         pixmap generation part of the graphics loader has been moved into
6607         InsetGraphics.
6608
6609 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6610
6611         * text2.C: layout as layout
6612
6613         * text.C: layout as layout
6614
6615         * tabular.C (OldFormatRead): layout as layout
6616
6617         * paragraph_pimpl.C (TeXDeeper): layout as layout
6618         (realizeFont): layout as layout
6619
6620         * paragraph.C (writeFile): layout as layout
6621         (validate): layout as layout
6622         (getFont): layout as layout
6623         (getLabelFont): layout as layout
6624         (getLayoutFont): layout as layout
6625         (breakParagraph): layout as layout
6626         (stripLeadingSpaces): layout as layout
6627         (getEndLabel): layout as layout
6628         (getMaxDepthAfter): layout as layout
6629         (applyLayout): layout as layout
6630         (TeXOnePar): layout as layout
6631         (simpleTeXOnePar): layout as layout
6632         (TeXEnvironment): layout as layout
6633         (layout): layout as layout
6634         (layout): layout as layout
6635
6636         * lyxtextclass.C (compare_name): new functor to work with
6637         shared_ptr, layout as layout
6638         (Read): layout as layout
6639         (hasLayout): layout as layout
6640         (operator): layout as layout
6641         (delete_layout): layout as layout
6642         (defaultLayout): layout as layout
6643
6644         * lyxlayout_ptr_fwd.h: new file
6645
6646         * lyxlayout.C (Read): layout as layout
6647
6648         * lyx_cb.C (MenuInsertLabel): layout as layout
6649
6650         * bufferlist.C (newFile): layout as layout
6651
6652         * buffer.C (readLyXformat2): layout as layout
6653         (parseSingleLyXformat2Token): layout as layout
6654         (insertStringAsLines): layout as layout
6655         (asciiParagraph): layout as layout
6656         (latexParagraphs): layout as layout
6657         (makeLinuxDocFile): layout as layout
6658         (simpleLinuxDocOnePar): layout as layout
6659         (makeDocBookFile): layout as layout
6660         (simpleDocBookOnePar): layout as layout
6661         (getLists): layout as layout
6662
6663         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6664
6665         * CutAndPaste.C (cutSelection): layout as layout
6666         (pasteSelection): layout as layout
6667         (SwitchLayoutsBetweenClasses): layout as layout
6668
6669         * BufferView_pimpl.C (Dispatch): layout as layout
6670         (smartQuote): layout as layout
6671
6672         * BufferView2.C (unlockInset): layout as layout
6673
6674 2002-06-24  André Pönitz <poenitz@gmx.net>
6675
6676         * lyxfunc.C: fix #487
6677
6678 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6679
6680         * lyxrc.h:
6681         * lyxrc.C:
6682         * lyxfunc.C: remove display_shortcuts, show_banner
6683
6684 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6685
6686         * Buffer_pimpl.C: oops, update on resize
6687
6688 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6689
6690         * buffer.C:
6691         * converter.C:
6692         * exporter.C:
6693         * lyxfunc.C:
6694         * BufferView.h:
6695         * BufferView.C: use repaint()
6696
6697         * BufferView_pimpl.h:
6698         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6699           as it's a clearer description. Remove superfluous
6700           redraws.
6701
6702 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6703
6704         * text.C: fix bug 488. Not ideal, but getting
6705           getWord() to work properly for the insets that
6706           matter is more difficult ...
6707
6708 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6709
6710         * BufferView_pimpl.C:
6711         * LyXAction.C:
6712         * commandtags.h:
6713         * lyxfunc.C: remove the six million index lyxfuncs to just
6714           one, and DTRT (bug 458)
6715
6716 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6717
6718         * BufferView.h:
6719         * BufferView.C:
6720         * BufferView_pimpl.h:
6721         * BufferView_pimpl.C: clean up resize() stuff,
6722           and unnecessary updateScreen()s
6723
6724 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6725
6726         * BufferView.h:
6727         * BufferView.C:
6728         * BufferView_pimpl.h:
6729         * BufferView_pimpl.C:
6730         * lyxfind.h:
6731         * lyxfind.C:
6732         * minibuffer.C: remove focus management of workarea,
6733           not needed. Use screen's greyOut()
6734
6735 2002-06-17  Herbert Voss  <voss@lyx.org>
6736
6737         * converter.C: (convert) do not post a message, when converting
6738         fails, let the calling function decide what to do in this case
6739
6740 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6741
6742         * lyxfunc.C: tidy up a little
6743
6744 2002-06-16    <alstrup@diku.dk>
6745
6746         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6747         Got rid of FORMS_H_LOCATION include. Now we are
6748         GUII.
6749
6750 2002-06-15  LyX Development team  <lyx@rilke>
6751
6752         * buffer.[Ch] (sgmlOpenTag):
6753         (sgmlCloseTag): Added support for avoiding pernicious mixed
6754         content. Return number of lines written.
6755
6756         (makeLinuxDocFile):
6757         (makeDocBookFile): Fixed calls to sgml*Tag.
6758         Simple white space clean.
6759
6760         (simpleDocBookOnePar): Simple white space clean.
6761
6762         * tabular.[Ch] (docBook): Renamed to docbook and got another
6763         argument to related with the pernicious mixed content.
6764
6765         (docbookRow): Fixed calls for docbook inset method.
6766
6767 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6768
6769         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6770         so it's X11 independent.
6771
6772         * kb*.[Ch]: ditto.
6773
6774         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6775
6776 2002-06-15  Lyx Development team  <lyx@electronia>
6777
6778         * intl.h: Renamed getTrans to getTransManager.
6779
6780 2002-06-14  Angus Leeming  <leeming@lyx.org>
6781
6782         * Makefile.am: nuke forgotten stl_string_fwd.h.
6783
6784 2002-06-12  Angus Leeming  <leeming@lyx.org>
6785
6786         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6787
6788 2002-06-13  Angus Leeming  <leeming@lyx.org>
6789
6790         * LaTeX.C:
6791         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6792
6793 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6794
6795         * kbmap.C (getiso): add support for cyrillic and greek
6796
6797 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6798
6799         * BufferView.h:
6800         * BufferView.C:
6801         * BufferView_pimpl.h:
6802         * BufferView_pimpl.C: move bogus scrolling logic
6803           to xforms
6804
6805 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6806
6807         * lyxfunc.C:
6808         * BufferView_pimpl.C: view->resize() change
6809
6810 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6811
6812         * BufferView_pimpl.C: topCursorVisible
6813           prototype change
6814
6815 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6816
6817         * Makefile.am:
6818         * lyx_gui.h:
6819         * lyx_gui.C: move to frontends/
6820
6821         * main.C:
6822         * lyx_main.h:
6823         * lyx_main.C: changes from above
6824
6825 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6826
6827         * intl.C:
6828         * intl.h:
6829         * kbmap.C:
6830         * kbsequence.C:
6831         * lyx_cb.C:
6832         * lyx_main.C: minor tidy
6833
6834 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6835
6836         * BufferView_pimpl.h:
6837         * BufferView_pimpl.C:
6838         * BufferView.h:
6839         * BufferView.C: make painter() const,
6840           remove dead code
6841
6842         * BufferView2.C: use screen() accessor
6843
6844         * lyx_main.h:
6845         * lyx_main.C: some minor cleanup
6846
6847 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6848
6849         * BufferView_pimpl.h:
6850         * BufferView_pimpl.C: remove enter/leaveView,
6851           use workHeight()
6852
6853 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6854
6855         * BufferView.h:
6856         * BufferView.C:
6857         * BufferView2.C:
6858         * BufferView_pimpl.h:
6859         * BufferView_pimpl.C: only construct screen once,
6860           rename
6861
6862         * lyxrc.C: remove pointless comment
6863
6864 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6865
6866         * BufferView.h:
6867         * BufferView.C: remove active() and belowMouse()
6868
6869         * BufferView_pimpl.h:
6870         * BufferView_pimpl.C: use workarea() not workarea_,
6871           and make it use a scoped_ptr instead
6872
6873 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6874
6875         * lyx_gui.C: add debug message on BadWindow
6876
6877 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6878
6879         * sp_spell.C: fdopen is not part of the C++ standard.
6880
6881         * paragraph.C (InsetIterator): use >= instead of ==
6882
6883 2002-06-07  Angus Leeming  <leeming@lyx.org>
6884
6885         Fixes needed to compile with Compaq cxx 6.5.
6886         * BufferView_pimpl.C:
6887         * DepTable.C:
6888         * buffer.C:
6889         * converter.C:
6890         * encoding.C:
6891         * lyx_gui.C:
6892         * lyx_main.C:
6893         * lyxtextclasslist.C:
6894         * minibuffer.C:
6895         * sp_spell.C:
6896         * tabular_funcs.C:
6897         * vc-backend.C:
6898         all c-library variables have been moved into namespace std. Wrap
6899         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6900
6901         * lyxlength.C:
6902         * tabular-old.C:
6903         * tabular.C:
6904         Add a using std::abs declaration.
6905
6906         * kbmap.h (modifier_pair):
6907         * paragraph.h (InsetTable, InsetList):
6908         * lyxfont.h (FontBits):
6909         type definition made public.
6910
6911         * bufferlist.C (emergencyWriteAll): the compiler complains that
6912         there is more than one possible lyx::class_fun template to choose from.
6913         I re-named the void specialisation as lyx::void_class_fun.
6914
6915         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6916
6917         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6918         the compiler is is unable to find tostr in write_attribute.
6919
6920 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6921
6922         * buffer.C (sgmlError): hide #warning
6923
6924 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6925
6926         * xtl/*: get rid of xtl, which is not in use anyway
6927
6928         * LyXAction.C (init):
6929         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6930         were unimplemented xtl experimentation
6931
6932 2002-06-04  André Pönitz <poenitz@gmx.net>
6933
6934         * lyxfunc.C: disable array operation on simple formulae
6935
6936 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6937
6938         * converter.C: constify a bit
6939
6940 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6941
6942         * lyx_gui.C: check xforms version correctly
6943
6944 2002-04-30  Herbert Voss  <voss@lyx.org>
6945
6946         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6947         "keep" option
6948
6949 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6950
6951         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6952           attempt to register it with a VCS)
6953
6954 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6955
6956         * lyx_main.C (init): honor variables LYX_DIR_13x and
6957         LYX_USERDIR_13x
6958
6959 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6960
6961         * buffer.h:
6962         * buffer.C:
6963         * lyx_main.C: fix a crash on bad command line,
6964           and give a useful exit status on error
6965
6966         * lyxfunc.C (doImport): allow -i lyx to work
6967
6968 2002-03-30  André Pönitz <poenitz@gmx.net>
6969
6970         * lyxfunc.C: mathed font changes
6971
6972 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6973
6974         * LaTeX.C:
6975         * importer.h:
6976         * importer.C:
6977         * lyx_sty.h:
6978         * lyx_sty.C:
6979         * lyxlex.C:
6980         * lyxrow.h:
6981         * lyxtext.h:
6982         * paragraph.h:
6983         * paragraph.C:
6984         * texrow.h:
6985         * texrow.C:
6986         * text.C:
6987         * trans_mgr.h: srcdocs, and some minor cleanups
6988
6989 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6990
6991         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6992         call getFont all the time)
6993
6994 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6995
6996         * switch from SigC signals to boost::signals
6997
6998 2002-05-29  André Pönitz <poenitz@gmx.net>
6999
7000         * paragraph_pimpl.C (getChar): don't call size() too often...
7001
7002 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7003
7004         * paragraph_pimpl.C (insertChar): do not try to update tables when
7005         appending (pos == size())
7006
7007         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7008         in order to reduce drastically the number of comparisons needed to
7009         parse a large document
7010
7011 2002-05-29  André Pönitz <poenitz@gmx.net>
7012
7013         * text.C:
7014         * text2.C:
7015         * lyxtextclass.C:
7016         * sp_pspell.h:
7017         * textclasslist.[Ch]:
7018         * sp_ispell.h: whitespace change
7019
7020 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7021
7022         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7023         lyxaction directly now.
7024
7025 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7026
7027         * trans.C:
7028         * lyxfont.C:
7029         * lyxvc.C: remove unused headers
7030
7031 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7032
7033         * Makefile.am:
7034         * buffer.h:
7035         * undostack.h:
7036         * undostack.C:
7037         * undo_funcs.h:
7038         * undo_funcs.C: some cleanups. Use shared_ptr
7039           and a template for the undo stacks.
7040
7041 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7042
7043         * BufferView_pimpl.h:
7044         * BufferView_pimpl.C:
7045         * kbmap.h:
7046         * kbmap.C:
7047         * kbsequence.h:
7048         * kbsequence.C:
7049         * lyxfunc.h:
7050         * lyxfunc.C:
7051         * text2.C: use key_state/mouse_state
7052
7053 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7054
7055         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7056         and LSubstring
7057
7058         * chset.C: change include order
7059         (loadFile): use boost regex and get rid of LRegex and LSubstring
7060
7061         * Makefile.am (BOOST_LIBS): new variable
7062         (lyx_LDADD): use it
7063
7064         * LaTeX.C: change include order.
7065         (scanAuxFile): use boost regex and get rid of LRegex and
7066         LSubstring
7067         (deplog): ditto
7068
7069 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7070
7071         * ColorHandler.h:
7072         * ColorHandler.C:
7073         * FontInfo.h:
7074         * FontInfo.C: moved to frontends/xforms/
7075
7076         * FontLoader.h:
7077         * FontLoader.C: moved into frontends for GUIIzation
7078
7079         * Makefile.am:
7080         * lyx_gui.C:
7081         * lyxfont.C:
7082         * lyxfunc.C: changes from above
7083
7084 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7085
7086         * LColor.C: remove spurious X include
7087
7088         * BufferView_pimpl.C:
7089         * Makefile.am:
7090         * font.h:
7091         * font.C:
7092         * text.C:
7093         * text2.C: move font metrics to frontends/
7094
7095 2002-05-24  Juergen Vigna  <jug@sad.it>
7096
7097         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7098         setting the undo_cursor.
7099
7100         * ParagraphParameters.h: include local includes first.
7101
7102 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7103
7104         * BufferView_pimpl.C:
7105         * BufferView_pimpl.h:
7106         * Makefile.am:
7107         * WorkArea.h:
7108         * WorkArea.C:
7109         * screen.C: move WorkArea into frontends/
7110
7111         * lyxscreen.h:
7112         * screen.C:
7113         * text.C:
7114         * BufferView.C:
7115         * BufferView2.C: move LyXScreen into frontends/
7116
7117         * lyxlookup.h:
7118         * lyxlookup.C:
7119         * lyx_gui.C: move lyxlookup into frontends/xforms/
7120
7121 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7122
7123         * BufferView2.C:
7124         * BufferView_pimpl.C:
7125         * FontLoader.C:
7126         * LyXView.h:
7127         * LyXView.C:
7128         * Makefile.am:
7129         * WorkArea.C:
7130         * XFormsView.h:
7131         * XFormsView.C:
7132         * buffer.C:
7133         * bufferlist.C:
7134         * bufferview_funcs.C:
7135         * converter.C:
7136         * importer.C:
7137         * lyx_cb.C:
7138         * lyx_gui.C:
7139         * lyx_main.C:
7140         * lyx_find.C:
7141         * lyxfunc.C:
7142         * lyxvc.C:
7143         * minibuffer.C:
7144         * text.C:
7145         * text2.C:
7146         * trans.C:
7147         * vc-backend.C: move LyX/XFormsView into frontends/
7148
7149 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7150
7151         * Makefile.am:
7152         * PainterBase.C:
7153         * PainterBase.h:
7154         * Painter.C:
7155         * Painter.h:
7156         * WorkArea.C:
7157         * WorkArea.h:
7158         * screen.C:
7159         * tabular.C:
7160         * text.C:
7161         * text2.C: move Painter to frontends/
7162
7163 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7164
7165         * buffer.C: comment out some some code that depend upon lyx_format
7166         < 220
7167
7168         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7169         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7170
7171         * buffer.h (NO_COMPABILITY): turn off compability
7172
7173         * ColorHandler.C: include scoped_array.hpp
7174
7175         * font.C: Use more specific smart_ptr header.
7176         * Painter.C: ditto
7177         * gettext.C: ditto
7178         * ShareContainer.h: ditto
7179         * lyx_main.h: ditto
7180         * kbmap.h: ditto
7181         * FontInfo.h: ditto
7182         * BufferView_pimpl.h: ditto
7183         * ColorHandler.h: ditto
7184
7185         * kbmap.C (defkey): change call to shared_ptr::reset
7186
7187 2002-05-21  Juergen Vigna  <jug@sad.it>
7188
7189         * buffer.C (insertErtContents): fix to insert ert asis if it is
7190         non empty. Skip it completely if it contains only whitespaces.
7191
7192 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7193
7194         * BufferView_pimpl.C:
7195         * BufferView2.C: clear selection on paste (bug 393)
7196
7197 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7198
7199         * DepTable.C: include ctime
7200
7201 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7202
7203         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7204
7205 2002-05-14  Juergen Vigna  <jug@sad.it>
7206
7207         * text.C (breakParagraph): fixed function to honor the keepempty
7208         layout in the right maner and also to permit the right breaking
7209         algorithm on empty or non empyt keepempty paragraphs.
7210
7211         * paragraph.C (breakParagraph): we have to check also if the par
7212         is really empty (!size()) for isempty otherwise we do the wrong
7213         paragraph break.
7214
7215 2002-05-10  Juergen Vigna  <jug@sad.it>
7216
7217         * buffer.[Ch] : The following are only changes to the ert
7218         compatibility read reading old LaTeX layout and font stuff and
7219         convert it to ERTInsets.
7220
7221         * buffer.h: added isErtInset().
7222
7223         * buffer.C (struct ErtComp): add a fromlayout bool to check
7224         if we're inside a LaTeX layout.
7225         (isErtInset): new helper function.
7226         (insertErtContents): look for other ert insets before this one
7227         and insert the contents there, so that we don't have subsequent
7228         ERT insets with nothing between them. This way we create only one
7229         inset with multiple paragraphs. Also check if we don't insert only
7230         spaces ' ' as they are ignored anyway afterwards in the .tex file
7231         so if we have only spaces we will ignore this latex part in the
7232         new file.
7233         (parseSingleLyXformat2Token \\layout): better compatibility when
7234         reading layout-latex stuff.
7235         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7236         language tag.
7237         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7238         stuff after reading the inset only get the information back from
7239         the stack.
7240
7241 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7242
7243         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7244
7245         * LaTeXFeatures.C (getBabelOptions): New method.
7246
7247 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7248
7249         * BufferView_pimpl.C (Dispatch): work around missing argument for
7250         'layout'
7251
7252 2002-05-08  Juergen Vigna  <jug@sad.it>
7253
7254         * text.C (leftMargin): handle paragraph leftindent.
7255
7256         * paragraph.C (writeFile): write the new \\leftindent tag.
7257         (validate): handle leftindent code.
7258         (TeXEnvironment): handle paragraphleftindent code again.
7259
7260         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7261
7262         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7263         for paragrap_extra indent code and new token \\leftindent.
7264         (latexParagraphs): handle the leftindent as environment.
7265
7266         * ParameterStruct.h: added leftindent support.
7267
7268         * ParagraphParameters.C (leftIndent): added support functions for
7269         the paragraph left indent.
7270
7271         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7272         more appropriate.
7273
7274 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7275
7276         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7277         inside insetERT.
7278
7279         * text.C (computeBidiTables): No bidi in insetERT.
7280
7281         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7282         in RTL documents.
7283
7284 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7285
7286         * version.C.in: pre 5
7287
7288 2002-05-02  José Matos  <jamatos@fep.up.pt>
7289         * buffer.C (makeDocBookFile): white space changes, add newline to
7290         command styles.
7291         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7292
7293         * tabular.C (docBook): fix typo.
7294
7295 2002-05-03  Juergen Vigna  <jug@sad.it>
7296
7297         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7298         change in LyXText as we can not be sure it was not freed.
7299         (drawOneRow): remove unused code.
7300
7301         * text.C (drawInset): redo the calculation of the need_break_row as
7302         it could have a row which was already freed.
7303         (draw): look at the return value of drawInset and return false if
7304         it also returned false.
7305         (paintRowText): look at the return value of draw and return false if
7306         it also returned false.
7307
7308         * lyxtext.h: added bool return type to drawInset() and draw() so that
7309         if we have a change in the row so that the rowbreak has to be redone
7310         we abort drawing as it will be called again.
7311
7312 2002-05-02  Juergen Vigna  <jug@sad.it>
7313
7314         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7315         a change in the maintext also if we're inside an inset.
7316         (Dispatch): set the cursor again after a break line and after the
7317         screen has been updated as it could be we're in a different row.
7318
7319         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7320         to set the cursor behind the pargraph with > size().
7321         (setCursor): check also for the same paragraph when checking where
7322         to put the cursor if we have a NFR inset.
7323
7324         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7325         parts of layout read further up as it still was in the wrong
7326         position.
7327
7328 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7329
7330         * screen.C (drawFromTo): change sine fullRebreak always return
7331         true.
7332
7333         * buffer.C (parseSingleLyXformat2Token): reindent some
7334
7335         * BufferView_pimpl.C (update): change since fullRebreak always
7336         return true.
7337         (Dispatch): git rid of the last hardcoded "Standard"s.
7338
7339 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7340
7341         * text2.[Ch] (fullRebreak): make it return void now that we always
7342         returned true.
7343
7344 2002-04-30  Juergen Vigna  <jug@sad.it>
7345
7346         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7347         ert compatibility check for "latex" layout.
7348
7349 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7350
7351         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7352         minipages: use col% instead of p%, and also use the current font.
7353         (makeLaTeXFile): Fix use babel condition.
7354         (parseSingleLyXformat2Token): Correct font when reading old floats.
7355
7356 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7357
7358         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7359         inserting list of floats.
7360
7361 2002-04-25  Herbert Voss  <voss@lyx.org>
7362
7363         * MenuBackend.C (expand): don't add the graphics extensions to the
7364         export menu
7365
7366 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7367
7368         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7369         non-existing layout, do not complain if it was the default layout
7370         of the original class (bug #342)
7371
7372 2002-04-24  Juergen Vigna  <jug@sad.it>
7373
7374         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7375         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7376
7377 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7378
7379         * buffer.C (getBibkeyList): If using \bibliography, return the
7380         option field with the reference itself. Enables us to provide natbib
7381         support when using \bibliography.
7382
7383 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7384
7385         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7386
7387         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7388         natbib is provided by the LaTeX class.
7389
7390 2002-04-23  Juergen Vigna  <jug@sad.it>
7391
7392         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7393         Wakeup functions.
7394
7395         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7396
7397 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7398
7399         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7400
7401         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7402         ensuremath around textordmasculine, textordfeminine and
7403         textdegree.
7404
7405 2002-04-19  Juergen Vigna  <jug@sad.it>
7406
7407         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7408         reinitializing the buffer otherwise row-dimensions may be wrong.
7409         (update): reset also the selection cursors if they do exits otherwise
7410         their x/y positions may be wrong.
7411
7412         * text2.C (cursorDown): don't enter the inset if we came from a row
7413         above and are one row over the inset.
7414
7415         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7416         really leaving an inset.
7417
7418 2002-04-18  Juergen Vigna  <jug@sad.it>
7419
7420         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7421         of the selected paragraph does not have the selected layout also if
7422         the last one had!
7423
7424         * text2.C (setLayout): fixed bug which did not change last selected
7425         paragraph.
7426
7427         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7428         changed the read and substituted \\end_float with \\end_inset!
7429
7430         * BufferView_pimpl.C (cursorPrevious):
7431         (cursorNext): fixed to make it work with rows heigher than the work
7432         area without moving the cursor only the draw of the row.
7433         (workAreaMotionNotify): fix jumping over high rows.
7434
7435 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7436
7437         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7438         Ressler.
7439
7440 2002-04-16  Juergen Vigna  <jug@sad.it>
7441
7442         * text2.C (setCursor): set also the irow().
7443         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7444         (cursorUp):
7445         (cursorDown): support for locking an inset if the x_fix value goes
7446         inside it. That way I can transverse insets too with cursor up/down.
7447
7448         * lyxrow.h: added irow helper function same as other (i) functions.
7449
7450         * BufferView_pimpl.C (cursorPrevious):
7451         (cursorNext): fixed for insets!
7452
7453 2002-04-15  Juergen Vigna  <jug@sad.it>
7454
7455         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7456         position otherwise it is wrong in some cases.
7457
7458         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7459         inside the inset before the call.
7460
7461 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7462
7463         * buffer.[Ch] (getBibkeyList): make it const.
7464
7465 2002-04-12  Juergen Vigna  <jug@sad.it>
7466
7467         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7468
7469         * text2.C (getCursorX): new helper function
7470         (setCursor): compute also ix_
7471         (setCursorFromCoordinates): set also ix.
7472
7473         * lyxcursor.h: added ix_ and helper functions.
7474
7475         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7476
7477         * buffer.C (insertStringAsLines): dont break paragraph if the this
7478         paragraph is inside an inset which does not permit it!
7479
7480         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7481         also with no chars on this paragraph.
7482         (paintRowText): only paint stuff if it's inside the workarea!
7483
7484         * paragraph.C (breakParagraph): honor keepempty flag and break the
7485         paragraph always below not above.
7486
7487         * BufferView2.C (unlockInset): update the paragraph layout on inset
7488         unlock as we changed paragraph in such a case.
7489
7490         * lyxfind.C (LyXFind): clear the former selection if not found!
7491
7492         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7493         again called in insertChar().
7494
7495         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7496         an inset which uses the whole row!
7497         (rightMargin): ditto.
7498         (insertChar): force a rebreak if we inserted an inset!
7499
7500 2002-03-28  Herbert Voss  <voss@lyx.org>
7501
7502         * lyxlength.[Ch]: add inBP() to get the right PS-point
7503         units (BigPoint). With inPixels we have rounding errors
7504
7505 2002-04-11  Juergen Vigna  <jug@sad.it>
7506
7507         * text2.C (setCursorFromCoordinates): set iy to the right value.
7508         (setCursor): add check if row->previous exists!
7509
7510         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7511         an old float_type as this was the case in the old code!
7512
7513         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7514
7515         * BufferView2.C (showLockedInsetCursor): use iy
7516         (fitLockedInsetCursor): ditto
7517
7518         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7519         locked insets as there we have the right value now.
7520
7521         * lyxcursor.C: added iy_ variable and iy functions to set to the
7522         baseline of cursor-y of the locked inset.
7523
7524         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7525         (setCursor): fixed for insets which need a full row.
7526
7527         * text.C (rowLastPrintable): don't ignore the last space when before
7528         an inset which needs a full row.
7529         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7530         as last character of a row when before a inset which needs a full row.
7531
7532 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7533
7534         * version.C.in: update date
7535
7536         * text2.C (fullRebreak): try to always return true and see what
7537         happens...
7538
7539 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7540
7541         * MenuBackend.C (expand): use Floating::listName
7542
7543         * FloatList.C (FloatList): add listName argument to the built-in
7544         floats
7545
7546         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7547         text associated with the float.
7548
7549 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7550
7551         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7552
7553 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7554
7555         * ShareContainer.h: add a couple of missing typenames.
7556
7557 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7558
7559         * lyxrc.C (getDescription): use _() correctly rather than N_().
7560
7561 2002-03-28  Herbert Voss  <voss@lyx.org>
7562
7563         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7564         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7565
7566 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7567
7568         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7569         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7570
7571 2002-03-29  Juergen Vigna  <jug@sad.it>
7572
7573         * lyxfunc.C (dispatch): add a missing fitCursor call.
7574
7575         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7576         it was scrolled by a cursor move, so return the bool status.
7577
7578         * BufferView.C (fitCursor): return the bool flag also to the outside
7579         world as this is needed.
7580
7581         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7582
7583         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7584         call the edit() as it is not needed (and wrong) IMO.
7585         (workAreaButtonPress): set the screen_first variable before evt.
7586         unlock the inset as this may change screen_first and then we have
7587         a wrong y position for the click!
7588
7589 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7590
7591         * MenuBackend.C (expand): another translation that I missed
7592
7593 2002-03-28  Juergen Vigna  <jug@sad.it>
7594
7595         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7596
7597         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7598
7599 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7600
7601         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7602
7603         * MenuBackend.C (expand): fix export/view/update when there is no
7604         document open.
7605
7606 2002-03-27  Herbert Voss  <voss@lyx.org>
7607
7608         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7609         and text%
7610
7611 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7612
7613         * bufferview_funcs.C (currentState): only show paragraph number
7614         for is DEVEL_VERSION is set.
7615
7616         * lyxfunc.C (dispatch): put warning in INFO channel
7617
7618         * MenuBackend.C (expand): translate the name of floats
7619
7620         * FloatList.C (FloatList): mark the float names for translation
7621
7622         * converter.C (convert): use LibScriptSearch
7623
7624 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7625
7626         * MenuBackend.C (defaults): fix default menu (we might as well get
7627         rid of it...)
7628
7629 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7630
7631         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7632         directory.
7633
7634 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7635
7636         * lyxvc.C: reorder includes.
7637
7638 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7639
7640         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7641           properly
7642
7643 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7644
7645         * CutAndPaste.C: change layouts earlier on paste
7646           to avoid crashing when calling getFont()
7647
7648 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7649
7650         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7651         irritating #error.
7652
7653 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7654
7655         * WorkArea.C: remove 'Pending' debug message.
7656
7657         * most files: ws cleanup
7658
7659         * buffer.[Ch]: ws changes
7660
7661         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7662
7663 2002-03-21  Juergen Vigna  <jug@sad.it>
7664
7665         * tabular.C (SetMultiColumn): collapse also the contents of the
7666         cells and set the last border right. Added a Buffer const * param.
7667
7668 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7669
7670         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7671         linking or not.
7672
7673 2002-03-19  Juergen Vigna  <jug@sad.it>
7674
7675         * text2.C (clearSelection): reset also xsel_cache.
7676
7677         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7678         where it needs to be called (John tells us to do so too :)
7679         (selectionLost): reset sel_cache.
7680
7681         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7682
7683 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7684
7685         * text2.C (setCursorIntern): put debuging code in INSETS channel
7686
7687 2002-03-19  André Pönitz <poenitz@gmx.net>
7688
7689         * lyxfunc.C: tiny whitespace change
7690
7691 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7692
7693         * ToolbarDefaults.C (init):
7694         * LyXAction.C (init):
7695         * commandtags.h:
7696         * BufferView_pimpl.C (Dispatch):
7697         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7698
7699 2002-03-19  Allan Rae  <rae@lyx.org>
7700
7701         * exporter.C (Export): removeAutoInsets before doing anything else.
7702         While I've just introduced a dependency on BufferView this really is
7703         the best place to clean the buffer otherwise you need to cleanup in
7704         a dozen places before calling export or cleanup in a dozen functions
7705         that export calls.
7706
7707         * converter.C (runLaTeX):
7708         (scanLog): Better handling of removeAutoInsets and screen updates.
7709
7710         * lyxfunc.C (dispatch): small whitespace changes
7711
7712 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7713
7714         * WorkArea.C (C_WorkAreaEvent): return a value.
7715         (event_cb): return 1 if we handled the event, 0 otherwise.
7716
7717         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7718
7719 2002-03-18  Juergen Vigna  <jug@sad.it>
7720
7721         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7722         (GetAdditionalWidth): ditto.
7723         (RightLine): ditto.
7724         (LeftLine): ditto.
7725
7726         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7727         inset if we're there actually (probably not used right now but this
7728         is the direction to go for unifying code).
7729         (paste): disable code to clear the selection.
7730
7731         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7732         inside an InsetText and move the check further up as it is in the
7733         wrong place.
7734
7735         * text2.C (pasteSelection): set a selection over the pasted text.
7736
7737 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7738
7739         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7740         and libgraphics to build on Cygwin.
7741
7742 2002-03-15  Juergen Vigna  <jug@sad.it>
7743
7744         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7745         inserting an Inset into the paragraph. I know this is not the best
7746         fix but we already use current_view in CutAndPaste so we will remove
7747         all of it's using at the same time.
7748
7749         * buffer.C (sgmlError): deactivated function till it is rewritten in
7750         the right mode, now it can create problems.
7751
7752         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7753         before accessing it.
7754
7755 2002-03-14  Juergen Vigna  <jug@sad.it>
7756
7757         * undo_funcs.C (textHandleUndo): do the right thing when updating
7758         the inset after the undo/redo.
7759
7760         * text2.C (setCursor): just some testcode for #44 not ready yet.
7761
7762         * undo_funcs.C (textHandleUndo): set the next() and previous()
7763         pointers of the paragraph to 0 before deleting otherwise we have
7764         problems with the Paragraph::[destructor].
7765
7766         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7767         on a paragraph insertion.
7768
7769 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7770
7771         * buffer.C (asciiParagraph): use += operator for char append to
7772         string.
7773
7774         * paragraph.C (getFontSettings): compare >= not just >
7775         (highestFontInRange): ditto
7776         (setFont): ditto
7777
7778 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7779
7780         * paragraph.C: change several algorithm to be more appripriate for
7781         the problem domain. This is lookip in FontList and in the InsetList.
7782
7783 2002-03-13  André Pönitz <poenitz@gmx.net>
7784
7785         * commandtags.h:
7786         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7787
7788 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7789
7790         * commandtags.h:
7791         * LyXAction.C:
7792         * lyxfunc.C:
7793         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7794
7795 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7796
7797         * Painter.C (display): anon helper function, adjust code for this
7798         change.
7799         (pixmap): remove function.
7800
7801         * Painter.h: remove private display variable.
7802
7803         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7804
7805 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7806
7807         * WorkArea.[Ch]: remove figinset_canvas cruft.
7808
7809 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7810
7811         * lyxtextclass.C (operator): add one item cache optimization.
7812
7813         * bufferlist.h: doxy changes
7814
7815         * bufferlist.C: ws changes
7816
7817         * DepTable.[Ch] (ext_exist): place const in the right spot.
7818
7819         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7820         call resizeInsets.
7821         (workAreaExpose): call resizeInsets when the with BufferView changes.
7822         (Dispatch): adjust for protectedBlank removal
7823         (specialChar): call updateInset if the insert went ok.
7824
7825         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7826         specialChar instead.
7827
7828         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7829
7830         * BufferView.h: doxy change
7831
7832         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7833
7834         * lyxtextclass.C (operator[]): remove non-const version
7835         (defaultLayout): remove non-const version
7836
7837 2002-03-12  Juergen Vigna  <jug@sad.it>
7838
7839         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7840         did resize the LyXText too.
7841
7842         * buffer.C (readLyXformat2): set layout information on newly allocated
7843         paragraphs.
7844
7845         * tabular.C (OldFormatRead): set layout information on the paragraph.
7846
7847 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7848
7849         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7850
7851 2002-03-11  Juergen Vigna  <jug@sad.it>
7852
7853         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7854         plainly wrong.
7855         (resizeCurrentBuffer): force also the insets to resize themselfes.
7856         (moveCursorUpdate): fixed up for InsetText.
7857
7858 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7859
7860         * commandtags.h:
7861         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7862         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7863         value of Dialogs::tooltipsEnabled().
7864         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7865
7866 2002-03-08  Juergen Vigna  <jug@sad.it>
7867
7868         * BufferView_pimpl.C (updateInset): update inset inside inset also
7869         if it isn't inside theLockingInset().
7870
7871 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7872
7873         * buffer.C (asciiParagraph): redo some of the word and line length
7874         handling.
7875         (getLists): look for Caption instead of caption.
7876
7877 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7878
7879         * buffer.C (Buffer): initialize niceFile to true
7880         (makeLaTeXFile):
7881         (makeLinuxDocFile):
7882         (makeDocBookFile): make sure niceFile is true on exit
7883
7884 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7885
7886         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7887
7888 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7889
7890         * LyXSendto.C: remove.
7891         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7892         * lyx_gui.C: remove now-redundant comment.
7893         * ColorHandler.h: remove forward declaration of class WorkArea.
7894         * lyxfunc.C: remove #include "WorkArea.h".
7895
7896 2002-03-07  Juergen Vigna  <jug@sad.it>
7897
7898         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7899         got moved away with the DEPM and also set the inset_owner always
7900         right which before could have been omitted.
7901
7902 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7903
7904         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7905         wanted layout is not found.
7906
7907 2002-03-07  Juergen Vigna  <jug@sad.it>
7908
7909         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7910
7911 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7912
7913         * paragraph.C (breakParagraph): use default layout not layout of
7914         prev paragraph.
7915         (Paragraph): clear ParagraphParameters.
7916
7917 2002-03-06  Juergen Vigna  <jug@sad.it>
7918
7919         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7920         otherwise it would not be a valid lenght. Fixed a special case in
7921         the minipage compatibility read where we end the document with a
7922         minipage.
7923
7924         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7925         was set as it could be 0 for InsetTexts first entry.
7926
7927 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7928
7929         * paragraph.C (writeFile): if layout is empty write out
7930         defaultLayoutName().
7931
7932         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7933         file without named layout we set layout to defaultLayoutName().
7934
7935 2002-03-06  Juergen Vigna  <jug@sad.it>
7936
7937         * CutAndPaste.C (copySelection): set layout for new paragraph.
7938
7939         * text.C (prepareToPrint): leave ERT inset left aligned
7940         (leftMargin): don't indent paragraphs inside ERT insets
7941
7942 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7943
7944         * paragraph.C (breakParagraph): dont call clear do the work manually
7945
7946         * paragraph.[Ch] (clear): remove function
7947
7948 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7949
7950         * paragraph.C (Paragraph): dont call clear, the work has already
7951         been done.
7952
7953         * lyxtextclass.C (operator): assert if n is empty
7954
7955         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7956         work manually instead.
7957
7958 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7959
7960         * BufferView_pimpl.C: protect selectionLost against text == 0
7961
7962 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7963
7964         * text.C (breakParagraph): fix a setting layout to '0' problem.
7965
7966 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7967
7968         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7969         final location of file, for the included files, and graphics.
7970
7971 2002-03-05  Juergen Vigna  <jug@sad.it>
7972
7973         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7974
7975 2002-03-04  Juergen Vigna  <jug@sad.it>
7976
7977         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7978
7979         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7980         last column of multicolumn cells.
7981         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7982
7983 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7984
7985         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7986         file if it doesn't go to a temporary file.
7987
7988         * buffer.C (sgmlOpenTag):
7989         (sgmlCloseTag):  remove extra newline insertion.
7990
7991 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7992
7993         * text.C (getRowNearY): comment out debug msg
7994
7995 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7996
7997         * text2.C: first -> first_y
7998
7999         * text.C (getRowNearY): add some attemts at a possible
8000         optimization, not working.
8001
8002         * tabular.[Ch]: add BufferParams to several function so that newly
8003         created paragraph can be initialized to he default layotu for the
8004         buffers textclass.
8005
8006         * tabular-old.C (ReadOld): add buf->params to call of Init
8007
8008         * screen.C: rename text->first to text->first_y
8009
8010         * paragraph.C (breakParagraph): always set layout in the broken
8011         paragraph
8012
8013         * lyxtextclass.C (Read): remove lowercase
8014         (hasLayout): ditto
8015         (operator): ditto
8016         (delete_layout): ditto
8017
8018         * lyxtext.h: rename first -> first_y
8019
8020         * lyxlayout.C (Read): remove lowercase
8021         (name): ditto
8022         (setName): ditto
8023         (obsoleted_by): ditto
8024
8025         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8026
8027         * buffer.C (insertErtContents): add params are to InsetERT
8028         (parseSingleLyXformat2Token): add code to check if a paragraphs
8029         layout really exist.
8030         (parseSingleLyXformat2Token): add params to several inset
8031         constructors
8032         (asciiParagraph): remove lowercase, do the layout comparisons with
8033         no_case
8034
8035         * BufferView_pimpl.C (cursorNext): first -> first_y
8036         (resizeCurrentBuffer): first -> first_y
8037         (updateScrollbar): first -> first_y
8038         (scrollCB): first -> first_y
8039         (workAreaMotionNotify): first -> first_y
8040         (workAreaButtonPress): first -> first_y
8041         (checkInsetHit): first -> first_y
8042         (cursorPrevious): first -> first_y
8043         (cursorNext): first -> first_y
8044         (Dispatch): add buffer_->params to severl inset contructors
8045
8046 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8047
8048         * lyxlayout.C (Read): remove some debug info that I forgot.
8049
8050         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8051         clean up the code slightly.
8052         (makeLinuxDocFile): ditto
8053         (makeDocBookFile): ditto
8054
8055         * text2.C: layout as string
8056
8057         * text.C: layout as string
8058
8059         * paragraph_pimpl.C: layout as string
8060
8061         * paragraph.[Ch]: layout as string
8062
8063         * lyxtextclasslist.[Ch]: layout as string
8064
8065         * lyxtextclass.[Ch]: layout as string
8066
8067         * lyxtext.h: layout as string
8068
8069         * lyxlayout.[Ch]: layout as string
8070
8071         * lyx_cb.C: layout as string
8072
8073         * bufferview_funcs.C: layout as string
8074
8075         * bufferparams.C: layout as string
8076
8077         * buffer.C: layout as string
8078
8079         * LyXView.[Ch]: layout as string
8080
8081         * LaTeXFeatures.[Ch]: layout as string
8082
8083         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8084
8085         * BufferView_pimpl.C: change current_layout to string, remove
8086         lyx::layout_type.
8087         (Dispatch):
8088         (smartQuote):
8089         (insertInset):
8090         (workAreaButtonRelease): layout as string
8091
8092         * BufferView2.C (unlockInset): adjust
8093
8094         * vspace.C (asLatexCommand): use an explict temp variable.
8095
8096 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8097
8098         * Makefile.am: use FRONTEND_*
8099
8100 2002-03-01  Juergen Vigna  <jug@sad.it>
8101
8102         * tabular.C (SetWidthOfMulticolCell): changed to something better
8103         I hope but still work in progress.
8104         (recalculateMulticolumnsOfColumn): renamed function from
8105         recalculateMulticolCells as it is more appropriate now.
8106         (SetWidthOfCell): calculate multicols better.
8107
8108 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8109
8110         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8111
8112         * lyxfunc.C (processKeySym): print sequence also if it is
8113         `deleted' (complete)
8114
8115         * kbsequence.C (print): print sequence even if it is deleted
8116         (complete would be a better word, actually).
8117
8118         * lyxfunc.C (dispatch): print complete options after a prefix key
8119
8120         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8121
8122 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8123
8124         * text2.C (setCharFont): eliminate setCharFont code duplication.
8125
8126 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8127
8128         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8129         LFUN_TABULAR_FEATURE (bug #177)
8130
8131 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8132
8133         * Makefile.am: remove figure.h
8134
8135 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8136
8137         * Bufferview_pimpl.C:
8138         * CutAndPasteC:
8139         * LaTeX.C:
8140         * LyXSendto.C:
8141         * buffer.C:
8142         * bufferlist.C:
8143         * converter.C:
8144         * language.C:
8145         * lyxfunc.C:
8146         * lyxvc.C:
8147         * paragraph.C:
8148         * text.C:
8149         * text2.C: remove #include "lyx_gui_misc.h".
8150
8151         * LaTeX.C: added #include <cstdio>
8152
8153 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8154
8155         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8156         that the paragraph following this one can have.
8157
8158         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8159
8160         * vspace.C (asLatexCommand): fix bogus gcc warning
8161
8162         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8163
8164 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8165
8166         * text2.C (setLayout): get rid of redundant code
8167
8168 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8169
8170         * text2.C (incDepth): make sure depth cannot be increased beyond
8171         reasonable values.
8172
8173 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8174
8175         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8176         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8177
8178         * PainterBase.h (image):
8179         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8180         a LyXImage const *.
8181
8182 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * BufferView.C:
8185         * BufferView.h:
8186         * BufferView_pimpl.C:
8187         * BufferView_pimpl.h:
8188         * LaTeXFeatures.C:
8189         * LyXAction.C:
8190         * LyXView.C:
8191         * Makefile.am:
8192         * UpdateList.h:
8193         * UpdateList.C:
8194         * buffer.C:
8195         * figure.h:
8196         * figureForm.C:
8197         * figureForm.h:
8198         * figure_form.C:
8199         * figure_form.h:
8200         * lyx_cb.C:
8201         * lyx_gui.C:
8202         * lyx_gui_misc.C:
8203         * lyxfunc.C:
8204         * sp_base.h:
8205         * sp_ispell.h:
8206         * sp_pspell.h:
8207         * sp_spell.C: remove fig inset, and the crap house of
8208           cards that follows it
8209
8210 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8211
8212         * Makefile.am:
8213         * lyxserver.C:
8214         * os2_defines.h:
8215         * os2_errortable.h:
8216         * nt_defines.h: move .h into support/
8217
8218         * vms_defines.h: remove
8219
8220         * WorkArea.C: add space in debug output
8221
8222         * text2.C:
8223         * paragraph.C:
8224         * buffer.C: add WITH_WARNINGS
8225
8226         * vc-backend.h:
8227         * vc-backend.C:
8228         * bufferlist.C: s/retrive/retrieve/, add docs
8229
8230         * vspace.h:
8231         * vspace.C:
8232         * kbmap.h:
8233         * lyxlength.h:
8234         * lyxgluelength.h:
8235         * length_common.h:
8236         * chset.h:
8237         * chset.C: add docs
8238
8239         * lyxgui.C: add ID to X error handler
8240
8241         * lyxtestclass.c: fix typo
8242
8243 2002-02-26  Juergen Vigna  <jug@sad.it>
8244
8245         * tabular_funcs.C (write_attribute): changed so that some default
8246         attributes are not written at all.
8247         (getTokenValue): set default values before trying to read the
8248         value so we have the return value always set as default if we don't
8249         find the token we search for.
8250
8251         * tabular.C (Write): write bools as bools not as strings!
8252
8253 2002-02-22  Juergen Vigna  <jug@sad.it>
8254
8255         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8256         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8257
8258         * text.C (leftMargin): don't add an indent for paragraphs inside
8259         tabular cells (fix #208).
8260
8261 2002-02-21  José Matos  <jamatos@fep.up.pt>
8262
8263         * tabular.C (docBook): fixed support for long tables.
8264
8265 2002-02-20  Juergen Vigna  <jug@sad.it>
8266
8267         * text2.C (getFont): get the drawing font of the Inset if this
8268         paragraph is inside an inset (only important for InsetERT for now).
8269
8270         * buffer.C (insertErtContents): use new lanugage params in ERT
8271         constructor.
8272
8273         * CutAndPaste.C: commenting out seemingly uneeded code.
8274
8275 2002-02-19  Allan Rae  <rae@lyx.org>
8276
8277         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8278         Iterators might be simple to use but they also get invalidated.
8279         (removeAutoInsets): renamed saved cursor tracking variables and added
8280         some comments to clarify what everything does.
8281
8282 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8283
8284         * Chktex.C:
8285         * LaTeX.C:
8286         * LyXSendto.C:
8287         * converter.C:
8288         * lyx_cb.C:
8289         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8290         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8291
8292         * lyxfunc.C:
8293         * vc-backend.h: remove #include "support/syscall.h"
8294
8295         * LaTeX.C:
8296         * LyXSendto.C:
8297         * converter.C: rearrange #includes in Lars' approved fashion.
8298
8299         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8300         forward declare class Timeout in the header file.
8301
8302         * XFormsView.C: changes due to the above.
8303
8304         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8305         similar to LyXView.
8306
8307         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8308         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8309
8310 2002-02-18  José Matos  <jamatos@fep.up.pt>
8311
8312         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8313         insets contents.
8314
8315 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8316
8317         * a lot of small ws changes
8318         * add a lot of using std::XXX
8319         * use std construcs some places where approp.
8320         * use some exisint stuff from lyxfunctional where approp.
8321         * Make file changes to use partial linking (lets test this now...)
8322
8323 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8324
8325         * Chktex.C:
8326         * buffer.C:
8327         remove #include "support/syscontr.h" as it's redundant. Always has been.
8328
8329         * Chktex.C:
8330         * LaTeX.C:
8331         * LyXSendto.C:
8332         * converter.C:
8333         * lyx_cb.C:
8334         * vc-backend.C:
8335         change Systemcalls::System to Systemcalls::Wait and
8336         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8337         No change of functionality, just reflects the stripped down Systemcalls
8338         class.
8339
8340 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8341
8342         * debug.[Ch]: add a GRAPHICS type to the enum.
8343
8344 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8345
8346         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8347
8348         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8349         there is an inset.
8350
8351 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8352
8353         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8354         match the changes below.
8355
8356         * text2.C (toggleInset): if there is not editable inset at cursor
8357         position, try to see if cursor is _inside_ a collapsable inset
8358         and close it.
8359
8360 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8361
8362         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8363         document menu has a nice checkbox
8364
8365 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8366
8367         * lyxlength.C (asLatexString): change PW to output as percent of
8368         \textwidth.
8369
8370         * lengthcommon.C: change '%' to 't%'
8371
8372         * lyxfunc.C (dispatch): a few comments from Martin
8373
8374 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8375
8376         * WorkArea.h:
8377         * WorkArea.C:
8378         * BufferView_pimpl.h:
8379         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8380           the X selection.
8381
8382 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8383
8384         * vspace.C (inPixels): fix compiler warning
8385
8386 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8387
8388         * lyxfunc.C (getStatus): fix status message for disabled commands.
8389
8390 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8391
8392         * BufferView_pimpl.C: fix crash on close buffer
8393         during selection (#227)
8394
8395 2002-01-27  Herbert Voss  <voss@lyx.org>
8396
8397         * buffer.C: link old Figure to new graphic inset
8398
8399 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8400
8401         * FontLoader.C (getFontinfo): Change the latex font names in order
8402         to match the names of type1inst.
8403
8404 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8405
8406         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8407
8408         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8409         (extchanged): ditto
8410         (ext_exist): ditto
8411         (remove_files_with_extension): ditto
8412         (remove_file): ditto
8413         (write): ditto
8414
8415         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8416         document is smaller than the work area height. Do not initialize
8417         static variables to 0.
8418
8419 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8420
8421         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8422
8423         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8424         LFUN_LAYOUT_PARAGRAPHS.
8425
8426         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8427         tabular. It is possible to provide a possible cell, which will
8428         typically be the actcell from the corresponding insettabular
8429
8430         * lyxfunc.C (getStatus): small cleanup; disable
8431         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8432         true
8433
8434 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8435
8436         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8437
8438         * paragraph.C (startTeXParParams):
8439         (endTeXParParams): new methods. The LaTeX code to
8440         start/end paragraph formatting
8441         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8442         empty (fixes bug #200)
8443
8444         * vspace.C (inPixels): adapt to the change below
8445         (inPixels): [later] more cleanups (remove unused variables)
8446
8447         * lyxlength.C (inPixels): change to use a width and a height as
8448         parameter.
8449
8450 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8451
8452         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8453         Replaced with \paperwidth
8454
8455         * DepTable.C (insert): add std:: qualifier
8456
8457 2002-01-18  Allan Rae  <rae@lyx.org>
8458
8459         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8460         updated also?
8461
8462         * text.C (drawInset): Turned out I didn't know enough about how
8463         rebreaking worked.  This fixes most of the redraw problems.  I see
8464         an occasional cursor trail when a line is broken now and the cursor
8465         placement can seem out by a few pixels also after a rebreak.
8466
8467 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8468
8469         * buffer.C (parseSingleLyXformat2Token): update because minipage
8470         width is now a LyXLength
8471
8472         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8473
8474         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8475         math insets
8476
8477 2002-01-17  Juergen Vigna  <jug@sad.it>
8478
8479         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8480
8481         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8482         is set correctly and the inset is updated correctly.
8483
8484 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8485
8486         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8487         the beginning of the loop.
8488
8489 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8490
8491         * lyxrc.C: improve help for use_scalable_fonts
8492
8493 2002-01-17  Allan Rae  <rae@lyx.org>
8494
8495         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8496
8497 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8498
8499         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8500         make sure to set their inset_owner to the right value (bug #171)
8501
8502 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8503
8504         * DepTable.h
8505         * DepTable.C: Implement mtime checking to reduce time spent doing
8506         CRCs.
8507
8508 2002-01-16  Juergen Vigna  <jug@sad.it>
8509
8510         * tabular.C (GetAdditionalHeight): one of error fixed.
8511
8512         * lyxrc.C (output): small fix in writing use_pspell.
8513
8514 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8515
8516         * sp_base.h: #include LString.h
8517
8518 2002-01-16  Allan Rae  <rae@lyx.org>
8519
8520         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8521         Can someone check this please?
8522
8523         * text.C (drawInset): It was possible that p.row would be removed by
8524         breakAgainOneRow upsetting a few other settings.  There may be another
8525         small tweak possible by setting need_break_row = 0 when p.row has been
8526         removed but I don't know enough about the logic here.
8527
8528 2002-01-15  Allan Rae  <rae@lyx.org>
8529
8530         * text.C (insertChar): removed conditional truism.
8531
8532         * BufferView2.C (removeAutoInsets): More tweaks.
8533         cur_par_prev could be a stray pointer.  Check for trailing empty line
8534         in case last line was cur_par and only had an error inset on it.
8535
8536 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8537
8538         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8539         absolute
8540
8541         * vc-backend.C (most methods):
8542         * exporter.C (Export):
8543         * converter.C (convert):
8544         (runLaTeX):
8545         * LyXSendto.C (SendtoApplyCB):
8546         * lyxfunc.C (dispatch):
8547         (menuNew):
8548         (open):
8549         (doImport):
8550         * lyx_cb.C (AutoSave):
8551         (InsertAsciiFile):
8552         * BufferView_pimpl.C (MenuInsertLyXFile):
8553         * buffer.C (runChktex): use Buffer::filePath().
8554
8555         * buffer.h: rename filename to filename_; rename filepath to
8556         filepath_ and make it private
8557         (filePath): new method
8558
8559         * buffer.C (writeFile): use fileName()
8560         (getLatexName):
8561
8562         * lyx_main.C (init): fix starting  of LyX when the binary is a
8563         link from so,ewhere else.
8564
8565         * minibuffer.C: include <cctype> for isprint
8566
8567 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8568
8569         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8570         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8571         name clash with InsetCollapsable's width function.
8572
8573 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8574
8575         * lastfiles.C: include <iterator>
8576
8577 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8578
8579         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8580         std::count.
8581
8582         * buffer.C (makeLaTeXFile): ditto.
8583         Also make loop operation more transparent.
8584
8585 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8586
8587         * ToolbarDefaults.C: remove trailing comma closing namespace.
8588
8589         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8590
8591         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8592         as in WorkArea.
8593
8594         * trans.C (Load): comment out unused variable, allowed.
8595
8596 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8597
8598         * minibuffer.[Ch] (append_char): new method to recieve input from the
8599         drop-down completion browser. If a key was pressed, then recieve this
8600         char and append it to the existing string.
8601         (peek_event): modify the positioning data passed to the completion
8602         browser so that it can be placed above the minibuffer rather than below.
8603 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8604
8605         * LyXAction.C (init): alloe error-next for readonly documents.
8606
8607         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8608         count.
8609
8610 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8611
8612         * bufferlist.C (readFile): create the buffer _after_ checking that
8613         the file exists.
8614
8615         * lyxfunc.C (verboseDispatch): fix handling of arguments
8616
8617         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8618
8619         * lyxrc.C: use string::erase() instead of initializing to "".
8620
8621
8622 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8623
8624         * BufferView_pimpl.h:
8625         * BufferView_pimpl.C:
8626         * WorkArea.h:
8627         * WorkArea.C:
8628         * text2.C: tell X when we have made a selection for copying
8629
8630 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8631
8632         * BufferView_pimpl.C (MenuInsertLyXFile):
8633         * lyxfunc.C (menuNew):
8634         (open):
8635         (doImport): add shortcuts to directory buttons
8636
8637         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8638         open a float)
8639
8640         * lyxfunc.C (setStatusMessage):
8641         (getStatusMessage): new methods
8642         (getStatus):use setStatusMessage instead of setErrorMessage
8643         (dispatch): when function is disabled, set error message here
8644         [instead of in getStatus previously]
8645
8646         * BufferView_pimpl.C (workAreaButtonRelease): update
8647         toolbar/menubar here too.
8648
8649 2002-01-13  Allan Rae  <rae@lyx.org>
8650
8651         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8652         Now seems indestructible.  Remaining task is to audit all other
8653         code affected by deleteEmptyParagraphMechanism.  One small quirk
8654         left is that an empty document with an error in the preamble can
8655         be made to report an error but no error box appears.  I don't know
8656         where it goes.
8657         (removeAutoInsets): Improved comments.
8658
8659 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8660
8661         * Thesaurus.h:
8662         * Thesaurus.C: update for Aiksaurus 0.14
8663
8664 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8665
8666         * text2.C (firstParagraph): removed member function, all uses
8667         replaces with ownerParagraph
8668         (redoParagraphs): here
8669         (updateInset): here
8670         (toggleAppendix): here
8671         * BufferView2.C (insertErrors): here
8672         (setCursorFromRow): here
8673
8674 2002-01-13  Allan Rae  <rae@lyx.org>
8675
8676         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8677         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8678         There is still a way to segfault this although you may have to do this
8679         multiple times: Have an InsetERT with an unknown command in it.
8680         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8681         <down-arrow>, <Enter> again, View->DVI, BANG!
8682
8683         * text2.C (setCursor):
8684         (deleteEmptyParagraphMechanism):
8685         * lyxtext.h (setCursor):
8686         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8687         Making use of the return value may help fix other bugs.
8688
8689 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8690
8691         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8692
8693         * LyXView.C (updateMenubar): call MenuBar::update here
8694         (updateToolbar): but not here
8695         (showState): do not update toolbar/menubar
8696
8697         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8698         should need to care about that.
8699
8700         * lyxfunc.C (verboseDispatch): simplify a bit
8701         (getStatus): have a version which takes a pseudoaction, and
8702         another which requires a (kb_action,string).
8703
8704         * LyXAction.C (retrieveActionArg): make it work also when action
8705         is not a pseudo-action.
8706         (getActionName): simplify a bit
8707         (helpText):
8708
8709 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8710
8711         * lyxfunc.C (verboseDispatch): new families of methods with
8712         several ways to specify a command and a bool to indicate whether
8713         the command name and shortcut should be displayed in minibuffer
8714         (eventually, we could extend that to a finer bitmask like
8715         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8716         (dispatch): the pristine dispatch command which just, well,
8717         dispatchs! Note it still sets its result to minibuffer; I'm not
8718         sure we want that.
8719
8720         * lyxfunc.h: remove setHintMessage
8721
8722         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8723
8724 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8725
8726         * BufferView_pimpl.C (specialChar): delete new inset if we have
8727         not been able to insert it.
8728
8729         * kbmap.C: revert to using int instead of kb_action, since all we
8730         are dealing with is pseudo-actions.
8731
8732         * LyXAction.C (searchActionArg): change to return int instead of
8733         kb_action, since the result is a pseudoaction.
8734
8735 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8736
8737         * buffer.C (insertErtContents): Fix (partially) the font bug.
8738
8739 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8740
8741         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8742         as the other one is broken on my machine!
8743
8744 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8745
8746         * commandtags.h:
8747         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8748
8749 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8750
8751         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8752         reflect their actual use. Provide compatibility code for older lyxrc
8753         files.
8754
8755         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8756         FL_NORMAL_STYLE.
8757         change names of popup font variables in line with the changes to lyxrc.C
8758
8759 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8760
8761         * buffer.C (asciiParagraph): avoid outputing a word twice after
8762         an inset.
8763
8764         * lyxrc.C (getDescription): document that document_path and
8765         template_path can be empty.
8766
8767 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8768
8769         * LaTeXFeatures.C (getMacros):
8770         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8771
8772         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8773
8774         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8775         getPackages.
8776         (getPackages): rename feature "floats" to "float". Use an array to
8777         iterate over 'simple' features (i.e. just a \usepackage). Add
8778         handling of "amsmath" (renamed from "amsstyle").
8779
8780 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8781
8782         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8783         features list.
8784
8785 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8786
8787         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8788         FuncStaus::FuncStatus & FuncStaus::some_method().
8789
8790 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8791
8792         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8793         of the func_satus stuff. Edited and massaged in various ways by
8794         JMarc.
8795
8796         * lyxfunc.C (getStatus): use FuncStatus
8797
8798 2002-01-08  Juergen Vigna  <jug@sad.it>
8799
8800         * text.C (nextBreakPoint): use function Inset::isChar().
8801
8802         * paragraph.C (TeXOnePar): use function
8803         Inset::forceDefaultParagraphs.
8804
8805         * buffer.C (latexParagraphs): use function
8806         Inset::forceDefaultParagraphs.
8807
8808 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8809
8810         * lyx_gui.C (init): set the style of the menu popups to
8811         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8812
8813 2002-01-07  Juergen Vigna  <jug@sad.it>
8814
8815         * text.C (setHeightOfRow): small fix
8816         (prepareToPrint): don't look at alignment if we don't have the place
8817         for doing it.
8818
8819 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8820
8821         * box.C: New file. Move the Box methods and functions out of box.h,
8822         following Lars' suggestion.
8823
8824 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8825
8826         * box.h: #include "support/LOstream.h", needed for inlined function.
8827
8828         * lyxtextclass.C:
8829         * lyxtextclasslist.C: added some using std declarations.
8830
8831 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8832
8833         * box.h: make signed dimensions to allow insets wider than
8834           the screen (bug #162)
8835
8836         * BufferView_pimpl.C: add some insetHit debug
8837
8838 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8839
8840         * vc-backend.C: add FIXME
8841
8842 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8843
8844         * lyxfunc.C (getStatus): enable code for showing math font status
8845         in toolbar/menu.
8846
8847 2002-01-07  Juergen Vigna  <jug@sad.it>
8848
8849         * text.C (nextBreakPoint): removed debug output not needed anymore.
8850
8851 2002-01-06  Juergen Vigna  <jug@sad.it>
8852
8853         * text.C (nextBreakPoint): fixed up this function we had this bug
8854         since ever but now hopefully we break row better.
8855         (insertChar): we have to check if an inset is the next char as it
8856         could now happen that a large inset is causing a break.
8857
8858 2002-01-05  Juergen Vigna  <jug@sad.it>
8859
8860         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8861         if it doesn't like to be drawed.
8862
8863 2002-01-04  Juergen Vigna  <jug@sad.it>
8864
8865         * BufferView2.C (lockInset): forgot to set a cursor.
8866
8867         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8868
8869 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8870
8871         * FormMathsPanel.C:
8872         * FormMathsPanel.h
8873         * MathsSymbols.C:
8874         * form_maths_panel.C:
8875         * form_maths_panel.h:
8876         * form_maths_panel.fd: implemented sub- and super- buttons in math
8877         panel.
8878
8879         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8880         (or ^ space) to be used as in TeX (req'd by André).
8881
8882         * lyxfunc.C: Allow ^ and _ again to be used both as
8883         super/subscript (mathed) and as themselves (in text).
8884
8885 2002-01-03  Allan Rae  <rae@lyx.org>
8886
8887         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8888         "LyX" or the filename of the current buffer if it has one.  This is a
8889         modified form of John Levon's patch.
8890
8891         * XFormsView.C (setWindowTitle): also set icon title.
8892
8893         * LyXView.h (setWindowTitle): signature changed.
8894         * XFormsView.h (setWindowTitle): ditto.
8895
8896 2002-01-02  Juergen Vigna  <jug@sad.it>
8897
8898         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8899
8900 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8901
8902         * screen.C (topCursorVisible): introduce a temp var for
8903         text->cursor.row(), handle the case where this row is null. (kindo
8904         hachish)
8905
8906         * text2.C (setCursor): add a couple of asserts.
8907
8908         * paragraph.h (inset_iterator): add -> operator
8909
8910         * paragraph.[Ch] (autoDeleteInsets): remove member function
8911
8912         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8913         cursor pos correctly and handle inset deletion by itself.
8914         (insertErrors): move iterator declaration out of for expression
8915
8916         * lyxtextclass.C: add <algorithm>
8917
8918         * Makefile.am: added the new files to sources, removed layout.C
8919
8920         * layout.C: removed file
8921
8922         * layout.h: remove LYX_DUMMY_LAYOUT
8923
8924         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8925         layout.
8926
8927         * lyxlayout.[Ch]:
8928         * lyxtextclass.[Ch]:
8929         * lyxtextclasslist.[Ch]: new files
8930
8931         * include order changes to a lot of files, also changes because of
8932         the six new files.
8933
8934 2001-12-27  Juergen Vigna  <jug@sad.it>
8935
8936         * buffer.C (asciiParagraph): more fixes.
8937
8938         * tabular.C (ascii): make ascii export support export of only the
8939         data separated by a column-delimiter.
8940         (ascii): better support for ascii export.
8941
8942         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8943
8944 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8945
8946         * tabular_funcs.C: use a "using std::getline" instead of the
8947         previous fix from Angus (necessary for cxx + lyxstring)
8948
8949 2001-12-24  Juergen Vigna  <jug@sad.it>
8950
8951         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8952
8953         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8954         problems. First check a minipage also if we have some ert-contents
8955         (not only on par->size(), second set the right depth of the paragraph
8956         on the relink to the root-paragraph-list!
8957
8958         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8959         which then did not anymore update the main paragraphs on undo/redo!
8960
8961 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8962
8963         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8964         code. Support all font-changing funcs (even those which are not in
8965         menu currently). Support for reporting font settings in
8966         mathed (disabled until Andre provides a function on mathed's side).
8967
8968         * func_status.h (toggle): small helper function to set toggle
8969         state on a flag.
8970
8971 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8972
8973         * tabular_funcs.C: getline -> std::getline
8974
8975 2001-12-21  Juergen Vigna  <jug@sad.it>
8976
8977         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8978         accessed and could be 0 (I couldn't generate this but it seems
8979         Michael could!).
8980
8981 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8982
8983         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8984         * tabular_funcs.h: here and include iosfwd
8985
8986 2001-12-20  Juergen Vigna  <jug@sad.it>
8987
8988         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8989         inside inset but undo_par was.
8990
8991 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8992
8993         * Thesaurus.C: always include <config.h> in sources.
8994
8995         * Painter.h:
8996         * lyxlookup.h:
8997         * box.h: do not include <config.h> in header files
8998
8999         * text.C (paintLastRow): remove unused variable
9000
9001         * text.C (transformChar):
9002         (insertChar):
9003         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9004
9005         * Painter.C (text):
9006         * font.C (width): rewrite to use uppercase() instead of
9007         islower/toupper.
9008
9009         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9010
9011 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9012
9013         * lyxfind.C: clean up of find failure position change
9014
9015 2001-12-20  Juergen Vigna  <jug@sad.it>
9016
9017         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9018
9019         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9020         (TeXRow): added to LaTeX a single tabular row.
9021         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9022         (Latex): simplified and finally good LT-h/f support.
9023         (various_functions): just small adaptions for LT-h/f support.
9024
9025         * tabular_funcs.[hC]: added and moved here all not classfunctions
9026         of LyXTabular.
9027
9028 2001-12-19  Juergen Vigna  <jug@sad.it>
9029
9030         * tabular.[Ch]: better support for longtabular options (not finished
9031         yet!)
9032
9033 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9034
9035         * text.C (paintLastRow): use the label font instead of the font of
9036         the last character to compute the size of *_BOX. This makes more
9037         sense and avoids a crash with empty paragraphs.
9038         Use Painter::rectangle to draw EMPTY_BOX.
9039
9040 2001-12-19  Juergen Vigna  <jug@sad.it>
9041
9042         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9043         the paragraphs if the replaced paragraph is not the first one!
9044         Tried to delete not used paragraphs but does not work yet so for
9045         now it's inside #ifdef's and by default off!
9046
9047 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9048
9049         * MenuBackend.C: include "lyx_main.h" instead of declaring
9050         lastfiles (actually was declared as LastFiles* instead of a
9051         scoped_ptr).
9052
9053 2001-12-17  Juergen Vigna  <jug@sad.it>
9054
9055         * tabular.C (AppendColumn): applied John's fix
9056
9057 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9058
9059         * BufferView.h:
9060         * BufferView.C:
9061         * BufferView_pimpl.h:
9062         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9063
9064         * Makefile.am:
9065         * box.h: new start of class for above
9066
9067         * lyxfunc.C: ignore space-only minibuffer dispatches.
9068           Show the command name when it doesn't exist
9069
9070         * minibuffer.C: don't add empty lines to the history
9071
9072         * minibuffer.C: add a space on dropdown completion
9073
9074 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9075
9076         * text.C: fix line above/below drawing in insets
9077
9078 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9079
9080         * lyxlength.C (LyXLength): Initialize private variables.
9081
9082 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9083
9084         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9085         when inserting error insets.
9086
9087 2001-12-13  Juergen Vigna  <jug@sad.it>
9088
9089         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9090         actually sometimes the before-paragraph.
9091         (setUndo): don't clear the redostack if we're not actually undoing!
9092
9093 2001-12-06  Juergen Vigna  <jug@sad.it>
9094
9095         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9096         and fixed redoing of main paragraph, so we can use it now ;)
9097
9098         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9099
9100 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9101
9102         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9103         Juergen's request
9104
9105 2001-12-13  André Pönitz <poenitz@gmx.net>
9106
9107         * undostack.[Ch]:
9108         * undo_func.C: minor cleanup
9109
9110 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9111
9112         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9113         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9114         font in urw-fonts package which is marked as -urw-fontspecific and
9115         does not work (incidentally, changing the encoding in the
9116         fonts.dir of this package to -adobe-fontspecific fixes the
9117         problem).
9118
9119         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9120         is a crash when undoing first paragraph (Juergen, please take a
9121         look). THis does not mean the undo fix is wrong, just that it
9122         uncovers problems.
9123
9124         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9125         the (Paragraph*) version when needed instead of duplicating the
9126         code.
9127
9128         * text.C (workWidth): use Inset::parOwner to find out where the
9129         inset has been inserted. This is a huge performance gain for large
9130         documents with lots of insets. If Inset::parOwner is not set, fall
9131         back on the brute force method
9132
9133         * paragraph_pimpl.C (insertInset):
9134         * paragraph.C (Paragraph):
9135         (cutIntoMinibuffer): set parOwner of insets when
9136         inserting/removing them
9137
9138         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9139
9140 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9141
9142         * commandtags.h:
9143         * LyXAction.C:
9144         * lyx_main.C:
9145         * lyxfunc.C:
9146         * mathed/formulabase.C:
9147         * mathed/math_cursor.[Ch]:
9148         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9149
9150
9151 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9152
9153         * lyxlength.[Ch] (operator!=): new function
9154
9155 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9156
9157         * text.C (workWidth): use Inset::parOwner to find out where the
9158         inset has been inserted. This is a huge performance gain for large
9159         documents with lots of insets. If Inset::parOwner is not set, fall
9160         back on the brute force method
9161
9162         * paragraph_pimpl.C (insertInset):
9163         * paragraph.C (Paragraph):
9164         (cutIntoMinibuffer): set parOwner of insets when
9165         inserting/removing them
9166
9167         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9168
9169 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9170
9171         * tabular-old.C (getTokenValue):
9172         * tabular.C (getTokenValue):
9173         (write_attribute): new versions for LyXLength
9174         (everywhere): adjust the use of widths
9175
9176         * tabular.h: change the type of widths from string to LyXLength
9177
9178 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9179
9180         * paragraph.C: fixed missing line number count when exporting
9181         Environments to LaTeX file
9182
9183         * buffer.C: added informational message for checking line numbers.
9184
9185 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9186
9187         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9188         paragraph, do the 'double space' part, but not the 'empty
9189         paragraph' one.
9190
9191         * text.C (workWidth): small optimization
9192         (getLengthMarkerHeight): use minimal size for negative lengths.
9193
9194 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9195
9196         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9197
9198         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9199
9200 2001-12-11  André Pönitz <poenitz@gmx.net>
9201
9202         * FontLoader.C:
9203         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9204
9205 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9206
9207         * text2.C: keep selection on a setFont()
9208
9209 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9210
9211         * lyx_cb.C: another bv->text misuse, from insert label
9212
9213 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9214
9215         * kbsequence.h:
9216         * kbsequence.C: re-instate nmodifier mask
9217
9218 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9219
9220         * lyx_main.h: make lyxGUI private.
9221
9222 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9223
9224         * lyxfind.C: place the cursor correctly on failed search
9225
9226 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9227
9228         * text.C (getLengthMarkerHeight): for small heights, the arrows
9229         are not always on top/bottom of the text
9230         (drawLengthMarker): smaller arrows; take the left margin in
9231         account; draw also vfills.
9232         (paintFirstRow):
9233         (paintLastRow): remove special code for vfill and standard spaces,
9234         since everything is handled in drawLengthMarker now.
9235
9236 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9237
9238         * buffer.C (insertErtContents): try to handle font and language
9239         interaction a bit better.g
9240
9241         * ColorHandler.C (updateColor): change the hash to cover the whole
9242         LColor enum, ws cleanup
9243         (getGCLinepars): ditto
9244         (getGCLinepars): only lookup in the linecache once.
9245
9246 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9247
9248         * iterators.C (operator++): Make the iterator more robust
9249
9250         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9251         (John's patch)
9252         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9253
9254 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * lyxtext.h:
9257         * text.C: better added space drawing
9258
9259 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9260
9261         * LyXView.C:
9262         * BufferView2.C: fix layout combo update on inset unlock
9263
9264 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9265
9266         * Makefile.am: don't compile unused files
9267
9268 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9269
9270         * lyxfunc.C:
9271         * commandtags.h:
9272         * LyXAction.C: remove old LFUN_LAYOUTNO
9273
9274 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9275
9276         * paragraph_pimpl.h:
9277         * paragraph_pimpl.C: isTextAt() doesn't need font param
9278
9279 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9280
9281         * lyxlex.h:
9282         * lyxlex.C: little cleanup
9283
9284 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9285
9286         * BufferView_pimpl.C: fix insertAscii for insets
9287
9288 2001-12-05  Juergen Vigna  <jug@sad.it>
9289
9290         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9291         set the right font on the "multi" paragraph paste!
9292
9293 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9294
9295         * trans_decl.h:
9296         * trans_mgr.[Ch]:
9297         * trans.[Ch]:
9298         * lyxgluelength.C:
9299         * lyxlength.C: remove out-commented code.
9300
9301         * BufferView_pimpl:
9302         * CutAndPaste.C:
9303         * DepTable.C:
9304         * buffer.C:
9305         * chset.C:
9306         * lastfiles.C:
9307         * lyxlex.C:
9308         * lyxlex_pimpl.C:
9309         * lyxserver.C:
9310         * screen.C:
9311         * tabular-old.C:
9312         * tabular.C:
9313         * text.C:
9314         * trans_mgr.C:
9315         * vc-backend.C: change "while(" to "while ("
9316
9317         * lyxlength.[Ch]: add zero function to check if length is zero or
9318         not
9319         * lyxgluelength.C: use it
9320
9321 2001-12-05  Allan Rae  <rae@lyx.org>
9322
9323         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9324         Works for 2.95.3, from what I understand of Garst's reports this should
9325         work for other g++ versions.  We're screwed if the abs(int) definition
9326         changed between bugfix releases of gcc.
9327
9328 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9329
9330         * text.C: fix chapter label offset !
9331
9332 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9333
9334         * lyxtext.h:
9335         * text.C: fix hfill at end of line, clean up
9336
9337 2001-12-04  Juergen Vigna  <jug@sad.it>
9338
9339         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9340         that we force an update of the inset and it's owners if neccessary.
9341
9342 2001-12-03  Juergen Vigna  <jug@sad.it>
9343
9344         * text.C (rowLast): simplified code
9345
9346 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9347
9348         * lyxfunc.C: fix show options on timeout
9349
9350 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9351
9352         * screen.C (topCursorVisible): scroll half a page when the cursor
9353         reached top of bottom of screen
9354
9355 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9356
9357         * minibuffer.C: deactivate on loss of focus
9358
9359 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9360
9361         * vspace.[Ch] (operator!=): add operator.
9362
9363 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9364
9365         * BufferView_pimpl.C: refuse to open an inset when
9366         there's a selection.
9367
9368 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9369
9370         * BufferView_pimpl.C: allow to click on RHS of full row insets
9371
9372 2001-11-30  Juergen Vigna  <jug@sad.it>
9373
9374         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9375         insets for undo reasons.
9376
9377 2001-11-28  André Pönitz <poenitz@gmx.net>
9378
9379         * vspace.[Ch]: cosmetical changes
9380
9381 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9382
9383         * LyXAction.h:
9384         * LyXAction.C:
9385         * lyxfunc.h:
9386         * lyxfunc.C:
9387         * kbmap.h:
9388         * kbmap.C:
9389         * lyxrc.C:
9390         * kbsequence.h:
9391         * kbsequence.C: part re-write of old kb code
9392
9393         * Painter.C:
9394         * WorkArea.C: remove Lgb_bug_find_hack
9395
9396 2001-11-30  José Matos <jamatos@fep.up.pt>
9397
9398         * buffer.C (makeDocBookFile): add a comment to point a hack.
9399         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9400         Fixed a double write of labels.
9401
9402 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9403
9404         * LaTeX.C:
9405         * LaTeX.h Fixed bug in LaTeX class where it would not
9406         re-run latex if no depfiles were changed, but the .dvi was removed.
9407
9408 2001-11-28  André Pönitz <poenitz@gmx.net>
9409
9410         * all the files from the change on 2001/11/26:
9411         use lyx::layout_type instead of LyXTextClass::size_type
9412         use lyx::textclass_type instead of LyXTextClassList::size_type
9413
9414 2001-11-29  Juergen Vigna  <jug@sad.it>
9415
9416         * text.C: added support for paragraph::isFreeSpacing()
9417
9418         * buffer.C: same as above
9419
9420         * paragraph.h: inserted isFreeSpacing() function to enable
9421         FreeSpacing inside InsetERT.
9422
9423         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9424         of the paragraph's in the cut/copy buffer to 0!
9425
9426         * text2.C (removeRow): remove the assert as it can!
9427
9428         * lyxtext.h: added helper function firstRow returning firstrow and
9429         made firstrow private again.
9430
9431         * BufferView2.C (lockInset): don't relock if we're already locked!
9432
9433         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9434         the only paragraph.
9435         (removeRow): added Assert::(firstrow)
9436
9437         * debug.C: forgot to add INSETTEXT here.
9438
9439 2001-11-28  Juergen Vigna  <jug@sad.it>
9440
9441         * sp_spell.C (initialize): changed error text to more general
9442         spellchecker command use (not only ispell!)
9443
9444         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9445
9446         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9447
9448 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9449
9450         * vspace.C: initialise lyxgluelength on failure
9451
9452 2001-11-28  Allan Rae  <rae@lyx.org>
9453
9454         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9455         declaration & definition that looks like a function declaration.
9456
9457 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9458
9459         * BufferView2.C (copy):
9460         (copyEnvironment): do not clear the selection when doing a copy.
9461
9462         * text.C (paintFirstRow): compilation fix
9463
9464 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9465
9466         * tabular.C (Latex): correct line count when writing latex.
9467
9468 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9469
9470         * paragraph_pimpl.h:
9471         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9472           bug a bit
9473
9474 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9475
9476         * text.C:
9477         * LColor.h:
9478         * LColor.C: change vfillline->added_space
9479
9480         * text.C: add markers and text for added space
9481
9482         * vspace.C: fix comment
9483
9484 2001-11-28  André Pönitz <poenitz@gmx.net>
9485
9486         * paragraph.C: whitespace changes
9487         * all the other files from the change on 2001/11/26:
9488         change *::pos_type into lyx::pos_type
9489
9490 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9491
9492         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9493         language of the document when inserting error insets.
9494
9495 2001-11-26  André Pönitz <poenitz@gmx.net>
9496
9497         * BufferView_pimpl.[Ch]:
9498         *       CutAndPaste.C:
9499         * buffer.[Ch]:
9500         * lyxcursor.[Ch]:
9501         * lyxfind.C:
9502         * lyxfunc.C:
9503         * lyxrow.[Ch]:
9504         * paragraph.[Ch]:
9505         * paragraph_pimpl.[Ch]:
9506         * sp_spell.C:
9507         * text.C:
9508         * text2.C: reduce header dependencies, introduce type for positions
9509
9510 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9511
9512         * <various>: change to use Alert.h
9513
9514 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9515
9516         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9517         when encountering an unknown token.
9518         (readLyXformat2): Show an error message if there were unknown tokens.
9519
9520 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9521
9522         * BufferView2.C:
9523         * BufferView_pimpl.C:
9524         * buffer.C:
9525         * paragraph.h:
9526         * text.C:
9527         * text2.C: use par->isInset()
9528
9529 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9530
9531         * paragraph_pimpl.h:
9532         * paragraph_pimpl.C: cleanup
9533
9534 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9535
9536         * text2.C (removeRow):
9537         * text.C (setHeightOfRow): remove useless (and costly) call to
9538         getRow.
9539
9540 2001-11-20  Allan Rae  <rae@lyx.org>
9541
9542         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9543         Now need Inset*::checkInsertChar() to return true for appropriate
9544         cases so that the characters in the minibuffer will actually be
9545         inserted.
9546
9547 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9548
9549         * text.C: change the order of the includes.
9550         (workWidth): initialize it at once.
9551         (workWidth): make maxw unsigned
9552         (setHeightOfRow): remove unused variable (inset)
9553         (selectSelectedWord): remove unused variable (inset)
9554         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9555
9556 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9557
9558         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9559         server is not running.
9560         (openConnection):
9561         (closeConnection): add debug info when server is disabled.
9562
9563         * ColorHandler.C (getGCForeground): send debug message to GUI
9564         channel.
9565
9566         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9567
9568         * kbmap.C (bind): modify because return conventions of
9569         kb_sequence::parse have changed.
9570
9571         * kbsequence.C (parse): only ignore spaces and not any stupid
9572         control character. This avoids tests like s[i] <= ' ', which are
9573         guaranteed to fail with 8bit characters and signed chars.
9574         Change return code to string::npos when there have been no error
9575         (0 was a bad idea when error is at first character)
9576
9577 2001-11-14  José Matos  <jamatos@fep.up.pt>
9578
9579         * buffer.h:
9580         * buffer.C (simpleDocBookOnePar): removed unused argument.
9581
9582 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9583
9584         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9585         insets which are part of a word. Paragraph::isLetter takes care of
9586         that now. Use Paragraph::isInset to identify insets.
9587         (selectSelectedWord): do not test for hyphenation break.
9588
9589         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9590         that protected spaces are considered as spaces.
9591
9592         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9593         Inset::isLetter.
9594
9595 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9596
9597         * lyxserver.h:
9598         * lyxserver.C: fix it. and small cleanup.
9599
9600 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9601
9602         * BufferView_pimpl.C: use inline helpers
9603
9604         * LaTeXFeatures.h:
9605         * LaTeXFeatures.C: fix typos
9606
9607         * Spacing.h:
9608         * Spacing.C: move spacing_string into class
9609
9610         * ToolbarDefaults.C: move stuff into namespace anon
9611
9612         * layout.h: update enum
9613
9614         * lyxfunc.C: use better debug
9615
9616         * minibuffer.h: fix typo
9617
9618         * debug.h:
9619         * debug.C:
9620         * WorkArea.C: add and use Debug::WORKAREA
9621
9622         * lyxtext.h:
9623         * text.C:
9624         * text2.C: code re-organisation, inline helpers
9625
9626 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9627
9628         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9629         std::vector.empty().
9630
9631 2001-11-09  Allan Rae  <rae@lyx.org>
9632
9633         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9634         '\n's after tables.  Tabular and ERT inset work now makes this no
9635         longer necessary.
9636
9637 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9638
9639         * minibuffer.h:
9640         * minibuffer.C: fix crash, improve drop-down completion
9641
9642 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9643
9644         * lyxserver.h:
9645         * lyxserver.C: invalidate fd's when doing endPipe()
9646
9647 2001-11-08  José Matos  <jamatos@fep.up.pt>
9648
9649         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9650         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9651
9652         * paragraph.h:
9653         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9654
9655 2001-11-07  José Matos  <jamatos@fep.up.pt>
9656
9657         * buffer.h:
9658         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9659         const qualifier.
9660
9661         * buffer.C (sgmlOpenTag):
9662         * buffer.C (sgmlCloseTag): removed debug info.
9663
9664         * buffer.h (sgmlOpenTag):
9665         * buffer.h (sgmlCloseTag): made public.
9666
9667 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9668
9669         * buffer.C (saveParamsAsDefaults):
9670         * lyx_cb.C (MenuLayoutSave): remove
9671
9672         * LyXAction.C (init):
9673         * commandtags.h:
9674         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9675
9676 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9677
9678         * buffer.C (setPaperStuff): removed from here...
9679
9680         * bufferparams.C (setPaperStuff): ... and moved there.
9681
9682 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9683
9684         * minibuffer.h:
9685         * minibuffer.C:
9686         * XFormsView.C: add support for drop-down completion
9687
9688 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9689
9690         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9691         commands.
9692
9693 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9694
9695         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9696         disabled.
9697
9698 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9699
9700         * lyx_main.C: change ref to known bugs
9701
9702 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9703
9704         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9705         to work around older babel problems.
9706
9707 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9708
9709         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9710
9711 2001-10-24  Juergen Vigna  <jug@sad.it>
9712
9713         * tabular-old.C (ReadOld): below variable changes reflected.
9714
9715         * tabular.[Ch]: added ltType struct for longtable header/footer
9716         defines and changed all instances where they are used. Added
9717         future support for double top/bottom rows.
9718
9719 2001-10-24  José Matos  <jamatos@fep.up.pt>
9720
9721         * buffer.h (docbookHandleCaption):
9722         * buffer.C (docbookHandleCaption): removed unused function.
9723         (makeDocBookFile): moved docbook supported version to v4.1.
9724
9725 2001-10-24  José Matos  <jamatos@fep.up.pt>
9726
9727         * tabular.h:
9728         * tabular.C (docbookRow): new function to export docbook code of a row.
9729         (DocBook): now honors the longtable flags.
9730
9731 2001-10-23  José Matos  <jamatos@fep.up.pt>
9732
9733         * LaTeXFeatures.h:
9734         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9735         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9736
9737         * buffer.C (makeLinuxDocFile):
9738         (makeDocBookFile): reworked the preamble, more clean, and with
9739         support for lyx defined entities. Changed the document declaration
9740         to be more XML friendly.
9741
9742         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9743         if we need to output XML that should be done with a filter.
9744
9745 2001-10-22  Juergen Vigna  <jug@sad.it>
9746
9747         * sp_pspell.h (class PSpell): add alive function needed in the
9748         controller to see if the spellchecker could be started.
9749
9750 2001-10-22  Juergen Vigna  <jug@sad.it>
9751
9752         * buffer.C (insertStringAsLines): modify the font for inserting
9753         chars in certain conditions by calling checkInsertChar(font).
9754
9755 2001-10-19  Juergen Vigna  <jug@sad.it>
9756
9757         * text.C (workWidth): use getRow instead of wrong algorithm.
9758         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9759
9760 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9761
9762         * lyxserver.h:
9763         * lyxserver.C:
9764         * lyx_main.h:
9765         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9766
9767 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9768
9769         * text.C (workWidth): do not search for the exact row when
9770         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9771         optimization for big documents.
9772
9773 2001-10-18  Juergen Vigna  <jug@sad.it>
9774
9775         * text.C (workWidth): new function with added Inset * parameter.
9776
9777 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9778
9779         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9780
9781         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9782         change return type of getColumnNearX.
9783
9784
9785         * text.C (changeRegionCase): use uppercase/lowercase instead of
9786         toupper/tolower.
9787         (leftMargin):
9788         (rightMargin): simplify code by factoring out the uses of
9789         textclasslist.
9790         (labelFill):
9791         (numberOfHfills):
9792         (setHeightOfRow):
9793         (appendParagraph): use Paragraph::size_type
9794
9795 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9796
9797         * vspace.C (asLatexString): add a missing break
9798
9799 2001-10-15  Herbert Voss  <voss@perce.de>
9800
9801         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9802
9803 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9804
9805         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9806         is not available.
9807
9808 2001-10-10  André Pönitz <poenitz@gmx.net>
9809
9810         * lyxfunc.C: removed greek_kb_flag.
9811
9812 2001-10-10  Herbert Voss  <voss@perce.de>
9813
9814         * lyx_main.C: delete global string help_lyxdir.
9815
9816 2001-10-09  Herbert Voss  <voss@perce.de>
9817
9818         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9819
9820         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9821
9822         * lyx_main.C: added global string help_lyxdir.
9823
9824         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9825
9826 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9827
9828         * lyxrc.C (set_font_norm_type): support iso8859-4
9829
9830 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9831
9832         * LaTeX.C (deplog): add another regex for MikTeX
9833
9834 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9835
9836         * lyxrc.C (set_font_norm_type): support iso8859-3
9837
9838 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9839
9840         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9841
9842         * LaTeXFeatures.C: remove special case of french and index
9843
9844         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9845         before \begin{document}). This solves several incompatibilities.
9846
9847 2001-10-03  Garst Reese  <reese@isn.net>
9848
9849         * lyx_cb.C: change CheckTex error msg.
9850
9851 2001-10-03  José Matos  <jamatos@fep.up.pt>
9852
9853         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9854
9855 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9856
9857         * .cvsignore: update
9858
9859         * lyx_main.C (commandLineVersionInfo): use new style version info.
9860
9861         * buffer.C (writeFile):
9862         (makeLaTeXFile):
9863         (makeLinuxDocFile):
9864         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9865
9866         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9867
9868         * version.h: update to use stuff in version.C
9869
9870         * version.C.in: new file. Contains version information determined
9871         at compile time. This is a merging of version.h and
9872         version_info.h.in.
9873
9874 2001-10-03  Juergen Vigna  <jug@sad.it>
9875
9876         * BufferView_pimpl.C (update): don't change "dirty" status in
9877         updateInset call.
9878
9879 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9880
9881         * WorkArea.C (c-tor): re-position version string slightly.
9882
9883 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9884
9885         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9886         revert to previous code.
9887
9888         WorkArea.[Ch]: (show, destroySplash): methods removed.
9889
9890         WorkArea.C: rework code so that it's an amalgam of the codes before and
9891         after the splash screen was moved to WorkArea.
9892
9893 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9894
9895         * lyxrc.C (read):
9896         * vspace.C (inPixels):
9897         (lyx_advance):
9898         * kbmap.C (bind):
9899         * buffer.C (insertStringAsLines):
9900         (asciiParagraph): fix types to be large enough
9901
9902         * lyxlex_pimpl.h: change member status from short to int
9903
9904         * layout.h: fix type of endlabeltype
9905
9906         * kbmap.C (bind):
9907         * kbsequence.C (parse): change return type to string::size_type
9908
9909         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9910         variable
9911
9912         * Bullet.C (bulletSize):
9913         (bulletEntry): do not use short ints as parameters
9914
9915         * BufferView2.C (insertLyXFile): change a char to an int.
9916
9917         * WorkArea.C (WorkArea): remove unneeded floats in computation
9918
9919 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9920
9921         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9922
9923         * paragraph.C (asString): Do not ignore newline/hfill chars when
9924         copying to the clipboard.
9925
9926 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9927
9928         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9929         after a multi-line inset.
9930
9931 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9932
9933         * paragraph.C (validate): Set NeedLyXFootnoteCode
9934
9935 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9936
9937         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9938         and decrease-error to decrease.
9939
9940 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9941
9942         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9943         it more readable (should be equivalent)
9944
9945 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9946
9947         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9948
9949 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9950
9951         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9952         of a cursor (row, etc.) after a character has been deleted
9953         (deleteEmptyParagraphMechanism): call the method above on _all_
9954         cursors held by the LyXText when a double space has been
9955         detected/deleted.
9956
9957 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9958
9959         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9960         pixmap.
9961         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9962
9963         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9964         background. Use greyOut() and the new show() methods to toggle between
9965         the foreground and background. Add code to remove the splash after
9966         its initial showing.
9967
9968         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9969         (create_forms): no longer call Dialogs::showSplash.
9970
9971 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9972
9973         * .cvsignore: add version_info.h
9974
9975 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9976
9977         * version_info.h.in: new file
9978
9979         * Makefile.am: add version_info.h.in
9980
9981         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9982         version_info.h instead of VERSION_INFO
9983
9984 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9985
9986         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9987         The ERT inset now returns string().
9988
9989 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9990
9991         * lyxtext.h, text.C (selectNextWord): renamed as
9992         selectNextWordToSpellcheck.
9993
9994         * text.C (selectNextWordToSpellcheck): Modified to not select
9995         words inside an ERT inset.
9996
9997 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9998
9999         * lyx_cb.C (MenuLayoutSave): change a bit the question
10000
10001         * sp_base.h: include <sys/types.h>
10002
10003 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10004
10005         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10006
10007 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10008
10009         * several files: fix typos in user-visible strings
10010
10011 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10012
10013         * text2.C (pasteSelection): do not set the selection, since it
10014         will be cleared later. Actually, the intent was to fix the way the
10015         selection was set, but I figured rmoving the code was just as good.
10016
10017 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10018
10019         * FontLoader.C (available): Check if font is available without
10020         loading the font.
10021
10022 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10023
10024         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10025
10026 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10027
10028         * lyxrc.[Ch]: added display_graphics variable and associated code.
10029
10030 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10031
10032         * bufferparams.C (hasClassDefaults): new method. Returns true if
10033         the buffer parameters correspond to known class defaults
10034
10035 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10036
10037         * XFormsView.C (show): set minimum size to the main window.
10038
10039 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10040
10041         * text2.C (copySelection):
10042         (cutSelection):
10043         * lyxfind.C (LyXReplace):
10044         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10045         LyXText::selectionAsString.
10046
10047         * paragraph.C (asString): add "label" argument to the second form
10048
10049         * text2.C (selectionAsString): add "label" argument and pass it to
10050         Paragraph::asString.
10051
10052 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10053
10054         * lyx_main.C (commandLineHelp): remove version information
10055
10056 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10057
10058         * lyx_main.C: add -version commandline option
10059
10060 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10061
10062         * paragraph.h: make the optional constructor arg required instead.
10063         some modifications to other files because of this.
10064
10065         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10066
10067         * lyxserver.C (C_LyXComm_callback): make it static
10068
10069         * lyx_main.C (error_handler): make it static
10070
10071         * lyx_gui.C (LyX_XErrHandler): make it static
10072
10073         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10074
10075         * WorkArea.C: make the extern "C" methods static.
10076
10077         * Makefile.am (lyx_LDADD): simplify
10078
10079 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10080
10081         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10082         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10083
10084         * LyXAction.C (init):
10085         * lyxfunc.C (dispatch): associated code removal.
10086
10087 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10088
10089         * lyxfont.h (isSymbolFont): shut off warning
10090
10091         * text.C (setHeightOfRow):
10092         (getVisibleRow): fix crash with empty paragraphs which have a
10093         bottom line
10094
10095 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10096
10097         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10098         code.
10099
10100 2001-09-04  José Matos  <jamatos@fep.up.pt>
10101         * buffer.C
10102         * buffer.h
10103         * tabular.C (docbook): rename docBook method to docbook.
10104
10105 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10106
10107         * Makefile.am: add dependencies to main.o.
10108
10109 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10110
10111         * FontLoader.C (available): Return false if !lyxrc.use_gui
10112
10113 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10114
10115         * FontInfo.C (query):
10116         * converter.C (view):
10117         * importer.C (Import):
10118         * exporter.C (Export): Can not -> cannot.
10119
10120 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10121
10122         * BufferView_pimpl.C: allow to create index inset even if
10123           string is empty
10124
10125 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10126
10127         * buffer.C (getLists): replace boost::tie code with an explicit pair
10128         as boost::tie can break some compilers.
10129
10130         * iterators.h: Added a std:: declaration to the return type of
10131         ParIterator::size.
10132
10133 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10134
10135         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10136           case.
10137
10138 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10139
10140         * iterators.[Ch]: New files. Provide paragraph iterators.
10141
10142         * buffer.C (changeLanguage): Use paragraph iterators.
10143         (isMultiLingual): ditto
10144
10145         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10146
10147 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10148
10149         * FontLoader.C: Support for cmr font.
10150
10151 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10152
10153         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10154         (available): New method.
10155
10156         * FontInfo.C (getFontname): Use scalable fonts even when
10157         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10158         found.
10159
10160 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10161
10162         * converter.C (Formats::view): reverted! Incorrect fix.
10163
10164 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10165
10166         * converter.C (Formats::view): only output the -paper option
10167         if the dvi viewer is xdvi, thereby fixing bug #233429.
10168
10169 2001-08-23  Herbert Voss  <voss@perce>
10170
10171         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10172
10173 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10174
10175         * Spacing.h (Spacing): Set space to Default on in the default
10176         constructor.
10177
10178 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10179
10180         * vc-backend.h (RCS::versionString): add RCS to version
10181         (CVS::versionString): add CVS to version
10182
10183         * vc-backend.C (scanMaster): do not add CVS to version.
10184         (scanMaster): do not add RCS to version
10185
10186         * lyxvc.C (versionString): new method
10187
10188         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10189
10190 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10191
10192         * Spacing.C (set): initialize fval
10193
10194 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10195
10196         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10197         " or \.
10198
10199 2001-08-16  Juergen Vigna  <jug@sad.it>
10200
10201         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10202
10203 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10204
10205         * BufferView_pimpl.C:
10206         * figureForm.C:
10207         * lyxtext.h:
10208         * text2.C: setParagraph takes linespacing now
10209
10210 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * LyxAction.C: add internal LFUN_CITATION_INSERT
10213
10214         * LyXView.C: actually apply fix
10215
10216         * bufferlist.C: fix open non-existent file
10217
10218         * lyxfind.C: fix indentation
10219
10220         * lyxfunc.C: remove unneeded assert, fix typo
10221
10222 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10223
10224         * MenuBackend.C: use "Floatname List"
10225
10226 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10227
10228         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10229         when converting LaTeX layout to insetERT.
10230         Generate a non-collapsed float when reading old float
10231
10232 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10233
10234         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10235         ERT insets.
10236
10237 2001-08-13  Juergen Vigna  <jug@sad.it>
10238
10239         * text.C (fill): return 0 instead of 20 as this seems to be the more
10240         correct value.
10241
10242 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10243
10244         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10245         lyxrc.font_norm.
10246
10247 2001-08-13  Juergen Vigna  <jug@sad.it>
10248
10249         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10250         casesensitive off.
10251         (SearchBackward): comment out the unlocking of the inset_owner this
10252         should not be needed!
10253
10254 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10255
10256         * Many files: Remove inherit_language, and add latex_language
10257
10258         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10259         collapsible insets.
10260
10261 2001-08-10  Juergen Vigna  <jug@sad.it>
10262
10263         * text.C (prepareToPrint): fixed hfill-width in draw!
10264
10265         * BufferView2.C (selectLastWord): save the selection cursor as this
10266         now is cleared in the function LyXText::clearSelection!
10267
10268 2001-08-08  Juergen Vigna  <jug@sad.it>
10269
10270         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10271         BACKSPACE type functions.
10272
10273         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10274         is only cutted from the document but not put in the cut-buffer, where
10275         still the old stuff should be.
10276
10277         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10278
10279         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10280
10281         * tabular.C (SetWidthOfCell): fixed special case where the width
10282         was not updated!
10283         (LeftLine): handle '|' in align_special.
10284         (RightLine): ditto
10285         (LeftAlreadyDrawed): ditto
10286         (SetWidthOfCell): ditto
10287
10288 2001-08-07  Juergen Vigna  <jug@sad.it>
10289
10290         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10291
10292 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10293
10294         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10295         * lyxlex.[hC]: ditto
10296
10297 2001-08-06  Juergen Vigna  <jug@sad.it>
10298
10299         * text.C (getVisibleRow): fix up row clearing a bit.
10300
10301 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10302
10303         * minibuffer.C: make sure the X server sees the changes in the input.
10304
10305 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10306
10307         * paragraph.C (getFont): split into...
10308         (getLabelFont): this
10309         (getLayoutFont): and this
10310         * paragraph_pimpl.C (realizeFont): calling this
10311
10312         * text2.C (getFont): split into...
10313         (getLayoutFont): this
10314         (getLabelFont): and this
10315         (realizeFont): all three calling this
10316
10317         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10318         files where used.
10319
10320 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10321
10322         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10323
10324 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10325
10326         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10327         layouts from the Quote inset insertion.
10328
10329 2001-08-03  Juergen Vigna  <jug@sad.it>
10330
10331         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10332
10333         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10334         only if status not is already CHANGED_IN_DRAW (second level).
10335
10336         * text.C (draw): don't set the need_break_row when inside an
10337         InsetText LyXText.
10338
10339 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10340
10341         * buffer.C (parseSingleLyXformat2Token): handle more latex
10342         conversion cases.
10343
10344         * bufferview_funcs.[hC]: change function names to
10345         begin with small char, adjust other files.
10346
10347 2001-08-02  André Pönitz <poenitz@gmx.net>
10348
10349         * lyxfunc.C:
10350         BufferView_pimpl.C: remove broken special code for math-greek
10351
10352 2001-08-02  Juergen Vigna  <jug@sad.it>
10353
10354         * BufferView_pimpl.C (update): redone this function so that we
10355         update the text again if there was a CHANGE_IN_DRAW.
10356
10357         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10358         (drawFromTo): added a new internal bool which is used by draw() and
10359         redraw() function.
10360         (general): some cursor drawing problems fixed.
10361
10362 2001-08-01  Juergen Vigna  <jug@sad.it>
10363
10364         * lyxfind.C (LyXFind): fixed
10365         (SearchForward): ditto
10366         (SearchBackward): ditto
10367
10368         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10369         spurius drawing of the cursor in the main area.
10370
10371         * text2.C (status): small fix which could lead to a segfault!
10372         (clearSelection): remove unneeded BufferView param.
10373
10374 2001-08-01  André Pönitz <poenitz@gmx.net>
10375
10376         * lyxfunc.C: small change due to changed mathed interface
10377
10378 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10379
10380         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10381
10382 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * lyxfunc.c: fail gracefully if file doesn't exist
10385
10386         * LyXSendto.C:
10387         * buffer.C:
10388         * lyxfunc.C:
10389         * BufferView_pimpl.C: IsDirWriteable() proto changed
10390
10391         * LyXView.C: fix updateWindowTitle() to store the last title
10392
10393 2001-07-31  Juergen Vigna  <jug@sad.it>
10394
10395         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10396         the font (wrong since using of Paragraph::highestFontInRange).
10397
10398         * paragraph.C (highestFontInRange): added a default_size parameter.
10399
10400         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10401         (setHeightOfRow): reformat
10402
10403 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10404
10405         * converter.[hC] + affected files: move to (inital-char)lowercase
10406         function names.
10407
10408         * ParagraphParameters.C (ParagraphParameters): remove commented code
10409
10410         * PainterBase.[Ch]: remove commented code
10411
10412         * LaTeXFeatures.h: add "bool floats" for float.sty
10413
10414         * LaTeXFeatures.C (LaTeXFeatures): init floats
10415         (require): handle float
10416         (getPackages): do it with floats
10417
10418 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10419
10420         * BufferView_pimpl.C (Dispatch): improve handling of
10421         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10422
10423         * commandtags.h: #include lyxfont.h here temporarily to avoid
10424         keybinding bug.
10425
10426         * bufferlist.h: include LString.h here.
10427
10428 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10429
10430         * text2.C (getStringToIndex): new method.
10431
10432 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10433
10434         * *: Reduced header file dependencies all over.
10435
10436 2001-07-30  Baruch Even  <baruch@lyx.org>
10437
10438         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10439
10440 2001-07-29  Baruch Even  <baruch@lyx.org>
10441
10442         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10443
10444 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10445
10446         * ParameterStruct.h (endif): add a default constructor to make
10447         sure that all variables is initialized.
10448
10449         * ParagraphParameters.C (ParagraphParameters): adjust
10450
10451 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10452
10453         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10454         index; also, check that there is something to index, and that it
10455         does not span over several paragraphs.
10456         (doubleClick): use WHOLE_WORD_STRICT for double click.
10457
10458         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10459
10460         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10461         scheme.
10462
10463 2001-07-26  Baruch Even  <baruch@lyx.org>
10464
10465         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10466         an InsetFig figure, backwards compatible reading of old figure code.
10467
10468 2001-07-27  Juergen Vigna  <jug@sad.it>
10469
10470         * text2.C: font.realize function adaption.
10471
10472         * text.C (draw): add a warnings lyxerr text if needed.
10473
10474         * layout.C: font.realize function adaption.
10475
10476         * language.C: add inherit_language and implement it's handlings
10477
10478         * bufferview_funcs.C (StyleReset): remove language parameter from
10479         font creation (should be language_inherit now).
10480
10481         * bufferparams.C (writeFile): handle ignore_language.
10482
10483         * paragraph.C (getFontSettings): the language has to be resolved
10484         otherwise we have problems in LyXFont!
10485
10486         * lyxfont.C (lyxWriteChanges): added document_language parameter
10487         (update): removed unneeded language parameter
10488
10489         * paragraph.C (validate): fixed wrong output of color-package when
10490         using interface colors for certain fonts in certain environments,
10491         which should not seen as that on the final output.
10492
10493 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * BufferView_pimpl.C:
10496         * Thesaurus.h:
10497         * Thesaurus.C:
10498         * Makefile.am:
10499         * commandtags.h:
10500         * LyXAction.C: add thesaurus support
10501
10502         * lyxfind.h:
10503         * lyxfind.C: add "once" parameter, for thesaurus, to not
10504           move to the next match
10505
10506 2001-07-26  Juergen Vigna  <jug@sad.it>
10507
10508         * lyxfont.C (realize): honor ignore_language too!
10509         (resolved): ditto.
10510
10511         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10512
10513         * text.C (draw): one place more for ignore_language to not draw
10514         itself!
10515
10516 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10517
10518         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10519
10520 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10521
10522         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10523         the minipage conversion problem.
10524
10525 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10526
10527         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10528         insert an inset.
10529
10530 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10531
10532         * BufferView.h: don't forward declare WorkArea
10533
10534         * BufferView.C: don't include WorkArea.h
10535
10536 2001-07-25  André Pönitz <poenitz@gmx.net>
10537
10538         * commandtags.h:
10539         * LyXAction.C:
10540         * lyxfunc.C:  new LFUN 'math-space'
10541
10542         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10543
10544 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10545
10546         * text2.C (toggleInset): call open/close
10547
10548 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10549
10550         * lyxfunc.C (dispatch): add debug for the disabled case
10551
10552         * font.C (buttonText): make similar to rectText
10553
10554         * buffer.C (readInset): comment out parsing of insetlist and
10555         insttheorem
10556
10557         * PainterBase.C (rectText): small correction
10558
10559         * BufferView_pimpl.C: comment out insettheorem and insetlist
10560         * LyXAction.C: ditto
10561         * commandtags.h: ditto
10562
10563 2001-07-24  Juergen Vigna  <jug@sad.it>
10564
10565         * text.C (draw): honor the ignore_language.
10566
10567         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10568
10569 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10570
10571         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10572         char inset.
10573
10574 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10575
10576         * lyxtext.h: remove unused (and unimplemented) methods
10577
10578 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10579
10580         * text.C (getVisibleRow): honor background color
10581
10582         * PainterBase.h:
10583         * Painter.h: remove default color argument for fillRectangle
10584
10585         * text.C (backgroundColor): new method
10586
10587 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10588
10589         * text.C (getVisibleRow): adjust
10590
10591         * font.[Ch] (rectText): new method, metrics
10592         (buttonText): new method, metrics
10593
10594         * PainterBase.[hC]: make rectText and buttonText always draw and take
10595         fewer paramteres.
10596
10597 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10598
10599         * ToolbarDefaults.C (read):
10600         * MenuBackend.C (read): allow escaping in all strings
10601
10602         * BufferView_pimpl.C (insertAndEditInset): new method.
10603         (Dispatch): use insertAndEditInset whenever appropriate.
10604
10605         * BufferView_pimpl.C (insertNote): removed
10606
10607         * BufferView_pimpl.C (smartQuote): new method, moved from
10608         BufferView; if an insetquote cannot be inserted, insert a '"'
10609         character instead.
10610
10611         * BufferView2.C: remove insertCorrectQuote();
10612
10613         * lyxfunc.C (getStatus): Add support for all remaingin
10614         inset-insert lfuns.
10615
10616         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10617
10618         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10619         command (necessary to pass " as parameter of self-insert.
10620
10621         * text.C (selectWordWhenUnderCursor):
10622         (selectWord): add word_location parameter
10623         (selectWordWhenUnderCursor): same + remove special code for word
10624         boundary.
10625         (selectNextWord): use kind() to guess type of insetspecialchar,
10626         not latex().
10627
10628         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10629         (insertErtContents): create ert insets as collapsed.
10630         (readInset): better compatibility code for Info inset.
10631
10632 2001-07-20  Juergen Vigna  <jug@sad.it>
10633
10634         * lyxfunc.C (dispatch): use always LyXFind now!
10635
10636         * text2.C (init): add a reinit flag so that the LyXText can be
10637         reinited instead of deleted and reallocated (used in InsetText).
10638
10639         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10640
10641         * text.C: ditto
10642
10643         * text2.C: ditto
10644
10645 2001-07-18  Juergen Vigna  <jug@sad.it>
10646
10647         * text.C (selectNextWord): handle insets inside inset by calling
10648         always the bv->text functions so that we can go up the_locking_inset!
10649
10650         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10651         in strange locations when inside an inset!
10652
10653         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10654         handling to include insets.
10655
10656         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10657
10658 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10659
10660         * LyXAction.C (init):
10661         * commandtags.h:
10662         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10663         LIGATURE_BREAK, since the name is so stupid.
10664
10665 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10666
10667         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10668         InsetInfos.
10669
10670         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10671
10672         * sp_form.[Ch]: remove.
10673
10674         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10675
10676         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10677         InsetInfo.
10678
10679         * src/buffer.C (readInset): ditto.
10680
10681 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10682
10683         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10684         menuSeparator(), endOfSentenceDot(), ldots() and
10685         hyphenationPoint(), which are therefore removed.
10686         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10687
10688         * LyXAction.C (init):
10689         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10690
10691         * paragraph.C (getWord): removed.
10692
10693         * BufferView_pimpl.C (Dispatch): use last word or selection for
10694         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10695
10696         * lyx_main.C (queryUserLyXDir): do not ask before creating
10697         user_dir, except if it has been named explicitely.
10698
10699 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10700
10701         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10702         a document of zero size.
10703
10704 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10705
10706         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10707         approriately in the c-tor and in require().
10708         (getPackages): output the appropriate LaTeX for natbib support.
10709
10710         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10711         variables "use_natbib" and "use_numerical_citations" when reading the
10712         LyX file.
10713         (readInset): read the various natbib cite commands.
10714         (validate): white-space change.
10715
10716         * bufferparams.[Ch]: new variables "bool use_natbib" and
10717         "bool use_numerical_citations".
10718         (writeFile): output them in the LyX file.
10719
10720 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10721
10722         * lyxfunc.C (getStatus): add support for all the inset insertion
10723         commands.
10724
10725         * text2.C (insertInset):
10726         * paragraph.C (insetAllowed):
10727         * BufferView_pimpl.C (insertInset): update to take in account the
10728         renaming of insertInsetAllowed
10729
10730         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10731
10732         * text2.C (getInset): new method. returns inset at cursor position.
10733
10734         * BufferView_pimpl.C (Dispatch): changes because of this.
10735
10736         * LyXAction.C (init): rename open-stuff to inset-toggle.
10737
10738         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10739
10740         * text2.C (toggleInset): renamed from openStuff; use
10741         Inset::open().
10742
10743 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10744
10745         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10746
10747         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10748
10749 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10750
10751         * buffer.C (readLyXformat2): Add filename to the error dialog
10752
10753 2001-07-18  Juergen Vigna  <jug@sad.it>
10754
10755         * tabular.C (GetCellNumber): put an assert here instead of the check!
10756
10757 2001-07-17  Juergen Vigna  <jug@sad.it>
10758
10759         * BufferView_pimpl.C (toggleSelection): adapted too.
10760
10761         * text.C (selectNextWord): adapted for use with insets.
10762         (selectSelectedWord): ditto
10763
10764 2001-07-17  Juergen Vigna  <jug@sad.it>
10765
10766         * sp_spell.C (PSpell): fix initialitation order.
10767
10768 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10769
10770         * paragraph.C: spacing
10771
10772 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10773
10774         * sp_spell.C: repair language selection for pspell
10775
10776 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10777
10778         * lyxfunc.h: change more methods to begin with lower char.
10779
10780 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10781
10782         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10783         for unknown layouts.
10784
10785 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10786
10787         * buffer.C (readLyXformat2): Generate an error dialog if there are
10788         unknown layouts.
10789
10790 2001-07-16  Juergen Vigna  <jug@sad.it>
10791
10792         * sp_spell.C: always compile ISpell part.
10793
10794         * lyxrc.C: added use_pspell entry and it's handling.
10795
10796 2001-07-13  Juergen Vigna  <jug@sad.it>
10797
10798         * sp_spell.C: removed double includes.
10799
10800 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10801
10802         Consistent use of Lsstream.h:
10803         * Lsstream.h: added using std::stringstream for consistencies sake.
10804
10805         * buffer.C: removed using std::stringstream
10806
10807         * lyxfont.C (stateText):
10808         * paragraph.C (asString):
10809         * text.C (selectNextWord, selectSelectedWord):
10810         * text2.C (setCounter):
10811         * vspace.C (asString, asLatexString):
10812         std::ostringstream -> ostringstream.
10813
10814 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10815
10816         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10817         * commandtags.h: add LFUN_HELP_ABOUTLYX
10818         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10819
10820 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10821
10822         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10823         cursorToggle()
10824         * lyx_gui_misc.C: remove spellchecker
10825         * lyxfunc.C: showSpellchecker
10826         * sp_base.h: added
10827         * sp_ispell.h: added
10828         * sp_pspell.h: added
10829         * sp_spell.C: added
10830         * sp_form.[Ch]: removed
10831         * spellchecker.[Ch]: removed
10832
10833 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10834
10835         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10836         is set.
10837         (simpleTeXSpecialChars): Simply print the input character without
10838         any special translation if pass_thru is set.
10839
10840         * layout.h: Added bool pass_thru to layout class for being able to
10841         implement pass through of a paragraph for Literate Programming.
10842
10843         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10844         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10845         * layout.C (Read): add "passthru" to list of layout tags and add
10846         code to set the pass_thru boolean when it is read.
10847
10848 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10849
10850         * trans_decl.h: remove allowed from KmodInfo
10851
10852         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10853         remove allowed code
10854         (Load): adjust
10855
10856         * paragraph_pimpl.C (erase): use boost::prior
10857
10858         * Painter.C (text): use data() instead of c_str() when length is
10859         also provided.
10860         * WorkArea.C (putClipboard): ditto
10861         * font.h (width): ditto
10862
10863         * BufferView2.C: use it-> instead of (*it). for iterators
10864         * texrow.C: ditto
10865         * paragraph_pimpl.C: ditto
10866         * paragraph.C: ditto
10867         * minibuffer.C: ditto
10868         * language.C: ditto
10869         * kbmap.C: ditto
10870         * encoding.C: ditto
10871         * counters.C: ditto
10872         * converter.C: ditto
10873         * chset.C: ditto
10874         * Variables.C: ditto
10875         * TextCache.C: ditto
10876         * MenuBackend.C: ditto
10877         * LyXAction.C: ditto
10878         * LColor.C: ditto
10879         * FloatList.C: ditto
10880         * DepTable.C: ditto
10881         * ColorHandler.C (LyXColorHandler): ditto
10882
10883 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10884
10885         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10886
10887         * text2.C (openStuff): reintroduce this method (which had been
10888         nuked in NEW_INSETS frenzy).
10889
10890         * lyxfunc.C (Dispatch): when an action has not been handled, use
10891         its name in the error message, not its number.
10892
10893         * paragraph.C (inInset): change method name to begin with lowercase.
10894
10895         * undo_funcs.C:
10896         * text2.C: updates because of this.
10897
10898 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10899
10900         * ToolbarDefaults.C (add): add spaces in error message
10901
10902 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10903
10904         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10905         (readLyXformat2): rename return_par to first_par, use lyxlex's
10906         pushToken and remove the manual push handling.
10907         (parseSingleLyXformat2Token): add another ert comp. variable:
10908         in_tabular, rename return_par to first_par. handle newlines better
10909
10910 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10911
10912         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10913
10914 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10915
10916         * text2.C (getParFromID): removed
10917
10918         * buffer.C (getParFromID): new method moved form lyxtext.
10919         * BufferView2.C (insertErrors): adjust
10920         (setCursorFromRow): adjust
10921         * BufferView_pimpl.C (restorePosition): adjust
10922         * lyxfunc.C (Dispatch): adjust
10923         * undo_funcs.C (textUndo): adjust
10924         (textRedo): adjust
10925         (textHandleUndo): adjust
10926         (textHandleUndo): adjust
10927
10928 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10929
10930         * buffer.C: up' the LYX_FORMAT
10931
10932         * lyxfont.h: turn NO_LATEX on as default
10933
10934         * buffer.C (insertErtContents): new methods of tex style compability.
10935         (parseSingleLyXformat2Token): use it several places.
10936         * tabular.C (OldFormatRead): and here
10937
10938 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10939
10940         * text2.C: remove some commented code.
10941         reindent file.
10942
10943         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10944         * trans.C: changes because of the above.
10945
10946 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10947
10948         * text2.C (setCounter): Fix counters bug with bibliography layout.
10949
10950 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10951
10952         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10953         own member functions
10954         (simpleTeXSpecialChars): ditto
10955
10956 2001-07-06  Juergen Vigna  <jug@sad.it>
10957
10958         * a lot of files: changed the access to LyXText::status and the
10959         call of undo-functions.
10960
10961         * undo.[Ch]: added a inset_id to the undo informations.
10962
10963         * undo_funcs.[Ch]: added and moved here all undo functions.
10964
10965         * lyxtext.h: give the status enum a weight, made status_ a private
10966         variable and made accessor functions for it, removed the whole bunch
10967         of undo-functions as they are now in their own file, make some
10968         functions publically available. Added function ownerParagraph with
10969         int parameter.
10970
10971         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10972         made InInset() a const function, added getParFromID() function.
10973
10974         * buffer.[Ch]: added const version for inset_iterator functions,
10975         added getInsetFromID() function.
10976
10977         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10978         changed undo functions for new version.
10979
10980 2001-07-05  Juergen Vigna  <jug@sad.it>
10981
10982         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10983         unknow mechanism does not call the proper constructor but only this
10984         one also if I request the other!?
10985
10986 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10987
10988         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10989
10990         * text2.C (LyXText): use initialization lists.
10991
10992         * lyxtext.h (Selection): initialize set_ and mark_
10993         (init): remove method
10994
10995 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10996
10997         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10998
10999 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11000
11001         * screen.[Ch]: change method names to begin with lowercase
11002
11003         * BufferView_pimpl.C (updateScrollbar): simplify further and
11004         hopefully make it a bit faster.
11005
11006 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11007
11008         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11009         calling directly xforms functions.
11010
11011         * Painter.C (Painter):
11012         * lyx_cb.C (MenuWrite):
11013         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11014         fl_display.
11015
11016         * lyx_gui.C: remove bogus guiruntime extern declaration.
11017
11018 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11019
11020         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11021         in NEW_INSETS
11022         (redoDrawingOfParagraph): ditto
11023         (redoParagraphs): ditto
11024         (cutSelection): don't create a object for CutAndPaste use the
11025         static method directly
11026         (pasteSelection): ditto
11027
11028         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11029         LyXview (+ rename)
11030
11031 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11032
11033         * modifications to some other files because of this.
11034
11035         * Makefile.am (lyx_SOURCES): add XFormsView
11036
11037         * XFormsView.[Ch]: new files
11038
11039         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11040         the main window. Move the gui dependent stuff to XFormsView
11041
11042 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11043
11044         * tabular.C (GetCellInset): update cur_cell also in the row/col
11045         version of this function.
11046
11047         * lyxfunc.C: no need to include figure_form.h here.
11048
11049         * FontLoader.h:
11050         * lyxfunc.h:
11051         * lyxscreen.h:
11052         * text2.C:
11053         * lyxvc.C: no need to include forms.h here.
11054
11055 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11056
11057         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11058
11059         * lyxfunc.C (Dispatch):
11060         * Spacing.C (set):
11061         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11062         constructor argument.
11063
11064 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11065
11066         * paragraph.C (Paragraph): dont't clear, and just set layout.
11067         (makeSameLayout): use params's copy contructor.
11068
11069         * ParagraphParameters.[Ch] (makeSame): delete method
11070
11071 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11072
11073         * Variables.[Ch]: fix indentation, rename set to isSet
11074
11075 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11076
11077         * lyxfunc.C (Dispatch): fix typo
11078
11079 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11080
11081         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11082         upper_bound.
11083
11084         * bufferlist.C: include assert.h for emergencyWrite().
11085
11086 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11087
11088         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11089           give up at last (bug #425202) !
11090
11091 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11092
11093         * lyx_gui_misc.C:
11094         * sp_form.h:
11095         * sp_form.C:
11096         * spellchecker.h:
11097         * spellchecker.C: strip spellchecker options and bring up
11098           preferences tab instead
11099
11100 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11101
11102         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11103         the istringstream constructor
11104
11105 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11106
11107         * paragraph.C (getLayout): fix return value
11108
11109         * paragraph.h: do not declare getLayout as inline.
11110
11111         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11112
11113 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11114
11115         * lyxcursor.h (operator<): new func
11116         (operator>): new func
11117         (operator>=): new func
11118         (operator<=): new func
11119
11120         * text.C (changeCase): use selection.start and selection.end
11121         (changeRegionCase): require from to be <= to. Require par to be a
11122         valid paragraph.
11123
11124         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11125
11126 2001-06-27  Juergen Vigna  <jug@sad.it>
11127
11128         * text.C (cursorLeftOneWord): changed to return the cursor and added
11129         overlay with BufferView * parameter which calls this one.
11130         (getWord): added
11131         (selectWord): use new getWord function.
11132         (changeCase): renamed from changeWordCase as and extended to work
11133         also on selections.
11134
11135         * lyxtext.h: added enum word_location
11136
11137         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11138         changeCase as this operates now also on selections.
11139
11140 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11141
11142         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11143
11144         * many files: send debug output to Debug::INFO instead of
11145         Debug::ANY.
11146
11147         * converter.C (View):
11148         (Convert):
11149         (Move): send debug output to Debug::FILES instead of console.
11150
11151 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11152
11153         * lyxfunc.C (getStatus): use func_status
11154
11155         * func_status.h: new header, describing the results of
11156         LyXFunc::getStatus;
11157
11158         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11159         LFUN_MATH_HALIGN.
11160
11161 2001-06-25  The LyX Project  <jug@sad.it>
11162
11163         * buffer.C (sgmlOpenTag):
11164         (sgmlCloseTag):
11165         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11166
11167 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11168
11169         * text2.C: remove some dead code
11170
11171         * tabular.C (GetCellInset): store the last cell checked (gotten)
11172
11173         * tabular.h: add the helper for the speedup
11174
11175         * lyxtext.h: remove some dead code
11176
11177 2001-06-26  The LyX Project  <Asger>
11178
11179         * paragraph.C: Change export to LaTeX of alignment to
11180         \begin{center} and family for better roundtrip work with reLyX.
11181
11182         * Tune the math drawing a bit.
11183
11184 2001-06-25  The LyX Project  <Asger>
11185
11186         * LColor.C (LColor): New color for math background. New color
11187         for buttons.
11188
11189 2001-06-25  The LyX Project  <jug@sad.it>
11190
11191         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11192
11193         * lyxfunc.C (Open):
11194         * bufferlist.C (newFile): do not restrict to files ending with
11195         .lyx
11196
11197         * BufferView_pimpl.C (MenuInsertLyXFile):
11198
11199 2001-06-24  The LyX Project  <jug@sad.it>
11200
11201         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11202         of compare_no_case
11203
11204 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11205
11206         * lyxtext.h: rename most methods to begin with a small char.
11207         Lots of changes because of this.
11208
11209         * paragraph.C (Paragraph): do not call fitToSize
11210         (erase): call Pimpl::erase
11211         (insertChar): call Pimpl::insertChar
11212         (insertInset): call Pipl::insertInset
11213         (breakParagraph): do not call fitToSize
11214         (breakParagraphConservative): do not call fitToSize
11215         (fitToSize): remove method
11216
11217         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11218
11219 2001-06-24  The LyX Project  <Asger>
11220
11221         * Fix Qt compilation^2
11222
11223 2001-06-24  The LyX Project  <jug@sad.it>
11224
11225         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11226         depthHook(getDepth()-1).
11227
11228         * paragraph.h:
11229         * ParagraphParameters.h:
11230         * ParameterStruct.h: change type of depth to unsigned int ==
11231         depth_type. Many adaptations to other files before of that.
11232
11233 2001-06-24  The LyX Project  <Asger>
11234
11235         * Fix Qt compilation.
11236
11237 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11238
11239         * paragraph.h: renamed several methods to begin with small letter.
11240         several changes to many parts of the code because of this.
11241
11242 2001-06-23  The LyX Project  <jug@sad.it>
11243
11244         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11245         rewritten to discard all double spaces when KeepEmpty is off
11246         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11247         to only handle newlines but not fiddle with spaces and friends.
11248
11249         * lyxfunc.C (MenuNew): when doing 'new from template', use
11250         template_path as default directory
11251
11252 2001-06-23  The LyX Project  <Asger>
11253
11254         * Clean-up of header file includes all over
11255         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11256
11257 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11258
11259         * paragraph.h: renamed from lyxparagraph.h
11260
11261 2001-06-23  Asger  <lyx@violet.home.sad.it>
11262
11263         * Buffer.h: Removed Buffer::resize
11264         * BufferList.h: Removed BufferList::resize
11265         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11266         the document lazily when we change the width, or the font settings.
11267
11268 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11269
11270         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11271
11272 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11273
11274         * buffer.h: remove out of date comment
11275
11276 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11277
11278         * lyxscreen.h:
11279         * screen.C: fix "theoretical" GC leak
11280
11281 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11282
11283         * LaTeX.C (scanAuxFile):
11284         (deplog): remove trailing \r when reading stream (useful under
11285         win32)
11286
11287 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11288
11289         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11290         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11291         and BufferView::theLockingInset(Inset*), so should use them and not
11292         access bv_->text->the_locking_inset directly.
11293
11294         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11295
11296 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11297
11298         * Makefile.am:
11299         * tex-defs.h: remove old unused file
11300
11301 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11302
11303         * BufferView_pimpl.C: fix typo, remove minibuffer message
11304           when buffer has loaded
11305
11306 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11307
11308         * lyxfunc.C (Dispatch): use stringstream
11309         (MenuNew): use stringstream
11310         (Open): use stringstream
11311
11312         * importer.C (Import): use stringstream
11313
11314         * bufferview_funcs.C (CurrentState): use stringstream
11315
11316         * LaTeX.C (run): use stringstream
11317
11318         * BufferView_pimpl.C (savePosition): use stringstream
11319         (restorePosition): use stringstream
11320         (MenuInsertLyXFile): use stringstream
11321
11322 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11323
11324         * BufferView.C:
11325         * Bullet.C:
11326         * ColorHandler.C:
11327         * FontInfo.C:
11328         * FontLoader.C:
11329         * LColor.C:
11330         * LaTeXFeatures.C:
11331         * Painter.C:
11332         * gettext.C:
11333         * lyx_gui_misc.C:
11334         * lyxserver.C:
11335         * vspace.C: removed // -*- C++ -*- as first line.
11336
11337         * lyxfind.h:
11338         * version.h: added // -*- C++ -*- as first line.
11339
11340 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11341
11342         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11343
11344         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11345         of string
11346
11347 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11350         of floats.
11351
11352 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11353
11354         * gettext.C: include LString.h even when --disable-nls is on.
11355
11356 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11357
11358         * converter.h (Get): changed argument type from int to
11359         FormatList::size_type to avoid unnecessary conversion.
11360
11361         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11362         before using it.
11363
11364 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11365
11366         * gettext.h: include LString.h even when --disable-nls is on.
11367
11368 2001-06-07  Juergen Vigna  <jug@sad.it>
11369
11370         * text.C (BreakAgain): subst spaces with tabs.
11371
11372         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11373         (resizeInsetsLyXText): set force on resizeLyXText.
11374
11375 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11376
11377         * gettext.h (gettext_init):
11378         (locale_init): use a real definition instead of a macro
11379
11380 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11381
11382         * Bufferview_pimpl.C:
11383         * LColor.h:
11384         * LColor.C: further lcolor tidies
11385
11386 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11387
11388         * BufferView_pimpl.C (updateScrollbar): simplify.
11389
11390         * BufferView2.C: don't include insets/insetinfo.h, change
11391         prototype for insertInset and call the Pimpl version. let
11392         updateInset call Pimpl version.
11393
11394         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11395         gotoInset to BufferView::Pimpl
11396
11397 2001-06-01  Juergen Vigna  <jug@sad.it>
11398
11399         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11400         inside a LockingInset (is the update needed at all?).
11401
11402 2001-05-31  Juergen Vigna  <jug@sad.it>
11403
11404         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11405         here not the old one otherwise how should we compare it afterwards
11406         if it's the same!
11407
11408 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11409
11410         * lyxfont.C:
11411         * tabular.C:
11412         * tabular-old.C:
11413         * FontInfo.C: bring C functions into global namespace when
11414         necessary
11415
11416 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11417
11418         * LString.h: make sure config.h has been loaded before LString.h.
11419
11420         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11421         (one for each char read by EatLine!).
11422
11423         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11424         variables.
11425
11426 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11429         to the same as the par we break from
11430
11431 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11432
11433         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11434
11435         * MenuBackend.C (expand): also create menu entries for wide
11436         versions of the floats.
11437
11438         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11439
11440         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11441
11442         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11443         frontends/Makefile.am
11444
11445         * text2.C: adjust
11446         * text.C: adjust
11447
11448
11449         * tabular.C (getTokenValue): add std::
11450
11451         * tabular-old.C (getTokenValue): add std::
11452         (getTokenValue): ditto
11453         (getTokenValue): ditto
11454
11455         * screen.C (ToggleSelection): adjust
11456
11457         * lyxtext.h: put selection cursors inside a Selection struct.
11458
11459         * lyxfunc.C (moveCursorUpdate): adjust
11460
11461         * lyxfont.C (latexWriteStartChanges): add std::
11462
11463         * lyxfind.C: adjust
11464
11465         * font.h: delete with(char const *, LyXFont const &)
11466
11467         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11468
11469         * FontInfo.C (getFontname): add std::
11470
11471         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11472         (workAreaButtonPress): adjust
11473         (tripleClick): adjust
11474         (update): adjust
11475         (moveCursorUpdate): adjust
11476         (Dispatch): adjust
11477
11478         * BufferView2.C (gotoInset): adjust
11479
11480 2001-05-30  Juergen Vigna  <jug@sad.it>
11481
11482         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11483         to check pspell I add this as default as I now have new pspell
11484         libraries and they seem to use this.
11485
11486 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11487
11488         * text2.C (CutSelection): make the cursor valid before the call to
11489         ClearSelection.
11490
11491 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11492
11493         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11494         relied on 0 terminated strings and other horrors. Bug found due to
11495         the new assert in lyxstring!
11496
11497         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11498         KP_ keys.
11499
11500 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11501
11502         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11503         to latinkeys.bind.
11504
11505         * lyxfunc.C (processKeySym): change method of getting to the
11506         self-insert char.
11507
11508         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11509         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11510         * BufferView_pimpl.[Ch]: here as private methods.
11511
11512 2001-05-28  Juergen Vigna  <jug@sad.it>
11513
11514         * text.C (SetHeightOfRow): added the update() call again as it is
11515         needed to initialize inset dimensions!
11516
11517 2001-05-16  Juergen Vigna  <jug@sad.it>
11518
11519         * text2.C (SetCharFont): Add new function with BufferView * and
11520         bool toggleall parameters for setting insets internal fonts.
11521         (SetFont): Freeze the undo as we may change fonts in Insets and
11522         all this change should be inside only one Undo!
11523
11524         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11525         setting font's in insets as for them we have the SetFont function!
11526
11527 2001-05-15  Juergen Vigna  <jug@sad.it>
11528
11529         * text2.C (ClearSelection): to be sure we REALLY don't have any
11530         selection anymore!
11531
11532         * tabular.C (TeXCellPreamble): fixed the left border problem for
11533         multicolumn cells.
11534
11535 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11536
11537         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11538         dependancy file
11539
11540 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11541
11542         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11543         LFUN_BREAKPARAGRAPH.
11544
11545         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11546         help test to "internal only", similar for LFUN_INSERT_URL
11547
11548         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11549         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11550         auto_region_delete and deadkeys.
11551
11552 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * LColor.h:
11555         * LColor.C: remove some dead entries, tidy a little
11556
11557 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11558
11559         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11560         commented code.
11561         (Dispatch): implement LFUN_ESCAPE
11562
11563         * commandtags.h: add LFUN_ESCAPE
11564
11565         * LyXAction.C (init): add entry for LFUN_ESCAPE
11566
11567         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11568         Remove commented code.
11569         (insertNote): moved here
11570         (open_new_inset): moved here
11571
11572         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11573         BufferView_pimpl
11574
11575 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11576
11577         * kbmap.C (findbinding): clean it up and make it work correctly.
11578
11579         * lyx_main.C (init): do not pass argc and argv as parameters
11580
11581 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11582
11583         * buffer.C: fix path for OS/2 & Win32
11584
11585         * lyx_gui.C:
11586         * lyx_main:
11587         * lyx_main.C: Added os:: class.
11588
11589         * os2_defines.h: update
11590
11591 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11592
11593         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11594         better by trying again with reduced state.
11595
11596 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11597
11598         * lyxrc.C (read): print error about invalid key sequence only when
11599         debugging (because not all latinX keysyms are known to some X
11600         servers)
11601
11602         * kbsequence.C (getiso): add a few std:: qualifiers
11603         (getiso): comment out extra return statement.
11604
11605 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11606
11607         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11608         handling.
11609         (Dispatch): enhance the accent inset a bit. (not perfect)
11610
11611 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11614
11615 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11616
11617         * bufferlist.C (emergencyWrite): fix assert() call
11618
11619 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11620
11621         * text.C (InsertChar): Added trivial patch to only send the "you
11622         can not do multiple spaces this way" message once during a
11623         session.
11624
11625 2001-05-08  Baruch Even  <baruch@lyx.org>
11626
11627         * Makefile.am: Changed order of libraries to get LyX to link properly
11628         with the gnome frontend.
11629
11630 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11631
11632         * LaTeXFeatures.h: add a std:: qualifier
11633
11634 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11635
11636         * paragraph.C (String): use stringstream
11637
11638 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11639
11640         * paragraph.C (writeFile): remove footflag arg
11641
11642         * buffer.C (makeLaTeXFile): use stringstream
11643         (latexParagraphs): remove footnot gurba
11644
11645         * LaTeXFeatures.C (getPackages): use stringstream
11646         (getMacros): likewise
11647         (getTClassPreamble): likewise
11648         (getFloatDefinitions): new method
11649
11650         * paragraph.C (writeFile): reindent
11651         (Erase): reindent
11652
11653         * WorkArea.h: revert the xpos + etc changes.
11654
11655         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11656
11657         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11658
11659         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11660         (pasteSelection): likewise
11661         * text2.C (CreateUndo): likewise
11662
11663 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11664
11665         * minibuffer.C (peek_event): temporarily reduce the functionality
11666         of the minibuffer (to allow args on lfuns)
11667
11668         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11669         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11670
11671         * buffer.C (readInset): add compability reading of old float
11672         lists, add reading of new style float list.
11673         (readInset): avoid reevaluation of inscmd.getCmdName()
11674         (getLists): reindent
11675
11676         * MenuBackend.C (MenuItem): implement parsing of
11677         md_floatlistinsert and md_floatinsert.
11678         (expand::LastFiles): move initalizaton of iterators out of loop,
11679         avoid reevaluation.
11680         (expand::Documents): introduce typdedef vector<string> Strings,
11681         and use it.
11682         (expand::ExportFormats): introduce typedef vector<Format const *>
11683         Formats, and use it.
11684         (expand): implement FloatListInsert and FloatInsert.
11685
11686         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11687         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11688         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11689
11690         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11691         handling.
11692         (Dispatch::LFUN_FLOAT_LIST): implement
11693
11694 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11695
11696         * LaTeX.C (run): Fix problem with --export code.
11697
11698 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11699
11700         * BufferView.[Ch] (workarea): removed.
11701         (getClipboard) new method; wrapper for workarea()->getClipboard()
11702
11703         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11704         bug.
11705
11706         * WorkArea.h (width, height, xpos, ypos): These methods all
11707         returned the dimensions of the work_area sub-area of WorkArea,
11708         resulting in a position error if the WorkArea were resized. Now
11709         return the dimensions of the entire WorkArea.
11710
11711         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11712
11713 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11714
11715         * LaTeX.C (deplog): correct the syntax of regex reg1
11716
11717 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11718
11719         * undo.C: remove !NEW_INSETS cruft
11720
11721 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11722
11723         * text2.C: remove !NEW_INSETS cruft
11724
11725         * text.C: remove !NEW_INSETS cruft
11726
11727         * tabular.C: remove !NEW_INSETS cruft
11728
11729         * spellchecker.C: remove !NEW_INSETS cruft
11730
11731         * lyxtext.h: remove !NEW_INSETS cruft
11732
11733         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11734
11735         * lyxfunc.C: remove !NEW_INSETS cruft
11736
11737         * lyxfind.C: remove !NEW_INSETS cruft
11738
11739         * lyx_cb.C: remove !NEW_INSETS cruft
11740
11741         * figureForm.C: remove  !NEW_INSETS cruft
11742
11743         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11744
11745         * buffer.[Ch]: remove !NEW_INSETS cruft
11746
11747         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11748
11749         * CutAndPaste.C: remove !NEW_INSETS cruft
11750
11751         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11752
11753         * BufferView2.C: remove !NEW_INSETS cruft
11754
11755         * BufferView.h: remove !NEW_INSETS cruft
11756
11757 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11758
11759         * Lsstream.h: include LString.h before the sstream headers to
11760         fix problem with gcc 2.95.3 and lyxstring
11761
11762 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11763
11764         * lyx_main.C: add using directives when needed for C functions
11765         declared in std:: namespace.
11766
11767 2001-04-27  Juergen Vigna  <jug@sad.it>
11768
11769         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11770         (SetHeightOfRow): comment out the update call should not be needed!
11771
11772 2001-04-13  Juergen Vigna  <jug@sad.it>
11773
11774         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11775         (LyXTabular): tried to minimize operator= operations (and realized
11776         hopfully Lars wish).
11777
11778 2001-04-27  Juergen Vigna  <jug@sad.it>
11779
11780         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11781
11782 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11783
11784         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11785
11786         * buffer.C (readInset): hack to make listof algorithm work
11787
11788         * BufferView_pimpl.C: hack to make listof algorithm work
11789
11790 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11791
11792         * LyXAction.C: removed all !NEW_INSETS cruft
11793         (init): moved lfun_item in method
11794
11795         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11796
11797 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11798
11799         * BufferView2.C (theLockingInset): white space.
11800
11801 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11802
11803         * minibuffer.C: include <iostream>
11804
11805         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11806
11807         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11808
11809         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11810
11811         * text.[Ch] (TransposeChars): new method
11812
11813 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11814
11815         * call message directly through LyXView instead of through LyXFunc
11816         * BufferView2.C: adjust
11817         * BufferView_pimpl.C: adjust
11818         * FontLoader.C: adjust
11819         * buffer.C: adjust
11820         * bufferview_funcs.C: adjust
11821         * converter.C: adjust
11822         * figureForm.C: adjust
11823         * importer.C: adjust
11824         * lyx_cb.C: adjust
11825         * lyx_gui_misc.C: adjust
11826         * lyxfunc.C: adjust
11827         * lyxvc.C: adjust
11828         * text2.C: adjust
11829         + more files in subdirs
11830
11831         * lyxparagraph.h (size): move up int file
11832         (GetLayout): ditto
11833
11834         * adjust all uses of Assert to lyx::Assert.
11835
11836         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11837         lyxfunctional in namespace lyx
11838         * layout.C (hasLayout): ditto
11839         (GetLayout): ditto
11840         (GetLayout): ditto
11841         (delete_layout): ditto
11842         (NumberOfClass): ditto
11843         * converter.C (GetFormat): ditto
11844         (GetNumber): ditto
11845         (Add): ditto
11846         (Delete): ditto
11847         (SetViewer): ditto
11848         * bufferlist.C (getFileNames): ditto
11849         (emergencyWriteAll): ditto
11850         (exists): ditto
11851         (getBuffer): ditto
11852         * MenuBackend.C (hasSubmenu): ditto
11853         (hasMenu): ditto
11854         (getMenu): ditto
11855         * BufferView_pimpl.C (getInsetByCode): ditto
11856
11857 2001-04-18  Juergen Vigna  <jug@sad.it>
11858
11859         * vspace.C (asLatexString): fixed the 100% problem.
11860
11861 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11862
11863         * lyxfunc.C (Dispatch):
11864         * minibuffer.C:
11865         * minibuffer.h: add a few std:: qualifiers
11866
11867 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11868
11869         * minibuffer.[Ch]: reimplement so that commands is initiated and
11870         run from lyxfunc, simplified som handling, and made the completion
11871         and history code for complete. wip.
11872
11873         * lyxfunc.C (processKeySym): call message
11874         (miniDispatch): new temporary method
11875         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11876         (LFUN_MESSAGE): implement
11877         (LFUN_MESSAGE_PUSH): implement
11878         (LFUN_MESSAGE_POP): implement
11879         (initMiniBuffer): the initial/defualt minibuffer message.
11880
11881         * lyxfont.[Ch]: inline some more getters
11882
11883         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11884
11885         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11886
11887         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11888         (AutoSave): use LFUN_MESSAGE
11889         (Reconfigure): ditto
11890
11891         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11892
11893         * figureForm.C: use LFUN_MESSAGE
11894
11895         * converter.C (runLaTeX): use LFUN_MESSAGE
11896
11897         * bufferview_funcs.C: use LFUN_MESSAGE
11898         (Melt): ditto
11899         (changeDepth): ditto
11900
11901         * bufferparams.h: use boost::
11902
11903         * bufferlist.h: inherit privately from noncopyable
11904
11905         * bufferlist.C (loadLyXFile): remove some commented code.
11906
11907         * buffer.C (runChktex): use LFUN_MESSAGE
11908
11909         * ShareContainer.h: inherit privately from noncopyable
11910
11911         * ParagraphParameters.[hC] (depth): inline it.
11912
11913         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11914         methods.
11915         (message): new method
11916         (messagePush): ditto
11917         (messagePop): ditto
11918         (show): init minibuffer
11919         (showState): direct call
11920
11921         * LaTeX.[Ch]: inherit privately from noncopyable
11922         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11923         instead of WriteStatus.
11924
11925         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11926
11927         * BufferView_pimpl.C (buffer): don't init minibuffer
11928         (workAreaButtonPress): use LFUN_MESSAGE
11929         (workAreaButtonRelease): ditto
11930         (savePosition): ditto
11931         (restorePosition): ditto
11932         (MenuInsertLyXFile): ditto
11933         (workAreaExpose): don't init minibuffer
11934         (update): remove commented code, simplify
11935
11936         * BufferView2.C (openStuff): use LFUN_MESSAGE
11937         (toggleFloat): ditto
11938         (menuUndo): ditto
11939         (menuRedo): ditto
11940         (copyEnvironment): ditto
11941         (pasteEnvironment): ditto
11942         (copy): ditto
11943         (cut): ditto
11944         (paste): ditto
11945         (gotoInset): ditto
11946         (updateInset): remove some commented code
11947
11948         * lastfiles.h: inherit privately from noncopyable
11949         * layout.h: ditto
11950         * lyx_gui.h: ditto
11951         * lyx_main.h: ditto
11952         * lyxlex.h: ditto
11953         * lyxlex_pimpl.h: ditto
11954
11955         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11956         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11957         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11958
11959         * LyXAction.h: inherit privately from noncopyable, add methods
11960         func_begin, func_end, returning iterators to the func map.
11961
11962         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11963         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11964         (func_begin): new method
11965         (func_end): new method
11966
11967         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11968         and not)
11969         (copySelection): ditto
11970         (pasteSelection): ditto
11971
11972         * BufferView.C: whitespace change
11973         * BufferView.h: inherit privately from noncopyable
11974
11975 2001-04-16  Allan Rae  <rae@lyx.org>
11976
11977         * tabular-old.C (l_getline):
11978         * spellchecker.C (sc_check_word):
11979         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11980         an unrecognised preprocessor directive.  So ensure they're wrapped.
11981
11982 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11983
11984         * src/exporter.C (Export): Give an error message when path to file
11985         contains spaces.
11986
11987 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11988
11989         * LaTeX.C (deplog): Always check that foundfile exists.
11990
11991 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11992
11993         * lyx_main.h:
11994         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11995
11996 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11997
11998         * tabular.[Ch] (getLabelList): implement new method
11999
12000         * minibuffer.h: comment ouf setTiimer
12001
12002         * minibuffer.C (ExecutingCB): constify res
12003         (peek_event): constify s
12004         (Set): constify ntext
12005         (Init): constify nicename
12006
12007         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12008
12009         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12010         (savePosition): use two params to Minibuffer::Set
12011         (restorePosition): ditto
12012
12013 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12014
12015         * lyx_main.C: include language.h
12016
12017         * Makefile.am (lyx_main.o): add language.h
12018
12019 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12020
12021         * exporter.C:
12022         * paragraph.C:
12023         * screen.C:
12024         * tabular.C:
12025         * CutAndPaste.C: include gettext.h
12026
12027         * lyxfont.h: remove old hack with ON and OFF.
12028
12029         * lyxparagraph.h:
12030         * lyxfont.h: do not include language.h...
12031
12032         * BufferView2.C:
12033         * LaTeXFeatures.C:
12034         * Painter.C:
12035         * bufferview_funcs.C:
12036         * font.C:
12037         * lyxfont.C:
12038         * text.C:
12039         * text2.C:
12040         * trans_mgr.C:
12041         * paragraph.C: ... but do it here instead
12042
12043 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12046
12047         * tabular.C: small reformat
12048
12049         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12050         NEW_INSETS version
12051         (GetChar): ditto
12052         (BreakParagraph): ditto
12053         (SetOnlyLayout): ditto
12054         (SetLayout): ditto
12055
12056         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12057         with one arg less.
12058
12059         * lastfiles.C: removed most using decl, add std:: where needed
12060
12061         * buffer.C: ws changes
12062
12063         * MenuBackend.C (class compare_format): put into anon namespace
12064         (expand): constify label, names, action, action2
12065         (expand):
12066
12067         * text.C (SingleWidth): constify font
12068         (IsBoundary): constify rtl2
12069         (GetVisibleRow): constify ww
12070
12071         * LaTeX.C (deplog): constify logfile
12072
12073         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12074         start_x, end_x
12075         (workAreaExpose): constify widthChange, heightChange
12076
12077         * lyxrow.C (par): moved
12078         (height): moved
12079         (next): moved
12080         * lyxrow.h: as inlines here
12081
12082         * lyxfont.h (shape): moved from lyxfont.C
12083         (emph): moved from lyxfont.C
12084
12085         * lyxfont.C (LyXFont): use initialization list for all
12086         constructors
12087         (shape): move to lyxfont.h as inline
12088         (emph): move to lyxfont.h as inline
12089
12090
12091 2001-04-04  Juergen Vigna  <jug@sad.it>
12092
12093         * vspace.C: had to include stdio.h for use of sscanf
12094
12095 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12096
12097         * BufferView.h:
12098         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12099         independent of xforms.
12100
12101 2001-04-02  Juergen Vigna  <jug@sad.it>
12102
12103         * spellchecker.C: fixed namespace placing!
12104
12105 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12106
12107         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12108         the LyXParagraph * is 0.
12109
12110 2001-03-29  Juergen Vigna  <jug@sad.it>
12111
12112         * vspace.C: added support for %, c%, p%, l%.
12113         (stringFromUnit): added helper function.
12114         (asLatexString): changed to give right results for the %-values.
12115
12116         * buffer.C: convert the widthp in a width%.
12117
12118 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12119
12120         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12121         figureForm.[Ch].
12122
12123         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12124         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12125
12126         * lyx_cb.[Ch]: see above.
12127
12128         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12129         form1.[Ch].
12130
12131         * form1.[Ch]:
12132         * lyx.[Ch]: replaced by figure_form.[Ch].
12133
12134         * lyx_gui.C:
12135         * lyx_gui_misc.C:
12136         * lyxfunc.C: changed headers associated with above changes.
12137
12138 2001-03-27  Juergen Vigna  <jug@sad.it>
12139
12140         * BufferView_pimpl.C: set the temporary cursor right!
12141
12142 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12143
12144         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12145
12146 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12147
12148         * LString.h: removed "using std::getline"!
12149
12150         * BufferView_pimpl.C (Dispatch): changes due to changes in
12151         InsetInclude::Params.
12152
12153         * buffer.C (tag_name): removed redundant break statements as they were
12154         producing lots of warnings with my compiler.
12155
12156 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12157
12158         * LString.h: add "using std::getline" when using the real <string>.
12159
12160 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12161
12162         * buffer.C: removed bitset usage.
12163         PAR_TAG moved to an anonymous name space.
12164         (tag_name): new funtion, also in the anonymous namespace.
12165         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12166         (makeDocBookFile): clean code. Completed transition from string arrays
12167         to string vectors.
12168         (SimpleDocBookOnePar): code clean.
12169
12170 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12171
12172         * tabular.C: add some comments.
12173
12174 2001-03-22  Juergen Vigna  <jug@sad.it>
12175
12176         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12177         compatibility read a bit and fixed bug with minipage in different
12178         depth.
12179
12180 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12181
12182         * buffer.C (pop_tag): removed.
12183         (push_tag): removed.
12184         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12185         array replaced with vector. Added support for CDATA sections.
12186         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12187         at any nest level.
12188         (makeDocBookFile): XML conformant declaration of CDATA section,
12189         fixed bug related to <emphasis> in the first paragraph char.
12190         (sgmlOpenTag): exclude empty tags.
12191         (sgmlCloseTag): ditto.
12192
12193         * buffer.h (pop_tag): removed.
12194         (push_tag): removed.
12195
12196 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12197
12198         * language.h (Languages): added size_type and size().
12199
12200 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12201
12202         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12203         response on compability reading of minipages. One probliem is that
12204         the old usage of minipages was «flertydig»
12205
12206         * several files here and in subdirs: don't use static at file
12207         scope use anon namespaces instead.
12208
12209 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12210
12211         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12212         LaTeX output. This is necessary for Literate document
12213         processing.
12214
12215 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12216
12217         * buffer.C: insert hfill when needed.
12218
12219         * tabular.C (l_getline): use string::erase, small whitespace change.
12220
12221         * BufferView_pimpl.C: try the anon namespace.
12222         * WorkArea.C: ditto
12223
12224 2001-03-16  Juergen Vigna  <jug@sad.it>
12225
12226         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12227         otherwise it won't open options-dialogs.
12228
12229         * buffer.C: honor pextraWidth(p) on converting minipages.
12230
12231         * tabular.C (l_getline): changed the functions to strip trailing \r.
12232
12233 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12234
12235         * BufferView_pimpl.C:
12236         * minibuffer..C: added "using SigC::slot" declaration.
12237
12238 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12239
12240         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12241
12242         * text2.C: ditto
12243
12244         * text.C: ditto
12245
12246         * paragraph.C: ditto
12247
12248         * lyxtext.h: NO_PEXTRA
12249
12250         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12251
12252         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12253         * ParameterStruct.h: ditto
12254         * ParagraphParameters.h: ditto
12255         * lyxparagraph.h: ditto
12256
12257 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12258
12259         * buffer.C: add compability for minipage alignment.
12260         (latexParagraphs): remove unwanted pextra check.
12261
12262         * several files: remove CXX_WORKING_NAMESPACES
12263
12264         * buffer.C (pop_tag): tie is in namespace boost
12265
12266         * BufferView.h: noncopyable is in namespace boost
12267         * lyxlex.h: ditto
12268         * lyx_main.h: ditto
12269         * lyx_gui.h: ditto
12270         * layout.h: ditto
12271         * lastfiles.h: ditto
12272         * bufferlist.h: ditto
12273         * ShareContainer.h: ditto
12274         * LyXView.h: ditto
12275         * LyXAction.h: ditto
12276         * LaTeX.h: ditto
12277
12278 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12279
12280         * Merging changes from BRANCH_MVC back into HEAD.
12281
12282         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12283
12284 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * BufferView_pimpl.C: change from intl.C
12287
12288         * combox.h:
12289         * combox.C:
12290         * Makefile.am: move combox.*
12291
12292         * form1.h:
12293         * form1.C:
12294         * lyx_gui.C:
12295         * intl.h:
12296         * intl.C: remove dialog (covered by prefs)
12297
12298 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12299
12300         * lyxfunc.C (Dispatch): removed redundant break statement.
12301
12302 2001-03-14  Juergen Vigna  <jug@sad.it>
12303
12304         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12305
12306 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12307
12308         * buffer.C: add hack to fix compability reading of minipages.
12309
12310 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12311
12312         * buffer.C (getLists): Cleanup.
12313
12314 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12315
12316         * lyxfont.C (update): don't honor toggleall on font size.
12317
12318 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * bmtable.c:
12321         * bmtable.h:
12322         * Makefile.am: moved to frontends/xforms/
12323
12324         * lyx_gui_misc.C:
12325         * lyxfunc.C:
12326         * BufferView_pimpl.C: changes for moved mathpanel
12327
12328 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12329
12330         * gettext.h: fix gettext_init() in --disable-nls
12331
12332 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12333
12334         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12335
12336 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12337
12338         * lyx.C:
12339         * lyx.h: strip external form
12340
12341 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12342
12343         * BufferView_pimpl.C: add comment, destroySplash()
12344
12345 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12346
12347         * BufferView_pimpl.C:
12348         * LyXAction.C:
12349         * buffer.C:
12350         * commandtags.h:
12351         * lyxfunc.C: use re-worked insetinclude
12352
12353 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12354
12355         * buffer.C: add using std::stringstream.
12356
12357         * lyx_cb.C: readd using std::ios.
12358
12359         * buffer.C: add using std::map.
12360
12361         * BufferView_pimpl.C: add using std::vector.
12362
12363         * ShareContainer.h: add std:: to swap.
12364
12365         * buffer.h: add some typedefs
12366         * buffer.C (getLists): use them
12367         (getLists): renamed from getTocList.
12368         add a counter for the different float types and use it in the
12369         generated string.
12370         (getLists): use the same counter for the NEW_INSETS and the "non"
12371         NEW_INSETS
12372
12373         * lyx_cb.h: remove unused items, includes, using etc.
12374
12375         * ShareContainer.h: remove some commented code, add more comments
12376         and "documentation".
12377
12378 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12379
12380         * buffer.C (getTocList): make the list also when NEW_INSETS is
12381         defined.
12382
12383         * buffer.h: remove TocType
12384
12385         * buffer.C (getTocList): change to return a map<string,
12386         vector<TocItem> >, implement for dynamic number of list.
12387
12388         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12389         * text2.C (PasteSelection): adjust
12390         * CutAndPaste.C (pasteSelection): adjust
12391
12392         * FloatList.C (FloatList): update from the new_insets branch.
12393         * Floating.[Ch]: ditto
12394         * LaTeXFeatures.C: ditto
12395         * buffer.C: ditto
12396         * lyxlex_pimpl.C: ditto
12397
12398         * paragraph.C (Last): remove when NEW_INSETS is defined.
12399
12400         * other file: changes because of the above.
12401
12402 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12403
12404         * lyxparagraph.h: rename next to next_, previous to previous_,
12405         make them private for NEW_INSETS. Rename Next() to next(),
12406         Previous() to previous().
12407
12408         * other files: changes because of the above.
12409
12410 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12411
12412         * BufferView.h:
12413         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12414         problem.
12415
12416 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12417
12418         * main.C (main): pass lyx_localedir to gettext_init().
12419
12420         * gettext.h: remove locale_init and gettext_init macros
12421
12422         * gettext.C (locale_init): new function
12423         (gettext_init): new function
12424
12425         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12426         setlocale().
12427
12428 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12429
12430         * Moved credits to frontends:
12431         * credits.[Ch]: removed
12432         * credits_form.[Ch]: removed
12433         * lyx_gui_misc.C: remove credits stuff
12434         * Makefile.am:
12435
12436 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12437
12438         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12439
12440         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12441         unneeded destructor.
12442
12443         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12444         a standalone pointer again.
12445
12446         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12447
12448 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * Makefile.am:
12451         * filedlg.h:
12452         * filedlg.C:
12453         * LyXAction.C:
12454         * ToolbarDefaults.C:
12455         * bufferlist.C:
12456         * commandtags.h:
12457         * form1.C:
12458         * form1.h:
12459         * lyx_cb.C:
12460         * lyx_cb.h:
12461         * lyxfunc.h:
12462         * lyxfunc.C:
12463         * BufferView_pimpl.C: use new file dialog in GUII
12464
12465         * lyx_cb.h:
12466         * lyx_cb.C: remove LayoutsCB to Toolbar
12467
12468 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12469
12470         * ShareContainer.h (get): add std:: qualifier
12471
12472 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12473
12474         * ShareContainer.h: define a proper ShareContainer::value_type
12475         type (and use typename to please compaq cxx)
12476
12477 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12478
12479         * lyxparagraph.h: move serveral local vars to
12480         ParameterStruct/ParagraphParameters., use ShareContainer in
12481         FontTable., make vars in FontTable private and add getter and
12482         setter.
12483
12484         * paragraph.C: changes because of the above.
12485
12486         * lyxfont.h: remove copy constructor and copy assignment. (the
12487         default ones is ok), move number inside FontBits. move inlines to
12488         lyxfont.C
12489
12490         * lyxfont.C: add number to initializaton of statics, move several
12491         inlines here. constify several local vars. some whitespace
12492         cleanup. Dont hide outerscope variables.
12493
12494         * Spacing.h: add two new constructors to match the set methods.
12495
12496         * ShareContainer.h: new file, will perhaps be moved to support
12497
12498         * ParameterStruct.h: new file
12499
12500         * ParagraphParameters.h: new file
12501
12502         * ParagraphParameters.C: new file
12503
12504         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12505         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12506
12507         * BufferView_pimpl.C: ParagraphParameter changes.
12508         * buffer.C: Likewise.
12509         * bufferview_funcs.C: Likewise.
12510         * text.C: Likewise.
12511         * text2.C: Likewise.
12512
12513 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12514
12515         * lyxfind.C (LyXReplace): do not redefine default argument in
12516         implementation.
12517         (IsStringInText): ditto
12518         (SearchForward): ditto
12519         (SearchBackward): ditto
12520
12521 2001-03-06  Juergen Vigna  <jug@sad.it>
12522
12523         * lyxfind.C (IsStringInText): put parentes around expressions.
12524
12525 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12526
12527         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12528
12529 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12530
12531         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12532
12533         * stl_string_fwd.h: add comment
12534
12535         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12536
12537         * tabular.h:
12538         * tabular.C: remove unused DocBook methods
12539
12540         * intl.C:
12541         * language.C:
12542         * paragraph.C:
12543         * buffer.C:
12544         killed DO_USE_DEFAULT_LANGUAGE
12545
12546 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12547
12548         * lyx_gui.C: do not include language.h.
12549
12550         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12551         arguments in function implementation.
12552
12553 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12554
12555         * BufferView_pimpl.C: add <ctime>
12556
12557 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12558
12559         * BufferView_pimpl.C: add using std::find_if
12560
12561 2001-02-27  José Matos  <jamatos@fep.up.pt>
12562
12563         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12564         by OnlyPath.
12565
12566 2001-02-11  José Matos  <jamatos@fep.up.pt>
12567
12568         * buffer.C (makeDocBookFile): command styles now have a parameter as
12569         "title" by default.
12570
12571 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12572
12573         * layout_forms.[Ch]: removed
12574         * lyx_cb.[Ch]: out character
12575         * lyx_gui.C: out character
12576         * lyx_gui_misc.C: out character
12577         * bufferview_funcs.C: : out character,
12578         added toggleall as parameter in ToggleAndShow
12579
12580 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12581
12582         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12583
12584         * text2.C (SetCurrentFont): Disable number property at boundary.
12585
12586 2001-02-26  Juergen Vigna  <jug@sad.it>
12587
12588         * lyxfunc.C (getStatus): added a string argument override function so
12589         that this is correctly called from LyXFunc::Dispatch if it contains a
12590         do_not_use_argument which is used!
12591         (Dispatch): added check for "custom" export and call appropriate func.
12592
12593 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12594
12595         * lyxrc.C: Add language_command_local, language_use_babel and
12596         language_global_options.
12597
12598         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12599
12600         * buffer.C (makeLaTeXFile): Use language_use_babel and
12601         language_global_options.
12602
12603 2001-02-23  Juergen Vigna  <jug@sad.it>
12604
12605         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12606         which works with LyXText and putted it inside BufferView. Here now we
12607         only call for that part the BufferView::Dispatch() function.
12608
12609         * BufferView.C (Dispatch): added.
12610
12611         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12612         functions which needs to use a LyXText over from LyXFunc.
12613         (MenuInsertLyXFile): added
12614         (getInsetByCode): added
12615         (moveCursorUpdate): added
12616         (static TEXT): added
12617
12618 2001-02-22  Juergen Vigna  <jug@sad.it>
12619
12620         * BufferView_pimpl.C (update): call a status update to see if LyXText
12621         needs it.
12622
12623 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12624
12625         * vc-backend.C (revert): implement for CVS
12626         (getLog): implement for CVS
12627
12628 2001-02-20  Juergen Vigna  <jug@sad.it>
12629
12630         * text2.C (ClearSelection): added BufferView param for inset_owner call
12631
12632         * lyxfunc.C (TEXT): added this function and use it instead of
12633         directly owner->view()-text of getLyXText().
12634
12635 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12636
12637         * src/layout_forms.C: out preamble
12638         * src/layout_forms.h: out preamble
12639         * src/lyx_cb.C: out preamble
12640         * src/lyx_cb.h: out preamble
12641         * src/lyx_gui.C: out preamble
12642         * src/lyx_gui_misc.C: out preamble
12643         * src/lyxfunc.C: connect with guii preamble
12644
12645 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12646
12647         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12648
12649 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12650
12651         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12652         whether to run bibtex.
12653
12654 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12655
12656         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12657
12658 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12659
12660         * Makefile.am (lyx_SOURCES): removed bibforms.h
12661
12662         * vspace.h: doxygen
12663
12664         * text.C (GetVisibleRow): make several local vars const
12665
12666         * tabular.C: small cleanup.
12667
12668         * lyxserver.C (callback): use compare instead of strncmp
12669
12670         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12671         inlines to after class or to paragraph.C
12672
12673         * lyxfont.h: remove friend operator!=
12674
12675         * converter.h: move friend bool operator< to non friend and after
12676         class def.
12677
12678         * combox.h: small cleanup
12679
12680         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12681         to inlines after class def.
12682
12683         * buffer.C (pop_tag): use string operations instead of strcmp
12684
12685         * bmtable.c: doxygen, small cleanup
12686
12687         * LaTeX.h: remove friend operator==
12688
12689 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12690
12691         * screen.C:
12692         * lyxrc.[Ch]:
12693         * lyxfunc.C:
12694         * lyxfont.[Ch]:
12695         * lyx_cb.C:
12696         * intl.[Ch]:
12697         * commandtags.h:
12698         * buffer.C:
12699         * WorkArea.[Ch]:
12700         * LyXAction.C:
12701         * BufferView_pimpl.C:
12702         * BufferView.[Ch]: remove cruft
12703
12704 2001-02-14  Juergen Vigna  <jug@sad.it>
12705
12706         * lyxfunc.C: removed #if 0 unused code
12707
12708         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12709
12710         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12711
12712         * text2.C (SetSelection): added a BufferView * parameter
12713
12714 2001-02-13  Juergen Vigna  <jug@sad.it>
12715
12716         * lyxfunc.C (Dispatch): fixed protected blank problem.
12717         * BufferView2.C (protectedBlank): added LyxText * parameter.
12718
12719         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12720         (AppendColumn): same as above for column_info.
12721
12722         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12723         (moveCursorUpdate): use a LyXText param for support of InsetText.
12724
12725         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12726         (tripleClick): ditto
12727
12728         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12729
12730         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12731
12732         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12733
12734         * text2.C (SetSelection): set correct update status if inset_owner
12735         (ToggleFree): ditto
12736
12737 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12738
12739         * tabular.C: remove some commented code.
12740
12741 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12742
12743         * BufferView_pimpl.C: call hideSplash()
12744
12745         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12746
12747         * include_form.h:
12748         * bibforms.h: remove
12749
12750         * lyxfunc.C:
12751         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12752           add LFUN_CHILD_CREATE
12753
12754         * counters.h: fix tiny typo
12755
12756         * lyx_cb.C:
12757         * lyx.h:
12758         * lyx_gui.C:
12759         * lyx.C: move splash to frontends/xforms/
12760
12761         * lyx_gui_misc.C: move Include and Bibform to frontends
12762
12763         * lyxvc.h: clarify comment
12764
12765         * vspace.C: tiny housekeeping
12766
12767 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12768
12769         * text.C (PrepareToPrint): RTL Fix.
12770
12771         * paragraph.C (GetUChar): New method.
12772         (String):  Use GetUChar.
12773
12774         * buffer.C (asciiParagraph): Use GetUChar.
12775
12776 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12777
12778         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12779
12780 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * buffer.h:
12783         * buffer.C: rename to getLogName(), handle
12784           build log / latex log nicely
12785
12786 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12787
12788         * MenuBackend.C:
12789         * MenuBackend.h: remove support for reference menuitem type.
12790
12791 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12792
12793         * BufferView_pimpl.C: housekeeping
12794         * BufferView_pimpl.h:
12795         * LyXView.h:
12796         * Makefile.am:
12797         * Timeout.C:
12798         * Timeout.h:
12799         * minibuffer.h: move Timeout GUI-I
12800
12801 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12802
12803         * lyxrc.C (read): Update converters data-structures.
12804
12805 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12806
12807         * LaTeX.h (operator!=): add operator != for Aux_Info
12808
12809 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12810
12811         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12812
12813         * LaTeXLog.C: deleted, useful code moved to Buffer
12814
12815         * buffer.h:
12816         * buffer.C: new function getLatexLogName()
12817
12818         * lyx_gui_misc.C:
12819         * lyx_gui.C:
12820         * lyxvc.C:
12821         * lyxvc.h:
12822         * lyxfunc.C: use frontends for LaTeX and VC logs
12823
12824 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12825
12826         * LaTeX.h: yet another std:: that Allan forgot.
12827
12828         * Variables.C (set): renamed from isset(), because this clashes
12829         with some HP-UX macros (grr).
12830
12831 2001-02-06  Allan Rae  <rae@lyx.org>
12832
12833         * LaTeX.h: Another bug fix.  Missing std:: this time.
12834
12835 2001-02-04  Allan Rae  <rae@lyx.org>
12836
12837         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12838         floats problem. I've left it commented out because it's not quite
12839         correct.  It should also test that the current object is a table or
12840         figure inset.  But I haven't gotten around to figuring out how to do
12841         that.  I *think* it'll be something like: "table" == inset.type()
12842
12843         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12844         bool.
12845
12846 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12847
12848         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12849         all the citation/databases/styles in the auxilary file.
12850         (run): Rerun latex if there was a babel language error.
12851
12852 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12853
12854         * text.C (Backspace): Preserve the font when changing newline char
12855         with a space.
12856         (BreakParagraph): If the cursor is before a space, delete the space.
12857
12858         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12859
12860 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12861
12862         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12863         new argument (code).
12864         (ChangeCitationsIfUnique): New method.
12865
12866         * paragraph.C (GetPositionOfInset): Handle bibkey.
12867
12868 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12869
12870         * BufferView_pimpl.h: change type of Position::par_pos to
12871         LyXParagraph::size_type.
12872
12873 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12874
12875         * BufferView_pimpl.C (savePosition, restorePosition): Write
12876         messages to minibuffer.
12877
12878 2001-01-28  José Matos  <jamatos@fep.up.pt>
12879
12880         * buffer.C (makeDocBookFile): adds support for document language.
12881         A silly restriction on the name of LatexCommand types where removed.
12882         Added support for CDATA sections, allows to chars unescaped, used
12883         among others in code, to avoid escape < and >.
12884
12885 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12886
12887         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12888         saved positions instrad of a stack. Furthermore, a position is
12889         stored using paragraph id/paragraph position.
12890
12891         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12892         Remove LFUN_REF_BACK.
12893
12894 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12895
12896         * converter.C (dvipdfm_options): New method.
12897
12898 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12899
12900         * vspace.C (isValidLength): Fix for empty input string.
12901
12902 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12903
12904         * LyXAction.C (init): change description of LFUN_FIGURE to
12905         "Insert Graphics"
12906
12907 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12908
12909         * LaTeX.C: add using directive
12910
12911 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12912
12913         * MenuBackend.C (expand): Fix the sorting of the formats.
12914
12915 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12916
12917         * lyx_main.C: tiny error message fix
12918
12919 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12920
12921         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12922         calling fl_initialize(). This fixes the problem with ',' as
12923         decimal separator in text files.
12924
12925 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12926
12927         * trans.C (process): Fix the keymap bug.
12928
12929 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12930
12931         * LaTeX.C (scanAuxFiles): New method. Provides support for
12932         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12933         (scanLogFile) Scan for "run BibTeX" messages.
12934
12935         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12936         OT1 font encoding. Also, load the aecompl package if the ae
12937         package is loaded.
12938
12939         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12940
12941 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12942
12943         * texrow.C (increasePos): turn two error messages into debug
12944         messages.
12945
12946 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12947
12948         * LaTeX.C (scanAux): Handle the \@input macro.
12949         (runBibTeX): Use scanAux().
12950
12951         * language.C (latex_options_): New field.
12952
12953         * LaTeXFeatures.C (getMacros): Add language macros.
12954
12955         * buffer.C (makeLaTeXFile): Small fix.
12956
12957 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12958
12959         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12960
12961         * text2.C: add a using directive.
12962
12963 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * BufferView2.C:
12966         * lyx_gui_misc.h:
12967         * lyxfr1.C:
12968         * lyxfunc.C: kill LyXBell.
12969
12970 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12971
12972         * text.C (IsBoundary): Remove the error message
12973
12974         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12975
12976         * lyxrc.C (setDefaults): Correct initialization value for
12977         font_norm_type.
12978
12979 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12980
12981         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12982         gotoError().
12983
12984         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12985         and GotoNextNote().
12986
12987         * src/LyXAction.C: Added reference-next.
12988
12989         * text.C (InsertChar): Use contains instead of strchr.
12990
12991         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12992
12993 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12994
12995         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12996         alignment commands (when needed).
12997
12998         * text.C (InsertChar): Add ':' to number separator chars.