]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
the toc fix plus layout stuff
[lyx.git] / src / ChangeLog
1 2003-09-15  Angus Leeming  <leeming@lyx.org>
2
3         * LColor.h: add an EnumLColor wrapper for LColor::color.
4
5         * lyxfont.[Ch] (color, setColor, realColor):
6         * lyxtext.h, text.C (backgroundColor):
7         pass EnumLColor args to/from the functions, rather than LColor::color ones.
8
9         * lyxfont.h:
10         * lyxtext.h: forward declare EnumLColor.
11
12         * lyx_main.C: add #include "LColor.h".
13
14 2003-09-15  Angus Leeming  <leeming@lyx.org>
15
16         * .cvsignore: add lyx-gtk.
17
18 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
19
20         * Chktex.C
21         * LaTeX.C
22         * LaTeXFeatures.C
23         * ParagraphParameters.C
24         * Spacing.C
25         * buffer.C
26         * bufferparams.C
27         * bufferview_funcs.C
28         * chset.C
29         * counters.C
30         * funcrequest.C
31         * lyxfont.C
32         * lyxgluelength.C
33         * lyxlength.C
34         * paragraph.C
35         * paragraph_funcs.C
36         * text3.C
37         * vc-backend.C: remove usage of STRCONV
38
39 2003-09-15  Angus Leeming  <leeming@lyx.org>
40
41         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
42         explicitly define the color passed to the painter.
43
44 2003-09-15  Angus Leeming  <leeming@lyx.org>
45
46         * bufferparams.C (BufferParams): reorder member initializers to avoid
47         compiler warning.
48
49 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
50
51         * CutAndPaste.C (pasteSelection): remove an outdated #warning
52         * text.C (updateRowPositions): remove an unusual nop
53
54 2003-09-12  André Pönitz  <poenitz@gmx.net>
55
56         * BufferView_pimpl.C:
57         * Bullet.C:
58         * layout.h:
59         * lyxfunc.C:
60         * lyxlayout.[Ch]:
61         * lyxtextclass.C:
62         * rowpainter.C:
63         * text.C:
64         * text2.C:
65         * Counters.[Ch]: finish the 'automatic counters' job
66
67 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
68
69         * aspell.C: include <boost/assert.cpp> (compile fix)
70
71 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
72
73         * boost.C (assertion_failed): use lyx::support::abort instead of
74         assert.
75
76 2003-09-10  Angus Leeming  <leeming@lyx.org>
77
78         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
79         _fwd progeny.
80
81 2003-09-09  Angus Leeming  <leeming@lyx.org>
82
83         134 files throughtout the source tree: replace 'using namespace abc;'
84         directives with the appropriate 'using abc::xyz;' declarations.
85
86 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
87
88         * boost.C (emergencyCleanup): moved here from LAssert.c
89         (assertion_failed): new function, called by BOOST_ASSERT
90
91         * several files: change Assert to BOOST_ASSERT
92
93 2003-09-09  Angus Leeming  <leeming@lyx.org>
94
95         * buffer.[Ch]: Add an Impl class and move Buffer's member
96         variables into it. As a result move several header files out of
97         buffer.h.
98
99         Add header files to lots of .C files all over the tree as a result.
100
101 2003-09-09  Angus Leeming  <leeming@lyx.org>
102
103         * buffer.[Ch]: make Buffer's member variables private. Add
104         accessor functions.
105
106         Lots of changes all over the tree as a result.
107
108 2003-09-08  Angus Leeming  <leeming@lyx.org>
109
110         * graph.C: #include <config.h>.
111
112 2003-09-08  Angus Leeming  <leeming@lyx.org>
113
114         * BranchList.C:
115         * BufferView.C:
116         * BufferView_pimpl.C:
117         * CutAndPaste.C:
118         * DepTable.C:
119         * LaTeX.C:
120         * LaTeXFeatures.C:
121         * LyXAction.C:
122         * MenuBackend.C:
123         * TextCache.C:
124         * aspell.C:
125         * buffer.C:
126         * bufferlist.C:
127         * changes.C:
128         * chset.C:
129         * converter.C:
130         * counters.C:
131         * debug.C:
132         * graph.C:
133         * ispell.C:
134         * lyx_cb.C:
135         * lyxfind.C:
136         * lyxfunc.C:
137         * lyxlex_pimpl.C:
138         * lyxrc.C:
139         * lyxrow.C:
140         * paragraph.C:
141         * rowpainter.C:
142         * texrow.C:
143         * text.C:
144         * text2.C:
145         * toc.C: remove redundant using directives.
146
147 2003-09-07  Angus Leeming  <leeming@lyx.org>
148
149         * LaTeXFeatures.h: remove #include "support/types.h".
150         * ToolbarBackend.h: remove #include <algorithm>.
151         * changes.h: remove #include <ctime>.
152         * debug.h: remove #include <iosfwd>.
153         * graph.h: remove #include "support/std_string.h".
154         * lyx_main.h: remove #include <csignal>.
155         * lyxlex_pimpl.h: remove #include <fstream>.
156         * sgml.h: remove #include <algorithm>, <utility>.
157         * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
158
159 2003-09-07  Angus Leeming  <leeming@lyx.org>
160
161         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
162
163         * converter.h: forward declare LatexRunParams.
164         * encoding.h: remove #include "lyxrc.h".
165         * lyxtext.h: remove #include "LColor.h".
166         * lyxtextclass.h: remove #include "support/types.h".
167         * trans.h: remove #include "tex-accent.h".
168         * trans_mgr.h: remove #include "tex-accent.h".
169         * insets/inset.h: remove #include "support/types.h", <vector>.
170         * insets/insetcollapsable.h: remove #include "LColor.h".
171         * insets/insetinclude.h: remove #include "dimension.h".
172         * insets/insetlatexaccent.h: remove #include "dimension.h".
173         * insets/insetoptarg.h:: remove #include "insettext.h".
174         * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
175
176         * insets/renderers.h: add #include "dimension.h".
177         * insets/updatableinset.h: add #include "support/types.h".
178
179         * many .C files: Associated changes.
180
181 2003-09-06  Angus Leeming  <leeming@lyx.org>
182
183         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
184         inside testInvariant.
185
186         * PrinterParams.C: new file.
187         * PrinterParams.[Ch]: move the function bodies out of line.
188
189 2003-09-06  Angus Leeming  <leeming@lyx.org>
190
191         * ParagraphParameters.h: forward declare ParameterStruct rather than
192         including its header file.
193         (depth): moved out-of-line.
194
195 2003-09-06  Angus Leeming  <leeming@lyx.org>
196
197         * BufferView_pimpl.h:
198         * kbmap.h:
199         * kbsequence.h:
200         * lyxfunc.h: forward declare LyXKeySym rather than
201         #include "frontends/LyXKeySym.h".
202
203         * BufferView_pimpl.C:
204         * kbmap.C:
205         * kbsequence.C:
206         * lyxfunc.C: associated changes.
207
208 2003-09-06  Angus Leeming  <leeming@lyx.org>
209
210         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
211         As a result, can remove the #include "insets/inset.h" from BufferView.h
212
213 2003-09-06  Angus Leeming  <leeming@lyx.org>
214
215         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
216         As a result, can remove the #include "insets/inset.h" from BufferView.h
217
218 2003-09-06  Angus Leeming  <leeming@lyx.org>
219
220         * buffer_funcs.C:
221         * buffer.h:
222         * bufferlist.C:
223         * BufferView.C:
224         * bufferview_funcs.C:
225         * BufferView_pimpl.C:
226         * CutAndPaste.C:
227         * lyx_cb.C:
228         * lyxfunc.C:
229         * paragraph.h:
230         * ParagraphParameters.C:
231         * tabular.C:
232         * text3.C:
233         * toc.C:
234         * undo_funcs.C:
235         * frontends/controllers/ControlDocument.C:
236         * insets/insetcaption.C: rearrange the #includes into some sort of
237         coherent order.
238
239         * buffer.h: remove #includes ErrorList.h, undo.h
240
241 2003-09-06  Angus Leeming  <leeming@lyx.org>
242
243         * support/types.h: add a 'depth_type' typedef, used to store the
244         nesting depth of a paragraph.
245
246         * paragraph.h:
247         * ParameterStruct.h: use this lyx::depth_type typedef rather than
248         defining explicitly.
249
250         * buffer.h:
251         * paragraph_funcs.h:
252         * ParagraphParameters.h:
253         * sgml.h: use lyx::depth_type rather than Paragraph or
254         ParameterStruct's depth_type.
255
256         * buffer.h
257         * paragraph_funcs.h: no need to #include paragraph.h anymore.
258
259         * BufferView.C:
260         * BufferView_pimpl.C:
261         * CutAndPaste.C:
262         * ParagraphParameters.C:
263         * buffer_funcs.C:
264         * bufferlist.C:
265         * bufferview_funcs.C:
266         * lyx_cb.C:
267         * lyxfunc.C:
268         * tabular.C:
269         * text3.C:
270         * toc.C:
271         * undo_funcs.C:
272         * frontends/LyXView.C:
273         * frontends/controllers/ControlDocument.C:
274         * frontends/controllers/ControlErrorList.C:
275         * insets/insetbibitem.C:
276         * insets/insetbranch.C:
277         * insets/insetcaption.C:
278         * insets/insetcollapsable.C:
279         * insets/insetenv.C:
280         * insets/insetert.C:
281         * insets/insetfloat.C:
282         * insets/insetfoot.C:
283         * insets/insetfootlike.C:
284         * insets/insetnewline.C:
285         * insets/insetquotes.C:
286         * insets/insettabular.C:
287         * insets/insettext.C:
288         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
289
290         * frontends/controllers/ControlChanges.C: #include "changes.h".
291
292 2003-09-06  Angus Leeming  <leeming@lyx.org>
293
294         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
295         #including paragraph.h.
296
297         * ParagraphList.h:
298         * RowList.h: deleted. Superfluous.
299
300         * CutAndPaste.h:
301         * iterators.h:
302         * lyxcursor.h:
303         * lyxtext.h:
304         * text_funcs.h:
305         * undo.h:
306         * undo_funcs.h:
307         * insets/inset.h:
308         * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
309
310         * paragraph.h: don't forward declare ParagraphList.
311
312         * buffer.h:
313         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
314         rather than ParagraphList.h. paragraph.h is still needed for the
315         Paragraph::depth_type parameters.
316
317         * textcursor.h: enable it to compile stand-alone in light of the
318         above changes.
319
320         * bufferview_funcs.C:
321         * iterators.C:
322         * lyxfunc.C:
323         * lyxrow_funcs.C:
324         * paragraph.C:
325         * rowpainter.C:
326         * text.C:
327         * text2.C:
328         * text3.C:
329         * text_funcs.C:
330         * textcursor.C:
331         * undo.C:
332         * frontends/controllers/ControlParagraph.C:
333         * frontends/controllers/ControlTabular.C:
334         * insets/insetmarginal.C:
335         * insets/insetminipage.C:
336         * insets/insetnote.C:
337         * insets/insetoptarg.C: add header files needed to compile again.
338
339 2003-09-06  Angus Leeming  <leeming@lyx.org>
340
341         * RowList_fwd.h: new file, forward-declaring Row rather than
342         #including lyxrow.h.
343
344         * lyxrow_funcs.h:
345         * lyxtext.h:
346         * paragraph.h:
347         * insets/insettext.h: use it instead of RowList.h
348
349         * bufferview_funcs.C:
350         * lyxfunc.C:
351         * lyxrow_funcs.C:
352         * paragraph.C:
353         * rowpainter.C:
354         * text.C:
355         * text2.C:
356         * text3.C: #include "RowList.h".
357
358 2003-09-05  Angus Leeming  <leeming@lyx.org>
359
360         * factory.C (createInset):
361         * vspace.C (c-tor): replace sscanf call with an istringstream.
362         * ispell.C: re-add missing HP/UX headers.
363         * lyxserver.C: re-add missing  os2 headers.
364
365 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
366
367         * BranchList.C:
368         * graph.C:
369         * ispell.C:
370         * lastfiles.C:
371         * lyx_cb.C:
372         * lyxserver.C:
373         * texrow.C:
374         * text3.C: re-add missing system headers, needed for 2.95.2.
375
376 2003-09-05  Angus Leeming  <leeming@lyx.org>
377
378         Changes most place everywhere due to the removal of using directives
379         from support/std_sstream.h.
380
381 2003-09-05  Angus Leeming  <leeming@lyx.org>
382
383         Replace LString.h with support/std_string.h,
384         Lsstream.h with support/std_sstream.h,
385         support/LIstream.h with support/std_istream.h,
386         support/LOstream.h with support/std_ostream.h.
387
388         Changes resulting throughout the tree.
389
390 2003-09-05  Angus Leeming  <leeming@lyx.org>
391
392         * sgml.h: ensure that the header file can be compiled stand-alone.
393         * *.C: strip out redundant #includes. (320 in total.)
394
395 2003-09-04  Angus Leeming  <leeming@lyx.org>
396
397         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
398         here (from getPackages).
399
400         * debug.[Ch]: add a new EXTERNAL tag.
401
402 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
403
404         * text2.C (cursorEnd): simplify
405         (setCursor): adjust
406         (getColumnNearX): adjust
407
408         * text.C (computeBidiTables): adjust
409         (fill): adjust
410
411         * rowpainter.C (paintChars): adjust
412         (paintSelection): adjust
413         (paintChangeBar): adjust
414         (paintText): adjust
415
416         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
417         lastPos instead.
418         (numberOfSeparators): adjust
419
420 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
421
422         * LyXAction.C:
423         * box.[Ch]:
424         * lfuns.h:
425         * lyxfunc.C:
426         * text3.C: Restricts the mouse click functionality
427         of insets like bibtex, include, toc and floatlist to the visible
428         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
429         up the dialogs. Cursor has to be in front of the inset (i.e.
430         start of row) for this to function.
431
432 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
433
434         * bufferview_funcs.C (currentState): output row information
435
436 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
437
438         * bufferview_funcs.C (currentState): output paragraph position
439
440 2003-09-04  Angus Leeming  <leeming@lyx.org>
441
442         * FloatList.h: move out #include "Floating.h".
443         * LaTeX.h: move out #include "DepTable.h".
444         * LyXAction.h: move out #include "funcrequest.h".
445         * buffer.h: move out #include "author.h", "iterators.h".
446         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
447         * lyx_main.h: move out #include "errorlist.h".
448         * lyxfunc.h: move out #include "FuncStatus.h".
449         * lyxtext: move out #include "lyxcursor.h".
450         * paragraph_pimpl.h: move out #include "counters.h".
451
452 2003-09-03  Angus Leeming  <leeming@lyx.org>
453
454         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
455         preamble_snippets list, enabling us to add snippets to the preamble only
456         if the snippet was not there already.
457
458 2003-09-04  Angus Leeming  <leeming@lyx.org>
459
460         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
461
462 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
463
464         * lyxfunc.C (dispatch): if fitCursor did something be sure to
465         update
466
467 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
468
469         * BranchList.C: point fix, earlier forgotten
470
471 2003-09-02  Angus Leeming  <leeming@lyx.org>
472
473         * box.C (contains): renamed from 'contained' after a fantastic
474         amount of hot air.
475
476 2003-09-02  John Levon  <levon@movementarian.org>
477
478         * BufferView.C:
479         * lyxcursor.h:
480         * lyxcursor.C:
481         * lyxfunc.C:
482         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
483
484 2003-09-02  John Levon  <levon@movementarian.org>
485
486         * text2.C: simplification of cursorEnd(), including partial
487         fix for bug 1376
488
489 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
490
491         * buffer.C (readFile): add a space
492
493 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
494
495         * BufferView_pimpl.C (update): remove bogus fitCursor() call
496
497 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
498
499         * buffer.C (readFile): new function, take a filename and a
500         ParagraphList::iterator
501         (readFile): adjust
502         (readFile): adjust, make it private. don't use setStream, make
503         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
504         always contain the filename.
505
506         * BufferView.C (insertLyXFile): simplify and make it work for
507         gzipped files.
508
509 2003-08-30  John Levon  <levon@movementarian.org>
510
511         * Makefile.am: fix dist (from Kayvan)
512
513 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
514
515         * most files: change to use const Buffer refs
516
517 2003-08-27  André Pönitz  <poenitz@gmx.net>
518
519         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
520         on top of ownerPar().
521
522 2003-08-27  John Levon  <levon@movementarian.org>
523
524         * funcrequest.C: properly initialise POD members
525
526 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
527
528         * lyxtext.h (top_y): move top_y from here
529         * text.C:
530         * text2.C:
531         * text3.C:
532         * BufferView.[Ch]:
533         * BufferView_pimpl.[Ch]: to here
534         * frontends/screen.C:
535         * insets/insettabular.C:
536         * insets/insettext.C: adjust
537         * rowpainter.[Ch] (paintRows): remove LyXText & argument
538
539 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
540
541         * BufferView.[Ch]:
542         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
543
544 2003-08-26  André Pönitz  <poenitz@gmx.net>
545
546         * paragraph_func.[Ch] (outerPar): new function
547
548         * paragraph.C:
549         * paragraph_funcs.C:
550         * paragraph_funcs.h:
551         * paragraph_pimpl.C:
552         * text2.C: remove Inset::par_owner
553
554 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
555
556         * lyxrow_funcs.C:
557         * lyxtext.h:
558         * text.C:
559         * text2.C: eliminates the needFullRow/display() stuff
560         altogether, putting the logic in metrics/draw in the insets.
561
562 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
563
564         * text2.C (redoParagraphInternal, redoParagraphs):
565         * text.C (redoParagraph): add a call to updateRowPositions at the
566         end of each 'metrics-like' call. Remove all others.
567         (getRow): remove the 'y-computing' version.
568         (getRowNearY): do not compute nor return the real y. Solve the
569         'y < 0' problem and simplify.
570
571 2003-08-22  Angus Leeming  <leeming@lyx.org>
572
573         * *.[Ch]: clean-up of licence and author blurbs.
574         Also move config.h out of a few .h files and into a few .C files.
575
576 2003-08-22  André Pönitz  <poenitz@gmx.net>
577
578         * lyxrow.[Ch]: add x_ and *fill_ members
579
580         * lyxtext.h:
581         * text.C:
582         * rowpainter.C:
583         * text2.C: adjust/remove prepareToPrint() calls
584
585 2003-08-22  André Pönitz  <poenitz@gmx.net>
586
587         * lyxrow.[Ch]: add  end_ member
588
589         * lyxrow_funcs.C: use LyXRow::end_
590
591         * lyxtext.h (singleWidth): add LyXFont parameter
592
593         * rowpainter.C:
594         * text2.C: adjust LyXText::singleWidth() calls
595
596         * text.C (redoParagraph): simplify row breaking logic
597
598
599 2003-08-19  André Pönitz  <poenitz@gmx.net>
600
601         * funcrequest.C: initialize button_ member
602
603         * text3.C:
604         * rowpainter.[Ch]: interface consolidation
605
606 2003-08-18  André Pönitz  <poenitz@gmx.net>
607
608         * BufferView.C:
609         * BufferView_pimpl.C:
610         * lyxfind.C:
611         * paragraph_funcs.C:
612         * rowpainter.C:
613         * text3.C: remove LyXScreen::draw() and fitCursor calls
614
615         * BranchList.h: remove spurious semicolons
616
617         * MenuBackend.C: fix branchlist related crash
618
619 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
620
621         * BranchList.[Ch]:
622         * InsetList.[Ch]:
623         * LColor.[Ch]:
624         * LyXAction.C:
625         * Makefile.am:
626         * MenuBackend.[Ch]:
627         * bufferparams.[Ch]:
628         * factory.C:
629         * lfuns.h:
630         * lyxfunc.C:
631         * text3.C: implements the 'branch inset'
632         idea. This allows the output of various versions of a document
633         from a single source version, selectively outputing or suppressing
634         output of parts of the text.
635         This implementation contains a 'branch list editor' in a separate
636         tab of the document settings dialog. Branches are user definable
637         and have a "display colour" to distinguish them on-screen.
638
639         ColorHandler was somewhat cleaned up.
640         (1) make possible a dynamically growing LColor list by allowing
641         the graphic context cache to grow along (vector);
642         (2) eliminate an IMHO unnecessary step in colour allocation.
643
644 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
645
646         * BufferView_pimpl.C: compile fix
647
648 2003-08-15  André Pönitz  <poenitz@gmx.net>
649
650         * rowpainter.C: remove extra metrics calls
651
652         * lyxtext.h: merge the two constructors into a single one,
653           pass reference to owner's par list
654
655         * BufferView_pimpl.C:
656         * text.C:
657         * text2.C: adjust
658
659 2003-08-15  André Pönitz  <poenitz@gmx.net>
660
661         * lyxrow_funcs.[Ch]:
662         * lyxtext.h:
663         * paragraph.h:
664         * paragraph_funcs.C:
665         * rowpainter.C:
666         * text.C:
667         * text2.C:
668         * text3.C:
669         * text_funcs.C: split LyXText::rowlist_ into individual
670         Paragraph::rows_ chunks
671
672         * BufferView.[Ch]:
673         * BufferView_pimpl.[Ch]:
674         * lyxfind.C:
675         * lyxtext.h:
676         * text3.C: remove toggleSelection()
677
678 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
679
680         * bufferlist.C: beautify two alerts (shorter text of buttons)
681         * buffer.C: Remove redundant ' ' from message
682         * tabular.h:
683         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
684         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
685         rename VALIGN_CENTER to VALIGN_MIDDLE
686
687 2003-08-11  André Pönitz  <poenitz@gmx.net>
688
689         * lyxtext.h (getPar):
690         * text.C: new function
691
692 2003-08-11  André Pönitz  <poenitz@gmx.net>
693
694         * Makefile.am:
695         * tracer.[Ch]: remove unneeded files
696
697         * InsetList.[Ch]: remove resizeInsetsLyXText()
698
699         * lyxtext.h:
700         * text.C:
701         * text2.C:
702         * text3.C: merge insertParagraphs() and appendParagraph()
703         remove breakAgain(), update()
704
705         * BufferView_pimpl.[Ch]:
706         * bufferview_funcs.[Ch]:
707         * lyxfunc.C:
708         * paragraph.[Ch]:
709         * rowpainter.C:
710         * tabular.C: adjust after text & InsetList changes.
711
712 2003-08-08  André Pönitz  <poenitz@gmx.net>
713
714         * text.C (insertChar, backspace): replace rowlist fiddling
715         with rebreak of full par
716
717         * lyxtext.h:
718         * text.C (breakAgainOneRow, redoHeightOfParagraph,
719         checkParagraph, updateInset): removed
720
721 2003-08-07  André Pönitz  <poenitz@gmx.net>
722
723         * paragraph.C:
724         * text3.C: merge some LFUN handlers, remove dead code
725
726 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
727
728         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
729
730 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
731
732         * text2.C (DEPM): fix part of bug 1255 and 1256
733
734 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
735
736         * BufferView_pimpl.C (workAreaDispatch): change to use
737         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
738         that are no mouse related.
739
740 2003-08-05  André Pönitz  <poenitz@gmx.net>
741
742         * BufferView.[Ch]:
743         * BufferView_pimpl.[Ch]:
744         * bufferview_funcs.C:
745         * text2.C:
746         * text3.C: rip out "deep update"
747
748         * textcursor.[Ch] (last_sel_cursor): remove unused member
749
750 2003-08-04  André Pönitz  <poenitz@gmx.net>
751
752         * BufferView.[Ch]:
753         * BufferView_pimpl.[Ch]:
754         * ParagraphParameters.C:
755         * bufferview_funcs.C:
756         * lyx_cb.C:
757         * lyxfind.C:
758         * lyxfunc.C:
759         * text.C:
760         * text2.C:
761         * text3.C: replace "complicated" BufferView::update(...) calls with
762         simpler ones.
763
764         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
765
766 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
767
768         * Makefile.am (lyx_SOURCES): add paper.h
769
770 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
771
772         * Makefile.am: move things around so that both lyx-qt and
773         lyx-xforms can be built (according to --with-frontend). Then lyx
774         is a symbolic link to lyx-[firstfrontend]
775
776 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
777
778         * Always use std::endl with lyxerr
779
780 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
781
782         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
783
784 2003-08-01  André Pönitz  <poenitz@gmx.net>
785
786         * BufferView.[Ch]:
787         * BufferView_pimpl.[Ch]:
788         * lyxfunc.C:
789         * text3.C: merge BufferView::repaint() and BufferView::update()
790
791 2003-08-01  José Matos  <jamatos@lyx.org>
792
793         * buffer.[Ch]: file_format is no longer a buffer data element.
794
795 2003-08-01  André Pönitz  <poenitz@gmx.net>
796
797         * BufferView.C:
798         * lyxtext.h:
799         * text.C:
800         * text2.C: make redoParagraph more independent of current cursor
801
802         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
803         * text.C:
804         * text2.C: remove unneeded members
805
806 2003-07-30  André Pönitz  <poenitz@gmx.net>
807
808         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
809
810         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
811           create a single function...
812
813         * paragraph_funcs.C (moveItem): ... here.
814
815         * text.C:
816           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
817
818 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
819
820         * LColor.[Ch]: Add comment and greyedout logical colors.
821
822 2003-07-30  André Pönitz  <poenitz@gmx.net>
823
824         * tabular.C: don't use Assert too heavily. This crashes where it
825           shouldn't
826
827 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
828
829         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
830         is disabled (bug 1232)
831
832 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
833
834         * factory.C: limited 'arg' scope
835
836 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
837
838         * factory.C: fixed Note submenu issues
839
840 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
841
842         * factory.C: submenu for Note/Comment/Greyedout
843
844 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
845
846         * lyx_main.C (LyX):
847         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
848
849 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
850
851         * LaTeXFeatures.C:
852         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
853         greyedout. Patch provided by Jürgen Spitzmüller.
854
855 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
856
857         * kbmap.C (read): fix error message when reading bind files
858
859 2003-07-29  Angus Leeming  <leeming@lyx.org>
860
861         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
862         certainly does not do what it purports to do. I am doing it, and
863         us, a favour by killing it.
864
865 2003-07-28  José Matos  <jamatos@lyx.org>
866
867         * buffer.C (readBody, do_writeFile):
868         * paragraph.C(readParagraph): \end_document replaces \the_end.
869
870 2003-07-29  André Pönitz  <poenitz@gmx.net>
871
872         * BufferView.[Ch]:
873         * BufferView_pimpl.[Ch]:
874         * lyxfunc.C:
875         * text2.C:
876         * text3.C:
877         * textcursor.[Ch]: remove toggleToggle & Co
878
879 2003-07-28  José Matos  <jamatos@fep.up.pt>
880
881         * buffer.C (readParagraph):
882         * params_func (readParToken, readParagraph):
883         * paragraph.C (write): \layout -> \begin_layout.
884
885 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
886
887         * lyxlex_pimpl.C (setFile): clean up slightly.
888
889         * bufferparams.h: add compressed var
890
891         * buffer_funcs.C (readFile): adjust for LyXLex change
892         (newFile): ditto + simplify
893
894         * buffer.C (writeFile): handle writing of compressed files
895
896         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
897         Check if the file is compressed and set a bufferparm if so.
898
899         * Makefile.am (lyx_LDADD): remove explicit -lz
900
901 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
902
903         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
904         makeDocBookFile): put the real LyX version in the first line of
905         the file
906
907         * version.h:
908         * version.C.in: remove lyx_docversion
909
910         * tabular.C (write_attribute): add a template-based version to
911         write enums properly
912
913 2003-07-28  André Pönitz  <poenitz@gmx.net>
914
915         * lyxtext.h:
916         * text.C:
917         * text2.C:
918         * text3.C: use doubles again for x-coordinates. They are needed.
919
920 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
921
922         * messages.C (getLocaleDir): use lyx_localedir()
923
924         * lyxlex_pimpl.C (setFile): compress stuff
925
926         * buffer.C (writeFile): add some compression stuff
927         (do_writeFile): new func, dont call expliti close... will this
928         breake anything?
929
930         * Makefile.am (lyx_LDADD): add -lz
931
932 2003-07-28  José Matos  <jamatos@fep.up.pt>
933
934         * buffer.C: increment file format.
935         * paragraph_funcs (readParagraph, readParToken):
936         * paragraph.C (readParagraph): add \end_layout.
937
938 2003-07-27  Angus Leeming  <leeming@lyx.org>
939
940         * Makefile.am: remove special casing for configure-time setting of
941         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
942
943         * lyx_main.C (init): remove all Jean-Marc's magic setting of
944         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
945
946 2003-07-26  André Pönitz  <poenitz@gmx.net>
947
948         * paragraph_func.[Ch]:
949         * paragraph.C (realizeFont): inline it whereever it is used
950
951         * rowpainter.C:
952         * text.C:
953         * text2.C:
954         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
955
956
957 2003-07-26  André Pönitz  <poenitz@gmx.net>
958
959         *       lyxtext.h:
960         * text.C:
961         * text2.C: get rid of LyXText::need_break_row
962
963 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
964
965         * toc.[Ch]: put namespace toc inside namespace lyx
966
967         * MenuBackend.C (expandToc2): adjust for lyx::toc
968         (expandToc): ditto
969
970         * lyxfunc.C (dispatch): adjust for lyx::find
971
972         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
973         lyx::find instead. Reorganize a bit.
974         (LyXReplace): rename to replace
975         (LyXFind): rename to find
976
977         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
978         (dispatch): ditto
979
980 2003-07-26  André Pönitz  <poenitz@gmx.net>
981
982         * text.C (setHeightOfRow): restrict scope of temporary variable
983
984         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
985           code (never has been used?)
986
987 2003-07-27  Asger Alstrup  <alstrup@local>
988
989         * text.C (fill): Optimise algorithm to exploit that we can reuse
990         the LyXFont for many characters.
991         (setHeightOfRow): Same thing.
992         (rowBreakPoint): Same thing.
993
994 2003-07-26  Asger Alstrup  <alstrup@local>
995
996         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
997
998         * text.C (singleWidth): Spurious font copying in hot-spot
999         singleWidth avoided. Reorder tests for arabic for efficiency.
1000
1001         * text.C (fill): handle empty paragraphs better.
1002
1003 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1004
1005         * ispell.C:
1006         * encoding.h: add includes
1007
1008         * lyxrc.C: remove reading of bind files
1009
1010         * lyx_main.C (init): setup bindings and menus only if we have a
1011         gui.
1012
1013         * kbmap.C (read): new method. Do the actual reading of bind
1014         files.
1015
1016         * converter.C (dvipdfm_options):
1017         * bufferparams.C:
1018         * lyxrc.C (read):
1019         (output): adapt PAPER_* enums.
1020
1021         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1022
1023         * bufferparams.h: remove paper-related enums from there
1024
1025         * paper.h: New file. A trivial header file to hold paper-related
1026         enums. It should later expand to contain many paper-related
1027         horrors access.
1028
1029         * lyxrc.C: declare extern displayTranslator
1030
1031 2003-07-27  José Matos  <jamatos@fep.up.pt>
1032
1033         * tabular.[Ch] (linuxdoc): add support for tables and figures
1034         (linuxdoc).
1035
1036 2003-07-27  José Matos  <jamatos@fep.up.pt>
1037
1038         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1039         consistency in both functions.
1040         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1041
1042 2003-07-26  Asger Alstrup  <alstrup@local>
1043
1044         * rowpainter.C (paintRows): Change algorithm to work directly on
1045         the insets rather than asking every character in the document
1046         whether its an inset.
1047
1048 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1049
1050         * buffer.C (openFileWrite): factorize some code
1051
1052 2003-07-26  Angus Leeming  <leeming@lyx.org>
1053
1054         * lyx_cb.C:
1055         * lyx_main.[Ch]: replace occurances of system_tempdir with
1056         os::getTmpDir().
1057
1058 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1059
1060         * rename Inset to InsetOld
1061
1062 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1063
1064         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1065         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1066         which I think is a bit clearer. EDIT is gone, since it was
1067         premature optimisation, and broken for mathed anyway.
1068         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1069         with cursor positioning in insets as well (math insets still do not
1070         work, but that's a different story anyway.) It mysteriously
1071         crashes sometimes with undo in the first paragraph, but I'm fairly
1072         confident that this is a compiler bug.
1073
1074 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1075
1076         * paragraph.C (Paragraph): adjust for new clone return type
1077         (operator==): ditto
1078         (copyIntoMinibuffer): ditto
1079
1080 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1081
1082         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1083         by not having a special case, and always doing a full rebreak of
1084         the document after undo.
1085
1086 2003-07-23  Angus Leeming  <leeming@lyx.org>
1087
1088         * factory.C (createInset): InsetExternal::setParams now takes a
1089         Buffer const * arg.
1090
1091 2003-07-23  Angus Leeming  <leeming@lyx.org>
1092
1093         * factory.C (createInset): changed interface to the external and
1094         graphics mailers' string2params functions.
1095
1096 2003-07-23  Angus Leeming  <leeming@lyx.org>
1097
1098         * factory.C (createInset): pass a
1099         Buffer const * parameter to InsetExternalMailer's string2params.
1100
1101 2003-07-22  John Levon  <levon@movementarian.org>
1102
1103         * Thesaurus.h: include the right aiksaurus header
1104
1105 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1106
1107         * MenuBackend.C (expand): check menu shortcuts unconditionally
1108
1109 2003-07-21  Angus Leeming  <leeming@lyx.org>
1110
1111         * factory.C (createInset): pass a
1112         buffer_path parameter to InsetGraphicsMailer's string2params.
1113
1114 2003-07-21  Angus Leeming  <leeming@lyx.org>
1115
1116         * BufferView_pimpl.C (buffer):
1117         * buffer.C (d-tor):
1118         * lyx_main.C (LyX):
1119         * lyxfunc.C (dispatch):
1120         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1121         rather than the grfx shortcut.
1122
1123 2003-07-21  André Pönitz  <poenitz@gmx.net>
1124
1125         * rowpainter.C: remove unused variables
1126
1127         * tabular_funcs.C:
1128         * tabular_funcs.h: move to tabular.C
1129         * Makefile.am: adjust
1130
1131         * tabular.[Ch]: basic optical cleaning
1132
1133         * author.h: pass references, not values
1134
1135 2003-07-18  André Pönitz  <poenitz@gmx.net>
1136
1137         * lyxtext.h:
1138         * metricsinfo.C:
1139         * metricsinfo.h:
1140         * rowpainter.C:
1141         * text.C:
1142         * text2.C:
1143         * text3.C: two-phase drawing for InsetText and InsetTabular
1144         some float -> int changes.
1145
1146 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1147
1148         * lyx_main.C: fix the fix
1149
1150 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1151
1152         * lyx_main.C: fix a crash in batch mode if no files specified
1153         * converter.C: ws
1154
1155 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1156
1157         * format.[Ch] (papersize): moved to BufferParams
1158         * converter.[Ch] (dvips_options): moved to BufferParams
1159         (dvipdfm_options): moved to anon namespace
1160         * bufferparams.[Ch]: added above functions.
1161
1162 2003-07-17  André Pönitz  <poenitz@gmx.net>
1163
1164         * lyxtext.h:
1165         * rowpainter.C:
1166         * text2.C: don't call inset->update() anymore
1167
1168         * metricsinfo.[Ch]: add convenience constructor
1169
1170 2003-07-16  André Pönitz  <poenitz@gmx.net>
1171
1172         * lyxcursor.[Ch]:
1173         * lyxfunc.[Ch]:
1174         * text.C:
1175         * text2.C: replace the LyXCursor::irow_ member with
1176          on-demand computation of the value
1177
1178 2003-07-16  John Levon  <levon@movementarian.org>
1179
1180         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1181
1182 2003-07-15  André Pönitz  <poenitz@gmx.net>
1183
1184         * text.C:
1185         * text2.C: remove no more needed refresh_row
1186
1187 2003-07-15  André Pönitz  <poenitz@gmx.net>
1188
1189         * lyxtext.h:
1190         * rowpainter.C:
1191         * text2.C:
1192         * text3.C: refresh_status tristate -> need_update bool
1193
1194 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1195
1196         * lyxtext.h (init): remove reinit argument (act as if always true)
1197         * text2.C: adjust to that
1198
1199 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1200
1201         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1202         * text3.C: use it to delete selections in some cases
1203         (bugs 441, 673, 702, 954).
1204
1205 2003-07-14  André Pönitz  <poenitz@gmx.net>
1206
1207         * rowpainter.[Ch]: reduce interface
1208
1209 2003-07-14  André Pönitz  <poenitz@gmx.net>
1210
1211         * BufferView_pimpl.C:
1212         * text2.C: adjust after removing unused BufferView * argument
1213
1214 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1215
1216         * text2.C (init): fix a crash fired on resize
1217
1218 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1219
1220         * buffer.[Ch]: added new closing signal
1221         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1222         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1223         BufferView::Pimpl via the closing the signal
1224
1225 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1226
1227         * buffer.[Ch]: take out all bv-related from buffer
1228         * BufferView.C:
1229         * BufferView_pimpl.[Ch]: connect to new signals
1230         * CutAndPaste.C: removed useless asserts
1231         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1232         * lyxvc.[Ch]:
1233         * vc-backend.[Ch]:
1234         * lyxfunc.C: moved view-related funciontality from vc here
1235         * paragraph.C: removed outdated comments
1236         * text.C: ws
1237
1238 2003-07-10  André Pönitz  <poenitz@gmx.net>
1239
1240         * BufferView_pimpl.C:
1241         * tabular.h:
1242         * tabular_funcs.C:
1243         * text.C:
1244         * text2.C: remove InsetText::InnerCache, clean up consequences
1245
1246 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1247
1248         * ispell.C: fix two typos in error messages
1249
1250 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1251
1252         * Extend Note inset to other forms of annotation like Comment
1253         and Greyedout. Right button click gives dialog.
1254
1255         Files modified or added (+):
1256
1257         * insetnote.[Ch]
1258         * FormNote.[Ch]      +
1259         * ControlNote.[Ch]   +
1260         * form_note.fd       +
1261         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1262         frontends/controllers
1263         * xforms/Dialogs.C
1264         * factory.C
1265
1266 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1267
1268         * aspell.C: add missing namespace lyx::support
1269
1270 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1271
1272         * BufferView.[Ch] (newFile): Add
1273         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1274         * LaTeX.[Ch] (message): added this signal and use it
1275         * buffer.[Ch] (busy, message): added these signals and use them
1276         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1277         * converter.C:
1278         * exporter.C:
1279         * format.C:
1280         * importer.C: use buffer signals instead of direct bv calling
1281         * lyx_cb.[Ch] (ShowMessage): removed
1282         * lyx_main.C:
1283         * lyxfunc.C:
1284         * paragraph_funcs.C:
1285         * text2.C: use buffer signals
1286
1287 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1288
1289         * introduce namespace lyx::graphics
1290
1291 2003-07-02  André Pönitz  <poenitz@gmx.net>
1292
1293         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1294
1295 2003-07-01  André Pönitz  <poenitz@gmx.net>
1296
1297         * text.C:
1298         * text2.C:
1299         * text3.C:
1300         * text_funcs.[Ch]:
1301         * textcursor.h:
1302         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1303           text*.C to text_func.C
1304
1305 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1306
1307         * introduce namespace lyx::support
1308
1309 2003-06-30  André Pönitz  <poenitz@gmx.net>
1310
1311         * Chktex.C:
1312         * funcrequest.C:
1313         * lyxtext.h:
1314         * text.C: re-enable --with-included-string
1315
1316 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1317
1318         * textcursor.C: add <config.h>
1319
1320         * text.C (getWord): remove const from word_location arg
1321
1322         * lyxvc.C (getLogFile): fix const type order
1323
1324         * lyxtext.h: remove const from word_location arg, add arg name
1325
1326         * lyxlayout.h: currect type on labeltype.
1327
1328         * importer.C: correct \file
1329
1330         * converter.C (intToFormat): use std:: on ret val, ws changes
1331
1332         * bufferlist.h: correct \file
1333
1334         * buffer.C (makeLinuxDocFile): fix const type order
1335         (makeDocBookFile): ditto
1336         (fillWithBibKeys): use std:: on stdlib args.
1337
1338         * CutAndPaste.C: fix authors.
1339         (availableSelections): use std:: on return vector
1340
1341 2003-06-27  André Pönitz  <poenitz@gmx.net>
1342
1343         * BufferView_pimpl.C:
1344         * bufferview_funcs.C:
1345         * lyxcursor.C:
1346         * lyxcursor.h:
1347         * lyxfunc.C:
1348         * lyxtext.h:
1349         * rowpainter.C:
1350         * text.C:
1351         * text2.C:
1352         * text3.C: remove LyXCursor::row_ member
1353
1354         * lyxtext.h:
1355         * text.C: rename fullRebreak() to partialRebreak() and implement
1356           a fullRebreak() that really bereks fully
1357
1358         * textcursor.h: new struct for cursor-related data
1359
1360 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1361
1362         * lyx_main.C (LyX): get full path of document loaded on the
1363         command line
1364
1365 2003-06-26  André Pönitz  <poenitz@gmx.net>
1366
1367         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1368           remove unused/broken operator>,<,>=.
1369
1370         *       text.C: remove only use of broken operator<= in an Assert().
1371
1372 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1373
1374         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1375         moved errorlist_.clear to showErrorList
1376
1377 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1378
1379         * converter.C (scanLog, runLaTeX):
1380         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1381         move the bv->showErrorList call to the callers
1382         * lyxfunc.C: i.e. here...
1383         * text2.C: and here
1384         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1385         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1386         namespace, the second to...
1387         * buffer_funcs (BufferFormat, parseErrors): added
1388         * errorlist.C (ErrorList(TeXErrors const &)): removed
1389
1390 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1391
1392         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1393
1394 2003-06-24  "Garst R. Reese" <reese@isn.net>
1395
1396         * debug.C: fix typo
1397
1398 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1399
1400         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1401
1402         * version.C.in: change docversion to 1.4
1403
1404 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1405
1406         * buffer.C: fix a bug just introduced
1407
1408 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1409
1410         * buffer.[Ch]: added the parseError signal and use it, removed
1411         sgmlError
1412         * BufferView.[Ch] (addError): moved to ...
1413         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1414         to the Buffer::parseError signal to catch (guess what) parse errors
1415         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1416
1417 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1418
1419         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1420         ability to create a buffer and to return an existing one from
1421         the list. Moved these functions to...
1422         * buffer_funcs.[Ch]: added
1423         * BufferView.[Ch] (loadLyXFile): added
1424         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1425         job removed from bufferlist::loadLyXFile.
1426         * buffer.C (setReadOnly): make it work without view
1427         (i.e added an if (users))
1428
1429 2003-06-19  Angus Leeming  <leeming@lyx.org>
1430
1431         * lfuns.h:
1432         * LyXAction.C (init):
1433         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1434         with LFUN_DIALOG_SHOW <name> <data>.
1435
1436 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1437
1438         * CutAndPaste.C (availableSelections): small compilation fix for
1439         ancient (gcc 2.9x) compilers
1440
1441 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1442
1443         * text3.C (cursorNext): add tmp var
1444
1445         * text2.C (updateCounters): for function calling out of for clause
1446         (replaceSelectionWithString): ditto
1447         (insertStringAsParagraphs): ditto
1448         (getColumnNearX): add tmp var
1449         (setCursorFromCoordinates): add tmp var
1450         (cursorDownParagraph): add tmp var
1451         (deleteEmptyParagraphMechanism): add tmp var
1452
1453         * text.C (insertChar): add tmp var
1454
1455         * rowpainter.C (paintDepthBar): add tmp var
1456
1457         * CutAndPaste.C (availableSelections): potentially check all
1458         paragraphs in a cut to fill the shown strings.
1459
1460 2003-06-18  André Pönitz  <poenitz@gmx.net>
1461
1462         * kbmap.[Ch]: use vector<> instead of list<>
1463
1464 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1465
1466         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1467         pasteSelection with index
1468
1469         * text2.C (pasteSelection): modify, call pasteSelection with index
1470
1471         * paragraph.C (asString): reimplement version with no interval to
1472         call the one with interval.
1473
1474         * lyxtext.h: add index arg to pasteSelection
1475
1476         * MenuBackend.C (MenuItem): handle PasteRecent
1477         (Menu::read::Menutags): add md_pasterecent
1478         (read): handle it
1479         (expandPasteRecent): new function
1480         (expand): use it
1481
1482         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1483
1484         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1485         the limited stack
1486         (availableSelections): new function
1487
1488 2003-06-17  Angus Leeming  <leeming@lyx.org>
1489
1490         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1491
1492 2003-06-17  Angus Leeming  <leeming@lyx.org>
1493
1494         * lfuns.h:
1495         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1496
1497         * lyxfunc.C (dispatch): invoke it.
1498
1499 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1500
1501         * iterators.C (operator++, ParPosition): reintroduce some
1502         const_cast for the benefit of older compilers.
1503
1504 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1505
1506         * text3.C (dispatch): do not modify clipboard when doing
1507         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1508         LFUN_DELETE_SKIP on a selection selection
1509
1510 2003-06-16  André Pönitz  <poenitz@gmx.net>
1511
1512         * BufferView.C:
1513         * buffer.C:
1514         * buffer.h:
1515         * paragraph.C:
1516         * tabular.[Ch]: IU of clone() and getLabelList();
1517
1518 2003-06-13  André Pönitz  <poenitz@gmx.net>
1519
1520         * tabular.h: compactification
1521
1522 2003-06-12  André Pönitz  <poenitz@gmx.net>
1523
1524         * tabular.C:
1525         * tabular.h:
1526         * tabular_funcs.h: some renaming plus whitespace
1527
1528 2003-06-12  André Pönitz  <poenitz@gmx.net>
1529
1530         * BufferView.C:
1531         * BufferView_pimpl.C:
1532         * CutAndPaste.C:
1533         * buffer.C:
1534         * iterators.[Ch]:
1535         * lyxfunc.C:
1536         * text.C:
1537         * toc.C: Return a Paragraph & for ParIterator::operator*()
1538
1539 2003-06-11  John Levon  <levon@movementarian.org>
1540
1541         * lyx_main.C:
1542         * ToolbarBackend.h:
1543         * ToolbarBackend.C: add "Toolbars" section and
1544         put the flags there
1545
1546 2003-06-10  Angus Leeming  <leeming@lyx.org>
1547
1548         * lfuns.h:
1549         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1550
1551         * lyxfunc.C (dispatch): invoke it.
1552
1553 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1554
1555         * main.C: protect <ios> with HAVE_IOS
1556         (main): protect sync_with_stdio with HAVE_IOS
1557
1558 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1559
1560         * text2.C (cutSelection): adjust
1561         (pasteSelection): adjust
1562
1563         * messages.C: handle get of empty string
1564
1565         * main.C (main): use sync_with_stdio(false)
1566
1567         * lyxfunc.C (dispatch): adjust
1568
1569         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1570         (WriteAs): remove unneeded BufferView arg.
1571
1572         * bufferparams.h: use correct types on papersize, papersize2 and
1573         paperpackage.
1574
1575         * bufferparams.C (readToken): adjust for type
1576         (writeLaTeX): add missing cases to switch.
1577
1578         * bufferlist.C (quitWriteBuffer): adjust
1579         (close): adjust
1580
1581         * buffer.C (asciiParagraph): remove some commented code.
1582
1583         * CutAndPaste.C: remove current_view extern variable.
1584         (cutSelection): add BufferParams arg.
1585         (eraseSelection): add BufferParams arg.
1586         (pasteSelection): add Buffer const & arg
1587
1588 2003-06-07  John Levon  <levon@movementarian.org>
1589
1590         * buffer.C:
1591         * paragraph_funcs.C:
1592         * paragraph_pimpl.C:
1593         * text.C:
1594         * text2.C:
1595         * paragraph.h:
1596         * paragraph.C: allow InsetERT to freely space lines,
1597         and some consolidation of code
1598
1599 2003-06-06  José Matos  <jamatos@fep.up.pt>
1600
1601         * buffer.C (makeDocBookFile): fix bug #821
1602
1603 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1604
1605         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1606
1607 2003-06-04  Angus Leeming  <leeming@lyx.org>
1608
1609         * buffer.C: bump format to 224.
1610
1611 2003-06-05  André Pönitz  <poenitz@gmx.net>
1612
1613         * text2.C (redoParagraphs): remove two const_cast<>
1614
1615 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1616
1617         * ParagraphList.h: remove last remnants of NO_STD_LIST
1618
1619 2003-06-03  Angus Leeming  <leeming@lyx.org>
1620
1621         * factory.C (createInset): small change to the way InsetExternal's params
1622         are set.
1623
1624 2003-06-04  André Pönitz  <poenitz@gmx.net>
1625
1626         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1627
1628         * paragraph_pimpl.h:
1629         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1630
1631         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1632
1633         * undo_funcs.C: make some simple cases of undo work again
1634
1635 2003-06-03  John Levon  <levon@movementarian.org>
1636
1637         * ispell.C: HPUX doesn't have sys/select.h
1638         (from Albert Chin)
1639
1640 2003-06-03  John Levon  <levon@movementarian.org>
1641
1642         * CutAndPaste.C: update tabular and include inset
1643         buffer references
1644
1645         * buffer.h:
1646         * paragraph.h:
1647         * paragraph.C: remove owningBuffer(), don't pass Buffer
1648         to clone()
1649
1650         * factory.C: insetGraphicsParams changed
1651
1652 2003-06-02  John Levon  <levon@movementarian.org>
1653
1654         * LyXAction.C:
1655         * factory.C:
1656         * lfuns.h:
1657         * lyxfunc.C:
1658         * text3.C: remove insetparent
1659
1660 2003-06-02  John Levon  <levon@movementarian.org>
1661
1662         * buffer.h:
1663         * buffer.C: fix inset_iterator.end(), move out of line
1664         (bug 1149)
1665
1666 2003-06-01  John Levon  <levon@movementarian.org>
1667
1668         * text3.C: use a proper cut/paste when doing inset
1669         insert (from Jürgen Spitzmüller)
1670
1671 2003-06-01  John Levon  <levon@movementarian.org>
1672
1673         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1674
1675 2003-05-30  André Pönitz  <poenitz@gmx.net>
1676
1677         * rowpainter.C: unify second drawing phase
1678
1679 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1680
1681         * trans_mgr.C: remove one case of current_view
1682
1683         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1684
1685         * paragraph_funcs.h: remove paragraph.h include
1686
1687         * paragraph.h: delete NO_STD_LIST stuff
1688
1689         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1690
1691         * buffer.h: remove paragraph.h include
1692
1693         * ParagraphList.C: delete file
1694
1695         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1696
1697         * toc.C (getTocList): adjust
1698
1699         * paragraph_pimpl.C (validate): adjust
1700
1701         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1702
1703         * paragraph.C (Paragraph): adjust
1704         (getPositionOfInset): use const_iterator, adjust
1705         (bibitem): use const_iterator, adjust
1706         (setInsetOwner): adjust
1707
1708         * iterators.C (operator++): adjust
1709
1710         * InsetList.[Ch]: Replace selfmade iterator with standard
1711         vector::iterator also introduce const_iterator. Remove getPos,
1712         getInset and setInset from InsetTable. Adjust accordingly.
1713
1714         * BufferView.C (lockInset): adjust
1715         (ChangeInsets): adjust
1716
1717         * tabular.[Ch]: delete commented same_id functions
1718
1719 2003-05-28  John Levon  <levon@movementarian.org>
1720
1721         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1722
1723 2003-05-28  André Pönitz  <poenitz@gmx.net>
1724
1725         * metricsinfo.[Ch]: remove 'fullredraw' member
1726
1727 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1728
1729         * lyxtextclass.C (operator): remove caching.
1730
1731 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1732
1733         * text3.C: adjust
1734
1735         * text2.C (cursorBottom): adjust
1736         (setCounter): use ParagraphList::find, adjust
1737
1738         * text.C (workWidth): use ParagraphList::find, adjust
1739
1740         * lyxcursor.C (LyXCursor): adjust
1741
1742         * buffer.C (inset_iterator): adjust
1743
1744         * ParagraphList.h: make iterator(value_type) private, make
1745         ParagraphList a friend of iterator.
1746
1747         * ParagraphList.C (find): new function
1748
1749         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1750
1751 2003-05-27  André Pönitz  <poenitz@gmx.net>
1752
1753         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1754
1755 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1756
1757         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1758
1759 2003-05-26  John Levon  <levon@movementarian.org>
1760
1761         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1762
1763 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1764
1765         * remove same_id from function signatures, adjust.
1766
1767 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1768
1769         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1770
1771         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1772
1773         * paragraph.C (Paragraph): get rid of same_ids parameter
1774
1775         * ParagraphList.C (insert): adjust
1776         (push_back): adjust
1777
1778 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1779
1780         * paragraph_funcs.C (breakParagraph): adjust
1781         (breakParagraphConservative): adjust
1782
1783         * buffer.C (readParagraph): adjust
1784
1785         * ParagraphList.C (insert): take a reference instead of a pointer
1786         (insert): adjust
1787
1788         * paragraph.[Ch] (id): new function
1789
1790         * bufferlist.C (newFile): adjust
1791
1792         * ParagraphList.C (ParagraphList): adjust
1793         (assign): adjust
1794         (push_back): take a reference instead of a pointer.
1795
1796         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1797
1798         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1799         instead.
1800
1801         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1802         set else use old code.
1803
1804         * ParagraphList.C: remove all NO_NEXT code and only compile this
1805         code of NO_STD_LIST is set.
1806
1807 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1808
1809         * BufferView_pimpl.C:
1810         * TextCache.C:
1811         * TextCache.h:
1812         * bufferlist.C:
1813         * errorlist.h:
1814         * format.C:
1815         * format.h:
1816         * graph.C:
1817         * lyxfunc.C:
1818         * lyxrc.C:
1819         * graphics/GraphicsConverter.C:
1820         * graphics/PreviewLoader.C: header adjustment
1821
1822 2003-05-23  Angus Leeming  <leeming@lyx.org>
1823
1824         * LaTeXFeatures.[Ch] (useBabel): new method.
1825         * bufferparams.C (writeLaTeX): use it.
1826
1827 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1828
1829         * ParagraphList.h (set): remove unused function.
1830
1831 2003-05-23  André Pönitz  <poenitz@gmx.net>
1832
1833         * BufferView.C:
1834         * BufferView_pimpl.C:
1835         * buffer.C:
1836         * buffer.h:
1837         * lyxfunc.C:
1838         * undo_funcs.C: setUndo reworked
1839
1840         * iterators.[Ch]: add access to topmost ParagraphList
1841
1842         * lyxtext.[Ch] (workWidth): add a const
1843
1844 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1845
1846         * texrow.[Ch] (increasePos): remove function
1847         * exporter.C (export): removed unused var and outdated comment
1848
1849 2003-05-23  Angus Leeming  <leeming@lyx.org>
1850
1851         * latexrunparams.h: rename fragile as moving_arg.
1852         * paragraph.C (simpleTeXOnePar): ditto.
1853         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1854
1855 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1856
1857         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1858         (createUndo): ditto
1859         (textUndoOrRedo): comment out a currently unused var.
1860
1861         * paragraph.h (NO_NEXT): enable NO_NEXT
1862
1863         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1864
1865         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1866
1867         * exporter.C (Export): adjust for removeAutoInsets removal.
1868
1869         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1870
1871         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1872
1873         * BufferView.[Ch] (removeAutoInsets): delete function
1874
1875 2003-05-22  Angus Leeming  <leeming@lyx.org>
1876
1877         * latexrunparams.h: add a free_spacing variable.
1878
1879         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1880         to pass moving_arg, as the data is stored in runparams.fragile.
1881
1882         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1883         to Inset::latexOptional or to simpleTeXOnePar.
1884
1885         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1886         free_spacing arg to Inset::latexOptional.
1887
1888         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1889         free_spacing arg.
1890
1891 2003-05-22  Angus Leeming  <leeming@lyx.org>
1892
1893         * latexrunparams.h: add fragile and use_babel variables.
1894
1895         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1896         * buffer.C (makeLaTeXFile): store this returned value in
1897         runparams.use_babel, thus passing it to the inset::latex methods.
1898
1899         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1900         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1901
1902         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1903         longer has a fragile arg, as it is stored in runparams.fragile.
1904
1905         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1906         moving_arg parameter as the data is stored in runparams.fragile.
1907
1908         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1909         a fragile parameter as the data is stored in runparams.fragile.
1910
1911 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1912
1913         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1914
1915 2003-05-22  Angus Leeming  <leeming@lyx.org>
1916
1917         * latexrunparams.h: add a 'bool nice' which defaults to false.
1918
1919         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1920         now encapsulated within runparams.
1921
1922         * bufferlist.C (updateIncludedTeXfiles):
1923         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1924
1925 2003-05-22  Angus Leeming  <leeming@lyx.org>
1926
1927         * latexrunparams.h: new file containing struct LatexRunParams.
1928         * Makefile.am: add new file.
1929
1930         * LaTeX.[Ch] (c-tor, run):
1931         * buffer.[Ch] (makeLaTeXFile):
1932         * bufferlist.[Ch] (updateIncludedTeXfiles):
1933         * converter.C (convert, scanLog):
1934         * converter.[Ch] (runLaTeX):
1935         * exporter.C (Export):
1936         * paragraph.[Ch] (simpleTeXOnePar):
1937         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1938         * paragraph_funcs.[Ch] (latexParagraphs):
1939         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1940         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1941         pass around a LatexRunParams parameter.
1942
1943 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1944
1945         * paragraph.[Ch]: remove unused constructor
1946
1947         * ParagraphList.C (erase): new function, taking two iterators
1948
1949 2003-05-22  André Pönitz  <poenitz@gmx.net>
1950
1951         * undo_funcs.C: remove duplicated code
1952
1953         * iterator.[Ch]: operator=
1954
1955 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1956
1957         * tabular.C (SetMultiColumn): ws changes
1958
1959         * rowpainter.C (paintFirst): get rid of a ->previous
1960
1961         * lyx_cb.C (getPossibleLabel): parlist simplification
1962
1963         * BufferView.C (ChangeInsets): simplify slightly.
1964
1965 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1966
1967         * LyXAction.C: new lfun space-insert, kill protected-space-insert
1968         * lfuns.h: new LFUN_SPACE
1969         * lyxfunc.C: protected space has a new lfun
1970         * paragraph_funcs.C: read new space insets
1971         * text3.C:
1972         * factory.C: handle new space insets
1973
1974 2003-05-22  André Pönitz  <poenitz@gmx.net>
1975
1976         * BufferView.C:
1977         * BufferView_pimpl.C:
1978         * buffer.[Ch]:
1979         * lyxfunc.C:
1980         * undo_funcs.C: return a ParIterator from getParFromID.
1981
1982         * iterators.[Ch]: add two const's
1983
1984 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1985
1986         * toc.C (getTocList): adjust
1987
1988         * iterators.[Ch]: rework for parlist
1989
1990         * buffer.C (par_iterator_begin): adjust
1991         (par_iterator_end): adjust
1992
1993         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1994
1995         * BufferView.C (removeAutoInsets): adjust
1996         (ChangeInsets): adjust
1997
1998 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
1999
2000         * text.C (top_y): fix bug 1110
2001
2002 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2003
2004         * errorlist.[Ch]: added
2005         * buffer.C:
2006         * BufferView.[Ch]:
2007         * BufferView_pimpl.C:
2008         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2009         instead
2010
2011 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2012
2013         * Makefile.am: ensure that lyx is relinked upon changes to the
2014         various "convenience" libs.
2015
2016 2003-05-20  Angus Leeming  <leeming@lyx.org>
2017
2018         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2019         files are compiled in alphabetical order again.
2020
2021         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2022
2023 2003-05-19  Angus Leeming  <leeming@lyx.org>
2024
2025         * gettext.[Ch]: remove "char const * _(char const *)".
2026
2027 2003-05-19  André Pönitz  <poenitz@gmx.net>
2028
2029         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2030
2031         * Makefile.am:
2032         * BufferView.C:
2033         * DepTable.h:
2034         * LaTeXFeatures.C:
2035         * buffer.C:
2036         * lyxfont.C:
2037         * lyxlex.h:
2038         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2039
2040 2003-05-19  André Pönitz  <poenitz@gmx.net>
2041
2042         * buffer.C:
2043         * lyxlayout.[Ch]:
2044         * lyxtextclass.[Ch]:
2045         * paragraph.C:
2046         * paragraph_funcs.[Ch]:
2047         * text2.C:
2048         * text3.C: more insetenv work
2049
2050 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2051
2052         * ParagraphParameters.C (params2string): small bug fixed
2053
2054 2003-05-16  André Pönitz  <poenitz@gmx.net>
2055
2056         * debug.C:
2057         * bufferview_funcs.C: patch from Kornel Benko to prevent
2058           crash when _(...) is called twice in a statement
2059
2060 2003-05-16  André Pönitz  <poenitz@gmx.net>
2061
2062         * BufferView.C:
2063         * lyxfunc.C:
2064         * text.C:
2065         * text2.C:
2066         * text3.C:
2067         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2068
2069 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2070
2071         * lyx_main.C (init): remove spurious static_cast
2072
2073 2003-05-14  André Pönitz  <poenitz@gmx.net>
2074
2075         * BufferView.C: fix format string
2076
2077 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2078
2079         * BufferView.[Ch] (insertErrors): removed
2080         * BufferView.[Ch] (showErrorList): added
2081         * buffer.C (runChkTeX):
2082         * converter.C (scanLog): call showErrorList instead of inserterrors
2083
2084 2003-05-13  André Pönitz  <poenitz@gmx.net>
2085
2086         * BufferView_pimpl.C:
2087         * buffer.C:
2088         * bufferview_func.C:
2089         * MenuBackend.C:
2090         * lyxfunc.C:
2091         * lyxrc.C:
2092         * tex-accent.C:
2093         * text3.C:
2094         * toc.C:
2095         * tabular_funcs.h: tostr() from its own header
2096
2097         * ParagraphParameters.C:
2098         * ToolbarBackend.C:
2099         * bufferparams.C:
2100         * format.C:
2101         * lyxlex_pimpl.C:
2102         * text3.C: STRCONV()
2103
2104 2003-05-12  André Pönitz  <poenitz@gmx.net>
2105
2106         * BufferView.C:
2107         * BufferView_pimpl.C:
2108         * CutAndPaste.C:
2109         * LaTeX.C:
2110         * LaTeXFeatures.C:
2111         * ParagraphParameters.C:
2112         * buffer.C:
2113         * bufferlist.C:
2114         * bufferparams.C:
2115         * bufferview_funcs.C:
2116         * converter.C:
2117         * counters.C:
2118         * debug.C:
2119         * exporter.C:
2120         * format.C:
2121         * importer.C:
2122         * lyx_cb.C:
2123         * lyx_main.C:
2124         * lyxfont.C:
2125         * lyxfunc.C:
2126         * lyxvc.C:
2127         * paragraph.C:
2128         * paragraph_funcs.C:
2129         * tabular.C:
2130         * tabular_funcs.C:
2131         * text2.C:
2132         * text3.C:  boost::format -> bformat  all over the place
2133
2134
2135 2003-05-09  André Pönitz  <poenitz@gmx.net>
2136
2137         * LColor.[Ch]: Pimpl the #include <map> away
2138
2139 2003-05-09  John Levon  <levon@movementarian.org>
2140
2141         * bufferlist.C: never remove emergency saves
2142
2143 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2144
2145         * Makefile.am: better lib building
2146
2147 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2148
2149         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2150         instead.
2151         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2152         (simpleTeXSpecialChars): adjust
2153         (simpleTeXSpecialChars): adjust
2154         * paragraph.C (simpleTeXOnePar): adjust
2155         * buffer.C (makeLaTeXFile): adjust
2156
2157         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2158
2159         * text2.C (changeDepth): parlist cleanup
2160         (getColumnNearX): ditto
2161
2162         * rowpainter.C (getLabelFont): parlist cleanup
2163
2164         * bufferlist.C (newFile): parlist cleanup
2165
2166         * CutAndPaste.C (eraseSelection): parlist cleanup
2167
2168         * BufferView_pimpl.C (trackChanges): parlist cleanup
2169         (dispatch): ditto
2170
2171         * BufferView.C (lockInset): parlist cleanup.
2172         (ChangeInsets): ditto
2173
2174 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2175
2176         * CutAndPaste.h: Update file header.
2177
2178         * CutAndPaste.C: Update file header.
2179         Store the parts cut out of the Document in a limited_stack.
2180         (copySelection): adjust
2181         (pasteSelection): new function, takes the index in the limited stack.
2182         (nrOfParagraphs): adjust
2183         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2184         simplify error inset insertion.
2185         (checkPastePossible): adjust
2186
2187 2003-05-06  John Levon  <levon@movementarian.org>
2188
2189         * text2.C: don't cast wrap inset to float
2190
2191 2003-05-05  André Pönitz  <poenitz@gmx.net>
2192
2193         * iterator.C:
2194         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2195
2196         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2197           few naked Paragraph *.
2198
2199 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2200
2201         * bufferparams.C: Output warning if a document with missing
2202         TeX document class is loaded
2203         * exporter.C: Disable TeX exports if the document class is missing
2204         * lyxtextclass.C:
2205         * lyxtextclass.h:
2206         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2207         isTeXClassAvailable()
2208
2209 2003-05-03  John Levon  <levon@movementarian.org>
2210
2211         * BufferView.h:
2212         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2213         explicit cursor show/hide
2214
2215         * BufferView_pimpl.h:
2216         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2217         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2218
2219         * lyxfunc.C: hide cursor before dispatching.
2220
2221         * lyx_cb.C:
2222         * lyxfind.C:
2223         * text.C:
2224         * text3.C: remove explicit cursor hides
2225
2226 2003-05-02  André Pönitz  <poenitz@gmx.net>
2227
2228         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2229
2230         * undo_funcs.C:
2231         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2232           linked lists
2233
2234         * text2.C: tiny whitespace
2235
2236 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2237
2238         * undo_funcs.C: almost only ws changes.
2239
2240         * ParagraphList.C (splice): just return if pl is empty.
2241
2242 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2243
2244         * ParagraphList.C (splice): new function.
2245
2246         * CutAndPaste.C (pasteSelection): use it
2247
2248 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2249
2250         * CutAndPaste.C (pasteSelection): remove the last next and
2251         previous from this file.
2252
2253 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2254
2255         * CutAndPaste.C (pasteSelection): more clean up, user proper
2256         ParagraphList functions for pasteing.
2257
2258         * ParagraphList.C (insert): new function, three arg insert
2259
2260 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2261
2262         * ParagraphList.C (insert): new function, three arg insert
2263
2264         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2265         not on paragraphs.
2266
2267 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2268
2269         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2270
2271 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2272
2273         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2274
2275 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2276
2277         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2278         (copySelection): clean up a bit.
2279         (pasteSelection): use make_pair
2280
2281         * ParagraphList.C (ParagraphList): implement copy constructor
2282         (operator=): implement, base on copy constructor.
2283         (assign): new func
2284
2285         * paragraph.C (erase): return a bool
2286
2287         * paragraph_pimpl.C (erasePos): remove function, move contents...
2288         (erase): ... here. Return a bool.
2289         (erase): call erase instead of erasePos.
2290
2291 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2292
2293         * ParagraphList.h: define PitPosPair
2294         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2295         ParagraphList, fix a bug on pasting multiple pars
2296         * text2.C: change interface to C&P
2297
2298 2003-04-30  André Pönitz  <poenitz@gmx.net>
2299
2300         * undo_func.C: revert part of yesterday's patch 2
2301
2302 2003-04-30  John Levon  <levon@movementarian.org>
2303
2304         * LColor.C: s/tabular/table/
2305
2306 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2307
2308         * text3.C (dispatch): do not convert iterator -> pointer
2309         * undo_funcs.C (setCursorParUndo): ditto
2310         * text_funcs.C (transposeChars): ditto
2311
2312         * text2.C (setLayout): ws changes only
2313
2314         * text.C (breakParagraph): do not convert iterator -> pointer
2315         (insertChar): ditto
2316         (acceptChange): ditto
2317         (rejectChange): ditto
2318         (changeCase): ditto
2319         (Delete): ditto
2320         (backspace): ditto
2321
2322         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2323         pointer
2324
2325 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2326
2327         * text3.C (gotoInset): YABG (yet another bad getChar)
2328
2329 2003-04-29  André Pönitz  <poenitz@gmx.net>
2330
2331         * paragraph.h: make operator= private unimplemented as long as
2332           it is unusable
2333
2334         * ParagraphList.C: whitespace
2335
2336         * paragraph.[Ch]:
2337         * paragraph_pimpl.[Ch]:
2338         * paragraph_funcs.C:
2339         * CutAndPaste.C:
2340         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2341
2342         * text2.C:
2343           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2344
2345 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2346
2347         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2348         * paragraph.[Ch] (erase):
2349         * paragraph_pimpl.[Ch] (erase): change return type and value
2350         * text2.C (cutSelection): some rework
2351
2352 2003-04-28  John Levon  <levon@movementarian.org>
2353
2354         * bufferlist.C: changes for unsaved changes dialog
2355
2356 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2357
2358         * bufferlist.C (newFile): set language (messages_) for new
2359         documents also.
2360
2361         * buffer.C (readFile): ws changes only.
2362
2363 2003-04-28  André Pönitz  <poenitz@gmx.net>
2364
2365         * undo_funcs.C:
2366         * lyxfunc.C:
2367         * buffer.[Ch]:
2368         * BufferView_pimpl.C:
2369         * BufferView.C: getParFromID related ParagraphList::iterator changes
2370
2371 2003-04-28  André Pönitz  <poenitz@gmx.net>
2372
2373         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2374           Changes
2375
2376 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2377
2378         * messages.C: remove one more localedir class variable.
2379
2380 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2381
2382         * messages.C (getLocaleDir): singleton generation function
2383         (Pimpl): use it.
2384         (Messages): add a default constructor.
2385
2386         * main.C (main): do not setup localedir here, do not call
2387         gettext_init.
2388
2389         * gettext.C (_): use it.
2390         (gettext_init): delete funciton
2391
2392 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2393
2394         * gettext.C (getLyXMessages): new singleton generating function.
2395
2396         * buffer.C (updateDocLang): adjust
2397
2398         * Makefile.am (messages.o): add target
2399         (main.o): remove target
2400
2401 2003-04-27  John Levon  <levon@movementarian.org>
2402
2403         * bufferlist.C:
2404         * lyx_cb.C:
2405         * lyxfunc.C:
2406         * lyxvc.C: specify cancel button in Alert::prompt
2407
2408 2003-04-26  John Levon  <levon@movementarian.org>
2409
2410         * text3.C:
2411         * lyxfunc.C:
2412         * lfuns.h:
2413         * LyXAction.C: add LFUN_INSET_SETTINGS
2414
2415         * lyxfunc.C: don't enable tabular-feature when there's
2416         just any locking inset
2417
2418 2003-04-26  John Levon  <levon@movementarian.org>
2419
2420         * bufferlist.C: re-add Cancel to buffer close question
2421
2422         * lyxfunc.C: fix import UI a bit
2423
2424 2003-04-25  John Levon  <levon@movementarian.org>
2425
2426         * gettext.C: remove the broken asserts for now
2427
2428 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2429
2430         * messages.C: make case where setlocale cannot comply work better.
2431
2432         * buffer.C (updateDocLang): new function
2433         (changeLanguage): use it
2434         (readFile): use it
2435
2436         * text2.C (setCounter): use B_ a bit.
2437
2438         * lyxlayout.C (Read): be sure to trim the label strings.
2439
2440         * messages.C (Messages): fix typo in comment
2441
2442         * buffer.C (readFile): set message_ after file is loaded.
2443         (makeDocBookFile): remove double return
2444         (changeLanguage): reset message_ upon language change.
2445         (B_): new func, use this to get translated buffer strings.
2446
2447         * main.C: add myself and Jean Marc as authors.
2448
2449 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2450
2451         * messages.[hC]: pimplify Messages, and three different pimpls to be
2452         used in different circumstances.
2453
2454         * gettext.[Ch]: change for use with new message code.
2455
2456 2003-04-24 André Pönitz <poenitz@gmx.net>
2457
2458         * factory.C: support for eqref
2459
2460 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2461
2462         * messages.[Ch]: add missing char
2463
2464         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2465
2466         * messages.[Ch]: New files
2467
2468 2003-04-18  John Levon  <levon@movementarian.org>
2469
2470         * BufferView.h:
2471         * BufferView.C:
2472         * BufferView_pimpl.C:
2473         * lfuns.h:
2474         * LyXAction.C:
2475         * lyxtext.h:
2476         * text2.C: remove layout-copy/paste (bug 778)
2477
2478 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2479
2480         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2481
2482 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2483
2484         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2485         if they succeed. Act accordingly.
2486
2487 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2488
2489         * text2.C (setCharFont): adjust
2490         (setCounter): adjust
2491         (insertStringAsLines): adjust
2492
2493         * text.C (leftMargin): adjust
2494         (setHeightOfRow): adjust
2495
2496         * rowpainter.C (paintFirst): adjust
2497         (paintLast): adjust
2498
2499         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2500         (outerHook): ditto
2501         (isFirstInSequence): ditto
2502         (getEndLabel): ditto
2503         (outerFont): adjust
2504
2505         * paragraph.C (getParLanguage): comment out some hard stuff.
2506
2507         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2508         (sgmlError): ditto
2509         (simpleDocBookOnePar): ditto
2510         (makeDocBookFile): use ParagraphList::iterator
2511
2512         * CutAndPaste.C (pasteSelection): adjust
2513
2514 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2515
2516         * text2.C (getFont): adjust
2517         (getLayoutFont): adjust
2518         (getLabelFont): adjust
2519
2520         * paragraph_funcs.C (TeXOnePar): adjust
2521
2522         * buffer.C (simpleLinuxDocOnePar): adjust
2523         (simpleDocBookOnePar): adjust
2524
2525         * CutAndPaste.C (pasteSelection): adjust
2526
2527         * BufferView.C (getEncoding): adjust
2528
2529         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2530
2531 2003-04-16  John Levon  <levon@movementarian.org>
2532
2533         * lyxfind.C: use parlist stuff for search/changes
2534
2535 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2536
2537         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2538
2539         * text2.C (deleteEmptyParagraphMechanism): adjust
2540
2541         * text2.[Ch] (ownerParagraph): delete func (both of them
2542
2543 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2546
2547 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2548
2549         * ParagraphList.C: prepare for NO_NEXT
2550
2551 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2552
2553         * text2.C (getFont): adjust
2554         (getLayoutFont): adjust
2555         (getLabelFont): adjust
2556
2557         * paragraph.C (getFont): adjust
2558         (getLabelFont): adjust
2559         (getLayoutFont): adjust
2560
2561         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2562
2563 2003-04-15  John Levon  <levon@movementarian.org>
2564
2565         From Angus Leeming
2566
2567         * lyx_main.C: handle Include in .ui files
2568
2569 2003-04-15  John Levon  <levon@movementarian.org>
2570
2571         * MenuBackend.C: make the doc files length shorter
2572
2573         * ToolbarBackend.h:
2574         * ToolbarBackend.C: handle toolbar placement flags,
2575         Minibuffer
2576
2577 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2578
2579         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2580         adjust
2581
2582         * paragraph_funcs.C (TeXOnePar): adjust
2583
2584         * paragraph.C (getLabelFont): add outerfont arg, adjust
2585         (getLayoutFont): ditto
2586         (simpleTeXOnePar): adjust
2587
2588         * paragraph_pimpl.C (realizeFont): delete func
2589
2590 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2591
2592         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2593         row argument, constify cur argument.
2594
2595 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2596
2597         * text2.C (getFont): adjust
2598         (getLayoutFont): adjust
2599         (getLabelFont): adjust
2600
2601         * paragraph_funcs.C (TeXOnePar): adjust
2602         (outerFont): new func...
2603         (realizeFont): ...moved out from here, changed this to facilitate
2604         transition
2605
2606         * paragraph.C (getFont): take outerfont as arg, adjust
2607         (simpleTeXOnePar): add outerfont arg, adjust
2608
2609         * buffer.C (simpleLinuxDocOnePar): adjust
2610         (simpleDocBookOnePar): adjust
2611
2612         * CutAndPaste.C (pasteSelection): adjust
2613
2614         * BufferView.C (getEncoding): adjust
2615
2616 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2617
2618         * text2.C (setCharFont): adjust
2619         (setCounter): adjust
2620
2621         * text.C (leftMargin): adjust
2622         (setHeightOfRow): adjust
2623
2624         * rowpainter.C (paintFirst): adjust
2625         (paintLast): adjust
2626
2627         * paragraph_pimpl.C (realizeFont): adjust
2628
2629         * paragraph.C (isFirstInSequence): move from here...
2630         * paragraph_funcs.C (isFirstInSequence): ...to here
2631
2632         * paragraph.C (outerHook): move from here...
2633         * paragraph_funcs.C (outerHook): ...to here
2634
2635         * paragraph.C (depthHook): move from here...
2636         * paragraph_funcs.C (depthHook): ...to here
2637
2638         * paragraph.C (getEndLabel): move from here...
2639         * paragraph_funcs.C (getEndLabel): ...to here
2640
2641         * text2.C (realizeFont): move from here...
2642         * paragraph_funcs.C (realizeFont): ...to here
2643
2644 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2645
2646         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2647
2648 2003-04-14  Angus Leeming  <leeming@lyx.org>
2649
2650         * LColor.[Ch]: scrap LColor mathcursor.
2651
2652 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2653
2654         * lyxlex.[Ch] (text): delete function
2655         * trans.C (Load): adjust
2656         * paragraph_funcs.C (readParToken): adjust
2657
2658 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2659
2660         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2661         vector<char> instead of a char[].
2662
2663         * lyxlex_pimpl.C (getString): adjust
2664         (next): adjust
2665         (lex): use getString
2666         (eatLine): adjust
2667         (nextToken): adjust
2668
2669         * lyxlex.C (text): use pimpl_->getString()
2670         (getBool): ditto
2671         (findToken): ditto
2672
2673 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2674
2675         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2676         (makeFontEntriesLayoutSpecific): temp var for par.size()
2677         (setLayout): temp var for ownerParagraphs().end()
2678         (fullRebreak): temp var for rows().end()
2679         (selectionAsString): temp var for boost::next(startpit), realize
2680         that the while really is a regular for loop.
2681         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2682         setCursor in one place.
2683         (setParagraph): temp vr for ownerParagraphs().end()
2684         (updateCounters): make the while loop a for loop
2685         (cutSelection): temp var for ownerParagraphs().end()
2686         (updateInset): make the do {} while() a regular for loop
2687         (getCursorX): use temp vars
2688         (setCurrentFont): use temp vars
2689         (getColumnNearX): use temp vars
2690
2691 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2692
2693         * text.C (transformChar): use temp var for getChar
2694         (computeBidiTables): use temp var for row->par()
2695         (fill): move temp vars for row->par() and pit->layout() earlier in
2696         the function.
2697         (labelFill): use temp var for row->par()
2698         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2699         asc and desc, realize that pit never changes and that firstpit is
2700         just a duplicate and not needed. Exchange rit->par() with pit in a
2701         lot of places.
2702         (breakAgain): use a temp var for boost::next(rit)
2703         (breakAgainOneRow): ditto
2704         (breakParagraph): use a temp var for rows().begin()
2705         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2706         (cursorRightOneWord): use temp var for cursor.par() and
2707         cursor.pos(), remove usage of tmpcursor.
2708         (cursorLeftOneWord): use temp var for cursor.par() and
2709         cursor.pos() only set cur at end of function.
2710
2711 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2712
2713         * text.C, text2.C: exchange all usage of Paragraph::next with
2714         boost::next(ParagraphList::iterator)
2715
2716         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2717
2718         * text2.C (cursorTop): simplify implementation
2719         (cursorBottom): ditto
2720         (setParagraph): use ParagraphList::iterator
2721         (setCurrentFont): adjust
2722         (getColumnNearX): adjust
2723         (cursorRight): adjust
2724         (cursorLeft): remove usage of Paragraph::previous
2725         (cursorUpParagraph): ditto
2726         (deleteEmptyParagraphMechanism): slight cleanup
2727
2728         * text.C (isBoundary): take a Paragraph const & instead of a
2729         pointer as arg.
2730         (addressBreakPoint): ditto
2731         (leftMargin): remove usage of Paragraph::previous.
2732         (setHeightOfRow): ditto
2733         (cursorLeftOneWord): ditto
2734         (selectNextWordToSpellcheck): ditto
2735         (Delete): ditto
2736         (backspace): ditto
2737         (breakParagraph): remove one usage of Paragraph::next
2738         (redoParagraph): ditto
2739         (acceptChange): ditto
2740         (insertChar): adjust
2741         (rowBreakPoint): adjust
2742
2743         * bufferview_funcs.C (toggleAndShow): adjust
2744
2745 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2746
2747         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2748         methods to access it.
2749         * lyxtext.h:
2750         * text.C: Added updateRowPositions to compute all row positions.
2751         Make top_y and getRowNearY() to use the cached y position
2752
2753 2003-04-11  John Levon  <levon@movementarian.org>
2754
2755         * text.C (rowBreakPoint): reintroduce the labelEnd
2756         checks, code copied from the row fill stuff. Deep voodoo.
2757
2758         * text.C (fill): add a comment and debugging for the
2759         next poor soul.
2760
2761 2003-04-11  John Levon  <levon@movementarian.org>
2762
2763         * text.C: make sure fullrow insets get wrapped to the next line,
2764         even when they're in a manual label
2765
2766 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2767
2768         * text2.C (insertParagraph): make it take ParagraphList::iterator
2769         as arg.
2770         (setLayout): make it return ParagraphList::iterator
2771         (redoParagraphs): ditto
2772         (setCounter): ditto
2773         (checkParagraph): ditto
2774
2775         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2776
2777         * text2.C: adjust several funcs.
2778         (realizeFont): take a ParagraphList::iterator as arg.
2779         (getLayoutFont): ditto
2780         (getLabelFont): ditto
2781         (setCharFont): ditto
2782
2783         * text.C: adjust several funcs.
2784
2785 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2786
2787         * text.C (selectNextWordToSpellcheck): don't accidentally
2788         skip insets
2789
2790 2003-04-10  John Levon  <levon@movementarian.org>
2791
2792         * ToolbarBackend.C (getIcon): special handling for
2793         LFUN_MATH_DELIM
2794
2795 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2796
2797         * text2.C (cursorRight): a getChar assert fixed
2798
2799 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2800
2801         * text2.C (getFont): change to take a ParagraphList::iterator
2802         instead of Paragraph*
2803         Adjust several functions.
2804
2805         * text.C (transformChar): change to take a ParagraphList::iterator
2806         instead of Paragraph*
2807         (singleWidth): ditto
2808         Adjust several functions.
2809
2810         * rowpainter.C: adjust several functions
2811         * rowpainter.h:store a ParagraphList::iterator and not a
2812         Paragraph&.
2813
2814
2815 2003-04-09  John Levon  <levon@movementarian.org>
2816
2817         * lyxfunc.C:
2818         * lfuns.h:
2819         * LyXAction.h:
2820         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2821         and the "help" bits as well
2822
2823 2003-04-09  John Levon  <levon@movementarian.org>
2824
2825         * ToolbarBackend.h:
2826         * ToolbarBackend.C: allow multiple toolbars
2827
2828 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2829
2830         * undo_funcs.C (setCursorParUndo): adjust
2831
2832         * text_funcs.C (transposeChars): adjust
2833
2834         * text3.C (gotoNextInset): adjust
2835         (dispatch): adjust
2836
2837         * text2.C (setLayout): adjust
2838         (changeDepth): adjust
2839         (setFont): adjust
2840         (redoParagraphs): adjust
2841         (selectionAsString): adjust
2842         (setParagraph): adjust
2843         (insertInset): adjust
2844         (cutSelection): adjust
2845         (copySelection): adjust
2846         (pasteSelection): adjust
2847         (insertStringAsLines): adjust
2848         (updateInset): adjust
2849         (setCursor): change to take a ParagraphList::iterator parameter
2850         (setCursorIntern): change to take a ParagraphList::iterator parameter
2851         (setCurrentFont): adjust
2852         (cursorLeft): adjust
2853         (cursorRight): adjust
2854         (deleteEmptyParagraphMechanism): adjust
2855
2856         * text.C (breakParagraph): adjust
2857         (insertChar): adjust
2858         (acceptChange): adjust
2859         (rejectChange): adjust
2860         (selectNextWordToSpellcheck): adjust
2861         (changeCase): adjust
2862         (Delete): adjust
2863         (backspace): adjust
2864
2865         * lyxfind.C (SearchForward): adjust
2866         (SearchBackward): adjust
2867         (nextChange): adjust
2868
2869         * lyxcursor.C (par): adjust
2870
2871         * lyxcursor.h: store a ParagraphList::iterator instead of a
2872         Paragraph*
2873
2874         * lyx_cb.C (getPossibleLabel): adjust
2875
2876         * bufferview_funcs.C (toggleAndShow): adjust
2877
2878         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2879         (dispatch): adjust
2880
2881         * BufferView.C (removeAutoInsets): adjust
2882         (lockedInsetStoreUndo): adjust
2883
2884 2003-04-09  John Levon  <levon@movementarian.org>
2885
2886         * ToolbarBackend.C: try icon without argument
2887         if with argument fails
2888
2889 2003-04-08  John Levon  <levon@movementarian.org>
2890
2891         * ToolbarBackend.h:
2892         * ToolbarBackend.C: add getIcon(), handle tooltip,
2893         and change from "Icon" to "Item".
2894
2895 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2896
2897         * BufferView.C (lockInset): another bad getchar crunched
2898
2899 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2900
2901         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2902         again)
2903
2904 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2905
2906         * lyxfind.C (searchForward, searchBackwards): bug 782
2907
2908 2003-04-07  John Levon  <levon@movementarian.org>
2909
2910         * paragraph.C: remove dead comment
2911
2912         * text.C: remove troublesome depth-fiddling code
2913         in leftMargin() and rightMargin() (bug 1017)
2914
2915         * text.C: fix breaking of rows in nested lists
2916         (bug 1004)
2917
2918         * text2.C (updateCounters): fix up depth values
2919         (bug 1013)
2920
2921 2003-04-07  John Levon  <levon@movementarian.org>
2922
2923         * BufferView_pimpl.C: clear message when doc finishes resizing,
2924         and after a mouse event
2925
2926         * lyxfunc.C: clear message after exiting inset
2927
2928 2003-04-07  John Levon  <levon@movementarian.org>
2929
2930         * bufferview_funcs.C: show math status not outside
2931         status in the statusbar
2932
2933 2003-04-07  John Levon  <levon@movementarian.org>
2934
2935         * lyxfunc.C: note status changed after a depth change
2936
2937 2003-04-04  Angus Leeming  <leeming@lyx.org>
2938
2939         * LaTeX.h: move AuxInfo operator==, != out of line.
2940         Remove LaTeX virtual destructor; nothing derives from it.
2941         Move operator()() out of public area and rename it startscript().
2942         Change protected for private.
2943
2944 2003-04-04  Angus Leeming  <leeming@lyx.org>
2945
2946         * lyxfunc.C:
2947         * text2.C: remove unneeded #includes.
2948
2949 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2950
2951         * text2.C (dEPM): fix the heigth of the next row
2952
2953 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2954
2955         * text.C: squashed an invalid getChar requester + some ws changes
2956
2957 2003-04-03  John Levon  <levon@movementarian.org>
2958
2959         * bufferview_funcs.h:
2960         * bufferview_funcs.C:
2961         * lyxfunc.C:
2962         * lyxtext.h:
2963         * text2.C: make getStatus work for the env depth lfuns
2964
2965 2003-04-03  John Levon  <levon@movementarian.org>
2966
2967         * bufferview_funcs.h:
2968         * bufferview_funcs.C:
2969         * lyxfunc.C:
2970         * lyxtext.h:
2971         * text2.C: parlistize decDepth(), by merging it with incDepth()
2972
2973 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2974
2975         * lyxrow.h: store a ParagraphList::iterator instead of a
2976         Paragraph* and adjust other class functions to suit.
2977
2978         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2979         above.
2980
2981 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2982
2983         * text2.C (setCursor): do not anchor to cursor row for the time being
2984
2985 2003-04-02  John Levon  <levon@movementarian.org>
2986
2987         * LyXAction.C:
2988         * lfuns.h:
2989         * lyx_main.C:
2990         * lyxtext.h:
2991         * text.C:
2992         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2993
2994 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2995
2996         * paragraph.h: make ParagraphList and ParagraphList::iterator
2997         friends of Paragraph.
2998
2999         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3000
3001         * ParagraphList.C: Use the private next_ and previous_ from
3002         Paragraph.
3003
3004 2003-04-01  John Levon  <levon@movementarian.org>
3005
3006         * ToolbarBackend.h:
3007         * ToolbarBackend.C:
3008         * Makefile.am: rename, remove defaults gunk
3009
3010         * MenuBackend.h:
3011         * MenuBackend.C: remove defaults gunk
3012
3013         * Languages.h:
3014         * Languages.C: remove defaults gunk
3015
3016         * lyx_main.h:
3017         * lyx_main.C: error out if files couldn't be found.
3018
3019 2003-04-02  John Levon  <levon@movementarian.org>
3020
3021         * text2.C: make incDepth() use parlist
3022
3023 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * undo_funcs.C (firstUndoParagraph): adjust
3026
3027         * text3.C (gotoInset): adjust
3028         (dispatch): adjust, and rewrite loop.
3029
3030         * text2.C (init): adjust, and rewrite loop.
3031         (redoParagraphs): adjust
3032         (updateInset): adjust, and rewrite loop.
3033         (deleteEmptyParagraphMechanism): adjust
3034
3035         * tabular.C (LyXTabular): adjust
3036         (SetMultiColumn): adjust
3037         (TeXRow): adjust
3038
3039         * lyxtext.[Ch] (ownerParagraph): delete function
3040         (ownerParagraphs): new function returns a ParagraphList.
3041
3042         * BufferView.C (removeAutoInsets): adjust
3043         (insertErrors): adjust
3044         (setCursorFromRow): adjust
3045
3046 2003-04-01  Angus Leeming  <leeming@lyx.org>
3047
3048         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3049         in the frontends.
3050
3051 2003-04-02  John Levon  <levon@movementarian.org>
3052
3053         * lyxtext.h:
3054         * text.C:
3055         * Makefile.am:
3056         * text_funcs.h:
3057         * text_funcs.C: make transposeChars a free function
3058
3059         * lyxrow_funcs.C: remove wrong comment
3060
3061 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3062
3063         * lyxtext.h: adjust
3064         * rowpainter.C: adjust
3065         * text.C: adjust
3066         * text2.C: adjust
3067         * text3.C: adjust
3068
3069         * lyxrow_funcs. [Ch]: new files
3070
3071         * lyxrow.[Ch]: remove next and previous pointers
3072         (next,previous): remove accessor functions
3073         (isParEnd): move to lyxrow_funcs
3074         (lastPos): move to lyxrow_funcs
3075         (nextRowIsAllInset): move to lyxrow_funcs
3076         (lastPrintablePos): move to lyxrow_funcs
3077         (numberOfSeparators): move to lyxrow_funcs
3078         (numberOfHfills): move to lyxrow_funcs
3079         (numberOfLabelHfills): move to lyxrow_funcs
3080         (hfillExpansion): move to lyxrow_funcs
3081
3082         * lyxfunc.C: adjust
3083
3084         * bufferview_funcs.C (toggleAndShow): adjust
3085
3086         * RowList.h: Remove class RowList from file leave just a
3087         std::list<Row>.
3088
3089         * RowList.C: delete file
3090
3091         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3092         and lyxrow_funcs.h
3093
3094 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * text3.C (cursorPrevious): adjust
3097         (cursorNext): adjust
3098         (dispatch): adjust
3099
3100         * text2.C (redoHeightOfParagraph): adjust
3101         (redoDrawingOfParagraph): adjust
3102         (setCursor): adjust
3103
3104         * text.C (breakParagraph): adjust
3105         (insertChar): adjust
3106         (backspace): adjust
3107
3108         * rowpainter.C (RowPainter): adjust
3109         (leftMargin): simplify and adjust
3110         (most rowpainter functions): adjust.
3111
3112         * rowpainter.h: store the row as RowList::iterator not as Row*
3113
3114         * lyxcursor.C (row): taka RowList::iterator as arg
3115         (irow): ditto
3116
3117         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3118         of Row*.
3119
3120 2003-04-01  Angus Leeming  <leeming@lyx.org>
3121
3122         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3123         stuff like bool Bool.
3124
3125 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3126
3127         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3128         rewrite a loop
3129
3130 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3131
3132         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3133         RowList::iterator.
3134
3135         * lyxtext.h (rows): drop one version and leve a const variant that
3136         returns a RowList::iterator.
3137
3138 2003-03-31  Angus Leeming  <leeming@lyx.org>
3139
3140         * text.C (fill): ensure that the signature is the same as that in the
3141         header file.
3142
3143 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3144
3145         * text2.C (redoParagraphs): adjust
3146         (updateCounters): adjust
3147         (checkParagraph): adjust
3148         (getColumnNearX): adjust and reformat a bit.
3149
3150         * text.C (top_y): adjust
3151         (workWidth): adjust
3152         (leftMargin): adjust
3153         (prepareToPrint): adjust
3154         (getRow): adjust
3155         (getRowNearY): adjust
3156
3157         * lyxtext.h: make rowlist_ mutable.
3158
3159         * RowList.h: add const_iterator
3160         * RowList.C: adjust for RowList::const_iterator.
3161
3162         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3163         adjust.
3164
3165 2003-03-31  John Levon  <levon@movementarian.org>
3166
3167         * lyxrc.h:
3168         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3169
3170         * lyx_main.C: set default fonts from using lyx_gui funcs
3171
3172         * exporter.C: pdf_mode moved from lyxrc
3173
3174         * lyx_cb.C:
3175         * lyxfunc.C: changes from above
3176
3177 2003-03-31  John Levon  <levon@movementarian.org>
3178
3179         * lyx_main.C: fix to the last fix
3180
3181 2003-03-31  John Levon  <levon@movementarian.org>
3182
3183         * bufferlist.C: "Load original" -> "Load Original"
3184
3185         * converter.C:
3186         * exporter.C:
3187         * importer.C:
3188         * lyx_main.C:
3189         * format.C: more Alert cleanups
3190
3191 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3192
3193         * text2.C (removeParagraph): make it take a RowList::iterator as
3194         arg, adjust.
3195         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3196         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3197
3198         * text.C (anchor_row): make it take a RowList::iterator as arg,
3199         adjust.
3200         (computeBidiTables): make it take a const reference to Row instead
3201         of Row pointer, adjust.
3202         (leftMargin): make it take a RowList::iterator as arg, adjust.
3203         (rowBreakPoint): adjust
3204         (breakAgainOneRow): make it take a RowList::iterator as arg,
3205         adjust.
3206         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3207
3208         * bufferview_funcs.C (toggleAndShow): adjust
3209
3210 2003-03-30  John Levon  <levon@movementarian.org>
3211
3212         * Makefile.am:
3213         * BoostFormat.h:
3214         * boost-inst.C: moved to support
3215
3216         * several files: changes as a result
3217
3218 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3219
3220         * text2.C (LyXText): adjust.
3221         (init): adjust
3222         (removeRow): make it take a RowList::iterator as arg, adjust.
3223         (fullRebreak): adjust
3224         (deleteEmptyParagraphMechanism): adjust
3225         (clearPaint): adjust
3226         (postPaint): adjust
3227
3228         * text.C (top_y): adjust
3229         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3230         (breakAgain): make it take a RowList::iterator as arg, adjust.
3231         (breakParagraph): adjust
3232         (insertChar): adjust
3233         (backspace): adjust
3234
3235         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3236         need_break_row, and refresh_row.
3237
3238         * text3.C (dispatch): adjust
3239
3240         * text2.C (checkParagraph): adjust
3241         (setCursor): adjust
3242         (setCursorFromCoordinates): adjust
3243
3244         * text.C (top_y): adjust
3245         (workWidth): adjust
3246         (getRow): make it return a RowList::iterator, adjust
3247         (getRowNearY): make it return a RowList::iterator, adjust
3248
3249         * text2.C (init): adjust
3250         (insertRow): remove function
3251         (insertParagraph): adjust
3252         (redoParagraphs): adjust
3253         (fullRebreak): adjust
3254         (updateCounters): adjust
3255
3256         * text.C (top_y): rewrite to use RowList iterators.
3257         (top_y): adjust
3258         (setHeightOfRow): rewrite to sue RowList iterators.
3259         (appendParagraph): adjust
3260         (breakAgain): adjust
3261         (breakAgainOneRow): adjust
3262         (breakParagraph): adjust
3263         (getRow): adjust
3264         (getRowNearY): adjust, and remove commented code.
3265
3266         * lyxtext.h (firstRow): delete function
3267         (lastRow): delete function
3268         (rows): new function (const and non-const versions.)
3269         (insertRow): delete function
3270
3271         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3272
3273 2003-03-29  John Levon  <levon@movementarian.org>
3274
3275         * BufferView_pimpl.C: always update scrollbar top
3276         because pasting text when we're anchored could mean we
3277         miss an update altogether
3278
3279 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3280
3281         * text2.C (init): use rowlist_.end() and not 0.
3282         (insertRow): change to take a RowList::iterator as arg, adjust
3283         for this.
3284         (insertParagraph): change to take a RowList::iterator as arg,
3285         adjust for this.
3286         (redoParagraphs): remove some debug msgs.
3287
3288         * text.C (appendParagraph): change to take a RowList::iterator
3289         arg, adjust for this.
3290         (breakAgain): add an assert
3291         (breakAgainOneRow): ditto
3292
3293 2003-03-29  John Levon  <levon@movementarian.org>
3294
3295         * text2.C: do not clear selection after inc/decDepth
3296         (bug 550)
3297
3298 2003-03-29  John Levon  <levon@movementarian.org>
3299
3300         * BufferView.C:
3301         * buffer.C: fix broken strerrors according to Lars
3302
3303 2003-03-29  John Levon  <levon@movementarian.org>
3304
3305         * converters.C: more Alert cleanups
3306
3307 2003-03-29  John Levon  <levon@movementarian.org>
3308
3309         * bufferview_funcs.C: remove pointless Alert
3310
3311         * buffer.C: fix confusing error message when
3312         a template is chmoded 000
3313
3314 2003-03-29  John Levon  <levon@movementarian.org>
3315
3316         * BufferView.C:
3317         * BufferView.h:
3318         * BufferView_pimpl.C: Alert fixes
3319
3320         * Makefile.am:
3321         * tabular.C:
3322         * tabular-old.C: remove unused table compat reading
3323
3324 2003-03-29  John Levon  <levon@movementarian.org>
3325
3326         * BufferView.C:
3327         * buffer.C:
3328         * lyx_cb.h:
3329         * lyx_cb.C: more Alert cleanups
3330
3331         * lyxfunc.C: don't allow chktex if not latex document
3332
3333 2003-03-29  John Levon  <levon@movementarian.org>
3334
3335         * lyx_cb.C:
3336         * BufferView.C:
3337         * buffer.C: warnings pushed down from support/,
3338         kill err_alert
3339
3340 2003-03-29  John Levon  <levon@movementarian.org>
3341
3342         * lyxfunc.C: safety check for C-r (revert)
3343
3344 2003-03-29  John Levon  <levon@movementarian.org>
3345
3346         * bufferlist.h:
3347         * bufferlist.C: several UI fixes using Alert::prompt.
3348         Fix the pointless looping quit code. Fix stupid revert
3349         behaviour (bug 938)
3350
3351         * lyxvc.h:
3352         * lyxvc.C:
3353         * lyx_cb.C: use Alert::prompt
3354
3355         * lyx_main.C: remove a silly question
3356
3357         * lyxfunc.C: remove a couple of silly questions,
3358         use Alert::prompt
3359
3360 2003-03-28  John Levon  <levon@movementarian.org>
3361
3362         * text2.C: fix bug 974 (End on empty par)
3363
3364 2003-03-28  John Levon  <levon@movementarian.org>
3365
3366         * BufferView_pimpl.C:
3367         * LyXAction.C:
3368         * lfuns.h: remove do-nothing math greek lfuns
3369
3370 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3371
3372         * lyxgluelength.h (isValidGlueLength): add default arg on
3373         parameter 2. Remove default arg from friend in class.
3374
3375         * lyxlength.h (isValidLength): add default arg on parameter 2.
3376         Remove default arg from friend in class.
3377
3378         * text2.C (LyXText): adjust, initialize refresh_row.
3379         (init): adjust
3380         (removeRow): adjust
3381         (insertRow): adjust
3382         (insertParagraph): adjst
3383         (redoParagraphs): adjust
3384         (fullRebreak): adjust
3385         (updateCounters): adjust
3386         (deleteEmptyParagraphMechanism): first attempt at fixing a
3387         crashing bug.
3388
3389         * text.C (top_y): adjust
3390         (setHeightOfRow): adjust
3391         (getRow): adjust
3392         (getRowNearY): adjust
3393
3394         * lyxtext.h: include RowList.h
3395         (~LyXText): not needed anymore, deleted.
3396         (firstRow): modify for RowList
3397         (lastRow): new function
3398         Delete firstrow and lastrow class variables, add a Rowlist
3399         rowlist_ class variable.
3400
3401         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3402         paragraph is empty.
3403
3404         * RowList.C (insert): fix case where it == begin().
3405
3406 2003-03-26  Angus Leeming  <leeming@lyx.org>
3407
3408         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3409         the thesaurus dialog.
3410
3411 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3412
3413         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3414
3415         * RowList.[Ch]: new files
3416
3417         * ParagraphList.C (erase): handle the case where it == begin
3418         correctly.
3419
3420 2003-03-25  John Levon  <levon@movementarian.org>
3421
3422         * Makefile.am:
3423         * aspell_local.h:
3424         * aspell.C: add new aspell support
3425
3426         * lyxrc.h:
3427         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3428         have it accessible.
3429
3430 2003-03-25  Angus Leeming  <leeming@lyx.org>
3431
3432         * lfuns.h:
3433         * LyXAction.C (init): new LFUN_INSET_INSERT.
3434
3435         * BufferView_pimpl.C (dispatch): split out part of the
3436         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3437
3438         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3439         LFUN_INSET_APPLY.
3440
3441 2003-03-25  Angus Leeming  <leeming@lyx.org>
3442
3443         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3444
3445 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3446
3447         * text2.C:
3448         * text3.C: remove useless row->height(0)
3449
3450 2003-03-25  John Levon  <levon@movementarian.org>
3451
3452         * lyxtext.h:
3453         * text2.C:
3454         * text3.C: rename the refreshing stuff to better names
3455
3456 2003-03-24  John Levon  <levon@movementarian.org>
3457
3458         * BufferView_pimpl.h:
3459         * BufferView_pimpl.C: update layout choice on a mouse
3460         press/release
3461
3462 2003-03-23  John Levon  <levon@movementarian.org>
3463
3464         * Makefile.am: fix commandtags.h reference
3465
3466 2003-03-22  John Levon  <levon@movementarian.org>
3467
3468         * BufferView_pimpl.C:
3469         * lyxtext.h:
3470         * rowpainter.C:
3471         * rowpainter.h:
3472         * text.C:
3473         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3474
3475 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3476
3477         * lyxtext.h:
3478         * text.C: take the rtl methods out of line
3479
3480 2003-03-21 André Pönitz <poenitz@gmx.net>
3481
3482         * metricsinfo.[Ch]: new files containing structures to be passed around
3483         during the two-phase-drawing...
3484
3485 2003-03-21 André Pönitz <poenitz@gmx.net>
3486
3487         * lyxtextclass.C: read 'environment' tag.
3488
3489 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3490
3491         * text2.C (removeRow): fix bug 964
3492
3493 2003-03-20  John Levon  <levon@movementarian.org>
3494
3495         * rowpainter.C:
3496         * text.C:
3497         * text2.C: paint cleanups. Inset::update() dropped font
3498         parameter
3499
3500 2003-03-19  John Levon  <levon@movementarian.org>
3501
3502         * lyxfunc.C: only fitcursor/markDirty if available()
3503
3504 2003-03-19  John Levon  <levon@movementarian.org>
3505
3506         * commandtags.h: rename to ...
3507
3508         * lfuns.h: ... this, and renumber / cleanup
3509
3510 2003-03-19  John Levon  <levon@movementarian.org>
3511
3512         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3513         fit the cursor after an lfun
3514
3515         * BufferView.h:
3516         * BufferView.C:
3517         * BufferView_pimpl.h:
3518         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3519
3520         * LyXAction.C: layout-character should have ReadOnly
3521
3522         * ParagraphParameters.C:
3523         * buffer.C:
3524         * bufferview_funcs.C:
3525         * lyx_cb.C:
3526         * lyxfind.C:
3527         * lyxtext.h:
3528         * text.C:
3529         * text2.C:
3530         * text3.C:
3531         * undo_funcs.C: changes from above
3532
3533 2003-03-18  John Levon  <levon@movementarian.org>
3534
3535         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3536         remove it from update()
3537
3538         * lyxfunc.C: update layout choice after an lfun
3539
3540         * text3.C: remove extra updateLayoutChoice()s
3541
3542 2003-03-18  John Levon  <levon@movementarian.org>
3543
3544         * text.C: top_y change means full repaint, fix
3545         a drawing bug with cursor movement
3546
3547 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3548
3549         * lyxtext.h:
3550         * text.C:
3551         * text2.C: anchor row on setCursor
3552
3553 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3554
3555         * lyxtext.h: remove almost all mutable keywords
3556         * text.C:
3557         * text2.C:
3558         * text3.C: remove const keywords accordingly
3559
3560 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3561
3562         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3563         anon namespace
3564         (TeXEnvironment): ditto
3565         (TeXOnePar): ditto
3566
3567 2003-03-17  John Levon  <levon@movementarian.org>
3568
3569         * text.C (rowBreakPoint): remove attempt to fix displayed
3570         math insets inside a manual label
3571
3572 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3573
3574         * lyxtext.h: remove BufferView* as first arg from almost all class
3575         functions.
3576         * other files: adjust.
3577
3578 2003-03-17  John Levon  <levon@movementarian.org>
3579
3580         * lyxtext.h:
3581         * undo_funcs.C:
3582         * text2.C: more paint cleanups
3583
3584         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3585
3586         * rowpainter.h:
3587         * rowpainter.C: remove "smart" background painting code
3588
3589 2003-03-16  John Levon  <levon@movementarian.org>
3590
3591         * lyxtext.h:
3592         * text.C:
3593         * text2.C:
3594         * text3.C: add helper functions for setting refresh_row/y
3595
3596 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3597
3598         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3599         newline inset which *can* get inserted in the pass_thru layouts.
3600         This is primarily for literate documents.
3601
3602 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3603
3604         * buffer.C: increment LYX_FORMAT to 223
3605
3606 2003-03-14 André Pönitz <poenitz@gmx.net>
3607
3608         * textclass.h: prepare for environment handling, ws changes
3609         * lyxlayout.C: read latexheader and latexfooter tags
3610
3611 2003-03-14  John Levon  <levon@movementarian.org>
3612
3613         * text2.C: rewrite ::status() a bit
3614
3615 2003-03-13  John Levon  <levon@movementarian.org>
3616
3617         * lyxtext.h: add some docs
3618
3619 2003-03-13  John Levon  <levon@movementarian.org>
3620
3621         * lyxtext.h:
3622         * text.C:
3623         * text2.C:
3624         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3625
3626 2003-03-13  John Levon  <levon@movementarian.org>
3627
3628         * text3.C: fix appendix redrawing
3629
3630 2003-03-13  John Levon  <levon@movementarian.org>
3631
3632         * text.C (setHeightOfRow):
3633         * rowpainter.h:
3634         * rowpainter.C: make appendix mark have the text
3635           "Appendix" so the user knows what it is
3636
3637         * LColor.h:
3638         * LColor.C: s/appendixline/appendix/ from above
3639
3640 2003-03-13  John Levon  <levon@movementarian.org>
3641
3642         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3643
3644         * text.C: fix a getChar(pos) bug properly
3645
3646 2003-03-13  Angus Leeming  <leeming@lyx.org>
3647
3648         * commandtags.h:
3649         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3650         Probably only temporary. Let's see how things pan out.
3651
3652         * BufferView.C (unlockInset):
3653         * BufferView_pimpl.C (fitCursor):
3654         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3655
3656         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3657         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3658
3659         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3660         new functions that convert ParagraphParameters to and from a string.
3661
3662         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3663         BufferView::Pimpl's dispatch.
3664         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3665
3666 2003-03-13 André Pönitz <poenitz@gmx.net>
3667
3668         * lyxfunc.C:
3669         * text3.C:
3670         * factory.C: make it aware of InsetEnv
3671
3672 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3673
3674         * text2.C (setCursor): never ask for one past last
3675         (setCursor): add some debugging messages.
3676
3677         * text.C (singleWidth): never ask for one past last
3678         (singleWidth): ditto
3679         (leftMargin): ditto
3680         (rightMargin): ditto
3681         (rowBreakPoint): ditto
3682         (setHeightOfRow): ditto
3683         (prepareToPrint): ditto
3684
3685         * rowpainter.C (paintBackground): never ask for one past last
3686         (paintText): never ask for one past last
3687
3688         * paragraph_pimpl.C (getChar): make the assert stricter, never
3689         allow the one past last pos to be taken
3690
3691         * paragraph.C (getChar): ws changes only
3692
3693         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3694         (numberOfSeparators): ditto
3695         (numberOfHfills): ditto
3696
3697 2003-03-12  John Levon  <levon@movementarian.org>
3698
3699         * author.h:
3700         * author.C:
3701         * bufferparams.h:
3702         * bufferparams.C:
3703         * paragraph_funcs.C: fix per-buffer authorlists
3704
3705 2003-03-12  John Levon  <levon@movementarian.org>
3706
3707         * text.C: fix newline in right address
3708
3709 2003-03-12  Angus Leeming  <leeming@lyx.org>
3710
3711         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3712         duplicate those in LyXFunc::dispatch.
3713
3714         * commandtags.h:
3715         * LyXAction.C:
3716         * ToolbarDefaults.C:
3717         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3718         Add LFUN_FONTFREE_UPDATE.
3719
3720         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3721         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3722
3723         * bufferview_func.[Ch]: several new functions to facilliate
3724         transfer of data to and from the character dialog.
3725
3726 2003-03-12  John Levon  <levon@movementarian.org>
3727
3728         * buffer.C:
3729         * paragraph.h:
3730         * paragraph.C:
3731         * paragraph_funcs.C:
3732         * paragraph_pimpl.C:
3733         * sgml.C:
3734         * tabular.C:
3735         * text.C:
3736         * text3.C: remove META_NEWLINE in favour of an inset
3737
3738         * rowpainter.h:
3739         * rowpainter.C: remove paintNewline (done by inset)
3740
3741 2003-03-12  John Levon  <levon@movementarian.org>
3742
3743         * paragraph_pimpl.C: complain about bad getChar()s
3744         for a while at least
3745
3746 2003-03-12  John Levon  <levon@movementarian.org>
3747
3748         * buffer.h:
3749         * buffer.C: move paragraph read into a separate function,
3750         a little renaming to reflect that.
3751
3752         * bufferparams.h:
3753         * bufferparams.C: remove the author_ids map, not necessary now
3754
3755         * factory.h:
3756         * factory.C: moved Buffer::readInset to here
3757
3758         * paragraph_funcs.h:
3759         * paragraph_funcs.C: readParagraph free function moved from
3760         buffer.C
3761
3762         * tabular.C: name change
3763
3764 2003-03-12  John Levon  <levon@movementarian.org>
3765
3766         * buffer.C:
3767         * ParagraphParameters.C: move par params input to
3768         a read() method
3769
3770         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3771         behave like a normal read from the stream wrt reading
3772         a line vs. a \\token
3773
3774 2003-03-12  John Levon  <levon@movementarian.org>
3775
3776         * paragraph.C:
3777         * ParagraphParameters.h:
3778         * ParagraphParameters.C: move output code to a
3779         ::write() method
3780
3781 2003-03-12  John Levon  <levon@movementarian.org>
3782
3783         * BufferView.C (insertLyXFile):
3784         * buffer.h:
3785         * buffer.C:
3786         * tabular.C: use a parlist iterator for creating the
3787           document.
3788
3789 2003-03-12  John Levon  <levon@movementarian.org>
3790
3791         * buffer.C: make current_change static local not
3792           static file-scope
3793
3794 2003-03-12  John Levon  <levon@movementarian.org>
3795
3796         * buffer.C: fix insertStringAsLines for change tracking
3797
3798 2003-03-12  John Levon  <levon@movementarian.org>
3799
3800         * BufferView.C:
3801         * tabular.C:
3802         * buffer.h:
3803         * buffer.C:
3804         * bufferparams.h:
3805         * bufferparams.C: move author list into params. Rename some
3806           functions. Move the header reading into a separate token
3807           loop. Move the header token reading into BufferParams.
3808
3809 2003-03-12  John Levon  <levon@movementarian.org>
3810
3811         * changes.C: put debug inside lyxerr.debugging() checks
3812
3813 2003-03-11 André Pönitz <poenitz@gmx.net>
3814
3815         * factory.C: make it aware of InsetHFill
3816
3817 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3818
3819         * buffer.C (latexParagraphs): move function from here...
3820         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3821         args.
3822
3823 2003-03-10  Angus Leeming  <leeming@lyx.org>
3824
3825         * LyXAction.C (init): fix bug in poplating array with multiple entries
3826         with the same LFUN (spotted by JMarc).
3827
3828 2003-03-10  John Levon  <levon@movementarian.org>
3829
3830         * text.C:
3831         * text2.C: move getColumnNearX() near its
3832         only call site
3833
3834 2003-03-10  John Levon  <levon@movementarian.org>
3835
3836         * text.C: fix break before a minipage
3837
3838 2003-03-10  John Levon  <levon@movementarian.org>
3839
3840         * text.C: fix the last commit
3841
3842 2003-03-09  John Levon  <levon@movementarian.org>
3843
3844         * lyxtext.h:
3845         * text.C:
3846         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3847         bug 365 (don't break before insets unless needed). Don't
3848         return a value > last under any circumstances.
3849
3850 2003-03-09  Angus Leeming  <leeming@lyx.org>
3851
3852         * BufferView_pimpl.C (trackChanges, dispatch): call
3853         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3854
3855 2003-03-09  Angus Leeming  <leeming@lyx.org>
3856
3857         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3858         than Dialogs::showAboutlyx().
3859
3860 2003-03-09  Angus Leeming  <leeming@lyx.org>
3861
3862         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3863         than Dialogs::showTabularCreate().
3864
3865 2003-03-09  John Levon  <levon@movementarian.org>
3866
3867         * lyxtext.h:
3868         * text.C:
3869         * text2.C: 3rd arg to nextBreakPoint was always the same.
3870           Use references.
3871
3872 2003-03-08  John Levon  <levon@movementarian.org>
3873
3874         * lyxrow.C:
3875         * paragraph.C:
3876         * paragraph.h:
3877         * rowpainter.C:
3878         * text.C:
3879         * text2.C: Remove the "main" bit from the "main body"
3880           notion.
3881
3882 2003-03-08  John Levon  <levon@movementarian.org>
3883
3884         * text.C (leftMargin): The left margin of an empty
3885         manual label paragraph should not include the label width
3886         string length.
3887
3888         * text.C (prepareToPrint): don't attempt to measure hfills
3889         for empty manual label paragraphs - the answer should be 0
3890
3891 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3892
3893         * CutAndPaste.C: remove commented code and reindent.
3894
3895 2003-03-08  John Levon  <levon@movementarian.org>
3896
3897         * lyxfunc.h:
3898         * lyxfunc.C: move reloadBuffer()
3899
3900         * BufferView.h:
3901         * BufferView.C: to here
3902
3903         * lyxvc.C: add comment
3904
3905         * vc-backend.h:
3906         * vc-backend.C: call bv->reload() to avoid
3907           getStatus() check on MENURELOAD
3908
3909 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3910
3911         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3912         to an old format .dep file.
3913
3914 2003-03-07  Angus Leeming  <leeming@lyx.org>
3915
3916         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3917         when the LFUN_MOUSE_RELEASE should have been handled by
3918         inset->localDispatch.
3919
3920 2003-03-07  Angus Leeming  <leeming@lyx.org>
3921
3922         * BufferView_pimpl.C (dispatch):
3923         * LyXAction.C (init):
3924         * ToolbarDefaults.C (init):
3925         * commandtags.h:
3926         * lyxfunc.C (getStatus):
3927         remove LFUN_INSET_GRAPHICS.
3928
3929         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3930
3931 2003-03-07  Angus Leeming  <leeming@lyx.org>
3932
3933         * commandtags.h:
3934         * LyXAction.C (init):
3935         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3936
3937         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3938
3939         * commandtags.h:
3940         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3941
3942         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3943         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3944
3945 2003-03-07  Angus Leeming  <leeming@lyx.org>
3946
3947         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3948         remove "ert".
3949
3950 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3951
3952         * ParagraphList.C (front): new function
3953         (back): implement
3954
3955 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3956
3957         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3958         and top_row_offset_. removed var first_y.
3959         * text.C (top_y):
3960         * text2.C (LyXText, removeRow):
3961         * text3.C:
3962         * BufferView_pimpl.C:
3963         use these methods instead of using first_y
3964
3965 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * text2.C (pasteSelection): adjust for checkPastePossible
3968
3969         * CutAndPaste.C: remove Paragraph * buf and replace with
3970         ParagraphList paragraphs.
3971         (DeleteBuffer): delete
3972         (cutSelection): change the tc type to textclass_type
3973         (copySelection): change the tc type to textclass_type
3974         (copySelection): adjust for ParagraphList
3975         (pasteSelection): change the tc type to textclass_type
3976         (pasteSelection): adjust for Paragraphlist
3977         (nrOfParagraphs): simplify for ParagraphList
3978         (checkPastePossible): simplify for ParagraphList
3979         (checkPastePossible): remove unused arg
3980
3981         * ParagraphList.C (insert): handle the case where there are no
3982         paragraphs yet.
3983
3984         * CutAndPaste.h: make CutAndPaste a namespace.
3985
3986         * text3.C (dispatch): adjust
3987
3988         * text.C (breakParagraph): add a ParagraphList as arg
3989
3990         * paragraph_funcs.C (breakParagraph): change to take a
3991         BufferParams and a ParagraphList as args.
3992         (breakParagraphConservative): ditto
3993         (mergeParagraph): ditto
3994         (TeXDeeper): add a ParagraphList arg
3995         (TeXEnvironment): ditto
3996         (TeXOnePar): ditto
3997
3998         * buffer.C (readLyXformat2): adjust
3999         (insertStringAsLines): adjust
4000         (latexParagraphs): adjust
4001
4002         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4003         (cutSelection): adjust
4004         (pasteSelection): adjust
4005
4006         * BufferView_pimpl.C (insertInset): adjust
4007
4008 2003-03-05  Angus Leeming  <leeming@lyx.org>
4009
4010         * commandtags.h:
4011         * LyXAction.C (init):
4012         * BufferView_pimpl.C (dispatch):
4013         * lyxfunc.C (getStatus):
4014         remove LFUN_CHILD_INSERT.
4015
4016         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4017
4018 2003-03-05  Angus Leeming  <leeming@lyx.org>
4019
4020         * commandtags.h:
4021         * LyXAction.C (init):
4022         * src/factory.C (createInset):
4023         * lyxfunc.C (getStatus):
4024         * text3.C (dispatch):
4025         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4026
4027         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4028
4029 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4030
4031         * ParagraphList.C (insert): handle insert right before end()
4032         (erase): fix cases where it can be first or last paragraph.
4033
4034 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4037         Paragraph::next and Paragraph::previous
4038         (TeXOnePar): ditto
4039
4040         * text.C (breakParagraph): adjust
4041
4042         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4043         BufferParams& as arg.
4044         (breakParagraph): use ParagraphList::insert
4045         (breakParagraphConservative): take a Buffer* instead of a
4046         BufferParams& as arg.
4047         (breakParagraphConservative): use ParagraphList::insert.
4048
4049         * buffer.C (insertStringAsLines): un-const it
4050         (insertStringAsLines): adjust
4051
4052         * ParagraphList.C (insert): new function
4053
4054         * CutAndPaste.C (pasteSelection): adjust
4055
4056         * text.C (backspace): adjust
4057
4058         * tabular.C (SetMultiColumn): adjust
4059
4060         * CutAndPaste.C (cutSelection): adjust
4061         (pasteSelection): adjust
4062
4063         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4064         Buffer const * as arg
4065
4066         * ParagraphList.C (erase): new function
4067         * paragraph_funcs.C (mergeParagraph): use it
4068         (mergeParagraph): make it take a Buffer* instead of a
4069         BufferParams* as arg
4070
4071         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4072         as arg
4073         (breakParagraphConservative): ditto
4074
4075         * paragraph.h: remove the breakParagraph friend
4076
4077         * paragraph.C (eraseIntern): new function
4078         (setChange): new function
4079
4080         * paragraph_funcs.C (mergeParagraph): make it take a
4081         ParagraphList::iterator instead of a Paragraph *, adjust
4082         accordingly.
4083
4084         * paragraph.h: move an #endif so that the change tracking stuff
4085         also works in the NO_NEXT case.
4086
4087 2003-03-04  Angus Leeming  <leeming@lyx.org>
4088
4089         * commandtags.h:
4090         * LyXAction.C: new LFUN_INSET_MODIFY.
4091
4092         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4093         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4094
4095 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * several files: ws changes only
4098
4099         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4100         (TeXEnvironment): ditto
4101         (TeXDeeper): ditto
4102
4103         * buffer.C (makeLaTeXFile): adjust
4104         (latexParagraphs): make it take ParagraphList::iterator as args
4105
4106 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4107
4108         * buffer.C (latexParagraphs): adjust
4109
4110         * paragraph.C (TeXOnePar): move function...
4111         (optArgInset): move function...
4112         (TeXEnvironment): move function...
4113         * paragraph_pimpl.C (TeXDeeper): move function...
4114         * paragraph_funcs.C: ...here
4115
4116         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4117
4118 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4119
4120         * buffer.C (readInset): remove compability code for old Figure and
4121         InsetInfo insets
4122
4123 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4124
4125         * buffer.C: ws changes
4126         (readInset):
4127
4128         * BufferView_pimpl.C: ditto
4129         * author.C: ditto
4130         * buffer.h: ditto
4131         * bufferlist.h: ditto
4132         * changes.h: ditto
4133         * lyxfunc.C: ditto
4134
4135 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4136
4137         * converter.[Ch]: split into itself +
4138         * graph.[Ch]
4139         * format.[Ch]
4140         * Makefile.am: += graph.[Ch] + format.[Ch]
4141         * MenuBackend.C
4142         * buffer.C
4143         * exporter.C
4144         * importer.C
4145         * lyx_main.C
4146         * lyxfunc.C
4147         * lyxrc.C: added #include "format.h"
4148
4149 2003-02-27  Angus Leeming  <leeming@lyx.org>
4150
4151         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4152           a label.
4153
4154         * factory.C (createInset): add "label" to the factory.
4155
4156         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4157           string and do no more.
4158
4159 2003-02-27  Angus Leeming  <leeming@lyx.org>
4160
4161         * commandtags.h:
4162         * LyXAction.C (init):
4163         * factory.C (createInset):
4164         * BufferView_pimpl.C (dispatch):
4165           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4166
4167         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4168
4169         * lyxfunc.C (dispatch):
4170         * text3.C (dispatch): pass name to params2string.
4171
4172 2003-02-26  Angus Leeming  <leeming@lyx.org>
4173
4174         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4175           blocks together.
4176           Rearrange the ~includes. Strip out the unnecessary ones.
4177
4178         * factory.C (createInset): reformat.
4179           create new insets for the various LFUN_XYZ_APPLY lfuns.
4180
4181 2003-02-26  John Levon  <levon@movementarian.org>
4182
4183         * lyxrow.h:
4184         * lyxrow.C: add isParStart,isParEnd helpers
4185
4186         * paragraph.h: make isInserted/DeletedText take refs
4187
4188         * paragraph_funcs.h:
4189         * paragraph_funcs.C: remove #if 0'd code
4190
4191         * lyxtext.h:
4192         * text3.C:
4193         * text2.C:
4194         * text.C: use lyxrow helpers above.
4195           Move draw and paint routines to RowPainter.
4196           Make several methods use refs not pointers.
4197           Make backgroundColor() const.
4198           Add markChangeInDraw(), isInInset().
4199           Merge changeRegionCase into changeCase.
4200           Make workWidth() shouldn't-happen code into an Assert.
4201
4202         * rowpainter.h:
4203         * rowpainter.C: new class for painting a row.
4204
4205         * vspace.h:
4206         * vspace.C: make inPixels take a ref
4207
4208 2003-02-26  Angus Leeming  <leeming@lyx.org>
4209
4210         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4211         LFUN_REF_APPLY.
4212
4213 2003-02-25  John Levon  <levon@movementarian.org>
4214
4215         * ispell.C: give the forked command a more accurate name
4216
4217 2003-02-22  John Levon  <levon@movementarian.org>
4218
4219         * toc.h:
4220         * toc.C: make TocItem store an id not a Paragraph *
4221           (bug #913)
4222
4223 2003-02-21  Angus Leeming  <leeming@lyx.org>
4224
4225         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4226           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4227           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4228           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4229           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4230           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4231
4232         * BufferView_pimpl.C (dispatch):
4233         * LyXAction.C (init):
4234         * factory.C (createInset):
4235         * lyxfunc.C (getStatus, dispatch):
4236         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4237
4238 2003-02-21  Angus Leeming  <leeming@lyx.org>
4239
4240         * BufferView_pimpl.C (MenuInsertLyXFile):
4241         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4242         * lyxfunc.C (menuNew, open, doImport):
4243           no longer pass a LyXView & to fileDlg.
4244
4245 2003-02-21  Angus Leeming  <leeming@lyx.org>
4246
4247         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4248         * LyXAction.C: change, BIBKEY to BIBITEM.
4249         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4250         Change InsetBibKey to InsetBibitem.
4251         Change BIBKEY_CODE to BIBITEM_CODE.
4252         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4253         * factory.C: replace insetbib.h with insetbibitem.h.
4254         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4255         * paragraph.C: replace insetbib.h with insetbibitem.h.
4256         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4257         Change bibkey() to bibitem().
4258         * text.C: remove insetbib.h.
4259         * text2.C: replace insetbib.h with insetbibitem.h.
4260         change bibkey() to bibitem().
4261         * text3.C: remove insetbib.h.
4262         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4263
4264 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4265
4266         * lyxrc.C (output): enclose user email in quotes (in case there are
4267         several words)
4268
4269 2003-02-18  John Levon  <levon@movementarian.org>
4270
4271         * buffer.h: add std::
4272
4273 2003-02-17  John Levon  <levon@movementarian.org>
4274
4275         * SpellBase.h:
4276         * ispell.h:
4277         * ispell.C:
4278         * pspell.h:
4279         * pspell.C: reworking. Especially in ispell, a large
4280           number of clean ups and bug fixes.
4281
4282         * lyxfunc.C: fix revert to behave sensibly
4283
4284 2003-02-17 André Pönitz <poenitz@gmx.net>
4285
4286         * LyXAction.C:
4287         * commandtags.h: new LFUN_INSERT_BIBKEY
4288
4289         * layout.h:
4290         * lyxlayout.C:
4291         * buffer.C:
4292         * factory.C:
4293         * text.C:
4294         * text2.C:
4295         * text3.C:
4296         * paragraph.[Ch]:
4297         * paragraph_func.C: remove special bibkey handling
4298
4299 2003-02-17  John Levon  <levon@movementarian.org>
4300
4301         * text.C (Delete): fix case where delete at the end of
4302           the very first paragraph would not merge the pars
4303
4304 2003-02-17  John Levon  <levon@movementarian.org>
4305
4306         * lyxrow.C: fix lastPrintablePos()
4307
4308 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4309
4310         * bufferparams.C (writeLaTeX): add a std:here
4311
4312         * buffer.C: and remove a using directive there
4313
4314 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4315
4316         * buffer.C (makeLaTeXFile): move the code that generates the
4317           preamble...
4318
4319         * bufferparams.C (writeLaTeX): ... in this new method
4320
4321         * LaTeXFeatures.C (getEncodingSet): make const
4322           (getLanguages): make const
4323
4324         * MenuBackend.C (binding): returns the binding associated to this
4325           action
4326           (add): sets the status of each item by calling getStatus. Adds
4327           some intelligence.
4328           (read): add support for OptSubMenu
4329           (expand): remove extra separator at the end of expanded menu
4330
4331 2003-02-15  John Levon  <levon@movementarian.org>
4332
4333         * BufferView.C:
4334         * BufferView_pimpl.C:
4335         * bufferlist.h:
4336         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4337           inset code that had no actual effect. Remove unneeded status
4338           code.
4339
4340 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4341
4342         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4343           in preamble
4344
4345 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4346
4347         * text.C (drawLengthMarker): also draw an arrow marker for
4348           symbolic lengths (medskip...)
4349
4350 2003-02-14  John Levon  <levon@movementarian.org>
4351
4352         * tabular.h:
4353         * tabular.C: better method names
4354
4355 2003-02-14  John Levon  <levon@movementarian.org>
4356
4357         * BufferView_pimpl.C:
4358         * bufferlist.C:
4359         * buffer.C:
4360         * converter.C:
4361         * lyx_cb.C:
4362         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4363           it's a more accurate name. Remove some pointless uses.
4364
4365 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4366
4367         * text2.C (LyXText): change order of initilizers to shut off
4368           warnings
4369
4370 2003-02-14  John Levon  <levon@movementarian.org>
4371
4372         * buffer.C: use ParIterator for getParFromID()
4373
4374         * paragraph.h:
4375         * paragraph.C:
4376         * paragraph_pimpl.h:
4377         * paragraph_pimpl.C: remove unused getParFromID()
4378
4379 2003-02-14  John Levon  <levon@movementarian.org>
4380
4381         * buffer.C: remove some very old #if 0'd parse code
4382
4383 2003-02-13  John Levon  <levon@movementarian.org>
4384
4385         * text.h:
4386         * text.C:
4387         * text2.C: move hfillExpansion(), numberOfSeparators(),
4388           rowLast(), rowLastPrintable(), numberofHfills(),
4389           numberOfLabelHfills() ...
4390
4391         * lyxrow.h:
4392         * lyxrow.C: ... to member functions here.
4393
4394         * paragraph.h:
4395         * paragraph.C:
4396         * lyxtext.h:
4397         * text.C: remove LyXText::beginningOfMainBody(), and call
4398           p->beginningOfMainBody() directly. Move the check for
4399           LABEL_MANUAL into the latter.
4400
4401         * text.h:
4402         * text.C:
4403         * text2.C:
4404         * vspace.C:
4405         * BufferView.h:
4406         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4407
4408         * text.h:
4409         * text.C:
4410         * text2.C:
4411         * text3.C:
4412         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4413           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4414
4415 2003-02-13  John Levon  <levon@movementarian.org>
4416
4417         * CutAndPaste.C: remove debug
4418
4419 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4420
4421         * paragraph.C (asString): remove two unused variables
4422
4423         * lyxtextclass.C (readTitleType):
4424           (Read):
4425           (LyXTextClass): handle new members titletype_ and titlename_
4426
4427         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4428
4429 2003-02-09  John Levon  <levon@movementarian.org>
4430
4431         * buffer.h:
4432         * buffer.C: replace hand-coded list with a map for the dep clean
4433
4434 2003-02-08  John Levon  <levon@movementarian.org>
4435
4436         * LaTeX.C: consolidate code into showRunMessage() helper
4437
4438 2003-02-08  John Levon  <levon@movementarian.org>
4439
4440         * lyxfind.C:
4441         * lyxtext.h:
4442         * text2.C:
4443         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4444           and pass the size in explicitly
4445
4446         * BufferView_pimpl.h:
4447         * BufferView_pimpl.C:
4448         * BufferView.h:
4449         * BufferView.C: add getCurrentChange()
4450
4451         * BufferView_pimpl.h:
4452         * BufferView_pimpl.C: handle change lfuns
4453
4454         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4455           for changes. Mark pasted paragraphs as new.
4456
4457         * support/lyxtime.h:
4458         * support/lyxtime.C:
4459         * DepTable.C: abstract time_t as lyx::time_type
4460
4461         * LColor.h:
4462         * LColor.C: add colours for new text, deleted text, changebars
4463
4464         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4465           package use "usenames" option.
4466
4467         * commandtags.h:
4468         * lyxfunc.C:
4469         * LyXAction.C: add change lfuns
4470
4471         * Makefile.am:
4472         * author.h:
4473         * author.C: author handling
4474
4475         * buffer.h:
4476         * buffer.C: add a per-buffer author list, with first entry as
4477           current author. Handle new .lyx tokens for change tracking. Output
4478           author list to .lyx file. Output dvipost stuff to .tex preamble.
4479           Bump lyx format to 222.
4480
4481         * bufferlist.h:
4482         * bufferlist.C: add setCurrentAuthor() to reset current author details
4483           in all buffers.
4484
4485         * bufferparams.h:
4486         * bufferparams.C: add param for tracking
4487
4488         * bufferview_funcs.C: output change info in minibuffer
4489
4490         * Makefile.am:
4491         * changes.h:
4492         * changes.C: add change-tracking structure
4493
4494         * debug.h:
4495         * debug.C: add CHANGES debug flag
4496
4497         * lyxfind.h:
4498         * lyxfind.C: add code for finding the next change piece
4499
4500         * lyxrc.h:
4501         * lyxrc.C: add user_name and user_email
4502
4503         * lyxrow.h:
4504         * lyxrow.C: add a metric for the top of the text line
4505
4506         * lyxtext.h:
4507         * text.C: implement accept/rejectChange()
4508
4509         * lyxtext.h:
4510         * text.C: paint changebars. Paint new/deleted text in the chosen
4511         colours. Strike through deleted text.
4512
4513         * paragraph.h:
4514         * paragraph.C:
4515         * paragraph_pimpl.h:
4516         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4517           in the current change to the insert functions. Rework erase to
4518           mark text as deleted, adding an eraseIntern() and a range-based
4519           erase(). Implement per-paragraph change lookup and
4520           accept/reject.
4521
4522         * paragraph_funcs.C: Fixup paste for change tracking.
4523
4524         * tabular.C: mark added row/columns as new.
4525
4526         * text.C: fix rowLast() to never return -1. Don't allow
4527           spellchecking of deleted text. Track transpose changes. Don't
4528           allow paragraph break or merge where appropriate.
4529
4530         * text2.C: leave cursor at end of selection after a cut.
4531
4532 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4533
4534         * text.C (getLengthMarkerHeight):
4535         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4536         visible on screen too.
4537
4538 2003-02-07  John Levon  <levon@movementarian.org>
4539
4540         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4541
4542 2003-02-05  Angus Leeming  <leeming@lyx.org>
4543
4544         * lyxserver.C (read_ready): revert my patch of 11 September last year
4545         as it sends PC cpu through the roof. Presumably this means that
4546         the lyxserver will no longer run on an Alpha...
4547
4548 2003-01-30  Angus Leeming  <leeming@lyx.org>
4549
4550         * factory.C (createInset): create an InsetCommandParam of type "index"
4551         and use it to 'do the right thing'.
4552
4553         * text2.C (getStringToIndex): ensure that cursor position is always
4554         reset to the reset_cursor position.
4555
4556 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4557
4558         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4559         disabled.
4560
4561 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4562
4563         * bufferview.C:
4564         * lyxcb.C:
4565         * lyxfunc.C: Output messages with identical spelling, punctuation,
4566         and spaces
4567
4568 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4569
4570         * MenuBackend.C (expandFormats): List only viewable export formats
4571         in "View" menu
4572
4573         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4574         message
4575
4576         * lyxfunc.C (getStatus): Make sure that formats other than
4577         "fax" can also be disabled
4578
4579 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4580
4581         * text3.C (dispatch): put the lfuns that insert insets in 3
4582         groups, and call doInsertInset with appropriate arguments.
4583         (doInsertInset): new function, that creates an inset and inserts
4584         it according to some boolean parameters.
4585
4586 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4587
4588         * buffer.C (readFile): remember to pass on 'par' when calling
4589         readFile recursively.
4590
4591 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4592
4593         * MenuBackend.C (expandFormats): add "..." to import formats.
4594
4595 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4596
4597         * paragraph.C (asString): Remove XForms RTL hacks.
4598
4599 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4600         * buffer.C: fix typo
4601
4602 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4603
4604         * Makefile.am (LIBS): delete var
4605         (lyx_LDADD): add @LIBS@ here instead.
4606
4607 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4608
4609         * Clarify the meaning of "wheel mouse jump"
4610
4611 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4612
4613         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4614         tabular in a float
4615
4616 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4617
4618         * importer.C (Loaders): do not preallocate 3 elements in the
4619         vector, since one ends up with 6 elements otherwise
4620
4621 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4622
4623         * DepTable.C (write): write the file name as last element of the
4624         .dep file (because it may contain spaces)
4625         (read): read info in the right order
4626
4627 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4628
4629         * paragraph_pimpl.C (simpleTeXBlanks):
4630         (simpleTeXSpecialChars):
4631         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4632
4633         * tabular.C (latex): add some missing case statements. Reindent.
4634
4635         * MenuBackend.C (expandToc): remove unused variable.
4636
4637 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4638
4639         * LColor.C:
4640         * LaTeX.C:
4641         * LyXAction.C:
4642         * MenuBackend.C:
4643         * buffer.C:
4644         * exporter.C:
4645         * lyxfunc.C:
4646         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4647         and the like.
4648
4649 2003-01-05  John Levon  <levon@movementarian.org>
4650
4651         * BufferView.h:
4652         * BufferView.C: add getEncoding()
4653
4654         * kbsequence.h:
4655         * kbsequence.C: do not store last keypress
4656
4657         * lyxfunc.h:
4658         * lyxfunc.C: store last keypress here instead. Pass encoding
4659           to getISOEncoded()
4660
4661 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4662
4663         * lyx_main.C (init): remove annoying error message when following
4664         symbolic links (bug #780)
4665
4666 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4667
4668         * text.C (insertChar):
4669         * lyxrc.C (getDescription): remove extra spaces
4670
4671 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4672
4673         * lyxrc.C (getDescription): remove extra spaces
4674
4675 2002-12-20  John Levon  <levon@movementarian.org>
4676
4677         * text3.C: hack fix for page up/down across tall rows
4678
4679 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4680
4681         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4682         not been invoked
4683
4684 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4685
4686         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4687         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4688         thesaurus is not compiled in
4689
4690 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4691
4692         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4693
4694 2002-12-16  Angus Leeming  <leeming@lyx.org>
4695
4696         * lyxrc.[Ch]:
4697         * lyx_main.C (init): remove override_x_deadkeys stuff.
4698
4699 2002-12-12  John Levon  <levon@movementarian.org>
4700
4701         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4702           insert. Only remove shift modifier under strict
4703           circumstances.
4704
4705 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4706
4707         * MenuBackend.C (expandToc): fix crash.
4708
4709 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4710
4711         * MenuBackend.C (expandToc): gettext on float names.
4712
4713 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4714
4715         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4716         implement bool empty() [bug 490]
4717
4718 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4719
4720         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4721
4722 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4723
4724         * several files: ws changes
4725
4726 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4727
4728         * text2.C (setCounter): clean up a bit, use boost.format.
4729         (updateCounters): initialize par upon declaration.
4730
4731         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4732         if the layout exists. We do not just store the layout any more.
4733         (SwitchLayoutsBetweenClasses): use boost.format
4734
4735 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4736
4737         * converter.C (convert): if from and to files are the same, use a
4738         temporary files as intermediary
4739
4740 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4741
4742         * commandtags.h:
4743         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4744
4745 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4746
4747         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4748
4749 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4750
4751         * tabular.C (asciiPrintCell): use string(size, char) instead of
4752         explicit loop.
4753
4754         * sgml.C (openTag): fix order of arguments to string constructor
4755         (closeTag): ditto
4756
4757         * lyxfunc.C (dispatch): use boost.format
4758
4759         * lots of files: change "c" -> 'c'
4760
4761 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4762
4763         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4764
4765 2002-11-25  Angus Leeming  <leeming@lyx.org>
4766
4767         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4768
4769         * lyx_main.C (init): compile fix.
4770
4771 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4772
4773         * lyx_cb.C (start): boost.formatify
4774         do not include <iostream>
4775
4776         * lengthcommon.C: ws only
4777
4778         * boost-inst.C,BoostFormat.h: add more explict instantations
4779
4780 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4781
4782         * lots of files: handle USE_BOOST_FORMAT
4783
4784 2002-11-21  John Levon  <levon@movementarian.org>
4785
4786         * pspell.C: fix compile
4787
4788 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4789
4790         * lyxfunc.C (dispatch): use boost::format
4791         (open): ditto
4792         (doImport): ditto
4793
4794         * lyxfont.C (stateText): use boost::format
4795
4796         * lyx_main.C (LyX): use boost::format
4797         (init): ditto
4798         (queryUserLyXDir): ditto
4799         (readRcFile): ditto
4800         (parse_dbg): ditto
4801         (typedef boost::function): use the recommened syntax.
4802
4803         * importer.C (Import): use boost::format
4804
4805         * debug.C (showLevel): use boost::format
4806
4807         * converter.C (view): use boost::format
4808         (convert): ditto
4809         (move): ditto
4810         (scanLog): ditto
4811
4812         * bufferview_funcs.C (currentState): use boost::format
4813
4814         * bufferlist.C (emergencyWrite): use boost::format
4815
4816         * buffer.C (readLyXformat2): use boost::format
4817         (parseSingleLyXformat2Token): ditto
4818
4819         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4820
4821         * LaTeX.C (run): use boost::format
4822
4823         * Chktex.C (scanLogFile): use boost::format
4824
4825         * BufferView_pimpl.C (savePosition): use boost::format
4826         (restorePosition): ditto
4827         (MenuInsertLyXFile): ditto
4828
4829         * BoostFormat.h: help file for explicit instation.
4830
4831 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4832
4833         * tabular.C (latex): Support for block alignment in fixed width
4834         columns.
4835
4836 2002-11-17  John Levon  <levon@movementarian.org>
4837
4838         * BufferView_pimpl.C:
4839         * lyx_cb.C:
4840         * lyxfunc.C: split filedialog into open/save
4841
4842 2002-11-08  Juergen Vigna  <jug@sad.it>
4843
4844         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4845         by my last patch (hopefully).
4846
4847 2002-11-08  John Levon  <levon@movementarian.org>
4848
4849         * iterators.h:
4850         * iterators.C:
4851         * buffer.h:
4852         * buffer.C:
4853         * paragraph.h:
4854         * paragraph.C:
4855         * toc.h:
4856         * toc.C: ParConstIterator, and use it (from Lars)
4857
4858 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4859
4860         * lyxtextclass.[Ch]: revise and add doxygen comments
4861
4862 2002-11-07  John Levon  <levon@movementarian.org>
4863
4864         * text.C: fix progress value for spellchecker
4865
4866         * toc.C: fix navigate menu for insetwrap inside minipage
4867
4868         * paragraph_funcs.C: added FIXME for suspect code
4869
4870 2002-11-07  John Levon  <levon@movementarian.org>
4871
4872         * BufferView_pimpl.C: fix redrawing of insets
4873           on buffer switch
4874
4875 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4876
4877         * text2.C (updateCounters): fix bug 668
4878
4879 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4880
4881         * text3.C (dispatch): Do not make the buffer dirty when moving the
4882         cursor.
4883
4884 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4885
4886         * vc-backend.C: STRCONV
4887         (scanMaster): ditto
4888
4889         * text2.C (setCounter): STRCONV
4890
4891         * paragraph.C (asString): STRCONV
4892
4893         * lyxlength.C (asString): STRCONV
4894         (asLatexString): ditto
4895
4896         * lyxgluelength.C (asString): STRCONV
4897         (asLatexString): ditto
4898
4899         * lyxfunc.C (dispatch): STRCONV
4900         (open): ditto
4901
4902         * lyxfont.C (stateText): STRCONV
4903
4904         * importer.C (Import): STRCONV
4905
4906         * counters.C (labelItem): STRCONV
4907         (numberLabel): ditto
4908         (numberLabel): remove unused ostringstream o
4909
4910         * chset.C: STRCONV
4911         (loadFile): ditto
4912
4913         * bufferview_funcs.C (currentState): STRCONV
4914
4915         * buffer.C (readFile): STRCONV
4916         (asciiParagraph): ditto
4917         (makeLaTeXFile): ditto
4918
4919         * Spacing.C (writeEnvirBegin): STRCONV
4920
4921         * LaTeXFeatures.C (getLanguages): STRCONV
4922         (getPackages): ditto
4923         (getMacros): ditto
4924         (getBabelOptions): ditto
4925         (getTClassPreamble): ditto
4926         (getLyXSGMLEntities): ditto
4927         (getIncludedFiles): ditto
4928
4929         * LaTeX.C: STRCONV
4930         (run): ditto
4931         (scanAuxFile): ditto
4932         (deplog): ditto
4933
4934         * LString.h: add the STRCONV macros
4935
4936         * BufferView_pimpl.C (savePosition): STRCONV
4937         (restorePosition): ditto
4938         (MenuInsertLyXFile): ditto
4939
4940         * vc-backend.C (scanMaster): change from submatch[...] to
4941         submatch.str(...)
4942
4943         * funcrequest.C: include config.h
4944
4945         * factory.C: include config.h
4946
4947         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4948
4949         * box.C: include config.h
4950
4951         * LaTeX.C (scanAuxFile): change from submatch[...] to
4952         submatch.str(...)
4953         (deplog): ditto
4954
4955 2002-10-25  Angus Leeming  <leeming@lyx.org>
4956
4957         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4958
4959         * ispell.[Ch] (setError): new method.
4960         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4961         Use setError() insetead of goto END.
4962
4963         * lyx_cb.C (AutoSave): move out child process into new class
4964         AutoSaveBuffer.
4965
4966 2002-10-30  John Levon  <levon@movementarian.org>
4967
4968         * text3.C: make start appendix undoable
4969
4970 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4971
4972         * lyxlength.C (inPixels): Fix returned value.
4973
4974         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4975         environment.
4976
4977 2002-10-24  Angus Leeming  <leeming@lyx.org>
4978
4979         * lyxgluelength.h: no need to forward declare BufferParams
4980         or BufferView, so don't.
4981
4982 2002-10-21  John Levon  <levon@movementarian.org>
4983
4984         * BufferView.C: menuUndo ->undo, redo
4985
4986         * BufferView.h: document, remove dead, make some methods private
4987
4988         * paragraph_funcs.h:
4989         * paragraph_funcs.C:
4990         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4991
4992         * buffer.h:
4993         * buffer.C:
4994         * sgml.h:
4995         * sgml.C: move sgml open/close tag into sgml.C
4996
4997         * bufferview_funcs.h: unused prototype
4998
4999         * lyxfunc.h:
5000         * lyxfunc.C: remove unused
5001
5002         * lyxtext.h:
5003         * text.C: remove unused
5004
5005 2002-10-21  John Levon  <levon@movementarian.org>
5006
5007         * BufferView.h:
5008         * BufferView.C:
5009         * BufferView_pimpl.h:
5010         * BufferView_pimpl.C: fix mouse wheel handling based on
5011           patch from Darren Freeman
5012
5013 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5014
5015         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5016
5017 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5018
5019         * lyxlength.C (inPixels): Fix hanfling of negative length.
5020         Fix LyXLength::MU case.
5021
5022 2002-10-16  John Levon  <levon@movementarian.org>
5023
5024         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5025
5026 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5027
5028         * converter.C (view): add support for $$i (file name) and $$p
5029         (file path) for the viewer command. If $$i is not specified, then
5030         it is appended to the command (for compatibility with old syntax)
5031
5032 2002-10-14  Juergen Vigna  <jug@sad.it>
5033
5034         * undo_funcs.C (textHandleUndo): alter the order in which the
5035         new undopar is added to the LyXText, as we have to set first
5036         the right prev/next and then add it as otherwise the rebuild of
5037         LyXText is not correct. Also reset the cursor to the right paragraph,
5038         with this IMO we could remove the hack in "redoParagraphs()".
5039
5040 2002-10-09  Angus Leeming  <leeming@lyx.org>
5041
5042         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5043         to turn off an optimisation if a new inset is to be inserted.
5044
5045 2002-10-11 André Pönitz <poenitz@gmx.net>
5046
5047         * lyxtext.h: make some functions public to allow access
5048         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5049
5050 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5051
5052         * text3.C (dispatch): when changing layout, avoid an infinite loop
5053         [bug #652]
5054
5055 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5056
5057         * lyxrc.C (read): treat a viewer or converter command of "none" as
5058         if it were empty.
5059
5060         * MenuBackend.C (expandFormats): for an update, also allow the
5061         formats that are not viewable
5062
5063         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5064         script if it is newer than the lyxrc.defaults in user directory
5065
5066 2002-10-07 André Pönitz <poenitz@gmx.net>
5067
5068         * text.C: Vitaly Lipatov's small i18n fix
5069
5070 2002-09-25  Angus Leeming  <leeming@lyx.org>
5071
5072         * ispell.h: doxygen fix.
5073
5074 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5075
5076         * buffer.h (readFile): Add a new argument to the method, to allow
5077         reading of old-format templates.
5078
5079 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5080
5081         * toc.C (getTocList): Get TOC from InsetWrap.
5082
5083 2002-09-16  John Levon  <levon@movementarian.org>
5084
5085         * lyxfunc.C: check tabular for cut/copy too
5086
5087 2002-09-12  John Levon  <levon@movementarian.org>
5088
5089         * LyXAction.C: tidy
5090
5091         * factory.h:
5092         * factory.C: add header
5093
5094         * paragraph_funcs.h:
5095         * paragraph_funcs.C: cleanup
5096
5097 2002-09-11  John Levon  <levon@movementarian.org>
5098
5099         * PrinterParams.h: odd/even default to true
5100
5101 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5102
5103         * PrinterParams.h: update printer parameters for new xforms dialog
5104
5105 2002-09-11  Angus Leeming  <leeming@lyx.org>
5106
5107         * lyxserver.C (read_ready): re-write to make it more transparent
5108         and to make it work in coherent fashion under Tru64 Unix.
5109
5110 2002-09-11  André Pönitz <poenitz@gmx.net>
5111
5112         * commandtags.h:
5113         * LyXAction.C:
5114         * text3.C: implement LFUN_WORDSEL
5115
5116 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5119         make floatlist_ a boost::shared_ptr<FloatList>
5120
5121         * lyxtextclass.C: include FloatList.h
5122         (LyXTextClass): initialize floatlist_
5123         (TextClassTags): add TC_NOFLOAT
5124         (Read): match "nofloat" to TC_NOFLOAT and use it.
5125         (readFloat): modify call to floatlist_
5126         (floats): ditto
5127         (floats): ditto
5128
5129         * FloatList.[Ch] (FloatList): remove commented out float
5130         initialization.
5131         (erase): new function
5132
5133 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5134
5135         * MenuBackend.C (expandToc): fix crash when there is no document
5136         open
5137
5138 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5139
5140         * many files: Add insetwrap.
5141
5142 2002-09-09  John Levon  <levon@movementarian.org>
5143
5144         * text2.C: remove confusing and awkward depth wraparound
5145
5146 2002-09-09  John Levon  <levon@movementarian.org>
5147
5148         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5149
5150         * buffer.h:
5151         * buffer.C: remove getIncludeonlyList()
5152
5153         * paragraph.C:
5154         * lyxfunc.C: remove headers
5155
5156 2002-09-09  Juergen Vigna  <jug@sad.it>
5157
5158         * text.C (getColumnNearX): fix form Michael this is most
5159         probably a cut&paste bug.
5160
5161 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5162
5163         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5164
5165         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5166         references, ws changes.
5167
5168         * text2.C (init): update counters after init
5169         (insertParagraph): no need to set counter on idividual paragraphs.
5170         (setCounter): access the counters object in the textclass object
5171         on in the buffer object.
5172         (updateCounters): ditto
5173
5174         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5175         shared_ptr<Counters> to avoid loading counters.h in all
5176         compilation units.
5177         (LyXTextClass): initialize ctrs_
5178         (TextClassTags): add TC_COUNTER, and ...
5179         (Read): use it here.
5180         (CounterTags): new tags
5181         (readCounter): new function
5182         (counters): new funtion
5183         (defaultLayoutName): return a const reference
5184
5185         * counters.C (Counters): remove contructor
5186         (newCounter): remove a couple of unneeded statements.
5187         (newCounter): simplify a bit.
5188         (numberLabel): some small formatting changes.
5189
5190         * buffer.[Ch]: remove all traces of counters, move the Counters
5191         object to the LyXTextClass.
5192
5193 2002-09-06  Alain Castera  <castera@in2p3.fr>
5194
5195         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5196         package to set the horizontal alignment on fixed width columns.
5197
5198         * lyx_sty.C:
5199         * lyx_sty.h: added tabularnewline macro def.
5200
5201         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5202
5203 2002-09-06  John Levon  <levon@movementarian.org>
5204
5205         * LyXAction.C: tooltips for sub/superscript
5206
5207         * MenuBackend.C: a bit more verbose
5208
5209         * lyxfunc.C: tiny clean
5210
5211         * undo_funcs.C: document undo_frozen
5212
5213 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * counters.C (Counters): add missing algorithm counter.
5216
5217         * text2.C (setCounter): lookup the counter with layouts latexname
5218         instead of by section number.
5219         (setCounter): use a hackish way to lookup the correct enum
5220         counter.
5221         a float name->type change
5222         reset enum couners with counter name directly instead of depth value.
5223
5224         * counters.C (Counters): remove the push_backs, change to use the
5225         float type not the float name.
5226         (labelItem): remove unused string, float name->type change
5227
5228         * counters.h: don't include vector, loose the enums and sects vectors
5229
5230 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5231
5232         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5233         (Read): add float->TC_FLOAT to textclassTags
5234         (Read): and handle it in the switch
5235         (readFloat): new function
5236
5237         * FloatList.C (FloatList): comment out the hardcoded float
5238         definitions.
5239
5240         * lyxlayout.h: ws change.
5241
5242 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5243
5244         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5245
5246 2002-09-03  Angus Leeming  <leeming@lyx.org>
5247
5248         * BufferView_pimpl.h: qualified name is not allowed in member
5249         declaration: WorkArea & Pimpl::workarea() const;
5250
5251         * factory.C: added using std::endl directive.
5252
5253         * text3.C: added using std::find and std::vector directives.
5254
5255 2002-08-29  André Pönitz <poenitz@gmx.net>
5256
5257         * lyxtext.h:
5258         * text2.C: remove unused member number_of_rows
5259
5260         * Makefile.am:
5261         * BufferView2.C: remove file, move contents to...
5262         * BufferView.C: ... here
5263
5264         * BufferView_pimpl.C:
5265         * factory.C: move more inset creation to factory
5266
5267         * vspace.C: avoid direct usage of LyXText, ws changes
5268
5269         * BufferView.[Ch]:
5270                 don't provide direct access to WorkArea, use two simple
5271                 acessors haveSelction() and workHeight() instead
5272
5273
5274 2002-08-29  John Levon  <levon@movementarian.org>
5275
5276         * BufferView_pimpl.C (dispatch): do not continue when
5277           no buffer
5278
5279 2002-08-28  André Pönitz <poenitz@gmx.net>
5280
5281         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5282
5283         * BufferView.h:
5284         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5285
5286 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5287
5288         * buffer.C: increment LYX_FORMAT to 221
5289
5290         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5291         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5292
5293         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5294
5295         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5296
5297 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5298
5299         * factory.C (createInset): use LyXTextClass::floats
5300
5301         * MenuBackend.C (expandFloatListInsert):
5302         (expandFloatInsert):
5303         (expandToc):
5304
5305         * text2.C (setCounter):
5306
5307         * LaTeXFeatures.C (useFloat):
5308         (getFloatDefinitions):
5309
5310         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5311
5312         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5313         floatlist_, with accessor floats().
5314
5315         * FloatList.h: remove global FloatList
5316
5317 2002-08-26  André Pönitz <poenitz@gmx.net>
5318
5319         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5320
5321         * BufferView.h:
5322         * BufferView2.C:
5323         * BufferView_pimpl.C:
5324         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5325
5326 2002-08-25  John Levon  <levon@movementarian.org>
5327
5328         * LyXAction.C: fix margin note description
5329
5330 2002-08-24  John Levon  <levon@movementarian.org>
5331
5332         * buffer.C:
5333         * bufferlist.C:
5334         * bufferview_funcs.C:
5335         * lyxfont.C:
5336         * undo_funcs.C: cleanups
5337
5338         * lyxfunc.C: disable CUT/COPY when no selection
5339
5340 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5341
5342         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5343         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5344
5345         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5346         Add backward compatibility to "mono", "gray" and "no".
5347
5348 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5349
5350         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5351         (and file_format >= 200).
5352
5353 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5354
5355         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5356
5357 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5358
5359         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5360
5361 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5362
5363         * BufferView_pimpl.C:
5364         * LyXAction.C:
5365         * buffer.C:
5366         * commandtags.h:
5367         * lyxfunc.C:
5368         * paragraph.[Ch]:
5369         * text2.C:
5370         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5371         inset and code to make it  work with the paragraph code. The inset
5372         can be anywhere in the paragraph, but will only do the expected
5373         thing in LaTeX if the layout file contains the parameter line
5374                         OptionalArgs    1
5375         (or more generally, a nonzero value) for that layout.
5376
5377 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5378
5379         * paragraph.h: remove the declaration of undefined counters class
5380         function.
5381
5382 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5383
5384         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5385         Dr. Richard Hawkins.
5386
5387 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5388
5389         * paragraph_funcs.h: remove some unneeded includes
5390
5391         * text.C (backspace): pasteParagraph now in global scipe
5392
5393         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5394         (pasteSelection): ditto
5395
5396         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5397         * paragraph_funcs.C (pasteParagraph): ... here
5398
5399 2002-08-20  André Pönitz <poenitz@gmx.net>
5400
5401         * commandtags.h: new LFUNs for swapping/copying table row/colums
5402
5403         * LyXAction.C:
5404         * lyxfunc.C: support for new lfuns
5405
5406 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5407
5408         * tabular.C:
5409         * buffer.[Ch]: remove NO_COMPABILITY stuff
5410
5411 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * boost.C (throw_exception): new file, with helper function for
5414         boost compiled without exceptions.
5415
5416         * paragraph.h:
5417         * lyxlength.C:
5418         * buffer.C:
5419         * ParameterStruct.h:
5420         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5421
5422         * bufferlist.C (emergencyWriteAll): use boost bind
5423
5424         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5425
5426         * text.C: include paragraph_funcs.h
5427         (breakParagraph): breakParagraph is now in global scope
5428
5429         * paragraph_funcs.[Ch]: new files
5430
5431         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5432         global scope
5433
5434         * buffer.C: include paragraph_funcs.h
5435         (insertStringAsLines): breakParagraph is now in global scope
5436
5437         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5438         paragraph_funcs.C
5439
5440         * CutAndPaste.C: include paragraph_funcs.h
5441         (cutSelection): breakParagraphConservative is now in global scope
5442         (pasteSelection): ditto
5443
5444         * buffer.h: declare oprator== and operator!= for
5445         Buffer::inset_iterator
5446
5447         * bufferlist.C (emergencyWrite): don't use fmt(...)
5448
5449         * text3.C: add using std::endl
5450
5451         * BufferView.C (moveCursorUpdate): remove default arg
5452
5453 2002-08-20  André Pönitz <poenitz@gmx.net>
5454
5455         * buffer.[Ch]: move inline functions to .C
5456
5457         * BufferView2.C:
5458         * BufferView_pimpl.C:
5459         * text.C:
5460         * buffer.[Ch]: use improved inset_iterator
5461
5462         * buffer.C:
5463         * paragraph.[Ch]: write one paragraph at a time
5464
5465 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5466
5467         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5468         style if style is not specified.
5469
5470 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5471
5472         * text2.C (setCounter): when searching for right label for a
5473         caption, make sure to recurse to parent insets (so that a caption
5474         in a minipage in a figure float works) (bug #568)
5475
5476 2002-08-20  André Pönitz <poenitz@gmx.net>
5477
5478         * text3.C: new file for LyXText::dispatch() and helpers
5479
5480         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5481
5482         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5483
5484 2002-08-19  André Pönitz <poenitz@gmx.net>
5485
5486         * lyxtext.h:
5487         * text.C: new LyXText::dispatch()
5488
5489         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5490
5491 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5492
5493         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5494
5495         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5496         Hebrew text.
5497
5498 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5499
5500         * Makefile.am: use $(variables) instead of @substitutions@
5501
5502 2002-08-15  André Pönitz <poenitz@gmx.net>
5503
5504         * lyxfunc.C:
5505         * BufferView_pimpl.C: streamlining mathed <-> outer world
5506         interaction
5507
5508         * commandtags.h:
5509         * LyXAction.C: remove unused LFUN_MATH
5510
5511 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5514
5515 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5516
5517         * paragraph.C (Paragraph): reformat a bit
5518         (cutIntoMinibuffer): use builtin InsetList function instad of
5519         doing it manually.
5520         (getInset): ditto
5521
5522         * buffer.C: include boost/bind.hpp, add using std::for_each
5523         (writeFileAscii): use ParagraphList iterators
5524         (validate): use for_each for validate traversal of paragraphs
5525         (getBibkeyList): use ParagraphList iterators
5526         (resizeInsets): use for_each to resizeInsetsLyXText for all
5527         paragraphs.
5528         (getParFromID): use ParagraphList iterators
5529
5530         * BufferView2.C (lockInset): use paragraph list and iterators
5531
5532 2002-08-14  John Levon  <levon@movementarian.org>
5533
5534         * lyxserver.C: remove spurious xforms include
5535
5536 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5537
5538         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5539
5540 2002-08-13  André Pönitz <poenitz@gmx.net>
5541
5542         * LyXAction.[Ch]:
5543         * lyxfunc.C: further cleaning
5544
5545 2002-08-13  André Pönitz <poenitz@gmx.net>
5546
5547         * funcrequest.h: new constructor
5548
5549         * funcrequest.C: move stuff here from .h
5550
5551         * Makefile.am:
5552         * BufferView_pimpl.C:
5553         * LyXAction.C:
5554         * toc.C:
5555         * lyxfunc.C: subsequent changes
5556
5557         * lyxfunc.h: new view() member function
5558
5559         * lyxfunc.C: subsequent changes
5560
5561 2002-08-13  Angus Leeming  <leeming@lyx.org>
5562
5563         * BufferView2.C:
5564         * BufferView_pimpl.C:
5565         * buffer.C:
5566         * converter.C:
5567         * importer.C:
5568         * lyxfunc.C:
5569         * lyxvc.C:
5570         * toc.C:
5571         * vc-backend.C:
5572         changes due to the changed LyXView interface that now returns references
5573         to member variables not pointers.
5574
5575 2002-08-13  Angus Leeming  <leeming@lyx.org>
5576
5577         * WordLangTuple (word, lang_code): return references to strings,
5578         not strings.
5579
5580         * BufferView.h:
5581         * SpellBase.h:
5582         * lyxtext.h: forward-declare WordLangTuple.
5583
5584         * BufferView2.C:
5585         * ispell.C:
5586         * pspell.C:
5587         * text.C: #include "WordLangTuple.h".
5588
5589         * lyxtext.h:
5590         * text.C: (selectNextWordToSpellcheck): constify return type.
5591
5592 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5593
5594         * buffer.C:
5595         * buffer.h:
5596         * lyxtext.h:
5597         * paragraph.C:
5598         * paragraph_pimpl.h:
5599         * text.C:
5600         * text2.C:
5601         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5602         suggested by Angus.
5603         Made updateCounter always count from start of buffer, and removed
5604         second argument (par).
5605         Reverted floats number display to '#'. Perhaps I'll try again when the
5606         code base is sanitized a bit.
5607
5608 2002-08-12  Angus Leeming  <leeming@lyx.org>
5609
5610         * buffer.[Ch] (getLabelList): constify.
5611
5612 2002-08-07  André Pönitz <poenitz@gmx.net>
5613
5614         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5615
5616         * funcrequest.h: extension to keep mouse (x,y) position
5617
5618 2002-08-12  Juergen Vigna  <jug@sad.it>
5619
5620         * BufferView2.C (insertErrors): forbid undo when inserting error
5621         insets.
5622
5623         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5624
5625 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5626
5627         * ParagraphList.[Ch]: new files
5628
5629         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5630
5631         * BufferView2.C (lockInset): ParagraphList changes
5632         * toc.C: ditto
5633         * text2.C: ditto
5634         * bufferlist.C: ditto
5635         * buffer.h: ditto
5636         * buffer.C: ditto
5637
5638 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5639
5640         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5641         unused class variable counter_,
5642
5643         * paragraph.[Ch] (getFirstCounter): delete unused function
5644
5645         * counters.C: include LAssert.h
5646         (reset): add a new function with no arg, change other version to
5647         not have def. arg and to not allow empty arg.
5648
5649         * text2.C (setCounter): remove empty arg from call to Counters::reset
5650
5651 2002-08-11  John Levon  <levon@movementarian.org>
5652
5653         * Makefile.am: add WordLangTuple.h
5654
5655 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5656
5657         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5658         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5659
5660         * insets/insettext.C: InsetList changes
5661
5662         * graphics/GraphicsSupport.C (operator()): InsetList changes
5663
5664         * toc.C (getTocList): InsetList changes
5665
5666         * paragraph_pimpl.[Ch]: InsetList changes
5667
5668         * paragraph.[Ch]: InsetList changes
5669
5670         * buffer.C (inset_iterator): InsetList changes
5671         (setParagraph): ditto
5672         * buffer.h (inset_iterator): ditto
5673         * iterators.C (operator++): ditto
5674         * iterators.h: ditto
5675
5676         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5677
5678         * InsetList.[Ch]: new files, most InsetList handling moved out of
5679         paragraph.C.
5680
5681         * BufferView2.C (removeAutoInsets): InsetList changes
5682         (lockInset): ditto
5683         (ChangeInsets): ditto
5684
5685 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5686
5687         * paragraph_pimpl.h (empty): new function
5688
5689         * paragraph.[Ch] (empty): new function
5690
5691         * other files: use the new Paragraph::empty function
5692
5693 2002-08-09  John Levon  <levon@movementarian.org>
5694
5695         * lyxtext.h: remove unused refresh_height
5696
5697 2002-08-09  John Levon  <levon@movementarian.org>
5698
5699         * Makefile.am:
5700         * sgml.h:
5701         * sgml.C:
5702         * buffer.C:
5703         * paragraph.h:
5704         * paragraph.C: move sgml char escaping out of paragraph
5705
5706         * paragraph.h:
5707         * paragraph.C: remove id setter
5708
5709         * buffer.C:
5710         * paragraph.C:
5711         * paragraph_pimpl.C: remove dead tex_code_break_column
5712
5713         * bufferview_funcs.C: small cleanup
5714
5715         * lyxfunc.C: remove dead proto
5716
5717         * lyxtext.h: make some stuff private. Remove some dead stuff.
5718
5719         * lyxgluelength.C: make as[LyX]String() readable
5720
5721 2002-08-08  John Levon  <levon@movementarian.org>
5722
5723         * LyXAction.h:
5724         * LyXAction.C:
5725         * MenuBackend.C:
5726         * ToolbarDefaults.C:
5727         * lyxfunc.C:
5728         * lyxrc.C:
5729         * toc.C: lyxaction cleanup
5730
5731 2002-08-08  John Levon  <levon@movementarian.org>
5732
5733         * BufferView2.C: small cleanup
5734
5735         * lyxfind.h:
5736         * lyxfind.C: move unnecessary header into the .C
5737
5738 2002-08-08  John Levon  <levon@movementarian.org>
5739
5740         * funcrequest.h: just tedious nonsense
5741
5742         * lyx_main.h:
5743         * lyx_main.C: cleanups
5744
5745         * buffer.C:
5746         * vspace.C: remove dead header lyx_main.h
5747
5748 2002-08-07  Angus Leeming  <leeming@lyx.org>
5749
5750         * Paragraph.[Ch]:
5751         * paragraph_pimpl.h:
5752         Forward declare class Counters in paragraph.h by moving the ctrs member
5753         variable into Paragraph::Pimpl.
5754         (counters): new method, returning a reference to pimpl_->ctrs.
5755
5756         * text2.C: ensuing changes.
5757
5758 2002-08-07  John Levon  <levon@movementarian.org>
5759
5760         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5761
5762         * BufferView_pimpl.C: announce X selection on double/triple
5763           click
5764
5765         * lyx_main.C: use correct bool in batch dispatch
5766
5767         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5768
5769 2002-08-07  André Pönitz <poenitz@gmx.net>
5770
5771         * funcrequest.h: new class to wrap a kb_action and its argument
5772
5773         * BufferView.[Ch]:
5774         * BufferView_pimpl[Ch]:
5775         * LaTeX.C:
5776         * LyXAction.[Ch]:
5777         * lyxfunc.[Ch]:
5778         * lyxrc.C: subsequent changes
5779
5780
5781 2002-08-07  John Levon  <levon@movementarian.org>
5782
5783         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5784           document options change.
5785
5786 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5787
5788         * counters.[Ch]
5789         * text2.C
5790         * paragraph.[Ch]
5791         * makefile.am: move counters functionality over from
5792         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5793
5794 2002-08-06  John Levon  <levon@movementarian.org>
5795
5796         * WordLangTuple.h: new file for word + language code tuple
5797
5798         * SpellBase.h:
5799         * pspell.h:
5800         * pspell.C:
5801         * ispell.h:
5802         * ispell.C:
5803         * lyxtext.h:
5804         * text.C:
5805         * text2.C:
5806         * BufferView.h:
5807         * BufferView2.C: use WordLangTuple
5808
5809         * layout.h:
5810         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5811
5812 2002-08-06  John Levon  <levon@movementarian.org>
5813
5814         * lyx_main.C: fix cmdline batch handling
5815
5816 2002-08-06  André Pönitz <poenitz@gmx.net>
5817
5818         * lyxrc.C: set default for show_banner to true
5819
5820 2002-08-06  John Levon  <levon@movementarian.org>
5821
5822         * pspell.C: fix a crash, and allow new aspell to work
5823
5824 2002-08-06  John Levon  <levon@movementarian.org>
5825
5826         * lyxfunc.C:
5827         * kbmap.C: small cleanup
5828
5829         * vspace.h:
5830         * vspace.C: add const
5831
5832 2002-08-05  John Levon  <levon@movementarian.org>
5833
5834         * LyXAction.C: back to tabular-insert
5835
5836 2002-08-04  John Levon  <levon@movementarian.org>
5837
5838         * BufferView.h:
5839         * BufferView.C: cosmetic change
5840
5841         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5842
5843         * bufferlist.C:
5844         * buffer.h:
5845         * buffer.C:
5846         * lyxcb.h:
5847         * lyxcb.C:
5848         * lyxserver.C:
5849         * lyxvc.C:
5850         * vc-backend.C:
5851         * BufferView2.C: purge all "Lyx" not "LyX" strings
5852
5853         * lyxcursor.h:
5854         * lyxcursor.C: attempt to add some documentation
5855
5856         * lyxfunc.C:
5857         * commandtags.h:
5858         * LyXAction.C:
5859         * ToolbarDefaults.C:
5860         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5861           merge with LFUN_TABULAR_INSERT
5862
5863         * Makefile.am:
5864         * SpellBase.h:
5865         * ispell.h:
5866         * ispell.C:
5867         * pspell.h:
5868         * pspell.C: split up i/pspell implementations into separate
5869           files, many cleanups
5870
5871         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5872
5873         * text2.C: some cleanup
5874
5875         * lyxfunc.C: don't check for isp_command == "none" any more, it
5876           didn't make any sense
5877
5878 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5879
5880         * counters.[Ch]
5881         * text2.C
5882         * paragraph.[Ch]
5883         * makefile.am: move counters functionality over
5884         from text2.C/paragraph.[Ch] to counters.[Ch], and
5885         make proper C++.
5886 2002-08-02  John Levon  <levon@movementarian.org>
5887
5888         * buffer.C: s/lyxconvert/lyx2lyx/
5889
5890 2002-08-02  Angus Leeming  <leeming@lyx.org>
5891
5892         * lyxlex.C: revert John's change as it breaks reading of the user
5893         preamble.
5894
5895 2002-08-02  Angus Leeming  <leeming@lyx.org>
5896
5897         * importer.C (Import):
5898         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5899         changes due to LyXView::view() now returning a boost::shared_ptr.
5900
5901 2002-08-02  John Levon  <levon@movementarian.org>
5902
5903         * lyxlex.C: small cleanup
5904
5905 2002-08-02  John Levon  <levon@movementarian.org>
5906
5907         * text2.C (status): small cleanup, no logic change
5908
5909 2002-08-01  John Levon  <levon@movementarian.org>
5910
5911         * buffer.h:
5912         * buffer.C (writeFile): don't output alerts, caller
5913           handles this
5914
5915         * bufferlist.C:
5916         * lyx_cb.C: from above
5917
5918         * lyxfunc.C: allow to open non-existent files
5919
5920 2002-07-31  John Levon  <levon@movementarian.org>
5921
5922         * lyxserver.C: don't let incidental errors get
5923           in the way (errno)
5924
5925 2002-07-30  John Levon  <levon@movementarian.org>
5926
5927         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5928
5929 2002-07-30  John Levon  <levon@movementarian.org>
5930
5931         * lyxserver.h:
5932         * lyxserver.C: remove I/O callback too
5933
5934 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5935
5936         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5937         log.
5938
5939 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5940
5941         * many files: strip,frontStrip -> trim,ltrim,rtrim
5942
5943 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5944
5945         * PrinterParams.h: remove extern containsOnly, and include
5946         support/lstrings.h instead.
5947
5948         * LaTeX.C (scanAuxFile): modify because of strip changes
5949         (deplog): ditto
5950         * buffer.C (makeLaTeXFile): ditto
5951         * bufferparams.C (writeFile): ditt
5952         * lyxfont.C (stateText): ditto
5953         * lyxserver.C (read_ready): ditto
5954         * vc-backend.C (scanMaster): ditto
5955
5956         * BufferView_pimpl.h: ws changes
5957
5958         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5959
5960 2002-07-26  André Pönitz <poenitz@gmx.net>
5961
5962         * kb_sequence.C: remove unnedred usings
5963
5964 2002-07-26  Juergen Vigna  <jug@sad.it>
5965
5966         * lyxfind.C (LyXReplace): we have to check better if the returned
5967         text is not of theLockingInset()->getLockingInset().
5968
5969 2002-07-25  Juergen Vigna  <jug@sad.it>
5970
5971         * lyxfind.C (LyXReplace): don't replace if we don't get the
5972         right LyXText.
5973
5974         * undo_funcs.C (createUndo): remove debugging code.
5975
5976 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
5977
5978         * buffer.C (parseSingleLyXformat2Token): Use default placement
5979         when reading old floats.
5980
5981         * FloatList.C (FloatList): Change the default placement of figure
5982         and tables to "tbp".
5983
5984 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
5985
5986         * MenuBackend.C: using std::max
5987
5988 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5989
5990         * MenuBackend.C (expandToc):
5991         (expandToc2): code moved from xforms menu frontend. It is now
5992         generic and TOCs are transparent to menu frontends.
5993
5994 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5995
5996         * toc.C (getTocList): protect against buf=0
5997
5998         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5999         Menu as first parameter. Now, this calls itself recursively to
6000         expand a whole tree (this will be useful for TOC handling)
6001         (expandFloatInsert): remove 'wide' version of floats
6002
6003         * MenuBackend.h (submenuname): returns the name of the submenu.
6004         (submenu): returns the submenu itself, provided it has been
6005         created by MenuBackend::expand
6006
6007 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6008
6009         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6010         insets which have noFontChange == true. (bug #172)
6011
6012 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6013
6014         * BufferView_pimpl.C: add connection objects and use them...
6015         (Pimpl): here.
6016
6017 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6018
6019         * MenuBackend.C (expandLastfiles):
6020         (expandDocuments):
6021         (expandFormats):
6022         (expandFloatListInsert):
6023         (expandFloatInsert):
6024         (expand): split expand in parts
6025
6026 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6027
6028         * lyx_gui.C: use lyx_gui::exit()
6029
6030 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6031
6032         * LyXAction.C: show the failing pseudo action
6033
6034 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6035
6036         * buffer.C (readFile): Run the lyxconvert script in order to read
6037         old files.
6038
6039 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6040
6041         * LyXAction.C:
6042         * commandtags.h:
6043         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6044
6045 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6046
6047         * LyXAction.C:
6048         * commandtags.h:
6049         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6050
6051 2002-07-22  Herbert Voss  <voss@lyx.org>
6052
6053         * lengthcommon.C:
6054         * lyxlength.[Ch]: add support for the vertical lengths
6055
6056 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6057
6058         * toc.[Ch]: std:: fixes
6059
6060 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6061
6062         * lyxrc.C: do not include lyx_main.h
6063
6064         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6065         for layouts
6066
6067         * lyxrc.C:
6068         * encoding.C:
6069         * bufferlist.C:
6070         * BufferView2.C: include "lyxlex.h"
6071
6072         * tabular.h:
6073         * bufferparams.h: do not #include "lyxlex.h"
6074
6075         * lyxtextclasslist.C (Add): remove method
6076         (classlist): renamed to classlist_
6077
6078         * paragraph_pimpl.C:
6079         * paragraph.C:
6080         * text2.C:
6081         * CutAndPaste.C:
6082         * bufferview_funcs.C:
6083         * bufferlist.C:
6084         * text.C:
6085         * LaTeXFeatures.C:
6086         * buffer.C:
6087         * toc.C (getTocList): use BufferParams::getLyXTextClass
6088
6089         * toc.C (getTocList): use InsetFloat::addToToc
6090
6091         * toc.[Ch]: new files, containing helper functions to handle table
6092         of contents
6093
6094         * lyxfunc.C (dispatch): no need to remove spaces around command
6095         given as a string
6096         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6097         first command of the sequence; it is not very clever, but I do not
6098         have a better idea, actually
6099
6100         * LyXAction.C (LookupFunc): make sure to remove space at the
6101         beginning and end of the command
6102
6103 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6104
6105         * MenuBackend.C (getMenubar): new method: return the menubar of
6106         this menu set
6107         (read): treat differently reading of menu and menubar (in
6108         particular, the menubar has no name now)
6109         (Menu::menubar): remove
6110
6111         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6112         saving is finished
6113
6114 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6115
6116         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6117         a bibitem inset in a RTL paragraph.
6118
6119 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6120
6121         * paragraph_pimpl.C: constify
6122
6123         * BufferView_pimpl.C:
6124         * LaTeX.C:
6125         * lyxfunc.C: fix dispatch in a nicer way
6126
6127 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6128
6129         * lyxfunc.C (dispatch):
6130         * BufferView_pimpl.C:
6131         * BufferView_pimpl.h:
6132         * BufferView.C:
6133         * BufferView.h: rename Dispatch() to dispatch()
6134
6135         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6136
6137         * lyxlayout.C (Read): honor DependsOn tag
6138
6139         * lyxlayout.[Ch] (depends_on): new method
6140
6141         * version.C.in: update lyx_docversion
6142
6143         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6144
6145         * paragraph.C (validate): remove from here...
6146         * paragraph_pimpl.C (validate): ... and move here
6147         (isTextAt): make it const
6148
6149         * buffer.C (getLists): ws cleanup
6150
6151 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6152
6153         * language.C (read): Use iso8859-1 encoding in latex_lang
6154         (this prevents LyX from crashing when using iso10646-1 encoding).
6155
6156 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6157
6158         * text2.C (toggleInset): if cursor is inside an inset, close the
6159         inset and leave cursor _after_ it
6160
6161 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6162
6163         * lyxfunc.C: move minibuffer completion handling out of here
6164
6165 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6166
6167         * BufferView_pimpl.C:
6168         * LaTeX.C: fix dispatch calls
6169
6170 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6171
6172         * text.C (drawChars): Fix Arabic text rendering.
6173
6174 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6175
6176         * LyXAction.C:
6177         * commandtags.h:
6178         * lyxfunc.C: remove message-push/pop
6179
6180         * lyxserver.C:
6181         * lyxfunc.h:
6182         * lyxfunc.C: rationalise some code by removing verboseDispatch
6183           in favour of a bool argument to dispatch()
6184
6185 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6186
6187         * lyx_main.C (init): make sure to read symlinks as absolute paths
6188
6189 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6190
6191         * lyxfunc.h:
6192         * lyxfunc.C: no need for commandshortcut to be a member
6193
6194 2002-07-15  André Pönitz <poenitz@gmx.net>
6195
6196         * converter.C: add support for $$s (scripts from lib/scripts dir)
6197         * lyx_main.C: white space
6198
6199 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6200
6201         * bufferlist.C:
6202         * lyxrc.h:
6203         * lyxrc.C: remove second exit confirmation
6204
6205 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6206
6207         * BufferView.h:
6208         * BufferView.C:
6209         * BufferView2.C:
6210         * BufferView_pimpl.h:
6211         * BufferView_pimpl.C:
6212         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6213
6214 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6215
6216         * MenuBackend.C (expand): add numeric shortcuts to document menu
6217
6218         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6219
6220 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6221
6222         * lyxfont.C (setLyXFamily):
6223         (setLyXSeries):
6224         (setLyXShape):
6225         (setLyXSize):
6226         (setLyXMisc):
6227         (lyxRead):
6228         * debug.C (value):
6229         * buffer.C (asciiParagraph): use ascii_lowercase
6230
6231 2002-07-15  Mike Fabian  <mfabian@suse.de>
6232
6233         * lyxlex_pimpl.C (search_kw):
6234         * lyxlex.C (getLongString):
6235         * converter.h (operator<):
6236         * converter.C (operator<):
6237         * buffer.C (parseSingleLyXformat2Token):
6238         (asciiParagraph):
6239         * ToolbarDefaults.C (read):
6240         * MenuBackend.C (checkShortcuts):
6241         (read):
6242         * LColor.C (getFromGUIName):
6243         (getFromLyXName): use the compare_ascii_no_case instead of
6244         compare_no_case, because in turkish, 'i' is not the lowercase
6245         version of 'I', and thus turkish locale breaks parsing of tags.
6246
6247 2002-07-16  Angus Leeming  <leeming@lyx.org>
6248
6249         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6250         now takes a Buffer const & argument.
6251
6252 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6253
6254         * BufferView.C (resize): check there's a buffer to resize
6255
6256 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6257
6258         * lyxfunc.C: remove dead code
6259
6260         * lyxserver.h:
6261         * lyxserver.C: use lyx_guii::set_read_callback
6262
6263 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6264
6265         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6266         an inset in a RTL paragraph.
6267
6268 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6269
6270         * lyxfunc.C: repaint after a font size update
6271
6272 2002-07-15  André Pönitz <poenitz@gmx.net>
6273
6274         * lyxlength.C: inBP should be able to return negative values
6275
6276 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6277
6278         * lyxfunc.C: use lyx_gui::update_fonts()
6279
6280 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6281
6282         * lyxfunc.C: use lyx_gui::update_color()
6283
6284 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6285
6286         * bufferlist.C:
6287         * lyxfunc.h:
6288         * lyxfunc.C:
6289         * lyxrc.h:
6290         * lyxrc.C: remove file->new asks for name option, and let
6291           buffer-new take an argument
6292
6293 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6294
6295         * BufferView_pimpl.C: remove unneeded extra repaint()
6296
6297 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6298
6299         * LyXAction.C: allow command-sequence with NoBuffer
6300
6301         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6302
6303 2002-07-10  Angus Leeming  <leeming@lyx.org>
6304
6305         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6306
6307 2002-07-09  Angus Leeming  <leeming@lyx.org>
6308
6309         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6310
6311 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6312
6313         * lengthcommon.h: whitespace
6314
6315         * lyxfunc.C: update scrollbar after goto paragraph
6316
6317         * lyxtext.h: factor out page break drawing, and fix it so
6318           page break/added space paints as selected nicely
6319
6320 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6321
6322         * BufferView_pimpl.C: add FIXMEs, clean up a little
6323
6324 2002-07-09  André Pönitz <poenitz@gmx.net>
6325
6326         * lyxfont.[Ch]: support for wasy symbols
6327
6328 2002-07-08  André Pönitz <poenitz@gmx.net>
6329
6330         * BufferView_pimpl.C: apply John's patch for #93.
6331
6332 2002-07-05  Angus Leeming  <leeming@lyx.org>
6333
6334         * BufferView_pimpl.C (buffer): generate previews if desired.
6335
6336         * LColor.h: add "preview" to the color enum.
6337
6338         * LColor.C (LColor): add a corresponding entry to the items array.
6339
6340         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6341         with this buffer.
6342
6343 2002-07-05  Angus Leeming  <leeming@lyx.org>
6344
6345         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6346         The body of the code is now in the method that is passed an ostream &
6347         rather than a file name.
6348         Pass an additional only_preamble parameter, useful for the forthcoming
6349         preview stuff.
6350
6351 2002-07-03  André Pönitz <poenitz@gmx.net>
6352
6353         * lyxfunc.C: simplify getStatus() a bit for math stuff
6354
6355 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6356
6357         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6358
6359 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6360
6361         * text.C (changeRegionCase): do not change case of all the
6362         document when region ends at paragraph end (bug #461)
6363
6364 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6365
6366         * paragraph.C (startTeXParParams):
6367         (endTeXParParams): add \protect when necessary
6368
6369 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6370
6371         * BufferView_pimpl.C (workAreaExpose): remove warning
6372
6373 2002-06-27  Angus Leeming  <leeming@lyx.org>
6374
6375         * Makefile.am: add lyxlayout_ptr_fwd.h.
6376
6377 2002-06-26  André Pönitz <poenitz@gmx.net>
6378
6379         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6380
6381 2002-06-25  Angus Leeming  <leeming@lyx.org>
6382
6383         * lyxfunc.C (dispatch): Comment out the call to
6384         grfx::GCache::changeDisplay. The method no longer exists now that the
6385         pixmap generation part of the graphics loader has been moved into
6386         InsetGraphics.
6387
6388 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6389
6390         * text2.C: layout as layout
6391
6392         * text.C: layout as layout
6393
6394         * tabular.C (OldFormatRead): layout as layout
6395
6396         * paragraph_pimpl.C (TeXDeeper): layout as layout
6397         (realizeFont): layout as layout
6398
6399         * paragraph.C (writeFile): layout as layout
6400         (validate): layout as layout
6401         (getFont): layout as layout
6402         (getLabelFont): layout as layout
6403         (getLayoutFont): layout as layout
6404         (breakParagraph): layout as layout
6405         (stripLeadingSpaces): layout as layout
6406         (getEndLabel): layout as layout
6407         (getMaxDepthAfter): layout as layout
6408         (applyLayout): layout as layout
6409         (TeXOnePar): layout as layout
6410         (simpleTeXOnePar): layout as layout
6411         (TeXEnvironment): layout as layout
6412         (layout): layout as layout
6413         (layout): layout as layout
6414
6415         * lyxtextclass.C (compare_name): new functor to work with
6416         shared_ptr, layout as layout
6417         (Read): layout as layout
6418         (hasLayout): layout as layout
6419         (operator): layout as layout
6420         (delete_layout): layout as layout
6421         (defaultLayout): layout as layout
6422
6423         * lyxlayout_ptr_fwd.h: new file
6424
6425         * lyxlayout.C (Read): layout as layout
6426
6427         * lyx_cb.C (MenuInsertLabel): layout as layout
6428
6429         * bufferlist.C (newFile): layout as layout
6430
6431         * buffer.C (readLyXformat2): layout as layout
6432         (parseSingleLyXformat2Token): layout as layout
6433         (insertStringAsLines): layout as layout
6434         (asciiParagraph): layout as layout
6435         (latexParagraphs): layout as layout
6436         (makeLinuxDocFile): layout as layout
6437         (simpleLinuxDocOnePar): layout as layout
6438         (makeDocBookFile): layout as layout
6439         (simpleDocBookOnePar): layout as layout
6440         (getLists): layout as layout
6441
6442         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6443
6444         * CutAndPaste.C (cutSelection): layout as layout
6445         (pasteSelection): layout as layout
6446         (SwitchLayoutsBetweenClasses): layout as layout
6447
6448         * BufferView_pimpl.C (Dispatch): layout as layout
6449         (smartQuote): layout as layout
6450
6451         * BufferView2.C (unlockInset): layout as layout
6452
6453 2002-06-24  André Pönitz <poenitz@gmx.net>
6454
6455         * lyxfunc.C: fix #487
6456
6457 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6458
6459         * lyxrc.h:
6460         * lyxrc.C:
6461         * lyxfunc.C: remove display_shortcuts, show_banner
6462
6463 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6464
6465         * Buffer_pimpl.C: oops, update on resize
6466
6467 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6468
6469         * buffer.C:
6470         * converter.C:
6471         * exporter.C:
6472         * lyxfunc.C:
6473         * BufferView.h:
6474         * BufferView.C: use repaint()
6475
6476         * BufferView_pimpl.h:
6477         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6478           as it's a clearer description. Remove superfluous
6479           redraws.
6480
6481 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6482
6483         * text.C: fix bug 488. Not ideal, but getting
6484           getWord() to work properly for the insets that
6485           matter is more difficult ...
6486
6487 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6488
6489         * BufferView_pimpl.C:
6490         * LyXAction.C:
6491         * commandtags.h:
6492         * lyxfunc.C: remove the six million index lyxfuncs to just
6493           one, and DTRT (bug 458)
6494
6495 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6496
6497         * BufferView.h:
6498         * BufferView.C:
6499         * BufferView_pimpl.h:
6500         * BufferView_pimpl.C: clean up resize() stuff,
6501           and unnecessary updateScreen()s
6502
6503 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6504
6505         * BufferView.h:
6506         * BufferView.C:
6507         * BufferView_pimpl.h:
6508         * BufferView_pimpl.C:
6509         * lyxfind.h:
6510         * lyxfind.C:
6511         * minibuffer.C: remove focus management of workarea,
6512           not needed. Use screen's greyOut()
6513
6514 2002-06-17  Herbert Voss  <voss@lyx.org>
6515
6516         * converter.C: (convert) do not post a message, when converting
6517         fails, let the calling function decide what to do in this case
6518
6519 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6520
6521         * lyxfunc.C: tidy up a little
6522
6523 2002-06-16    <alstrup@diku.dk>
6524
6525         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6526         Got rid of FORMS_H_LOCATION include. Now we are
6527         GUII.
6528
6529 2002-06-15  LyX Development team  <lyx@rilke>
6530
6531         * buffer.[Ch] (sgmlOpenTag):
6532         (sgmlCloseTag): Added support for avoiding pernicious mixed
6533         content. Return number of lines written.
6534
6535         (makeLinuxDocFile):
6536         (makeDocBookFile): Fixed calls to sgml*Tag.
6537         Simple white space clean.
6538
6539         (simpleDocBookOnePar): Simple white space clean.
6540
6541         * tabular.[Ch] (docBook): Renamed to docbook and got another
6542         argument to related with the pernicious mixed content.
6543
6544         (docbookRow): Fixed calls for docbook inset method.
6545
6546 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6547
6548         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6549         so it's X11 independent.
6550
6551         * kb*.[Ch]: ditto.
6552
6553         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6554
6555 2002-06-15  Lyx Development team  <lyx@electronia>
6556
6557         * intl.h: Renamed getTrans to getTransManager.
6558
6559 2002-06-14  Angus Leeming  <leeming@lyx.org>
6560
6561         * Makefile.am: nuke forgotten stl_string_fwd.h.
6562
6563 2002-06-12  Angus Leeming  <leeming@lyx.org>
6564
6565         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6566
6567 2002-06-13  Angus Leeming  <leeming@lyx.org>
6568
6569         * LaTeX.C:
6570         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6571
6572 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6573
6574         * kbmap.C (getiso): add support for cyrillic and greek
6575
6576 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6577
6578         * BufferView.h:
6579         * BufferView.C:
6580         * BufferView_pimpl.h:
6581         * BufferView_pimpl.C: move bogus scrolling logic
6582           to xforms
6583
6584 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6585
6586         * lyxfunc.C:
6587         * BufferView_pimpl.C: view->resize() change
6588
6589 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6590
6591         * BufferView_pimpl.C: topCursorVisible
6592           prototype change
6593
6594 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6595
6596         * Makefile.am:
6597         * lyx_gui.h:
6598         * lyx_gui.C: move to frontends/
6599
6600         * main.C:
6601         * lyx_main.h:
6602         * lyx_main.C: changes from above
6603
6604 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6605
6606         * intl.C:
6607         * intl.h:
6608         * kbmap.C:
6609         * kbsequence.C:
6610         * lyx_cb.C:
6611         * lyx_main.C: minor tidy
6612
6613 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6614
6615         * BufferView_pimpl.h:
6616         * BufferView_pimpl.C:
6617         * BufferView.h:
6618         * BufferView.C: make painter() const,
6619           remove dead code
6620
6621         * BufferView2.C: use screen() accessor
6622
6623         * lyx_main.h:
6624         * lyx_main.C: some minor cleanup
6625
6626 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6627
6628         * BufferView_pimpl.h:
6629         * BufferView_pimpl.C: remove enter/leaveView,
6630           use workHeight()
6631
6632 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6633
6634         * BufferView.h:
6635         * BufferView.C:
6636         * BufferView2.C:
6637         * BufferView_pimpl.h:
6638         * BufferView_pimpl.C: only construct screen once,
6639           rename
6640
6641         * lyxrc.C: remove pointless comment
6642
6643 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6644
6645         * BufferView.h:
6646         * BufferView.C: remove active() and belowMouse()
6647
6648         * BufferView_pimpl.h:
6649         * BufferView_pimpl.C: use workarea() not workarea_,
6650           and make it use a scoped_ptr instead
6651
6652 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6653
6654         * lyx_gui.C: add debug message on BadWindow
6655
6656 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6657
6658         * sp_spell.C: fdopen is not part of the C++ standard.
6659
6660         * paragraph.C (InsetIterator): use >= instead of ==
6661
6662 2002-06-07  Angus Leeming  <leeming@lyx.org>
6663
6664         Fixes needed to compile with Compaq cxx 6.5.
6665         * BufferView_pimpl.C:
6666         * DepTable.C:
6667         * buffer.C:
6668         * converter.C:
6669         * encoding.C:
6670         * lyx_gui.C:
6671         * lyx_main.C:
6672         * lyxtextclasslist.C:
6673         * minibuffer.C:
6674         * sp_spell.C:
6675         * tabular_funcs.C:
6676         * vc-backend.C:
6677         all c-library variables have been moved into namespace std. Wrap
6678         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6679
6680         * lyxlength.C:
6681         * tabular-old.C:
6682         * tabular.C:
6683         Add a using std::abs declaration.
6684
6685         * kbmap.h (modifier_pair):
6686         * paragraph.h (InsetTable, InsetList):
6687         * lyxfont.h (FontBits):
6688         type definition made public.
6689
6690         * bufferlist.C (emergencyWriteAll): the compiler complains that
6691         there is more than one possible lyx::class_fun template to choose from.
6692         I re-named the void specialisation as lyx::void_class_fun.
6693
6694         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6695
6696         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6697         the compiler is is unable to find tostr in write_attribute.
6698
6699 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6700
6701         * buffer.C (sgmlError): hide #warning
6702
6703 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6704
6705         * xtl/*: get rid of xtl, which is not in use anyway
6706
6707         * LyXAction.C (init):
6708         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6709         were unimplemented xtl experimentation
6710
6711 2002-06-04  André Pönitz <poenitz@gmx.net>
6712
6713         * lyxfunc.C: disable array operation on simple formulae
6714
6715 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6716
6717         * converter.C: constify a bit
6718
6719 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6720
6721         * lyx_gui.C: check xforms version correctly
6722
6723 2002-04-30  Herbert Voss  <voss@lyx.org>
6724
6725         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6726         "keep" option
6727
6728 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6729
6730         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6731           attempt to register it with a VCS)
6732
6733 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6734
6735         * lyx_main.C (init): honor variables LYX_DIR_13x and
6736         LYX_USERDIR_13x
6737
6738 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6739
6740         * buffer.h:
6741         * buffer.C:
6742         * lyx_main.C: fix a crash on bad command line,
6743           and give a useful exit status on error
6744
6745         * lyxfunc.C (doImport): allow -i lyx to work
6746
6747 2002-03-30  André Pönitz <poenitz@gmx.net>
6748
6749         * lyxfunc.C: mathed font changes
6750
6751 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6752
6753         * LaTeX.C:
6754         * importer.h:
6755         * importer.C:
6756         * lyx_sty.h:
6757         * lyx_sty.C:
6758         * lyxlex.C:
6759         * lyxrow.h:
6760         * lyxtext.h:
6761         * paragraph.h:
6762         * paragraph.C:
6763         * texrow.h:
6764         * texrow.C:
6765         * text.C:
6766         * trans_mgr.h: srcdocs, and some minor cleanups
6767
6768 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6769
6770         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6771         call getFont all the time)
6772
6773 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6774
6775         * switch from SigC signals to boost::signals
6776
6777 2002-05-29  André Pönitz <poenitz@gmx.net>
6778
6779         * paragraph_pimpl.C (getChar): don't call size() too often...
6780
6781 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6782
6783         * paragraph_pimpl.C (insertChar): do not try to update tables when
6784         appending (pos == size())
6785
6786         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6787         in order to reduce drastically the number of comparisons needed to
6788         parse a large document
6789
6790 2002-05-29  André Pönitz <poenitz@gmx.net>
6791
6792         * text.C:
6793         * text2.C:
6794         * lyxtextclass.C:
6795         * sp_pspell.h:
6796         * textclasslist.[Ch]:
6797         * sp_ispell.h: whitespace change
6798
6799 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6800
6801         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6802         lyxaction directly now.
6803
6804 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6805
6806         * trans.C:
6807         * lyxfont.C:
6808         * lyxvc.C: remove unused headers
6809
6810 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6811
6812         * Makefile.am:
6813         * buffer.h:
6814         * undostack.h:
6815         * undostack.C:
6816         * undo_funcs.h:
6817         * undo_funcs.C: some cleanups. Use shared_ptr
6818           and a template for the undo stacks.
6819
6820 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6821
6822         * BufferView_pimpl.h:
6823         * BufferView_pimpl.C:
6824         * kbmap.h:
6825         * kbmap.C:
6826         * kbsequence.h:
6827         * kbsequence.C:
6828         * lyxfunc.h:
6829         * lyxfunc.C:
6830         * text2.C: use key_state/mouse_state
6831
6832 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6833
6834         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6835         and LSubstring
6836
6837         * chset.C: change include order
6838         (loadFile): use boost regex and get rid of LRegex and LSubstring
6839
6840         * Makefile.am (BOOST_LIBS): new variable
6841         (lyx_LDADD): use it
6842
6843         * LaTeX.C: change include order.
6844         (scanAuxFile): use boost regex and get rid of LRegex and
6845         LSubstring
6846         (deplog): ditto
6847
6848 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6849
6850         * ColorHandler.h:
6851         * ColorHandler.C:
6852         * FontInfo.h:
6853         * FontInfo.C: moved to frontends/xforms/
6854
6855         * FontLoader.h:
6856         * FontLoader.C: moved into frontends for GUIIzation
6857
6858         * Makefile.am:
6859         * lyx_gui.C:
6860         * lyxfont.C:
6861         * lyxfunc.C: changes from above
6862
6863 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6864
6865         * LColor.C: remove spurious X include
6866
6867         * BufferView_pimpl.C:
6868         * Makefile.am:
6869         * font.h:
6870         * font.C:
6871         * text.C:
6872         * text2.C: move font metrics to frontends/
6873
6874 2002-05-24  Juergen Vigna  <jug@sad.it>
6875
6876         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6877         setting the undo_cursor.
6878
6879         * ParagraphParameters.h: include local includes first.
6880
6881 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6882
6883         * BufferView_pimpl.C:
6884         * BufferView_pimpl.h:
6885         * Makefile.am:
6886         * WorkArea.h:
6887         * WorkArea.C:
6888         * screen.C: move WorkArea into frontends/
6889
6890         * lyxscreen.h:
6891         * screen.C:
6892         * text.C:
6893         * BufferView.C:
6894         * BufferView2.C: move LyXScreen into frontends/
6895
6896         * lyxlookup.h:
6897         * lyxlookup.C:
6898         * lyx_gui.C: move lyxlookup into frontends/xforms/
6899
6900 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6901
6902         * BufferView2.C:
6903         * BufferView_pimpl.C:
6904         * FontLoader.C:
6905         * LyXView.h:
6906         * LyXView.C:
6907         * Makefile.am:
6908         * WorkArea.C:
6909         * XFormsView.h:
6910         * XFormsView.C:
6911         * buffer.C:
6912         * bufferlist.C:
6913         * bufferview_funcs.C:
6914         * converter.C:
6915         * importer.C:
6916         * lyx_cb.C:
6917         * lyx_gui.C:
6918         * lyx_main.C:
6919         * lyx_find.C:
6920         * lyxfunc.C:
6921         * lyxvc.C:
6922         * minibuffer.C:
6923         * text.C:
6924         * text2.C:
6925         * trans.C:
6926         * vc-backend.C: move LyX/XFormsView into frontends/
6927
6928 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6929
6930         * Makefile.am:
6931         * PainterBase.C:
6932         * PainterBase.h:
6933         * Painter.C:
6934         * Painter.h:
6935         * WorkArea.C:
6936         * WorkArea.h:
6937         * screen.C:
6938         * tabular.C:
6939         * text.C:
6940         * text2.C: move Painter to frontends/
6941
6942 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6943
6944         * buffer.C: comment out some some code that depend upon lyx_format
6945         < 220
6946
6947         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6948         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6949
6950         * buffer.h (NO_COMPABILITY): turn off compability
6951
6952         * ColorHandler.C: include scoped_array.hpp
6953
6954         * font.C: Use more specific smart_ptr header.
6955         * Painter.C: ditto
6956         * gettext.C: ditto
6957         * ShareContainer.h: ditto
6958         * lyx_main.h: ditto
6959         * kbmap.h: ditto
6960         * FontInfo.h: ditto
6961         * BufferView_pimpl.h: ditto
6962         * ColorHandler.h: ditto
6963
6964         * kbmap.C (defkey): change call to shared_ptr::reset
6965
6966 2002-05-21  Juergen Vigna  <jug@sad.it>
6967
6968         * buffer.C (insertErtContents): fix to insert ert asis if it is
6969         non empty. Skip it completely if it contains only whitespaces.
6970
6971 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6972
6973         * BufferView_pimpl.C:
6974         * BufferView2.C: clear selection on paste (bug 393)
6975
6976 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6977
6978         * DepTable.C: include ctime
6979
6980 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
6981
6982         * buffer.C (latexParagraphs): Add new argument (moving_arg).
6983
6984 2002-05-14  Juergen Vigna  <jug@sad.it>
6985
6986         * text.C (breakParagraph): fixed function to honor the keepempty
6987         layout in the right maner and also to permit the right breaking
6988         algorithm on empty or non empyt keepempty paragraphs.
6989
6990         * paragraph.C (breakParagraph): we have to check also if the par
6991         is really empty (!size()) for isempty otherwise we do the wrong
6992         paragraph break.
6993
6994 2002-05-10  Juergen Vigna  <jug@sad.it>
6995
6996         * buffer.[Ch] : The following are only changes to the ert
6997         compatibility read reading old LaTeX layout and font stuff and
6998         convert it to ERTInsets.
6999
7000         * buffer.h: added isErtInset().
7001
7002         * buffer.C (struct ErtComp): add a fromlayout bool to check
7003         if we're inside a LaTeX layout.
7004         (isErtInset): new helper function.
7005         (insertErtContents): look for other ert insets before this one
7006         and insert the contents there, so that we don't have subsequent
7007         ERT insets with nothing between them. This way we create only one
7008         inset with multiple paragraphs. Also check if we don't insert only
7009         spaces ' ' as they are ignored anyway afterwards in the .tex file
7010         so if we have only spaces we will ignore this latex part in the
7011         new file.
7012         (parseSingleLyXformat2Token \\layout): better compatibility when
7013         reading layout-latex stuff.
7014         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7015         language tag.
7016         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7017         stuff after reading the inset only get the information back from
7018         the stack.
7019
7020 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7021
7022         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7023
7024         * LaTeXFeatures.C (getBabelOptions): New method.
7025
7026 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7027
7028         * BufferView_pimpl.C (Dispatch): work around missing argument for
7029         'layout'
7030
7031 2002-05-08  Juergen Vigna  <jug@sad.it>
7032
7033         * text.C (leftMargin): handle paragraph leftindent.
7034
7035         * paragraph.C (writeFile): write the new \\leftindent tag.
7036         (validate): handle leftindent code.
7037         (TeXEnvironment): handle paragraphleftindent code again.
7038
7039         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7040
7041         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7042         for paragrap_extra indent code and new token \\leftindent.
7043         (latexParagraphs): handle the leftindent as environment.
7044
7045         * ParameterStruct.h: added leftindent support.
7046
7047         * ParagraphParameters.C (leftIndent): added support functions for
7048         the paragraph left indent.
7049
7050         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7051         more appropriate.
7052
7053 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7054
7055         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7056         inside insetERT.
7057
7058         * text.C (computeBidiTables): No bidi in insetERT.
7059
7060         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7061         in RTL documents.
7062
7063 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7064
7065         * version.C.in: pre 5
7066
7067 2002-05-02  José Matos  <jamatos@fep.up.pt>
7068         * buffer.C (makeDocBookFile): white space changes, add newline to
7069         command styles.
7070         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7071
7072         * tabular.C (docBook): fix typo.
7073
7074 2002-05-03  Juergen Vigna  <jug@sad.it>
7075
7076         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7077         change in LyXText as we can not be sure it was not freed.
7078         (drawOneRow): remove unused code.
7079
7080         * text.C (drawInset): redo the calculation of the need_break_row as
7081         it could have a row which was already freed.
7082         (draw): look at the return value of drawInset and return false if
7083         it also returned false.
7084         (paintRowText): look at the return value of draw and return false if
7085         it also returned false.
7086
7087         * lyxtext.h: added bool return type to drawInset() and draw() so that
7088         if we have a change in the row so that the rowbreak has to be redone
7089         we abort drawing as it will be called again.
7090
7091 2002-05-02  Juergen Vigna  <jug@sad.it>
7092
7093         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7094         a change in the maintext also if we're inside an inset.
7095         (Dispatch): set the cursor again after a break line and after the
7096         screen has been updated as it could be we're in a different row.
7097
7098         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7099         to set the cursor behind the pargraph with > size().
7100         (setCursor): check also for the same paragraph when checking where
7101         to put the cursor if we have a NFR inset.
7102
7103         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7104         parts of layout read further up as it still was in the wrong
7105         position.
7106
7107 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7108
7109         * screen.C (drawFromTo): change sine fullRebreak always return
7110         true.
7111
7112         * buffer.C (parseSingleLyXformat2Token): reindent some
7113
7114         * BufferView_pimpl.C (update): change since fullRebreak always
7115         return true.
7116         (Dispatch): git rid of the last hardcoded "Standard"s.
7117
7118 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7119
7120         * text2.[Ch] (fullRebreak): make it return void now that we always
7121         returned true.
7122
7123 2002-04-30  Juergen Vigna  <jug@sad.it>
7124
7125         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7126         ert compatibility check for "latex" layout.
7127
7128 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7129
7130         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7131         minipages: use col% instead of p%, and also use the current font.
7132         (makeLaTeXFile): Fix use babel condition.
7133         (parseSingleLyXformat2Token): Correct font when reading old floats.
7134
7135 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7136
7137         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7138         inserting list of floats.
7139
7140 2002-04-25  Herbert Voss  <voss@lyx.org>
7141
7142         * MenuBackend.C (expand): don't add the graphics extensions to the
7143         export menu
7144
7145 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7146
7147         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7148         non-existing layout, do not complain if it was the default layout
7149         of the original class (bug #342)
7150
7151 2002-04-24  Juergen Vigna  <jug@sad.it>
7152
7153         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7154         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7155
7156 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7157
7158         * buffer.C (getBibkeyList): If using \bibliography, return the
7159         option field with the reference itself. Enables us to provide natbib
7160         support when using \bibliography.
7161
7162 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7163
7164         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7165
7166         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7167         natbib is provided by the LaTeX class.
7168
7169 2002-04-23  Juergen Vigna  <jug@sad.it>
7170
7171         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7172         Wakeup functions.
7173
7174         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7175
7176 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7177
7178         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7179
7180         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7181         ensuremath around textordmasculine, textordfeminine and
7182         textdegree.
7183
7184 2002-04-19  Juergen Vigna  <jug@sad.it>
7185
7186         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7187         reinitializing the buffer otherwise row-dimensions may be wrong.
7188         (update): reset also the selection cursors if they do exits otherwise
7189         their x/y positions may be wrong.
7190
7191         * text2.C (cursorDown): don't enter the inset if we came from a row
7192         above and are one row over the inset.
7193
7194         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7195         really leaving an inset.
7196
7197 2002-04-18  Juergen Vigna  <jug@sad.it>
7198
7199         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7200         of the selected paragraph does not have the selected layout also if
7201         the last one had!
7202
7203         * text2.C (setLayout): fixed bug which did not change last selected
7204         paragraph.
7205
7206         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7207         changed the read and substituted \\end_float with \\end_inset!
7208
7209         * BufferView_pimpl.C (cursorPrevious):
7210         (cursorNext): fixed to make it work with rows heigher than the work
7211         area without moving the cursor only the draw of the row.
7212         (workAreaMotionNotify): fix jumping over high rows.
7213
7214 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7215
7216         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7217         Ressler.
7218
7219 2002-04-16  Juergen Vigna  <jug@sad.it>
7220
7221         * text2.C (setCursor): set also the irow().
7222         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7223         (cursorUp):
7224         (cursorDown): support for locking an inset if the x_fix value goes
7225         inside it. That way I can transverse insets too with cursor up/down.
7226
7227         * lyxrow.h: added irow helper function same as other (i) functions.
7228
7229         * BufferView_pimpl.C (cursorPrevious):
7230         (cursorNext): fixed for insets!
7231
7232 2002-04-15  Juergen Vigna  <jug@sad.it>
7233
7234         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7235         position otherwise it is wrong in some cases.
7236
7237         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7238         inside the inset before the call.
7239
7240 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7241
7242         * buffer.[Ch] (getBibkeyList): make it const.
7243
7244 2002-04-12  Juergen Vigna  <jug@sad.it>
7245
7246         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7247
7248         * text2.C (getCursorX): new helper function
7249         (setCursor): compute also ix_
7250         (setCursorFromCoordinates): set also ix.
7251
7252         * lyxcursor.h: added ix_ and helper functions.
7253
7254         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7255
7256         * buffer.C (insertStringAsLines): dont break paragraph if the this
7257         paragraph is inside an inset which does not permit it!
7258
7259         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7260         also with no chars on this paragraph.
7261         (paintRowText): only paint stuff if it's inside the workarea!
7262
7263         * paragraph.C (breakParagraph): honor keepempty flag and break the
7264         paragraph always below not above.
7265
7266         * BufferView2.C (unlockInset): update the paragraph layout on inset
7267         unlock as we changed paragraph in such a case.
7268
7269         * lyxfind.C (LyXFind): clear the former selection if not found!
7270
7271         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7272         again called in insertChar().
7273
7274         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7275         an inset which uses the whole row!
7276         (rightMargin): ditto.
7277         (insertChar): force a rebreak if we inserted an inset!
7278
7279 2002-03-28  Herbert Voss  <voss@lyx.org>
7280
7281         * lyxlength.[Ch]: add inBP() to get the right PS-point
7282         units (BigPoint). With inPixels we have rounding errors
7283
7284 2002-04-11  Juergen Vigna  <jug@sad.it>
7285
7286         * text2.C (setCursorFromCoordinates): set iy to the right value.
7287         (setCursor): add check if row->previous exists!
7288
7289         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7290         an old float_type as this was the case in the old code!
7291
7292         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7293
7294         * BufferView2.C (showLockedInsetCursor): use iy
7295         (fitLockedInsetCursor): ditto
7296
7297         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7298         locked insets as there we have the right value now.
7299
7300         * lyxcursor.C: added iy_ variable and iy functions to set to the
7301         baseline of cursor-y of the locked inset.
7302
7303         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7304         (setCursor): fixed for insets which need a full row.
7305
7306         * text.C (rowLastPrintable): don't ignore the last space when before
7307         an inset which needs a full row.
7308         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7309         as last character of a row when before a inset which needs a full row.
7310
7311 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7312
7313         * version.C.in: update date
7314
7315         * text2.C (fullRebreak): try to always return true and see what
7316         happens...
7317
7318 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7319
7320         * MenuBackend.C (expand): use Floating::listName
7321
7322         * FloatList.C (FloatList): add listName argument to the built-in
7323         floats
7324
7325         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7326         text associated with the float.
7327
7328 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7329
7330         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7331
7332 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7333
7334         * ShareContainer.h: add a couple of missing typenames.
7335
7336 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7337
7338         * lyxrc.C (getDescription): use _() correctly rather than N_().
7339
7340 2002-03-28  Herbert Voss  <voss@lyx.org>
7341
7342         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7343         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7344
7345 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7346
7347         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7348         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7349
7350 2002-03-29  Juergen Vigna  <jug@sad.it>
7351
7352         * lyxfunc.C (dispatch): add a missing fitCursor call.
7353
7354         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7355         it was scrolled by a cursor move, so return the bool status.
7356
7357         * BufferView.C (fitCursor): return the bool flag also to the outside
7358         world as this is needed.
7359
7360         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7361
7362         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7363         call the edit() as it is not needed (and wrong) IMO.
7364         (workAreaButtonPress): set the screen_first variable before evt.
7365         unlock the inset as this may change screen_first and then we have
7366         a wrong y position for the click!
7367
7368 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7369
7370         * MenuBackend.C (expand): another translation that I missed
7371
7372 2002-03-28  Juergen Vigna  <jug@sad.it>
7373
7374         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7375
7376         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7377
7378 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7379
7380         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7381
7382         * MenuBackend.C (expand): fix export/view/update when there is no
7383         document open.
7384
7385 2002-03-27  Herbert Voss  <voss@lyx.org>
7386
7387         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7388         and text%
7389
7390 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7391
7392         * bufferview_funcs.C (currentState): only show paragraph number
7393         for is DEVEL_VERSION is set.
7394
7395         * lyxfunc.C (dispatch): put warning in INFO channel
7396
7397         * MenuBackend.C (expand): translate the name of floats
7398
7399         * FloatList.C (FloatList): mark the float names for translation
7400
7401         * converter.C (convert): use LibScriptSearch
7402
7403 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7404
7405         * MenuBackend.C (defaults): fix default menu (we might as well get
7406         rid of it...)
7407
7408 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7409
7410         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7411         directory.
7412
7413 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7414
7415         * lyxvc.C: reorder includes.
7416
7417 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7418
7419         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7420           properly
7421
7422 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7423
7424         * CutAndPaste.C: change layouts earlier on paste
7425           to avoid crashing when calling getFont()
7426
7427 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7428
7429         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7430         irritating #error.
7431
7432 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7433
7434         * WorkArea.C: remove 'Pending' debug message.
7435
7436         * most files: ws cleanup
7437
7438         * buffer.[Ch]: ws changes
7439
7440         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7441
7442 2002-03-21  Juergen Vigna  <jug@sad.it>
7443
7444         * tabular.C (SetMultiColumn): collapse also the contents of the
7445         cells and set the last border right. Added a Buffer const * param.
7446
7447 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7448
7449         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7450         linking or not.
7451
7452 2002-03-19  Juergen Vigna  <jug@sad.it>
7453
7454         * text2.C (clearSelection): reset also xsel_cache.
7455
7456         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7457         where it needs to be called (John tells us to do so too :)
7458         (selectionLost): reset sel_cache.
7459
7460         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7461
7462 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7463
7464         * text2.C (setCursorIntern): put debuging code in INSETS channel
7465
7466 2002-03-19  André Pönitz <poenitz@gmx.net>
7467
7468         * lyxfunc.C: tiny whitespace change
7469
7470 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7471
7472         * ToolbarDefaults.C (init):
7473         * LyXAction.C (init):
7474         * commandtags.h:
7475         * BufferView_pimpl.C (Dispatch):
7476         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7477
7478 2002-03-19  Allan Rae  <rae@lyx.org>
7479
7480         * exporter.C (Export): removeAutoInsets before doing anything else.
7481         While I've just introduced a dependency on BufferView this really is
7482         the best place to clean the buffer otherwise you need to cleanup in
7483         a dozen places before calling export or cleanup in a dozen functions
7484         that export calls.
7485
7486         * converter.C (runLaTeX):
7487         (scanLog): Better handling of removeAutoInsets and screen updates.
7488
7489         * lyxfunc.C (dispatch): small whitespace changes
7490
7491 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7492
7493         * WorkArea.C (C_WorkAreaEvent): return a value.
7494         (event_cb): return 1 if we handled the event, 0 otherwise.
7495
7496         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7497
7498 2002-03-18  Juergen Vigna  <jug@sad.it>
7499
7500         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7501         (GetAdditionalWidth): ditto.
7502         (RightLine): ditto.
7503         (LeftLine): ditto.
7504
7505         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7506         inset if we're there actually (probably not used right now but this
7507         is the direction to go for unifying code).
7508         (paste): disable code to clear the selection.
7509
7510         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7511         inside an InsetText and move the check further up as it is in the
7512         wrong place.
7513
7514         * text2.C (pasteSelection): set a selection over the pasted text.
7515
7516 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7517
7518         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7519         and libgraphics to build on Cygwin.
7520
7521 2002-03-15  Juergen Vigna  <jug@sad.it>
7522
7523         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7524         inserting an Inset into the paragraph. I know this is not the best
7525         fix but we already use current_view in CutAndPaste so we will remove
7526         all of it's using at the same time.
7527
7528         * buffer.C (sgmlError): deactivated function till it is rewritten in
7529         the right mode, now it can create problems.
7530
7531         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7532         before accessing it.
7533
7534 2002-03-14  Juergen Vigna  <jug@sad.it>
7535
7536         * undo_funcs.C (textHandleUndo): do the right thing when updating
7537         the inset after the undo/redo.
7538
7539         * text2.C (setCursor): just some testcode for #44 not ready yet.
7540
7541         * undo_funcs.C (textHandleUndo): set the next() and previous()
7542         pointers of the paragraph to 0 before deleting otherwise we have
7543         problems with the Paragraph::[destructor].
7544
7545         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7546         on a paragraph insertion.
7547
7548 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7549
7550         * buffer.C (asciiParagraph): use += operator for char append to
7551         string.
7552
7553         * paragraph.C (getFontSettings): compare >= not just >
7554         (highestFontInRange): ditto
7555         (setFont): ditto
7556
7557 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7558
7559         * paragraph.C: change several algorithm to be more appripriate for
7560         the problem domain. This is lookip in FontList and in the InsetList.
7561
7562 2002-03-13  André Pönitz <poenitz@gmx.net>
7563
7564         * commandtags.h:
7565         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7566
7567 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7568
7569         * commandtags.h:
7570         * LyXAction.C:
7571         * lyxfunc.C:
7572         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7573
7574 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7575
7576         * Painter.C (display): anon helper function, adjust code for this
7577         change.
7578         (pixmap): remove function.
7579
7580         * Painter.h: remove private display variable.
7581
7582         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7583
7584 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7585
7586         * WorkArea.[Ch]: remove figinset_canvas cruft.
7587
7588 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7589
7590         * lyxtextclass.C (operator): add one item cache optimization.
7591
7592         * bufferlist.h: doxy changes
7593
7594         * bufferlist.C: ws changes
7595
7596         * DepTable.[Ch] (ext_exist): place const in the right spot.
7597
7598         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7599         call resizeInsets.
7600         (workAreaExpose): call resizeInsets when the with BufferView changes.
7601         (Dispatch): adjust for protectedBlank removal
7602         (specialChar): call updateInset if the insert went ok.
7603
7604         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7605         specialChar instead.
7606
7607         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7608
7609         * BufferView.h: doxy change
7610
7611         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7612
7613         * lyxtextclass.C (operator[]): remove non-const version
7614         (defaultLayout): remove non-const version
7615
7616 2002-03-12  Juergen Vigna  <jug@sad.it>
7617
7618         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7619         did resize the LyXText too.
7620
7621         * buffer.C (readLyXformat2): set layout information on newly allocated
7622         paragraphs.
7623
7624         * tabular.C (OldFormatRead): set layout information on the paragraph.
7625
7626 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7627
7628         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7629
7630 2002-03-11  Juergen Vigna  <jug@sad.it>
7631
7632         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7633         plainly wrong.
7634         (resizeCurrentBuffer): force also the insets to resize themselfes.
7635         (moveCursorUpdate): fixed up for InsetText.
7636
7637 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7638
7639         * commandtags.h:
7640         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7641         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7642         value of Dialogs::tooltipsEnabled().
7643         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7644
7645 2002-03-08  Juergen Vigna  <jug@sad.it>
7646
7647         * BufferView_pimpl.C (updateInset): update inset inside inset also
7648         if it isn't inside theLockingInset().
7649
7650 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7651
7652         * buffer.C (asciiParagraph): redo some of the word and line length
7653         handling.
7654         (getLists): look for Caption instead of caption.
7655
7656 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7657
7658         * buffer.C (Buffer): initialize niceFile to true
7659         (makeLaTeXFile):
7660         (makeLinuxDocFile):
7661         (makeDocBookFile): make sure niceFile is true on exit
7662
7663 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7664
7665         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7666
7667 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7668
7669         * LyXSendto.C: remove.
7670         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7671         * lyx_gui.C: remove now-redundant comment.
7672         * ColorHandler.h: remove forward declaration of class WorkArea.
7673         * lyxfunc.C: remove #include "WorkArea.h".
7674
7675 2002-03-07  Juergen Vigna  <jug@sad.it>
7676
7677         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7678         got moved away with the DEPM and also set the inset_owner always
7679         right which before could have been omitted.
7680
7681 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7682
7683         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7684         wanted layout is not found.
7685
7686 2002-03-07  Juergen Vigna  <jug@sad.it>
7687
7688         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7689
7690 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7691
7692         * paragraph.C (breakParagraph): use default layout not layout of
7693         prev paragraph.
7694         (Paragraph): clear ParagraphParameters.
7695
7696 2002-03-06  Juergen Vigna  <jug@sad.it>
7697
7698         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7699         otherwise it would not be a valid lenght. Fixed a special case in
7700         the minipage compatibility read where we end the document with a
7701         minipage.
7702
7703         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7704         was set as it could be 0 for InsetTexts first entry.
7705
7706 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7707
7708         * paragraph.C (writeFile): if layout is empty write out
7709         defaultLayoutName().
7710
7711         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7712         file without named layout we set layout to defaultLayoutName().
7713
7714 2002-03-06  Juergen Vigna  <jug@sad.it>
7715
7716         * CutAndPaste.C (copySelection): set layout for new paragraph.
7717
7718         * text.C (prepareToPrint): leave ERT inset left aligned
7719         (leftMargin): don't indent paragraphs inside ERT insets
7720
7721 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7722
7723         * paragraph.C (breakParagraph): dont call clear do the work manually
7724
7725         * paragraph.[Ch] (clear): remove function
7726
7727 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7728
7729         * paragraph.C (Paragraph): dont call clear, the work has already
7730         been done.
7731
7732         * lyxtextclass.C (operator): assert if n is empty
7733
7734         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7735         work manually instead.
7736
7737 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7738
7739         * BufferView_pimpl.C: protect selectionLost against text == 0
7740
7741 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7742
7743         * text.C (breakParagraph): fix a setting layout to '0' problem.
7744
7745 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7746
7747         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7748         final location of file, for the included files, and graphics.
7749
7750 2002-03-05  Juergen Vigna  <jug@sad.it>
7751
7752         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7753
7754 2002-03-04  Juergen Vigna  <jug@sad.it>
7755
7756         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7757
7758         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7759         last column of multicolumn cells.
7760         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7761
7762 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7763
7764         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7765         file if it doesn't go to a temporary file.
7766
7767         * buffer.C (sgmlOpenTag):
7768         (sgmlCloseTag):  remove extra newline insertion.
7769
7770 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7771
7772         * text.C (getRowNearY): comment out debug msg
7773
7774 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7775
7776         * text2.C: first -> first_y
7777
7778         * text.C (getRowNearY): add some attemts at a possible
7779         optimization, not working.
7780
7781         * tabular.[Ch]: add BufferParams to several function so that newly
7782         created paragraph can be initialized to he default layotu for the
7783         buffers textclass.
7784
7785         * tabular-old.C (ReadOld): add buf->params to call of Init
7786
7787         * screen.C: rename text->first to text->first_y
7788
7789         * paragraph.C (breakParagraph): always set layout in the broken
7790         paragraph
7791
7792         * lyxtextclass.C (Read): remove lowercase
7793         (hasLayout): ditto
7794         (operator): ditto
7795         (delete_layout): ditto
7796
7797         * lyxtext.h: rename first -> first_y
7798
7799         * lyxlayout.C (Read): remove lowercase
7800         (name): ditto
7801         (setName): ditto
7802         (obsoleted_by): ditto
7803
7804         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7805
7806         * buffer.C (insertErtContents): add params are to InsetERT
7807         (parseSingleLyXformat2Token): add code to check if a paragraphs
7808         layout really exist.
7809         (parseSingleLyXformat2Token): add params to several inset
7810         constructors
7811         (asciiParagraph): remove lowercase, do the layout comparisons with
7812         no_case
7813
7814         * BufferView_pimpl.C (cursorNext): first -> first_y
7815         (resizeCurrentBuffer): first -> first_y
7816         (updateScrollbar): first -> first_y
7817         (scrollCB): first -> first_y
7818         (workAreaMotionNotify): first -> first_y
7819         (workAreaButtonPress): first -> first_y
7820         (checkInsetHit): first -> first_y
7821         (cursorPrevious): first -> first_y
7822         (cursorNext): first -> first_y
7823         (Dispatch): add buffer_->params to severl inset contructors
7824
7825 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7826
7827         * lyxlayout.C (Read): remove some debug info that I forgot.
7828
7829         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7830         clean up the code slightly.
7831         (makeLinuxDocFile): ditto
7832         (makeDocBookFile): ditto
7833
7834         * text2.C: layout as string
7835
7836         * text.C: layout as string
7837
7838         * paragraph_pimpl.C: layout as string
7839
7840         * paragraph.[Ch]: layout as string
7841
7842         * lyxtextclasslist.[Ch]: layout as string
7843
7844         * lyxtextclass.[Ch]: layout as string
7845
7846         * lyxtext.h: layout as string
7847
7848         * lyxlayout.[Ch]: layout as string
7849
7850         * lyx_cb.C: layout as string
7851
7852         * bufferview_funcs.C: layout as string
7853
7854         * bufferparams.C: layout as string
7855
7856         * buffer.C: layout as string
7857
7858         * LyXView.[Ch]: layout as string
7859
7860         * LaTeXFeatures.[Ch]: layout as string
7861
7862         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7863
7864         * BufferView_pimpl.C: change current_layout to string, remove
7865         lyx::layout_type.
7866         (Dispatch):
7867         (smartQuote):
7868         (insertInset):
7869         (workAreaButtonRelease): layout as string
7870
7871         * BufferView2.C (unlockInset): adjust
7872
7873         * vspace.C (asLatexCommand): use an explict temp variable.
7874
7875 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7876
7877         * Makefile.am: use FRONTEND_*
7878
7879 2002-03-01  Juergen Vigna  <jug@sad.it>
7880
7881         * tabular.C (SetWidthOfMulticolCell): changed to something better
7882         I hope but still work in progress.
7883         (recalculateMulticolumnsOfColumn): renamed function from
7884         recalculateMulticolCells as it is more appropriate now.
7885         (SetWidthOfCell): calculate multicols better.
7886
7887 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7888
7889         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7890
7891         * lyxfunc.C (processKeySym): print sequence also if it is
7892         `deleted' (complete)
7893
7894         * kbsequence.C (print): print sequence even if it is deleted
7895         (complete would be a better word, actually).
7896
7897         * lyxfunc.C (dispatch): print complete options after a prefix key
7898
7899         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7900
7901 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7902
7903         * text2.C (setCharFont): eliminate setCharFont code duplication.
7904
7905 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7906
7907         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7908         LFUN_TABULAR_FEATURE (bug #177)
7909
7910 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7911
7912         * Makefile.am: remove figure.h
7913
7914 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7915
7916         * Bufferview_pimpl.C:
7917         * CutAndPasteC:
7918         * LaTeX.C:
7919         * LyXSendto.C:
7920         * buffer.C:
7921         * bufferlist.C:
7922         * converter.C:
7923         * language.C:
7924         * lyxfunc.C:
7925         * lyxvc.C:
7926         * paragraph.C:
7927         * text.C:
7928         * text2.C: remove #include "lyx_gui_misc.h".
7929
7930         * LaTeX.C: added #include <cstdio>
7931
7932 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7933
7934         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7935         that the paragraph following this one can have.
7936
7937         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7938
7939         * vspace.C (asLatexCommand): fix bogus gcc warning
7940
7941         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7942
7943 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7944
7945         * text2.C (setLayout): get rid of redundant code
7946
7947 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7948
7949         * text2.C (incDepth): make sure depth cannot be increased beyond
7950         reasonable values.
7951
7952 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7953
7954         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7955         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7956
7957         * PainterBase.h (image):
7958         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7959         a LyXImage const *.
7960
7961 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7962
7963         * BufferView.C:
7964         * BufferView.h:
7965         * BufferView_pimpl.C:
7966         * BufferView_pimpl.h:
7967         * LaTeXFeatures.C:
7968         * LyXAction.C:
7969         * LyXView.C:
7970         * Makefile.am:
7971         * UpdateList.h:
7972         * UpdateList.C:
7973         * buffer.C:
7974         * figure.h:
7975         * figureForm.C:
7976         * figureForm.h:
7977         * figure_form.C:
7978         * figure_form.h:
7979         * lyx_cb.C:
7980         * lyx_gui.C:
7981         * lyx_gui_misc.C:
7982         * lyxfunc.C:
7983         * sp_base.h:
7984         * sp_ispell.h:
7985         * sp_pspell.h:
7986         * sp_spell.C: remove fig inset, and the crap house of
7987           cards that follows it
7988
7989 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7990
7991         * Makefile.am:
7992         * lyxserver.C:
7993         * os2_defines.h:
7994         * os2_errortable.h:
7995         * nt_defines.h: move .h into support/
7996
7997         * vms_defines.h: remove
7998
7999         * WorkArea.C: add space in debug output
8000
8001         * text2.C:
8002         * paragraph.C:
8003         * buffer.C: add WITH_WARNINGS
8004
8005         * vc-backend.h:
8006         * vc-backend.C:
8007         * bufferlist.C: s/retrive/retrieve/, add docs
8008
8009         * vspace.h:
8010         * vspace.C:
8011         * kbmap.h:
8012         * lyxlength.h:
8013         * lyxgluelength.h:
8014         * length_common.h:
8015         * chset.h:
8016         * chset.C: add docs
8017
8018         * lyxgui.C: add ID to X error handler
8019
8020         * lyxtestclass.c: fix typo
8021
8022 2002-02-26  Juergen Vigna  <jug@sad.it>
8023
8024         * tabular_funcs.C (write_attribute): changed so that some default
8025         attributes are not written at all.
8026         (getTokenValue): set default values before trying to read the
8027         value so we have the return value always set as default if we don't
8028         find the token we search for.
8029
8030         * tabular.C (Write): write bools as bools not as strings!
8031
8032 2002-02-22  Juergen Vigna  <jug@sad.it>
8033
8034         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8035         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8036
8037         * text.C (leftMargin): don't add an indent for paragraphs inside
8038         tabular cells (fix #208).
8039
8040 2002-02-21  José Matos  <jamatos@fep.up.pt>
8041
8042         * tabular.C (docBook): fixed support for long tables.
8043
8044 2002-02-20  Juergen Vigna  <jug@sad.it>
8045
8046         * text2.C (getFont): get the drawing font of the Inset if this
8047         paragraph is inside an inset (only important for InsetERT for now).
8048
8049         * buffer.C (insertErtContents): use new lanugage params in ERT
8050         constructor.
8051
8052         * CutAndPaste.C: commenting out seemingly uneeded code.
8053
8054 2002-02-19  Allan Rae  <rae@lyx.org>
8055
8056         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8057         Iterators might be simple to use but they also get invalidated.
8058         (removeAutoInsets): renamed saved cursor tracking variables and added
8059         some comments to clarify what everything does.
8060
8061 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8062
8063         * Chktex.C:
8064         * LaTeX.C:
8065         * LyXSendto.C:
8066         * converter.C:
8067         * lyx_cb.C:
8068         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8069         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8070
8071         * lyxfunc.C:
8072         * vc-backend.h: remove #include "support/syscall.h"
8073
8074         * LaTeX.C:
8075         * LyXSendto.C:
8076         * converter.C: rearrange #includes in Lars' approved fashion.
8077
8078         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8079         forward declare class Timeout in the header file.
8080
8081         * XFormsView.C: changes due to the above.
8082
8083         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8084         similar to LyXView.
8085
8086         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8087         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8088
8089 2002-02-18  José Matos  <jamatos@fep.up.pt>
8090
8091         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8092         insets contents.
8093
8094 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8095
8096         * a lot of small ws changes
8097         * add a lot of using std::XXX
8098         * use std construcs some places where approp.
8099         * use some exisint stuff from lyxfunctional where approp.
8100         * Make file changes to use partial linking (lets test this now...)
8101
8102 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8103
8104         * Chktex.C:
8105         * buffer.C:
8106         remove #include "support/syscontr.h" as it's redundant. Always has been.
8107
8108         * Chktex.C:
8109         * LaTeX.C:
8110         * LyXSendto.C:
8111         * converter.C:
8112         * lyx_cb.C:
8113         * vc-backend.C:
8114         change Systemcalls::System to Systemcalls::Wait and
8115         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8116         No change of functionality, just reflects the stripped down Systemcalls
8117         class.
8118
8119 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8120
8121         * debug.[Ch]: add a GRAPHICS type to the enum.
8122
8123 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8124
8125         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8126
8127         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8128         there is an inset.
8129
8130 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8131
8132         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8133         match the changes below.
8134
8135         * text2.C (toggleInset): if there is not editable inset at cursor
8136         position, try to see if cursor is _inside_ a collapsable inset
8137         and close it.
8138
8139 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8140
8141         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8142         document menu has a nice checkbox
8143
8144 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8145
8146         * lyxlength.C (asLatexString): change PW to output as percent of
8147         \textwidth.
8148
8149         * lengthcommon.C: change '%' to 't%'
8150
8151         * lyxfunc.C (dispatch): a few comments from Martin
8152
8153 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8154
8155         * WorkArea.h:
8156         * WorkArea.C:
8157         * BufferView_pimpl.h:
8158         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8159           the X selection.
8160
8161 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8162
8163         * vspace.C (inPixels): fix compiler warning
8164
8165 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8166
8167         * lyxfunc.C (getStatus): fix status message for disabled commands.
8168
8169 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8170
8171         * BufferView_pimpl.C: fix crash on close buffer
8172         during selection (#227)
8173
8174 2002-01-27  Herbert Voss  <voss@lyx.org>
8175
8176         * buffer.C: link old Figure to new graphic inset
8177
8178 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8179
8180         * FontLoader.C (getFontinfo): Change the latex font names in order
8181         to match the names of type1inst.
8182
8183 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8184
8185         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8186
8187         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8188         (extchanged): ditto
8189         (ext_exist): ditto
8190         (remove_files_with_extension): ditto
8191         (remove_file): ditto
8192         (write): ditto
8193
8194         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8195         document is smaller than the work area height. Do not initialize
8196         static variables to 0.
8197
8198 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8199
8200         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8201
8202         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8203         LFUN_LAYOUT_PARAGRAPHS.
8204
8205         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8206         tabular. It is possible to provide a possible cell, which will
8207         typically be the actcell from the corresponding insettabular
8208
8209         * lyxfunc.C (getStatus): small cleanup; disable
8210         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8211         true
8212
8213 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8214
8215         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8216
8217         * paragraph.C (startTeXParParams):
8218         (endTeXParParams): new methods. The LaTeX code to
8219         start/end paragraph formatting
8220         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8221         empty (fixes bug #200)
8222
8223         * vspace.C (inPixels): adapt to the change below
8224         (inPixels): [later] more cleanups (remove unused variables)
8225
8226         * lyxlength.C (inPixels): change to use a width and a height as
8227         parameter.
8228
8229 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8230
8231         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8232         Replaced with \paperwidth
8233
8234         * DepTable.C (insert): add std:: qualifier
8235
8236 2002-01-18  Allan Rae  <rae@lyx.org>
8237
8238         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8239         updated also?
8240
8241         * text.C (drawInset): Turned out I didn't know enough about how
8242         rebreaking worked.  This fixes most of the redraw problems.  I see
8243         an occasional cursor trail when a line is broken now and the cursor
8244         placement can seem out by a few pixels also after a rebreak.
8245
8246 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8247
8248         * buffer.C (parseSingleLyXformat2Token): update because minipage
8249         width is now a LyXLength
8250
8251         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8252
8253         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8254         math insets
8255
8256 2002-01-17  Juergen Vigna  <jug@sad.it>
8257
8258         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8259
8260         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8261         is set correctly and the inset is updated correctly.
8262
8263 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8264
8265         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8266         the beginning of the loop.
8267
8268 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8269
8270         * lyxrc.C: improve help for use_scalable_fonts
8271
8272 2002-01-17  Allan Rae  <rae@lyx.org>
8273
8274         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8275
8276 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8277
8278         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8279         make sure to set their inset_owner to the right value (bug #171)
8280
8281 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8282
8283         * DepTable.h
8284         * DepTable.C: Implement mtime checking to reduce time spent doing
8285         CRCs.
8286
8287 2002-01-16  Juergen Vigna  <jug@sad.it>
8288
8289         * tabular.C (GetAdditionalHeight): one of error fixed.
8290
8291         * lyxrc.C (output): small fix in writing use_pspell.
8292
8293 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8294
8295         * sp_base.h: #include LString.h
8296
8297 2002-01-16  Allan Rae  <rae@lyx.org>
8298
8299         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8300         Can someone check this please?
8301
8302         * text.C (drawInset): It was possible that p.row would be removed by
8303         breakAgainOneRow upsetting a few other settings.  There may be another
8304         small tweak possible by setting need_break_row = 0 when p.row has been
8305         removed but I don't know enough about the logic here.
8306
8307 2002-01-15  Allan Rae  <rae@lyx.org>
8308
8309         * text.C (insertChar): removed conditional truism.
8310
8311         * BufferView2.C (removeAutoInsets): More tweaks.
8312         cur_par_prev could be a stray pointer.  Check for trailing empty line
8313         in case last line was cur_par and only had an error inset on it.
8314
8315 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8316
8317         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8318         absolute
8319
8320         * vc-backend.C (most methods):
8321         * exporter.C (Export):
8322         * converter.C (convert):
8323         (runLaTeX):
8324         * LyXSendto.C (SendtoApplyCB):
8325         * lyxfunc.C (dispatch):
8326         (menuNew):
8327         (open):
8328         (doImport):
8329         * lyx_cb.C (AutoSave):
8330         (InsertAsciiFile):
8331         * BufferView_pimpl.C (MenuInsertLyXFile):
8332         * buffer.C (runChktex): use Buffer::filePath().
8333
8334         * buffer.h: rename filename to filename_; rename filepath to
8335         filepath_ and make it private
8336         (filePath): new method
8337
8338         * buffer.C (writeFile): use fileName()
8339         (getLatexName):
8340
8341         * lyx_main.C (init): fix starting  of LyX when the binary is a
8342         link from so,ewhere else.
8343
8344         * minibuffer.C: include <cctype> for isprint
8345
8346 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8347
8348         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8349         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8350         name clash with InsetCollapsable's width function.
8351
8352 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8353
8354         * lastfiles.C: include <iterator>
8355
8356 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8357
8358         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8359         std::count.
8360
8361         * buffer.C (makeLaTeXFile): ditto.
8362         Also make loop operation more transparent.
8363
8364 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8365
8366         * ToolbarDefaults.C: remove trailing comma closing namespace.
8367
8368         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8369
8370         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8371         as in WorkArea.
8372
8373         * trans.C (Load): comment out unused variable, allowed.
8374
8375 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8376
8377         * minibuffer.[Ch] (append_char): new method to recieve input from the
8378         drop-down completion browser. If a key was pressed, then recieve this
8379         char and append it to the existing string.
8380         (peek_event): modify the positioning data passed to the completion
8381         browser so that it can be placed above the minibuffer rather than below.
8382 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8383
8384         * LyXAction.C (init): alloe error-next for readonly documents.
8385
8386         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8387         count.
8388
8389 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8390
8391         * bufferlist.C (readFile): create the buffer _after_ checking that
8392         the file exists.
8393
8394         * lyxfunc.C (verboseDispatch): fix handling of arguments
8395
8396         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8397
8398         * lyxrc.C: use string::erase() instead of initializing to "".
8399
8400
8401 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8402
8403         * BufferView_pimpl.h:
8404         * BufferView_pimpl.C:
8405         * WorkArea.h:
8406         * WorkArea.C:
8407         * text2.C: tell X when we have made a selection for copying
8408
8409 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8410
8411         * BufferView_pimpl.C (MenuInsertLyXFile):
8412         * lyxfunc.C (menuNew):
8413         (open):
8414         (doImport): add shortcuts to directory buttons
8415
8416         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8417         open a float)
8418
8419         * lyxfunc.C (setStatusMessage):
8420         (getStatusMessage): new methods
8421         (getStatus):use setStatusMessage instead of setErrorMessage
8422         (dispatch): when function is disabled, set error message here
8423         [instead of in getStatus previously]
8424
8425         * BufferView_pimpl.C (workAreaButtonRelease): update
8426         toolbar/menubar here too.
8427
8428 2002-01-13  Allan Rae  <rae@lyx.org>
8429
8430         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8431         Now seems indestructible.  Remaining task is to audit all other
8432         code affected by deleteEmptyParagraphMechanism.  One small quirk
8433         left is that an empty document with an error in the preamble can
8434         be made to report an error but no error box appears.  I don't know
8435         where it goes.
8436         (removeAutoInsets): Improved comments.
8437
8438 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8439
8440         * Thesaurus.h:
8441         * Thesaurus.C: update for Aiksaurus 0.14
8442
8443 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8444
8445         * text2.C (firstParagraph): removed member function, all uses
8446         replaces with ownerParagraph
8447         (redoParagraphs): here
8448         (updateInset): here
8449         (toggleAppendix): here
8450         * BufferView2.C (insertErrors): here
8451         (setCursorFromRow): here
8452
8453 2002-01-13  Allan Rae  <rae@lyx.org>
8454
8455         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8456         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8457         There is still a way to segfault this although you may have to do this
8458         multiple times: Have an InsetERT with an unknown command in it.
8459         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8460         <down-arrow>, <Enter> again, View->DVI, BANG!
8461
8462         * text2.C (setCursor):
8463         (deleteEmptyParagraphMechanism):
8464         * lyxtext.h (setCursor):
8465         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8466         Making use of the return value may help fix other bugs.
8467
8468 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8469
8470         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8471
8472         * LyXView.C (updateMenubar): call MenuBar::update here
8473         (updateToolbar): but not here
8474         (showState): do not update toolbar/menubar
8475
8476         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8477         should need to care about that.
8478
8479         * lyxfunc.C (verboseDispatch): simplify a bit
8480         (getStatus): have a version which takes a pseudoaction, and
8481         another which requires a (kb_action,string).
8482
8483         * LyXAction.C (retrieveActionArg): make it work also when action
8484         is not a pseudo-action.
8485         (getActionName): simplify a bit
8486         (helpText):
8487
8488 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8489
8490         * lyxfunc.C (verboseDispatch): new families of methods with
8491         several ways to specify a command and a bool to indicate whether
8492         the command name and shortcut should be displayed in minibuffer
8493         (eventually, we could extend that to a finer bitmask like
8494         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8495         (dispatch): the pristine dispatch command which just, well,
8496         dispatchs! Note it still sets its result to minibuffer; I'm not
8497         sure we want that.
8498
8499         * lyxfunc.h: remove setHintMessage
8500
8501         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8502
8503 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8504
8505         * BufferView_pimpl.C (specialChar): delete new inset if we have
8506         not been able to insert it.
8507
8508         * kbmap.C: revert to using int instead of kb_action, since all we
8509         are dealing with is pseudo-actions.
8510
8511         * LyXAction.C (searchActionArg): change to return int instead of
8512         kb_action, since the result is a pseudoaction.
8513
8514 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8515
8516         * buffer.C (insertErtContents): Fix (partially) the font bug.
8517
8518 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8519
8520         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8521         as the other one is broken on my machine!
8522
8523 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8524
8525         * commandtags.h:
8526         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8527
8528 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8529
8530         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8531         reflect their actual use. Provide compatibility code for older lyxrc
8532         files.
8533
8534         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8535         FL_NORMAL_STYLE.
8536         change names of popup font variables in line with the changes to lyxrc.C
8537
8538 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8539
8540         * buffer.C (asciiParagraph): avoid outputing a word twice after
8541         an inset.
8542
8543         * lyxrc.C (getDescription): document that document_path and
8544         template_path can be empty.
8545
8546 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8547
8548         * LaTeXFeatures.C (getMacros):
8549         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8550
8551         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8552
8553         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8554         getPackages.
8555         (getPackages): rename feature "floats" to "float". Use an array to
8556         iterate over 'simple' features (i.e. just a \usepackage). Add
8557         handling of "amsmath" (renamed from "amsstyle").
8558
8559 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8560
8561         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8562         features list.
8563
8564 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8565
8566         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8567         FuncStaus::FuncStatus & FuncStaus::some_method().
8568
8569 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8570
8571         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8572         of the func_satus stuff. Edited and massaged in various ways by
8573         JMarc.
8574
8575         * lyxfunc.C (getStatus): use FuncStatus
8576
8577 2002-01-08  Juergen Vigna  <jug@sad.it>
8578
8579         * text.C (nextBreakPoint): use function Inset::isChar().
8580
8581         * paragraph.C (TeXOnePar): use function
8582         Inset::forceDefaultParagraphs.
8583
8584         * buffer.C (latexParagraphs): use function
8585         Inset::forceDefaultParagraphs.
8586
8587 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8588
8589         * lyx_gui.C (init): set the style of the menu popups to
8590         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8591
8592 2002-01-07  Juergen Vigna  <jug@sad.it>
8593
8594         * text.C (setHeightOfRow): small fix
8595         (prepareToPrint): don't look at alignment if we don't have the place
8596         for doing it.
8597
8598 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8599
8600         * box.C: New file. Move the Box methods and functions out of box.h,
8601         following Lars' suggestion.
8602
8603 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8604
8605         * box.h: #include "support/LOstream.h", needed for inlined function.
8606
8607         * lyxtextclass.C:
8608         * lyxtextclasslist.C: added some using std declarations.
8609
8610 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8611
8612         * box.h: make signed dimensions to allow insets wider than
8613           the screen (bug #162)
8614
8615         * BufferView_pimpl.C: add some insetHit debug
8616
8617 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8618
8619         * vc-backend.C: add FIXME
8620
8621 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8622
8623         * lyxfunc.C (getStatus): enable code for showing math font status
8624         in toolbar/menu.
8625
8626 2002-01-07  Juergen Vigna  <jug@sad.it>
8627
8628         * text.C (nextBreakPoint): removed debug output not needed anymore.
8629
8630 2002-01-06  Juergen Vigna  <jug@sad.it>
8631
8632         * text.C (nextBreakPoint): fixed up this function we had this bug
8633         since ever but now hopefully we break row better.
8634         (insertChar): we have to check if an inset is the next char as it
8635         could now happen that a large inset is causing a break.
8636
8637 2002-01-05  Juergen Vigna  <jug@sad.it>
8638
8639         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8640         if it doesn't like to be drawed.
8641
8642 2002-01-04  Juergen Vigna  <jug@sad.it>
8643
8644         * BufferView2.C (lockInset): forgot to set a cursor.
8645
8646         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8647
8648 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8649
8650         * FormMathsPanel.C:
8651         * FormMathsPanel.h
8652         * MathsSymbols.C:
8653         * form_maths_panel.C:
8654         * form_maths_panel.h:
8655         * form_maths_panel.fd: implemented sub- and super- buttons in math
8656         panel.
8657
8658         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8659         (or ^ space) to be used as in TeX (req'd by André).
8660
8661         * lyxfunc.C: Allow ^ and _ again to be used both as
8662         super/subscript (mathed) and as themselves (in text).
8663
8664 2002-01-03  Allan Rae  <rae@lyx.org>
8665
8666         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8667         "LyX" or the filename of the current buffer if it has one.  This is a
8668         modified form of John Levon's patch.
8669
8670         * XFormsView.C (setWindowTitle): also set icon title.
8671
8672         * LyXView.h (setWindowTitle): signature changed.
8673         * XFormsView.h (setWindowTitle): ditto.
8674
8675 2002-01-02  Juergen Vigna  <jug@sad.it>
8676
8677         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8678
8679 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8680
8681         * screen.C (topCursorVisible): introduce a temp var for
8682         text->cursor.row(), handle the case where this row is null. (kindo
8683         hachish)
8684
8685         * text2.C (setCursor): add a couple of asserts.
8686
8687         * paragraph.h (inset_iterator): add -> operator
8688
8689         * paragraph.[Ch] (autoDeleteInsets): remove member function
8690
8691         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8692         cursor pos correctly and handle inset deletion by itself.
8693         (insertErrors): move iterator declaration out of for expression
8694
8695         * lyxtextclass.C: add <algorithm>
8696
8697         * Makefile.am: added the new files to sources, removed layout.C
8698
8699         * layout.C: removed file
8700
8701         * layout.h: remove LYX_DUMMY_LAYOUT
8702
8703         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8704         layout.
8705
8706         * lyxlayout.[Ch]:
8707         * lyxtextclass.[Ch]:
8708         * lyxtextclasslist.[Ch]: new files
8709
8710         * include order changes to a lot of files, also changes because of
8711         the six new files.
8712
8713 2001-12-27  Juergen Vigna  <jug@sad.it>
8714
8715         * buffer.C (asciiParagraph): more fixes.
8716
8717         * tabular.C (ascii): make ascii export support export of only the
8718         data separated by a column-delimiter.
8719         (ascii): better support for ascii export.
8720
8721         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8722
8723 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8724
8725         * tabular_funcs.C: use a "using std::getline" instead of the
8726         previous fix from Angus (necessary for cxx + lyxstring)
8727
8728 2001-12-24  Juergen Vigna  <jug@sad.it>
8729
8730         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8731
8732         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8733         problems. First check a minipage also if we have some ert-contents
8734         (not only on par->size(), second set the right depth of the paragraph
8735         on the relink to the root-paragraph-list!
8736
8737         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8738         which then did not anymore update the main paragraphs on undo/redo!
8739
8740 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8741
8742         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8743         code. Support all font-changing funcs (even those which are not in
8744         menu currently). Support for reporting font settings in
8745         mathed (disabled until Andre provides a function on mathed's side).
8746
8747         * func_status.h (toggle): small helper function to set toggle
8748         state on a flag.
8749
8750 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8751
8752         * tabular_funcs.C: getline -> std::getline
8753
8754 2001-12-21  Juergen Vigna  <jug@sad.it>
8755
8756         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8757         accessed and could be 0 (I couldn't generate this but it seems
8758         Michael could!).
8759
8760 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8761
8762         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8763         * tabular_funcs.h: here and include iosfwd
8764
8765 2001-12-20  Juergen Vigna  <jug@sad.it>
8766
8767         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8768         inside inset but undo_par was.
8769
8770 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8771
8772         * Thesaurus.C: always include <config.h> in sources.
8773
8774         * Painter.h:
8775         * lyxlookup.h:
8776         * box.h: do not include <config.h> in header files
8777
8778         * text.C (paintLastRow): remove unused variable
8779
8780         * text.C (transformChar):
8781         (insertChar):
8782         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8783
8784         * Painter.C (text):
8785         * font.C (width): rewrite to use uppercase() instead of
8786         islower/toupper.
8787
8788         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8789
8790 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8791
8792         * lyxfind.C: clean up of find failure position change
8793
8794 2001-12-20  Juergen Vigna  <jug@sad.it>
8795
8796         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8797
8798         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8799         (TeXRow): added to LaTeX a single tabular row.
8800         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8801         (Latex): simplified and finally good LT-h/f support.
8802         (various_functions): just small adaptions for LT-h/f support.
8803
8804         * tabular_funcs.[hC]: added and moved here all not classfunctions
8805         of LyXTabular.
8806
8807 2001-12-19  Juergen Vigna  <jug@sad.it>
8808
8809         * tabular.[Ch]: better support for longtabular options (not finished
8810         yet!)
8811
8812 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8813
8814         * text.C (paintLastRow): use the label font instead of the font of
8815         the last character to compute the size of *_BOX. This makes more
8816         sense and avoids a crash with empty paragraphs.
8817         Use Painter::rectangle to draw EMPTY_BOX.
8818
8819 2001-12-19  Juergen Vigna  <jug@sad.it>
8820
8821         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8822         the paragraphs if the replaced paragraph is not the first one!
8823         Tried to delete not used paragraphs but does not work yet so for
8824         now it's inside #ifdef's and by default off!
8825
8826 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8827
8828         * MenuBackend.C: include "lyx_main.h" instead of declaring
8829         lastfiles (actually was declared as LastFiles* instead of a
8830         scoped_ptr).
8831
8832 2001-12-17  Juergen Vigna  <jug@sad.it>
8833
8834         * tabular.C (AppendColumn): applied John's fix
8835
8836 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8837
8838         * BufferView.h:
8839         * BufferView.C:
8840         * BufferView_pimpl.h:
8841         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8842
8843         * Makefile.am:
8844         * box.h: new start of class for above
8845
8846         * lyxfunc.C: ignore space-only minibuffer dispatches.
8847           Show the command name when it doesn't exist
8848
8849         * minibuffer.C: don't add empty lines to the history
8850
8851         * minibuffer.C: add a space on dropdown completion
8852
8853 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8854
8855         * text.C: fix line above/below drawing in insets
8856
8857 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8858
8859         * lyxlength.C (LyXLength): Initialize private variables.
8860
8861 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8862
8863         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8864         when inserting error insets.
8865
8866 2001-12-13  Juergen Vigna  <jug@sad.it>
8867
8868         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8869         actually sometimes the before-paragraph.
8870         (setUndo): don't clear the redostack if we're not actually undoing!
8871
8872 2001-12-06  Juergen Vigna  <jug@sad.it>
8873
8874         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8875         and fixed redoing of main paragraph, so we can use it now ;)
8876
8877         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8878
8879 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8880
8881         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8882         Juergen's request
8883
8884 2001-12-13  André Pönitz <poenitz@gmx.net>
8885
8886         * undostack.[Ch]:
8887         * undo_func.C: minor cleanup
8888
8889 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8890
8891         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8892         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8893         font in urw-fonts package which is marked as -urw-fontspecific and
8894         does not work (incidentally, changing the encoding in the
8895         fonts.dir of this package to -adobe-fontspecific fixes the
8896         problem).
8897
8898         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8899         is a crash when undoing first paragraph (Juergen, please take a
8900         look). THis does not mean the undo fix is wrong, just that it
8901         uncovers problems.
8902
8903         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8904         the (Paragraph*) version when needed instead of duplicating the
8905         code.
8906
8907         * text.C (workWidth): use Inset::parOwner to find out where the
8908         inset has been inserted. This is a huge performance gain for large
8909         documents with lots of insets. If Inset::parOwner is not set, fall
8910         back on the brute force method
8911
8912         * paragraph_pimpl.C (insertInset):
8913         * paragraph.C (Paragraph):
8914         (cutIntoMinibuffer): set parOwner of insets when
8915         inserting/removing them
8916
8917         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8918
8919 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8920
8921         * commandtags.h:
8922         * LyXAction.C:
8923         * lyx_main.C:
8924         * lyxfunc.C:
8925         * mathed/formulabase.C:
8926         * mathed/math_cursor.[Ch]:
8927         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8928
8929
8930 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8931
8932         * lyxlength.[Ch] (operator!=): new function
8933
8934 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8935
8936         * text.C (workWidth): use Inset::parOwner to find out where the
8937         inset has been inserted. This is a huge performance gain for large
8938         documents with lots of insets. If Inset::parOwner is not set, fall
8939         back on the brute force method
8940
8941         * paragraph_pimpl.C (insertInset):
8942         * paragraph.C (Paragraph):
8943         (cutIntoMinibuffer): set parOwner of insets when
8944         inserting/removing them
8945
8946         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8947
8948 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8949
8950         * tabular-old.C (getTokenValue):
8951         * tabular.C (getTokenValue):
8952         (write_attribute): new versions for LyXLength
8953         (everywhere): adjust the use of widths
8954
8955         * tabular.h: change the type of widths from string to LyXLength
8956
8957 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8958
8959         * paragraph.C: fixed missing line number count when exporting
8960         Environments to LaTeX file
8961
8962         * buffer.C: added informational message for checking line numbers.
8963
8964 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8965
8966         * text2.C (deleteEmptyParagraphMechanism): if there is only one
8967         paragraph, do the 'double space' part, but not the 'empty
8968         paragraph' one.
8969
8970         * text.C (workWidth): small optimization
8971         (getLengthMarkerHeight): use minimal size for negative lengths.
8972
8973 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
8974
8975         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8976
8977         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8978
8979 2001-12-11  André Pönitz <poenitz@gmx.net>
8980
8981         * FontLoader.C:
8982         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8983
8984 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8985
8986         * text2.C: keep selection on a setFont()
8987
8988 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8989
8990         * lyx_cb.C: another bv->text misuse, from insert label
8991
8992 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8993
8994         * kbsequence.h:
8995         * kbsequence.C: re-instate nmodifier mask
8996
8997 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
8998
8999         * lyx_main.h: make lyxGUI private.
9000
9001 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9002
9003         * lyxfind.C: place the cursor correctly on failed search
9004
9005 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9006
9007         * text.C (getLengthMarkerHeight): for small heights, the arrows
9008         are not always on top/bottom of the text
9009         (drawLengthMarker): smaller arrows; take the left margin in
9010         account; draw also vfills.
9011         (paintFirstRow):
9012         (paintLastRow): remove special code for vfill and standard spaces,
9013         since everything is handled in drawLengthMarker now.
9014
9015 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9016
9017         * buffer.C (insertErtContents): try to handle font and language
9018         interaction a bit better.g
9019
9020         * ColorHandler.C (updateColor): change the hash to cover the whole
9021         LColor enum, ws cleanup
9022         (getGCLinepars): ditto
9023         (getGCLinepars): only lookup in the linecache once.
9024
9025 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9026
9027         * iterators.C (operator++): Make the iterator more robust
9028
9029         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9030         (John's patch)
9031         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9032
9033 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9034
9035         * lyxtext.h:
9036         * text.C: better added space drawing
9037
9038 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9039
9040         * LyXView.C:
9041         * BufferView2.C: fix layout combo update on inset unlock
9042
9043 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9044
9045         * Makefile.am: don't compile unused files
9046
9047 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9048
9049         * lyxfunc.C:
9050         * commandtags.h:
9051         * LyXAction.C: remove old LFUN_LAYOUTNO
9052
9053 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9054
9055         * paragraph_pimpl.h:
9056         * paragraph_pimpl.C: isTextAt() doesn't need font param
9057
9058 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9059
9060         * lyxlex.h:
9061         * lyxlex.C: little cleanup
9062
9063 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9064
9065         * BufferView_pimpl.C: fix insertAscii for insets
9066
9067 2001-12-05  Juergen Vigna  <jug@sad.it>
9068
9069         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9070         set the right font on the "multi" paragraph paste!
9071
9072 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9073
9074         * trans_decl.h:
9075         * trans_mgr.[Ch]:
9076         * trans.[Ch]:
9077         * lyxgluelength.C:
9078         * lyxlength.C: remove out-commented code.
9079
9080         * BufferView_pimpl:
9081         * CutAndPaste.C:
9082         * DepTable.C:
9083         * buffer.C:
9084         * chset.C:
9085         * lastfiles.C:
9086         * lyxlex.C:
9087         * lyxlex_pimpl.C:
9088         * lyxserver.C:
9089         * screen.C:
9090         * tabular-old.C:
9091         * tabular.C:
9092         * text.C:
9093         * trans_mgr.C:
9094         * vc-backend.C: change "while(" to "while ("
9095
9096         * lyxlength.[Ch]: add zero function to check if length is zero or
9097         not
9098         * lyxgluelength.C: use it
9099
9100 2001-12-05  Allan Rae  <rae@lyx.org>
9101
9102         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9103         Works for 2.95.3, from what I understand of Garst's reports this should
9104         work for other g++ versions.  We're screwed if the abs(int) definition
9105         changed between bugfix releases of gcc.
9106
9107 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9108
9109         * text.C: fix chapter label offset !
9110
9111 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9112
9113         * lyxtext.h:
9114         * text.C: fix hfill at end of line, clean up
9115
9116 2001-12-04  Juergen Vigna  <jug@sad.it>
9117
9118         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9119         that we force an update of the inset and it's owners if neccessary.
9120
9121 2001-12-03  Juergen Vigna  <jug@sad.it>
9122
9123         * text.C (rowLast): simplified code
9124
9125 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9126
9127         * lyxfunc.C: fix show options on timeout
9128
9129 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9130
9131         * screen.C (topCursorVisible): scroll half a page when the cursor
9132         reached top of bottom of screen
9133
9134 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9135
9136         * minibuffer.C: deactivate on loss of focus
9137
9138 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9139
9140         * vspace.[Ch] (operator!=): add operator.
9141
9142 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9143
9144         * BufferView_pimpl.C: refuse to open an inset when
9145         there's a selection.
9146
9147 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9148
9149         * BufferView_pimpl.C: allow to click on RHS of full row insets
9150
9151 2001-11-30  Juergen Vigna  <jug@sad.it>
9152
9153         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9154         insets for undo reasons.
9155
9156 2001-11-28  André Pönitz <poenitz@gmx.net>
9157
9158         * vspace.[Ch]: cosmetical changes
9159
9160 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9161
9162         * LyXAction.h:
9163         * LyXAction.C:
9164         * lyxfunc.h:
9165         * lyxfunc.C:
9166         * kbmap.h:
9167         * kbmap.C:
9168         * lyxrc.C:
9169         * kbsequence.h:
9170         * kbsequence.C: part re-write of old kb code
9171
9172         * Painter.C:
9173         * WorkArea.C: remove Lgb_bug_find_hack
9174
9175 2001-11-30  José Matos <jamatos@fep.up.pt>
9176
9177         * buffer.C (makeDocBookFile): add a comment to point a hack.
9178         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9179         Fixed a double write of labels.
9180
9181 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9182
9183         * LaTeX.C:
9184         * LaTeX.h Fixed bug in LaTeX class where it would not
9185         re-run latex if no depfiles were changed, but the .dvi was removed.
9186
9187 2001-11-28  André Pönitz <poenitz@gmx.net>
9188
9189         * all the files from the change on 2001/11/26:
9190         use lyx::layout_type instead of LyXTextClass::size_type
9191         use lyx::textclass_type instead of LyXTextClassList::size_type
9192
9193 2001-11-29  Juergen Vigna  <jug@sad.it>
9194
9195         * text.C: added support for paragraph::isFreeSpacing()
9196
9197         * buffer.C: same as above
9198
9199         * paragraph.h: inserted isFreeSpacing() function to enable
9200         FreeSpacing inside InsetERT.
9201
9202         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9203         of the paragraph's in the cut/copy buffer to 0!
9204
9205         * text2.C (removeRow): remove the assert as it can!
9206
9207         * lyxtext.h: added helper function firstRow returning firstrow and
9208         made firstrow private again.
9209
9210         * BufferView2.C (lockInset): don't relock if we're already locked!
9211
9212         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9213         the only paragraph.
9214         (removeRow): added Assert::(firstrow)
9215
9216         * debug.C: forgot to add INSETTEXT here.
9217
9218 2001-11-28  Juergen Vigna  <jug@sad.it>
9219
9220         * sp_spell.C (initialize): changed error text to more general
9221         spellchecker command use (not only ispell!)
9222
9223         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9224
9225         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9226
9227 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9228
9229         * vspace.C: initialise lyxgluelength on failure
9230
9231 2001-11-28  Allan Rae  <rae@lyx.org>
9232
9233         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9234         declaration & definition that looks like a function declaration.
9235
9236 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9237
9238         * BufferView2.C (copy):
9239         (copyEnvironment): do not clear the selection when doing a copy.
9240
9241         * text.C (paintFirstRow): compilation fix
9242
9243 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9244
9245         * tabular.C (Latex): correct line count when writing latex.
9246
9247 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9248
9249         * paragraph_pimpl.h:
9250         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9251           bug a bit
9252
9253 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9254
9255         * text.C:
9256         * LColor.h:
9257         * LColor.C: change vfillline->added_space
9258
9259         * text.C: add markers and text for added space
9260
9261         * vspace.C: fix comment
9262
9263 2001-11-28  André Pönitz <poenitz@gmx.net>
9264
9265         * paragraph.C: whitespace changes
9266         * all the other files from the change on 2001/11/26:
9267         change *::pos_type into lyx::pos_type
9268
9269 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9270
9271         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9272         language of the document when inserting error insets.
9273
9274 2001-11-26  André Pönitz <poenitz@gmx.net>
9275
9276         * BufferView_pimpl.[Ch]:
9277         *       CutAndPaste.C:
9278         * buffer.[Ch]:
9279         * lyxcursor.[Ch]:
9280         * lyxfind.C:
9281         * lyxfunc.C:
9282         * lyxrow.[Ch]:
9283         * paragraph.[Ch]:
9284         * paragraph_pimpl.[Ch]:
9285         * sp_spell.C:
9286         * text.C:
9287         * text2.C: reduce header dependencies, introduce type for positions
9288
9289 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9290
9291         * <various>: change to use Alert.h
9292
9293 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9294
9295         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9296         when encountering an unknown token.
9297         (readLyXformat2): Show an error message if there were unknown tokens.
9298
9299 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9300
9301         * BufferView2.C:
9302         * BufferView_pimpl.C:
9303         * buffer.C:
9304         * paragraph.h:
9305         * text.C:
9306         * text2.C: use par->isInset()
9307
9308 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9309
9310         * paragraph_pimpl.h:
9311         * paragraph_pimpl.C: cleanup
9312
9313 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9314
9315         * text2.C (removeRow):
9316         * text.C (setHeightOfRow): remove useless (and costly) call to
9317         getRow.
9318
9319 2001-11-20  Allan Rae  <rae@lyx.org>
9320
9321         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9322         Now need Inset*::checkInsertChar() to return true for appropriate
9323         cases so that the characters in the minibuffer will actually be
9324         inserted.
9325
9326 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9327
9328         * text.C: change the order of the includes.
9329         (workWidth): initialize it at once.
9330         (workWidth): make maxw unsigned
9331         (setHeightOfRow): remove unused variable (inset)
9332         (selectSelectedWord): remove unused variable (inset)
9333         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9334
9335 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9336
9337         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9338         server is not running.
9339         (openConnection):
9340         (closeConnection): add debug info when server is disabled.
9341
9342         * ColorHandler.C (getGCForeground): send debug message to GUI
9343         channel.
9344
9345         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9346
9347         * kbmap.C (bind): modify because return conventions of
9348         kb_sequence::parse have changed.
9349
9350         * kbsequence.C (parse): only ignore spaces and not any stupid
9351         control character. This avoids tests like s[i] <= ' ', which are
9352         guaranteed to fail with 8bit characters and signed chars.
9353         Change return code to string::npos when there have been no error
9354         (0 was a bad idea when error is at first character)
9355
9356 2001-11-14  José Matos  <jamatos@fep.up.pt>
9357
9358         * buffer.h:
9359         * buffer.C (simpleDocBookOnePar): removed unused argument.
9360
9361 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9362
9363         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9364         insets which are part of a word. Paragraph::isLetter takes care of
9365         that now. Use Paragraph::isInset to identify insets.
9366         (selectSelectedWord): do not test for hyphenation break.
9367
9368         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9369         that protected spaces are considered as spaces.
9370
9371         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9372         Inset::isLetter.
9373
9374 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9375
9376         * lyxserver.h:
9377         * lyxserver.C: fix it. and small cleanup.
9378
9379 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9380
9381         * BufferView_pimpl.C: use inline helpers
9382
9383         * LaTeXFeatures.h:
9384         * LaTeXFeatures.C: fix typos
9385
9386         * Spacing.h:
9387         * Spacing.C: move spacing_string into class
9388
9389         * ToolbarDefaults.C: move stuff into namespace anon
9390
9391         * layout.h: update enum
9392
9393         * lyxfunc.C: use better debug
9394
9395         * minibuffer.h: fix typo
9396
9397         * debug.h:
9398         * debug.C:
9399         * WorkArea.C: add and use Debug::WORKAREA
9400
9401         * lyxtext.h:
9402         * text.C:
9403         * text2.C: code re-organisation, inline helpers
9404
9405 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9406
9407         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9408         std::vector.empty().
9409
9410 2001-11-09  Allan Rae  <rae@lyx.org>
9411
9412         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9413         '\n's after tables.  Tabular and ERT inset work now makes this no
9414         longer necessary.
9415
9416 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9417
9418         * minibuffer.h:
9419         * minibuffer.C: fix crash, improve drop-down completion
9420
9421 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9422
9423         * lyxserver.h:
9424         * lyxserver.C: invalidate fd's when doing endPipe()
9425
9426 2001-11-08  José Matos  <jamatos@fep.up.pt>
9427
9428         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9429         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9430
9431         * paragraph.h:
9432         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9433
9434 2001-11-07  José Matos  <jamatos@fep.up.pt>
9435
9436         * buffer.h:
9437         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9438         const qualifier.
9439
9440         * buffer.C (sgmlOpenTag):
9441         * buffer.C (sgmlCloseTag): removed debug info.
9442
9443         * buffer.h (sgmlOpenTag):
9444         * buffer.h (sgmlCloseTag): made public.
9445
9446 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9447
9448         * buffer.C (saveParamsAsDefaults):
9449         * lyx_cb.C (MenuLayoutSave): remove
9450
9451         * LyXAction.C (init):
9452         * commandtags.h:
9453         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9454
9455 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9456
9457         * buffer.C (setPaperStuff): removed from here...
9458
9459         * bufferparams.C (setPaperStuff): ... and moved there.
9460
9461 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9462
9463         * minibuffer.h:
9464         * minibuffer.C:
9465         * XFormsView.C: add support for drop-down completion
9466
9467 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9468
9469         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9470         commands.
9471
9472 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9473
9474         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9475         disabled.
9476
9477 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9478
9479         * lyx_main.C: change ref to known bugs
9480
9481 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9482
9483         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9484         to work around older babel problems.
9485
9486 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9487
9488         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9489
9490 2001-10-24  Juergen Vigna  <jug@sad.it>
9491
9492         * tabular-old.C (ReadOld): below variable changes reflected.
9493
9494         * tabular.[Ch]: added ltType struct for longtable header/footer
9495         defines and changed all instances where they are used. Added
9496         future support for double top/bottom rows.
9497
9498 2001-10-24  José Matos  <jamatos@fep.up.pt>
9499
9500         * buffer.h (docbookHandleCaption):
9501         * buffer.C (docbookHandleCaption): removed unused function.
9502         (makeDocBookFile): moved docbook supported version to v4.1.
9503
9504 2001-10-24  José Matos  <jamatos@fep.up.pt>
9505
9506         * tabular.h:
9507         * tabular.C (docbookRow): new function to export docbook code of a row.
9508         (DocBook): now honors the longtable flags.
9509
9510 2001-10-23  José Matos  <jamatos@fep.up.pt>
9511
9512         * LaTeXFeatures.h:
9513         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9514         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9515
9516         * buffer.C (makeLinuxDocFile):
9517         (makeDocBookFile): reworked the preamble, more clean, and with
9518         support for lyx defined entities. Changed the document declaration
9519         to be more XML friendly.
9520
9521         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9522         if we need to output XML that should be done with a filter.
9523
9524 2001-10-22  Juergen Vigna  <jug@sad.it>
9525
9526         * sp_pspell.h (class PSpell): add alive function needed in the
9527         controller to see if the spellchecker could be started.
9528
9529 2001-10-22  Juergen Vigna  <jug@sad.it>
9530
9531         * buffer.C (insertStringAsLines): modify the font for inserting
9532         chars in certain conditions by calling checkInsertChar(font).
9533
9534 2001-10-19  Juergen Vigna  <jug@sad.it>
9535
9536         * text.C (workWidth): use getRow instead of wrong algorithm.
9537         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9538
9539 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9540
9541         * lyxserver.h:
9542         * lyxserver.C:
9543         * lyx_main.h:
9544         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9545
9546 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9547
9548         * text.C (workWidth): do not search for the exact row when
9549         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9550         optimization for big documents.
9551
9552 2001-10-18  Juergen Vigna  <jug@sad.it>
9553
9554         * text.C (workWidth): new function with added Inset * parameter.
9555
9556 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9557
9558         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9559
9560         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9561         change return type of getColumnNearX.
9562
9563
9564         * text.C (changeRegionCase): use uppercase/lowercase instead of
9565         toupper/tolower.
9566         (leftMargin):
9567         (rightMargin): simplify code by factoring out the uses of
9568         textclasslist.
9569         (labelFill):
9570         (numberOfHfills):
9571         (setHeightOfRow):
9572         (appendParagraph): use Paragraph::size_type
9573
9574 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9575
9576         * vspace.C (asLatexString): add a missing break
9577
9578 2001-10-15  Herbert Voss  <voss@perce.de>
9579
9580         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9581
9582 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9583
9584         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9585         is not available.
9586
9587 2001-10-10  André Pönitz <poenitz@gmx.net>
9588
9589         * lyxfunc.C: removed greek_kb_flag.
9590
9591 2001-10-10  Herbert Voss  <voss@perce.de>
9592
9593         * lyx_main.C: delete global string help_lyxdir.
9594
9595 2001-10-09  Herbert Voss  <voss@perce.de>
9596
9597         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9598
9599         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9600
9601         * lyx_main.C: added global string help_lyxdir.
9602
9603         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9604
9605 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9606
9607         * lyxrc.C (set_font_norm_type): support iso8859-4
9608
9609 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9610
9611         * LaTeX.C (deplog): add another regex for MikTeX
9612
9613 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9614
9615         * lyxrc.C (set_font_norm_type): support iso8859-3
9616
9617 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9618
9619         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9620
9621         * LaTeXFeatures.C: remove special case of french and index
9622
9623         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9624         before \begin{document}). This solves several incompatibilities.
9625
9626 2001-10-03  Garst Reese  <reese@isn.net>
9627
9628         * lyx_cb.C: change CheckTex error msg.
9629
9630 2001-10-03  José Matos  <jamatos@fep.up.pt>
9631
9632         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9633
9634 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9635
9636         * .cvsignore: update
9637
9638         * lyx_main.C (commandLineVersionInfo): use new style version info.
9639
9640         * buffer.C (writeFile):
9641         (makeLaTeXFile):
9642         (makeLinuxDocFile):
9643         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9644
9645         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9646
9647         * version.h: update to use stuff in version.C
9648
9649         * version.C.in: new file. Contains version information determined
9650         at compile time. This is a merging of version.h and
9651         version_info.h.in.
9652
9653 2001-10-03  Juergen Vigna  <jug@sad.it>
9654
9655         * BufferView_pimpl.C (update): don't change "dirty" status in
9656         updateInset call.
9657
9658 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9659
9660         * WorkArea.C (c-tor): re-position version string slightly.
9661
9662 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9663
9664         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9665         revert to previous code.
9666
9667         WorkArea.[Ch]: (show, destroySplash): methods removed.
9668
9669         WorkArea.C: rework code so that it's an amalgam of the codes before and
9670         after the splash screen was moved to WorkArea.
9671
9672 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9673
9674         * lyxrc.C (read):
9675         * vspace.C (inPixels):
9676         (lyx_advance):
9677         * kbmap.C (bind):
9678         * buffer.C (insertStringAsLines):
9679         (asciiParagraph): fix types to be large enough
9680
9681         * lyxlex_pimpl.h: change member status from short to int
9682
9683         * layout.h: fix type of endlabeltype
9684
9685         * kbmap.C (bind):
9686         * kbsequence.C (parse): change return type to string::size_type
9687
9688         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9689         variable
9690
9691         * Bullet.C (bulletSize):
9692         (bulletEntry): do not use short ints as parameters
9693
9694         * BufferView2.C (insertLyXFile): change a char to an int.
9695
9696         * WorkArea.C (WorkArea): remove unneeded floats in computation
9697
9698 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9699
9700         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9701
9702         * paragraph.C (asString): Do not ignore newline/hfill chars when
9703         copying to the clipboard.
9704
9705 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9706
9707         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9708         after a multi-line inset.
9709
9710 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9711
9712         * paragraph.C (validate): Set NeedLyXFootnoteCode
9713
9714 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9715
9716         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9717         and decrease-error to decrease.
9718
9719 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9720
9721         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9722         it more readable (should be equivalent)
9723
9724 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9725
9726         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9727
9728 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9729
9730         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9731         of a cursor (row, etc.) after a character has been deleted
9732         (deleteEmptyParagraphMechanism): call the method above on _all_
9733         cursors held by the LyXText when a double space has been
9734         detected/deleted.
9735
9736 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9737
9738         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9739         pixmap.
9740         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9741
9742         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9743         background. Use greyOut() and the new show() methods to toggle between
9744         the foreground and background. Add code to remove the splash after
9745         its initial showing.
9746
9747         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9748         (create_forms): no longer call Dialogs::showSplash.
9749
9750 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9751
9752         * .cvsignore: add version_info.h
9753
9754 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9755
9756         * version_info.h.in: new file
9757
9758         * Makefile.am: add version_info.h.in
9759
9760         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9761         version_info.h instead of VERSION_INFO
9762
9763 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9764
9765         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9766         The ERT inset now returns string().
9767
9768 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9769
9770         * lyxtext.h, text.C (selectNextWord): renamed as
9771         selectNextWordToSpellcheck.
9772
9773         * text.C (selectNextWordToSpellcheck): Modified to not select
9774         words inside an ERT inset.
9775
9776 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9777
9778         * lyx_cb.C (MenuLayoutSave): change a bit the question
9779
9780         * sp_base.h: include <sys/types.h>
9781
9782 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9783
9784         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9785
9786 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9787
9788         * several files: fix typos in user-visible strings
9789
9790 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9791
9792         * text2.C (pasteSelection): do not set the selection, since it
9793         will be cleared later. Actually, the intent was to fix the way the
9794         selection was set, but I figured rmoving the code was just as good.
9795
9796 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9797
9798         * FontLoader.C (available): Check if font is available without
9799         loading the font.
9800
9801 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9802
9803         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9804
9805 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9806
9807         * lyxrc.[Ch]: added display_graphics variable and associated code.
9808
9809 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9810
9811         * bufferparams.C (hasClassDefaults): new method. Returns true if
9812         the buffer parameters correspond to known class defaults
9813
9814 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9815
9816         * XFormsView.C (show): set minimum size to the main window.
9817
9818 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9819
9820         * text2.C (copySelection):
9821         (cutSelection):
9822         * lyxfind.C (LyXReplace):
9823         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9824         LyXText::selectionAsString.
9825
9826         * paragraph.C (asString): add "label" argument to the second form
9827
9828         * text2.C (selectionAsString): add "label" argument and pass it to
9829         Paragraph::asString.
9830
9831 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9832
9833         * lyx_main.C (commandLineHelp): remove version information
9834
9835 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9836
9837         * lyx_main.C: add -version commandline option
9838
9839 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9840
9841         * paragraph.h: make the optional constructor arg required instead.
9842         some modifications to other files because of this.
9843
9844         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9845
9846         * lyxserver.C (C_LyXComm_callback): make it static
9847
9848         * lyx_main.C (error_handler): make it static
9849
9850         * lyx_gui.C (LyX_XErrHandler): make it static
9851
9852         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9853
9854         * WorkArea.C: make the extern "C" methods static.
9855
9856         * Makefile.am (lyx_LDADD): simplify
9857
9858 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9859
9860         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9861         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9862
9863         * LyXAction.C (init):
9864         * lyxfunc.C (dispatch): associated code removal.
9865
9866 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9867
9868         * lyxfont.h (isSymbolFont): shut off warning
9869
9870         * text.C (setHeightOfRow):
9871         (getVisibleRow): fix crash with empty paragraphs which have a
9872         bottom line
9873
9874 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9875
9876         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9877         code.
9878
9879 2001-09-04  José Matos  <jamatos@fep.up.pt>
9880         * buffer.C
9881         * buffer.h
9882         * tabular.C (docbook): rename docBook method to docbook.
9883
9884 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9885
9886         * Makefile.am: add dependencies to main.o.
9887
9888 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9889
9890         * FontLoader.C (available): Return false if !lyxrc.use_gui
9891
9892 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9893
9894         * FontInfo.C (query):
9895         * converter.C (view):
9896         * importer.C (Import):
9897         * exporter.C (Export): Can not -> cannot.
9898
9899 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9900
9901         * BufferView_pimpl.C: allow to create index inset even if
9902           string is empty
9903
9904 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9905
9906         * buffer.C (getLists): replace boost::tie code with an explicit pair
9907         as boost::tie can break some compilers.
9908
9909         * iterators.h: Added a std:: declaration to the return type of
9910         ParIterator::size.
9911
9912 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9913
9914         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9915           case.
9916
9917 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9918
9919         * iterators.[Ch]: New files. Provide paragraph iterators.
9920
9921         * buffer.C (changeLanguage): Use paragraph iterators.
9922         (isMultiLingual): ditto
9923
9924         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9925
9926 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9927
9928         * FontLoader.C: Support for cmr font.
9929
9930 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9931
9932         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9933         (available): New method.
9934
9935         * FontInfo.C (getFontname): Use scalable fonts even when
9936         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9937         found.
9938
9939 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9940
9941         * converter.C (Formats::view): reverted! Incorrect fix.
9942
9943 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9944
9945         * converter.C (Formats::view): only output the -paper option
9946         if the dvi viewer is xdvi, thereby fixing bug #233429.
9947
9948 2001-08-23  Herbert Voss  <voss@perce>
9949
9950         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9951
9952 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9953
9954         * Spacing.h (Spacing): Set space to Default on in the default
9955         constructor.
9956
9957 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9958
9959         * vc-backend.h (RCS::versionString): add RCS to version
9960         (CVS::versionString): add CVS to version
9961
9962         * vc-backend.C (scanMaster): do not add CVS to version.
9963         (scanMaster): do not add RCS to version
9964
9965         * lyxvc.C (versionString): new method
9966
9967         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9968
9969 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9970
9971         * Spacing.C (set): initialize fval
9972
9973 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
9974
9975         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9976         " or \.
9977
9978 2001-08-16  Juergen Vigna  <jug@sad.it>
9979
9980         * lyxfunc.C (dispatch): implemented the new FINISHED states.
9981
9982 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9983
9984         * BufferView_pimpl.C:
9985         * figureForm.C:
9986         * lyxtext.h:
9987         * text2.C: setParagraph takes linespacing now
9988
9989 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
9990
9991         * LyxAction.C: add internal LFUN_CITATION_INSERT
9992
9993         * LyXView.C: actually apply fix
9994
9995         * bufferlist.C: fix open non-existent file
9996
9997         * lyxfind.C: fix indentation
9998
9999         * lyxfunc.C: remove unneeded assert, fix typo
10000
10001 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10002
10003         * MenuBackend.C: use "Floatname List"
10004
10005 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10006
10007         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10008         when converting LaTeX layout to insetERT.
10009         Generate a non-collapsed float when reading old float
10010
10011 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10012
10013         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10014         ERT insets.
10015
10016 2001-08-13  Juergen Vigna  <jug@sad.it>
10017
10018         * text.C (fill): return 0 instead of 20 as this seems to be the more
10019         correct value.
10020
10021 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10022
10023         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10024         lyxrc.font_norm.
10025
10026 2001-08-13  Juergen Vigna  <jug@sad.it>
10027
10028         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10029         casesensitive off.
10030         (SearchBackward): comment out the unlocking of the inset_owner this
10031         should not be needed!
10032
10033 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10034
10035         * Many files: Remove inherit_language, and add latex_language
10036
10037         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10038         collapsible insets.
10039
10040 2001-08-10  Juergen Vigna  <jug@sad.it>
10041
10042         * text.C (prepareToPrint): fixed hfill-width in draw!
10043
10044         * BufferView2.C (selectLastWord): save the selection cursor as this
10045         now is cleared in the function LyXText::clearSelection!
10046
10047 2001-08-08  Juergen Vigna  <jug@sad.it>
10048
10049         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10050         BACKSPACE type functions.
10051
10052         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10053         is only cutted from the document but not put in the cut-buffer, where
10054         still the old stuff should be.
10055
10056         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10057
10058         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10059
10060         * tabular.C (SetWidthOfCell): fixed special case where the width
10061         was not updated!
10062         (LeftLine): handle '|' in align_special.
10063         (RightLine): ditto
10064         (LeftAlreadyDrawed): ditto
10065         (SetWidthOfCell): ditto
10066
10067 2001-08-07  Juergen Vigna  <jug@sad.it>
10068
10069         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10070
10071 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10072
10073         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10074         * lyxlex.[hC]: ditto
10075
10076 2001-08-06  Juergen Vigna  <jug@sad.it>
10077
10078         * text.C (getVisibleRow): fix up row clearing a bit.
10079
10080 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10081
10082         * minibuffer.C: make sure the X server sees the changes in the input.
10083
10084 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10085
10086         * paragraph.C (getFont): split into...
10087         (getLabelFont): this
10088         (getLayoutFont): and this
10089         * paragraph_pimpl.C (realizeFont): calling this
10090
10091         * text2.C (getFont): split into...
10092         (getLayoutFont): this
10093         (getLabelFont): and this
10094         (realizeFont): all three calling this
10095
10096         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10097         files where used.
10098
10099 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10100
10101         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10102
10103 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10104
10105         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10106         layouts from the Quote inset insertion.
10107
10108 2001-08-03  Juergen Vigna  <jug@sad.it>
10109
10110         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10111
10112         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10113         only if status not is already CHANGED_IN_DRAW (second level).
10114
10115         * text.C (draw): don't set the need_break_row when inside an
10116         InsetText LyXText.
10117
10118 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10119
10120         * buffer.C (parseSingleLyXformat2Token): handle more latex
10121         conversion cases.
10122
10123         * bufferview_funcs.[hC]: change function names to
10124         begin with small char, adjust other files.
10125
10126 2001-08-02  André Pönitz <poenitz@gmx.net>
10127
10128         * lyxfunc.C:
10129         BufferView_pimpl.C: remove broken special code for math-greek
10130
10131 2001-08-02  Juergen Vigna  <jug@sad.it>
10132
10133         * BufferView_pimpl.C (update): redone this function so that we
10134         update the text again if there was a CHANGE_IN_DRAW.
10135
10136         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10137         (drawFromTo): added a new internal bool which is used by draw() and
10138         redraw() function.
10139         (general): some cursor drawing problems fixed.
10140
10141 2001-08-01  Juergen Vigna  <jug@sad.it>
10142
10143         * lyxfind.C (LyXFind): fixed
10144         (SearchForward): ditto
10145         (SearchBackward): ditto
10146
10147         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10148         spurius drawing of the cursor in the main area.
10149
10150         * text2.C (status): small fix which could lead to a segfault!
10151         (clearSelection): remove unneeded BufferView param.
10152
10153 2001-08-01  André Pönitz <poenitz@gmx.net>
10154
10155         * lyxfunc.C: small change due to changed mathed interface
10156
10157 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10158
10159         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10160
10161 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10162
10163         * lyxfunc.c: fail gracefully if file doesn't exist
10164
10165         * LyXSendto.C:
10166         * buffer.C:
10167         * lyxfunc.C:
10168         * BufferView_pimpl.C: IsDirWriteable() proto changed
10169
10170         * LyXView.C: fix updateWindowTitle() to store the last title
10171
10172 2001-07-31  Juergen Vigna  <jug@sad.it>
10173
10174         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10175         the font (wrong since using of Paragraph::highestFontInRange).
10176
10177         * paragraph.C (highestFontInRange): added a default_size parameter.
10178
10179         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10180         (setHeightOfRow): reformat
10181
10182 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10183
10184         * converter.[hC] + affected files: move to (inital-char)lowercase
10185         function names.
10186
10187         * ParagraphParameters.C (ParagraphParameters): remove commented code
10188
10189         * PainterBase.[Ch]: remove commented code
10190
10191         * LaTeXFeatures.h: add "bool floats" for float.sty
10192
10193         * LaTeXFeatures.C (LaTeXFeatures): init floats
10194         (require): handle float
10195         (getPackages): do it with floats
10196
10197 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10198
10199         * BufferView_pimpl.C (Dispatch): improve handling of
10200         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10201
10202         * commandtags.h: #include lyxfont.h here temporarily to avoid
10203         keybinding bug.
10204
10205         * bufferlist.h: include LString.h here.
10206
10207 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10208
10209         * text2.C (getStringToIndex): new method.
10210
10211 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10212
10213         * *: Reduced header file dependencies all over.
10214
10215 2001-07-30  Baruch Even  <baruch@lyx.org>
10216
10217         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10218
10219 2001-07-29  Baruch Even  <baruch@lyx.org>
10220
10221         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10222
10223 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10224
10225         * ParameterStruct.h (endif): add a default constructor to make
10226         sure that all variables is initialized.
10227
10228         * ParagraphParameters.C (ParagraphParameters): adjust
10229
10230 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10231
10232         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10233         index; also, check that there is something to index, and that it
10234         does not span over several paragraphs.
10235         (doubleClick): use WHOLE_WORD_STRICT for double click.
10236
10237         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10238
10239         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10240         scheme.
10241
10242 2001-07-26  Baruch Even  <baruch@lyx.org>
10243
10244         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10245         an InsetFig figure, backwards compatible reading of old figure code.
10246
10247 2001-07-27  Juergen Vigna  <jug@sad.it>
10248
10249         * text2.C: font.realize function adaption.
10250
10251         * text.C (draw): add a warnings lyxerr text if needed.
10252
10253         * layout.C: font.realize function adaption.
10254
10255         * language.C: add inherit_language and implement it's handlings
10256
10257         * bufferview_funcs.C (StyleReset): remove language parameter from
10258         font creation (should be language_inherit now).
10259
10260         * bufferparams.C (writeFile): handle ignore_language.
10261
10262         * paragraph.C (getFontSettings): the language has to be resolved
10263         otherwise we have problems in LyXFont!
10264
10265         * lyxfont.C (lyxWriteChanges): added document_language parameter
10266         (update): removed unneeded language parameter
10267
10268         * paragraph.C (validate): fixed wrong output of color-package when
10269         using interface colors for certain fonts in certain environments,
10270         which should not seen as that on the final output.
10271
10272 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * BufferView_pimpl.C:
10275         * Thesaurus.h:
10276         * Thesaurus.C:
10277         * Makefile.am:
10278         * commandtags.h:
10279         * LyXAction.C: add thesaurus support
10280
10281         * lyxfind.h:
10282         * lyxfind.C: add "once" parameter, for thesaurus, to not
10283           move to the next match
10284
10285 2001-07-26  Juergen Vigna  <jug@sad.it>
10286
10287         * lyxfont.C (realize): honor ignore_language too!
10288         (resolved): ditto.
10289
10290         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10291
10292         * text.C (draw): one place more for ignore_language to not draw
10293         itself!
10294
10295 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10296
10297         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10298
10299 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10300
10301         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10302         the minipage conversion problem.
10303
10304 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10305
10306         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10307         insert an inset.
10308
10309 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10310
10311         * BufferView.h: don't forward declare WorkArea
10312
10313         * BufferView.C: don't include WorkArea.h
10314
10315 2001-07-25  André Pönitz <poenitz@gmx.net>
10316
10317         * commandtags.h:
10318         * LyXAction.C:
10319         * lyxfunc.C:  new LFUN 'math-space'
10320
10321         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10322
10323 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10324
10325         * text2.C (toggleInset): call open/close
10326
10327 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10328
10329         * lyxfunc.C (dispatch): add debug for the disabled case
10330
10331         * font.C (buttonText): make similar to rectText
10332
10333         * buffer.C (readInset): comment out parsing of insetlist and
10334         insttheorem
10335
10336         * PainterBase.C (rectText): small correction
10337
10338         * BufferView_pimpl.C: comment out insettheorem and insetlist
10339         * LyXAction.C: ditto
10340         * commandtags.h: ditto
10341
10342 2001-07-24  Juergen Vigna  <jug@sad.it>
10343
10344         * text.C (draw): honor the ignore_language.
10345
10346         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10347
10348 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10349
10350         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10351         char inset.
10352
10353 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10354
10355         * lyxtext.h: remove unused (and unimplemented) methods
10356
10357 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10358
10359         * text.C (getVisibleRow): honor background color
10360
10361         * PainterBase.h:
10362         * Painter.h: remove default color argument for fillRectangle
10363
10364         * text.C (backgroundColor): new method
10365
10366 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10367
10368         * text.C (getVisibleRow): adjust
10369
10370         * font.[Ch] (rectText): new method, metrics
10371         (buttonText): new method, metrics
10372
10373         * PainterBase.[hC]: make rectText and buttonText always draw and take
10374         fewer paramteres.
10375
10376 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10377
10378         * ToolbarDefaults.C (read):
10379         * MenuBackend.C (read): allow escaping in all strings
10380
10381         * BufferView_pimpl.C (insertAndEditInset): new method.
10382         (Dispatch): use insertAndEditInset whenever appropriate.
10383
10384         * BufferView_pimpl.C (insertNote): removed
10385
10386         * BufferView_pimpl.C (smartQuote): new method, moved from
10387         BufferView; if an insetquote cannot be inserted, insert a '"'
10388         character instead.
10389
10390         * BufferView2.C: remove insertCorrectQuote();
10391
10392         * lyxfunc.C (getStatus): Add support for all remaingin
10393         inset-insert lfuns.
10394
10395         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10396
10397         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10398         command (necessary to pass " as parameter of self-insert.
10399
10400         * text.C (selectWordWhenUnderCursor):
10401         (selectWord): add word_location parameter
10402         (selectWordWhenUnderCursor): same + remove special code for word
10403         boundary.
10404         (selectNextWord): use kind() to guess type of insetspecialchar,
10405         not latex().
10406
10407         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10408         (insertErtContents): create ert insets as collapsed.
10409         (readInset): better compatibility code for Info inset.
10410
10411 2001-07-20  Juergen Vigna  <jug@sad.it>
10412
10413         * lyxfunc.C (dispatch): use always LyXFind now!
10414
10415         * text2.C (init): add a reinit flag so that the LyXText can be
10416         reinited instead of deleted and reallocated (used in InsetText).
10417
10418         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10419
10420         * text.C: ditto
10421
10422         * text2.C: ditto
10423
10424 2001-07-18  Juergen Vigna  <jug@sad.it>
10425
10426         * text.C (selectNextWord): handle insets inside inset by calling
10427         always the bv->text functions so that we can go up the_locking_inset!
10428
10429         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10430         in strange locations when inside an inset!
10431
10432         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10433         handling to include insets.
10434
10435         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10436
10437 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10438
10439         * LyXAction.C (init):
10440         * commandtags.h:
10441         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10442         LIGATURE_BREAK, since the name is so stupid.
10443
10444 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10445
10446         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10447         InsetInfos.
10448
10449         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10450
10451         * sp_form.[Ch]: remove.
10452
10453         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10454
10455         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10456         InsetInfo.
10457
10458         * src/buffer.C (readInset): ditto.
10459
10460 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10461
10462         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10463         menuSeparator(), endOfSentenceDot(), ldots() and
10464         hyphenationPoint(), which are therefore removed.
10465         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10466
10467         * LyXAction.C (init):
10468         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10469
10470         * paragraph.C (getWord): removed.
10471
10472         * BufferView_pimpl.C (Dispatch): use last word or selection for
10473         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10474
10475         * lyx_main.C (queryUserLyXDir): do not ask before creating
10476         user_dir, except if it has been named explicitely.
10477
10478 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10479
10480         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10481         a document of zero size.
10482
10483 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10484
10485         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10486         approriately in the c-tor and in require().
10487         (getPackages): output the appropriate LaTeX for natbib support.
10488
10489         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10490         variables "use_natbib" and "use_numerical_citations" when reading the
10491         LyX file.
10492         (readInset): read the various natbib cite commands.
10493         (validate): white-space change.
10494
10495         * bufferparams.[Ch]: new variables "bool use_natbib" and
10496         "bool use_numerical_citations".
10497         (writeFile): output them in the LyX file.
10498
10499 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10500
10501         * lyxfunc.C (getStatus): add support for all the inset insertion
10502         commands.
10503
10504         * text2.C (insertInset):
10505         * paragraph.C (insetAllowed):
10506         * BufferView_pimpl.C (insertInset): update to take in account the
10507         renaming of insertInsetAllowed
10508
10509         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10510
10511         * text2.C (getInset): new method. returns inset at cursor position.
10512
10513         * BufferView_pimpl.C (Dispatch): changes because of this.
10514
10515         * LyXAction.C (init): rename open-stuff to inset-toggle.
10516
10517         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10518
10519         * text2.C (toggleInset): renamed from openStuff; use
10520         Inset::open().
10521
10522 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10523
10524         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10525
10526         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10527
10528 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10529
10530         * buffer.C (readLyXformat2): Add filename to the error dialog
10531
10532 2001-07-18  Juergen Vigna  <jug@sad.it>
10533
10534         * tabular.C (GetCellNumber): put an assert here instead of the check!
10535
10536 2001-07-17  Juergen Vigna  <jug@sad.it>
10537
10538         * BufferView_pimpl.C (toggleSelection): adapted too.
10539
10540         * text.C (selectNextWord): adapted for use with insets.
10541         (selectSelectedWord): ditto
10542
10543 2001-07-17  Juergen Vigna  <jug@sad.it>
10544
10545         * sp_spell.C (PSpell): fix initialitation order.
10546
10547 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10548
10549         * paragraph.C: spacing
10550
10551 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10552
10553         * sp_spell.C: repair language selection for pspell
10554
10555 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10556
10557         * lyxfunc.h: change more methods to begin with lower char.
10558
10559 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10560
10561         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10562         for unknown layouts.
10563
10564 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10565
10566         * buffer.C (readLyXformat2): Generate an error dialog if there are
10567         unknown layouts.
10568
10569 2001-07-16  Juergen Vigna  <jug@sad.it>
10570
10571         * sp_spell.C: always compile ISpell part.
10572
10573         * lyxrc.C: added use_pspell entry and it's handling.
10574
10575 2001-07-13  Juergen Vigna  <jug@sad.it>
10576
10577         * sp_spell.C: removed double includes.
10578
10579 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10580
10581         Consistent use of Lsstream.h:
10582         * Lsstream.h: added using std::stringstream for consistencies sake.
10583
10584         * buffer.C: removed using std::stringstream
10585
10586         * lyxfont.C (stateText):
10587         * paragraph.C (asString):
10588         * text.C (selectNextWord, selectSelectedWord):
10589         * text2.C (setCounter):
10590         * vspace.C (asString, asLatexString):
10591         std::ostringstream -> ostringstream.
10592
10593 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10594
10595         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10596         * commandtags.h: add LFUN_HELP_ABOUTLYX
10597         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10598
10599 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10600
10601         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10602         cursorToggle()
10603         * lyx_gui_misc.C: remove spellchecker
10604         * lyxfunc.C: showSpellchecker
10605         * sp_base.h: added
10606         * sp_ispell.h: added
10607         * sp_pspell.h: added
10608         * sp_spell.C: added
10609         * sp_form.[Ch]: removed
10610         * spellchecker.[Ch]: removed
10611
10612 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10613
10614         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10615         is set.
10616         (simpleTeXSpecialChars): Simply print the input character without
10617         any special translation if pass_thru is set.
10618
10619         * layout.h: Added bool pass_thru to layout class for being able to
10620         implement pass through of a paragraph for Literate Programming.
10621
10622         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10623         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10624         * layout.C (Read): add "passthru" to list of layout tags and add
10625         code to set the pass_thru boolean when it is read.
10626
10627 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10628
10629         * trans_decl.h: remove allowed from KmodInfo
10630
10631         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10632         remove allowed code
10633         (Load): adjust
10634
10635         * paragraph_pimpl.C (erase): use boost::prior
10636
10637         * Painter.C (text): use data() instead of c_str() when length is
10638         also provided.
10639         * WorkArea.C (putClipboard): ditto
10640         * font.h (width): ditto
10641
10642         * BufferView2.C: use it-> instead of (*it). for iterators
10643         * texrow.C: ditto
10644         * paragraph_pimpl.C: ditto
10645         * paragraph.C: ditto
10646         * minibuffer.C: ditto
10647         * language.C: ditto
10648         * kbmap.C: ditto
10649         * encoding.C: ditto
10650         * counters.C: ditto
10651         * converter.C: ditto
10652         * chset.C: ditto
10653         * Variables.C: ditto
10654         * TextCache.C: ditto
10655         * MenuBackend.C: ditto
10656         * LyXAction.C: ditto
10657         * LColor.C: ditto
10658         * FloatList.C: ditto
10659         * DepTable.C: ditto
10660         * ColorHandler.C (LyXColorHandler): ditto
10661
10662 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10663
10664         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10665
10666         * text2.C (openStuff): reintroduce this method (which had been
10667         nuked in NEW_INSETS frenzy).
10668
10669         * lyxfunc.C (Dispatch): when an action has not been handled, use
10670         its name in the error message, not its number.
10671
10672         * paragraph.C (inInset): change method name to begin with lowercase.
10673
10674         * undo_funcs.C:
10675         * text2.C: updates because of this.
10676
10677 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10678
10679         * ToolbarDefaults.C (add): add spaces in error message
10680
10681 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10682
10683         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10684         (readLyXformat2): rename return_par to first_par, use lyxlex's
10685         pushToken and remove the manual push handling.
10686         (parseSingleLyXformat2Token): add another ert comp. variable:
10687         in_tabular, rename return_par to first_par. handle newlines better
10688
10689 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10690
10691         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10692
10693 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10694
10695         * text2.C (getParFromID): removed
10696
10697         * buffer.C (getParFromID): new method moved form lyxtext.
10698         * BufferView2.C (insertErrors): adjust
10699         (setCursorFromRow): adjust
10700         * BufferView_pimpl.C (restorePosition): adjust
10701         * lyxfunc.C (Dispatch): adjust
10702         * undo_funcs.C (textUndo): adjust
10703         (textRedo): adjust
10704         (textHandleUndo): adjust
10705         (textHandleUndo): adjust
10706
10707 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10708
10709         * buffer.C: up' the LYX_FORMAT
10710
10711         * lyxfont.h: turn NO_LATEX on as default
10712
10713         * buffer.C (insertErtContents): new methods of tex style compability.
10714         (parseSingleLyXformat2Token): use it several places.
10715         * tabular.C (OldFormatRead): and here
10716
10717 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10718
10719         * text2.C: remove some commented code.
10720         reindent file.
10721
10722         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10723         * trans.C: changes because of the above.
10724
10725 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10726
10727         * text2.C (setCounter): Fix counters bug with bibliography layout.
10728
10729 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10730
10731         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10732         own member functions
10733         (simpleTeXSpecialChars): ditto
10734
10735 2001-07-06  Juergen Vigna  <jug@sad.it>
10736
10737         * a lot of files: changed the access to LyXText::status and the
10738         call of undo-functions.
10739
10740         * undo.[Ch]: added a inset_id to the undo informations.
10741
10742         * undo_funcs.[Ch]: added and moved here all undo functions.
10743
10744         * lyxtext.h: give the status enum a weight, made status_ a private
10745         variable and made accessor functions for it, removed the whole bunch
10746         of undo-functions as they are now in their own file, make some
10747         functions publically available. Added function ownerParagraph with
10748         int parameter.
10749
10750         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10751         made InInset() a const function, added getParFromID() function.
10752
10753         * buffer.[Ch]: added const version for inset_iterator functions,
10754         added getInsetFromID() function.
10755
10756         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10757         changed undo functions for new version.
10758
10759 2001-07-05  Juergen Vigna  <jug@sad.it>
10760
10761         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10762         unknow mechanism does not call the proper constructor but only this
10763         one also if I request the other!?
10764
10765 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10766
10767         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10768
10769         * text2.C (LyXText): use initialization lists.
10770
10771         * lyxtext.h (Selection): initialize set_ and mark_
10772         (init): remove method
10773
10774 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10775
10776         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10777
10778 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10779
10780         * screen.[Ch]: change method names to begin with lowercase
10781
10782         * BufferView_pimpl.C (updateScrollbar): simplify further and
10783         hopefully make it a bit faster.
10784
10785 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10786
10787         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10788         calling directly xforms functions.
10789
10790         * Painter.C (Painter):
10791         * lyx_cb.C (MenuWrite):
10792         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10793         fl_display.
10794
10795         * lyx_gui.C: remove bogus guiruntime extern declaration.
10796
10797 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10798
10799         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10800         in NEW_INSETS
10801         (redoDrawingOfParagraph): ditto
10802         (redoParagraphs): ditto
10803         (cutSelection): don't create a object for CutAndPaste use the
10804         static method directly
10805         (pasteSelection): ditto
10806
10807         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10808         LyXview (+ rename)
10809
10810 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10811
10812         * modifications to some other files because of this.
10813
10814         * Makefile.am (lyx_SOURCES): add XFormsView
10815
10816         * XFormsView.[Ch]: new files
10817
10818         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10819         the main window. Move the gui dependent stuff to XFormsView
10820
10821 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10822
10823         * tabular.C (GetCellInset): update cur_cell also in the row/col
10824         version of this function.
10825
10826         * lyxfunc.C: no need to include figure_form.h here.
10827
10828         * FontLoader.h:
10829         * lyxfunc.h:
10830         * lyxscreen.h:
10831         * text2.C:
10832         * lyxvc.C: no need to include forms.h here.
10833
10834 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10835
10836         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10837
10838         * lyxfunc.C (Dispatch):
10839         * Spacing.C (set):
10840         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10841         constructor argument.
10842
10843 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10844
10845         * paragraph.C (Paragraph): dont't clear, and just set layout.
10846         (makeSameLayout): use params's copy contructor.
10847
10848         * ParagraphParameters.[Ch] (makeSame): delete method
10849
10850 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10851
10852         * Variables.[Ch]: fix indentation, rename set to isSet
10853
10854 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10855
10856         * lyxfunc.C (Dispatch): fix typo
10857
10858 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10859
10860         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10861         upper_bound.
10862
10863         * bufferlist.C: include assert.h for emergencyWrite().
10864
10865 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10866
10867         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10868           give up at last (bug #425202) !
10869
10870 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10871
10872         * lyx_gui_misc.C:
10873         * sp_form.h:
10874         * sp_form.C:
10875         * spellchecker.h:
10876         * spellchecker.C: strip spellchecker options and bring up
10877           preferences tab instead
10878
10879 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10880
10881         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10882         the istringstream constructor
10883
10884 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10885
10886         * paragraph.C (getLayout): fix return value
10887
10888         * paragraph.h: do not declare getLayout as inline.
10889
10890         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10891
10892 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10893
10894         * lyxcursor.h (operator<): new func
10895         (operator>): new func
10896         (operator>=): new func
10897         (operator<=): new func
10898
10899         * text.C (changeCase): use selection.start and selection.end
10900         (changeRegionCase): require from to be <= to. Require par to be a
10901         valid paragraph.
10902
10903         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10904
10905 2001-06-27  Juergen Vigna  <jug@sad.it>
10906
10907         * text.C (cursorLeftOneWord): changed to return the cursor and added
10908         overlay with BufferView * parameter which calls this one.
10909         (getWord): added
10910         (selectWord): use new getWord function.
10911         (changeCase): renamed from changeWordCase as and extended to work
10912         also on selections.
10913
10914         * lyxtext.h: added enum word_location
10915
10916         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10917         changeCase as this operates now also on selections.
10918
10919 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10920
10921         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10922
10923         * many files: send debug output to Debug::INFO instead of
10924         Debug::ANY.
10925
10926         * converter.C (View):
10927         (Convert):
10928         (Move): send debug output to Debug::FILES instead of console.
10929
10930 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10931
10932         * lyxfunc.C (getStatus): use func_status
10933
10934         * func_status.h: new header, describing the results of
10935         LyXFunc::getStatus;
10936
10937         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10938         LFUN_MATH_HALIGN.
10939
10940 2001-06-25  The LyX Project  <jug@sad.it>
10941
10942         * buffer.C (sgmlOpenTag):
10943         (sgmlCloseTag):
10944         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10945
10946 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10947
10948         * text2.C: remove some dead code
10949
10950         * tabular.C (GetCellInset): store the last cell checked (gotten)
10951
10952         * tabular.h: add the helper for the speedup
10953
10954         * lyxtext.h: remove some dead code
10955
10956 2001-06-26  The LyX Project  <Asger>
10957
10958         * paragraph.C: Change export to LaTeX of alignment to
10959         \begin{center} and family for better roundtrip work with reLyX.
10960
10961         * Tune the math drawing a bit.
10962
10963 2001-06-25  The LyX Project  <Asger>
10964
10965         * LColor.C (LColor): New color for math background. New color
10966         for buttons.
10967
10968 2001-06-25  The LyX Project  <jug@sad.it>
10969
10970         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10971
10972         * lyxfunc.C (Open):
10973         * bufferlist.C (newFile): do not restrict to files ending with
10974         .lyx
10975
10976         * BufferView_pimpl.C (MenuInsertLyXFile):
10977
10978 2001-06-24  The LyX Project  <jug@sad.it>
10979
10980         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10981         of compare_no_case
10982
10983 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10984
10985         * lyxtext.h: rename most methods to begin with a small char.
10986         Lots of changes because of this.
10987
10988         * paragraph.C (Paragraph): do not call fitToSize
10989         (erase): call Pimpl::erase
10990         (insertChar): call Pimpl::insertChar
10991         (insertInset): call Pipl::insertInset
10992         (breakParagraph): do not call fitToSize
10993         (breakParagraphConservative): do not call fitToSize
10994         (fitToSize): remove method
10995
10996         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10997
10998 2001-06-24  The LyX Project  <Asger>
10999
11000         * Fix Qt compilation^2
11001
11002 2001-06-24  The LyX Project  <jug@sad.it>
11003
11004         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11005         depthHook(getDepth()-1).
11006
11007         * paragraph.h:
11008         * ParagraphParameters.h:
11009         * ParameterStruct.h: change type of depth to unsigned int ==
11010         depth_type. Many adaptations to other files before of that.
11011
11012 2001-06-24  The LyX Project  <Asger>
11013
11014         * Fix Qt compilation.
11015
11016 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11017
11018         * paragraph.h: renamed several methods to begin with small letter.
11019         several changes to many parts of the code because of this.
11020
11021 2001-06-23  The LyX Project  <jug@sad.it>
11022
11023         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11024         rewritten to discard all double spaces when KeepEmpty is off
11025         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11026         to only handle newlines but not fiddle with spaces and friends.
11027
11028         * lyxfunc.C (MenuNew): when doing 'new from template', use
11029         template_path as default directory
11030
11031 2001-06-23  The LyX Project  <Asger>
11032
11033         * Clean-up of header file includes all over
11034         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11035
11036 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11037
11038         * paragraph.h: renamed from lyxparagraph.h
11039
11040 2001-06-23  Asger  <lyx@violet.home.sad.it>
11041
11042         * Buffer.h: Removed Buffer::resize
11043         * BufferList.h: Removed BufferList::resize
11044         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11045         the document lazily when we change the width, or the font settings.
11046
11047 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11048
11049         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11050
11051 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11052
11053         * buffer.h: remove out of date comment
11054
11055 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11056
11057         * lyxscreen.h:
11058         * screen.C: fix "theoretical" GC leak
11059
11060 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11061
11062         * LaTeX.C (scanAuxFile):
11063         (deplog): remove trailing \r when reading stream (useful under
11064         win32)
11065
11066 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11067
11068         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11069         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11070         and BufferView::theLockingInset(Inset*), so should use them and not
11071         access bv_->text->the_locking_inset directly.
11072
11073         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11074
11075 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11076
11077         * Makefile.am:
11078         * tex-defs.h: remove old unused file
11079
11080 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11081
11082         * BufferView_pimpl.C: fix typo, remove minibuffer message
11083           when buffer has loaded
11084
11085 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11086
11087         * lyxfunc.C (Dispatch): use stringstream
11088         (MenuNew): use stringstream
11089         (Open): use stringstream
11090
11091         * importer.C (Import): use stringstream
11092
11093         * bufferview_funcs.C (CurrentState): use stringstream
11094
11095         * LaTeX.C (run): use stringstream
11096
11097         * BufferView_pimpl.C (savePosition): use stringstream
11098         (restorePosition): use stringstream
11099         (MenuInsertLyXFile): use stringstream
11100
11101 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11102
11103         * BufferView.C:
11104         * Bullet.C:
11105         * ColorHandler.C:
11106         * FontInfo.C:
11107         * FontLoader.C:
11108         * LColor.C:
11109         * LaTeXFeatures.C:
11110         * Painter.C:
11111         * gettext.C:
11112         * lyx_gui_misc.C:
11113         * lyxserver.C:
11114         * vspace.C: removed // -*- C++ -*- as first line.
11115
11116         * lyxfind.h:
11117         * version.h: added // -*- C++ -*- as first line.
11118
11119 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11120
11121         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11122
11123         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11124         of string
11125
11126 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11127
11128         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11129         of floats.
11130
11131 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11132
11133         * gettext.C: include LString.h even when --disable-nls is on.
11134
11135 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11136
11137         * converter.h (Get): changed argument type from int to
11138         FormatList::size_type to avoid unnecessary conversion.
11139
11140         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11141         before using it.
11142
11143 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11144
11145         * gettext.h: include LString.h even when --disable-nls is on.
11146
11147 2001-06-07  Juergen Vigna  <jug@sad.it>
11148
11149         * text.C (BreakAgain): subst spaces with tabs.
11150
11151         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11152         (resizeInsetsLyXText): set force on resizeLyXText.
11153
11154 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11155
11156         * gettext.h (gettext_init):
11157         (locale_init): use a real definition instead of a macro
11158
11159 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11160
11161         * Bufferview_pimpl.C:
11162         * LColor.h:
11163         * LColor.C: further lcolor tidies
11164
11165 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11166
11167         * BufferView_pimpl.C (updateScrollbar): simplify.
11168
11169         * BufferView2.C: don't include insets/insetinfo.h, change
11170         prototype for insertInset and call the Pimpl version. let
11171         updateInset call Pimpl version.
11172
11173         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11174         gotoInset to BufferView::Pimpl
11175
11176 2001-06-01  Juergen Vigna  <jug@sad.it>
11177
11178         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11179         inside a LockingInset (is the update needed at all?).
11180
11181 2001-05-31  Juergen Vigna  <jug@sad.it>
11182
11183         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11184         here not the old one otherwise how should we compare it afterwards
11185         if it's the same!
11186
11187 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11188
11189         * lyxfont.C:
11190         * tabular.C:
11191         * tabular-old.C:
11192         * FontInfo.C: bring C functions into global namespace when
11193         necessary
11194
11195 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11196
11197         * LString.h: make sure config.h has been loaded before LString.h.
11198
11199         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11200         (one for each char read by EatLine!).
11201
11202         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11203         variables.
11204
11205 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11206
11207         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11208         to the same as the par we break from
11209
11210 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11211
11212         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11213
11214         * MenuBackend.C (expand): also create menu entries for wide
11215         versions of the floats.
11216
11217         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11218
11219         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11220
11221         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11222         frontends/Makefile.am
11223
11224         * text2.C: adjust
11225         * text.C: adjust
11226
11227
11228         * tabular.C (getTokenValue): add std::
11229
11230         * tabular-old.C (getTokenValue): add std::
11231         (getTokenValue): ditto
11232         (getTokenValue): ditto
11233
11234         * screen.C (ToggleSelection): adjust
11235
11236         * lyxtext.h: put selection cursors inside a Selection struct.
11237
11238         * lyxfunc.C (moveCursorUpdate): adjust
11239
11240         * lyxfont.C (latexWriteStartChanges): add std::
11241
11242         * lyxfind.C: adjust
11243
11244         * font.h: delete with(char const *, LyXFont const &)
11245
11246         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11247
11248         * FontInfo.C (getFontname): add std::
11249
11250         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11251         (workAreaButtonPress): adjust
11252         (tripleClick): adjust
11253         (update): adjust
11254         (moveCursorUpdate): adjust
11255         (Dispatch): adjust
11256
11257         * BufferView2.C (gotoInset): adjust
11258
11259 2001-05-30  Juergen Vigna  <jug@sad.it>
11260
11261         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11262         to check pspell I add this as default as I now have new pspell
11263         libraries and they seem to use this.
11264
11265 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11266
11267         * text2.C (CutSelection): make the cursor valid before the call to
11268         ClearSelection.
11269
11270 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11271
11272         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11273         relied on 0 terminated strings and other horrors. Bug found due to
11274         the new assert in lyxstring!
11275
11276         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11277         KP_ keys.
11278
11279 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11282         to latinkeys.bind.
11283
11284         * lyxfunc.C (processKeySym): change method of getting to the
11285         self-insert char.
11286
11287         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11288         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11289         * BufferView_pimpl.[Ch]: here as private methods.
11290
11291 2001-05-28  Juergen Vigna  <jug@sad.it>
11292
11293         * text.C (SetHeightOfRow): added the update() call again as it is
11294         needed to initialize inset dimensions!
11295
11296 2001-05-16  Juergen Vigna  <jug@sad.it>
11297
11298         * text2.C (SetCharFont): Add new function with BufferView * and
11299         bool toggleall parameters for setting insets internal fonts.
11300         (SetFont): Freeze the undo as we may change fonts in Insets and
11301         all this change should be inside only one Undo!
11302
11303         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11304         setting font's in insets as for them we have the SetFont function!
11305
11306 2001-05-15  Juergen Vigna  <jug@sad.it>
11307
11308         * text2.C (ClearSelection): to be sure we REALLY don't have any
11309         selection anymore!
11310
11311         * tabular.C (TeXCellPreamble): fixed the left border problem for
11312         multicolumn cells.
11313
11314 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11315
11316         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11317         dependancy file
11318
11319 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11320
11321         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11322         LFUN_BREAKPARAGRAPH.
11323
11324         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11325         help test to "internal only", similar for LFUN_INSERT_URL
11326
11327         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11328         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11329         auto_region_delete and deadkeys.
11330
11331 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11332
11333         * LColor.h:
11334         * LColor.C: remove some dead entries, tidy a little
11335
11336 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11337
11338         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11339         commented code.
11340         (Dispatch): implement LFUN_ESCAPE
11341
11342         * commandtags.h: add LFUN_ESCAPE
11343
11344         * LyXAction.C (init): add entry for LFUN_ESCAPE
11345
11346         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11347         Remove commented code.
11348         (insertNote): moved here
11349         (open_new_inset): moved here
11350
11351         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11352         BufferView_pimpl
11353
11354 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11355
11356         * kbmap.C (findbinding): clean it up and make it work correctly.
11357
11358         * lyx_main.C (init): do not pass argc and argv as parameters
11359
11360 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11361
11362         * buffer.C: fix path for OS/2 & Win32
11363
11364         * lyx_gui.C:
11365         * lyx_main:
11366         * lyx_main.C: Added os:: class.
11367
11368         * os2_defines.h: update
11369
11370 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11371
11372         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11373         better by trying again with reduced state.
11374
11375 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11376
11377         * lyxrc.C (read): print error about invalid key sequence only when
11378         debugging (because not all latinX keysyms are known to some X
11379         servers)
11380
11381         * kbsequence.C (getiso): add a few std:: qualifiers
11382         (getiso): comment out extra return statement.
11383
11384 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11385
11386         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11387         handling.
11388         (Dispatch): enhance the accent inset a bit. (not perfect)
11389
11390 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11391
11392         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11393
11394 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11395
11396         * bufferlist.C (emergencyWrite): fix assert() call
11397
11398 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11399
11400         * text.C (InsertChar): Added trivial patch to only send the "you
11401         can not do multiple spaces this way" message once during a
11402         session.
11403
11404 2001-05-08  Baruch Even  <baruch@lyx.org>
11405
11406         * Makefile.am: Changed order of libraries to get LyX to link properly
11407         with the gnome frontend.
11408
11409 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11410
11411         * LaTeXFeatures.h: add a std:: qualifier
11412
11413 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11414
11415         * paragraph.C (String): use stringstream
11416
11417 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11418
11419         * paragraph.C (writeFile): remove footflag arg
11420
11421         * buffer.C (makeLaTeXFile): use stringstream
11422         (latexParagraphs): remove footnot gurba
11423
11424         * LaTeXFeatures.C (getPackages): use stringstream
11425         (getMacros): likewise
11426         (getTClassPreamble): likewise
11427         (getFloatDefinitions): new method
11428
11429         * paragraph.C (writeFile): reindent
11430         (Erase): reindent
11431
11432         * WorkArea.h: revert the xpos + etc changes.
11433
11434         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11435
11436         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11437
11438         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11439         (pasteSelection): likewise
11440         * text2.C (CreateUndo): likewise
11441
11442 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11443
11444         * minibuffer.C (peek_event): temporarily reduce the functionality
11445         of the minibuffer (to allow args on lfuns)
11446
11447         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11448         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11449
11450         * buffer.C (readInset): add compability reading of old float
11451         lists, add reading of new style float list.
11452         (readInset): avoid reevaluation of inscmd.getCmdName()
11453         (getLists): reindent
11454
11455         * MenuBackend.C (MenuItem): implement parsing of
11456         md_floatlistinsert and md_floatinsert.
11457         (expand::LastFiles): move initalizaton of iterators out of loop,
11458         avoid reevaluation.
11459         (expand::Documents): introduce typdedef vector<string> Strings,
11460         and use it.
11461         (expand::ExportFormats): introduce typedef vector<Format const *>
11462         Formats, and use it.
11463         (expand): implement FloatListInsert and FloatInsert.
11464
11465         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11466         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11467         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11468
11469         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11470         handling.
11471         (Dispatch::LFUN_FLOAT_LIST): implement
11472
11473 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11474
11475         * LaTeX.C (run): Fix problem with --export code.
11476
11477 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11478
11479         * BufferView.[Ch] (workarea): removed.
11480         (getClipboard) new method; wrapper for workarea()->getClipboard()
11481
11482         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11483         bug.
11484
11485         * WorkArea.h (width, height, xpos, ypos): These methods all
11486         returned the dimensions of the work_area sub-area of WorkArea,
11487         resulting in a position error if the WorkArea were resized. Now
11488         return the dimensions of the entire WorkArea.
11489
11490         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11491
11492 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11493
11494         * LaTeX.C (deplog): correct the syntax of regex reg1
11495
11496 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * undo.C: remove !NEW_INSETS cruft
11499
11500 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11501
11502         * text2.C: remove !NEW_INSETS cruft
11503
11504         * text.C: remove !NEW_INSETS cruft
11505
11506         * tabular.C: remove !NEW_INSETS cruft
11507
11508         * spellchecker.C: remove !NEW_INSETS cruft
11509
11510         * lyxtext.h: remove !NEW_INSETS cruft
11511
11512         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11513
11514         * lyxfunc.C: remove !NEW_INSETS cruft
11515
11516         * lyxfind.C: remove !NEW_INSETS cruft
11517
11518         * lyx_cb.C: remove !NEW_INSETS cruft
11519
11520         * figureForm.C: remove  !NEW_INSETS cruft
11521
11522         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11523
11524         * buffer.[Ch]: remove !NEW_INSETS cruft
11525
11526         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11527
11528         * CutAndPaste.C: remove !NEW_INSETS cruft
11529
11530         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11531
11532         * BufferView2.C: remove !NEW_INSETS cruft
11533
11534         * BufferView.h: remove !NEW_INSETS cruft
11535
11536 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11537
11538         * Lsstream.h: include LString.h before the sstream headers to
11539         fix problem with gcc 2.95.3 and lyxstring
11540
11541 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11542
11543         * lyx_main.C: add using directives when needed for C functions
11544         declared in std:: namespace.
11545
11546 2001-04-27  Juergen Vigna  <jug@sad.it>
11547
11548         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11549         (SetHeightOfRow): comment out the update call should not be needed!
11550
11551 2001-04-13  Juergen Vigna  <jug@sad.it>
11552
11553         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11554         (LyXTabular): tried to minimize operator= operations (and realized
11555         hopfully Lars wish).
11556
11557 2001-04-27  Juergen Vigna  <jug@sad.it>
11558
11559         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11560
11561 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11562
11563         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11564
11565         * buffer.C (readInset): hack to make listof algorithm work
11566
11567         * BufferView_pimpl.C: hack to make listof algorithm work
11568
11569 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11570
11571         * LyXAction.C: removed all !NEW_INSETS cruft
11572         (init): moved lfun_item in method
11573
11574         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11575
11576 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11577
11578         * BufferView2.C (theLockingInset): white space.
11579
11580 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11581
11582         * minibuffer.C: include <iostream>
11583
11584         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11585
11586         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11587
11588         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11589
11590         * text.[Ch] (TransposeChars): new method
11591
11592 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11593
11594         * call message directly through LyXView instead of through LyXFunc
11595         * BufferView2.C: adjust
11596         * BufferView_pimpl.C: adjust
11597         * FontLoader.C: adjust
11598         * buffer.C: adjust
11599         * bufferview_funcs.C: adjust
11600         * converter.C: adjust
11601         * figureForm.C: adjust
11602         * importer.C: adjust
11603         * lyx_cb.C: adjust
11604         * lyx_gui_misc.C: adjust
11605         * lyxfunc.C: adjust
11606         * lyxvc.C: adjust
11607         * text2.C: adjust
11608         + more files in subdirs
11609
11610         * lyxparagraph.h (size): move up int file
11611         (GetLayout): ditto
11612
11613         * adjust all uses of Assert to lyx::Assert.
11614
11615         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11616         lyxfunctional in namespace lyx
11617         * layout.C (hasLayout): ditto
11618         (GetLayout): ditto
11619         (GetLayout): ditto
11620         (delete_layout): ditto
11621         (NumberOfClass): ditto
11622         * converter.C (GetFormat): ditto
11623         (GetNumber): ditto
11624         (Add): ditto
11625         (Delete): ditto
11626         (SetViewer): ditto
11627         * bufferlist.C (getFileNames): ditto
11628         (emergencyWriteAll): ditto
11629         (exists): ditto
11630         (getBuffer): ditto
11631         * MenuBackend.C (hasSubmenu): ditto
11632         (hasMenu): ditto
11633         (getMenu): ditto
11634         * BufferView_pimpl.C (getInsetByCode): ditto
11635
11636 2001-04-18  Juergen Vigna  <jug@sad.it>
11637
11638         * vspace.C (asLatexString): fixed the 100% problem.
11639
11640 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11641
11642         * lyxfunc.C (Dispatch):
11643         * minibuffer.C:
11644         * minibuffer.h: add a few std:: qualifiers
11645
11646 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11647
11648         * minibuffer.[Ch]: reimplement so that commands is initiated and
11649         run from lyxfunc, simplified som handling, and made the completion
11650         and history code for complete. wip.
11651
11652         * lyxfunc.C (processKeySym): call message
11653         (miniDispatch): new temporary method
11654         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11655         (LFUN_MESSAGE): implement
11656         (LFUN_MESSAGE_PUSH): implement
11657         (LFUN_MESSAGE_POP): implement
11658         (initMiniBuffer): the initial/defualt minibuffer message.
11659
11660         * lyxfont.[Ch]: inline some more getters
11661
11662         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11663
11664         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11665
11666         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11667         (AutoSave): use LFUN_MESSAGE
11668         (Reconfigure): ditto
11669
11670         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11671
11672         * figureForm.C: use LFUN_MESSAGE
11673
11674         * converter.C (runLaTeX): use LFUN_MESSAGE
11675
11676         * bufferview_funcs.C: use LFUN_MESSAGE
11677         (Melt): ditto
11678         (changeDepth): ditto
11679
11680         * bufferparams.h: use boost::
11681
11682         * bufferlist.h: inherit privately from noncopyable
11683
11684         * bufferlist.C (loadLyXFile): remove some commented code.
11685
11686         * buffer.C (runChktex): use LFUN_MESSAGE
11687
11688         * ShareContainer.h: inherit privately from noncopyable
11689
11690         * ParagraphParameters.[hC] (depth): inline it.
11691
11692         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11693         methods.
11694         (message): new method
11695         (messagePush): ditto
11696         (messagePop): ditto
11697         (show): init minibuffer
11698         (showState): direct call
11699
11700         * LaTeX.[Ch]: inherit privately from noncopyable
11701         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11702         instead of WriteStatus.
11703
11704         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11705
11706         * BufferView_pimpl.C (buffer): don't init minibuffer
11707         (workAreaButtonPress): use LFUN_MESSAGE
11708         (workAreaButtonRelease): ditto
11709         (savePosition): ditto
11710         (restorePosition): ditto
11711         (MenuInsertLyXFile): ditto
11712         (workAreaExpose): don't init minibuffer
11713         (update): remove commented code, simplify
11714
11715         * BufferView2.C (openStuff): use LFUN_MESSAGE
11716         (toggleFloat): ditto
11717         (menuUndo): ditto
11718         (menuRedo): ditto
11719         (copyEnvironment): ditto
11720         (pasteEnvironment): ditto
11721         (copy): ditto
11722         (cut): ditto
11723         (paste): ditto
11724         (gotoInset): ditto
11725         (updateInset): remove some commented code
11726
11727         * lastfiles.h: inherit privately from noncopyable
11728         * layout.h: ditto
11729         * lyx_gui.h: ditto
11730         * lyx_main.h: ditto
11731         * lyxlex.h: ditto
11732         * lyxlex_pimpl.h: ditto
11733
11734         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11735         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11736         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11737
11738         * LyXAction.h: inherit privately from noncopyable, add methods
11739         func_begin, func_end, returning iterators to the func map.
11740
11741         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11742         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11743         (func_begin): new method
11744         (func_end): new method
11745
11746         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11747         and not)
11748         (copySelection): ditto
11749         (pasteSelection): ditto
11750
11751         * BufferView.C: whitespace change
11752         * BufferView.h: inherit privately from noncopyable
11753
11754 2001-04-16  Allan Rae  <rae@lyx.org>
11755
11756         * tabular-old.C (l_getline):
11757         * spellchecker.C (sc_check_word):
11758         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11759         an unrecognised preprocessor directive.  So ensure they're wrapped.
11760
11761 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11762
11763         * src/exporter.C (Export): Give an error message when path to file
11764         contains spaces.
11765
11766 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11767
11768         * LaTeX.C (deplog): Always check that foundfile exists.
11769
11770 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11771
11772         * lyx_main.h:
11773         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11774
11775 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11776
11777         * tabular.[Ch] (getLabelList): implement new method
11778
11779         * minibuffer.h: comment ouf setTiimer
11780
11781         * minibuffer.C (ExecutingCB): constify res
11782         (peek_event): constify s
11783         (Set): constify ntext
11784         (Init): constify nicename
11785
11786         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11787
11788         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11789         (savePosition): use two params to Minibuffer::Set
11790         (restorePosition): ditto
11791
11792 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11793
11794         * lyx_main.C: include language.h
11795
11796         * Makefile.am (lyx_main.o): add language.h
11797
11798 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11799
11800         * exporter.C:
11801         * paragraph.C:
11802         * screen.C:
11803         * tabular.C:
11804         * CutAndPaste.C: include gettext.h
11805
11806         * lyxfont.h: remove old hack with ON and OFF.
11807
11808         * lyxparagraph.h:
11809         * lyxfont.h: do not include language.h...
11810
11811         * BufferView2.C:
11812         * LaTeXFeatures.C:
11813         * Painter.C:
11814         * bufferview_funcs.C:
11815         * font.C:
11816         * lyxfont.C:
11817         * text.C:
11818         * text2.C:
11819         * trans_mgr.C:
11820         * paragraph.C: ... but do it here instead
11821
11822 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11823
11824         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11825
11826         * tabular.C: small reformat
11827
11828         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11829         NEW_INSETS version
11830         (GetChar): ditto
11831         (BreakParagraph): ditto
11832         (SetOnlyLayout): ditto
11833         (SetLayout): ditto
11834
11835         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11836         with one arg less.
11837
11838         * lastfiles.C: removed most using decl, add std:: where needed
11839
11840         * buffer.C: ws changes
11841
11842         * MenuBackend.C (class compare_format): put into anon namespace
11843         (expand): constify label, names, action, action2
11844         (expand):
11845
11846         * text.C (SingleWidth): constify font
11847         (IsBoundary): constify rtl2
11848         (GetVisibleRow): constify ww
11849
11850         * LaTeX.C (deplog): constify logfile
11851
11852         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11853         start_x, end_x
11854         (workAreaExpose): constify widthChange, heightChange
11855
11856         * lyxrow.C (par): moved
11857         (height): moved
11858         (next): moved
11859         * lyxrow.h: as inlines here
11860
11861         * lyxfont.h (shape): moved from lyxfont.C
11862         (emph): moved from lyxfont.C
11863
11864         * lyxfont.C (LyXFont): use initialization list for all
11865         constructors
11866         (shape): move to lyxfont.h as inline
11867         (emph): move to lyxfont.h as inline
11868
11869
11870 2001-04-04  Juergen Vigna  <jug@sad.it>
11871
11872         * vspace.C: had to include stdio.h for use of sscanf
11873
11874 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11875
11876         * BufferView.h:
11877         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11878         independent of xforms.
11879
11880 2001-04-02  Juergen Vigna  <jug@sad.it>
11881
11882         * spellchecker.C: fixed namespace placing!
11883
11884 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11885
11886         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11887         the LyXParagraph * is 0.
11888
11889 2001-03-29  Juergen Vigna  <jug@sad.it>
11890
11891         * vspace.C: added support for %, c%, p%, l%.
11892         (stringFromUnit): added helper function.
11893         (asLatexString): changed to give right results for the %-values.
11894
11895         * buffer.C: convert the widthp in a width%.
11896
11897 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11898
11899         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11900         figureForm.[Ch].
11901
11902         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11903         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11904
11905         * lyx_cb.[Ch]: see above.
11906
11907         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11908         form1.[Ch].
11909
11910         * form1.[Ch]:
11911         * lyx.[Ch]: replaced by figure_form.[Ch].
11912
11913         * lyx_gui.C:
11914         * lyx_gui_misc.C:
11915         * lyxfunc.C: changed headers associated with above changes.
11916
11917 2001-03-27  Juergen Vigna  <jug@sad.it>
11918
11919         * BufferView_pimpl.C: set the temporary cursor right!
11920
11921 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11922
11923         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11924
11925 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11926
11927         * LString.h: removed "using std::getline"!
11928
11929         * BufferView_pimpl.C (Dispatch): changes due to changes in
11930         InsetInclude::Params.
11931
11932         * buffer.C (tag_name): removed redundant break statements as they were
11933         producing lots of warnings with my compiler.
11934
11935 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11936
11937         * LString.h: add "using std::getline" when using the real <string>.
11938
11939 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11940
11941         * buffer.C: removed bitset usage.
11942         PAR_TAG moved to an anonymous name space.
11943         (tag_name): new funtion, also in the anonymous namespace.
11944         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11945         (makeDocBookFile): clean code. Completed transition from string arrays
11946         to string vectors.
11947         (SimpleDocBookOnePar): code clean.
11948
11949 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11950
11951         * tabular.C: add some comments.
11952
11953 2001-03-22  Juergen Vigna  <jug@sad.it>
11954
11955         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11956         compatibility read a bit and fixed bug with minipage in different
11957         depth.
11958
11959 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11960
11961         * buffer.C (pop_tag): removed.
11962         (push_tag): removed.
11963         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11964         array replaced with vector. Added support for CDATA sections.
11965         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11966         at any nest level.
11967         (makeDocBookFile): XML conformant declaration of CDATA section,
11968         fixed bug related to <emphasis> in the first paragraph char.
11969         (sgmlOpenTag): exclude empty tags.
11970         (sgmlCloseTag): ditto.
11971
11972         * buffer.h (pop_tag): removed.
11973         (push_tag): removed.
11974
11975 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
11976
11977         * language.h (Languages): added size_type and size().
11978
11979 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11980
11981         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11982         response on compability reading of minipages. One probliem is that
11983         the old usage of minipages was «flertydig»
11984
11985         * several files here and in subdirs: don't use static at file
11986         scope use anon namespaces instead.
11987
11988 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
11989
11990         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11991         LaTeX output. This is necessary for Literate document
11992         processing.
11993
11994 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11995
11996         * buffer.C: insert hfill when needed.
11997
11998         * tabular.C (l_getline): use string::erase, small whitespace change.
11999
12000         * BufferView_pimpl.C: try the anon namespace.
12001         * WorkArea.C: ditto
12002
12003 2001-03-16  Juergen Vigna  <jug@sad.it>
12004
12005         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12006         otherwise it won't open options-dialogs.
12007
12008         * buffer.C: honor pextraWidth(p) on converting minipages.
12009
12010         * tabular.C (l_getline): changed the functions to strip trailing \r.
12011
12012 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12013
12014         * BufferView_pimpl.C:
12015         * minibuffer..C: added "using SigC::slot" declaration.
12016
12017 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12018
12019         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12020
12021         * text2.C: ditto
12022
12023         * text.C: ditto
12024
12025         * paragraph.C: ditto
12026
12027         * lyxtext.h: NO_PEXTRA
12028
12029         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12030
12031         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12032         * ParameterStruct.h: ditto
12033         * ParagraphParameters.h: ditto
12034         * lyxparagraph.h: ditto
12035
12036 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12037
12038         * buffer.C: add compability for minipage alignment.
12039         (latexParagraphs): remove unwanted pextra check.
12040
12041         * several files: remove CXX_WORKING_NAMESPACES
12042
12043         * buffer.C (pop_tag): tie is in namespace boost
12044
12045         * BufferView.h: noncopyable is in namespace boost
12046         * lyxlex.h: ditto
12047         * lyx_main.h: ditto
12048         * lyx_gui.h: ditto
12049         * layout.h: ditto
12050         * lastfiles.h: ditto
12051         * bufferlist.h: ditto
12052         * ShareContainer.h: ditto
12053         * LyXView.h: ditto
12054         * LyXAction.h: ditto
12055         * LaTeX.h: ditto
12056
12057 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12058
12059         * Merging changes from BRANCH_MVC back into HEAD.
12060
12061         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12062
12063 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12064
12065         * BufferView_pimpl.C: change from intl.C
12066
12067         * combox.h:
12068         * combox.C:
12069         * Makefile.am: move combox.*
12070
12071         * form1.h:
12072         * form1.C:
12073         * lyx_gui.C:
12074         * intl.h:
12075         * intl.C: remove dialog (covered by prefs)
12076
12077 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12078
12079         * lyxfunc.C (Dispatch): removed redundant break statement.
12080
12081 2001-03-14  Juergen Vigna  <jug@sad.it>
12082
12083         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12084
12085 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12086
12087         * buffer.C: add hack to fix compability reading of minipages.
12088
12089 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12090
12091         * buffer.C (getLists): Cleanup.
12092
12093 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12094
12095         * lyxfont.C (update): don't honor toggleall on font size.
12096
12097 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12098
12099         * bmtable.c:
12100         * bmtable.h:
12101         * Makefile.am: moved to frontends/xforms/
12102
12103         * lyx_gui_misc.C:
12104         * lyxfunc.C:
12105         * BufferView_pimpl.C: changes for moved mathpanel
12106
12107 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * gettext.h: fix gettext_init() in --disable-nls
12110
12111 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12112
12113         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12114
12115 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12116
12117         * lyx.C:
12118         * lyx.h: strip external form
12119
12120 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * BufferView_pimpl.C: add comment, destroySplash()
12123
12124 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12125
12126         * BufferView_pimpl.C:
12127         * LyXAction.C:
12128         * buffer.C:
12129         * commandtags.h:
12130         * lyxfunc.C: use re-worked insetinclude
12131
12132 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12133
12134         * buffer.C: add using std::stringstream.
12135
12136         * lyx_cb.C: readd using std::ios.
12137
12138         * buffer.C: add using std::map.
12139
12140         * BufferView_pimpl.C: add using std::vector.
12141
12142         * ShareContainer.h: add std:: to swap.
12143
12144         * buffer.h: add some typedefs
12145         * buffer.C (getLists): use them
12146         (getLists): renamed from getTocList.
12147         add a counter for the different float types and use it in the
12148         generated string.
12149         (getLists): use the same counter for the NEW_INSETS and the "non"
12150         NEW_INSETS
12151
12152         * lyx_cb.h: remove unused items, includes, using etc.
12153
12154         * ShareContainer.h: remove some commented code, add more comments
12155         and "documentation".
12156
12157 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12158
12159         * buffer.C (getTocList): make the list also when NEW_INSETS is
12160         defined.
12161
12162         * buffer.h: remove TocType
12163
12164         * buffer.C (getTocList): change to return a map<string,
12165         vector<TocItem> >, implement for dynamic number of list.
12166
12167         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12168         * text2.C (PasteSelection): adjust
12169         * CutAndPaste.C (pasteSelection): adjust
12170
12171         * FloatList.C (FloatList): update from the new_insets branch.
12172         * Floating.[Ch]: ditto
12173         * LaTeXFeatures.C: ditto
12174         * buffer.C: ditto
12175         * lyxlex_pimpl.C: ditto
12176
12177         * paragraph.C (Last): remove when NEW_INSETS is defined.
12178
12179         * other file: changes because of the above.
12180
12181 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12182
12183         * lyxparagraph.h: rename next to next_, previous to previous_,
12184         make them private for NEW_INSETS. Rename Next() to next(),
12185         Previous() to previous().
12186
12187         * other files: changes because of the above.
12188
12189 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12190
12191         * BufferView.h:
12192         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12193         problem.
12194
12195 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12196
12197         * main.C (main): pass lyx_localedir to gettext_init().
12198
12199         * gettext.h: remove locale_init and gettext_init macros
12200
12201         * gettext.C (locale_init): new function
12202         (gettext_init): new function
12203
12204         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12205         setlocale().
12206
12207 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12208
12209         * Moved credits to frontends:
12210         * credits.[Ch]: removed
12211         * credits_form.[Ch]: removed
12212         * lyx_gui_misc.C: remove credits stuff
12213         * Makefile.am:
12214
12215 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12216
12217         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12218
12219         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12220         unneeded destructor.
12221
12222         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12223         a standalone pointer again.
12224
12225         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12226
12227 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12228
12229         * Makefile.am:
12230         * filedlg.h:
12231         * filedlg.C:
12232         * LyXAction.C:
12233         * ToolbarDefaults.C:
12234         * bufferlist.C:
12235         * commandtags.h:
12236         * form1.C:
12237         * form1.h:
12238         * lyx_cb.C:
12239         * lyx_cb.h:
12240         * lyxfunc.h:
12241         * lyxfunc.C:
12242         * BufferView_pimpl.C: use new file dialog in GUII
12243
12244         * lyx_cb.h:
12245         * lyx_cb.C: remove LayoutsCB to Toolbar
12246
12247 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12248
12249         * ShareContainer.h (get): add std:: qualifier
12250
12251 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12252
12253         * ShareContainer.h: define a proper ShareContainer::value_type
12254         type (and use typename to please compaq cxx)
12255
12256 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12257
12258         * lyxparagraph.h: move serveral local vars to
12259         ParameterStruct/ParagraphParameters., use ShareContainer in
12260         FontTable., make vars in FontTable private and add getter and
12261         setter.
12262
12263         * paragraph.C: changes because of the above.
12264
12265         * lyxfont.h: remove copy constructor and copy assignment. (the
12266         default ones is ok), move number inside FontBits. move inlines to
12267         lyxfont.C
12268
12269         * lyxfont.C: add number to initializaton of statics, move several
12270         inlines here. constify several local vars. some whitespace
12271         cleanup. Dont hide outerscope variables.
12272
12273         * Spacing.h: add two new constructors to match the set methods.
12274
12275         * ShareContainer.h: new file, will perhaps be moved to support
12276
12277         * ParameterStruct.h: new file
12278
12279         * ParagraphParameters.h: new file
12280
12281         * ParagraphParameters.C: new file
12282
12283         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12284         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12285
12286         * BufferView_pimpl.C: ParagraphParameter changes.
12287         * buffer.C: Likewise.
12288         * bufferview_funcs.C: Likewise.
12289         * text.C: Likewise.
12290         * text2.C: Likewise.
12291
12292 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12293
12294         * lyxfind.C (LyXReplace): do not redefine default argument in
12295         implementation.
12296         (IsStringInText): ditto
12297         (SearchForward): ditto
12298         (SearchBackward): ditto
12299
12300 2001-03-06  Juergen Vigna  <jug@sad.it>
12301
12302         * lyxfind.C (IsStringInText): put parentes around expressions.
12303
12304 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12305
12306         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12307
12308 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12311
12312         * stl_string_fwd.h: add comment
12313
12314         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12315
12316         * tabular.h:
12317         * tabular.C: remove unused DocBook methods
12318
12319         * intl.C:
12320         * language.C:
12321         * paragraph.C:
12322         * buffer.C:
12323         killed DO_USE_DEFAULT_LANGUAGE
12324
12325 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12326
12327         * lyx_gui.C: do not include language.h.
12328
12329         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12330         arguments in function implementation.
12331
12332 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12333
12334         * BufferView_pimpl.C: add <ctime>
12335
12336 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12337
12338         * BufferView_pimpl.C: add using std::find_if
12339
12340 2001-02-27  José Matos  <jamatos@fep.up.pt>
12341
12342         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12343         by OnlyPath.
12344
12345 2001-02-11  José Matos  <jamatos@fep.up.pt>
12346
12347         * buffer.C (makeDocBookFile): command styles now have a parameter as
12348         "title" by default.
12349
12350 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12351
12352         * layout_forms.[Ch]: removed
12353         * lyx_cb.[Ch]: out character
12354         * lyx_gui.C: out character
12355         * lyx_gui_misc.C: out character
12356         * bufferview_funcs.C: : out character,
12357         added toggleall as parameter in ToggleAndShow
12358
12359 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12360
12361         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12362
12363         * text2.C (SetCurrentFont): Disable number property at boundary.
12364
12365 2001-02-26  Juergen Vigna  <jug@sad.it>
12366
12367         * lyxfunc.C (getStatus): added a string argument override function so
12368         that this is correctly called from LyXFunc::Dispatch if it contains a
12369         do_not_use_argument which is used!
12370         (Dispatch): added check for "custom" export and call appropriate func.
12371
12372 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12373
12374         * lyxrc.C: Add language_command_local, language_use_babel and
12375         language_global_options.
12376
12377         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12378
12379         * buffer.C (makeLaTeXFile): Use language_use_babel and
12380         language_global_options.
12381
12382 2001-02-23  Juergen Vigna  <jug@sad.it>
12383
12384         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12385         which works with LyXText and putted it inside BufferView. Here now we
12386         only call for that part the BufferView::Dispatch() function.
12387
12388         * BufferView.C (Dispatch): added.
12389
12390         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12391         functions which needs to use a LyXText over from LyXFunc.
12392         (MenuInsertLyXFile): added
12393         (getInsetByCode): added
12394         (moveCursorUpdate): added
12395         (static TEXT): added
12396
12397 2001-02-22  Juergen Vigna  <jug@sad.it>
12398
12399         * BufferView_pimpl.C (update): call a status update to see if LyXText
12400         needs it.
12401
12402 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12403
12404         * vc-backend.C (revert): implement for CVS
12405         (getLog): implement for CVS
12406
12407 2001-02-20  Juergen Vigna  <jug@sad.it>
12408
12409         * text2.C (ClearSelection): added BufferView param for inset_owner call
12410
12411         * lyxfunc.C (TEXT): added this function and use it instead of
12412         directly owner->view()-text of getLyXText().
12413
12414 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12415
12416         * src/layout_forms.C: out preamble
12417         * src/layout_forms.h: out preamble
12418         * src/lyx_cb.C: out preamble
12419         * src/lyx_cb.h: out preamble
12420         * src/lyx_gui.C: out preamble
12421         * src/lyx_gui_misc.C: out preamble
12422         * src/lyxfunc.C: connect with guii preamble
12423
12424 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12425
12426         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12427
12428 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12429
12430         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12431         whether to run bibtex.
12432
12433 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12434
12435         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12436
12437 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12438
12439         * Makefile.am (lyx_SOURCES): removed bibforms.h
12440
12441         * vspace.h: doxygen
12442
12443         * text.C (GetVisibleRow): make several local vars const
12444
12445         * tabular.C: small cleanup.
12446
12447         * lyxserver.C (callback): use compare instead of strncmp
12448
12449         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12450         inlines to after class or to paragraph.C
12451
12452         * lyxfont.h: remove friend operator!=
12453
12454         * converter.h: move friend bool operator< to non friend and after
12455         class def.
12456
12457         * combox.h: small cleanup
12458
12459         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12460         to inlines after class def.
12461
12462         * buffer.C (pop_tag): use string operations instead of strcmp
12463
12464         * bmtable.c: doxygen, small cleanup
12465
12466         * LaTeX.h: remove friend operator==
12467
12468 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12469
12470         * screen.C:
12471         * lyxrc.[Ch]:
12472         * lyxfunc.C:
12473         * lyxfont.[Ch]:
12474         * lyx_cb.C:
12475         * intl.[Ch]:
12476         * commandtags.h:
12477         * buffer.C:
12478         * WorkArea.[Ch]:
12479         * LyXAction.C:
12480         * BufferView_pimpl.C:
12481         * BufferView.[Ch]: remove cruft
12482
12483 2001-02-14  Juergen Vigna  <jug@sad.it>
12484
12485         * lyxfunc.C: removed #if 0 unused code
12486
12487         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12488
12489         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12490
12491         * text2.C (SetSelection): added a BufferView * parameter
12492
12493 2001-02-13  Juergen Vigna  <jug@sad.it>
12494
12495         * lyxfunc.C (Dispatch): fixed protected blank problem.
12496         * BufferView2.C (protectedBlank): added LyxText * parameter.
12497
12498         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12499         (AppendColumn): same as above for column_info.
12500
12501         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12502         (moveCursorUpdate): use a LyXText param for support of InsetText.
12503
12504         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12505         (tripleClick): ditto
12506
12507         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12508
12509         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12510
12511         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12512
12513         * text2.C (SetSelection): set correct update status if inset_owner
12514         (ToggleFree): ditto
12515
12516 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12517
12518         * tabular.C: remove some commented code.
12519
12520 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12521
12522         * BufferView_pimpl.C: call hideSplash()
12523
12524         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12525
12526         * include_form.h:
12527         * bibforms.h: remove
12528
12529         * lyxfunc.C:
12530         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12531           add LFUN_CHILD_CREATE
12532
12533         * counters.h: fix tiny typo
12534
12535         * lyx_cb.C:
12536         * lyx.h:
12537         * lyx_gui.C:
12538         * lyx.C: move splash to frontends/xforms/
12539
12540         * lyx_gui_misc.C: move Include and Bibform to frontends
12541
12542         * lyxvc.h: clarify comment
12543
12544         * vspace.C: tiny housekeeping
12545
12546 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12547
12548         * text.C (PrepareToPrint): RTL Fix.
12549
12550         * paragraph.C (GetUChar): New method.
12551         (String):  Use GetUChar.
12552
12553         * buffer.C (asciiParagraph): Use GetUChar.
12554
12555 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12556
12557         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12558
12559 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12560
12561         * buffer.h:
12562         * buffer.C: rename to getLogName(), handle
12563           build log / latex log nicely
12564
12565 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12566
12567         * MenuBackend.C:
12568         * MenuBackend.h: remove support for reference menuitem type.
12569
12570 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * BufferView_pimpl.C: housekeeping
12573         * BufferView_pimpl.h:
12574         * LyXView.h:
12575         * Makefile.am:
12576         * Timeout.C:
12577         * Timeout.h:
12578         * minibuffer.h: move Timeout GUI-I
12579
12580 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12581
12582         * lyxrc.C (read): Update converters data-structures.
12583
12584 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12585
12586         * LaTeX.h (operator!=): add operator != for Aux_Info
12587
12588 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12589
12590         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12591
12592         * LaTeXLog.C: deleted, useful code moved to Buffer
12593
12594         * buffer.h:
12595         * buffer.C: new function getLatexLogName()
12596
12597         * lyx_gui_misc.C:
12598         * lyx_gui.C:
12599         * lyxvc.C:
12600         * lyxvc.h:
12601         * lyxfunc.C: use frontends for LaTeX and VC logs
12602
12603 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12604
12605         * LaTeX.h: yet another std:: that Allan forgot.
12606
12607         * Variables.C (set): renamed from isset(), because this clashes
12608         with some HP-UX macros (grr).
12609
12610 2001-02-06  Allan Rae  <rae@lyx.org>
12611
12612         * LaTeX.h: Another bug fix.  Missing std:: this time.
12613
12614 2001-02-04  Allan Rae  <rae@lyx.org>
12615
12616         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12617         floats problem. I've left it commented out because it's not quite
12618         correct.  It should also test that the current object is a table or
12619         figure inset.  But I haven't gotten around to figuring out how to do
12620         that.  I *think* it'll be something like: "table" == inset.type()
12621
12622         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12623         bool.
12624
12625 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12626
12627         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12628         all the citation/databases/styles in the auxilary file.
12629         (run): Rerun latex if there was a babel language error.
12630
12631 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12632
12633         * text.C (Backspace): Preserve the font when changing newline char
12634         with a space.
12635         (BreakParagraph): If the cursor is before a space, delete the space.
12636
12637         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12638
12639 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12640
12641         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12642         new argument (code).
12643         (ChangeCitationsIfUnique): New method.
12644
12645         * paragraph.C (GetPositionOfInset): Handle bibkey.
12646
12647 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12648
12649         * BufferView_pimpl.h: change type of Position::par_pos to
12650         LyXParagraph::size_type.
12651
12652 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12653
12654         * BufferView_pimpl.C (savePosition, restorePosition): Write
12655         messages to minibuffer.
12656
12657 2001-01-28  José Matos  <jamatos@fep.up.pt>
12658
12659         * buffer.C (makeDocBookFile): adds support for document language.
12660         A silly restriction on the name of LatexCommand types where removed.
12661         Added support for CDATA sections, allows to chars unescaped, used
12662         among others in code, to avoid escape < and >.
12663
12664 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12665
12666         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12667         saved positions instrad of a stack. Furthermore, a position is
12668         stored using paragraph id/paragraph position.
12669
12670         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12671         Remove LFUN_REF_BACK.
12672
12673 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12674
12675         * converter.C (dvipdfm_options): New method.
12676
12677 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12678
12679         * vspace.C (isValidLength): Fix for empty input string.
12680
12681 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12682
12683         * LyXAction.C (init): change description of LFUN_FIGURE to
12684         "Insert Graphics"
12685
12686 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12687
12688         * LaTeX.C: add using directive
12689
12690 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12691
12692         * MenuBackend.C (expand): Fix the sorting of the formats.
12693
12694 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12695
12696         * lyx_main.C: tiny error message fix
12697
12698 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12699
12700         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12701         calling fl_initialize(). This fixes the problem with ',' as
12702         decimal separator in text files.
12703
12704 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12705
12706         * trans.C (process): Fix the keymap bug.
12707
12708 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12709
12710         * LaTeX.C (scanAuxFiles): New method. Provides support for
12711         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12712         (scanLogFile) Scan for "run BibTeX" messages.
12713
12714         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12715         OT1 font encoding. Also, load the aecompl package if the ae
12716         package is loaded.
12717
12718         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12719
12720 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12721
12722         * texrow.C (increasePos): turn two error messages into debug
12723         messages.
12724
12725 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12726
12727         * LaTeX.C (scanAux): Handle the \@input macro.
12728         (runBibTeX): Use scanAux().
12729
12730         * language.C (latex_options_): New field.
12731
12732         * LaTeXFeatures.C (getMacros): Add language macros.
12733
12734         * buffer.C (makeLaTeXFile): Small fix.
12735
12736 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12739
12740         * text2.C: add a using directive.
12741
12742 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * BufferView2.C:
12745         * lyx_gui_misc.h:
12746         * lyxfr1.C:
12747         * lyxfunc.C: kill LyXBell.
12748
12749 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12750
12751         * text.C (IsBoundary): Remove the error message
12752
12753         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12754
12755         * lyxrc.C (setDefaults): Correct initialization value for
12756         font_norm_type.
12757
12758 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12759
12760         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12761         gotoError().
12762
12763         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12764         and GotoNextNote().
12765
12766         * src/LyXAction.C: Added reference-next.
12767
12768         * text.C (InsertChar): Use contains instead of strchr.
12769
12770         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12771
12772 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12773
12774         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12775         alignment commands (when needed).
12776
12777         * text.C (InsertChar): Add ':' to number separator chars.