]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
compile fix
[lyx.git] / src / ChangeLog
1 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2
3         * aspell.C: include <boost/assert.cpp> (compile fix)
4
5 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6
7         * boost.C (assertion_failed): use lyx::support::abort instead of
8         assert.
9
10 2003-09-10  Angus Leeming  <leeming@lyx.org>
11
12         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
13         _fwd progeny.
14
15 2003-09-09  Angus Leeming  <leeming@lyx.org>
16
17         134 files throughtout the source tree: replace 'using namespace abc;'
18         directives with the appropriate 'using abc::xyz;' declarations.
19
20 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
21
22         * boost.C (emergencyCleanup): moved here from LAssert.c
23         (assertion_failed): new function, called by BOOST_ASSERT
24
25         * several files: change Assert to BOOST_ASSERT
26
27 2003-09-09  Angus Leeming  <leeming@lyx.org>
28
29         * buffer.[Ch]: Add an Impl class and move Buffer's member
30         variables into it. As a result move several header files out of
31         buffer.h.
32
33         Add header files to lots of .C files all over the tree as a result.
34
35 2003-09-09  Angus Leeming  <leeming@lyx.org>
36
37         * buffer.[Ch]: make Buffer's member variables private. Add
38         accessor functions.
39
40         Lots of changes all over the tree as a result.
41
42 2003-09-08  Angus Leeming  <leeming@lyx.org>
43
44         * graph.C: #include <config.h>.
45
46 2003-09-08  Angus Leeming  <leeming@lyx.org>
47
48         * BranchList.C:
49         * BufferView.C:
50         * BufferView_pimpl.C:
51         * CutAndPaste.C:
52         * DepTable.C:
53         * LaTeX.C:
54         * LaTeXFeatures.C:
55         * LyXAction.C:
56         * MenuBackend.C:
57         * TextCache.C:
58         * aspell.C:
59         * buffer.C:
60         * bufferlist.C:
61         * changes.C:
62         * chset.C:
63         * converter.C:
64         * counters.C:
65         * debug.C:
66         * graph.C:
67         * ispell.C:
68         * lyx_cb.C:
69         * lyxfind.C:
70         * lyxfunc.C:
71         * lyxlex_pimpl.C:
72         * lyxrc.C:
73         * lyxrow.C:
74         * paragraph.C:
75         * rowpainter.C:
76         * texrow.C:
77         * text.C:
78         * text2.C:
79         * toc.C: remove redundant using directives.
80
81 2003-09-07  Angus Leeming  <leeming@lyx.org>
82
83         * LaTeXFeatures.h: remove #include "support/types.h".
84         * ToolbarBackend.h: remove #include <algorithm>.
85         * changes.h: remove #include <ctime>.
86         * debug.h: remove #include <iosfwd>.
87         * graph.h: remove #include "support/std_string.h".
88         * lyx_main.h: remove #include <csignal>.
89         * lyxlex_pimpl.h: remove #include <fstream>.
90         * sgml.h: remove #include <algorithm>, <utility>.
91         * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
92
93 2003-09-07  Angus Leeming  <leeming@lyx.org>
94
95         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
96
97         * converter.h: forward declare LatexRunParams.
98         * encoding.h: remove #include "lyxrc.h".
99         * lyxtext.h: remove #include "LColor.h".
100         * lyxtextclass.h: remove #include "support/types.h".
101         * trans.h: remove #include "tex-accent.h".
102         * trans_mgr.h: remove #include "tex-accent.h".
103         * insets/inset.h: remove #include "support/types.h", <vector>.
104         * insets/insetcollapsable.h: remove #include "LColor.h".
105         * insets/insetinclude.h: remove #include "dimension.h".
106         * insets/insetlatexaccent.h: remove #include "dimension.h".
107         * insets/insetoptarg.h:: remove #include "insettext.h".
108         * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
109
110         * insets/renderers.h: add #include "dimension.h".
111         * insets/updatableinset.h: add #include "support/types.h".
112
113         * many .C files: Associated changes.
114
115 2003-09-06  Angus Leeming  <leeming@lyx.org>
116
117         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
118         inside testInvariant.
119
120         * PrinterParams.C: new file.
121         * PrinterParams.[Ch]: move the function bodies out of line.
122
123 2003-09-06  Angus Leeming  <leeming@lyx.org>
124
125         * ParagraphParameters.h: forward declare ParameterStruct rather than
126         including its header file.
127         (depth): moved out-of-line.
128
129 2003-09-06  Angus Leeming  <leeming@lyx.org>
130
131         * BufferView_pimpl.h:
132         * kbmap.h:
133         * kbsequence.h:
134         * lyxfunc.h: forward declare LyXKeySym rather than
135         #include "frontends/LyXKeySym.h".
136
137         * BufferView_pimpl.C:
138         * kbmap.C:
139         * kbsequence.C:
140         * lyxfunc.C: associated changes.
141
142 2003-09-06  Angus Leeming  <leeming@lyx.org>
143
144         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
145         As a result, can remove the #include "insets/inset.h" from BufferView.h
146
147 2003-09-06  Angus Leeming  <leeming@lyx.org>
148
149         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
150         As a result, can remove the #include "insets/inset.h" from BufferView.h
151
152 2003-09-06  Angus Leeming  <leeming@lyx.org>
153
154         * buffer_funcs.C:
155         * buffer.h:
156         * bufferlist.C:
157         * BufferView.C:
158         * bufferview_funcs.C:
159         * BufferView_pimpl.C:
160         * CutAndPaste.C:
161         * lyx_cb.C:
162         * lyxfunc.C:
163         * paragraph.h:
164         * ParagraphParameters.C:
165         * tabular.C:
166         * text3.C:
167         * toc.C:
168         * undo_funcs.C:
169         * frontends/controllers/ControlDocument.C:
170         * insets/insetcaption.C: rearrange the #includes into some sort of
171         coherent order.
172
173         * buffer.h: remove #includes ErrorList.h, undo.h
174
175 2003-09-06  Angus Leeming  <leeming@lyx.org>
176
177         * support/types.h: add a 'depth_type' typedef, used to store the
178         nesting depth of a paragraph.
179
180         * paragraph.h:
181         * ParameterStruct.h: use this lyx::depth_type typedef rather than
182         defining explicitly.
183
184         * buffer.h:
185         * paragraph_funcs.h:
186         * ParagraphParameters.h:
187         * sgml.h: use lyx::depth_type rather than Paragraph or
188         ParameterStruct's depth_type.
189
190         * buffer.h
191         * paragraph_funcs.h: no need to #include paragraph.h anymore.
192
193         * BufferView.C:
194         * BufferView_pimpl.C:
195         * CutAndPaste.C:
196         * ParagraphParameters.C:
197         * buffer_funcs.C:
198         * bufferlist.C:
199         * bufferview_funcs.C:
200         * lyx_cb.C:
201         * lyxfunc.C:
202         * tabular.C:
203         * text3.C:
204         * toc.C:
205         * undo_funcs.C:
206         * frontends/LyXView.C:
207         * frontends/controllers/ControlDocument.C:
208         * frontends/controllers/ControlErrorList.C:
209         * insets/insetbibitem.C:
210         * insets/insetbranch.C:
211         * insets/insetcaption.C:
212         * insets/insetcollapsable.C:
213         * insets/insetenv.C:
214         * insets/insetert.C:
215         * insets/insetfloat.C:
216         * insets/insetfoot.C:
217         * insets/insetfootlike.C:
218         * insets/insetnewline.C:
219         * insets/insetquotes.C:
220         * insets/insettabular.C:
221         * insets/insettext.C:
222         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
223
224         * frontends/controllers/ControlChanges.C: #include "changes.h".
225
226 2003-09-06  Angus Leeming  <leeming@lyx.org>
227
228         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
229         #including paragraph.h.
230
231         * ParagraphList.h:
232         * RowList.h: deleted. Superfluous.
233
234         * CutAndPaste.h:
235         * iterators.h:
236         * lyxcursor.h:
237         * lyxtext.h:
238         * text_funcs.h:
239         * undo.h:
240         * undo_funcs.h:
241         * insets/inset.h:
242         * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
243
244         * paragraph.h: don't forward declare ParagraphList.
245
246         * buffer.h:
247         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
248         rather than ParagraphList.h. paragraph.h is still needed for the
249         Paragraph::depth_type parameters.
250
251         * textcursor.h: enable it to compile stand-alone in light of the
252         above changes.
253
254         * bufferview_funcs.C:
255         * iterators.C:
256         * lyxfunc.C:
257         * lyxrow_funcs.C:
258         * paragraph.C:
259         * rowpainter.C:
260         * text.C:
261         * text2.C:
262         * text3.C:
263         * text_funcs.C:
264         * textcursor.C:
265         * undo.C:
266         * frontends/controllers/ControlParagraph.C:
267         * frontends/controllers/ControlTabular.C:
268         * insets/insetmarginal.C:
269         * insets/insetminipage.C:
270         * insets/insetnote.C:
271         * insets/insetoptarg.C: add header files needed to compile again.
272
273 2003-09-06  Angus Leeming  <leeming@lyx.org>
274
275         * RowList_fwd.h: new file, forward-declaring Row rather than
276         #including lyxrow.h.
277
278         * lyxrow_funcs.h:
279         * lyxtext.h:
280         * paragraph.h:
281         * insets/insettext.h: use it instead of RowList.h
282
283         * bufferview_funcs.C:
284         * lyxfunc.C:
285         * lyxrow_funcs.C:
286         * paragraph.C:
287         * rowpainter.C:
288         * text.C:
289         * text2.C:
290         * text3.C: #include "RowList.h".
291
292 2003-09-05  Angus Leeming  <leeming@lyx.org>
293
294         * factory.C (createInset):
295         * vspace.C (c-tor): replace sscanf call with an istringstream.
296         * ispell.C: re-add missing HP/UX headers.
297         * lyxserver.C: re-add missing  os2 headers.
298
299 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
300
301         * BranchList.C:
302         * graph.C:
303         * ispell.C:
304         * lastfiles.C:
305         * lyx_cb.C:
306         * lyxserver.C:
307         * texrow.C:
308         * text3.C: re-add missing system headers, needed for 2.95.2.
309
310 2003-09-05  Angus Leeming  <leeming@lyx.org>
311
312         Changes most place everywhere due to the removal of using directives
313         from support/std_sstream.h.
314
315 2003-09-05  Angus Leeming  <leeming@lyx.org>
316
317         Replace LString.h with support/std_string.h,
318         Lsstream.h with support/std_sstream.h,
319         support/LIstream.h with support/std_istream.h,
320         support/LOstream.h with support/std_ostream.h.
321
322         Changes resulting throughout the tree.
323
324 2003-09-05  Angus Leeming  <leeming@lyx.org>
325
326         * sgml.h: ensure that the header file can be compiled stand-alone.
327         * *.C: strip out redundant #includes. (320 in total.)
328
329 2003-09-04  Angus Leeming  <leeming@lyx.org>
330
331         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
332         here (from getPackages).
333
334         * debug.[Ch]: add a new EXTERNAL tag.
335
336 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
337
338         * text2.C (cursorEnd): simplify
339         (setCursor): adjust
340         (getColumnNearX): adjust
341
342         * text.C (computeBidiTables): adjust
343         (fill): adjust
344
345         * rowpainter.C (paintChars): adjust
346         (paintSelection): adjust
347         (paintChangeBar): adjust
348         (paintText): adjust
349
350         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
351         lastPos instead.
352         (numberOfSeparators): adjust
353
354 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
355
356         * LyXAction.C:
357         * box.[Ch]:
358         * lfuns.h:
359         * lyxfunc.C:
360         * text3.C: Restricts the mouse click functionality
361         of insets like bibtex, include, toc and floatlist to the visible
362         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
363         up the dialogs. Cursor has to be in front of the inset (i.e.
364         start of row) for this to function.
365
366 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
367
368         * bufferview_funcs.C (currentState): output row information
369
370 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
371
372         * bufferview_funcs.C (currentState): output paragraph position
373
374 2003-09-04  Angus Leeming  <leeming@lyx.org>
375
376         * FloatList.h: move out #include "Floating.h".
377         * LaTeX.h: move out #include "DepTable.h".
378         * LyXAction.h: move out #include "funcrequest.h".
379         * buffer.h: move out #include "author.h", "iterators.h".
380         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
381         * lyx_main.h: move out #include "errorlist.h".
382         * lyxfunc.h: move out #include "FuncStatus.h".
383         * lyxtext: move out #include "lyxcursor.h".
384         * paragraph_pimpl.h: move out #include "counters.h".
385
386 2003-09-03  Angus Leeming  <leeming@lyx.org>
387
388         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
389         preamble_snippets list, enabling us to add snippets to the preamble only
390         if the snippet was not there already.
391
392 2003-09-04  Angus Leeming  <leeming@lyx.org>
393
394         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
395
396 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
397
398         * lyxfunc.C (dispatch): if fitCursor did something be sure to
399         update
400
401 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
402
403         * BranchList.C: point fix, earlier forgotten
404
405 2003-09-02  Angus Leeming  <leeming@lyx.org>
406
407         * box.C (contains): renamed from 'contained' after a fantastic
408         amount of hot air.
409
410 2003-09-02  John Levon  <levon@movementarian.org>
411
412         * BufferView.C:
413         * lyxcursor.h:
414         * lyxcursor.C:
415         * lyxfunc.C:
416         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
417
418 2003-09-02  John Levon  <levon@movementarian.org>
419
420         * text2.C: simplification of cursorEnd(), including partial
421         fix for bug 1376
422
423 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
424
425         * buffer.C (readFile): add a space
426
427 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
428
429         * BufferView_pimpl.C (update): remove bogus fitCursor() call
430
431 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
432
433         * buffer.C (readFile): new function, take a filename and a
434         ParagraphList::iterator
435         (readFile): adjust
436         (readFile): adjust, make it private. don't use setStream, make
437         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
438         always contain the filename.
439
440         * BufferView.C (insertLyXFile): simplify and make it work for
441         gzipped files.
442
443 2003-08-30  John Levon  <levon@movementarian.org>
444
445         * Makefile.am: fix dist (from Kayvan)
446
447 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
448
449         * most files: change to use const Buffer refs
450
451 2003-08-27  André Pönitz  <poenitz@gmx.net>
452
453         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
454         on top of ownerPar().
455
456 2003-08-27  John Levon  <levon@movementarian.org>
457
458         * funcrequest.C: properly initialise POD members
459
460 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
461
462         * lyxtext.h (top_y): move top_y from here
463         * text.C:
464         * text2.C:
465         * text3.C:
466         * BufferView.[Ch]:
467         * BufferView_pimpl.[Ch]: to here
468         * frontends/screen.C:
469         * insets/insettabular.C:
470         * insets/insettext.C: adjust
471         * rowpainter.[Ch] (paintRows): remove LyXText & argument
472
473 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
474
475         * BufferView.[Ch]:
476         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
477
478 2003-08-26  André Pönitz  <poenitz@gmx.net>
479
480         * paragraph_func.[Ch] (outerPar): new function
481
482         * paragraph.C:
483         * paragraph_funcs.C:
484         * paragraph_funcs.h:
485         * paragraph_pimpl.C:
486         * text2.C: remove Inset::par_owner
487
488 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
489
490         * lyxrow_funcs.C:
491         * lyxtext.h:
492         * text.C:
493         * text2.C: eliminates the needFullRow/display() stuff
494         altogether, putting the logic in metrics/draw in the insets.
495
496 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
497
498         * text2.C (redoParagraphInternal, redoParagraphs):
499         * text.C (redoParagraph): add a call to updateRowPositions at the
500         end of each 'metrics-like' call. Remove all others.
501         (getRow): remove the 'y-computing' version.
502         (getRowNearY): do not compute nor return the real y. Solve the
503         'y < 0' problem and simplify.
504
505 2003-08-22  Angus Leeming  <leeming@lyx.org>
506
507         * *.[Ch]: clean-up of licence and author blurbs.
508         Also move config.h out of a few .h files and into a few .C files.
509
510 2003-08-22  André Pönitz  <poenitz@gmx.net>
511
512         * lyxrow.[Ch]: add x_ and *fill_ members
513
514         * lyxtext.h:
515         * text.C:
516         * rowpainter.C:
517         * text2.C: adjust/remove prepareToPrint() calls
518
519 2003-08-22  André Pönitz  <poenitz@gmx.net>
520
521         * lyxrow.[Ch]: add  end_ member
522
523         * lyxrow_funcs.C: use LyXRow::end_
524
525         * lyxtext.h (singleWidth): add LyXFont parameter
526
527         * rowpainter.C:
528         * text2.C: adjust LyXText::singleWidth() calls
529
530         * text.C (redoParagraph): simplify row breaking logic
531
532
533 2003-08-19  André Pönitz  <poenitz@gmx.net>
534
535         * funcrequest.C: initialize button_ member
536
537         * text3.C:
538         * rowpainter.[Ch]: interface consolidation
539
540 2003-08-18  André Pönitz  <poenitz@gmx.net>
541
542         * BufferView.C:
543         * BufferView_pimpl.C:
544         * lyxfind.C:
545         * paragraph_funcs.C:
546         * rowpainter.C:
547         * text3.C: remove LyXScreen::draw() and fitCursor calls
548
549         * BranchList.h: remove spurious semicolons
550
551         * MenuBackend.C: fix branchlist related crash
552
553 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
554
555         * BranchList.[Ch]:
556         * InsetList.[Ch]:
557         * LColor.[Ch]:
558         * LyXAction.C:
559         * Makefile.am:
560         * MenuBackend.[Ch]:
561         * bufferparams.[Ch]:
562         * factory.C:
563         * lfuns.h:
564         * lyxfunc.C:
565         * text3.C: implements the 'branch inset'
566         idea. This allows the output of various versions of a document
567         from a single source version, selectively outputing or suppressing
568         output of parts of the text.
569         This implementation contains a 'branch list editor' in a separate
570         tab of the document settings dialog. Branches are user definable
571         and have a "display colour" to distinguish them on-screen.
572
573         ColorHandler was somewhat cleaned up.
574         (1) make possible a dynamically growing LColor list by allowing
575         the graphic context cache to grow along (vector);
576         (2) eliminate an IMHO unnecessary step in colour allocation.
577
578 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
579
580         * BufferView_pimpl.C: compile fix
581
582 2003-08-15  André Pönitz  <poenitz@gmx.net>
583
584         * rowpainter.C: remove extra metrics calls
585
586         * lyxtext.h: merge the two constructors into a single one,
587           pass reference to owner's par list
588
589         * BufferView_pimpl.C:
590         * text.C:
591         * text2.C: adjust
592
593 2003-08-15  André Pönitz  <poenitz@gmx.net>
594
595         * lyxrow_funcs.[Ch]:
596         * lyxtext.h:
597         * paragraph.h:
598         * paragraph_funcs.C:
599         * rowpainter.C:
600         * text.C:
601         * text2.C:
602         * text3.C:
603         * text_funcs.C: split LyXText::rowlist_ into individual
604         Paragraph::rows_ chunks
605
606         * BufferView.[Ch]:
607         * BufferView_pimpl.[Ch]:
608         * lyxfind.C:
609         * lyxtext.h:
610         * text3.C: remove toggleSelection()
611
612 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
613
614         * bufferlist.C: beautify two alerts (shorter text of buttons)
615         * buffer.C: Remove redundant ' ' from message
616         * tabular.h:
617         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
618         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
619         rename VALIGN_CENTER to VALIGN_MIDDLE
620
621 2003-08-11  André Pönitz  <poenitz@gmx.net>
622
623         * lyxtext.h (getPar):
624         * text.C: new function
625
626 2003-08-11  André Pönitz  <poenitz@gmx.net>
627
628         * Makefile.am:
629         * tracer.[Ch]: remove unneeded files
630
631         * InsetList.[Ch]: remove resizeInsetsLyXText()
632
633         * lyxtext.h:
634         * text.C:
635         * text2.C:
636         * text3.C: merge insertParagraphs() and appendParagraph()
637         remove breakAgain(), update()
638
639         * BufferView_pimpl.[Ch]:
640         * bufferview_funcs.[Ch]:
641         * lyxfunc.C:
642         * paragraph.[Ch]:
643         * rowpainter.C:
644         * tabular.C: adjust after text & InsetList changes.
645
646 2003-08-08  André Pönitz  <poenitz@gmx.net>
647
648         * text.C (insertChar, backspace): replace rowlist fiddling
649         with rebreak of full par
650
651         * lyxtext.h:
652         * text.C (breakAgainOneRow, redoHeightOfParagraph,
653         checkParagraph, updateInset): removed
654
655 2003-08-07  André Pönitz  <poenitz@gmx.net>
656
657         * paragraph.C:
658         * text3.C: merge some LFUN handlers, remove dead code
659
660 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
661
662         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
663
664 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
665
666         * text2.C (DEPM): fix part of bug 1255 and 1256
667
668 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
669
670         * BufferView_pimpl.C (workAreaDispatch): change to use
671         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
672         that are no mouse related.
673
674 2003-08-05  André Pönitz  <poenitz@gmx.net>
675
676         * BufferView.[Ch]:
677         * BufferView_pimpl.[Ch]:
678         * bufferview_funcs.C:
679         * text2.C:
680         * text3.C: rip out "deep update"
681
682         * textcursor.[Ch] (last_sel_cursor): remove unused member
683
684 2003-08-04  André Pönitz  <poenitz@gmx.net>
685
686         * BufferView.[Ch]:
687         * BufferView_pimpl.[Ch]:
688         * ParagraphParameters.C:
689         * bufferview_funcs.C:
690         * lyx_cb.C:
691         * lyxfind.C:
692         * lyxfunc.C:
693         * text.C:
694         * text2.C:
695         * text3.C: replace "complicated" BufferView::update(...) calls with
696         simpler ones.
697
698         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
699
700 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
701
702         * Makefile.am (lyx_SOURCES): add paper.h
703
704 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
705
706         * Makefile.am: move things around so that both lyx-qt and
707         lyx-xforms can be built (according to --with-frontend). Then lyx
708         is a symbolic link to lyx-[firstfrontend]
709
710 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
711
712         * Always use std::endl with lyxerr
713
714 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
715
716         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
717
718 2003-08-01  André Pönitz  <poenitz@gmx.net>
719
720         * BufferView.[Ch]:
721         * BufferView_pimpl.[Ch]:
722         * lyxfunc.C:
723         * text3.C: merge BufferView::repaint() and BufferView::update()
724
725 2003-08-01  José Matos  <jamatos@lyx.org>
726
727         * buffer.[Ch]: file_format is no longer a buffer data element.
728
729 2003-08-01  André Pönitz  <poenitz@gmx.net>
730
731         * BufferView.C:
732         * lyxtext.h:
733         * text.C:
734         * text2.C: make redoParagraph more independent of current cursor
735
736         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
737         * text.C:
738         * text2.C: remove unneeded members
739
740 2003-07-30  André Pönitz  <poenitz@gmx.net>
741
742         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
743
744         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
745           create a single function...
746
747         * paragraph_funcs.C (moveItem): ... here.
748
749         * text.C:
750           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
751
752 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
753
754         * LColor.[Ch]: Add comment and greyedout logical colors.
755
756 2003-07-30  André Pönitz  <poenitz@gmx.net>
757
758         * tabular.C: don't use Assert too heavily. This crashes where it
759           shouldn't
760
761 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
762
763         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
764         is disabled (bug 1232)
765
766 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
767
768         * factory.C: limited 'arg' scope
769
770 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
771
772         * factory.C: fixed Note submenu issues
773
774 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
775
776         * factory.C: submenu for Note/Comment/Greyedout
777
778 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
779
780         * lyx_main.C (LyX):
781         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
782
783 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
784
785         * LaTeXFeatures.C:
786         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
787         greyedout. Patch provided by Jürgen Spitzmüller.
788
789 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
790
791         * kbmap.C (read): fix error message when reading bind files
792
793 2003-07-29  Angus Leeming  <leeming@lyx.org>
794
795         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
796         certainly does not do what it purports to do. I am doing it, and
797         us, a favour by killing it.
798
799 2003-07-28  José Matos  <jamatos@lyx.org>
800
801         * buffer.C (readBody, do_writeFile):
802         * paragraph.C(readParagraph): \end_document replaces \the_end.
803
804 2003-07-29  André Pönitz  <poenitz@gmx.net>
805
806         * BufferView.[Ch]:
807         * BufferView_pimpl.[Ch]:
808         * lyxfunc.C:
809         * text2.C:
810         * text3.C:
811         * textcursor.[Ch]: remove toggleToggle & Co
812
813 2003-07-28  José Matos  <jamatos@fep.up.pt>
814
815         * buffer.C (readParagraph):
816         * params_func (readParToken, readParagraph):
817         * paragraph.C (write): \layout -> \begin_layout.
818
819 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
820
821         * lyxlex_pimpl.C (setFile): clean up slightly.
822
823         * bufferparams.h: add compressed var
824
825         * buffer_funcs.C (readFile): adjust for LyXLex change
826         (newFile): ditto + simplify
827
828         * buffer.C (writeFile): handle writing of compressed files
829
830         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
831         Check if the file is compressed and set a bufferparm if so.
832
833         * Makefile.am (lyx_LDADD): remove explicit -lz
834
835 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
836
837         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
838         makeDocBookFile): put the real LyX version in the first line of
839         the file
840
841         * version.h:
842         * version.C.in: remove lyx_docversion
843
844         * tabular.C (write_attribute): add a template-based version to
845         write enums properly
846
847 2003-07-28  André Pönitz  <poenitz@gmx.net>
848
849         * lyxtext.h:
850         * text.C:
851         * text2.C:
852         * text3.C: use doubles again for x-coordinates. They are needed.
853
854 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
855
856         * messages.C (getLocaleDir): use lyx_localedir()
857
858         * lyxlex_pimpl.C (setFile): compress stuff
859
860         * buffer.C (writeFile): add some compression stuff
861         (do_writeFile): new func, dont call expliti close... will this
862         breake anything?
863
864         * Makefile.am (lyx_LDADD): add -lz
865
866 2003-07-28  José Matos  <jamatos@fep.up.pt>
867
868         * buffer.C: increment file format.
869         * paragraph_funcs (readParagraph, readParToken):
870         * paragraph.C (readParagraph): add \end_layout.
871
872 2003-07-27  Angus Leeming  <leeming@lyx.org>
873
874         * Makefile.am: remove special casing for configure-time setting of
875         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
876
877         * lyx_main.C (init): remove all Jean-Marc's magic setting of
878         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
879
880 2003-07-26  André Pönitz  <poenitz@gmx.net>
881
882         * paragraph_func.[Ch]:
883         * paragraph.C (realizeFont): inline it whereever it is used
884
885         * rowpainter.C:
886         * text.C:
887         * text2.C:
888         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
889
890
891 2003-07-26  André Pönitz  <poenitz@gmx.net>
892
893         *       lyxtext.h:
894         * text.C:
895         * text2.C: get rid of LyXText::need_break_row
896
897 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
898
899         * toc.[Ch]: put namespace toc inside namespace lyx
900
901         * MenuBackend.C (expandToc2): adjust for lyx::toc
902         (expandToc): ditto
903
904         * lyxfunc.C (dispatch): adjust for lyx::find
905
906         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
907         lyx::find instead. Reorganize a bit.
908         (LyXReplace): rename to replace
909         (LyXFind): rename to find
910
911         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
912         (dispatch): ditto
913
914 2003-07-26  André Pönitz  <poenitz@gmx.net>
915
916         * text.C (setHeightOfRow): restrict scope of temporary variable
917
918         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
919           code (never has been used?)
920
921 2003-07-27  Asger Alstrup  <alstrup@local>
922
923         * text.C (fill): Optimise algorithm to exploit that we can reuse
924         the LyXFont for many characters.
925         (setHeightOfRow): Same thing.
926         (rowBreakPoint): Same thing.
927
928 2003-07-26  Asger Alstrup  <alstrup@local>
929
930         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
931
932         * text.C (singleWidth): Spurious font copying in hot-spot
933         singleWidth avoided. Reorder tests for arabic for efficiency.
934
935         * text.C (fill): handle empty paragraphs better.
936
937 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
938
939         * ispell.C:
940         * encoding.h: add includes
941
942         * lyxrc.C: remove reading of bind files
943
944         * lyx_main.C (init): setup bindings and menus only if we have a
945         gui.
946
947         * kbmap.C (read): new method. Do the actual reading of bind
948         files.
949
950         * converter.C (dvipdfm_options):
951         * bufferparams.C:
952         * lyxrc.C (read):
953         (output): adapt PAPER_* enums.
954
955         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
956
957         * bufferparams.h: remove paper-related enums from there
958
959         * paper.h: New file. A trivial header file to hold paper-related
960         enums. It should later expand to contain many paper-related
961         horrors access.
962
963         * lyxrc.C: declare extern displayTranslator
964
965 2003-07-27  José Matos  <jamatos@fep.up.pt>
966
967         * tabular.[Ch] (linuxdoc): add support for tables and figures
968         (linuxdoc).
969
970 2003-07-27  José Matos  <jamatos@fep.up.pt>
971
972         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
973         consistency in both functions.
974         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
975
976 2003-07-26  Asger Alstrup  <alstrup@local>
977
978         * rowpainter.C (paintRows): Change algorithm to work directly on
979         the insets rather than asking every character in the document
980         whether its an inset.
981
982 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
983
984         * buffer.C (openFileWrite): factorize some code
985
986 2003-07-26  Angus Leeming  <leeming@lyx.org>
987
988         * lyx_cb.C:
989         * lyx_main.[Ch]: replace occurances of system_tempdir with
990         os::getTmpDir().
991
992 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
993
994         * rename Inset to InsetOld
995
996 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
997
998         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
999         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1000         which I think is a bit clearer. EDIT is gone, since it was
1001         premature optimisation, and broken for mathed anyway.
1002         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1003         with cursor positioning in insets as well (math insets still do not
1004         work, but that's a different story anyway.) It mysteriously
1005         crashes sometimes with undo in the first paragraph, but I'm fairly
1006         confident that this is a compiler bug.
1007
1008 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1009
1010         * paragraph.C (Paragraph): adjust for new clone return type
1011         (operator==): ditto
1012         (copyIntoMinibuffer): ditto
1013
1014 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1015
1016         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1017         by not having a special case, and always doing a full rebreak of
1018         the document after undo.
1019
1020 2003-07-23  Angus Leeming  <leeming@lyx.org>
1021
1022         * factory.C (createInset): InsetExternal::setParams now takes a
1023         Buffer const * arg.
1024
1025 2003-07-23  Angus Leeming  <leeming@lyx.org>
1026
1027         * factory.C (createInset): changed interface to the external and
1028         graphics mailers' string2params functions.
1029
1030 2003-07-23  Angus Leeming  <leeming@lyx.org>
1031
1032         * factory.C (createInset): pass a
1033         Buffer const * parameter to InsetExternalMailer's string2params.
1034
1035 2003-07-22  John Levon  <levon@movementarian.org>
1036
1037         * Thesaurus.h: include the right aiksaurus header
1038
1039 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1040
1041         * MenuBackend.C (expand): check menu shortcuts unconditionally
1042
1043 2003-07-21  Angus Leeming  <leeming@lyx.org>
1044
1045         * factory.C (createInset): pass a
1046         buffer_path parameter to InsetGraphicsMailer's string2params.
1047
1048 2003-07-21  Angus Leeming  <leeming@lyx.org>
1049
1050         * BufferView_pimpl.C (buffer):
1051         * buffer.C (d-tor):
1052         * lyx_main.C (LyX):
1053         * lyxfunc.C (dispatch):
1054         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1055         rather than the grfx shortcut.
1056
1057 2003-07-21  André Pönitz  <poenitz@gmx.net>
1058
1059         * rowpainter.C: remove unused variables
1060
1061         * tabular_funcs.C:
1062         * tabular_funcs.h: move to tabular.C
1063         * Makefile.am: adjust
1064
1065         * tabular.[Ch]: basic optical cleaning
1066
1067         * author.h: pass references, not values
1068
1069 2003-07-18  André Pönitz  <poenitz@gmx.net>
1070
1071         * lyxtext.h:
1072         * metricsinfo.C:
1073         * metricsinfo.h:
1074         * rowpainter.C:
1075         * text.C:
1076         * text2.C:
1077         * text3.C: two-phase drawing for InsetText and InsetTabular
1078         some float -> int changes.
1079
1080 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1081
1082         * lyx_main.C: fix the fix
1083
1084 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1085
1086         * lyx_main.C: fix a crash in batch mode if no files specified
1087         * converter.C: ws
1088
1089 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1090
1091         * format.[Ch] (papersize): moved to BufferParams
1092         * converter.[Ch] (dvips_options): moved to BufferParams
1093         (dvipdfm_options): moved to anon namespace
1094         * bufferparams.[Ch]: added above functions.
1095
1096 2003-07-17  André Pönitz  <poenitz@gmx.net>
1097
1098         * lyxtext.h:
1099         * rowpainter.C:
1100         * text2.C: don't call inset->update() anymore
1101
1102         * metricsinfo.[Ch]: add convenience constructor
1103
1104 2003-07-16  André Pönitz  <poenitz@gmx.net>
1105
1106         * lyxcursor.[Ch]:
1107         * lyxfunc.[Ch]:
1108         * text.C:
1109         * text2.C: replace the LyXCursor::irow_ member with
1110          on-demand computation of the value
1111
1112 2003-07-16  John Levon  <levon@movementarian.org>
1113
1114         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1115
1116 2003-07-15  André Pönitz  <poenitz@gmx.net>
1117
1118         * text.C:
1119         * text2.C: remove no more needed refresh_row
1120
1121 2003-07-15  André Pönitz  <poenitz@gmx.net>
1122
1123         * lyxtext.h:
1124         * rowpainter.C:
1125         * text2.C:
1126         * text3.C: refresh_status tristate -> need_update bool
1127
1128 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1129
1130         * lyxtext.h (init): remove reinit argument (act as if always true)
1131         * text2.C: adjust to that
1132
1133 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1134
1135         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1136         * text3.C: use it to delete selections in some cases
1137         (bugs 441, 673, 702, 954).
1138
1139 2003-07-14  André Pönitz  <poenitz@gmx.net>
1140
1141         * rowpainter.[Ch]: reduce interface
1142
1143 2003-07-14  André Pönitz  <poenitz@gmx.net>
1144
1145         * BufferView_pimpl.C:
1146         * text2.C: adjust after removing unused BufferView * argument
1147
1148 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1149
1150         * text2.C (init): fix a crash fired on resize
1151
1152 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1153
1154         * buffer.[Ch]: added new closing signal
1155         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1156         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1157         BufferView::Pimpl via the closing the signal
1158
1159 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1160
1161         * buffer.[Ch]: take out all bv-related from buffer
1162         * BufferView.C:
1163         * BufferView_pimpl.[Ch]: connect to new signals
1164         * CutAndPaste.C: removed useless asserts
1165         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1166         * lyxvc.[Ch]:
1167         * vc-backend.[Ch]:
1168         * lyxfunc.C: moved view-related funciontality from vc here
1169         * paragraph.C: removed outdated comments
1170         * text.C: ws
1171
1172 2003-07-10  André Pönitz  <poenitz@gmx.net>
1173
1174         * BufferView_pimpl.C:
1175         * tabular.h:
1176         * tabular_funcs.C:
1177         * text.C:
1178         * text2.C: remove InsetText::InnerCache, clean up consequences
1179
1180 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1181
1182         * ispell.C: fix two typos in error messages
1183
1184 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1185
1186         * Extend Note inset to other forms of annotation like Comment
1187         and Greyedout. Right button click gives dialog.
1188
1189         Files modified or added (+):
1190
1191         * insetnote.[Ch]
1192         * FormNote.[Ch]      +
1193         * ControlNote.[Ch]   +
1194         * form_note.fd       +
1195         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1196         frontends/controllers
1197         * xforms/Dialogs.C
1198         * factory.C
1199
1200 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1201
1202         * aspell.C: add missing namespace lyx::support
1203
1204 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1205
1206         * BufferView.[Ch] (newFile): Add
1207         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1208         * LaTeX.[Ch] (message): added this signal and use it
1209         * buffer.[Ch] (busy, message): added these signals and use them
1210         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1211         * converter.C:
1212         * exporter.C:
1213         * format.C:
1214         * importer.C: use buffer signals instead of direct bv calling
1215         * lyx_cb.[Ch] (ShowMessage): removed
1216         * lyx_main.C:
1217         * lyxfunc.C:
1218         * paragraph_funcs.C:
1219         * text2.C: use buffer signals
1220
1221 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1222
1223         * introduce namespace lyx::graphics
1224
1225 2003-07-02  André Pönitz  <poenitz@gmx.net>
1226
1227         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1228
1229 2003-07-01  André Pönitz  <poenitz@gmx.net>
1230
1231         * text.C:
1232         * text2.C:
1233         * text3.C:
1234         * text_funcs.[Ch]:
1235         * textcursor.h:
1236         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1237           text*.C to text_func.C
1238
1239 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1240
1241         * introduce namespace lyx::support
1242
1243 2003-06-30  André Pönitz  <poenitz@gmx.net>
1244
1245         * Chktex.C:
1246         * funcrequest.C:
1247         * lyxtext.h:
1248         * text.C: re-enable --with-included-string
1249
1250 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1251
1252         * textcursor.C: add <config.h>
1253
1254         * text.C (getWord): remove const from word_location arg
1255
1256         * lyxvc.C (getLogFile): fix const type order
1257
1258         * lyxtext.h: remove const from word_location arg, add arg name
1259
1260         * lyxlayout.h: currect type on labeltype.
1261
1262         * importer.C: correct \file
1263
1264         * converter.C (intToFormat): use std:: on ret val, ws changes
1265
1266         * bufferlist.h: correct \file
1267
1268         * buffer.C (makeLinuxDocFile): fix const type order
1269         (makeDocBookFile): ditto
1270         (fillWithBibKeys): use std:: on stdlib args.
1271
1272         * CutAndPaste.C: fix authors.
1273         (availableSelections): use std:: on return vector
1274
1275 2003-06-27  André Pönitz  <poenitz@gmx.net>
1276
1277         * BufferView_pimpl.C:
1278         * bufferview_funcs.C:
1279         * lyxcursor.C:
1280         * lyxcursor.h:
1281         * lyxfunc.C:
1282         * lyxtext.h:
1283         * rowpainter.C:
1284         * text.C:
1285         * text2.C:
1286         * text3.C: remove LyXCursor::row_ member
1287
1288         * lyxtext.h:
1289         * text.C: rename fullRebreak() to partialRebreak() and implement
1290           a fullRebreak() that really bereks fully
1291
1292         * textcursor.h: new struct for cursor-related data
1293
1294 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1295
1296         * lyx_main.C (LyX): get full path of document loaded on the
1297         command line
1298
1299 2003-06-26  André Pönitz  <poenitz@gmx.net>
1300
1301         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1302           remove unused/broken operator>,<,>=.
1303
1304         *       text.C: remove only use of broken operator<= in an Assert().
1305
1306 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1307
1308         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1309         moved errorlist_.clear to showErrorList
1310
1311 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1312
1313         * converter.C (scanLog, runLaTeX):
1314         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1315         move the bv->showErrorList call to the callers
1316         * lyxfunc.C: i.e. here...
1317         * text2.C: and here
1318         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1319         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1320         namespace, the second to...
1321         * buffer_funcs (BufferFormat, parseErrors): added
1322         * errorlist.C (ErrorList(TeXErrors const &)): removed
1323
1324 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1325
1326         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1327
1328 2003-06-24  "Garst R. Reese" <reese@isn.net>
1329
1330         * debug.C: fix typo
1331
1332 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1333
1334         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1335
1336         * version.C.in: change docversion to 1.4
1337
1338 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1339
1340         * buffer.C: fix a bug just introduced
1341
1342 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1343
1344         * buffer.[Ch]: added the parseError signal and use it, removed
1345         sgmlError
1346         * BufferView.[Ch] (addError): moved to ...
1347         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1348         to the Buffer::parseError signal to catch (guess what) parse errors
1349         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1350
1351 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1352
1353         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1354         ability to create a buffer and to return an existing one from
1355         the list. Moved these functions to...
1356         * buffer_funcs.[Ch]: added
1357         * BufferView.[Ch] (loadLyXFile): added
1358         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1359         job removed from bufferlist::loadLyXFile.
1360         * buffer.C (setReadOnly): make it work without view
1361         (i.e added an if (users))
1362
1363 2003-06-19  Angus Leeming  <leeming@lyx.org>
1364
1365         * lfuns.h:
1366         * LyXAction.C (init):
1367         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1368         with LFUN_DIALOG_SHOW <name> <data>.
1369
1370 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1371
1372         * CutAndPaste.C (availableSelections): small compilation fix for
1373         ancient (gcc 2.9x) compilers
1374
1375 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1376
1377         * text3.C (cursorNext): add tmp var
1378
1379         * text2.C (updateCounters): for function calling out of for clause
1380         (replaceSelectionWithString): ditto
1381         (insertStringAsParagraphs): ditto
1382         (getColumnNearX): add tmp var
1383         (setCursorFromCoordinates): add tmp var
1384         (cursorDownParagraph): add tmp var
1385         (deleteEmptyParagraphMechanism): add tmp var
1386
1387         * text.C (insertChar): add tmp var
1388
1389         * rowpainter.C (paintDepthBar): add tmp var
1390
1391         * CutAndPaste.C (availableSelections): potentially check all
1392         paragraphs in a cut to fill the shown strings.
1393
1394 2003-06-18  André Pönitz  <poenitz@gmx.net>
1395
1396         * kbmap.[Ch]: use vector<> instead of list<>
1397
1398 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1399
1400         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1401         pasteSelection with index
1402
1403         * text2.C (pasteSelection): modify, call pasteSelection with index
1404
1405         * paragraph.C (asString): reimplement version with no interval to
1406         call the one with interval.
1407
1408         * lyxtext.h: add index arg to pasteSelection
1409
1410         * MenuBackend.C (MenuItem): handle PasteRecent
1411         (Menu::read::Menutags): add md_pasterecent
1412         (read): handle it
1413         (expandPasteRecent): new function
1414         (expand): use it
1415
1416         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1417
1418         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1419         the limited stack
1420         (availableSelections): new function
1421
1422 2003-06-17  Angus Leeming  <leeming@lyx.org>
1423
1424         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1425
1426 2003-06-17  Angus Leeming  <leeming@lyx.org>
1427
1428         * lfuns.h:
1429         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1430
1431         * lyxfunc.C (dispatch): invoke it.
1432
1433 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1434
1435         * iterators.C (operator++, ParPosition): reintroduce some
1436         const_cast for the benefit of older compilers.
1437
1438 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1439
1440         * text3.C (dispatch): do not modify clipboard when doing
1441         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1442         LFUN_DELETE_SKIP on a selection selection
1443
1444 2003-06-16  André Pönitz  <poenitz@gmx.net>
1445
1446         * BufferView.C:
1447         * buffer.C:
1448         * buffer.h:
1449         * paragraph.C:
1450         * tabular.[Ch]: IU of clone() and getLabelList();
1451
1452 2003-06-13  André Pönitz  <poenitz@gmx.net>
1453
1454         * tabular.h: compactification
1455
1456 2003-06-12  André Pönitz  <poenitz@gmx.net>
1457
1458         * tabular.C:
1459         * tabular.h:
1460         * tabular_funcs.h: some renaming plus whitespace
1461
1462 2003-06-12  André Pönitz  <poenitz@gmx.net>
1463
1464         * BufferView.C:
1465         * BufferView_pimpl.C:
1466         * CutAndPaste.C:
1467         * buffer.C:
1468         * iterators.[Ch]:
1469         * lyxfunc.C:
1470         * text.C:
1471         * toc.C: Return a Paragraph & for ParIterator::operator*()
1472
1473 2003-06-11  John Levon  <levon@movementarian.org>
1474
1475         * lyx_main.C:
1476         * ToolbarBackend.h:
1477         * ToolbarBackend.C: add "Toolbars" section and
1478         put the flags there
1479
1480 2003-06-10  Angus Leeming  <leeming@lyx.org>
1481
1482         * lfuns.h:
1483         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1484
1485         * lyxfunc.C (dispatch): invoke it.
1486
1487 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1488
1489         * main.C: protect <ios> with HAVE_IOS
1490         (main): protect sync_with_stdio with HAVE_IOS
1491
1492 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1493
1494         * text2.C (cutSelection): adjust
1495         (pasteSelection): adjust
1496
1497         * messages.C: handle get of empty string
1498
1499         * main.C (main): use sync_with_stdio(false)
1500
1501         * lyxfunc.C (dispatch): adjust
1502
1503         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1504         (WriteAs): remove unneeded BufferView arg.
1505
1506         * bufferparams.h: use correct types on papersize, papersize2 and
1507         paperpackage.
1508
1509         * bufferparams.C (readToken): adjust for type
1510         (writeLaTeX): add missing cases to switch.
1511
1512         * bufferlist.C (quitWriteBuffer): adjust
1513         (close): adjust
1514
1515         * buffer.C (asciiParagraph): remove some commented code.
1516
1517         * CutAndPaste.C: remove current_view extern variable.
1518         (cutSelection): add BufferParams arg.
1519         (eraseSelection): add BufferParams arg.
1520         (pasteSelection): add Buffer const & arg
1521
1522 2003-06-07  John Levon  <levon@movementarian.org>
1523
1524         * buffer.C:
1525         * paragraph_funcs.C:
1526         * paragraph_pimpl.C:
1527         * text.C:
1528         * text2.C:
1529         * paragraph.h:
1530         * paragraph.C: allow InsetERT to freely space lines,
1531         and some consolidation of code
1532
1533 2003-06-06  José Matos  <jamatos@fep.up.pt>
1534
1535         * buffer.C (makeDocBookFile): fix bug #821
1536
1537 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1538
1539         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1540
1541 2003-06-04  Angus Leeming  <leeming@lyx.org>
1542
1543         * buffer.C: bump format to 224.
1544
1545 2003-06-05  André Pönitz  <poenitz@gmx.net>
1546
1547         * text2.C (redoParagraphs): remove two const_cast<>
1548
1549 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1550
1551         * ParagraphList.h: remove last remnants of NO_STD_LIST
1552
1553 2003-06-03  Angus Leeming  <leeming@lyx.org>
1554
1555         * factory.C (createInset): small change to the way InsetExternal's params
1556         are set.
1557
1558 2003-06-04  André Pönitz  <poenitz@gmx.net>
1559
1560         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1561
1562         * paragraph_pimpl.h:
1563         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1564
1565         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1566
1567         * undo_funcs.C: make some simple cases of undo work again
1568
1569 2003-06-03  John Levon  <levon@movementarian.org>
1570
1571         * ispell.C: HPUX doesn't have sys/select.h
1572         (from Albert Chin)
1573
1574 2003-06-03  John Levon  <levon@movementarian.org>
1575
1576         * CutAndPaste.C: update tabular and include inset
1577         buffer references
1578
1579         * buffer.h:
1580         * paragraph.h:
1581         * paragraph.C: remove owningBuffer(), don't pass Buffer
1582         to clone()
1583
1584         * factory.C: insetGraphicsParams changed
1585
1586 2003-06-02  John Levon  <levon@movementarian.org>
1587
1588         * LyXAction.C:
1589         * factory.C:
1590         * lfuns.h:
1591         * lyxfunc.C:
1592         * text3.C: remove insetparent
1593
1594 2003-06-02  John Levon  <levon@movementarian.org>
1595
1596         * buffer.h:
1597         * buffer.C: fix inset_iterator.end(), move out of line
1598         (bug 1149)
1599
1600 2003-06-01  John Levon  <levon@movementarian.org>
1601
1602         * text3.C: use a proper cut/paste when doing inset
1603         insert (from Jürgen Spitzmüller)
1604
1605 2003-06-01  John Levon  <levon@movementarian.org>
1606
1607         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1608
1609 2003-05-30  André Pönitz  <poenitz@gmx.net>
1610
1611         * rowpainter.C: unify second drawing phase
1612
1613 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1614
1615         * trans_mgr.C: remove one case of current_view
1616
1617         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1618
1619         * paragraph_funcs.h: remove paragraph.h include
1620
1621         * paragraph.h: delete NO_STD_LIST stuff
1622
1623         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1624
1625         * buffer.h: remove paragraph.h include
1626
1627         * ParagraphList.C: delete file
1628
1629         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1630
1631         * toc.C (getTocList): adjust
1632
1633         * paragraph_pimpl.C (validate): adjust
1634
1635         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1636
1637         * paragraph.C (Paragraph): adjust
1638         (getPositionOfInset): use const_iterator, adjust
1639         (bibitem): use const_iterator, adjust
1640         (setInsetOwner): adjust
1641
1642         * iterators.C (operator++): adjust
1643
1644         * InsetList.[Ch]: Replace selfmade iterator with standard
1645         vector::iterator also introduce const_iterator. Remove getPos,
1646         getInset and setInset from InsetTable. Adjust accordingly.
1647
1648         * BufferView.C (lockInset): adjust
1649         (ChangeInsets): adjust
1650
1651         * tabular.[Ch]: delete commented same_id functions
1652
1653 2003-05-28  John Levon  <levon@movementarian.org>
1654
1655         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1656
1657 2003-05-28  André Pönitz  <poenitz@gmx.net>
1658
1659         * metricsinfo.[Ch]: remove 'fullredraw' member
1660
1661 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1662
1663         * lyxtextclass.C (operator): remove caching.
1664
1665 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1666
1667         * text3.C: adjust
1668
1669         * text2.C (cursorBottom): adjust
1670         (setCounter): use ParagraphList::find, adjust
1671
1672         * text.C (workWidth): use ParagraphList::find, adjust
1673
1674         * lyxcursor.C (LyXCursor): adjust
1675
1676         * buffer.C (inset_iterator): adjust
1677
1678         * ParagraphList.h: make iterator(value_type) private, make
1679         ParagraphList a friend of iterator.
1680
1681         * ParagraphList.C (find): new function
1682
1683         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1684
1685 2003-05-27  André Pönitz  <poenitz@gmx.net>
1686
1687         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1688
1689 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1690
1691         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1692
1693 2003-05-26  John Levon  <levon@movementarian.org>
1694
1695         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1696
1697 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1698
1699         * remove same_id from function signatures, adjust.
1700
1701 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1702
1703         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1704
1705         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1706
1707         * paragraph.C (Paragraph): get rid of same_ids parameter
1708
1709         * ParagraphList.C (insert): adjust
1710         (push_back): adjust
1711
1712 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1713
1714         * paragraph_funcs.C (breakParagraph): adjust
1715         (breakParagraphConservative): adjust
1716
1717         * buffer.C (readParagraph): adjust
1718
1719         * ParagraphList.C (insert): take a reference instead of a pointer
1720         (insert): adjust
1721
1722         * paragraph.[Ch] (id): new function
1723
1724         * bufferlist.C (newFile): adjust
1725
1726         * ParagraphList.C (ParagraphList): adjust
1727         (assign): adjust
1728         (push_back): take a reference instead of a pointer.
1729
1730         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1731
1732         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1733         instead.
1734
1735         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1736         set else use old code.
1737
1738         * ParagraphList.C: remove all NO_NEXT code and only compile this
1739         code of NO_STD_LIST is set.
1740
1741 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1742
1743         * BufferView_pimpl.C:
1744         * TextCache.C:
1745         * TextCache.h:
1746         * bufferlist.C:
1747         * errorlist.h:
1748         * format.C:
1749         * format.h:
1750         * graph.C:
1751         * lyxfunc.C:
1752         * lyxrc.C:
1753         * graphics/GraphicsConverter.C:
1754         * graphics/PreviewLoader.C: header adjustment
1755
1756 2003-05-23  Angus Leeming  <leeming@lyx.org>
1757
1758         * LaTeXFeatures.[Ch] (useBabel): new method.
1759         * bufferparams.C (writeLaTeX): use it.
1760
1761 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1762
1763         * ParagraphList.h (set): remove unused function.
1764
1765 2003-05-23  André Pönitz  <poenitz@gmx.net>
1766
1767         * BufferView.C:
1768         * BufferView_pimpl.C:
1769         * buffer.C:
1770         * buffer.h:
1771         * lyxfunc.C:
1772         * undo_funcs.C: setUndo reworked
1773
1774         * iterators.[Ch]: add access to topmost ParagraphList
1775
1776         * lyxtext.[Ch] (workWidth): add a const
1777
1778 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1779
1780         * texrow.[Ch] (increasePos): remove function
1781         * exporter.C (export): removed unused var and outdated comment
1782
1783 2003-05-23  Angus Leeming  <leeming@lyx.org>
1784
1785         * latexrunparams.h: rename fragile as moving_arg.
1786         * paragraph.C (simpleTeXOnePar): ditto.
1787         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1788
1789 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1790
1791         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1792         (createUndo): ditto
1793         (textUndoOrRedo): comment out a currently unused var.
1794
1795         * paragraph.h (NO_NEXT): enable NO_NEXT
1796
1797         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1798
1799         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1800
1801         * exporter.C (Export): adjust for removeAutoInsets removal.
1802
1803         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1804
1805         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1806
1807         * BufferView.[Ch] (removeAutoInsets): delete function
1808
1809 2003-05-22  Angus Leeming  <leeming@lyx.org>
1810
1811         * latexrunparams.h: add a free_spacing variable.
1812
1813         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1814         to pass moving_arg, as the data is stored in runparams.fragile.
1815
1816         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1817         to Inset::latexOptional or to simpleTeXOnePar.
1818
1819         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1820         free_spacing arg to Inset::latexOptional.
1821
1822         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1823         free_spacing arg.
1824
1825 2003-05-22  Angus Leeming  <leeming@lyx.org>
1826
1827         * latexrunparams.h: add fragile and use_babel variables.
1828
1829         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1830         * buffer.C (makeLaTeXFile): store this returned value in
1831         runparams.use_babel, thus passing it to the inset::latex methods.
1832
1833         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1834         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1835
1836         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1837         longer has a fragile arg, as it is stored in runparams.fragile.
1838
1839         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1840         moving_arg parameter as the data is stored in runparams.fragile.
1841
1842         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1843         a fragile parameter as the data is stored in runparams.fragile.
1844
1845 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1846
1847         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1848
1849 2003-05-22  Angus Leeming  <leeming@lyx.org>
1850
1851         * latexrunparams.h: add a 'bool nice' which defaults to false.
1852
1853         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1854         now encapsulated within runparams.
1855
1856         * bufferlist.C (updateIncludedTeXfiles):
1857         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1858
1859 2003-05-22  Angus Leeming  <leeming@lyx.org>
1860
1861         * latexrunparams.h: new file containing struct LatexRunParams.
1862         * Makefile.am: add new file.
1863
1864         * LaTeX.[Ch] (c-tor, run):
1865         * buffer.[Ch] (makeLaTeXFile):
1866         * bufferlist.[Ch] (updateIncludedTeXfiles):
1867         * converter.C (convert, scanLog):
1868         * converter.[Ch] (runLaTeX):
1869         * exporter.C (Export):
1870         * paragraph.[Ch] (simpleTeXOnePar):
1871         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1872         * paragraph_funcs.[Ch] (latexParagraphs):
1873         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1874         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1875         pass around a LatexRunParams parameter.
1876
1877 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1878
1879         * paragraph.[Ch]: remove unused constructor
1880
1881         * ParagraphList.C (erase): new function, taking two iterators
1882
1883 2003-05-22  André Pönitz  <poenitz@gmx.net>
1884
1885         * undo_funcs.C: remove duplicated code
1886
1887         * iterator.[Ch]: operator=
1888
1889 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1890
1891         * tabular.C (SetMultiColumn): ws changes
1892
1893         * rowpainter.C (paintFirst): get rid of a ->previous
1894
1895         * lyx_cb.C (getPossibleLabel): parlist simplification
1896
1897         * BufferView.C (ChangeInsets): simplify slightly.
1898
1899 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1900
1901         * LyXAction.C: new lfun space-insert, kill protected-space-insert
1902         * lfuns.h: new LFUN_SPACE
1903         * lyxfunc.C: protected space has a new lfun
1904         * paragraph_funcs.C: read new space insets
1905         * text3.C:
1906         * factory.C: handle new space insets
1907
1908 2003-05-22  André Pönitz  <poenitz@gmx.net>
1909
1910         * BufferView.C:
1911         * BufferView_pimpl.C:
1912         * buffer.[Ch]:
1913         * lyxfunc.C:
1914         * undo_funcs.C: return a ParIterator from getParFromID.
1915
1916         * iterators.[Ch]: add two const's
1917
1918 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1919
1920         * toc.C (getTocList): adjust
1921
1922         * iterators.[Ch]: rework for parlist
1923
1924         * buffer.C (par_iterator_begin): adjust
1925         (par_iterator_end): adjust
1926
1927         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1928
1929         * BufferView.C (removeAutoInsets): adjust
1930         (ChangeInsets): adjust
1931
1932 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
1933
1934         * text.C (top_y): fix bug 1110
1935
1936 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
1937
1938         * errorlist.[Ch]: added
1939         * buffer.C:
1940         * BufferView.[Ch]:
1941         * BufferView_pimpl.C:
1942         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1943         instead
1944
1945 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1946
1947         * Makefile.am: ensure that lyx is relinked upon changes to the
1948         various "convenience" libs.
1949
1950 2003-05-20  Angus Leeming  <leeming@lyx.org>
1951
1952         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1953         files are compiled in alphabetical order again.
1954
1955         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1956
1957 2003-05-19  Angus Leeming  <leeming@lyx.org>
1958
1959         * gettext.[Ch]: remove "char const * _(char const *)".
1960
1961 2003-05-19  André Pönitz  <poenitz@gmx.net>
1962
1963         * dimension.[Ch]: promote from mathed/dimension.[Ch]
1964
1965         * Makefile.am:
1966         * BufferView.C:
1967         * DepTable.h:
1968         * LaTeXFeatures.C:
1969         * buffer.C:
1970         * lyxfont.C:
1971         * lyxlex.h:
1972         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1973
1974 2003-05-19  André Pönitz  <poenitz@gmx.net>
1975
1976         * buffer.C:
1977         * lyxlayout.[Ch]:
1978         * lyxtextclass.[Ch]:
1979         * paragraph.C:
1980         * paragraph_funcs.[Ch]:
1981         * text2.C:
1982         * text3.C: more insetenv work
1983
1984 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
1985
1986         * ParagraphParameters.C (params2string): small bug fixed
1987
1988 2003-05-16  André Pönitz  <poenitz@gmx.net>
1989
1990         * debug.C:
1991         * bufferview_funcs.C: patch from Kornel Benko to prevent
1992           crash when _(...) is called twice in a statement
1993
1994 2003-05-16  André Pönitz  <poenitz@gmx.net>
1995
1996         * BufferView.C:
1997         * lyxfunc.C:
1998         * text.C:
1999         * text2.C:
2000         * text3.C:
2001         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2002
2003 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2004
2005         * lyx_main.C (init): remove spurious static_cast
2006
2007 2003-05-14  André Pönitz  <poenitz@gmx.net>
2008
2009         * BufferView.C: fix format string
2010
2011 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2012
2013         * BufferView.[Ch] (insertErrors): removed
2014         * BufferView.[Ch] (showErrorList): added
2015         * buffer.C (runChkTeX):
2016         * converter.C (scanLog): call showErrorList instead of inserterrors
2017
2018 2003-05-13  André Pönitz  <poenitz@gmx.net>
2019
2020         * BufferView_pimpl.C:
2021         * buffer.C:
2022         * bufferview_func.C:
2023         * MenuBackend.C:
2024         * lyxfunc.C:
2025         * lyxrc.C:
2026         * tex-accent.C:
2027         * text3.C:
2028         * toc.C:
2029         * tabular_funcs.h: tostr() from its own header
2030
2031         * ParagraphParameters.C:
2032         * ToolbarBackend.C:
2033         * bufferparams.C:
2034         * format.C:
2035         * lyxlex_pimpl.C:
2036         * text3.C: STRCONV()
2037
2038 2003-05-12  André Pönitz  <poenitz@gmx.net>
2039
2040         * BufferView.C:
2041         * BufferView_pimpl.C:
2042         * CutAndPaste.C:
2043         * LaTeX.C:
2044         * LaTeXFeatures.C:
2045         * ParagraphParameters.C:
2046         * buffer.C:
2047         * bufferlist.C:
2048         * bufferparams.C:
2049         * bufferview_funcs.C:
2050         * converter.C:
2051         * counters.C:
2052         * debug.C:
2053         * exporter.C:
2054         * format.C:
2055         * importer.C:
2056         * lyx_cb.C:
2057         * lyx_main.C:
2058         * lyxfont.C:
2059         * lyxfunc.C:
2060         * lyxvc.C:
2061         * paragraph.C:
2062         * paragraph_funcs.C:
2063         * tabular.C:
2064         * tabular_funcs.C:
2065         * text2.C:
2066         * text3.C:  boost::format -> bformat  all over the place
2067
2068
2069 2003-05-09  André Pönitz  <poenitz@gmx.net>
2070
2071         * LColor.[Ch]: Pimpl the #include <map> away
2072
2073 2003-05-09  John Levon  <levon@movementarian.org>
2074
2075         * bufferlist.C: never remove emergency saves
2076
2077 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2078
2079         * Makefile.am: better lib building
2080
2081 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2082
2083         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2084         instead.
2085         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2086         (simpleTeXSpecialChars): adjust
2087         (simpleTeXSpecialChars): adjust
2088         * paragraph.C (simpleTeXOnePar): adjust
2089         * buffer.C (makeLaTeXFile): adjust
2090
2091         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2092
2093         * text2.C (changeDepth): parlist cleanup
2094         (getColumnNearX): ditto
2095
2096         * rowpainter.C (getLabelFont): parlist cleanup
2097
2098         * bufferlist.C (newFile): parlist cleanup
2099
2100         * CutAndPaste.C (eraseSelection): parlist cleanup
2101
2102         * BufferView_pimpl.C (trackChanges): parlist cleanup
2103         (dispatch): ditto
2104
2105         * BufferView.C (lockInset): parlist cleanup.
2106         (ChangeInsets): ditto
2107
2108 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2109
2110         * CutAndPaste.h: Update file header.
2111
2112         * CutAndPaste.C: Update file header.
2113         Store the parts cut out of the Document in a limited_stack.
2114         (copySelection): adjust
2115         (pasteSelection): new function, takes the index in the limited stack.
2116         (nrOfParagraphs): adjust
2117         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2118         simplify error inset insertion.
2119         (checkPastePossible): adjust
2120
2121 2003-05-06  John Levon  <levon@movementarian.org>
2122
2123         * text2.C: don't cast wrap inset to float
2124
2125 2003-05-05  André Pönitz  <poenitz@gmx.net>
2126
2127         * iterator.C:
2128         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2129
2130         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2131           few naked Paragraph *.
2132
2133 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2134
2135         * bufferparams.C: Output warning if a document with missing
2136         TeX document class is loaded
2137         * exporter.C: Disable TeX exports if the document class is missing
2138         * lyxtextclass.C:
2139         * lyxtextclass.h:
2140         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2141         isTeXClassAvailable()
2142
2143 2003-05-03  John Levon  <levon@movementarian.org>
2144
2145         * BufferView.h:
2146         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2147         explicit cursor show/hide
2148
2149         * BufferView_pimpl.h:
2150         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2151         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2152
2153         * lyxfunc.C: hide cursor before dispatching.
2154
2155         * lyx_cb.C:
2156         * lyxfind.C:
2157         * text.C:
2158         * text3.C: remove explicit cursor hides
2159
2160 2003-05-02  André Pönitz  <poenitz@gmx.net>
2161
2162         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2163
2164         * undo_funcs.C:
2165         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2166           linked lists
2167
2168         * text2.C: tiny whitespace
2169
2170 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2171
2172         * undo_funcs.C: almost only ws changes.
2173
2174         * ParagraphList.C (splice): just return if pl is empty.
2175
2176 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2177
2178         * ParagraphList.C (splice): new function.
2179
2180         * CutAndPaste.C (pasteSelection): use it
2181
2182 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2183
2184         * CutAndPaste.C (pasteSelection): remove the last next and
2185         previous from this file.
2186
2187 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2188
2189         * CutAndPaste.C (pasteSelection): more clean up, user proper
2190         ParagraphList functions for pasteing.
2191
2192         * ParagraphList.C (insert): new function, three arg insert
2193
2194 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2195
2196         * ParagraphList.C (insert): new function, three arg insert
2197
2198         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2199         not on paragraphs.
2200
2201 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2204
2205 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2208
2209 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2210
2211         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2212         (copySelection): clean up a bit.
2213         (pasteSelection): use make_pair
2214
2215         * ParagraphList.C (ParagraphList): implement copy constructor
2216         (operator=): implement, base on copy constructor.
2217         (assign): new func
2218
2219         * paragraph.C (erase): return a bool
2220
2221         * paragraph_pimpl.C (erasePos): remove function, move contents...
2222         (erase): ... here. Return a bool.
2223         (erase): call erase instead of erasePos.
2224
2225 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2226
2227         * ParagraphList.h: define PitPosPair
2228         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2229         ParagraphList, fix a bug on pasting multiple pars
2230         * text2.C: change interface to C&P
2231
2232 2003-04-30  André Pönitz  <poenitz@gmx.net>
2233
2234         * undo_func.C: revert part of yesterday's patch 2
2235
2236 2003-04-30  John Levon  <levon@movementarian.org>
2237
2238         * LColor.C: s/tabular/table/
2239
2240 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2241
2242         * text3.C (dispatch): do not convert iterator -> pointer
2243         * undo_funcs.C (setCursorParUndo): ditto
2244         * text_funcs.C (transposeChars): ditto
2245
2246         * text2.C (setLayout): ws changes only
2247
2248         * text.C (breakParagraph): do not convert iterator -> pointer
2249         (insertChar): ditto
2250         (acceptChange): ditto
2251         (rejectChange): ditto
2252         (changeCase): ditto
2253         (Delete): ditto
2254         (backspace): ditto
2255
2256         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2257         pointer
2258
2259 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2260
2261         * text3.C (gotoInset): YABG (yet another bad getChar)
2262
2263 2003-04-29  André Pönitz  <poenitz@gmx.net>
2264
2265         * paragraph.h: make operator= private unimplemented as long as
2266           it is unusable
2267
2268         * ParagraphList.C: whitespace
2269
2270         * paragraph.[Ch]:
2271         * paragraph_pimpl.[Ch]:
2272         * paragraph_funcs.C:
2273         * CutAndPaste.C:
2274         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2275
2276         * text2.C:
2277           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2278
2279 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2280
2281         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2282         * paragraph.[Ch] (erase):
2283         * paragraph_pimpl.[Ch] (erase): change return type and value
2284         * text2.C (cutSelection): some rework
2285
2286 2003-04-28  John Levon  <levon@movementarian.org>
2287
2288         * bufferlist.C: changes for unsaved changes dialog
2289
2290 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2291
2292         * bufferlist.C (newFile): set language (messages_) for new
2293         documents also.
2294
2295         * buffer.C (readFile): ws changes only.
2296
2297 2003-04-28  André Pönitz  <poenitz@gmx.net>
2298
2299         * undo_funcs.C:
2300         * lyxfunc.C:
2301         * buffer.[Ch]:
2302         * BufferView_pimpl.C:
2303         * BufferView.C: getParFromID related ParagraphList::iterator changes
2304
2305 2003-04-28  André Pönitz  <poenitz@gmx.net>
2306
2307         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2308           Changes
2309
2310 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * messages.C: remove one more localedir class variable.
2313
2314 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2315
2316         * messages.C (getLocaleDir): singleton generation function
2317         (Pimpl): use it.
2318         (Messages): add a default constructor.
2319
2320         * main.C (main): do not setup localedir here, do not call
2321         gettext_init.
2322
2323         * gettext.C (_): use it.
2324         (gettext_init): delete funciton
2325
2326 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2327
2328         * gettext.C (getLyXMessages): new singleton generating function.
2329
2330         * buffer.C (updateDocLang): adjust
2331
2332         * Makefile.am (messages.o): add target
2333         (main.o): remove target
2334
2335 2003-04-27  John Levon  <levon@movementarian.org>
2336
2337         * bufferlist.C:
2338         * lyx_cb.C:
2339         * lyxfunc.C:
2340         * lyxvc.C: specify cancel button in Alert::prompt
2341
2342 2003-04-26  John Levon  <levon@movementarian.org>
2343
2344         * text3.C:
2345         * lyxfunc.C:
2346         * lfuns.h:
2347         * LyXAction.C: add LFUN_INSET_SETTINGS
2348
2349         * lyxfunc.C: don't enable tabular-feature when there's
2350         just any locking inset
2351
2352 2003-04-26  John Levon  <levon@movementarian.org>
2353
2354         * bufferlist.C: re-add Cancel to buffer close question
2355
2356         * lyxfunc.C: fix import UI a bit
2357
2358 2003-04-25  John Levon  <levon@movementarian.org>
2359
2360         * gettext.C: remove the broken asserts for now
2361
2362 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2363
2364         * messages.C: make case where setlocale cannot comply work better.
2365
2366         * buffer.C (updateDocLang): new function
2367         (changeLanguage): use it
2368         (readFile): use it
2369
2370         * text2.C (setCounter): use B_ a bit.
2371
2372         * lyxlayout.C (Read): be sure to trim the label strings.
2373
2374         * messages.C (Messages): fix typo in comment
2375
2376         * buffer.C (readFile): set message_ after file is loaded.
2377         (makeDocBookFile): remove double return
2378         (changeLanguage): reset message_ upon language change.
2379         (B_): new func, use this to get translated buffer strings.
2380
2381         * main.C: add myself and Jean Marc as authors.
2382
2383 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2384
2385         * messages.[hC]: pimplify Messages, and three different pimpls to be
2386         used in different circumstances.
2387
2388         * gettext.[Ch]: change for use with new message code.
2389
2390 2003-04-24 André Pönitz <poenitz@gmx.net>
2391
2392         * factory.C: support for eqref
2393
2394 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2395
2396         * messages.[Ch]: add missing char
2397
2398         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2399
2400         * messages.[Ch]: New files
2401
2402 2003-04-18  John Levon  <levon@movementarian.org>
2403
2404         * BufferView.h:
2405         * BufferView.C:
2406         * BufferView_pimpl.C:
2407         * lfuns.h:
2408         * LyXAction.C:
2409         * lyxtext.h:
2410         * text2.C: remove layout-copy/paste (bug 778)
2411
2412 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2413
2414         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2415
2416 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2417
2418         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2419         if they succeed. Act accordingly.
2420
2421 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2422
2423         * text2.C (setCharFont): adjust
2424         (setCounter): adjust
2425         (insertStringAsLines): adjust
2426
2427         * text.C (leftMargin): adjust
2428         (setHeightOfRow): adjust
2429
2430         * rowpainter.C (paintFirst): adjust
2431         (paintLast): adjust
2432
2433         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2434         (outerHook): ditto
2435         (isFirstInSequence): ditto
2436         (getEndLabel): ditto
2437         (outerFont): adjust
2438
2439         * paragraph.C (getParLanguage): comment out some hard stuff.
2440
2441         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2442         (sgmlError): ditto
2443         (simpleDocBookOnePar): ditto
2444         (makeDocBookFile): use ParagraphList::iterator
2445
2446         * CutAndPaste.C (pasteSelection): adjust
2447
2448 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2449
2450         * text2.C (getFont): adjust
2451         (getLayoutFont): adjust
2452         (getLabelFont): adjust
2453
2454         * paragraph_funcs.C (TeXOnePar): adjust
2455
2456         * buffer.C (simpleLinuxDocOnePar): adjust
2457         (simpleDocBookOnePar): adjust
2458
2459         * CutAndPaste.C (pasteSelection): adjust
2460
2461         * BufferView.C (getEncoding): adjust
2462
2463         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2464
2465 2003-04-16  John Levon  <levon@movementarian.org>
2466
2467         * lyxfind.C: use parlist stuff for search/changes
2468
2469 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2472
2473         * text2.C (deleteEmptyParagraphMechanism): adjust
2474
2475         * text2.[Ch] (ownerParagraph): delete func (both of them
2476
2477 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2478
2479         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2480
2481 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2482
2483         * ParagraphList.C: prepare for NO_NEXT
2484
2485 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2486
2487         * text2.C (getFont): adjust
2488         (getLayoutFont): adjust
2489         (getLabelFont): adjust
2490
2491         * paragraph.C (getFont): adjust
2492         (getLabelFont): adjust
2493         (getLayoutFont): adjust
2494
2495         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2496
2497 2003-04-15  John Levon  <levon@movementarian.org>
2498
2499         From Angus Leeming
2500
2501         * lyx_main.C: handle Include in .ui files
2502
2503 2003-04-15  John Levon  <levon@movementarian.org>
2504
2505         * MenuBackend.C: make the doc files length shorter
2506
2507         * ToolbarBackend.h:
2508         * ToolbarBackend.C: handle toolbar placement flags,
2509         Minibuffer
2510
2511 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2512
2513         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2514         adjust
2515
2516         * paragraph_funcs.C (TeXOnePar): adjust
2517
2518         * paragraph.C (getLabelFont): add outerfont arg, adjust
2519         (getLayoutFont): ditto
2520         (simpleTeXOnePar): adjust
2521
2522         * paragraph_pimpl.C (realizeFont): delete func
2523
2524 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2525
2526         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2527         row argument, constify cur argument.
2528
2529 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2530
2531         * text2.C (getFont): adjust
2532         (getLayoutFont): adjust
2533         (getLabelFont): adjust
2534
2535         * paragraph_funcs.C (TeXOnePar): adjust
2536         (outerFont): new func...
2537         (realizeFont): ...moved out from here, changed this to facilitate
2538         transition
2539
2540         * paragraph.C (getFont): take outerfont as arg, adjust
2541         (simpleTeXOnePar): add outerfont arg, adjust
2542
2543         * buffer.C (simpleLinuxDocOnePar): adjust
2544         (simpleDocBookOnePar): adjust
2545
2546         * CutAndPaste.C (pasteSelection): adjust
2547
2548         * BufferView.C (getEncoding): adjust
2549
2550 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2551
2552         * text2.C (setCharFont): adjust
2553         (setCounter): adjust
2554
2555         * text.C (leftMargin): adjust
2556         (setHeightOfRow): adjust
2557
2558         * rowpainter.C (paintFirst): adjust
2559         (paintLast): adjust
2560
2561         * paragraph_pimpl.C (realizeFont): adjust
2562
2563         * paragraph.C (isFirstInSequence): move from here...
2564         * paragraph_funcs.C (isFirstInSequence): ...to here
2565
2566         * paragraph.C (outerHook): move from here...
2567         * paragraph_funcs.C (outerHook): ...to here
2568
2569         * paragraph.C (depthHook): move from here...
2570         * paragraph_funcs.C (depthHook): ...to here
2571
2572         * paragraph.C (getEndLabel): move from here...
2573         * paragraph_funcs.C (getEndLabel): ...to here
2574
2575         * text2.C (realizeFont): move from here...
2576         * paragraph_funcs.C (realizeFont): ...to here
2577
2578 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2579
2580         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2581
2582 2003-04-14  Angus Leeming  <leeming@lyx.org>
2583
2584         * LColor.[Ch]: scrap LColor mathcursor.
2585
2586 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2587
2588         * lyxlex.[Ch] (text): delete function
2589         * trans.C (Load): adjust
2590         * paragraph_funcs.C (readParToken): adjust
2591
2592 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2593
2594         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2595         vector<char> instead of a char[].
2596
2597         * lyxlex_pimpl.C (getString): adjust
2598         (next): adjust
2599         (lex): use getString
2600         (eatLine): adjust
2601         (nextToken): adjust
2602
2603         * lyxlex.C (text): use pimpl_->getString()
2604         (getBool): ditto
2605         (findToken): ditto
2606
2607 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2608
2609         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2610         (makeFontEntriesLayoutSpecific): temp var for par.size()
2611         (setLayout): temp var for ownerParagraphs().end()
2612         (fullRebreak): temp var for rows().end()
2613         (selectionAsString): temp var for boost::next(startpit), realize
2614         that the while really is a regular for loop.
2615         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2616         setCursor in one place.
2617         (setParagraph): temp vr for ownerParagraphs().end()
2618         (updateCounters): make the while loop a for loop
2619         (cutSelection): temp var for ownerParagraphs().end()
2620         (updateInset): make the do {} while() a regular for loop
2621         (getCursorX): use temp vars
2622         (setCurrentFont): use temp vars
2623         (getColumnNearX): use temp vars
2624
2625 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2626
2627         * text.C (transformChar): use temp var for getChar
2628         (computeBidiTables): use temp var for row->par()
2629         (fill): move temp vars for row->par() and pit->layout() earlier in
2630         the function.
2631         (labelFill): use temp var for row->par()
2632         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2633         asc and desc, realize that pit never changes and that firstpit is
2634         just a duplicate and not needed. Exchange rit->par() with pit in a
2635         lot of places.
2636         (breakAgain): use a temp var for boost::next(rit)
2637         (breakAgainOneRow): ditto
2638         (breakParagraph): use a temp var for rows().begin()
2639         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2640         (cursorRightOneWord): use temp var for cursor.par() and
2641         cursor.pos(), remove usage of tmpcursor.
2642         (cursorLeftOneWord): use temp var for cursor.par() and
2643         cursor.pos() only set cur at end of function.
2644
2645 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2646
2647         * text.C, text2.C: exchange all usage of Paragraph::next with
2648         boost::next(ParagraphList::iterator)
2649
2650         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2651
2652         * text2.C (cursorTop): simplify implementation
2653         (cursorBottom): ditto
2654         (setParagraph): use ParagraphList::iterator
2655         (setCurrentFont): adjust
2656         (getColumnNearX): adjust
2657         (cursorRight): adjust
2658         (cursorLeft): remove usage of Paragraph::previous
2659         (cursorUpParagraph): ditto
2660         (deleteEmptyParagraphMechanism): slight cleanup
2661
2662         * text.C (isBoundary): take a Paragraph const & instead of a
2663         pointer as arg.
2664         (addressBreakPoint): ditto
2665         (leftMargin): remove usage of Paragraph::previous.
2666         (setHeightOfRow): ditto
2667         (cursorLeftOneWord): ditto
2668         (selectNextWordToSpellcheck): ditto
2669         (Delete): ditto
2670         (backspace): ditto
2671         (breakParagraph): remove one usage of Paragraph::next
2672         (redoParagraph): ditto
2673         (acceptChange): ditto
2674         (insertChar): adjust
2675         (rowBreakPoint): adjust
2676
2677         * bufferview_funcs.C (toggleAndShow): adjust
2678
2679 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2680
2681         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2682         methods to access it.
2683         * lyxtext.h:
2684         * text.C: Added updateRowPositions to compute all row positions.
2685         Make top_y and getRowNearY() to use the cached y position
2686
2687 2003-04-11  John Levon  <levon@movementarian.org>
2688
2689         * text.C (rowBreakPoint): reintroduce the labelEnd
2690         checks, code copied from the row fill stuff. Deep voodoo.
2691
2692         * text.C (fill): add a comment and debugging for the
2693         next poor soul.
2694
2695 2003-04-11  John Levon  <levon@movementarian.org>
2696
2697         * text.C: make sure fullrow insets get wrapped to the next line,
2698         even when they're in a manual label
2699
2700 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2701
2702         * text2.C (insertParagraph): make it take ParagraphList::iterator
2703         as arg.
2704         (setLayout): make it return ParagraphList::iterator
2705         (redoParagraphs): ditto
2706         (setCounter): ditto
2707         (checkParagraph): ditto
2708
2709         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2710
2711         * text2.C: adjust several funcs.
2712         (realizeFont): take a ParagraphList::iterator as arg.
2713         (getLayoutFont): ditto
2714         (getLabelFont): ditto
2715         (setCharFont): ditto
2716
2717         * text.C: adjust several funcs.
2718
2719 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2720
2721         * text.C (selectNextWordToSpellcheck): don't accidentally
2722         skip insets
2723
2724 2003-04-10  John Levon  <levon@movementarian.org>
2725
2726         * ToolbarBackend.C (getIcon): special handling for
2727         LFUN_MATH_DELIM
2728
2729 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2730
2731         * text2.C (cursorRight): a getChar assert fixed
2732
2733 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2734
2735         * text2.C (getFont): change to take a ParagraphList::iterator
2736         instead of Paragraph*
2737         Adjust several functions.
2738
2739         * text.C (transformChar): change to take a ParagraphList::iterator
2740         instead of Paragraph*
2741         (singleWidth): ditto
2742         Adjust several functions.
2743
2744         * rowpainter.C: adjust several functions
2745         * rowpainter.h:store a ParagraphList::iterator and not a
2746         Paragraph&.
2747
2748
2749 2003-04-09  John Levon  <levon@movementarian.org>
2750
2751         * lyxfunc.C:
2752         * lfuns.h:
2753         * LyXAction.h:
2754         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2755         and the "help" bits as well
2756
2757 2003-04-09  John Levon  <levon@movementarian.org>
2758
2759         * ToolbarBackend.h:
2760         * ToolbarBackend.C: allow multiple toolbars
2761
2762 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2763
2764         * undo_funcs.C (setCursorParUndo): adjust
2765
2766         * text_funcs.C (transposeChars): adjust
2767
2768         * text3.C (gotoNextInset): adjust
2769         (dispatch): adjust
2770
2771         * text2.C (setLayout): adjust
2772         (changeDepth): adjust
2773         (setFont): adjust
2774         (redoParagraphs): adjust
2775         (selectionAsString): adjust
2776         (setParagraph): adjust
2777         (insertInset): adjust
2778         (cutSelection): adjust
2779         (copySelection): adjust
2780         (pasteSelection): adjust
2781         (insertStringAsLines): adjust
2782         (updateInset): adjust
2783         (setCursor): change to take a ParagraphList::iterator parameter
2784         (setCursorIntern): change to take a ParagraphList::iterator parameter
2785         (setCurrentFont): adjust
2786         (cursorLeft): adjust
2787         (cursorRight): adjust
2788         (deleteEmptyParagraphMechanism): adjust
2789
2790         * text.C (breakParagraph): adjust
2791         (insertChar): adjust
2792         (acceptChange): adjust
2793         (rejectChange): adjust
2794         (selectNextWordToSpellcheck): adjust
2795         (changeCase): adjust
2796         (Delete): adjust
2797         (backspace): adjust
2798
2799         * lyxfind.C (SearchForward): adjust
2800         (SearchBackward): adjust
2801         (nextChange): adjust
2802
2803         * lyxcursor.C (par): adjust
2804
2805         * lyxcursor.h: store a ParagraphList::iterator instead of a
2806         Paragraph*
2807
2808         * lyx_cb.C (getPossibleLabel): adjust
2809
2810         * bufferview_funcs.C (toggleAndShow): adjust
2811
2812         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2813         (dispatch): adjust
2814
2815         * BufferView.C (removeAutoInsets): adjust
2816         (lockedInsetStoreUndo): adjust
2817
2818 2003-04-09  John Levon  <levon@movementarian.org>
2819
2820         * ToolbarBackend.C: try icon without argument
2821         if with argument fails
2822
2823 2003-04-08  John Levon  <levon@movementarian.org>
2824
2825         * ToolbarBackend.h:
2826         * ToolbarBackend.C: add getIcon(), handle tooltip,
2827         and change from "Icon" to "Item".
2828
2829 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2830
2831         * BufferView.C (lockInset): another bad getchar crunched
2832
2833 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2834
2835         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2836         again)
2837
2838 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2839
2840         * lyxfind.C (searchForward, searchBackwards): bug 782
2841
2842 2003-04-07  John Levon  <levon@movementarian.org>
2843
2844         * paragraph.C: remove dead comment
2845
2846         * text.C: remove troublesome depth-fiddling code
2847         in leftMargin() and rightMargin() (bug 1017)
2848
2849         * text.C: fix breaking of rows in nested lists
2850         (bug 1004)
2851
2852         * text2.C (updateCounters): fix up depth values
2853         (bug 1013)
2854
2855 2003-04-07  John Levon  <levon@movementarian.org>
2856
2857         * BufferView_pimpl.C: clear message when doc finishes resizing,
2858         and after a mouse event
2859
2860         * lyxfunc.C: clear message after exiting inset
2861
2862 2003-04-07  John Levon  <levon@movementarian.org>
2863
2864         * bufferview_funcs.C: show math status not outside
2865         status in the statusbar
2866
2867 2003-04-07  John Levon  <levon@movementarian.org>
2868
2869         * lyxfunc.C: note status changed after a depth change
2870
2871 2003-04-04  Angus Leeming  <leeming@lyx.org>
2872
2873         * LaTeX.h: move AuxInfo operator==, != out of line.
2874         Remove LaTeX virtual destructor; nothing derives from it.
2875         Move operator()() out of public area and rename it startscript().
2876         Change protected for private.
2877
2878 2003-04-04  Angus Leeming  <leeming@lyx.org>
2879
2880         * lyxfunc.C:
2881         * text2.C: remove unneeded #includes.
2882
2883 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2884
2885         * text2.C (dEPM): fix the heigth of the next row
2886
2887 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2888
2889         * text.C: squashed an invalid getChar requester + some ws changes
2890
2891 2003-04-03  John Levon  <levon@movementarian.org>
2892
2893         * bufferview_funcs.h:
2894         * bufferview_funcs.C:
2895         * lyxfunc.C:
2896         * lyxtext.h:
2897         * text2.C: make getStatus work for the env depth lfuns
2898
2899 2003-04-03  John Levon  <levon@movementarian.org>
2900
2901         * bufferview_funcs.h:
2902         * bufferview_funcs.C:
2903         * lyxfunc.C:
2904         * lyxtext.h:
2905         * text2.C: parlistize decDepth(), by merging it with incDepth()
2906
2907 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2908
2909         * lyxrow.h: store a ParagraphList::iterator instead of a
2910         Paragraph* and adjust other class functions to suit.
2911
2912         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2913         above.
2914
2915 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2916
2917         * text2.C (setCursor): do not anchor to cursor row for the time being
2918
2919 2003-04-02  John Levon  <levon@movementarian.org>
2920
2921         * LyXAction.C:
2922         * lfuns.h:
2923         * lyx_main.C:
2924         * lyxtext.h:
2925         * text.C:
2926         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2927
2928 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2929
2930         * paragraph.h: make ParagraphList and ParagraphList::iterator
2931         friends of Paragraph.
2932
2933         * buffer.C (makeLinuxDocFile): move towards ParagraphList
2934
2935         * ParagraphList.C: Use the private next_ and previous_ from
2936         Paragraph.
2937
2938 2003-04-01  John Levon  <levon@movementarian.org>
2939
2940         * ToolbarBackend.h:
2941         * ToolbarBackend.C:
2942         * Makefile.am: rename, remove defaults gunk
2943
2944         * MenuBackend.h:
2945         * MenuBackend.C: remove defaults gunk
2946
2947         * Languages.h:
2948         * Languages.C: remove defaults gunk
2949
2950         * lyx_main.h:
2951         * lyx_main.C: error out if files couldn't be found.
2952
2953 2003-04-02  John Levon  <levon@movementarian.org>
2954
2955         * text2.C: make incDepth() use parlist
2956
2957 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2958
2959         * undo_funcs.C (firstUndoParagraph): adjust
2960
2961         * text3.C (gotoInset): adjust
2962         (dispatch): adjust, and rewrite loop.
2963
2964         * text2.C (init): adjust, and rewrite loop.
2965         (redoParagraphs): adjust
2966         (updateInset): adjust, and rewrite loop.
2967         (deleteEmptyParagraphMechanism): adjust
2968
2969         * tabular.C (LyXTabular): adjust
2970         (SetMultiColumn): adjust
2971         (TeXRow): adjust
2972
2973         * lyxtext.[Ch] (ownerParagraph): delete function
2974         (ownerParagraphs): new function returns a ParagraphList.
2975
2976         * BufferView.C (removeAutoInsets): adjust
2977         (insertErrors): adjust
2978         (setCursorFromRow): adjust
2979
2980 2003-04-01  Angus Leeming  <leeming@lyx.org>
2981
2982         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2983         in the frontends.
2984
2985 2003-04-02  John Levon  <levon@movementarian.org>
2986
2987         * lyxtext.h:
2988         * text.C:
2989         * Makefile.am:
2990         * text_funcs.h:
2991         * text_funcs.C: make transposeChars a free function
2992
2993         * lyxrow_funcs.C: remove wrong comment
2994
2995 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2996
2997         * lyxtext.h: adjust
2998         * rowpainter.C: adjust
2999         * text.C: adjust
3000         * text2.C: adjust
3001         * text3.C: adjust
3002
3003         * lyxrow_funcs. [Ch]: new files
3004
3005         * lyxrow.[Ch]: remove next and previous pointers
3006         (next,previous): remove accessor functions
3007         (isParEnd): move to lyxrow_funcs
3008         (lastPos): move to lyxrow_funcs
3009         (nextRowIsAllInset): move to lyxrow_funcs
3010         (lastPrintablePos): move to lyxrow_funcs
3011         (numberOfSeparators): move to lyxrow_funcs
3012         (numberOfHfills): move to lyxrow_funcs
3013         (numberOfLabelHfills): move to lyxrow_funcs
3014         (hfillExpansion): move to lyxrow_funcs
3015
3016         * lyxfunc.C: adjust
3017
3018         * bufferview_funcs.C (toggleAndShow): adjust
3019
3020         * RowList.h: Remove class RowList from file leave just a
3021         std::list<Row>.
3022
3023         * RowList.C: delete file
3024
3025         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3026         and lyxrow_funcs.h
3027
3028 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3029
3030         * text3.C (cursorPrevious): adjust
3031         (cursorNext): adjust
3032         (dispatch): adjust
3033
3034         * text2.C (redoHeightOfParagraph): adjust
3035         (redoDrawingOfParagraph): adjust
3036         (setCursor): adjust
3037
3038         * text.C (breakParagraph): adjust
3039         (insertChar): adjust
3040         (backspace): adjust
3041
3042         * rowpainter.C (RowPainter): adjust
3043         (leftMargin): simplify and adjust
3044         (most rowpainter functions): adjust.
3045
3046         * rowpainter.h: store the row as RowList::iterator not as Row*
3047
3048         * lyxcursor.C (row): taka RowList::iterator as arg
3049         (irow): ditto
3050
3051         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3052         of Row*.
3053
3054 2003-04-01  Angus Leeming  <leeming@lyx.org>
3055
3056         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3057         stuff like bool Bool.
3058
3059 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3060
3061         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3062         rewrite a loop
3063
3064 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3065
3066         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3067         RowList::iterator.
3068
3069         * lyxtext.h (rows): drop one version and leve a const variant that
3070         returns a RowList::iterator.
3071
3072 2003-03-31  Angus Leeming  <leeming@lyx.org>
3073
3074         * text.C (fill): ensure that the signature is the same as that in the
3075         header file.
3076
3077 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3078
3079         * text2.C (redoParagraphs): adjust
3080         (updateCounters): adjust
3081         (checkParagraph): adjust
3082         (getColumnNearX): adjust and reformat a bit.
3083
3084         * text.C (top_y): adjust
3085         (workWidth): adjust
3086         (leftMargin): adjust
3087         (prepareToPrint): adjust
3088         (getRow): adjust
3089         (getRowNearY): adjust
3090
3091         * lyxtext.h: make rowlist_ mutable.
3092
3093         * RowList.h: add const_iterator
3094         * RowList.C: adjust for RowList::const_iterator.
3095
3096         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3097         adjust.
3098
3099 2003-03-31  John Levon  <levon@movementarian.org>
3100
3101         * lyxrc.h:
3102         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3103
3104         * lyx_main.C: set default fonts from using lyx_gui funcs
3105
3106         * exporter.C: pdf_mode moved from lyxrc
3107
3108         * lyx_cb.C:
3109         * lyxfunc.C: changes from above
3110
3111 2003-03-31  John Levon  <levon@movementarian.org>
3112
3113         * lyx_main.C: fix to the last fix
3114
3115 2003-03-31  John Levon  <levon@movementarian.org>
3116
3117         * bufferlist.C: "Load original" -> "Load Original"
3118
3119         * converter.C:
3120         * exporter.C:
3121         * importer.C:
3122         * lyx_main.C:
3123         * format.C: more Alert cleanups
3124
3125 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3126
3127         * text2.C (removeParagraph): make it take a RowList::iterator as
3128         arg, adjust.
3129         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3130         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3131
3132         * text.C (anchor_row): make it take a RowList::iterator as arg,
3133         adjust.
3134         (computeBidiTables): make it take a const reference to Row instead
3135         of Row pointer, adjust.
3136         (leftMargin): make it take a RowList::iterator as arg, adjust.
3137         (rowBreakPoint): adjust
3138         (breakAgainOneRow): make it take a RowList::iterator as arg,
3139         adjust.
3140         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3141
3142         * bufferview_funcs.C (toggleAndShow): adjust
3143
3144 2003-03-30  John Levon  <levon@movementarian.org>
3145
3146         * Makefile.am:
3147         * BoostFormat.h:
3148         * boost-inst.C: moved to support
3149
3150         * several files: changes as a result
3151
3152 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * text2.C (LyXText): adjust.
3155         (init): adjust
3156         (removeRow): make it take a RowList::iterator as arg, adjust.
3157         (fullRebreak): adjust
3158         (deleteEmptyParagraphMechanism): adjust
3159         (clearPaint): adjust
3160         (postPaint): adjust
3161
3162         * text.C (top_y): adjust
3163         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3164         (breakAgain): make it take a RowList::iterator as arg, adjust.
3165         (breakParagraph): adjust
3166         (insertChar): adjust
3167         (backspace): adjust
3168
3169         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3170         need_break_row, and refresh_row.
3171
3172         * text3.C (dispatch): adjust
3173
3174         * text2.C (checkParagraph): adjust
3175         (setCursor): adjust
3176         (setCursorFromCoordinates): adjust
3177
3178         * text.C (top_y): adjust
3179         (workWidth): adjust
3180         (getRow): make it return a RowList::iterator, adjust
3181         (getRowNearY): make it return a RowList::iterator, adjust
3182
3183         * text2.C (init): adjust
3184         (insertRow): remove function
3185         (insertParagraph): adjust
3186         (redoParagraphs): adjust
3187         (fullRebreak): adjust
3188         (updateCounters): adjust
3189
3190         * text.C (top_y): rewrite to use RowList iterators.
3191         (top_y): adjust
3192         (setHeightOfRow): rewrite to sue RowList iterators.
3193         (appendParagraph): adjust
3194         (breakAgain): adjust
3195         (breakAgainOneRow): adjust
3196         (breakParagraph): adjust
3197         (getRow): adjust
3198         (getRowNearY): adjust, and remove commented code.
3199
3200         * lyxtext.h (firstRow): delete function
3201         (lastRow): delete function
3202         (rows): new function (const and non-const versions.)
3203         (insertRow): delete function
3204
3205         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3206
3207 2003-03-29  John Levon  <levon@movementarian.org>
3208
3209         * BufferView_pimpl.C: always update scrollbar top
3210         because pasting text when we're anchored could mean we
3211         miss an update altogether
3212
3213 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3214
3215         * text2.C (init): use rowlist_.end() and not 0.
3216         (insertRow): change to take a RowList::iterator as arg, adjust
3217         for this.
3218         (insertParagraph): change to take a RowList::iterator as arg,
3219         adjust for this.
3220         (redoParagraphs): remove some debug msgs.
3221
3222         * text.C (appendParagraph): change to take a RowList::iterator
3223         arg, adjust for this.
3224         (breakAgain): add an assert
3225         (breakAgainOneRow): ditto
3226
3227 2003-03-29  John Levon  <levon@movementarian.org>
3228
3229         * text2.C: do not clear selection after inc/decDepth
3230         (bug 550)
3231
3232 2003-03-29  John Levon  <levon@movementarian.org>
3233
3234         * BufferView.C:
3235         * buffer.C: fix broken strerrors according to Lars
3236
3237 2003-03-29  John Levon  <levon@movementarian.org>
3238
3239         * converters.C: more Alert cleanups
3240
3241 2003-03-29  John Levon  <levon@movementarian.org>
3242
3243         * bufferview_funcs.C: remove pointless Alert
3244
3245         * buffer.C: fix confusing error message when
3246         a template is chmoded 000
3247
3248 2003-03-29  John Levon  <levon@movementarian.org>
3249
3250         * BufferView.C:
3251         * BufferView.h:
3252         * BufferView_pimpl.C: Alert fixes
3253
3254         * Makefile.am:
3255         * tabular.C:
3256         * tabular-old.C: remove unused table compat reading
3257
3258 2003-03-29  John Levon  <levon@movementarian.org>
3259
3260         * BufferView.C:
3261         * buffer.C:
3262         * lyx_cb.h:
3263         * lyx_cb.C: more Alert cleanups
3264
3265         * lyxfunc.C: don't allow chktex if not latex document
3266
3267 2003-03-29  John Levon  <levon@movementarian.org>
3268
3269         * lyx_cb.C:
3270         * BufferView.C:
3271         * buffer.C: warnings pushed down from support/,
3272         kill err_alert
3273
3274 2003-03-29  John Levon  <levon@movementarian.org>
3275
3276         * lyxfunc.C: safety check for C-r (revert)
3277
3278 2003-03-29  John Levon  <levon@movementarian.org>
3279
3280         * bufferlist.h:
3281         * bufferlist.C: several UI fixes using Alert::prompt.
3282         Fix the pointless looping quit code. Fix stupid revert
3283         behaviour (bug 938)
3284
3285         * lyxvc.h:
3286         * lyxvc.C:
3287         * lyx_cb.C: use Alert::prompt
3288
3289         * lyx_main.C: remove a silly question
3290
3291         * lyxfunc.C: remove a couple of silly questions,
3292         use Alert::prompt
3293
3294 2003-03-28  John Levon  <levon@movementarian.org>
3295
3296         * text2.C: fix bug 974 (End on empty par)
3297
3298 2003-03-28  John Levon  <levon@movementarian.org>
3299
3300         * BufferView_pimpl.C:
3301         * LyXAction.C:
3302         * lfuns.h: remove do-nothing math greek lfuns
3303
3304 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3305
3306         * lyxgluelength.h (isValidGlueLength): add default arg on
3307         parameter 2. Remove default arg from friend in class.
3308
3309         * lyxlength.h (isValidLength): add default arg on parameter 2.
3310         Remove default arg from friend in class.
3311
3312         * text2.C (LyXText): adjust, initialize refresh_row.
3313         (init): adjust
3314         (removeRow): adjust
3315         (insertRow): adjust
3316         (insertParagraph): adjst
3317         (redoParagraphs): adjust
3318         (fullRebreak): adjust
3319         (updateCounters): adjust
3320         (deleteEmptyParagraphMechanism): first attempt at fixing a
3321         crashing bug.
3322
3323         * text.C (top_y): adjust
3324         (setHeightOfRow): adjust
3325         (getRow): adjust
3326         (getRowNearY): adjust
3327
3328         * lyxtext.h: include RowList.h
3329         (~LyXText): not needed anymore, deleted.
3330         (firstRow): modify for RowList
3331         (lastRow): new function
3332         Delete firstrow and lastrow class variables, add a Rowlist
3333         rowlist_ class variable.
3334
3335         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3336         paragraph is empty.
3337
3338         * RowList.C (insert): fix case where it == begin().
3339
3340 2003-03-26  Angus Leeming  <leeming@lyx.org>
3341
3342         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3343         the thesaurus dialog.
3344
3345 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3348
3349         * RowList.[Ch]: new files
3350
3351         * ParagraphList.C (erase): handle the case where it == begin
3352         correctly.
3353
3354 2003-03-25  John Levon  <levon@movementarian.org>
3355
3356         * Makefile.am:
3357         * aspell_local.h:
3358         * aspell.C: add new aspell support
3359
3360         * lyxrc.h:
3361         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3362         have it accessible.
3363
3364 2003-03-25  Angus Leeming  <leeming@lyx.org>
3365
3366         * lfuns.h:
3367         * LyXAction.C (init): new LFUN_INSET_INSERT.
3368
3369         * BufferView_pimpl.C (dispatch): split out part of the
3370         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3371
3372         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3373         LFUN_INSET_APPLY.
3374
3375 2003-03-25  Angus Leeming  <leeming@lyx.org>
3376
3377         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3378
3379 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3380
3381         * text2.C:
3382         * text3.C: remove useless row->height(0)
3383
3384 2003-03-25  John Levon  <levon@movementarian.org>
3385
3386         * lyxtext.h:
3387         * text2.C:
3388         * text3.C: rename the refreshing stuff to better names
3389
3390 2003-03-24  John Levon  <levon@movementarian.org>
3391
3392         * BufferView_pimpl.h:
3393         * BufferView_pimpl.C: update layout choice on a mouse
3394         press/release
3395
3396 2003-03-23  John Levon  <levon@movementarian.org>
3397
3398         * Makefile.am: fix commandtags.h reference
3399
3400 2003-03-22  John Levon  <levon@movementarian.org>
3401
3402         * BufferView_pimpl.C:
3403         * lyxtext.h:
3404         * rowpainter.C:
3405         * rowpainter.h:
3406         * text.C:
3407         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3408
3409 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3410
3411         * lyxtext.h:
3412         * text.C: take the rtl methods out of line
3413
3414 2003-03-21 André Pönitz <poenitz@gmx.net>
3415
3416         * metricsinfo.[Ch]: new files containing structures to be passed around
3417         during the two-phase-drawing...
3418
3419 2003-03-21 André Pönitz <poenitz@gmx.net>
3420
3421         * lyxtextclass.C: read 'environment' tag.
3422
3423 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3424
3425         * text2.C (removeRow): fix bug 964
3426
3427 2003-03-20  John Levon  <levon@movementarian.org>
3428
3429         * rowpainter.C:
3430         * text.C:
3431         * text2.C: paint cleanups. Inset::update() dropped font
3432         parameter
3433
3434 2003-03-19  John Levon  <levon@movementarian.org>
3435
3436         * lyxfunc.C: only fitcursor/markDirty if available()
3437
3438 2003-03-19  John Levon  <levon@movementarian.org>
3439
3440         * commandtags.h: rename to ...
3441
3442         * lfuns.h: ... this, and renumber / cleanup
3443
3444 2003-03-19  John Levon  <levon@movementarian.org>
3445
3446         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3447         fit the cursor after an lfun
3448
3449         * BufferView.h:
3450         * BufferView.C:
3451         * BufferView_pimpl.h:
3452         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3453
3454         * LyXAction.C: layout-character should have ReadOnly
3455
3456         * ParagraphParameters.C:
3457         * buffer.C:
3458         * bufferview_funcs.C:
3459         * lyx_cb.C:
3460         * lyxfind.C:
3461         * lyxtext.h:
3462         * text.C:
3463         * text2.C:
3464         * text3.C:
3465         * undo_funcs.C: changes from above
3466
3467 2003-03-18  John Levon  <levon@movementarian.org>
3468
3469         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3470         remove it from update()
3471
3472         * lyxfunc.C: update layout choice after an lfun
3473
3474         * text3.C: remove extra updateLayoutChoice()s
3475
3476 2003-03-18  John Levon  <levon@movementarian.org>
3477
3478         * text.C: top_y change means full repaint, fix
3479         a drawing bug with cursor movement
3480
3481 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3482
3483         * lyxtext.h:
3484         * text.C:
3485         * text2.C: anchor row on setCursor
3486
3487 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3488
3489         * lyxtext.h: remove almost all mutable keywords
3490         * text.C:
3491         * text2.C:
3492         * text3.C: remove const keywords accordingly
3493
3494 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3495
3496         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3497         anon namespace
3498         (TeXEnvironment): ditto
3499         (TeXOnePar): ditto
3500
3501 2003-03-17  John Levon  <levon@movementarian.org>
3502
3503         * text.C (rowBreakPoint): remove attempt to fix displayed
3504         math insets inside a manual label
3505
3506 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3507
3508         * lyxtext.h: remove BufferView* as first arg from almost all class
3509         functions.
3510         * other files: adjust.
3511
3512 2003-03-17  John Levon  <levon@movementarian.org>
3513
3514         * lyxtext.h:
3515         * undo_funcs.C:
3516         * text2.C: more paint cleanups
3517
3518         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3519
3520         * rowpainter.h:
3521         * rowpainter.C: remove "smart" background painting code
3522
3523 2003-03-16  John Levon  <levon@movementarian.org>
3524
3525         * lyxtext.h:
3526         * text.C:
3527         * text2.C:
3528         * text3.C: add helper functions for setting refresh_row/y
3529
3530 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3531
3532         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3533         newline inset which *can* get inserted in the pass_thru layouts.
3534         This is primarily for literate documents.
3535
3536 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3537
3538         * buffer.C: increment LYX_FORMAT to 223
3539
3540 2003-03-14 André Pönitz <poenitz@gmx.net>
3541
3542         * textclass.h: prepare for environment handling, ws changes
3543         * lyxlayout.C: read latexheader and latexfooter tags
3544
3545 2003-03-14  John Levon  <levon@movementarian.org>
3546
3547         * text2.C: rewrite ::status() a bit
3548
3549 2003-03-13  John Levon  <levon@movementarian.org>
3550
3551         * lyxtext.h: add some docs
3552
3553 2003-03-13  John Levon  <levon@movementarian.org>
3554
3555         * lyxtext.h:
3556         * text.C:
3557         * text2.C:
3558         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3559
3560 2003-03-13  John Levon  <levon@movementarian.org>
3561
3562         * text3.C: fix appendix redrawing
3563
3564 2003-03-13  John Levon  <levon@movementarian.org>
3565
3566         * text.C (setHeightOfRow):
3567         * rowpainter.h:
3568         * rowpainter.C: make appendix mark have the text
3569           "Appendix" so the user knows what it is
3570
3571         * LColor.h:
3572         * LColor.C: s/appendixline/appendix/ from above
3573
3574 2003-03-13  John Levon  <levon@movementarian.org>
3575
3576         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3577
3578         * text.C: fix a getChar(pos) bug properly
3579
3580 2003-03-13  Angus Leeming  <leeming@lyx.org>
3581
3582         * commandtags.h:
3583         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3584         Probably only temporary. Let's see how things pan out.
3585
3586         * BufferView.C (unlockInset):
3587         * BufferView_pimpl.C (fitCursor):
3588         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3589
3590         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3591         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3592
3593         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3594         new functions that convert ParagraphParameters to and from a string.
3595
3596         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3597         BufferView::Pimpl's dispatch.
3598         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3599
3600 2003-03-13 André Pönitz <poenitz@gmx.net>
3601
3602         * lyxfunc.C:
3603         * text3.C:
3604         * factory.C: make it aware of InsetEnv
3605
3606 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3607
3608         * text2.C (setCursor): never ask for one past last
3609         (setCursor): add some debugging messages.
3610
3611         * text.C (singleWidth): never ask for one past last
3612         (singleWidth): ditto
3613         (leftMargin): ditto
3614         (rightMargin): ditto
3615         (rowBreakPoint): ditto
3616         (setHeightOfRow): ditto
3617         (prepareToPrint): ditto
3618
3619         * rowpainter.C (paintBackground): never ask for one past last
3620         (paintText): never ask for one past last
3621
3622         * paragraph_pimpl.C (getChar): make the assert stricter, never
3623         allow the one past last pos to be taken
3624
3625         * paragraph.C (getChar): ws changes only
3626
3627         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3628         (numberOfSeparators): ditto
3629         (numberOfHfills): ditto
3630
3631 2003-03-12  John Levon  <levon@movementarian.org>
3632
3633         * author.h:
3634         * author.C:
3635         * bufferparams.h:
3636         * bufferparams.C:
3637         * paragraph_funcs.C: fix per-buffer authorlists
3638
3639 2003-03-12  John Levon  <levon@movementarian.org>
3640
3641         * text.C: fix newline in right address
3642
3643 2003-03-12  Angus Leeming  <leeming@lyx.org>
3644
3645         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3646         duplicate those in LyXFunc::dispatch.
3647
3648         * commandtags.h:
3649         * LyXAction.C:
3650         * ToolbarDefaults.C:
3651         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3652         Add LFUN_FONTFREE_UPDATE.
3653
3654         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3655         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3656
3657         * bufferview_func.[Ch]: several new functions to facilliate
3658         transfer of data to and from the character dialog.
3659
3660 2003-03-12  John Levon  <levon@movementarian.org>
3661
3662         * buffer.C:
3663         * paragraph.h:
3664         * paragraph.C:
3665         * paragraph_funcs.C:
3666         * paragraph_pimpl.C:
3667         * sgml.C:
3668         * tabular.C:
3669         * text.C:
3670         * text3.C: remove META_NEWLINE in favour of an inset
3671
3672         * rowpainter.h:
3673         * rowpainter.C: remove paintNewline (done by inset)
3674
3675 2003-03-12  John Levon  <levon@movementarian.org>
3676
3677         * paragraph_pimpl.C: complain about bad getChar()s
3678         for a while at least
3679
3680 2003-03-12  John Levon  <levon@movementarian.org>
3681
3682         * buffer.h:
3683         * buffer.C: move paragraph read into a separate function,
3684         a little renaming to reflect that.
3685
3686         * bufferparams.h:
3687         * bufferparams.C: remove the author_ids map, not necessary now
3688
3689         * factory.h:
3690         * factory.C: moved Buffer::readInset to here
3691
3692         * paragraph_funcs.h:
3693         * paragraph_funcs.C: readParagraph free function moved from
3694         buffer.C
3695
3696         * tabular.C: name change
3697
3698 2003-03-12  John Levon  <levon@movementarian.org>
3699
3700         * buffer.C:
3701         * ParagraphParameters.C: move par params input to
3702         a read() method
3703
3704         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3705         behave like a normal read from the stream wrt reading
3706         a line vs. a \\token
3707
3708 2003-03-12  John Levon  <levon@movementarian.org>
3709
3710         * paragraph.C:
3711         * ParagraphParameters.h:
3712         * ParagraphParameters.C: move output code to a
3713         ::write() method
3714
3715 2003-03-12  John Levon  <levon@movementarian.org>
3716
3717         * BufferView.C (insertLyXFile):
3718         * buffer.h:
3719         * buffer.C:
3720         * tabular.C: use a parlist iterator for creating the
3721           document.
3722
3723 2003-03-12  John Levon  <levon@movementarian.org>
3724
3725         * buffer.C: make current_change static local not
3726           static file-scope
3727
3728 2003-03-12  John Levon  <levon@movementarian.org>
3729
3730         * buffer.C: fix insertStringAsLines for change tracking
3731
3732 2003-03-12  John Levon  <levon@movementarian.org>
3733
3734         * BufferView.C:
3735         * tabular.C:
3736         * buffer.h:
3737         * buffer.C:
3738         * bufferparams.h:
3739         * bufferparams.C: move author list into params. Rename some
3740           functions. Move the header reading into a separate token
3741           loop. Move the header token reading into BufferParams.
3742
3743 2003-03-12  John Levon  <levon@movementarian.org>
3744
3745         * changes.C: put debug inside lyxerr.debugging() checks
3746
3747 2003-03-11 André Pönitz <poenitz@gmx.net>
3748
3749         * factory.C: make it aware of InsetHFill
3750
3751 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3752
3753         * buffer.C (latexParagraphs): move function from here...
3754         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3755         args.
3756
3757 2003-03-10  Angus Leeming  <leeming@lyx.org>
3758
3759         * LyXAction.C (init): fix bug in poplating array with multiple entries
3760         with the same LFUN (spotted by JMarc).
3761
3762 2003-03-10  John Levon  <levon@movementarian.org>
3763
3764         * text.C:
3765         * text2.C: move getColumnNearX() near its
3766         only call site
3767
3768 2003-03-10  John Levon  <levon@movementarian.org>
3769
3770         * text.C: fix break before a minipage
3771
3772 2003-03-10  John Levon  <levon@movementarian.org>
3773
3774         * text.C: fix the last commit
3775
3776 2003-03-09  John Levon  <levon@movementarian.org>
3777
3778         * lyxtext.h:
3779         * text.C:
3780         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3781         bug 365 (don't break before insets unless needed). Don't
3782         return a value > last under any circumstances.
3783
3784 2003-03-09  Angus Leeming  <leeming@lyx.org>
3785
3786         * BufferView_pimpl.C (trackChanges, dispatch): call
3787         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3788
3789 2003-03-09  Angus Leeming  <leeming@lyx.org>
3790
3791         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3792         than Dialogs::showAboutlyx().
3793
3794 2003-03-09  Angus Leeming  <leeming@lyx.org>
3795
3796         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3797         than Dialogs::showTabularCreate().
3798
3799 2003-03-09  John Levon  <levon@movementarian.org>
3800
3801         * lyxtext.h:
3802         * text.C:
3803         * text2.C: 3rd arg to nextBreakPoint was always the same.
3804           Use references.
3805
3806 2003-03-08  John Levon  <levon@movementarian.org>
3807
3808         * lyxrow.C:
3809         * paragraph.C:
3810         * paragraph.h:
3811         * rowpainter.C:
3812         * text.C:
3813         * text2.C: Remove the "main" bit from the "main body"
3814           notion.
3815
3816 2003-03-08  John Levon  <levon@movementarian.org>
3817
3818         * text.C (leftMargin): The left margin of an empty
3819         manual label paragraph should not include the label width
3820         string length.
3821
3822         * text.C (prepareToPrint): don't attempt to measure hfills
3823         for empty manual label paragraphs - the answer should be 0
3824
3825 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3826
3827         * CutAndPaste.C: remove commented code and reindent.
3828
3829 2003-03-08  John Levon  <levon@movementarian.org>
3830
3831         * lyxfunc.h:
3832         * lyxfunc.C: move reloadBuffer()
3833
3834         * BufferView.h:
3835         * BufferView.C: to here
3836
3837         * lyxvc.C: add comment
3838
3839         * vc-backend.h:
3840         * vc-backend.C: call bv->reload() to avoid
3841           getStatus() check on MENURELOAD
3842
3843 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3844
3845         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3846         to an old format .dep file.
3847
3848 2003-03-07  Angus Leeming  <leeming@lyx.org>
3849
3850         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3851         when the LFUN_MOUSE_RELEASE should have been handled by
3852         inset->localDispatch.
3853
3854 2003-03-07  Angus Leeming  <leeming@lyx.org>
3855
3856         * BufferView_pimpl.C (dispatch):
3857         * LyXAction.C (init):
3858         * ToolbarDefaults.C (init):
3859         * commandtags.h:
3860         * lyxfunc.C (getStatus):
3861         remove LFUN_INSET_GRAPHICS.
3862
3863         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3864
3865 2003-03-07  Angus Leeming  <leeming@lyx.org>
3866
3867         * commandtags.h:
3868         * LyXAction.C (init):
3869         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3870
3871         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3872
3873         * commandtags.h:
3874         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3875
3876         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3877         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3878
3879 2003-03-07  Angus Leeming  <leeming@lyx.org>
3880
3881         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3882         remove "ert".
3883
3884 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3885
3886         * ParagraphList.C (front): new function
3887         (back): implement
3888
3889 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3890
3891         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3892         and top_row_offset_. removed var first_y.
3893         * text.C (top_y):
3894         * text2.C (LyXText, removeRow):
3895         * text3.C:
3896         * BufferView_pimpl.C:
3897         use these methods instead of using first_y
3898
3899 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3900
3901         * text2.C (pasteSelection): adjust for checkPastePossible
3902
3903         * CutAndPaste.C: remove Paragraph * buf and replace with
3904         ParagraphList paragraphs.
3905         (DeleteBuffer): delete
3906         (cutSelection): change the tc type to textclass_type
3907         (copySelection): change the tc type to textclass_type
3908         (copySelection): adjust for ParagraphList
3909         (pasteSelection): change the tc type to textclass_type
3910         (pasteSelection): adjust for Paragraphlist
3911         (nrOfParagraphs): simplify for ParagraphList
3912         (checkPastePossible): simplify for ParagraphList
3913         (checkPastePossible): remove unused arg
3914
3915         * ParagraphList.C (insert): handle the case where there are no
3916         paragraphs yet.
3917
3918         * CutAndPaste.h: make CutAndPaste a namespace.
3919
3920         * text3.C (dispatch): adjust
3921
3922         * text.C (breakParagraph): add a ParagraphList as arg
3923
3924         * paragraph_funcs.C (breakParagraph): change to take a
3925         BufferParams and a ParagraphList as args.
3926         (breakParagraphConservative): ditto
3927         (mergeParagraph): ditto
3928         (TeXDeeper): add a ParagraphList arg
3929         (TeXEnvironment): ditto
3930         (TeXOnePar): ditto
3931
3932         * buffer.C (readLyXformat2): adjust
3933         (insertStringAsLines): adjust
3934         (latexParagraphs): adjust
3935
3936         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3937         (cutSelection): adjust
3938         (pasteSelection): adjust
3939
3940         * BufferView_pimpl.C (insertInset): adjust
3941
3942 2003-03-05  Angus Leeming  <leeming@lyx.org>
3943
3944         * commandtags.h:
3945         * LyXAction.C (init):
3946         * BufferView_pimpl.C (dispatch):
3947         * lyxfunc.C (getStatus):
3948         remove LFUN_CHILD_INSERT.
3949
3950         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3951
3952 2003-03-05  Angus Leeming  <leeming@lyx.org>
3953
3954         * commandtags.h:
3955         * LyXAction.C (init):
3956         * src/factory.C (createInset):
3957         * lyxfunc.C (getStatus):
3958         * text3.C (dispatch):
3959         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3960
3961         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3962
3963 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * ParagraphList.C (insert): handle insert right before end()
3966         (erase): fix cases where it can be first or last paragraph.
3967
3968 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3969
3970         * paragraph_funcs.C (TeXEnvironment): remove all usage of
3971         Paragraph::next and Paragraph::previous
3972         (TeXOnePar): ditto
3973
3974         * text.C (breakParagraph): adjust
3975
3976         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3977         BufferParams& as arg.
3978         (breakParagraph): use ParagraphList::insert
3979         (breakParagraphConservative): take a Buffer* instead of a
3980         BufferParams& as arg.
3981         (breakParagraphConservative): use ParagraphList::insert.
3982
3983         * buffer.C (insertStringAsLines): un-const it
3984         (insertStringAsLines): adjust
3985
3986         * ParagraphList.C (insert): new function
3987
3988         * CutAndPaste.C (pasteSelection): adjust
3989
3990         * text.C (backspace): adjust
3991
3992         * tabular.C (SetMultiColumn): adjust
3993
3994         * CutAndPaste.C (cutSelection): adjust
3995         (pasteSelection): adjust
3996
3997         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3998         Buffer const * as arg
3999
4000         * ParagraphList.C (erase): new function
4001         * paragraph_funcs.C (mergeParagraph): use it
4002         (mergeParagraph): make it take a Buffer* instead of a
4003         BufferParams* as arg
4004
4005         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4006         as arg
4007         (breakParagraphConservative): ditto
4008
4009         * paragraph.h: remove the breakParagraph friend
4010
4011         * paragraph.C (eraseIntern): new function
4012         (setChange): new function
4013
4014         * paragraph_funcs.C (mergeParagraph): make it take a
4015         ParagraphList::iterator instead of a Paragraph *, adjust
4016         accordingly.
4017
4018         * paragraph.h: move an #endif so that the change tracking stuff
4019         also works in the NO_NEXT case.
4020
4021 2003-03-04  Angus Leeming  <leeming@lyx.org>
4022
4023         * commandtags.h:
4024         * LyXAction.C: new LFUN_INSET_MODIFY.
4025
4026         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4027         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4028
4029 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4030
4031         * several files: ws changes only
4032
4033         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4034         (TeXEnvironment): ditto
4035         (TeXDeeper): ditto
4036
4037         * buffer.C (makeLaTeXFile): adjust
4038         (latexParagraphs): make it take ParagraphList::iterator as args
4039
4040 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4041
4042         * buffer.C (latexParagraphs): adjust
4043
4044         * paragraph.C (TeXOnePar): move function...
4045         (optArgInset): move function...
4046         (TeXEnvironment): move function...
4047         * paragraph_pimpl.C (TeXDeeper): move function...
4048         * paragraph_funcs.C: ...here
4049
4050         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4051
4052 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * buffer.C (readInset): remove compability code for old Figure and
4055         InsetInfo insets
4056
4057 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4058
4059         * buffer.C: ws changes
4060         (readInset):
4061
4062         * BufferView_pimpl.C: ditto
4063         * author.C: ditto
4064         * buffer.h: ditto
4065         * bufferlist.h: ditto
4066         * changes.h: ditto
4067         * lyxfunc.C: ditto
4068
4069 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4070
4071         * converter.[Ch]: split into itself +
4072         * graph.[Ch]
4073         * format.[Ch]
4074         * Makefile.am: += graph.[Ch] + format.[Ch]
4075         * MenuBackend.C
4076         * buffer.C
4077         * exporter.C
4078         * importer.C
4079         * lyx_main.C
4080         * lyxfunc.C
4081         * lyxrc.C: added #include "format.h"
4082
4083 2003-02-27  Angus Leeming  <leeming@lyx.org>
4084
4085         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4086           a label.
4087
4088         * factory.C (createInset): add "label" to the factory.
4089
4090         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4091           string and do no more.
4092
4093 2003-02-27  Angus Leeming  <leeming@lyx.org>
4094
4095         * commandtags.h:
4096         * LyXAction.C (init):
4097         * factory.C (createInset):
4098         * BufferView_pimpl.C (dispatch):
4099           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4100
4101         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4102
4103         * lyxfunc.C (dispatch):
4104         * text3.C (dispatch): pass name to params2string.
4105
4106 2003-02-26  Angus Leeming  <leeming@lyx.org>
4107
4108         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4109           blocks together.
4110           Rearrange the ~includes. Strip out the unnecessary ones.
4111
4112         * factory.C (createInset): reformat.
4113           create new insets for the various LFUN_XYZ_APPLY lfuns.
4114
4115 2003-02-26  John Levon  <levon@movementarian.org>
4116
4117         * lyxrow.h:
4118         * lyxrow.C: add isParStart,isParEnd helpers
4119
4120         * paragraph.h: make isInserted/DeletedText take refs
4121
4122         * paragraph_funcs.h:
4123         * paragraph_funcs.C: remove #if 0'd code
4124
4125         * lyxtext.h:
4126         * text3.C:
4127         * text2.C:
4128         * text.C: use lyxrow helpers above.
4129           Move draw and paint routines to RowPainter.
4130           Make several methods use refs not pointers.
4131           Make backgroundColor() const.
4132           Add markChangeInDraw(), isInInset().
4133           Merge changeRegionCase into changeCase.
4134           Make workWidth() shouldn't-happen code into an Assert.
4135
4136         * rowpainter.h:
4137         * rowpainter.C: new class for painting a row.
4138
4139         * vspace.h:
4140         * vspace.C: make inPixels take a ref
4141
4142 2003-02-26  Angus Leeming  <leeming@lyx.org>
4143
4144         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4145         LFUN_REF_APPLY.
4146
4147 2003-02-25  John Levon  <levon@movementarian.org>
4148
4149         * ispell.C: give the forked command a more accurate name
4150
4151 2003-02-22  John Levon  <levon@movementarian.org>
4152
4153         * toc.h:
4154         * toc.C: make TocItem store an id not a Paragraph *
4155           (bug #913)
4156
4157 2003-02-21  Angus Leeming  <leeming@lyx.org>
4158
4159         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4160           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4161           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4162           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4163           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4164           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4165
4166         * BufferView_pimpl.C (dispatch):
4167         * LyXAction.C (init):
4168         * factory.C (createInset):
4169         * lyxfunc.C (getStatus, dispatch):
4170         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4171
4172 2003-02-21  Angus Leeming  <leeming@lyx.org>
4173
4174         * BufferView_pimpl.C (MenuInsertLyXFile):
4175         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4176         * lyxfunc.C (menuNew, open, doImport):
4177           no longer pass a LyXView & to fileDlg.
4178
4179 2003-02-21  Angus Leeming  <leeming@lyx.org>
4180
4181         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4182         * LyXAction.C: change, BIBKEY to BIBITEM.
4183         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4184         Change InsetBibKey to InsetBibitem.
4185         Change BIBKEY_CODE to BIBITEM_CODE.
4186         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4187         * factory.C: replace insetbib.h with insetbibitem.h.
4188         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4189         * paragraph.C: replace insetbib.h with insetbibitem.h.
4190         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4191         Change bibkey() to bibitem().
4192         * text.C: remove insetbib.h.
4193         * text2.C: replace insetbib.h with insetbibitem.h.
4194         change bibkey() to bibitem().
4195         * text3.C: remove insetbib.h.
4196         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4197
4198 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4199
4200         * lyxrc.C (output): enclose user email in quotes (in case there are
4201         several words)
4202
4203 2003-02-18  John Levon  <levon@movementarian.org>
4204
4205         * buffer.h: add std::
4206
4207 2003-02-17  John Levon  <levon@movementarian.org>
4208
4209         * SpellBase.h:
4210         * ispell.h:
4211         * ispell.C:
4212         * pspell.h:
4213         * pspell.C: reworking. Especially in ispell, a large
4214           number of clean ups and bug fixes.
4215
4216         * lyxfunc.C: fix revert to behave sensibly
4217
4218 2003-02-17 André Pönitz <poenitz@gmx.net>
4219
4220         * LyXAction.C:
4221         * commandtags.h: new LFUN_INSERT_BIBKEY
4222
4223         * layout.h:
4224         * lyxlayout.C:
4225         * buffer.C:
4226         * factory.C:
4227         * text.C:
4228         * text2.C:
4229         * text3.C:
4230         * paragraph.[Ch]:
4231         * paragraph_func.C: remove special bibkey handling
4232
4233 2003-02-17  John Levon  <levon@movementarian.org>
4234
4235         * text.C (Delete): fix case where delete at the end of
4236           the very first paragraph would not merge the pars
4237
4238 2003-02-17  John Levon  <levon@movementarian.org>
4239
4240         * lyxrow.C: fix lastPrintablePos()
4241
4242 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4243
4244         * bufferparams.C (writeLaTeX): add a std:here
4245
4246         * buffer.C: and remove a using directive there
4247
4248 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4249
4250         * buffer.C (makeLaTeXFile): move the code that generates the
4251           preamble...
4252
4253         * bufferparams.C (writeLaTeX): ... in this new method
4254
4255         * LaTeXFeatures.C (getEncodingSet): make const
4256           (getLanguages): make const
4257
4258         * MenuBackend.C (binding): returns the binding associated to this
4259           action
4260           (add): sets the status of each item by calling getStatus. Adds
4261           some intelligence.
4262           (read): add support for OptSubMenu
4263           (expand): remove extra separator at the end of expanded menu
4264
4265 2003-02-15  John Levon  <levon@movementarian.org>
4266
4267         * BufferView.C:
4268         * BufferView_pimpl.C:
4269         * bufferlist.h:
4270         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4271           inset code that had no actual effect. Remove unneeded status
4272           code.
4273
4274 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4275
4276         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4277           in preamble
4278
4279 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4280
4281         * text.C (drawLengthMarker): also draw an arrow marker for
4282           symbolic lengths (medskip...)
4283
4284 2003-02-14  John Levon  <levon@movementarian.org>
4285
4286         * tabular.h:
4287         * tabular.C: better method names
4288
4289 2003-02-14  John Levon  <levon@movementarian.org>
4290
4291         * BufferView_pimpl.C:
4292         * bufferlist.C:
4293         * buffer.C:
4294         * converter.C:
4295         * lyx_cb.C:
4296         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4297           it's a more accurate name. Remove some pointless uses.
4298
4299 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4300
4301         * text2.C (LyXText): change order of initilizers to shut off
4302           warnings
4303
4304 2003-02-14  John Levon  <levon@movementarian.org>
4305
4306         * buffer.C: use ParIterator for getParFromID()
4307
4308         * paragraph.h:
4309         * paragraph.C:
4310         * paragraph_pimpl.h:
4311         * paragraph_pimpl.C: remove unused getParFromID()
4312
4313 2003-02-14  John Levon  <levon@movementarian.org>
4314
4315         * buffer.C: remove some very old #if 0'd parse code
4316
4317 2003-02-13  John Levon  <levon@movementarian.org>
4318
4319         * text.h:
4320         * text.C:
4321         * text2.C: move hfillExpansion(), numberOfSeparators(),
4322           rowLast(), rowLastPrintable(), numberofHfills(),
4323           numberOfLabelHfills() ...
4324
4325         * lyxrow.h:
4326         * lyxrow.C: ... to member functions here.
4327
4328         * paragraph.h:
4329         * paragraph.C:
4330         * lyxtext.h:
4331         * text.C: remove LyXText::beginningOfMainBody(), and call
4332           p->beginningOfMainBody() directly. Move the check for
4333           LABEL_MANUAL into the latter.
4334
4335         * text.h:
4336         * text.C:
4337         * text2.C:
4338         * vspace.C:
4339         * BufferView.h:
4340         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4341
4342         * text.h:
4343         * text.C:
4344         * text2.C:
4345         * text3.C:
4346         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4347           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4348
4349 2003-02-13  John Levon  <levon@movementarian.org>
4350
4351         * CutAndPaste.C: remove debug
4352
4353 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4354
4355         * paragraph.C (asString): remove two unused variables
4356
4357         * lyxtextclass.C (readTitleType):
4358           (Read):
4359           (LyXTextClass): handle new members titletype_ and titlename_
4360
4361         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4362
4363 2003-02-09  John Levon  <levon@movementarian.org>
4364
4365         * buffer.h:
4366         * buffer.C: replace hand-coded list with a map for the dep clean
4367
4368 2003-02-08  John Levon  <levon@movementarian.org>
4369
4370         * LaTeX.C: consolidate code into showRunMessage() helper
4371
4372 2003-02-08  John Levon  <levon@movementarian.org>
4373
4374         * lyxfind.C:
4375         * lyxtext.h:
4376         * text2.C:
4377         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4378           and pass the size in explicitly
4379
4380         * BufferView_pimpl.h:
4381         * BufferView_pimpl.C:
4382         * BufferView.h:
4383         * BufferView.C: add getCurrentChange()
4384
4385         * BufferView_pimpl.h:
4386         * BufferView_pimpl.C: handle change lfuns
4387
4388         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4389           for changes. Mark pasted paragraphs as new.
4390
4391         * support/lyxtime.h:
4392         * support/lyxtime.C:
4393         * DepTable.C: abstract time_t as lyx::time_type
4394
4395         * LColor.h:
4396         * LColor.C: add colours for new text, deleted text, changebars
4397
4398         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4399           package use "usenames" option.
4400
4401         * commandtags.h:
4402         * lyxfunc.C:
4403         * LyXAction.C: add change lfuns
4404
4405         * Makefile.am:
4406         * author.h:
4407         * author.C: author handling
4408
4409         * buffer.h:
4410         * buffer.C: add a per-buffer author list, with first entry as
4411           current author. Handle new .lyx tokens for change tracking. Output
4412           author list to .lyx file. Output dvipost stuff to .tex preamble.
4413           Bump lyx format to 222.
4414
4415         * bufferlist.h:
4416         * bufferlist.C: add setCurrentAuthor() to reset current author details
4417           in all buffers.
4418
4419         * bufferparams.h:
4420         * bufferparams.C: add param for tracking
4421
4422         * bufferview_funcs.C: output change info in minibuffer
4423
4424         * Makefile.am:
4425         * changes.h:
4426         * changes.C: add change-tracking structure
4427
4428         * debug.h:
4429         * debug.C: add CHANGES debug flag
4430
4431         * lyxfind.h:
4432         * lyxfind.C: add code for finding the next change piece
4433
4434         * lyxrc.h:
4435         * lyxrc.C: add user_name and user_email
4436
4437         * lyxrow.h:
4438         * lyxrow.C: add a metric for the top of the text line
4439
4440         * lyxtext.h:
4441         * text.C: implement accept/rejectChange()
4442
4443         * lyxtext.h:
4444         * text.C: paint changebars. Paint new/deleted text in the chosen
4445         colours. Strike through deleted text.
4446
4447         * paragraph.h:
4448         * paragraph.C:
4449         * paragraph_pimpl.h:
4450         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4451           in the current change to the insert functions. Rework erase to
4452           mark text as deleted, adding an eraseIntern() and a range-based
4453           erase(). Implement per-paragraph change lookup and
4454           accept/reject.
4455
4456         * paragraph_funcs.C: Fixup paste for change tracking.
4457
4458         * tabular.C: mark added row/columns as new.
4459
4460         * text.C: fix rowLast() to never return -1. Don't allow
4461           spellchecking of deleted text. Track transpose changes. Don't
4462           allow paragraph break or merge where appropriate.
4463
4464         * text2.C: leave cursor at end of selection after a cut.
4465
4466 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4467
4468         * text.C (getLengthMarkerHeight):
4469         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4470         visible on screen too.
4471
4472 2003-02-07  John Levon  <levon@movementarian.org>
4473
4474         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4475
4476 2003-02-05  Angus Leeming  <leeming@lyx.org>
4477
4478         * lyxserver.C (read_ready): revert my patch of 11 September last year
4479         as it sends PC cpu through the roof. Presumably this means that
4480         the lyxserver will no longer run on an Alpha...
4481
4482 2003-01-30  Angus Leeming  <leeming@lyx.org>
4483
4484         * factory.C (createInset): create an InsetCommandParam of type "index"
4485         and use it to 'do the right thing'.
4486
4487         * text2.C (getStringToIndex): ensure that cursor position is always
4488         reset to the reset_cursor position.
4489
4490 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4491
4492         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4493         disabled.
4494
4495 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4496
4497         * bufferview.C:
4498         * lyxcb.C:
4499         * lyxfunc.C: Output messages with identical spelling, punctuation,
4500         and spaces
4501
4502 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4503
4504         * MenuBackend.C (expandFormats): List only viewable export formats
4505         in "View" menu
4506
4507         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4508         message
4509
4510         * lyxfunc.C (getStatus): Make sure that formats other than
4511         "fax" can also be disabled
4512
4513 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4514
4515         * text3.C (dispatch): put the lfuns that insert insets in 3
4516         groups, and call doInsertInset with appropriate arguments.
4517         (doInsertInset): new function, that creates an inset and inserts
4518         it according to some boolean parameters.
4519
4520 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4521
4522         * buffer.C (readFile): remember to pass on 'par' when calling
4523         readFile recursively.
4524
4525 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4526
4527         * MenuBackend.C (expandFormats): add "..." to import formats.
4528
4529 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4530
4531         * paragraph.C (asString): Remove XForms RTL hacks.
4532
4533 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4534         * buffer.C: fix typo
4535
4536 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4537
4538         * Makefile.am (LIBS): delete var
4539         (lyx_LDADD): add @LIBS@ here instead.
4540
4541 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4542
4543         * Clarify the meaning of "wheel mouse jump"
4544
4545 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4546
4547         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4548         tabular in a float
4549
4550 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4551
4552         * importer.C (Loaders): do not preallocate 3 elements in the
4553         vector, since one ends up with 6 elements otherwise
4554
4555 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4556
4557         * DepTable.C (write): write the file name as last element of the
4558         .dep file (because it may contain spaces)
4559         (read): read info in the right order
4560
4561 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4562
4563         * paragraph_pimpl.C (simpleTeXBlanks):
4564         (simpleTeXSpecialChars):
4565         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4566
4567         * tabular.C (latex): add some missing case statements. Reindent.
4568
4569         * MenuBackend.C (expandToc): remove unused variable.
4570
4571 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4572
4573         * LColor.C:
4574         * LaTeX.C:
4575         * LyXAction.C:
4576         * MenuBackend.C:
4577         * buffer.C:
4578         * exporter.C:
4579         * lyxfunc.C:
4580         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4581         and the like.
4582
4583 2003-01-05  John Levon  <levon@movementarian.org>
4584
4585         * BufferView.h:
4586         * BufferView.C: add getEncoding()
4587
4588         * kbsequence.h:
4589         * kbsequence.C: do not store last keypress
4590
4591         * lyxfunc.h:
4592         * lyxfunc.C: store last keypress here instead. Pass encoding
4593           to getISOEncoded()
4594
4595 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4596
4597         * lyx_main.C (init): remove annoying error message when following
4598         symbolic links (bug #780)
4599
4600 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4601
4602         * text.C (insertChar):
4603         * lyxrc.C (getDescription): remove extra spaces
4604
4605 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4606
4607         * lyxrc.C (getDescription): remove extra spaces
4608
4609 2002-12-20  John Levon  <levon@movementarian.org>
4610
4611         * text3.C: hack fix for page up/down across tall rows
4612
4613 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4614
4615         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4616         not been invoked
4617
4618 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4619
4620         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4621         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4622         thesaurus is not compiled in
4623
4624 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4625
4626         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4627
4628 2002-12-16  Angus Leeming  <leeming@lyx.org>
4629
4630         * lyxrc.[Ch]:
4631         * lyx_main.C (init): remove override_x_deadkeys stuff.
4632
4633 2002-12-12  John Levon  <levon@movementarian.org>
4634
4635         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4636           insert. Only remove shift modifier under strict
4637           circumstances.
4638
4639 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4640
4641         * MenuBackend.C (expandToc): fix crash.
4642
4643 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4644
4645         * MenuBackend.C (expandToc): gettext on float names.
4646
4647 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4648
4649         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4650         implement bool empty() [bug 490]
4651
4652 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4655
4656 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4657
4658         * several files: ws changes
4659
4660 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * text2.C (setCounter): clean up a bit, use boost.format.
4663         (updateCounters): initialize par upon declaration.
4664
4665         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4666         if the layout exists. We do not just store the layout any more.
4667         (SwitchLayoutsBetweenClasses): use boost.format
4668
4669 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4670
4671         * converter.C (convert): if from and to files are the same, use a
4672         temporary files as intermediary
4673
4674 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4675
4676         * commandtags.h:
4677         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4678
4679 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4680
4681         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4682
4683 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4684
4685         * tabular.C (asciiPrintCell): use string(size, char) instead of
4686         explicit loop.
4687
4688         * sgml.C (openTag): fix order of arguments to string constructor
4689         (closeTag): ditto
4690
4691         * lyxfunc.C (dispatch): use boost.format
4692
4693         * lots of files: change "c" -> 'c'
4694
4695 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4696
4697         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4698
4699 2002-11-25  Angus Leeming  <leeming@lyx.org>
4700
4701         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4702
4703         * lyx_main.C (init): compile fix.
4704
4705 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4706
4707         * lyx_cb.C (start): boost.formatify
4708         do not include <iostream>
4709
4710         * lengthcommon.C: ws only
4711
4712         * boost-inst.C,BoostFormat.h: add more explict instantations
4713
4714 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * lots of files: handle USE_BOOST_FORMAT
4717
4718 2002-11-21  John Levon  <levon@movementarian.org>
4719
4720         * pspell.C: fix compile
4721
4722 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4723
4724         * lyxfunc.C (dispatch): use boost::format
4725         (open): ditto
4726         (doImport): ditto
4727
4728         * lyxfont.C (stateText): use boost::format
4729
4730         * lyx_main.C (LyX): use boost::format
4731         (init): ditto
4732         (queryUserLyXDir): ditto
4733         (readRcFile): ditto
4734         (parse_dbg): ditto
4735         (typedef boost::function): use the recommened syntax.
4736
4737         * importer.C (Import): use boost::format
4738
4739         * debug.C (showLevel): use boost::format
4740
4741         * converter.C (view): use boost::format
4742         (convert): ditto
4743         (move): ditto
4744         (scanLog): ditto
4745
4746         * bufferview_funcs.C (currentState): use boost::format
4747
4748         * bufferlist.C (emergencyWrite): use boost::format
4749
4750         * buffer.C (readLyXformat2): use boost::format
4751         (parseSingleLyXformat2Token): ditto
4752
4753         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4754
4755         * LaTeX.C (run): use boost::format
4756
4757         * Chktex.C (scanLogFile): use boost::format
4758
4759         * BufferView_pimpl.C (savePosition): use boost::format
4760         (restorePosition): ditto
4761         (MenuInsertLyXFile): ditto
4762
4763         * BoostFormat.h: help file for explicit instation.
4764
4765 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4766
4767         * tabular.C (latex): Support for block alignment in fixed width
4768         columns.
4769
4770 2002-11-17  John Levon  <levon@movementarian.org>
4771
4772         * BufferView_pimpl.C:
4773         * lyx_cb.C:
4774         * lyxfunc.C: split filedialog into open/save
4775
4776 2002-11-08  Juergen Vigna  <jug@sad.it>
4777
4778         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4779         by my last patch (hopefully).
4780
4781 2002-11-08  John Levon  <levon@movementarian.org>
4782
4783         * iterators.h:
4784         * iterators.C:
4785         * buffer.h:
4786         * buffer.C:
4787         * paragraph.h:
4788         * paragraph.C:
4789         * toc.h:
4790         * toc.C: ParConstIterator, and use it (from Lars)
4791
4792 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4793
4794         * lyxtextclass.[Ch]: revise and add doxygen comments
4795
4796 2002-11-07  John Levon  <levon@movementarian.org>
4797
4798         * text.C: fix progress value for spellchecker
4799
4800         * toc.C: fix navigate menu for insetwrap inside minipage
4801
4802         * paragraph_funcs.C: added FIXME for suspect code
4803
4804 2002-11-07  John Levon  <levon@movementarian.org>
4805
4806         * BufferView_pimpl.C: fix redrawing of insets
4807           on buffer switch
4808
4809 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4810
4811         * text2.C (updateCounters): fix bug 668
4812
4813 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4814
4815         * text3.C (dispatch): Do not make the buffer dirty when moving the
4816         cursor.
4817
4818 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4819
4820         * vc-backend.C: STRCONV
4821         (scanMaster): ditto
4822
4823         * text2.C (setCounter): STRCONV
4824
4825         * paragraph.C (asString): STRCONV
4826
4827         * lyxlength.C (asString): STRCONV
4828         (asLatexString): ditto
4829
4830         * lyxgluelength.C (asString): STRCONV
4831         (asLatexString): ditto
4832
4833         * lyxfunc.C (dispatch): STRCONV
4834         (open): ditto
4835
4836         * lyxfont.C (stateText): STRCONV
4837
4838         * importer.C (Import): STRCONV
4839
4840         * counters.C (labelItem): STRCONV
4841         (numberLabel): ditto
4842         (numberLabel): remove unused ostringstream o
4843
4844         * chset.C: STRCONV
4845         (loadFile): ditto
4846
4847         * bufferview_funcs.C (currentState): STRCONV
4848
4849         * buffer.C (readFile): STRCONV
4850         (asciiParagraph): ditto
4851         (makeLaTeXFile): ditto
4852
4853         * Spacing.C (writeEnvirBegin): STRCONV
4854
4855         * LaTeXFeatures.C (getLanguages): STRCONV
4856         (getPackages): ditto
4857         (getMacros): ditto
4858         (getBabelOptions): ditto
4859         (getTClassPreamble): ditto
4860         (getLyXSGMLEntities): ditto
4861         (getIncludedFiles): ditto
4862
4863         * LaTeX.C: STRCONV
4864         (run): ditto
4865         (scanAuxFile): ditto
4866         (deplog): ditto
4867
4868         * LString.h: add the STRCONV macros
4869
4870         * BufferView_pimpl.C (savePosition): STRCONV
4871         (restorePosition): ditto
4872         (MenuInsertLyXFile): ditto
4873
4874         * vc-backend.C (scanMaster): change from submatch[...] to
4875         submatch.str(...)
4876
4877         * funcrequest.C: include config.h
4878
4879         * factory.C: include config.h
4880
4881         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4882
4883         * box.C: include config.h
4884
4885         * LaTeX.C (scanAuxFile): change from submatch[...] to
4886         submatch.str(...)
4887         (deplog): ditto
4888
4889 2002-10-25  Angus Leeming  <leeming@lyx.org>
4890
4891         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4892
4893         * ispell.[Ch] (setError): new method.
4894         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4895         Use setError() insetead of goto END.
4896
4897         * lyx_cb.C (AutoSave): move out child process into new class
4898         AutoSaveBuffer.
4899
4900 2002-10-30  John Levon  <levon@movementarian.org>
4901
4902         * text3.C: make start appendix undoable
4903
4904 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4905
4906         * lyxlength.C (inPixels): Fix returned value.
4907
4908         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4909         environment.
4910
4911 2002-10-24  Angus Leeming  <leeming@lyx.org>
4912
4913         * lyxgluelength.h: no need to forward declare BufferParams
4914         or BufferView, so don't.
4915
4916 2002-10-21  John Levon  <levon@movementarian.org>
4917
4918         * BufferView.C: menuUndo ->undo, redo
4919
4920         * BufferView.h: document, remove dead, make some methods private
4921
4922         * paragraph_funcs.h:
4923         * paragraph_funcs.C:
4924         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4925
4926         * buffer.h:
4927         * buffer.C:
4928         * sgml.h:
4929         * sgml.C: move sgml open/close tag into sgml.C
4930
4931         * bufferview_funcs.h: unused prototype
4932
4933         * lyxfunc.h:
4934         * lyxfunc.C: remove unused
4935
4936         * lyxtext.h:
4937         * text.C: remove unused
4938
4939 2002-10-21  John Levon  <levon@movementarian.org>
4940
4941         * BufferView.h:
4942         * BufferView.C:
4943         * BufferView_pimpl.h:
4944         * BufferView_pimpl.C: fix mouse wheel handling based on
4945           patch from Darren Freeman
4946
4947 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
4948
4949         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4950
4951 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
4952
4953         * lyxlength.C (inPixels): Fix hanfling of negative length.
4954         Fix LyXLength::MU case.
4955
4956 2002-10-16  John Levon  <levon@movementarian.org>
4957
4958         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4959
4960 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4961
4962         * converter.C (view): add support for $$i (file name) and $$p
4963         (file path) for the viewer command. If $$i is not specified, then
4964         it is appended to the command (for compatibility with old syntax)
4965
4966 2002-10-14  Juergen Vigna  <jug@sad.it>
4967
4968         * undo_funcs.C (textHandleUndo): alter the order in which the
4969         new undopar is added to the LyXText, as we have to set first
4970         the right prev/next and then add it as otherwise the rebuild of
4971         LyXText is not correct. Also reset the cursor to the right paragraph,
4972         with this IMO we could remove the hack in "redoParagraphs()".
4973
4974 2002-10-09  Angus Leeming  <leeming@lyx.org>
4975
4976         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4977         to turn off an optimisation if a new inset is to be inserted.
4978
4979 2002-10-11 André Pönitz <poenitz@gmx.net>
4980
4981         * lyxtext.h: make some functions public to allow access
4982         from inset/lyxtext for handling LFUN_PRIOR/NEXT
4983
4984 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4985
4986         * text3.C (dispatch): when changing layout, avoid an infinite loop
4987         [bug #652]
4988
4989 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4990
4991         * lyxrc.C (read): treat a viewer or converter command of "none" as
4992         if it were empty.
4993
4994         * MenuBackend.C (expandFormats): for an update, also allow the
4995         formats that are not viewable
4996
4997         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4998         script if it is newer than the lyxrc.defaults in user directory
4999
5000 2002-10-07 André Pönitz <poenitz@gmx.net>
5001
5002         * text.C: Vitaly Lipatov's small i18n fix
5003
5004 2002-09-25  Angus Leeming  <leeming@lyx.org>
5005
5006         * ispell.h: doxygen fix.
5007
5008 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5009
5010         * buffer.h (readFile): Add a new argument to the method, to allow
5011         reading of old-format templates.
5012
5013 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5014
5015         * toc.C (getTocList): Get TOC from InsetWrap.
5016
5017 2002-09-16  John Levon  <levon@movementarian.org>
5018
5019         * lyxfunc.C: check tabular for cut/copy too
5020
5021 2002-09-12  John Levon  <levon@movementarian.org>
5022
5023         * LyXAction.C: tidy
5024
5025         * factory.h:
5026         * factory.C: add header
5027
5028         * paragraph_funcs.h:
5029         * paragraph_funcs.C: cleanup
5030
5031 2002-09-11  John Levon  <levon@movementarian.org>
5032
5033         * PrinterParams.h: odd/even default to true
5034
5035 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5036
5037         * PrinterParams.h: update printer parameters for new xforms dialog
5038
5039 2002-09-11  Angus Leeming  <leeming@lyx.org>
5040
5041         * lyxserver.C (read_ready): re-write to make it more transparent
5042         and to make it work in coherent fashion under Tru64 Unix.
5043
5044 2002-09-11  André Pönitz <poenitz@gmx.net>
5045
5046         * commandtags.h:
5047         * LyXAction.C:
5048         * text3.C: implement LFUN_WORDSEL
5049
5050 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5051
5052         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5053         make floatlist_ a boost::shared_ptr<FloatList>
5054
5055         * lyxtextclass.C: include FloatList.h
5056         (LyXTextClass): initialize floatlist_
5057         (TextClassTags): add TC_NOFLOAT
5058         (Read): match "nofloat" to TC_NOFLOAT and use it.
5059         (readFloat): modify call to floatlist_
5060         (floats): ditto
5061         (floats): ditto
5062
5063         * FloatList.[Ch] (FloatList): remove commented out float
5064         initialization.
5065         (erase): new function
5066
5067 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5068
5069         * MenuBackend.C (expandToc): fix crash when there is no document
5070         open
5071
5072 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5073
5074         * many files: Add insetwrap.
5075
5076 2002-09-09  John Levon  <levon@movementarian.org>
5077
5078         * text2.C: remove confusing and awkward depth wraparound
5079
5080 2002-09-09  John Levon  <levon@movementarian.org>
5081
5082         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5083
5084         * buffer.h:
5085         * buffer.C: remove getIncludeonlyList()
5086
5087         * paragraph.C:
5088         * lyxfunc.C: remove headers
5089
5090 2002-09-09  Juergen Vigna  <jug@sad.it>
5091
5092         * text.C (getColumnNearX): fix form Michael this is most
5093         probably a cut&paste bug.
5094
5095 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5096
5097         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5098
5099         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5100         references, ws changes.
5101
5102         * text2.C (init): update counters after init
5103         (insertParagraph): no need to set counter on idividual paragraphs.
5104         (setCounter): access the counters object in the textclass object
5105         on in the buffer object.
5106         (updateCounters): ditto
5107
5108         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5109         shared_ptr<Counters> to avoid loading counters.h in all
5110         compilation units.
5111         (LyXTextClass): initialize ctrs_
5112         (TextClassTags): add TC_COUNTER, and ...
5113         (Read): use it here.
5114         (CounterTags): new tags
5115         (readCounter): new function
5116         (counters): new funtion
5117         (defaultLayoutName): return a const reference
5118
5119         * counters.C (Counters): remove contructor
5120         (newCounter): remove a couple of unneeded statements.
5121         (newCounter): simplify a bit.
5122         (numberLabel): some small formatting changes.
5123
5124         * buffer.[Ch]: remove all traces of counters, move the Counters
5125         object to the LyXTextClass.
5126
5127 2002-09-06  Alain Castera  <castera@in2p3.fr>
5128
5129         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5130         package to set the horizontal alignment on fixed width columns.
5131
5132         * lyx_sty.C:
5133         * lyx_sty.h: added tabularnewline macro def.
5134
5135         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5136
5137 2002-09-06  John Levon  <levon@movementarian.org>
5138
5139         * LyXAction.C: tooltips for sub/superscript
5140
5141         * MenuBackend.C: a bit more verbose
5142
5143         * lyxfunc.C: tiny clean
5144
5145         * undo_funcs.C: document undo_frozen
5146
5147 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * counters.C (Counters): add missing algorithm counter.
5150
5151         * text2.C (setCounter): lookup the counter with layouts latexname
5152         instead of by section number.
5153         (setCounter): use a hackish way to lookup the correct enum
5154         counter.
5155         a float name->type change
5156         reset enum couners with counter name directly instead of depth value.
5157
5158         * counters.C (Counters): remove the push_backs, change to use the
5159         float type not the float name.
5160         (labelItem): remove unused string, float name->type change
5161
5162         * counters.h: don't include vector, loose the enums and sects vectors
5163
5164 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5167         (Read): add float->TC_FLOAT to textclassTags
5168         (Read): and handle it in the switch
5169         (readFloat): new function
5170
5171         * FloatList.C (FloatList): comment out the hardcoded float
5172         definitions.
5173
5174         * lyxlayout.h: ws change.
5175
5176 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5177
5178         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5179
5180 2002-09-03  Angus Leeming  <leeming@lyx.org>
5181
5182         * BufferView_pimpl.h: qualified name is not allowed in member
5183         declaration: WorkArea & Pimpl::workarea() const;
5184
5185         * factory.C: added using std::endl directive.
5186
5187         * text3.C: added using std::find and std::vector directives.
5188
5189 2002-08-29  André Pönitz <poenitz@gmx.net>
5190
5191         * lyxtext.h:
5192         * text2.C: remove unused member number_of_rows
5193
5194         * Makefile.am:
5195         * BufferView2.C: remove file, move contents to...
5196         * BufferView.C: ... here
5197
5198         * BufferView_pimpl.C:
5199         * factory.C: move more inset creation to factory
5200
5201         * vspace.C: avoid direct usage of LyXText, ws changes
5202
5203         * BufferView.[Ch]:
5204                 don't provide direct access to WorkArea, use two simple
5205                 acessors haveSelction() and workHeight() instead
5206
5207
5208 2002-08-29  John Levon  <levon@movementarian.org>
5209
5210         * BufferView_pimpl.C (dispatch): do not continue when
5211           no buffer
5212
5213 2002-08-28  André Pönitz <poenitz@gmx.net>
5214
5215         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5216
5217         * BufferView.h:
5218         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5219
5220 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5221
5222         * buffer.C: increment LYX_FORMAT to 221
5223
5224         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5225         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5226
5227         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5228
5229         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5230
5231 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5232
5233         * factory.C (createInset): use LyXTextClass::floats
5234
5235         * MenuBackend.C (expandFloatListInsert):
5236         (expandFloatInsert):
5237         (expandToc):
5238
5239         * text2.C (setCounter):
5240
5241         * LaTeXFeatures.C (useFloat):
5242         (getFloatDefinitions):
5243
5244         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5245
5246         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5247         floatlist_, with accessor floats().
5248
5249         * FloatList.h: remove global FloatList
5250
5251 2002-08-26  André Pönitz <poenitz@gmx.net>
5252
5253         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5254
5255         * BufferView.h:
5256         * BufferView2.C:
5257         * BufferView_pimpl.C:
5258         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5259
5260 2002-08-25  John Levon  <levon@movementarian.org>
5261
5262         * LyXAction.C: fix margin note description
5263
5264 2002-08-24  John Levon  <levon@movementarian.org>
5265
5266         * buffer.C:
5267         * bufferlist.C:
5268         * bufferview_funcs.C:
5269         * lyxfont.C:
5270         * undo_funcs.C: cleanups
5271
5272         * lyxfunc.C: disable CUT/COPY when no selection
5273
5274 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5275
5276         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5277         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5278
5279         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5280         Add backward compatibility to "mono", "gray" and "no".
5281
5282 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5283
5284         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5285         (and file_format >= 200).
5286
5287 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5288
5289         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5290
5291 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5292
5293         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5294
5295 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5296
5297         * BufferView_pimpl.C:
5298         * LyXAction.C:
5299         * buffer.C:
5300         * commandtags.h:
5301         * lyxfunc.C:
5302         * paragraph.[Ch]:
5303         * text2.C:
5304         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5305         inset and code to make it  work with the paragraph code. The inset
5306         can be anywhere in the paragraph, but will only do the expected
5307         thing in LaTeX if the layout file contains the parameter line
5308                         OptionalArgs    1
5309         (or more generally, a nonzero value) for that layout.
5310
5311 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5312
5313         * paragraph.h: remove the declaration of undefined counters class
5314         function.
5315
5316 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5317
5318         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5319         Dr. Richard Hawkins.
5320
5321 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5322
5323         * paragraph_funcs.h: remove some unneeded includes
5324
5325         * text.C (backspace): pasteParagraph now in global scipe
5326
5327         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5328         (pasteSelection): ditto
5329
5330         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5331         * paragraph_funcs.C (pasteParagraph): ... here
5332
5333 2002-08-20  André Pönitz <poenitz@gmx.net>
5334
5335         * commandtags.h: new LFUNs for swapping/copying table row/colums
5336
5337         * LyXAction.C:
5338         * lyxfunc.C: support for new lfuns
5339
5340 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5341
5342         * tabular.C:
5343         * buffer.[Ch]: remove NO_COMPABILITY stuff
5344
5345 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5346
5347         * boost.C (throw_exception): new file, with helper function for
5348         boost compiled without exceptions.
5349
5350         * paragraph.h:
5351         * lyxlength.C:
5352         * buffer.C:
5353         * ParameterStruct.h:
5354         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5355
5356         * bufferlist.C (emergencyWriteAll): use boost bind
5357
5358         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5359
5360         * text.C: include paragraph_funcs.h
5361         (breakParagraph): breakParagraph is now in global scope
5362
5363         * paragraph_funcs.[Ch]: new files
5364
5365         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5366         global scope
5367
5368         * buffer.C: include paragraph_funcs.h
5369         (insertStringAsLines): breakParagraph is now in global scope
5370
5371         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5372         paragraph_funcs.C
5373
5374         * CutAndPaste.C: include paragraph_funcs.h
5375         (cutSelection): breakParagraphConservative is now in global scope
5376         (pasteSelection): ditto
5377
5378         * buffer.h: declare oprator== and operator!= for
5379         Buffer::inset_iterator
5380
5381         * bufferlist.C (emergencyWrite): don't use fmt(...)
5382
5383         * text3.C: add using std::endl
5384
5385         * BufferView.C (moveCursorUpdate): remove default arg
5386
5387 2002-08-20  André Pönitz <poenitz@gmx.net>
5388
5389         * buffer.[Ch]: move inline functions to .C
5390
5391         * BufferView2.C:
5392         * BufferView_pimpl.C:
5393         * text.C:
5394         * buffer.[Ch]: use improved inset_iterator
5395
5396         * buffer.C:
5397         * paragraph.[Ch]: write one paragraph at a time
5398
5399 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5400
5401         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5402         style if style is not specified.
5403
5404 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5405
5406         * text2.C (setCounter): when searching for right label for a
5407         caption, make sure to recurse to parent insets (so that a caption
5408         in a minipage in a figure float works) (bug #568)
5409
5410 2002-08-20  André Pönitz <poenitz@gmx.net>
5411
5412         * text3.C: new file for LyXText::dispatch() and helpers
5413
5414         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5415
5416         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5417
5418 2002-08-19  André Pönitz <poenitz@gmx.net>
5419
5420         * lyxtext.h:
5421         * text.C: new LyXText::dispatch()
5422
5423         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5424
5425 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5426
5427         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5428
5429         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5430         Hebrew text.
5431
5432 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5433
5434         * Makefile.am: use $(variables) instead of @substitutions@
5435
5436 2002-08-15  André Pönitz <poenitz@gmx.net>
5437
5438         * lyxfunc.C:
5439         * BufferView_pimpl.C: streamlining mathed <-> outer world
5440         interaction
5441
5442         * commandtags.h:
5443         * LyXAction.C: remove unused LFUN_MATH
5444
5445 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5446
5447         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5448
5449 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * paragraph.C (Paragraph): reformat a bit
5452         (cutIntoMinibuffer): use builtin InsetList function instad of
5453         doing it manually.
5454         (getInset): ditto
5455
5456         * buffer.C: include boost/bind.hpp, add using std::for_each
5457         (writeFileAscii): use ParagraphList iterators
5458         (validate): use for_each for validate traversal of paragraphs
5459         (getBibkeyList): use ParagraphList iterators
5460         (resizeInsets): use for_each to resizeInsetsLyXText for all
5461         paragraphs.
5462         (getParFromID): use ParagraphList iterators
5463
5464         * BufferView2.C (lockInset): use paragraph list and iterators
5465
5466 2002-08-14  John Levon  <levon@movementarian.org>
5467
5468         * lyxserver.C: remove spurious xforms include
5469
5470 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5471
5472         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5473
5474 2002-08-13  André Pönitz <poenitz@gmx.net>
5475
5476         * LyXAction.[Ch]:
5477         * lyxfunc.C: further cleaning
5478
5479 2002-08-13  André Pönitz <poenitz@gmx.net>
5480
5481         * funcrequest.h: new constructor
5482
5483         * funcrequest.C: move stuff here from .h
5484
5485         * Makefile.am:
5486         * BufferView_pimpl.C:
5487         * LyXAction.C:
5488         * toc.C:
5489         * lyxfunc.C: subsequent changes
5490
5491         * lyxfunc.h: new view() member function
5492
5493         * lyxfunc.C: subsequent changes
5494
5495 2002-08-13  Angus Leeming  <leeming@lyx.org>
5496
5497         * BufferView2.C:
5498         * BufferView_pimpl.C:
5499         * buffer.C:
5500         * converter.C:
5501         * importer.C:
5502         * lyxfunc.C:
5503         * lyxvc.C:
5504         * toc.C:
5505         * vc-backend.C:
5506         changes due to the changed LyXView interface that now returns references
5507         to member variables not pointers.
5508
5509 2002-08-13  Angus Leeming  <leeming@lyx.org>
5510
5511         * WordLangTuple (word, lang_code): return references to strings,
5512         not strings.
5513
5514         * BufferView.h:
5515         * SpellBase.h:
5516         * lyxtext.h: forward-declare WordLangTuple.
5517
5518         * BufferView2.C:
5519         * ispell.C:
5520         * pspell.C:
5521         * text.C: #include "WordLangTuple.h".
5522
5523         * lyxtext.h:
5524         * text.C: (selectNextWordToSpellcheck): constify return type.
5525
5526 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5527
5528         * buffer.C:
5529         * buffer.h:
5530         * lyxtext.h:
5531         * paragraph.C:
5532         * paragraph_pimpl.h:
5533         * text.C:
5534         * text2.C:
5535         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5536         suggested by Angus.
5537         Made updateCounter always count from start of buffer, and removed
5538         second argument (par).
5539         Reverted floats number display to '#'. Perhaps I'll try again when the
5540         code base is sanitized a bit.
5541
5542 2002-08-12  Angus Leeming  <leeming@lyx.org>
5543
5544         * buffer.[Ch] (getLabelList): constify.
5545
5546 2002-08-07  André Pönitz <poenitz@gmx.net>
5547
5548         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5549
5550         * funcrequest.h: extension to keep mouse (x,y) position
5551
5552 2002-08-12  Juergen Vigna  <jug@sad.it>
5553
5554         * BufferView2.C (insertErrors): forbid undo when inserting error
5555         insets.
5556
5557         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5558
5559 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * ParagraphList.[Ch]: new files
5562
5563         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5564
5565         * BufferView2.C (lockInset): ParagraphList changes
5566         * toc.C: ditto
5567         * text2.C: ditto
5568         * bufferlist.C: ditto
5569         * buffer.h: ditto
5570         * buffer.C: ditto
5571
5572 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5573
5574         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5575         unused class variable counter_,
5576
5577         * paragraph.[Ch] (getFirstCounter): delete unused function
5578
5579         * counters.C: include LAssert.h
5580         (reset): add a new function with no arg, change other version to
5581         not have def. arg and to not allow empty arg.
5582
5583         * text2.C (setCounter): remove empty arg from call to Counters::reset
5584
5585 2002-08-11  John Levon  <levon@movementarian.org>
5586
5587         * Makefile.am: add WordLangTuple.h
5588
5589 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5592         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5593
5594         * insets/insettext.C: InsetList changes
5595
5596         * graphics/GraphicsSupport.C (operator()): InsetList changes
5597
5598         * toc.C (getTocList): InsetList changes
5599
5600         * paragraph_pimpl.[Ch]: InsetList changes
5601
5602         * paragraph.[Ch]: InsetList changes
5603
5604         * buffer.C (inset_iterator): InsetList changes
5605         (setParagraph): ditto
5606         * buffer.h (inset_iterator): ditto
5607         * iterators.C (operator++): ditto
5608         * iterators.h: ditto
5609
5610         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5611
5612         * InsetList.[Ch]: new files, most InsetList handling moved out of
5613         paragraph.C.
5614
5615         * BufferView2.C (removeAutoInsets): InsetList changes
5616         (lockInset): ditto
5617         (ChangeInsets): ditto
5618
5619 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5620
5621         * paragraph_pimpl.h (empty): new function
5622
5623         * paragraph.[Ch] (empty): new function
5624
5625         * other files: use the new Paragraph::empty function
5626
5627 2002-08-09  John Levon  <levon@movementarian.org>
5628
5629         * lyxtext.h: remove unused refresh_height
5630
5631 2002-08-09  John Levon  <levon@movementarian.org>
5632
5633         * Makefile.am:
5634         * sgml.h:
5635         * sgml.C:
5636         * buffer.C:
5637         * paragraph.h:
5638         * paragraph.C: move sgml char escaping out of paragraph
5639
5640         * paragraph.h:
5641         * paragraph.C: remove id setter
5642
5643         * buffer.C:
5644         * paragraph.C:
5645         * paragraph_pimpl.C: remove dead tex_code_break_column
5646
5647         * bufferview_funcs.C: small cleanup
5648
5649         * lyxfunc.C: remove dead proto
5650
5651         * lyxtext.h: make some stuff private. Remove some dead stuff.
5652
5653         * lyxgluelength.C: make as[LyX]String() readable
5654
5655 2002-08-08  John Levon  <levon@movementarian.org>
5656
5657         * LyXAction.h:
5658         * LyXAction.C:
5659         * MenuBackend.C:
5660         * ToolbarDefaults.C:
5661         * lyxfunc.C:
5662         * lyxrc.C:
5663         * toc.C: lyxaction cleanup
5664
5665 2002-08-08  John Levon  <levon@movementarian.org>
5666
5667         * BufferView2.C: small cleanup
5668
5669         * lyxfind.h:
5670         * lyxfind.C: move unnecessary header into the .C
5671
5672 2002-08-08  John Levon  <levon@movementarian.org>
5673
5674         * funcrequest.h: just tedious nonsense
5675
5676         * lyx_main.h:
5677         * lyx_main.C: cleanups
5678
5679         * buffer.C:
5680         * vspace.C: remove dead header lyx_main.h
5681
5682 2002-08-07  Angus Leeming  <leeming@lyx.org>
5683
5684         * Paragraph.[Ch]:
5685         * paragraph_pimpl.h:
5686         Forward declare class Counters in paragraph.h by moving the ctrs member
5687         variable into Paragraph::Pimpl.
5688         (counters): new method, returning a reference to pimpl_->ctrs.
5689
5690         * text2.C: ensuing changes.
5691
5692 2002-08-07  John Levon  <levon@movementarian.org>
5693
5694         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5695
5696         * BufferView_pimpl.C: announce X selection on double/triple
5697           click
5698
5699         * lyx_main.C: use correct bool in batch dispatch
5700
5701         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5702
5703 2002-08-07  André Pönitz <poenitz@gmx.net>
5704
5705         * funcrequest.h: new class to wrap a kb_action and its argument
5706
5707         * BufferView.[Ch]:
5708         * BufferView_pimpl[Ch]:
5709         * LaTeX.C:
5710         * LyXAction.[Ch]:
5711         * lyxfunc.[Ch]:
5712         * lyxrc.C: subsequent changes
5713
5714
5715 2002-08-07  John Levon  <levon@movementarian.org>
5716
5717         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5718           document options change.
5719
5720 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5721
5722         * counters.[Ch]
5723         * text2.C
5724         * paragraph.[Ch]
5725         * makefile.am: move counters functionality over from
5726         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5727
5728 2002-08-06  John Levon  <levon@movementarian.org>
5729
5730         * WordLangTuple.h: new file for word + language code tuple
5731
5732         * SpellBase.h:
5733         * pspell.h:
5734         * pspell.C:
5735         * ispell.h:
5736         * ispell.C:
5737         * lyxtext.h:
5738         * text.C:
5739         * text2.C:
5740         * BufferView.h:
5741         * BufferView2.C: use WordLangTuple
5742
5743         * layout.h:
5744         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5745
5746 2002-08-06  John Levon  <levon@movementarian.org>
5747
5748         * lyx_main.C: fix cmdline batch handling
5749
5750 2002-08-06  André Pönitz <poenitz@gmx.net>
5751
5752         * lyxrc.C: set default for show_banner to true
5753
5754 2002-08-06  John Levon  <levon@movementarian.org>
5755
5756         * pspell.C: fix a crash, and allow new aspell to work
5757
5758 2002-08-06  John Levon  <levon@movementarian.org>
5759
5760         * lyxfunc.C:
5761         * kbmap.C: small cleanup
5762
5763         * vspace.h:
5764         * vspace.C: add const
5765
5766 2002-08-05  John Levon  <levon@movementarian.org>
5767
5768         * LyXAction.C: back to tabular-insert
5769
5770 2002-08-04  John Levon  <levon@movementarian.org>
5771
5772         * BufferView.h:
5773         * BufferView.C: cosmetic change
5774
5775         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5776
5777         * bufferlist.C:
5778         * buffer.h:
5779         * buffer.C:
5780         * lyxcb.h:
5781         * lyxcb.C:
5782         * lyxserver.C:
5783         * lyxvc.C:
5784         * vc-backend.C:
5785         * BufferView2.C: purge all "Lyx" not "LyX" strings
5786
5787         * lyxcursor.h:
5788         * lyxcursor.C: attempt to add some documentation
5789
5790         * lyxfunc.C:
5791         * commandtags.h:
5792         * LyXAction.C:
5793         * ToolbarDefaults.C:
5794         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5795           merge with LFUN_TABULAR_INSERT
5796
5797         * Makefile.am:
5798         * SpellBase.h:
5799         * ispell.h:
5800         * ispell.C:
5801         * pspell.h:
5802         * pspell.C: split up i/pspell implementations into separate
5803           files, many cleanups
5804
5805         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5806
5807         * text2.C: some cleanup
5808
5809         * lyxfunc.C: don't check for isp_command == "none" any more, it
5810           didn't make any sense
5811
5812 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5813
5814         * counters.[Ch]
5815         * text2.C
5816         * paragraph.[Ch]
5817         * makefile.am: move counters functionality over
5818         from text2.C/paragraph.[Ch] to counters.[Ch], and
5819         make proper C++.
5820 2002-08-02  John Levon  <levon@movementarian.org>
5821
5822         * buffer.C: s/lyxconvert/lyx2lyx/
5823
5824 2002-08-02  Angus Leeming  <leeming@lyx.org>
5825
5826         * lyxlex.C: revert John's change as it breaks reading of the user
5827         preamble.
5828
5829 2002-08-02  Angus Leeming  <leeming@lyx.org>
5830
5831         * importer.C (Import):
5832         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5833         changes due to LyXView::view() now returning a boost::shared_ptr.
5834
5835 2002-08-02  John Levon  <levon@movementarian.org>
5836
5837         * lyxlex.C: small cleanup
5838
5839 2002-08-02  John Levon  <levon@movementarian.org>
5840
5841         * text2.C (status): small cleanup, no logic change
5842
5843 2002-08-01  John Levon  <levon@movementarian.org>
5844
5845         * buffer.h:
5846         * buffer.C (writeFile): don't output alerts, caller
5847           handles this
5848
5849         * bufferlist.C:
5850         * lyx_cb.C: from above
5851
5852         * lyxfunc.C: allow to open non-existent files
5853
5854 2002-07-31  John Levon  <levon@movementarian.org>
5855
5856         * lyxserver.C: don't let incidental errors get
5857           in the way (errno)
5858
5859 2002-07-30  John Levon  <levon@movementarian.org>
5860
5861         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5862
5863 2002-07-30  John Levon  <levon@movementarian.org>
5864
5865         * lyxserver.h:
5866         * lyxserver.C: remove I/O callback too
5867
5868 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5869
5870         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5871         log.
5872
5873 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5874
5875         * many files: strip,frontStrip -> trim,ltrim,rtrim
5876
5877 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5878
5879         * PrinterParams.h: remove extern containsOnly, and include
5880         support/lstrings.h instead.
5881
5882         * LaTeX.C (scanAuxFile): modify because of strip changes
5883         (deplog): ditto
5884         * buffer.C (makeLaTeXFile): ditto
5885         * bufferparams.C (writeFile): ditt
5886         * lyxfont.C (stateText): ditto
5887         * lyxserver.C (read_ready): ditto
5888         * vc-backend.C (scanMaster): ditto
5889
5890         * BufferView_pimpl.h: ws changes
5891
5892         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5893
5894 2002-07-26  André Pönitz <poenitz@gmx.net>
5895
5896         * kb_sequence.C: remove unnedred usings
5897
5898 2002-07-26  Juergen Vigna  <jug@sad.it>
5899
5900         * lyxfind.C (LyXReplace): we have to check better if the returned
5901         text is not of theLockingInset()->getLockingInset().
5902
5903 2002-07-25  Juergen Vigna  <jug@sad.it>
5904
5905         * lyxfind.C (LyXReplace): don't replace if we don't get the
5906         right LyXText.
5907
5908         * undo_funcs.C (createUndo): remove debugging code.
5909
5910 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
5911
5912         * buffer.C (parseSingleLyXformat2Token): Use default placement
5913         when reading old floats.
5914
5915         * FloatList.C (FloatList): Change the default placement of figure
5916         and tables to "tbp".
5917
5918 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
5919
5920         * MenuBackend.C: using std::max
5921
5922 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5923
5924         * MenuBackend.C (expandToc):
5925         (expandToc2): code moved from xforms menu frontend. It is now
5926         generic and TOCs are transparent to menu frontends.
5927
5928 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5929
5930         * toc.C (getTocList): protect against buf=0
5931
5932         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5933         Menu as first parameter. Now, this calls itself recursively to
5934         expand a whole tree (this will be useful for TOC handling)
5935         (expandFloatInsert): remove 'wide' version of floats
5936
5937         * MenuBackend.h (submenuname): returns the name of the submenu.
5938         (submenu): returns the submenu itself, provided it has been
5939         created by MenuBackend::expand
5940
5941 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5942
5943         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5944         insets which have noFontChange == true. (bug #172)
5945
5946 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5947
5948         * BufferView_pimpl.C: add connection objects and use them...
5949         (Pimpl): here.
5950
5951 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5952
5953         * MenuBackend.C (expandLastfiles):
5954         (expandDocuments):
5955         (expandFormats):
5956         (expandFloatListInsert):
5957         (expandFloatInsert):
5958         (expand): split expand in parts
5959
5960 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5961
5962         * lyx_gui.C: use lyx_gui::exit()
5963
5964 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5965
5966         * LyXAction.C: show the failing pseudo action
5967
5968 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
5969
5970         * buffer.C (readFile): Run the lyxconvert script in order to read
5971         old files.
5972
5973 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5974
5975         * LyXAction.C:
5976         * commandtags.h:
5977         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5978
5979 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5980
5981         * LyXAction.C:
5982         * commandtags.h:
5983         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5984
5985 2002-07-22  Herbert Voss  <voss@lyx.org>
5986
5987         * lengthcommon.C:
5988         * lyxlength.[Ch]: add support for the vertical lengths
5989
5990 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
5991
5992         * toc.[Ch]: std:: fixes
5993
5994 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5995
5996         * lyxrc.C: do not include lyx_main.h
5997
5998         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5999         for layouts
6000
6001         * lyxrc.C:
6002         * encoding.C:
6003         * bufferlist.C:
6004         * BufferView2.C: include "lyxlex.h"
6005
6006         * tabular.h:
6007         * bufferparams.h: do not #include "lyxlex.h"
6008
6009         * lyxtextclasslist.C (Add): remove method
6010         (classlist): renamed to classlist_
6011
6012         * paragraph_pimpl.C:
6013         * paragraph.C:
6014         * text2.C:
6015         * CutAndPaste.C:
6016         * bufferview_funcs.C:
6017         * bufferlist.C:
6018         * text.C:
6019         * LaTeXFeatures.C:
6020         * buffer.C:
6021         * toc.C (getTocList): use BufferParams::getLyXTextClass
6022
6023         * toc.C (getTocList): use InsetFloat::addToToc
6024
6025         * toc.[Ch]: new files, containing helper functions to handle table
6026         of contents
6027
6028         * lyxfunc.C (dispatch): no need to remove spaces around command
6029         given as a string
6030         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6031         first command of the sequence; it is not very clever, but I do not
6032         have a better idea, actually
6033
6034         * LyXAction.C (LookupFunc): make sure to remove space at the
6035         beginning and end of the command
6036
6037 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6038
6039         * MenuBackend.C (getMenubar): new method: return the menubar of
6040         this menu set
6041         (read): treat differently reading of menu and menubar (in
6042         particular, the menubar has no name now)
6043         (Menu::menubar): remove
6044
6045         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6046         saving is finished
6047
6048 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6049
6050         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6051         a bibitem inset in a RTL paragraph.
6052
6053 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6054
6055         * paragraph_pimpl.C: constify
6056
6057         * BufferView_pimpl.C:
6058         * LaTeX.C:
6059         * lyxfunc.C: fix dispatch in a nicer way
6060
6061 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6062
6063         * lyxfunc.C (dispatch):
6064         * BufferView_pimpl.C:
6065         * BufferView_pimpl.h:
6066         * BufferView.C:
6067         * BufferView.h: rename Dispatch() to dispatch()
6068
6069         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6070
6071         * lyxlayout.C (Read): honor DependsOn tag
6072
6073         * lyxlayout.[Ch] (depends_on): new method
6074
6075         * version.C.in: update lyx_docversion
6076
6077         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6078
6079         * paragraph.C (validate): remove from here...
6080         * paragraph_pimpl.C (validate): ... and move here
6081         (isTextAt): make it const
6082
6083         * buffer.C (getLists): ws cleanup
6084
6085 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6086
6087         * language.C (read): Use iso8859-1 encoding in latex_lang
6088         (this prevents LyX from crashing when using iso10646-1 encoding).
6089
6090 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6091
6092         * text2.C (toggleInset): if cursor is inside an inset, close the
6093         inset and leave cursor _after_ it
6094
6095 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6096
6097         * lyxfunc.C: move minibuffer completion handling out of here
6098
6099 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6100
6101         * BufferView_pimpl.C:
6102         * LaTeX.C: fix dispatch calls
6103
6104 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6105
6106         * text.C (drawChars): Fix Arabic text rendering.
6107
6108 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6109
6110         * LyXAction.C:
6111         * commandtags.h:
6112         * lyxfunc.C: remove message-push/pop
6113
6114         * lyxserver.C:
6115         * lyxfunc.h:
6116         * lyxfunc.C: rationalise some code by removing verboseDispatch
6117           in favour of a bool argument to dispatch()
6118
6119 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6120
6121         * lyx_main.C (init): make sure to read symlinks as absolute paths
6122
6123 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6124
6125         * lyxfunc.h:
6126         * lyxfunc.C: no need for commandshortcut to be a member
6127
6128 2002-07-15  André Pönitz <poenitz@gmx.net>
6129
6130         * converter.C: add support for $$s (scripts from lib/scripts dir)
6131         * lyx_main.C: white space
6132
6133 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6134
6135         * bufferlist.C:
6136         * lyxrc.h:
6137         * lyxrc.C: remove second exit confirmation
6138
6139 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6140
6141         * BufferView.h:
6142         * BufferView.C:
6143         * BufferView2.C:
6144         * BufferView_pimpl.h:
6145         * BufferView_pimpl.C:
6146         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6147
6148 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6149
6150         * MenuBackend.C (expand): add numeric shortcuts to document menu
6151
6152         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6153
6154 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6155
6156         * lyxfont.C (setLyXFamily):
6157         (setLyXSeries):
6158         (setLyXShape):
6159         (setLyXSize):
6160         (setLyXMisc):
6161         (lyxRead):
6162         * debug.C (value):
6163         * buffer.C (asciiParagraph): use ascii_lowercase
6164
6165 2002-07-15  Mike Fabian  <mfabian@suse.de>
6166
6167         * lyxlex_pimpl.C (search_kw):
6168         * lyxlex.C (getLongString):
6169         * converter.h (operator<):
6170         * converter.C (operator<):
6171         * buffer.C (parseSingleLyXformat2Token):
6172         (asciiParagraph):
6173         * ToolbarDefaults.C (read):
6174         * MenuBackend.C (checkShortcuts):
6175         (read):
6176         * LColor.C (getFromGUIName):
6177         (getFromLyXName): use the compare_ascii_no_case instead of
6178         compare_no_case, because in turkish, 'i' is not the lowercase
6179         version of 'I', and thus turkish locale breaks parsing of tags.
6180
6181 2002-07-16  Angus Leeming  <leeming@lyx.org>
6182
6183         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6184         now takes a Buffer const & argument.
6185
6186 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6187
6188         * BufferView.C (resize): check there's a buffer to resize
6189
6190 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6191
6192         * lyxfunc.C: remove dead code
6193
6194         * lyxserver.h:
6195         * lyxserver.C: use lyx_guii::set_read_callback
6196
6197 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6198
6199         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6200         an inset in a RTL paragraph.
6201
6202 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6203
6204         * lyxfunc.C: repaint after a font size update
6205
6206 2002-07-15  André Pönitz <poenitz@gmx.net>
6207
6208         * lyxlength.C: inBP should be able to return negative values
6209
6210 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6211
6212         * lyxfunc.C: use lyx_gui::update_fonts()
6213
6214 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6215
6216         * lyxfunc.C: use lyx_gui::update_color()
6217
6218 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6219
6220         * bufferlist.C:
6221         * lyxfunc.h:
6222         * lyxfunc.C:
6223         * lyxrc.h:
6224         * lyxrc.C: remove file->new asks for name option, and let
6225           buffer-new take an argument
6226
6227 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6228
6229         * BufferView_pimpl.C: remove unneeded extra repaint()
6230
6231 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6232
6233         * LyXAction.C: allow command-sequence with NoBuffer
6234
6235         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6236
6237 2002-07-10  Angus Leeming  <leeming@lyx.org>
6238
6239         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6240
6241 2002-07-09  Angus Leeming  <leeming@lyx.org>
6242
6243         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6244
6245 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6246
6247         * lengthcommon.h: whitespace
6248
6249         * lyxfunc.C: update scrollbar after goto paragraph
6250
6251         * lyxtext.h: factor out page break drawing, and fix it so
6252           page break/added space paints as selected nicely
6253
6254 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6255
6256         * BufferView_pimpl.C: add FIXMEs, clean up a little
6257
6258 2002-07-09  André Pönitz <poenitz@gmx.net>
6259
6260         * lyxfont.[Ch]: support for wasy symbols
6261
6262 2002-07-08  André Pönitz <poenitz@gmx.net>
6263
6264         * BufferView_pimpl.C: apply John's patch for #93.
6265
6266 2002-07-05  Angus Leeming  <leeming@lyx.org>
6267
6268         * BufferView_pimpl.C (buffer): generate previews if desired.
6269
6270         * LColor.h: add "preview" to the color enum.
6271
6272         * LColor.C (LColor): add a corresponding entry to the items array.
6273
6274         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6275         with this buffer.
6276
6277 2002-07-05  Angus Leeming  <leeming@lyx.org>
6278
6279         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6280         The body of the code is now in the method that is passed an ostream &
6281         rather than a file name.
6282         Pass an additional only_preamble parameter, useful for the forthcoming
6283         preview stuff.
6284
6285 2002-07-03  André Pönitz <poenitz@gmx.net>
6286
6287         * lyxfunc.C: simplify getStatus() a bit for math stuff
6288
6289 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6290
6291         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6292
6293 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6294
6295         * text.C (changeRegionCase): do not change case of all the
6296         document when region ends at paragraph end (bug #461)
6297
6298 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6299
6300         * paragraph.C (startTeXParParams):
6301         (endTeXParParams): add \protect when necessary
6302
6303 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6304
6305         * BufferView_pimpl.C (workAreaExpose): remove warning
6306
6307 2002-06-27  Angus Leeming  <leeming@lyx.org>
6308
6309         * Makefile.am: add lyxlayout_ptr_fwd.h.
6310
6311 2002-06-26  André Pönitz <poenitz@gmx.net>
6312
6313         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6314
6315 2002-06-25  Angus Leeming  <leeming@lyx.org>
6316
6317         * lyxfunc.C (dispatch): Comment out the call to
6318         grfx::GCache::changeDisplay. The method no longer exists now that the
6319         pixmap generation part of the graphics loader has been moved into
6320         InsetGraphics.
6321
6322 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6323
6324         * text2.C: layout as layout
6325
6326         * text.C: layout as layout
6327
6328         * tabular.C (OldFormatRead): layout as layout
6329
6330         * paragraph_pimpl.C (TeXDeeper): layout as layout
6331         (realizeFont): layout as layout
6332
6333         * paragraph.C (writeFile): layout as layout
6334         (validate): layout as layout
6335         (getFont): layout as layout
6336         (getLabelFont): layout as layout
6337         (getLayoutFont): layout as layout
6338         (breakParagraph): layout as layout
6339         (stripLeadingSpaces): layout as layout
6340         (getEndLabel): layout as layout
6341         (getMaxDepthAfter): layout as layout
6342         (applyLayout): layout as layout
6343         (TeXOnePar): layout as layout
6344         (simpleTeXOnePar): layout as layout
6345         (TeXEnvironment): layout as layout
6346         (layout): layout as layout
6347         (layout): layout as layout
6348
6349         * lyxtextclass.C (compare_name): new functor to work with
6350         shared_ptr, layout as layout
6351         (Read): layout as layout
6352         (hasLayout): layout as layout
6353         (operator): layout as layout
6354         (delete_layout): layout as layout
6355         (defaultLayout): layout as layout
6356
6357         * lyxlayout_ptr_fwd.h: new file
6358
6359         * lyxlayout.C (Read): layout as layout
6360
6361         * lyx_cb.C (MenuInsertLabel): layout as layout
6362
6363         * bufferlist.C (newFile): layout as layout
6364
6365         * buffer.C (readLyXformat2): layout as layout
6366         (parseSingleLyXformat2Token): layout as layout
6367         (insertStringAsLines): layout as layout
6368         (asciiParagraph): layout as layout
6369         (latexParagraphs): layout as layout
6370         (makeLinuxDocFile): layout as layout
6371         (simpleLinuxDocOnePar): layout as layout
6372         (makeDocBookFile): layout as layout
6373         (simpleDocBookOnePar): layout as layout
6374         (getLists): layout as layout
6375
6376         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6377
6378         * CutAndPaste.C (cutSelection): layout as layout
6379         (pasteSelection): layout as layout
6380         (SwitchLayoutsBetweenClasses): layout as layout
6381
6382         * BufferView_pimpl.C (Dispatch): layout as layout
6383         (smartQuote): layout as layout
6384
6385         * BufferView2.C (unlockInset): layout as layout
6386
6387 2002-06-24  André Pönitz <poenitz@gmx.net>
6388
6389         * lyxfunc.C: fix #487
6390
6391 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6392
6393         * lyxrc.h:
6394         * lyxrc.C:
6395         * lyxfunc.C: remove display_shortcuts, show_banner
6396
6397 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6398
6399         * Buffer_pimpl.C: oops, update on resize
6400
6401 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6402
6403         * buffer.C:
6404         * converter.C:
6405         * exporter.C:
6406         * lyxfunc.C:
6407         * BufferView.h:
6408         * BufferView.C: use repaint()
6409
6410         * BufferView_pimpl.h:
6411         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6412           as it's a clearer description. Remove superfluous
6413           redraws.
6414
6415 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6416
6417         * text.C: fix bug 488. Not ideal, but getting
6418           getWord() to work properly for the insets that
6419           matter is more difficult ...
6420
6421 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6422
6423         * BufferView_pimpl.C:
6424         * LyXAction.C:
6425         * commandtags.h:
6426         * lyxfunc.C: remove the six million index lyxfuncs to just
6427           one, and DTRT (bug 458)
6428
6429 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6430
6431         * BufferView.h:
6432         * BufferView.C:
6433         * BufferView_pimpl.h:
6434         * BufferView_pimpl.C: clean up resize() stuff,
6435           and unnecessary updateScreen()s
6436
6437 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6438
6439         * BufferView.h:
6440         * BufferView.C:
6441         * BufferView_pimpl.h:
6442         * BufferView_pimpl.C:
6443         * lyxfind.h:
6444         * lyxfind.C:
6445         * minibuffer.C: remove focus management of workarea,
6446           not needed. Use screen's greyOut()
6447
6448 2002-06-17  Herbert Voss  <voss@lyx.org>
6449
6450         * converter.C: (convert) do not post a message, when converting
6451         fails, let the calling function decide what to do in this case
6452
6453 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6454
6455         * lyxfunc.C: tidy up a little
6456
6457 2002-06-16    <alstrup@diku.dk>
6458
6459         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6460         Got rid of FORMS_H_LOCATION include. Now we are
6461         GUII.
6462
6463 2002-06-15  LyX Development team  <lyx@rilke>
6464
6465         * buffer.[Ch] (sgmlOpenTag):
6466         (sgmlCloseTag): Added support for avoiding pernicious mixed
6467         content. Return number of lines written.
6468
6469         (makeLinuxDocFile):
6470         (makeDocBookFile): Fixed calls to sgml*Tag.
6471         Simple white space clean.
6472
6473         (simpleDocBookOnePar): Simple white space clean.
6474
6475         * tabular.[Ch] (docBook): Renamed to docbook and got another
6476         argument to related with the pernicious mixed content.
6477
6478         (docbookRow): Fixed calls for docbook inset method.
6479
6480 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6481
6482         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6483         so it's X11 independent.
6484
6485         * kb*.[Ch]: ditto.
6486
6487         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6488
6489 2002-06-15  Lyx Development team  <lyx@electronia>
6490
6491         * intl.h: Renamed getTrans to getTransManager.
6492
6493 2002-06-14  Angus Leeming  <leeming@lyx.org>
6494
6495         * Makefile.am: nuke forgotten stl_string_fwd.h.
6496
6497 2002-06-12  Angus Leeming  <leeming@lyx.org>
6498
6499         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6500
6501 2002-06-13  Angus Leeming  <leeming@lyx.org>
6502
6503         * LaTeX.C:
6504         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6505
6506 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6507
6508         * kbmap.C (getiso): add support for cyrillic and greek
6509
6510 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6511
6512         * BufferView.h:
6513         * BufferView.C:
6514         * BufferView_pimpl.h:
6515         * BufferView_pimpl.C: move bogus scrolling logic
6516           to xforms
6517
6518 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6519
6520         * lyxfunc.C:
6521         * BufferView_pimpl.C: view->resize() change
6522
6523 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6524
6525         * BufferView_pimpl.C: topCursorVisible
6526           prototype change
6527
6528 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6529
6530         * Makefile.am:
6531         * lyx_gui.h:
6532         * lyx_gui.C: move to frontends/
6533
6534         * main.C:
6535         * lyx_main.h:
6536         * lyx_main.C: changes from above
6537
6538 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6539
6540         * intl.C:
6541         * intl.h:
6542         * kbmap.C:
6543         * kbsequence.C:
6544         * lyx_cb.C:
6545         * lyx_main.C: minor tidy
6546
6547 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6548
6549         * BufferView_pimpl.h:
6550         * BufferView_pimpl.C:
6551         * BufferView.h:
6552         * BufferView.C: make painter() const,
6553           remove dead code
6554
6555         * BufferView2.C: use screen() accessor
6556
6557         * lyx_main.h:
6558         * lyx_main.C: some minor cleanup
6559
6560 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6561
6562         * BufferView_pimpl.h:
6563         * BufferView_pimpl.C: remove enter/leaveView,
6564           use workHeight()
6565
6566 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6567
6568         * BufferView.h:
6569         * BufferView.C:
6570         * BufferView2.C:
6571         * BufferView_pimpl.h:
6572         * BufferView_pimpl.C: only construct screen once,
6573           rename
6574
6575         * lyxrc.C: remove pointless comment
6576
6577 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6578
6579         * BufferView.h:
6580         * BufferView.C: remove active() and belowMouse()
6581
6582         * BufferView_pimpl.h:
6583         * BufferView_pimpl.C: use workarea() not workarea_,
6584           and make it use a scoped_ptr instead
6585
6586 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6587
6588         * lyx_gui.C: add debug message on BadWindow
6589
6590 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6591
6592         * sp_spell.C: fdopen is not part of the C++ standard.
6593
6594         * paragraph.C (InsetIterator): use >= instead of ==
6595
6596 2002-06-07  Angus Leeming  <leeming@lyx.org>
6597
6598         Fixes needed to compile with Compaq cxx 6.5.
6599         * BufferView_pimpl.C:
6600         * DepTable.C:
6601         * buffer.C:
6602         * converter.C:
6603         * encoding.C:
6604         * lyx_gui.C:
6605         * lyx_main.C:
6606         * lyxtextclasslist.C:
6607         * minibuffer.C:
6608         * sp_spell.C:
6609         * tabular_funcs.C:
6610         * vc-backend.C:
6611         all c-library variables have been moved into namespace std. Wrap
6612         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6613
6614         * lyxlength.C:
6615         * tabular-old.C:
6616         * tabular.C:
6617         Add a using std::abs declaration.
6618
6619         * kbmap.h (modifier_pair):
6620         * paragraph.h (InsetTable, InsetList):
6621         * lyxfont.h (FontBits):
6622         type definition made public.
6623
6624         * bufferlist.C (emergencyWriteAll): the compiler complains that
6625         there is more than one possible lyx::class_fun template to choose from.
6626         I re-named the void specialisation as lyx::void_class_fun.
6627
6628         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6629
6630         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6631         the compiler is is unable to find tostr in write_attribute.
6632
6633 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6634
6635         * buffer.C (sgmlError): hide #warning
6636
6637 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6638
6639         * xtl/*: get rid of xtl, which is not in use anyway
6640
6641         * LyXAction.C (init):
6642         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6643         were unimplemented xtl experimentation
6644
6645 2002-06-04  André Pönitz <poenitz@gmx.net>
6646
6647         * lyxfunc.C: disable array operation on simple formulae
6648
6649 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6650
6651         * converter.C: constify a bit
6652
6653 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6654
6655         * lyx_gui.C: check xforms version correctly
6656
6657 2002-04-30  Herbert Voss  <voss@lyx.org>
6658
6659         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6660         "keep" option
6661
6662 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6663
6664         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6665           attempt to register it with a VCS)
6666
6667 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6668
6669         * lyx_main.C (init): honor variables LYX_DIR_13x and
6670         LYX_USERDIR_13x
6671
6672 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6673
6674         * buffer.h:
6675         * buffer.C:
6676         * lyx_main.C: fix a crash on bad command line,
6677           and give a useful exit status on error
6678
6679         * lyxfunc.C (doImport): allow -i lyx to work
6680
6681 2002-03-30  André Pönitz <poenitz@gmx.net>
6682
6683         * lyxfunc.C: mathed font changes
6684
6685 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6686
6687         * LaTeX.C:
6688         * importer.h:
6689         * importer.C:
6690         * lyx_sty.h:
6691         * lyx_sty.C:
6692         * lyxlex.C:
6693         * lyxrow.h:
6694         * lyxtext.h:
6695         * paragraph.h:
6696         * paragraph.C:
6697         * texrow.h:
6698         * texrow.C:
6699         * text.C:
6700         * trans_mgr.h: srcdocs, and some minor cleanups
6701
6702 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6703
6704         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6705         call getFont all the time)
6706
6707 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6708
6709         * switch from SigC signals to boost::signals
6710
6711 2002-05-29  André Pönitz <poenitz@gmx.net>
6712
6713         * paragraph_pimpl.C (getChar): don't call size() too often...
6714
6715 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6716
6717         * paragraph_pimpl.C (insertChar): do not try to update tables when
6718         appending (pos == size())
6719
6720         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6721         in order to reduce drastically the number of comparisons needed to
6722         parse a large document
6723
6724 2002-05-29  André Pönitz <poenitz@gmx.net>
6725
6726         * text.C:
6727         * text2.C:
6728         * lyxtextclass.C:
6729         * sp_pspell.h:
6730         * textclasslist.[Ch]:
6731         * sp_ispell.h: whitespace change
6732
6733 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6734
6735         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6736         lyxaction directly now.
6737
6738 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6739
6740         * trans.C:
6741         * lyxfont.C:
6742         * lyxvc.C: remove unused headers
6743
6744 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6745
6746         * Makefile.am:
6747         * buffer.h:
6748         * undostack.h:
6749         * undostack.C:
6750         * undo_funcs.h:
6751         * undo_funcs.C: some cleanups. Use shared_ptr
6752           and a template for the undo stacks.
6753
6754 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6755
6756         * BufferView_pimpl.h:
6757         * BufferView_pimpl.C:
6758         * kbmap.h:
6759         * kbmap.C:
6760         * kbsequence.h:
6761         * kbsequence.C:
6762         * lyxfunc.h:
6763         * lyxfunc.C:
6764         * text2.C: use key_state/mouse_state
6765
6766 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6767
6768         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6769         and LSubstring
6770
6771         * chset.C: change include order
6772         (loadFile): use boost regex and get rid of LRegex and LSubstring
6773
6774         * Makefile.am (BOOST_LIBS): new variable
6775         (lyx_LDADD): use it
6776
6777         * LaTeX.C: change include order.
6778         (scanAuxFile): use boost regex and get rid of LRegex and
6779         LSubstring
6780         (deplog): ditto
6781
6782 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6783
6784         * ColorHandler.h:
6785         * ColorHandler.C:
6786         * FontInfo.h:
6787         * FontInfo.C: moved to frontends/xforms/
6788
6789         * FontLoader.h:
6790         * FontLoader.C: moved into frontends for GUIIzation
6791
6792         * Makefile.am:
6793         * lyx_gui.C:
6794         * lyxfont.C:
6795         * lyxfunc.C: changes from above
6796
6797 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6798
6799         * LColor.C: remove spurious X include
6800
6801         * BufferView_pimpl.C:
6802         * Makefile.am:
6803         * font.h:
6804         * font.C:
6805         * text.C:
6806         * text2.C: move font metrics to frontends/
6807
6808 2002-05-24  Juergen Vigna  <jug@sad.it>
6809
6810         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6811         setting the undo_cursor.
6812
6813         * ParagraphParameters.h: include local includes first.
6814
6815 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6816
6817         * BufferView_pimpl.C:
6818         * BufferView_pimpl.h:
6819         * Makefile.am:
6820         * WorkArea.h:
6821         * WorkArea.C:
6822         * screen.C: move WorkArea into frontends/
6823
6824         * lyxscreen.h:
6825         * screen.C:
6826         * text.C:
6827         * BufferView.C:
6828         * BufferView2.C: move LyXScreen into frontends/
6829
6830         * lyxlookup.h:
6831         * lyxlookup.C:
6832         * lyx_gui.C: move lyxlookup into frontends/xforms/
6833
6834 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6835
6836         * BufferView2.C:
6837         * BufferView_pimpl.C:
6838         * FontLoader.C:
6839         * LyXView.h:
6840         * LyXView.C:
6841         * Makefile.am:
6842         * WorkArea.C:
6843         * XFormsView.h:
6844         * XFormsView.C:
6845         * buffer.C:
6846         * bufferlist.C:
6847         * bufferview_funcs.C:
6848         * converter.C:
6849         * importer.C:
6850         * lyx_cb.C:
6851         * lyx_gui.C:
6852         * lyx_main.C:
6853         * lyx_find.C:
6854         * lyxfunc.C:
6855         * lyxvc.C:
6856         * minibuffer.C:
6857         * text.C:
6858         * text2.C:
6859         * trans.C:
6860         * vc-backend.C: move LyX/XFormsView into frontends/
6861
6862 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6863
6864         * Makefile.am:
6865         * PainterBase.C:
6866         * PainterBase.h:
6867         * Painter.C:
6868         * Painter.h:
6869         * WorkArea.C:
6870         * WorkArea.h:
6871         * screen.C:
6872         * tabular.C:
6873         * text.C:
6874         * text2.C: move Painter to frontends/
6875
6876 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6877
6878         * buffer.C: comment out some some code that depend upon lyx_format
6879         < 220
6880
6881         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6882         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6883
6884         * buffer.h (NO_COMPABILITY): turn off compability
6885
6886         * ColorHandler.C: include scoped_array.hpp
6887
6888         * font.C: Use more specific smart_ptr header.
6889         * Painter.C: ditto
6890         * gettext.C: ditto
6891         * ShareContainer.h: ditto
6892         * lyx_main.h: ditto
6893         * kbmap.h: ditto
6894         * FontInfo.h: ditto
6895         * BufferView_pimpl.h: ditto
6896         * ColorHandler.h: ditto
6897
6898         * kbmap.C (defkey): change call to shared_ptr::reset
6899
6900 2002-05-21  Juergen Vigna  <jug@sad.it>
6901
6902         * buffer.C (insertErtContents): fix to insert ert asis if it is
6903         non empty. Skip it completely if it contains only whitespaces.
6904
6905 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6906
6907         * BufferView_pimpl.C:
6908         * BufferView2.C: clear selection on paste (bug 393)
6909
6910 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6911
6912         * DepTable.C: include ctime
6913
6914 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
6915
6916         * buffer.C (latexParagraphs): Add new argument (moving_arg).
6917
6918 2002-05-14  Juergen Vigna  <jug@sad.it>
6919
6920         * text.C (breakParagraph): fixed function to honor the keepempty
6921         layout in the right maner and also to permit the right breaking
6922         algorithm on empty or non empyt keepempty paragraphs.
6923
6924         * paragraph.C (breakParagraph): we have to check also if the par
6925         is really empty (!size()) for isempty otherwise we do the wrong
6926         paragraph break.
6927
6928 2002-05-10  Juergen Vigna  <jug@sad.it>
6929
6930         * buffer.[Ch] : The following are only changes to the ert
6931         compatibility read reading old LaTeX layout and font stuff and
6932         convert it to ERTInsets.
6933
6934         * buffer.h: added isErtInset().
6935
6936         * buffer.C (struct ErtComp): add a fromlayout bool to check
6937         if we're inside a LaTeX layout.
6938         (isErtInset): new helper function.
6939         (insertErtContents): look for other ert insets before this one
6940         and insert the contents there, so that we don't have subsequent
6941         ERT insets with nothing between them. This way we create only one
6942         inset with multiple paragraphs. Also check if we don't insert only
6943         spaces ' ' as they are ignored anyway afterwards in the .tex file
6944         so if we have only spaces we will ignore this latex part in the
6945         new file.
6946         (parseSingleLyXformat2Token \\layout): better compatibility when
6947         reading layout-latex stuff.
6948         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6949         language tag.
6950         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6951         stuff after reading the inset only get the information back from
6952         the stack.
6953
6954 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
6955
6956         * buffer.C (makeLaTeXFile): Put language options after loading babel.
6957
6958         * LaTeXFeatures.C (getBabelOptions): New method.
6959
6960 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6961
6962         * BufferView_pimpl.C (Dispatch): work around missing argument for
6963         'layout'
6964
6965 2002-05-08  Juergen Vigna  <jug@sad.it>
6966
6967         * text.C (leftMargin): handle paragraph leftindent.
6968
6969         * paragraph.C (writeFile): write the new \\leftindent tag.
6970         (validate): handle leftindent code.
6971         (TeXEnvironment): handle paragraphleftindent code again.
6972
6973         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6974
6975         * buffer.C (parseSingleLyXformat2Token): added compatibility code
6976         for paragrap_extra indent code and new token \\leftindent.
6977         (latexParagraphs): handle the leftindent as environment.
6978
6979         * ParameterStruct.h: added leftindent support.
6980
6981         * ParagraphParameters.C (leftIndent): added support functions for
6982         the paragraph left indent.
6983
6984         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6985         more appropriate.
6986
6987 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
6988
6989         * paragraph.C (isRightToLeftPar): Return false for a paragraph
6990         inside insetERT.
6991
6992         * text.C (computeBidiTables): No bidi in insetERT.
6993
6994         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6995         in RTL documents.
6996
6997 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6998
6999         * version.C.in: pre 5
7000
7001 2002-05-02  José Matos  <jamatos@fep.up.pt>
7002         * buffer.C (makeDocBookFile): white space changes, add newline to
7003         command styles.
7004         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7005
7006         * tabular.C (docBook): fix typo.
7007
7008 2002-05-03  Juergen Vigna  <jug@sad.it>
7009
7010         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7011         change in LyXText as we can not be sure it was not freed.
7012         (drawOneRow): remove unused code.
7013
7014         * text.C (drawInset): redo the calculation of the need_break_row as
7015         it could have a row which was already freed.
7016         (draw): look at the return value of drawInset and return false if
7017         it also returned false.
7018         (paintRowText): look at the return value of draw and return false if
7019         it also returned false.
7020
7021         * lyxtext.h: added bool return type to drawInset() and draw() so that
7022         if we have a change in the row so that the rowbreak has to be redone
7023         we abort drawing as it will be called again.
7024
7025 2002-05-02  Juergen Vigna  <jug@sad.it>
7026
7027         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7028         a change in the maintext also if we're inside an inset.
7029         (Dispatch): set the cursor again after a break line and after the
7030         screen has been updated as it could be we're in a different row.
7031
7032         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7033         to set the cursor behind the pargraph with > size().
7034         (setCursor): check also for the same paragraph when checking where
7035         to put the cursor if we have a NFR inset.
7036
7037         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7038         parts of layout read further up as it still was in the wrong
7039         position.
7040
7041 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7042
7043         * screen.C (drawFromTo): change sine fullRebreak always return
7044         true.
7045
7046         * buffer.C (parseSingleLyXformat2Token): reindent some
7047
7048         * BufferView_pimpl.C (update): change since fullRebreak always
7049         return true.
7050         (Dispatch): git rid of the last hardcoded "Standard"s.
7051
7052 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7053
7054         * text2.[Ch] (fullRebreak): make it return void now that we always
7055         returned true.
7056
7057 2002-04-30  Juergen Vigna  <jug@sad.it>
7058
7059         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7060         ert compatibility check for "latex" layout.
7061
7062 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7063
7064         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7065         minipages: use col% instead of p%, and also use the current font.
7066         (makeLaTeXFile): Fix use babel condition.
7067         (parseSingleLyXformat2Token): Correct font when reading old floats.
7068
7069 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7070
7071         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7072         inserting list of floats.
7073
7074 2002-04-25  Herbert Voss  <voss@lyx.org>
7075
7076         * MenuBackend.C (expand): don't add the graphics extensions to the
7077         export menu
7078
7079 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7080
7081         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7082         non-existing layout, do not complain if it was the default layout
7083         of the original class (bug #342)
7084
7085 2002-04-24  Juergen Vigna  <jug@sad.it>
7086
7087         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7088         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7089
7090 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7091
7092         * buffer.C (getBibkeyList): If using \bibliography, return the
7093         option field with the reference itself. Enables us to provide natbib
7094         support when using \bibliography.
7095
7096 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7097
7098         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7099
7100         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7101         natbib is provided by the LaTeX class.
7102
7103 2002-04-23  Juergen Vigna  <jug@sad.it>
7104
7105         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7106         Wakeup functions.
7107
7108         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7109
7110 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7111
7112         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7113
7114         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7115         ensuremath around textordmasculine, textordfeminine and
7116         textdegree.
7117
7118 2002-04-19  Juergen Vigna  <jug@sad.it>
7119
7120         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7121         reinitializing the buffer otherwise row-dimensions may be wrong.
7122         (update): reset also the selection cursors if they do exits otherwise
7123         their x/y positions may be wrong.
7124
7125         * text2.C (cursorDown): don't enter the inset if we came from a row
7126         above and are one row over the inset.
7127
7128         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7129         really leaving an inset.
7130
7131 2002-04-18  Juergen Vigna  <jug@sad.it>
7132
7133         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7134         of the selected paragraph does not have the selected layout also if
7135         the last one had!
7136
7137         * text2.C (setLayout): fixed bug which did not change last selected
7138         paragraph.
7139
7140         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7141         changed the read and substituted \\end_float with \\end_inset!
7142
7143         * BufferView_pimpl.C (cursorPrevious):
7144         (cursorNext): fixed to make it work with rows heigher than the work
7145         area without moving the cursor only the draw of the row.
7146         (workAreaMotionNotify): fix jumping over high rows.
7147
7148 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7149
7150         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7151         Ressler.
7152
7153 2002-04-16  Juergen Vigna  <jug@sad.it>
7154
7155         * text2.C (setCursor): set also the irow().
7156         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7157         (cursorUp):
7158         (cursorDown): support for locking an inset if the x_fix value goes
7159         inside it. That way I can transverse insets too with cursor up/down.
7160
7161         * lyxrow.h: added irow helper function same as other (i) functions.
7162
7163         * BufferView_pimpl.C (cursorPrevious):
7164         (cursorNext): fixed for insets!
7165
7166 2002-04-15  Juergen Vigna  <jug@sad.it>
7167
7168         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7169         position otherwise it is wrong in some cases.
7170
7171         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7172         inside the inset before the call.
7173
7174 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7175
7176         * buffer.[Ch] (getBibkeyList): make it const.
7177
7178 2002-04-12  Juergen Vigna  <jug@sad.it>
7179
7180         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7181
7182         * text2.C (getCursorX): new helper function
7183         (setCursor): compute also ix_
7184         (setCursorFromCoordinates): set also ix.
7185
7186         * lyxcursor.h: added ix_ and helper functions.
7187
7188         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7189
7190         * buffer.C (insertStringAsLines): dont break paragraph if the this
7191         paragraph is inside an inset which does not permit it!
7192
7193         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7194         also with no chars on this paragraph.
7195         (paintRowText): only paint stuff if it's inside the workarea!
7196
7197         * paragraph.C (breakParagraph): honor keepempty flag and break the
7198         paragraph always below not above.
7199
7200         * BufferView2.C (unlockInset): update the paragraph layout on inset
7201         unlock as we changed paragraph in such a case.
7202
7203         * lyxfind.C (LyXFind): clear the former selection if not found!
7204
7205         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7206         again called in insertChar().
7207
7208         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7209         an inset which uses the whole row!
7210         (rightMargin): ditto.
7211         (insertChar): force a rebreak if we inserted an inset!
7212
7213 2002-03-28  Herbert Voss  <voss@lyx.org>
7214
7215         * lyxlength.[Ch]: add inBP() to get the right PS-point
7216         units (BigPoint). With inPixels we have rounding errors
7217
7218 2002-04-11  Juergen Vigna  <jug@sad.it>
7219
7220         * text2.C (setCursorFromCoordinates): set iy to the right value.
7221         (setCursor): add check if row->previous exists!
7222
7223         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7224         an old float_type as this was the case in the old code!
7225
7226         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7227
7228         * BufferView2.C (showLockedInsetCursor): use iy
7229         (fitLockedInsetCursor): ditto
7230
7231         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7232         locked insets as there we have the right value now.
7233
7234         * lyxcursor.C: added iy_ variable and iy functions to set to the
7235         baseline of cursor-y of the locked inset.
7236
7237         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7238         (setCursor): fixed for insets which need a full row.
7239
7240         * text.C (rowLastPrintable): don't ignore the last space when before
7241         an inset which needs a full row.
7242         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7243         as last character of a row when before a inset which needs a full row.
7244
7245 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7246
7247         * version.C.in: update date
7248
7249         * text2.C (fullRebreak): try to always return true and see what
7250         happens...
7251
7252 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7253
7254         * MenuBackend.C (expand): use Floating::listName
7255
7256         * FloatList.C (FloatList): add listName argument to the built-in
7257         floats
7258
7259         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7260         text associated with the float.
7261
7262 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7263
7264         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7265
7266 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7267
7268         * ShareContainer.h: add a couple of missing typenames.
7269
7270 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7271
7272         * lyxrc.C (getDescription): use _() correctly rather than N_().
7273
7274 2002-03-28  Herbert Voss  <voss@lyx.org>
7275
7276         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7277         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7278
7279 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7280
7281         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7282         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7283
7284 2002-03-29  Juergen Vigna  <jug@sad.it>
7285
7286         * lyxfunc.C (dispatch): add a missing fitCursor call.
7287
7288         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7289         it was scrolled by a cursor move, so return the bool status.
7290
7291         * BufferView.C (fitCursor): return the bool flag also to the outside
7292         world as this is needed.
7293
7294         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7295
7296         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7297         call the edit() as it is not needed (and wrong) IMO.
7298         (workAreaButtonPress): set the screen_first variable before evt.
7299         unlock the inset as this may change screen_first and then we have
7300         a wrong y position for the click!
7301
7302 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7303
7304         * MenuBackend.C (expand): another translation that I missed
7305
7306 2002-03-28  Juergen Vigna  <jug@sad.it>
7307
7308         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7309
7310         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7311
7312 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7313
7314         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7315
7316         * MenuBackend.C (expand): fix export/view/update when there is no
7317         document open.
7318
7319 2002-03-27  Herbert Voss  <voss@lyx.org>
7320
7321         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7322         and text%
7323
7324 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7325
7326         * bufferview_funcs.C (currentState): only show paragraph number
7327         for is DEVEL_VERSION is set.
7328
7329         * lyxfunc.C (dispatch): put warning in INFO channel
7330
7331         * MenuBackend.C (expand): translate the name of floats
7332
7333         * FloatList.C (FloatList): mark the float names for translation
7334
7335         * converter.C (convert): use LibScriptSearch
7336
7337 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7338
7339         * MenuBackend.C (defaults): fix default menu (we might as well get
7340         rid of it...)
7341
7342 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7343
7344         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7345         directory.
7346
7347 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7348
7349         * lyxvc.C: reorder includes.
7350
7351 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7352
7353         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7354           properly
7355
7356 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7357
7358         * CutAndPaste.C: change layouts earlier on paste
7359           to avoid crashing when calling getFont()
7360
7361 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7362
7363         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7364         irritating #error.
7365
7366 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7367
7368         * WorkArea.C: remove 'Pending' debug message.
7369
7370         * most files: ws cleanup
7371
7372         * buffer.[Ch]: ws changes
7373
7374         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7375
7376 2002-03-21  Juergen Vigna  <jug@sad.it>
7377
7378         * tabular.C (SetMultiColumn): collapse also the contents of the
7379         cells and set the last border right. Added a Buffer const * param.
7380
7381 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7382
7383         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7384         linking or not.
7385
7386 2002-03-19  Juergen Vigna  <jug@sad.it>
7387
7388         * text2.C (clearSelection): reset also xsel_cache.
7389
7390         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7391         where it needs to be called (John tells us to do so too :)
7392         (selectionLost): reset sel_cache.
7393
7394         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7395
7396 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7397
7398         * text2.C (setCursorIntern): put debuging code in INSETS channel
7399
7400 2002-03-19  André Pönitz <poenitz@gmx.net>
7401
7402         * lyxfunc.C: tiny whitespace change
7403
7404 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7405
7406         * ToolbarDefaults.C (init):
7407         * LyXAction.C (init):
7408         * commandtags.h:
7409         * BufferView_pimpl.C (Dispatch):
7410         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7411
7412 2002-03-19  Allan Rae  <rae@lyx.org>
7413
7414         * exporter.C (Export): removeAutoInsets before doing anything else.
7415         While I've just introduced a dependency on BufferView this really is
7416         the best place to clean the buffer otherwise you need to cleanup in
7417         a dozen places before calling export or cleanup in a dozen functions
7418         that export calls.
7419
7420         * converter.C (runLaTeX):
7421         (scanLog): Better handling of removeAutoInsets and screen updates.
7422
7423         * lyxfunc.C (dispatch): small whitespace changes
7424
7425 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7426
7427         * WorkArea.C (C_WorkAreaEvent): return a value.
7428         (event_cb): return 1 if we handled the event, 0 otherwise.
7429
7430         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7431
7432 2002-03-18  Juergen Vigna  <jug@sad.it>
7433
7434         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7435         (GetAdditionalWidth): ditto.
7436         (RightLine): ditto.
7437         (LeftLine): ditto.
7438
7439         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7440         inset if we're there actually (probably not used right now but this
7441         is the direction to go for unifying code).
7442         (paste): disable code to clear the selection.
7443
7444         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7445         inside an InsetText and move the check further up as it is in the
7446         wrong place.
7447
7448         * text2.C (pasteSelection): set a selection over the pasted text.
7449
7450 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7451
7452         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7453         and libgraphics to build on Cygwin.
7454
7455 2002-03-15  Juergen Vigna  <jug@sad.it>
7456
7457         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7458         inserting an Inset into the paragraph. I know this is not the best
7459         fix but we already use current_view in CutAndPaste so we will remove
7460         all of it's using at the same time.
7461
7462         * buffer.C (sgmlError): deactivated function till it is rewritten in
7463         the right mode, now it can create problems.
7464
7465         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7466         before accessing it.
7467
7468 2002-03-14  Juergen Vigna  <jug@sad.it>
7469
7470         * undo_funcs.C (textHandleUndo): do the right thing when updating
7471         the inset after the undo/redo.
7472
7473         * text2.C (setCursor): just some testcode for #44 not ready yet.
7474
7475         * undo_funcs.C (textHandleUndo): set the next() and previous()
7476         pointers of the paragraph to 0 before deleting otherwise we have
7477         problems with the Paragraph::[destructor].
7478
7479         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7480         on a paragraph insertion.
7481
7482 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7483
7484         * buffer.C (asciiParagraph): use += operator for char append to
7485         string.
7486
7487         * paragraph.C (getFontSettings): compare >= not just >
7488         (highestFontInRange): ditto
7489         (setFont): ditto
7490
7491 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7492
7493         * paragraph.C: change several algorithm to be more appripriate for
7494         the problem domain. This is lookip in FontList and in the InsetList.
7495
7496 2002-03-13  André Pönitz <poenitz@gmx.net>
7497
7498         * commandtags.h:
7499         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7500
7501 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7502
7503         * commandtags.h:
7504         * LyXAction.C:
7505         * lyxfunc.C:
7506         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7507
7508 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7509
7510         * Painter.C (display): anon helper function, adjust code for this
7511         change.
7512         (pixmap): remove function.
7513
7514         * Painter.h: remove private display variable.
7515
7516         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7517
7518 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7519
7520         * WorkArea.[Ch]: remove figinset_canvas cruft.
7521
7522 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7523
7524         * lyxtextclass.C (operator): add one item cache optimization.
7525
7526         * bufferlist.h: doxy changes
7527
7528         * bufferlist.C: ws changes
7529
7530         * DepTable.[Ch] (ext_exist): place const in the right spot.
7531
7532         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7533         call resizeInsets.
7534         (workAreaExpose): call resizeInsets when the with BufferView changes.
7535         (Dispatch): adjust for protectedBlank removal
7536         (specialChar): call updateInset if the insert went ok.
7537
7538         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7539         specialChar instead.
7540
7541         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7542
7543         * BufferView.h: doxy change
7544
7545         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7546
7547         * lyxtextclass.C (operator[]): remove non-const version
7548         (defaultLayout): remove non-const version
7549
7550 2002-03-12  Juergen Vigna  <jug@sad.it>
7551
7552         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7553         did resize the LyXText too.
7554
7555         * buffer.C (readLyXformat2): set layout information on newly allocated
7556         paragraphs.
7557
7558         * tabular.C (OldFormatRead): set layout information on the paragraph.
7559
7560 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7561
7562         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7563
7564 2002-03-11  Juergen Vigna  <jug@sad.it>
7565
7566         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7567         plainly wrong.
7568         (resizeCurrentBuffer): force also the insets to resize themselfes.
7569         (moveCursorUpdate): fixed up for InsetText.
7570
7571 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7572
7573         * commandtags.h:
7574         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7575         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7576         value of Dialogs::tooltipsEnabled().
7577         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7578
7579 2002-03-08  Juergen Vigna  <jug@sad.it>
7580
7581         * BufferView_pimpl.C (updateInset): update inset inside inset also
7582         if it isn't inside theLockingInset().
7583
7584 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7585
7586         * buffer.C (asciiParagraph): redo some of the word and line length
7587         handling.
7588         (getLists): look for Caption instead of caption.
7589
7590 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7591
7592         * buffer.C (Buffer): initialize niceFile to true
7593         (makeLaTeXFile):
7594         (makeLinuxDocFile):
7595         (makeDocBookFile): make sure niceFile is true on exit
7596
7597 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7598
7599         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7600
7601 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7602
7603         * LyXSendto.C: remove.
7604         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7605         * lyx_gui.C: remove now-redundant comment.
7606         * ColorHandler.h: remove forward declaration of class WorkArea.
7607         * lyxfunc.C: remove #include "WorkArea.h".
7608
7609 2002-03-07  Juergen Vigna  <jug@sad.it>
7610
7611         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7612         got moved away with the DEPM and also set the inset_owner always
7613         right which before could have been omitted.
7614
7615 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7616
7617         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7618         wanted layout is not found.
7619
7620 2002-03-07  Juergen Vigna  <jug@sad.it>
7621
7622         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7623
7624 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7625
7626         * paragraph.C (breakParagraph): use default layout not layout of
7627         prev paragraph.
7628         (Paragraph): clear ParagraphParameters.
7629
7630 2002-03-06  Juergen Vigna  <jug@sad.it>
7631
7632         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7633         otherwise it would not be a valid lenght. Fixed a special case in
7634         the minipage compatibility read where we end the document with a
7635         minipage.
7636
7637         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7638         was set as it could be 0 for InsetTexts first entry.
7639
7640 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7641
7642         * paragraph.C (writeFile): if layout is empty write out
7643         defaultLayoutName().
7644
7645         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7646         file without named layout we set layout to defaultLayoutName().
7647
7648 2002-03-06  Juergen Vigna  <jug@sad.it>
7649
7650         * CutAndPaste.C (copySelection): set layout for new paragraph.
7651
7652         * text.C (prepareToPrint): leave ERT inset left aligned
7653         (leftMargin): don't indent paragraphs inside ERT insets
7654
7655 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7656
7657         * paragraph.C (breakParagraph): dont call clear do the work manually
7658
7659         * paragraph.[Ch] (clear): remove function
7660
7661 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7662
7663         * paragraph.C (Paragraph): dont call clear, the work has already
7664         been done.
7665
7666         * lyxtextclass.C (operator): assert if n is empty
7667
7668         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7669         work manually instead.
7670
7671 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7672
7673         * BufferView_pimpl.C: protect selectionLost against text == 0
7674
7675 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7676
7677         * text.C (breakParagraph): fix a setting layout to '0' problem.
7678
7679 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7680
7681         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7682         final location of file, for the included files, and graphics.
7683
7684 2002-03-05  Juergen Vigna  <jug@sad.it>
7685
7686         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7687
7688 2002-03-04  Juergen Vigna  <jug@sad.it>
7689
7690         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7691
7692         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7693         last column of multicolumn cells.
7694         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7695
7696 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7697
7698         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7699         file if it doesn't go to a temporary file.
7700
7701         * buffer.C (sgmlOpenTag):
7702         (sgmlCloseTag):  remove extra newline insertion.
7703
7704 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7705
7706         * text.C (getRowNearY): comment out debug msg
7707
7708 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7709
7710         * text2.C: first -> first_y
7711
7712         * text.C (getRowNearY): add some attemts at a possible
7713         optimization, not working.
7714
7715         * tabular.[Ch]: add BufferParams to several function so that newly
7716         created paragraph can be initialized to he default layotu for the
7717         buffers textclass.
7718
7719         * tabular-old.C (ReadOld): add buf->params to call of Init
7720
7721         * screen.C: rename text->first to text->first_y
7722
7723         * paragraph.C (breakParagraph): always set layout in the broken
7724         paragraph
7725
7726         * lyxtextclass.C (Read): remove lowercase
7727         (hasLayout): ditto
7728         (operator): ditto
7729         (delete_layout): ditto
7730
7731         * lyxtext.h: rename first -> first_y
7732
7733         * lyxlayout.C (Read): remove lowercase
7734         (name): ditto
7735         (setName): ditto
7736         (obsoleted_by): ditto
7737
7738         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7739
7740         * buffer.C (insertErtContents): add params are to InsetERT
7741         (parseSingleLyXformat2Token): add code to check if a paragraphs
7742         layout really exist.
7743         (parseSingleLyXformat2Token): add params to several inset
7744         constructors
7745         (asciiParagraph): remove lowercase, do the layout comparisons with
7746         no_case
7747
7748         * BufferView_pimpl.C (cursorNext): first -> first_y
7749         (resizeCurrentBuffer): first -> first_y
7750         (updateScrollbar): first -> first_y
7751         (scrollCB): first -> first_y
7752         (workAreaMotionNotify): first -> first_y
7753         (workAreaButtonPress): first -> first_y
7754         (checkInsetHit): first -> first_y
7755         (cursorPrevious): first -> first_y
7756         (cursorNext): first -> first_y
7757         (Dispatch): add buffer_->params to severl inset contructors
7758
7759 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7760
7761         * lyxlayout.C (Read): remove some debug info that I forgot.
7762
7763         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7764         clean up the code slightly.
7765         (makeLinuxDocFile): ditto
7766         (makeDocBookFile): ditto
7767
7768         * text2.C: layout as string
7769
7770         * text.C: layout as string
7771
7772         * paragraph_pimpl.C: layout as string
7773
7774         * paragraph.[Ch]: layout as string
7775
7776         * lyxtextclasslist.[Ch]: layout as string
7777
7778         * lyxtextclass.[Ch]: layout as string
7779
7780         * lyxtext.h: layout as string
7781
7782         * lyxlayout.[Ch]: layout as string
7783
7784         * lyx_cb.C: layout as string
7785
7786         * bufferview_funcs.C: layout as string
7787
7788         * bufferparams.C: layout as string
7789
7790         * buffer.C: layout as string
7791
7792         * LyXView.[Ch]: layout as string
7793
7794         * LaTeXFeatures.[Ch]: layout as string
7795
7796         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7797
7798         * BufferView_pimpl.C: change current_layout to string, remove
7799         lyx::layout_type.
7800         (Dispatch):
7801         (smartQuote):
7802         (insertInset):
7803         (workAreaButtonRelease): layout as string
7804
7805         * BufferView2.C (unlockInset): adjust
7806
7807         * vspace.C (asLatexCommand): use an explict temp variable.
7808
7809 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7810
7811         * Makefile.am: use FRONTEND_*
7812
7813 2002-03-01  Juergen Vigna  <jug@sad.it>
7814
7815         * tabular.C (SetWidthOfMulticolCell): changed to something better
7816         I hope but still work in progress.
7817         (recalculateMulticolumnsOfColumn): renamed function from
7818         recalculateMulticolCells as it is more appropriate now.
7819         (SetWidthOfCell): calculate multicols better.
7820
7821 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7822
7823         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7824
7825         * lyxfunc.C (processKeySym): print sequence also if it is
7826         `deleted' (complete)
7827
7828         * kbsequence.C (print): print sequence even if it is deleted
7829         (complete would be a better word, actually).
7830
7831         * lyxfunc.C (dispatch): print complete options after a prefix key
7832
7833         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7834
7835 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7836
7837         * text2.C (setCharFont): eliminate setCharFont code duplication.
7838
7839 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7840
7841         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7842         LFUN_TABULAR_FEATURE (bug #177)
7843
7844 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7845
7846         * Makefile.am: remove figure.h
7847
7848 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7849
7850         * Bufferview_pimpl.C:
7851         * CutAndPasteC:
7852         * LaTeX.C:
7853         * LyXSendto.C:
7854         * buffer.C:
7855         * bufferlist.C:
7856         * converter.C:
7857         * language.C:
7858         * lyxfunc.C:
7859         * lyxvc.C:
7860         * paragraph.C:
7861         * text.C:
7862         * text2.C: remove #include "lyx_gui_misc.h".
7863
7864         * LaTeX.C: added #include <cstdio>
7865
7866 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7867
7868         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7869         that the paragraph following this one can have.
7870
7871         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7872
7873         * vspace.C (asLatexCommand): fix bogus gcc warning
7874
7875         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7876
7877 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7878
7879         * text2.C (setLayout): get rid of redundant code
7880
7881 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7882
7883         * text2.C (incDepth): make sure depth cannot be increased beyond
7884         reasonable values.
7885
7886 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7887
7888         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7889         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7890
7891         * PainterBase.h (image):
7892         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7893         a LyXImage const *.
7894
7895 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7896
7897         * BufferView.C:
7898         * BufferView.h:
7899         * BufferView_pimpl.C:
7900         * BufferView_pimpl.h:
7901         * LaTeXFeatures.C:
7902         * LyXAction.C:
7903         * LyXView.C:
7904         * Makefile.am:
7905         * UpdateList.h:
7906         * UpdateList.C:
7907         * buffer.C:
7908         * figure.h:
7909         * figureForm.C:
7910         * figureForm.h:
7911         * figure_form.C:
7912         * figure_form.h:
7913         * lyx_cb.C:
7914         * lyx_gui.C:
7915         * lyx_gui_misc.C:
7916         * lyxfunc.C:
7917         * sp_base.h:
7918         * sp_ispell.h:
7919         * sp_pspell.h:
7920         * sp_spell.C: remove fig inset, and the crap house of
7921           cards that follows it
7922
7923 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7924
7925         * Makefile.am:
7926         * lyxserver.C:
7927         * os2_defines.h:
7928         * os2_errortable.h:
7929         * nt_defines.h: move .h into support/
7930
7931         * vms_defines.h: remove
7932
7933         * WorkArea.C: add space in debug output
7934
7935         * text2.C:
7936         * paragraph.C:
7937         * buffer.C: add WITH_WARNINGS
7938
7939         * vc-backend.h:
7940         * vc-backend.C:
7941         * bufferlist.C: s/retrive/retrieve/, add docs
7942
7943         * vspace.h:
7944         * vspace.C:
7945         * kbmap.h:
7946         * lyxlength.h:
7947         * lyxgluelength.h:
7948         * length_common.h:
7949         * chset.h:
7950         * chset.C: add docs
7951
7952         * lyxgui.C: add ID to X error handler
7953
7954         * lyxtestclass.c: fix typo
7955
7956 2002-02-26  Juergen Vigna  <jug@sad.it>
7957
7958         * tabular_funcs.C (write_attribute): changed so that some default
7959         attributes are not written at all.
7960         (getTokenValue): set default values before trying to read the
7961         value so we have the return value always set as default if we don't
7962         find the token we search for.
7963
7964         * tabular.C (Write): write bools as bools not as strings!
7965
7966 2002-02-22  Juergen Vigna  <jug@sad.it>
7967
7968         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7969         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7970
7971         * text.C (leftMargin): don't add an indent for paragraphs inside
7972         tabular cells (fix #208).
7973
7974 2002-02-21  José Matos  <jamatos@fep.up.pt>
7975
7976         * tabular.C (docBook): fixed support for long tables.
7977
7978 2002-02-20  Juergen Vigna  <jug@sad.it>
7979
7980         * text2.C (getFont): get the drawing font of the Inset if this
7981         paragraph is inside an inset (only important for InsetERT for now).
7982
7983         * buffer.C (insertErtContents): use new lanugage params in ERT
7984         constructor.
7985
7986         * CutAndPaste.C: commenting out seemingly uneeded code.
7987
7988 2002-02-19  Allan Rae  <rae@lyx.org>
7989
7990         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7991         Iterators might be simple to use but they also get invalidated.
7992         (removeAutoInsets): renamed saved cursor tracking variables and added
7993         some comments to clarify what everything does.
7994
7995 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
7996
7997         * Chktex.C:
7998         * LaTeX.C:
7999         * LyXSendto.C:
8000         * converter.C:
8001         * lyx_cb.C:
8002         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8003         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8004
8005         * lyxfunc.C:
8006         * vc-backend.h: remove #include "support/syscall.h"
8007
8008         * LaTeX.C:
8009         * LyXSendto.C:
8010         * converter.C: rearrange #includes in Lars' approved fashion.
8011
8012         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8013         forward declare class Timeout in the header file.
8014
8015         * XFormsView.C: changes due to the above.
8016
8017         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8018         similar to LyXView.
8019
8020         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8021         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8022
8023 2002-02-18  José Matos  <jamatos@fep.up.pt>
8024
8025         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8026         insets contents.
8027
8028 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8029
8030         * a lot of small ws changes
8031         * add a lot of using std::XXX
8032         * use std construcs some places where approp.
8033         * use some exisint stuff from lyxfunctional where approp.
8034         * Make file changes to use partial linking (lets test this now...)
8035
8036 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8037
8038         * Chktex.C:
8039         * buffer.C:
8040         remove #include "support/syscontr.h" as it's redundant. Always has been.
8041
8042         * Chktex.C:
8043         * LaTeX.C:
8044         * LyXSendto.C:
8045         * converter.C:
8046         * lyx_cb.C:
8047         * vc-backend.C:
8048         change Systemcalls::System to Systemcalls::Wait and
8049         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8050         No change of functionality, just reflects the stripped down Systemcalls
8051         class.
8052
8053 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8054
8055         * debug.[Ch]: add a GRAPHICS type to the enum.
8056
8057 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8058
8059         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8060
8061         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8062         there is an inset.
8063
8064 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8065
8066         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8067         match the changes below.
8068
8069         * text2.C (toggleInset): if there is not editable inset at cursor
8070         position, try to see if cursor is _inside_ a collapsable inset
8071         and close it.
8072
8073 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8074
8075         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8076         document menu has a nice checkbox
8077
8078 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8079
8080         * lyxlength.C (asLatexString): change PW to output as percent of
8081         \textwidth.
8082
8083         * lengthcommon.C: change '%' to 't%'
8084
8085         * lyxfunc.C (dispatch): a few comments from Martin
8086
8087 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8088
8089         * WorkArea.h:
8090         * WorkArea.C:
8091         * BufferView_pimpl.h:
8092         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8093           the X selection.
8094
8095 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8096
8097         * vspace.C (inPixels): fix compiler warning
8098
8099 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8100
8101         * lyxfunc.C (getStatus): fix status message for disabled commands.
8102
8103 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8104
8105         * BufferView_pimpl.C: fix crash on close buffer
8106         during selection (#227)
8107
8108 2002-01-27  Herbert Voss  <voss@lyx.org>
8109
8110         * buffer.C: link old Figure to new graphic inset
8111
8112 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8113
8114         * FontLoader.C (getFontinfo): Change the latex font names in order
8115         to match the names of type1inst.
8116
8117 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8118
8119         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8120
8121         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8122         (extchanged): ditto
8123         (ext_exist): ditto
8124         (remove_files_with_extension): ditto
8125         (remove_file): ditto
8126         (write): ditto
8127
8128         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8129         document is smaller than the work area height. Do not initialize
8130         static variables to 0.
8131
8132 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8133
8134         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8135
8136         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8137         LFUN_LAYOUT_PARAGRAPHS.
8138
8139         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8140         tabular. It is possible to provide a possible cell, which will
8141         typically be the actcell from the corresponding insettabular
8142
8143         * lyxfunc.C (getStatus): small cleanup; disable
8144         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8145         true
8146
8147 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8148
8149         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8150
8151         * paragraph.C (startTeXParParams):
8152         (endTeXParParams): new methods. The LaTeX code to
8153         start/end paragraph formatting
8154         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8155         empty (fixes bug #200)
8156
8157         * vspace.C (inPixels): adapt to the change below
8158         (inPixels): [later] more cleanups (remove unused variables)
8159
8160         * lyxlength.C (inPixels): change to use a width and a height as
8161         parameter.
8162
8163 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8164
8165         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8166         Replaced with \paperwidth
8167
8168         * DepTable.C (insert): add std:: qualifier
8169
8170 2002-01-18  Allan Rae  <rae@lyx.org>
8171
8172         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8173         updated also?
8174
8175         * text.C (drawInset): Turned out I didn't know enough about how
8176         rebreaking worked.  This fixes most of the redraw problems.  I see
8177         an occasional cursor trail when a line is broken now and the cursor
8178         placement can seem out by a few pixels also after a rebreak.
8179
8180 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8181
8182         * buffer.C (parseSingleLyXformat2Token): update because minipage
8183         width is now a LyXLength
8184
8185         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8186
8187         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8188         math insets
8189
8190 2002-01-17  Juergen Vigna  <jug@sad.it>
8191
8192         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8193
8194         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8195         is set correctly and the inset is updated correctly.
8196
8197 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8198
8199         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8200         the beginning of the loop.
8201
8202 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8203
8204         * lyxrc.C: improve help for use_scalable_fonts
8205
8206 2002-01-17  Allan Rae  <rae@lyx.org>
8207
8208         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8209
8210 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8211
8212         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8213         make sure to set their inset_owner to the right value (bug #171)
8214
8215 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8216
8217         * DepTable.h
8218         * DepTable.C: Implement mtime checking to reduce time spent doing
8219         CRCs.
8220
8221 2002-01-16  Juergen Vigna  <jug@sad.it>
8222
8223         * tabular.C (GetAdditionalHeight): one of error fixed.
8224
8225         * lyxrc.C (output): small fix in writing use_pspell.
8226
8227 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8228
8229         * sp_base.h: #include LString.h
8230
8231 2002-01-16  Allan Rae  <rae@lyx.org>
8232
8233         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8234         Can someone check this please?
8235
8236         * text.C (drawInset): It was possible that p.row would be removed by
8237         breakAgainOneRow upsetting a few other settings.  There may be another
8238         small tweak possible by setting need_break_row = 0 when p.row has been
8239         removed but I don't know enough about the logic here.
8240
8241 2002-01-15  Allan Rae  <rae@lyx.org>
8242
8243         * text.C (insertChar): removed conditional truism.
8244
8245         * BufferView2.C (removeAutoInsets): More tweaks.
8246         cur_par_prev could be a stray pointer.  Check for trailing empty line
8247         in case last line was cur_par and only had an error inset on it.
8248
8249 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8250
8251         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8252         absolute
8253
8254         * vc-backend.C (most methods):
8255         * exporter.C (Export):
8256         * converter.C (convert):
8257         (runLaTeX):
8258         * LyXSendto.C (SendtoApplyCB):
8259         * lyxfunc.C (dispatch):
8260         (menuNew):
8261         (open):
8262         (doImport):
8263         * lyx_cb.C (AutoSave):
8264         (InsertAsciiFile):
8265         * BufferView_pimpl.C (MenuInsertLyXFile):
8266         * buffer.C (runChktex): use Buffer::filePath().
8267
8268         * buffer.h: rename filename to filename_; rename filepath to
8269         filepath_ and make it private
8270         (filePath): new method
8271
8272         * buffer.C (writeFile): use fileName()
8273         (getLatexName):
8274
8275         * lyx_main.C (init): fix starting  of LyX when the binary is a
8276         link from so,ewhere else.
8277
8278         * minibuffer.C: include <cctype> for isprint
8279
8280 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8281
8282         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8283         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8284         name clash with InsetCollapsable's width function.
8285
8286 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8287
8288         * lastfiles.C: include <iterator>
8289
8290 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8291
8292         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8293         std::count.
8294
8295         * buffer.C (makeLaTeXFile): ditto.
8296         Also make loop operation more transparent.
8297
8298 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8299
8300         * ToolbarDefaults.C: remove trailing comma closing namespace.
8301
8302         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8303
8304         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8305         as in WorkArea.
8306
8307         * trans.C (Load): comment out unused variable, allowed.
8308
8309 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8310
8311         * minibuffer.[Ch] (append_char): new method to recieve input from the
8312         drop-down completion browser. If a key was pressed, then recieve this
8313         char and append it to the existing string.
8314         (peek_event): modify the positioning data passed to the completion
8315         browser so that it can be placed above the minibuffer rather than below.
8316 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8317
8318         * LyXAction.C (init): alloe error-next for readonly documents.
8319
8320         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8321         count.
8322
8323 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8324
8325         * bufferlist.C (readFile): create the buffer _after_ checking that
8326         the file exists.
8327
8328         * lyxfunc.C (verboseDispatch): fix handling of arguments
8329
8330         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8331
8332         * lyxrc.C: use string::erase() instead of initializing to "".
8333
8334
8335 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8336
8337         * BufferView_pimpl.h:
8338         * BufferView_pimpl.C:
8339         * WorkArea.h:
8340         * WorkArea.C:
8341         * text2.C: tell X when we have made a selection for copying
8342
8343 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8344
8345         * BufferView_pimpl.C (MenuInsertLyXFile):
8346         * lyxfunc.C (menuNew):
8347         (open):
8348         (doImport): add shortcuts to directory buttons
8349
8350         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8351         open a float)
8352
8353         * lyxfunc.C (setStatusMessage):
8354         (getStatusMessage): new methods
8355         (getStatus):use setStatusMessage instead of setErrorMessage
8356         (dispatch): when function is disabled, set error message here
8357         [instead of in getStatus previously]
8358
8359         * BufferView_pimpl.C (workAreaButtonRelease): update
8360         toolbar/menubar here too.
8361
8362 2002-01-13  Allan Rae  <rae@lyx.org>
8363
8364         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8365         Now seems indestructible.  Remaining task is to audit all other
8366         code affected by deleteEmptyParagraphMechanism.  One small quirk
8367         left is that an empty document with an error in the preamble can
8368         be made to report an error but no error box appears.  I don't know
8369         where it goes.
8370         (removeAutoInsets): Improved comments.
8371
8372 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8373
8374         * Thesaurus.h:
8375         * Thesaurus.C: update for Aiksaurus 0.14
8376
8377 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8378
8379         * text2.C (firstParagraph): removed member function, all uses
8380         replaces with ownerParagraph
8381         (redoParagraphs): here
8382         (updateInset): here
8383         (toggleAppendix): here
8384         * BufferView2.C (insertErrors): here
8385         (setCursorFromRow): here
8386
8387 2002-01-13  Allan Rae  <rae@lyx.org>
8388
8389         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8390         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8391         There is still a way to segfault this although you may have to do this
8392         multiple times: Have an InsetERT with an unknown command in it.
8393         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8394         <down-arrow>, <Enter> again, View->DVI, BANG!
8395
8396         * text2.C (setCursor):
8397         (deleteEmptyParagraphMechanism):
8398         * lyxtext.h (setCursor):
8399         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8400         Making use of the return value may help fix other bugs.
8401
8402 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8403
8404         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8405
8406         * LyXView.C (updateMenubar): call MenuBar::update here
8407         (updateToolbar): but not here
8408         (showState): do not update toolbar/menubar
8409
8410         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8411         should need to care about that.
8412
8413         * lyxfunc.C (verboseDispatch): simplify a bit
8414         (getStatus): have a version which takes a pseudoaction, and
8415         another which requires a (kb_action,string).
8416
8417         * LyXAction.C (retrieveActionArg): make it work also when action
8418         is not a pseudo-action.
8419         (getActionName): simplify a bit
8420         (helpText):
8421
8422 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8423
8424         * lyxfunc.C (verboseDispatch): new families of methods with
8425         several ways to specify a command and a bool to indicate whether
8426         the command name and shortcut should be displayed in minibuffer
8427         (eventually, we could extend that to a finer bitmask like
8428         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8429         (dispatch): the pristine dispatch command which just, well,
8430         dispatchs! Note it still sets its result to minibuffer; I'm not
8431         sure we want that.
8432
8433         * lyxfunc.h: remove setHintMessage
8434
8435         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8436
8437 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8438
8439         * BufferView_pimpl.C (specialChar): delete new inset if we have
8440         not been able to insert it.
8441
8442         * kbmap.C: revert to using int instead of kb_action, since all we
8443         are dealing with is pseudo-actions.
8444
8445         * LyXAction.C (searchActionArg): change to return int instead of
8446         kb_action, since the result is a pseudoaction.
8447
8448 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8449
8450         * buffer.C (insertErtContents): Fix (partially) the font bug.
8451
8452 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8453
8454         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8455         as the other one is broken on my machine!
8456
8457 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8458
8459         * commandtags.h:
8460         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8461
8462 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8463
8464         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8465         reflect their actual use. Provide compatibility code for older lyxrc
8466         files.
8467
8468         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8469         FL_NORMAL_STYLE.
8470         change names of popup font variables in line with the changes to lyxrc.C
8471
8472 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8473
8474         * buffer.C (asciiParagraph): avoid outputing a word twice after
8475         an inset.
8476
8477         * lyxrc.C (getDescription): document that document_path and
8478         template_path can be empty.
8479
8480 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8481
8482         * LaTeXFeatures.C (getMacros):
8483         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8484
8485         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8486
8487         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8488         getPackages.
8489         (getPackages): rename feature "floats" to "float". Use an array to
8490         iterate over 'simple' features (i.e. just a \usepackage). Add
8491         handling of "amsmath" (renamed from "amsstyle").
8492
8493 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8494
8495         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8496         features list.
8497
8498 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8499
8500         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8501         FuncStaus::FuncStatus & FuncStaus::some_method().
8502
8503 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8504
8505         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8506         of the func_satus stuff. Edited and massaged in various ways by
8507         JMarc.
8508
8509         * lyxfunc.C (getStatus): use FuncStatus
8510
8511 2002-01-08  Juergen Vigna  <jug@sad.it>
8512
8513         * text.C (nextBreakPoint): use function Inset::isChar().
8514
8515         * paragraph.C (TeXOnePar): use function
8516         Inset::forceDefaultParagraphs.
8517
8518         * buffer.C (latexParagraphs): use function
8519         Inset::forceDefaultParagraphs.
8520
8521 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8522
8523         * lyx_gui.C (init): set the style of the menu popups to
8524         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8525
8526 2002-01-07  Juergen Vigna  <jug@sad.it>
8527
8528         * text.C (setHeightOfRow): small fix
8529         (prepareToPrint): don't look at alignment if we don't have the place
8530         for doing it.
8531
8532 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8533
8534         * box.C: New file. Move the Box methods and functions out of box.h,
8535         following Lars' suggestion.
8536
8537 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8538
8539         * box.h: #include "support/LOstream.h", needed for inlined function.
8540
8541         * lyxtextclass.C:
8542         * lyxtextclasslist.C: added some using std declarations.
8543
8544 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8545
8546         * box.h: make signed dimensions to allow insets wider than
8547           the screen (bug #162)
8548
8549         * BufferView_pimpl.C: add some insetHit debug
8550
8551 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8552
8553         * vc-backend.C: add FIXME
8554
8555 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8556
8557         * lyxfunc.C (getStatus): enable code for showing math font status
8558         in toolbar/menu.
8559
8560 2002-01-07  Juergen Vigna  <jug@sad.it>
8561
8562         * text.C (nextBreakPoint): removed debug output not needed anymore.
8563
8564 2002-01-06  Juergen Vigna  <jug@sad.it>
8565
8566         * text.C (nextBreakPoint): fixed up this function we had this bug
8567         since ever but now hopefully we break row better.
8568         (insertChar): we have to check if an inset is the next char as it
8569         could now happen that a large inset is causing a break.
8570
8571 2002-01-05  Juergen Vigna  <jug@sad.it>
8572
8573         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8574         if it doesn't like to be drawed.
8575
8576 2002-01-04  Juergen Vigna  <jug@sad.it>
8577
8578         * BufferView2.C (lockInset): forgot to set a cursor.
8579
8580         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8581
8582 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8583
8584         * FormMathsPanel.C:
8585         * FormMathsPanel.h
8586         * MathsSymbols.C:
8587         * form_maths_panel.C:
8588         * form_maths_panel.h:
8589         * form_maths_panel.fd: implemented sub- and super- buttons in math
8590         panel.
8591
8592         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8593         (or ^ space) to be used as in TeX (req'd by André).
8594
8595         * lyxfunc.C: Allow ^ and _ again to be used both as
8596         super/subscript (mathed) and as themselves (in text).
8597
8598 2002-01-03  Allan Rae  <rae@lyx.org>
8599
8600         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8601         "LyX" or the filename of the current buffer if it has one.  This is a
8602         modified form of John Levon's patch.
8603
8604         * XFormsView.C (setWindowTitle): also set icon title.
8605
8606         * LyXView.h (setWindowTitle): signature changed.
8607         * XFormsView.h (setWindowTitle): ditto.
8608
8609 2002-01-02  Juergen Vigna  <jug@sad.it>
8610
8611         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8612
8613 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8614
8615         * screen.C (topCursorVisible): introduce a temp var for
8616         text->cursor.row(), handle the case where this row is null. (kindo
8617         hachish)
8618
8619         * text2.C (setCursor): add a couple of asserts.
8620
8621         * paragraph.h (inset_iterator): add -> operator
8622
8623         * paragraph.[Ch] (autoDeleteInsets): remove member function
8624
8625         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8626         cursor pos correctly and handle inset deletion by itself.
8627         (insertErrors): move iterator declaration out of for expression
8628
8629         * lyxtextclass.C: add <algorithm>
8630
8631         * Makefile.am: added the new files to sources, removed layout.C
8632
8633         * layout.C: removed file
8634
8635         * layout.h: remove LYX_DUMMY_LAYOUT
8636
8637         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8638         layout.
8639
8640         * lyxlayout.[Ch]:
8641         * lyxtextclass.[Ch]:
8642         * lyxtextclasslist.[Ch]: new files
8643
8644         * include order changes to a lot of files, also changes because of
8645         the six new files.
8646
8647 2001-12-27  Juergen Vigna  <jug@sad.it>
8648
8649         * buffer.C (asciiParagraph): more fixes.
8650
8651         * tabular.C (ascii): make ascii export support export of only the
8652         data separated by a column-delimiter.
8653         (ascii): better support for ascii export.
8654
8655         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8656
8657 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8658
8659         * tabular_funcs.C: use a "using std::getline" instead of the
8660         previous fix from Angus (necessary for cxx + lyxstring)
8661
8662 2001-12-24  Juergen Vigna  <jug@sad.it>
8663
8664         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8665
8666         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8667         problems. First check a minipage also if we have some ert-contents
8668         (not only on par->size(), second set the right depth of the paragraph
8669         on the relink to the root-paragraph-list!
8670
8671         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8672         which then did not anymore update the main paragraphs on undo/redo!
8673
8674 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8675
8676         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8677         code. Support all font-changing funcs (even those which are not in
8678         menu currently). Support for reporting font settings in
8679         mathed (disabled until Andre provides a function on mathed's side).
8680
8681         * func_status.h (toggle): small helper function to set toggle
8682         state on a flag.
8683
8684 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8685
8686         * tabular_funcs.C: getline -> std::getline
8687
8688 2001-12-21  Juergen Vigna  <jug@sad.it>
8689
8690         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8691         accessed and could be 0 (I couldn't generate this but it seems
8692         Michael could!).
8693
8694 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8695
8696         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8697         * tabular_funcs.h: here and include iosfwd
8698
8699 2001-12-20  Juergen Vigna  <jug@sad.it>
8700
8701         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8702         inside inset but undo_par was.
8703
8704 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8705
8706         * Thesaurus.C: always include <config.h> in sources.
8707
8708         * Painter.h:
8709         * lyxlookup.h:
8710         * box.h: do not include <config.h> in header files
8711
8712         * text.C (paintLastRow): remove unused variable
8713
8714         * text.C (transformChar):
8715         (insertChar):
8716         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8717
8718         * Painter.C (text):
8719         * font.C (width): rewrite to use uppercase() instead of
8720         islower/toupper.
8721
8722         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8723
8724 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8725
8726         * lyxfind.C: clean up of find failure position change
8727
8728 2001-12-20  Juergen Vigna  <jug@sad.it>
8729
8730         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8731
8732         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8733         (TeXRow): added to LaTeX a single tabular row.
8734         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8735         (Latex): simplified and finally good LT-h/f support.
8736         (various_functions): just small adaptions for LT-h/f support.
8737
8738         * tabular_funcs.[hC]: added and moved here all not classfunctions
8739         of LyXTabular.
8740
8741 2001-12-19  Juergen Vigna  <jug@sad.it>
8742
8743         * tabular.[Ch]: better support for longtabular options (not finished
8744         yet!)
8745
8746 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8747
8748         * text.C (paintLastRow): use the label font instead of the font of
8749         the last character to compute the size of *_BOX. This makes more
8750         sense and avoids a crash with empty paragraphs.
8751         Use Painter::rectangle to draw EMPTY_BOX.
8752
8753 2001-12-19  Juergen Vigna  <jug@sad.it>
8754
8755         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8756         the paragraphs if the replaced paragraph is not the first one!
8757         Tried to delete not used paragraphs but does not work yet so for
8758         now it's inside #ifdef's and by default off!
8759
8760 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8761
8762         * MenuBackend.C: include "lyx_main.h" instead of declaring
8763         lastfiles (actually was declared as LastFiles* instead of a
8764         scoped_ptr).
8765
8766 2001-12-17  Juergen Vigna  <jug@sad.it>
8767
8768         * tabular.C (AppendColumn): applied John's fix
8769
8770 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8771
8772         * BufferView.h:
8773         * BufferView.C:
8774         * BufferView_pimpl.h:
8775         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8776
8777         * Makefile.am:
8778         * box.h: new start of class for above
8779
8780         * lyxfunc.C: ignore space-only minibuffer dispatches.
8781           Show the command name when it doesn't exist
8782
8783         * minibuffer.C: don't add empty lines to the history
8784
8785         * minibuffer.C: add a space on dropdown completion
8786
8787 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8788
8789         * text.C: fix line above/below drawing in insets
8790
8791 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8792
8793         * lyxlength.C (LyXLength): Initialize private variables.
8794
8795 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8796
8797         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8798         when inserting error insets.
8799
8800 2001-12-13  Juergen Vigna  <jug@sad.it>
8801
8802         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8803         actually sometimes the before-paragraph.
8804         (setUndo): don't clear the redostack if we're not actually undoing!
8805
8806 2001-12-06  Juergen Vigna  <jug@sad.it>
8807
8808         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8809         and fixed redoing of main paragraph, so we can use it now ;)
8810
8811         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8812
8813 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8814
8815         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8816         Juergen's request
8817
8818 2001-12-13  André Pönitz <poenitz@gmx.net>
8819
8820         * undostack.[Ch]:
8821         * undo_func.C: minor cleanup
8822
8823 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8824
8825         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8826         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8827         font in urw-fonts package which is marked as -urw-fontspecific and
8828         does not work (incidentally, changing the encoding in the
8829         fonts.dir of this package to -adobe-fontspecific fixes the
8830         problem).
8831
8832         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8833         is a crash when undoing first paragraph (Juergen, please take a
8834         look). THis does not mean the undo fix is wrong, just that it
8835         uncovers problems.
8836
8837         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8838         the (Paragraph*) version when needed instead of duplicating the
8839         code.
8840
8841         * text.C (workWidth): use Inset::parOwner to find out where the
8842         inset has been inserted. This is a huge performance gain for large
8843         documents with lots of insets. If Inset::parOwner is not set, fall
8844         back on the brute force method
8845
8846         * paragraph_pimpl.C (insertInset):
8847         * paragraph.C (Paragraph):
8848         (cutIntoMinibuffer): set parOwner of insets when
8849         inserting/removing them
8850
8851         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8852
8853 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8854
8855         * commandtags.h:
8856         * LyXAction.C:
8857         * lyx_main.C:
8858         * lyxfunc.C:
8859         * mathed/formulabase.C:
8860         * mathed/math_cursor.[Ch]:
8861         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8862
8863
8864 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8865
8866         * lyxlength.[Ch] (operator!=): new function
8867
8868 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8869
8870         * text.C (workWidth): use Inset::parOwner to find out where the
8871         inset has been inserted. This is a huge performance gain for large
8872         documents with lots of insets. If Inset::parOwner is not set, fall
8873         back on the brute force method
8874
8875         * paragraph_pimpl.C (insertInset):
8876         * paragraph.C (Paragraph):
8877         (cutIntoMinibuffer): set parOwner of insets when
8878         inserting/removing them
8879
8880         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8881
8882 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8883
8884         * tabular-old.C (getTokenValue):
8885         * tabular.C (getTokenValue):
8886         (write_attribute): new versions for LyXLength
8887         (everywhere): adjust the use of widths
8888
8889         * tabular.h: change the type of widths from string to LyXLength
8890
8891 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8892
8893         * paragraph.C: fixed missing line number count when exporting
8894         Environments to LaTeX file
8895
8896         * buffer.C: added informational message for checking line numbers.
8897
8898 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8899
8900         * text2.C (deleteEmptyParagraphMechanism): if there is only one
8901         paragraph, do the 'double space' part, but not the 'empty
8902         paragraph' one.
8903
8904         * text.C (workWidth): small optimization
8905         (getLengthMarkerHeight): use minimal size for negative lengths.
8906
8907 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
8908
8909         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8910
8911         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8912
8913 2001-12-11  André Pönitz <poenitz@gmx.net>
8914
8915         * FontLoader.C:
8916         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8917
8918 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8919
8920         * text2.C: keep selection on a setFont()
8921
8922 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8923
8924         * lyx_cb.C: another bv->text misuse, from insert label
8925
8926 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8927
8928         * kbsequence.h:
8929         * kbsequence.C: re-instate nmodifier mask
8930
8931 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
8932
8933         * lyx_main.h: make lyxGUI private.
8934
8935 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8936
8937         * lyxfind.C: place the cursor correctly on failed search
8938
8939 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8940
8941         * text.C (getLengthMarkerHeight): for small heights, the arrows
8942         are not always on top/bottom of the text
8943         (drawLengthMarker): smaller arrows; take the left margin in
8944         account; draw also vfills.
8945         (paintFirstRow):
8946         (paintLastRow): remove special code for vfill and standard spaces,
8947         since everything is handled in drawLengthMarker now.
8948
8949 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8950
8951         * buffer.C (insertErtContents): try to handle font and language
8952         interaction a bit better.g
8953
8954         * ColorHandler.C (updateColor): change the hash to cover the whole
8955         LColor enum, ws cleanup
8956         (getGCLinepars): ditto
8957         (getGCLinepars): only lookup in the linecache once.
8958
8959 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
8960
8961         * iterators.C (operator++): Make the iterator more robust
8962
8963         * BufferView2.C (removeAutoInsets): Use paragraph iterators
8964         (John's patch)
8965         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8966
8967 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8968
8969         * lyxtext.h:
8970         * text.C: better added space drawing
8971
8972 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8973
8974         * LyXView.C:
8975         * BufferView2.C: fix layout combo update on inset unlock
8976
8977 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8978
8979         * Makefile.am: don't compile unused files
8980
8981 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8982
8983         * lyxfunc.C:
8984         * commandtags.h:
8985         * LyXAction.C: remove old LFUN_LAYOUTNO
8986
8987 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8988
8989         * paragraph_pimpl.h:
8990         * paragraph_pimpl.C: isTextAt() doesn't need font param
8991
8992 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8993
8994         * lyxlex.h:
8995         * lyxlex.C: little cleanup
8996
8997 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8998
8999         * BufferView_pimpl.C: fix insertAscii for insets
9000
9001 2001-12-05  Juergen Vigna  <jug@sad.it>
9002
9003         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9004         set the right font on the "multi" paragraph paste!
9005
9006 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9007
9008         * trans_decl.h:
9009         * trans_mgr.[Ch]:
9010         * trans.[Ch]:
9011         * lyxgluelength.C:
9012         * lyxlength.C: remove out-commented code.
9013
9014         * BufferView_pimpl:
9015         * CutAndPaste.C:
9016         * DepTable.C:
9017         * buffer.C:
9018         * chset.C:
9019         * lastfiles.C:
9020         * lyxlex.C:
9021         * lyxlex_pimpl.C:
9022         * lyxserver.C:
9023         * screen.C:
9024         * tabular-old.C:
9025         * tabular.C:
9026         * text.C:
9027         * trans_mgr.C:
9028         * vc-backend.C: change "while(" to "while ("
9029
9030         * lyxlength.[Ch]: add zero function to check if length is zero or
9031         not
9032         * lyxgluelength.C: use it
9033
9034 2001-12-05  Allan Rae  <rae@lyx.org>
9035
9036         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9037         Works for 2.95.3, from what I understand of Garst's reports this should
9038         work for other g++ versions.  We're screwed if the abs(int) definition
9039         changed between bugfix releases of gcc.
9040
9041 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9042
9043         * text.C: fix chapter label offset !
9044
9045 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9046
9047         * lyxtext.h:
9048         * text.C: fix hfill at end of line, clean up
9049
9050 2001-12-04  Juergen Vigna  <jug@sad.it>
9051
9052         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9053         that we force an update of the inset and it's owners if neccessary.
9054
9055 2001-12-03  Juergen Vigna  <jug@sad.it>
9056
9057         * text.C (rowLast): simplified code
9058
9059 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9060
9061         * lyxfunc.C: fix show options on timeout
9062
9063 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9064
9065         * screen.C (topCursorVisible): scroll half a page when the cursor
9066         reached top of bottom of screen
9067
9068 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9069
9070         * minibuffer.C: deactivate on loss of focus
9071
9072 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9073
9074         * vspace.[Ch] (operator!=): add operator.
9075
9076 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9077
9078         * BufferView_pimpl.C: refuse to open an inset when
9079         there's a selection.
9080
9081 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9082
9083         * BufferView_pimpl.C: allow to click on RHS of full row insets
9084
9085 2001-11-30  Juergen Vigna  <jug@sad.it>
9086
9087         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9088         insets for undo reasons.
9089
9090 2001-11-28  André Pönitz <poenitz@gmx.net>
9091
9092         * vspace.[Ch]: cosmetical changes
9093
9094 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9095
9096         * LyXAction.h:
9097         * LyXAction.C:
9098         * lyxfunc.h:
9099         * lyxfunc.C:
9100         * kbmap.h:
9101         * kbmap.C:
9102         * lyxrc.C:
9103         * kbsequence.h:
9104         * kbsequence.C: part re-write of old kb code
9105
9106         * Painter.C:
9107         * WorkArea.C: remove Lgb_bug_find_hack
9108
9109 2001-11-30  José Matos <jamatos@fep.up.pt>
9110
9111         * buffer.C (makeDocBookFile): add a comment to point a hack.
9112         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9113         Fixed a double write of labels.
9114
9115 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9116
9117         * LaTeX.C:
9118         * LaTeX.h Fixed bug in LaTeX class where it would not
9119         re-run latex if no depfiles were changed, but the .dvi was removed.
9120
9121 2001-11-28  André Pönitz <poenitz@gmx.net>
9122
9123         * all the files from the change on 2001/11/26:
9124         use lyx::layout_type instead of LyXTextClass::size_type
9125         use lyx::textclass_type instead of LyXTextClassList::size_type
9126
9127 2001-11-29  Juergen Vigna  <jug@sad.it>
9128
9129         * text.C: added support for paragraph::isFreeSpacing()
9130
9131         * buffer.C: same as above
9132
9133         * paragraph.h: inserted isFreeSpacing() function to enable
9134         FreeSpacing inside InsetERT.
9135
9136         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9137         of the paragraph's in the cut/copy buffer to 0!
9138
9139         * text2.C (removeRow): remove the assert as it can!
9140
9141         * lyxtext.h: added helper function firstRow returning firstrow and
9142         made firstrow private again.
9143
9144         * BufferView2.C (lockInset): don't relock if we're already locked!
9145
9146         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9147         the only paragraph.
9148         (removeRow): added Assert::(firstrow)
9149
9150         * debug.C: forgot to add INSETTEXT here.
9151
9152 2001-11-28  Juergen Vigna  <jug@sad.it>
9153
9154         * sp_spell.C (initialize): changed error text to more general
9155         spellchecker command use (not only ispell!)
9156
9157         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9158
9159         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9160
9161 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9162
9163         * vspace.C: initialise lyxgluelength on failure
9164
9165 2001-11-28  Allan Rae  <rae@lyx.org>
9166
9167         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9168         declaration & definition that looks like a function declaration.
9169
9170 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9171
9172         * BufferView2.C (copy):
9173         (copyEnvironment): do not clear the selection when doing a copy.
9174
9175         * text.C (paintFirstRow): compilation fix
9176
9177 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9178
9179         * tabular.C (Latex): correct line count when writing latex.
9180
9181 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9182
9183         * paragraph_pimpl.h:
9184         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9185           bug a bit
9186
9187 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9188
9189         * text.C:
9190         * LColor.h:
9191         * LColor.C: change vfillline->added_space
9192
9193         * text.C: add markers and text for added space
9194
9195         * vspace.C: fix comment
9196
9197 2001-11-28  André Pönitz <poenitz@gmx.net>
9198
9199         * paragraph.C: whitespace changes
9200         * all the other files from the change on 2001/11/26:
9201         change *::pos_type into lyx::pos_type
9202
9203 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9204
9205         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9206         language of the document when inserting error insets.
9207
9208 2001-11-26  André Pönitz <poenitz@gmx.net>
9209
9210         * BufferView_pimpl.[Ch]:
9211         *       CutAndPaste.C:
9212         * buffer.[Ch]:
9213         * lyxcursor.[Ch]:
9214         * lyxfind.C:
9215         * lyxfunc.C:
9216         * lyxrow.[Ch]:
9217         * paragraph.[Ch]:
9218         * paragraph_pimpl.[Ch]:
9219         * sp_spell.C:
9220         * text.C:
9221         * text2.C: reduce header dependencies, introduce type for positions
9222
9223 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9224
9225         * <various>: change to use Alert.h
9226
9227 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9228
9229         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9230         when encountering an unknown token.
9231         (readLyXformat2): Show an error message if there were unknown tokens.
9232
9233 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9234
9235         * BufferView2.C:
9236         * BufferView_pimpl.C:
9237         * buffer.C:
9238         * paragraph.h:
9239         * text.C:
9240         * text2.C: use par->isInset()
9241
9242 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9243
9244         * paragraph_pimpl.h:
9245         * paragraph_pimpl.C: cleanup
9246
9247 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9248
9249         * text2.C (removeRow):
9250         * text.C (setHeightOfRow): remove useless (and costly) call to
9251         getRow.
9252
9253 2001-11-20  Allan Rae  <rae@lyx.org>
9254
9255         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9256         Now need Inset*::checkInsertChar() to return true for appropriate
9257         cases so that the characters in the minibuffer will actually be
9258         inserted.
9259
9260 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9261
9262         * text.C: change the order of the includes.
9263         (workWidth): initialize it at once.
9264         (workWidth): make maxw unsigned
9265         (setHeightOfRow): remove unused variable (inset)
9266         (selectSelectedWord): remove unused variable (inset)
9267         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9268
9269 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9270
9271         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9272         server is not running.
9273         (openConnection):
9274         (closeConnection): add debug info when server is disabled.
9275
9276         * ColorHandler.C (getGCForeground): send debug message to GUI
9277         channel.
9278
9279         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9280
9281         * kbmap.C (bind): modify because return conventions of
9282         kb_sequence::parse have changed.
9283
9284         * kbsequence.C (parse): only ignore spaces and not any stupid
9285         control character. This avoids tests like s[i] <= ' ', which are
9286         guaranteed to fail with 8bit characters and signed chars.
9287         Change return code to string::npos when there have been no error
9288         (0 was a bad idea when error is at first character)
9289
9290 2001-11-14  José Matos  <jamatos@fep.up.pt>
9291
9292         * buffer.h:
9293         * buffer.C (simpleDocBookOnePar): removed unused argument.
9294
9295 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9296
9297         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9298         insets which are part of a word. Paragraph::isLetter takes care of
9299         that now. Use Paragraph::isInset to identify insets.
9300         (selectSelectedWord): do not test for hyphenation break.
9301
9302         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9303         that protected spaces are considered as spaces.
9304
9305         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9306         Inset::isLetter.
9307
9308 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9309
9310         * lyxserver.h:
9311         * lyxserver.C: fix it. and small cleanup.
9312
9313 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9314
9315         * BufferView_pimpl.C: use inline helpers
9316
9317         * LaTeXFeatures.h:
9318         * LaTeXFeatures.C: fix typos
9319
9320         * Spacing.h:
9321         * Spacing.C: move spacing_string into class
9322
9323         * ToolbarDefaults.C: move stuff into namespace anon
9324
9325         * layout.h: update enum
9326
9327         * lyxfunc.C: use better debug
9328
9329         * minibuffer.h: fix typo
9330
9331         * debug.h:
9332         * debug.C:
9333         * WorkArea.C: add and use Debug::WORKAREA
9334
9335         * lyxtext.h:
9336         * text.C:
9337         * text2.C: code re-organisation, inline helpers
9338
9339 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9340
9341         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9342         std::vector.empty().
9343
9344 2001-11-09  Allan Rae  <rae@lyx.org>
9345
9346         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9347         '\n's after tables.  Tabular and ERT inset work now makes this no
9348         longer necessary.
9349
9350 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9351
9352         * minibuffer.h:
9353         * minibuffer.C: fix crash, improve drop-down completion
9354
9355 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9356
9357         * lyxserver.h:
9358         * lyxserver.C: invalidate fd's when doing endPipe()
9359
9360 2001-11-08  José Matos  <jamatos@fep.up.pt>
9361
9362         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9363         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9364
9365         * paragraph.h:
9366         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9367
9368 2001-11-07  José Matos  <jamatos@fep.up.pt>
9369
9370         * buffer.h:
9371         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9372         const qualifier.
9373
9374         * buffer.C (sgmlOpenTag):
9375         * buffer.C (sgmlCloseTag): removed debug info.
9376
9377         * buffer.h (sgmlOpenTag):
9378         * buffer.h (sgmlCloseTag): made public.
9379
9380 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9381
9382         * buffer.C (saveParamsAsDefaults):
9383         * lyx_cb.C (MenuLayoutSave): remove
9384
9385         * LyXAction.C (init):
9386         * commandtags.h:
9387         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9388
9389 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9390
9391         * buffer.C (setPaperStuff): removed from here...
9392
9393         * bufferparams.C (setPaperStuff): ... and moved there.
9394
9395 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9396
9397         * minibuffer.h:
9398         * minibuffer.C:
9399         * XFormsView.C: add support for drop-down completion
9400
9401 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9402
9403         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9404         commands.
9405
9406 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9407
9408         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9409         disabled.
9410
9411 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9412
9413         * lyx_main.C: change ref to known bugs
9414
9415 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9416
9417         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9418         to work around older babel problems.
9419
9420 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9421
9422         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9423
9424 2001-10-24  Juergen Vigna  <jug@sad.it>
9425
9426         * tabular-old.C (ReadOld): below variable changes reflected.
9427
9428         * tabular.[Ch]: added ltType struct for longtable header/footer
9429         defines and changed all instances where they are used. Added
9430         future support for double top/bottom rows.
9431
9432 2001-10-24  José Matos  <jamatos@fep.up.pt>
9433
9434         * buffer.h (docbookHandleCaption):
9435         * buffer.C (docbookHandleCaption): removed unused function.
9436         (makeDocBookFile): moved docbook supported version to v4.1.
9437
9438 2001-10-24  José Matos  <jamatos@fep.up.pt>
9439
9440         * tabular.h:
9441         * tabular.C (docbookRow): new function to export docbook code of a row.
9442         (DocBook): now honors the longtable flags.
9443
9444 2001-10-23  José Matos  <jamatos@fep.up.pt>
9445
9446         * LaTeXFeatures.h:
9447         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9448         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9449
9450         * buffer.C (makeLinuxDocFile):
9451         (makeDocBookFile): reworked the preamble, more clean, and with
9452         support for lyx defined entities. Changed the document declaration
9453         to be more XML friendly.
9454
9455         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9456         if we need to output XML that should be done with a filter.
9457
9458 2001-10-22  Juergen Vigna  <jug@sad.it>
9459
9460         * sp_pspell.h (class PSpell): add alive function needed in the
9461         controller to see if the spellchecker could be started.
9462
9463 2001-10-22  Juergen Vigna  <jug@sad.it>
9464
9465         * buffer.C (insertStringAsLines): modify the font for inserting
9466         chars in certain conditions by calling checkInsertChar(font).
9467
9468 2001-10-19  Juergen Vigna  <jug@sad.it>
9469
9470         * text.C (workWidth): use getRow instead of wrong algorithm.
9471         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9472
9473 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9474
9475         * lyxserver.h:
9476         * lyxserver.C:
9477         * lyx_main.h:
9478         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9479
9480 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9481
9482         * text.C (workWidth): do not search for the exact row when
9483         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9484         optimization for big documents.
9485
9486 2001-10-18  Juergen Vigna  <jug@sad.it>
9487
9488         * text.C (workWidth): new function with added Inset * parameter.
9489
9490 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9491
9492         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9493
9494         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9495         change return type of getColumnNearX.
9496
9497
9498         * text.C (changeRegionCase): use uppercase/lowercase instead of
9499         toupper/tolower.
9500         (leftMargin):
9501         (rightMargin): simplify code by factoring out the uses of
9502         textclasslist.
9503         (labelFill):
9504         (numberOfHfills):
9505         (setHeightOfRow):
9506         (appendParagraph): use Paragraph::size_type
9507
9508 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9509
9510         * vspace.C (asLatexString): add a missing break
9511
9512 2001-10-15  Herbert Voss  <voss@perce.de>
9513
9514         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9515
9516 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9517
9518         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9519         is not available.
9520
9521 2001-10-10  André Pönitz <poenitz@gmx.net>
9522
9523         * lyxfunc.C: removed greek_kb_flag.
9524
9525 2001-10-10  Herbert Voss  <voss@perce.de>
9526
9527         * lyx_main.C: delete global string help_lyxdir.
9528
9529 2001-10-09  Herbert Voss  <voss@perce.de>
9530
9531         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9532
9533         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9534
9535         * lyx_main.C: added global string help_lyxdir.
9536
9537         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9538
9539 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9540
9541         * lyxrc.C (set_font_norm_type): support iso8859-4
9542
9543 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9544
9545         * LaTeX.C (deplog): add another regex for MikTeX
9546
9547 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9548
9549         * lyxrc.C (set_font_norm_type): support iso8859-3
9550
9551 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9552
9553         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9554
9555         * LaTeXFeatures.C: remove special case of french and index
9556
9557         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9558         before \begin{document}). This solves several incompatibilities.
9559
9560 2001-10-03  Garst Reese  <reese@isn.net>
9561
9562         * lyx_cb.C: change CheckTex error msg.
9563
9564 2001-10-03  José Matos  <jamatos@fep.up.pt>
9565
9566         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9567
9568 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9569
9570         * .cvsignore: update
9571
9572         * lyx_main.C (commandLineVersionInfo): use new style version info.
9573
9574         * buffer.C (writeFile):
9575         (makeLaTeXFile):
9576         (makeLinuxDocFile):
9577         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9578
9579         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9580
9581         * version.h: update to use stuff in version.C
9582
9583         * version.C.in: new file. Contains version information determined
9584         at compile time. This is a merging of version.h and
9585         version_info.h.in.
9586
9587 2001-10-03  Juergen Vigna  <jug@sad.it>
9588
9589         * BufferView_pimpl.C (update): don't change "dirty" status in
9590         updateInset call.
9591
9592 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9593
9594         * WorkArea.C (c-tor): re-position version string slightly.
9595
9596 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9597
9598         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9599         revert to previous code.
9600
9601         WorkArea.[Ch]: (show, destroySplash): methods removed.
9602
9603         WorkArea.C: rework code so that it's an amalgam of the codes before and
9604         after the splash screen was moved to WorkArea.
9605
9606 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9607
9608         * lyxrc.C (read):
9609         * vspace.C (inPixels):
9610         (lyx_advance):
9611         * kbmap.C (bind):
9612         * buffer.C (insertStringAsLines):
9613         (asciiParagraph): fix types to be large enough
9614
9615         * lyxlex_pimpl.h: change member status from short to int
9616
9617         * layout.h: fix type of endlabeltype
9618
9619         * kbmap.C (bind):
9620         * kbsequence.C (parse): change return type to string::size_type
9621
9622         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9623         variable
9624
9625         * Bullet.C (bulletSize):
9626         (bulletEntry): do not use short ints as parameters
9627
9628         * BufferView2.C (insertLyXFile): change a char to an int.
9629
9630         * WorkArea.C (WorkArea): remove unneeded floats in computation
9631
9632 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9633
9634         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9635
9636         * paragraph.C (asString): Do not ignore newline/hfill chars when
9637         copying to the clipboard.
9638
9639 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9640
9641         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9642         after a multi-line inset.
9643
9644 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9645
9646         * paragraph.C (validate): Set NeedLyXFootnoteCode
9647
9648 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9649
9650         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9651         and decrease-error to decrease.
9652
9653 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9654
9655         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9656         it more readable (should be equivalent)
9657
9658 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9659
9660         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9661
9662 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9663
9664         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9665         of a cursor (row, etc.) after a character has been deleted
9666         (deleteEmptyParagraphMechanism): call the method above on _all_
9667         cursors held by the LyXText when a double space has been
9668         detected/deleted.
9669
9670 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9671
9672         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9673         pixmap.
9674         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9675
9676         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9677         background. Use greyOut() and the new show() methods to toggle between
9678         the foreground and background. Add code to remove the splash after
9679         its initial showing.
9680
9681         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9682         (create_forms): no longer call Dialogs::showSplash.
9683
9684 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9685
9686         * .cvsignore: add version_info.h
9687
9688 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9689
9690         * version_info.h.in: new file
9691
9692         * Makefile.am: add version_info.h.in
9693
9694         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9695         version_info.h instead of VERSION_INFO
9696
9697 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9698
9699         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9700         The ERT inset now returns string().
9701
9702 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9703
9704         * lyxtext.h, text.C (selectNextWord): renamed as
9705         selectNextWordToSpellcheck.
9706
9707         * text.C (selectNextWordToSpellcheck): Modified to not select
9708         words inside an ERT inset.
9709
9710 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9711
9712         * lyx_cb.C (MenuLayoutSave): change a bit the question
9713
9714         * sp_base.h: include <sys/types.h>
9715
9716 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9717
9718         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9719
9720 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9721
9722         * several files: fix typos in user-visible strings
9723
9724 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9725
9726         * text2.C (pasteSelection): do not set the selection, since it
9727         will be cleared later. Actually, the intent was to fix the way the
9728         selection was set, but I figured rmoving the code was just as good.
9729
9730 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9731
9732         * FontLoader.C (available): Check if font is available without
9733         loading the font.
9734
9735 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9736
9737         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9738
9739 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9740
9741         * lyxrc.[Ch]: added display_graphics variable and associated code.
9742
9743 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9744
9745         * bufferparams.C (hasClassDefaults): new method. Returns true if
9746         the buffer parameters correspond to known class defaults
9747
9748 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9749
9750         * XFormsView.C (show): set minimum size to the main window.
9751
9752 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9753
9754         * text2.C (copySelection):
9755         (cutSelection):
9756         * lyxfind.C (LyXReplace):
9757         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9758         LyXText::selectionAsString.
9759
9760         * paragraph.C (asString): add "label" argument to the second form
9761
9762         * text2.C (selectionAsString): add "label" argument and pass it to
9763         Paragraph::asString.
9764
9765 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9766
9767         * lyx_main.C (commandLineHelp): remove version information
9768
9769 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9770
9771         * lyx_main.C: add -version commandline option
9772
9773 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9774
9775         * paragraph.h: make the optional constructor arg required instead.
9776         some modifications to other files because of this.
9777
9778         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9779
9780         * lyxserver.C (C_LyXComm_callback): make it static
9781
9782         * lyx_main.C (error_handler): make it static
9783
9784         * lyx_gui.C (LyX_XErrHandler): make it static
9785
9786         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9787
9788         * WorkArea.C: make the extern "C" methods static.
9789
9790         * Makefile.am (lyx_LDADD): simplify
9791
9792 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9793
9794         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9795         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9796
9797         * LyXAction.C (init):
9798         * lyxfunc.C (dispatch): associated code removal.
9799
9800 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9801
9802         * lyxfont.h (isSymbolFont): shut off warning
9803
9804         * text.C (setHeightOfRow):
9805         (getVisibleRow): fix crash with empty paragraphs which have a
9806         bottom line
9807
9808 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9809
9810         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9811         code.
9812
9813 2001-09-04  José Matos  <jamatos@fep.up.pt>
9814         * buffer.C
9815         * buffer.h
9816         * tabular.C (docbook): rename docBook method to docbook.
9817
9818 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9819
9820         * Makefile.am: add dependencies to main.o.
9821
9822 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9823
9824         * FontLoader.C (available): Return false if !lyxrc.use_gui
9825
9826 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9827
9828         * FontInfo.C (query):
9829         * converter.C (view):
9830         * importer.C (Import):
9831         * exporter.C (Export): Can not -> cannot.
9832
9833 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9834
9835         * BufferView_pimpl.C: allow to create index inset even if
9836           string is empty
9837
9838 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9839
9840         * buffer.C (getLists): replace boost::tie code with an explicit pair
9841         as boost::tie can break some compilers.
9842
9843         * iterators.h: Added a std:: declaration to the return type of
9844         ParIterator::size.
9845
9846 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9847
9848         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9849           case.
9850
9851 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9852
9853         * iterators.[Ch]: New files. Provide paragraph iterators.
9854
9855         * buffer.C (changeLanguage): Use paragraph iterators.
9856         (isMultiLingual): ditto
9857
9858         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9859
9860 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9861
9862         * FontLoader.C: Support for cmr font.
9863
9864 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9865
9866         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9867         (available): New method.
9868
9869         * FontInfo.C (getFontname): Use scalable fonts even when
9870         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9871         found.
9872
9873 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9874
9875         * converter.C (Formats::view): reverted! Incorrect fix.
9876
9877 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9878
9879         * converter.C (Formats::view): only output the -paper option
9880         if the dvi viewer is xdvi, thereby fixing bug #233429.
9881
9882 2001-08-23  Herbert Voss  <voss@perce>
9883
9884         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9885
9886 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9887
9888         * Spacing.h (Spacing): Set space to Default on in the default
9889         constructor.
9890
9891 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9892
9893         * vc-backend.h (RCS::versionString): add RCS to version
9894         (CVS::versionString): add CVS to version
9895
9896         * vc-backend.C (scanMaster): do not add CVS to version.
9897         (scanMaster): do not add RCS to version
9898
9899         * lyxvc.C (versionString): new method
9900
9901         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9902
9903 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9904
9905         * Spacing.C (set): initialize fval
9906
9907 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
9908
9909         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9910         " or \.
9911
9912 2001-08-16  Juergen Vigna  <jug@sad.it>
9913
9914         * lyxfunc.C (dispatch): implemented the new FINISHED states.
9915
9916 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9917
9918         * BufferView_pimpl.C:
9919         * figureForm.C:
9920         * lyxtext.h:
9921         * text2.C: setParagraph takes linespacing now
9922
9923 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
9924
9925         * LyxAction.C: add internal LFUN_CITATION_INSERT
9926
9927         * LyXView.C: actually apply fix
9928
9929         * bufferlist.C: fix open non-existent file
9930
9931         * lyxfind.C: fix indentation
9932
9933         * lyxfunc.C: remove unneeded assert, fix typo
9934
9935 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9936
9937         * MenuBackend.C: use "Floatname List"
9938
9939 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
9940
9941         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9942         when converting LaTeX layout to insetERT.
9943         Generate a non-collapsed float when reading old float
9944
9945 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9946
9947         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9948         ERT insets.
9949
9950 2001-08-13  Juergen Vigna  <jug@sad.it>
9951
9952         * text.C (fill): return 0 instead of 20 as this seems to be the more
9953         correct value.
9954
9955 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9956
9957         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9958         lyxrc.font_norm.
9959
9960 2001-08-13  Juergen Vigna  <jug@sad.it>
9961
9962         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9963         casesensitive off.
9964         (SearchBackward): comment out the unlocking of the inset_owner this
9965         should not be needed!
9966
9967 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
9968
9969         * Many files: Remove inherit_language, and add latex_language
9970
9971         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9972         collapsible insets.
9973
9974 2001-08-10  Juergen Vigna  <jug@sad.it>
9975
9976         * text.C (prepareToPrint): fixed hfill-width in draw!
9977
9978         * BufferView2.C (selectLastWord): save the selection cursor as this
9979         now is cleared in the function LyXText::clearSelection!
9980
9981 2001-08-08  Juergen Vigna  <jug@sad.it>
9982
9983         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9984         BACKSPACE type functions.
9985
9986         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9987         is only cutted from the document but not put in the cut-buffer, where
9988         still the old stuff should be.
9989
9990         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9991
9992         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9993
9994         * tabular.C (SetWidthOfCell): fixed special case where the width
9995         was not updated!
9996         (LeftLine): handle '|' in align_special.
9997         (RightLine): ditto
9998         (LeftAlreadyDrawed): ditto
9999         (SetWidthOfCell): ditto
10000
10001 2001-08-07  Juergen Vigna  <jug@sad.it>
10002
10003         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10004
10005 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10006
10007         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10008         * lyxlex.[hC]: ditto
10009
10010 2001-08-06  Juergen Vigna  <jug@sad.it>
10011
10012         * text.C (getVisibleRow): fix up row clearing a bit.
10013
10014 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10015
10016         * minibuffer.C: make sure the X server sees the changes in the input.
10017
10018 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10019
10020         * paragraph.C (getFont): split into...
10021         (getLabelFont): this
10022         (getLayoutFont): and this
10023         * paragraph_pimpl.C (realizeFont): calling this
10024
10025         * text2.C (getFont): split into...
10026         (getLayoutFont): this
10027         (getLabelFont): and this
10028         (realizeFont): all three calling this
10029
10030         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10031         files where used.
10032
10033 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10034
10035         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10036
10037 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10038
10039         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10040         layouts from the Quote inset insertion.
10041
10042 2001-08-03  Juergen Vigna  <jug@sad.it>
10043
10044         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10045
10046         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10047         only if status not is already CHANGED_IN_DRAW (second level).
10048
10049         * text.C (draw): don't set the need_break_row when inside an
10050         InsetText LyXText.
10051
10052 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10053
10054         * buffer.C (parseSingleLyXformat2Token): handle more latex
10055         conversion cases.
10056
10057         * bufferview_funcs.[hC]: change function names to
10058         begin with small char, adjust other files.
10059
10060 2001-08-02  André Pönitz <poenitz@gmx.net>
10061
10062         * lyxfunc.C:
10063         BufferView_pimpl.C: remove broken special code for math-greek
10064
10065 2001-08-02  Juergen Vigna  <jug@sad.it>
10066
10067         * BufferView_pimpl.C (update): redone this function so that we
10068         update the text again if there was a CHANGE_IN_DRAW.
10069
10070         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10071         (drawFromTo): added a new internal bool which is used by draw() and
10072         redraw() function.
10073         (general): some cursor drawing problems fixed.
10074
10075 2001-08-01  Juergen Vigna  <jug@sad.it>
10076
10077         * lyxfind.C (LyXFind): fixed
10078         (SearchForward): ditto
10079         (SearchBackward): ditto
10080
10081         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10082         spurius drawing of the cursor in the main area.
10083
10084         * text2.C (status): small fix which could lead to a segfault!
10085         (clearSelection): remove unneeded BufferView param.
10086
10087 2001-08-01  André Pönitz <poenitz@gmx.net>
10088
10089         * lyxfunc.C: small change due to changed mathed interface
10090
10091 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10092
10093         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10094
10095 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10096
10097         * lyxfunc.c: fail gracefully if file doesn't exist
10098
10099         * LyXSendto.C:
10100         * buffer.C:
10101         * lyxfunc.C:
10102         * BufferView_pimpl.C: IsDirWriteable() proto changed
10103
10104         * LyXView.C: fix updateWindowTitle() to store the last title
10105
10106 2001-07-31  Juergen Vigna  <jug@sad.it>
10107
10108         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10109         the font (wrong since using of Paragraph::highestFontInRange).
10110
10111         * paragraph.C (highestFontInRange): added a default_size parameter.
10112
10113         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10114         (setHeightOfRow): reformat
10115
10116 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10117
10118         * converter.[hC] + affected files: move to (inital-char)lowercase
10119         function names.
10120
10121         * ParagraphParameters.C (ParagraphParameters): remove commented code
10122
10123         * PainterBase.[Ch]: remove commented code
10124
10125         * LaTeXFeatures.h: add "bool floats" for float.sty
10126
10127         * LaTeXFeatures.C (LaTeXFeatures): init floats
10128         (require): handle float
10129         (getPackages): do it with floats
10130
10131 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10132
10133         * BufferView_pimpl.C (Dispatch): improve handling of
10134         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10135
10136         * commandtags.h: #include lyxfont.h here temporarily to avoid
10137         keybinding bug.
10138
10139         * bufferlist.h: include LString.h here.
10140
10141 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10142
10143         * text2.C (getStringToIndex): new method.
10144
10145 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10146
10147         * *: Reduced header file dependencies all over.
10148
10149 2001-07-30  Baruch Even  <baruch@lyx.org>
10150
10151         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10152
10153 2001-07-29  Baruch Even  <baruch@lyx.org>
10154
10155         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10156
10157 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10158
10159         * ParameterStruct.h (endif): add a default constructor to make
10160         sure that all variables is initialized.
10161
10162         * ParagraphParameters.C (ParagraphParameters): adjust
10163
10164 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10165
10166         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10167         index; also, check that there is something to index, and that it
10168         does not span over several paragraphs.
10169         (doubleClick): use WHOLE_WORD_STRICT for double click.
10170
10171         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10172
10173         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10174         scheme.
10175
10176 2001-07-26  Baruch Even  <baruch@lyx.org>
10177
10178         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10179         an InsetFig figure, backwards compatible reading of old figure code.
10180
10181 2001-07-27  Juergen Vigna  <jug@sad.it>
10182
10183         * text2.C: font.realize function adaption.
10184
10185         * text.C (draw): add a warnings lyxerr text if needed.
10186
10187         * layout.C: font.realize function adaption.
10188
10189         * language.C: add inherit_language and implement it's handlings
10190
10191         * bufferview_funcs.C (StyleReset): remove language parameter from
10192         font creation (should be language_inherit now).
10193
10194         * bufferparams.C (writeFile): handle ignore_language.
10195
10196         * paragraph.C (getFontSettings): the language has to be resolved
10197         otherwise we have problems in LyXFont!
10198
10199         * lyxfont.C (lyxWriteChanges): added document_language parameter
10200         (update): removed unneeded language parameter
10201
10202         * paragraph.C (validate): fixed wrong output of color-package when
10203         using interface colors for certain fonts in certain environments,
10204         which should not seen as that on the final output.
10205
10206 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10207
10208         * BufferView_pimpl.C:
10209         * Thesaurus.h:
10210         * Thesaurus.C:
10211         * Makefile.am:
10212         * commandtags.h:
10213         * LyXAction.C: add thesaurus support
10214
10215         * lyxfind.h:
10216         * lyxfind.C: add "once" parameter, for thesaurus, to not
10217           move to the next match
10218
10219 2001-07-26  Juergen Vigna  <jug@sad.it>
10220
10221         * lyxfont.C (realize): honor ignore_language too!
10222         (resolved): ditto.
10223
10224         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10225
10226         * text.C (draw): one place more for ignore_language to not draw
10227         itself!
10228
10229 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10230
10231         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10232
10233 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10234
10235         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10236         the minipage conversion problem.
10237
10238 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10239
10240         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10241         insert an inset.
10242
10243 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10244
10245         * BufferView.h: don't forward declare WorkArea
10246
10247         * BufferView.C: don't include WorkArea.h
10248
10249 2001-07-25  André Pönitz <poenitz@gmx.net>
10250
10251         * commandtags.h:
10252         * LyXAction.C:
10253         * lyxfunc.C:  new LFUN 'math-space'
10254
10255         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10256
10257 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10258
10259         * text2.C (toggleInset): call open/close
10260
10261 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10262
10263         * lyxfunc.C (dispatch): add debug for the disabled case
10264
10265         * font.C (buttonText): make similar to rectText
10266
10267         * buffer.C (readInset): comment out parsing of insetlist and
10268         insttheorem
10269
10270         * PainterBase.C (rectText): small correction
10271
10272         * BufferView_pimpl.C: comment out insettheorem and insetlist
10273         * LyXAction.C: ditto
10274         * commandtags.h: ditto
10275
10276 2001-07-24  Juergen Vigna  <jug@sad.it>
10277
10278         * text.C (draw): honor the ignore_language.
10279
10280         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10281
10282 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10283
10284         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10285         char inset.
10286
10287 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10288
10289         * lyxtext.h: remove unused (and unimplemented) methods
10290
10291 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10292
10293         * text.C (getVisibleRow): honor background color
10294
10295         * PainterBase.h:
10296         * Painter.h: remove default color argument for fillRectangle
10297
10298         * text.C (backgroundColor): new method
10299
10300 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10301
10302         * text.C (getVisibleRow): adjust
10303
10304         * font.[Ch] (rectText): new method, metrics
10305         (buttonText): new method, metrics
10306
10307         * PainterBase.[hC]: make rectText and buttonText always draw and take
10308         fewer paramteres.
10309
10310 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10311
10312         * ToolbarDefaults.C (read):
10313         * MenuBackend.C (read): allow escaping in all strings
10314
10315         * BufferView_pimpl.C (insertAndEditInset): new method.
10316         (Dispatch): use insertAndEditInset whenever appropriate.
10317
10318         * BufferView_pimpl.C (insertNote): removed
10319
10320         * BufferView_pimpl.C (smartQuote): new method, moved from
10321         BufferView; if an insetquote cannot be inserted, insert a '"'
10322         character instead.
10323
10324         * BufferView2.C: remove insertCorrectQuote();
10325
10326         * lyxfunc.C (getStatus): Add support for all remaingin
10327         inset-insert lfuns.
10328
10329         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10330
10331         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10332         command (necessary to pass " as parameter of self-insert.
10333
10334         * text.C (selectWordWhenUnderCursor):
10335         (selectWord): add word_location parameter
10336         (selectWordWhenUnderCursor): same + remove special code for word
10337         boundary.
10338         (selectNextWord): use kind() to guess type of insetspecialchar,
10339         not latex().
10340
10341         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10342         (insertErtContents): create ert insets as collapsed.
10343         (readInset): better compatibility code for Info inset.
10344
10345 2001-07-20  Juergen Vigna  <jug@sad.it>
10346
10347         * lyxfunc.C (dispatch): use always LyXFind now!
10348
10349         * text2.C (init): add a reinit flag so that the LyXText can be
10350         reinited instead of deleted and reallocated (used in InsetText).
10351
10352         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10353
10354         * text.C: ditto
10355
10356         * text2.C: ditto
10357
10358 2001-07-18  Juergen Vigna  <jug@sad.it>
10359
10360         * text.C (selectNextWord): handle insets inside inset by calling
10361         always the bv->text functions so that we can go up the_locking_inset!
10362
10363         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10364         in strange locations when inside an inset!
10365
10366         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10367         handling to include insets.
10368
10369         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10370
10371 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10372
10373         * LyXAction.C (init):
10374         * commandtags.h:
10375         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10376         LIGATURE_BREAK, since the name is so stupid.
10377
10378 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10379
10380         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10381         InsetInfos.
10382
10383         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10384
10385         * sp_form.[Ch]: remove.
10386
10387         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10388
10389         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10390         InsetInfo.
10391
10392         * src/buffer.C (readInset): ditto.
10393
10394 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10395
10396         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10397         menuSeparator(), endOfSentenceDot(), ldots() and
10398         hyphenationPoint(), which are therefore removed.
10399         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10400
10401         * LyXAction.C (init):
10402         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10403
10404         * paragraph.C (getWord): removed.
10405
10406         * BufferView_pimpl.C (Dispatch): use last word or selection for
10407         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10408
10409         * lyx_main.C (queryUserLyXDir): do not ask before creating
10410         user_dir, except if it has been named explicitely.
10411
10412 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10413
10414         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10415         a document of zero size.
10416
10417 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10418
10419         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10420         approriately in the c-tor and in require().
10421         (getPackages): output the appropriate LaTeX for natbib support.
10422
10423         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10424         variables "use_natbib" and "use_numerical_citations" when reading the
10425         LyX file.
10426         (readInset): read the various natbib cite commands.
10427         (validate): white-space change.
10428
10429         * bufferparams.[Ch]: new variables "bool use_natbib" and
10430         "bool use_numerical_citations".
10431         (writeFile): output them in the LyX file.
10432
10433 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10434
10435         * lyxfunc.C (getStatus): add support for all the inset insertion
10436         commands.
10437
10438         * text2.C (insertInset):
10439         * paragraph.C (insetAllowed):
10440         * BufferView_pimpl.C (insertInset): update to take in account the
10441         renaming of insertInsetAllowed
10442
10443         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10444
10445         * text2.C (getInset): new method. returns inset at cursor position.
10446
10447         * BufferView_pimpl.C (Dispatch): changes because of this.
10448
10449         * LyXAction.C (init): rename open-stuff to inset-toggle.
10450
10451         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10452
10453         * text2.C (toggleInset): renamed from openStuff; use
10454         Inset::open().
10455
10456 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10457
10458         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10459
10460         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10461
10462 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10463
10464         * buffer.C (readLyXformat2): Add filename to the error dialog
10465
10466 2001-07-18  Juergen Vigna  <jug@sad.it>
10467
10468         * tabular.C (GetCellNumber): put an assert here instead of the check!
10469
10470 2001-07-17  Juergen Vigna  <jug@sad.it>
10471
10472         * BufferView_pimpl.C (toggleSelection): adapted too.
10473
10474         * text.C (selectNextWord): adapted for use with insets.
10475         (selectSelectedWord): ditto
10476
10477 2001-07-17  Juergen Vigna  <jug@sad.it>
10478
10479         * sp_spell.C (PSpell): fix initialitation order.
10480
10481 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10482
10483         * paragraph.C: spacing
10484
10485 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10486
10487         * sp_spell.C: repair language selection for pspell
10488
10489 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10490
10491         * lyxfunc.h: change more methods to begin with lower char.
10492
10493 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10494
10495         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10496         for unknown layouts.
10497
10498 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10499
10500         * buffer.C (readLyXformat2): Generate an error dialog if there are
10501         unknown layouts.
10502
10503 2001-07-16  Juergen Vigna  <jug@sad.it>
10504
10505         * sp_spell.C: always compile ISpell part.
10506
10507         * lyxrc.C: added use_pspell entry and it's handling.
10508
10509 2001-07-13  Juergen Vigna  <jug@sad.it>
10510
10511         * sp_spell.C: removed double includes.
10512
10513 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10514
10515         Consistent use of Lsstream.h:
10516         * Lsstream.h: added using std::stringstream for consistencies sake.
10517
10518         * buffer.C: removed using std::stringstream
10519
10520         * lyxfont.C (stateText):
10521         * paragraph.C (asString):
10522         * text.C (selectNextWord, selectSelectedWord):
10523         * text2.C (setCounter):
10524         * vspace.C (asString, asLatexString):
10525         std::ostringstream -> ostringstream.
10526
10527 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10528
10529         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10530         * commandtags.h: add LFUN_HELP_ABOUTLYX
10531         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10532
10533 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10534
10535         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10536         cursorToggle()
10537         * lyx_gui_misc.C: remove spellchecker
10538         * lyxfunc.C: showSpellchecker
10539         * sp_base.h: added
10540         * sp_ispell.h: added
10541         * sp_pspell.h: added
10542         * sp_spell.C: added
10543         * sp_form.[Ch]: removed
10544         * spellchecker.[Ch]: removed
10545
10546 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10547
10548         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10549         is set.
10550         (simpleTeXSpecialChars): Simply print the input character without
10551         any special translation if pass_thru is set.
10552
10553         * layout.h: Added bool pass_thru to layout class for being able to
10554         implement pass through of a paragraph for Literate Programming.
10555
10556         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10557         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10558         * layout.C (Read): add "passthru" to list of layout tags and add
10559         code to set the pass_thru boolean when it is read.
10560
10561 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10562
10563         * trans_decl.h: remove allowed from KmodInfo
10564
10565         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10566         remove allowed code
10567         (Load): adjust
10568
10569         * paragraph_pimpl.C (erase): use boost::prior
10570
10571         * Painter.C (text): use data() instead of c_str() when length is
10572         also provided.
10573         * WorkArea.C (putClipboard): ditto
10574         * font.h (width): ditto
10575
10576         * BufferView2.C: use it-> instead of (*it). for iterators
10577         * texrow.C: ditto
10578         * paragraph_pimpl.C: ditto
10579         * paragraph.C: ditto
10580         * minibuffer.C: ditto
10581         * language.C: ditto
10582         * kbmap.C: ditto
10583         * encoding.C: ditto
10584         * counters.C: ditto
10585         * converter.C: ditto
10586         * chset.C: ditto
10587         * Variables.C: ditto
10588         * TextCache.C: ditto
10589         * MenuBackend.C: ditto
10590         * LyXAction.C: ditto
10591         * LColor.C: ditto
10592         * FloatList.C: ditto
10593         * DepTable.C: ditto
10594         * ColorHandler.C (LyXColorHandler): ditto
10595
10596 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10597
10598         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10599
10600         * text2.C (openStuff): reintroduce this method (which had been
10601         nuked in NEW_INSETS frenzy).
10602
10603         * lyxfunc.C (Dispatch): when an action has not been handled, use
10604         its name in the error message, not its number.
10605
10606         * paragraph.C (inInset): change method name to begin with lowercase.
10607
10608         * undo_funcs.C:
10609         * text2.C: updates because of this.
10610
10611 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10612
10613         * ToolbarDefaults.C (add): add spaces in error message
10614
10615 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10616
10617         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10618         (readLyXformat2): rename return_par to first_par, use lyxlex's
10619         pushToken and remove the manual push handling.
10620         (parseSingleLyXformat2Token): add another ert comp. variable:
10621         in_tabular, rename return_par to first_par. handle newlines better
10622
10623 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10624
10625         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10626
10627 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10628
10629         * text2.C (getParFromID): removed
10630
10631         * buffer.C (getParFromID): new method moved form lyxtext.
10632         * BufferView2.C (insertErrors): adjust
10633         (setCursorFromRow): adjust
10634         * BufferView_pimpl.C (restorePosition): adjust
10635         * lyxfunc.C (Dispatch): adjust
10636         * undo_funcs.C (textUndo): adjust
10637         (textRedo): adjust
10638         (textHandleUndo): adjust
10639         (textHandleUndo): adjust
10640
10641 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10642
10643         * buffer.C: up' the LYX_FORMAT
10644
10645         * lyxfont.h: turn NO_LATEX on as default
10646
10647         * buffer.C (insertErtContents): new methods of tex style compability.
10648         (parseSingleLyXformat2Token): use it several places.
10649         * tabular.C (OldFormatRead): and here
10650
10651 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10652
10653         * text2.C: remove some commented code.
10654         reindent file.
10655
10656         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10657         * trans.C: changes because of the above.
10658
10659 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10660
10661         * text2.C (setCounter): Fix counters bug with bibliography layout.
10662
10663 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10664
10665         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10666         own member functions
10667         (simpleTeXSpecialChars): ditto
10668
10669 2001-07-06  Juergen Vigna  <jug@sad.it>
10670
10671         * a lot of files: changed the access to LyXText::status and the
10672         call of undo-functions.
10673
10674         * undo.[Ch]: added a inset_id to the undo informations.
10675
10676         * undo_funcs.[Ch]: added and moved here all undo functions.
10677
10678         * lyxtext.h: give the status enum a weight, made status_ a private
10679         variable and made accessor functions for it, removed the whole bunch
10680         of undo-functions as they are now in their own file, make some
10681         functions publically available. Added function ownerParagraph with
10682         int parameter.
10683
10684         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10685         made InInset() a const function, added getParFromID() function.
10686
10687         * buffer.[Ch]: added const version for inset_iterator functions,
10688         added getInsetFromID() function.
10689
10690         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10691         changed undo functions for new version.
10692
10693 2001-07-05  Juergen Vigna  <jug@sad.it>
10694
10695         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10696         unknow mechanism does not call the proper constructor but only this
10697         one also if I request the other!?
10698
10699 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10700
10701         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10702
10703         * text2.C (LyXText): use initialization lists.
10704
10705         * lyxtext.h (Selection): initialize set_ and mark_
10706         (init): remove method
10707
10708 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10709
10710         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10711
10712 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10713
10714         * screen.[Ch]: change method names to begin with lowercase
10715
10716         * BufferView_pimpl.C (updateScrollbar): simplify further and
10717         hopefully make it a bit faster.
10718
10719 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10720
10721         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10722         calling directly xforms functions.
10723
10724         * Painter.C (Painter):
10725         * lyx_cb.C (MenuWrite):
10726         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10727         fl_display.
10728
10729         * lyx_gui.C: remove bogus guiruntime extern declaration.
10730
10731 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10732
10733         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10734         in NEW_INSETS
10735         (redoDrawingOfParagraph): ditto
10736         (redoParagraphs): ditto
10737         (cutSelection): don't create a object for CutAndPaste use the
10738         static method directly
10739         (pasteSelection): ditto
10740
10741         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10742         LyXview (+ rename)
10743
10744 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10745
10746         * modifications to some other files because of this.
10747
10748         * Makefile.am (lyx_SOURCES): add XFormsView
10749
10750         * XFormsView.[Ch]: new files
10751
10752         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10753         the main window. Move the gui dependent stuff to XFormsView
10754
10755 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10756
10757         * tabular.C (GetCellInset): update cur_cell also in the row/col
10758         version of this function.
10759
10760         * lyxfunc.C: no need to include figure_form.h here.
10761
10762         * FontLoader.h:
10763         * lyxfunc.h:
10764         * lyxscreen.h:
10765         * text2.C:
10766         * lyxvc.C: no need to include forms.h here.
10767
10768 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10769
10770         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10771
10772         * lyxfunc.C (Dispatch):
10773         * Spacing.C (set):
10774         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10775         constructor argument.
10776
10777 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10778
10779         * paragraph.C (Paragraph): dont't clear, and just set layout.
10780         (makeSameLayout): use params's copy contructor.
10781
10782         * ParagraphParameters.[Ch] (makeSame): delete method
10783
10784 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10785
10786         * Variables.[Ch]: fix indentation, rename set to isSet
10787
10788 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10789
10790         * lyxfunc.C (Dispatch): fix typo
10791
10792 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10793
10794         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10795         upper_bound.
10796
10797         * bufferlist.C: include assert.h for emergencyWrite().
10798
10799 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10800
10801         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10802           give up at last (bug #425202) !
10803
10804 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * lyx_gui_misc.C:
10807         * sp_form.h:
10808         * sp_form.C:
10809         * spellchecker.h:
10810         * spellchecker.C: strip spellchecker options and bring up
10811           preferences tab instead
10812
10813 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10814
10815         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10816         the istringstream constructor
10817
10818 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10819
10820         * paragraph.C (getLayout): fix return value
10821
10822         * paragraph.h: do not declare getLayout as inline.
10823
10824         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10825
10826 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10827
10828         * lyxcursor.h (operator<): new func
10829         (operator>): new func
10830         (operator>=): new func
10831         (operator<=): new func
10832
10833         * text.C (changeCase): use selection.start and selection.end
10834         (changeRegionCase): require from to be <= to. Require par to be a
10835         valid paragraph.
10836
10837         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10838
10839 2001-06-27  Juergen Vigna  <jug@sad.it>
10840
10841         * text.C (cursorLeftOneWord): changed to return the cursor and added
10842         overlay with BufferView * parameter which calls this one.
10843         (getWord): added
10844         (selectWord): use new getWord function.
10845         (changeCase): renamed from changeWordCase as and extended to work
10846         also on selections.
10847
10848         * lyxtext.h: added enum word_location
10849
10850         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10851         changeCase as this operates now also on selections.
10852
10853 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10854
10855         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10856
10857         * many files: send debug output to Debug::INFO instead of
10858         Debug::ANY.
10859
10860         * converter.C (View):
10861         (Convert):
10862         (Move): send debug output to Debug::FILES instead of console.
10863
10864 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10865
10866         * lyxfunc.C (getStatus): use func_status
10867
10868         * func_status.h: new header, describing the results of
10869         LyXFunc::getStatus;
10870
10871         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10872         LFUN_MATH_HALIGN.
10873
10874 2001-06-25  The LyX Project  <jug@sad.it>
10875
10876         * buffer.C (sgmlOpenTag):
10877         (sgmlCloseTag):
10878         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10879
10880 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10881
10882         * text2.C: remove some dead code
10883
10884         * tabular.C (GetCellInset): store the last cell checked (gotten)
10885
10886         * tabular.h: add the helper for the speedup
10887
10888         * lyxtext.h: remove some dead code
10889
10890 2001-06-26  The LyX Project  <Asger>
10891
10892         * paragraph.C: Change export to LaTeX of alignment to
10893         \begin{center} and family for better roundtrip work with reLyX.
10894
10895         * Tune the math drawing a bit.
10896
10897 2001-06-25  The LyX Project  <Asger>
10898
10899         * LColor.C (LColor): New color for math background. New color
10900         for buttons.
10901
10902 2001-06-25  The LyX Project  <jug@sad.it>
10903
10904         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10905
10906         * lyxfunc.C (Open):
10907         * bufferlist.C (newFile): do not restrict to files ending with
10908         .lyx
10909
10910         * BufferView_pimpl.C (MenuInsertLyXFile):
10911
10912 2001-06-24  The LyX Project  <jug@sad.it>
10913
10914         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10915         of compare_no_case
10916
10917 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10918
10919         * lyxtext.h: rename most methods to begin with a small char.
10920         Lots of changes because of this.
10921
10922         * paragraph.C (Paragraph): do not call fitToSize
10923         (erase): call Pimpl::erase
10924         (insertChar): call Pimpl::insertChar
10925         (insertInset): call Pipl::insertInset
10926         (breakParagraph): do not call fitToSize
10927         (breakParagraphConservative): do not call fitToSize
10928         (fitToSize): remove method
10929
10930         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10931
10932 2001-06-24  The LyX Project  <Asger>
10933
10934         * Fix Qt compilation^2
10935
10936 2001-06-24  The LyX Project  <jug@sad.it>
10937
10938         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10939         depthHook(getDepth()-1).
10940
10941         * paragraph.h:
10942         * ParagraphParameters.h:
10943         * ParameterStruct.h: change type of depth to unsigned int ==
10944         depth_type. Many adaptations to other files before of that.
10945
10946 2001-06-24  The LyX Project  <Asger>
10947
10948         * Fix Qt compilation.
10949
10950 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10951
10952         * paragraph.h: renamed several methods to begin with small letter.
10953         several changes to many parts of the code because of this.
10954
10955 2001-06-23  The LyX Project  <jug@sad.it>
10956
10957         * text2.C (InsertStringAsLines): renamed from InsertStringA;
10958         rewritten to discard all double spaces when KeepEmpty is off
10959         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10960         to only handle newlines but not fiddle with spaces and friends.
10961
10962         * lyxfunc.C (MenuNew): when doing 'new from template', use
10963         template_path as default directory
10964
10965 2001-06-23  The LyX Project  <Asger>
10966
10967         * Clean-up of header file includes all over
10968         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10969
10970 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10971
10972         * paragraph.h: renamed from lyxparagraph.h
10973
10974 2001-06-23  Asger  <lyx@violet.home.sad.it>
10975
10976         * Buffer.h: Removed Buffer::resize
10977         * BufferList.h: Removed BufferList::resize
10978         * LyXView.h: Added LyXView::resize. This way, we will only reflow
10979         the document lazily when we change the width, or the font settings.
10980
10981 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10982
10983         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10984
10985 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10986
10987         * buffer.h: remove out of date comment
10988
10989 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10990
10991         * lyxscreen.h:
10992         * screen.C: fix "theoretical" GC leak
10993
10994 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10995
10996         * LaTeX.C (scanAuxFile):
10997         (deplog): remove trailing \r when reading stream (useful under
10998         win32)
10999
11000 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11001
11002         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11003         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11004         and BufferView::theLockingInset(Inset*), so should use them and not
11005         access bv_->text->the_locking_inset directly.
11006
11007         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11008
11009 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11010
11011         * Makefile.am:
11012         * tex-defs.h: remove old unused file
11013
11014 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11015
11016         * BufferView_pimpl.C: fix typo, remove minibuffer message
11017           when buffer has loaded
11018
11019 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11020
11021         * lyxfunc.C (Dispatch): use stringstream
11022         (MenuNew): use stringstream
11023         (Open): use stringstream
11024
11025         * importer.C (Import): use stringstream
11026
11027         * bufferview_funcs.C (CurrentState): use stringstream
11028
11029         * LaTeX.C (run): use stringstream
11030
11031         * BufferView_pimpl.C (savePosition): use stringstream
11032         (restorePosition): use stringstream
11033         (MenuInsertLyXFile): use stringstream
11034
11035 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11036
11037         * BufferView.C:
11038         * Bullet.C:
11039         * ColorHandler.C:
11040         * FontInfo.C:
11041         * FontLoader.C:
11042         * LColor.C:
11043         * LaTeXFeatures.C:
11044         * Painter.C:
11045         * gettext.C:
11046         * lyx_gui_misc.C:
11047         * lyxserver.C:
11048         * vspace.C: removed // -*- C++ -*- as first line.
11049
11050         * lyxfind.h:
11051         * version.h: added // -*- C++ -*- as first line.
11052
11053 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11054
11055         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11056
11057         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11058         of string
11059
11060 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11061
11062         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11063         of floats.
11064
11065 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11066
11067         * gettext.C: include LString.h even when --disable-nls is on.
11068
11069 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11070
11071         * converter.h (Get): changed argument type from int to
11072         FormatList::size_type to avoid unnecessary conversion.
11073
11074         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11075         before using it.
11076
11077 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11078
11079         * gettext.h: include LString.h even when --disable-nls is on.
11080
11081 2001-06-07  Juergen Vigna  <jug@sad.it>
11082
11083         * text.C (BreakAgain): subst spaces with tabs.
11084
11085         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11086         (resizeInsetsLyXText): set force on resizeLyXText.
11087
11088 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11089
11090         * gettext.h (gettext_init):
11091         (locale_init): use a real definition instead of a macro
11092
11093 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11094
11095         * Bufferview_pimpl.C:
11096         * LColor.h:
11097         * LColor.C: further lcolor tidies
11098
11099 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11100
11101         * BufferView_pimpl.C (updateScrollbar): simplify.
11102
11103         * BufferView2.C: don't include insets/insetinfo.h, change
11104         prototype for insertInset and call the Pimpl version. let
11105         updateInset call Pimpl version.
11106
11107         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11108         gotoInset to BufferView::Pimpl
11109
11110 2001-06-01  Juergen Vigna  <jug@sad.it>
11111
11112         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11113         inside a LockingInset (is the update needed at all?).
11114
11115 2001-05-31  Juergen Vigna  <jug@sad.it>
11116
11117         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11118         here not the old one otherwise how should we compare it afterwards
11119         if it's the same!
11120
11121 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11122
11123         * lyxfont.C:
11124         * tabular.C:
11125         * tabular-old.C:
11126         * FontInfo.C: bring C functions into global namespace when
11127         necessary
11128
11129 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11130
11131         * LString.h: make sure config.h has been loaded before LString.h.
11132
11133         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11134         (one for each char read by EatLine!).
11135
11136         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11137         variables.
11138
11139 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11140
11141         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11142         to the same as the par we break from
11143
11144 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11145
11146         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11147
11148         * MenuBackend.C (expand): also create menu entries for wide
11149         versions of the floats.
11150
11151         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11152
11153         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11154
11155         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11156         frontends/Makefile.am
11157
11158         * text2.C: adjust
11159         * text.C: adjust
11160
11161
11162         * tabular.C (getTokenValue): add std::
11163
11164         * tabular-old.C (getTokenValue): add std::
11165         (getTokenValue): ditto
11166         (getTokenValue): ditto
11167
11168         * screen.C (ToggleSelection): adjust
11169
11170         * lyxtext.h: put selection cursors inside a Selection struct.
11171
11172         * lyxfunc.C (moveCursorUpdate): adjust
11173
11174         * lyxfont.C (latexWriteStartChanges): add std::
11175
11176         * lyxfind.C: adjust
11177
11178         * font.h: delete with(char const *, LyXFont const &)
11179
11180         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11181
11182         * FontInfo.C (getFontname): add std::
11183
11184         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11185         (workAreaButtonPress): adjust
11186         (tripleClick): adjust
11187         (update): adjust
11188         (moveCursorUpdate): adjust
11189         (Dispatch): adjust
11190
11191         * BufferView2.C (gotoInset): adjust
11192
11193 2001-05-30  Juergen Vigna  <jug@sad.it>
11194
11195         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11196         to check pspell I add this as default as I now have new pspell
11197         libraries and they seem to use this.
11198
11199 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11200
11201         * text2.C (CutSelection): make the cursor valid before the call to
11202         ClearSelection.
11203
11204 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11205
11206         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11207         relied on 0 terminated strings and other horrors. Bug found due to
11208         the new assert in lyxstring!
11209
11210         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11211         KP_ keys.
11212
11213 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11214
11215         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11216         to latinkeys.bind.
11217
11218         * lyxfunc.C (processKeySym): change method of getting to the
11219         self-insert char.
11220
11221         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11222         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11223         * BufferView_pimpl.[Ch]: here as private methods.
11224
11225 2001-05-28  Juergen Vigna  <jug@sad.it>
11226
11227         * text.C (SetHeightOfRow): added the update() call again as it is
11228         needed to initialize inset dimensions!
11229
11230 2001-05-16  Juergen Vigna  <jug@sad.it>
11231
11232         * text2.C (SetCharFont): Add new function with BufferView * and
11233         bool toggleall parameters for setting insets internal fonts.
11234         (SetFont): Freeze the undo as we may change fonts in Insets and
11235         all this change should be inside only one Undo!
11236
11237         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11238         setting font's in insets as for them we have the SetFont function!
11239
11240 2001-05-15  Juergen Vigna  <jug@sad.it>
11241
11242         * text2.C (ClearSelection): to be sure we REALLY don't have any
11243         selection anymore!
11244
11245         * tabular.C (TeXCellPreamble): fixed the left border problem for
11246         multicolumn cells.
11247
11248 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11249
11250         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11251         dependancy file
11252
11253 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11254
11255         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11256         LFUN_BREAKPARAGRAPH.
11257
11258         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11259         help test to "internal only", similar for LFUN_INSERT_URL
11260
11261         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11262         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11263         auto_region_delete and deadkeys.
11264
11265 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11266
11267         * LColor.h:
11268         * LColor.C: remove some dead entries, tidy a little
11269
11270 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11271
11272         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11273         commented code.
11274         (Dispatch): implement LFUN_ESCAPE
11275
11276         * commandtags.h: add LFUN_ESCAPE
11277
11278         * LyXAction.C (init): add entry for LFUN_ESCAPE
11279
11280         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11281         Remove commented code.
11282         (insertNote): moved here
11283         (open_new_inset): moved here
11284
11285         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11286         BufferView_pimpl
11287
11288 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11289
11290         * kbmap.C (findbinding): clean it up and make it work correctly.
11291
11292         * lyx_main.C (init): do not pass argc and argv as parameters
11293
11294 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11295
11296         * buffer.C: fix path for OS/2 & Win32
11297
11298         * lyx_gui.C:
11299         * lyx_main:
11300         * lyx_main.C: Added os:: class.
11301
11302         * os2_defines.h: update
11303
11304 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11305
11306         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11307         better by trying again with reduced state.
11308
11309 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11310
11311         * lyxrc.C (read): print error about invalid key sequence only when
11312         debugging (because not all latinX keysyms are known to some X
11313         servers)
11314
11315         * kbsequence.C (getiso): add a few std:: qualifiers
11316         (getiso): comment out extra return statement.
11317
11318 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11319
11320         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11321         handling.
11322         (Dispatch): enhance the accent inset a bit. (not perfect)
11323
11324 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11325
11326         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11327
11328 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11329
11330         * bufferlist.C (emergencyWrite): fix assert() call
11331
11332 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11333
11334         * text.C (InsertChar): Added trivial patch to only send the "you
11335         can not do multiple spaces this way" message once during a
11336         session.
11337
11338 2001-05-08  Baruch Even  <baruch@lyx.org>
11339
11340         * Makefile.am: Changed order of libraries to get LyX to link properly
11341         with the gnome frontend.
11342
11343 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11344
11345         * LaTeXFeatures.h: add a std:: qualifier
11346
11347 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * paragraph.C (String): use stringstream
11350
11351 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11352
11353         * paragraph.C (writeFile): remove footflag arg
11354
11355         * buffer.C (makeLaTeXFile): use stringstream
11356         (latexParagraphs): remove footnot gurba
11357
11358         * LaTeXFeatures.C (getPackages): use stringstream
11359         (getMacros): likewise
11360         (getTClassPreamble): likewise
11361         (getFloatDefinitions): new method
11362
11363         * paragraph.C (writeFile): reindent
11364         (Erase): reindent
11365
11366         * WorkArea.h: revert the xpos + etc changes.
11367
11368         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11369
11370         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11371
11372         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11373         (pasteSelection): likewise
11374         * text2.C (CreateUndo): likewise
11375
11376 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11377
11378         * minibuffer.C (peek_event): temporarily reduce the functionality
11379         of the minibuffer (to allow args on lfuns)
11380
11381         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11382         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11383
11384         * buffer.C (readInset): add compability reading of old float
11385         lists, add reading of new style float list.
11386         (readInset): avoid reevaluation of inscmd.getCmdName()
11387         (getLists): reindent
11388
11389         * MenuBackend.C (MenuItem): implement parsing of
11390         md_floatlistinsert and md_floatinsert.
11391         (expand::LastFiles): move initalizaton of iterators out of loop,
11392         avoid reevaluation.
11393         (expand::Documents): introduce typdedef vector<string> Strings,
11394         and use it.
11395         (expand::ExportFormats): introduce typedef vector<Format const *>
11396         Formats, and use it.
11397         (expand): implement FloatListInsert and FloatInsert.
11398
11399         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11400         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11401         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11402
11403         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11404         handling.
11405         (Dispatch::LFUN_FLOAT_LIST): implement
11406
11407 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11408
11409         * LaTeX.C (run): Fix problem with --export code.
11410
11411 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11412
11413         * BufferView.[Ch] (workarea): removed.
11414         (getClipboard) new method; wrapper for workarea()->getClipboard()
11415
11416         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11417         bug.
11418
11419         * WorkArea.h (width, height, xpos, ypos): These methods all
11420         returned the dimensions of the work_area sub-area of WorkArea,
11421         resulting in a position error if the WorkArea were resized. Now
11422         return the dimensions of the entire WorkArea.
11423
11424         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11425
11426 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11427
11428         * LaTeX.C (deplog): correct the syntax of regex reg1
11429
11430 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11431
11432         * undo.C: remove !NEW_INSETS cruft
11433
11434 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11435
11436         * text2.C: remove !NEW_INSETS cruft
11437
11438         * text.C: remove !NEW_INSETS cruft
11439
11440         * tabular.C: remove !NEW_INSETS cruft
11441
11442         * spellchecker.C: remove !NEW_INSETS cruft
11443
11444         * lyxtext.h: remove !NEW_INSETS cruft
11445
11446         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11447
11448         * lyxfunc.C: remove !NEW_INSETS cruft
11449
11450         * lyxfind.C: remove !NEW_INSETS cruft
11451
11452         * lyx_cb.C: remove !NEW_INSETS cruft
11453
11454         * figureForm.C: remove  !NEW_INSETS cruft
11455
11456         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11457
11458         * buffer.[Ch]: remove !NEW_INSETS cruft
11459
11460         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11461
11462         * CutAndPaste.C: remove !NEW_INSETS cruft
11463
11464         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11465
11466         * BufferView2.C: remove !NEW_INSETS cruft
11467
11468         * BufferView.h: remove !NEW_INSETS cruft
11469
11470 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11471
11472         * Lsstream.h: include LString.h before the sstream headers to
11473         fix problem with gcc 2.95.3 and lyxstring
11474
11475 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11476
11477         * lyx_main.C: add using directives when needed for C functions
11478         declared in std:: namespace.
11479
11480 2001-04-27  Juergen Vigna  <jug@sad.it>
11481
11482         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11483         (SetHeightOfRow): comment out the update call should not be needed!
11484
11485 2001-04-13  Juergen Vigna  <jug@sad.it>
11486
11487         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11488         (LyXTabular): tried to minimize operator= operations (and realized
11489         hopfully Lars wish).
11490
11491 2001-04-27  Juergen Vigna  <jug@sad.it>
11492
11493         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11494
11495 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11496
11497         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11498
11499         * buffer.C (readInset): hack to make listof algorithm work
11500
11501         * BufferView_pimpl.C: hack to make listof algorithm work
11502
11503 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11504
11505         * LyXAction.C: removed all !NEW_INSETS cruft
11506         (init): moved lfun_item in method
11507
11508         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11509
11510 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11511
11512         * BufferView2.C (theLockingInset): white space.
11513
11514 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11515
11516         * minibuffer.C: include <iostream>
11517
11518         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11519
11520         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11521
11522         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11523
11524         * text.[Ch] (TransposeChars): new method
11525
11526 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11527
11528         * call message directly through LyXView instead of through LyXFunc
11529         * BufferView2.C: adjust
11530         * BufferView_pimpl.C: adjust
11531         * FontLoader.C: adjust
11532         * buffer.C: adjust
11533         * bufferview_funcs.C: adjust
11534         * converter.C: adjust
11535         * figureForm.C: adjust
11536         * importer.C: adjust
11537         * lyx_cb.C: adjust
11538         * lyx_gui_misc.C: adjust
11539         * lyxfunc.C: adjust
11540         * lyxvc.C: adjust
11541         * text2.C: adjust
11542         + more files in subdirs
11543
11544         * lyxparagraph.h (size): move up int file
11545         (GetLayout): ditto
11546
11547         * adjust all uses of Assert to lyx::Assert.
11548
11549         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11550         lyxfunctional in namespace lyx
11551         * layout.C (hasLayout): ditto
11552         (GetLayout): ditto
11553         (GetLayout): ditto
11554         (delete_layout): ditto
11555         (NumberOfClass): ditto
11556         * converter.C (GetFormat): ditto
11557         (GetNumber): ditto
11558         (Add): ditto
11559         (Delete): ditto
11560         (SetViewer): ditto
11561         * bufferlist.C (getFileNames): ditto
11562         (emergencyWriteAll): ditto
11563         (exists): ditto
11564         (getBuffer): ditto
11565         * MenuBackend.C (hasSubmenu): ditto
11566         (hasMenu): ditto
11567         (getMenu): ditto
11568         * BufferView_pimpl.C (getInsetByCode): ditto
11569
11570 2001-04-18  Juergen Vigna  <jug@sad.it>
11571
11572         * vspace.C (asLatexString): fixed the 100% problem.
11573
11574 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11575
11576         * lyxfunc.C (Dispatch):
11577         * minibuffer.C:
11578         * minibuffer.h: add a few std:: qualifiers
11579
11580 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11581
11582         * minibuffer.[Ch]: reimplement so that commands is initiated and
11583         run from lyxfunc, simplified som handling, and made the completion
11584         and history code for complete. wip.
11585
11586         * lyxfunc.C (processKeySym): call message
11587         (miniDispatch): new temporary method
11588         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11589         (LFUN_MESSAGE): implement
11590         (LFUN_MESSAGE_PUSH): implement
11591         (LFUN_MESSAGE_POP): implement
11592         (initMiniBuffer): the initial/defualt minibuffer message.
11593
11594         * lyxfont.[Ch]: inline some more getters
11595
11596         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11597
11598         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11599
11600         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11601         (AutoSave): use LFUN_MESSAGE
11602         (Reconfigure): ditto
11603
11604         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11605
11606         * figureForm.C: use LFUN_MESSAGE
11607
11608         * converter.C (runLaTeX): use LFUN_MESSAGE
11609
11610         * bufferview_funcs.C: use LFUN_MESSAGE
11611         (Melt): ditto
11612         (changeDepth): ditto
11613
11614         * bufferparams.h: use boost::
11615
11616         * bufferlist.h: inherit privately from noncopyable
11617
11618         * bufferlist.C (loadLyXFile): remove some commented code.
11619
11620         * buffer.C (runChktex): use LFUN_MESSAGE
11621
11622         * ShareContainer.h: inherit privately from noncopyable
11623
11624         * ParagraphParameters.[hC] (depth): inline it.
11625
11626         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11627         methods.
11628         (message): new method
11629         (messagePush): ditto
11630         (messagePop): ditto
11631         (show): init minibuffer
11632         (showState): direct call
11633
11634         * LaTeX.[Ch]: inherit privately from noncopyable
11635         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11636         instead of WriteStatus.
11637
11638         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11639
11640         * BufferView_pimpl.C (buffer): don't init minibuffer
11641         (workAreaButtonPress): use LFUN_MESSAGE
11642         (workAreaButtonRelease): ditto
11643         (savePosition): ditto
11644         (restorePosition): ditto
11645         (MenuInsertLyXFile): ditto
11646         (workAreaExpose): don't init minibuffer
11647         (update): remove commented code, simplify
11648
11649         * BufferView2.C (openStuff): use LFUN_MESSAGE
11650         (toggleFloat): ditto
11651         (menuUndo): ditto
11652         (menuRedo): ditto
11653         (copyEnvironment): ditto
11654         (pasteEnvironment): ditto
11655         (copy): ditto
11656         (cut): ditto
11657         (paste): ditto
11658         (gotoInset): ditto
11659         (updateInset): remove some commented code
11660
11661         * lastfiles.h: inherit privately from noncopyable
11662         * layout.h: ditto
11663         * lyx_gui.h: ditto
11664         * lyx_main.h: ditto
11665         * lyxlex.h: ditto
11666         * lyxlex_pimpl.h: ditto
11667
11668         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11669         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11670         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11671
11672         * LyXAction.h: inherit privately from noncopyable, add methods
11673         func_begin, func_end, returning iterators to the func map.
11674
11675         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11676         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11677         (func_begin): new method
11678         (func_end): new method
11679
11680         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11681         and not)
11682         (copySelection): ditto
11683         (pasteSelection): ditto
11684
11685         * BufferView.C: whitespace change
11686         * BufferView.h: inherit privately from noncopyable
11687
11688 2001-04-16  Allan Rae  <rae@lyx.org>
11689
11690         * tabular-old.C (l_getline):
11691         * spellchecker.C (sc_check_word):
11692         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11693         an unrecognised preprocessor directive.  So ensure they're wrapped.
11694
11695 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11696
11697         * src/exporter.C (Export): Give an error message when path to file
11698         contains spaces.
11699
11700 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11701
11702         * LaTeX.C (deplog): Always check that foundfile exists.
11703
11704 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11705
11706         * lyx_main.h:
11707         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11708
11709 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11710
11711         * tabular.[Ch] (getLabelList): implement new method
11712
11713         * minibuffer.h: comment ouf setTiimer
11714
11715         * minibuffer.C (ExecutingCB): constify res
11716         (peek_event): constify s
11717         (Set): constify ntext
11718         (Init): constify nicename
11719
11720         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11721
11722         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11723         (savePosition): use two params to Minibuffer::Set
11724         (restorePosition): ditto
11725
11726 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11727
11728         * lyx_main.C: include language.h
11729
11730         * Makefile.am (lyx_main.o): add language.h
11731
11732 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11733
11734         * exporter.C:
11735         * paragraph.C:
11736         * screen.C:
11737         * tabular.C:
11738         * CutAndPaste.C: include gettext.h
11739
11740         * lyxfont.h: remove old hack with ON and OFF.
11741
11742         * lyxparagraph.h:
11743         * lyxfont.h: do not include language.h...
11744
11745         * BufferView2.C:
11746         * LaTeXFeatures.C:
11747         * Painter.C:
11748         * bufferview_funcs.C:
11749         * font.C:
11750         * lyxfont.C:
11751         * text.C:
11752         * text2.C:
11753         * trans_mgr.C:
11754         * paragraph.C: ... but do it here instead
11755
11756 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11757
11758         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11759
11760         * tabular.C: small reformat
11761
11762         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11763         NEW_INSETS version
11764         (GetChar): ditto
11765         (BreakParagraph): ditto
11766         (SetOnlyLayout): ditto
11767         (SetLayout): ditto
11768
11769         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11770         with one arg less.
11771
11772         * lastfiles.C: removed most using decl, add std:: where needed
11773
11774         * buffer.C: ws changes
11775
11776         * MenuBackend.C (class compare_format): put into anon namespace
11777         (expand): constify label, names, action, action2
11778         (expand):
11779
11780         * text.C (SingleWidth): constify font
11781         (IsBoundary): constify rtl2
11782         (GetVisibleRow): constify ww
11783
11784         * LaTeX.C (deplog): constify logfile
11785
11786         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11787         start_x, end_x
11788         (workAreaExpose): constify widthChange, heightChange
11789
11790         * lyxrow.C (par): moved
11791         (height): moved
11792         (next): moved
11793         * lyxrow.h: as inlines here
11794
11795         * lyxfont.h (shape): moved from lyxfont.C
11796         (emph): moved from lyxfont.C
11797
11798         * lyxfont.C (LyXFont): use initialization list for all
11799         constructors
11800         (shape): move to lyxfont.h as inline
11801         (emph): move to lyxfont.h as inline
11802
11803
11804 2001-04-04  Juergen Vigna  <jug@sad.it>
11805
11806         * vspace.C: had to include stdio.h for use of sscanf
11807
11808 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11809
11810         * BufferView.h:
11811         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11812         independent of xforms.
11813
11814 2001-04-02  Juergen Vigna  <jug@sad.it>
11815
11816         * spellchecker.C: fixed namespace placing!
11817
11818 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11819
11820         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11821         the LyXParagraph * is 0.
11822
11823 2001-03-29  Juergen Vigna  <jug@sad.it>
11824
11825         * vspace.C: added support for %, c%, p%, l%.
11826         (stringFromUnit): added helper function.
11827         (asLatexString): changed to give right results for the %-values.
11828
11829         * buffer.C: convert the widthp in a width%.
11830
11831 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11832
11833         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11834         figureForm.[Ch].
11835
11836         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11837         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11838
11839         * lyx_cb.[Ch]: see above.
11840
11841         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11842         form1.[Ch].
11843
11844         * form1.[Ch]:
11845         * lyx.[Ch]: replaced by figure_form.[Ch].
11846
11847         * lyx_gui.C:
11848         * lyx_gui_misc.C:
11849         * lyxfunc.C: changed headers associated with above changes.
11850
11851 2001-03-27  Juergen Vigna  <jug@sad.it>
11852
11853         * BufferView_pimpl.C: set the temporary cursor right!
11854
11855 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11856
11857         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11858
11859 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11860
11861         * LString.h: removed "using std::getline"!
11862
11863         * BufferView_pimpl.C (Dispatch): changes due to changes in
11864         InsetInclude::Params.
11865
11866         * buffer.C (tag_name): removed redundant break statements as they were
11867         producing lots of warnings with my compiler.
11868
11869 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11870
11871         * LString.h: add "using std::getline" when using the real <string>.
11872
11873 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11874
11875         * buffer.C: removed bitset usage.
11876         PAR_TAG moved to an anonymous name space.
11877         (tag_name): new funtion, also in the anonymous namespace.
11878         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11879         (makeDocBookFile): clean code. Completed transition from string arrays
11880         to string vectors.
11881         (SimpleDocBookOnePar): code clean.
11882
11883 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11884
11885         * tabular.C: add some comments.
11886
11887 2001-03-22  Juergen Vigna  <jug@sad.it>
11888
11889         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11890         compatibility read a bit and fixed bug with minipage in different
11891         depth.
11892
11893 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11894
11895         * buffer.C (pop_tag): removed.
11896         (push_tag): removed.
11897         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11898         array replaced with vector. Added support for CDATA sections.
11899         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11900         at any nest level.
11901         (makeDocBookFile): XML conformant declaration of CDATA section,
11902         fixed bug related to <emphasis> in the first paragraph char.
11903         (sgmlOpenTag): exclude empty tags.
11904         (sgmlCloseTag): ditto.
11905
11906         * buffer.h (pop_tag): removed.
11907         (push_tag): removed.
11908
11909 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
11910
11911         * language.h (Languages): added size_type and size().
11912
11913 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11914
11915         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11916         response on compability reading of minipages. One probliem is that
11917         the old usage of minipages was «flertydig»
11918
11919         * several files here and in subdirs: don't use static at file
11920         scope use anon namespaces instead.
11921
11922 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
11923
11924         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11925         LaTeX output. This is necessary for Literate document
11926         processing.
11927
11928 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11929
11930         * buffer.C: insert hfill when needed.
11931
11932         * tabular.C (l_getline): use string::erase, small whitespace change.
11933
11934         * BufferView_pimpl.C: try the anon namespace.
11935         * WorkArea.C: ditto
11936
11937 2001-03-16  Juergen Vigna  <jug@sad.it>
11938
11939         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11940         otherwise it won't open options-dialogs.
11941
11942         * buffer.C: honor pextraWidth(p) on converting minipages.
11943
11944         * tabular.C (l_getline): changed the functions to strip trailing \r.
11945
11946 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
11947
11948         * BufferView_pimpl.C:
11949         * minibuffer..C: added "using SigC::slot" declaration.
11950
11951 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11952
11953         * lyxlex_pimpl.h: noncopyable is in namespace boost.
11954
11955         * text2.C: ditto
11956
11957         * text.C: ditto
11958
11959         * paragraph.C: ditto
11960
11961         * lyxtext.h: NO_PEXTRA
11962
11963         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11964
11965         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11966         * ParameterStruct.h: ditto
11967         * ParagraphParameters.h: ditto
11968         * lyxparagraph.h: ditto
11969
11970 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11971
11972         * buffer.C: add compability for minipage alignment.
11973         (latexParagraphs): remove unwanted pextra check.
11974
11975         * several files: remove CXX_WORKING_NAMESPACES
11976
11977         * buffer.C (pop_tag): tie is in namespace boost
11978
11979         * BufferView.h: noncopyable is in namespace boost
11980         * lyxlex.h: ditto
11981         * lyx_main.h: ditto
11982         * lyx_gui.h: ditto
11983         * layout.h: ditto
11984         * lastfiles.h: ditto
11985         * bufferlist.h: ditto
11986         * ShareContainer.h: ditto
11987         * LyXView.h: ditto
11988         * LyXAction.h: ditto
11989         * LaTeX.h: ditto
11990
11991 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11992
11993         * Merging changes from BRANCH_MVC back into HEAD.
11994
11995         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11996
11997 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * BufferView_pimpl.C: change from intl.C
12000
12001         * combox.h:
12002         * combox.C:
12003         * Makefile.am: move combox.*
12004
12005         * form1.h:
12006         * form1.C:
12007         * lyx_gui.C:
12008         * intl.h:
12009         * intl.C: remove dialog (covered by prefs)
12010
12011 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12012
12013         * lyxfunc.C (Dispatch): removed redundant break statement.
12014
12015 2001-03-14  Juergen Vigna  <jug@sad.it>
12016
12017         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12018
12019 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12020
12021         * buffer.C: add hack to fix compability reading of minipages.
12022
12023 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12024
12025         * buffer.C (getLists): Cleanup.
12026
12027 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12028
12029         * lyxfont.C (update): don't honor toggleall on font size.
12030
12031 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12032
12033         * bmtable.c:
12034         * bmtable.h:
12035         * Makefile.am: moved to frontends/xforms/
12036
12037         * lyx_gui_misc.C:
12038         * lyxfunc.C:
12039         * BufferView_pimpl.C: changes for moved mathpanel
12040
12041 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * gettext.h: fix gettext_init() in --disable-nls
12044
12045 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12046
12047         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12048
12049 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12050
12051         * lyx.C:
12052         * lyx.h: strip external form
12053
12054 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * BufferView_pimpl.C: add comment, destroySplash()
12057
12058 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * BufferView_pimpl.C:
12061         * LyXAction.C:
12062         * buffer.C:
12063         * commandtags.h:
12064         * lyxfunc.C: use re-worked insetinclude
12065
12066 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12067
12068         * buffer.C: add using std::stringstream.
12069
12070         * lyx_cb.C: readd using std::ios.
12071
12072         * buffer.C: add using std::map.
12073
12074         * BufferView_pimpl.C: add using std::vector.
12075
12076         * ShareContainer.h: add std:: to swap.
12077
12078         * buffer.h: add some typedefs
12079         * buffer.C (getLists): use them
12080         (getLists): renamed from getTocList.
12081         add a counter for the different float types and use it in the
12082         generated string.
12083         (getLists): use the same counter for the NEW_INSETS and the "non"
12084         NEW_INSETS
12085
12086         * lyx_cb.h: remove unused items, includes, using etc.
12087
12088         * ShareContainer.h: remove some commented code, add more comments
12089         and "documentation".
12090
12091 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12092
12093         * buffer.C (getTocList): make the list also when NEW_INSETS is
12094         defined.
12095
12096         * buffer.h: remove TocType
12097
12098         * buffer.C (getTocList): change to return a map<string,
12099         vector<TocItem> >, implement for dynamic number of list.
12100
12101         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12102         * text2.C (PasteSelection): adjust
12103         * CutAndPaste.C (pasteSelection): adjust
12104
12105         * FloatList.C (FloatList): update from the new_insets branch.
12106         * Floating.[Ch]: ditto
12107         * LaTeXFeatures.C: ditto
12108         * buffer.C: ditto
12109         * lyxlex_pimpl.C: ditto
12110
12111         * paragraph.C (Last): remove when NEW_INSETS is defined.
12112
12113         * other file: changes because of the above.
12114
12115 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12116
12117         * lyxparagraph.h: rename next to next_, previous to previous_,
12118         make them private for NEW_INSETS. Rename Next() to next(),
12119         Previous() to previous().
12120
12121         * other files: changes because of the above.
12122
12123 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12124
12125         * BufferView.h:
12126         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12127         problem.
12128
12129 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12130
12131         * main.C (main): pass lyx_localedir to gettext_init().
12132
12133         * gettext.h: remove locale_init and gettext_init macros
12134
12135         * gettext.C (locale_init): new function
12136         (gettext_init): new function
12137
12138         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12139         setlocale().
12140
12141 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12142
12143         * Moved credits to frontends:
12144         * credits.[Ch]: removed
12145         * credits_form.[Ch]: removed
12146         * lyx_gui_misc.C: remove credits stuff
12147         * Makefile.am:
12148
12149 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12150
12151         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12152
12153         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12154         unneeded destructor.
12155
12156         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12157         a standalone pointer again.
12158
12159         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12160
12161 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12162
12163         * Makefile.am:
12164         * filedlg.h:
12165         * filedlg.C:
12166         * LyXAction.C:
12167         * ToolbarDefaults.C:
12168         * bufferlist.C:
12169         * commandtags.h:
12170         * form1.C:
12171         * form1.h:
12172         * lyx_cb.C:
12173         * lyx_cb.h:
12174         * lyxfunc.h:
12175         * lyxfunc.C:
12176         * BufferView_pimpl.C: use new file dialog in GUII
12177
12178         * lyx_cb.h:
12179         * lyx_cb.C: remove LayoutsCB to Toolbar
12180
12181 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12182
12183         * ShareContainer.h (get): add std:: qualifier
12184
12185 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12186
12187         * ShareContainer.h: define a proper ShareContainer::value_type
12188         type (and use typename to please compaq cxx)
12189
12190 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12191
12192         * lyxparagraph.h: move serveral local vars to
12193         ParameterStruct/ParagraphParameters., use ShareContainer in
12194         FontTable., make vars in FontTable private and add getter and
12195         setter.
12196
12197         * paragraph.C: changes because of the above.
12198
12199         * lyxfont.h: remove copy constructor and copy assignment. (the
12200         default ones is ok), move number inside FontBits. move inlines to
12201         lyxfont.C
12202
12203         * lyxfont.C: add number to initializaton of statics, move several
12204         inlines here. constify several local vars. some whitespace
12205         cleanup. Dont hide outerscope variables.
12206
12207         * Spacing.h: add two new constructors to match the set methods.
12208
12209         * ShareContainer.h: new file, will perhaps be moved to support
12210
12211         * ParameterStruct.h: new file
12212
12213         * ParagraphParameters.h: new file
12214
12215         * ParagraphParameters.C: new file
12216
12217         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12218         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12219
12220         * BufferView_pimpl.C: ParagraphParameter changes.
12221         * buffer.C: Likewise.
12222         * bufferview_funcs.C: Likewise.
12223         * text.C: Likewise.
12224         * text2.C: Likewise.
12225
12226 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12227
12228         * lyxfind.C (LyXReplace): do not redefine default argument in
12229         implementation.
12230         (IsStringInText): ditto
12231         (SearchForward): ditto
12232         (SearchBackward): ditto
12233
12234 2001-03-06  Juergen Vigna  <jug@sad.it>
12235
12236         * lyxfind.C (IsStringInText): put parentes around expressions.
12237
12238 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12239
12240         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12241
12242 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12243
12244         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12245
12246         * stl_string_fwd.h: add comment
12247
12248         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12249
12250         * tabular.h:
12251         * tabular.C: remove unused DocBook methods
12252
12253         * intl.C:
12254         * language.C:
12255         * paragraph.C:
12256         * buffer.C:
12257         killed DO_USE_DEFAULT_LANGUAGE
12258
12259 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12260
12261         * lyx_gui.C: do not include language.h.
12262
12263         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12264         arguments in function implementation.
12265
12266 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12267
12268         * BufferView_pimpl.C: add <ctime>
12269
12270 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12271
12272         * BufferView_pimpl.C: add using std::find_if
12273
12274 2001-02-27  José Matos  <jamatos@fep.up.pt>
12275
12276         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12277         by OnlyPath.
12278
12279 2001-02-11  José Matos  <jamatos@fep.up.pt>
12280
12281         * buffer.C (makeDocBookFile): command styles now have a parameter as
12282         "title" by default.
12283
12284 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12285
12286         * layout_forms.[Ch]: removed
12287         * lyx_cb.[Ch]: out character
12288         * lyx_gui.C: out character
12289         * lyx_gui_misc.C: out character
12290         * bufferview_funcs.C: : out character,
12291         added toggleall as parameter in ToggleAndShow
12292
12293 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12294
12295         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12296
12297         * text2.C (SetCurrentFont): Disable number property at boundary.
12298
12299 2001-02-26  Juergen Vigna  <jug@sad.it>
12300
12301         * lyxfunc.C (getStatus): added a string argument override function so
12302         that this is correctly called from LyXFunc::Dispatch if it contains a
12303         do_not_use_argument which is used!
12304         (Dispatch): added check for "custom" export and call appropriate func.
12305
12306 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12307
12308         * lyxrc.C: Add language_command_local, language_use_babel and
12309         language_global_options.
12310
12311         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12312
12313         * buffer.C (makeLaTeXFile): Use language_use_babel and
12314         language_global_options.
12315
12316 2001-02-23  Juergen Vigna  <jug@sad.it>
12317
12318         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12319         which works with LyXText and putted it inside BufferView. Here now we
12320         only call for that part the BufferView::Dispatch() function.
12321
12322         * BufferView.C (Dispatch): added.
12323
12324         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12325         functions which needs to use a LyXText over from LyXFunc.
12326         (MenuInsertLyXFile): added
12327         (getInsetByCode): added
12328         (moveCursorUpdate): added
12329         (static TEXT): added
12330
12331 2001-02-22  Juergen Vigna  <jug@sad.it>
12332
12333         * BufferView_pimpl.C (update): call a status update to see if LyXText
12334         needs it.
12335
12336 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12337
12338         * vc-backend.C (revert): implement for CVS
12339         (getLog): implement for CVS
12340
12341 2001-02-20  Juergen Vigna  <jug@sad.it>
12342
12343         * text2.C (ClearSelection): added BufferView param for inset_owner call
12344
12345         * lyxfunc.C (TEXT): added this function and use it instead of
12346         directly owner->view()-text of getLyXText().
12347
12348 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12349
12350         * src/layout_forms.C: out preamble
12351         * src/layout_forms.h: out preamble
12352         * src/lyx_cb.C: out preamble
12353         * src/lyx_cb.h: out preamble
12354         * src/lyx_gui.C: out preamble
12355         * src/lyx_gui_misc.C: out preamble
12356         * src/lyxfunc.C: connect with guii preamble
12357
12358 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12359
12360         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12361
12362 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12363
12364         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12365         whether to run bibtex.
12366
12367 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12368
12369         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12370
12371 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12372
12373         * Makefile.am (lyx_SOURCES): removed bibforms.h
12374
12375         * vspace.h: doxygen
12376
12377         * text.C (GetVisibleRow): make several local vars const
12378
12379         * tabular.C: small cleanup.
12380
12381         * lyxserver.C (callback): use compare instead of strncmp
12382
12383         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12384         inlines to after class or to paragraph.C
12385
12386         * lyxfont.h: remove friend operator!=
12387
12388         * converter.h: move friend bool operator< to non friend and after
12389         class def.
12390
12391         * combox.h: small cleanup
12392
12393         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12394         to inlines after class def.
12395
12396         * buffer.C (pop_tag): use string operations instead of strcmp
12397
12398         * bmtable.c: doxygen, small cleanup
12399
12400         * LaTeX.h: remove friend operator==
12401
12402 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12403
12404         * screen.C:
12405         * lyxrc.[Ch]:
12406         * lyxfunc.C:
12407         * lyxfont.[Ch]:
12408         * lyx_cb.C:
12409         * intl.[Ch]:
12410         * commandtags.h:
12411         * buffer.C:
12412         * WorkArea.[Ch]:
12413         * LyXAction.C:
12414         * BufferView_pimpl.C:
12415         * BufferView.[Ch]: remove cruft
12416
12417 2001-02-14  Juergen Vigna  <jug@sad.it>
12418
12419         * lyxfunc.C: removed #if 0 unused code
12420
12421         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12422
12423         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12424
12425         * text2.C (SetSelection): added a BufferView * parameter
12426
12427 2001-02-13  Juergen Vigna  <jug@sad.it>
12428
12429         * lyxfunc.C (Dispatch): fixed protected blank problem.
12430         * BufferView2.C (protectedBlank): added LyxText * parameter.
12431
12432         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12433         (AppendColumn): same as above for column_info.
12434
12435         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12436         (moveCursorUpdate): use a LyXText param for support of InsetText.
12437
12438         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12439         (tripleClick): ditto
12440
12441         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12442
12443         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12444
12445         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12446
12447         * text2.C (SetSelection): set correct update status if inset_owner
12448         (ToggleFree): ditto
12449
12450 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12451
12452         * tabular.C: remove some commented code.
12453
12454 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * BufferView_pimpl.C: call hideSplash()
12457
12458         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12459
12460         * include_form.h:
12461         * bibforms.h: remove
12462
12463         * lyxfunc.C:
12464         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12465           add LFUN_CHILD_CREATE
12466
12467         * counters.h: fix tiny typo
12468
12469         * lyx_cb.C:
12470         * lyx.h:
12471         * lyx_gui.C:
12472         * lyx.C: move splash to frontends/xforms/
12473
12474         * lyx_gui_misc.C: move Include and Bibform to frontends
12475
12476         * lyxvc.h: clarify comment
12477
12478         * vspace.C: tiny housekeeping
12479
12480 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12481
12482         * text.C (PrepareToPrint): RTL Fix.
12483
12484         * paragraph.C (GetUChar): New method.
12485         (String):  Use GetUChar.
12486
12487         * buffer.C (asciiParagraph): Use GetUChar.
12488
12489 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12490
12491         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12492
12493 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12494
12495         * buffer.h:
12496         * buffer.C: rename to getLogName(), handle
12497           build log / latex log nicely
12498
12499 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12500
12501         * MenuBackend.C:
12502         * MenuBackend.h: remove support for reference menuitem type.
12503
12504 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12505
12506         * BufferView_pimpl.C: housekeeping
12507         * BufferView_pimpl.h:
12508         * LyXView.h:
12509         * Makefile.am:
12510         * Timeout.C:
12511         * Timeout.h:
12512         * minibuffer.h: move Timeout GUI-I
12513
12514 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12515
12516         * lyxrc.C (read): Update converters data-structures.
12517
12518 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12519
12520         * LaTeX.h (operator!=): add operator != for Aux_Info
12521
12522 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12525
12526         * LaTeXLog.C: deleted, useful code moved to Buffer
12527
12528         * buffer.h:
12529         * buffer.C: new function getLatexLogName()
12530
12531         * lyx_gui_misc.C:
12532         * lyx_gui.C:
12533         * lyxvc.C:
12534         * lyxvc.h:
12535         * lyxfunc.C: use frontends for LaTeX and VC logs
12536
12537 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12538
12539         * LaTeX.h: yet another std:: that Allan forgot.
12540
12541         * Variables.C (set): renamed from isset(), because this clashes
12542         with some HP-UX macros (grr).
12543
12544 2001-02-06  Allan Rae  <rae@lyx.org>
12545
12546         * LaTeX.h: Another bug fix.  Missing std:: this time.
12547
12548 2001-02-04  Allan Rae  <rae@lyx.org>
12549
12550         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12551         floats problem. I've left it commented out because it's not quite
12552         correct.  It should also test that the current object is a table or
12553         figure inset.  But I haven't gotten around to figuring out how to do
12554         that.  I *think* it'll be something like: "table" == inset.type()
12555
12556         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12557         bool.
12558
12559 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12560
12561         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12562         all the citation/databases/styles in the auxilary file.
12563         (run): Rerun latex if there was a babel language error.
12564
12565 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12566
12567         * text.C (Backspace): Preserve the font when changing newline char
12568         with a space.
12569         (BreakParagraph): If the cursor is before a space, delete the space.
12570
12571         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12572
12573 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12574
12575         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12576         new argument (code).
12577         (ChangeCitationsIfUnique): New method.
12578
12579         * paragraph.C (GetPositionOfInset): Handle bibkey.
12580
12581 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12582
12583         * BufferView_pimpl.h: change type of Position::par_pos to
12584         LyXParagraph::size_type.
12585
12586 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12587
12588         * BufferView_pimpl.C (savePosition, restorePosition): Write
12589         messages to minibuffer.
12590
12591 2001-01-28  José Matos  <jamatos@fep.up.pt>
12592
12593         * buffer.C (makeDocBookFile): adds support for document language.
12594         A silly restriction on the name of LatexCommand types where removed.
12595         Added support for CDATA sections, allows to chars unescaped, used
12596         among others in code, to avoid escape < and >.
12597
12598 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12599
12600         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12601         saved positions instrad of a stack. Furthermore, a position is
12602         stored using paragraph id/paragraph position.
12603
12604         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12605         Remove LFUN_REF_BACK.
12606
12607 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12608
12609         * converter.C (dvipdfm_options): New method.
12610
12611 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12612
12613         * vspace.C (isValidLength): Fix for empty input string.
12614
12615 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12616
12617         * LyXAction.C (init): change description of LFUN_FIGURE to
12618         "Insert Graphics"
12619
12620 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12621
12622         * LaTeX.C: add using directive
12623
12624 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12625
12626         * MenuBackend.C (expand): Fix the sorting of the formats.
12627
12628 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12629
12630         * lyx_main.C: tiny error message fix
12631
12632 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12633
12634         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12635         calling fl_initialize(). This fixes the problem with ',' as
12636         decimal separator in text files.
12637
12638 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12639
12640         * trans.C (process): Fix the keymap bug.
12641
12642 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12643
12644         * LaTeX.C (scanAuxFiles): New method. Provides support for
12645         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12646         (scanLogFile) Scan for "run BibTeX" messages.
12647
12648         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12649         OT1 font encoding. Also, load the aecompl package if the ae
12650         package is loaded.
12651
12652         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12653
12654 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12655
12656         * texrow.C (increasePos): turn two error messages into debug
12657         messages.
12658
12659 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12660
12661         * LaTeX.C (scanAux): Handle the \@input macro.
12662         (runBibTeX): Use scanAux().
12663
12664         * language.C (latex_options_): New field.
12665
12666         * LaTeXFeatures.C (getMacros): Add language macros.
12667
12668         * buffer.C (makeLaTeXFile): Small fix.
12669
12670 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12671
12672         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12673
12674         * text2.C: add a using directive.
12675
12676 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12677
12678         * BufferView2.C:
12679         * lyx_gui_misc.h:
12680         * lyxfr1.C:
12681         * lyxfunc.C: kill LyXBell.
12682
12683 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12684
12685         * text.C (IsBoundary): Remove the error message
12686
12687         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12688
12689         * lyxrc.C (setDefaults): Correct initialization value for
12690         font_norm_type.
12691
12692 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12693
12694         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12695         gotoError().
12696
12697         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12698         and GotoNextNote().
12699
12700         * src/LyXAction.C: Added reference-next.
12701
12702         * text.C (InsertChar): Use contains instead of strchr.
12703
12704         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12705
12706 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12707
12708         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12709         alignment commands (when needed).
12710
12711         * text.C (InsertChar): Add ':' to number separator chars.